From 5471d6731ad220a86eb0eab3a56f153924d5abcc Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 5 Mar 2025 14:28:30 -0500 Subject: [PATCH 1/4] skip generating code for things we don't use Signed-off-by: Davanum Srinivas --- pkg/cfn/builder/cluster.go | 10 ++-- pkg/cfn/builder/iam.go | 5 +- pkg/cfn/builder/managed_nodegroup.go | 12 ++++- pkg/goformation/generate/generate.go | 48 +++++++++++++++++++ .../generate/templates/all.template | 2 +- .../templates/polymorphic-property.template | 4 +- .../generate/templates/resource.template | 12 ++--- 7 files changed, 74 insertions(+), 19 deletions(-) diff --git a/pkg/cfn/builder/cluster.go b/pkg/cfn/builder/cluster.go index 4ce966cdbb..501b5be1f9 100644 --- a/pkg/cfn/builder/cluster.go +++ b/pkg/cfn/builder/cluster.go @@ -390,7 +390,7 @@ func (c *ClusterResourceSet) addResourcesForControlPlane(subnetDetails *SubnetDe } cluster.KubernetesNetworkConfig = kubernetesNetworkConfig if c.spec.ZonalShiftConfig != nil && api.IsEnabled(c.spec.ZonalShiftConfig.Enabled) { - cluster.ZonalShiftConfig = &gfneks.Cluster_ZonalShift{ + cluster.ZonalShiftConfig = &gfneks.Cluster_ZonalShiftConfig{ Enabled: gfnt.NewBoolean(true), } } @@ -398,13 +398,13 @@ func (c *ClusterResourceSet) addResourcesForControlPlane(subnetDetails *SubnetDe if c.spec.HasRemoteNetworkingConfigured() { cluster.RemoteNetworkConfig = &gfneks.Cluster_RemoteNetworkConfig{} for _, remoteNetwork := range c.spec.RemoteNetworkConfig.RemotePodNetworks { - cluster.RemoteNetworkConfig.RemotePodNetworks = append(cluster.RemoteNetworkConfig.RemotePodNetworks, gfneks.RemoteNetworks{ - CIDRs: gfnt.NewStringSlice(remoteNetwork.CIDRs...), + cluster.RemoteNetworkConfig.RemotePodNetworks = append(cluster.RemoteNetworkConfig.RemotePodNetworks, gfneks.Cluster_RemotePodNetwork{ + Cidrs: gfnt.NewStringSlice(remoteNetwork.CIDRs...), }) } for _, remoteNetwork := range c.spec.RemoteNetworkConfig.RemoteNodeNetworks { - cluster.RemoteNetworkConfig.RemoteNodeNetworks = append(cluster.RemoteNetworkConfig.RemoteNodeNetworks, gfneks.RemoteNetworks{ - CIDRs: gfnt.NewStringSlice(remoteNetwork.CIDRs...), + cluster.RemoteNetworkConfig.RemoteNodeNetworks = append(cluster.RemoteNetworkConfig.RemoteNodeNetworks, gfneks.Cluster_RemoteNodeNetwork{ + Cidrs: gfnt.NewStringSlice(remoteNetwork.CIDRs...), }) } } diff --git a/pkg/cfn/builder/iam.go b/pkg/cfn/builder/iam.go index 4aad8ba5ce..a38bf45057 100644 --- a/pkg/cfn/builder/iam.go +++ b/pkg/cfn/builder/iam.go @@ -5,7 +5,6 @@ import ( "fmt" "strings" - "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/cloudformation/types" "github.com/kris-nova/logger" @@ -145,9 +144,9 @@ func (c *ClusterResourceSet) addIAMRolesAnywhere() { Enabled: gfnt.NewBoolean(true), Name: makeName("CA"), Source: &gfnrolesanywhere.TrustAnchor_Source{ - SourceType: aws.String("CERTIFICATE_BUNDLE"), + SourceType: gfnt.NewString("CERTIFICATE_BUNDLE"), SourceData: &gfnrolesanywhere.TrustAnchor_SourceData{ - X509CertificateData: c.spec.RemoteNetworkConfig.IAM.CABundleCert, + X509CertificateData: gfnt.NewString(*c.spec.RemoteNetworkConfig.IAM.CABundleCert), }, }, } diff --git a/pkg/cfn/builder/managed_nodegroup.go b/pkg/cfn/builder/managed_nodegroup.go index 7b74644b22..1edfef26af 100644 --- a/pkg/cfn/builder/managed_nodegroup.go +++ b/pkg/cfn/builder/managed_nodegroup.go @@ -48,6 +48,14 @@ func NewManagedNodeGroup(ec2API awsapi.EC2, cluster *api.ClusterConfig, nodeGrou } } +func convertToTypesValueMap(input map[string]string) map[string]*gfnt.Value { + output := make(map[string]*gfnt.Value) + for k, v := range input { + output[k] = gfnt.NewString(v) + } + return output +} + // AddAllResources adds all required CloudFormation resources func (m *ManagedNodeGroupResourceSet) AddAllResources(ctx context.Context) error { m.resourceSet.template.Description = fmt.Sprintf( @@ -101,8 +109,8 @@ func (m *ManagedNodeGroupResourceSet) AddAllResources(ctx context.Context) error ScalingConfig: &scalingConfig, Subnets: subnets, NodeRole: nodeRole, - Labels: m.nodeGroup.Labels, - Tags: m.nodeGroup.Tags, + Labels: convertToTypesValueMap(m.nodeGroup.Labels), + Tags: convertToTypesValueMap(m.nodeGroup.Tags), Taints: taints, } diff --git a/pkg/goformation/generate/generate.go b/pkg/goformation/generate/generate.go index fdfc59328c..72562b63a2 100644 --- a/pkg/goformation/generate/generate.go +++ b/pkg/goformation/generate/generate.go @@ -57,6 +57,30 @@ var ( "AWS::EC2::Instance", "AWS::CloudFormation::WaitCondition", } + + Allow = []string{ + "AWS::AutoScaling", + "AWS::CloudFormation", + "AWS::CloudWatch", + "AWS::EC2", + "AWS::ECR", + "AWS::EKS", + "AWS::ElasticLoadBalancing", + "AWS::ElasticLoadBalancingV2", + "AWS::Events", + "AWS::IAM", + "AWS::KMS", + "AWS::Kinesis", + "AWS::Lambda", + "AWS::RDS", + "AWS::RolesAnywhere", + "AWS::Route53", + "AWS::S3", + "AWS::SNS", + "AWS::SQS", + "AWS::Serverless", + "Tag", + } ) // NewResourceGenerator contains a primary AWS CloudFormation Resource Specification @@ -167,6 +191,10 @@ func (rg *ResourceGenerator) processSpec(specname string, data []byte) (*CloudFo return nil, err } + // Filter things not in our Allow list + spec.Resources = filter(spec.Resources) + spec.Properties = filter(spec.Properties) + // Add the resources processed to the ResourceGenerator output for name := range spec.Resources { @@ -211,6 +239,26 @@ func (rg *ResourceGenerator) processSpec(specname string, data []byte) (*CloudFo } +func filter(old map[string]Resource) map[string]Resource { + new := make(map[string]Resource) + // Traverse the keys in spec.Resources + for key := range old { + found := false + // Check if the key is in the Allow array + for _, allowed := range Allow { + if key == allowed || strings.HasPrefix(key, allowed+"::") { + found = true + break + } + } + // If the key is not in the Allow array, delete it from the map + if found { + new[key] = old[key] + } + } + return new +} + func (rg *ResourceGenerator) generateAllResourcesMap(resources []GeneratedResource) error { // Open the all resources template diff --git a/pkg/goformation/generate/templates/all.template b/pkg/goformation/generate/templates/all.template index fcb2c70498..73d9a9cc98 100644 --- a/pkg/goformation/generate/templates/all.template +++ b/pkg/goformation/generate/templates/all.template @@ -2,7 +2,7 @@ package cloudformation import ( "fmt"{{range $resource := .Resources}} - "github.com/awslabs/goformation/v4/cloudformation/{{$resource.PackageName}}"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/{{$resource.PackageName}}"{{end}} ) // AllResources fetches an iterable map all CloudFormation and SAM resources diff --git a/pkg/goformation/generate/templates/polymorphic-property.template b/pkg/goformation/generate/templates/polymorphic-property.template index 76270b5934..a7024c99cf 100644 --- a/pkg/goformation/generate/templates/polymorphic-property.template +++ b/pkg/goformation/generate/templates/polymorphic-property.template @@ -5,8 +5,8 @@ import ( "encoding/json" {{if .Property.GoTypeIsValue}} - "github.com/awslabs/goformation/v4/cloudformation/types"{{end}} - "github.com/awslabs/goformation/v4/cloudformation/utils" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/utils" ) // {{.Name}} is a helper struct that can hold either a {{.TypesJoined}} value diff --git a/pkg/goformation/generate/templates/resource.template b/pkg/goformation/generate/templates/resource.template index 21bf2e4735..e18f483968 100644 --- a/pkg/goformation/generate/templates/resource.template +++ b/pkg/goformation/generate/templates/resource.template @@ -6,17 +6,17 @@ import ( "fmt" "bytes" {{if .Resource.HasValueProperty}} - "github.com/awslabs/goformation/v4/cloudformation/types"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types"{{end}} {{if .HasTags}} - "github.com/awslabs/goformation/v4/cloudformation/cloudformation"{{end}} - "github.com/awslabs/goformation/v4/cloudformation/policies" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) {{else}} import ({{if .Resource.HasValueProperty}} - "github.com/awslabs/goformation/v4/cloudformation/types"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types"{{end}} {{if .HasTags}} - "github.com/awslabs/goformation/v4/cloudformation/cloudformation"{{end}} - "github.com/awslabs/goformation/v4/cloudformation/policies" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation"{{end}} + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) {{end}} From d8c49c2f55c4ff83ace505d1a3737be63eca0198 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 5 Mar 2025 21:03:13 -0500 Subject: [PATCH 2/4] use go:generate in goformation.go to regenerate code Signed-off-by: Davanum Srinivas --- ...aws-accessanalyzer-analyzer_archiverule.go | 42 - .../aws-accessanalyzer-analyzer_filter.go | 57 - .../acmpca/aws-acmpca-certificate.go | 138 - .../aws-acmpca-certificate_apipassthrough.go | 40 - .../aws-acmpca-certificate_edipartyname.go | 42 - ...aws-acmpca-certificate_extendedkeyusage.go | 42 - .../aws-acmpca-certificate_extensions.go | 50 - .../aws-acmpca-certificate_generalname.go | 72 - .../acmpca/aws-acmpca-certificate_keyusage.go | 77 - .../aws-acmpca-certificate_othername.go | 42 - ...ws-acmpca-certificate_policyinformation.go | 42 - ...-acmpca-certificate_policyqualifierinfo.go | 42 - .../acmpca/aws-acmpca-certificate_subject.go | 102 - .../acmpca/aws-acmpca-certificateauthority.go | 144 - ...-certificateauthority_accessdescription.go | 40 - ...cmpca-certificateauthority_accessmethod.go | 42 - ...a-certificateauthority_crlconfiguration.go | 57 - ...mpca-certificateauthority_csrextensions.go | 40 - ...cmpca-certificateauthority_edipartyname.go | 42 - ...acmpca-certificateauthority_generalname.go | 72 - ...ws-acmpca-certificateauthority_keyusage.go | 77 - ...-certificateauthority_ocspconfiguration.go | 42 - ...s-acmpca-certificateauthority_othername.go | 42 - ...ficateauthority_revocationconfiguration.go | 40 - ...aws-acmpca-certificateauthority_subject.go | 102 - ...s-acmpca-certificateauthorityactivation.go | 123 - .../acmpca/aws-acmpca-permission.go | 123 - pkg/goformation/cloudformation/all.go | 20025 +-- .../amazonmq/aws-amazonmq-broker.go | 193 - .../aws-amazonmq-broker_configurationid.go | 42 - .../aws-amazonmq-broker_ldapservermetadata.go | 87 - .../aws-amazonmq-broker_maintenancewindow.go | 47 - .../amazonmq/aws-amazonmq-broker_tagsentry.go | 42 - .../amazonmq/aws-amazonmq-broker_user.go | 52 - .../amazonmq/aws-amazonmq-configuration.go | 138 - .../aws-amazonmq-configurationassociation.go | 113 - ...onfigurationassociation_configurationid.go | 42 - .../cloudformation/amplify/aws-amplify-app.go | 174 - ...ws-amplify-app_autobranchcreationconfig.go | 82 - .../aws-amplify-app_basicauthconfig.go | 47 - .../amplify/aws-amplify-app_customrule.go | 52 - .../aws-amplify-branch_basicauthconfig.go | 47 - .../aws-amplify-branch_environmentvariable.go | 42 - .../amplify/aws-amplify-domain.go | 133 - .../aws-amplify-domain_subdomainsetting.go | 42 - .../aws-amplifyuibuilder-component.go | 153 - ...mponent_componentbindingpropertiesvalue.go | 47 - ...mponentbindingpropertiesvalueproperties.go | 67 - ...plifyuibuilder-component_componentchild.go | 52 - ...er-component_componentconditionproperty.go | 62 - ...er-component_componentdataconfiguration.go | 52 - ...yuibuilder-component_componentoverrides.go | 30 - ...ilder-component_componentoverridesvalue.go | 30 - ...uibuilder-component_componentproperties.go | 30 - ...fyuibuilder-component_componentproperty.go | 97 - ...nent_componentpropertybindingproperties.go | 42 - ...ifyuibuilder-component_componentvariant.go | 40 - ...uilder-component_componentvariantvalues.go | 30 - ...amplifyuibuilder-component_formbindings.go | 30 - ...ws-amplifyuibuilder-component_predicate.go | 57 - ...amplifyuibuilder-component_sortproperty.go | 42 - .../aws-amplifyuibuilder-theme.go | 123 - .../aws-amplifyuibuilder-theme_themevalues.go | 42 - .../apigateway/aws-apigateway-account.go | 108 - .../apigateway/aws-apigateway-authorizer.go | 153 - .../aws-apigateway-basepathmapping.go | 123 - .../aws-apigateway-clientcertificate.go | 114 - .../apigateway/aws-apigateway-deployment.go | 128 - ...-apigateway-deployment_accesslogsetting.go | 42 - ...aws-apigateway-deployment_canarysetting.go | 47 - ...way-deployment_deploymentcanarysettings.go | 47 - ...aws-apigateway-deployment_methodsetting.go | 82 - ...-apigateway-deployment_stagedescription.go | 128 - .../aws-apigateway-documentationpart.go | 118 - ...s-apigateway-documentationpart_location.go | 57 - .../aws-apigateway-documentationversion.go | 118 - .../apigateway/aws-apigateway-domainname.go | 144 - ...eway-domainname_mutualtlsauthentication.go | 42 - .../aws-apigateway-gatewayresponse.go | 128 - .../apigateway/aws-apigateway-method.go | 168 - .../aws-apigateway-method_integration.go | 102 - ...s-apigateway-method_integrationresponse.go | 57 - .../aws-apigateway-method_methodresponse.go | 47 - .../apigateway/aws-apigateway-model.go | 128 - .../aws-apigateway-requestvalidator.go | 123 - .../apigateway/aws-apigateway-resource.go | 118 - .../apigateway/aws-apigateway-restapi.go | 179 - ...pigateway-restapi_endpointconfiguration.go | 42 - .../apigateway/aws-apigateway-stage.go | 174 - .../aws-apigateway-stage_accesslogsetting.go | 42 - .../aws-apigateway-stage_canarysetting.go | 52 - .../aws-apigateway-stage_methodsetting.go | 82 - .../apigateway/aws-apigateway-usageplan.go | 134 - .../aws-apigateway-usageplan_apistage.go | 47 - .../aws-apigateway-usageplan_quotasettings.go | 47 - ...s-apigateway-usageplan_throttlesettings.go | 42 - .../apigateway/aws-apigateway-usageplankey.go | 118 - .../apigateway/aws-apigateway-vpclink.go | 124 - .../apigatewayv2/aws-apigatewayv2-api.go | 188 - .../aws-apigatewayv2-api_bodys3location.go | 52 - ...apigatewayv2-apigatewaymanagedoverrides.go | 123 - ...tewaymanagedoverrides_accesslogsettings.go | 42 - ...aymanagedoverrides_integrationoverrides.go | 52 - ...igatewaymanagedoverrides_routeoverrides.go | 57 - ...pigatewaymanagedoverrides_routesettings.go | 57 - ...igatewaymanagedoverrides_stageoverrides.go | 62 - .../aws-apigatewayv2-apimapping.go | 123 - .../aws-apigatewayv2-authorizer.go | 158 - ...pigatewayv2-authorizer_jwtconfiguration.go | 42 - .../aws-apigatewayv2-domainname.go | 123 - ...ayv2-domainname_domainnameconfiguration.go | 57 - ...ayv2-domainname_mutualtlsauthentication.go | 42 - .../aws-apigatewayv2-integration.go | 193 - ...gatewayv2-integration_responseparameter.go | 42 - ...wayv2-integration_responseparameterlist.go | 35 - .../aws-apigatewayv2-integration_tlsconfig.go | 37 - .../aws-apigatewayv2-integrationresponse.go | 138 - .../apigatewayv2/aws-apigatewayv2-model.go | 128 - .../apigatewayv2/aws-apigatewayv2-route.go | 163 - ...apigatewayv2-route_parameterconstraints.go | 37 - .../aws-apigatewayv2-routeresponse.go | 133 - ...ayv2-routeresponse_parameterconstraints.go | 37 - .../apigatewayv2/aws-apigatewayv2-stage.go | 163 - ...ws-apigatewayv2-stage_accesslogsettings.go | 42 - .../aws-apigatewayv2-stage_routesettings.go | 57 - .../apigatewayv2/aws-apigatewayv2-vpclink.go | 123 - .../appconfig/aws-appconfig-application.go | 118 - .../aws-appconfig-configurationprofile.go | 143 - ...pconfig-configurationprofile_validators.go | 42 - .../appconfig/aws-appconfig-deployment.go | 138 - .../aws-appconfig-deploymentstrategy.go | 143 - .../aws-appconfig-deploymentstrategy_tags.go | 42 - .../appconfig/aws-appconfig-environment.go | 128 - .../aws-appconfig-environment_monitors.go | 42 - ...ws-appconfig-hostedconfigurationversion.go | 133 - .../appflow/aws-appflow-connectorprofile.go | 128 - ...le_amplitudeconnectorprofilecredentials.go | 42 - ...-connectorprofile_connectoroauthrequest.go | 42 - ...connectorprofile_connectorprofileconfig.go | 40 - ...ctorprofile_connectorprofilecredentials.go | 110 - ...ectorprofile_connectorprofileproperties.go | 90 - ...file_datadogconnectorprofilecredentials.go | 42 - ...ofile_datadogconnectorprofileproperties.go | 37 - ...le_dynatraceconnectorprofilecredentials.go | 37 - ...ile_dynatraceconnectorprofileproperties.go | 37 - ...gleanalyticsconnectorprofilecredentials.go | 57 - ...e_infornexusconnectorprofilecredentials.go | 52 - ...le_infornexusconnectorprofileproperties.go | 37 - ...file_marketoconnectorprofilecredentials.go | 52 - ...ofile_marketoconnectorprofileproperties.go | 37 - ...ppflow-connectorprofile_oauthproperties.go | 47 - ...ile_redshiftconnectorprofilecredentials.go | 42 - ...file_redshiftconnectorprofileproperties.go | 52 - ...e_salesforceconnectorprofilecredentials.go | 52 - ...le_salesforceconnectorprofileproperties.go | 42 - ...ile_sapodataconnectorprofilecredentials.go | 40 - ...file_sapodataconnectorprofileproperties.go | 67 - ...e_servicenowconnectorprofilecredentials.go | 42 - ...le_servicenowconnectorprofileproperties.go | 37 - ...ile_singularconnectorprofilecredentials.go | 37 - ...rofile_slackconnectorprofilecredentials.go | 52 - ...profile_slackconnectorprofileproperties.go | 37 - ...le_snowflakeconnectorprofilecredentials.go | 42 - ...ile_snowflakeconnectorprofileproperties.go | 67 - ...e_trendmicroconnectorprofilecredentials.go | 37 - ...profile_veevaconnectorprofileproperties.go | 37 - ...file_zendeskconnectorprofilecredentials.go | 52 - ...ofile_zendeskconnectorprofileproperties.go | 37 - .../appflow/aws-appflow-flow.go | 144 - ...-appflow-flow_amplitudesourceproperties.go | 37 - .../aws-appflow-flow_connectoroperator.go | 107 - ...low-flow_destinationconnectorproperties.go | 70 - .../aws-appflow-flow_destinationflowconfig.go | 47 - ...-appflow-flow_dynatracesourceproperties.go | 37 - .../aws-appflow-flow_errorhandlingconfig.go | 47 - ...w-flow_eventbridgedestinationproperties.go | 42 - ...appflow-flow_infornexussourceproperties.go | 37 - ...low_lookoutmetricsdestinationproperties.go | 37 - ...ws-appflow-flow_marketosourceproperties.go | 37 - .../appflow/aws-appflow-flow_prefixconfig.go | 42 - ...flow-flow_redshiftdestinationproperties.go | 52 - ...ws-appflow-flow_s3destinationproperties.go | 47 - .../aws-appflow-flow_s3inputformatconfig.go | 37 - .../aws-appflow-flow_s3outputformatconfig.go | 47 - .../aws-appflow-flow_s3sourceproperties.go | 47 - ...ow-flow_salesforcedestinationproperties.go | 52 - ...appflow-flow_salesforcesourceproperties.go | 47 - ...s-appflow-flow_sapodatasourceproperties.go | 37 - ...appflow-flow_scheduledtriggerproperties.go | 62 - ...appflow-flow_servicenowsourceproperties.go | 37 - ...s-appflow-flow_singularsourceproperties.go | 37 - ...low-flow_snowflakedestinationproperties.go | 52 - ...-appflow-flow_sourceconnectorproperties.go | 105 - .../aws-appflow-flow_sourceflowconfig.go | 52 - .../appflow/aws-appflow-flow_task.go | 57 - .../aws-appflow-flow_taskpropertiesobject.go | 42 - ...appflow-flow_trendmicrosourceproperties.go | 37 - .../appflow/aws-appflow-flow_triggerconfig.go | 42 - ...flow-flow_upsolverdestinationproperties.go | 47 - ...pflow-flow_upsolvers3outputformatconfig.go | 47 - .../aws-appflow-flow_veevasourceproperties.go | 57 - ...pflow-flow_zendeskdestinationproperties.go | 52 - ...ws-appflow-flow_zendesksourceproperties.go | 37 - .../aws-appintegrations-eventintegration.go | 129 - ...tegrations-eventintegration_eventfilter.go | 37 - ...integration_eventintegrationassociation.go | 57 - ...pintegrations-eventintegration_metadata.go | 42 - ...s-applicationautoscaling-scalabletarget.go | 143 - ...oscaling-scalabletarget_scheduledaction.go | 62 - ...toscaling-scalabletarget_suspendedstate.go | 47 - ...ws-applicationautoscaling-scalingpolicy.go | 143 - ...ingpolicy_customizedmetricspecification.go | 57 - ...toscaling-scalingpolicy_metricdimension.go | 42 - ...ingpolicy_predefinedmetricspecification.go | 42 - ...utoscaling-scalingpolicy_stepadjustment.go | 47 - ...ngpolicy_stepscalingpolicyconfiguration.go | 57 - ...argettrackingscalingpolicyconfiguration.go | 62 - .../aws-applicationinsights-application.go | 149 - ...s-applicationinsights-application_alarm.go | 42 - ...icationinsights-application_alarmmetric.go | 37 - ...ghts-application_componentconfiguration.go | 40 - ...-application_componentmonitoringsetting.go | 62 - ...sights-application_configurationdetails.go | 55 - ...ioninsights-application_customcomponent.go | 42 - ...ights-application_jmxprometheusexporter.go | 47 - ...aws-applicationinsights-application_log.go | 57 - ...ationinsights-application_logpatternset.go | 42 - ...cation_subcomponentconfigurationdetails.go | 45 - ...plication_subcomponenttypeconfiguration.go | 42 - ...cationinsights-application_windowsevent.go | 52 - .../appmesh/aws-appmesh-gatewayroute.go | 134 - ...atewayroute_gatewayroutehostnamerewrite.go | 37 - ...-gatewayroute_gatewayroutemetadatamatch.go | 57 - ...esh-gatewayroute_gatewayrouterangematch.go | 42 - ...s-appmesh-gatewayroute_gatewayroutespec.go | 52 - ...appmesh-gatewayroute_gatewayroutetarget.go | 35 - ...gatewayroute_gatewayroutevirtualservice.go | 37 - ...s-appmesh-gatewayroute_grpcgatewayroute.go | 40 - ...esh-gatewayroute_grpcgatewayrouteaction.go | 40 - ...mesh-gatewayroute_grpcgatewayroutematch.go | 47 - ...h-gatewayroute_grpcgatewayroutemetadata.go | 47 - ...sh-gatewayroute_grpcgatewayrouterewrite.go | 35 - ...s-appmesh-gatewayroute_httpgatewayroute.go | 40 - ...esh-gatewayroute_httpgatewayrouteaction.go | 40 - ...esh-gatewayroute_httpgatewayrouteheader.go | 47 - ...atewayroute_httpgatewayrouteheadermatch.go | 57 - ...mesh-gatewayroute_httpgatewayroutematch.go | 62 - ...atewayroute_httpgatewayroutepathrewrite.go | 37 - ...sh-gatewayroute_httpgatewayrouterewrite.go | 45 - .../aws-appmesh-gatewayroute_httppathmatch.go | 42 - ...sh-gatewayroute_httpqueryparametermatch.go | 37 - ...aws-appmesh-gatewayroute_queryparameter.go | 42 - .../appmesh/aws-appmesh-route.go | 134 - .../aws-appmesh-route_grpcretrypolicy.go | 57 - .../appmesh/aws-appmesh-route_grpcroute.go | 50 - .../aws-appmesh-route_grpcrouteaction.go | 35 - .../aws-appmesh-route_grpcroutematch.go | 47 - .../aws-appmesh-route_grpcroutemetadata.go | 47 - ...mesh-route_grpcroutemetadatamatchmethod.go | 57 - .../appmesh/aws-appmesh-route_grpctimeout.go | 40 - .../aws-appmesh-route_headermatchmethod.go | 57 - .../aws-appmesh-route_httppathmatch.go | 42 - ...s-appmesh-route_httpqueryparametermatch.go | 37 - .../aws-appmesh-route_httpretrypolicy.go | 52 - .../appmesh/aws-appmesh-route_httproute.go | 50 - .../aws-appmesh-route_httprouteaction.go | 35 - .../aws-appmesh-route_httprouteheader.go | 47 - .../aws-appmesh-route_httproutematch.go | 62 - .../appmesh/aws-appmesh-route_httptimeout.go | 40 - .../appmesh/aws-appmesh-route_matchrange.go | 42 - .../aws-appmesh-route_queryparameter.go | 42 - .../appmesh/aws-appmesh-route_routespec.go | 57 - .../appmesh/aws-appmesh-route_tcproute.go | 40 - .../aws-appmesh-route_weightedtarget.go | 42 - .../appmesh/aws-appmesh-virtualgateway.go | 129 - ...-virtualgateway_subjectalternativenames.go | 35 - ...-virtualgateway_virtualgatewayaccesslog.go | 35 - ...rtualgateway_virtualgatewayclientpolicy.go | 35 - ...algateway_virtualgatewayclientpolicytls.go | 52 - ...eway_virtualgatewayclienttlscertificate.go | 40 - ...ualgateway_virtualgatewayconnectionpool.go | 45 - ...tualgateway_virtualgatewayfileaccesslog.go | 37 - ...ateway_virtualgatewaygrpcconnectionpool.go | 37 - ...gateway_virtualgatewayhealthcheckpolicy.go | 67 - ...teway_virtualgatewayhttp2connectionpool.go | 37 - ...ateway_virtualgatewayhttpconnectionpool.go | 42 - ...h-virtualgateway_virtualgatewaylistener.go | 50 - ...irtualgateway_virtualgatewaylistenertls.go | 47 - ...virtualgatewaylistenertlsacmcertificate.go | 37 - ...ay_virtualgatewaylistenertlscertificate.go | 45 - ...irtualgatewaylistenertlsfilecertificate.go | 42 - ...virtualgatewaylistenertlssdscertificate.go | 37 - ...tualgatewaylistenertlsvalidationcontext.go | 40 - ...atewaylistenertlsvalidationcontexttrust.go | 40 - ...sh-virtualgateway_virtualgatewaylogging.go | 35 - ...irtualgateway_virtualgatewayportmapping.go | 42 - ...pmesh-virtualgateway_virtualgatewayspec.go | 45 - ...eway_virtualgatewaytlsvalidationcontext.go | 40 - ...tualgatewaytlsvalidationcontextacmtrust.go | 37 - ...ualgatewaytlsvalidationcontextfiletrust.go | 37 - ...tualgatewaytlsvalidationcontextsdstrust.go | 37 - ...virtualgatewaytlsvalidationcontexttrust.go | 45 - .../appmesh/aws-appmesh-virtualnode.go | 129 - ...irtualnode_awscloudmapinstanceattribute.go | 42 - ...virtualnode_awscloudmapservicediscovery.go | 47 - .../aws-appmesh-virtualnode_backend.go | 35 - ...aws-appmesh-virtualnode_backenddefaults.go | 35 - .../aws-appmesh-virtualnode_clientpolicy.go | 35 - ...aws-appmesh-virtualnode_clientpolicytls.go | 52 - ...ppmesh-virtualnode_clienttlscertificate.go | 40 - ...appmesh-virtualnode_dnsservicediscovery.go | 42 - .../aws-appmesh-virtualnode_duration.go | 42 - .../aws-appmesh-virtualnode_grpctimeout.go | 40 - .../aws-appmesh-virtualnode_healthcheck.go | 67 - .../aws-appmesh-virtualnode_httptimeout.go | 40 - .../aws-appmesh-virtualnode_listener.go | 60 - ...aws-appmesh-virtualnode_listenertimeout.go | 50 - .../aws-appmesh-virtualnode_listenertls.go | 47 - ...h-virtualnode_listenertlsacmcertificate.go | 37 - ...mesh-virtualnode_listenertlscertificate.go | 45 - ...h-virtualnode_listenertlssdscertificate.go | 37 - ...irtualnode_listenertlsvalidationcontext.go | 40 - ...lnode_listenertlsvalidationcontexttrust.go | 40 - .../aws-appmesh-virtualnode_logging.go | 35 - ...ws-appmesh-virtualnode_outlierdetection.go | 52 - .../aws-appmesh-virtualnode_portmapping.go | 42 - ...ws-appmesh-virtualnode_servicediscovery.go | 40 - ...tualnode_subjectalternativenamematchers.go | 37 - ...esh-virtualnode_subjectalternativenames.go | 35 - .../aws-appmesh-virtualnode_tcptimeout.go | 35 - ...ppmesh-virtualnode_tlsvalidationcontext.go | 40 - ...irtualnode_tlsvalidationcontextacmtrust.go | 37 - ...rtualnode_tlsvalidationcontextfiletrust.go | 37 - ...h-virtualnode_tlsvalidationcontexttrust.go | 45 - ...h-virtualnode_virtualnodeconnectionpool.go | 50 - ...tualnode_virtualnodehttp2connectionpool.go | 37 - ...rtualnode_virtualnodehttpconnectionpool.go | 42 - ...aws-appmesh-virtualnode_virtualnodespec.go | 55 - ...pmesh-virtualnode_virtualservicebackend.go | 42 - .../appmesh/aws-appmesh-virtualrouter.go | 129 - .../aws-appmesh-virtualrouter_portmapping.go | 42 - ...esh-virtualrouter_virtualrouterlistener.go | 35 - ...appmesh-virtualrouter_virtualrouterspec.go | 35 - .../appmesh/aws-appmesh-virtualservice.go | 129 - ...rtualservice_virtualnodeserviceprovider.go | 37 - ...ualservice_virtualrouterserviceprovider.go | 37 - ...h-virtualservice_virtualserviceprovider.go | 40 - .../apprunner/aws-apprunner-service.go | 139 - ...ner-service_authenticationconfiguration.go | 42 - ...aws-apprunner-service_codeconfiguration.go | 42 - ...prunner-service_codeconfigurationvalues.go | 57 - .../aws-apprunner-service_coderepository.go | 47 - ...prunner-service_encryptionconfiguration.go | 37 - ...runner-service_healthcheckconfiguration.go | 62 - ...ws-apprunner-service_imageconfiguration.go | 47 - .../aws-apprunner-service_imagerepository.go | 47 - ...apprunner-service_instanceconfiguration.go | 47 - .../aws-apprunner-service_keyvaluepair.go | 42 - ...s-apprunner-service_sourceconfiguration.go | 52 - .../appstream/aws-appstream-appblock.go | 134 - .../aws-appstream-appblock_s3location.go | 42 - .../aws-appstream-appblock_scriptdetails.go | 52 - .../appstream/aws-appstream-application.go | 164 - .../aws-appstream-application_s3location.go | 42 - ...s-appstream-applicationfleetassociation.go | 113 - .../aws-appstream-directoryconfig.go | 118 - ...rectoryconfig_serviceaccountcredentials.go | 42 - .../appstream/aws-appstream-fleet.go | 204 - .../aws-appstream-fleet_computecapacity.go | 37 - .../aws-appstream-fleet_domainjoininfo.go | 42 - .../aws-appstream-fleet_vpcconfig.go | 42 - ...s-appstream-imagebuilder_accessendpoint.go | 42 - ...s-appstream-imagebuilder_domainjoininfo.go | 42 - .../aws-appstream-imagebuilder_vpcconfig.go | 42 - .../appstream/aws-appstream-stack.go | 169 - .../aws-appstream-stack_accessendpoint.go | 42 - ...aws-appstream-stack_applicationsettings.go | 42 - .../aws-appstream-stack_storageconnector.go | 47 - .../aws-appstream-stack_usersetting.go | 42 - .../aws-appstream-stackfleetassociation.go | 113 - .../aws-appstream-stackuserassociation.go | 123 - .../appstream/aws-appstream-user.go | 128 - .../appsync/aws-appsync-apicache.go | 133 - .../appsync/aws-appsync-apikey.go | 123 - .../appsync/aws-appsync-datasource.go | 158 - ...-appsync-datasource_authorizationconfig.go | 42 - .../aws-appsync-datasource_awsiamconfig.go | 42 - .../aws-appsync-datasource_deltasyncconfig.go | 47 - .../aws-appsync-datasource_dynamodbconfig.go | 57 - ...-appsync-datasource_elasticsearchconfig.go | 42 - .../aws-appsync-datasource_httpconfig.go | 42 - ...sync-datasource_opensearchserviceconfig.go | 42 - ...ppsync-datasource_rdshttpendpointconfig.go | 57 - ...ync-datasource_relationaldatabaseconfig.go | 42 - .../aws-appsync-functionconfiguration.go | 153 - ...nfiguration_lambdaconflicthandlerconfig.go | 37 - ...ppsync-functionconfiguration_syncconfig.go | 47 - .../appsync/aws-appsync-graphqlapi.go | 148 - ...hqlapi_additionalauthenticationprovider.go | 52 - ...qlapi_additionalauthenticationproviders.go | 30 - ...ppsync-graphqlapi_cognitouserpoolconfig.go | 47 - ...psync-graphqlapi_lambdaauthorizerconfig.go | 47 - .../aws-appsync-graphqlapi_logconfig.go | 47 - ...-appsync-graphqlapi_openidconnectconfig.go | 52 - .../appsync/aws-appsync-graphqlapi_tags.go | 30 - .../aws-appsync-graphqlapi_userpoolconfig.go | 52 - .../appsync/aws-appsync-graphqlschema.go | 118 - .../appsync/aws-appsync-resolver.go | 163 - .../aws-appsync-resolver_cachingconfig.go | 42 - ...nc-resolver_lambdaconflicthandlerconfig.go | 37 - .../aws-appsync-resolver_pipelineconfig.go | 37 - .../aws-appsync-resolver_syncconfig.go | 47 - .../aps/aws-aps-rulegroupsnamespace.go | 124 - .../cloudformation/ask/alexa-ask-skill.go | 118 - ...a-ask-skill_authenticationconfiguration.go | 47 - .../ask/alexa-ask-skill_skillpackage.go | 57 - .../athena/aws-athena-datacatalog.go | 129 - .../athena/aws-athena-datacatalog_tags.go | 36 - .../athena/aws-athena-namedquery.go | 128 - .../athena/aws-athena-preparedstatement.go | 123 - .../athena/aws-athena-workgroup.go | 139 - ...thena-workgroup_encryptionconfiguration.go | 42 - .../aws-athena-workgroup_engineversion.go | 42 - ...ws-athena-workgroup_resultconfiguration.go | 42 - ...na-workgroup_resultconfigurationupdates.go | 52 - .../athena/aws-athena-workgroup_tags.go | 36 - ...athena-workgroup_workgroupconfiguration.go | 62 - ...workgroup_workgroupconfigurationupdates.go | 67 - .../aws-auditmanager-assessment.go | 149 - ...assessment_assessmentreportsdestination.go | 42 - .../aws-auditmanager-assessment_awsaccount.go | 47 - .../aws-auditmanager-assessment_awsservice.go | 37 - .../aws-auditmanager-assessment_delegation.go | 87 - .../aws-auditmanager-assessment_role.go | 42 - .../aws-auditmanager-assessment_scope.go | 40 - .../aws-autoscaling-autoscalinggroup.go | 91 +- ...linggroup_availabilityzonedistribution.go} | 18 +- ...group_availabilityzoneimpairmentpolicy.go} | 24 +- ...roup_baselineperformancefactorsrequest.go} | 20 +- ...group_capacityreservationspecification.go} | 31 +- ...scalinggroup_capacityreservationtarget.go} | 24 +- ...alinggroup_cpuperformancefactorrequest.go} | 18 +- ...scalinggroup_instancemaintenancepolicy.go} | 24 +- ...g-autoscalinggroup_instancerequirements.go | 68 +- ...-autoscalinggroup_instancesdistribution.go | 14 +- ...scaling-autoscalinggroup_launchtemplate.go | 6 +- ...utoscalinggroup_launchtemplateoverrides.go | 10 +- ...ling-autoscalinggroup_metricscollection.go | 6 +- ...g-autoscalinggroup_mixedinstancespolicy.go | 6 +- ...alinggroup_networkbandwidthgbpsrequest.go} | 24 +- ...oscalinggroup_notificationconfiguration.go | 6 +- ...roup_performancefactorreferencerequest.go} | 20 +- ...utoscaling-autoscalinggroup_tagproperty.go | 8 +- ...toscalinggroup_trafficsourceidentifier.go} | 24 +- .../aws-autoscaling-launchconfiguration.go | 40 +- ...scaling-launchconfiguration_blockdevice.go | 16 +- ...-launchconfiguration_blockdevicemapping.go | 10 +- ...ling-launchconfiguration_metadataoption.go | 47 - ...ing-launchconfiguration_metadataoptions.go | 8 +- .../aws-autoscaling-scalingpolicy.go | 24 +- ...ingpolicy_customizedmetricspecification.go | 16 +- .../aws-autoscaling-scalingpolicy_metric.go} | 26 +- ...oscaling-scalingpolicy_metricdataquery.go} | 44 +- ...s-autoscaling-scalingpolicy_metricstat.go} | 32 +- ...dictivescalingcustomizedcapacitymetric.go} | 18 +- ..._predictivescalingcustomizedloadmetric.go} | 20 +- ...edictivescalingcustomizedscalingmetric.go} | 27 +- ...cy_predictivescalingmetricspecification.go | 15 + ...utoscaling-scalingpolicy_stepadjustment.go | 8 +- ...ingpolicy_targettrackingmetricdataquery.go | 62 + ...scalingpolicy_targettrackingmetricstat.go} | 40 +- .../aws-autoscaling-scheduledaction.go | 18 +- .../autoscaling/aws-autoscaling-warmpool.go | 5 + ...toscaling-warmpool_instancereusepolicy.go} | 18 +- .../aws-autoscalingplans-scalingplan.go | 111 - ...lingplans-scalingplan_applicationsource.go | 42 - ...gplan_customizedloadmetricspecification.go | 57 - ...an_customizedscalingmetricspecification.go | 57 - ...calingplans-scalingplan_metricdimension.go | 42 - ...gplan_predefinedloadmetricspecification.go | 42 - ...an_predefinedscalingmetricspecification.go | 42 - ...ingplans-scalingplan_scalinginstruction.go | 102 - ...-autoscalingplans-scalingplan_tagfilter.go | 42 - ...scalingplan_targettrackingconfiguration.go | 67 - .../backup/aws-backup-backupplan.go | 113 - ...pplan_advancedbackupsettingresourcetype.go | 42 - ...ackup-backupplan_backupplanresourcetype.go | 47 - ...ackup-backupplan_backupruleresourcetype.go | 77 - ...ackup-backupplan_copyactionresourcetype.go | 42 - ...backup-backupplan_lifecycleresourcetype.go | 42 - .../backup/aws-backup-backupselection.go | 113 - ...upselection_backupselectionresourcetype.go | 62 - ...p-backupselection_conditionresourcetype.go | 47 - .../backup/aws-backup-backupvault.go | 133 - ...ackup-backupvault_lockconfigurationtype.go | 47 - ...ckup-backupvault_notificationobjecttype.go | 42 - .../backup/aws-backup-framework.go | 124 - ...-backup-framework_controlinputparameter.go | 42 - .../aws-backup-framework_frameworkcontrol.go | 47 - .../backup/aws-backup-reportplan.go | 129 - .../batch/aws-batch-computeenvironment.go | 138 - ...tch-computeenvironment_computeresources.go | 117 - ...mputeenvironment_ec2configurationobject.go | 42 - .../batch/aws-batch-jobdefinition.go | 158 - ...batch-jobdefinition_authorizationconfig.go | 42 - ...batch-jobdefinition_containerproperties.go | 132 - .../batch/aws-batch-jobdefinition_device.go | 47 - ...ch-jobdefinition_efsvolumeconfiguration.go | 57 - .../aws-batch-jobdefinition_environment.go | 42 - .../aws-batch-jobdefinition_evaluateonexit.go | 52 - ...definition_fargateplatformconfiguration.go | 37 - ...aws-batch-jobdefinition_linuxparameters.go | 62 - ...ws-batch-jobdefinition_logconfiguration.go | 47 - .../aws-batch-jobdefinition_mountpoints.go | 47 - ...atch-jobdefinition_networkconfiguration.go | 37 - .../aws-batch-jobdefinition_nodeproperties.go | 47 - ...s-batch-jobdefinition_noderangeproperty.go | 42 - ...batch-jobdefinition_resourcerequirement.go | 42 - .../aws-batch-jobdefinition_retrystrategy.go | 42 - .../batch/aws-batch-jobdefinition_secret.go | 42 - .../batch/aws-batch-jobdefinition_timeout.go | 37 - .../batch/aws-batch-jobdefinition_tmpfs.go | 47 - .../batch/aws-batch-jobdefinition_ulimit.go | 47 - .../batch/aws-batch-jobdefinition_volumes.go | 47 - .../batch/aws-batch-jobqueue.go | 133 - ...-batch-jobqueue_computeenvironmentorder.go | 42 - .../batch/aws-batch-schedulingpolicy.go | 118 - ...-batch-schedulingpolicy_fairsharepolicy.go | 47 - ...-batch-schedulingpolicy_shareattributes.go | 42 - .../budgets/aws-budgets-budget.go | 111 - .../budgets/aws-budgets-budget_budgetdata.go | 72 - .../budgets/aws-budgets-budget_costtypes.go | 87 - .../aws-budgets-budget_notification.go | 52 - ...gets-budget_notificationwithsubscribers.go | 40 - .../budgets/aws-budgets-budget_spend.go | 42 - .../budgets/aws-budgets-budget_subscriber.go | 42 - .../budgets/aws-budgets-budget_timeperiod.go | 42 - .../budgets/aws-budgets-budgetsaction.go | 143 - ...s-budgets-budgetsaction_actionthreshold.go | 42 - .../aws-budgets-budgetsaction_definition.go | 45 - ...dgets-budgetsaction_iamactiondefinition.go | 52 - ...dgets-budgetsaction_scpactiondefinition.go | 42 - ...dgets-budgetsaction_ssmactiondefinition.go | 47 - .../aws-budgets-budgetsaction_subscriber.go | 42 - .../cassandra/aws-cassandra-keyspace.go | 114 - .../cassandra/aws-cassandra-table.go | 154 - .../aws-cassandra-table_billingmode.go | 42 - ...aws-cassandra-table_clusteringkeycolumn.go | 42 - .../cassandra/aws-cassandra-table_column.go | 42 - ...s-cassandra-table_provisionedthroughput.go | 42 - .../ce/aws-ce-anomalysubscription.go | 128 - .../aws-ce-anomalysubscription_subscriber.go | 47 - .../cloudformation/ce/aws-ce-costcategory.go | 128 - .../aws-certificatemanager-account.go | 106 - ...nager-account_expiryeventsconfiguration.go | 37 - .../aws-certificatemanager-certificate.go | 139 - .../aws-chatbot-slackchannelconfiguration.go | 143 - .../cloud9/aws-cloud9-environmentec2.go | 154 - .../aws-cloudformation-customresource.go | 5 + .../aws-cloudformation-guardhook.go} | 93 +- ...ws-cloudformation-guardhook_hooktarget.go} | 26 +- .../aws-cloudformation-guardhook_options.go} | 18 +- ...ws-cloudformation-guardhook_s3location.go} | 28 +- ...-cloudformation-guardhook_stackfilters.go} | 36 +- ...ws-cloudformation-guardhook_stacknames.go} | 20 +- ...ws-cloudformation-guardhook_stackroles.go} | 24 +- ...cloudformation-guardhook_targetfilters.go} | 36 +- .../aws-cloudformation-hookdefaultversion.go} | 41 +- .../aws-cloudformation-hooktypeconfig.go} | 48 +- .../aws-cloudformation-hookversion.go} | 50 +- ...oudformation-hookversion_loggingconfig.go} | 24 +- .../aws-cloudformation-lambdahook.go} | 78 +- ...s-cloudformation-lambdahook_hooktarget.go} | 28 +- ...cloudformation-lambdahook_stackfilters.go} | 34 +- ...s-cloudformation-lambdahook_stacknames.go} | 24 +- ...s-cloudformation-lambdahook_stackroles.go} | 24 +- ...loudformation-lambdahook_targetfilters.go} | 36 +- .../aws-cloudformation-stackset.go | 2 +- ...oudformation-stackset_deploymenttargets.go | 10 + ...oudformation-stackset_managedexecution.go} | 18 +- ...formation-stackset_operationpreferences.go | 5 + .../cloudfront/aws-cloudfront-cachepolicy.go | 106 - ...loudfront-cachepolicy_cachepolicyconfig.go | 62 - ...ws-cloudfront-cachepolicy_cookiesconfig.go | 42 - ...ws-cloudfront-cachepolicy_headersconfig.go | 42 - ...arametersincachekeyandforwardedtoorigin.go | 57 - ...oudfront-cachepolicy_querystringsconfig.go | 42 - ...oudfront-cloudfrontoriginaccessidentity.go | 106 - ...ty_cloudfrontoriginaccessidentityconfig.go | 37 - .../cloudfront/aws-cloudfront-distribution.go | 112 - ...s-cloudfront-distribution_cachebehavior.go | 132 - .../aws-cloudfront-distribution_cookies.go | 42 - ...dfront-distribution_customerrorresponse.go | 52 - ...udfront-distribution_customoriginconfig.go | 62 - ...front-distribution_defaultcachebehavior.go | 127 - ...udfront-distribution_distributionconfig.go | 127 - ...cloudfront-distribution_forwardedvalues.go | 52 - ...dfront-distribution_functionassociation.go | 42 - ...-cloudfront-distribution_georestriction.go | 42 - ...-distribution_lambdafunctionassociation.go | 47 - ...udfront-distribution_legacycustomorigin.go | 57 - .../aws-cloudfront-distribution_logging.go | 47 - .../aws-cloudfront-distribution_origin.go | 77 - ...udfront-distribution_origincustomheader.go | 42 - ...aws-cloudfront-distribution_origingroup.go | 47 - ...istribution_origingroupfailovercriteria.go | 35 - ...oudfront-distribution_origingroupmember.go | 37 - ...udfront-distribution_origingroupmembers.go | 42 - ...ws-cloudfront-distribution_originshield.go | 42 - ...ws-cloudfront-distribution_restrictions.go | 35 - ...-cloudfront-distribution_s3originconfig.go | 37 - ...aws-cloudfront-distribution_statuscodes.go | 42 - ...oudfront-distribution_viewercertificate.go | 57 - .../cloudfront/aws-cloudfront-function.go | 123 - .../aws-cloudfront-function_functionconfig.go | 42 - ...ws-cloudfront-function_functionmetadata.go | 37 - .../cloudfront/aws-cloudfront-keygroup.go | 106 - .../aws-cloudfront-originrequestpolicy.go | 106 - ...front-originrequestpolicy_cookiesconfig.go | 42 - ...front-originrequestpolicy_headersconfig.go | 42 - ...requestpolicy_originrequestpolicyconfig.go | 57 - ...-originrequestpolicy_querystringsconfig.go | 42 - .../cloudfront/aws-cloudfront-publickey.go | 106 - ...ws-cloudfront-publickey_publickeyconfig.go | 52 - .../aws-cloudfront-realtimelogconfig.go | 123 - ...s-cloudfront-realtimelogconfig_endpoint.go | 42 - ...t-realtimelogconfig_kinesisstreamconfig.go | 42 - .../aws-cloudfront-responseheaderspolicy.go | 106 - ...headerspolicy_accesscontrolallowheaders.go | 37 - ...headerspolicy_accesscontrolallowmethods.go | 37 - ...headerspolicy_accesscontrolalloworigins.go | 37 - ...eaderspolicy_accesscontrolexposeheaders.go | 37 - ...onseheaderspolicy_contentsecuritypolicy.go | 42 - ...dfront-responseheaderspolicy_corsconfig.go | 67 - ...ront-responseheaderspolicy_customheader.go | 47 - ...sponseheaderspolicy_customheadersconfig.go | 35 - ...ront-responseheaderspolicy_frameoptions.go | 42 - ...nt-responseheaderspolicy_referrerpolicy.go | 42 - ...aderspolicy_responseheaderspolicyconfig.go | 57 - ...onseheaderspolicy_securityheadersconfig.go | 60 - ...seheaderspolicy_stricttransportsecurity.go | 52 - ...ont-responseheaderspolicy_xssprotection.go | 52 - .../aws-cloudfront-streamingdistribution.go | 112 - ...loudfront-streamingdistribution_logging.go | 47 - ...oudfront-streamingdistribution_s3origin.go | 42 - ...istribution_streamingdistributionconfig.go | 67 - ...nt-streamingdistribution_trustedsigners.go | 42 - .../cloudtrail/aws-cloudtrail-trail.go | 179 - .../aws-cloudtrail-trail_dataresource.go | 42 - .../aws-cloudtrail-trail_eventselector.go | 52 - .../aws-cloudtrail-trail_insightselector.go | 37 - .../cloudwatch/aws-cloudwatch-alarm.go | 50 +- .../aws-cloudwatch-alarm_dimension.go | 6 +- .../aws-cloudwatch-anomalydetector.go | 5 + ...-anomalydetector_metriccharacteristics.go} | 18 +- ...alydetector_singlemetricanomalydetector.go | 5 + .../aws-cloudwatch-compositealarm.go | 23 +- .../cloudwatch/aws-cloudwatch-metricstream.go | 10 + ...udwatch-metricstream_metricstreamfilter.go | 5 + ...am_metricstreamstatisticsconfiguration.go} | 26 +- ...ricstream_metricstreamstatisticsmetric.go} | 26 +- .../codeartifact/aws-codeartifact-domain.go | 124 - .../aws-codeartifact-repository.go | 144 - .../codebuild/aws-codebuild-project.go | 224 - .../aws-codebuild-project_artifacts.go | 77 - ...aws-codebuild-project_batchrestrictions.go | 42 - ...aws-codebuild-project_buildstatusconfig.go | 42 - ...-codebuild-project_cloudwatchlogsconfig.go | 47 - .../aws-codebuild-project_environment.go | 72 - ...s-codebuild-project_environmentvariable.go | 47 - .../aws-codebuild-project_filtergroup.go | 30 - ...s-codebuild-project_gitsubmodulesconfig.go | 37 - .../aws-codebuild-project_logsconfig.go | 40 - ...debuild-project_projectbuildbatchconfig.go | 57 - .../aws-codebuild-project_projectcache.go | 47 - ...build-project_projectfilesystemlocation.go | 57 - .../aws-codebuild-project_projecttriggers.go | 47 - ...ws-codebuild-project_registrycredential.go | 42 - .../aws-codebuild-project_s3logsconfig.go | 47 - .../codebuild/aws-codebuild-project_source.go | 82 - .../aws-codebuild-project_vpcconfig.go | 47 - .../aws-codebuild-project_webhookfilter.go | 47 - .../codebuild/aws-codebuild-reportgroup.go | 129 - ...odebuild-reportgroup_reportexportconfig.go | 42 - ...ebuild-reportgroup_s3reportexportconfig.go | 62 - .../codecommit/aws-codecommit-repository.go | 129 - .../aws-codecommit-repository_code.go | 42 - ...codecommit-repository_repositorytrigger.go | 57 - .../aws-codecommit-repository_s3.go | 47 - .../aws-codedeploy-deploymentconfig.go | 123 - ...oy-deploymentconfig_minimumhealthyhosts.go | 42 - ...deploy-deploymentconfig_timebasedcanary.go | 42 - ...deploy-deploymentconfig_timebasedlinear.go | 42 - ...y-deploymentconfig_trafficroutingconfig.go | 47 - .../aws-codedeploy-deploymentgroup.go | 188 - .../aws-codedeploy-deploymentgroup_alarm.go | 37 - ...ploy-deploymentgroup_alarmconfiguration.go | 47 - ...ploymentgroup_autorollbackconfiguration.go | 42 - ...tgroup_bluegreendeploymentconfiguration.go | 45 - ...mentgroup_blueinstanceterminationoption.go | 42 - ...s-codedeploy-deploymentgroup_deployment.go | 47 - ...y-deploymentgroup_deploymentreadyoption.go | 42 - ...edeploy-deploymentgroup_deploymentstyle.go | 42 - ...codedeploy-deploymentgroup_ec2tagfilter.go | 47 - ...ws-codedeploy-deploymentgroup_ec2tagset.go | 35 - ...loy-deploymentgroup_ec2tagsetlistobject.go | 35 - ...s-codedeploy-deploymentgroup_ecsservice.go | 42 - .../aws-codedeploy-deploymentgroup_elbinfo.go | 37 - ...dedeploy-deploymentgroup_githublocation.go | 42 - ...ymentgroup_greenfleetprovisioningoption.go | 37 - ...deploy-deploymentgroup_loadbalancerinfo.go | 40 - ...deploy-deploymentgroup_onpremisestagset.go | 35 - ...loymentgroup_onpremisestagsetlistobject.go | 35 - ...deploy-deploymentgroup_revisionlocation.go | 47 - ...s-codedeploy-deploymentgroup_s3location.go | 57 - ...ws-codedeploy-deploymentgroup_tagfilter.go | 47 - ...odedeploy-deploymentgroup_triggerconfig.go | 47 - .../aws-codeguruprofiler-profilinggroup.go | 129 - ...codeguruprofiler-profilinggroup_channel.go | 42 - ...-codegurureviewer-repositoryassociation.go | 134 - .../aws-codepipeline-customactiontype.go | 144 - ...peline-customactiontype_artifactdetails.go | 42 - ...ustomactiontype_configurationproperties.go | 67 - ...-codepipeline-customactiontype_settings.go | 52 - .../codepipeline/aws-codepipeline-pipeline.go | 144 - ...codepipeline-pipeline_actiondeclaration.go | 77 - .../aws-codepipeline-pipeline_actiontypeid.go | 52 - ...aws-codepipeline-pipeline_artifactstore.go | 47 - ...-codepipeline-pipeline_artifactstoremap.go | 42 - ...aws-codepipeline-pipeline_encryptionkey.go | 42 - ...aws-codepipeline-pipeline_inputartifact.go | 37 - ...ws-codepipeline-pipeline_outputartifact.go | 37 - ...-codepipeline-pipeline_stagedeclaration.go | 47 - ...s-codepipeline-pipeline_stagetransition.go | 42 - ...peline-webhook_webhookauthconfiguration.go | 42 - ...-codepipeline-webhook_webhookfilterrule.go | 42 - .../codestar/aws-codestar-githubrepository.go | 143 - .../aws-codestar-githubrepository_code.go | 35 - .../aws-codestar-githubrepository_s3.go | 47 - .../aws-codestarconnections-connection.go | 124 - ...-codestarnotifications-notificationrule.go | 153 - ...arnotifications-notificationrule_target.go | 42 - .../cognito/aws-cognito-identitypool.go | 158 - ...to-identitypool_cognitoidentityprovider.go | 47 - ...aws-cognito-identitypool_cognitostreams.go | 47 - .../aws-cognito-identitypool_pushsync.go | 42 - .../aws-cognito-identitypoolroleattachment.go | 118 - ...-identitypoolroleattachment_mappingrule.go | 52 - ...-identitypoolroleattachment_rolemapping.go | 52 - ...olroleattachment_rulesconfigurationtype.go | 35 - .../cognito/aws-cognito-userpool.go | 213 - ...-cognito-userpool_admincreateuserconfig.go | 47 - .../aws-cognito-userpool_customemailsender.go | 42 - .../aws-cognito-userpool_customsmssender.go | 42 - ...ws-cognito-userpool_deviceconfiguration.go | 42 - ...aws-cognito-userpool_emailconfiguration.go | 57 - ...-cognito-userpool_invitemessagetemplate.go | 47 - .../aws-cognito-userpool_lambdaconfig.go | 97 - ...ito-userpool_numberattributeconstraints.go | 42 - .../aws-cognito-userpool_passwordpolicy.go | 62 - .../cognito/aws-cognito-userpool_policies.go | 35 - .../aws-cognito-userpool_recoveryoption.go | 42 - .../aws-cognito-userpool_schemaattribute.go | 67 - .../aws-cognito-userpool_smsconfiguration.go | 42 - ...ito-userpool_stringattributeconstraints.go | 42 - ...-cognito-userpool_usernameconfiguration.go | 37 - .../aws-cognito-userpool_userpooladdons.go | 37 - ...to-userpool_verificationmessagetemplate.go | 62 - .../cognito/aws-cognito-userpoolclient.go | 203 - ...o-userpoolclient_analyticsconfiguration.go | 57 - ...gnito-userpoolclient_tokenvalidityunits.go | 47 - .../cognito/aws-cognito-userpooldomain.go | 118 - ...o-userpooldomain_customdomainconfigtype.go | 37 - .../cognito/aws-cognito-userpoolgroup.go | 128 - .../aws-cognito-userpoolidentityprovider.go | 133 - .../aws-cognito-userpoolresourceserver.go | 123 - ...lresourceserver_resourceserverscopetype.go | 42 - ...ito-userpoolriskconfigurationattachment.go | 128 - ...onattachment_accounttakeoveractionstype.go | 45 - ...ionattachment_accounttakeoveractiontype.go | 42 - ...nt_accounttakeoverriskconfigurationtype.go | 40 - ...hment_compromisedcredentialsactionstype.go | 37 - ...romisedcredentialsriskconfigurationtype.go | 42 - ...ationattachment_notifyconfigurationtype.go | 62 - ...configurationattachment_notifyemailtype.go | 47 - ...tachment_riskexceptionconfigurationtype.go | 42 - ...gnito-userpooluicustomizationattachment.go | 118 - .../cognito/aws-cognito-userpooluser.go | 143 - .../aws-cognito-userpooluser_attributetype.go | 42 - ...s-cognito-userpoolusertogroupattachment.go | 118 - .../config/aws-config-configrule.go | 133 - .../config/aws-config-configrule_source.go | 47 - .../aws-config-configrule_sourcedetail.go | 47 - .../aws-config-configurationaggregator.go | 124 - ...tionaggregator_accountaggregationsource.go | 47 - ...ggregator_organizationaggregationsource.go | 47 - .../aws-config-configurationrecorder.go | 118 - ...ig-configurationrecorder_recordinggroup.go | 47 - .../config/aws-config-conformancepack.go | 133 - ...mancepack_conformancepackinputparameter.go | 42 - .../config/aws-config-deliverychannel.go | 133 - ...hannel_configsnapshotdeliveryproperties.go | 37 - .../aws-config-organizationconfigrule.go | 123 - ...nfigrule_organizationcustomrulemetadata.go | 77 - ...figrule_organizationmanagedrulemetadata.go | 72 - .../aws-config-organizationconformancepack.go | 138 - ...mancepack_conformancepackinputparameter.go | 42 - .../aws-config-remediationconfiguration.go | 153 - ...ediationconfiguration_executioncontrols.go | 35 - ...configuration_remediationparametervalue.go | 40 - ...ig-remediationconfiguration_ssmcontrols.go | 42 - ...ig-remediationconfiguration_staticvalue.go | 37 - .../config/aws-config-storedquery.go | 124 - .../connect/aws-connect-contactflow.go | 139 - .../connect/aws-connect-contactflowmodule.go | 134 - .../connect/aws-connect-hoursofoperation.go | 134 - ...hoursofoperation_hoursofoperationconfig.go | 47 - ...rsofoperation_hoursofoperationtimeslice.go | 42 - .../connect/aws-connect-quickconnect.go | 129 - ...ckconnect_phonenumberquickconnectconfig.go | 37 - ...ct-quickconnect_queuequickconnectconfig.go | 42 - ...connect-quickconnect_quickconnectconfig.go | 52 - ...ect-quickconnect_userquickconnectconfig.go | 42 - .../aws-connect-user_useridentityinfo.go | 47 - .../aws-connect-user_userphoneconfig.go | 52 - .../connect/aws-connect-userhierarchygroup.go | 118 - .../cur/aws-cur-reportdefinition.go | 163 - .../aws-customerprofiles-domain.go | 129 - ...rprofiles-integration_connectoroperator.go | 57 - ...omerprofiles-integration_flowdefinition.go | 62 - ...files-integration_incrementalpullconfig.go | 37 - ...les-integration_marketosourceproperties.go | 37 - ...profiles-integration_s3sourceproperties.go | 42 - ...-integration_salesforcesourceproperties.go | 47 - ...-integration_scheduledtriggerproperties.go | 67 - ...-integration_servicenowsourceproperties.go | 37 - ...s-integration_sourceconnectorproperties.go | 55 - ...erprofiles-integration_sourceflowconfig.go | 52 - .../aws-customerprofiles-integration_task.go | 57 - ...rprofiles-integration_taskpropertiesmap.go | 42 - ...tomerprofiles-integration_triggerconfig.go | 42 - ...rprofiles-integration_triggerproperties.go | 35 - ...les-integration_zendesksourceproperties.go | 37 - .../aws-customerprofiles-objecttype.go | 154 - ...ws-customerprofiles-objecttype_fieldmap.go | 42 - .../aws-customerprofiles-objecttype_keymap.go | 42 - ...omerprofiles-objecttype_objecttypefield.go | 47 - ...stomerprofiles-objecttype_objecttypekey.go | 42 - .../databrew/aws-databrew-dataset.go | 134 - .../aws-databrew-dataset_csvoptions.go | 42 - ...atabrew-dataset_databaseinputdefinition.go | 52 - ...brew-dataset_datacataloginputdefinition.go | 52 - .../aws-databrew-dataset_datasetparameter.go | 57 - .../aws-databrew-dataset_datetimeoptions.go | 47 - .../aws-databrew-dataset_exceloptions.go | 47 - .../aws-databrew-dataset_fileslimit.go | 47 - .../aws-databrew-dataset_filterexpression.go | 42 - .../aws-databrew-dataset_filtervalue.go | 42 - .../aws-databrew-dataset_formatoptions.go | 45 - .../databrew/aws-databrew-dataset_input.go | 50 - .../aws-databrew-dataset_jsonoptions.go | 37 - .../databrew/aws-databrew-dataset_metadata.go | 37 - .../aws-databrew-dataset_pathoptions.go | 45 - .../aws-databrew-dataset_pathparameter.go | 42 - .../aws-databrew-dataset_s3location.go | 42 - .../databrew/aws-databrew-job.go | 204 - .../aws-databrew-job_columnselector.go | 42 - ...abrew-job_columnstatisticsconfiguration.go | 40 - .../aws-databrew-job_csvoutputoptions.go | 37 - .../aws-databrew-job_databaseoutput.go | 47 - ...databrew-job_databasetableoutputoptions.go | 42 - .../aws-databrew-job_datacatalogoutput.go | 62 - ...atabrew-job_entitydetectorconfiguration.go | 42 - .../databrew/aws-databrew-job_jobsample.go | 42 - .../databrew/aws-databrew-job_output.go | 62 - .../aws-databrew-job_outputformatoptions.go | 35 - .../aws-databrew-job_outputlocation.go | 42 - .../databrew/aws-databrew-job_parametermap.go | 30 - .../aws-databrew-job_profileconfiguration.go | 50 - .../databrew/aws-databrew-job_recipe.go | 42 - .../databrew/aws-databrew-job_s3location.go | 42 - .../aws-databrew-job_s3tableoutputoptions.go | 35 - .../aws-databrew-job_statisticoverride.go | 42 - ...ws-databrew-job_statisticsconfiguration.go | 42 - ...ws-databrew-job_validationconfiguration.go | 42 - .../databrew/aws-databrew-project.go | 134 - .../databrew/aws-databrew-project_sample.go | 42 - .../databrew/aws-databrew-recipe.go | 124 - ...aws-databrew-recipe_conditionexpression.go | 47 - ...abrew-recipe_datacataloginputdefinition.go | 52 - .../aws-databrew-recipe_parametermap.go | 30 - .../aws-databrew-recipe_recipeparameters.go | 537 - .../aws-databrew-recipe_recipestep.go | 40 - .../aws-databrew-recipe_s3location.go | 42 - .../aws-databrew-recipe_secondaryinput.go | 40 - .../databrew/aws-databrew-ruleset.go | 129 - .../aws-databrew-ruleset_columnselector.go | 42 - .../databrew/aws-databrew-ruleset_rule.go | 62 - .../aws-databrew-ruleset_substitutionvalue.go | 42 - .../databrew/aws-databrew-schedule.go | 124 - .../datapipeline/aws-datapipeline-pipeline.go | 138 - .../aws-datapipeline-pipeline_field.go | 47 - ...atapipeline-pipeline_parameterattribute.go | 42 - ...ws-datapipeline-pipeline_parametervalue.go | 42 - ...ws-datapipeline-pipeline_pipelineobject.go | 47 - .../aws-datapipeline-pipeline_pipelinetag.go | 42 - .../datasync/aws-datasync-agent.go | 134 - .../datasync/aws-datasync-locationefs.go | 124 - .../aws-datasync-locationefs_ec2config.go | 42 - .../aws-datasync-locationfsxwindows.go | 139 - .../datasync/aws-datasync-locationhdfs.go | 169 - ...-datasync-locationhdfs_qopconfiguration.go | 42 - .../datasync/aws-datasync-locationnfs.go | 129 - .../aws-datasync-locationobjectstorage.go | 149 - .../datasync/aws-datasync-locations3.go | 129 - .../aws-datasync-locations3_s3config.go | 37 - .../datasync/aws-datasync-locationsmb.go | 144 - .../aws-datasync-locationsmb_mountoptions.go | 37 - .../datasync/aws-datasync-task.go | 149 - .../datasync/aws-datasync-task_filterrule.go | 42 - .../datasync/aws-datasync-task_options.go | 102 - .../aws-datasync-task_taskschedule.go | 37 - .../cloudformation/dax/aws-dax-cluster.go | 173 - .../dax/aws-dax-cluster_ssespecification.go | 37 - .../dax/aws-dax-parametergroup.go | 118 - .../cloudformation/dax/aws-dax-subnetgroup.go | 118 - .../detective/aws-detective-graph.go | 107 - .../aws-detective-memberinvitation.go | 128 - .../aws-devopsguru-notificationchannel.go | 106 - ...cationchannel_notificationchannelconfig.go | 35 - ...ru-notificationchannel_snschannelconfig.go | 37 - .../aws-devopsguru-resourcecollection.go | 106 - ...llection_cloudformationcollectionfilter.go | 37 - ...urcecollection_resourcecollectionfilter.go | 35 - .../aws-directoryservice-microsoftad.go | 138 - ...irectoryservice-microsoftad_vpcsettings.go | 42 - .../aws-directoryservice-simplead.go | 143 - ...s-directoryservice-simplead_vpcsettings.go | 42 - .../dlm/aws-dlm-lifecyclepolicy.go | 129 - .../dlm/aws-dlm-lifecyclepolicy_action.go | 42 - .../dlm/aws-dlm-lifecyclepolicy_createrule.go | 57 - ...m-lifecyclepolicy_crossregioncopyaction.go | 47 - ...yclepolicy_crossregioncopydeprecaterule.go | 42 - ...fecyclepolicy_crossregioncopyretainrule.go | 42 - ...dlm-lifecyclepolicy_crossregioncopyrule.go | 67 - .../aws-dlm-lifecyclepolicy_deprecaterule.go | 47 - ...lifecyclepolicy_encryptionconfiguration.go | 42 - ...aws-dlm-lifecyclepolicy_eventparameters.go | 47 - ...aws-dlm-lifecyclepolicy_fastrestorerule.go | 52 - .../dlm/aws-dlm-lifecyclepolicy_parameters.go | 42 - .../aws-dlm-lifecyclepolicy_policydetails.go | 73 - .../dlm/aws-dlm-lifecyclepolicy_retainrule.go | 47 - .../dlm/aws-dlm-lifecyclepolicy_schedule.go | 83 - .../dlm/aws-dlm-lifecyclepolicy_sharerule.go | 47 - .../cloudformation/dms/aws-dms-certificate.go | 118 - .../cloudformation/dms/aws-dms-endpoint.go | 254 - .../dms/aws-dms-endpoint_docdbsettings.go | 42 - .../dms/aws-dms-endpoint_dynamodbsettings.go | 37 - .../aws-dms-endpoint_elasticsearchsettings.go | 52 - .../dms/aws-dms-endpoint_ibmdb2settings.go | 42 - .../dms/aws-dms-endpoint_kafkasettings.go | 107 - .../dms/aws-dms-endpoint_kinesissettings.go | 77 - ...dms-endpoint_microsoftsqlserversettings.go | 42 - .../dms/aws-dms-endpoint_mongodbsettings.go | 97 - .../dms/aws-dms-endpoint_mysqlsettings.go | 42 - .../dms/aws-dms-endpoint_neptunesettings.go | 67 - .../dms/aws-dms-endpoint_oraclesettings.go | 52 - .../aws-dms-endpoint_postgresqlsettings.go | 42 - .../dms/aws-dms-endpoint_redissettings.go | 67 - .../dms/aws-dms-endpoint_redshiftsettings.go | 42 - .../dms/aws-dms-endpoint_s3settings.go | 67 - .../dms/aws-dms-endpoint_sybasesettings.go | 42 - .../dms/aws-dms-eventsubscription.go | 139 - .../dms/aws-dms-replicationinstance.go | 179 - .../dms/aws-dms-replicationsubnetgroup.go | 124 - .../dms/aws-dms-replicationtask.go | 169 - .../docdb/aws-docdb-dbcluster.go | 194 - .../aws-docdb-dbclusterparametergroup.go | 129 - .../docdb/aws-docdb-dbsubnetgroup.go | 124 - .../dynamodb/aws-dynamodb-globaltable.go | 158 - ...ynamodb-globaltable_attributedefinition.go | 42 - ...globaltable_capacityautoscalingsettings.go | 52 - ...ltable_contributorinsightsspecification.go | 37 - ...namodb-globaltable_globalsecondaryindex.go | 52 - .../aws-dynamodb-globaltable_keyschema.go | 42 - ...ynamodb-globaltable_localsecondaryindex.go | 47 - ...ltable_pointintimerecoveryspecification.go | 37 - .../aws-dynamodb-globaltable_projection.go | 42 - ...table_readprovisionedthroughputsettings.go | 42 - ...eplicaglobalsecondaryindexspecification.go | 47 - ...namodb-globaltable_replicaspecification.go | 68 - ...odb-globaltable_replicassespecification.go | 37 - ...s-dynamodb-globaltable_ssespecification.go | 42 - ...ynamodb-globaltable_streamspecification.go | 37 - ...argettrackingscalingpolicyconfiguration.go | 52 - ...odb-globaltable_timetolivespecification.go | 42 - ...able_writeprovisionedthroughputsettings.go | 35 - .../dynamodb/aws-dynamodb-table.go | 179 - .../aws-dynamodb-table_attributedefinition.go | 42 - ...-table_contributorinsightsspecification.go | 37 - ...aws-dynamodb-table_globalsecondaryindex.go | 57 - .../dynamodb/aws-dynamodb-table_keyschema.go | 42 - ...namodb-table_kinesisstreamspecification.go | 37 - .../aws-dynamodb-table_localsecondaryindex.go | 47 - ...-table_pointintimerecoveryspecification.go | 37 - .../dynamodb/aws-dynamodb-table_projection.go | 42 - ...ws-dynamodb-table_provisionedthroughput.go | 42 - .../aws-dynamodb-table_ssespecification.go | 47 - .../aws-dynamodb-table_streamspecification.go | 37 - ...-dynamodb-table_timetolivespecification.go | 42 - .../ec2/aws-ec2-capacityreservation.go | 12 +- .../ec2/aws-ec2-clientvpnendpoint.go | 15 + ...ntvpnendpoint_clientloginbanneroptions.go} | 25 +- .../ec2/aws-ec2-customergateway.go | 29 +- .../cloudformation/ec2/aws-ec2-dhcpoptions.go | 5 + ...leet_baselineperformancefactorsrequest.go} | 20 +- ...2-ec2fleet_cpuperformancefactorrequest.go} | 18 +- ...fleetlaunchtemplatespecificationrequest.go | 2 +- ...c2-ec2fleet_instancerequirementsrequest.go | 20 + ...2-ec2fleet_networkbandwidthgbpsrequest.go} | 26 +- ...leet_performancefactorreferencerequest.go} | 18 +- .../cloudformation/ec2/aws-ec2-eip.go | 30 +- .../ec2/aws-ec2-eipassociation.go | 15 +- .../cloudformation/ec2/aws-ec2-flowlog.go | 12 +- .../aws-ec2-flowlog_destinationoptions.go} | 32 +- .../cloudformation/ec2/aws-ec2-host.go | 22 +- .../cloudformation/ec2/aws-ec2-instance.go | 85 +- .../aws-ec2-instance_associationparameter.go | 6 +- .../aws-ec2-instance_blockdevicemapping.go | 12 +- .../ec2/aws-ec2-instance_ebs.go | 16 +- .../ec2/aws-ec2-instance_networkinterface.go | 31 +- .../ec2/aws-ec2-instance_nodevice.go | 30 - ...aws-ec2-instance_privatednsnameoptions.go} | 30 +- ...-instance_privateipaddressspecification.go | 6 +- .../ec2/aws-ec2-instance_ssmassociation.go | 6 +- .../aws-ec2-instance_state.go} | 12 +- .../ec2/aws-ec2-instance_volume.go | 6 +- .../aws-ec2-instanceconnectendpoint.go} | 52 +- .../cloudformation/ec2/aws-ec2-ipam.go | 15 + ...2-ipam_ipamorganizationalunitexclusion.go} | 18 +- .../cloudformation/ec2/aws-ec2-ipampool.go | 15 + .../aws-ec2-ipampool_sourceresource.go} | 36 +- .../aws-ec2-ipampoolcidr.go} | 41 +- .../aws-ec2-ipamresourcediscovery.go} | 46 +- ...mresourcediscovery_ipamoperatingregion.go} | 18 +- ...cediscoveryorganizationalunitexclusion.go} | 23 +- ...s-ec2-ipamresourcediscoveryassociation.go} | 36 +- .../cloudformation/ec2/aws-ec2-ipamscope.go | 5 - .../aws-ec2-keypair.go} | 52 +- .../ec2/aws-ec2-launchtemplate.go | 7 +- ...nchtemplate_baselineperformancefactors.go} | 17 +- ...mplate_capacityreservationspecification.go | 6 +- ...mplate_connectiontrackingspecification.go} | 30 +- .../aws-ec2-launchtemplate_cpu.go} | 18 +- .../ec2/aws-ec2-launchtemplate_cpuoptions.go | 11 +- ...-ec2-launchtemplate_creditspecification.go | 4 +- .../ec2/aws-ec2-launchtemplate_ebs.go | 18 +- ...ec2-launchtemplate_enasrdspecification.go} | 24 +- ...-launchtemplate_enasrdudpspecification.go} | 18 +- .../aws-ec2-launchtemplate_enclaveoptions.go | 4 +- ...s-ec2-launchtemplate_hibernationoptions.go | 4 +- ...s-ec2-launchtemplate_iaminstanceprofile.go | 6 +- ...c2-launchtemplate_instancemarketoptions.go | 6 +- ...ec2-launchtemplate_instancerequirements.go | 157 + ...launchtemplate_ipv4prefixspecification.go} | 18 +- ...launchtemplate_ipv6prefixspecification.go} | 18 +- ...s-ec2-launchtemplate_launchtemplatedata.go | 25 + ...-ec2-launchtemplate_maintenanceoptions.go} | 18 +- .../aws-ec2-launchtemplate_metadataoptions.go | 15 +- .../ec2/aws-ec2-launchtemplate_monitoring.go | 4 +- ...c2-launchtemplate_networkbandwidthgbps.go} | 24 +- ...aws-ec2-launchtemplate_networkinterface.go | 35 + .../ec2/aws-ec2-launchtemplate_placement.go | 23 +- ...2-launchtemplate_privatednsnameoptions.go} | 30 +- .../aws-ec2-launchtemplate_reference.go} | 18 +- .../ec2/aws-ec2-launchtemplate_spotoptions.go | 12 +- .../ec2/aws-ec2-localgatewayroute.go | 7 +- .../aws-ec2-localgatewayroutetable.go} | 45 +- ...etablevirtualinterfacegroupassociation.go} | 46 +- .../cloudformation/ec2/aws-ec2-natgateway.go | 25 + .../aws-ec2-networkinsightsaccessscope.go} | 38 +- ...ghtsaccessscope_accessscopepathrequest.go} | 32 +- ...ccessscope_packetheaderstatementrequest.go | 67 + ...sightsaccessscope_pathstatementrequest.go} | 28 +- ...tsaccessscope_resourcestatementrequest.go} | 24 +- ...scope_throughresourcesstatementrequest.go} | 17 +- ...ec2-networkinsightsaccessscopeanalysis.go} | 35 +- .../ec2/aws-ec2-networkinsightsanalysis.go | 5 + ...tworkinsightsanalysis_additionaldetail.go} | 36 +- ...nsightsanalysis_analysisroutetableroute.go | 5 + ...ec2-networkinsightsanalysis_explanation.go | 30 + ...2-networkinsightsanalysis_pathcomponent.go | 30 + ...sanalysis_transitgatewayroutetableroute.go | 67 + .../ec2/aws-ec2-networkinsightspath.go | 12 +- ...c2-networkinsightspath_filterportrange.go} | 24 +- ...aws-ec2-networkinsightspath_pathfilter.go} | 35 +- .../ec2/aws-ec2-networkinterface.go | 25 + ...erface_connectiontrackingspecification.go} | 32 +- ...tworkinterface_ipv4prefixspecification.go} | 18 +- ...tworkinterface_ipv6prefixspecification.go} | 18 +- .../ec2/aws-ec2-networkinterfaceattachment.go | 15 +- ...nterfaceattachment_enasrdspecification.go} | 24 +- ...rfaceattachment_enasrdudpspecification.go} | 18 +- ...2-networkperformancemetricsubscription.go} | 53 +- .../ec2/aws-ec2-placementgroup.go | 16 + .../cloudformation/ec2/aws-ec2-prefixlist.go | 4 +- .../cloudformation/ec2/aws-ec2-route.go | 10 + .../ec2/aws-ec2-securitygroup.go | 14 +- .../ec2/aws-ec2-securitygroup_egress.go | 18 +- .../ec2/aws-ec2-securitygroup_ingress.go | 22 +- .../ec2/aws-ec2-securitygroupegress.go | 20 +- .../ec2/aws-ec2-securitygroupingress.go | 26 +- .../aws-ec2-securitygroupvpcassociation.go} | 34 +- .../aws-ec2-snapshotblockpublicaccess.go} | 28 +- ...leet_baselineperformancefactorsrequest.go} | 20 +- ...-spotfleet_cpuperformancefactorrequest.go} | 18 +- ...2-spotfleet_instancerequirementsrequest.go | 20 + ...s-ec2-spotfleet_launchtemplateoverrides.go | 5 + ...-spotfleet_networkbandwidthgbpsrequest.go} | 24 +- ...leet_performancefactorreferencerequest.go} | 18 +- ...c2-spotfleet_spotfleetrequestconfigdata.go | 5 + .../cloudformation/ec2/aws-ec2-subnet.go | 25 + .../ec2/aws-ec2-subnetcidrblock.go | 12 +- .../aws-ec2-subnetnetworkaclassociation.go | 6 +- .../ec2/aws-ec2-trafficmirrorfilterrule.go | 6 + .../ec2/aws-ec2-trafficmirrortarget.go | 5 + .../ec2/aws-ec2-transitgateway.go | 5 + .../ec2/aws-ec2-transitgatewayattachment.go | 5 + ...s-ec2-transitgatewayattachment_options.go} | 36 +- .../aws-ec2-transitgatewaymulticastdomain.go | 2 +- ...-transitgatewaymulticastdomain_options.go} | 30 +- ...aws-ec2-transitgatewaypeeringattachment.go | 5 - ...ringattachment_peeringattachmentstatus.go} | 24 +- ..._transitgatewaypeeringattachmentoptions.go | 37 - .../ec2/aws-ec2-transitgatewayroute.go | 2 +- .../aws-ec2-transitgatewayvpcattachment.go | 8 +- ...c2-transitgatewayvpcattachment_options.go} | 36 +- .../aws-ec2-verifiedaccessendpoint.go} | 115 +- ...ec2-verifiedaccessendpoint_cidroptions.go} | 36 +- ...fiedaccessendpoint_loadbalanceroptions.go} | 42 +- ...accessendpoint_networkinterfaceoptions.go} | 36 +- ...s-ec2-verifiedaccessendpoint_portrange.go} | 24 +- ...s-ec2-verifiedaccessendpoint_rdsoptions.go | 67 + ...erifiedaccessendpoint_ssespecification.go} | 20 +- .../aws-ec2-verifiedaccessgroup.go} | 56 +- ...2-verifiedaccessgroup_ssespecification.go} | 24 +- .../aws-ec2-verifiedaccessinstance.go} | 65 +- ...-verifiedaccessinstance_cloudwatchlogs.go} | 20 +- ...fiedaccessinstance_kinesisdatafirehose.go} | 20 +- .../aws-ec2-verifiedaccessinstance_s3.go} | 34 +- ...rifiedaccessinstance_verifiedaccesslogs.go | 57 + ...essinstance_verifiedaccesstrustprovider.go | 57 + .../aws-ec2-verifiedaccesstrustprovider.go} | 94 +- ...ifiedaccesstrustprovider_deviceoptions.go} | 24 +- ...stprovider_nativeapplicationoidcoptions.go | 72 + ...verifiedaccesstrustprovider_oidcoptions.go | 67 + ...edaccesstrustprovider_ssespecification.go} | 20 +- .../cloudformation/ec2/aws-ec2-volume.go | 26 +- .../ec2/aws-ec2-volumeattachment.go | 10 +- .../cloudformation/ec2/aws-ec2-vpc.go | 22 +- .../aws-ec2-vpcblockpublicaccessexclusion.go} | 46 +- .../aws-ec2-vpcblockpublicaccessoptions.go} | 30 +- .../ec2/aws-ec2-vpccidrblock.go | 25 + .../cloudformation/ec2/aws-ec2-vpcendpoint.go | 28 +- ...c2-vpcendpoint_dnsoptionsspecification.go} | 28 +- .../ec2/aws-ec2-vpcendpointservice.go | 16 + .../ec2/aws-ec2-vpcgatewayattachment.go | 8 +- .../ec2/aws-ec2-vpnconnection.go | 56 +- ...tion_cloudwatchlogoptionsspecification.go} | 30 +- ...connection_ikeversionsrequestlistvalue.go} | 14 +- ...n_phase1dhgroupnumbersrequestlistvalue.go} | 19 +- ...e1encryptionalgorithmsrequestlistvalue.go} | 19 +- ...se1integrityalgorithmsrequestlistvalue.go} | 19 +- ...n_phase2dhgroupnumbersrequestlistvalue.go} | 19 +- ...se2encryptionalgorithmsrequestlistvalue.go | 37 + ...se2integrityalgorithmsrequestlistvalue.go} | 19 +- ...ction_vpntunnellogoptionsspecification.go} | 20 +- ...onnection_vpntunneloptionsspecification.go | 90 + .../ec2/aws-ec2-vpnconnectionroute.go | 6 +- .../cloudformation/ec2/aws-ec2-vpngateway.go | 8 +- .../ec2/aws-ec2-vpngatewayroutepropagation.go | 6 +- .../ecr/aws-ecr-publicrepository.go | 2 +- ...-publicrepository_repositorycatalogdata.go | 57 + .../aws-ecr-pullthroughcacherule.go} | 46 +- .../cloudformation/ecr/aws-ecr-repository.go | 5 + .../aws-ecr-repositorycreationtemplate.go} | 83 +- ...eationtemplate_encryptionconfiguration.go} | 20 +- .../ecs/aws-ecs-capacityprovider.go | 119 - ...pacityprovider_autoscalinggroupprovider.go | 47 - ...aws-ecs-capacityprovider_managedscaling.go | 57 - .../cloudformation/ecs/aws-ecs-cluster.go | 134 - ...cs-cluster_capacityproviderstrategyitem.go | 47 - .../aws-ecs-cluster_clusterconfiguration.go | 35 - .../ecs/aws-ecs-cluster_clustersettings.go | 42 - ...ecs-cluster_executecommandconfiguration.go | 47 - ...-cluster_executecommandlogconfiguration.go | 57 - ...ecs-clustercapacityproviderassociations.go | 118 - ...erassociations_capacityproviderstrategy.go | 47 - .../ecs/aws-ecs-primarytaskset.go | 118 - .../cloudformation/ecs/aws-ecs-service.go | 209 - .../aws-ecs-service_awsvpcconfiguration.go | 47 - ...cs-service_capacityproviderstrategyitem.go | 47 - ...ws-ecs-service_deploymentcircuitbreaker.go | 42 - ...aws-ecs-service_deploymentconfiguration.go | 47 - .../ecs/aws-ecs-service_loadbalancer.go | 52 - .../aws-ecs-service_networkconfiguration.go | 35 - .../aws-ecs-service_placementconstraint.go | 42 - .../ecs/aws-ecs-service_serviceregistry.go | 52 - .../ecs/aws-ecs-taskdefinition.go | 189 - ...-ecs-taskdefinition_authorizationconfig.go | 42 - ...-ecs-taskdefinition_containerdefinition.go | 227 - ...-ecs-taskdefinition_containerdependency.go | 42 - .../ecs/aws-ecs-taskdefinition_device.go | 47 - ...askdefinition_dockervolumeconfiguration.go | 57 - ...s-taskdefinition_efsvolumeconfiguration.go | 57 - .../aws-ecs-taskdefinition_environmentfile.go | 42 - ...aws-ecs-taskdefinition_ephemeralstorage.go | 37 - ...cs-taskdefinition_firelensconfiguration.go | 42 - .../ecs/aws-ecs-taskdefinition_healthcheck.go | 57 - .../ecs/aws-ecs-taskdefinition_hostentry.go | 42 - ...ecs-taskdefinition_hostvolumeproperties.go | 37 - ...ecs-taskdefinition_inferenceaccelerator.go | 42 - ...s-ecs-taskdefinition_kernelcapabilities.go | 42 - .../aws-ecs-taskdefinition_keyvaluepair.go | 42 - .../aws-ecs-taskdefinition_linuxparameters.go | 67 - ...aws-ecs-taskdefinition_logconfiguration.go | 47 - .../ecs/aws-ecs-taskdefinition_mountpoint.go | 47 - .../ecs/aws-ecs-taskdefinition_portmapping.go | 47 - ...s-ecs-taskdefinition_proxyconfiguration.go | 47 - ...cs-taskdefinition_repositorycredentials.go | 37 - ...-ecs-taskdefinition_resourcerequirement.go | 42 - .../aws-ecs-taskdefinition_runtimeplatform.go | 42 - .../ecs/aws-ecs-taskdefinition_secret.go | 42 - ...ition_taskdefinitionplacementconstraint.go | 42 - .../ecs/aws-ecs-taskdefinition_tmpfs.go | 47 - .../ecs/aws-ecs-taskdefinition_ulimit.go | 47 - .../ecs/aws-ecs-taskdefinition_volumefrom.go | 42 - .../cloudformation/ecs/aws-ecs-taskset.go | 153 - .../aws-ecs-taskset_awsvpcconfiguration.go | 47 - .../aws-ecs-taskset_networkconfiguration.go | 35 - .../cloudformation/efs/aws-efs-accesspoint.go | 128 - .../efs/aws-efs-accesspoint_creationinfo.go | 47 - .../efs/aws-efs-accesspoint_posixuser.go | 47 - .../efs/aws-efs-accesspoint_rootdirectory.go | 42 - .../cloudformation/efs/aws-efs-filesystem.go | 158 - ...aws-efs-filesystem_elasticfilesystemtag.go | 42 - .../efs/aws-efs-filesystem_lifecyclepolicy.go | 42 - .../cloudformation/efs/aws-efs-mounttarget.go | 123 - .../eks/aws-eks-access-config.go | 21 - .../eks/aws-eks-access-entry_access_scope.go | 20 - ...access-entry.go => aws-eks-accessentry.go} | 30 +- ...go => aws-eks-accessentry_accesspolicy.go} | 11 +- .../aws-eks-accessentry_accessscope.go} | 20 +- .../cloudformation/eks/aws-eks-addon.go | 15 + .../aws-eks-addon_podidentityassociation.go} | 24 +- .../cloudformation/eks/aws-eks-cluster.go | 44 +- .../aws-eks-cluster_accessconfig.go} | 24 +- .../aws-eks-cluster_blockstorage.go} | 18 +- .../eks/aws-eks-cluster_compute_config.go | 37 - .../aws-eks-cluster_computeconfig.go} | 25 +- ...> aws-eks-cluster_elasticloadbalancing.go} | 6 + ...aws-eks-cluster_kubernetesnetworkconfig.go | 7 +- .../aws-eks-cluster_remotenetworkconfig.go} | 28 +- .../eks/aws-eks-cluster_remotenetworks.go | 17 - .../aws-eks-cluster_remotenodenetwork.go} | 18 +- .../aws-eks-cluster_remotepodnetwork.go} | 18 +- .../eks/aws-eks-cluster_storage_config.go | 55 - .../aws-eks-cluster_storageconfig.go} | 18 +- .../aws-eks-cluster_upgradepolicy.go} | 18 +- .../eks/aws-eks-cluster_zonal-shift.go | 31 - .../aws-eks-cluster_zonalshiftconfig.go} | 14 +- .../cloudformation/eks/aws-eks-nodegroup.go | 4 +- .../eks/aws-eks-nodegroup_noderepairconfig.go | 5 + .../eks/aws-eks-nodegroup_taints.go | 12 - .../eks/aws-eks-nodegroup_updateconfig.go | 5 + .../aws-eks-podidentityassociation.go} | 48 +- .../aws-elasticache-cachecluster.go | 214 - ...luster_cloudwatchlogsdestinationdetails.go | 37 - ...ticache-cachecluster_destinationdetails.go | 40 - ...uster_kinesisfirehosedestinationdetails.go | 37 - ...cluster_logdeliveryconfigurationrequest.go | 52 - .../aws-elasticache-globalreplicationgroup.go | 148 - ...ationgroup_globalreplicationgroupmember.go | 47 - ...lreplicationgroup_regionalconfiguration.go | 47 - ...eplicationgroup_reshardingconfiguration.go | 42 - .../aws-elasticache-parametergroup.go | 124 - .../aws-elasticache-replicationgroup.go | 279 - ...ngroup_cloudwatchlogsdestinationdetails.go | 37 - ...che-replicationgroup_destinationdetails.go | 40 - ...group_kinesisfirehosedestinationdetails.go | 37 - ...ongroup_logdeliveryconfigurationrequest.go | 52 - ...replicationgroup_nodegroupconfiguration.go | 57 - .../aws-elasticache-securitygroup.go | 114 - .../aws-elasticache-securitygroupingress.go | 118 - .../aws-elasticache-subnetgroup.go | 124 - .../elasticache/aws-elasticache-user.go | 133 - .../elasticache/aws-elasticache-usergroup.go | 118 - .../aws-elasticbeanstalk-application.go | 118 - ...tion_applicationresourcelifecycleconfig.go | 42 - ...ation_applicationversionlifecycleconfig.go | 40 - ...elasticbeanstalk-application_maxagerule.go | 47 - ...aws-elasticbeanstalk-applicationversion.go | 118 - ...-elasticbeanstalk-configurationtemplate.go | 138 - ...tiontemplate_configurationoptionsetting.go | 52 - ...nfigurationtemplate_sourceconfiguration.go | 42 - .../aws-elasticbeanstalk-environment.go | 164 - ...sticbeanstalk-environment_optionsetting.go | 52 - .../aws-elasticbeanstalk-environment_tier.go | 47 - .../aws-elasticloadbalancingv2-listener.go | 10 + ...ncingv2-listener_authenticateoidcconfig.go | 7 +- ...balancingv2-listener_listenerattribute.go} | 16 +- ...lancingv2-listener_mutualauthentication.go | 52 + ...aws-elasticloadbalancingv2-listenerrule.go | 2 +- ...gv2-listenerrule_authenticateoidcconfig.go | 2 +- ...aws-elasticloadbalancingv2-loadbalancer.go | 15 + ...ngv2-loadbalancer_loadbalancerattribute.go | 6 +- ...adbalancer_minimumloadbalancercapacity.go} | 18 +- ...dbalancingv2-loadbalancer_subnetmapping.go | 5 + .../aws-elasticloadbalancingv2-truststore.go} | 53 +- ...icloadbalancingv2-truststorerevocation.go} | 39 +- ...truststorerevocation_revocationcontent.go} | 31 +- ...uststorerevocation_truststorerevocation.go | 52 + .../elasticsearch/aws-elasticsearch-domain.go | 179 - ...rch-domain_advancedsecurityoptionsinput.go | 47 - ...aws-elasticsearch-domain_cognitooptions.go | 52 - ...sticsearch-domain_domainendpointoptions.go | 57 - .../aws-elasticsearch-domain_ebsoptions.go | 52 - ...earch-domain_elasticsearchclusterconfig.go | 87 - ...lasticsearch-domain_logpublishingoption.go | 42 - ...arch-domain_nodetonodeencryptionoptions.go | 37 - ...ws-elasticsearch-domain_snapshotoptions.go | 37 - .../aws-elasticsearch-domain_vpcoptions.go | 42 - ...lasticsearch-domain_zoneawarenessconfig.go | 37 - .../cloudformation/emr/aws-emr-cluster.go | 214 - .../emr/aws-emr-cluster_application.go | 52 - .../emr/aws-emr-cluster_autoscalingpolicy.go | 40 - .../aws-emr-cluster_bootstrapactionconfig.go | 42 - ...s-emr-cluster_cloudwatchalarmdefinition.go | 77 - .../emr/aws-emr-cluster_computelimits.go | 57 - .../emr/aws-emr-cluster_configuration.go | 47 - .../aws-emr-cluster_ebsblockdeviceconfig.go | 42 - .../emr/aws-emr-cluster_ebsconfiguration.go | 42 - .../aws-emr-cluster_hadoopjarstepconfig.go | 52 - .../aws-emr-cluster_instancefleetconfig.go | 57 - ...instancefleetprovisioningspecifications.go | 40 - .../aws-emr-cluster_instancegroupconfig.go | 77 - .../emr/aws-emr-cluster_instancetypeconfig.go | 67 - .../aws-emr-cluster_jobflowinstancesconfig.go | 112 - .../emr/aws-emr-cluster_kerberosattributes.go | 57 - .../emr/aws-emr-cluster_keyvalue.go | 42 - .../aws-emr-cluster_managedscalingpolicy.go | 35 - .../emr/aws-emr-cluster_metricdimension.go | 42 - ...uster_ondemandprovisioningspecification.go | 37 - .../emr/aws-emr-cluster_placementtype.go | 37 - .../emr/aws-emr-cluster_scalingaction.go | 42 - .../emr/aws-emr-cluster_scalingconstraints.go | 42 - .../emr/aws-emr-cluster_scalingrule.go | 52 - .../emr/aws-emr-cluster_scalingtrigger.go | 35 - ...emr-cluster_scriptbootstrapactionconfig.go | 42 - ...luster_simplescalingpolicyconfiguration.go | 47 - ...r-cluster_spotprovisioningspecification.go | 52 - .../emr/aws-emr-cluster_stepconfig.go | 47 - .../aws-emr-cluster_volumespecification.go | 47 - .../emr/aws-emr-instancefleetconfig.go | 138 - ...s-emr-instancefleetconfig_configuration.go | 47 - ...nstancefleetconfig_ebsblockdeviceconfig.go | 42 - ...mr-instancefleetconfig_ebsconfiguration.go | 42 - ...instancefleetprovisioningspecifications.go | 40 - ...-instancefleetconfig_instancetypeconfig.go | 67 - ...onfig_ondemandprovisioningspecification.go | 37 - ...eetconfig_spotprovisioningspecification.go | 52 - ...instancefleetconfig_volumespecification.go | 47 - .../emr/aws-emr-instancegroupconfig.go | 158 - ...r-instancegroupconfig_autoscalingpolicy.go | 40 - ...cegroupconfig_cloudwatchalarmdefinition.go | 77 - ...s-emr-instancegroupconfig_configuration.go | 47 - ...nstancegroupconfig_ebsblockdeviceconfig.go | 42 - ...mr-instancegroupconfig_ebsconfiguration.go | 42 - ...emr-instancegroupconfig_metricdimension.go | 42 - ...s-emr-instancegroupconfig_scalingaction.go | 42 - ...-instancegroupconfig_scalingconstraints.go | 42 - ...aws-emr-instancegroupconfig_scalingrule.go | 52 - ...-emr-instancegroupconfig_scalingtrigger.go | 35 - ...config_simplescalingpolicyconfiguration.go | 47 - ...instancegroupconfig_volumespecification.go | 47 - .../emr/aws-emr-securityconfiguration.go | 113 - .../cloudformation/emr/aws-emr-step.go | 123 - .../emr/aws-emr-step_hadoopjarstepconfig.go | 52 - .../emr/aws-emr-step_keyvalue.go | 42 - .../cloudformation/emr/aws-emr-studio.go | 169 - .../emr/aws-emr-studiosessionmapping.go | 123 - .../aws-emrcontainers-virtualcluster.go | 119 - ...containers-virtualcluster_containerinfo.go | 35 - ...ainers-virtualcluster_containerprovider.go | 47 - ...ws-emrcontainers-virtualcluster_eksinfo.go | 37 - .../events/aws-events-connection.go | 11 +- ...events-connection_apikeyauthparameters.go} | 24 +- .../aws-events-connection_authparameters.go | 55 + ...-events-connection_basicauthparameters.go} | 16 +- ...aws-events-connection_clientparameters.go} | 24 +- ...ts-connection_connectionhttpparameters.go} | 36 +- ...ents-connection_connectivityparameters.go} | 18 +- ...ction_invocationconnectivityparameters.go} | 20 +- .../aws-events-connection_oauthparameters.go} | 40 +- .../aws-events-connection_parameter.go} | 26 +- ...s-events-connection_resourceparameters.go} | 26 +- .../aws-events-endpoint.go} | 60 +- .../aws-events-endpoint_endpointeventbus.go} | 18 +- .../aws-events-endpoint_failoverconfig.go} | 26 +- .../aws-events-endpoint_primary.go} | 18 +- .../aws-events-endpoint_replicationconfig.go} | 18 +- .../aws-events-endpoint_routingconfig.go} | 18 +- .../aws-events-endpoint_secondary.go} | 18 +- .../events/aws-events-eventbus.go | 26 + .../aws-events-eventbus_deadletterconfig.go} | 14 +- .../aws-events-rule_appsyncparameters.go} | 18 +- .../aws-events-rule_redshiftdataparameters.go | 7 +- ...events-rule_sagemakerpipelineparameter.go} | 16 +- ...vents-rule_sagemakerpipelineparameters.go} | 18 +- .../events/aws-events-rule_tag.go | 42 - .../events/aws-events-rule_target.go | 10 + .../aws-eventschemas-discoverer.go | 123 - .../aws-eventschemas-discoverer_tagsentry.go | 42 - .../eventschemas/aws-eventschemas-registry.go | 118 - .../aws-eventschemas-registry_tagsentry.go | 42 - .../aws-eventschemas-registrypolicy.go | 118 - .../eventschemas/aws-eventschemas-schema.go | 133 - .../aws-eventschemas-schema_tagsentry.go | 42 - .../evidently/aws-evidently-experiment.go | 149 - ...s-evidently-experiment_metricgoalobject.go | 62 - ...idently-experiment_onlineabconfigobject.go | 42 - ...-evidently-experiment_treatmenttoweight.go | 42 - .../evidently/aws-evidently-feature.go | 144 - .../aws-evidently-feature_entityoverride.go | 42 - .../aws-evidently-feature_variationobject.go | 57 - .../evidently/aws-evidently-launch.go | 144 - .../aws-evidently-launch_grouptoweight.go | 42 - .../aws-evidently-launch_launchgroupobject.go | 52 - ...evidently-launch_metricdefinitionobject.go | 57 - .../aws-evidently-launch_stepconfig.go | 42 - .../evidently/aws-evidently-project.go | 124 - ...ws-evidently-project_datadeliveryobject.go | 42 - .../aws-evidently-project_s3destination.go | 42 - .../finspace/aws-finspace-environment.go | 138 - ...nspace-environment_federationparameters.go | 62 - ...inspace-environment_superuserparameters.go | 47 - .../fis/aws-fis-experimenttemplate.go | 133 - ...rimenttemplate_experimenttemplateaction.go | 57 - ...emplate_experimenttemplatestopcondition.go | 42 - ...rimenttemplate_experimenttemplatetarget.go | 57 - .../cloudformation/fms/aws-fms-policy.go | 163 - .../fms/aws-fms-policy_iemap.go | 42 - .../fms/aws-fms-policy_policytag.go | 42 - .../aws-frauddetector-detector.go | 144 - .../aws-frauddetector-detector_entitytype.go | 68 - .../aws-frauddetector-detector_eventtype.go | 83 - ...ws-frauddetector-detector_eventvariable.go | 88 - .../aws-frauddetector-detector_label.go | 68 - .../aws-frauddetector-detector_outcome.go | 68 - .../aws-frauddetector-detector_rule.go | 88 - .../aws-frauddetector-eventtype.go | 134 - .../aws-frauddetector-eventtype_entitytype.go | 68 - ...s-frauddetector-eventtype_eventvariable.go | 88 - .../frauddetector/aws-frauddetector-label.go | 119 - .../aws-frauddetector-outcome.go | 119 - .../aws-frauddetector-variable.go | 139 - .../cloudformation/fsx/aws-fsx-filesystem.go | 169 - ...ws-fsx-filesystem_auditlogconfiguration.go | 47 - ...aws-fsx-filesystem_clientconfigurations.go | 42 - .../aws-fsx-filesystem_lustreconfiguration.go | 92 - .../fsx/aws-fsx-filesystem_nfsexports.go | 35 - .../aws-fsx-filesystem_ontapconfiguration.go | 82 - ...aws-fsx-filesystem_openzfsconfiguration.go | 77 - ...-fsx-filesystem_rootvolumeconfiguration.go | 57 - ...selfmanagedactivedirectoryconfiguration.go | 62 - .../aws-fsx-filesystem_userandgroupquotas.go | 47 - ...aws-fsx-filesystem_windowsconfiguration.go | 87 - .../gamelift/aws-gamelift-alias.go | 118 - .../aws-gamelift-alias_routingstrategy.go | 47 - .../gamelift/aws-gamelift-build.go | 123 - .../gamelift/aws-gamelift-build_s3location.go | 52 - .../gamelift/aws-gamelift-fleet.go | 198 - ...gamelift-fleet_certificateconfiguration.go | 37 - .../aws-gamelift-fleet_locationcapacity.go | 47 - ...ws-gamelift-fleet_locationconfiguration.go | 42 - ...elift-fleet_resourcecreationlimitpolicy.go | 42 - ...aws-gamelift-fleet_runtimeconfiguration.go | 47 - .../aws-gamelift-fleet_serverprocess.go | 47 - .../gamelift/aws-gamelift-gameservergroup.go | 164 - ...elift-gameservergroup_autoscalingpolicy.go | 42 - ...lift-gameservergroup_instancedefinition.go | 42 - ...ift-gameservergroup_instancedefinitions.go | 35 - ...gamelift-gameservergroup_launchtemplate.go | 47 - .../aws-gamelift-gameservergroup_tags.go | 36 - ...servergroup_targettrackingconfiguration.go | 37 - ...aws-gamelift-gameservergroup_vpcsubnets.go | 37 - .../gamelift/aws-gamelift-gamesessionqueue.go | 143 - ...ft-gamesessionqueue_filterconfiguration.go | 37 - ...ft-gamesessionqueue_playerlatencypolicy.go | 42 - ...-gamesessionqueue_priorityconfiguration.go | 42 - .../aws-gamelift-matchmakingconfiguration.go | 173 - ...t-matchmakingconfiguration_gameproperty.go | 42 - .../aws-gamelift-matchmakingruleset.go | 113 - .../gamelift/aws-gamelift-script.go | 118 - .../aws-gamelift-script_s3location.go | 52 - .../aws-globalaccelerator-accelerator.go | 129 - .../aws-globalaccelerator-endpointgroup.go | 153 - ...tor-endpointgroup_endpointconfiguration.go | 47 - ...laccelerator-endpointgroup_portoverride.go | 42 - .../aws-globalaccelerator-listener.go | 123 - .../glue/aws-glue-classifier.go | 121 - .../glue/aws-glue-classifier_csvclassifier.go | 67 - .../aws-glue-classifier_grokclassifier.go | 52 - .../aws-glue-classifier_jsonclassifier.go | 42 - .../glue/aws-glue-classifier_xmlclassifier.go | 47 - .../glue/aws-glue-connection.go | 113 - .../aws-glue-connection_connectioninput.go | 62 - ...nnection_physicalconnectionrequirements.go | 47 - .../cloudformation/glue/aws-glue-crawler.go | 168 - .../glue/aws-glue-crawler_jdbctarget.go | 47 - .../glue/aws-glue-crawler_recrawlpolicy.go | 37 - .../glue/aws-glue-crawler_s3target.go | 47 - .../glue/aws-glue-crawler_schedule.go | 37 - .../aws-glue-crawler_schemachangepolicy.go | 42 - .../glue/aws-glue-crawler_targets.go | 50 - .../cloudformation/glue/aws-glue-database.go | 113 - .../aws-glue-database_databaseidentifier.go | 42 - .../glue/aws-glue-database_databaseinput.go | 62 - .../aws-glue-database_datalakeprincipal.go | 37 - .../aws-glue-database_principalprivileges.go | 42 - .../aws-glue-datacatalogencryptionsettings.go | 113 - ...onsettings_connectionpasswordencryption.go | 42 - ...nsettings_datacatalogencryptionsettings.go | 40 - .../glue/aws-glue-devendpoint.go | 178 - .../cloudformation/glue/aws-glue-job.go | 193 - .../glue/aws-glue-job_connectionslist.go | 37 - .../glue/aws-glue-job_executionproperty.go | 37 - .../glue/aws-glue-job_jobcommand.go | 47 - .../glue/aws-glue-job_notificationproperty.go | 37 - .../glue/aws-glue-mltransform.go | 168 - ...-glue-mltransform_findmatchesparameters.go | 52 - .../aws-glue-mltransform_inputrecordtables.go | 35 - ...s-glue-mltransform_mluserdataencryption.go | 42 - ...ws-glue-mltransform_transformencryption.go | 42 - ...ws-glue-mltransform_transformparameters.go | 42 - .../cloudformation/glue/aws-glue-partition.go | 123 - .../glue/aws-glue-partition_column.go | 47 - .../glue/aws-glue-partition_order.go | 42 - .../glue/aws-glue-partition_partitioninput.go | 47 - .../glue/aws-glue-partition_schemaid.go | 47 - .../aws-glue-partition_schemareference.go | 47 - .../glue/aws-glue-partition_serdeinfo.go | 47 - .../glue/aws-glue-partition_skewedinfo.go | 47 - .../aws-glue-partition_storagedescriptor.go | 97 - .../cloudformation/glue/aws-glue-schema.go | 144 - .../glue/aws-glue-schema_registry.go | 42 - .../glue/aws-glue-schema_schemaversion.go | 42 - .../glue/aws-glue-schemaversion.go | 113 - .../glue/aws-glue-schemaversion_schema.go | 47 - .../glue/aws-glue-schemaversionmetadata.go | 118 - .../glue/aws-glue-securityconfiguration.go | 113 - ...urityconfiguration_cloudwatchencryption.go | 42 - ...tyconfiguration_encryptionconfiguration.go | 45 - ...lue-securityconfiguration_s3encryptions.go | 30 - .../cloudformation/glue/aws-glue-table.go | 118 - .../glue/aws-glue-table_column.go | 47 - .../glue/aws-glue-table_order.go | 42 - .../glue/aws-glue-table_schemaid.go | 47 - .../glue/aws-glue-table_schemareference.go | 47 - .../glue/aws-glue-table_serdeinfo.go | 47 - .../glue/aws-glue-table_storagedescriptor.go | 97 - .../glue/aws-glue-table_tableidentifier.go | 47 - .../glue/aws-glue-table_tableinput.go | 87 - .../cloudformation/glue/aws-glue-trigger.go | 148 - .../glue/aws-glue-trigger_action.go | 62 - .../aws-glue-trigger_notificationproperty.go | 37 - .../glue/aws-glue-trigger_predicate.go | 42 - .../cloudformation/glue/aws-glue-workflow.go | 123 - .../aws-greengrass-connectordefinition.go | 118 - ...reengrass-connectordefinition_connector.go | 47 - ...ordefinition_connectordefinitionversion.go | 35 - ...s-greengrass-connectordefinitionversion.go | 113 - ...ss-connectordefinitionversion_connector.go | 47 - .../aws-greengrass-coredefinition.go | 118 - .../aws-greengrass-coredefinition_core.go | 52 - ...ss-coredefinition_coredefinitionversion.go | 35 - .../aws-greengrass-coredefinitionversion.go | 113 - ...s-greengrass-coredefinitionversion_core.go | 52 - .../aws-greengrass-devicedefinition.go | 118 - .../aws-greengrass-devicedefinition_device.go | 52 - ...evicedefinition_devicedefinitionversion.go | 35 - .../aws-greengrass-devicedefinitionversion.go | 113 - ...eengrass-devicedefinitionversion_device.go | 52 - .../aws-greengrass-functiondefinition.go | 118 - ...ngrass-functiondefinition_defaultconfig.go | 35 - ...eengrass-functiondefinition_environment.go | 52 - ...greengrass-functiondefinition_execution.go | 42 - ...-greengrass-functiondefinition_function.go | 47 - ...unctiondefinition_functionconfiguration.go | 67 - ...iondefinition_functiondefinitionversion.go | 40 - ...functiondefinition_resourceaccesspolicy.go | 42 - ...aws-greengrass-functiondefinition_runas.go | 42 - ...ws-greengrass-functiondefinitionversion.go | 118 - ...functiondefinitionversion_defaultconfig.go | 35 - ...s-functiondefinitionversion_environment.go | 52 - ...ass-functiondefinitionversion_execution.go | 42 - ...rass-functiondefinitionversion_function.go | 47 - ...definitionversion_functionconfiguration.go | 67 - ...ndefinitionversion_resourceaccesspolicy.go | 42 - .../greengrass/aws-greengrass-group.go | 123 - .../aws-greengrass-group_groupversion.go | 67 - .../greengrass/aws-greengrass-groupversion.go | 143 - .../aws-greengrass-loggerdefinition.go | 118 - .../aws-greengrass-loggerdefinition_logger.go | 57 - ...oggerdefinition_loggerdefinitionversion.go | 35 - .../aws-greengrass-loggerdefinitionversion.go | 113 - .../aws-greengrass-resourcedefinition.go | 118 - ...ss-resourcedefinition_groupownersetting.go | 42 - ...ourcedefinition_localdeviceresourcedata.go | 42 - ...ourcedefinition_localvolumeresourcedata.go | 47 - ...esourcedefinition_resourcedatacontainer.go | 55 - ...rcedefinition_resourcedefinitionversion.go | 35 - ...definition_resourcedownloadownersetting.go | 42 - ...ass-resourcedefinition_resourceinstance.go | 47 - ...tion_s3machinelearningmodelresourcedata.go | 47 - ...gemakermachinelearningmodelresourcedata.go | 47 - ...nition_secretsmanagersecretresourcedata.go | 42 - ...ws-greengrass-resourcedefinitionversion.go | 113 - ...urcedefinitionversion_groupownersetting.go | 42 - ...finitionversion_localdeviceresourcedata.go | 42 - ...finitionversion_localvolumeresourcedata.go | 47 - ...definitionversion_resourcedatacontainer.go | 55 - ...ionversion_resourcedownloadownersetting.go | 42 - ...ourcedefinitionversion_resourceinstance.go | 47 - ...sion_s3machinelearningmodelresourcedata.go | 47 - ...gemakermachinelearningmodelresourcedata.go | 47 - ...ersion_secretsmanagersecretresourcedata.go | 42 - .../aws-greengrass-subscriptiondefinition.go | 118 - ...ass-subscriptiondefinition_subscription.go | 52 - ...efinition_subscriptiondefinitionversion.go | 35 - ...reengrass-subscriptiondefinitionversion.go | 113 - ...scriptiondefinitionversion_subscription.go | 52 - .../aws-greengrassv2-componentversion.go | 118 - ...tversion_componentdependencyrequirement.go | 42 - ...ssv2-componentversion_componentplatform.go | 42 - ...-componentversion_lambdacontainerparams.go | 52 - ...ssv2-componentversion_lambdadevicemount.go | 47 - ...ssv2-componentversion_lambdaeventsource.go | 42 - ...ponentversion_lambdaexecutionparameters.go | 87 - ...onentversion_lambdafunctionrecipesource.go | 62 - ...mponentversion_lambdalinuxprocessparams.go | 42 - ...ssv2-componentversion_lambdavolumemount.go | 52 - ...undstation-config_antennadownlinkconfig.go | 35 - ...config_antennadownlinkdemoddecodeconfig.go | 45 - ...roundstation-config_antennauplinkconfig.go | 47 - .../aws-groundstation-config_configdata.go | 65 - ...ndstation-config_dataflowendpointconfig.go | 42 - .../aws-groundstation-config_decodeconfig.go | 37 - ...groundstation-config_demodulationconfig.go | 37 - .../aws-groundstation-config_eirp.go | 42 - .../aws-groundstation-config_frequency.go | 42 - ...-groundstation-config_s3recordingconfig.go | 47 - ...aws-groundstation-config_spectrumconfig.go | 47 - ...aws-groundstation-config_trackingconfig.go | 37 - ...s-groundstation-config_uplinkechoconfig.go | 42 - ...oundstation-config_uplinkspectrumconfig.go | 42 - ...aws-groundstation-dataflowendpointgroup.go | 112 - ...-dataflowendpointgroup_dataflowendpoint.go | 47 - ...n-dataflowendpointgroup_endpointdetails.go | 40 - ...n-dataflowendpointgroup_securitydetails.go | 47 - ...ion-dataflowendpointgroup_socketaddress.go | 42 - .../aws-groundstation-missionprofile.go | 139 - ...oundstation-missionprofile_dataflowedge.go | 42 - .../guardduty/aws-guardduty-detector.go | 118 - .../guardduty/aws-guardduty-filter.go | 133 - .../aws-guardduty-filter_condition.go | 57 - .../aws-guardduty-filter_findingcriteria.go | 40 - .../guardduty/aws-guardduty-ipset.go | 128 - .../guardduty/aws-guardduty-master.go | 118 - .../guardduty/aws-guardduty-member.go | 133 - .../guardduty/aws-guardduty-threatintelset.go | 128 - .../aws-healthlake-fhirdatastore.go | 129 - ...hlake-fhirdatastore_kmsencryptionconfig.go | 42 - ...lthlake-fhirdatastore_preloaddataconfig.go | 37 - ...althlake-fhirdatastore_sseconfiguration.go | 35 - .../cloudformation/iam/aws-iam-group.go | 10 +- .../iam/aws-iam-group_policy.go | 6 +- .../cloudformation/iam/aws-iam-grouppolicy.go | 118 + .../iam/aws-iam-managedpolicy.go | 2 +- .../iam/aws-iam-oidcprovider.go | 2 +- .../cloudformation/iam/aws-iam-role.go | 2 +- .../cloudformation/iam/aws-iam-role_policy.go | 6 +- .../aws-iam-rolepolicy.go} | 39 +- .../iam/aws-iam-servicelinkedrole.go | 2 +- .../cloudformation/iam/aws-iam-user.go | 18 +- .../cloudformation/iam/aws-iam-user_policy.go | 6 +- .../cloudformation/iam/aws-iam-userpolicy.go | 118 + .../aws-imagebuilder-component.go | 153 - .../aws-imagebuilder-containerrecipe.go | 178 - ...-containerrecipe_componentconfiguration.go | 37 - ...ipe_ebsinstanceblockdevicespecification.go | 72 - ...tainerrecipe_instanceblockdevicemapping.go | 52 - ...r-containerrecipe_instanceconfiguration.go | 42 - ...ntainerrecipe_targetcontainerrepository.go | 42 - ...-imagebuilder-distributionconfiguration.go | 123 - ...-distributionconfiguration_distribution.go | 57 - ...nfiguration_launchtemplateconfiguration.go | 47 - .../imagebuilder/aws-imagebuilder-image.go | 138 - ...gebuilder-image_imagetestsconfiguration.go | 42 - .../aws-imagebuilder-imagepipeline.go | 158 - ...r-imagepipeline_imagetestsconfiguration.go | 42 - ...aws-imagebuilder-imagepipeline_schedule.go | 42 - .../aws-imagebuilder-imagerecipe.go | 148 - ...erecipe_additionalinstanceconfiguration.go | 42 - ...lder-imagerecipe_componentconfiguration.go | 42 - ...ebuilder-imagerecipe_componentparameter.go | 42 - ...ipe_ebsinstanceblockdevicespecification.go | 72 - ...-imagerecipe_instanceblockdevicemapping.go | 52 - ...builder-imagerecipe_systemsmanageragent.go | 37 - ...magebuilder-infrastructureconfiguration.go | 168 - ...reconfiguration_instancemetadataoptions.go | 42 - ...der-infrastructureconfiguration_logging.go | 35 - ...lder-infrastructureconfiguration_s3logs.go | 42 - .../aws-inspector-assessmenttarget.go | 113 - .../aws-inspector-assessmenttemplate.go | 129 - .../inspector/aws-inspector-resourcegroup.go | 107 - .../iot/aws-iot-accountauditconfiguration.go | 123 - ...tconfiguration_auditcheckconfigurations.go | 100 - ...itconfiguration_auditnotificationtarget.go | 47 - ...n_auditnotificationtargetconfigurations.go | 35 - .../cloudformation/iot/aws-iot-authorizer.go | 139 - .../iot/aws-iot-authorizer_tags.go | 35 - ...s-iot-authorizer_tokensigningpublickeys.go | 30 - .../cloudformation/iot/aws-iot-certificate.go | 128 - .../iot/aws-iot-custommetric.go | 124 - .../iot/aws-iot-domainconfiguration.go | 144 - ...ot-domainconfiguration_authorizerconfig.go | 42 - ...nconfiguration_servercertificatesummary.go | 47 - .../iot/aws-iot-domainconfiguration_tags.go | 35 - .../cloudformation/iot/aws-iot-fleetmetric.go | 154 - .../aws-iot-fleetmetric_aggregationtype.go | 42 - .../cloudformation/iot/aws-iot-logging.go | 118 - .../iot/aws-iot-mitigationaction.go | 124 - .../aws-iot-mitigationaction_actionparams.go | 60 - ...ationaction_addthingstothinggroupparams.go | 42 - ...mitigationaction_enableiotloggingparams.go | 42 - ...igationaction_publishfindingtosnsparams.go | 37 - ...ction_replacedefaultpolicyversionparams.go | 37 - ...igationaction_updatecacertificateparams.go | 37 - ...ionaction_updatedevicecertificateparams.go | 37 - .../iot/aws-iot-policyprincipalattachment.go | 113 - .../iot/aws-iot-provisioningtemplate.go | 139 - ...t-provisioningtemplate_provisioninghook.go | 42 - .../iot/aws-iot-provisioningtemplate_tags.go | 35 - .../iot/aws-iot-resourcespecificlogging.go | 118 - .../iot/aws-iot-scheduledaudit.go | 134 - .../iot/aws-iot-securityprofile.go | 139 - .../iot/aws-iot-securityprofile_behavior.go | 57 - ...ws-iot-securityprofile_behaviorcriteria.go | 67 - .../aws-iot-securityprofile_metrictoretain.go | 42 - .../aws-iot-securityprofile_metricvalue.go | 62 - ...ot-securityprofile_statisticalthreshold.go | 37 - .../cloudformation/iot/aws-iot-thing.go | 113 - .../iot/aws-iot-thingprincipalattachment.go | 113 - .../cloudformation/iot/aws-iot-topicrule.go | 119 - .../iot/aws-iot-topicrule_action.go | 135 - .../aws-iot-topicrule_assetpropertyvalue.go | 47 - .../aws-iot-topicrule_assetpropertyvariant.go | 52 - ...aws-iot-topicrule_cloudwatchalarmaction.go | 52 - ...ws-iot-topicrule_cloudwatchmetricaction.go | 62 - .../iot/aws-iot-topicrule_dynamodbaction.go | 77 - .../iot/aws-iot-topicrule_dynamodbv2action.go | 42 - .../aws-iot-topicrule_elasticsearchaction.go | 57 - .../iot/aws-iot-topicrule_firehoseaction.go | 52 - .../iot/aws-iot-topicrule_httpaction.go | 52 - .../iot/aws-iot-topicrule_httpactionheader.go | 42 - .../aws-iot-topicrule_httpauthorization.go | 35 - .../aws-iot-topicrule_iotanalyticsaction.go | 47 - .../iot/aws-iot-topicrule_ioteventsaction.go | 52 - .../aws-iot-topicrule_iotsitewiseaction.go | 42 - .../iot/aws-iot-topicrule_kafkaaction.go | 57 - .../iot/aws-iot-topicrule_kinesisaction.go | 47 - .../iot/aws-iot-topicrule_lambdaaction.go | 37 - .../iot/aws-iot-topicrule_opensearchaction.go | 57 - ...ot-topicrule_putassetpropertyvalueentry.go | 57 - .../iot/aws-iot-topicrule_republishaction.go | 47 - .../iot/aws-iot-topicrule_s3action.go | 52 - .../aws-iot-topicrule_sigv4authorization.go | 47 - .../iot/aws-iot-topicrule_snsaction.go | 47 - .../iot/aws-iot-topicrule_sqsaction.go | 47 - .../iot/aws-iot-topicrule_timestreamaction.go | 62 - .../aws-iot-topicrule_timestreamdimension.go | 42 - .../aws-iot-topicrule_timestreamtimestamp.go | 42 - .../iot/aws-iot-topicrule_topicrulepayload.go | 62 - .../iot/aws-iot-topicruledestination.go | 118 - ...ledestination_httpurldestinationsummary.go | 37 - .../iot1click/aws-iot1click-device.go | 113 - .../iot1click/aws-iot1click-placement.go | 123 - .../iot1click/aws-iot1click-project.go | 118 - .../aws-iot1click-project_devicetemplate.go | 42 - ...aws-iot1click-project_placementtemplate.go | 40 - .../iotanalytics/aws-iotanalytics-channel.go | 124 - ...aws-iotanalytics-channel_channelstorage.go | 40 - ...-iotanalytics-channel_customermanageds3.go | 47 - ...ws-iotanalytics-channel_retentionperiod.go | 42 - ...s-iotanalytics-channel_servicemanageds3.go | 30 - .../iotanalytics/aws-iotanalytics-dataset.go | 144 - .../aws-iotanalytics-dataset_action.go | 47 - ...ws-iotanalytics-dataset_containeraction.go | 52 - ...tics-dataset_datasetcontentdeliveryrule.go | 42 - ...t_datasetcontentdeliveryruledestination.go | 40 - ...tics-dataset_datasetcontentversionvalue.go | 37 - .../aws-iotanalytics-dataset_deltatime.go | 42 - ...set_deltatimesessionwindowconfiguration.go | 37 - .../aws-iotanalytics-dataset_filter.go | 35 - ...-iotanalytics-dataset_glueconfiguration.go | 42 - ...taset_ioteventsdestinationconfiguration.go | 42 - .../aws-iotanalytics-dataset_latedatarule.go | 42 - ...ytics-dataset_latedataruleconfiguration.go | 35 - ...iotanalytics-dataset_outputfileurivalue.go | 37 - .../aws-iotanalytics-dataset_queryaction.go | 42 - ...analytics-dataset_resourceconfiguration.go | 42 - ...ws-iotanalytics-dataset_retentionperiod.go | 42 - ...tics-dataset_s3destinationconfiguration.go | 52 - .../aws-iotanalytics-dataset_schedule.go | 37 - .../aws-iotanalytics-dataset_trigger.go | 40 - ...-iotanalytics-dataset_triggeringdataset.go | 37 - .../aws-iotanalytics-dataset_variable.go | 57 - ...alytics-dataset_versioningconfiguration.go | 42 - .../aws-iotanalytics-datastore.go | 134 - .../aws-iotanalytics-datastore_column.go | 42 - ...otanalytics-datastore_customermanageds3.go | 47 - ...tics-datastore_customermanageds3storage.go | 42 - ...tanalytics-datastore_datastorepartition.go | 40 - ...analytics-datastore_datastorepartitions.go | 35 - ...iotanalytics-datastore_datastorestorage.go | 45 - ...ytics-datastore_fileformatconfiguration.go | 40 - ...-datastore_iotsitewisemultilayerstorage.go | 35 - ...otanalytics-datastore_jsonconfiguration.go | 30 - ...nalytics-datastore_parquetconfiguration.go | 35 - .../aws-iotanalytics-datastore_partition.go | 37 - ...-iotanalytics-datastore_retentionperiod.go | 42 - ...iotanalytics-datastore_schemadefinition.go | 35 - ...iotanalytics-datastore_servicemanageds3.go | 30 - ...tanalytics-datastore_timestamppartition.go | 42 - .../iotanalytics/aws-iotanalytics-pipeline.go | 119 - .../aws-iotanalytics-pipeline_activity.go | 80 - ...aws-iotanalytics-pipeline_addattributes.go | 47 - .../aws-iotanalytics-pipeline_channel.go | 47 - .../aws-iotanalytics-pipeline_datastore.go | 42 - ...analytics-pipeline_deviceregistryenrich.go | 57 - ...otanalytics-pipeline_deviceshadowenrich.go | 57 - .../aws-iotanalytics-pipeline_filter.go | 47 - .../aws-iotanalytics-pipeline_lambda.go | 52 - .../aws-iotanalytics-pipeline_math.go | 52 - ...-iotanalytics-pipeline_removeattributes.go | 47 - ...-iotanalytics-pipeline_selectattributes.go | 47 - ...ws-iotcoredeviceadvisor-suitedefinition.go | 112 - .../iotevents/aws-iotevents-detectormodel.go | 139 - .../aws-iotevents-detectormodel_action.go | 95 - ...ts-detectormodel_assetpropertytimestamp.go | 42 - ...events-detectormodel_assetpropertyvalue.go | 47 - ...ents-detectormodel_assetpropertyvariant.go | 52 - .../aws-iotevents-detectormodel_cleartimer.go | 37 - ...s-detectormodel_detectormodeldefinition.go | 42 - .../aws-iotevents-detectormodel_dynamodb.go | 82 - .../aws-iotevents-detectormodel_dynamodbv2.go | 42 - .../aws-iotevents-detectormodel_event.go | 47 - .../aws-iotevents-detectormodel_firehose.go | 47 - .../aws-iotevents-detectormodel_iotevents.go | 42 - ...aws-iotevents-detectormodel_iotsitewise.go | 57 - ...iotevents-detectormodel_iottopicpublish.go | 42 - .../aws-iotevents-detectormodel_lambda.go | 42 - .../aws-iotevents-detectormodel_onenter.go | 35 - .../aws-iotevents-detectormodel_onexit.go | 35 - .../aws-iotevents-detectormodel_oninput.go | 40 - .../aws-iotevents-detectormodel_payload.go | 42 - .../aws-iotevents-detectormodel_resettimer.go | 37 - .../aws-iotevents-detectormodel_settimer.go | 47 - ...aws-iotevents-detectormodel_setvariable.go | 42 - .../aws-iotevents-detectormodel_sns.go | 42 - .../aws-iotevents-detectormodel_sqs.go | 47 - .../aws-iotevents-detectormodel_state.go | 52 - ...iotevents-detectormodel_transitionevent.go | 52 - .../iotevents/aws-iotevents-input.go | 124 - .../aws-iotevents-input_inputdefinition.go | 35 - .../aws-iotfleethub-application.go | 124 - .../aws-iotsitewise-accesspolicy.go | 118 - ...ewise-accesspolicy_accesspolicyidentity.go | 45 - ...ewise-accesspolicy_accesspolicyresource.go | 40 - .../aws-iotsitewise-accesspolicy_iamrole.go | 37 - .../aws-iotsitewise-accesspolicy_iamuser.go | 37 - .../aws-iotsitewise-accesspolicy_portal.go | 37 - .../aws-iotsitewise-accesspolicy_project.go | 37 - .../aws-iotsitewise-accesspolicy_user.go | 37 - .../iotsitewise/aws-iotsitewise-asset.go | 129 - .../aws-iotsitewise-asset_assethierarchy.go | 42 - .../aws-iotsitewise-asset_assetproperty.go | 47 - .../iotsitewise/aws-iotsitewise-assetmodel.go | 134 - ...ise-assetmodel_assetmodelcompositemodel.go | 52 - ...sitewise-assetmodel_assetmodelhierarchy.go | 47 - ...tsitewise-assetmodel_assetmodelproperty.go | 62 - .../aws-iotsitewise-assetmodel_attribute.go | 37 - ...tsitewise-assetmodel_expressionvariable.go | 42 - .../aws-iotsitewise-assetmodel_metric.go | 47 - ...aws-iotsitewise-assetmodel_metricwindow.go | 35 - .../aws-iotsitewise-assetmodel_transform.go | 42 - ...s-iotsitewise-assetmodel_tumblingwindow.go | 42 - ...ws-iotsitewise-assetmodel_variablevalue.go | 42 - .../iotsitewise/aws-iotsitewise-dashboard.go | 129 - .../iotsitewise/aws-iotsitewise-gateway.go | 124 - ...tewise-gateway_gatewaycapabilitysummary.go | 42 - ...aws-iotsitewise-gateway_gatewayplatform.go | 35 - .../aws-iotsitewise-gateway_greengrass.go | 37 - .../iotsitewise/aws-iotsitewise-portal.go | 144 - .../iotsitewise/aws-iotsitewise-project.go | 129 - .../aws-iotthingsgraph-flowtemplate.go | 113 - ...gsgraph-flowtemplate_definitiondocument.go | 42 - .../aws-iotwireless-destination.go | 134 - .../aws-iotwireless-deviceprofile.go | 119 - ...less-deviceprofile_lorawandeviceprofile.go | 102 - .../iotwireless/aws-iotwireless-fuotatask.go | 154 - .../aws-iotwireless-fuotatask_lorawan.go | 42 - .../aws-iotwireless-multicastgroup_lorawan.go | 52 - .../aws-iotwireless-partneraccount.go | 139 - ...less-partneraccount_sidewalkaccountinfo.go | 37 - ...ss-partneraccount_sidewalkupdateaccount.go | 37 - .../aws-iotwireless-serviceprofile.go | 119 - ...ss-serviceprofile_lorawanserviceprofile.go | 127 - .../aws-iotwireless-taskdefinition.go | 134 - ...ss-taskdefinition_lorawangatewayversion.go | 47 - ...finition_lorawanupdategatewaytaskcreate.go | 52 - ...efinition_lorawanupdategatewaytaskentry.go | 40 - ...inition_updatewirelessgatewaytaskcreate.go | 47 - .../aws-iotwireless-wirelessdevice.go | 144 - .../aws-iotwireless-wirelessdevice_abpv10x.go | 42 - ...otwireless-wirelessdevice_lorawandevice.go | 67 - ...aws-iotwireless-wirelessdevice_otaav10x.go | 42 - .../aws-iotwireless-wirelessdevice_otaav11.go | 47 - ...eless-wirelessdevice_sessionkeysabpv10x.go | 42 - ...reless-wirelessdevice_sessionkeysabpv11.go | 52 - .../aws-iotwireless-wirelessgateway.go | 134 - ...wireless-wirelessgateway_lorawangateway.go | 42 - .../cloudformation/ivs/aws-ivs-channel.go | 134 - .../ivs/aws-ivs-playbackkeypair.go | 119 - .../ivs/aws-ivs-recordingconfiguration.go | 119 - ...gconfiguration_destinationconfiguration.go | 35 - ...onfiguration_s3destinationconfiguration.go | 37 - .../cloudformation/ivs/aws-ivs-streamkey.go | 114 - .../kendra/aws-kendra-datasource.go | 144 - .../aws-kendra-datasource_aclconfiguration.go | 37 - ...endra-datasource_changedetectingcolumns.go | 37 - ...s-kendra-datasource_columnconfiguration.go | 57 - ...ource_confluenceattachmentconfiguration.go | 42 - ...confluenceattachmenttoindexfieldmapping.go | 47 - ...-datasource_confluenceblogconfiguration.go | 35 - ...ource_confluenceblogtoindexfieldmapping.go | 47 - ...ndra-datasource_confluenceconfiguration.go | 82 - ...-datasource_confluencepageconfiguration.go | 35 - ...ource_confluencepagetoindexfieldmapping.go | 47 - ...datasource_confluencespaceconfiguration.go | 57 - ...urce_confluencespacetoindexfieldmapping.go | 47 - ...ndra-datasource_connectionconfiguration.go | 57 - ...kendra-datasource_databaseconfiguration.go | 62 - ...ndra-datasource_datasourceconfiguration.go | 80 - ...e_datasourceinclusionsexclusionsstrings.go | 37 - ...atasource_datasourcetoindexfieldmapping.go | 47 - ...ource_datasourcetoindexfieldmappinglist.go | 35 - ...a-datasource_datasourcevpcconfiguration.go | 42 - ...tasource_documentsmetadataconfiguration.go | 37 - ...dra-datasource_googledriveconfiguration.go | 67 - ...kendra-datasource_onedriveconfiguration.go | 67 - .../aws-kendra-datasource_onedriveuserlist.go | 37 - .../aws-kendra-datasource_onedriveusers.go | 42 - ...ws-kendra-datasource_proxyconfiguration.go | 47 - ...ra-datasource_s3datasourceconfiguration.go | 62 - .../kendra/aws-kendra-datasource_s3path.go | 42 - ...urce_salesforcechatterfeedconfiguration.go | 52 - ...salesforcechatterfeedincludefiltertypes.go | 37 - ...ndra-datasource_salesforceconfiguration.go | 77 - ...customknowledgearticletypeconfiguration.go | 52 - ...omknowledgearticletypeconfigurationlist.go | 35 - ...salesforceknowledgearticleconfiguration.go | 47 - ...rce_salesforceknowledgearticlestatelist.go | 37 - ...andardknowledgearticletypeconfiguration.go | 47 - ...cestandardobjectattachmentconfiguration.go | 42 - ...e_salesforcestandardobjectconfiguration.go | 52 - ...lesforcestandardobjectconfigurationlist.go | 35 - ...ndra-datasource_servicenowconfiguration.go | 62 - ...servicenowknowledgearticleconfiguration.go | 67 - ...e_servicenowservicecatalogconfiguration.go | 62 - ...ndra-datasource_sharepointconfiguration.go | 92 - .../aws-kendra-datasource_sqlconfiguration.go | 37 - .../kendra/aws-kendra-datasource_taglist.go | 36 - ...e_webcrawlerauthenticationconfiguration.go | 35 - ...atasource_webcrawlerbasicauthentication.go | 47 - ...ndra-datasource_webcrawlerconfiguration.go | 77 - ...tasource_webcrawlerseedurlconfiguration.go | 42 - ...asource_webcrawlersitemapsconfiguration.go | 37 - .../aws-kendra-datasource_webcrawlerurls.go | 40 - ...kendra-datasource_workdocsconfiguration.go | 62 - .../kendra/aws-kendra-faq_s3path.go | 42 - .../kendra/aws-kendra-faq_taglist.go | 36 - .../cloudformation/kendra/aws-kendra-index.go | 154 - ...kendra-index_capacityunitsconfiguration.go | 42 - ...dra-index_documentmetadataconfiguration.go | 52 - ...index_documentmetadataconfigurationlist.go | 35 - ...kendra-index_jsontokentypeconfiguration.go | 42 - ...-kendra-index_jwttokentypeconfiguration.go | 67 - .../kendra/aws-kendra-index_relevance.go | 57 - .../kendra/aws-kendra-index_search.go | 52 - .../kendra/aws-kendra-index_taglist.go | 36 - ...aws-kendra-index_usertokenconfiguration.go | 40 - .../aws-kendra-index_valueimportanceitem.go | 42 - .../aws-kendra-index_valueimportanceitems.go | 35 - .../aws-kinesis-resourcepolicy.go} | 20 +- .../kinesis/aws-kinesis-stream.go | 9 +- .../aws-kinesis-stream_streammodedetails.go} | 18 +- .../aws-kinesisanalytics-application.go | 123 - ...lytics-application_csvmappingparameters.go | 42 - .../aws-kinesisanalytics-application_input.go | 62 - ...lytics-application_inputlambdaprocessor.go | 42 - ...sanalytics-application_inputparallelism.go | 37 - ...pplication_inputprocessingconfiguration.go | 35 - ...inesisanalytics-application_inputschema.go | 47 - ...lytics-application_kinesisfirehoseinput.go | 42 - ...alytics-application_kinesisstreamsinput.go | 42 - ...analytics-application_mappingparameters.go | 40 - ...nesisanalytics-application_recordcolumn.go | 47 - ...nesisanalytics-application_recordformat.go | 42 - .../aws-kinesisanalytics-applicationoutput.go | 113 - ...ics-applicationoutput_destinationschema.go | 37 - ...applicationoutput_kinesisfirehoseoutput.go | 42 - ...-applicationoutput_kinesisstreamsoutput.go | 42 - ...nalytics-applicationoutput_lambdaoutput.go | 42 - ...nesisanalytics-applicationoutput_output.go | 57 - ...nalytics-applicationreferencedatasource.go | 113 - ...eferencedatasource_csvmappingparameters.go | 42 - ...ferencedatasource_jsonmappingparameters.go | 37 - ...onreferencedatasource_mappingparameters.go | 40 - ...icationreferencedatasource_recordcolumn.go | 47 - ...icationreferencedatasource_recordformat.go | 42 - ...referencedatasource_referencedatasource.go | 47 - ...tionreferencedatasource_referenceschema.go | 47 - ...ferencedatasource_s3referencedatasource.go | 47 - .../aws-kinesisanalyticsv2-application.go | 139 - ...pplication_applicationcodeconfiguration.go | 42 - ...v2-application_applicationconfiguration.go | 60 - ...cation_applicationsnapshotconfiguration.go | 37 - ...ticsv2-application_catalogconfiguration.go | 35 - ...sv2-application_checkpointconfiguration.go | 52 - ...esisanalyticsv2-application_codecontent.go | 47 - ...ticsv2-application_csvmappingparameters.go | 42 - ...application_customartifactconfiguration.go | 47 - ...pplication_customartifactsconfiguration.go | 30 - ...cation_deployasapplicationconfiguration.go | 35 - ...icsv2-application_environmentproperties.go | 35 - ...plication_flinkapplicationconfiguration.go | 45 - ...pplication_gluedatacatalogconfiguration.go | 37 - ...ws-kinesisanalyticsv2-application_input.go | 62 - ...ticsv2-application_inputlambdaprocessor.go | 37 - ...nalyticsv2-application_inputparallelism.go | 37 - ...pplication_inputprocessingconfiguration.go | 35 - ...esisanalyticsv2-application_inputschema.go | 47 - ...icsv2-application_jsonmappingparameters.go | 37 - ...ticsv2-application_kinesisfirehoseinput.go | 37 - ...yticsv2-application_kinesisstreamsinput.go | 37 - ...alyticsv2-application_mappingparameters.go | 40 - ...sanalyticsv2-application_mavenreference.go | 47 - ...sv2-application_monitoringconfiguration.go | 47 - ...v2-application_parallelismconfiguration.go | 52 - ...isanalyticsv2-application_propertygroup.go | 42 - ...sisanalyticsv2-application_recordcolumn.go | 47 - ...sisanalyticsv2-application_recordformat.go | 42 - ...icsv2-application_s3contentbaselocation.go | 42 - ...alyticsv2-application_s3contentlocation.go | 47 - ...application_sqlapplicationconfiguration.go | 35 - ...cation_zeppelinapplicationconfiguration.go | 50 - ...ication_zeppelinmonitoringconfiguration.go | 37 - ...csv2-applicationcloudwatchloggingoption.go | 113 - ...chloggingoption_cloudwatchloggingoption.go | 37 - ...ws-kinesisanalyticsv2-applicationoutput.go | 113 - ...sv2-applicationoutput_destinationschema.go | 37 - ...applicationoutput_kinesisfirehoseoutput.go | 37 - ...-applicationoutput_kinesisstreamsoutput.go | 37 - ...lyticsv2-applicationoutput_lambdaoutput.go | 37 - ...sisanalyticsv2-applicationoutput_output.go | 57 - ...lyticsv2-applicationreferencedatasource.go | 113 - ...eferencedatasource_csvmappingparameters.go | 42 - ...ferencedatasource_jsonmappingparameters.go | 37 - ...onreferencedatasource_mappingparameters.go | 40 - ...icationreferencedatasource_recordcolumn.go | 47 - ...icationreferencedatasource_recordformat.go | 42 - ...referencedatasource_referencedatasource.go | 47 - ...tionreferencedatasource_referenceschema.go | 47 - ...ferencedatasource_s3referencedatasource.go | 42 - .../aws-kinesisfirehose-deliverystream.go | 164 - ...m_amazonopensearchservicebufferinghints.go | 42 - ...ensearchservicedestinationconfiguration.go | 97 - ...eam_amazonopensearchserviceretryoptions.go | 37 - ...sfirehose-deliverystream_bufferinghints.go | 42 - ...deliverystream_cloudwatchloggingoptions.go | 47 - ...esisfirehose-deliverystream_copycommand.go | 47 - ...tream_dataformatconversionconfiguration.go | 52 - ...iverystreamencryptionconfigurationinput.go | 42 - ...sisfirehose-deliverystream_deserializer.go | 40 - ...stream_dynamicpartitioningconfiguration.go | 42 - ...iverystream_elasticsearchbufferinghints.go | 42 - ...m_elasticsearchdestinationconfiguration.go | 97 - ...eliverystream_elasticsearchretryoptions.go | 37 - ...-deliverystream_encryptionconfiguration.go | 42 - ...ream_extendeds3destinationconfiguration.go | 97 - ...isfirehose-deliverystream_hivejsonserde.go | 37 - ...iverystream_httpendpointcommonattribute.go | 42 - ...eliverystream_httpendpointconfiguration.go | 47 - ...am_httpendpointdestinationconfiguration.go | 77 - ...stream_httpendpointrequestconfiguration.go | 42 - ...deliverystream_inputformatconfiguration.go | 35 - ...stream_kinesisstreamsourceconfiguration.go | 42 - ...hose-deliverystream_kmsencryptionconfig.go | 37 - ...sfirehose-deliverystream_openxjsonserde.go | 47 - ...kinesisfirehose-deliverystream_orcserde.go | 82 - ...eliverystream_outputformatconfiguration.go | 35 - ...sisfirehose-deliverystream_parquetserde.go | 62 - ...-deliverystream_processingconfiguration.go | 42 - ...inesisfirehose-deliverystream_processor.go | 42 - ...ehose-deliverystream_processorparameter.go | 42 - ...stream_redshiftdestinationconfiguration.go | 87 - ...ose-deliverystream_redshiftretryoptions.go | 37 - ...sisfirehose-deliverystream_retryoptions.go | 37 - ...liverystream_s3destinationconfiguration.go | 72 - ...hose-deliverystream_schemaconfiguration.go | 62 - ...nesisfirehose-deliverystream_serializer.go | 40 - ...rystream_splunkdestinationconfiguration.go | 77 - ...ehose-deliverystream_splunkretryoptions.go | 37 - ...irehose-deliverystream_vpcconfiguration.go | 47 - .../cloudformation/kms/aws-kms-key.go | 17 +- .../aws-lakeformation-datalakesettings.go | 113 - ...s-lakeformation-datalakesettings_admins.go | 30 - ...tion-datalakesettings_datalakeprincipal.go | 37 - .../aws-lakeformation-permissions.go | 123 - ...akeformation-permissions_columnwildcard.go | 37 - ...eformation-permissions_databaseresource.go | 42 - ...formation-permissions_datalakeprincipal.go | 37 - ...mation-permissions_datalocationresource.go | 42 - .../aws-lakeformation-permissions_resource.go | 50 - ...lakeformation-permissions_tablewildcard.go | 30 - ...on-permissions_tablewithcolumnsresource.go | 57 - .../aws-lakeformation-resource.go | 118 - ...-lambda-alias_aliasroutingconfiguration.go | 2 +- .../lambda/aws-lambda-codesigningconfig.go | 6 + .../aws-lambda-eventinvokeconfig_onfailure.go | 4 +- .../aws-lambda-eventinvokeconfig_onsuccess.go | 4 +- .../lambda/aws-lambda-eventsourcemapping.go | 43 +- ...ng_amazonmanagedkafkaeventsourceconfig.go} | 18 +- ...rcemapping_documentdbeventsourceconfig.go} | 26 +- .../aws-lambda-eventsourcemapping_filter.go} | 18 +- ...mbda-eventsourcemapping_filtercriteria.go} | 18 +- ...ambda-eventsourcemapping_metricsconfig.go} | 18 +- ...tsourcemapping_provisionedpollerconfig.go} | 24 +- ...ambda-eventsourcemapping_scalingconfig.go} | 18 +- ...ping_selfmanagedkafkaeventsourceconfig.go} | 18 +- .../lambda/aws-lambda-function.go | 25 + .../lambda/aws-lambda-function_code.go | 5 + .../aws-lambda-function_ephemeralstorage.go} | 18 +- .../aws-lambda-function_loggingconfig.go} | 36 +- ...ambda-function_runtimemanagementconfig.go} | 24 +- .../lambda/aws-lambda-function_snapstart.go | 37 + .../aws-lambda-function_snapstartresponse.go} | 26 +- .../lambda/aws-lambda-function_vpcconfig.go | 5 + .../lambda/aws-lambda-permission.go | 10 + .../aws-lambda-url.go} | 51 +- .../aws-lambda-url_cors.go} | 24 +- .../lambda/aws-lambda-version.go | 5 + .../aws-lambda-version_runtimepolicy.go} | 24 +- .../aws-licensemanager-grant.go | 133 - .../aws-licensemanager-license.go | 158 - ...ensemanager-license_borrowconfiguration.go | 42 - ...anager-license_consumptionconfiguration.go | 47 - .../aws-licensemanager-license_entitlement.go | 62 - .../aws-licensemanager-license_issuerdata.go | 42 - .../aws-licensemanager-license_metadata.go | 42 - ...anager-license_provisionalconfiguration.go | 37 - ...censemanager-license_validitydateformat.go | 42 - .../lightsail/aws-lightsail-database.go | 179 - ...il-database_relationaldatabaseparameter.go | 72 - .../lightsail/aws-lightsail-disk.go | 129 - .../lightsail/aws-lightsail-disk_addon.go | 47 - .../aws-lightsail-disk_autosnapshotaddon.go | 37 - .../lightsail/aws-lightsail-instance.go | 154 - .../lightsail/aws-lightsail-instance_addon.go | 47 - ...ws-lightsail-instance_autosnapshotaddon.go | 37 - .../lightsail/aws-lightsail-instance_disk.go | 67 - .../aws-lightsail-instance_hardware.go | 47 - .../aws-lightsail-instance_location.go | 42 - .../aws-lightsail-instance_monthlytransfer.go | 37 - .../aws-lightsail-instance_networking.go | 40 - .../lightsail/aws-lightsail-instance_port.go | 82 - .../lightsail/aws-lightsail-staticip.go | 113 - .../aws-location-geofencecollection.go | 128 - .../aws-location-map_mapconfiguration.go | 37 - .../location/aws-location-placeindex.go | 128 - ...tion-placeindex_datasourceconfiguration.go | 37 - .../location/aws-location-routecalculator.go | 123 - .../location/aws-location-tracker.go | 133 - .../location/aws-location-trackerconsumer.go | 113 - .../logs/aws-logs-destination.go | 123 - .../cloudformation/logs/aws-logs-loggroup.go | 124 - .../cloudformation/logs/aws-logs-logstream.go | 113 - .../logs/aws-logs-metricfilter.go | 118 - ...-logs-metricfilter_metrictransformation.go | 52 - .../logs/aws-logs-querydefinition.go | 118 - .../logs/aws-logs-subscriptionfilter.go | 123 - ...aws-lookoutequipment-inferencescheduler.go | 149 - .../aws-lookoutmetrics-alert_action.go | 40 - ...ookoutmetrics-alert_lambdaconfiguration.go | 42 - ...s-lookoutmetrics-alert_snsconfiguration.go | 42 - .../aws-lookoutmetrics-anomalydetector.go | 128 - ...s-anomalydetector_anomalydetectorconfig.go | 37 - ...utmetrics-anomalydetector_appflowconfig.go | 42 - ...etrics-anomalydetector_cloudwatchconfig.go | 37 - ...ics-anomalydetector_csvformatdescriptor.go | 62 - ...cs-anomalydetector_fileformatdescriptor.go | 40 - ...cs-anomalydetector_jsonformatdescriptor.go | 42 - ...ookoutmetrics-anomalydetector_metricset.go | 77 - ...outmetrics-anomalydetector_metricsource.go | 55 - ...metrics-anomalydetector_rdssourceconfig.go | 72 - ...cs-anomalydetector_redshiftsourceconfig.go | 72 - ...tmetrics-anomalydetector_s3sourceconfig.go | 52 - ...metrics-anomalydetector_timestampcolumn.go | 42 - ...etrics-anomalydetector_vpcconfiguration.go | 42 - .../aws-lookoutvision-project.go | 108 - .../macie/aws-macie-customdataidentifier.go | 133 - .../macie/aws-macie-findingsfilter.go | 128 - .../aws-macie-findingsfilter_criterion.go | 30 - ...ws-macie-findingsfilter_findingcriteria.go | 35 - .../cloudformation/macie/aws-macie-session.go | 113 - .../aws-managedblockchain-member.go | 123 - ...ockchain-member_approvalthresholdpolicy.go | 47 - ...edblockchain-member_memberconfiguration.go | 47 - ...kchain-member_memberfabricconfiguration.go | 42 - ...ain-member_memberframeworkconfiguration.go | 35 - ...dblockchain-member_networkconfiguration.go | 62 - ...chain-member_networkfabricconfiguration.go | 37 - ...in-member_networkframeworkconfiguration.go | 35 - ...s-managedblockchain-member_votingpolicy.go | 35 - .../aws-managedblockchain-node.go | 118 - ...anagedblockchain-node_nodeconfiguration.go | 42 - .../mediaconnect/aws-mediaconnect-flow.go | 123 - .../aws-mediaconnect-flow_encryption.go | 77 - .../aws-mediaconnect-flow_failoverconfig.go | 42 - .../aws-mediaconnect-flow_source.go | 107 - .../aws-mediaconnect-flowentitlement.go | 138 - ...mediaconnect-flowentitlement_encryption.go | 77 - .../aws-mediaconnect-flowoutput.go | 173 - .../aws-mediaconnect-flowoutput_encryption.go | 52 - .../aws-mediaconnect-flowsource.go | 163 - .../aws-mediaconnect-flowsource_encryption.go | 77 - .../aws-mediaconnect-flowvpcinterface.go | 128 - .../aws-mediaconvert-jobtemplate.go | 153 - ...onvert-jobtemplate_accelerationsettings.go | 37 - ...mediaconvert-jobtemplate_hopdestination.go | 47 - .../mediaconvert/aws-mediaconvert-preset.go | 128 - .../mediaconvert/aws-mediaconvert-queue.go | 128 - .../medialive/aws-medialive-channel.go | 158 - .../aws-medialive-channel_aacsettings.go | 77 - .../aws-medialive-channel_ac3settings.go | 67 - ...dialive-channel_ancillarysourcesettings.go | 37 - ...ws-medialive-channel_archivecdnsettings.go | 35 - ...ialive-channel_archivecontainersettings.go | 40 - ...aws-medialive-channel_archives3settings.go | 37 - ...dialive-channel_aribdestinationsettings.go | 30 - ...ws-medialive-channel_aribsourcesettings.go | 30 - ...s-medialive-channel_audiochannelmapping.go | 42 - ...ws-medialive-channel_audiocodecsettings.go | 60 - .../aws-medialive-channel_audiodescription.go | 87 - ...edialive-channel_audiolanguageselection.go | 42 - ...live-channel_audionormalizationsettings.go | 47 - ...-medialive-channel_audioonlyhlssettings.go | 52 - ...aws-medialive-channel_audiopidselection.go | 37 - .../aws-medialive-channel_audioselector.go | 42 - ...medialive-channel_audioselectorsettings.go | 50 - ...ve-channel_audiosilencefailoversettings.go | 42 - .../aws-medialive-channel_audiotrack.go | 37 - ...s-medialive-channel_audiotrackselection.go | 35 - ...edialive-channel_audiowatermarksettings.go | 35 - ...-channel_automaticinputfailoversettings.go | 52 - .../aws-medialive-channel_availblanking.go | 42 - ...ws-medialive-channel_availconfiguration.go | 35 - .../aws-medialive-channel_availsettings.go | 40 - .../aws-medialive-channel_blackoutslate.go | 57 - ...alive-channel_burnindestinationsettings.go | 117 - ...ws-medialive-channel_captiondescription.go | 57 - ...live-channel_captiondestinationsettings.go | 95 - .../aws-medialive-channel_captionselector.go | 47 - ...dialive-channel_captionselectorsettings.go | 65 - ...medialive-channel_cdiinputspecification.go | 37 - ...e-channel_colorspacepassthroughsettings.go | 30 - .../aws-medialive-channel_dvbnitsettings.go | 47 - ...alive-channel_dvbsubdestinationsettings.go | 117 - .../aws-medialive-channel_dvbtdtsettings.go | 37 - .../aws-medialive-channel_eac3settings.go | 132 - ...alive-channel_ebuttddestinationsettings.go | 52 - ...ive-channel_embeddeddestinationsettings.go | 30 - ...l_embeddedplusscte20destinationsettings.go | 30 - ...edialive-channel_embeddedsourcesettings.go | 52 - .../aws-medialive-channel_encodersettings.go | 90 - ...aws-medialive-channel_failovercondition.go | 35 - ...alive-channel_failoverconditionsettings.go | 45 - ...ws-medialive-channel_featureactivations.go | 37 - ...aws-medialive-channel_fecoutputsettings.go | 47 - .../aws-medialive-channel_fmp4hlssettings.go | 47 - ...dialive-channel_framecapturecdnsettings.go | 35 - ...alive-channel_framecapturegroupsettings.go | 40 - ...dialive-channel_framecapturehlssettings.go | 30 - ...live-channel_framecaptureoutputsettings.go | 37 - ...edialive-channel_framecaptures3settings.go | 37 - ...-medialive-channel_framecapturesettings.go | 42 - ...s-medialive-channel_globalconfiguration.go | 62 - ...edialive-channel_h264colorspacesettings.go | 45 - ...ws-medialive-channel_h264filtersettings.go | 35 - .../aws-medialive-channel_h264settings.go | 237 - ...edialive-channel_h265colorspacesettings.go | 50 - ...ws-medialive-channel_h265filtersettings.go | 35 - .../aws-medialive-channel_h265settings.go | 177 - ...aws-medialive-channel_hlsakamaisettings.go | 67 - ...s-medialive-channel_hlsbasicputsettings.go | 52 - .../aws-medialive-channel_hlscdnsettings.go | 55 - .../aws-medialive-channel_hlsgroupsettings.go | 242 - .../aws-medialive-channel_hlsinputsettings.go | 57 - ...medialive-channel_hlsmediastoresettings.go | 57 - ...aws-medialive-channel_hlsoutputsettings.go | 52 - .../aws-medialive-channel_hlss3settings.go | 37 - .../aws-medialive-channel_hlssettings.go | 50 - ...aws-medialive-channel_hlswebdavsettings.go | 57 - ...live-channel_htmlmotiongraphicssettings.go | 30 - .../aws-medialive-channel_inputattachment.go | 52 - ...aws-medialive-channel_inputchannellevel.go | 42 - .../aws-medialive-channel_inputlocation.go | 47 - ...aws-medialive-channel_inputlossbehavior.go | 57 - ...alive-channel_inputlossfailoversettings.go | 37 - .../aws-medialive-channel_inputsettings.go | 82 - ...ws-medialive-channel_inputspecification.go | 47 - ...s-medialive-channel_keyprovidersettings.go | 35 - .../aws-medialive-channel_m2tssettings.go | 267 - .../aws-medialive-channel_m3u8settings.go | 117 - ...live-channel_mediapackageoutputsettings.go | 30 - ...ive-channel_motiongraphicsconfiguration.go | 42 - ...edialive-channel_motiongraphicssettings.go | 35 - .../aws-medialive-channel_mp2settings.go | 47 - ...s-medialive-channel_mpeg2filtersettings.go | 35 - .../aws-medialive-channel_mpeg2settings.go | 112 - ...medialive-channel_mssmoothgroupsettings.go | 127 - ...edialive-channel_mssmoothoutputsettings.go | 42 - ...edialive-channel_multiplexgroupsettings.go | 30 - ...dialive-channel_multiplexoutputsettings.go | 35 - ...tiplexprogramchanneldestinationsettings.go | 42 - ...-medialive-channel_networkinputsettings.go | 42 - .../aws-medialive-channel_nielsencbet.go | 47 - ...-medialive-channel_nielsenconfiguration.go | 42 - .../aws-medialive-channel_nielsennaesiinw.go | 42 - ...alive-channel_nielsenwatermarkssettings.go | 47 - .../medialive/aws-medialive-channel_output.go | 57 - ...aws-medialive-channel_outputdestination.go | 52 - ...alive-channel_outputdestinationsettings.go | 52 - .../aws-medialive-channel_outputgroup.go | 47 - ...s-medialive-channel_outputgroupsettings.go | 70 - ...aws-medialive-channel_outputlocationref.go | 37 - .../aws-medialive-channel_outputsettings.go | 70 - ...s-medialive-channel_passthroughsettings.go | 30 - .../aws-medialive-channel_rawsettings.go | 30 - .../aws-medialive-channel_rec601settings.go | 30 - .../aws-medialive-channel_rec709settings.go | 30 - .../aws-medialive-channel_remixsettings.go | 47 - ...nnel_rtmpcaptioninfodestinationsettings.go | 30 - ...aws-medialive-channel_rtmpgroupsettings.go | 67 - ...ws-medialive-channel_rtmpoutputsettings.go | 52 - ...l_scte20plusembeddeddestinationsettings.go | 30 - ...-medialive-channel_scte20sourcesettings.go | 42 - ...alive-channel_scte27destinationsettings.go | 30 - ...-medialive-channel_scte27sourcesettings.go | 42 - ...ws-medialive-channel_scte35spliceinsert.go | 47 - ...-medialive-channel_scte35timesignalapos.go | 47 - ...live-channel_smptettdestinationsettings.go | 30 - ...s-medialive-channel_standardhlssettings.go | 42 - ...aws-medialive-channel_statickeysettings.go | 42 - ...ive-channel_teletextdestinationsettings.go | 30 - ...edialive-channel_teletextsourcesettings.go | 42 - ...edialive-channel_temporalfiltersettings.go | 42 - .../aws-medialive-channel_timecodeconfig.go | 42 - ...dialive-channel_ttmldestinationsettings.go | 37 - ...-medialive-channel_udpcontainersettings.go | 35 - .../aws-medialive-channel_udpgroupsettings.go | 47 - ...aws-medialive-channel_udpoutputsettings.go | 52 - ...live-channel_videoblackfailoversettings.go | 42 - ...ws-medialive-channel_videocodecsettings.go | 50 - .../aws-medialive-channel_videodescription.go | 67 - .../aws-medialive-channel_videoselector.go | 52 - ...channel_videoselectorcolorspacesettings.go | 35 - .../aws-medialive-channel_videoselectorpid.go | 37 - ...edialive-channel_videoselectorprogramid.go | 37 - ...medialive-channel_videoselectorsettings.go | 40 - ...aws-medialive-channel_vpcoutputsettings.go | 47 - .../aws-medialive-channel_wavsettings.go | 47 - ...alive-channel_webvttdestinationsettings.go | 37 - .../medialive/aws-medialive-input.go | 153 - ...medialive-input_inputdestinationrequest.go | 37 - .../aws-medialive-input_inputsourcerequest.go | 47 - .../aws-medialive-input_inputvpcrequest.go | 42 - ...medialive-input_mediaconnectflowrequest.go | 37 - .../aws-medialive-inputsecuritygroup.go | 111 - ...putsecuritygroup_inputwhitelistrulecidr.go | 37 - .../mediapackage/aws-mediapackage-asset.go | 134 - .../aws-mediapackage-asset_egressendpoint.go | 42 - .../mediapackage/aws-mediapackage-channel.go | 129 - .../aws-mediapackage-channel_hlsingest.go | 35 - ...s-mediapackage-channel_logconfiguration.go | 37 - .../aws-mediapackage-originendpoint.go | 174 - ...-mediapackage-originendpoint_adtriggers.go | 35 - ...diapackage-originendpoint_authorization.go | 42 - ...iapackage-originendpoint_cmafencryption.go | 47 - ...mediapackage-originendpoint_cmafpackage.go | 57 - ...iapackage-originendpoint_dashencryption.go | 42 - ...mediapackage-originendpoint_dashpackage.go | 107 - ...diapackage-originendpoint_hlsencryption.go | 57 - ...mediapackage-originendpoint_hlsmanifest.go | 82 - ...-mediapackage-originendpoint_hlspackage.go | 87 - ...diapackage-originendpoint_mssencryption.go | 35 - ...-mediapackage-originendpoint_msspackage.go | 52 - ...package-originendpoint_spekekeyprovider.go | 57 - ...apackage-originendpoint_streamselection.go | 47 - ...aws-mediapackage-packagingconfiguration.go | 139 - ...e-packagingconfiguration_cmafencryption.go | 35 - ...kage-packagingconfiguration_cmafpackage.go | 52 - ...e-packagingconfiguration_dashencryption.go | 35 - ...age-packagingconfiguration_dashmanifest.go | 57 - ...kage-packagingconfiguration_dashpackage.go | 62 - ...ge-packagingconfiguration_hlsencryption.go | 47 - ...kage-packagingconfiguration_hlsmanifest.go | 62 - ...ckage-packagingconfiguration_hlspackage.go | 52 - ...ge-packagingconfiguration_mssencryption.go | 35 - ...kage-packagingconfiguration_mssmanifest.go | 42 - ...ckage-packagingconfiguration_msspackage.go | 47 - ...packagingconfiguration_spekekeyprovider.go | 47 - ...-packagingconfiguration_streamselection.go | 47 - .../aws-mediapackage-packaginggroup.go | 124 - ...diapackage-packaginggroup_authorization.go | 42 - ...package-packaginggroup_logconfiguration.go | 37 - .../mediastore/aws-mediastore-container.go | 139 - .../aws-mediastore-container_corsrule.go | 57 - .../aws-mediastore-container_metricpolicy.go | 42 - ...s-mediastore-container_metricpolicyrule.go | 42 - .../memorydb/aws-memorydb-cluster.go | 219 - .../memorydb/aws-memorydb-parametergroup.go | 129 - .../memorydb/aws-memorydb-subnetgroup.go | 124 - .../memorydb/aws-memorydb-user.go | 124 - .../cloudformation/msk/aws-msk-cluster.go | 158 - .../msk/aws-msk-cluster_brokerlogs.go | 45 - .../aws-msk-cluster_brokernodegroupinfo.go | 62 - .../aws-msk-cluster_clientauthentication.go | 45 - .../msk/aws-msk-cluster_configurationinfo.go | 42 - .../msk/aws-msk-cluster_connectivityinfo.go | 35 - .../msk/aws-msk-cluster_ebsstorageinfo.go | 37 - .../msk/aws-msk-cluster_encryptionatrest.go | 37 - .../msk/aws-msk-cluster_encryptioninfo.go | 40 - .../aws-msk-cluster_encryptionintransit.go | 42 - .../msk/aws-msk-cluster_jmxexporter.go | 37 - .../msk/aws-msk-cluster_logginginfo.go | 35 - .../msk/aws-msk-cluster_nodeexporter.go | 37 - .../msk/aws-msk-cluster_openmonitoring.go | 35 - .../msk/aws-msk-cluster_prometheus.go | 40 - .../msk/aws-msk-cluster_publicaccess.go | 37 - .../msk/aws-msk-cluster_sasl.go | 40 - .../msk/aws-msk-cluster_storageinfo.go | 35 - .../cloudformation/msk/aws-msk-cluster_tls.go | 42 - .../msk/aws-msk-cluster_unauthenticated.go | 37 - .../mwaa/aws-mwaa-environment.go | 203 - ...s-mwaa-environment_loggingconfiguration.go | 55 - ...-environment_moduleloggingconfiguration.go | 47 - .../neptune/aws-neptune-dbcluster.go | 214 - .../aws-neptune-dbcluster_dbclusterrole.go | 42 - .../aws-neptune-dbclusterparametergroup.go | 129 - .../neptune/aws-neptune-dbinstance.go | 159 - .../neptune/aws-neptune-dbparametergroup.go | 129 - .../neptune/aws-neptune-dbsubnetgroup.go | 124 - .../aws-networkfirewall-firewall.go | 149 - ...-networkfirewall-firewall_subnetmapping.go | 37 - .../aws-networkfirewall-firewallpolicy.go | 124 - ...irewall-firewallpolicy_actiondefinition.go | 35 - ...orkfirewall-firewallpolicy_customaction.go | 42 - ...etworkfirewall-firewallpolicy_dimension.go | 37 - ...kfirewall-firewallpolicy_firewallpolicy.go | 67 - ...wall-firewallpolicy_publishmetricaction.go | 35 - ...ll-firewallpolicy_statefulengineoptions.go | 37 - ...rewallpolicy_statefulrulegroupreference.go | 42 - ...ewallpolicy_statelessrulegroupreference.go | 42 - ...ws-networkfirewall-loggingconfiguration.go | 118 - ...ggingconfiguration_logdestinationconfig.go | 47 - ...ggingconfiguration_loggingconfiguration.go | 35 - .../aws-networkfirewall-rulegroup.go | 134 - ...workfirewall-rulegroup_actiondefinition.go | 35 - .../aws-networkfirewall-rulegroup_address.go | 37 - ...-networkfirewall-rulegroup_customaction.go | 42 - ...aws-networkfirewall-rulegroup_dimension.go | 37 - .../aws-networkfirewall-rulegroup_header.go | 62 - .../aws-networkfirewall-rulegroup_ipset.go | 37 - ...tworkfirewall-rulegroup_matchattributes.go | 62 - .../aws-networkfirewall-rulegroup_portset.go | 37 - ...kfirewall-rulegroup_publishmetricaction.go | 35 - ...etworkfirewall-rulegroup_ruledefinition.go | 42 - ...aws-networkfirewall-rulegroup_rulegroup.go | 45 - ...ws-networkfirewall-rulegroup_ruleoption.go | 42 - ...s-networkfirewall-rulegroup_rulessource.go | 52 - ...tworkfirewall-rulegroup_rulessourcelist.go | 47 - ...networkfirewall-rulegroup_rulevariables.go | 40 - ...kfirewall-rulegroup_statefulruleoptions.go | 37 - ...networkfirewall-rulegroup_statelessrule.go | 42 - ...ulegroup_statelessrulesandcustomactions.go | 40 - ...-networkfirewall-rulegroup_tcpflagfield.go | 42 - ...tworkmanager-customergatewayassociation.go | 123 - .../aws-networkmanager-device.go | 149 - .../aws-networkmanager-device_location.go | 47 - .../aws-networkmanager-globalnetwork.go | 114 - .../networkmanager/aws-networkmanager-link.go | 139 - .../aws-networkmanager-link_bandwidth.go | 42 - .../aws-networkmanager-linkassociation.go | 118 - .../networkmanager/aws-networkmanager-site.go | 124 - ...tworkmanager-transitgatewayregistration.go | 113 - .../aws-nimblestudio-launchprofile.go | 143 - ...tudio-launchprofile_streamconfiguration.go | 52 - .../aws-nimblestudio-streamingimage.go | 128 - .../nimblestudio/aws-nimblestudio-studio.go | 133 - ...io-studio_studioencryptionconfiguration.go | 42 - .../aws-nimblestudio-studiocomponent.go | 153 - ...ponent_activedirectorycomputerattribute.go | 42 - ...ocomponent_activedirectoryconfiguration.go | 47 - ...tudiocomponent_computefarmconfiguration.go | 42 - ...iocomponent_licenseserviceconfiguration.go | 37 - ...studiocomponent_scriptparameterkeyvalue.go | 42 - ...component_sharedfilesystemconfiguration.go | 57 - ...ocomponent_studiocomponentconfiguration.go | 50 - ...ent_studiocomponentinitializationscript.go | 52 - .../aws-opensearchservice-domain.go | 179 - ...ice-domain_advancedsecurityoptionsinput.go | 47 - ...-opensearchservice-domain_clusterconfig.go | 82 - ...opensearchservice-domain_cognitooptions.go | 52 - ...rchservice-domain_domainendpointoptions.go | 57 - ...aws-opensearchservice-domain_ebsoptions.go | 52 - ...hservice-domain_encryptionatrestoptions.go | 42 - ...nsearchservice-domain_masteruseroptions.go | 47 - ...vice-domain_nodetonodeencryptionoptions.go | 37 - ...pensearchservice-domain_snapshotoptions.go | 37 - ...aws-opensearchservice-domain_vpcoptions.go | 42 - ...earchservice-domain_zoneawarenessconfig.go | 37 - .../opsworks/aws-opsworks-app.go | 163 - .../aws-opsworks-app_sslconfiguration.go | 47 - ...-opsworks-elasticloadbalancerattachment.go | 113 - .../opsworks/aws-opsworks-instance.go | 208 - ...ws-opsworks-instance_blockdevicemapping.go | 52 - .../aws-opsworks-instance_ebsblockdevice.go | 57 - ...-opsworks-instance_timebasedautoscaling.go | 67 - .../opsworks/aws-opsworks-layer.go | 199 - ...ws-opsworks-layer_autoscalingthresholds.go | 62 - ...works-layer_lifecycleeventconfiguration.go | 35 - ...aws-opsworks-layer_loadbasedautoscaling.go | 47 - .../opsworks/aws-opsworks-layer_recipes.go | 57 - ...sworks-layer_shutdowneventconfiguration.go | 42 - .../aws-opsworks-layer_volumeconfiguration.go | 67 - .../opsworks/aws-opsworks-stack.go | 229 - .../aws-opsworks-stack_chefconfiguration.go | 42 - .../opsworks/aws-opsworks-stack_elasticip.go | 42 - .../aws-opsworks-stack_rdsdbinstance.go | 47 - .../opsworks/aws-opsworks-stack_source.go | 62 - ...psworks-stack_stackconfigurationmanager.go | 42 - .../opsworks/aws-opsworks-userprofile.go | 123 - .../opsworks/aws-opsworks-volume.go | 123 - .../opsworkscm/aws-opsworkscm-server.go | 209 - .../aws-opsworkscm-server_engineattribute.go | 42 - .../aws-panorama-applicationinstance.go | 154 - ...cationinstance_manifestoverridespayload.go | 37 - ...ama-applicationinstance_manifestpayload.go | 37 - .../panorama/aws-panorama-package.go | 114 - .../panorama/aws-panorama-packageversion.go | 133 - .../pinpoint/aws-pinpoint-admchannel.go | 123 - .../pinpoint/aws-pinpoint-apnschannel.go | 148 - .../aws-pinpoint-apnssandboxchannel.go | 148 - .../pinpoint/aws-pinpoint-apnsvoipchannel.go | 148 - .../aws-pinpoint-apnsvoipsandboxchannel.go | 148 - .../aws-pinpoint-applicationsettings.go | 128 - ...npoint-applicationsettings_campaignhook.go | 47 - ...aws-pinpoint-applicationsettings_limits.go | 52 - ...-pinpoint-applicationsettings_quiettime.go | 42 - .../pinpoint/aws-pinpoint-baiduchannel.go | 123 - .../pinpoint/aws-pinpoint-campaign.go | 183 - ...ws-pinpoint-campaign_attributedimension.go | 42 - ...-pinpoint-campaign_campaignemailmessage.go | 52 - ...s-pinpoint-campaign_campaigneventfilter.go | 42 - .../aws-pinpoint-campaign_campaignhook.go | 47 - ...-pinpoint-campaign_campaigninappmessage.go | 47 - ...ws-pinpoint-campaign_campaignsmsmessage.go | 62 - ...int-campaign_defaultbuttonconfiguration.go | 62 - .../aws-pinpoint-campaign_eventdimensions.go | 45 - ...inpoint-campaign_inappmessagebodyconfig.go | 47 - ...ws-pinpoint-campaign_inappmessagebutton.go | 50 - ...s-pinpoint-campaign_inappmessagecontent.go | 62 - ...point-campaign_inappmessageheaderconfig.go | 47 - .../pinpoint/aws-pinpoint-campaign_limits.go | 57 - .../pinpoint/aws-pinpoint-campaign_message.go | 92 - ...-pinpoint-campaign_messageconfiguration.go | 70 - .../aws-pinpoint-campaign_metricdimension.go | 42 - ...nt-campaign_overridebuttonconfiguration.go | 42 - .../aws-pinpoint-campaign_quiettime.go | 42 - .../aws-pinpoint-campaign_schedule.go | 67 - .../aws-pinpoint-campaign_setdimension.go | 42 - ...inpoint-campaign_writetreatmentresource.go | 57 - .../pinpoint/aws-pinpoint-emailchannel.go | 133 - .../pinpoint/aws-pinpoint-emailtemplate.go | 138 - .../pinpoint/aws-pinpoint-eventstream.go | 118 - .../pinpoint/aws-pinpoint-gcmchannel.go | 118 - .../pinpoint/aws-pinpoint-inapptemplate.go | 133 - .../aws-pinpoint-inapptemplate_bodyconfig.go | 47 - ...aws-pinpoint-inapptemplate_buttonconfig.go | 50 - ...napptemplate_defaultbuttonconfiguration.go | 62 - ...aws-pinpoint-inapptemplate_headerconfig.go | 47 - ...point-inapptemplate_inappmessagecontent.go | 62 - ...apptemplate_overridebuttonconfiguration.go | 42 - .../pinpoint/aws-pinpoint-pushtemplate.go | 148 - ...emplate_androidpushnotificationtemplate.go | 72 - ...shtemplate_apnspushnotificationtemplate.go | 62 - ...emplate_defaultpushnotificationtemplate.go | 57 - .../pinpoint/aws-pinpoint-segment.go | 128 - ...aws-pinpoint-segment_attributedimension.go | 42 - .../pinpoint/aws-pinpoint-segment_behavior.go | 35 - .../aws-pinpoint-segment_coordinates.go | 42 - .../aws-pinpoint-segment_demographic.go | 60 - .../pinpoint/aws-pinpoint-segment_gpspoint.go | 42 - .../pinpoint/aws-pinpoint-segment_groups.go | 52 - .../pinpoint/aws-pinpoint-segment_location.go | 40 - .../pinpoint/aws-pinpoint-segment_recency.go | 42 - .../aws-pinpoint-segment_segmentdimensions.go | 60 - .../aws-pinpoint-segment_setdimension.go | 42 - .../aws-pinpoint-segment_sourcesegments.go | 42 - .../pinpoint/aws-pinpoint-smschannel.go | 123 - .../pinpoint/aws-pinpoint-smstemplate.go | 128 - .../pinpoint/aws-pinpoint-voicechannel.go | 113 - .../aws-pinpointemail-configurationset.go | 133 - ...temail-configurationset_deliveryoptions.go | 37 - ...mail-configurationset_reputationoptions.go | 37 - ...ntemail-configurationset_sendingoptions.go | 37 - ...aws-pinpointemail-configurationset_tags.go | 42 - ...temail-configurationset_trackingoptions.go | 37 - ...temail-configurationseteventdestination.go | 118 - ...teventdestination_cloudwatchdestination.go | 35 - ...eventdestination_dimensionconfiguration.go | 47 - ...ionseteventdestination_eventdestination.go | 62 - ...tdestination_kinesisfirehosedestination.go | 42 - ...seteventdestination_pinpointdestination.go | 37 - ...ationseteventdestination_snsdestination.go | 37 - .../aws-pinpointemail-dedicatedippool.go | 113 - .../aws-pinpointemail-dedicatedippool_tags.go | 42 - .../aws-pinpointemail-identity.go | 128 - ...npointemail-identity_mailfromattributes.go | 42 - .../aws-pinpointemail-identity_tags.go | 42 - .../cloudformation/qldb/aws-qldb-stream.go | 139 - .../aws-qldb-stream_kinesisconfiguration.go | 42 - .../quicksight/aws-quicksight-analysis.go | 149 - .../aws-quicksight-analysis_analysiserror.go | 42 - ...uicksight-analysis_analysissourceentity.go | 35 - ...cksight-analysis_analysissourcetemplate.go | 42 - ...ws-quicksight-analysis_datasetreference.go | 42 - ...s-quicksight-analysis_datetimeparameter.go | 42 - ...ws-quicksight-analysis_decimalparameter.go | 42 - ...ws-quicksight-analysis_integerparameter.go | 42 - .../aws-quicksight-analysis_parameters.go | 50 - ...-quicksight-analysis_resourcepermission.go | 42 - .../aws-quicksight-analysis_sheet.go | 42 - .../quicksight/aws-quicksight-dashboard.go | 154 - ...icksight-dashboard_adhocfilteringoption.go | 37 - ...sight-dashboard_dashboardpublishoptions.go | 45 - ...cksight-dashboard_dashboardsourceentity.go | 35 - ...sight-dashboard_dashboardsourcetemplate.go | 42 - ...s-quicksight-dashboard_datasetreference.go | 42 - ...-quicksight-dashboard_datetimeparameter.go | 42 - ...s-quicksight-dashboard_decimalparameter.go | 42 - ...-quicksight-dashboard_exporttocsvoption.go | 37 - ...s-quicksight-dashboard_integerparameter.go | 42 - .../aws-quicksight-dashboard_parameters.go | 50 - ...quicksight-dashboard_resourcepermission.go | 42 - ...uicksight-dashboard_sheetcontrolsoption.go | 37 - ...ws-quicksight-dashboard_stringparameter.go | 42 - .../quicksight/aws-quicksight-dataset.go | 169 - ...aws-quicksight-dataset_calculatedcolumn.go | 47 - ...cksight-dataset_castcolumntypeoperation.go | 47 - ...ws-quicksight-dataset_columndescription.go | 37 - .../aws-quicksight-dataset_columngroup.go | 35 - ...sight-dataset_columnlevelpermissionrule.go | 42 - .../aws-quicksight-dataset_columntag.go | 42 - ...icksight-dataset_createcolumnsoperation.go | 35 - .../aws-quicksight-dataset_fieldfolder.go | 42 - .../aws-quicksight-dataset_filteroperation.go | 37 - ...uicksight-dataset_geospatialcolumngroup.go | 47 - ...-quicksight-dataset_ingestionwaitpolicy.go | 42 - .../aws-quicksight-dataset_inputcolumn.go | 42 - .../aws-quicksight-dataset_joininstruction.go | 62 - ...ws-quicksight-dataset_joinkeyproperties.go | 37 - .../aws-quicksight-dataset_logicaltable.go | 47 - ...s-quicksight-dataset_logicaltablesource.go | 42 - .../aws-quicksight-dataset_outputcolumn.go | 47 - .../aws-quicksight-dataset_physicaltable.go | 45 - ...aws-quicksight-dataset_projectoperation.go | 37 - .../aws-quicksight-dataset_relationaltable.go | 57 - ...uicksight-dataset_renamecolumnoperation.go | 42 - ...s-quicksight-dataset_resourcepermission.go | 42 - ...sight-dataset_rowlevelpermissiondataset.go | 52 - .../aws-quicksight-dataset_s3source.go | 47 - ...s-quicksight-dataset_tagcolumnoperation.go | 42 - ...s-quicksight-dataset_transformoperation.go | 60 - .../aws-quicksight-dataset_uploadsettings.go | 57 - .../quicksight/aws-quicksight-datasource.go | 164 - ...atasource_amazonelasticsearchparameters.go | 37 - ...t-datasource_amazonopensearchparameters.go | 37 - ...-quicksight-datasource_athenaparameters.go | 37 - ...-quicksight-datasource_auroraparameters.go | 47 - ...t-datasource_aurorapostgresqlparameters.go | 47 - ...ws-quicksight-datasource_credentialpair.go | 47 - ...ksight-datasource_datasourcecredentials.go | 42 - ...cksight-datasource_datasourceparameters.go | 115 - ...cksight-datasource_manifestfilelocation.go | 42 - ...quicksight-datasource_mariadbparameters.go | 47 - ...s-quicksight-datasource_mysqlparameters.go | 47 - ...-quicksight-datasource_oracleparameters.go | 47 - ...cksight-datasource_postgresqlparameters.go | 47 - ...-quicksight-datasource_prestoparameters.go | 47 - ...aws-quicksight-datasource_rdsparameters.go | 42 - ...uicksight-datasource_redshiftparameters.go | 52 - ...uicksight-datasource_resourcepermission.go | 42 - .../aws-quicksight-datasource_s3parameters.go | 35 - ...icksight-datasource_snowflakeparameters.go | 47 - ...s-quicksight-datasource_sparkparameters.go | 42 - ...icksight-datasource_sqlserverparameters.go | 47 - ...aws-quicksight-datasource_sslproperties.go | 37 - ...uicksight-datasource_teradataparameters.go | 47 - ...ight-datasource_vpcconnectionproperties.go | 37 - ...ws-quicksight-template_datasetreference.go | 42 - ...-quicksight-template_resourcepermission.go | 42 - ...cksight-template_templatesourceanalysis.go | 42 - ...uicksight-template_templatesourceentity.go | 40 - ...cksight-template_templatesourcetemplate.go | 37 - .../quicksight/aws-quicksight-theme.go | 144 - .../aws-quicksight-theme_borderstyle.go | 37 - .../aws-quicksight-theme_datacolorpalette.go | 47 - .../quicksight/aws-quicksight-theme_font.go | 37 - .../aws-quicksight-theme_gutterstyle.go | 37 - .../aws-quicksight-theme_marginstyle.go | 37 - ...aws-quicksight-theme_resourcepermission.go | 42 - .../aws-quicksight-theme_sheetstyle.go | 40 - ...aws-quicksight-theme_themeconfiguration.go | 50 - .../aws-quicksight-theme_tilelayoutstyle.go | 40 - .../aws-quicksight-theme_tilestyle.go | 35 - .../aws-quicksight-theme_typography.go | 35 - .../aws-quicksight-theme_uicolorpalette.go | 112 - .../aws-rds-customdbengineversion.go} | 97 +- .../cloudformation/rds/aws-rds-dbcluster.go | 129 +- .../aws-rds-dbcluster_endpoint.go} | 16 +- .../aws-rds-dbcluster_masterusersecret.go} | 22 +- .../aws-rds-dbcluster_readendpoint.go} | 18 +- .../aws-rds-dbcluster_scalingconfiguration.go | 10 + ...uster_serverlessv2scalingconfiguration.go} | 21 +- .../rds/aws-rds-dbclusterparametergroup.go | 5 + .../cloudformation/rds/aws-rds-dbinstance.go | 238 +- .../aws-rds-dbinstance_certificatedetails.go} | 24 +- .../aws-rds-dbinstance_endpoint.go} | 21 +- .../aws-rds-dbinstance_masterusersecret.go} | 22 +- .../rds/aws-rds-dbparametergroup.go | 17 +- .../rds/aws-rds-dbproxy_authformat.go | 10 +- .../aws-rds-dbshardgroup.go} | 60 +- .../rds/aws-rds-dbsubnetgroup.go | 10 +- .../rds/aws-rds-eventsubscription.go | 11 + .../rds/aws-rds-globalcluster.go | 16 + .../aws-rds-globalcluster_globalendpoint.go} | 18 +- .../aws-rds-integration.go} | 64 +- .../cloudformation/rds/aws-rds-optiongroup.go | 7 +- ...aws-rds-optiongroup_optionconfiguration.go | 14 +- .../rds/aws-rds-optiongroup_optionsetting.go | 6 +- .../redshift/aws-redshift-cluster.go | 339 - .../aws-redshift-clusterparametergroup.go | 124 - ...edshift-clusterparametergroup_parameter.go | 42 - .../aws-redshift-clustersecuritygroup.go | 114 - ...ws-redshift-clustersecuritygroupingress.go | 123 - .../aws-redshift-clustersubnetgroup.go | 119 - .../redshift/aws-redshift-endpointaccess.go | 128 - ...edshift-endpointaccess_vpcsecuritygroup.go | 42 - .../aws-redshift-endpointauthorization.go | 123 - .../aws-redshift-eventsubscription.go | 144 - .../redshift/aws-redshift-scheduledaction.go | 143 - ...ift-scheduledaction_pauseclustermessage.go | 37 - ...ft-scheduledaction_resizeclustermessage.go | 57 - ...ft-scheduledaction_resumeclustermessage.go | 37 - ...ift-scheduledaction_scheduledactiontype.go | 45 - .../aws-refactorspaces-application.go | 134 - ...spaces-application_apigatewayproxyinput.go | 42 - .../aws-refactorspaces-environment.go | 124 - .../aws-refactorspaces-route.go | 134 - ...-refactorspaces-route_uripathrouteinput.go | 52 - .../aws-refactorspaces-service.go | 149 - ...actorspaces-service_lambdaendpointinput.go | 37 - ...refactorspaces-service_urlendpointinput.go | 42 - .../resiliencehub/aws-resiliencehub-app.go | 133 - ...ws-resiliencehub-app_physicalresourceid.go | 52 - .../aws-resiliencehub-app_resourcemapping.go | 52 - .../aws-resiliencehub-resiliencypolicy.go | 133 - ...iencehub-resiliencypolicy_failurepolicy.go | 42 - .../aws-resourcegroups-group.go | 134 - ...-resourcegroups-group_configurationitem.go | 42 - ...urcegroups-group_configurationparameter.go | 42 - .../aws-resourcegroups-group_query.go | 47 - .../aws-resourcegroups-group_resourcequery.go | 42 - .../aws-resourcegroups-group_tagfilter.go | 42 - .../robomaker/aws-robomaker-fleet.go | 113 - .../robomaker/aws-robomaker-robot.go | 128 - .../aws-robomaker-robotapplication.go | 128 - ...ker-robotapplication_robotsoftwaresuite.go | 42 - ...robomaker-robotapplication_sourceconfig.go | 47 - .../aws-robomaker-robotapplicationversion.go | 113 - .../aws-robomaker-simulationapplication.go | 143 - ...r-simulationapplication_renderingengine.go | 42 - ...imulationapplication_robotsoftwaresuite.go | 42 - ...tionapplication_simulationsoftwaresuite.go | 42 - ...aker-simulationapplication_sourceconfig.go | 47 - ...-robomaker-simulationapplicationversion.go | 113 - .../rolesanywhere/aws-rolesanywhere-crl.go | 33 +- .../aws-rolesanywhere-profile.go | 45 +- ...rolesanywhere-profile_attributemapping.go} | 24 +- .../aws-rolesanywhere-profile_mappingrule.go} | 18 +- .../aws-rolesanywhere-trustanchor.go | 27 +- ...nywhere-trustanchor_notificationsetting.go | 12 +- .../aws-rolesanywhere-trustanchor_source.go | 6 +- ...ws-rolesanywhere-trustanchor_sourcedata.go | 8 +- .../aws-route53-cidrcollection.go} | 34 +- .../aws-route53-cidrcollection_location.go} | 24 +- .../route53/aws-route53-healthcheck.go | 2 +- ...s-route53-healthcheck_healthcheckconfig.go | 5 + .../route53/aws-route53-hostedzone.go | 2 +- .../route53/aws-route53-recordset.go | 10 + ...ws-route53-recordset_cidrroutingconfig.go} | 24 +- .../aws-route53-recordset_coordinates.go} | 24 +- ...route53-recordset_geoproximitylocation.go} | 36 +- ...ute53-recordsetgroup_cidrroutingconfig.go} | 26 +- ...aws-route53-recordsetgroup_coordinates.go} | 25 +- ...53-recordsetgroup_geoproximitylocation.go} | 36 +- .../aws-route53-recordsetgroup_recordset.go | 11 +- .../aws-route53recoverycontrol-cluster.go | 114 - ...recoverycontrol-cluster_clusterendpoint.go | 42 - ...aws-route53recoverycontrol-controlpanel.go | 119 - ...s-route53recoverycontrol-routingcontrol.go | 118 - .../aws-route53recoverycontrol-safetyrule.go | 134 - ...ecoverycontrol-safetyrule_assertionrule.go | 42 - ...53recoverycontrol-safetyrule_gatingrule.go | 47 - ...53recoverycontrol-safetyrule_ruleconfig.go | 47 - .../aws-route53recoveryreadiness-cell.go | 119 - ...route53recoveryreadiness-readinesscheck.go | 119 - ...-route53recoveryreadiness-recoverygroup.go | 119 - ...ws-route53recoveryreadiness-resourceset.go | 124 - ...readiness-resourceset_dnstargetresource.go | 57 - ...coveryreadiness-resourceset_nlbresource.go | 37 - ...readiness-resourceset_r53resourcerecord.go | 42 - ...3recoveryreadiness-resourceset_resource.go | 52 - ...eryreadiness-resourceset_targetresource.go | 40 - .../aws-route53resolver-firewalldomainlist.go | 124 - .../aws-route53resolver-firewallrulegroup.go | 119 - ...resolver-firewallrulegroup_firewallrule.go | 67 - ...53resolver-firewallrulegroupassociation.go | 134 - .../aws-route53resolver-resolverconfig.go | 113 - ...ws-route53resolver-resolverdnssecconfig.go | 108 - ...olver-resolverendpoint_ipaddressrequest.go | 42 - ...te53resolver-resolverqueryloggingconfig.go | 113 - ...r-resolverqueryloggingconfigassociation.go | 113 - .../aws-route53resolver-resolverrule.go | 134 - ...te53resolver-resolverrule_targetaddress.go | 42 - ...route53resolver-resolverruleassociation.go | 118 - .../cloudformation/rum/aws-rum-appmonitor.go | 129 - ...-rum-appmonitor_appmonitorconfiguration.go | 77 - .../aws-s3-accessgrant.go} | 70 +- ...rant_accessgrantslocationconfiguration.go} | 20 +- .../aws-s3-accessgrant_grantee.go} | 24 +- .../aws-s3-accessgrantsinstance.go} | 37 +- .../aws-s3-accessgrantslocation.go} | 36 +- .../cloudformation/s3/aws-s3-accesspoint.go | 10 +- .../cloudformation/s3/aws-s3-bucket.go | 47 +- .../s3/aws-s3-bucket_corsconfiguration.go | 4 +- .../s3/aws-s3-bucket_corsrule.go | 14 +- .../aws-s3-bucket_eventbridgeconfiguration.go | 8 +- .../s3/aws-s3-bucket_filterrule.go | 6 +- .../s3/aws-s3-bucket_lambdaconfiguration.go | 8 +- .../aws-s3-bucket_lifecycleconfiguration.go | 11 +- .../s3/aws-s3-bucket_loggingconfiguration.go | 11 +- ...s-s3-bucket_metadatatableconfiguration.go} | 20 +- ...s-s3-bucket_noncurrentversionexpiration.go | 6 +- ...s-s3-bucket_noncurrentversiontransition.go | 8 +- ...aws-s3-bucket_notificationconfiguration.go | 10 +- .../s3/aws-s3-bucket_notificationfilter.go | 4 +- .../aws-s3-bucket_partitionedprefix.go} | 18 +- .../s3/aws-s3-bucket_queueconfiguration.go | 8 +- .../s3/aws-s3-bucket_redirectallrequeststo.go | 6 +- .../s3/aws-s3-bucket_redirectrule.go | 12 +- .../aws-s3-bucket_replicationdestination.go | 16 +- .../s3/aws-s3-bucket_replicationrule.go | 18 +- .../s3/aws-s3-bucket_routingrule.go | 6 +- .../s3/aws-s3-bucket_routingrulecondition.go | 6 +- .../cloudformation/s3/aws-s3-bucket_rule.go | 36 +- .../s3/aws-s3-bucket_s3keyfilter.go | 4 +- .../aws-s3-bucket_s3tablesdestination.go} | 36 +- .../aws-s3-bucket_targetobjectkeyformat.go} | 26 +- .../s3/aws-s3-bucket_topicconfiguration.go | 8 +- .../s3/aws-s3-bucket_transition.go | 10 +- .../aws-s3-bucket_versioningconfiguration.go | 4 +- .../s3/aws-s3-bucket_websiteconfiguration.go | 10 +- .../cloudformation/s3/aws-s3-bucketpolicy.go | 6 +- .../aws-s3-multiregionaccesspoint_region.go | 5 + ...tiregionaccesspointpolicy_policystatus.go} | 18 +- .../s3/aws-s3-storagelens_accountlevel.go | 20 + ...gelens_advancedcostoptimizationmetrics.go} | 18 +- ...ragelens_advanceddataprotectionmetrics.go} | 18 +- .../s3/aws-s3-storagelens_bucketlevel.go | 15 + ...storagelens_detailedstatuscodesmetrics.go} | 18 +- .../s3/aws-s3-storagelens_encryption.go | 10 + .../aws-s3-storagelens_ssekms.go} | 18 +- ...s-s3-storagelens_storagelensgrouplevel.go} | 18 +- ...lens_storagelensgroupselectioncriteria.go} | 24 +- .../aws-s3-storagelensgroup.go} | 32 +- .../aws-s3-storagelensgroup_and.go} | 48 +- .../aws-s3-storagelensgroup_filter.go} | 54 +- ...aws-s3-storagelensgroup_matchobjectage.go} | 24 +- ...ws-s3-storagelensgroup_matchobjectsize.go} | 24 +- .../aws-s3-storagelensgroup_or.go} | 43 +- .../aws-s3objectlambda-accesspoint.go | 113 - ...a-accesspoint_objectlambdaconfiguration.go | 52 - ...accesspoint_transformationconfiguration.go | 42 - .../s3outposts/aws-s3outposts-accesspoint.go | 123 - ...s3outposts-accesspoint_vpcconfiguration.go | 37 - .../s3outposts/aws-s3outposts-bucket.go | 124 - ...s-bucket_abortincompletemultipartupload.go | 37 - ...3outposts-bucket_lifecycleconfiguration.go | 35 - .../s3outposts/aws-s3outposts-bucket_rule.go | 62 - .../s3outposts/aws-s3outposts-endpoint.go | 128 - ...ws-s3outposts-endpoint_networkinterface.go | 37 - .../sagemaker/aws-sagemaker-app.go | 134 - .../aws-sagemaker-app_resourcespec.go | 47 - .../sagemaker/aws-sagemaker-appimageconfig.go | 119 - ...gemaker-appimageconfig_filesystemconfig.go | 47 - ...appimageconfig_kernelgatewayimageconfig.go | 40 - ...aws-sagemaker-appimageconfig_kernelspec.go | 42 - .../sagemaker/aws-sagemaker-coderepository.go | 119 - .../aws-sagemaker-coderepository_gitconfig.go | 47 - .../aws-sagemaker-dataqualityjobdefinition.go | 154 - ...-dataqualityjobdefinition_clusterconfig.go | 52 - ...ualityjobdefinition_constraintsresource.go | 37 - ...bdefinition_dataqualityappspecification.go | 62 - ...jobdefinition_dataqualitybaselineconfig.go | 47 - ...ualityjobdefinition_dataqualityjobinput.go | 35 - ...-dataqualityjobdefinition_endpointinput.go | 52 - ...taqualityjobdefinition_monitoringoutput.go | 35 - ...ityjobdefinition_monitoringoutputconfig.go | 42 - ...ualityjobdefinition_monitoringresources.go | 35 - ...-dataqualityjobdefinition_networkconfig.go | 47 - ...maker-dataqualityjobdefinition_s3output.go | 47 - ...aqualityjobdefinition_stoppingcondition.go | 37 - ...aker-dataqualityjobdefinition_vpcconfig.go | 42 - .../sagemaker/aws-sagemaker-device.go | 119 - .../sagemaker/aws-sagemaker-device_device.go | 47 - ...-sagemaker-devicefleet_edgeoutputconfig.go | 42 - .../sagemaker/aws-sagemaker-domain.go | 144 - .../aws-sagemaker-domain_customimage.go | 47 - ...gemaker-domain_jupyterserverappsettings.go | 35 - ...gemaker-domain_kernelgatewayappsettings.go | 40 - .../aws-sagemaker-domain_resourcespec.go | 47 - .../aws-sagemaker-domain_sharingsettings.go | 47 - .../aws-sagemaker-domain_usersettings.go | 57 - .../sagemaker/aws-sagemaker-endpoint.go | 139 - .../sagemaker/aws-sagemaker-endpoint_alarm.go | 37 - ...s-sagemaker-endpoint_autorollbackconfig.go | 35 - ...agemaker-endpoint_bluegreenupdatepolicy.go | 47 - .../aws-sagemaker-endpoint_capacitysize.go | 42 - ...aws-sagemaker-endpoint_deploymentconfig.go | 40 - ...sagemaker-endpoint_trafficroutingconfig.go | 52 - .../aws-sagemaker-endpoint_variantproperty.go | 37 - .../sagemaker/aws-sagemaker-endpointconfig.go | 134 - ...dpointconfig_asyncinferenceclientconfig.go | 37 - ...ker-endpointconfig_asyncinferenceconfig.go | 40 - ...config_asyncinferencenotificationconfig.go | 42 - ...dpointconfig_asyncinferenceoutputconfig.go | 47 - ...endpointconfig_capturecontenttypeheader.go | 42 - ...emaker-endpointconfig_datacaptureconfig.go | 62 - ...emaker-endpointconfig_productionvariant.go | 67 - ...gemaker-endpointconfig_serverlessconfig.go | 42 - .../sagemaker/aws-sagemaker-featuregroup.go | 149 - ...agemaker-featuregroup_featuredefinition.go | 42 - .../sagemaker/aws-sagemaker-image.go | 129 - .../sagemaker/aws-sagemaker-imageversion.go | 113 - .../sagemaker/aws-sagemaker-model.go | 144 - ...aws-sagemaker-model_containerdefinition.go | 77 - .../aws-sagemaker-model_imageconfig.go | 42 - ...agemaker-model_inferenceexecutionconfig.go | 37 - .../aws-sagemaker-model_multimodelconfig.go | 37 - ...ws-sagemaker-model_repositoryauthconfig.go | 37 - .../aws-sagemaker-model_vpcconfig.go | 42 - .../aws-sagemaker-modelbiasjobdefinition.go | 154 - ...er-modelbiasjobdefinition_clusterconfig.go | 52 - ...er-modelbiasjobdefinition_endpointinput.go | 82 - ...jobdefinition_modelbiasappspecification.go | 47 - ...asjobdefinition_modelbiasbaselineconfig.go | 42 - ...odelbiasjobdefinition_modelbiasjobinput.go | 40 - ...modelbiasjobdefinition_monitoringoutput.go | 35 - ...iasjobdefinition_monitoringoutputconfig.go | 42 - ...elbiasjobdefinition_monitoringresources.go | 35 - ...er-modelbiasjobdefinition_networkconfig.go | 47 - ...gemaker-modelbiasjobdefinition_s3output.go | 47 - ...odelbiasjobdefinition_stoppingcondition.go | 37 - ...emaker-modelbiasjobdefinition_vpcconfig.go | 42 - ...emaker-modelexplainabilityjobdefinition.go | 154 - ...plainabilityjobdefinition_clusterconfig.go | 52 - ...plainabilityjobdefinition_endpointinput.go | 67 - ...ion_modelexplainabilityappspecification.go | 47 - ...ition_modelexplainabilitybaselineconfig.go | 42 - ...bdefinition_modelexplainabilityjobinput.go | 35 - ...inabilityjobdefinition_monitoringoutput.go | 35 - ...ityjobdefinition_monitoringoutputconfig.go | 42 - ...bilityjobdefinition_monitoringresources.go | 35 - ...plainabilityjobdefinition_networkconfig.go | 47 - ...delexplainabilityjobdefinition_s3output.go | 47 - ...nabilityjobdefinition_stoppingcondition.go | 37 - ...elexplainabilityjobdefinition_vpcconfig.go | 42 - .../aws-sagemaker-modelpackagegroup.go | 124 - ...aws-sagemaker-modelqualityjobdefinition.go | 154 - ...modelqualityjobdefinition_clusterconfig.go | 52 - ...ualityjobdefinition_constraintsresource.go | 37 - ...modelqualityjobdefinition_endpointinput.go | 77 - ...definition_modelqualityappspecification.go | 67 - ...alityjobdefinition_modelqualityjobinput.go | 40 - ...definition_monitoringgroundtruths3input.go | 37 - ...elqualityjobdefinition_monitoringoutput.go | 35 - ...ityjobdefinition_monitoringoutputconfig.go | 42 - ...ualityjobdefinition_monitoringresources.go | 35 - ...modelqualityjobdefinition_networkconfig.go | 47 - ...aker-modelqualityjobdefinition_s3output.go | 47 - ...lqualityjobdefinition_stoppingcondition.go | 37 - ...ker-modelqualityjobdefinition_vpcconfig.go | 42 - .../aws-sagemaker-monitoringschedule.go | 139 - ...maker-monitoringschedule_baselineconfig.go | 40 - ...emaker-monitoringschedule_clusterconfig.go | 52 - ...emaker-monitoringschedule_endpointinput.go | 52 - ...agemaker-monitoringschedule_environment.go | 30 - ...ringschedule_monitoringappspecification.go | 57 - ...ringschedule_monitoringexecutionsummary.go | 72 - ...aker-monitoringschedule_monitoringinput.go | 35 - ...ker-monitoringschedule_monitoringinputs.go | 35 - ...itoringschedule_monitoringjobdefinition.go | 77 - ...ker-monitoringschedule_monitoringoutput.go | 35 - ...nitoringschedule_monitoringoutputconfig.go | 42 - ...-monitoringschedule_monitoringresources.go | 35 - ...toringschedule_monitoringscheduleconfig.go | 52 - ...emaker-monitoringschedule_networkconfig.go | 47 - ...maker-monitoringschedule_scheduleconfig.go | 37 - ...er-monitoringschedule_stoppingcondition.go | 37 - ...-sagemaker-monitoringschedule_vpcconfig.go | 42 - ...gemaker-notebookinstancelifecycleconfig.go | 118 - ...cleconfig_notebookinstancelifecyclehook.go | 37 - .../sagemaker/aws-sagemaker-pipeline.go | 134 - .../sagemaker/aws-sagemaker-project.go | 124 - .../sagemaker/aws-sagemaker-userprofile.go | 134 - .../aws-sagemaker-userprofile_customimage.go | 47 - ...er-userprofile_jupyterserverappsettings.go | 35 - ...er-userprofile_kernelgatewayappsettings.go | 40 - .../aws-sagemaker-userprofile_resourcespec.go | 47 - ...s-sagemaker-userprofile_sharingsettings.go | 47 - .../aws-sagemaker-userprofile_usersettings.go | 57 - .../sagemaker/aws-sagemaker-workteam.go | 129 - ...emaker-workteam_cognitomemberdefinition.go | 47 - ...aws-sagemaker-workteam_memberdefinition.go | 35 - ...aker-workteam_notificationconfiguration.go | 37 - .../aws-secretsmanager-resourcepolicy.go | 118 - .../aws-secretsmanager-rotationschedule.go | 123 - ...r-rotationschedule_hostedrotationlambda.go | 77 - ...smanager-rotationschedule_rotationrules.go | 37 - .../aws-secretsmanager-secret.go | 139 - ...retsmanager-secret_generatesecretstring.go | 82 - ...s-secretsmanager-secrettargetattachment.go | 118 - .../securityhub/aws-securityhub-hub.go | 106 - ...s-servicecatalog-acceptedportfolioshare.go | 113 - ...ws-servicecatalog-cloudformationproduct.go | 159 - ...nproduct_provisioningartifactproperties.go | 52 - ...atalog-cloudformationprovisionedproduct.go | 164 - ...rovisionedproduct_provisioningparameter.go | 42 - ...visionedproduct_provisioningpreferences.go | 67 - ...icecatalog-launchnotificationconstraint.go | 128 - ...aws-servicecatalog-launchroleconstraint.go | 133 - ...servicecatalog-launchtemplateconstraint.go | 128 - .../aws-servicecatalog-portfolio.go | 129 - ...cecatalog-portfolioprincipalassociation.go | 123 - ...vicecatalog-portfolioproductassociation.go | 123 - .../aws-servicecatalog-portfolioshare.go | 123 - ...servicecatalog-resourceupdateconstraint.go | 128 - .../aws-servicecatalog-serviceaction.go | 128 - ...talog-serviceaction_definitionparameter.go | 42 - ...servicecatalog-serviceactionassociation.go | 118 - .../aws-servicecatalog-stacksetconstraint.go | 148 - .../aws-servicecatalog-tagoption.go | 118 - ...aws-servicecatalog-tagoptionassociation.go | 113 - ...s-servicecatalogappregistry-application.go | 118 - ...ervicecatalogappregistry-attributegroup.go | 123 - ...ogappregistry-attributegroupassociation.go | 113 - ...ecatalogappregistry-resourceassociation.go | 118 - .../aws-servicediscovery-httpnamespace.go | 119 - .../aws-servicediscovery-instance.go | 118 - ...ws-servicediscovery-privatednsnamespace.go | 129 - ...nsnamespace_privatednspropertiesmutable.go | 35 - ...iscovery-privatednsnamespace_properties.go | 35 - ...ervicediscovery-privatednsnamespace_soa.go | 37 - ...aws-servicediscovery-publicdnsnamespace.go | 124 - ...discovery-publicdnsnamespace_properties.go | 35 - ...dnsnamespace_publicdnspropertiesmutable.go | 35 - .../aws-servicediscovery-service.go | 144 - .../aws-servicediscovery-service_dnsconfig.go | 47 - .../aws-servicediscovery-service_dnsrecord.go | 42 - ...vicediscovery-service_healthcheckconfig.go | 47 - ...scovery-service_healthcheckcustomconfig.go | 37 - .../ses/aws-ses-configurationset.go | 108 - ...ws-ses-configurationseteventdestination.go | 113 - ...teventdestination_cloudwatchdestination.go | 35 - ...eventdestination_dimensionconfiguration.go | 47 - ...ionseteventdestination_eventdestination.go | 57 - ...tdestination_kinesisfirehosedestination.go | 42 - .../ses/aws-ses-contactlist_topic.go | 52 - .../ses/aws-ses-receiptfilter.go | 106 - .../ses/aws-ses-receiptfilter_filter.go | 42 - .../ses/aws-ses-receiptfilter_ipfilter.go | 42 - .../cloudformation/ses/aws-ses-receiptrule.go | 118 - .../ses/aws-ses-receiptrule_action.go | 65 - .../aws-ses-receiptrule_addheaderaction.go | 42 - .../ses/aws-ses-receiptrule_bounceaction.go | 57 - .../ses/aws-ses-receiptrule_lambdaaction.go | 47 - .../ses/aws-ses-receiptrule_rule.go | 62 - .../ses/aws-ses-receiptrule_snsaction.go | 42 - .../ses/aws-ses-receiptrule_stopaction.go | 42 - .../ses/aws-ses-receiptrule_workmailaction.go | 42 - .../ses/aws-ses-receiptruleset.go | 108 - .../cloudformation/ses/aws-ses-template.go | 106 - .../ses/aws-ses-template_template.go | 52 - .../signer/aws-signer-profilepermission.go | 128 - .../signer/aws-signer-signingprofile.go | 119 - ...-signingprofile_signaturevalidityperiod.go | 42 - .../sns/aws-sns-subscription.go | 16 +- .../cloudformation/sns/aws-sns-topic.go | 46 +- .../aws-sns-topic_loggingconfig.go} | 40 +- .../sns/aws-sns-topic_subscription.go | 6 +- .../aws-sns-topicinlinepolicy.go} | 32 +- .../cloudformation/sns/aws-sns-topicpolicy.go | 6 +- .../cloudformation/sqs/aws-sqs-queue.go | 37 +- .../aws-sqs-queueinlinepolicy.go} | 34 +- .../cloudformation/ssm/aws-ssm-association.go | 183 - ...ation_instanceassociationoutputlocation.go | 35 - .../aws-ssm-association_parametervalues.go | 37 - .../aws-ssm-association_s3outputlocation.go | 47 - .../ssm/aws-ssm-association_target.go | 42 - .../cloudformation/ssm/aws-ssm-document.go | 149 - .../ssm/aws-ssm-document_attachmentssource.go | 47 - .../ssm/aws-ssm-document_documentrequires.go | 42 - .../ssm/aws-ssm-maintenancewindow.go | 159 - .../ssm/aws-ssm-maintenancewindowtarget.go | 133 - ...aws-ssm-maintenancewindowtarget_targets.go | 42 - .../ssm/aws-ssm-maintenancewindowtask.go | 173 - ...s-ssm-maintenancewindowtask_logginginfo.go | 47 - ...k_maintenancewindowautomationparameters.go | 42 - ...wtask_maintenancewindowlambdaparameters.go | 47 - ...k_maintenancewindowruncommandparameters.go | 77 - ...aintenancewindowstepfunctionsparameters.go | 42 - ...aintenancewindowtask_notificationconfig.go | 47 - .../aws-ssm-maintenancewindowtask_target.go | 42 - ...ancewindowtask_taskinvocationparameters.go | 50 - .../cloudformation/ssm/aws-ssm-parameter.go | 148 - .../ssm/aws-ssm-patchbaseline.go | 169 - .../aws-ssm-patchbaseline_patchfiltergroup.go | 35 - .../ssm/aws-ssm-patchbaseline_patchsource.go | 47 - .../aws-ssm-patchbaseline_patchstringdate.go | 30 - .../ssm/aws-ssm-patchbaseline_rule.go | 57 - .../ssm/aws-ssm-patchbaseline_rulegroup.go | 35 - .../ssm/aws-ssm-resourcedatasync.go | 148 - ...resourcedatasync_awsorganizationssource.go | 42 - .../aws-ssm-resourcedatasync_s3destination.go | 57 - .../aws-ssm-resourcedatasync_syncsource.go | 52 - .../ssmcontacts/aws-ssmcontacts-contact.go | 123 - ...s-ssmcontacts-contact_channeltargetinfo.go | 42 - ...s-ssmcontacts-contact_contacttargetinfo.go | 42 - .../aws-ssmcontacts-contact_stage.go | 42 - .../aws-ssmcontacts-contact_targets.go | 40 - .../aws-ssmcontacts-contactchannel.go | 128 - .../aws-ssmincidents-replicationset.go | 113 - ...ents-replicationset_regionconfiguration.go | 37 - ...idents-replicationset_replicationregion.go | 42 - .../aws-ssmincidents-responseplan.go | 139 - .../aws-ssmincidents-responseplan_action.go | 35 - ...s-ssmincidents-responseplan_chatchannel.go | 37 - ...incidents-responseplan_incidenttemplate.go | 57 - ...nts-responseplan_notificationtargetitem.go | 37 - ...ssmincidents-responseplan_ssmautomation.go | 57 - ...-ssmincidents-responseplan_ssmparameter.go | 42 - .../cloudformation/sso/aws-sso-assignment.go | 133 - ...anceaccesscontrolattributeconfiguration.go | 113 - ...uteconfiguration_accesscontrolattribute.go | 42 - ...nfiguration_accesscontrolattributevalue.go | 37 - .../sso/aws-sso-permissionset.go | 144 - .../aws-stepfunctions-activity.go | 113 - .../aws-stepfunctions-activity_tagsentry.go | 42 - .../aws-stepfunctions-statemachine.go | 153 - ...ons-statemachine_cloudwatchlogsloggroup.go | 37 - ...s-stepfunctions-statemachine_definition.go | 30 - ...ns-statemachine_definitionsubstitutions.go | 30 - ...epfunctions-statemachine_logdestination.go | 35 - ...tions-statemachine_loggingconfiguration.go | 47 - ...s-stepfunctions-statemachine_s3location.go | 47 - ...ws-stepfunctions-statemachine_tagsentry.go | 42 - ...tions-statemachine_tracingconfiguration.go | 37 - .../synthetics/aws-synthetics-canary.go | 174 - .../aws-synthetics-canary_artifactconfig.go | 35 - .../aws-synthetics-canary_basescreenshot.go | 42 - .../aws-synthetics-canary_runconfig.go | 52 - .../aws-synthetics-canary_schedule.go | 42 - .../aws-synthetics-canary_vpcconfig.go | 47 - pkg/goformation/cloudformation/tags/tag.go | 68 - .../timestream/aws-timestream-database.go | 119 - .../aws-timestream-scheduledquery.go | 154 - ...estream-scheduledquery_dimensionmapping.go | 42 - ...scheduledquery_errorreportconfiguration.go | 35 - ...ream-scheduledquery_mixedmeasuremapping.go | 57 - ...duledquery_multimeasureattributemapping.go | 47 - ...eam-scheduledquery_multimeasuremappings.go | 42 - ...cheduledquery_notificationconfiguration.go | 35 - ...mestream-scheduledquery_s3configuration.go | 47 - ...am-scheduledquery_scheduleconfiguration.go | 37 - ...estream-scheduledquery_snsconfiguration.go | 37 - ...ream-scheduledquery_targetconfiguration.go | 35 - ...-scheduledquery_timestreamconfiguration.go | 67 - .../timestream/aws-timestream-table.go | 124 - .../transfer/aws-transfer-server.go | 164 - ...transfer-server_identityproviderdetails.go | 52 - .../transfer/aws-transfer-server_protocol.go | 30 - .../aws-transfer-server_protocoldetails.go | 37 - .../aws-transfer-server_securitygroupid.go | 30 - .../aws-transfer-server_workflowdetail.go | 42 - .../transfer/aws-transfer-user.go | 154 - ...aws-transfer-user_homedirectorymapentry.go | 42 - .../aws-transfer-user_posixprofile.go | 47 - .../aws-transfer-user_sshpublickey.go | 30 - .../transfer/aws-transfer-workflow.go | 124 - .../aws-transfer-workflow_workflowstep.go | 57 - .../waf/aws-waf-bytematchset.go | 113 - .../aws-waf-bytematchset_bytematchtuple.go | 57 - .../waf/aws-waf-bytematchset_fieldtomatch.go | 42 - .../cloudformation/waf/aws-waf-ipset.go | 113 - .../waf/aws-waf-ipset_ipsetdescriptor.go | 42 - .../cloudformation/waf/aws-waf-rule.go | 118 - .../waf/aws-waf-rule_predicate.go | 47 - .../waf/aws-waf-sizeconstraintset.go | 113 - .../aws-waf-sizeconstraintset_fieldtomatch.go | 42 - ...ws-waf-sizeconstraintset_sizeconstraint.go | 52 - .../waf/aws-waf-sqlinjectionmatchset.go | 113 - ...s-waf-sqlinjectionmatchset_fieldtomatch.go | 42 - ...njectionmatchset_sqlinjectionmatchtuple.go | 42 - .../cloudformation/waf/aws-waf-webacl.go | 123 - .../waf/aws-waf-webacl_activatedrule.go | 47 - .../waf/aws-waf-webacl_wafaction.go | 37 - .../cloudformation/waf/aws-waf-xssmatchset.go | 113 - .../waf/aws-waf-xssmatchset_fieldtomatch.go | 42 - .../waf/aws-waf-xssmatchset_xssmatchtuple.go | 42 - .../aws-wafregional-bytematchset.go | 113 - ...wafregional-bytematchset_bytematchtuple.go | 57 - ...s-wafregional-bytematchset_fieldtomatch.go | 42 - .../aws-wafregional-geomatchset.go | 113 - ...regional-geomatchset_geomatchconstraint.go | 42 - .../wafregional/aws-wafregional-ipset.go | 113 - .../aws-wafregional-ipset_ipsetdescriptor.go | 42 - .../aws-wafregional-ratebasedrule.go | 128 - ...aws-wafregional-ratebasedrule_predicate.go | 47 - .../aws-wafregional-regexpatternset.go | 113 - .../wafregional/aws-wafregional-rule.go | 118 - .../aws-wafregional-rule_predicate.go | 47 - .../aws-wafregional-sizeconstraintset.go | 113 - ...regional-sizeconstraintset_fieldtomatch.go | 42 - ...gional-sizeconstraintset_sizeconstraint.go | 52 - .../aws-wafregional-sqlinjectionmatchset.go | 113 - ...ional-sqlinjectionmatchset_fieldtomatch.go | 42 - ...njectionmatchset_sqlinjectionmatchtuple.go | 42 - .../wafregional/aws-wafregional-webacl.go | 123 - .../aws-wafregional-webacl_action.go | 37 - .../aws-wafregional-webaclassociation.go | 113 - .../aws-wafregional-xssmatchset.go | 113 - ...ws-wafregional-xssmatchset_fieldtomatch.go | 42 - ...s-wafregional-xssmatchset_xssmatchtuple.go | 42 - .../cloudformation/wafv2/aws-wafv2-ipset.go | 134 - .../wafv2/aws-wafv2-loggingconfiguration.go | 123 - ...wafv2-loggingconfiguration_fieldtomatch.go | 55 - .../wafv2/aws-wafv2-regexpatternset.go | 129 - .../wafv2/aws-wafv2-rulegroup_andstatement.go | 35 - .../aws-wafv2-rulegroup_andstatementone.go | 35 - .../aws-wafv2-rulegroup_andstatementtwo.go | 35 - .../aws-wafv2-rulegroup_bytematchstatement.go | 57 - .../aws-wafv2-rulegroup_customresponsebody.go | 42 - .../wafv2/aws-wafv2-rulegroup_fieldtomatch.go | 70 - ...afv2-rulegroup_forwardedipconfiguration.go | 42 - .../aws-wafv2-rulegroup_geomatchstatement.go | 42 - ...wafv2-rulegroup_ipsetreferencestatement.go | 42 - .../wafv2/aws-wafv2-rulegroup_jsonbody.go | 47 - .../aws-wafv2-rulegroup_jsonmatchpattern.go | 42 - .../wafv2/aws-wafv2-rulegroup_label.go | 37 - ...aws-wafv2-rulegroup_labelmatchstatement.go | 42 - .../aws-wafv2-rulegroup_notstatementone.go | 35 - .../aws-wafv2-rulegroup_notstatementtwo.go | 35 - .../wafv2/aws-wafv2-rulegroup_orstatement.go | 35 - .../aws-wafv2-rulegroup_orstatementone.go | 35 - .../aws-wafv2-rulegroup_orstatementtwo.go | 35 - .../aws-wafv2-rulegroup_ratebasedstatement.go | 52 - ...s-wafv2-rulegroup_ratebasedstatementone.go | 52 - ...s-wafv2-rulegroup_ratebasedstatementtwo.go | 52 - ...group_regexpatternsetreferencestatement.go | 47 - .../wafv2/aws-wafv2-rulegroup_rule.go | 62 - .../wafv2/aws-wafv2-rulegroup_ruleaction.go | 45 - ...wafv2-rulegroup_sizeconstraintstatement.go | 52 - .../aws-wafv2-rulegroup_sqlimatchstatement.go | 40 - .../wafv2/aws-wafv2-rulegroup_statement.go | 90 - .../wafv2/aws-wafv2-rulegroup_statementone.go | 85 - .../aws-wafv2-rulegroup_statementthree.go | 65 - .../wafv2/aws-wafv2-rulegroup_statementtwo.go | 85 - .../aws-wafv2-rulegroup_texttransformation.go | 42 - .../aws-wafv2-rulegroup_visibilityconfig.go | 47 - .../aws-wafv2-rulegroup_xssmatchstatement.go | 40 - .../cloudformation/wafv2/aws-wafv2-webacl.go | 144 - .../wafv2/aws-wafv2-webacl_allowaction.go | 35 - .../wafv2/aws-wafv2-webacl_andstatement.go | 35 - .../wafv2/aws-wafv2-webacl_andstatementone.go | 35 - .../wafv2/aws-wafv2-webacl_andstatementtwo.go | 35 - .../wafv2/aws-wafv2-webacl_blockaction.go | 35 - .../aws-wafv2-webacl_bytematchstatement.go | 57 - .../wafv2/aws-wafv2-webacl_countaction.go | 35 - .../aws-wafv2-webacl_customhttpheader.go | 42 - .../aws-wafv2-webacl_customrequesthandling.go | 35 - .../wafv2/aws-wafv2-webacl_customresponse.go | 47 - .../aws-wafv2-webacl_customresponsebody.go | 42 - .../wafv2/aws-wafv2-webacl_defaultaction.go | 40 - .../wafv2/aws-wafv2-webacl_excludedrule.go | 37 - .../wafv2/aws-wafv2-webacl_fieldtomatch.go | 70 - ...s-wafv2-webacl_forwardedipconfiguration.go | 42 - .../aws-wafv2-webacl_geomatchstatement.go | 42 - ...v2-webacl_ipsetforwardedipconfiguration.go | 47 - ...ws-wafv2-webacl_ipsetreferencestatement.go | 42 - .../wafv2/aws-wafv2-webacl_jsonbody.go | 47 - .../aws-wafv2-webacl_jsonmatchpattern.go | 42 - .../wafv2/aws-wafv2-webacl_label.go | 37 - .../aws-wafv2-webacl_labelmatchstatement.go | 42 - ...-wafv2-webacl_managedrulegroupstatement.go | 57 - .../wafv2/aws-wafv2-webacl_notstatementone.go | 35 - .../wafv2/aws-wafv2-webacl_notstatementtwo.go | 35 - .../wafv2/aws-wafv2-webacl_orstatement.go | 35 - .../wafv2/aws-wafv2-webacl_orstatementone.go | 35 - .../wafv2/aws-wafv2-webacl_orstatementtwo.go | 35 - .../wafv2/aws-wafv2-webacl_overrideaction.go | 40 - .../aws-wafv2-webacl_ratebasedstatement.go | 52 - .../aws-wafv2-webacl_ratebasedstatementone.go | 52 - .../aws-wafv2-webacl_ratebasedstatementtwo.go | 52 - ...ebacl_regexpatternsetreferencestatement.go | 47 - .../wafv2/aws-wafv2-webacl_rule.go | 67 - .../wafv2/aws-wafv2-webacl_ruleaction.go | 45 - ...afv2-webacl_rulegroupreferencestatement.go | 42 - ...ws-wafv2-webacl_sizeconstraintstatement.go | 52 - .../aws-wafv2-webacl_sqlimatchstatement.go | 40 - .../wafv2/aws-wafv2-webacl_statement.go | 100 - .../wafv2/aws-wafv2-webacl_statementone.go | 95 - .../wafv2/aws-wafv2-webacl_statementthree.go | 75 - .../wafv2/aws-wafv2-webacl_statementtwo.go | 95 - .../aws-wafv2-webacl_texttransformation.go | 42 - .../aws-wafv2-webacl_visibilityconfig.go | 47 - .../aws-wafv2-webacl_xssmatchstatement.go | 40 - .../wafv2/aws-wafv2-webaclassociation.go | 113 - .../wisdom/aws-wisdom-assistant.go | 129 - .../wisdom/aws-wisdom-assistantassociation.go | 124 - .../wisdom/aws-wisdom-knowledgebase.go | 139 - ...wledgebase_appintegrationsconfiguration.go | 42 - ...om-knowledgebase_renderingconfiguration.go | 37 - ...ebase_serversideencryptionconfiguration.go | 37 - ...isdom-knowledgebase_sourceconfiguration.go | 35 - .../aws-workspaces-connectionalias.go | 114 - ...nectionalias_connectionaliasassociation.go | 52 - .../workspaces/aws-workspaces-workspace.go | 144 - ...orkspaces-workspace_workspaceproperties.go | 57 - .../aws-xray-group_insightsconfiguration.go | 42 - .../xray/aws-xray-samplingrule.go | 128 - .../aws-xray-samplingrule_samplingrule.go | 97 - ...ws-xray-samplingrule_samplingrulerecord.go | 47 - ...ws-xray-samplingrule_samplingruleupdate.go | 92 - pkg/goformation/schema/cloudformation.go | 118927 ++------------ .../schema/cloudformation.schema.json | 118927 ++------------ pkg/goformation/schema/sam.go | 120907 ++------------- pkg/goformation/schema/sam.schema.json | 120907 ++------------- 3402 files changed, 61928 insertions(+), 643457 deletions(-) delete mode 100644 pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_archiverule.go delete mode 100644 pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_filter.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_apipassthrough.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_edipartyname.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extendedkeyusage.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extensions.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_generalname.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_keyusage.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_othername.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyinformation.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyqualifierinfo.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_subject.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessdescription.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessmethod.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_crlconfiguration.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_csrextensions.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_edipartyname.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_generalname.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_keyusage.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_ocspconfiguration.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_othername.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_revocationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_subject.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthorityactivation.go delete mode 100644 pkg/goformation/cloudformation/acmpca/aws-acmpca-permission.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_configurationid.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_ldapservermetadata.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_maintenancewindow.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_user.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation.go delete mode 100644 pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation_configurationid.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-app.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-app_autobranchcreationconfig.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-app_basicauthconfig.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-app_customrule.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-branch_basicauthconfig.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-branch_environmentvariable.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-domain.go delete mode 100644 pkg/goformation/cloudformation/amplify/aws-amplify-domain_subdomainsetting.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalue.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalueproperties.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentchild.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentconditionproperty.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentdataconfiguration.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverrides.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverridesvalue.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperties.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperty.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentpropertybindingproperties.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariant.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariantvalues.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_formbindings.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_predicate.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_sortproperty.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme.go delete mode 100644 pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalues.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-account.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-authorizer.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-basepathmapping.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-clientcertificate.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_accesslogsetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_canarysetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_deploymentcanarysettings.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_methodsetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_stagedescription.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart_location.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationversion.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_mutualtlsauthentication.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-gatewayresponse.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-method.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integration.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integrationresponse.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-method_methodresponse.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-model.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-requestvalidator.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-resource.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_endpointconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-stage.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_accesslogsetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_canarysetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_methodsetting.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_apistage.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_quotasettings.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_throttlesettings.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplankey.go delete mode 100644 pkg/goformation/cloudformation/apigateway/aws-apigateway-vpclink.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_bodys3location.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_accesslogsettings.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_integrationoverrides.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routeoverrides.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routesettings.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_stageoverrides.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apimapping.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer_jwtconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_domainnameconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_mutualtlsauthentication.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameter.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameterlist.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_tlsconfig.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integrationresponse.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-model.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route_parameterconstraints.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse_parameterconstraints.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_accesslogsettings.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_routesettings.go delete mode 100644 pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-vpclink.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-application.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_validators.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy_tags.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-environment.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_monitors.go delete mode 100644 pkg/goformation/cloudformation/appconfig/aws-appconfig-hostedconfigurationversion.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_amplitudeconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectoroauthrequest.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_googleanalyticsconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_oauthproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_singularconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_trendmicroconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofilecredentials.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofileproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_amplitudesourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_connectoroperator.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationconnectorproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationflowconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_dynatracesourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_errorhandlingconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_eventbridgedestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_infornexussourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_lookoutmetricsdestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_marketosourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_prefixconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_redshiftdestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3destinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3inputformatconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3outputformatconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3sourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcedestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcesourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_sapodatasourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_servicenowsourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_singularsourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_snowflakedestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceconnectorproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceflowconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_task.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_taskpropertiesobject.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_trendmicrosourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_triggerconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolverdestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolvers3outputformatconfig.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_veevasourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendeskdestinationproperties.go delete mode 100644 pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendesksourceproperties.go delete mode 100644 pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration.go delete mode 100644 pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventfilter.go delete mode 100644 pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventintegrationassociation.go delete mode 100644 pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_metadata.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scheduledaction.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_suspendedstate.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_customizedmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_metricdimension.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_predefinedmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepadjustment.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepscalingpolicyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_targettrackingscalingpolicyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarm.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarmmetric.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentmonitoringsetting.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_configurationdetails.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_customcomponent.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_jmxprometheusexporter.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_log.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpatternset.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponentconfigurationdetails.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponenttypeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_windowsevent.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamerewrite.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutemetadatamatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayrouterangematch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutespec.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutetarget.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutevirtualservice.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouteaction.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutematch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutemetadata.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouterewrite.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteaction.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheader.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheadermatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutematch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutepathrewrite.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouterewrite.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httppathmatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpqueryparametermatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_queryparameter.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcretrypolicy.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcrouteaction.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutematch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadata.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadatamatchmethod.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpctimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_headermatchmethod.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httppathmatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpqueryparametermatch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpretrypolicy.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteaction.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteheader.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproutematch.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httptimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_matchrange.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_queryparameter.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_routespec.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcproute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-route_weightedtarget.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenames.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayaccesslog.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicy.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicytls.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclienttlscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayconnectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayfileaccesslog.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaygrpcconnectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhealthcheckpolicy.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttp2connectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttpconnectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistener.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertls.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsacmcertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsfilecertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlssdscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontext.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontexttrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylogging.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayportmapping.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayspec.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontext.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextacmtrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextfiletrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextsdstrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontexttrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapinstanceattribute.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapservicediscovery.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backend.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backenddefaults.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicy.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicytls.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clienttlscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_dnsservicediscovery.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_duration.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_grpctimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_healthcheck.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_httptimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listener.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertls.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsacmcertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlssdscertificate.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontext.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontexttrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_logging.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_outlierdetection.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_portmapping.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_servicediscovery.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenamematchers.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenames.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tcptimeout.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontext.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextacmtrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextfiletrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontexttrust.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodeconnectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttp2connectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttpconnectionpool.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodespec.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualservicebackend.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_portmapping.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterlistener.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterspec.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualnodeserviceprovider.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualrouterserviceprovider.go delete mode 100644 pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualserviceprovider.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_authenticationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfigurationvalues.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_coderepository.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_encryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_healthcheckconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imageconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imagerepository.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_instanceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_keyvaluepair.go delete mode 100644 pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-appblock.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-appblock_s3location.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-appblock_scriptdetails.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-application.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-application_s3location.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-applicationfleetassociation.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig_serviceaccountcredentials.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-fleet.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-fleet_computecapacity.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-fleet_domainjoininfo.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-fleet_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_accessendpoint.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_domainjoininfo.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stack.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stack_accessendpoint.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stack_applicationsettings.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stack_storageconnector.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stack_usersetting.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stackfleetassociation.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-stackuserassociation.go delete mode 100644 pkg/goformation/cloudformation/appstream/aws-appstream-user.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-apicache.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-apikey.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_authorizationconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_awsiamconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_deltasyncconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_dynamodbconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_elasticsearchconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_httpconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_opensearchserviceconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_rdshttpendpointconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-datasource_relationaldatabaseconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_lambdaconflicthandlerconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_syncconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationprovider.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationproviders.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_cognitouserpoolconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_lambdaauthorizerconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_logconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_openidconnectconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_tags.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_userpoolconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-graphqlschema.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-resolver.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-resolver_cachingconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-resolver_lambdaconflicthandlerconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-resolver_pipelineconfig.go delete mode 100644 pkg/goformation/cloudformation/appsync/aws-appsync-resolver_syncconfig.go delete mode 100644 pkg/goformation/cloudformation/aps/aws-aps-rulegroupsnamespace.go delete mode 100644 pkg/goformation/cloudformation/ask/alexa-ask-skill.go delete mode 100644 pkg/goformation/cloudformation/ask/alexa-ask-skill_authenticationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ask/alexa-ask-skill_skillpackage.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-datacatalog.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-datacatalog_tags.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-namedquery.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-preparedstatement.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_encryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_engineversion.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfiguration.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfigurationupdates.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_tags.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfiguration.go delete mode 100644 pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfigurationupdates.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_assessmentreportsdestination.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsaccount.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsservice.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_delegation.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_role.go delete mode 100644 pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_scope.go rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_mediapackageoutputdestinationsettings.go => autoscaling/aws-autoscaling-autoscalinggroup_availabilityzonedistribution.go} (60%) rename pkg/goformation/cloudformation/{fis/aws-fis-experimenttemplate_experimenttemplatetargetfilter.go => autoscaling/aws-autoscaling-autoscalinggroup_availabilityzoneimpairmentpolicy.go} (53%) rename pkg/goformation/cloudformation/{wafv2/aws-wafv2-rulegroup_notstatement.go => autoscaling/aws-autoscaling-autoscalinggroup_baselineperformancefactorsrequest.go} (61%) rename pkg/goformation/cloudformation/{wafv2/aws-wafv2-rulegroup_ipsetforwardedipconfiguration.go => autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationspecification.go} (52%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualitybaselineconfig.go => autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationtarget.go} (55%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualgateway_virtualgatewaybackenddefaults.go => autoscaling/aws-autoscaling-autoscalinggroup_cpuperformancefactorrequest.go} (60%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-gatewayroute_httpgatewayrouteprefixrewrite.go => autoscaling/aws-autoscaling-autoscalinggroup_instancemaintenancepolicy.go} (55%) rename pkg/goformation/cloudformation/{amazonmq/aws-amazonmq-broker_loglist.go => autoscaling/aws-autoscaling-autoscalinggroup_networkbandwidthgbpsrequest.go} (57%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-endpointconfig_captureoption.go => autoscaling/aws-autoscaling-autoscalinggroup_performancefactorreferencerequest.go} (61%) rename pkg/goformation/cloudformation/{apprunner/aws-apprunner-service_sourcecodeversion.go => autoscaling/aws-autoscaling-autoscalinggroup_trafficsourceidentifier.go} (61%) delete mode 100644 pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoption.go rename pkg/goformation/cloudformation/{lookoutmetrics/aws-lookoutmetrics-anomalydetector_metric.go => autoscaling/aws-autoscaling-scalingpolicy_metric.go} (64%) rename pkg/goformation/cloudformation/{greengrass/aws-greengrass-loggerdefinitionversion_logger.go => autoscaling/aws-autoscaling-scalingpolicy_metricdataquery.go} (51%) rename pkg/goformation/cloudformation/{databrew/aws-databrew-ruleset_threshold.go => autoscaling/aws-autoscaling-scalingpolicy_metricstat.go} (61%) rename pkg/goformation/cloudformation/{transfer/aws-transfer-server_workflowdetails.go => autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedcapacitymetric.go} (59%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringgroundtruths3input.go => autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedloadmetric.go} (58%) rename pkg/goformation/cloudformation/{ssm/aws-ssm-patchbaseline_patchfilter.go => autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedscalingmetric.go} (58%) create mode 100644 pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricdataquery.go rename pkg/goformation/cloudformation/{iotsitewise/aws-iotsitewise-assetmodel_propertytype.go => autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricstat.go} (52%) rename pkg/goformation/cloudformation/{gamelift/aws-gamelift-gamesessionqueue_destination.go => autoscaling/aws-autoscaling-warmpool_instancereusepolicy.go} (66%) delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_applicationsource.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedloadmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedscalingmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_metricdimension.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedloadmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedscalingmetricspecification.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_scalinginstruction.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_tagfilter.go delete mode 100644 pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_targettrackingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan_advancedbackupsettingresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupplanresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupruleresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan_copyactionresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupplan_lifecycleresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupselection.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupselection_backupselectionresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupselection_conditionresourcetype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupvault.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupvault_lockconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-backupvault_notificationobjecttype.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-framework.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-framework_controlinputparameter.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-framework_frameworkcontrol.go delete mode 100644 pkg/goformation/cloudformation/backup/aws-backup-reportplan.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-computeenvironment.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_computeresources.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_ec2configurationobject.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_authorizationconfig.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_containerproperties.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_device.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_efsvolumeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_environment.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_evaluateonexit.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_fargateplatformconfiguration.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_linuxparameters.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_logconfiguration.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_mountpoints.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_networkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_nodeproperties.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_noderangeproperty.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_resourcerequirement.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_retrystrategy.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_secret.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_timeout.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_tmpfs.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_ulimit.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumes.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobqueue.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-jobqueue_computeenvironmentorder.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_fairsharepolicy.go delete mode 100644 pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_shareattributes.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_budgetdata.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_costtypes.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_notification.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_notificationwithsubscribers.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_spend.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_subscriber.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budget_timeperiod.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_actionthreshold.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_definition.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_iamactiondefinition.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_scpactiondefinition.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_ssmactiondefinition.go delete mode 100644 pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_subscriber.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-keyspace.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-table.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-table_billingmode.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-table_clusteringkeycolumn.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-table_column.go delete mode 100644 pkg/goformation/cloudformation/cassandra/aws-cassandra-table_provisionedthroughput.go delete mode 100644 pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription.go delete mode 100644 pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription_subscriber.go delete mode 100644 pkg/goformation/cloudformation/ce/aws-ce-costcategory.go delete mode 100644 pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account.go delete mode 100644 pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account_expiryeventsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate.go delete mode 100644 pkg/goformation/cloudformation/chatbot/aws-chatbot-slackchannelconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2.go rename pkg/goformation/cloudformation/{connect/aws-connect-user.go => cloudformation/aws-cloudformation-guardhook.go} (63%) rename pkg/goformation/cloudformation/{networkfirewall/aws-networkfirewall-rulegroup_statefulrule.go => cloudformation/aws-cloudformation-guardhook_hooktarget.go} (61%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-route_tcptimeout.go => cloudformation/aws-cloudformation-guardhook_options.go} (67%) rename pkg/goformation/cloudformation/{codebuild/aws-codebuild-project_sourceauth.go => cloudformation/aws-cloudformation-guardhook_s3location.go} (63%) rename pkg/goformation/cloudformation/{iot/aws-iot-topicrule_stepfunctionsaction.go => cloudformation/aws-cloudformation-guardhook_stackfilters.go} (57%) rename pkg/goformation/cloudformation/{pinpoint/aws-pinpoint-segment_segmentgroups.go => cloudformation/aws-cloudformation-guardhook_stacknames.go} (67%) rename pkg/goformation/cloudformation/{amplifyuibuilder/aws-amplifyuibuilder-theme_themevalue.go => cloudformation/aws-cloudformation-guardhook_stackroles.go} (63%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-taskdefinition_volume.go => cloudformation/aws-cloudformation-guardhook_targetfilters.go} (53%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-mesh.go => cloudformation/aws-cloudformation-hookdefaultversion.go} (75%) rename pkg/goformation/cloudformation/{location/aws-location-map.go => cloudformation/aws-cloudformation-hooktypeconfig.go} (73%) rename pkg/goformation/cloudformation/{ce/aws-ce-anomalymonitor.go => cloudformation/aws-cloudformation-hookversion.go} (73%) rename pkg/goformation/cloudformation/{iot/aws-iot-topicrule_cloudwatchlogsaction.go => cloudformation/aws-cloudformation-hookversion_loggingconfig.go} (63%) rename pkg/goformation/cloudformation/{codepipeline/aws-codepipeline-webhook.go => cloudformation/aws-cloudformation-lambdahook.go} (66%) rename pkg/goformation/cloudformation/{wafregional/aws-wafregional-webacl_rule.go => cloudformation/aws-cloudformation-lambdahook_hooktarget.go} (59%) rename pkg/goformation/cloudformation/{applicationinsights/aws-applicationinsights-application_logpattern.go => cloudformation/aws-cloudformation-lambdahook_stackfilters.go} (56%) rename pkg/goformation/cloudformation/{glue/aws-glue-crawler_catalogtarget.go => cloudformation/aws-cloudformation-lambdahook_stacknames.go} (62%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_hdr10settings.go => cloudformation/aws-cloudformation-lambdahook_stackroles.go} (62%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_captionrectangle.go => cloudformation/aws-cloudformation-lambdahook_targetfilters.go} (53%) rename pkg/goformation/cloudformation/{batch/aws-batch-jobdefinition_volumeshost.go => cloudformation/aws-cloudformation-stackset_managedexecution.go} (67%) delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cachepolicyconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cookiesconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_headersconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_parametersincachekeyandforwardedtoorigin.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_querystringsconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity_cloudfrontoriginaccessidentityconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cachebehavior.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cookies.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customerrorresponse.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customoriginconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_defaultcachebehavior.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_forwardedvalues.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_functionassociation.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_georestriction.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_lambdafunctionassociation.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacycustomorigin.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_logging.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origin.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origincustomheader.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroup.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupfailovercriteria.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmember.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmembers.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_originshield.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_restrictions.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_s3originconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_statuscodes.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_viewercertificate.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionmetadata.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_cookiesconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_headersconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_originrequestpolicyconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_querystringsconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey_publickeyconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_endpoint.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_kinesisstreamconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowheaders.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowmethods.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolalloworigins.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolexposeheaders.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contentsecuritypolicy.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_corsconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheader.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheadersconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_frameoptions.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_referrerpolicy.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_responseheaderspolicyconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_securityheadersconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_stricttransportsecurity.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_xssprotection.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_logging.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_s3origin.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_streamingdistributionconfig.go delete mode 100644 pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_trustedsigners.go delete mode 100644 pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail.go delete mode 100644 pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_dataresource.go delete mode 100644 pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_eventselector.go delete mode 100644 pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_insightselector.go rename pkg/goformation/cloudformation/{kendra/aws-kendra-index_serversideencryptionconfiguration.go => cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go} (66%) rename pkg/goformation/cloudformation/{cloudfront/aws-cloudfront-distribution_origingroups.go => cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsconfiguration.go} (54%) rename pkg/goformation/cloudformation/{cloudfront/aws-cloudfront-distribution_legacys3origin.go => cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsmetric.go} (59%) delete mode 100644 pkg/goformation/cloudformation/codeartifact/aws-codeartifact-domain.go delete mode 100644 pkg/goformation/cloudformation/codeartifact/aws-codeartifact-repository.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_artifacts.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_batchrestrictions.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_buildstatusconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_cloudwatchlogsconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environment.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environmentvariable.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_filtergroup.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_gitsubmodulesconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_logsconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectbuildbatchconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectcache.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectfilesystemlocation.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projecttriggers.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_registrycredential.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_s3logsconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_source.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-project_webhookfilter.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_reportexportconfig.go delete mode 100644 pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_s3reportexportconfig.go delete mode 100644 pkg/goformation/cloudformation/codecommit/aws-codecommit-repository.go delete mode 100644 pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_code.go delete mode 100644 pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_repositorytrigger.go delete mode 100644 pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_s3.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_minimumhealthyhosts.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedcanary.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedlinear.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_trafficroutingconfig.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarm.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarmconfiguration.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_autorollbackconfiguration.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_bluegreendeploymentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_blueinstanceterminationoption.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deployment.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentreadyoption.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentstyle.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagfilter.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagset.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagsetlistobject.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ecsservice.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_elbinfo.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_githublocation.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_greenfleetprovisioningoption.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_loadbalancerinfo.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagset.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagsetlistobject.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_revisionlocation.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_s3location.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_tagfilter.go delete mode 100644 pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_triggerconfig.go delete mode 100644 pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup.go delete mode 100644 pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup_channel.go delete mode 100644 pkg/goformation/cloudformation/codegurureviewer/aws-codegurureviewer-repositoryassociation.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_artifactdetails.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_configurationproperties.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_settings.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiondeclaration.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiontypeid.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstore.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstoremap.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_encryptionkey.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_inputartifact.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_outputartifact.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagedeclaration.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagetransition.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookauthconfiguration.go delete mode 100644 pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookfilterrule.go delete mode 100644 pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository.go delete mode 100644 pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_code.go delete mode 100644 pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_s3.go delete mode 100644 pkg/goformation/cloudformation/codestarconnections/aws-codestarconnections-connection.go delete mode 100644 pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule.go delete mode 100644 pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule_target.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypool.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitoidentityprovider.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitostreams.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_pushsync.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_mappingrule.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rolemapping.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rulesconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_admincreateuserconfig.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customemailsender.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customsmssender.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_deviceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_emailconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_invitemessagetemplate.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_lambdaconfig.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_numberattributeconstraints.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_passwordpolicy.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_policies.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_recoveryoption.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_schemaattribute.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_smsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_stringattributeconstraints.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_usernameconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_userpooladdons.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpool_verificationmessagetemplate.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_analyticsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_tokenvalidityunits.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain_customdomainconfigtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolgroup.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolidentityprovider.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver_resourceserverscopetype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractionstype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractiontype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoverriskconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsactionstype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsriskconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyemailtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_riskexceptionconfigurationtype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpooluicustomizationattachment.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser_attributetype.go delete mode 100644 pkg/goformation/cloudformation/cognito/aws-cognito-userpoolusertogroupattachment.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configrule.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configrule_source.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configrule_sourcedetail.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configurationaggregator.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configurationaggregator_accountaggregationsource.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configurationaggregator_organizationaggregationsource.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configurationrecorder.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-configurationrecorder_recordinggroup.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-conformancepack.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-conformancepack_conformancepackinputparameter.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-deliverychannel.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-deliverychannel_configsnapshotdeliveryproperties.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-organizationconfigrule.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationcustomrulemetadata.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationmanagedrulemetadata.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-organizationconformancepack.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-organizationconformancepack_conformancepackinputparameter.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-remediationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_executioncontrols.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_remediationparametervalue.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_ssmcontrols.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_staticvalue.go delete mode 100644 pkg/goformation/cloudformation/config/aws-config-storedquery.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-contactflow.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-contactflowmodule.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationtimeslice.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-quickconnect.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-quickconnect_phonenumberquickconnectconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-quickconnect_queuequickconnectconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-quickconnect_quickconnectconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-quickconnect_userquickconnectconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-user_useridentityinfo.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-user_userphoneconfig.go delete mode 100644 pkg/goformation/cloudformation/connect/aws-connect-userhierarchygroup.go delete mode 100644 pkg/goformation/cloudformation/cur/aws-cur-reportdefinition.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-domain.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_connectoroperator.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_flowdefinition.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_incrementalpullconfig.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_marketosourceproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_s3sourceproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_salesforcesourceproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_scheduledtriggerproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_servicenowsourceproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceconnectorproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceflowconfig.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_task.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_taskpropertiesmap.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerconfig.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_zendesksourceproperties.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_fieldmap.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_keymap.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypefield.go delete mode 100644 pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypekey.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_csvoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_databaseinputdefinition.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datacataloginputdefinition.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datasetparameter.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datetimeoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_exceloptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_fileslimit.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filterexpression.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filtervalue.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_formatoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_input.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_jsonoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_metadata.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathparameter.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-dataset_s3location.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_columnselector.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_columnstatisticsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_csvoutputoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_databaseoutput.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_databasetableoutputoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_datacatalogoutput.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_entitydetectorconfiguration.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_jobsample.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_output.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_outputformatoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_outputlocation.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_parametermap.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_profileconfiguration.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_recipe.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_s3location.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_s3tableoutputoptions.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticoverride.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-job_validationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-project.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-project_sample.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_conditionexpression.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_datacataloginputdefinition.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_parametermap.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipeparameters.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipestep.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_s3location.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-recipe_secondaryinput.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-ruleset.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_columnselector.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_rule.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_substitutionvalue.go delete mode 100644 pkg/goformation/cloudformation/databrew/aws-databrew-schedule.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_field.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterattribute.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parametervalue.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelineobject.go delete mode 100644 pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelinetag.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-agent.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationefs.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationefs_ec2config.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationfsxwindows.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_qopconfiguration.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationobjectstorage.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locations3.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locations3_s3config.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb_mountoptions.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-task.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-task_filterrule.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-task_options.go delete mode 100644 pkg/goformation/cloudformation/datasync/aws-datasync-task_taskschedule.go delete mode 100644 pkg/goformation/cloudformation/dax/aws-dax-cluster.go delete mode 100644 pkg/goformation/cloudformation/dax/aws-dax-cluster_ssespecification.go delete mode 100644 pkg/goformation/cloudformation/dax/aws-dax-parametergroup.go delete mode 100644 pkg/goformation/cloudformation/dax/aws-dax-subnetgroup.go delete mode 100644 pkg/goformation/cloudformation/detective/aws-detective-graph.go delete mode 100644 pkg/goformation/cloudformation/detective/aws-detective-memberinvitation.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_notificationchannelconfig.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_snschannelconfig.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_cloudformationcollectionfilter.go delete mode 100644 pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_resourcecollectionfilter.go delete mode 100644 pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad.go delete mode 100644 pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad_vpcsettings.go delete mode 100644 pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead.go delete mode 100644 pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead_vpcsettings.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_action.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_createrule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyaction.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopydeprecaterule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyretainrule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyrule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_deprecaterule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_encryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventparameters.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_fastrestorerule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_parameters.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_policydetails.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_retainrule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_schedule.go delete mode 100644 pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_sharerule.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-certificate.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_docdbsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_dynamodbsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_elasticsearchsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_ibmdb2settings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_kafkasettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_kinesissettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_microsoftsqlserversettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_mongodbsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_mysqlsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_neptunesettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_oraclesettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_redissettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_redshiftsettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_s3settings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-endpoint_sybasesettings.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-eventsubscription.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-replicationinstance.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-replicationsubnetgroup.go delete mode 100644 pkg/goformation/cloudformation/dms/aws-dms-replicationtask.go delete mode 100644 pkg/goformation/cloudformation/docdb/aws-docdb-dbcluster.go delete mode 100644 pkg/goformation/cloudformation/docdb/aws-docdb-dbclusterparametergroup.go delete mode 100644 pkg/goformation/cloudformation/docdb/aws-docdb-dbsubnetgroup.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_attributedefinition.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_capacityautoscalingsettings.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_contributorinsightsspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_globalsecondaryindex.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_keyschema.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_localsecondaryindex.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_pointintimerecoveryspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_projection.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_readprovisionedthroughputsettings.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaglobalsecondaryindexspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicassespecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_ssespecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_streamspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_targettrackingscalingpolicyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_timetolivespecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_writeprovisionedthroughputsettings.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_attributedefinition.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_contributorinsightsspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_globalsecondaryindex.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_keyschema.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_kinesisstreamspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_localsecondaryindex.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_pointintimerecoveryspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_projection.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_provisionedthroughput.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_ssespecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_streamspecification.go delete mode 100644 pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_timetolivespecification.go rename pkg/goformation/cloudformation/{msk/aws-msk-cluster_s3.go => ec2/aws-ec2-clientvpnendpoint_clientloginbanneroptions.go} (63%) rename pkg/goformation/cloudformation/{iot/aws-iot-thing_attributepayload.go => ec2/aws-ec2-ec2fleet_baselineperformancefactorsrequest.go} (62%) rename pkg/goformation/cloudformation/{guardduty/aws-guardduty-detector_cfndatasourceconfigurations.go => ec2/aws-ec2-ec2fleet_cpuperformancefactorrequest.go} (63%) rename pkg/goformation/cloudformation/{synthetics/aws-synthetics-canary_visualreference.go => ec2/aws-ec2-ec2fleet_networkbandwidthgbpsrequest.go} (62%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-modelbiasjobdefinition_constraintsresource.go => ec2/aws-ec2-ec2fleet_performancefactorreferencerequest.go} (64%) rename pkg/goformation/cloudformation/{cloudfront/aws-cloudfront-keygroup_keygroupconfig.go => ec2/aws-ec2-flowlog_destinationoptions.go} (58%) delete mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-instance_nodevice.go rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_captionlanguagemapping.go => ec2/aws-ec2-instance_privatednsnameoptions.go} (54%) rename pkg/goformation/cloudformation/{lightsail/aws-lightsail-instance_state.go => ec2/aws-ec2-instance_state.go} (80%) rename pkg/goformation/cloudformation/{route53resolver/aws-route53resolver-resolverendpoint.go => ec2/aws-ec2-instanceconnectendpoint.go} (74%) rename pkg/goformation/cloudformation/{wisdom/aws-wisdom-assistantassociation_associationdata.go => ec2/aws-ec2-ipam_ipamorganizationalunitexclusion.go} (64%) rename pkg/goformation/cloudformation/{quicksight/aws-quicksight-dataset_customsql.go => ec2/aws-ec2-ipampool_sourceresource.go} (55%) rename pkg/goformation/cloudformation/{glue/aws-glue-registry.go => ec2/aws-ec2-ipampoolcidr.go} (79%) rename pkg/goformation/cloudformation/{ses/aws-ses-contactlist.go => ec2/aws-ec2-ipamresourcediscovery.go} (75%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_virtualnodegrpcconnectionpool.go => ec2/aws-ec2-ipamresourcediscovery_ipamoperatingregion.go} (64%) rename pkg/goformation/cloudformation/{codebuild/aws-codebuild-project_projectsourceversion.go => ec2/aws-ec2-ipamresourcediscovery_ipamresourcediscoveryorganizationalunitexclusion.go} (58%) rename pkg/goformation/cloudformation/{config/aws-config-aggregationauthorization.go => ec2/aws-ec2-ipamresourcediscoveryassociation.go} (75%) rename pkg/goformation/cloudformation/{qldb/aws-qldb-ledger.go => ec2/aws-ec2-keypair.go} (78%) rename pkg/goformation/cloudformation/ec2/{aws-ec2-carriergateway_tags.go => aws-ec2-launchtemplate_baselineperformancefactors.go} (64%) rename pkg/goformation/cloudformation/{batch/aws-batch-computeenvironment_launchtemplatespecification.go => ec2/aws-ec2-launchtemplate_connectiontrackingspecification.go} (53%) rename pkg/goformation/cloudformation/{ask/alexa-ask-skill_overrides.go => ec2/aws-ec2-launchtemplate_cpu.go} (69%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_audiohlsrenditionselection.go => ec2/aws-ec2-launchtemplate_enasrdspecification.go} (59%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-monitoringschedule_statisticsresource.go => ec2/aws-ec2-launchtemplate_enasrdudpspecification.go} (65%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancerequirements.go rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-monitoringschedule_constraintsresource.go => ec2/aws-ec2-launchtemplate_ipv4prefixspecification.go} (65%) rename pkg/goformation/cloudformation/{codedeploy/aws-codedeploy-deploymentgroup_targetgroupinfo.go => ec2/aws-ec2-launchtemplate_ipv6prefixspecification.go} (65%) rename pkg/goformation/cloudformation/{appflow/aws-appflow-flow_aggregationconfig.go => ec2/aws-ec2-launchtemplate_maintenanceoptions.go} (66%) rename pkg/goformation/cloudformation/{groundstation/aws-groundstation-config_frequencybandwidth.go => ec2/aws-ec2-launchtemplate_networkbandwidthgbps.go} (62%) rename pkg/goformation/cloudformation/{elasticsearch/aws-elasticsearch-domain_masteruseroptions.go => ec2/aws-ec2-launchtemplate_privatednsnameoptions.go} (54%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-input_inputdevicerequest.go => ec2/aws-ec2-launchtemplate_reference.go} (69%) rename pkg/goformation/cloudformation/{iot/aws-iot-dimension.go => ec2/aws-ec2-localgatewayroutetable.go} (78%) rename pkg/goformation/cloudformation/{customerprofiles/aws-customerprofiles-integration.go => ec2/aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.go} (69%) rename pkg/goformation/cloudformation/{codedeploy/aws-codedeploy-application.go => ec2/aws-ec2-networkinsightsaccessscope.go} (75%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_archivegroupsettings.go => ec2/aws-ec2-networkinsightsaccessscope_accessscopepathrequest.go} (50%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_packetheaderstatementrequest.go rename pkg/goformation/cloudformation/{databrew/aws-databrew-recipe_action.go => ec2/aws-ec2-networkinsightsaccessscope_pathstatementrequest.go} (53%) rename pkg/goformation/cloudformation/{fsx/aws-fsx-filesystem_diskiopsconfiguration.go => ec2/aws-ec2-networkinsightsaccessscope_resourcestatementrequest.go} (56%) rename pkg/goformation/cloudformation/ec2/{aws-ec2-localgatewayroutetablevpcassociation_tags.go => aws-ec2-networkinsightsaccessscope_throughresourcesstatementrequest.go} (56%) rename pkg/goformation/cloudformation/{frauddetector/aws-frauddetector-entitytype.go => ec2/aws-ec2-networkinsightsaccessscopeanalysis.go} (77%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_dvbsdtsettings.go => ec2/aws-ec2-networkinsightsanalysis_additionaldetail.go} (53%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_transitgatewayroutetableroute.go rename pkg/goformation/cloudformation/{networkfirewall/aws-networkfirewall-rulegroup_portrange.go => ec2/aws-ec2-networkinsightspath_filterportrange.go} (63%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_archiveoutputsettings.go => ec2/aws-ec2-networkinsightspath_pathfilter.go} (55%) rename pkg/goformation/cloudformation/{certificatemanager/aws-certificatemanager-certificate_domainvalidationoption.go => ec2/aws-ec2-networkinterface_connectiontrackingspecification.go} (53%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_tlsvalidationcontextsdstrust.go => ec2/aws-ec2-networkinterface_ipv4prefixspecification.go} (64%) rename pkg/goformation/cloudformation/{cloudfront/aws-cloudfront-responseheaderspolicy_contenttypeoptions.go => ec2/aws-ec2-networkinterface_ipv6prefixspecification.go} (64%) rename pkg/goformation/cloudformation/{glue/aws-glue-datacatalogencryptionsettings_encryptionatrest.go => ec2/aws-ec2-networkinterfaceattachment_enasrdspecification.go} (56%) rename pkg/goformation/cloudformation/{iot/aws-iot-accountauditconfiguration_auditcheckconfiguration.go => ec2/aws-ec2-networkinterfaceattachment_enasrdudpspecification.go} (63%) rename pkg/goformation/cloudformation/{lookoutmetrics/aws-lookoutmetrics-alert.go => ec2/aws-ec2-networkperformancemetricsubscription.go} (70%) rename pkg/goformation/cloudformation/{fms/aws-fms-notificationchannel.go => ec2/aws-ec2-securitygroupvpcassociation.go} (78%) rename pkg/goformation/cloudformation/{rekognition/aws-rekognition-project.go => ec2/aws-ec2-snapshotblockpublicaccess.go} (81%) rename pkg/goformation/cloudformation/{appflow/aws-appflow-flow_incrementalpullconfig.go => ec2/aws-ec2-spotfleet_baselineperformancefactorsrequest.go} (64%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualservice_virtualservicespec.go => ec2/aws-ec2-spotfleet_cpuperformancefactorrequest.go} (63%) rename pkg/goformation/cloudformation/{macie/aws-macie-findingsfilter_findingsfilterlistitem.go => ec2/aws-ec2-spotfleet_networkbandwidthgbpsrequest.go} (61%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-dataqualityjobdefinition_statisticsresource.go => ec2/aws-ec2-spotfleet_performancefactorreferencerequest.go} (64%) rename pkg/goformation/cloudformation/{config/aws-config-configrule_scope.go => ec2/aws-ec2-transitgatewayattachment_options.go} (51%) rename pkg/goformation/cloudformation/{glue/aws-glue-table_skewedinfo.go => ec2/aws-ec2-transitgatewaymulticastdomain_options.go} (55%) rename pkg/goformation/cloudformation/{quicksight/aws-quicksight-datasource_datasourceerrorinfo.go => ec2/aws-ec2-transitgatewaypeeringattachment_peeringattachmentstatus.go} (60%) delete mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_transitgatewaypeeringattachmentoptions.go rename pkg/goformation/cloudformation/{lakeformation/aws-lakeformation-permissions_tableresource.go => ec2/aws-ec2-transitgatewayvpcattachment_options.go} (51%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-notebookinstance.go => ec2/aws-ec2-verifiedaccessendpoint.go} (55%) rename pkg/goformation/cloudformation/{iot/aws-iot-topicruledestination_vpcdestinationproperties.go => ec2/aws-ec2-verifiedaccessendpoint_cidroptions.go} (54%) rename pkg/goformation/cloudformation/{transfer/aws-transfer-server_endpointdetails.go => ec2/aws-ec2-verifiedaccessendpoint_loadbalanceroptions.go} (51%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-taskset_serviceregistry.go => ec2/aws-ec2-verifiedaccessendpoint_networkinterfaceoptions.go} (52%) rename pkg/goformation/cloudformation/{globalaccelerator/aws-globalaccelerator-listener_portrange.go => ec2/aws-ec2-verifiedaccessendpoint_portrange.go} (64%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_rdsoptions.go rename pkg/goformation/cloudformation/{synthetics/aws-synthetics-canary_s3encryption.go => ec2/aws-ec2-verifiedaccessendpoint_ssespecification.go} (62%) rename pkg/goformation/cloudformation/{iotwireless/aws-iotwireless-multicastgroup.go => ec2/aws-ec2-verifiedaccessgroup.go} (72%) rename pkg/goformation/cloudformation/{glue/aws-glue-securityconfiguration_s3encryption.go => ec2/aws-ec2-verifiedaccessgroup_ssespecification.go} (63%) rename pkg/goformation/cloudformation/{apigateway/aws-apigateway-apikey.go => ec2/aws-ec2-verifiedaccessinstance.go} (67%) rename pkg/goformation/cloudformation/{msk/aws-msk-cluster_cloudwatchlogs.go => ec2/aws-ec2-verifiedaccessinstance_cloudwatchlogs.go} (65%) rename pkg/goformation/cloudformation/{msk/aws-msk-cluster_firehose.go => ec2/aws-ec2-verifiedaccessinstance_kinesisdatafirehose.go} (64%) rename pkg/goformation/cloudformation/{ses/aws-ses-receiptrule_s3action.go => ec2/aws-ec2-verifiedaccessinstance_s3.go} (59%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesslogs.go create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesstrustprovider.go rename pkg/goformation/cloudformation/{amplify/aws-amplify-branch.go => ec2/aws-ec2-verifiedaccesstrustprovider.go} (61%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamematch.go => ec2/aws-ec2-verifiedaccesstrustprovider_deviceoptions.go} (60%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_nativeapplicationoidcoptions.go create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_oidcoptions.go rename pkg/goformation/cloudformation/{glue/aws-glue-securityconfiguration_jobbookmarksencryption.go => ec2/aws-ec2-verifiedaccesstrustprovider_ssespecification.go} (61%) rename pkg/goformation/cloudformation/{accessanalyzer/aws-accessanalyzer-analyzer.go => ec2/aws-ec2-vpcblockpublicaccessexclusion.go} (73%) rename pkg/goformation/cloudformation/{sdb/aws-sdb-domain.go => ec2/aws-ec2-vpcblockpublicaccessoptions.go} (80%) rename pkg/goformation/cloudformation/{quicksight/aws-quicksight-analysis_stringparameter.go => ec2/aws-ec2-vpcendpoint_dnsoptionsspecification.go} (57%) rename pkg/goformation/cloudformation/{elasticbeanstalk/aws-elasticbeanstalk-application_maxcountrule.go => ec2/aws-ec2-vpnconnection_cloudwatchlogoptionsspecification.go} (54%) rename pkg/goformation/cloudformation/{config/aws-config-remediationconfiguration_resourcevalue.go => ec2/aws-ec2-vpnconnection_ikeversionsrequestlistvalue.go} (70%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-taskset_scale.go => ec2/aws-ec2-vpnconnection_phase1dhgroupnumbersrequestlistvalue.go} (67%) rename pkg/goformation/cloudformation/{appconfig/aws-appconfig-deployment_tags.go => ec2/aws-ec2-vpnconnection_phase1encryptionalgorithmsrequestlistvalue.go} (65%) rename pkg/goformation/cloudformation/{appconfig/aws-appconfig-application_tags.go => ec2/aws-ec2-vpnconnection_phase1integrityalgorithmsrequestlistvalue.go} (65%) rename pkg/goformation/cloudformation/{fms/aws-fms-policy_resourcetag.go => ec2/aws-ec2-vpnconnection_phase2dhgroupnumbersrequestlistvalue.go} (67%) create mode 100644 pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2encryptionalgorithmsrequestlistvalue.go rename pkg/goformation/cloudformation/{appconfig/aws-appconfig-environment_tags.go => ec2/aws-ec2-vpnconnection_phase2integrityalgorithmsrequestlistvalue.go} (65%) rename pkg/goformation/cloudformation/{iot/aws-iot-securityprofile_machinelearningdetectionconfig.go => ec2/aws-ec2-vpnconnection_vpntunnellogoptionsspecification.go} (59%) create mode 100644 pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository_repositorycatalogdata.go rename pkg/goformation/cloudformation/{xray/aws-xray-group.go => ecr/aws-ecr-pullthroughcacherule.go} (72%) rename pkg/goformation/cloudformation/{iot/aws-iot-jobtemplate.go => ecr/aws-ecr-repositorycreationtemplate.go} (63%) rename pkg/goformation/cloudformation/{cassandra/aws-cassandra-table_encryptionspecification.go => ecr/aws-ecr-repositorycreationtemplate_encryptionconfiguration.go} (61%) delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_autoscalinggroupprovider.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_managedscaling.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster_capacityproviderstrategyitem.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clusterconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clustersettings.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandlogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations_capacityproviderstrategy.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-primarytaskset.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_awsvpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_capacityproviderstrategyitem.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcircuitbreaker.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_loadbalancer.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_networkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_placementconstraint.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-service_serviceregistry.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_authorizationconfig.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdefinition.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdependency.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_device.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_dockervolumeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_efsvolumeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_environmentfile.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ephemeralstorage.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_firelensconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_healthcheck.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostentry.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostvolumeproperties.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_inferenceaccelerator.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_kernelcapabilities.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_keyvaluepair.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_linuxparameters.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_logconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_mountpoint.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_portmapping.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_proxyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_repositorycredentials.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_resourcerequirement.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_runtimeplatform.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_secret.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_taskdefinitionplacementconstraint.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_tmpfs.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ulimit.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volumefrom.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskset.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskset_awsvpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ecs/aws-ecs-taskset_networkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-accesspoint.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-accesspoint_creationinfo.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-accesspoint_posixuser.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-accesspoint_rootdirectory.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-filesystem.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-filesystem_elasticfilesystemtag.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-filesystem_lifecyclepolicy.go delete mode 100644 pkg/goformation/cloudformation/efs/aws-efs-mounttarget.go delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-access-config.go delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-access-entry_access_scope.go rename pkg/goformation/cloudformation/eks/{aws-eks-access-entry.go => aws-eks-accessentry.go} (74%) rename pkg/goformation/cloudformation/eks/{aws-eks-access-entry_policy.go => aws-eks-accessentry_accesspolicy.go} (66%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-service_placementstrategy.go => eks/aws-eks-accessentry_accessscope.go} (69%) rename pkg/goformation/cloudformation/{iot/aws-iot-securityprofile_alerttarget.go => eks/aws-eks-addon_podidentityassociation.go} (66%) rename pkg/goformation/cloudformation/{opensearchservice/aws-opensearchservice-domain_logpublishingoption.go => eks/aws-eks-cluster_accessconfig.go} (61%) rename pkg/goformation/cloudformation/{msk/aws-msk-cluster_scram.go => eks/aws-eks-cluster_blockstorage.go} (72%) delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-cluster_compute_config.go rename pkg/goformation/cloudformation/{elasticsearch/aws-elasticsearch-domain_encryptionatrestoptions.go => eks/aws-eks-cluster_computeconfig.go} (61%) rename pkg/goformation/cloudformation/eks/{aws-eks-cluster_elastic_loadbalancing.go => aws-eks-cluster_elasticloadbalancing.go} (73%) rename pkg/goformation/cloudformation/{datapipeline/aws-datapipeline-pipeline_parameterobject.go => eks/aws-eks-cluster_remotenetworkconfig.go} (59%) delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworks.go rename pkg/goformation/cloudformation/{efs/aws-efs-filesystem_backuppolicy.go => eks/aws-eks-cluster_remotenodenetwork.go} (70%) rename pkg/goformation/cloudformation/{acmpca/aws-acmpca-certificate_qualifier.go => eks/aws-eks-cluster_remotepodnetwork.go} (70%) delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-cluster_storage_config.go rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_accesslog.go => eks/aws-eks-cluster_storageconfig.go} (68%) rename pkg/goformation/cloudformation/{glue/aws-glue-crawler_dynamodbtarget.go => eks/aws-eks-cluster_upgradepolicy.go} (70%) delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-cluster_zonal-shift.go rename pkg/goformation/cloudformation/{elasticsearch/aws-elasticsearch-domain_coldstorageoptions.go => eks/aws-eks-cluster_zonalshiftconfig.go} (72%) delete mode 100644 pkg/goformation/cloudformation/eks/aws-eks-nodegroup_taints.go rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-devicefleet.go => eks/aws-eks-podidentityassociation.go} (75%) delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_cloudwatchlogsdestinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_destinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_kinesisfirehosedestinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_logdeliveryconfigurationrequest.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_globalreplicationgroupmember.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_regionalconfiguration.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_reshardingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-parametergroup.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_cloudwatchlogsdestinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_destinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_kinesisfirehosedestinationdetails.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_logdeliveryconfigurationrequest.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_nodegroupconfiguration.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroup.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroupingress.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-subnetgroup.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-user.go delete mode 100644 pkg/goformation/cloudformation/elasticache/aws-elasticache-usergroup.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationresourcelifecycleconfig.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationversionlifecycleconfig.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxagerule.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_configurationoptionsetting.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_sourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_optionsetting.go delete mode 100644 pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_tier.go rename pkg/goformation/cloudformation/{efs/aws-efs-accesspoint_accesspointtag.go => elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_listenerattribute.go} (68%) create mode 100644 pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_mutualauthentication.go rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_virtualnodetcpconnectionpool.go => elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_minimumloadbalancercapacity.go} (61%) rename pkg/goformation/cloudformation/{ram/aws-ram-resourceshare.go => elasticloadbalancingv2/aws-elasticloadbalancingv2-truststore.go} (72%) rename pkg/goformation/cloudformation/{apigatewayv2/aws-apigatewayv2-deployment.go => elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation.go} (75%) rename pkg/goformation/cloudformation/{synthetics/aws-synthetics-canary_code.go => elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_revocationcontent.go} (57%) create mode 100644 pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_truststorerevocation.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_advancedsecurityoptionsinput.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_cognitooptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_domainendpointoptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_ebsoptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_elasticsearchclusterconfig.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_logpublishingoption.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_nodetonodeencryptionoptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_snapshotoptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_vpcoptions.go delete mode 100644 pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_zoneawarenessconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_application.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_autoscalingpolicy.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_bootstrapactionconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_cloudwatchalarmdefinition.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_computelimits.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_configuration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsblockdeviceconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_hadoopjarstepconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetprovisioningspecifications.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_instancegroupconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_instancetypeconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_jobflowinstancesconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_kerberosattributes.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_keyvalue.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_managedscalingpolicy.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_metricdimension.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_ondemandprovisioningspecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_placementtype.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingaction.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingconstraints.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingrule.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingtrigger.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_scriptbootstrapactionconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_simplescalingpolicyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_spotprovisioningspecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_stepconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-cluster_volumespecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_configuration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsblockdeviceconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancefleetprovisioningspecifications.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancetypeconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ondemandprovisioningspecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_spotprovisioningspecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_volumespecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_autoscalingpolicy.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_cloudwatchalarmdefinition.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_configuration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsblockdeviceconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_metricdimension.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingaction.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingconstraints.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingrule.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingtrigger.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_simplescalingpolicyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_volumespecification.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-securityconfiguration.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-step.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-step_hadoopjarstepconfig.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-step_keyvalue.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-studio.go delete mode 100644 pkg/goformation/cloudformation/emr/aws-emr-studiosessionmapping.go delete mode 100644 pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster.go delete mode 100644 pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerinfo.go delete mode 100644 pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerprovider.go delete mode 100644 pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_eksinfo.go rename pkg/goformation/cloudformation/{elasticbeanstalk/aws-elasticbeanstalk-applicationversion_sourcebundle.go => events/aws-events-connection_apikeyauthparameters.go} (61%) create mode 100644 pkg/goformation/cloudformation/events/aws-events-connection_authparameters.go rename pkg/goformation/cloudformation/{appflow/aws-appflow-connectorprofile_veevaconnectorprofilecredentials.go => events/aws-events-connection_basicauthparameters.go} (64%) rename pkg/goformation/cloudformation/{codepipeline/aws-codepipeline-pipeline_blockerdeclaration.go => events/aws-events-connection_clientparameters.go} (62%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-monitoringschedule_s3output.go => events/aws-events-connection_connectionhttpparameters.go} (52%) rename pkg/goformation/cloudformation/{wafv2/aws-wafv2-webacl_notstatement.go => events/aws-events-connection_connectivityparameters.go} (66%) rename pkg/goformation/cloudformation/{kinesisanalytics/aws-kinesisanalytics-application_jsonmappingparameters.go => events/aws-events-connection_invocationconnectivityparameters.go} (60%) rename pkg/goformation/cloudformation/{evidently/aws-evidently-experiment_treatmentobject.go => events/aws-events-connection_oauthparameters.go} (52%) rename pkg/goformation/cloudformation/{opsworks/aws-opsworks-app_environmentvariable.go => events/aws-events-connection_parameter.go} (68%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_listenertlsfilecertificate.go => events/aws-events-connection_resourceparameters.go} (59%) rename pkg/goformation/cloudformation/{kendra/aws-kendra-faq.go => events/aws-events-endpoint.go} (75%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualnode_fileaccesslog.go => events/aws-events-endpoint_endpointeventbus.go} (68%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-route_duration.go => events/aws-events-endpoint_failoverconfig.go} (62%) rename pkg/goformation/cloudformation/{iotevents/aws-iotevents-input_attribute.go => events/aws-events-endpoint_primary.go} (71%) rename pkg/goformation/cloudformation/{appsync/aws-appsync-datasource_lambdaconfig.go => events/aws-events-endpoint_replicationconfig.go} (69%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-route_tcprouteaction.go => events/aws-events-endpoint_routingconfig.go} (67%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-mesh_egressfilter.go => events/aws-events-endpoint_secondary.go} (71%) rename pkg/goformation/cloudformation/{frauddetector/aws-frauddetector-detector_model.go => events/aws-events-eventbus_deadletterconfig.go} (74%) rename pkg/goformation/cloudformation/{appflow/aws-appflow-flow_slacksourceproperties.go => events/aws-events-rule_appsyncparameters.go} (68%) rename pkg/goformation/cloudformation/{amplify/aws-amplify-app_environmentvariable.go => events/aws-events-rule_sagemakerpipelineparameter.go} (70%) rename pkg/goformation/cloudformation/{cognito/aws-cognito-userpool_accountrecoverysetting.go => events/aws-events-rule_sagemakerpipelineparameters.go} (62%) delete mode 100644 pkg/goformation/cloudformation/events/aws-events-rule_tag.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registrypolicy.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema.go delete mode 100644 pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-experiment.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-experiment_metricgoalobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-experiment_onlineabconfigobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmenttoweight.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-feature.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-feature_entityoverride.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-feature_variationobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-launch.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-launch_grouptoweight.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-launch_launchgroupobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-launch_metricdefinitionobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-launch_stepconfig.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-project.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-project_datadeliveryobject.go delete mode 100644 pkg/goformation/cloudformation/evidently/aws-evidently-project_s3destination.go delete mode 100644 pkg/goformation/cloudformation/finspace/aws-finspace-environment.go delete mode 100644 pkg/goformation/cloudformation/finspace/aws-finspace-environment_federationparameters.go delete mode 100644 pkg/goformation/cloudformation/finspace/aws-finspace-environment_superuserparameters.go delete mode 100644 pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate.go delete mode 100644 pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplateaction.go delete mode 100644 pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatestopcondition.go delete mode 100644 pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetarget.go delete mode 100644 pkg/goformation/cloudformation/fms/aws-fms-policy.go delete mode 100644 pkg/goformation/cloudformation/fms/aws-fms-policy_iemap.go delete mode 100644 pkg/goformation/cloudformation/fms/aws-fms-policy_policytag.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_entitytype.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventtype.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventvariable.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_label.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_outcome.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_rule.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_entitytype.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_eventvariable.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-label.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-outcome.go delete mode 100644 pkg/goformation/cloudformation/frauddetector/aws-frauddetector-variable.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_auditlogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_clientconfigurations.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_lustreconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_nfsexports.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_ontapconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_openzfsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_rootvolumeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_selfmanagedactivedirectoryconfiguration.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_userandgroupquotas.go delete mode 100644 pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_windowsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-alias.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-alias_routingstrategy.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-build.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-build_s3location.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_certificateconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationcapacity.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_resourcecreationlimitpolicy.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_runtimeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_serverprocess.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_autoscalingpolicy.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinition.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinitions.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_launchtemplate.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_tags.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_targettrackingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_vpcsubnets.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_filterconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_playerlatencypolicy.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_priorityconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration_gameproperty.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingruleset.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-script.go delete mode 100644 pkg/goformation/cloudformation/gamelift/aws-gamelift-script_s3location.go delete mode 100644 pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-accelerator.go delete mode 100644 pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup.go delete mode 100644 pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_endpointconfiguration.go delete mode 100644 pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_portoverride.go delete mode 100644 pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-classifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-classifier_csvclassifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-classifier_grokclassifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-classifier_jsonclassifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-classifier_xmlclassifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-connection.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-connection_connectioninput.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-connection_physicalconnectionrequirements.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_jdbctarget.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_recrawlpolicy.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_s3target.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_schedule.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_schemachangepolicy.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-crawler_targets.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-database.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-database_databaseidentifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-database_databaseinput.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-database_datalakeprincipal.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-database_principalprivileges.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_connectionpasswordencryption.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_datacatalogencryptionsettings.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-devendpoint.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-job.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-job_connectionslist.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-job_executionproperty.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-job_jobcommand.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-job_notificationproperty.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform_findmatchesparameters.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform_inputrecordtables.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform_mluserdataencryption.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformencryption.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformparameters.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_column.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_order.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_partitioninput.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_schemaid.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_schemareference.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_serdeinfo.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_skewedinfo.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-partition_storagedescriptor.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schema.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schema_registry.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schema_schemaversion.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schemaversion.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schemaversion_schema.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-schemaversionmetadata.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_cloudwatchencryption.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_encryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryptions.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_column.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_order.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_schemaid.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_schemareference.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_serdeinfo.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_storagedescriptor.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_tableidentifier.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-table_tableinput.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-trigger.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-trigger_action.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-trigger_notificationproperty.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-trigger_predicate.go delete mode 100644 pkg/goformation/cloudformation/glue/aws-glue-workflow.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connector.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connectordefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion_connector.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_core.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_coredefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion_core.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_device.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_devicedefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion_device.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_defaultconfig.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_environment.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_execution.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_function.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functiondefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_resourceaccesspolicy.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_runas.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_defaultconfig.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_environment.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_execution.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_function.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_functionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_resourceaccesspolicy.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-group.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-group_groupversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-groupversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_logger.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_loggerdefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_groupownersetting.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localdeviceresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localvolumeresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedatacontainer.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedownloadownersetting.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourceinstance.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_s3machinelearningmodelresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_sagemakermachinelearningmodelresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_secretsmanagersecretresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_groupownersetting.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localdeviceresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localvolumeresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedatacontainer.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedownloadownersetting.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourceinstance.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_s3machinelearningmodelresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_sagemakermachinelearningmodelresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_secretsmanagersecretresourcedata.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscription.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscriptiondefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion.go delete mode 100644 pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion_subscription.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentdependencyrequirement.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentplatform.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdacontainerparams.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdadevicemount.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaeventsource.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaexecutionparameters.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdafunctionrecipesource.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdalinuxprocessparams.go delete mode 100644 pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdavolumemount.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkdemoddecodeconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennauplinkconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_configdata.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_dataflowendpointconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_decodeconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_demodulationconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_eirp.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequency.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_s3recordingconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_spectrumconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_trackingconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkechoconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkspectrumconfig.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_dataflowendpoint.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_endpointdetails.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_securitydetails.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_socketaddress.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile.go delete mode 100644 pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile_dataflowedge.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-detector.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-filter.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_condition.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_findingcriteria.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-ipset.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-master.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-member.go delete mode 100644 pkg/goformation/cloudformation/guardduty/aws-guardduty-threatintelset.go delete mode 100644 pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore.go delete mode 100644 pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_kmsencryptionconfig.go delete mode 100644 pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_preloaddataconfig.go delete mode 100644 pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_sseconfiguration.go create mode 100644 pkg/goformation/cloudformation/iam/aws-iam-grouppolicy.go rename pkg/goformation/cloudformation/{s3objectlambda/aws-s3objectlambda-accesspointpolicy.go => iam/aws-iam-rolepolicy.go} (79%) create mode 100644 pkg/goformation/cloudformation/iam/aws-iam-userpolicy.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-component.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_componentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_ebsinstanceblockdevicespecification.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceblockdevicemapping.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_targetcontainerrepository.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_distribution.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_launchtemplateconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image_imagetestsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_imagetestsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_schedule.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_additionalinstanceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentparameter.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_ebsinstanceblockdevicespecification.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_instanceblockdevicemapping.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_systemsmanageragent.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_instancemetadataoptions.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_logging.go delete mode 100644 pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_s3logs.go delete mode 100644 pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttarget.go delete mode 100644 pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttemplate.go delete mode 100644 pkg/goformation/cloudformation/inspector/aws-inspector-resourcegroup.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfigurations.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtarget.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtargetconfigurations.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-authorizer.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-authorizer_tags.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-authorizer_tokensigningpublickeys.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-certificate.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-custommetric.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_authorizerconfig.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_servercertificatesummary.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_tags.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-fleetmetric.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-fleetmetric_aggregationtype.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-logging.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_actionparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_addthingstothinggroupparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_enableiotloggingparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_publishfindingtosnsparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_replacedefaultpolicyversionparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatecacertificateparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatedevicecertificateparams.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-policyprincipalattachment.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_provisioninghook.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_tags.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-resourcespecificlogging.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-scheduledaudit.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behavior.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behaviorcriteria.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metrictoretain.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricvalue.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-securityprofile_statisticalthreshold.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-thing.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-thingprincipalattachment.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_action.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvalue.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvariant.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchalarmaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchmetricaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbv2action.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_elasticsearchaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_firehoseaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpactionheader.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpauthorization.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotanalyticsaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_ioteventsaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotsitewiseaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_kafkaaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_kinesisaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_lambdaaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_opensearchaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_putassetpropertyvalueentry.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_republishaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_s3action.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_sigv4authorization.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_snsaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_sqsaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamaction.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamdimension.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamtimestamp.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicrule_topicrulepayload.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicruledestination.go delete mode 100644 pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_httpurldestinationsummary.go delete mode 100644 pkg/goformation/cloudformation/iot1click/aws-iot1click-device.go delete mode 100644 pkg/goformation/cloudformation/iot1click/aws-iot1click-placement.go delete mode 100644 pkg/goformation/cloudformation/iot1click/aws-iot1click-project.go delete mode 100644 pkg/goformation/cloudformation/iot1click/aws-iot1click-project_devicetemplate.go delete mode 100644 pkg/goformation/cloudformation/iot1click/aws-iot1click-project_placementtemplate.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_channelstorage.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_customermanageds3.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_retentionperiod.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_servicemanageds3.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_action.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_containeraction.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryrule.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryruledestination.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentversionvalue.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatime.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatimesessionwindowconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_filter.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_glueconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_ioteventsdestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedatarule.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedataruleconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_outputfileurivalue.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_queryaction.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_resourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_retentionperiod.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_s3destinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_schedule.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_trigger.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_triggeringdataset.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_variable.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_versioningconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_column.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3storage.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartition.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartitions.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorestorage.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_fileformatconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_iotsitewisemultilayerstorage.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_jsonconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_parquetconfiguration.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_partition.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_retentionperiod.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_schemadefinition.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_servicemanageds3.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_timestamppartition.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_activity.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_addattributes.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_channel.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_datastore.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceregistryenrich.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceshadowenrich.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_filter.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_lambda.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_math.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_removeattributes.go delete mode 100644 pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_selectattributes.go delete mode 100644 pkg/goformation/cloudformation/iotcoredeviceadvisor/aws-iotcoredeviceadvisor-suitedefinition.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_action.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertytimestamp.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvalue.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvariant.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_cleartimer.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_detectormodeldefinition.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodb.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodbv2.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_event.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_firehose.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotevents.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotsitewise.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iottopicpublish.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_lambda.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onenter.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onexit.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_oninput.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_payload.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_resettimer.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_settimer.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_setvariable.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sns.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sqs.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_state.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_transitionevent.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-input.go delete mode 100644 pkg/goformation/cloudformation/iotevents/aws-iotevents-input_inputdefinition.go delete mode 100644 pkg/goformation/cloudformation/iotfleethub/aws-iotfleethub-application.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyidentity.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyresource.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamrole.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamuser.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_portal.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_project.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_user.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assethierarchy.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assetproperty.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelcompositemodel.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelhierarchy.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelproperty.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_attribute.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_expressionvariable.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metric.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metricwindow.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_transform.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_tumblingwindow.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_variablevalue.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-dashboard.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewaycapabilitysummary.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewayplatform.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_greengrass.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-portal.go delete mode 100644 pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-project.go delete mode 100644 pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate.go delete mode 100644 pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate_definitiondocument.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-destination.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile_lorawandeviceprofile.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask_lorawan.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup_lorawan.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkaccountinfo.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkupdateaccount.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile_lorawanserviceprofile.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawangatewayversion.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskcreate.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskentry.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_updatewirelessgatewaytaskcreate.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv10x.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_lorawandevice.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav10x.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav11.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv10x.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv11.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway.go delete mode 100644 pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway_lorawangateway.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-channel.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-playbackkeypair.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_destinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_s3destinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ivs/aws-ivs-streamkey.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_aclconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_changedetectingcolumns.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_columnconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmenttoindexfieldmapping.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogtoindexfieldmapping.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepageconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepagetoindexfieldmapping.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespaceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespacetoindexfieldmapping.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_connectionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_databaseconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceinclusionsexclusionsstrings.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmapping.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmappinglist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcevpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_documentsmetadataconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_googledriveconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveuserlist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveusers.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_proxyconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3datasourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3path.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedincludefiltertypes.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfigurationlist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticleconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticlestatelist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardknowledgearticletypeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectattachmentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfigurationlist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowknowledgearticleconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowservicecatalogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sharepointconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sqlconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_taglist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerauthenticationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerbasicauthentication.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerseedurlconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlersitemapsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerurls.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-datasource_workdocsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-faq_s3path.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-faq_taglist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_capacityunitsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfigurationlist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_jsontokentypeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_jwttokentypeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_relevance.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_search.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_taglist.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_usertokenconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitem.go delete mode 100644 pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitems.go rename pkg/goformation/cloudformation/{logs/aws-logs-resourcepolicy.go => kinesis/aws-kinesis-resourcepolicy.go} (87%) rename pkg/goformation/cloudformation/{datasync/aws-datasync-locationnfs_onpremconfig.go => kinesis/aws-kinesis-stream_streammodedetails.go} (68%) delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_csvmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_input.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputlambdaprocessor.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputparallelism.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputprocessingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisfirehoseinput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisstreamsinput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_mappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordcolumn.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordformat.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_destinationschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisfirehoseoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisstreamsoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_lambdaoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_output.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_csvmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_jsonmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_mappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordcolumn.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordformat.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referenceschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_s3referencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationcodeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationsnapshotconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_catalogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_checkpointconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_codecontent.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_csvmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_deployasapplicationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_environmentproperties.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_flinkapplicationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_gluedatacatalogconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_input.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputlambdaprocessor.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputparallelism.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputprocessingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_jsonmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisfirehoseinput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisstreamsinput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mavenreference.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_monitoringconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_parallelismconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_propertygroup.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordcolumn.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordformat.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentbaselocation.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentlocation.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_sqlapplicationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinapplicationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinmonitoringconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption_cloudwatchloggingoption.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_destinationschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisfirehoseoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisstreamsoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_lambdaoutput.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_output.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_csvmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_jsonmappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_mappingparameters.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordcolumn.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordformat.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referenceschema.go delete mode 100644 pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_s3referencedatasource.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicebufferinghints.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicedestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchserviceretryoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_bufferinghints.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_cloudwatchloggingoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_copycommand.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dataformatconversionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deliverystreamencryptionconfigurationinput.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deserializer.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dynamicpartitioningconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchbufferinghints.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchdestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchretryoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_encryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_extendeds3destinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_hivejsonserde.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointcommonattribute.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointdestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointrequestconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_inputformatconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kinesisstreamsourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kmsencryptionconfig.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_openxjsonserde.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_orcserde.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_outputformatconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_parquetserde.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processor.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processorparameter.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftdestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftretryoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_retryoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_s3destinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_schemaconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_serializer.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkdestinationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkretryoptions.go delete mode 100644 pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_vpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_admins.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_datalakeprincipal.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_columnwildcard.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_databaseresource.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalakeprincipal.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalocationresource.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_resource.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewildcard.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewithcolumnsresource.go delete mode 100644 pkg/goformation/cloudformation/lakeformation/aws-lakeformation-resource.go rename pkg/goformation/cloudformation/{mediaconnect/aws-mediaconnect-flowoutput_vpcinterfaceattachment.go => lambda/aws-lambda-eventsourcemapping_amazonmanagedkafkaeventsourceconfig.go} (62%) rename pkg/goformation/cloudformation/{opsworks/aws-opsworks-app_datasource.go => lambda/aws-lambda-eventsourcemapping_documentdbeventsourceconfig.go} (56%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-input_inputdevicesettings.go => lambda/aws-lambda-eventsourcemapping_filter.go} (69%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-mesh_meshspec.go => lambda/aws-lambda-eventsourcemapping_filtercriteria.go} (64%) rename pkg/goformation/cloudformation/{servicediscovery/aws-servicediscovery-publicdnsnamespace_soa.go => lambda/aws-lambda-eventsourcemapping_metricsconfig.go} (66%) rename pkg/goformation/cloudformation/{appconfig/aws-appconfig-configurationprofile_tags.go => lambda/aws-lambda-eventsourcemapping_provisionedpollerconfig.go} (59%) rename pkg/goformation/cloudformation/{apigateway/aws-apigateway-domainname_endpointconfiguration.go => lambda/aws-lambda-eventsourcemapping_scalingconfig.go} (65%) rename pkg/goformation/cloudformation/{sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_constraintsresource.go => lambda/aws-lambda-eventsourcemapping_selfmanagedkafkaeventsourceconfig.go} (61%) rename pkg/goformation/cloudformation/{iot/aws-iot-topicrule_putiteminput.go => lambda/aws-lambda-function_ephemeralstorage.go} (69%) rename pkg/goformation/cloudformation/{mediapackage/aws-mediapackage-channel_ingestendpoint.go => lambda/aws-lambda-function_loggingconfig.go} (55%) rename pkg/goformation/cloudformation/{iot/aws-iot-topicrule_assetpropertytimestamp.go => lambda/aws-lambda-function_runtimemanagementconfig.go} (59%) create mode 100644 pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstart.go rename pkg/goformation/cloudformation/{iot/aws-iot-securityprofile_metricdimension.go => lambda/aws-lambda-function_snapstartresponse.go} (62%) rename pkg/goformation/cloudformation/{codebuild/aws-codebuild-sourcecredential.go => lambda/aws-lambda-url.go} (76%) rename pkg/goformation/cloudformation/{apigatewayv2/aws-apigatewayv2-api_cors.go => lambda/aws-lambda-url_cors.go} (73%) rename pkg/goformation/cloudformation/{dlm/aws-dlm-lifecyclepolicy_eventsource.go => lambda/aws-lambda-version_runtimepolicy.go} (64%) delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-grant.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_borrowconfiguration.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_consumptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_entitlement.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_issuerdata.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_metadata.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_provisionalconfiguration.go delete mode 100644 pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_validitydateformat.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-database.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-database_relationaldatabaseparameter.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-disk.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_addon.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_autosnapshotaddon.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_addon.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_autosnapshotaddon.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_disk.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_hardware.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_location.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_monthlytransfer.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_networking.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_port.go delete mode 100644 pkg/goformation/cloudformation/lightsail/aws-lightsail-staticip.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-geofencecollection.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-map_mapconfiguration.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-placeindex.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-placeindex_datasourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-routecalculator.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-tracker.go delete mode 100644 pkg/goformation/cloudformation/location/aws-location-trackerconsumer.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-destination.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-loggroup.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-logstream.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-metricfilter.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-metricfilter_metrictransformation.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-querydefinition.go delete mode 100644 pkg/goformation/cloudformation/logs/aws-logs-subscriptionfilter.go delete mode 100644 pkg/goformation/cloudformation/lookoutequipment/aws-lookoutequipment-inferencescheduler.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_action.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_lambdaconfiguration.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_snsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_anomalydetectorconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_appflowconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_cloudwatchconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_csvformatdescriptor.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_fileformatdescriptor.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_jsonformatdescriptor.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricset.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricsource.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_rdssourceconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_redshiftsourceconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_s3sourceconfig.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_timestampcolumn.go delete mode 100644 pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_vpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/lookoutvision/aws-lookoutvision-project.go delete mode 100644 pkg/goformation/cloudformation/macie/aws-macie-customdataidentifier.go delete mode 100644 pkg/goformation/cloudformation/macie/aws-macie-findingsfilter.go delete mode 100644 pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_criterion.go delete mode 100644 pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingcriteria.go delete mode 100644 pkg/goformation/cloudformation/macie/aws-macie-session.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_approvalthresholdpolicy.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberfabricconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberframeworkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkfabricconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkframeworkconfiguration.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_votingpolicy.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node.go delete mode 100644 pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node_nodeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_encryption.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_failoverconfig.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_source.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement_encryption.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_encryption.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource_encryption.go delete mode 100644 pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowvpcinterface.go delete mode 100644 pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate.go delete mode 100644 pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_accelerationsettings.go delete mode 100644 pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_hopdestination.go delete mode 100644 pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-preset.go delete mode 100644 pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-queue.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_aacsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_ac3settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_ancillarysourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecdnsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecontainersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_archives3settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribsourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiochannelmapping.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiocodecsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiodescription.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiolanguageselection.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audionormalizationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioonlyhlssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiopidselection.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselector.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselectorsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiosilencefailoversettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrack.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrackselection.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiowatermarksettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_automaticinputfailoversettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_availblanking.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_availconfiguration.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_availsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_blackoutslate.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_burnindestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondescription.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselector.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselectorsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_cdiinputspecification.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_colorspacepassthroughsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbnitsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbtdtsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_eac3settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_ebuttddestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddeddestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedplusscte20destinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedsourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_encodersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_failovercondition.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_failoverconditionsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_featureactivations.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_fecoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_fmp4hlssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturecdnsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturegroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturehlssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptureoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptures3settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_globalconfiguration.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264colorspacesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264filtersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265colorspacesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265filtersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsakamaisettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsbasicputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlscdnsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsinputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsmediastoresettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlss3settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlswebdavsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_htmlmotiongraphicssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputattachment.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputchannellevel.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlocation.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossbehavior.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossfailoversettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputspecification.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_keyprovidersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_m2tssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_m3u8settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mp2settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2filtersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexprogramchanneldestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_networkinputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsencbet.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenconfiguration.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsennaesiinw.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenwatermarkssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_output.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestination.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroup.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputlocationref.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_passthroughsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rawsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec601settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec709settings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_remixsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpcaptioninfodestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20plusembeddeddestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20sourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27destinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27sourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35spliceinsert.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35timesignalapos.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_smptettdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_standardhlssettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_statickeysettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextsourcesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_temporalfiltersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_timecodeconfig.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_ttmldestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpcontainersettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpgroupsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoblackfailoversettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videocodecsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videodescription.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselector.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorcolorspacesettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorpid.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorprogramid.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_vpcoutputsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_wavsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-channel_webvttdestinationsettings.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-input.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdestinationrequest.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-input_inputsourcerequest.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-input_inputvpcrequest.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-input_mediaconnectflowrequest.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup.go delete mode 100644 pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup_inputwhitelistrulecidr.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset_egressendpoint.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_hlsingest.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_logconfiguration.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_adtriggers.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_authorization.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafpackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashpackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsmanifest.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlspackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_mssencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_msspackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_spekekeyprovider.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_streamselection.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafpackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashmanifest.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashpackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsmanifest.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlspackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssencryption.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssmanifest.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_msspackage.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_spekekeyprovider.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_streamselection.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_authorization.go delete mode 100644 pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_logconfiguration.go delete mode 100644 pkg/goformation/cloudformation/mediastore/aws-mediastore-container.go delete mode 100644 pkg/goformation/cloudformation/mediastore/aws-mediastore-container_corsrule.go delete mode 100644 pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicy.go delete mode 100644 pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicyrule.go delete mode 100644 pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster.go delete mode 100644 pkg/goformation/cloudformation/memorydb/aws-memorydb-parametergroup.go delete mode 100644 pkg/goformation/cloudformation/memorydb/aws-memorydb-subnetgroup.go delete mode 100644 pkg/goformation/cloudformation/memorydb/aws-memorydb-user.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_brokerlogs.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_brokernodegroupinfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_clientauthentication.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_configurationinfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_connectivityinfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_ebsstorageinfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionatrest.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptioninfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionintransit.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_jmxexporter.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_logginginfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_nodeexporter.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_openmonitoring.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_prometheus.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_publicaccess.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_sasl.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_storageinfo.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_tls.go delete mode 100644 pkg/goformation/cloudformation/msk/aws-msk-cluster_unauthenticated.go delete mode 100644 pkg/goformation/cloudformation/mwaa/aws-mwaa-environment.go delete mode 100644 pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_loggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_moduleloggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster_dbclusterrole.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbclusterparametergroup.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbinstance.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbparametergroup.go delete mode 100644 pkg/goformation/cloudformation/neptune/aws-neptune-dbsubnetgroup.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall_subnetmapping.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_actiondefinition.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_customaction.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_dimension.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_firewallpolicy.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_publishmetricaction.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulengineoptions.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulrulegroupreference.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statelessrulegroupreference.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_logdestinationconfig.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_loggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_actiondefinition.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_address.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_customaction.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_dimension.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_header.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ipset.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_matchattributes.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portset.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_publishmetricaction.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruledefinition.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulegroup.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruleoption.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessource.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessourcelist.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulevariables.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulruleoptions.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrule.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrulesandcustomactions.go delete mode 100644 pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_tcpflagfield.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-customergatewayassociation.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device_location.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-globalnetwork.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link_bandwidth.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-linkassociation.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site.go delete mode 100644 pkg/goformation/cloudformation/networkmanager/aws-networkmanager-transitgatewayregistration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile_streamconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-streamingimage.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio_studioencryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectorycomputerattribute.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectoryconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_computefarmconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_licenseserviceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_scriptparameterkeyvalue.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_sharedfilesystemconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentconfiguration.go delete mode 100644 pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentinitializationscript.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_advancedsecurityoptionsinput.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_cognitooptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_domainendpointoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_ebsoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_encryptionatrestoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_masteruseroptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_nodetonodeencryptionoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_snapshotoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_vpcoptions.go delete mode 100644 pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_zoneawarenessconfig.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-app.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-app_sslconfiguration.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-elasticloadbalancerattachment.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-instance.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_blockdevicemapping.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_ebsblockdevice.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_timebasedautoscaling.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_autoscalingthresholds.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_lifecycleeventconfiguration.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_loadbasedautoscaling.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_recipes.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_shutdowneventconfiguration.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_volumeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_chefconfiguration.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_elasticip.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_rdsdbinstance.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_source.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_stackconfigurationmanager.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-userprofile.go delete mode 100644 pkg/goformation/cloudformation/opsworks/aws-opsworks-volume.go delete mode 100644 pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server.go delete mode 100644 pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server_engineattribute.go delete mode 100644 pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance.go delete mode 100644 pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestoverridespayload.go delete mode 100644 pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestpayload.go delete mode 100644 pkg/goformation/cloudformation/panorama/aws-panorama-package.go delete mode 100644 pkg/goformation/cloudformation/panorama/aws-panorama-packageversion.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-admchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnschannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnssandboxchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipsandboxchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_campaignhook.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_limits.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_quiettime.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-baiduchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_attributedimension.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignemailmessage.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigneventfilter.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignhook.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigninappmessage.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignsmsmessage.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_defaultbuttonconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_eventdimensions.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebodyconfig.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebutton.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagecontent.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessageheaderconfig.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_limits.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_message.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_messageconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_metricdimension.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_overridebuttonconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_quiettime.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_schedule.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_setdimension.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_writetreatmentresource.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailtemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-eventstream.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-gcmchannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_bodyconfig.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_buttonconfig.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_defaultbuttonconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_headerconfig.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_inappmessagecontent.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_overridebuttonconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_androidpushnotificationtemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_apnspushnotificationtemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_defaultpushnotificationtemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_attributedimension.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_behavior.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_coordinates.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_demographic.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_gpspoint.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_groups.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_location.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_recency.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentdimensions.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_setdimension.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_sourcesegments.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smschannel.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smstemplate.go delete mode 100644 pkg/goformation/cloudformation/pinpoint/aws-pinpoint-voicechannel.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_deliveryoptions.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_reputationoptions.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_sendingoptions.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_tags.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_trackingoptions.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_cloudwatchdestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_dimensionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_eventdestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_kinesisfirehosedestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_pinpointdestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_snsdestination.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool_tags.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_mailfromattributes.go delete mode 100644 pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_tags.go delete mode 100644 pkg/goformation/cloudformation/qldb/aws-qldb-stream.go delete mode 100644 pkg/goformation/cloudformation/qldb/aws-qldb-stream_kinesisconfiguration.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysiserror.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourceentity.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourcetemplate.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datasetreference.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datetimeparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_decimalparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_integerparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_parameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_sheet.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_adhocfilteringoption.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardpublishoptions.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourceentity.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourcetemplate.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datasetreference.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datetimeparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_decimalparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_exporttocsvoption.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_integerparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_parameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_sheetcontrolsoption.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_stringparameter.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_calculatedcolumn.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_castcolumntypeoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columndescription.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columngroup.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columnlevelpermissionrule.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columntag.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_createcolumnsoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_fieldfolder.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_filteroperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_geospatialcolumngroup.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_ingestionwaitpolicy.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_inputcolumn.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joininstruction.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joinkeyproperties.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltable.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltablesource.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_outputcolumn.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_physicaltable.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_projectoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_relationaltable.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_renamecolumnoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_rowlevelpermissiondataset.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_s3source.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_tagcolumnoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_transformoperation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_uploadsettings.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonelasticsearchparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonopensearchparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_athenaparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_auroraparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_aurorapostgresqlparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_credentialpair.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourcecredentials.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_manifestfilelocation.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mariadbparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mysqlparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_oracleparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_postgresqlparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_prestoparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_rdsparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_redshiftparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_s3parameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_snowflakeparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sparkparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sqlserverparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sslproperties.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_teradataparameters.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_vpcconnectionproperties.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-template_datasetreference.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-template_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceanalysis.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceentity.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourcetemplate.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_borderstyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_datacolorpalette.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_font.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_gutterstyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_marginstyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_resourcepermission.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_sheetstyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_themeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilelayoutstyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilestyle.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_typography.go delete mode 100644 pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_uicolorpalette.go rename pkg/goformation/cloudformation/{appstream/aws-appstream-imagebuilder.go => rds/aws-rds-customdbengineversion.go} (61%) rename pkg/goformation/cloudformation/{memorydb/aws-memorydb-cluster_endpoint.go => rds/aws-rds-dbcluster_endpoint.go} (75%) rename pkg/goformation/cloudformation/{secretsmanager/aws-secretsmanager-secret_replicaregion.go => rds/aws-rds-dbcluster_masterusersecret.go} (66%) rename pkg/goformation/cloudformation/{wafv2/aws-wafv2-rulegroup_labelsummary.go => rds/aws-rds-dbcluster_readendpoint.go} (70%) rename pkg/goformation/cloudformation/{applicationautoscaling/aws-applicationautoscaling-scalabletarget_scalabletargetaction.go => rds/aws-rds-dbcluster_serverlessv2scalingconfiguration.go} (57%) rename pkg/goformation/cloudformation/{apigateway/aws-apigateway-apikey_stagekey.go => rds/aws-rds-dbinstance_certificatedetails.go} (62%) rename pkg/goformation/cloudformation/{redshift/aws-redshift-cluster_endpoint.go => rds/aws-rds-dbinstance_endpoint.go} (65%) rename pkg/goformation/cloudformation/{amazonmq/aws-amazonmq-broker_encryptionoptions.go => rds/aws-rds-dbinstance_masterusersecret.go} (66%) rename pkg/goformation/cloudformation/{docdb/aws-docdb-dbinstance.go => rds/aws-rds-dbshardgroup.go} (72%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-service_deploymentcontroller.go => rds/aws-rds-globalcluster_globalendpoint.go} (69%) rename pkg/goformation/cloudformation/{wafv2/aws-wafv2-rulegroup.go => rds/aws-rds-integration.go} (71%) delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-cluster.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup_parameter.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroup.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroupingress.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-clustersubnetgroup.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess_vpcsecuritygroup.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-endpointauthorization.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-eventsubscription.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_pauseclustermessage.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resizeclustermessage.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resumeclustermessage.go delete mode 100644 pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_scheduledactiontype.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application_apigatewayproxyinput.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-environment.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route_uripathrouteinput.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_lambdaendpointinput.go delete mode 100644 pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_urlendpointinput.go delete mode 100644 pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app.go delete mode 100644 pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_physicalresourceid.go delete mode 100644 pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_resourcemapping.go delete mode 100644 pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy.go delete mode 100644 pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy_failurepolicy.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationitem.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationparameter.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_query.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_resourcequery.go delete mode 100644 pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_tagfilter.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-fleet.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-robot.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_robotsoftwaresuite.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_sourceconfig.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplicationversion.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_renderingengine.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_robotsoftwaresuite.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_simulationsoftwaresuite.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_sourceconfig.go delete mode 100644 pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplicationversion.go rename pkg/goformation/cloudformation/{iotwireless/aws-iotwireless-wirelessdevice_abpv11.go => rolesanywhere/aws-rolesanywhere-profile_attributemapping.go} (61%) rename pkg/goformation/cloudformation/{databrew/aws-databrew-job_allowedstatistics.go => rolesanywhere/aws-rolesanywhere-profile_mappingrule.go} (68%) rename pkg/goformation/cloudformation/{pinpoint/aws-pinpoint-app.go => route53/aws-route53-cidrcollection.go} (82%) rename pkg/goformation/cloudformation/{amazonmq/aws-amazonmq-configuration_tagsentry.go => route53/aws-route53-cidrcollection_location.go} (63%) rename pkg/goformation/cloudformation/{cloud9/aws-cloud9-environmentec2_repository.go => route53/aws-route53-recordset_cidrroutingconfig.go} (64%) rename pkg/goformation/cloudformation/{datasync/aws-datasync-locationhdfs_namenode.go => route53/aws-route53-recordset_coordinates.go} (64%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-taskset_loadbalancer.go => route53/aws-route53-recordset_geoproximitylocation.go} (55%) rename pkg/goformation/cloudformation/{redshift/aws-redshift-cluster_loggingproperties.go => route53/aws-route53-recordsetgroup_cidrroutingconfig.go} (63%) rename pkg/goformation/cloudformation/{networkmanager/aws-networkmanager-site_location.go => route53/aws-route53-recordsetgroup_coordinates.go} (63%) rename pkg/goformation/cloudformation/{apigateway/aws-apigateway-restapi_s3location.go => route53/aws-route53-recordsetgroup_geoproximitylocation.go} (54%) delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster_clusterendpoint.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-controlpanel.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-routingcontrol.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_assertionrule.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_gatingrule.go delete mode 100644 pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_ruleconfig.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-cell.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-readinesscheck.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-recoverygroup.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_dnstargetresource.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_nlbresource.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_r53resourcerecord.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_resource.go delete mode 100644 pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_targetresource.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewalldomainlist.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup_firewallrule.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroupassociation.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverconfig.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverdnssecconfig.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint_ipaddressrequest.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfig.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfigassociation.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule_targetaddress.go delete mode 100644 pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverruleassociation.go delete mode 100644 pkg/goformation/cloudformation/rum/aws-rum-appmonitor.go delete mode 100644 pkg/goformation/cloudformation/rum/aws-rum-appmonitor_appmonitorconfiguration.go rename pkg/goformation/cloudformation/{quicksight/aws-quicksight-template.go => s3/aws-s3-accessgrant.go} (70%) rename pkg/goformation/cloudformation/{appmesh/aws-appmesh-virtualgateway_subjectalternativenamematchers.go => s3/aws-s3-accessgrant_accessgrantslocationconfiguration.go} (63%) rename pkg/goformation/cloudformation/{acmpca/aws-acmpca-certificate_validity.go => s3/aws-s3-accessgrant_grantee.go} (64%) rename pkg/goformation/cloudformation/{memorydb/aws-memorydb-acl.go => s3/aws-s3-accessgrantsinstance.go} (81%) rename pkg/goformation/cloudformation/{aps/aws-aps-workspace.go => s3/aws-s3-accessgrantslocation.go} (79%) rename pkg/goformation/cloudformation/{appflow/aws-appflow-flow_datadogsourceproperties.go => s3/aws-s3-bucket_metadatatableconfiguration.go} (63%) rename pkg/goformation/cloudformation/{datasync/aws-datasync-locationnfs_mountoptions.go => s3/aws-s3-bucket_partitionedprefix.go} (68%) rename pkg/goformation/cloudformation/{glue/aws-glue-mltransform_gluetables.go => s3/aws-s3-bucket_s3tablesdestination.go} (56%) rename pkg/goformation/cloudformation/{ecs/aws-ecs-taskdefinition_systemcontrol.go => s3/aws-s3-bucket_targetobjectkeyformat.go} (60%) rename pkg/goformation/cloudformation/{appflow/aws-appflow-flow_googleanalyticssourceproperties.go => s3/aws-s3-multiregionaccesspointpolicy_policystatus.go} (65%) rename pkg/goformation/cloudformation/{wisdom/aws-wisdom-assistant_serversideencryptionconfiguration.go => s3/aws-s3-storagelens_advancedcostoptimizationmetrics.go} (64%) rename pkg/goformation/cloudformation/{kendra/aws-kendra-datasource_accesscontrollistconfiguration.go => s3/aws-s3-storagelens_advanceddataprotectionmetrics.go} (65%) rename pkg/goformation/cloudformation/{guardduty/aws-guardduty-detector_cfns3logsconfiguration.go => s3/aws-s3-storagelens_detailedstatuscodesmetrics.go} (65%) rename pkg/goformation/cloudformation/{msk/aws-msk-cluster_iam.go => s3/aws-s3-storagelens_ssekms.go} (72%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_mediapackagegroupsettings.go => s3/aws-s3-storagelens_storagelensgrouplevel.go} (62%) rename pkg/goformation/cloudformation/{medialive/aws-medialive-channel_dvbsubsourcesettings.go => s3/aws-s3-storagelens_storagelensgroupselectioncriteria.go} (61%) rename pkg/goformation/cloudformation/{groundstation/aws-groundstation-config.go => s3/aws-s3-storagelensgroup.go} (82%) rename pkg/goformation/cloudformation/{opsworks/aws-opsworks-app_source.go => s3/aws-s3-storagelensgroup_and.go} (51%) rename pkg/goformation/cloudformation/{frauddetector/aws-frauddetector-eventtype_label.go => s3/aws-s3-storagelensgroup_filter.go} (50%) rename pkg/goformation/cloudformation/{greengrass/aws-greengrass-functiondefinitionversion_runas.go => s3/aws-s3-storagelensgroup_matchobjectage.go} (61%) rename pkg/goformation/cloudformation/{mwaa/aws-mwaa-environment_networkconfiguration.go => s3/aws-s3-storagelensgroup_matchobjectsize.go} (61%) rename pkg/goformation/cloudformation/{glue/aws-glue-trigger_condition.go => s3/aws-s3-storagelensgroup_or.go} (51%) delete mode 100644 pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint.go delete mode 100644 pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_objectlambdaconfiguration.go delete mode 100644 pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_transformationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint_vpcconfiguration.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_abortincompletemultipartupload.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_lifecycleconfiguration.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_rule.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint.go delete mode 100644 pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint_networkinterface.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app_resourcespec.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_filesystemconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelgatewayimageconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelspec.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository_gitconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_constraintsresource.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityappspecification.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualitybaselineconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityjobinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_endpointinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringresources.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_networkconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_s3output.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_stoppingcondition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device_device.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet_edgeoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_customimage.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_jupyterserverappsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_kernelgatewayappsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_resourcespec.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_sharingsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_usersettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_alarm.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_autorollbackconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_bluegreenupdatepolicy.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_capacitysize.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_deploymentconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_trafficroutingconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_variantproperty.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceclientconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferencenotificationconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_capturecontenttypeheader.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_datacaptureconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_productionvariant.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_serverlessconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup_featuredefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-image.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-imageversion.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_containerdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_imageconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_inferenceexecutionconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_multimodelconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_repositoryauthconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_endpointinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasappspecification.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasbaselineconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasjobinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringresources.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_networkconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_s3output.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_stoppingcondition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_endpointinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityappspecification.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilitybaselineconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityjobinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringresources.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_networkconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_s3output.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_stoppingcondition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelpackagegroup.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_constraintsresource.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_endpointinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityappspecification.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityjobinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringgroundtruths3input.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringresources.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_networkconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_s3output.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_stoppingcondition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_baselineconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_clusterconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_endpointinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_environment.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringappspecification.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringexecutionsummary.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinputs.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringjobdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutput.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutputconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringresources.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringscheduleconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_networkconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_scheduleconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_stoppingcondition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig_notebookinstancelifecyclehook.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-pipeline.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-project.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_customimage.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_jupyterserverappsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_kernelgatewayappsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_resourcespec.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_sharingsettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_usersettings.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_cognitomemberdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_memberdefinition.go delete mode 100644 pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_notificationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-resourcepolicy.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_hostedrotationlambda.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_rotationrules.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_generatesecretstring.go delete mode 100644 pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secrettargetattachment.go delete mode 100644 pkg/goformation/cloudformation/securityhub/aws-securityhub-hub.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-acceptedportfolioshare.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct_provisioningartifactproperties.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningparameter.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningpreferences.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchnotificationconstraint.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchroleconstraint.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchtemplateconstraint.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolio.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioprincipalassociation.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioproductassociation.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioshare.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-resourceupdateconstraint.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction_definitionparameter.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceactionassociation.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-stacksetconstraint.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoption.go delete mode 100644 pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoptionassociation.go delete mode 100644 pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-application.go delete mode 100644 pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroup.go delete mode 100644 pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroupassociation.go delete mode 100644 pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-resourceassociation.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-httpnamespace.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-instance.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_privatednspropertiesmutable.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_properties.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_soa.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_properties.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_publicdnspropertiesmutable.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsconfig.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsrecord.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckconfig.go delete mode 100644 pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckcustomconfig.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationset.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_cloudwatchdestination.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_dimensionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_eventdestination.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_kinesisfirehosedestination.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-contactlist_topic.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptfilter.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_filter.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_ipfilter.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_action.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_addheaderaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_bounceaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_lambdaaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_rule.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_snsaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_stopaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptrule_workmailaction.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-receiptruleset.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-template.go delete mode 100644 pkg/goformation/cloudformation/ses/aws-ses-template_template.go delete mode 100644 pkg/goformation/cloudformation/signer/aws-signer-profilepermission.go delete mode 100644 pkg/goformation/cloudformation/signer/aws-signer-signingprofile.go delete mode 100644 pkg/goformation/cloudformation/signer/aws-signer-signingprofile_signaturevalidityperiod.go rename pkg/goformation/cloudformation/{gamelift/aws-gamelift-fleet_ippermission.go => sns/aws-sns-topic_loggingconfig.go} (55%) rename pkg/goformation/cloudformation/{iot/aws-iot-policy.go => sns/aws-sns-topicinlinepolicy.go} (82%) rename pkg/goformation/cloudformation/{s3outposts/aws-s3outposts-bucketpolicy.go => sqs/aws-sqs-queueinlinepolicy.go} (82%) delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-association.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-association_instanceassociationoutputlocation.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-association_parametervalues.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-association_s3outputlocation.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-association_target.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-document.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-document_attachmentssource.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-document_documentrequires.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindow.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget_targets.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_logginginfo.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowautomationparameters.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowlambdaparameters.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowruncommandparameters.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowstepfunctionsparameters.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_notificationconfig.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_target.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_taskinvocationparameters.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-parameter.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfiltergroup.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchsource.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchstringdate.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rule.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rulegroup.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_awsorganizationssource.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_s3destination.go delete mode 100644 pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_syncsource.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_channeltargetinfo.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_contacttargetinfo.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_stage.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_targets.go delete mode 100644 pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contactchannel.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_regionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_replicationregion.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_action.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_chatchannel.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_incidenttemplate.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_notificationtargetitem.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmautomation.go delete mode 100644 pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmparameter.go delete mode 100644 pkg/goformation/cloudformation/sso/aws-sso-assignment.go delete mode 100644 pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration.go delete mode 100644 pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattribute.go delete mode 100644 pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattributevalue.go delete mode 100644 pkg/goformation/cloudformation/sso/aws-sso-permissionset.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_cloudwatchlogsloggroup.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definition.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definitionsubstitutions.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_logdestination.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_loggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_s3location.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tagsentry.go delete mode 100644 pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tracingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_artifactconfig.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_basescreenshot.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_runconfig.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_schedule.go delete mode 100644 pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_vpcconfig.go delete mode 100644 pkg/goformation/cloudformation/tags/tag.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-database.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_dimensionmapping.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_errorreportconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_mixedmeasuremapping.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasureattributemapping.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasuremappings.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_notificationconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_s3configuration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_scheduleconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_snsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_targetconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_timestreamconfiguration.go delete mode 100644 pkg/goformation/cloudformation/timestream/aws-timestream-table.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server_identityproviderdetails.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server_protocol.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server_protocoldetails.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server_securitygroupid.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetail.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-user.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-user_homedirectorymapentry.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-user_posixprofile.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-user_sshpublickey.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-workflow.go delete mode 100644 pkg/goformation/cloudformation/transfer/aws-transfer-workflow_workflowstep.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-bytematchset.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-bytematchset_bytematchtuple.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-bytematchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-ipset.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-ipset_ipsetdescriptor.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-rule.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-rule_predicate.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_sizeconstraint.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_sqlinjectionmatchtuple.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-webacl.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-webacl_activatedrule.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-webacl_wafaction.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-xssmatchset.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_xssmatchtuple.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_bytematchtuple.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset_geomatchconstraint.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset_ipsetdescriptor.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule_predicate.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-regexpatternset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-rule.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-rule_predicate.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_sizeconstraint.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_sqlinjectionmatchtuple.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_action.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-webaclassociation.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_xssmatchtuple.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-ipset.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-regexpatternset.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_bytematchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_customresponsebody.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_forwardedipconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_geomatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetreferencestatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonbody.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonmatchpattern.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_label.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelmatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_regexpatternsetreferencestatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_rule.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ruleaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sizeconstraintstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sqlimatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementthree.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_texttransformation.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_visibilityconfig.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_xssmatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_allowaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_blockaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_bytematchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_countaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customhttpheader.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customrequesthandling.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponse.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponsebody.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_defaultaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_excludedrule.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_fieldtomatch.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_forwardedipconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_geomatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetforwardedipconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetreferencestatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonbody.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonmatchpattern.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_label.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_labelmatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_managedrulegroupstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_overrideaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_regexpatternsetreferencestatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rule.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ruleaction.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rulegroupreferencestatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sizeconstraintstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sqlimatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementone.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementthree.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementtwo.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_texttransformation.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_visibilityconfig.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_xssmatchstatement.go delete mode 100644 pkg/goformation/cloudformation/wafv2/aws-wafv2-webaclassociation.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_appintegrationsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_renderingconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_serversideencryptionconfiguration.go delete mode 100644 pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_sourceconfiguration.go delete mode 100644 pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias.go delete mode 100644 pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias_connectionaliasassociation.go delete mode 100644 pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace.go delete mode 100644 pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace_workspaceproperties.go delete mode 100644 pkg/goformation/cloudformation/xray/aws-xray-group_insightsconfiguration.go delete mode 100644 pkg/goformation/cloudformation/xray/aws-xray-samplingrule.go delete mode 100644 pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrule.go delete mode 100644 pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrulerecord.go delete mode 100644 pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingruleupdate.go diff --git a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_archiverule.go b/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_archiverule.go deleted file mode 100644 index 3728653a85..0000000000 --- a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_archiverule.go +++ /dev/null @@ -1,42 +0,0 @@ -package accessanalyzer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analyzer_ArchiveRule AWS CloudFormation Resource (AWS::AccessAnalyzer::Analyzer.ArchiveRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-archiverule.html -type Analyzer_ArchiveRule struct { - - // Filter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-archiverule.html#cfn-accessanalyzer-analyzer-archiverule-filter - Filter []Analyzer_Filter `json:"Filter,omitempty"` - - // RuleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-archiverule.html#cfn-accessanalyzer-analyzer-archiverule-rulename - RuleName *types.Value `json:"RuleName,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 *Analyzer_ArchiveRule) AWSCloudFormationType() string { - return "AWS::AccessAnalyzer::Analyzer.ArchiveRule" -} diff --git a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_filter.go b/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_filter.go deleted file mode 100644 index 659a748c2f..0000000000 --- a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer_filter.go +++ /dev/null @@ -1,57 +0,0 @@ -package accessanalyzer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analyzer_Filter AWS CloudFormation Resource (AWS::AccessAnalyzer::Analyzer.Filter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html -type Analyzer_Filter struct { - - // Contains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html#cfn-accessanalyzer-analyzer-filter-contains - Contains *types.Value `json:"Contains,omitempty"` - - // Eq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html#cfn-accessanalyzer-analyzer-filter-eq - Eq *types.Value `json:"Eq,omitempty"` - - // Exists AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html#cfn-accessanalyzer-analyzer-filter-exists - Exists *types.Value `json:"Exists,omitempty"` - - // Neq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html#cfn-accessanalyzer-analyzer-filter-neq - Neq *types.Value `json:"Neq,omitempty"` - - // Property AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-filter.html#cfn-accessanalyzer-analyzer-filter-property - Property *types.Value `json:"Property,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 *Analyzer_Filter) AWSCloudFormationType() string { - return "AWS::AccessAnalyzer::Analyzer.Filter" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate.go deleted file mode 100644 index f7dd751f8e..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate.go +++ /dev/null @@ -1,138 +0,0 @@ -package acmpca - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate AWS CloudFormation Resource (AWS::ACMPCA::Certificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html -type Certificate struct { - - // ApiPassthrough AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-apipassthrough - ApiPassthrough *Certificate_ApiPassthrough `json:"ApiPassthrough,omitempty"` - - // CertificateAuthorityArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificateauthorityarn - CertificateAuthorityArn *types.Value `json:"CertificateAuthorityArn,omitempty"` - - // CertificateSigningRequest AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificatesigningrequest - CertificateSigningRequest *types.Value `json:"CertificateSigningRequest,omitempty"` - - // SigningAlgorithm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-signingalgorithm - SigningAlgorithm *types.Value `json:"SigningAlgorithm,omitempty"` - - // TemplateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-templatearn - TemplateArn *types.Value `json:"TemplateArn,omitempty"` - - // 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 *Certificate_Validity `json:"Validity,omitempty"` - - // ValidityNotBefore AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validitynotbefore - ValidityNotBefore *Certificate_Validity `json:"ValidityNotBefore,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 *Certificate) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate" -} - -// 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 (r Certificate) MarshalJSON() ([]byte, error) { - type Properties Certificate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Certificate) UnmarshalJSON(b []byte) error { - type Properties Certificate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Certificate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_apipassthrough.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_apipassthrough.go deleted file mode 100644 index a5bc76bf7f..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_apipassthrough.go +++ /dev/null @@ -1,40 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_ApiPassthrough AWS CloudFormation Resource (AWS::ACMPCA::Certificate.ApiPassthrough) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html -type Certificate_ApiPassthrough struct { - - // Extensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html#cfn-acmpca-certificate-apipassthrough-extensions - Extensions *Certificate_Extensions `json:"Extensions,omitempty"` - - // Subject AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html#cfn-acmpca-certificate-apipassthrough-subject - Subject *Certificate_Subject `json:"Subject,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 *Certificate_ApiPassthrough) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.ApiPassthrough" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_edipartyname.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_edipartyname.go deleted file mode 100644 index 4615e798b4..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_edipartyname.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_EdiPartyName AWS CloudFormation Resource (AWS::ACMPCA::Certificate.EdiPartyName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-edipartyname.html -type Certificate_EdiPartyName struct { - - // NameAssigner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-edipartyname.html#cfn-acmpca-certificate-edipartyname-nameassigner - NameAssigner *types.Value `json:"NameAssigner,omitempty"` - - // PartyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-edipartyname.html#cfn-acmpca-certificate-edipartyname-partyname - PartyName *types.Value `json:"PartyName,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 *Certificate_EdiPartyName) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.EdiPartyName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extendedkeyusage.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extendedkeyusage.go deleted file mode 100644 index 78777921fb..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extendedkeyusage.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_ExtendedKeyUsage AWS CloudFormation Resource (AWS::ACMPCA::Certificate.ExtendedKeyUsage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extendedkeyusage.html -type Certificate_ExtendedKeyUsage struct { - - // ExtendedKeyUsageObjectIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extendedkeyusage.html#cfn-acmpca-certificate-extendedkeyusage-extendedkeyusageobjectidentifier - ExtendedKeyUsageObjectIdentifier *types.Value `json:"ExtendedKeyUsageObjectIdentifier,omitempty"` - - // ExtendedKeyUsageType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extendedkeyusage.html#cfn-acmpca-certificate-extendedkeyusage-extendedkeyusagetype - ExtendedKeyUsageType *types.Value `json:"ExtendedKeyUsageType,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 *Certificate_ExtendedKeyUsage) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.ExtendedKeyUsage" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extensions.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extensions.go deleted file mode 100644 index 83d7ccdc42..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_extensions.go +++ /dev/null @@ -1,50 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_Extensions AWS CloudFormation Resource (AWS::ACMPCA::Certificate.Extensions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html -type Certificate_Extensions struct { - - // CertificatePolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html#cfn-acmpca-certificate-extensions-certificatepolicies - CertificatePolicies []Certificate_PolicyInformation `json:"CertificatePolicies,omitempty"` - - // ExtendedKeyUsage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html#cfn-acmpca-certificate-extensions-extendedkeyusage - ExtendedKeyUsage []Certificate_ExtendedKeyUsage `json:"ExtendedKeyUsage,omitempty"` - - // KeyUsage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html#cfn-acmpca-certificate-extensions-keyusage - KeyUsage *Certificate_KeyUsage `json:"KeyUsage,omitempty"` - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-extensions.html#cfn-acmpca-certificate-extensions-subjectalternativenames - SubjectAlternativeNames []Certificate_GeneralName `json:"SubjectAlternativeNames,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 *Certificate_Extensions) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.Extensions" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_generalname.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_generalname.go deleted file mode 100644 index 48c88c5803..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_generalname.go +++ /dev/null @@ -1,72 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_GeneralName AWS CloudFormation Resource (AWS::ACMPCA::Certificate.GeneralName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html -type Certificate_GeneralName struct { - - // DirectoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-directoryname - DirectoryName *Certificate_Subject `json:"DirectoryName,omitempty"` - - // DnsName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-dnsname - DnsName *types.Value `json:"DnsName,omitempty"` - - // EdiPartyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-edipartyname - EdiPartyName *Certificate_EdiPartyName `json:"EdiPartyName,omitempty"` - - // IpAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-ipaddress - IpAddress *types.Value `json:"IpAddress,omitempty"` - - // OtherName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-othername - OtherName *Certificate_OtherName `json:"OtherName,omitempty"` - - // RegisteredId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-registeredid - RegisteredId *types.Value `json:"RegisteredId,omitempty"` - - // Rfc822Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-rfc822name - Rfc822Name *types.Value `json:"Rfc822Name,omitempty"` - - // UniformResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-generalname.html#cfn-acmpca-certificate-generalname-uniformresourceidentifier - UniformResourceIdentifier *types.Value `json:"UniformResourceIdentifier,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 *Certificate_GeneralName) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.GeneralName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_keyusage.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_keyusage.go deleted file mode 100644 index 73b554603d..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_keyusage.go +++ /dev/null @@ -1,77 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_KeyUsage AWS CloudFormation Resource (AWS::ACMPCA::Certificate.KeyUsage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html -type Certificate_KeyUsage struct { - - // CRLSign AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-crlsign - CRLSign *types.Value `json:"CRLSign,omitempty"` - - // DataEncipherment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-dataencipherment - DataEncipherment *types.Value `json:"DataEncipherment,omitempty"` - - // DecipherOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-decipheronly - DecipherOnly *types.Value `json:"DecipherOnly,omitempty"` - - // DigitalSignature AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-digitalsignature - DigitalSignature *types.Value `json:"DigitalSignature,omitempty"` - - // EncipherOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-encipheronly - EncipherOnly *types.Value `json:"EncipherOnly,omitempty"` - - // KeyAgreement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-keyagreement - KeyAgreement *types.Value `json:"KeyAgreement,omitempty"` - - // KeyCertSign AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-keycertsign - KeyCertSign *types.Value `json:"KeyCertSign,omitempty"` - - // KeyEncipherment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-keyencipherment - KeyEncipherment *types.Value `json:"KeyEncipherment,omitempty"` - - // NonRepudiation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-keyusage.html#cfn-acmpca-certificate-keyusage-nonrepudiation - NonRepudiation *types.Value `json:"NonRepudiation,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 *Certificate_KeyUsage) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.KeyUsage" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_othername.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_othername.go deleted file mode 100644 index ed3d52045b..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_othername.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_OtherName AWS CloudFormation Resource (AWS::ACMPCA::Certificate.OtherName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-othername.html -type Certificate_OtherName struct { - - // TypeId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-othername.html#cfn-acmpca-certificate-othername-typeid - TypeId *types.Value `json:"TypeId,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-othername.html#cfn-acmpca-certificate-othername-value - Value *types.Value `json:"Value,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 *Certificate_OtherName) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.OtherName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyinformation.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyinformation.go deleted file mode 100644 index 38c3be4503..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyinformation.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_PolicyInformation AWS CloudFormation Resource (AWS::ACMPCA::Certificate.PolicyInformation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyinformation.html -type Certificate_PolicyInformation struct { - - // CertPolicyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyinformation.html#cfn-acmpca-certificate-policyinformation-certpolicyid - CertPolicyId *types.Value `json:"CertPolicyId,omitempty"` - - // PolicyQualifiers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyinformation.html#cfn-acmpca-certificate-policyinformation-policyqualifiers - PolicyQualifiers []Certificate_PolicyQualifierInfo `json:"PolicyQualifiers,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 *Certificate_PolicyInformation) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.PolicyInformation" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyqualifierinfo.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyqualifierinfo.go deleted file mode 100644 index 505ac0dd33..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_policyqualifierinfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_PolicyQualifierInfo AWS CloudFormation Resource (AWS::ACMPCA::Certificate.PolicyQualifierInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyqualifierinfo.html -type Certificate_PolicyQualifierInfo struct { - - // PolicyQualifierId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyqualifierinfo.html#cfn-acmpca-certificate-policyqualifierinfo-policyqualifierid - PolicyQualifierId *types.Value `json:"PolicyQualifierId,omitempty"` - - // Qualifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-policyqualifierinfo.html#cfn-acmpca-certificate-policyqualifierinfo-qualifier - Qualifier *Certificate_Qualifier `json:"Qualifier,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 *Certificate_PolicyQualifierInfo) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.PolicyQualifierInfo" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_subject.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_subject.go deleted file mode 100644 index 0d8533ec50..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_subject.go +++ /dev/null @@ -1,102 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate_Subject AWS CloudFormation Resource (AWS::ACMPCA::Certificate.Subject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html -type Certificate_Subject struct { - - // CommonName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-commonname - CommonName *types.Value `json:"CommonName,omitempty"` - - // Country AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-country - Country *types.Value `json:"Country,omitempty"` - - // DistinguishedNameQualifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-distinguishednamequalifier - DistinguishedNameQualifier *types.Value `json:"DistinguishedNameQualifier,omitempty"` - - // GenerationQualifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-generationqualifier - GenerationQualifier *types.Value `json:"GenerationQualifier,omitempty"` - - // GivenName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-givenname - GivenName *types.Value `json:"GivenName,omitempty"` - - // Initials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-initials - Initials *types.Value `json:"Initials,omitempty"` - - // Locality AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-locality - Locality *types.Value `json:"Locality,omitempty"` - - // Organization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-organization - Organization *types.Value `json:"Organization,omitempty"` - - // OrganizationalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-organizationalunit - OrganizationalUnit *types.Value `json:"OrganizationalUnit,omitempty"` - - // Pseudonym AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-pseudonym - Pseudonym *types.Value `json:"Pseudonym,omitempty"` - - // SerialNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-serialnumber - SerialNumber *types.Value `json:"SerialNumber,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-state - State *types.Value `json:"State,omitempty"` - - // Surname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-surname - Surname *types.Value `json:"Surname,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-subject.html#cfn-acmpca-certificate-subject-title - Title *types.Value `json:"Title,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 *Certificate_Subject) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.Subject" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority.go deleted file mode 100644 index 5ac3f832f8..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority.go +++ /dev/null @@ -1,144 +0,0 @@ -package acmpca - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html -type CertificateAuthority struct { - - // CsrExtensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-csrextensions - CsrExtensions *CertificateAuthority_CsrExtensions `json:"CsrExtensions,omitempty"` - - // KeyAlgorithm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-keyalgorithm - KeyAlgorithm *types.Value `json:"KeyAlgorithm,omitempty"` - - // KeyStorageSecurityStandard AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-keystoragesecuritystandard - KeyStorageSecurityStandard *types.Value `json:"KeyStorageSecurityStandard,omitempty"` - - // 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 *CertificateAuthority_RevocationConfiguration `json:"RevocationConfiguration,omitempty"` - - // SigningAlgorithm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-signingalgorithm - SigningAlgorithm *types.Value `json:"SigningAlgorithm,omitempty"` - - // 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 *CertificateAuthority_Subject `json:"Subject,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-type - Type *types.Value `json:"Type,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 *CertificateAuthority) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority" -} - -// 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 (r CertificateAuthority) MarshalJSON() ([]byte, error) { - type Properties CertificateAuthority - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CertificateAuthority) UnmarshalJSON(b []byte) error { - type Properties CertificateAuthority - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CertificateAuthority(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessdescription.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessdescription.go deleted file mode 100644 index 182ec0456f..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessdescription.go +++ /dev/null @@ -1,40 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_AccessDescription AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.AccessDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessdescription.html -type CertificateAuthority_AccessDescription struct { - - // AccessLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessdescription.html#cfn-acmpca-certificateauthority-accessdescription-accesslocation - AccessLocation *CertificateAuthority_GeneralName `json:"AccessLocation,omitempty"` - - // AccessMethod AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessdescription.html#cfn-acmpca-certificateauthority-accessdescription-accessmethod - AccessMethod *CertificateAuthority_AccessMethod `json:"AccessMethod,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 *CertificateAuthority_AccessDescription) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.AccessDescription" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessmethod.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessmethod.go deleted file mode 100644 index 4fa604fd20..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_accessmethod.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_AccessMethod AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.AccessMethod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessmethod.html -type CertificateAuthority_AccessMethod struct { - - // AccessMethodType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessmethod.html#cfn-acmpca-certificateauthority-accessmethod-accessmethodtype - AccessMethodType *types.Value `json:"AccessMethodType,omitempty"` - - // CustomObjectIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-accessmethod.html#cfn-acmpca-certificateauthority-accessmethod-customobjectidentifier - CustomObjectIdentifier *types.Value `json:"CustomObjectIdentifier,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 *CertificateAuthority_AccessMethod) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.AccessMethod" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_crlconfiguration.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_crlconfiguration.go deleted file mode 100644 index 503ad948dc..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_crlconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `json:"S3BucketName,omitempty"` - - // S3ObjectAcl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-s3objectacl - S3ObjectAcl *types.Value `json:"S3ObjectAcl,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 *CertificateAuthority_CrlConfiguration) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.CrlConfiguration" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_csrextensions.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_csrextensions.go deleted file mode 100644 index d94e74f032..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_csrextensions.go +++ /dev/null @@ -1,40 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_CsrExtensions AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.CsrExtensions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-csrextensions.html -type CertificateAuthority_CsrExtensions struct { - - // KeyUsage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-csrextensions.html#cfn-acmpca-certificateauthority-csrextensions-keyusage - KeyUsage *CertificateAuthority_KeyUsage `json:"KeyUsage,omitempty"` - - // SubjectInformationAccess AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-csrextensions.html#cfn-acmpca-certificateauthority-csrextensions-subjectinformationaccess - SubjectInformationAccess []CertificateAuthority_AccessDescription `json:"SubjectInformationAccess,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 *CertificateAuthority_CsrExtensions) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.CsrExtensions" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_edipartyname.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_edipartyname.go deleted file mode 100644 index fd2e9b2b65..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_edipartyname.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_EdiPartyName AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.EdiPartyName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html -type CertificateAuthority_EdiPartyName struct { - - // NameAssigner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html#cfn-acmpca-certificateauthority-edipartyname-nameassigner - NameAssigner *types.Value `json:"NameAssigner,omitempty"` - - // PartyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html#cfn-acmpca-certificateauthority-edipartyname-partyname - PartyName *types.Value `json:"PartyName,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 *CertificateAuthority_EdiPartyName) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.EdiPartyName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_generalname.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_generalname.go deleted file mode 100644 index d36d82bf6f..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_generalname.go +++ /dev/null @@ -1,72 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_GeneralName AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.GeneralName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html -type CertificateAuthority_GeneralName struct { - - // DirectoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-directoryname - DirectoryName *CertificateAuthority_Subject `json:"DirectoryName,omitempty"` - - // DnsName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-dnsname - DnsName *types.Value `json:"DnsName,omitempty"` - - // EdiPartyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-edipartyname - EdiPartyName *CertificateAuthority_EdiPartyName `json:"EdiPartyName,omitempty"` - - // IpAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-ipaddress - IpAddress *types.Value `json:"IpAddress,omitempty"` - - // OtherName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-othername - OtherName *CertificateAuthority_OtherName `json:"OtherName,omitempty"` - - // RegisteredId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-registeredid - RegisteredId *types.Value `json:"RegisteredId,omitempty"` - - // Rfc822Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-rfc822name - Rfc822Name *types.Value `json:"Rfc822Name,omitempty"` - - // UniformResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-generalname.html#cfn-acmpca-certificateauthority-generalname-uniformresourceidentifier - UniformResourceIdentifier *types.Value `json:"UniformResourceIdentifier,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 *CertificateAuthority_GeneralName) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.GeneralName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_keyusage.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_keyusage.go deleted file mode 100644 index 9a642b825d..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_keyusage.go +++ /dev/null @@ -1,77 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_KeyUsage AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.KeyUsage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html -type CertificateAuthority_KeyUsage struct { - - // CRLSign AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-crlsign - CRLSign *types.Value `json:"CRLSign,omitempty"` - - // DataEncipherment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-dataencipherment - DataEncipherment *types.Value `json:"DataEncipherment,omitempty"` - - // DecipherOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-decipheronly - DecipherOnly *types.Value `json:"DecipherOnly,omitempty"` - - // DigitalSignature AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-digitalsignature - DigitalSignature *types.Value `json:"DigitalSignature,omitempty"` - - // EncipherOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-encipheronly - EncipherOnly *types.Value `json:"EncipherOnly,omitempty"` - - // KeyAgreement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-keyagreement - KeyAgreement *types.Value `json:"KeyAgreement,omitempty"` - - // KeyCertSign AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-keycertsign - KeyCertSign *types.Value `json:"KeyCertSign,omitempty"` - - // KeyEncipherment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-keyencipherment - KeyEncipherment *types.Value `json:"KeyEncipherment,omitempty"` - - // NonRepudiation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-keyusage.html#cfn-acmpca-certificateauthority-keyusage-nonrepudiation - NonRepudiation *types.Value `json:"NonRepudiation,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 *CertificateAuthority_KeyUsage) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.KeyUsage" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_ocspconfiguration.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_ocspconfiguration.go deleted file mode 100644 index 2dbce251d8..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_ocspconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_OcspConfiguration AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.OcspConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html -type CertificateAuthority_OcspConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html#cfn-acmpca-certificateauthority-ocspconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // OcspCustomCname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html#cfn-acmpca-certificateauthority-ocspconfiguration-ocspcustomcname - OcspCustomCname *types.Value `json:"OcspCustomCname,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 *CertificateAuthority_OcspConfiguration) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.OcspConfiguration" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_othername.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_othername.go deleted file mode 100644 index a2691f3fca..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_othername.go +++ /dev/null @@ -1,42 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthority_OtherName AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.OtherName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-othername.html -type CertificateAuthority_OtherName struct { - - // TypeId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-othername.html#cfn-acmpca-certificateauthority-othername-typeid - TypeId *types.Value `json:"TypeId,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-othername.html#cfn-acmpca-certificateauthority-othername-value - Value *types.Value `json:"Value,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 *CertificateAuthority_OtherName) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.OtherName" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_revocationconfiguration.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_revocationconfiguration.go deleted file mode 100644 index abb442c678..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_revocationconfiguration.go +++ /dev/null @@ -1,40 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/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"` - - // OcspConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-revocationconfiguration.html#cfn-acmpca-certificateauthority-revocationconfiguration-ocspconfiguration - OcspConfiguration *CertificateAuthority_OcspConfiguration `json:"OcspConfiguration,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 *CertificateAuthority_RevocationConfiguration) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_subject.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_subject.go deleted file mode 100644 index c9db61d02c..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthority_subject.go +++ /dev/null @@ -1,102 +0,0 @@ -package acmpca - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `json:"Title,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 *CertificateAuthority_Subject) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthority.Subject" -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthorityactivation.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthorityactivation.go deleted file mode 100644 index 2795d312b1..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificateauthorityactivation.go +++ /dev/null @@ -1,123 +0,0 @@ -package acmpca - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CertificateAuthorityActivation AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthorityActivation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html -type CertificateAuthorityActivation struct { - - // Certificate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html#cfn-acmpca-certificateauthorityactivation-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // CertificateAuthorityArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html#cfn-acmpca-certificateauthorityactivation-certificateauthorityarn - CertificateAuthorityArn *types.Value `json:"CertificateAuthorityArn,omitempty"` - - // CertificateChain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html#cfn-acmpca-certificateauthorityactivation-certificatechain - CertificateChain *types.Value `json:"CertificateChain,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthorityactivation.html#cfn-acmpca-certificateauthorityactivation-status - Status *types.Value `json:"Status,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 *CertificateAuthorityActivation) AWSCloudFormationType() string { - return "AWS::ACMPCA::CertificateAuthorityActivation" -} - -// 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 (r CertificateAuthorityActivation) MarshalJSON() ([]byte, error) { - type Properties CertificateAuthorityActivation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CertificateAuthorityActivation) UnmarshalJSON(b []byte) error { - type Properties CertificateAuthorityActivation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CertificateAuthorityActivation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-permission.go b/pkg/goformation/cloudformation/acmpca/aws-acmpca-permission.go deleted file mode 100644 index 1d5cfab565..0000000000 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-permission.go +++ /dev/null @@ -1,123 +0,0 @@ -package acmpca - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permission AWS CloudFormation Resource (AWS::ACMPCA::Permission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html -type Permission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // CertificateAuthorityArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-certificateauthorityarn - CertificateAuthorityArn *types.Value `json:"CertificateAuthorityArn,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-principal - Principal *types.Value `json:"Principal,omitempty"` - - // SourceAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-permission.html#cfn-acmpca-permission-sourceaccount - SourceAccount *types.Value `json:"SourceAccount,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 *Permission) AWSCloudFormationType() string { - return "AWS::ACMPCA::Permission" -} - -// 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 (r Permission) MarshalJSON() ([]byte, error) { - type Properties Permission - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Permission) UnmarshalJSON(b []byte) error { - type Properties Permission - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Permission(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/all.go b/pkg/goformation/cloudformation/all.go index 3bcf7677f3..0f2bc77ba6 100644 --- a/pkg/goformation/cloudformation/all.go +++ b/pkg/goformation/cloudformation/all.go @@ -2,21692 +2,5905 @@ package cloudformation import ( "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/accessanalyzer" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/acmpca" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/amazonmq" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/amplify" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/amplifyuibuilder" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/apigateway" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/apigatewayv2" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appconfig" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appflow" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appintegrations" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/applicationautoscaling" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/applicationinsights" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appmesh" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/apprunner" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appstream" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/appsync" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/aps" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ask" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/athena" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/auditmanager" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/autoscaling" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/autoscalingplans" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/backup" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/batch" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/budgets" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cassandra" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ce" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/certificatemanager" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/chatbot" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloud9" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudfront" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudtrail" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudwatch" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codeartifact" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codebuild" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codecommit" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codedeploy" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codeguruprofiler" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codegurureviewer" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codepipeline" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codestar" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codestarconnections" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/codestarnotifications" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cognito" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/config" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/connect" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cur" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/customerprofiles" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/databrew" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/datapipeline" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/datasync" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/dax" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/detective" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/devopsguru" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/directoryservice" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/dlm" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/dms" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/docdb" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/dynamodb" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ec2" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ecr" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ecs" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/efs" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/eks" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/elasticache" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/elasticbeanstalk" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/elasticloadbalancing" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/elasticloadbalancingv2" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/elasticsearch" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/emr" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/emrcontainers" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/events" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/eventschemas" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/evidently" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/finspace" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/fis" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/fms" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/frauddetector" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/fsx" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/gamelift" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/globalaccelerator" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/glue" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/greengrass" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/greengrassv2" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/groundstation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/guardduty" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/healthlake" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iam" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/imagebuilder" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/inspector" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iot" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iot1click" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotanalytics" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotcoredeviceadvisor" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotevents" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotfleethub" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotsitewise" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotthingsgraph" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/iotwireless" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ivs" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kendra" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kinesis" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kinesisanalytics" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kinesisanalyticsv2" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kinesisfirehose" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/kms" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lakeformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lambda" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/licensemanager" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lightsail" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/location" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/logs" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lookoutequipment" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lookoutmetrics" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/lookoutvision" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/macie" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/managedblockchain" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/mediaconnect" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/mediaconvert" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/medialive" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/mediapackage" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/mediastore" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/memorydb" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/msk" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/mwaa" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/neptune" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/networkfirewall" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/networkmanager" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/nimblestudio" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/opensearchservice" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/opsworks" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/opsworkscm" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/panorama" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/pinpoint" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/pinpointemail" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/qldb" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/quicksight" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ram" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/rds" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/redshift" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/refactorspaces" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/rekognition" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/resiliencehub" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/resourcegroups" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/robomaker" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/rolesanywhere" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/route53" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/route53recoverycontrol" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/route53recoveryreadiness" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/route53resolver" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/rum" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/s3" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/s3objectlambda" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/s3outposts" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/sagemaker" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/sdb" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/secretsmanager" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/securityhub" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/serverless" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/servicecatalog" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/servicecatalogappregistry" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/servicediscovery" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ses" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/signer" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/sns" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/sqs" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ssm" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ssmcontacts" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/ssmincidents" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/sso" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/stepfunctions" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/synthetics" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/timestream" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/transfer" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/waf" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/wafregional" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/wafv2" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/wisdom" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/workspaces" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/xray" ) // AllResources fetches an iterable map all CloudFormation and SAM resources func AllResources() map[string]Resource { return map[string]Resource{ - "AWS::ACMPCA::Certificate": &acmpca.Certificate{}, - "AWS::ACMPCA::CertificateAuthority": &acmpca.CertificateAuthority{}, - "AWS::ACMPCA::CertificateAuthorityActivation": &acmpca.CertificateAuthorityActivation{}, - "AWS::ACMPCA::Permission": &acmpca.Permission{}, - "AWS::APS::RuleGroupsNamespace": &aps.RuleGroupsNamespace{}, - "AWS::APS::Workspace": &aps.Workspace{}, - "AWS::AccessAnalyzer::Analyzer": &accessanalyzer.Analyzer{}, - "AWS::AmazonMQ::Broker": &amazonmq.Broker{}, - "AWS::AmazonMQ::Configuration": &amazonmq.Configuration{}, - "AWS::AmazonMQ::ConfigurationAssociation": &amazonmq.ConfigurationAssociation{}, - "AWS::Amplify::App": &lify.App{}, - "AWS::Amplify::Branch": &lify.Branch{}, - "AWS::Amplify::Domain": &lify.Domain{}, - "AWS::AmplifyUIBuilder::Component": &lifyuibuilder.Component{}, - "AWS::AmplifyUIBuilder::Theme": &lifyuibuilder.Theme{}, - "AWS::ApiGateway::Account": &apigateway.Account{}, - "AWS::ApiGateway::ApiKey": &apigateway.ApiKey{}, - "AWS::ApiGateway::Authorizer": &apigateway.Authorizer{}, - "AWS::ApiGateway::BasePathMapping": &apigateway.BasePathMapping{}, - "AWS::ApiGateway::ClientCertificate": &apigateway.ClientCertificate{}, - "AWS::ApiGateway::Deployment": &apigateway.Deployment{}, - "AWS::ApiGateway::DocumentationPart": &apigateway.DocumentationPart{}, - "AWS::ApiGateway::DocumentationVersion": &apigateway.DocumentationVersion{}, - "AWS::ApiGateway::DomainName": &apigateway.DomainName{}, - "AWS::ApiGateway::GatewayResponse": &apigateway.GatewayResponse{}, - "AWS::ApiGateway::Method": &apigateway.Method{}, - "AWS::ApiGateway::Model": &apigateway.Model{}, - "AWS::ApiGateway::RequestValidator": &apigateway.RequestValidator{}, - "AWS::ApiGateway::Resource": &apigateway.Resource{}, - "AWS::ApiGateway::RestApi": &apigateway.RestApi{}, - "AWS::ApiGateway::Stage": &apigateway.Stage{}, - "AWS::ApiGateway::UsagePlan": &apigateway.UsagePlan{}, - "AWS::ApiGateway::UsagePlanKey": &apigateway.UsagePlanKey{}, - "AWS::ApiGateway::VpcLink": &apigateway.VpcLink{}, - "AWS::ApiGatewayV2::Api": &apigatewayv2.Api{}, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides": &apigatewayv2.ApiGatewayManagedOverrides{}, - "AWS::ApiGatewayV2::ApiMapping": &apigatewayv2.ApiMapping{}, - "AWS::ApiGatewayV2::Authorizer": &apigatewayv2.Authorizer{}, - "AWS::ApiGatewayV2::Deployment": &apigatewayv2.Deployment{}, - "AWS::ApiGatewayV2::DomainName": &apigatewayv2.DomainName{}, - "AWS::ApiGatewayV2::Integration": &apigatewayv2.Integration{}, - "AWS::ApiGatewayV2::IntegrationResponse": &apigatewayv2.IntegrationResponse{}, - "AWS::ApiGatewayV2::Model": &apigatewayv2.Model{}, - "AWS::ApiGatewayV2::Route": &apigatewayv2.Route{}, - "AWS::ApiGatewayV2::RouteResponse": &apigatewayv2.RouteResponse{}, - "AWS::ApiGatewayV2::Stage": &apigatewayv2.Stage{}, - "AWS::ApiGatewayV2::VpcLink": &apigatewayv2.VpcLink{}, - "AWS::AppConfig::Application": &appconfig.Application{}, - "AWS::AppConfig::ConfigurationProfile": &appconfig.ConfigurationProfile{}, - "AWS::AppConfig::Deployment": &appconfig.Deployment{}, - "AWS::AppConfig::DeploymentStrategy": &appconfig.DeploymentStrategy{}, - "AWS::AppConfig::Environment": &appconfig.Environment{}, - "AWS::AppConfig::HostedConfigurationVersion": &appconfig.HostedConfigurationVersion{}, - "AWS::AppFlow::ConnectorProfile": &appflow.ConnectorProfile{}, - "AWS::AppFlow::Flow": &appflow.Flow{}, - "AWS::AppIntegrations::EventIntegration": &appintegrations.EventIntegration{}, - "AWS::AppMesh::GatewayRoute": &appmesh.GatewayRoute{}, - "AWS::AppMesh::Mesh": &appmesh.Mesh{}, - "AWS::AppMesh::Route": &appmesh.Route{}, - "AWS::AppMesh::VirtualGateway": &appmesh.VirtualGateway{}, - "AWS::AppMesh::VirtualNode": &appmesh.VirtualNode{}, - "AWS::AppMesh::VirtualRouter": &appmesh.VirtualRouter{}, - "AWS::AppMesh::VirtualService": &appmesh.VirtualService{}, - "AWS::AppRunner::Service": &apprunner.Service{}, - "AWS::AppStream::AppBlock": &appstream.AppBlock{}, - "AWS::AppStream::Application": &appstream.Application{}, - "AWS::AppStream::ApplicationFleetAssociation": &appstream.ApplicationFleetAssociation{}, - "AWS::AppStream::DirectoryConfig": &appstream.DirectoryConfig{}, - "AWS::AppStream::Fleet": &appstream.Fleet{}, - "AWS::AppStream::ImageBuilder": &appstream.ImageBuilder{}, - "AWS::AppStream::Stack": &appstream.Stack{}, - "AWS::AppStream::StackFleetAssociation": &appstream.StackFleetAssociation{}, - "AWS::AppStream::StackUserAssociation": &appstream.StackUserAssociation{}, - "AWS::AppStream::User": &appstream.User{}, - "AWS::AppSync::ApiCache": &appsync.ApiCache{}, - "AWS::AppSync::ApiKey": &appsync.ApiKey{}, - "AWS::AppSync::DataSource": &appsync.DataSource{}, - "AWS::AppSync::FunctionConfiguration": &appsync.FunctionConfiguration{}, - "AWS::AppSync::GraphQLApi": &appsync.GraphQLApi{}, - "AWS::AppSync::GraphQLSchema": &appsync.GraphQLSchema{}, - "AWS::AppSync::Resolver": &appsync.Resolver{}, - "AWS::ApplicationAutoScaling::ScalableTarget": &applicationautoscaling.ScalableTarget{}, - "AWS::ApplicationAutoScaling::ScalingPolicy": &applicationautoscaling.ScalingPolicy{}, - "AWS::ApplicationInsights::Application": &applicationinsights.Application{}, - "AWS::Athena::DataCatalog": &athena.DataCatalog{}, - "AWS::Athena::NamedQuery": &athena.NamedQuery{}, - "AWS::Athena::PreparedStatement": &athena.PreparedStatement{}, - "AWS::Athena::WorkGroup": &athena.WorkGroup{}, - "AWS::AuditManager::Assessment": &auditmanager.Assessment{}, - "AWS::AutoScaling::AutoScalingGroup": &autoscaling.AutoScalingGroup{}, - "AWS::AutoScaling::LaunchConfiguration": &autoscaling.LaunchConfiguration{}, - "AWS::AutoScaling::LifecycleHook": &autoscaling.LifecycleHook{}, - "AWS::AutoScaling::ScalingPolicy": &autoscaling.ScalingPolicy{}, - "AWS::AutoScaling::ScheduledAction": &autoscaling.ScheduledAction{}, - "AWS::AutoScaling::WarmPool": &autoscaling.WarmPool{}, - "AWS::AutoScalingPlans::ScalingPlan": &autoscalingplans.ScalingPlan{}, - "AWS::Backup::BackupPlan": &backup.BackupPlan{}, - "AWS::Backup::BackupSelection": &backup.BackupSelection{}, - "AWS::Backup::BackupVault": &backup.BackupVault{}, - "AWS::Backup::Framework": &backup.Framework{}, - "AWS::Backup::ReportPlan": &backup.ReportPlan{}, - "AWS::Batch::ComputeEnvironment": &batch.ComputeEnvironment{}, - "AWS::Batch::JobDefinition": &batch.JobDefinition{}, - "AWS::Batch::JobQueue": &batch.JobQueue{}, - "AWS::Batch::SchedulingPolicy": &batch.SchedulingPolicy{}, - "AWS::Budgets::Budget": &budgets.Budget{}, - "AWS::Budgets::BudgetsAction": &budgets.BudgetsAction{}, - "AWS::CE::AnomalyMonitor": &ce.AnomalyMonitor{}, - "AWS::CE::AnomalySubscription": &ce.AnomalySubscription{}, - "AWS::CE::CostCategory": &ce.CostCategory{}, - "AWS::CUR::ReportDefinition": &cur.ReportDefinition{}, - "AWS::Cassandra::Keyspace": &cassandra.Keyspace{}, - "AWS::Cassandra::Table": &cassandra.Table{}, - "AWS::CertificateManager::Account": &certificatemanager.Account{}, - "AWS::CertificateManager::Certificate": &certificatemanager.Certificate{}, - "AWS::Chatbot::SlackChannelConfiguration": &chatbot.SlackChannelConfiguration{}, - "AWS::Cloud9::EnvironmentEC2": &cloud9.EnvironmentEC2{}, - "AWS::CloudFormation::CustomResource": &cloudformation.CustomResource{}, - "AWS::CloudFormation::Macro": &cloudformation.Macro{}, - "AWS::CloudFormation::ModuleDefaultVersion": &cloudformation.ModuleDefaultVersion{}, - "AWS::CloudFormation::ModuleVersion": &cloudformation.ModuleVersion{}, - "AWS::CloudFormation::PublicTypeVersion": &cloudformation.PublicTypeVersion{}, - "AWS::CloudFormation::Publisher": &cloudformation.Publisher{}, - "AWS::CloudFormation::ResourceDefaultVersion": &cloudformation.ResourceDefaultVersion{}, - "AWS::CloudFormation::ResourceVersion": &cloudformation.ResourceVersion{}, - "AWS::CloudFormation::Stack": &cloudformation.Stack{}, - "AWS::CloudFormation::StackSet": &cloudformation.StackSet{}, - "AWS::CloudFormation::TypeActivation": &cloudformation.TypeActivation{}, - "AWS::CloudFormation::WaitCondition": &cloudformation.WaitCondition{}, - "AWS::CloudFormation::WaitConditionHandle": &cloudformation.WaitConditionHandle{}, - "AWS::CloudFront::CachePolicy": &cloudfront.CachePolicy{}, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": &cloudfront.CloudFrontOriginAccessIdentity{}, - "AWS::CloudFront::Distribution": &cloudfront.Distribution{}, - "AWS::CloudFront::Function": &cloudfront.Function{}, - "AWS::CloudFront::KeyGroup": &cloudfront.KeyGroup{}, - "AWS::CloudFront::OriginRequestPolicy": &cloudfront.OriginRequestPolicy{}, - "AWS::CloudFront::PublicKey": &cloudfront.PublicKey{}, - "AWS::CloudFront::RealtimeLogConfig": &cloudfront.RealtimeLogConfig{}, - "AWS::CloudFront::ResponseHeadersPolicy": &cloudfront.ResponseHeadersPolicy{}, - "AWS::CloudFront::StreamingDistribution": &cloudfront.StreamingDistribution{}, - "AWS::CloudTrail::Trail": &cloudtrail.Trail{}, - "AWS::CloudWatch::Alarm": &cloudwatch.Alarm{}, - "AWS::CloudWatch::AnomalyDetector": &cloudwatch.AnomalyDetector{}, - "AWS::CloudWatch::CompositeAlarm": &cloudwatch.CompositeAlarm{}, - "AWS::CloudWatch::Dashboard": &cloudwatch.Dashboard{}, - "AWS::CloudWatch::InsightRule": &cloudwatch.InsightRule{}, - "AWS::CloudWatch::MetricStream": &cloudwatch.MetricStream{}, - "AWS::CodeArtifact::Domain": &codeartifact.Domain{}, - "AWS::CodeArtifact::Repository": &codeartifact.Repository{}, - "AWS::CodeBuild::Project": &codebuild.Project{}, - "AWS::CodeBuild::ReportGroup": &codebuild.ReportGroup{}, - "AWS::CodeBuild::SourceCredential": &codebuild.SourceCredential{}, - "AWS::CodeCommit::Repository": &codecommit.Repository{}, - "AWS::CodeDeploy::Application": &codedeploy.Application{}, - "AWS::CodeDeploy::DeploymentConfig": &codedeploy.DeploymentConfig{}, - "AWS::CodeDeploy::DeploymentGroup": &codedeploy.DeploymentGroup{}, - "AWS::CodeGuruProfiler::ProfilingGroup": &codeguruprofiler.ProfilingGroup{}, - "AWS::CodeGuruReviewer::RepositoryAssociation": &codegurureviewer.RepositoryAssociation{}, - "AWS::CodePipeline::CustomActionType": &codepipeline.CustomActionType{}, - "AWS::CodePipeline::Pipeline": &codepipeline.Pipeline{}, - "AWS::CodePipeline::Webhook": &codepipeline.Webhook{}, - "AWS::CodeStar::GitHubRepository": &codestar.GitHubRepository{}, - "AWS::CodeStarConnections::Connection": &codestarconnections.Connection{}, - "AWS::CodeStarNotifications::NotificationRule": &codestarnotifications.NotificationRule{}, - "AWS::Cognito::IdentityPool": &cognito.IdentityPool{}, - "AWS::Cognito::IdentityPoolRoleAttachment": &cognito.IdentityPoolRoleAttachment{}, - "AWS::Cognito::UserPool": &cognito.UserPool{}, - "AWS::Cognito::UserPoolClient": &cognito.UserPoolClient{}, - "AWS::Cognito::UserPoolDomain": &cognito.UserPoolDomain{}, - "AWS::Cognito::UserPoolGroup": &cognito.UserPoolGroup{}, - "AWS::Cognito::UserPoolIdentityProvider": &cognito.UserPoolIdentityProvider{}, - "AWS::Cognito::UserPoolResourceServer": &cognito.UserPoolResourceServer{}, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": &cognito.UserPoolRiskConfigurationAttachment{}, - "AWS::Cognito::UserPoolUICustomizationAttachment": &cognito.UserPoolUICustomizationAttachment{}, - "AWS::Cognito::UserPoolUser": &cognito.UserPoolUser{}, - "AWS::Cognito::UserPoolUserToGroupAttachment": &cognito.UserPoolUserToGroupAttachment{}, - "AWS::Config::AggregationAuthorization": &config.AggregationAuthorization{}, - "AWS::Config::ConfigRule": &config.ConfigRule{}, - "AWS::Config::ConfigurationAggregator": &config.ConfigurationAggregator{}, - "AWS::Config::ConfigurationRecorder": &config.ConfigurationRecorder{}, - "AWS::Config::ConformancePack": &config.ConformancePack{}, - "AWS::Config::DeliveryChannel": &config.DeliveryChannel{}, - "AWS::Config::OrganizationConfigRule": &config.OrganizationConfigRule{}, - "AWS::Config::OrganizationConformancePack": &config.OrganizationConformancePack{}, - "AWS::Config::RemediationConfiguration": &config.RemediationConfiguration{}, - "AWS::Config::StoredQuery": &config.StoredQuery{}, - "AWS::Connect::ContactFlow": &connect.ContactFlow{}, - "AWS::Connect::ContactFlowModule": &connect.ContactFlowModule{}, - "AWS::Connect::HoursOfOperation": &connect.HoursOfOperation{}, - "AWS::Connect::QuickConnect": &connect.QuickConnect{}, - "AWS::Connect::User": &connect.User{}, - "AWS::Connect::UserHierarchyGroup": &connect.UserHierarchyGroup{}, - "AWS::CustomerProfiles::Domain": &customerprofiles.Domain{}, - "AWS::CustomerProfiles::Integration": &customerprofiles.Integration{}, - "AWS::CustomerProfiles::ObjectType": &customerprofiles.ObjectType{}, - "AWS::DAX::Cluster": &dax.Cluster{}, - "AWS::DAX::ParameterGroup": &dax.ParameterGroup{}, - "AWS::DAX::SubnetGroup": &dax.SubnetGroup{}, - "AWS::DLM::LifecyclePolicy": &dlm.LifecyclePolicy{}, - "AWS::DMS::Certificate": &dms.Certificate{}, - "AWS::DMS::Endpoint": &dms.Endpoint{}, - "AWS::DMS::EventSubscription": &dms.EventSubscription{}, - "AWS::DMS::ReplicationInstance": &dms.ReplicationInstance{}, - "AWS::DMS::ReplicationSubnetGroup": &dms.ReplicationSubnetGroup{}, - "AWS::DMS::ReplicationTask": &dms.ReplicationTask{}, - "AWS::DataBrew::Dataset": &databrew.Dataset{}, - "AWS::DataBrew::Job": &databrew.Job{}, - "AWS::DataBrew::Project": &databrew.Project{}, - "AWS::DataBrew::Recipe": &databrew.Recipe{}, - "AWS::DataBrew::Ruleset": &databrew.Ruleset{}, - "AWS::DataBrew::Schedule": &databrew.Schedule{}, - "AWS::DataPipeline::Pipeline": &datapipeline.Pipeline{}, - "AWS::DataSync::Agent": &datasync.Agent{}, - "AWS::DataSync::LocationEFS": &datasync.LocationEFS{}, - "AWS::DataSync::LocationFSxWindows": &datasync.LocationFSxWindows{}, - "AWS::DataSync::LocationHDFS": &datasync.LocationHDFS{}, - "AWS::DataSync::LocationNFS": &datasync.LocationNFS{}, - "AWS::DataSync::LocationObjectStorage": &datasync.LocationObjectStorage{}, - "AWS::DataSync::LocationS3": &datasync.LocationS3{}, - "AWS::DataSync::LocationSMB": &datasync.LocationSMB{}, - "AWS::DataSync::Task": &datasync.Task{}, - "AWS::Detective::Graph": &detective.Graph{}, - "AWS::Detective::MemberInvitation": &detective.MemberInvitation{}, - "AWS::DevOpsGuru::NotificationChannel": &devopsguru.NotificationChannel{}, - "AWS::DevOpsGuru::ResourceCollection": &devopsguru.ResourceCollection{}, - "AWS::DirectoryService::MicrosoftAD": &directoryservice.MicrosoftAD{}, - "AWS::DirectoryService::SimpleAD": &directoryservice.SimpleAD{}, - "AWS::DocDB::DBCluster": &docdb.DBCluster{}, - "AWS::DocDB::DBClusterParameterGroup": &docdb.DBClusterParameterGroup{}, - "AWS::DocDB::DBInstance": &docdb.DBInstance{}, - "AWS::DocDB::DBSubnetGroup": &docdb.DBSubnetGroup{}, - "AWS::DynamoDB::GlobalTable": &dynamodb.GlobalTable{}, - "AWS::DynamoDB::Table": &dynamodb.Table{}, - "AWS::EC2::CapacityReservation": &ec2.CapacityReservation{}, - "AWS::EC2::CapacityReservationFleet": &ec2.CapacityReservationFleet{}, - "AWS::EC2::CarrierGateway": &ec2.CarrierGateway{}, - "AWS::EC2::ClientVpnAuthorizationRule": &ec2.ClientVpnAuthorizationRule{}, - "AWS::EC2::ClientVpnEndpoint": &ec2.ClientVpnEndpoint{}, - "AWS::EC2::ClientVpnRoute": &ec2.ClientVpnRoute{}, - "AWS::EC2::ClientVpnTargetNetworkAssociation": &ec2.ClientVpnTargetNetworkAssociation{}, - "AWS::EC2::CustomerGateway": &ec2.CustomerGateway{}, - "AWS::EC2::DHCPOptions": &ec2.DHCPOptions{}, - "AWS::EC2::EC2Fleet": &ec2.EC2Fleet{}, - "AWS::EC2::EIP": &ec2.EIP{}, - "AWS::EC2::EIPAssociation": &ec2.EIPAssociation{}, - "AWS::EC2::EgressOnlyInternetGateway": &ec2.EgressOnlyInternetGateway{}, - "AWS::EC2::EnclaveCertificateIamRoleAssociation": &ec2.EnclaveCertificateIamRoleAssociation{}, - "AWS::EC2::FlowLog": &ec2.FlowLog{}, - "AWS::EC2::GatewayRouteTableAssociation": &ec2.GatewayRouteTableAssociation{}, - "AWS::EC2::Host": &ec2.Host{}, - "AWS::EC2::IPAM": &ec2.IPAM{}, - "AWS::EC2::IPAMAllocation": &ec2.IPAMAllocation{}, - "AWS::EC2::IPAMPool": &ec2.IPAMPool{}, - "AWS::EC2::IPAMScope": &ec2.IPAMScope{}, - "AWS::EC2::Instance": &ec2.Instance{}, - "AWS::EC2::InternetGateway": &ec2.InternetGateway{}, - "AWS::EC2::LaunchTemplate": &ec2.LaunchTemplate{}, - "AWS::EC2::LocalGatewayRoute": &ec2.LocalGatewayRoute{}, - "AWS::EC2::LocalGatewayRouteTableVPCAssociation": &ec2.LocalGatewayRouteTableVPCAssociation{}, - "AWS::EC2::NatGateway": &ec2.NatGateway{}, - "AWS::EC2::NetworkAcl": &ec2.NetworkAcl{}, - "AWS::EC2::NetworkAclEntry": &ec2.NetworkAclEntry{}, - "AWS::EC2::NetworkInsightsAnalysis": &ec2.NetworkInsightsAnalysis{}, - "AWS::EC2::NetworkInsightsPath": &ec2.NetworkInsightsPath{}, - "AWS::EC2::NetworkInterface": &ec2.NetworkInterface{}, - "AWS::EC2::NetworkInterfaceAttachment": &ec2.NetworkInterfaceAttachment{}, - "AWS::EC2::NetworkInterfacePermission": &ec2.NetworkInterfacePermission{}, - "AWS::EC2::PlacementGroup": &ec2.PlacementGroup{}, - "AWS::EC2::PrefixList": &ec2.PrefixList{}, - "AWS::EC2::Route": &ec2.Route{}, - "AWS::EC2::RouteTable": &ec2.RouteTable{}, - "AWS::EC2::SecurityGroup": &ec2.SecurityGroup{}, - "AWS::EC2::SecurityGroupEgress": &ec2.SecurityGroupEgress{}, - "AWS::EC2::SecurityGroupIngress": &ec2.SecurityGroupIngress{}, - "AWS::EC2::SpotFleet": &ec2.SpotFleet{}, - "AWS::EC2::Subnet": &ec2.Subnet{}, - "AWS::EC2::SubnetCidrBlock": &ec2.SubnetCidrBlock{}, - "AWS::EC2::SubnetNetworkAclAssociation": &ec2.SubnetNetworkAclAssociation{}, - "AWS::EC2::SubnetRouteTableAssociation": &ec2.SubnetRouteTableAssociation{}, - "AWS::EC2::TrafficMirrorFilter": &ec2.TrafficMirrorFilter{}, - "AWS::EC2::TrafficMirrorFilterRule": &ec2.TrafficMirrorFilterRule{}, - "AWS::EC2::TrafficMirrorSession": &ec2.TrafficMirrorSession{}, - "AWS::EC2::TrafficMirrorTarget": &ec2.TrafficMirrorTarget{}, - "AWS::EC2::TransitGateway": &ec2.TransitGateway{}, - "AWS::EC2::TransitGatewayAttachment": &ec2.TransitGatewayAttachment{}, - "AWS::EC2::TransitGatewayConnect": &ec2.TransitGatewayConnect{}, - "AWS::EC2::TransitGatewayMulticastDomain": &ec2.TransitGatewayMulticastDomain{}, - "AWS::EC2::TransitGatewayMulticastDomainAssociation": &ec2.TransitGatewayMulticastDomainAssociation{}, - "AWS::EC2::TransitGatewayMulticastGroupMember": &ec2.TransitGatewayMulticastGroupMember{}, - "AWS::EC2::TransitGatewayMulticastGroupSource": &ec2.TransitGatewayMulticastGroupSource{}, - "AWS::EC2::TransitGatewayPeeringAttachment": &ec2.TransitGatewayPeeringAttachment{}, - "AWS::EC2::TransitGatewayRoute": &ec2.TransitGatewayRoute{}, - "AWS::EC2::TransitGatewayRouteTable": &ec2.TransitGatewayRouteTable{}, - "AWS::EC2::TransitGatewayRouteTableAssociation": &ec2.TransitGatewayRouteTableAssociation{}, - "AWS::EC2::TransitGatewayRouteTablePropagation": &ec2.TransitGatewayRouteTablePropagation{}, - "AWS::EC2::TransitGatewayVpcAttachment": &ec2.TransitGatewayVpcAttachment{}, - "AWS::EC2::VPC": &ec2.VPC{}, - "AWS::EC2::VPCCidrBlock": &ec2.VPCCidrBlock{}, - "AWS::EC2::VPCDHCPOptionsAssociation": &ec2.VPCDHCPOptionsAssociation{}, - "AWS::EC2::VPCEndpoint": &ec2.VPCEndpoint{}, - "AWS::EC2::VPCEndpointConnectionNotification": &ec2.VPCEndpointConnectionNotification{}, - "AWS::EC2::VPCEndpointService": &ec2.VPCEndpointService{}, - "AWS::EC2::VPCEndpointServicePermissions": &ec2.VPCEndpointServicePermissions{}, - "AWS::EC2::VPCGatewayAttachment": &ec2.VPCGatewayAttachment{}, - "AWS::EC2::VPCPeeringConnection": &ec2.VPCPeeringConnection{}, - "AWS::EC2::VPNConnection": &ec2.VPNConnection{}, - "AWS::EC2::VPNConnectionRoute": &ec2.VPNConnectionRoute{}, - "AWS::EC2::VPNGateway": &ec2.VPNGateway{}, - "AWS::EC2::VPNGatewayRoutePropagation": &ec2.VPNGatewayRoutePropagation{}, - "AWS::EC2::Volume": &ec2.Volume{}, - "AWS::EC2::VolumeAttachment": &ec2.VolumeAttachment{}, - "AWS::ECR::PublicRepository": &ecr.PublicRepository{}, - "AWS::ECR::RegistryPolicy": &ecr.RegistryPolicy{}, - "AWS::ECR::ReplicationConfiguration": &ecr.ReplicationConfiguration{}, - "AWS::ECR::Repository": &ecr.Repository{}, - "AWS::ECS::CapacityProvider": &ecs.CapacityProvider{}, - "AWS::ECS::Cluster": &ecs.Cluster{}, - "AWS::ECS::ClusterCapacityProviderAssociations": &ecs.ClusterCapacityProviderAssociations{}, - "AWS::ECS::PrimaryTaskSet": &ecs.PrimaryTaskSet{}, - "AWS::ECS::Service": &ecs.Service{}, - "AWS::ECS::TaskDefinition": &ecs.TaskDefinition{}, - "AWS::ECS::TaskSet": &ecs.TaskSet{}, - "AWS::EFS::AccessPoint": &efs.AccessPoint{}, - "AWS::EFS::FileSystem": &efs.FileSystem{}, - "AWS::EFS::MountTarget": &efs.MountTarget{}, - "AWS::EKS::Addon": &eks.Addon{}, - "AWS::EKS::Cluster": &eks.Cluster{}, - "AWS::EKS::AccessEntry": &eks.AccessEntry{}, - "AWS::EKS::FargateProfile": &eks.FargateProfile{}, - "AWS::EKS::Nodegroup": &eks.Nodegroup{}, - "AWS::EMR::Cluster": &emr.Cluster{}, - "AWS::EMR::InstanceFleetConfig": &emr.InstanceFleetConfig{}, - "AWS::EMR::InstanceGroupConfig": &emr.InstanceGroupConfig{}, - "AWS::EMR::SecurityConfiguration": &emr.SecurityConfiguration{}, - "AWS::EMR::Step": &emr.Step{}, - "AWS::EMR::Studio": &emr.Studio{}, - "AWS::EMR::StudioSessionMapping": &emr.StudioSessionMapping{}, - "AWS::EMRContainers::VirtualCluster": &emrcontainers.VirtualCluster{}, - "AWS::ElastiCache::CacheCluster": &elasticache.CacheCluster{}, - "AWS::ElastiCache::GlobalReplicationGroup": &elasticache.GlobalReplicationGroup{}, - "AWS::ElastiCache::ParameterGroup": &elasticache.ParameterGroup{}, - "AWS::ElastiCache::ReplicationGroup": &elasticache.ReplicationGroup{}, - "AWS::ElastiCache::SecurityGroup": &elasticache.SecurityGroup{}, - "AWS::ElastiCache::SecurityGroupIngress": &elasticache.SecurityGroupIngress{}, - "AWS::ElastiCache::SubnetGroup": &elasticache.SubnetGroup{}, - "AWS::ElastiCache::User": &elasticache.User{}, - "AWS::ElastiCache::UserGroup": &elasticache.UserGroup{}, - "AWS::ElasticBeanstalk::Application": &elasticbeanstalk.Application{}, - "AWS::ElasticBeanstalk::ApplicationVersion": &elasticbeanstalk.ApplicationVersion{}, - "AWS::ElasticBeanstalk::ConfigurationTemplate": &elasticbeanstalk.ConfigurationTemplate{}, - "AWS::ElasticBeanstalk::Environment": &elasticbeanstalk.Environment{}, - "AWS::ElasticLoadBalancing::LoadBalancer": &elasticloadbalancing.LoadBalancer{}, - "AWS::ElasticLoadBalancingV2::Listener": &elasticloadbalancingv2.Listener{}, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": &elasticloadbalancingv2.ListenerCertificate{}, - "AWS::ElasticLoadBalancingV2::ListenerRule": &elasticloadbalancingv2.ListenerRule{}, - "AWS::ElasticLoadBalancingV2::LoadBalancer": &elasticloadbalancingv2.LoadBalancer{}, - "AWS::ElasticLoadBalancingV2::TargetGroup": &elasticloadbalancingv2.TargetGroup{}, - "AWS::Elasticsearch::Domain": &elasticsearch.Domain{}, - "AWS::EventSchemas::Discoverer": &eventschemas.Discoverer{}, - "AWS::EventSchemas::Registry": &eventschemas.Registry{}, - "AWS::EventSchemas::RegistryPolicy": &eventschemas.RegistryPolicy{}, - "AWS::EventSchemas::Schema": &eventschemas.Schema{}, - "AWS::Events::ApiDestination": &events.ApiDestination{}, - "AWS::Events::Archive": &events.Archive{}, - "AWS::Events::Connection": &events.Connection{}, - "AWS::Events::EventBus": &events.EventBus{}, - "AWS::Events::EventBusPolicy": &events.EventBusPolicy{}, - "AWS::Events::Rule": &events.Rule{}, - "AWS::Evidently::Experiment": &evidently.Experiment{}, - "AWS::Evidently::Feature": &evidently.Feature{}, - "AWS::Evidently::Launch": &evidently.Launch{}, - "AWS::Evidently::Project": &evidently.Project{}, - "AWS::FIS::ExperimentTemplate": &fis.ExperimentTemplate{}, - "AWS::FMS::NotificationChannel": &fms.NotificationChannel{}, - "AWS::FMS::Policy": &fms.Policy{}, - "AWS::FSx::FileSystem": &fsx.FileSystem{}, - "AWS::FinSpace::Environment": &finspace.Environment{}, - "AWS::FraudDetector::Detector": &frauddetector.Detector{}, - "AWS::FraudDetector::EntityType": &frauddetector.EntityType{}, - "AWS::FraudDetector::EventType": &frauddetector.EventType{}, - "AWS::FraudDetector::Label": &frauddetector.Label{}, - "AWS::FraudDetector::Outcome": &frauddetector.Outcome{}, - "AWS::FraudDetector::Variable": &frauddetector.Variable{}, - "AWS::GameLift::Alias": &gamelift.Alias{}, - "AWS::GameLift::Build": &gamelift.Build{}, - "AWS::GameLift::Fleet": &gamelift.Fleet{}, - "AWS::GameLift::GameServerGroup": &gamelift.GameServerGroup{}, - "AWS::GameLift::GameSessionQueue": &gamelift.GameSessionQueue{}, - "AWS::GameLift::MatchmakingConfiguration": &gamelift.MatchmakingConfiguration{}, - "AWS::GameLift::MatchmakingRuleSet": &gamelift.MatchmakingRuleSet{}, - "AWS::GameLift::Script": &gamelift.Script{}, - "AWS::GlobalAccelerator::Accelerator": &globalaccelerator.Accelerator{}, - "AWS::GlobalAccelerator::EndpointGroup": &globalaccelerator.EndpointGroup{}, - "AWS::GlobalAccelerator::Listener": &globalaccelerator.Listener{}, - "AWS::Glue::Classifier": &glue.Classifier{}, - "AWS::Glue::Connection": &glue.Connection{}, - "AWS::Glue::Crawler": &glue.Crawler{}, - "AWS::Glue::DataCatalogEncryptionSettings": &glue.DataCatalogEncryptionSettings{}, - "AWS::Glue::Database": &glue.Database{}, - "AWS::Glue::DevEndpoint": &glue.DevEndpoint{}, - "AWS::Glue::Job": &glue.Job{}, - "AWS::Glue::MLTransform": &glue.MLTransform{}, - "AWS::Glue::Partition": &glue.Partition{}, - "AWS::Glue::Registry": &glue.Registry{}, - "AWS::Glue::Schema": &glue.Schema{}, - "AWS::Glue::SchemaVersion": &glue.SchemaVersion{}, - "AWS::Glue::SchemaVersionMetadata": &glue.SchemaVersionMetadata{}, - "AWS::Glue::SecurityConfiguration": &glue.SecurityConfiguration{}, - "AWS::Glue::Table": &glue.Table{}, - "AWS::Glue::Trigger": &glue.Trigger{}, - "AWS::Glue::Workflow": &glue.Workflow{}, - "AWS::Greengrass::ConnectorDefinition": &greengrass.ConnectorDefinition{}, - "AWS::Greengrass::ConnectorDefinitionVersion": &greengrass.ConnectorDefinitionVersion{}, - "AWS::Greengrass::CoreDefinition": &greengrass.CoreDefinition{}, - "AWS::Greengrass::CoreDefinitionVersion": &greengrass.CoreDefinitionVersion{}, - "AWS::Greengrass::DeviceDefinition": &greengrass.DeviceDefinition{}, - "AWS::Greengrass::DeviceDefinitionVersion": &greengrass.DeviceDefinitionVersion{}, - "AWS::Greengrass::FunctionDefinition": &greengrass.FunctionDefinition{}, - "AWS::Greengrass::FunctionDefinitionVersion": &greengrass.FunctionDefinitionVersion{}, - "AWS::Greengrass::Group": &greengrass.Group{}, - "AWS::Greengrass::GroupVersion": &greengrass.GroupVersion{}, - "AWS::Greengrass::LoggerDefinition": &greengrass.LoggerDefinition{}, - "AWS::Greengrass::LoggerDefinitionVersion": &greengrass.LoggerDefinitionVersion{}, - "AWS::Greengrass::ResourceDefinition": &greengrass.ResourceDefinition{}, - "AWS::Greengrass::ResourceDefinitionVersion": &greengrass.ResourceDefinitionVersion{}, - "AWS::Greengrass::SubscriptionDefinition": &greengrass.SubscriptionDefinition{}, - "AWS::Greengrass::SubscriptionDefinitionVersion": &greengrass.SubscriptionDefinitionVersion{}, - "AWS::GreengrassV2::ComponentVersion": &greengrassv2.ComponentVersion{}, - "AWS::GroundStation::Config": &groundstation.Config{}, - "AWS::GroundStation::DataflowEndpointGroup": &groundstation.DataflowEndpointGroup{}, - "AWS::GroundStation::MissionProfile": &groundstation.MissionProfile{}, - "AWS::GuardDuty::Detector": &guardduty.Detector{}, - "AWS::GuardDuty::Filter": &guardduty.Filter{}, - "AWS::GuardDuty::IPSet": &guardduty.IPSet{}, - "AWS::GuardDuty::Master": &guardduty.Master{}, - "AWS::GuardDuty::Member": &guardduty.Member{}, - "AWS::GuardDuty::ThreatIntelSet": &guardduty.ThreatIntelSet{}, - "AWS::HealthLake::FHIRDatastore": &healthlake.FHIRDatastore{}, - "AWS::IAM::AccessKey": &iam.AccessKey{}, - "AWS::IAM::Group": &iam.Group{}, - "AWS::IAM::InstanceProfile": &iam.InstanceProfile{}, - "AWS::IAM::ManagedPolicy": &iam.ManagedPolicy{}, - "AWS::IAM::OIDCProvider": &iam.OIDCProvider{}, - "AWS::IAM::Policy": &iam.Policy{}, - "AWS::IAM::Role": &iam.Role{}, - "AWS::IAM::SAMLProvider": &iam.SAMLProvider{}, - "AWS::IAM::ServerCertificate": &iam.ServerCertificate{}, - "AWS::IAM::ServiceLinkedRole": &iam.ServiceLinkedRole{}, - "AWS::IAM::User": &iam.User{}, - "AWS::IAM::UserToGroupAddition": &iam.UserToGroupAddition{}, - "AWS::IAM::VirtualMFADevice": &iam.VirtualMFADevice{}, - "AWS::IVS::Channel": &ivs.Channel{}, - "AWS::IVS::PlaybackKeyPair": &ivs.PlaybackKeyPair{}, - "AWS::IVS::RecordingConfiguration": &ivs.RecordingConfiguration{}, - "AWS::IVS::StreamKey": &ivs.StreamKey{}, - "AWS::ImageBuilder::Component": &imagebuilder.Component{}, - "AWS::ImageBuilder::ContainerRecipe": &imagebuilder.ContainerRecipe{}, - "AWS::ImageBuilder::DistributionConfiguration": &imagebuilder.DistributionConfiguration{}, - "AWS::ImageBuilder::Image": &imagebuilder.Image{}, - "AWS::ImageBuilder::ImagePipeline": &imagebuilder.ImagePipeline{}, - "AWS::ImageBuilder::ImageRecipe": &imagebuilder.ImageRecipe{}, - "AWS::ImageBuilder::InfrastructureConfiguration": &imagebuilder.InfrastructureConfiguration{}, - "AWS::Inspector::AssessmentTarget": &inspector.AssessmentTarget{}, - "AWS::Inspector::AssessmentTemplate": &inspector.AssessmentTemplate{}, - "AWS::Inspector::ResourceGroup": &inspector.ResourceGroup{}, - "AWS::IoT1Click::Device": &iot1click.Device{}, - "AWS::IoT1Click::Placement": &iot1click.Placement{}, - "AWS::IoT1Click::Project": &iot1click.Project{}, - "AWS::IoT::AccountAuditConfiguration": &iot.AccountAuditConfiguration{}, - "AWS::IoT::Authorizer": &iot.Authorizer{}, - "AWS::IoT::Certificate": &iot.Certificate{}, - "AWS::IoT::CustomMetric": &iot.CustomMetric{}, - "AWS::IoT::Dimension": &iot.Dimension{}, - "AWS::IoT::DomainConfiguration": &iot.DomainConfiguration{}, - "AWS::IoT::FleetMetric": &iot.FleetMetric{}, - "AWS::IoT::JobTemplate": &iot.JobTemplate{}, - "AWS::IoT::Logging": &iot.Logging{}, - "AWS::IoT::MitigationAction": &iot.MitigationAction{}, - "AWS::IoT::Policy": &iot.Policy{}, - "AWS::IoT::PolicyPrincipalAttachment": &iot.PolicyPrincipalAttachment{}, - "AWS::IoT::ProvisioningTemplate": &iot.ProvisioningTemplate{}, - "AWS::IoT::ResourceSpecificLogging": &iot.ResourceSpecificLogging{}, - "AWS::IoT::ScheduledAudit": &iot.ScheduledAudit{}, - "AWS::IoT::SecurityProfile": &iot.SecurityProfile{}, - "AWS::IoT::Thing": &iot.Thing{}, - "AWS::IoT::ThingPrincipalAttachment": &iot.ThingPrincipalAttachment{}, - "AWS::IoT::TopicRule": &iot.TopicRule{}, - "AWS::IoT::TopicRuleDestination": &iot.TopicRuleDestination{}, - "AWS::IoTAnalytics::Channel": &iotanalytics.Channel{}, - "AWS::IoTAnalytics::Dataset": &iotanalytics.Dataset{}, - "AWS::IoTAnalytics::Datastore": &iotanalytics.Datastore{}, - "AWS::IoTAnalytics::Pipeline": &iotanalytics.Pipeline{}, - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition": &iotcoredeviceadvisor.SuiteDefinition{}, - "AWS::IoTEvents::DetectorModel": &iotevents.DetectorModel{}, - "AWS::IoTEvents::Input": &iotevents.Input{}, - "AWS::IoTFleetHub::Application": &iotfleethub.Application{}, - "AWS::IoTSiteWise::AccessPolicy": &iotsitewise.AccessPolicy{}, - "AWS::IoTSiteWise::Asset": &iotsitewise.Asset{}, - "AWS::IoTSiteWise::AssetModel": &iotsitewise.AssetModel{}, - "AWS::IoTSiteWise::Dashboard": &iotsitewise.Dashboard{}, - "AWS::IoTSiteWise::Gateway": &iotsitewise.Gateway{}, - "AWS::IoTSiteWise::Portal": &iotsitewise.Portal{}, - "AWS::IoTSiteWise::Project": &iotsitewise.Project{}, - "AWS::IoTThingsGraph::FlowTemplate": &iotthingsgraph.FlowTemplate{}, - "AWS::IoTWireless::Destination": &iotwireless.Destination{}, - "AWS::IoTWireless::DeviceProfile": &iotwireless.DeviceProfile{}, - "AWS::IoTWireless::FuotaTask": &iotwireless.FuotaTask{}, - "AWS::IoTWireless::MulticastGroup": &iotwireless.MulticastGroup{}, - "AWS::IoTWireless::PartnerAccount": &iotwireless.PartnerAccount{}, - "AWS::IoTWireless::ServiceProfile": &iotwireless.ServiceProfile{}, - "AWS::IoTWireless::TaskDefinition": &iotwireless.TaskDefinition{}, - "AWS::IoTWireless::WirelessDevice": &iotwireless.WirelessDevice{}, - "AWS::IoTWireless::WirelessGateway": &iotwireless.WirelessGateway{}, - "AWS::KMS::Alias": &kms.Alias{}, - "AWS::KMS::Key": &kms.Key{}, - "AWS::KMS::ReplicaKey": &kms.ReplicaKey{}, - "AWS::Kendra::DataSource": &kendra.DataSource{}, - "AWS::Kendra::Faq": &kendra.Faq{}, - "AWS::Kendra::Index": &kendra.Index{}, - "AWS::Kinesis::Stream": &kinesis.Stream{}, - "AWS::Kinesis::StreamConsumer": &kinesis.StreamConsumer{}, - "AWS::KinesisAnalytics::Application": &kinesisanalytics.Application{}, - "AWS::KinesisAnalytics::ApplicationOutput": &kinesisanalytics.ApplicationOutput{}, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": &kinesisanalytics.ApplicationReferenceDataSource{}, - "AWS::KinesisAnalyticsV2::Application": &kinesisanalyticsv2.Application{}, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": &kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{}, - "AWS::KinesisAnalyticsV2::ApplicationOutput": &kinesisanalyticsv2.ApplicationOutput{}, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": &kinesisanalyticsv2.ApplicationReferenceDataSource{}, - "AWS::KinesisFirehose::DeliveryStream": &kinesisfirehose.DeliveryStream{}, - "AWS::LakeFormation::DataLakeSettings": &lakeformation.DataLakeSettings{}, - "AWS::LakeFormation::Permissions": &lakeformation.Permissions{}, - "AWS::LakeFormation::Resource": &lakeformation.Resource{}, - "AWS::Lambda::Alias": &lambda.Alias{}, - "AWS::Lambda::CodeSigningConfig": &lambda.CodeSigningConfig{}, - "AWS::Lambda::EventInvokeConfig": &lambda.EventInvokeConfig{}, - "AWS::Lambda::EventSourceMapping": &lambda.EventSourceMapping{}, - "AWS::Lambda::Function": &lambda.Function{}, - "AWS::Lambda::LayerVersion": &lambda.LayerVersion{}, - "AWS::Lambda::LayerVersionPermission": &lambda.LayerVersionPermission{}, - "AWS::Lambda::Permission": &lambda.Permission{}, - "AWS::Lambda::Version": &lambda.Version{}, - "AWS::LicenseManager::Grant": &licensemanager.Grant{}, - "AWS::LicenseManager::License": &licensemanager.License{}, - "AWS::Lightsail::Database": &lightsail.Database{}, - "AWS::Lightsail::Disk": &lightsail.Disk{}, - "AWS::Lightsail::Instance": &lightsail.Instance{}, - "AWS::Lightsail::StaticIp": &lightsail.StaticIp{}, - "AWS::Location::GeofenceCollection": &location.GeofenceCollection{}, - "AWS::Location::Map": &location.Map{}, - "AWS::Location::PlaceIndex": &location.PlaceIndex{}, - "AWS::Location::RouteCalculator": &location.RouteCalculator{}, - "AWS::Location::Tracker": &location.Tracker{}, - "AWS::Location::TrackerConsumer": &location.TrackerConsumer{}, - "AWS::Logs::Destination": &logs.Destination{}, - "AWS::Logs::LogGroup": &logs.LogGroup{}, - "AWS::Logs::LogStream": &logs.LogStream{}, - "AWS::Logs::MetricFilter": &logs.MetricFilter{}, - "AWS::Logs::QueryDefinition": &logs.QueryDefinition{}, - "AWS::Logs::ResourcePolicy": &logs.ResourcePolicy{}, - "AWS::Logs::SubscriptionFilter": &logs.SubscriptionFilter{}, - "AWS::LookoutEquipment::InferenceScheduler": &lookoutequipment.InferenceScheduler{}, - "AWS::LookoutMetrics::Alert": &lookoutmetrics.Alert{}, - "AWS::LookoutMetrics::AnomalyDetector": &lookoutmetrics.AnomalyDetector{}, - "AWS::LookoutVision::Project": &lookoutvision.Project{}, - "AWS::MSK::Cluster": &msk.Cluster{}, - "AWS::MWAA::Environment": &mwaa.Environment{}, - "AWS::Macie::CustomDataIdentifier": &macie.CustomDataIdentifier{}, - "AWS::Macie::FindingsFilter": &macie.FindingsFilter{}, - "AWS::Macie::Session": &macie.Session{}, - "AWS::ManagedBlockchain::Member": &managedblockchain.Member{}, - "AWS::ManagedBlockchain::Node": &managedblockchain.Node{}, - "AWS::MediaConnect::Flow": &mediaconnect.Flow{}, - "AWS::MediaConnect::FlowEntitlement": &mediaconnect.FlowEntitlement{}, - "AWS::MediaConnect::FlowOutput": &mediaconnect.FlowOutput{}, - "AWS::MediaConnect::FlowSource": &mediaconnect.FlowSource{}, - "AWS::MediaConnect::FlowVpcInterface": &mediaconnect.FlowVpcInterface{}, - "AWS::MediaConvert::JobTemplate": &mediaconvert.JobTemplate{}, - "AWS::MediaConvert::Preset": &mediaconvert.Preset{}, - "AWS::MediaConvert::Queue": &mediaconvert.Queue{}, - "AWS::MediaLive::Channel": &medialive.Channel{}, - "AWS::MediaLive::Input": &medialive.Input{}, - "AWS::MediaLive::InputSecurityGroup": &medialive.InputSecurityGroup{}, - "AWS::MediaPackage::Asset": &mediapackage.Asset{}, - "AWS::MediaPackage::Channel": &mediapackage.Channel{}, - "AWS::MediaPackage::OriginEndpoint": &mediapackage.OriginEndpoint{}, - "AWS::MediaPackage::PackagingConfiguration": &mediapackage.PackagingConfiguration{}, - "AWS::MediaPackage::PackagingGroup": &mediapackage.PackagingGroup{}, - "AWS::MediaStore::Container": &mediastore.Container{}, - "AWS::MemoryDB::ACL": &memorydb.ACL{}, - "AWS::MemoryDB::Cluster": &memorydb.Cluster{}, - "AWS::MemoryDB::ParameterGroup": &memorydb.ParameterGroup{}, - "AWS::MemoryDB::SubnetGroup": &memorydb.SubnetGroup{}, - "AWS::MemoryDB::User": &memorydb.User{}, - "AWS::Neptune::DBCluster": &neptune.DBCluster{}, - "AWS::Neptune::DBClusterParameterGroup": &neptune.DBClusterParameterGroup{}, - "AWS::Neptune::DBInstance": &neptune.DBInstance{}, - "AWS::Neptune::DBParameterGroup": &neptune.DBParameterGroup{}, - "AWS::Neptune::DBSubnetGroup": &neptune.DBSubnetGroup{}, - "AWS::NetworkFirewall::Firewall": &networkfirewall.Firewall{}, - "AWS::NetworkFirewall::FirewallPolicy": &networkfirewall.FirewallPolicy{}, - "AWS::NetworkFirewall::LoggingConfiguration": &networkfirewall.LoggingConfiguration{}, - "AWS::NetworkFirewall::RuleGroup": &networkfirewall.RuleGroup{}, - "AWS::NetworkManager::CustomerGatewayAssociation": &networkmanager.CustomerGatewayAssociation{}, - "AWS::NetworkManager::Device": &networkmanager.Device{}, - "AWS::NetworkManager::GlobalNetwork": &networkmanager.GlobalNetwork{}, - "AWS::NetworkManager::Link": &networkmanager.Link{}, - "AWS::NetworkManager::LinkAssociation": &networkmanager.LinkAssociation{}, - "AWS::NetworkManager::Site": &networkmanager.Site{}, - "AWS::NetworkManager::TransitGatewayRegistration": &networkmanager.TransitGatewayRegistration{}, - "AWS::NimbleStudio::LaunchProfile": &nimblestudio.LaunchProfile{}, - "AWS::NimbleStudio::StreamingImage": &nimblestudio.StreamingImage{}, - "AWS::NimbleStudio::Studio": &nimblestudio.Studio{}, - "AWS::NimbleStudio::StudioComponent": &nimblestudio.StudioComponent{}, - "AWS::OpenSearchService::Domain": &opensearchservice.Domain{}, - "AWS::OpsWorks::App": &opsworks.App{}, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": &opsworks.ElasticLoadBalancerAttachment{}, - "AWS::OpsWorks::Instance": &opsworks.Instance{}, - "AWS::OpsWorks::Layer": &opsworks.Layer{}, - "AWS::OpsWorks::Stack": &opsworks.Stack{}, - "AWS::OpsWorks::UserProfile": &opsworks.UserProfile{}, - "AWS::OpsWorks::Volume": &opsworks.Volume{}, - "AWS::OpsWorksCM::Server": &opsworkscm.Server{}, - "AWS::Panorama::ApplicationInstance": &panorama.ApplicationInstance{}, - "AWS::Panorama::Package": &panorama.Package{}, - "AWS::Panorama::PackageVersion": &panorama.PackageVersion{}, - "AWS::Pinpoint::ADMChannel": &pinpoint.ADMChannel{}, - "AWS::Pinpoint::APNSChannel": &pinpoint.APNSChannel{}, - "AWS::Pinpoint::APNSSandboxChannel": &pinpoint.APNSSandboxChannel{}, - "AWS::Pinpoint::APNSVoipChannel": &pinpoint.APNSVoipChannel{}, - "AWS::Pinpoint::APNSVoipSandboxChannel": &pinpoint.APNSVoipSandboxChannel{}, - "AWS::Pinpoint::App": &pinpoint.App{}, - "AWS::Pinpoint::ApplicationSettings": &pinpoint.ApplicationSettings{}, - "AWS::Pinpoint::BaiduChannel": &pinpoint.BaiduChannel{}, - "AWS::Pinpoint::Campaign": &pinpoint.Campaign{}, - "AWS::Pinpoint::EmailChannel": &pinpoint.EmailChannel{}, - "AWS::Pinpoint::EmailTemplate": &pinpoint.EmailTemplate{}, - "AWS::Pinpoint::EventStream": &pinpoint.EventStream{}, - "AWS::Pinpoint::GCMChannel": &pinpoint.GCMChannel{}, - "AWS::Pinpoint::InAppTemplate": &pinpoint.InAppTemplate{}, - "AWS::Pinpoint::PushTemplate": &pinpoint.PushTemplate{}, - "AWS::Pinpoint::SMSChannel": &pinpoint.SMSChannel{}, - "AWS::Pinpoint::Segment": &pinpoint.Segment{}, - "AWS::Pinpoint::SmsTemplate": &pinpoint.SmsTemplate{}, - "AWS::Pinpoint::VoiceChannel": &pinpoint.VoiceChannel{}, - "AWS::PinpointEmail::ConfigurationSet": &pinpointemail.ConfigurationSet{}, - "AWS::PinpointEmail::ConfigurationSetEventDestination": &pinpointemail.ConfigurationSetEventDestination{}, - "AWS::PinpointEmail::DedicatedIpPool": &pinpointemail.DedicatedIpPool{}, - "AWS::PinpointEmail::Identity": &pinpointemail.Identity{}, - "AWS::QLDB::Ledger": &qldb.Ledger{}, - "AWS::QLDB::Stream": &qldb.Stream{}, - "AWS::QuickSight::Analysis": &quicksight.Analysis{}, - "AWS::QuickSight::Dashboard": &quicksight.Dashboard{}, - "AWS::QuickSight::DataSet": &quicksight.DataSet{}, - "AWS::QuickSight::DataSource": &quicksight.DataSource{}, - "AWS::QuickSight::Template": &quicksight.Template{}, - "AWS::QuickSight::Theme": &quicksight.Theme{}, - "AWS::RAM::ResourceShare": &ram.ResourceShare{}, - "AWS::RDS::DBCluster": &rds.DBCluster{}, - "AWS::RDS::DBClusterParameterGroup": &rds.DBClusterParameterGroup{}, - "AWS::RDS::DBInstance": &rds.DBInstance{}, - "AWS::RDS::DBParameterGroup": &rds.DBParameterGroup{}, - "AWS::RDS::DBProxy": &rds.DBProxy{}, - "AWS::RDS::DBProxyEndpoint": &rds.DBProxyEndpoint{}, - "AWS::RDS::DBProxyTargetGroup": &rds.DBProxyTargetGroup{}, - "AWS::RDS::DBSecurityGroup": &rds.DBSecurityGroup{}, - "AWS::RDS::DBSecurityGroupIngress": &rds.DBSecurityGroupIngress{}, - "AWS::RDS::DBSubnetGroup": &rds.DBSubnetGroup{}, - "AWS::RDS::EventSubscription": &rds.EventSubscription{}, - "AWS::RDS::GlobalCluster": &rds.GlobalCluster{}, - "AWS::RDS::OptionGroup": &rds.OptionGroup{}, - "AWS::RUM::AppMonitor": &rum.AppMonitor{}, - "AWS::Redshift::Cluster": &redshift.Cluster{}, - "AWS::Redshift::ClusterParameterGroup": &redshift.ClusterParameterGroup{}, - "AWS::Redshift::ClusterSecurityGroup": &redshift.ClusterSecurityGroup{}, - "AWS::Redshift::ClusterSecurityGroupIngress": &redshift.ClusterSecurityGroupIngress{}, - "AWS::Redshift::ClusterSubnetGroup": &redshift.ClusterSubnetGroup{}, - "AWS::Redshift::EndpointAccess": &redshift.EndpointAccess{}, - "AWS::Redshift::EndpointAuthorization": &redshift.EndpointAuthorization{}, - "AWS::Redshift::EventSubscription": &redshift.EventSubscription{}, - "AWS::Redshift::ScheduledAction": &redshift.ScheduledAction{}, - "AWS::RefactorSpaces::Application": &refactorspaces.Application{}, - "AWS::RefactorSpaces::Environment": &refactorspaces.Environment{}, - "AWS::RefactorSpaces::Route": &refactorspaces.Route{}, - "AWS::RefactorSpaces::Service": &refactorspaces.Service{}, - "AWS::Rekognition::Project": &rekognition.Project{}, - "AWS::ResilienceHub::App": &resiliencehub.App{}, - "AWS::ResilienceHub::ResiliencyPolicy": &resiliencehub.ResiliencyPolicy{}, - "AWS::ResourceGroups::Group": &resourcegroups.Group{}, - "AWS::RoboMaker::Fleet": &robomaker.Fleet{}, - "AWS::RoboMaker::Robot": &robomaker.Robot{}, - "AWS::RoboMaker::RobotApplication": &robomaker.RobotApplication{}, - "AWS::RoboMaker::RobotApplicationVersion": &robomaker.RobotApplicationVersion{}, - "AWS::RoboMaker::SimulationApplication": &robomaker.SimulationApplication{}, - "AWS::RoboMaker::SimulationApplicationVersion": &robomaker.SimulationApplicationVersion{}, - "AWS::Route53::DNSSEC": &route53.DNSSEC{}, - "AWS::Route53::HealthCheck": &route53.HealthCheck{}, - "AWS::Route53::HostedZone": &route53.HostedZone{}, - "AWS::Route53::KeySigningKey": &route53.KeySigningKey{}, - "AWS::Route53::RecordSet": &route53.RecordSet{}, - "AWS::Route53::RecordSetGroup": &route53.RecordSetGroup{}, - "AWS::Route53RecoveryControl::Cluster": &route53recoverycontrol.Cluster{}, - "AWS::Route53RecoveryControl::ControlPanel": &route53recoverycontrol.ControlPanel{}, - "AWS::Route53RecoveryControl::RoutingControl": &route53recoverycontrol.RoutingControl{}, - "AWS::Route53RecoveryControl::SafetyRule": &route53recoverycontrol.SafetyRule{}, - "AWS::Route53RecoveryReadiness::Cell": &route53recoveryreadiness.Cell{}, - "AWS::Route53RecoveryReadiness::ReadinessCheck": &route53recoveryreadiness.ReadinessCheck{}, - "AWS::Route53RecoveryReadiness::RecoveryGroup": &route53recoveryreadiness.RecoveryGroup{}, - "AWS::Route53RecoveryReadiness::ResourceSet": &route53recoveryreadiness.ResourceSet{}, - "AWS::Route53Resolver::FirewallDomainList": &route53resolver.FirewallDomainList{}, - "AWS::Route53Resolver::FirewallRuleGroup": &route53resolver.FirewallRuleGroup{}, - "AWS::Route53Resolver::FirewallRuleGroupAssociation": &route53resolver.FirewallRuleGroupAssociation{}, - "AWS::Route53Resolver::ResolverConfig": &route53resolver.ResolverConfig{}, - "AWS::Route53Resolver::ResolverDNSSECConfig": &route53resolver.ResolverDNSSECConfig{}, - "AWS::Route53Resolver::ResolverEndpoint": &route53resolver.ResolverEndpoint{}, - "AWS::Route53Resolver::ResolverQueryLoggingConfig": &route53resolver.ResolverQueryLoggingConfig{}, - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation": &route53resolver.ResolverQueryLoggingConfigAssociation{}, - "AWS::Route53Resolver::ResolverRule": &route53resolver.ResolverRule{}, - "AWS::Route53Resolver::ResolverRuleAssociation": &route53resolver.ResolverRuleAssociation{}, - "AWS::S3::AccessPoint": &s3.AccessPoint{}, - "AWS::S3::Bucket": &s3.Bucket{}, - "AWS::S3::BucketPolicy": &s3.BucketPolicy{}, - "AWS::S3::MultiRegionAccessPoint": &s3.MultiRegionAccessPoint{}, - "AWS::S3::MultiRegionAccessPointPolicy": &s3.MultiRegionAccessPointPolicy{}, - "AWS::S3::StorageLens": &s3.StorageLens{}, - "AWS::S3ObjectLambda::AccessPoint": &s3objectlambda.AccessPoint{}, - "AWS::S3ObjectLambda::AccessPointPolicy": &s3objectlambda.AccessPointPolicy{}, - "AWS::S3Outposts::AccessPoint": &s3outposts.AccessPoint{}, - "AWS::S3Outposts::Bucket": &s3outposts.Bucket{}, - "AWS::S3Outposts::BucketPolicy": &s3outposts.BucketPolicy{}, - "AWS::S3Outposts::Endpoint": &s3outposts.Endpoint{}, - "AWS::SDB::Domain": &sdb.Domain{}, - "AWS::SES::ConfigurationSet": &ses.ConfigurationSet{}, - "AWS::SES::ConfigurationSetEventDestination": &ses.ConfigurationSetEventDestination{}, - "AWS::SES::ContactList": &ses.ContactList{}, - "AWS::SES::ReceiptFilter": &ses.ReceiptFilter{}, - "AWS::SES::ReceiptRule": &ses.ReceiptRule{}, - "AWS::SES::ReceiptRuleSet": &ses.ReceiptRuleSet{}, - "AWS::SES::Template": &ses.Template{}, - "AWS::SNS::Subscription": &sns.Subscription{}, - "AWS::SNS::Topic": &sns.Topic{}, - "AWS::SNS::TopicPolicy": &sns.TopicPolicy{}, - "AWS::SQS::Queue": &sqs.Queue{}, - "AWS::SQS::QueuePolicy": &sqs.QueuePolicy{}, - "AWS::SSM::Association": &ssm.Association{}, - "AWS::SSM::Document": &ssm.Document{}, - "AWS::SSM::MaintenanceWindow": &ssm.MaintenanceWindow{}, - "AWS::SSM::MaintenanceWindowTarget": &ssm.MaintenanceWindowTarget{}, - "AWS::SSM::MaintenanceWindowTask": &ssm.MaintenanceWindowTask{}, - "AWS::SSM::Parameter": &ssm.Parameter{}, - "AWS::SSM::PatchBaseline": &ssm.PatchBaseline{}, - "AWS::SSM::ResourceDataSync": &ssm.ResourceDataSync{}, - "AWS::SSMContacts::Contact": &ssmcontacts.Contact{}, - "AWS::SSMContacts::ContactChannel": &ssmcontacts.ContactChannel{}, - "AWS::SSMIncidents::ReplicationSet": &ssmincidents.ReplicationSet{}, - "AWS::SSMIncidents::ResponsePlan": &ssmincidents.ResponsePlan{}, - "AWS::SSO::Assignment": &sso.Assignment{}, - "AWS::SSO::InstanceAccessControlAttributeConfiguration": &sso.InstanceAccessControlAttributeConfiguration{}, - "AWS::SSO::PermissionSet": &sso.PermissionSet{}, - "AWS::SageMaker::App": &sagemaker.App{}, - "AWS::SageMaker::AppImageConfig": &sagemaker.AppImageConfig{}, - "AWS::SageMaker::CodeRepository": &sagemaker.CodeRepository{}, - "AWS::SageMaker::DataQualityJobDefinition": &sagemaker.DataQualityJobDefinition{}, - "AWS::SageMaker::Device": &sagemaker.Device{}, - "AWS::SageMaker::DeviceFleet": &sagemaker.DeviceFleet{}, - "AWS::SageMaker::Domain": &sagemaker.Domain{}, - "AWS::SageMaker::Endpoint": &sagemaker.Endpoint{}, - "AWS::SageMaker::EndpointConfig": &sagemaker.EndpointConfig{}, - "AWS::SageMaker::FeatureGroup": &sagemaker.FeatureGroup{}, - "AWS::SageMaker::Image": &sagemaker.Image{}, - "AWS::SageMaker::ImageVersion": &sagemaker.ImageVersion{}, - "AWS::SageMaker::Model": &sagemaker.Model{}, - "AWS::SageMaker::ModelBiasJobDefinition": &sagemaker.ModelBiasJobDefinition{}, - "AWS::SageMaker::ModelExplainabilityJobDefinition": &sagemaker.ModelExplainabilityJobDefinition{}, - "AWS::SageMaker::ModelPackageGroup": &sagemaker.ModelPackageGroup{}, - "AWS::SageMaker::ModelQualityJobDefinition": &sagemaker.ModelQualityJobDefinition{}, - "AWS::SageMaker::MonitoringSchedule": &sagemaker.MonitoringSchedule{}, - "AWS::SageMaker::NotebookInstance": &sagemaker.NotebookInstance{}, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": &sagemaker.NotebookInstanceLifecycleConfig{}, - "AWS::SageMaker::Pipeline": &sagemaker.Pipeline{}, - "AWS::SageMaker::Project": &sagemaker.Project{}, - "AWS::SageMaker::UserProfile": &sagemaker.UserProfile{}, - "AWS::SageMaker::Workteam": &sagemaker.Workteam{}, - "AWS::SecretsManager::ResourcePolicy": &secretsmanager.ResourcePolicy{}, - "AWS::SecretsManager::RotationSchedule": &secretsmanager.RotationSchedule{}, - "AWS::SecretsManager::Secret": &secretsmanager.Secret{}, - "AWS::SecretsManager::SecretTargetAttachment": &secretsmanager.SecretTargetAttachment{}, - "AWS::SecurityHub::Hub": &securityhub.Hub{}, - "AWS::Serverless::Api": &serverless.Api{}, - "AWS::Serverless::Application": &serverless.Application{}, - "AWS::Serverless::Function": &serverless.Function{}, - "AWS::Serverless::LayerVersion": &serverless.LayerVersion{}, - "AWS::Serverless::SimpleTable": &serverless.SimpleTable{}, - "AWS::Serverless::StateMachine": &serverless.StateMachine{}, - "AWS::ServiceCatalog::AcceptedPortfolioShare": &servicecatalog.AcceptedPortfolioShare{}, - "AWS::ServiceCatalog::CloudFormationProduct": &servicecatalog.CloudFormationProduct{}, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": &servicecatalog.CloudFormationProvisionedProduct{}, - "AWS::ServiceCatalog::LaunchNotificationConstraint": &servicecatalog.LaunchNotificationConstraint{}, - "AWS::ServiceCatalog::LaunchRoleConstraint": &servicecatalog.LaunchRoleConstraint{}, - "AWS::ServiceCatalog::LaunchTemplateConstraint": &servicecatalog.LaunchTemplateConstraint{}, - "AWS::ServiceCatalog::Portfolio": &servicecatalog.Portfolio{}, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": &servicecatalog.PortfolioPrincipalAssociation{}, - "AWS::ServiceCatalog::PortfolioProductAssociation": &servicecatalog.PortfolioProductAssociation{}, - "AWS::ServiceCatalog::PortfolioShare": &servicecatalog.PortfolioShare{}, - "AWS::ServiceCatalog::ResourceUpdateConstraint": &servicecatalog.ResourceUpdateConstraint{}, - "AWS::ServiceCatalog::ServiceAction": &servicecatalog.ServiceAction{}, - "AWS::ServiceCatalog::ServiceActionAssociation": &servicecatalog.ServiceActionAssociation{}, - "AWS::ServiceCatalog::StackSetConstraint": &servicecatalog.StackSetConstraint{}, - "AWS::ServiceCatalog::TagOption": &servicecatalog.TagOption{}, - "AWS::ServiceCatalog::TagOptionAssociation": &servicecatalog.TagOptionAssociation{}, - "AWS::ServiceCatalogAppRegistry::Application": &servicecatalogappregistry.Application{}, - "AWS::ServiceCatalogAppRegistry::AttributeGroup": &servicecatalogappregistry.AttributeGroup{}, - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation": &servicecatalogappregistry.AttributeGroupAssociation{}, - "AWS::ServiceCatalogAppRegistry::ResourceAssociation": &servicecatalogappregistry.ResourceAssociation{}, - "AWS::ServiceDiscovery::HttpNamespace": &servicediscovery.HttpNamespace{}, - "AWS::ServiceDiscovery::Instance": &servicediscovery.Instance{}, - "AWS::ServiceDiscovery::PrivateDnsNamespace": &servicediscovery.PrivateDnsNamespace{}, - "AWS::ServiceDiscovery::PublicDnsNamespace": &servicediscovery.PublicDnsNamespace{}, - "AWS::ServiceDiscovery::Service": &servicediscovery.Service{}, - "AWS::Signer::ProfilePermission": &signer.ProfilePermission{}, - "AWS::Signer::SigningProfile": &signer.SigningProfile{}, - "AWS::StepFunctions::Activity": &stepfunctions.Activity{}, - "AWS::StepFunctions::StateMachine": &stepfunctions.StateMachine{}, - "AWS::Synthetics::Canary": &synthetics.Canary{}, - "AWS::Timestream::Database": ×tream.Database{}, - "AWS::Timestream::ScheduledQuery": ×tream.ScheduledQuery{}, - "AWS::Timestream::Table": ×tream.Table{}, - "AWS::Transfer::Server": &transfer.Server{}, - "AWS::Transfer::User": &transfer.User{}, - "AWS::Transfer::Workflow": &transfer.Workflow{}, - "AWS::WAF::ByteMatchSet": &waf.ByteMatchSet{}, - "AWS::WAF::IPSet": &waf.IPSet{}, - "AWS::WAF::Rule": &waf.Rule{}, - "AWS::WAF::SizeConstraintSet": &waf.SizeConstraintSet{}, - "AWS::WAF::SqlInjectionMatchSet": &waf.SqlInjectionMatchSet{}, - "AWS::WAF::WebACL": &waf.WebACL{}, - "AWS::WAF::XssMatchSet": &waf.XssMatchSet{}, - "AWS::WAFRegional::ByteMatchSet": &wafregional.ByteMatchSet{}, - "AWS::WAFRegional::GeoMatchSet": &wafregional.GeoMatchSet{}, - "AWS::WAFRegional::IPSet": &wafregional.IPSet{}, - "AWS::WAFRegional::RateBasedRule": &wafregional.RateBasedRule{}, - "AWS::WAFRegional::RegexPatternSet": &wafregional.RegexPatternSet{}, - "AWS::WAFRegional::Rule": &wafregional.Rule{}, - "AWS::WAFRegional::SizeConstraintSet": &wafregional.SizeConstraintSet{}, - "AWS::WAFRegional::SqlInjectionMatchSet": &wafregional.SqlInjectionMatchSet{}, - "AWS::WAFRegional::WebACL": &wafregional.WebACL{}, - "AWS::WAFRegional::WebACLAssociation": &wafregional.WebACLAssociation{}, - "AWS::WAFRegional::XssMatchSet": &wafregional.XssMatchSet{}, - "AWS::WAFv2::IPSet": &wafv2.IPSet{}, - "AWS::WAFv2::LoggingConfiguration": &wafv2.LoggingConfiguration{}, - "AWS::WAFv2::RegexPatternSet": &wafv2.RegexPatternSet{}, - "AWS::WAFv2::RuleGroup": &wafv2.RuleGroup{}, - "AWS::WAFv2::WebACL": &wafv2.WebACL{}, - "AWS::WAFv2::WebACLAssociation": &wafv2.WebACLAssociation{}, - "AWS::Wisdom::Assistant": &wisdom.Assistant{}, - "AWS::Wisdom::AssistantAssociation": &wisdom.AssistantAssociation{}, - "AWS::Wisdom::KnowledgeBase": &wisdom.KnowledgeBase{}, - "AWS::WorkSpaces::ConnectionAlias": &workspaces.ConnectionAlias{}, - "AWS::WorkSpaces::Workspace": &workspaces.Workspace{}, - "AWS::XRay::Group": &xray.Group{}, - "AWS::XRay::SamplingRule": &xray.SamplingRule{}, - "Alexa::ASK::Skill": &ask.Skill{}, - } -} - -// GetAllACMPCACertificateResources retrieves all acmpca.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllACMPCACertificateResources() map[string]*acmpca.Certificate { - results := map[string]*acmpca.Certificate{} + "AWS::AutoScaling::AutoScalingGroup": &autoscaling.AutoScalingGroup{}, + "AWS::AutoScaling::LaunchConfiguration": &autoscaling.LaunchConfiguration{}, + "AWS::AutoScaling::LifecycleHook": &autoscaling.LifecycleHook{}, + "AWS::AutoScaling::ScalingPolicy": &autoscaling.ScalingPolicy{}, + "AWS::AutoScaling::ScheduledAction": &autoscaling.ScheduledAction{}, + "AWS::AutoScaling::WarmPool": &autoscaling.WarmPool{}, + "AWS::CloudFormation::CustomResource": &cloudformation.CustomResource{}, + "AWS::CloudFormation::GuardHook": &cloudformation.GuardHook{}, + "AWS::CloudFormation::HookDefaultVersion": &cloudformation.HookDefaultVersion{}, + "AWS::CloudFormation::HookTypeConfig": &cloudformation.HookTypeConfig{}, + "AWS::CloudFormation::HookVersion": &cloudformation.HookVersion{}, + "AWS::CloudFormation::LambdaHook": &cloudformation.LambdaHook{}, + "AWS::CloudFormation::Macro": &cloudformation.Macro{}, + "AWS::CloudFormation::ModuleDefaultVersion": &cloudformation.ModuleDefaultVersion{}, + "AWS::CloudFormation::ModuleVersion": &cloudformation.ModuleVersion{}, + "AWS::CloudFormation::PublicTypeVersion": &cloudformation.PublicTypeVersion{}, + "AWS::CloudFormation::Publisher": &cloudformation.Publisher{}, + "AWS::CloudFormation::ResourceDefaultVersion": &cloudformation.ResourceDefaultVersion{}, + "AWS::CloudFormation::ResourceVersion": &cloudformation.ResourceVersion{}, + "AWS::CloudFormation::Stack": &cloudformation.Stack{}, + "AWS::CloudFormation::StackSet": &cloudformation.StackSet{}, + "AWS::CloudFormation::TypeActivation": &cloudformation.TypeActivation{}, + "AWS::CloudFormation::WaitCondition": &cloudformation.WaitCondition{}, + "AWS::CloudFormation::WaitConditionHandle": &cloudformation.WaitConditionHandle{}, + "AWS::CloudWatch::Alarm": &cloudwatch.Alarm{}, + "AWS::CloudWatch::AnomalyDetector": &cloudwatch.AnomalyDetector{}, + "AWS::CloudWatch::CompositeAlarm": &cloudwatch.CompositeAlarm{}, + "AWS::CloudWatch::Dashboard": &cloudwatch.Dashboard{}, + "AWS::CloudWatch::InsightRule": &cloudwatch.InsightRule{}, + "AWS::CloudWatch::MetricStream": &cloudwatch.MetricStream{}, + "AWS::EC2::CapacityReservation": &ec2.CapacityReservation{}, + "AWS::EC2::CapacityReservationFleet": &ec2.CapacityReservationFleet{}, + "AWS::EC2::CarrierGateway": &ec2.CarrierGateway{}, + "AWS::EC2::ClientVpnAuthorizationRule": &ec2.ClientVpnAuthorizationRule{}, + "AWS::EC2::ClientVpnEndpoint": &ec2.ClientVpnEndpoint{}, + "AWS::EC2::ClientVpnRoute": &ec2.ClientVpnRoute{}, + "AWS::EC2::ClientVpnTargetNetworkAssociation": &ec2.ClientVpnTargetNetworkAssociation{}, + "AWS::EC2::CustomerGateway": &ec2.CustomerGateway{}, + "AWS::EC2::DHCPOptions": &ec2.DHCPOptions{}, + "AWS::EC2::EC2Fleet": &ec2.EC2Fleet{}, + "AWS::EC2::EIP": &ec2.EIP{}, + "AWS::EC2::EIPAssociation": &ec2.EIPAssociation{}, + "AWS::EC2::EgressOnlyInternetGateway": &ec2.EgressOnlyInternetGateway{}, + "AWS::EC2::EnclaveCertificateIamRoleAssociation": &ec2.EnclaveCertificateIamRoleAssociation{}, + "AWS::EC2::FlowLog": &ec2.FlowLog{}, + "AWS::EC2::GatewayRouteTableAssociation": &ec2.GatewayRouteTableAssociation{}, + "AWS::EC2::Host": &ec2.Host{}, + "AWS::EC2::IPAM": &ec2.IPAM{}, + "AWS::EC2::IPAMAllocation": &ec2.IPAMAllocation{}, + "AWS::EC2::IPAMPool": &ec2.IPAMPool{}, + "AWS::EC2::IPAMPoolCidr": &ec2.IPAMPoolCidr{}, + "AWS::EC2::IPAMResourceDiscovery": &ec2.IPAMResourceDiscovery{}, + "AWS::EC2::IPAMResourceDiscoveryAssociation": &ec2.IPAMResourceDiscoveryAssociation{}, + "AWS::EC2::IPAMScope": &ec2.IPAMScope{}, + "AWS::EC2::Instance": &ec2.Instance{}, + "AWS::EC2::InstanceConnectEndpoint": &ec2.InstanceConnectEndpoint{}, + "AWS::EC2::InternetGateway": &ec2.InternetGateway{}, + "AWS::EC2::KeyPair": &ec2.KeyPair{}, + "AWS::EC2::LaunchTemplate": &ec2.LaunchTemplate{}, + "AWS::EC2::LocalGatewayRoute": &ec2.LocalGatewayRoute{}, + "AWS::EC2::LocalGatewayRouteTable": &ec2.LocalGatewayRouteTable{}, + "AWS::EC2::LocalGatewayRouteTableVPCAssociation": &ec2.LocalGatewayRouteTableVPCAssociation{}, + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation": &ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation{}, + "AWS::EC2::NatGateway": &ec2.NatGateway{}, + "AWS::EC2::NetworkAcl": &ec2.NetworkAcl{}, + "AWS::EC2::NetworkAclEntry": &ec2.NetworkAclEntry{}, + "AWS::EC2::NetworkInsightsAccessScope": &ec2.NetworkInsightsAccessScope{}, + "AWS::EC2::NetworkInsightsAccessScopeAnalysis": &ec2.NetworkInsightsAccessScopeAnalysis{}, + "AWS::EC2::NetworkInsightsAnalysis": &ec2.NetworkInsightsAnalysis{}, + "AWS::EC2::NetworkInsightsPath": &ec2.NetworkInsightsPath{}, + "AWS::EC2::NetworkInterface": &ec2.NetworkInterface{}, + "AWS::EC2::NetworkInterfaceAttachment": &ec2.NetworkInterfaceAttachment{}, + "AWS::EC2::NetworkInterfacePermission": &ec2.NetworkInterfacePermission{}, + "AWS::EC2::NetworkPerformanceMetricSubscription": &ec2.NetworkPerformanceMetricSubscription{}, + "AWS::EC2::PlacementGroup": &ec2.PlacementGroup{}, + "AWS::EC2::PrefixList": &ec2.PrefixList{}, + "AWS::EC2::Route": &ec2.Route{}, + "AWS::EC2::RouteTable": &ec2.RouteTable{}, + "AWS::EC2::SecurityGroup": &ec2.SecurityGroup{}, + "AWS::EC2::SecurityGroupEgress": &ec2.SecurityGroupEgress{}, + "AWS::EC2::SecurityGroupIngress": &ec2.SecurityGroupIngress{}, + "AWS::EC2::SecurityGroupVpcAssociation": &ec2.SecurityGroupVpcAssociation{}, + "AWS::EC2::SnapshotBlockPublicAccess": &ec2.SnapshotBlockPublicAccess{}, + "AWS::EC2::SpotFleet": &ec2.SpotFleet{}, + "AWS::EC2::Subnet": &ec2.Subnet{}, + "AWS::EC2::SubnetCidrBlock": &ec2.SubnetCidrBlock{}, + "AWS::EC2::SubnetNetworkAclAssociation": &ec2.SubnetNetworkAclAssociation{}, + "AWS::EC2::SubnetRouteTableAssociation": &ec2.SubnetRouteTableAssociation{}, + "AWS::EC2::TrafficMirrorFilter": &ec2.TrafficMirrorFilter{}, + "AWS::EC2::TrafficMirrorFilterRule": &ec2.TrafficMirrorFilterRule{}, + "AWS::EC2::TrafficMirrorSession": &ec2.TrafficMirrorSession{}, + "AWS::EC2::TrafficMirrorTarget": &ec2.TrafficMirrorTarget{}, + "AWS::EC2::TransitGateway": &ec2.TransitGateway{}, + "AWS::EC2::TransitGatewayAttachment": &ec2.TransitGatewayAttachment{}, + "AWS::EC2::TransitGatewayConnect": &ec2.TransitGatewayConnect{}, + "AWS::EC2::TransitGatewayMulticastDomain": &ec2.TransitGatewayMulticastDomain{}, + "AWS::EC2::TransitGatewayMulticastDomainAssociation": &ec2.TransitGatewayMulticastDomainAssociation{}, + "AWS::EC2::TransitGatewayMulticastGroupMember": &ec2.TransitGatewayMulticastGroupMember{}, + "AWS::EC2::TransitGatewayMulticastGroupSource": &ec2.TransitGatewayMulticastGroupSource{}, + "AWS::EC2::TransitGatewayPeeringAttachment": &ec2.TransitGatewayPeeringAttachment{}, + "AWS::EC2::TransitGatewayRoute": &ec2.TransitGatewayRoute{}, + "AWS::EC2::TransitGatewayRouteTable": &ec2.TransitGatewayRouteTable{}, + "AWS::EC2::TransitGatewayRouteTableAssociation": &ec2.TransitGatewayRouteTableAssociation{}, + "AWS::EC2::TransitGatewayRouteTablePropagation": &ec2.TransitGatewayRouteTablePropagation{}, + "AWS::EC2::TransitGatewayVpcAttachment": &ec2.TransitGatewayVpcAttachment{}, + "AWS::EC2::VPC": &ec2.VPC{}, + "AWS::EC2::VPCBlockPublicAccessExclusion": &ec2.VPCBlockPublicAccessExclusion{}, + "AWS::EC2::VPCBlockPublicAccessOptions": &ec2.VPCBlockPublicAccessOptions{}, + "AWS::EC2::VPCCidrBlock": &ec2.VPCCidrBlock{}, + "AWS::EC2::VPCDHCPOptionsAssociation": &ec2.VPCDHCPOptionsAssociation{}, + "AWS::EC2::VPCEndpoint": &ec2.VPCEndpoint{}, + "AWS::EC2::VPCEndpointConnectionNotification": &ec2.VPCEndpointConnectionNotification{}, + "AWS::EC2::VPCEndpointService": &ec2.VPCEndpointService{}, + "AWS::EC2::VPCEndpointServicePermissions": &ec2.VPCEndpointServicePermissions{}, + "AWS::EC2::VPCGatewayAttachment": &ec2.VPCGatewayAttachment{}, + "AWS::EC2::VPCPeeringConnection": &ec2.VPCPeeringConnection{}, + "AWS::EC2::VPNConnection": &ec2.VPNConnection{}, + "AWS::EC2::VPNConnectionRoute": &ec2.VPNConnectionRoute{}, + "AWS::EC2::VPNGateway": &ec2.VPNGateway{}, + "AWS::EC2::VPNGatewayRoutePropagation": &ec2.VPNGatewayRoutePropagation{}, + "AWS::EC2::VerifiedAccessEndpoint": &ec2.VerifiedAccessEndpoint{}, + "AWS::EC2::VerifiedAccessGroup": &ec2.VerifiedAccessGroup{}, + "AWS::EC2::VerifiedAccessInstance": &ec2.VerifiedAccessInstance{}, + "AWS::EC2::VerifiedAccessTrustProvider": &ec2.VerifiedAccessTrustProvider{}, + "AWS::EC2::Volume": &ec2.Volume{}, + "AWS::EC2::VolumeAttachment": &ec2.VolumeAttachment{}, + "AWS::ECR::PublicRepository": &ecr.PublicRepository{}, + "AWS::ECR::PullThroughCacheRule": &ecr.PullThroughCacheRule{}, + "AWS::ECR::RegistryPolicy": &ecr.RegistryPolicy{}, + "AWS::ECR::ReplicationConfiguration": &ecr.ReplicationConfiguration{}, + "AWS::ECR::Repository": &ecr.Repository{}, + "AWS::ECR::RepositoryCreationTemplate": &ecr.RepositoryCreationTemplate{}, + "AWS::EKS::AccessEntry": &eks.AccessEntry{}, + "AWS::EKS::Addon": &eks.Addon{}, + "AWS::EKS::Cluster": &eks.Cluster{}, + "AWS::EKS::FargateProfile": &eks.FargateProfile{}, + "AWS::EKS::IdentityProviderConfig": &eks.IdentityProviderConfig{}, + "AWS::EKS::Nodegroup": &eks.Nodegroup{}, + "AWS::EKS::PodIdentityAssociation": &eks.PodIdentityAssociation{}, + "AWS::ElasticLoadBalancing::LoadBalancer": &elasticloadbalancing.LoadBalancer{}, + "AWS::ElasticLoadBalancingV2::Listener": &elasticloadbalancingv2.Listener{}, + "AWS::ElasticLoadBalancingV2::ListenerCertificate": &elasticloadbalancingv2.ListenerCertificate{}, + "AWS::ElasticLoadBalancingV2::ListenerRule": &elasticloadbalancingv2.ListenerRule{}, + "AWS::ElasticLoadBalancingV2::LoadBalancer": &elasticloadbalancingv2.LoadBalancer{}, + "AWS::ElasticLoadBalancingV2::TargetGroup": &elasticloadbalancingv2.TargetGroup{}, + "AWS::ElasticLoadBalancingV2::TrustStore": &elasticloadbalancingv2.TrustStore{}, + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation": &elasticloadbalancingv2.TrustStoreRevocation{}, + "AWS::Events::ApiDestination": &events.ApiDestination{}, + "AWS::Events::Archive": &events.Archive{}, + "AWS::Events::Connection": &events.Connection{}, + "AWS::Events::Endpoint": &events.Endpoint{}, + "AWS::Events::EventBus": &events.EventBus{}, + "AWS::Events::EventBusPolicy": &events.EventBusPolicy{}, + "AWS::Events::Rule": &events.Rule{}, + "AWS::IAM::AccessKey": &iam.AccessKey{}, + "AWS::IAM::Group": &iam.Group{}, + "AWS::IAM::GroupPolicy": &iam.GroupPolicy{}, + "AWS::IAM::InstanceProfile": &iam.InstanceProfile{}, + "AWS::IAM::ManagedPolicy": &iam.ManagedPolicy{}, + "AWS::IAM::OIDCProvider": &iam.OIDCProvider{}, + "AWS::IAM::Policy": &iam.Policy{}, + "AWS::IAM::Role": &iam.Role{}, + "AWS::IAM::RolePolicy": &iam.RolePolicy{}, + "AWS::IAM::SAMLProvider": &iam.SAMLProvider{}, + "AWS::IAM::ServerCertificate": &iam.ServerCertificate{}, + "AWS::IAM::ServiceLinkedRole": &iam.ServiceLinkedRole{}, + "AWS::IAM::User": &iam.User{}, + "AWS::IAM::UserPolicy": &iam.UserPolicy{}, + "AWS::IAM::UserToGroupAddition": &iam.UserToGroupAddition{}, + "AWS::IAM::VirtualMFADevice": &iam.VirtualMFADevice{}, + "AWS::KMS::Alias": &kms.Alias{}, + "AWS::KMS::Key": &kms.Key{}, + "AWS::KMS::ReplicaKey": &kms.ReplicaKey{}, + "AWS::Kinesis::ResourcePolicy": &kinesis.ResourcePolicy{}, + "AWS::Kinesis::Stream": &kinesis.Stream{}, + "AWS::Kinesis::StreamConsumer": &kinesis.StreamConsumer{}, + "AWS::Lambda::Alias": &lambda.Alias{}, + "AWS::Lambda::CodeSigningConfig": &lambda.CodeSigningConfig{}, + "AWS::Lambda::EventInvokeConfig": &lambda.EventInvokeConfig{}, + "AWS::Lambda::EventSourceMapping": &lambda.EventSourceMapping{}, + "AWS::Lambda::Function": &lambda.Function{}, + "AWS::Lambda::LayerVersion": &lambda.LayerVersion{}, + "AWS::Lambda::LayerVersionPermission": &lambda.LayerVersionPermission{}, + "AWS::Lambda::Permission": &lambda.Permission{}, + "AWS::Lambda::Url": &lambda.Url{}, + "AWS::Lambda::Version": &lambda.Version{}, + "AWS::RDS::CustomDBEngineVersion": &rds.CustomDBEngineVersion{}, + "AWS::RDS::DBCluster": &rds.DBCluster{}, + "AWS::RDS::DBClusterParameterGroup": &rds.DBClusterParameterGroup{}, + "AWS::RDS::DBInstance": &rds.DBInstance{}, + "AWS::RDS::DBParameterGroup": &rds.DBParameterGroup{}, + "AWS::RDS::DBProxy": &rds.DBProxy{}, + "AWS::RDS::DBProxyEndpoint": &rds.DBProxyEndpoint{}, + "AWS::RDS::DBProxyTargetGroup": &rds.DBProxyTargetGroup{}, + "AWS::RDS::DBSecurityGroup": &rds.DBSecurityGroup{}, + "AWS::RDS::DBSecurityGroupIngress": &rds.DBSecurityGroupIngress{}, + "AWS::RDS::DBShardGroup": &rds.DBShardGroup{}, + "AWS::RDS::DBSubnetGroup": &rds.DBSubnetGroup{}, + "AWS::RDS::EventSubscription": &rds.EventSubscription{}, + "AWS::RDS::GlobalCluster": &rds.GlobalCluster{}, + "AWS::RDS::Integration": &rds.Integration{}, + "AWS::RDS::OptionGroup": &rds.OptionGroup{}, + "AWS::RolesAnywhere::CRL": &rolesanywhere.CRL{}, + "AWS::RolesAnywhere::Profile": &rolesanywhere.Profile{}, + "AWS::RolesAnywhere::TrustAnchor": &rolesanywhere.TrustAnchor{}, + "AWS::Route53::CidrCollection": &route53.CidrCollection{}, + "AWS::Route53::DNSSEC": &route53.DNSSEC{}, + "AWS::Route53::HealthCheck": &route53.HealthCheck{}, + "AWS::Route53::HostedZone": &route53.HostedZone{}, + "AWS::Route53::KeySigningKey": &route53.KeySigningKey{}, + "AWS::Route53::RecordSet": &route53.RecordSet{}, + "AWS::Route53::RecordSetGroup": &route53.RecordSetGroup{}, + "AWS::S3::AccessGrant": &s3.AccessGrant{}, + "AWS::S3::AccessGrantsInstance": &s3.AccessGrantsInstance{}, + "AWS::S3::AccessGrantsLocation": &s3.AccessGrantsLocation{}, + "AWS::S3::AccessPoint": &s3.AccessPoint{}, + "AWS::S3::Bucket": &s3.Bucket{}, + "AWS::S3::BucketPolicy": &s3.BucketPolicy{}, + "AWS::S3::MultiRegionAccessPoint": &s3.MultiRegionAccessPoint{}, + "AWS::S3::MultiRegionAccessPointPolicy": &s3.MultiRegionAccessPointPolicy{}, + "AWS::S3::StorageLens": &s3.StorageLens{}, + "AWS::S3::StorageLensGroup": &s3.StorageLensGroup{}, + "AWS::SNS::Subscription": &sns.Subscription{}, + "AWS::SNS::Topic": &sns.Topic{}, + "AWS::SNS::TopicInlinePolicy": &sns.TopicInlinePolicy{}, + "AWS::SNS::TopicPolicy": &sns.TopicPolicy{}, + "AWS::SQS::Queue": &sqs.Queue{}, + "AWS::SQS::QueueInlinePolicy": &sqs.QueueInlinePolicy{}, + "AWS::SQS::QueuePolicy": &sqs.QueuePolicy{}, + "AWS::Serverless::Api": &serverless.Api{}, + "AWS::Serverless::Application": &serverless.Application{}, + "AWS::Serverless::Function": &serverless.Function{}, + "AWS::Serverless::LayerVersion": &serverless.LayerVersion{}, + "AWS::Serverless::SimpleTable": &serverless.SimpleTable{}, + "AWS::Serverless::StateMachine": &serverless.StateMachine{}, + } +} + +// GetAllAutoScalingAutoScalingGroupResources retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingAutoScalingGroupResources() map[string]*autoscaling.AutoScalingGroup { + results := map[string]*autoscaling.AutoScalingGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *acmpca.Certificate: + case *autoscaling.AutoScalingGroup: results[name] = resource } } return results } -// GetACMPCACertificateWithName retrieves all acmpca.Certificate items from an AWS CloudFormation template +// GetAutoScalingAutoScalingGroupWithName retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetACMPCACertificateWithName(name string) (*acmpca.Certificate, error) { +func (t *Template) GetAutoScalingAutoScalingGroupWithName(name string) (*autoscaling.AutoScalingGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *acmpca.Certificate: + case *autoscaling.AutoScalingGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type acmpca.Certificate not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.AutoScalingGroup not found", name) } -// GetAllACMPCACertificateAuthorityResources retrieves all acmpca.CertificateAuthority items from an AWS CloudFormation template -func (t *Template) GetAllACMPCACertificateAuthorityResources() map[string]*acmpca.CertificateAuthority { - results := map[string]*acmpca.CertificateAuthority{} +// GetAllAutoScalingLaunchConfigurationResources retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingLaunchConfigurationResources() map[string]*autoscaling.LaunchConfiguration { + results := map[string]*autoscaling.LaunchConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *acmpca.CertificateAuthority: + case *autoscaling.LaunchConfiguration: results[name] = resource } } return results } -// GetACMPCACertificateAuthorityWithName retrieves all acmpca.CertificateAuthority items from an AWS CloudFormation template +// GetAutoScalingLaunchConfigurationWithName retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetACMPCACertificateAuthorityWithName(name string) (*acmpca.CertificateAuthority, error) { +func (t *Template) GetAutoScalingLaunchConfigurationWithName(name string) (*autoscaling.LaunchConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *acmpca.CertificateAuthority: + case *autoscaling.LaunchConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type acmpca.CertificateAuthority not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.LaunchConfiguration not found", name) } -// GetAllACMPCACertificateAuthorityActivationResources retrieves all acmpca.CertificateAuthorityActivation items from an AWS CloudFormation template -func (t *Template) GetAllACMPCACertificateAuthorityActivationResources() map[string]*acmpca.CertificateAuthorityActivation { - results := map[string]*acmpca.CertificateAuthorityActivation{} +// GetAllAutoScalingLifecycleHookResources retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingLifecycleHookResources() map[string]*autoscaling.LifecycleHook { + results := map[string]*autoscaling.LifecycleHook{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *acmpca.CertificateAuthorityActivation: + case *autoscaling.LifecycleHook: results[name] = resource } } return results } -// GetACMPCACertificateAuthorityActivationWithName retrieves all acmpca.CertificateAuthorityActivation items from an AWS CloudFormation template +// GetAutoScalingLifecycleHookWithName retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetACMPCACertificateAuthorityActivationWithName(name string) (*acmpca.CertificateAuthorityActivation, error) { +func (t *Template) GetAutoScalingLifecycleHookWithName(name string) (*autoscaling.LifecycleHook, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *acmpca.CertificateAuthorityActivation: + case *autoscaling.LifecycleHook: return resource, nil } } - return nil, fmt.Errorf("resource %q of type acmpca.CertificateAuthorityActivation not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.LifecycleHook not found", name) } -// GetAllACMPCAPermissionResources retrieves all acmpca.Permission items from an AWS CloudFormation template -func (t *Template) GetAllACMPCAPermissionResources() map[string]*acmpca.Permission { - results := map[string]*acmpca.Permission{} +// GetAllAutoScalingScalingPolicyResources retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingScalingPolicyResources() map[string]*autoscaling.ScalingPolicy { + results := map[string]*autoscaling.ScalingPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *acmpca.Permission: + case *autoscaling.ScalingPolicy: results[name] = resource } } return results } -// GetACMPCAPermissionWithName retrieves all acmpca.Permission items from an AWS CloudFormation template +// GetAutoScalingScalingPolicyWithName retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetACMPCAPermissionWithName(name string) (*acmpca.Permission, error) { +func (t *Template) GetAutoScalingScalingPolicyWithName(name string) (*autoscaling.ScalingPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *acmpca.Permission: + case *autoscaling.ScalingPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type acmpca.Permission not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.ScalingPolicy not found", name) } -// GetAllAPSRuleGroupsNamespaceResources retrieves all aps.RuleGroupsNamespace items from an AWS CloudFormation template -func (t *Template) GetAllAPSRuleGroupsNamespaceResources() map[string]*aps.RuleGroupsNamespace { - results := map[string]*aps.RuleGroupsNamespace{} +// GetAllAutoScalingScheduledActionResources retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingScheduledActionResources() map[string]*autoscaling.ScheduledAction { + results := map[string]*autoscaling.ScheduledAction{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *aps.RuleGroupsNamespace: + case *autoscaling.ScheduledAction: results[name] = resource } } return results } -// GetAPSRuleGroupsNamespaceWithName retrieves all aps.RuleGroupsNamespace items from an AWS CloudFormation template +// GetAutoScalingScheduledActionWithName retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAPSRuleGroupsNamespaceWithName(name string) (*aps.RuleGroupsNamespace, error) { +func (t *Template) GetAutoScalingScheduledActionWithName(name string) (*autoscaling.ScheduledAction, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *aps.RuleGroupsNamespace: + case *autoscaling.ScheduledAction: return resource, nil } } - return nil, fmt.Errorf("resource %q of type aps.RuleGroupsNamespace not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.ScheduledAction not found", name) } -// GetAllAPSWorkspaceResources retrieves all aps.Workspace items from an AWS CloudFormation template -func (t *Template) GetAllAPSWorkspaceResources() map[string]*aps.Workspace { - results := map[string]*aps.Workspace{} +// GetAllAutoScalingWarmPoolResources retrieves all autoscaling.WarmPool items from an AWS CloudFormation template +func (t *Template) GetAllAutoScalingWarmPoolResources() map[string]*autoscaling.WarmPool { + results := map[string]*autoscaling.WarmPool{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *aps.Workspace: + case *autoscaling.WarmPool: results[name] = resource } } return results } -// GetAPSWorkspaceWithName retrieves all aps.Workspace items from an AWS CloudFormation template +// GetAutoScalingWarmPoolWithName retrieves all autoscaling.WarmPool items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAPSWorkspaceWithName(name string) (*aps.Workspace, error) { +func (t *Template) GetAutoScalingWarmPoolWithName(name string) (*autoscaling.WarmPool, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *aps.Workspace: + case *autoscaling.WarmPool: return resource, nil } } - return nil, fmt.Errorf("resource %q of type aps.Workspace not found", name) + return nil, fmt.Errorf("resource %q of type autoscaling.WarmPool not found", name) } -// GetAllAccessAnalyzerAnalyzerResources retrieves all accessanalyzer.Analyzer items from an AWS CloudFormation template -func (t *Template) GetAllAccessAnalyzerAnalyzerResources() map[string]*accessanalyzer.Analyzer { - results := map[string]*accessanalyzer.Analyzer{} +// GetAllCloudFormationCustomResourceResources retrieves all cloudformation.CustomResource items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationCustomResourceResources() map[string]*cloudformation.CustomResource { + results := map[string]*cloudformation.CustomResource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *accessanalyzer.Analyzer: + case *cloudformation.CustomResource: results[name] = resource } } return results } -// GetAccessAnalyzerAnalyzerWithName retrieves all accessanalyzer.Analyzer items from an AWS CloudFormation template +// GetCloudFormationCustomResourceWithName retrieves all cloudformation.CustomResource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAccessAnalyzerAnalyzerWithName(name string) (*accessanalyzer.Analyzer, error) { +func (t *Template) GetCloudFormationCustomResourceWithName(name string) (*cloudformation.CustomResource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *accessanalyzer.Analyzer: + case *cloudformation.CustomResource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type accessanalyzer.Analyzer not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.CustomResource not found", name) } -// GetAllAmazonMQBrokerResources retrieves all amazonmq.Broker items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQBrokerResources() map[string]*amazonmq.Broker { - results := map[string]*amazonmq.Broker{} +// GetAllCloudFormationGuardHookResources retrieves all cloudformation.GuardHook items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationGuardHookResources() map[string]*cloudformation.GuardHook { + results := map[string]*cloudformation.GuardHook{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.Broker: + case *cloudformation.GuardHook: results[name] = resource } } return results } -// GetAmazonMQBrokerWithName retrieves all amazonmq.Broker items from an AWS CloudFormation template +// GetCloudFormationGuardHookWithName retrieves all cloudformation.GuardHook items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQBrokerWithName(name string) (*amazonmq.Broker, error) { +func (t *Template) GetCloudFormationGuardHookWithName(name string) (*cloudformation.GuardHook, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.Broker: + case *cloudformation.GuardHook: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.Broker not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.GuardHook not found", name) } -// GetAllAmazonMQConfigurationResources retrieves all amazonmq.Configuration items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQConfigurationResources() map[string]*amazonmq.Configuration { - results := map[string]*amazonmq.Configuration{} +// GetAllCloudFormationHookDefaultVersionResources retrieves all cloudformation.HookDefaultVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationHookDefaultVersionResources() map[string]*cloudformation.HookDefaultVersion { + results := map[string]*cloudformation.HookDefaultVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.Configuration: + case *cloudformation.HookDefaultVersion: results[name] = resource } } return results } -// GetAmazonMQConfigurationWithName retrieves all amazonmq.Configuration items from an AWS CloudFormation template +// GetCloudFormationHookDefaultVersionWithName retrieves all cloudformation.HookDefaultVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQConfigurationWithName(name string) (*amazonmq.Configuration, error) { +func (t *Template) GetCloudFormationHookDefaultVersionWithName(name string) (*cloudformation.HookDefaultVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.Configuration: + case *cloudformation.HookDefaultVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.Configuration not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.HookDefaultVersion not found", name) } -// GetAllAmazonMQConfigurationAssociationResources retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAmazonMQConfigurationAssociationResources() map[string]*amazonmq.ConfigurationAssociation { - results := map[string]*amazonmq.ConfigurationAssociation{} +// GetAllCloudFormationHookTypeConfigResources retrieves all cloudformation.HookTypeConfig items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationHookTypeConfigResources() map[string]*cloudformation.HookTypeConfig { + results := map[string]*cloudformation.HookTypeConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amazonmq.ConfigurationAssociation: + case *cloudformation.HookTypeConfig: results[name] = resource } } return results } -// GetAmazonMQConfigurationAssociationWithName retrieves all amazonmq.ConfigurationAssociation items from an AWS CloudFormation template +// GetCloudFormationHookTypeConfigWithName retrieves all cloudformation.HookTypeConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmazonMQConfigurationAssociationWithName(name string) (*amazonmq.ConfigurationAssociation, error) { +func (t *Template) GetCloudFormationHookTypeConfigWithName(name string) (*cloudformation.HookTypeConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amazonmq.ConfigurationAssociation: + case *cloudformation.HookTypeConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amazonmq.ConfigurationAssociation not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.HookTypeConfig not found", name) } -// GetAllAmplifyAppResources retrieves all amplify.App items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyAppResources() map[string]*amplify.App { - results := map[string]*amplify.App{} +// GetAllCloudFormationHookVersionResources retrieves all cloudformation.HookVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationHookVersionResources() map[string]*cloudformation.HookVersion { + results := map[string]*cloudformation.HookVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.App: + case *cloudformation.HookVersion: results[name] = resource } } return results } -// GetAmplifyAppWithName retrieves all amplify.App items from an AWS CloudFormation template +// GetCloudFormationHookVersionWithName retrieves all cloudformation.HookVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyAppWithName(name string) (*amplify.App, error) { +func (t *Template) GetCloudFormationHookVersionWithName(name string) (*cloudformation.HookVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.App: + case *cloudformation.HookVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.App not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.HookVersion not found", name) } -// GetAllAmplifyBranchResources retrieves all amplify.Branch items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyBranchResources() map[string]*amplify.Branch { - results := map[string]*amplify.Branch{} +// GetAllCloudFormationLambdaHookResources retrieves all cloudformation.LambdaHook items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationLambdaHookResources() map[string]*cloudformation.LambdaHook { + results := map[string]*cloudformation.LambdaHook{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.Branch: + case *cloudformation.LambdaHook: results[name] = resource } } return results } -// GetAmplifyBranchWithName retrieves all amplify.Branch items from an AWS CloudFormation template +// GetCloudFormationLambdaHookWithName retrieves all cloudformation.LambdaHook items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyBranchWithName(name string) (*amplify.Branch, error) { +func (t *Template) GetCloudFormationLambdaHookWithName(name string) (*cloudformation.LambdaHook, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.Branch: + case *cloudformation.LambdaHook: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.Branch not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.LambdaHook not found", name) } -// GetAllAmplifyDomainResources retrieves all amplify.Domain items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyDomainResources() map[string]*amplify.Domain { - results := map[string]*amplify.Domain{} +// GetAllCloudFormationMacroResources retrieves all cloudformation.Macro items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationMacroResources() map[string]*cloudformation.Macro { + results := map[string]*cloudformation.Macro{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplify.Domain: + case *cloudformation.Macro: results[name] = resource } } return results } -// GetAmplifyDomainWithName retrieves all amplify.Domain items from an AWS CloudFormation template +// GetCloudFormationMacroWithName retrieves all cloudformation.Macro items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyDomainWithName(name string) (*amplify.Domain, error) { +func (t *Template) GetCloudFormationMacroWithName(name string) (*cloudformation.Macro, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplify.Domain: + case *cloudformation.Macro: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplify.Domain not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.Macro not found", name) } -// GetAllAmplifyUIBuilderComponentResources retrieves all amplifyuibuilder.Component items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyUIBuilderComponentResources() map[string]*amplifyuibuilder.Component { - results := map[string]*amplifyuibuilder.Component{} +// GetAllCloudFormationModuleDefaultVersionResources retrieves all cloudformation.ModuleDefaultVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationModuleDefaultVersionResources() map[string]*cloudformation.ModuleDefaultVersion { + results := map[string]*cloudformation.ModuleDefaultVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplifyuibuilder.Component: + case *cloudformation.ModuleDefaultVersion: results[name] = resource } } return results } -// GetAmplifyUIBuilderComponentWithName retrieves all amplifyuibuilder.Component items from an AWS CloudFormation template +// GetCloudFormationModuleDefaultVersionWithName retrieves all cloudformation.ModuleDefaultVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyUIBuilderComponentWithName(name string) (*amplifyuibuilder.Component, error) { +func (t *Template) GetCloudFormationModuleDefaultVersionWithName(name string) (*cloudformation.ModuleDefaultVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplifyuibuilder.Component: + case *cloudformation.ModuleDefaultVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplifyuibuilder.Component not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.ModuleDefaultVersion not found", name) } -// GetAllAmplifyUIBuilderThemeResources retrieves all amplifyuibuilder.Theme items from an AWS CloudFormation template -func (t *Template) GetAllAmplifyUIBuilderThemeResources() map[string]*amplifyuibuilder.Theme { - results := map[string]*amplifyuibuilder.Theme{} +// GetAllCloudFormationModuleVersionResources retrieves all cloudformation.ModuleVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationModuleVersionResources() map[string]*cloudformation.ModuleVersion { + results := map[string]*cloudformation.ModuleVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *amplifyuibuilder.Theme: + case *cloudformation.ModuleVersion: results[name] = resource } } return results } -// GetAmplifyUIBuilderThemeWithName retrieves all amplifyuibuilder.Theme items from an AWS CloudFormation template +// GetCloudFormationModuleVersionWithName retrieves all cloudformation.ModuleVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAmplifyUIBuilderThemeWithName(name string) (*amplifyuibuilder.Theme, error) { +func (t *Template) GetCloudFormationModuleVersionWithName(name string) (*cloudformation.ModuleVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *amplifyuibuilder.Theme: + case *cloudformation.ModuleVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type amplifyuibuilder.Theme not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.ModuleVersion not found", name) } -// GetAllApiGatewayAccountResources retrieves all apigateway.Account items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayAccountResources() map[string]*apigateway.Account { - results := map[string]*apigateway.Account{} +// GetAllCloudFormationPublicTypeVersionResources retrieves all cloudformation.PublicTypeVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationPublicTypeVersionResources() map[string]*cloudformation.PublicTypeVersion { + results := map[string]*cloudformation.PublicTypeVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Account: + case *cloudformation.PublicTypeVersion: results[name] = resource } } return results } -// GetApiGatewayAccountWithName retrieves all apigateway.Account items from an AWS CloudFormation template +// GetCloudFormationPublicTypeVersionWithName retrieves all cloudformation.PublicTypeVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayAccountWithName(name string) (*apigateway.Account, error) { +func (t *Template) GetCloudFormationPublicTypeVersionWithName(name string) (*cloudformation.PublicTypeVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Account: + case *cloudformation.PublicTypeVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Account not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.PublicTypeVersion not found", name) } -// GetAllApiGatewayApiKeyResources retrieves all apigateway.ApiKey items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayApiKeyResources() map[string]*apigateway.ApiKey { - results := map[string]*apigateway.ApiKey{} +// GetAllCloudFormationPublisherResources retrieves all cloudformation.Publisher items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationPublisherResources() map[string]*cloudformation.Publisher { + results := map[string]*cloudformation.Publisher{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.ApiKey: + case *cloudformation.Publisher: results[name] = resource } } return results } -// GetApiGatewayApiKeyWithName retrieves all apigateway.ApiKey items from an AWS CloudFormation template +// GetCloudFormationPublisherWithName retrieves all cloudformation.Publisher items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayApiKeyWithName(name string) (*apigateway.ApiKey, error) { +func (t *Template) GetCloudFormationPublisherWithName(name string) (*cloudformation.Publisher, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.ApiKey: + case *cloudformation.Publisher: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.ApiKey not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.Publisher not found", name) } -// GetAllApiGatewayAuthorizerResources retrieves all apigateway.Authorizer items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayAuthorizerResources() map[string]*apigateway.Authorizer { - results := map[string]*apigateway.Authorizer{} +// GetAllCloudFormationResourceDefaultVersionResources retrieves all cloudformation.ResourceDefaultVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationResourceDefaultVersionResources() map[string]*cloudformation.ResourceDefaultVersion { + results := map[string]*cloudformation.ResourceDefaultVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Authorizer: + case *cloudformation.ResourceDefaultVersion: results[name] = resource } } return results } -// GetApiGatewayAuthorizerWithName retrieves all apigateway.Authorizer items from an AWS CloudFormation template +// GetCloudFormationResourceDefaultVersionWithName retrieves all cloudformation.ResourceDefaultVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayAuthorizerWithName(name string) (*apigateway.Authorizer, error) { +func (t *Template) GetCloudFormationResourceDefaultVersionWithName(name string) (*cloudformation.ResourceDefaultVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Authorizer: + case *cloudformation.ResourceDefaultVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Authorizer not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.ResourceDefaultVersion not found", name) } -// GetAllApiGatewayBasePathMappingResources retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayBasePathMappingResources() map[string]*apigateway.BasePathMapping { - results := map[string]*apigateway.BasePathMapping{} +// GetAllCloudFormationResourceVersionResources retrieves all cloudformation.ResourceVersion items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationResourceVersionResources() map[string]*cloudformation.ResourceVersion { + results := map[string]*cloudformation.ResourceVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.BasePathMapping: + case *cloudformation.ResourceVersion: results[name] = resource } } return results } -// GetApiGatewayBasePathMappingWithName retrieves all apigateway.BasePathMapping items from an AWS CloudFormation template +// GetCloudFormationResourceVersionWithName retrieves all cloudformation.ResourceVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayBasePathMappingWithName(name string) (*apigateway.BasePathMapping, error) { +func (t *Template) GetCloudFormationResourceVersionWithName(name string) (*cloudformation.ResourceVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.BasePathMapping: + case *cloudformation.ResourceVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.BasePathMapping not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.ResourceVersion not found", name) } -// GetAllApiGatewayClientCertificateResources retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayClientCertificateResources() map[string]*apigateway.ClientCertificate { - results := map[string]*apigateway.ClientCertificate{} +// GetAllCloudFormationStackResources retrieves all cloudformation.Stack items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationStackResources() map[string]*cloudformation.Stack { + results := map[string]*cloudformation.Stack{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.ClientCertificate: + case *cloudformation.Stack: results[name] = resource } } return results } -// GetApiGatewayClientCertificateWithName retrieves all apigateway.ClientCertificate items from an AWS CloudFormation template +// GetCloudFormationStackWithName retrieves all cloudformation.Stack items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayClientCertificateWithName(name string) (*apigateway.ClientCertificate, error) { +func (t *Template) GetCloudFormationStackWithName(name string) (*cloudformation.Stack, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.ClientCertificate: + case *cloudformation.Stack: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.ClientCertificate not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.Stack not found", name) } -// GetAllApiGatewayDeploymentResources retrieves all apigateway.Deployment items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDeploymentResources() map[string]*apigateway.Deployment { - results := map[string]*apigateway.Deployment{} +// GetAllCloudFormationStackSetResources retrieves all cloudformation.StackSet items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationStackSetResources() map[string]*cloudformation.StackSet { + results := map[string]*cloudformation.StackSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Deployment: + case *cloudformation.StackSet: results[name] = resource } } return results } -// GetApiGatewayDeploymentWithName retrieves all apigateway.Deployment items from an AWS CloudFormation template +// GetCloudFormationStackSetWithName retrieves all cloudformation.StackSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDeploymentWithName(name string) (*apigateway.Deployment, error) { +func (t *Template) GetCloudFormationStackSetWithName(name string) (*cloudformation.StackSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Deployment: + case *cloudformation.StackSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Deployment not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.StackSet not found", name) } -// GetAllApiGatewayDocumentationPartResources retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDocumentationPartResources() map[string]*apigateway.DocumentationPart { - results := map[string]*apigateway.DocumentationPart{} +// GetAllCloudFormationTypeActivationResources retrieves all cloudformation.TypeActivation items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationTypeActivationResources() map[string]*cloudformation.TypeActivation { + results := map[string]*cloudformation.TypeActivation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DocumentationPart: + case *cloudformation.TypeActivation: results[name] = resource } } return results } -// GetApiGatewayDocumentationPartWithName retrieves all apigateway.DocumentationPart items from an AWS CloudFormation template +// GetCloudFormationTypeActivationWithName retrieves all cloudformation.TypeActivation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDocumentationPartWithName(name string) (*apigateway.DocumentationPart, error) { +func (t *Template) GetCloudFormationTypeActivationWithName(name string) (*cloudformation.TypeActivation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DocumentationPart: + case *cloudformation.TypeActivation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DocumentationPart not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.TypeActivation not found", name) } -// GetAllApiGatewayDocumentationVersionResources retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDocumentationVersionResources() map[string]*apigateway.DocumentationVersion { - results := map[string]*apigateway.DocumentationVersion{} +// GetAllCloudFormationWaitConditionResources retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationWaitConditionResources() map[string]*cloudformation.WaitCondition { + results := map[string]*cloudformation.WaitCondition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DocumentationVersion: + case *cloudformation.WaitCondition: results[name] = resource } } return results } -// GetApiGatewayDocumentationVersionWithName retrieves all apigateway.DocumentationVersion items from an AWS CloudFormation template +// GetCloudFormationWaitConditionWithName retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDocumentationVersionWithName(name string) (*apigateway.DocumentationVersion, error) { +func (t *Template) GetCloudFormationWaitConditionWithName(name string) (*cloudformation.WaitCondition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DocumentationVersion: + case *cloudformation.WaitCondition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DocumentationVersion not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.WaitCondition not found", name) } -// GetAllApiGatewayDomainNameResources retrieves all apigateway.DomainName items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayDomainNameResources() map[string]*apigateway.DomainName { - results := map[string]*apigateway.DomainName{} +// GetAllCloudFormationWaitConditionHandleResources retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template +func (t *Template) GetAllCloudFormationWaitConditionHandleResources() map[string]*cloudformation.WaitConditionHandle { + results := map[string]*cloudformation.WaitConditionHandle{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.DomainName: + case *cloudformation.WaitConditionHandle: results[name] = resource } } return results } -// GetApiGatewayDomainNameWithName retrieves all apigateway.DomainName items from an AWS CloudFormation template +// GetCloudFormationWaitConditionHandleWithName retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayDomainNameWithName(name string) (*apigateway.DomainName, error) { +func (t *Template) GetCloudFormationWaitConditionHandleWithName(name string) (*cloudformation.WaitConditionHandle, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.DomainName: + case *cloudformation.WaitConditionHandle: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.DomainName not found", name) + return nil, fmt.Errorf("resource %q of type cloudformation.WaitConditionHandle not found", name) } -// GetAllApiGatewayGatewayResponseResources retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayGatewayResponseResources() map[string]*apigateway.GatewayResponse { - results := map[string]*apigateway.GatewayResponse{} +// GetAllCloudWatchAlarmResources retrieves all cloudwatch.Alarm items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchAlarmResources() map[string]*cloudwatch.Alarm { + results := map[string]*cloudwatch.Alarm{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.GatewayResponse: + case *cloudwatch.Alarm: results[name] = resource } } return results } -// GetApiGatewayGatewayResponseWithName retrieves all apigateway.GatewayResponse items from an AWS CloudFormation template +// GetCloudWatchAlarmWithName retrieves all cloudwatch.Alarm items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayGatewayResponseWithName(name string) (*apigateway.GatewayResponse, error) { +func (t *Template) GetCloudWatchAlarmWithName(name string) (*cloudwatch.Alarm, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.GatewayResponse: + case *cloudwatch.Alarm: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.GatewayResponse not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.Alarm not found", name) } -// GetAllApiGatewayMethodResources retrieves all apigateway.Method items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayMethodResources() map[string]*apigateway.Method { - results := map[string]*apigateway.Method{} +// GetAllCloudWatchAnomalyDetectorResources retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchAnomalyDetectorResources() map[string]*cloudwatch.AnomalyDetector { + results := map[string]*cloudwatch.AnomalyDetector{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Method: + case *cloudwatch.AnomalyDetector: results[name] = resource } } return results } -// GetApiGatewayMethodWithName retrieves all apigateway.Method items from an AWS CloudFormation template +// GetCloudWatchAnomalyDetectorWithName retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayMethodWithName(name string) (*apigateway.Method, error) { +func (t *Template) GetCloudWatchAnomalyDetectorWithName(name string) (*cloudwatch.AnomalyDetector, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Method: + case *cloudwatch.AnomalyDetector: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Method not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.AnomalyDetector not found", name) } -// GetAllApiGatewayModelResources retrieves all apigateway.Model items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayModelResources() map[string]*apigateway.Model { - results := map[string]*apigateway.Model{} +// GetAllCloudWatchCompositeAlarmResources retrieves all cloudwatch.CompositeAlarm items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchCompositeAlarmResources() map[string]*cloudwatch.CompositeAlarm { + results := map[string]*cloudwatch.CompositeAlarm{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Model: + case *cloudwatch.CompositeAlarm: results[name] = resource } } return results } -// GetApiGatewayModelWithName retrieves all apigateway.Model items from an AWS CloudFormation template +// GetCloudWatchCompositeAlarmWithName retrieves all cloudwatch.CompositeAlarm items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayModelWithName(name string) (*apigateway.Model, error) { +func (t *Template) GetCloudWatchCompositeAlarmWithName(name string) (*cloudwatch.CompositeAlarm, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Model: + case *cloudwatch.CompositeAlarm: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Model not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.CompositeAlarm not found", name) } -// GetAllApiGatewayRequestValidatorResources retrieves all apigateway.RequestValidator items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayRequestValidatorResources() map[string]*apigateway.RequestValidator { - results := map[string]*apigateway.RequestValidator{} +// GetAllCloudWatchDashboardResources retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchDashboardResources() map[string]*cloudwatch.Dashboard { + results := map[string]*cloudwatch.Dashboard{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.RequestValidator: + case *cloudwatch.Dashboard: results[name] = resource } } return results } -// GetApiGatewayRequestValidatorWithName retrieves all apigateway.RequestValidator items from an AWS CloudFormation template +// GetCloudWatchDashboardWithName retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayRequestValidatorWithName(name string) (*apigateway.RequestValidator, error) { +func (t *Template) GetCloudWatchDashboardWithName(name string) (*cloudwatch.Dashboard, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.RequestValidator: + case *cloudwatch.Dashboard: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.RequestValidator not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.Dashboard not found", name) } -// GetAllApiGatewayResourceResources retrieves all apigateway.Resource items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayResourceResources() map[string]*apigateway.Resource { - results := map[string]*apigateway.Resource{} +// GetAllCloudWatchInsightRuleResources retrieves all cloudwatch.InsightRule items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchInsightRuleResources() map[string]*cloudwatch.InsightRule { + results := map[string]*cloudwatch.InsightRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Resource: + case *cloudwatch.InsightRule: results[name] = resource } } return results } -// GetApiGatewayResourceWithName retrieves all apigateway.Resource items from an AWS CloudFormation template +// GetCloudWatchInsightRuleWithName retrieves all cloudwatch.InsightRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayResourceWithName(name string) (*apigateway.Resource, error) { +func (t *Template) GetCloudWatchInsightRuleWithName(name string) (*cloudwatch.InsightRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Resource: + case *cloudwatch.InsightRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Resource not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.InsightRule not found", name) } -// GetAllApiGatewayRestApiResources retrieves all apigateway.RestApi items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayRestApiResources() map[string]*apigateway.RestApi { - results := map[string]*apigateway.RestApi{} +// GetAllCloudWatchMetricStreamResources retrieves all cloudwatch.MetricStream items from an AWS CloudFormation template +func (t *Template) GetAllCloudWatchMetricStreamResources() map[string]*cloudwatch.MetricStream { + results := map[string]*cloudwatch.MetricStream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.RestApi: + case *cloudwatch.MetricStream: results[name] = resource } } return results } -// GetApiGatewayRestApiWithName retrieves all apigateway.RestApi items from an AWS CloudFormation template +// GetCloudWatchMetricStreamWithName retrieves all cloudwatch.MetricStream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayRestApiWithName(name string) (*apigateway.RestApi, error) { +func (t *Template) GetCloudWatchMetricStreamWithName(name string) (*cloudwatch.MetricStream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.RestApi: + case *cloudwatch.MetricStream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.RestApi not found", name) + return nil, fmt.Errorf("resource %q of type cloudwatch.MetricStream not found", name) } -// GetAllApiGatewayStageResources retrieves all apigateway.Stage items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayStageResources() map[string]*apigateway.Stage { - results := map[string]*apigateway.Stage{} +// GetAllEC2CapacityReservationResources retrieves all ec2.CapacityReservation items from an AWS CloudFormation template +func (t *Template) GetAllEC2CapacityReservationResources() map[string]*ec2.CapacityReservation { + results := map[string]*ec2.CapacityReservation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.Stage: + case *ec2.CapacityReservation: results[name] = resource } } return results } -// GetApiGatewayStageWithName retrieves all apigateway.Stage items from an AWS CloudFormation template +// GetEC2CapacityReservationWithName retrieves all ec2.CapacityReservation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayStageWithName(name string) (*apigateway.Stage, error) { +func (t *Template) GetEC2CapacityReservationWithName(name string) (*ec2.CapacityReservation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.Stage: + case *ec2.CapacityReservation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.Stage not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CapacityReservation not found", name) } -// GetAllApiGatewayUsagePlanResources retrieves all apigateway.UsagePlan items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayUsagePlanResources() map[string]*apigateway.UsagePlan { - results := map[string]*apigateway.UsagePlan{} +// GetAllEC2CapacityReservationFleetResources retrieves all ec2.CapacityReservationFleet items from an AWS CloudFormation template +func (t *Template) GetAllEC2CapacityReservationFleetResources() map[string]*ec2.CapacityReservationFleet { + results := map[string]*ec2.CapacityReservationFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.UsagePlan: + case *ec2.CapacityReservationFleet: results[name] = resource } } return results } -// GetApiGatewayUsagePlanWithName retrieves all apigateway.UsagePlan items from an AWS CloudFormation template +// GetEC2CapacityReservationFleetWithName retrieves all ec2.CapacityReservationFleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayUsagePlanWithName(name string) (*apigateway.UsagePlan, error) { +func (t *Template) GetEC2CapacityReservationFleetWithName(name string) (*ec2.CapacityReservationFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.UsagePlan: + case *ec2.CapacityReservationFleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.UsagePlan not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CapacityReservationFleet not found", name) } -// GetAllApiGatewayUsagePlanKeyResources retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayUsagePlanKeyResources() map[string]*apigateway.UsagePlanKey { - results := map[string]*apigateway.UsagePlanKey{} +// GetAllEC2CarrierGatewayResources retrieves all ec2.CarrierGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2CarrierGatewayResources() map[string]*ec2.CarrierGateway { + results := map[string]*ec2.CarrierGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.UsagePlanKey: + case *ec2.CarrierGateway: results[name] = resource } } return results } -// GetApiGatewayUsagePlanKeyWithName retrieves all apigateway.UsagePlanKey items from an AWS CloudFormation template +// GetEC2CarrierGatewayWithName retrieves all ec2.CarrierGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayUsagePlanKeyWithName(name string) (*apigateway.UsagePlanKey, error) { +func (t *Template) GetEC2CarrierGatewayWithName(name string) (*ec2.CarrierGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.UsagePlanKey: + case *ec2.CarrierGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.UsagePlanKey not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CarrierGateway not found", name) } -// GetAllApiGatewayVpcLinkResources retrieves all apigateway.VpcLink items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayVpcLinkResources() map[string]*apigateway.VpcLink { - results := map[string]*apigateway.VpcLink{} +// GetAllEC2ClientVpnAuthorizationRuleResources retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnAuthorizationRuleResources() map[string]*ec2.ClientVpnAuthorizationRule { + results := map[string]*ec2.ClientVpnAuthorizationRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigateway.VpcLink: + case *ec2.ClientVpnAuthorizationRule: results[name] = resource } } return results } -// GetApiGatewayVpcLinkWithName retrieves all apigateway.VpcLink items from an AWS CloudFormation template +// GetEC2ClientVpnAuthorizationRuleWithName retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayVpcLinkWithName(name string) (*apigateway.VpcLink, error) { +func (t *Template) GetEC2ClientVpnAuthorizationRuleWithName(name string) (*ec2.ClientVpnAuthorizationRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigateway.VpcLink: + case *ec2.ClientVpnAuthorizationRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigateway.VpcLink not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnAuthorizationRule not found", name) } -// GetAllApiGatewayV2ApiResources retrieves all apigatewayv2.Api items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ApiResources() map[string]*apigatewayv2.Api { - results := map[string]*apigatewayv2.Api{} +// GetAllEC2ClientVpnEndpointResources retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnEndpointResources() map[string]*ec2.ClientVpnEndpoint { + results := map[string]*ec2.ClientVpnEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Api: + case *ec2.ClientVpnEndpoint: results[name] = resource } } return results } -// GetApiGatewayV2ApiWithName retrieves all apigatewayv2.Api items from an AWS CloudFormation template +// GetEC2ClientVpnEndpointWithName retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ApiWithName(name string) (*apigatewayv2.Api, error) { +func (t *Template) GetEC2ClientVpnEndpointWithName(name string) (*ec2.ClientVpnEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Api: + case *ec2.ClientVpnEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Api not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnEndpoint not found", name) } -// GetAllApiGatewayV2ApiGatewayManagedOverridesResources retrieves all apigatewayv2.ApiGatewayManagedOverrides items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ApiGatewayManagedOverridesResources() map[string]*apigatewayv2.ApiGatewayManagedOverrides { - results := map[string]*apigatewayv2.ApiGatewayManagedOverrides{} +// GetAllEC2ClientVpnRouteResources retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnRouteResources() map[string]*ec2.ClientVpnRoute { + results := map[string]*ec2.ClientVpnRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.ApiGatewayManagedOverrides: + case *ec2.ClientVpnRoute: results[name] = resource } } return results } -// GetApiGatewayV2ApiGatewayManagedOverridesWithName retrieves all apigatewayv2.ApiGatewayManagedOverrides items from an AWS CloudFormation template +// GetEC2ClientVpnRouteWithName retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ApiGatewayManagedOverridesWithName(name string) (*apigatewayv2.ApiGatewayManagedOverrides, error) { +func (t *Template) GetEC2ClientVpnRouteWithName(name string) (*ec2.ClientVpnRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.ApiGatewayManagedOverrides: + case *ec2.ClientVpnRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.ApiGatewayManagedOverrides not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnRoute not found", name) } -// GetAllApiGatewayV2ApiMappingResources retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ApiMappingResources() map[string]*apigatewayv2.ApiMapping { - results := map[string]*apigatewayv2.ApiMapping{} +// GetAllEC2ClientVpnTargetNetworkAssociationResources retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2ClientVpnTargetNetworkAssociationResources() map[string]*ec2.ClientVpnTargetNetworkAssociation { + results := map[string]*ec2.ClientVpnTargetNetworkAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.ApiMapping: + case *ec2.ClientVpnTargetNetworkAssociation: results[name] = resource } } return results } -// GetApiGatewayV2ApiMappingWithName retrieves all apigatewayv2.ApiMapping items from an AWS CloudFormation template +// GetEC2ClientVpnTargetNetworkAssociationWithName retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ApiMappingWithName(name string) (*apigatewayv2.ApiMapping, error) { +func (t *Template) GetEC2ClientVpnTargetNetworkAssociationWithName(name string) (*ec2.ClientVpnTargetNetworkAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.ApiMapping: + case *ec2.ClientVpnTargetNetworkAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.ApiMapping not found", name) + return nil, fmt.Errorf("resource %q of type ec2.ClientVpnTargetNetworkAssociation not found", name) } -// GetAllApiGatewayV2AuthorizerResources retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2AuthorizerResources() map[string]*apigatewayv2.Authorizer { - results := map[string]*apigatewayv2.Authorizer{} +// GetAllEC2CustomerGatewayResources retrieves all ec2.CustomerGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2CustomerGatewayResources() map[string]*ec2.CustomerGateway { + results := map[string]*ec2.CustomerGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Authorizer: + case *ec2.CustomerGateway: results[name] = resource } } return results } -// GetApiGatewayV2AuthorizerWithName retrieves all apigatewayv2.Authorizer items from an AWS CloudFormation template +// GetEC2CustomerGatewayWithName retrieves all ec2.CustomerGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2AuthorizerWithName(name string) (*apigatewayv2.Authorizer, error) { +func (t *Template) GetEC2CustomerGatewayWithName(name string) (*ec2.CustomerGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Authorizer: + case *ec2.CustomerGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Authorizer not found", name) + return nil, fmt.Errorf("resource %q of type ec2.CustomerGateway not found", name) } -// GetAllApiGatewayV2DeploymentResources retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2DeploymentResources() map[string]*apigatewayv2.Deployment { - results := map[string]*apigatewayv2.Deployment{} +// GetAllEC2DHCPOptionsResources retrieves all ec2.DHCPOptions items from an AWS CloudFormation template +func (t *Template) GetAllEC2DHCPOptionsResources() map[string]*ec2.DHCPOptions { + results := map[string]*ec2.DHCPOptions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Deployment: + case *ec2.DHCPOptions: results[name] = resource } } return results } -// GetApiGatewayV2DeploymentWithName retrieves all apigatewayv2.Deployment items from an AWS CloudFormation template +// GetEC2DHCPOptionsWithName retrieves all ec2.DHCPOptions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2DeploymentWithName(name string) (*apigatewayv2.Deployment, error) { +func (t *Template) GetEC2DHCPOptionsWithName(name string) (*ec2.DHCPOptions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Deployment: + case *ec2.DHCPOptions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Deployment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.DHCPOptions not found", name) } -// GetAllApiGatewayV2DomainNameResources retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2DomainNameResources() map[string]*apigatewayv2.DomainName { - results := map[string]*apigatewayv2.DomainName{} +// GetAllEC2EC2FleetResources retrieves all ec2.EC2Fleet items from an AWS CloudFormation template +func (t *Template) GetAllEC2EC2FleetResources() map[string]*ec2.EC2Fleet { + results := map[string]*ec2.EC2Fleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.DomainName: + case *ec2.EC2Fleet: results[name] = resource } } return results } -// GetApiGatewayV2DomainNameWithName retrieves all apigatewayv2.DomainName items from an AWS CloudFormation template +// GetEC2EC2FleetWithName retrieves all ec2.EC2Fleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2DomainNameWithName(name string) (*apigatewayv2.DomainName, error) { +func (t *Template) GetEC2EC2FleetWithName(name string) (*ec2.EC2Fleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.DomainName: + case *ec2.EC2Fleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.DomainName not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EC2Fleet not found", name) } -// GetAllApiGatewayV2IntegrationResources retrieves all apigatewayv2.Integration items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2IntegrationResources() map[string]*apigatewayv2.Integration { - results := map[string]*apigatewayv2.Integration{} +// GetAllEC2EIPResources retrieves all ec2.EIP items from an AWS CloudFormation template +func (t *Template) GetAllEC2EIPResources() map[string]*ec2.EIP { + results := map[string]*ec2.EIP{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Integration: + case *ec2.EIP: results[name] = resource } } return results } -// GetApiGatewayV2IntegrationWithName retrieves all apigatewayv2.Integration items from an AWS CloudFormation template +// GetEC2EIPWithName retrieves all ec2.EIP items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2IntegrationWithName(name string) (*apigatewayv2.Integration, error) { +func (t *Template) GetEC2EIPWithName(name string) (*ec2.EIP, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Integration: + case *ec2.EIP: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Integration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EIP not found", name) } -// GetAllApiGatewayV2IntegrationResponseResources retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2IntegrationResponseResources() map[string]*apigatewayv2.IntegrationResponse { - results := map[string]*apigatewayv2.IntegrationResponse{} +// GetAllEC2EIPAssociationResources retrieves all ec2.EIPAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2EIPAssociationResources() map[string]*ec2.EIPAssociation { + results := map[string]*ec2.EIPAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.IntegrationResponse: + case *ec2.EIPAssociation: results[name] = resource } } return results } -// GetApiGatewayV2IntegrationResponseWithName retrieves all apigatewayv2.IntegrationResponse items from an AWS CloudFormation template +// GetEC2EIPAssociationWithName retrieves all ec2.EIPAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2IntegrationResponseWithName(name string) (*apigatewayv2.IntegrationResponse, error) { +func (t *Template) GetEC2EIPAssociationWithName(name string) (*ec2.EIPAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.IntegrationResponse: + case *ec2.EIPAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.IntegrationResponse not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EIPAssociation not found", name) } -// GetAllApiGatewayV2ModelResources retrieves all apigatewayv2.Model items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2ModelResources() map[string]*apigatewayv2.Model { - results := map[string]*apigatewayv2.Model{} +// GetAllEC2EgressOnlyInternetGatewayResources retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2EgressOnlyInternetGatewayResources() map[string]*ec2.EgressOnlyInternetGateway { + results := map[string]*ec2.EgressOnlyInternetGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Model: + case *ec2.EgressOnlyInternetGateway: results[name] = resource } } return results } -// GetApiGatewayV2ModelWithName retrieves all apigatewayv2.Model items from an AWS CloudFormation template +// GetEC2EgressOnlyInternetGatewayWithName retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2ModelWithName(name string) (*apigatewayv2.Model, error) { +func (t *Template) GetEC2EgressOnlyInternetGatewayWithName(name string) (*ec2.EgressOnlyInternetGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Model: + case *ec2.EgressOnlyInternetGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Model not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EgressOnlyInternetGateway not found", name) } -// GetAllApiGatewayV2RouteResources retrieves all apigatewayv2.Route items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2RouteResources() map[string]*apigatewayv2.Route { - results := map[string]*apigatewayv2.Route{} +// GetAllEC2EnclaveCertificateIamRoleAssociationResources retrieves all ec2.EnclaveCertificateIamRoleAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2EnclaveCertificateIamRoleAssociationResources() map[string]*ec2.EnclaveCertificateIamRoleAssociation { + results := map[string]*ec2.EnclaveCertificateIamRoleAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Route: + case *ec2.EnclaveCertificateIamRoleAssociation: results[name] = resource } } return results } -// GetApiGatewayV2RouteWithName retrieves all apigatewayv2.Route items from an AWS CloudFormation template +// GetEC2EnclaveCertificateIamRoleAssociationWithName retrieves all ec2.EnclaveCertificateIamRoleAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2RouteWithName(name string) (*apigatewayv2.Route, error) { +func (t *Template) GetEC2EnclaveCertificateIamRoleAssociationWithName(name string) (*ec2.EnclaveCertificateIamRoleAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Route: + case *ec2.EnclaveCertificateIamRoleAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Route not found", name) + return nil, fmt.Errorf("resource %q of type ec2.EnclaveCertificateIamRoleAssociation not found", name) } -// GetAllApiGatewayV2RouteResponseResources retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2RouteResponseResources() map[string]*apigatewayv2.RouteResponse { - results := map[string]*apigatewayv2.RouteResponse{} +// GetAllEC2FlowLogResources retrieves all ec2.FlowLog items from an AWS CloudFormation template +func (t *Template) GetAllEC2FlowLogResources() map[string]*ec2.FlowLog { + results := map[string]*ec2.FlowLog{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.RouteResponse: + case *ec2.FlowLog: results[name] = resource } } return results } -// GetApiGatewayV2RouteResponseWithName retrieves all apigatewayv2.RouteResponse items from an AWS CloudFormation template +// GetEC2FlowLogWithName retrieves all ec2.FlowLog items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2RouteResponseWithName(name string) (*apigatewayv2.RouteResponse, error) { +func (t *Template) GetEC2FlowLogWithName(name string) (*ec2.FlowLog, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.RouteResponse: + case *ec2.FlowLog: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.RouteResponse not found", name) + return nil, fmt.Errorf("resource %q of type ec2.FlowLog not found", name) } -// GetAllApiGatewayV2StageResources retrieves all apigatewayv2.Stage items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2StageResources() map[string]*apigatewayv2.Stage { - results := map[string]*apigatewayv2.Stage{} +// GetAllEC2GatewayRouteTableAssociationResources retrieves all ec2.GatewayRouteTableAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2GatewayRouteTableAssociationResources() map[string]*ec2.GatewayRouteTableAssociation { + results := map[string]*ec2.GatewayRouteTableAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.Stage: + case *ec2.GatewayRouteTableAssociation: results[name] = resource } } return results } -// GetApiGatewayV2StageWithName retrieves all apigatewayv2.Stage items from an AWS CloudFormation template +// GetEC2GatewayRouteTableAssociationWithName retrieves all ec2.GatewayRouteTableAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2StageWithName(name string) (*apigatewayv2.Stage, error) { +func (t *Template) GetEC2GatewayRouteTableAssociationWithName(name string) (*ec2.GatewayRouteTableAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.Stage: + case *ec2.GatewayRouteTableAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.Stage not found", name) + return nil, fmt.Errorf("resource %q of type ec2.GatewayRouteTableAssociation not found", name) } -// GetAllApiGatewayV2VpcLinkResources retrieves all apigatewayv2.VpcLink items from an AWS CloudFormation template -func (t *Template) GetAllApiGatewayV2VpcLinkResources() map[string]*apigatewayv2.VpcLink { - results := map[string]*apigatewayv2.VpcLink{} +// GetAllEC2HostResources retrieves all ec2.Host items from an AWS CloudFormation template +func (t *Template) GetAllEC2HostResources() map[string]*ec2.Host { + results := map[string]*ec2.Host{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apigatewayv2.VpcLink: + case *ec2.Host: results[name] = resource } } return results } -// GetApiGatewayV2VpcLinkWithName retrieves all apigatewayv2.VpcLink items from an AWS CloudFormation template +// GetEC2HostWithName retrieves all ec2.Host items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApiGatewayV2VpcLinkWithName(name string) (*apigatewayv2.VpcLink, error) { +func (t *Template) GetEC2HostWithName(name string) (*ec2.Host, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apigatewayv2.VpcLink: + case *ec2.Host: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apigatewayv2.VpcLink not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Host not found", name) } -// GetAllAppConfigApplicationResources retrieves all appconfig.Application items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigApplicationResources() map[string]*appconfig.Application { - results := map[string]*appconfig.Application{} +// GetAllEC2IPAMResources retrieves all ec2.IPAM items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMResources() map[string]*ec2.IPAM { + results := map[string]*ec2.IPAM{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.Application: + case *ec2.IPAM: results[name] = resource } } return results } -// GetAppConfigApplicationWithName retrieves all appconfig.Application items from an AWS CloudFormation template +// GetEC2IPAMWithName retrieves all ec2.IPAM items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigApplicationWithName(name string) (*appconfig.Application, error) { +func (t *Template) GetEC2IPAMWithName(name string) (*ec2.IPAM, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.Application: + case *ec2.IPAM: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.Application not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAM not found", name) } -// GetAllAppConfigConfigurationProfileResources retrieves all appconfig.ConfigurationProfile items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigConfigurationProfileResources() map[string]*appconfig.ConfigurationProfile { - results := map[string]*appconfig.ConfigurationProfile{} +// GetAllEC2IPAMAllocationResources retrieves all ec2.IPAMAllocation items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMAllocationResources() map[string]*ec2.IPAMAllocation { + results := map[string]*ec2.IPAMAllocation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.ConfigurationProfile: + case *ec2.IPAMAllocation: results[name] = resource } } return results } -// GetAppConfigConfigurationProfileWithName retrieves all appconfig.ConfigurationProfile items from an AWS CloudFormation template +// GetEC2IPAMAllocationWithName retrieves all ec2.IPAMAllocation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigConfigurationProfileWithName(name string) (*appconfig.ConfigurationProfile, error) { +func (t *Template) GetEC2IPAMAllocationWithName(name string) (*ec2.IPAMAllocation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.ConfigurationProfile: + case *ec2.IPAMAllocation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.ConfigurationProfile not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMAllocation not found", name) } -// GetAllAppConfigDeploymentResources retrieves all appconfig.Deployment items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigDeploymentResources() map[string]*appconfig.Deployment { - results := map[string]*appconfig.Deployment{} +// GetAllEC2IPAMPoolResources retrieves all ec2.IPAMPool items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMPoolResources() map[string]*ec2.IPAMPool { + results := map[string]*ec2.IPAMPool{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.Deployment: + case *ec2.IPAMPool: results[name] = resource } } return results } -// GetAppConfigDeploymentWithName retrieves all appconfig.Deployment items from an AWS CloudFormation template +// GetEC2IPAMPoolWithName retrieves all ec2.IPAMPool items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigDeploymentWithName(name string) (*appconfig.Deployment, error) { +func (t *Template) GetEC2IPAMPoolWithName(name string) (*ec2.IPAMPool, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.Deployment: + case *ec2.IPAMPool: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.Deployment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMPool not found", name) } -// GetAllAppConfigDeploymentStrategyResources retrieves all appconfig.DeploymentStrategy items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigDeploymentStrategyResources() map[string]*appconfig.DeploymentStrategy { - results := map[string]*appconfig.DeploymentStrategy{} +// GetAllEC2IPAMPoolCidrResources retrieves all ec2.IPAMPoolCidr items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMPoolCidrResources() map[string]*ec2.IPAMPoolCidr { + results := map[string]*ec2.IPAMPoolCidr{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.DeploymentStrategy: + case *ec2.IPAMPoolCidr: results[name] = resource } } return results } -// GetAppConfigDeploymentStrategyWithName retrieves all appconfig.DeploymentStrategy items from an AWS CloudFormation template +// GetEC2IPAMPoolCidrWithName retrieves all ec2.IPAMPoolCidr items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigDeploymentStrategyWithName(name string) (*appconfig.DeploymentStrategy, error) { +func (t *Template) GetEC2IPAMPoolCidrWithName(name string) (*ec2.IPAMPoolCidr, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.DeploymentStrategy: + case *ec2.IPAMPoolCidr: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.DeploymentStrategy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMPoolCidr not found", name) } -// GetAllAppConfigEnvironmentResources retrieves all appconfig.Environment items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigEnvironmentResources() map[string]*appconfig.Environment { - results := map[string]*appconfig.Environment{} +// GetAllEC2IPAMResourceDiscoveryResources retrieves all ec2.IPAMResourceDiscovery items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMResourceDiscoveryResources() map[string]*ec2.IPAMResourceDiscovery { + results := map[string]*ec2.IPAMResourceDiscovery{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.Environment: + case *ec2.IPAMResourceDiscovery: results[name] = resource } } return results } -// GetAppConfigEnvironmentWithName retrieves all appconfig.Environment items from an AWS CloudFormation template +// GetEC2IPAMResourceDiscoveryWithName retrieves all ec2.IPAMResourceDiscovery items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigEnvironmentWithName(name string) (*appconfig.Environment, error) { +func (t *Template) GetEC2IPAMResourceDiscoveryWithName(name string) (*ec2.IPAMResourceDiscovery, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.Environment: + case *ec2.IPAMResourceDiscovery: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.Environment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMResourceDiscovery not found", name) } -// GetAllAppConfigHostedConfigurationVersionResources retrieves all appconfig.HostedConfigurationVersion items from an AWS CloudFormation template -func (t *Template) GetAllAppConfigHostedConfigurationVersionResources() map[string]*appconfig.HostedConfigurationVersion { - results := map[string]*appconfig.HostedConfigurationVersion{} +// GetAllEC2IPAMResourceDiscoveryAssociationResources retrieves all ec2.IPAMResourceDiscoveryAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMResourceDiscoveryAssociationResources() map[string]*ec2.IPAMResourceDiscoveryAssociation { + results := map[string]*ec2.IPAMResourceDiscoveryAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appconfig.HostedConfigurationVersion: + case *ec2.IPAMResourceDiscoveryAssociation: results[name] = resource } } return results } -// GetAppConfigHostedConfigurationVersionWithName retrieves all appconfig.HostedConfigurationVersion items from an AWS CloudFormation template +// GetEC2IPAMResourceDiscoveryAssociationWithName retrieves all ec2.IPAMResourceDiscoveryAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppConfigHostedConfigurationVersionWithName(name string) (*appconfig.HostedConfigurationVersion, error) { +func (t *Template) GetEC2IPAMResourceDiscoveryAssociationWithName(name string) (*ec2.IPAMResourceDiscoveryAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appconfig.HostedConfigurationVersion: + case *ec2.IPAMResourceDiscoveryAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appconfig.HostedConfigurationVersion not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMResourceDiscoveryAssociation not found", name) } -// GetAllAppFlowConnectorProfileResources retrieves all appflow.ConnectorProfile items from an AWS CloudFormation template -func (t *Template) GetAllAppFlowConnectorProfileResources() map[string]*appflow.ConnectorProfile { - results := map[string]*appflow.ConnectorProfile{} +// GetAllEC2IPAMScopeResources retrieves all ec2.IPAMScope items from an AWS CloudFormation template +func (t *Template) GetAllEC2IPAMScopeResources() map[string]*ec2.IPAMScope { + results := map[string]*ec2.IPAMScope{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appflow.ConnectorProfile: + case *ec2.IPAMScope: results[name] = resource } } return results } -// GetAppFlowConnectorProfileWithName retrieves all appflow.ConnectorProfile items from an AWS CloudFormation template +// GetEC2IPAMScopeWithName retrieves all ec2.IPAMScope items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppFlowConnectorProfileWithName(name string) (*appflow.ConnectorProfile, error) { +func (t *Template) GetEC2IPAMScopeWithName(name string) (*ec2.IPAMScope, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appflow.ConnectorProfile: + case *ec2.IPAMScope: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appflow.ConnectorProfile not found", name) + return nil, fmt.Errorf("resource %q of type ec2.IPAMScope not found", name) } -// GetAllAppFlowFlowResources retrieves all appflow.Flow items from an AWS CloudFormation template -func (t *Template) GetAllAppFlowFlowResources() map[string]*appflow.Flow { - results := map[string]*appflow.Flow{} +// GetAllEC2InstanceResources retrieves all ec2.Instance items from an AWS CloudFormation template +func (t *Template) GetAllEC2InstanceResources() map[string]*ec2.Instance { + results := map[string]*ec2.Instance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appflow.Flow: + case *ec2.Instance: results[name] = resource } } return results } -// GetAppFlowFlowWithName retrieves all appflow.Flow items from an AWS CloudFormation template +// GetEC2InstanceWithName retrieves all ec2.Instance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppFlowFlowWithName(name string) (*appflow.Flow, error) { +func (t *Template) GetEC2InstanceWithName(name string) (*ec2.Instance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appflow.Flow: + case *ec2.Instance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appflow.Flow not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Instance not found", name) } -// GetAllAppIntegrationsEventIntegrationResources retrieves all appintegrations.EventIntegration items from an AWS CloudFormation template -func (t *Template) GetAllAppIntegrationsEventIntegrationResources() map[string]*appintegrations.EventIntegration { - results := map[string]*appintegrations.EventIntegration{} +// GetAllEC2InstanceConnectEndpointResources retrieves all ec2.InstanceConnectEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2InstanceConnectEndpointResources() map[string]*ec2.InstanceConnectEndpoint { + results := map[string]*ec2.InstanceConnectEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appintegrations.EventIntegration: + case *ec2.InstanceConnectEndpoint: results[name] = resource } } return results } -// GetAppIntegrationsEventIntegrationWithName retrieves all appintegrations.EventIntegration items from an AWS CloudFormation template +// GetEC2InstanceConnectEndpointWithName retrieves all ec2.InstanceConnectEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppIntegrationsEventIntegrationWithName(name string) (*appintegrations.EventIntegration, error) { +func (t *Template) GetEC2InstanceConnectEndpointWithName(name string) (*ec2.InstanceConnectEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appintegrations.EventIntegration: + case *ec2.InstanceConnectEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appintegrations.EventIntegration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.InstanceConnectEndpoint not found", name) } -// GetAllAppMeshGatewayRouteResources retrieves all appmesh.GatewayRoute items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshGatewayRouteResources() map[string]*appmesh.GatewayRoute { - results := map[string]*appmesh.GatewayRoute{} +// GetAllEC2InternetGatewayResources retrieves all ec2.InternetGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2InternetGatewayResources() map[string]*ec2.InternetGateway { + results := map[string]*ec2.InternetGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.GatewayRoute: + case *ec2.InternetGateway: results[name] = resource } } return results } -// GetAppMeshGatewayRouteWithName retrieves all appmesh.GatewayRoute items from an AWS CloudFormation template +// GetEC2InternetGatewayWithName retrieves all ec2.InternetGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshGatewayRouteWithName(name string) (*appmesh.GatewayRoute, error) { +func (t *Template) GetEC2InternetGatewayWithName(name string) (*ec2.InternetGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.GatewayRoute: + case *ec2.InternetGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.GatewayRoute not found", name) + return nil, fmt.Errorf("resource %q of type ec2.InternetGateway not found", name) } -// GetAllAppMeshMeshResources retrieves all appmesh.Mesh items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshMeshResources() map[string]*appmesh.Mesh { - results := map[string]*appmesh.Mesh{} +// GetAllEC2KeyPairResources retrieves all ec2.KeyPair items from an AWS CloudFormation template +func (t *Template) GetAllEC2KeyPairResources() map[string]*ec2.KeyPair { + results := map[string]*ec2.KeyPair{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.Mesh: + case *ec2.KeyPair: results[name] = resource } } return results } -// GetAppMeshMeshWithName retrieves all appmesh.Mesh items from an AWS CloudFormation template +// GetEC2KeyPairWithName retrieves all ec2.KeyPair items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshMeshWithName(name string) (*appmesh.Mesh, error) { +func (t *Template) GetEC2KeyPairWithName(name string) (*ec2.KeyPair, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.Mesh: + case *ec2.KeyPair: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.Mesh not found", name) + return nil, fmt.Errorf("resource %q of type ec2.KeyPair not found", name) } -// GetAllAppMeshRouteResources retrieves all appmesh.Route items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshRouteResources() map[string]*appmesh.Route { - results := map[string]*appmesh.Route{} +// GetAllEC2LaunchTemplateResources retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template +func (t *Template) GetAllEC2LaunchTemplateResources() map[string]*ec2.LaunchTemplate { + results := map[string]*ec2.LaunchTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.Route: + case *ec2.LaunchTemplate: results[name] = resource } } return results } -// GetAppMeshRouteWithName retrieves all appmesh.Route items from an AWS CloudFormation template +// GetEC2LaunchTemplateWithName retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshRouteWithName(name string) (*appmesh.Route, error) { +func (t *Template) GetEC2LaunchTemplateWithName(name string) (*ec2.LaunchTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.Route: + case *ec2.LaunchTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.Route not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LaunchTemplate not found", name) } -// GetAllAppMeshVirtualGatewayResources retrieves all appmesh.VirtualGateway items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualGatewayResources() map[string]*appmesh.VirtualGateway { - results := map[string]*appmesh.VirtualGateway{} +// GetAllEC2LocalGatewayRouteResources retrieves all ec2.LocalGatewayRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2LocalGatewayRouteResources() map[string]*ec2.LocalGatewayRoute { + results := map[string]*ec2.LocalGatewayRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualGateway: + case *ec2.LocalGatewayRoute: results[name] = resource } } return results } -// GetAppMeshVirtualGatewayWithName retrieves all appmesh.VirtualGateway items from an AWS CloudFormation template +// GetEC2LocalGatewayRouteWithName retrieves all ec2.LocalGatewayRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualGatewayWithName(name string) (*appmesh.VirtualGateway, error) { +func (t *Template) GetEC2LocalGatewayRouteWithName(name string) (*ec2.LocalGatewayRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualGateway: + case *ec2.LocalGatewayRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualGateway not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRoute not found", name) } -// GetAllAppMeshVirtualNodeResources retrieves all appmesh.VirtualNode items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualNodeResources() map[string]*appmesh.VirtualNode { - results := map[string]*appmesh.VirtualNode{} +// GetAllEC2LocalGatewayRouteTableResources retrieves all ec2.LocalGatewayRouteTable items from an AWS CloudFormation template +func (t *Template) GetAllEC2LocalGatewayRouteTableResources() map[string]*ec2.LocalGatewayRouteTable { + results := map[string]*ec2.LocalGatewayRouteTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualNode: + case *ec2.LocalGatewayRouteTable: results[name] = resource } } return results } -// GetAppMeshVirtualNodeWithName retrieves all appmesh.VirtualNode items from an AWS CloudFormation template +// GetEC2LocalGatewayRouteTableWithName retrieves all ec2.LocalGatewayRouteTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualNodeWithName(name string) (*appmesh.VirtualNode, error) { +func (t *Template) GetEC2LocalGatewayRouteTableWithName(name string) (*ec2.LocalGatewayRouteTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualNode: + case *ec2.LocalGatewayRouteTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualNode not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRouteTable not found", name) } -// GetAllAppMeshVirtualRouterResources retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualRouterResources() map[string]*appmesh.VirtualRouter { - results := map[string]*appmesh.VirtualRouter{} +// GetAllEC2LocalGatewayRouteTableVPCAssociationResources retrieves all ec2.LocalGatewayRouteTableVPCAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2LocalGatewayRouteTableVPCAssociationResources() map[string]*ec2.LocalGatewayRouteTableVPCAssociation { + results := map[string]*ec2.LocalGatewayRouteTableVPCAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualRouter: + case *ec2.LocalGatewayRouteTableVPCAssociation: results[name] = resource } } return results } -// GetAppMeshVirtualRouterWithName retrieves all appmesh.VirtualRouter items from an AWS CloudFormation template +// GetEC2LocalGatewayRouteTableVPCAssociationWithName retrieves all ec2.LocalGatewayRouteTableVPCAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualRouterWithName(name string) (*appmesh.VirtualRouter, error) { +func (t *Template) GetEC2LocalGatewayRouteTableVPCAssociationWithName(name string) (*ec2.LocalGatewayRouteTableVPCAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualRouter: + case *ec2.LocalGatewayRouteTableVPCAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualRouter not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRouteTableVPCAssociation not found", name) } -// GetAllAppMeshVirtualServiceResources retrieves all appmesh.VirtualService items from an AWS CloudFormation template -func (t *Template) GetAllAppMeshVirtualServiceResources() map[string]*appmesh.VirtualService { - results := map[string]*appmesh.VirtualService{} +// GetAllEC2LocalGatewayRouteTableVirtualInterfaceGroupAssociationResources retrieves all ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2LocalGatewayRouteTableVirtualInterfaceGroupAssociationResources() map[string]*ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation { + results := map[string]*ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appmesh.VirtualService: + case *ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation: results[name] = resource } } return results } -// GetAppMeshVirtualServiceWithName retrieves all appmesh.VirtualService items from an AWS CloudFormation template +// GetEC2LocalGatewayRouteTableVirtualInterfaceGroupAssociationWithName retrieves all ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppMeshVirtualServiceWithName(name string) (*appmesh.VirtualService, error) { +func (t *Template) GetEC2LocalGatewayRouteTableVirtualInterfaceGroupAssociationWithName(name string) (*ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appmesh.VirtualService: + case *ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appmesh.VirtualService not found", name) + return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRouteTableVirtualInterfaceGroupAssociation not found", name) } -// GetAllAppRunnerServiceResources retrieves all apprunner.Service items from an AWS CloudFormation template -func (t *Template) GetAllAppRunnerServiceResources() map[string]*apprunner.Service { - results := map[string]*apprunner.Service{} +// GetAllEC2NatGatewayResources retrieves all ec2.NatGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2NatGatewayResources() map[string]*ec2.NatGateway { + results := map[string]*ec2.NatGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *apprunner.Service: + case *ec2.NatGateway: results[name] = resource } } return results } -// GetAppRunnerServiceWithName retrieves all apprunner.Service items from an AWS CloudFormation template +// GetEC2NatGatewayWithName retrieves all ec2.NatGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppRunnerServiceWithName(name string) (*apprunner.Service, error) { +func (t *Template) GetEC2NatGatewayWithName(name string) (*ec2.NatGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *apprunner.Service: + case *ec2.NatGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type apprunner.Service not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NatGateway not found", name) } -// GetAllAppStreamAppBlockResources retrieves all appstream.AppBlock items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamAppBlockResources() map[string]*appstream.AppBlock { - results := map[string]*appstream.AppBlock{} +// GetAllEC2NetworkAclResources retrieves all ec2.NetworkAcl items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkAclResources() map[string]*ec2.NetworkAcl { + results := map[string]*ec2.NetworkAcl{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.AppBlock: + case *ec2.NetworkAcl: results[name] = resource } } return results } -// GetAppStreamAppBlockWithName retrieves all appstream.AppBlock items from an AWS CloudFormation template +// GetEC2NetworkAclWithName retrieves all ec2.NetworkAcl items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamAppBlockWithName(name string) (*appstream.AppBlock, error) { +func (t *Template) GetEC2NetworkAclWithName(name string) (*ec2.NetworkAcl, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.AppBlock: + case *ec2.NetworkAcl: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.AppBlock not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkAcl not found", name) } -// GetAllAppStreamApplicationResources retrieves all appstream.Application items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamApplicationResources() map[string]*appstream.Application { - results := map[string]*appstream.Application{} +// GetAllEC2NetworkAclEntryResources retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkAclEntryResources() map[string]*ec2.NetworkAclEntry { + results := map[string]*ec2.NetworkAclEntry{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.Application: + case *ec2.NetworkAclEntry: results[name] = resource } } return results } -// GetAppStreamApplicationWithName retrieves all appstream.Application items from an AWS CloudFormation template +// GetEC2NetworkAclEntryWithName retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamApplicationWithName(name string) (*appstream.Application, error) { +func (t *Template) GetEC2NetworkAclEntryWithName(name string) (*ec2.NetworkAclEntry, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.Application: + case *ec2.NetworkAclEntry: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.Application not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkAclEntry not found", name) } -// GetAllAppStreamApplicationFleetAssociationResources retrieves all appstream.ApplicationFleetAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamApplicationFleetAssociationResources() map[string]*appstream.ApplicationFleetAssociation { - results := map[string]*appstream.ApplicationFleetAssociation{} +// GetAllEC2NetworkInsightsAccessScopeResources retrieves all ec2.NetworkInsightsAccessScope items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInsightsAccessScopeResources() map[string]*ec2.NetworkInsightsAccessScope { + results := map[string]*ec2.NetworkInsightsAccessScope{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.ApplicationFleetAssociation: + case *ec2.NetworkInsightsAccessScope: results[name] = resource } } return results } -// GetAppStreamApplicationFleetAssociationWithName retrieves all appstream.ApplicationFleetAssociation items from an AWS CloudFormation template +// GetEC2NetworkInsightsAccessScopeWithName retrieves all ec2.NetworkInsightsAccessScope items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamApplicationFleetAssociationWithName(name string) (*appstream.ApplicationFleetAssociation, error) { +func (t *Template) GetEC2NetworkInsightsAccessScopeWithName(name string) (*ec2.NetworkInsightsAccessScope, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.ApplicationFleetAssociation: + case *ec2.NetworkInsightsAccessScope: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.ApplicationFleetAssociation not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsAccessScope not found", name) } -// GetAllAppStreamDirectoryConfigResources retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamDirectoryConfigResources() map[string]*appstream.DirectoryConfig { - results := map[string]*appstream.DirectoryConfig{} +// GetAllEC2NetworkInsightsAccessScopeAnalysisResources retrieves all ec2.NetworkInsightsAccessScopeAnalysis items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInsightsAccessScopeAnalysisResources() map[string]*ec2.NetworkInsightsAccessScopeAnalysis { + results := map[string]*ec2.NetworkInsightsAccessScopeAnalysis{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.DirectoryConfig: + case *ec2.NetworkInsightsAccessScopeAnalysis: results[name] = resource } } return results } -// GetAppStreamDirectoryConfigWithName retrieves all appstream.DirectoryConfig items from an AWS CloudFormation template +// GetEC2NetworkInsightsAccessScopeAnalysisWithName retrieves all ec2.NetworkInsightsAccessScopeAnalysis items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamDirectoryConfigWithName(name string) (*appstream.DirectoryConfig, error) { +func (t *Template) GetEC2NetworkInsightsAccessScopeAnalysisWithName(name string) (*ec2.NetworkInsightsAccessScopeAnalysis, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.DirectoryConfig: + case *ec2.NetworkInsightsAccessScopeAnalysis: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.DirectoryConfig not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsAccessScopeAnalysis not found", name) } -// GetAllAppStreamFleetResources retrieves all appstream.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamFleetResources() map[string]*appstream.Fleet { - results := map[string]*appstream.Fleet{} +// GetAllEC2NetworkInsightsAnalysisResources retrieves all ec2.NetworkInsightsAnalysis items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInsightsAnalysisResources() map[string]*ec2.NetworkInsightsAnalysis { + results := map[string]*ec2.NetworkInsightsAnalysis{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.Fleet: + case *ec2.NetworkInsightsAnalysis: results[name] = resource } } return results } -// GetAppStreamFleetWithName retrieves all appstream.Fleet items from an AWS CloudFormation template +// GetEC2NetworkInsightsAnalysisWithName retrieves all ec2.NetworkInsightsAnalysis items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamFleetWithName(name string) (*appstream.Fleet, error) { +func (t *Template) GetEC2NetworkInsightsAnalysisWithName(name string) (*ec2.NetworkInsightsAnalysis, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.Fleet: + case *ec2.NetworkInsightsAnalysis: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.Fleet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsAnalysis not found", name) } -// GetAllAppStreamImageBuilderResources retrieves all appstream.ImageBuilder items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamImageBuilderResources() map[string]*appstream.ImageBuilder { - results := map[string]*appstream.ImageBuilder{} +// GetAllEC2NetworkInsightsPathResources retrieves all ec2.NetworkInsightsPath items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInsightsPathResources() map[string]*ec2.NetworkInsightsPath { + results := map[string]*ec2.NetworkInsightsPath{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.ImageBuilder: + case *ec2.NetworkInsightsPath: results[name] = resource } } return results } -// GetAppStreamImageBuilderWithName retrieves all appstream.ImageBuilder items from an AWS CloudFormation template +// GetEC2NetworkInsightsPathWithName retrieves all ec2.NetworkInsightsPath items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamImageBuilderWithName(name string) (*appstream.ImageBuilder, error) { +func (t *Template) GetEC2NetworkInsightsPathWithName(name string) (*ec2.NetworkInsightsPath, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.ImageBuilder: + case *ec2.NetworkInsightsPath: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.ImageBuilder not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsPath not found", name) } -// GetAllAppStreamStackResources retrieves all appstream.Stack items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackResources() map[string]*appstream.Stack { - results := map[string]*appstream.Stack{} +// GetAllEC2NetworkInterfaceResources retrieves all ec2.NetworkInterface items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfaceResources() map[string]*ec2.NetworkInterface { + results := map[string]*ec2.NetworkInterface{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.Stack: + case *ec2.NetworkInterface: results[name] = resource } } return results } -// GetAppStreamStackWithName retrieves all appstream.Stack items from an AWS CloudFormation template +// GetEC2NetworkInterfaceWithName retrieves all ec2.NetworkInterface items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackWithName(name string) (*appstream.Stack, error) { +func (t *Template) GetEC2NetworkInterfaceWithName(name string) (*ec2.NetworkInterface, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.Stack: + case *ec2.NetworkInterface: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.Stack not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterface not found", name) } -// GetAllAppStreamStackFleetAssociationResources retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackFleetAssociationResources() map[string]*appstream.StackFleetAssociation { - results := map[string]*appstream.StackFleetAssociation{} +// GetAllEC2NetworkInterfaceAttachmentResources retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfaceAttachmentResources() map[string]*ec2.NetworkInterfaceAttachment { + results := map[string]*ec2.NetworkInterfaceAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.StackFleetAssociation: + case *ec2.NetworkInterfaceAttachment: results[name] = resource } } return results } -// GetAppStreamStackFleetAssociationWithName retrieves all appstream.StackFleetAssociation items from an AWS CloudFormation template +// GetEC2NetworkInterfaceAttachmentWithName retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackFleetAssociationWithName(name string) (*appstream.StackFleetAssociation, error) { +func (t *Template) GetEC2NetworkInterfaceAttachmentWithName(name string) (*ec2.NetworkInterfaceAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.StackFleetAssociation: + case *ec2.NetworkInterfaceAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.StackFleetAssociation not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfaceAttachment not found", name) } -// GetAllAppStreamStackUserAssociationResources retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamStackUserAssociationResources() map[string]*appstream.StackUserAssociation { - results := map[string]*appstream.StackUserAssociation{} +// GetAllEC2NetworkInterfacePermissionResources retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkInterfacePermissionResources() map[string]*ec2.NetworkInterfacePermission { + results := map[string]*ec2.NetworkInterfacePermission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.StackUserAssociation: + case *ec2.NetworkInterfacePermission: results[name] = resource } } return results } -// GetAppStreamStackUserAssociationWithName retrieves all appstream.StackUserAssociation items from an AWS CloudFormation template +// GetEC2NetworkInterfacePermissionWithName retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamStackUserAssociationWithName(name string) (*appstream.StackUserAssociation, error) { +func (t *Template) GetEC2NetworkInterfacePermissionWithName(name string) (*ec2.NetworkInterfacePermission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.StackUserAssociation: + case *ec2.NetworkInterfacePermission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.StackUserAssociation not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfacePermission not found", name) } -// GetAllAppStreamUserResources retrieves all appstream.User items from an AWS CloudFormation template -func (t *Template) GetAllAppStreamUserResources() map[string]*appstream.User { - results := map[string]*appstream.User{} +// GetAllEC2NetworkPerformanceMetricSubscriptionResources retrieves all ec2.NetworkPerformanceMetricSubscription items from an AWS CloudFormation template +func (t *Template) GetAllEC2NetworkPerformanceMetricSubscriptionResources() map[string]*ec2.NetworkPerformanceMetricSubscription { + results := map[string]*ec2.NetworkPerformanceMetricSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appstream.User: + case *ec2.NetworkPerformanceMetricSubscription: results[name] = resource } } return results } -// GetAppStreamUserWithName retrieves all appstream.User items from an AWS CloudFormation template +// GetEC2NetworkPerformanceMetricSubscriptionWithName retrieves all ec2.NetworkPerformanceMetricSubscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppStreamUserWithName(name string) (*appstream.User, error) { +func (t *Template) GetEC2NetworkPerformanceMetricSubscriptionWithName(name string) (*ec2.NetworkPerformanceMetricSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appstream.User: + case *ec2.NetworkPerformanceMetricSubscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appstream.User not found", name) + return nil, fmt.Errorf("resource %q of type ec2.NetworkPerformanceMetricSubscription not found", name) } -// GetAllAppSyncApiCacheResources retrieves all appsync.ApiCache items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncApiCacheResources() map[string]*appsync.ApiCache { - results := map[string]*appsync.ApiCache{} +// GetAllEC2PlacementGroupResources retrieves all ec2.PlacementGroup items from an AWS CloudFormation template +func (t *Template) GetAllEC2PlacementGroupResources() map[string]*ec2.PlacementGroup { + results := map[string]*ec2.PlacementGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.ApiCache: + case *ec2.PlacementGroup: results[name] = resource } } return results } -// GetAppSyncApiCacheWithName retrieves all appsync.ApiCache items from an AWS CloudFormation template +// GetEC2PlacementGroupWithName retrieves all ec2.PlacementGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncApiCacheWithName(name string) (*appsync.ApiCache, error) { +func (t *Template) GetEC2PlacementGroupWithName(name string) (*ec2.PlacementGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.ApiCache: + case *ec2.PlacementGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.ApiCache not found", name) + return nil, fmt.Errorf("resource %q of type ec2.PlacementGroup not found", name) } -// GetAllAppSyncApiKeyResources retrieves all appsync.ApiKey items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncApiKeyResources() map[string]*appsync.ApiKey { - results := map[string]*appsync.ApiKey{} +// GetAllEC2PrefixListResources retrieves all ec2.PrefixList items from an AWS CloudFormation template +func (t *Template) GetAllEC2PrefixListResources() map[string]*ec2.PrefixList { + results := map[string]*ec2.PrefixList{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.ApiKey: + case *ec2.PrefixList: results[name] = resource } } return results } -// GetAppSyncApiKeyWithName retrieves all appsync.ApiKey items from an AWS CloudFormation template +// GetEC2PrefixListWithName retrieves all ec2.PrefixList items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncApiKeyWithName(name string) (*appsync.ApiKey, error) { +func (t *Template) GetEC2PrefixListWithName(name string) (*ec2.PrefixList, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.ApiKey: + case *ec2.PrefixList: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.ApiKey not found", name) + return nil, fmt.Errorf("resource %q of type ec2.PrefixList not found", name) } -// GetAllAppSyncDataSourceResources retrieves all appsync.DataSource items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncDataSourceResources() map[string]*appsync.DataSource { - results := map[string]*appsync.DataSource{} +// GetAllEC2RouteResources retrieves all ec2.Route items from an AWS CloudFormation template +func (t *Template) GetAllEC2RouteResources() map[string]*ec2.Route { + results := map[string]*ec2.Route{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.DataSource: + case *ec2.Route: results[name] = resource } } return results } -// GetAppSyncDataSourceWithName retrieves all appsync.DataSource items from an AWS CloudFormation template +// GetEC2RouteWithName retrieves all ec2.Route items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncDataSourceWithName(name string) (*appsync.DataSource, error) { +func (t *Template) GetEC2RouteWithName(name string) (*ec2.Route, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.DataSource: + case *ec2.Route: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.DataSource not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Route not found", name) } -// GetAllAppSyncFunctionConfigurationResources retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncFunctionConfigurationResources() map[string]*appsync.FunctionConfiguration { - results := map[string]*appsync.FunctionConfiguration{} +// GetAllEC2RouteTableResources retrieves all ec2.RouteTable items from an AWS CloudFormation template +func (t *Template) GetAllEC2RouteTableResources() map[string]*ec2.RouteTable { + results := map[string]*ec2.RouteTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.FunctionConfiguration: + case *ec2.RouteTable: results[name] = resource } } return results } -// GetAppSyncFunctionConfigurationWithName retrieves all appsync.FunctionConfiguration items from an AWS CloudFormation template +// GetEC2RouteTableWithName retrieves all ec2.RouteTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncFunctionConfigurationWithName(name string) (*appsync.FunctionConfiguration, error) { +func (t *Template) GetEC2RouteTableWithName(name string) (*ec2.RouteTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.FunctionConfiguration: + case *ec2.RouteTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.FunctionConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.RouteTable not found", name) } -// GetAllAppSyncGraphQLApiResources retrieves all appsync.GraphQLApi items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncGraphQLApiResources() map[string]*appsync.GraphQLApi { - results := map[string]*appsync.GraphQLApi{} +// GetAllEC2SecurityGroupResources retrieves all ec2.SecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupResources() map[string]*ec2.SecurityGroup { + results := map[string]*ec2.SecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.GraphQLApi: + case *ec2.SecurityGroup: results[name] = resource } } return results } -// GetAppSyncGraphQLApiWithName retrieves all appsync.GraphQLApi items from an AWS CloudFormation template +// GetEC2SecurityGroupWithName retrieves all ec2.SecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncGraphQLApiWithName(name string) (*appsync.GraphQLApi, error) { +func (t *Template) GetEC2SecurityGroupWithName(name string) (*ec2.SecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.GraphQLApi: + case *ec2.SecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.GraphQLApi not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroup not found", name) } -// GetAllAppSyncGraphQLSchemaResources retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncGraphQLSchemaResources() map[string]*appsync.GraphQLSchema { - results := map[string]*appsync.GraphQLSchema{} +// GetAllEC2SecurityGroupEgressResources retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupEgressResources() map[string]*ec2.SecurityGroupEgress { + results := map[string]*ec2.SecurityGroupEgress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.GraphQLSchema: + case *ec2.SecurityGroupEgress: results[name] = resource } } return results } -// GetAppSyncGraphQLSchemaWithName retrieves all appsync.GraphQLSchema items from an AWS CloudFormation template +// GetEC2SecurityGroupEgressWithName retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncGraphQLSchemaWithName(name string) (*appsync.GraphQLSchema, error) { +func (t *Template) GetEC2SecurityGroupEgressWithName(name string) (*ec2.SecurityGroupEgress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.GraphQLSchema: + case *ec2.SecurityGroupEgress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.GraphQLSchema not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupEgress not found", name) } -// GetAllAppSyncResolverResources retrieves all appsync.Resolver items from an AWS CloudFormation template -func (t *Template) GetAllAppSyncResolverResources() map[string]*appsync.Resolver { - results := map[string]*appsync.Resolver{} +// GetAllEC2SecurityGroupIngressResources retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupIngressResources() map[string]*ec2.SecurityGroupIngress { + results := map[string]*ec2.SecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *appsync.Resolver: + case *ec2.SecurityGroupIngress: results[name] = resource } } return results } -// GetAppSyncResolverWithName retrieves all appsync.Resolver items from an AWS CloudFormation template +// GetEC2SecurityGroupIngressWithName retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAppSyncResolverWithName(name string) (*appsync.Resolver, error) { +func (t *Template) GetEC2SecurityGroupIngressWithName(name string) (*ec2.SecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *appsync.Resolver: + case *ec2.SecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type appsync.Resolver not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupIngress not found", name) } -// GetAllApplicationAutoScalingScalableTargetResources retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template -func (t *Template) GetAllApplicationAutoScalingScalableTargetResources() map[string]*applicationautoscaling.ScalableTarget { - results := map[string]*applicationautoscaling.ScalableTarget{} +// GetAllEC2SecurityGroupVpcAssociationResources retrieves all ec2.SecurityGroupVpcAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2SecurityGroupVpcAssociationResources() map[string]*ec2.SecurityGroupVpcAssociation { + results := map[string]*ec2.SecurityGroupVpcAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *applicationautoscaling.ScalableTarget: + case *ec2.SecurityGroupVpcAssociation: results[name] = resource } } return results } -// GetApplicationAutoScalingScalableTargetWithName retrieves all applicationautoscaling.ScalableTarget items from an AWS CloudFormation template +// GetEC2SecurityGroupVpcAssociationWithName retrieves all ec2.SecurityGroupVpcAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApplicationAutoScalingScalableTargetWithName(name string) (*applicationautoscaling.ScalableTarget, error) { +func (t *Template) GetEC2SecurityGroupVpcAssociationWithName(name string) (*ec2.SecurityGroupVpcAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *applicationautoscaling.ScalableTarget: + case *ec2.SecurityGroupVpcAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalableTarget not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupVpcAssociation not found", name) } -// GetAllApplicationAutoScalingScalingPolicyResources retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template -func (t *Template) GetAllApplicationAutoScalingScalingPolicyResources() map[string]*applicationautoscaling.ScalingPolicy { - results := map[string]*applicationautoscaling.ScalingPolicy{} +// GetAllEC2SnapshotBlockPublicAccessResources retrieves all ec2.SnapshotBlockPublicAccess items from an AWS CloudFormation template +func (t *Template) GetAllEC2SnapshotBlockPublicAccessResources() map[string]*ec2.SnapshotBlockPublicAccess { + results := map[string]*ec2.SnapshotBlockPublicAccess{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *applicationautoscaling.ScalingPolicy: + case *ec2.SnapshotBlockPublicAccess: results[name] = resource } } return results } -// GetApplicationAutoScalingScalingPolicyWithName retrieves all applicationautoscaling.ScalingPolicy items from an AWS CloudFormation template +// GetEC2SnapshotBlockPublicAccessWithName retrieves all ec2.SnapshotBlockPublicAccess items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApplicationAutoScalingScalingPolicyWithName(name string) (*applicationautoscaling.ScalingPolicy, error) { +func (t *Template) GetEC2SnapshotBlockPublicAccessWithName(name string) (*ec2.SnapshotBlockPublicAccess, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *applicationautoscaling.ScalingPolicy: + case *ec2.SnapshotBlockPublicAccess: return resource, nil } } - return nil, fmt.Errorf("resource %q of type applicationautoscaling.ScalingPolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SnapshotBlockPublicAccess not found", name) } -// GetAllApplicationInsightsApplicationResources retrieves all applicationinsights.Application items from an AWS CloudFormation template -func (t *Template) GetAllApplicationInsightsApplicationResources() map[string]*applicationinsights.Application { - results := map[string]*applicationinsights.Application{} +// GetAllEC2SpotFleetResources retrieves all ec2.SpotFleet items from an AWS CloudFormation template +func (t *Template) GetAllEC2SpotFleetResources() map[string]*ec2.SpotFleet { + results := map[string]*ec2.SpotFleet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *applicationinsights.Application: + case *ec2.SpotFleet: results[name] = resource } } return results } -// GetApplicationInsightsApplicationWithName retrieves all applicationinsights.Application items from an AWS CloudFormation template +// GetEC2SpotFleetWithName retrieves all ec2.SpotFleet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetApplicationInsightsApplicationWithName(name string) (*applicationinsights.Application, error) { +func (t *Template) GetEC2SpotFleetWithName(name string) (*ec2.SpotFleet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *applicationinsights.Application: + case *ec2.SpotFleet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type applicationinsights.Application not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SpotFleet not found", name) } -// GetAllAthenaDataCatalogResources retrieves all athena.DataCatalog items from an AWS CloudFormation template -func (t *Template) GetAllAthenaDataCatalogResources() map[string]*athena.DataCatalog { - results := map[string]*athena.DataCatalog{} +// GetAllEC2SubnetResources retrieves all ec2.Subnet items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetResources() map[string]*ec2.Subnet { + results := map[string]*ec2.Subnet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *athena.DataCatalog: + case *ec2.Subnet: results[name] = resource } } return results } -// GetAthenaDataCatalogWithName retrieves all athena.DataCatalog items from an AWS CloudFormation template +// GetEC2SubnetWithName retrieves all ec2.Subnet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAthenaDataCatalogWithName(name string) (*athena.DataCatalog, error) { +func (t *Template) GetEC2SubnetWithName(name string) (*ec2.Subnet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *athena.DataCatalog: + case *ec2.Subnet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type athena.DataCatalog not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Subnet not found", name) } -// GetAllAthenaNamedQueryResources retrieves all athena.NamedQuery items from an AWS CloudFormation template -func (t *Template) GetAllAthenaNamedQueryResources() map[string]*athena.NamedQuery { - results := map[string]*athena.NamedQuery{} +// GetAllEC2SubnetCidrBlockResources retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetCidrBlockResources() map[string]*ec2.SubnetCidrBlock { + results := map[string]*ec2.SubnetCidrBlock{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *athena.NamedQuery: + case *ec2.SubnetCidrBlock: results[name] = resource } } return results } -// GetAthenaNamedQueryWithName retrieves all athena.NamedQuery items from an AWS CloudFormation template +// GetEC2SubnetCidrBlockWithName retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAthenaNamedQueryWithName(name string) (*athena.NamedQuery, error) { +func (t *Template) GetEC2SubnetCidrBlockWithName(name string) (*ec2.SubnetCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *athena.NamedQuery: + case *ec2.SubnetCidrBlock: return resource, nil } } - return nil, fmt.Errorf("resource %q of type athena.NamedQuery not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetCidrBlock not found", name) } -// GetAllAthenaPreparedStatementResources retrieves all athena.PreparedStatement items from an AWS CloudFormation template -func (t *Template) GetAllAthenaPreparedStatementResources() map[string]*athena.PreparedStatement { - results := map[string]*athena.PreparedStatement{} +// GetAllEC2SubnetNetworkAclAssociationResources retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetNetworkAclAssociationResources() map[string]*ec2.SubnetNetworkAclAssociation { + results := map[string]*ec2.SubnetNetworkAclAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *athena.PreparedStatement: + case *ec2.SubnetNetworkAclAssociation: results[name] = resource } } return results } -// GetAthenaPreparedStatementWithName retrieves all athena.PreparedStatement items from an AWS CloudFormation template +// GetEC2SubnetNetworkAclAssociationWithName retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAthenaPreparedStatementWithName(name string) (*athena.PreparedStatement, error) { +func (t *Template) GetEC2SubnetNetworkAclAssociationWithName(name string) (*ec2.SubnetNetworkAclAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *athena.PreparedStatement: + case *ec2.SubnetNetworkAclAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type athena.PreparedStatement not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetNetworkAclAssociation not found", name) } -// GetAllAthenaWorkGroupResources retrieves all athena.WorkGroup items from an AWS CloudFormation template -func (t *Template) GetAllAthenaWorkGroupResources() map[string]*athena.WorkGroup { - results := map[string]*athena.WorkGroup{} +// GetAllEC2SubnetRouteTableAssociationResources retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2SubnetRouteTableAssociationResources() map[string]*ec2.SubnetRouteTableAssociation { + results := map[string]*ec2.SubnetRouteTableAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *athena.WorkGroup: + case *ec2.SubnetRouteTableAssociation: results[name] = resource } } return results } -// GetAthenaWorkGroupWithName retrieves all athena.WorkGroup items from an AWS CloudFormation template +// GetEC2SubnetRouteTableAssociationWithName retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAthenaWorkGroupWithName(name string) (*athena.WorkGroup, error) { +func (t *Template) GetEC2SubnetRouteTableAssociationWithName(name string) (*ec2.SubnetRouteTableAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *athena.WorkGroup: + case *ec2.SubnetRouteTableAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type athena.WorkGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.SubnetRouteTableAssociation not found", name) } -// GetAllAuditManagerAssessmentResources retrieves all auditmanager.Assessment items from an AWS CloudFormation template -func (t *Template) GetAllAuditManagerAssessmentResources() map[string]*auditmanager.Assessment { - results := map[string]*auditmanager.Assessment{} +// GetAllEC2TrafficMirrorFilterResources retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorFilterResources() map[string]*ec2.TrafficMirrorFilter { + results := map[string]*ec2.TrafficMirrorFilter{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *auditmanager.Assessment: + case *ec2.TrafficMirrorFilter: results[name] = resource } } return results } -// GetAuditManagerAssessmentWithName retrieves all auditmanager.Assessment items from an AWS CloudFormation template +// GetEC2TrafficMirrorFilterWithName retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAuditManagerAssessmentWithName(name string) (*auditmanager.Assessment, error) { +func (t *Template) GetEC2TrafficMirrorFilterWithName(name string) (*ec2.TrafficMirrorFilter, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *auditmanager.Assessment: + case *ec2.TrafficMirrorFilter: return resource, nil } } - return nil, fmt.Errorf("resource %q of type auditmanager.Assessment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilter not found", name) } -// GetAllAutoScalingAutoScalingGroupResources retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingAutoScalingGroupResources() map[string]*autoscaling.AutoScalingGroup { - results := map[string]*autoscaling.AutoScalingGroup{} +// GetAllEC2TrafficMirrorFilterRuleResources retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorFilterRuleResources() map[string]*ec2.TrafficMirrorFilterRule { + results := map[string]*ec2.TrafficMirrorFilterRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.AutoScalingGroup: + case *ec2.TrafficMirrorFilterRule: results[name] = resource } } return results } -// GetAutoScalingAutoScalingGroupWithName retrieves all autoscaling.AutoScalingGroup items from an AWS CloudFormation template +// GetEC2TrafficMirrorFilterRuleWithName retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingAutoScalingGroupWithName(name string) (*autoscaling.AutoScalingGroup, error) { +func (t *Template) GetEC2TrafficMirrorFilterRuleWithName(name string) (*ec2.TrafficMirrorFilterRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.AutoScalingGroup: + case *ec2.TrafficMirrorFilterRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.AutoScalingGroup not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilterRule not found", name) } -// GetAllAutoScalingLaunchConfigurationResources retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingLaunchConfigurationResources() map[string]*autoscaling.LaunchConfiguration { - results := map[string]*autoscaling.LaunchConfiguration{} +// GetAllEC2TrafficMirrorSessionResources retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorSessionResources() map[string]*ec2.TrafficMirrorSession { + results := map[string]*ec2.TrafficMirrorSession{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.LaunchConfiguration: + case *ec2.TrafficMirrorSession: results[name] = resource } } return results } -// GetAutoScalingLaunchConfigurationWithName retrieves all autoscaling.LaunchConfiguration items from an AWS CloudFormation template +// GetEC2TrafficMirrorSessionWithName retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingLaunchConfigurationWithName(name string) (*autoscaling.LaunchConfiguration, error) { +func (t *Template) GetEC2TrafficMirrorSessionWithName(name string) (*ec2.TrafficMirrorSession, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.LaunchConfiguration: + case *ec2.TrafficMirrorSession: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.LaunchConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorSession not found", name) } -// GetAllAutoScalingLifecycleHookResources retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingLifecycleHookResources() map[string]*autoscaling.LifecycleHook { - results := map[string]*autoscaling.LifecycleHook{} +// GetAllEC2TrafficMirrorTargetResources retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template +func (t *Template) GetAllEC2TrafficMirrorTargetResources() map[string]*ec2.TrafficMirrorTarget { + results := map[string]*ec2.TrafficMirrorTarget{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.LifecycleHook: + case *ec2.TrafficMirrorTarget: results[name] = resource } } return results } -// GetAutoScalingLifecycleHookWithName retrieves all autoscaling.LifecycleHook items from an AWS CloudFormation template +// GetEC2TrafficMirrorTargetWithName retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingLifecycleHookWithName(name string) (*autoscaling.LifecycleHook, error) { +func (t *Template) GetEC2TrafficMirrorTargetWithName(name string) (*ec2.TrafficMirrorTarget, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.LifecycleHook: + case *ec2.TrafficMirrorTarget: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.LifecycleHook not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorTarget not found", name) } -// GetAllAutoScalingScalingPolicyResources retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingScalingPolicyResources() map[string]*autoscaling.ScalingPolicy { - results := map[string]*autoscaling.ScalingPolicy{} +// GetAllEC2TransitGatewayResources retrieves all ec2.TransitGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayResources() map[string]*ec2.TransitGateway { + results := map[string]*ec2.TransitGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.ScalingPolicy: + case *ec2.TransitGateway: results[name] = resource } } return results } -// GetAutoScalingScalingPolicyWithName retrieves all autoscaling.ScalingPolicy items from an AWS CloudFormation template +// GetEC2TransitGatewayWithName retrieves all ec2.TransitGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingScalingPolicyWithName(name string) (*autoscaling.ScalingPolicy, error) { +func (t *Template) GetEC2TransitGatewayWithName(name string) (*ec2.TransitGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.ScalingPolicy: + case *ec2.TransitGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.ScalingPolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGateway not found", name) } -// GetAllAutoScalingScheduledActionResources retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingScheduledActionResources() map[string]*autoscaling.ScheduledAction { - results := map[string]*autoscaling.ScheduledAction{} +// GetAllEC2TransitGatewayAttachmentResources retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayAttachmentResources() map[string]*ec2.TransitGatewayAttachment { + results := map[string]*ec2.TransitGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.ScheduledAction: + case *ec2.TransitGatewayAttachment: results[name] = resource } } return results } -// GetAutoScalingScheduledActionWithName retrieves all autoscaling.ScheduledAction items from an AWS CloudFormation template +// GetEC2TransitGatewayAttachmentWithName retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingScheduledActionWithName(name string) (*autoscaling.ScheduledAction, error) { +func (t *Template) GetEC2TransitGatewayAttachmentWithName(name string) (*ec2.TransitGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.ScheduledAction: + case *ec2.TransitGatewayAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.ScheduledAction not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayAttachment not found", name) } -// GetAllAutoScalingWarmPoolResources retrieves all autoscaling.WarmPool items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingWarmPoolResources() map[string]*autoscaling.WarmPool { - results := map[string]*autoscaling.WarmPool{} +// GetAllEC2TransitGatewayConnectResources retrieves all ec2.TransitGatewayConnect items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayConnectResources() map[string]*ec2.TransitGatewayConnect { + results := map[string]*ec2.TransitGatewayConnect{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscaling.WarmPool: + case *ec2.TransitGatewayConnect: results[name] = resource } } return results } -// GetAutoScalingWarmPoolWithName retrieves all autoscaling.WarmPool items from an AWS CloudFormation template +// GetEC2TransitGatewayConnectWithName retrieves all ec2.TransitGatewayConnect items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingWarmPoolWithName(name string) (*autoscaling.WarmPool, error) { +func (t *Template) GetEC2TransitGatewayConnectWithName(name string) (*ec2.TransitGatewayConnect, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscaling.WarmPool: + case *ec2.TransitGatewayConnect: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscaling.WarmPool not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayConnect not found", name) } -// GetAllAutoScalingPlansScalingPlanResources retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template -func (t *Template) GetAllAutoScalingPlansScalingPlanResources() map[string]*autoscalingplans.ScalingPlan { - results := map[string]*autoscalingplans.ScalingPlan{} +// GetAllEC2TransitGatewayMulticastDomainResources retrieves all ec2.TransitGatewayMulticastDomain items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayMulticastDomainResources() map[string]*ec2.TransitGatewayMulticastDomain { + results := map[string]*ec2.TransitGatewayMulticastDomain{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *autoscalingplans.ScalingPlan: + case *ec2.TransitGatewayMulticastDomain: results[name] = resource } } return results } -// GetAutoScalingPlansScalingPlanWithName retrieves all autoscalingplans.ScalingPlan items from an AWS CloudFormation template +// GetEC2TransitGatewayMulticastDomainWithName retrieves all ec2.TransitGatewayMulticastDomain items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetAutoScalingPlansScalingPlanWithName(name string) (*autoscalingplans.ScalingPlan, error) { +func (t *Template) GetEC2TransitGatewayMulticastDomainWithName(name string) (*ec2.TransitGatewayMulticastDomain, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *autoscalingplans.ScalingPlan: + case *ec2.TransitGatewayMulticastDomain: return resource, nil } } - return nil, fmt.Errorf("resource %q of type autoscalingplans.ScalingPlan not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastDomain not found", name) } -// GetAllBackupBackupPlanResources retrieves all backup.BackupPlan items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupPlanResources() map[string]*backup.BackupPlan { - results := map[string]*backup.BackupPlan{} +// GetAllEC2TransitGatewayMulticastDomainAssociationResources retrieves all ec2.TransitGatewayMulticastDomainAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayMulticastDomainAssociationResources() map[string]*ec2.TransitGatewayMulticastDomainAssociation { + results := map[string]*ec2.TransitGatewayMulticastDomainAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupPlan: + case *ec2.TransitGatewayMulticastDomainAssociation: results[name] = resource } } return results } -// GetBackupBackupPlanWithName retrieves all backup.BackupPlan items from an AWS CloudFormation template +// GetEC2TransitGatewayMulticastDomainAssociationWithName retrieves all ec2.TransitGatewayMulticastDomainAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupPlanWithName(name string) (*backup.BackupPlan, error) { +func (t *Template) GetEC2TransitGatewayMulticastDomainAssociationWithName(name string) (*ec2.TransitGatewayMulticastDomainAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupPlan: + case *ec2.TransitGatewayMulticastDomainAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupPlan not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastDomainAssociation not found", name) } -// GetAllBackupBackupSelectionResources retrieves all backup.BackupSelection items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupSelectionResources() map[string]*backup.BackupSelection { - results := map[string]*backup.BackupSelection{} +// GetAllEC2TransitGatewayMulticastGroupMemberResources retrieves all ec2.TransitGatewayMulticastGroupMember items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayMulticastGroupMemberResources() map[string]*ec2.TransitGatewayMulticastGroupMember { + results := map[string]*ec2.TransitGatewayMulticastGroupMember{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupSelection: + case *ec2.TransitGatewayMulticastGroupMember: results[name] = resource } } return results } -// GetBackupBackupSelectionWithName retrieves all backup.BackupSelection items from an AWS CloudFormation template +// GetEC2TransitGatewayMulticastGroupMemberWithName retrieves all ec2.TransitGatewayMulticastGroupMember items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupSelectionWithName(name string) (*backup.BackupSelection, error) { +func (t *Template) GetEC2TransitGatewayMulticastGroupMemberWithName(name string) (*ec2.TransitGatewayMulticastGroupMember, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupSelection: + case *ec2.TransitGatewayMulticastGroupMember: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupSelection not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastGroupMember not found", name) } -// GetAllBackupBackupVaultResources retrieves all backup.BackupVault items from an AWS CloudFormation template -func (t *Template) GetAllBackupBackupVaultResources() map[string]*backup.BackupVault { - results := map[string]*backup.BackupVault{} +// GetAllEC2TransitGatewayMulticastGroupSourceResources retrieves all ec2.TransitGatewayMulticastGroupSource items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayMulticastGroupSourceResources() map[string]*ec2.TransitGatewayMulticastGroupSource { + results := map[string]*ec2.TransitGatewayMulticastGroupSource{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.BackupVault: + case *ec2.TransitGatewayMulticastGroupSource: results[name] = resource } } return results } -// GetBackupBackupVaultWithName retrieves all backup.BackupVault items from an AWS CloudFormation template +// GetEC2TransitGatewayMulticastGroupSourceWithName retrieves all ec2.TransitGatewayMulticastGroupSource items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupBackupVaultWithName(name string) (*backup.BackupVault, error) { +func (t *Template) GetEC2TransitGatewayMulticastGroupSourceWithName(name string) (*ec2.TransitGatewayMulticastGroupSource, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.BackupVault: + case *ec2.TransitGatewayMulticastGroupSource: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.BackupVault not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastGroupSource not found", name) } -// GetAllBackupFrameworkResources retrieves all backup.Framework items from an AWS CloudFormation template -func (t *Template) GetAllBackupFrameworkResources() map[string]*backup.Framework { - results := map[string]*backup.Framework{} +// GetAllEC2TransitGatewayPeeringAttachmentResources retrieves all ec2.TransitGatewayPeeringAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayPeeringAttachmentResources() map[string]*ec2.TransitGatewayPeeringAttachment { + results := map[string]*ec2.TransitGatewayPeeringAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.Framework: + case *ec2.TransitGatewayPeeringAttachment: results[name] = resource } } return results } -// GetBackupFrameworkWithName retrieves all backup.Framework items from an AWS CloudFormation template +// GetEC2TransitGatewayPeeringAttachmentWithName retrieves all ec2.TransitGatewayPeeringAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupFrameworkWithName(name string) (*backup.Framework, error) { +func (t *Template) GetEC2TransitGatewayPeeringAttachmentWithName(name string) (*ec2.TransitGatewayPeeringAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.Framework: + case *ec2.TransitGatewayPeeringAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.Framework not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayPeeringAttachment not found", name) } -// GetAllBackupReportPlanResources retrieves all backup.ReportPlan items from an AWS CloudFormation template -func (t *Template) GetAllBackupReportPlanResources() map[string]*backup.ReportPlan { - results := map[string]*backup.ReportPlan{} +// GetAllEC2TransitGatewayRouteResources retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteResources() map[string]*ec2.TransitGatewayRoute { + results := map[string]*ec2.TransitGatewayRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *backup.ReportPlan: + case *ec2.TransitGatewayRoute: results[name] = resource } } return results } -// GetBackupReportPlanWithName retrieves all backup.ReportPlan items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteWithName retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBackupReportPlanWithName(name string) (*backup.ReportPlan, error) { +func (t *Template) GetEC2TransitGatewayRouteWithName(name string) (*ec2.TransitGatewayRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *backup.ReportPlan: + case *ec2.TransitGatewayRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type backup.ReportPlan not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRoute not found", name) } -// GetAllBatchComputeEnvironmentResources retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template -func (t *Template) GetAllBatchComputeEnvironmentResources() map[string]*batch.ComputeEnvironment { - results := map[string]*batch.ComputeEnvironment{} +// GetAllEC2TransitGatewayRouteTableResources retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTableResources() map[string]*ec2.TransitGatewayRouteTable { + results := map[string]*ec2.TransitGatewayRouteTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.ComputeEnvironment: + case *ec2.TransitGatewayRouteTable: results[name] = resource } } return results } -// GetBatchComputeEnvironmentWithName retrieves all batch.ComputeEnvironment items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTableWithName retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchComputeEnvironmentWithName(name string) (*batch.ComputeEnvironment, error) { +func (t *Template) GetEC2TransitGatewayRouteTableWithName(name string) (*ec2.TransitGatewayRouteTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.ComputeEnvironment: + case *ec2.TransitGatewayRouteTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.ComputeEnvironment not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTable not found", name) } -// GetAllBatchJobDefinitionResources retrieves all batch.JobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllBatchJobDefinitionResources() map[string]*batch.JobDefinition { - results := map[string]*batch.JobDefinition{} +// GetAllEC2TransitGatewayRouteTableAssociationResources retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTableAssociationResources() map[string]*ec2.TransitGatewayRouteTableAssociation { + results := map[string]*ec2.TransitGatewayRouteTableAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.JobDefinition: + case *ec2.TransitGatewayRouteTableAssociation: results[name] = resource } } return results } -// GetBatchJobDefinitionWithName retrieves all batch.JobDefinition items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTableAssociationWithName retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchJobDefinitionWithName(name string) (*batch.JobDefinition, error) { +func (t *Template) GetEC2TransitGatewayRouteTableAssociationWithName(name string) (*ec2.TransitGatewayRouteTableAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.JobDefinition: + case *ec2.TransitGatewayRouteTableAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.JobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTableAssociation not found", name) } -// GetAllBatchJobQueueResources retrieves all batch.JobQueue items from an AWS CloudFormation template -func (t *Template) GetAllBatchJobQueueResources() map[string]*batch.JobQueue { - results := map[string]*batch.JobQueue{} +// GetAllEC2TransitGatewayRouteTablePropagationResources retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayRouteTablePropagationResources() map[string]*ec2.TransitGatewayRouteTablePropagation { + results := map[string]*ec2.TransitGatewayRouteTablePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.JobQueue: + case *ec2.TransitGatewayRouteTablePropagation: results[name] = resource } } return results } -// GetBatchJobQueueWithName retrieves all batch.JobQueue items from an AWS CloudFormation template +// GetEC2TransitGatewayRouteTablePropagationWithName retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchJobQueueWithName(name string) (*batch.JobQueue, error) { +func (t *Template) GetEC2TransitGatewayRouteTablePropagationWithName(name string) (*ec2.TransitGatewayRouteTablePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.JobQueue: + case *ec2.TransitGatewayRouteTablePropagation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.JobQueue not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTablePropagation not found", name) } -// GetAllBatchSchedulingPolicyResources retrieves all batch.SchedulingPolicy items from an AWS CloudFormation template -func (t *Template) GetAllBatchSchedulingPolicyResources() map[string]*batch.SchedulingPolicy { - results := map[string]*batch.SchedulingPolicy{} +// GetAllEC2TransitGatewayVpcAttachmentResources retrieves all ec2.TransitGatewayVpcAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2TransitGatewayVpcAttachmentResources() map[string]*ec2.TransitGatewayVpcAttachment { + results := map[string]*ec2.TransitGatewayVpcAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *batch.SchedulingPolicy: + case *ec2.TransitGatewayVpcAttachment: results[name] = resource } } return results } -// GetBatchSchedulingPolicyWithName retrieves all batch.SchedulingPolicy items from an AWS CloudFormation template +// GetEC2TransitGatewayVpcAttachmentWithName retrieves all ec2.TransitGatewayVpcAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBatchSchedulingPolicyWithName(name string) (*batch.SchedulingPolicy, error) { +func (t *Template) GetEC2TransitGatewayVpcAttachmentWithName(name string) (*ec2.TransitGatewayVpcAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *batch.SchedulingPolicy: + case *ec2.TransitGatewayVpcAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type batch.SchedulingPolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayVpcAttachment not found", name) } -// GetAllBudgetsBudgetResources retrieves all budgets.Budget items from an AWS CloudFormation template -func (t *Template) GetAllBudgetsBudgetResources() map[string]*budgets.Budget { - results := map[string]*budgets.Budget{} +// GetAllEC2VPCResources retrieves all ec2.VPC items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCResources() map[string]*ec2.VPC { + results := map[string]*ec2.VPC{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *budgets.Budget: + case *ec2.VPC: results[name] = resource } } return results } -// GetBudgetsBudgetWithName retrieves all budgets.Budget items from an AWS CloudFormation template +// GetEC2VPCWithName retrieves all ec2.VPC items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBudgetsBudgetWithName(name string) (*budgets.Budget, error) { +func (t *Template) GetEC2VPCWithName(name string) (*ec2.VPC, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *budgets.Budget: + case *ec2.VPC: return resource, nil } } - return nil, fmt.Errorf("resource %q of type budgets.Budget not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPC not found", name) } -// GetAllBudgetsBudgetsActionResources retrieves all budgets.BudgetsAction items from an AWS CloudFormation template -func (t *Template) GetAllBudgetsBudgetsActionResources() map[string]*budgets.BudgetsAction { - results := map[string]*budgets.BudgetsAction{} +// GetAllEC2VPCBlockPublicAccessExclusionResources retrieves all ec2.VPCBlockPublicAccessExclusion items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCBlockPublicAccessExclusionResources() map[string]*ec2.VPCBlockPublicAccessExclusion { + results := map[string]*ec2.VPCBlockPublicAccessExclusion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *budgets.BudgetsAction: + case *ec2.VPCBlockPublicAccessExclusion: results[name] = resource } } return results } -// GetBudgetsBudgetsActionWithName retrieves all budgets.BudgetsAction items from an AWS CloudFormation template +// GetEC2VPCBlockPublicAccessExclusionWithName retrieves all ec2.VPCBlockPublicAccessExclusion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetBudgetsBudgetsActionWithName(name string) (*budgets.BudgetsAction, error) { +func (t *Template) GetEC2VPCBlockPublicAccessExclusionWithName(name string) (*ec2.VPCBlockPublicAccessExclusion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *budgets.BudgetsAction: + case *ec2.VPCBlockPublicAccessExclusion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type budgets.BudgetsAction not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCBlockPublicAccessExclusion not found", name) } -// GetAllCEAnomalyMonitorResources retrieves all ce.AnomalyMonitor items from an AWS CloudFormation template -func (t *Template) GetAllCEAnomalyMonitorResources() map[string]*ce.AnomalyMonitor { - results := map[string]*ce.AnomalyMonitor{} +// GetAllEC2VPCBlockPublicAccessOptionsResources retrieves all ec2.VPCBlockPublicAccessOptions items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCBlockPublicAccessOptionsResources() map[string]*ec2.VPCBlockPublicAccessOptions { + results := map[string]*ec2.VPCBlockPublicAccessOptions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ce.AnomalyMonitor: + case *ec2.VPCBlockPublicAccessOptions: results[name] = resource } } return results } -// GetCEAnomalyMonitorWithName retrieves all ce.AnomalyMonitor items from an AWS CloudFormation template +// GetEC2VPCBlockPublicAccessOptionsWithName retrieves all ec2.VPCBlockPublicAccessOptions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCEAnomalyMonitorWithName(name string) (*ce.AnomalyMonitor, error) { +func (t *Template) GetEC2VPCBlockPublicAccessOptionsWithName(name string) (*ec2.VPCBlockPublicAccessOptions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ce.AnomalyMonitor: + case *ec2.VPCBlockPublicAccessOptions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ce.AnomalyMonitor not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCBlockPublicAccessOptions not found", name) } -// GetAllCEAnomalySubscriptionResources retrieves all ce.AnomalySubscription items from an AWS CloudFormation template -func (t *Template) GetAllCEAnomalySubscriptionResources() map[string]*ce.AnomalySubscription { - results := map[string]*ce.AnomalySubscription{} +// GetAllEC2VPCCidrBlockResources retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCCidrBlockResources() map[string]*ec2.VPCCidrBlock { + results := map[string]*ec2.VPCCidrBlock{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ce.AnomalySubscription: + case *ec2.VPCCidrBlock: results[name] = resource } } return results } -// GetCEAnomalySubscriptionWithName retrieves all ce.AnomalySubscription items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCEAnomalySubscriptionWithName(name string) (*ce.AnomalySubscription, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ce.AnomalySubscription: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ce.AnomalySubscription not found", name) -} - -// GetAllCECostCategoryResources retrieves all ce.CostCategory items from an AWS CloudFormation template -func (t *Template) GetAllCECostCategoryResources() map[string]*ce.CostCategory { - results := map[string]*ce.CostCategory{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ce.CostCategory: - results[name] = resource - } - } - return results -} - -// GetCECostCategoryWithName retrieves all ce.CostCategory items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCECostCategoryWithName(name string) (*ce.CostCategory, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ce.CostCategory: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ce.CostCategory not found", name) -} - -// GetAllCURReportDefinitionResources retrieves all cur.ReportDefinition items from an AWS CloudFormation template -func (t *Template) GetAllCURReportDefinitionResources() map[string]*cur.ReportDefinition { - results := map[string]*cur.ReportDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cur.ReportDefinition: - results[name] = resource - } - } - return results -} - -// GetCURReportDefinitionWithName retrieves all cur.ReportDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCURReportDefinitionWithName(name string) (*cur.ReportDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cur.ReportDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cur.ReportDefinition not found", name) -} - -// GetAllCassandraKeyspaceResources retrieves all cassandra.Keyspace items from an AWS CloudFormation template -func (t *Template) GetAllCassandraKeyspaceResources() map[string]*cassandra.Keyspace { - results := map[string]*cassandra.Keyspace{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cassandra.Keyspace: - results[name] = resource - } - } - return results -} - -// GetCassandraKeyspaceWithName retrieves all cassandra.Keyspace items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCassandraKeyspaceWithName(name string) (*cassandra.Keyspace, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cassandra.Keyspace: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cassandra.Keyspace not found", name) -} - -// GetAllCassandraTableResources retrieves all cassandra.Table items from an AWS CloudFormation template -func (t *Template) GetAllCassandraTableResources() map[string]*cassandra.Table { - results := map[string]*cassandra.Table{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cassandra.Table: - results[name] = resource - } - } - return results -} - -// GetCassandraTableWithName retrieves all cassandra.Table items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCassandraTableWithName(name string) (*cassandra.Table, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cassandra.Table: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cassandra.Table not found", name) -} - -// GetAllCertificateManagerAccountResources retrieves all certificatemanager.Account items from an AWS CloudFormation template -func (t *Template) GetAllCertificateManagerAccountResources() map[string]*certificatemanager.Account { - results := map[string]*certificatemanager.Account{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *certificatemanager.Account: - results[name] = resource - } - } - return results -} - -// GetCertificateManagerAccountWithName retrieves all certificatemanager.Account items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCertificateManagerAccountWithName(name string) (*certificatemanager.Account, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *certificatemanager.Account: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type certificatemanager.Account not found", name) -} - -// GetAllCertificateManagerCertificateResources retrieves all certificatemanager.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllCertificateManagerCertificateResources() map[string]*certificatemanager.Certificate { - results := map[string]*certificatemanager.Certificate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *certificatemanager.Certificate: - results[name] = resource - } - } - return results -} - -// GetCertificateManagerCertificateWithName retrieves all certificatemanager.Certificate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCertificateManagerCertificateWithName(name string) (*certificatemanager.Certificate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *certificatemanager.Certificate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type certificatemanager.Certificate not found", name) -} - -// GetAllChatbotSlackChannelConfigurationResources retrieves all chatbot.SlackChannelConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllChatbotSlackChannelConfigurationResources() map[string]*chatbot.SlackChannelConfiguration { - results := map[string]*chatbot.SlackChannelConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *chatbot.SlackChannelConfiguration: - results[name] = resource - } - } - return results -} - -// GetChatbotSlackChannelConfigurationWithName retrieves all chatbot.SlackChannelConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetChatbotSlackChannelConfigurationWithName(name string) (*chatbot.SlackChannelConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *chatbot.SlackChannelConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type chatbot.SlackChannelConfiguration not found", name) -} - -// GetAllCloud9EnvironmentEC2Resources retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template -func (t *Template) GetAllCloud9EnvironmentEC2Resources() map[string]*cloud9.EnvironmentEC2 { - results := map[string]*cloud9.EnvironmentEC2{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloud9.EnvironmentEC2: - results[name] = resource - } - } - return results -} - -// GetCloud9EnvironmentEC2WithName retrieves all cloud9.EnvironmentEC2 items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloud9EnvironmentEC2WithName(name string) (*cloud9.EnvironmentEC2, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloud9.EnvironmentEC2: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloud9.EnvironmentEC2 not found", name) -} - -// GetAllCloudFormationCustomResourceResources retrieves all cloudformation.CustomResource items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationCustomResourceResources() map[string]*cloudformation.CustomResource { - results := map[string]*cloudformation.CustomResource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.CustomResource: - results[name] = resource - } - } - return results -} - -// GetCloudFormationCustomResourceWithName retrieves all cloudformation.CustomResource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationCustomResourceWithName(name string) (*cloudformation.CustomResource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.CustomResource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.CustomResource not found", name) -} - -// GetAllCloudFormationMacroResources retrieves all cloudformation.Macro items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationMacroResources() map[string]*cloudformation.Macro { - results := map[string]*cloudformation.Macro{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.Macro: - results[name] = resource - } - } - return results -} - -// GetCloudFormationMacroWithName retrieves all cloudformation.Macro items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationMacroWithName(name string) (*cloudformation.Macro, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.Macro: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.Macro not found", name) -} - -// GetAllCloudFormationModuleDefaultVersionResources retrieves all cloudformation.ModuleDefaultVersion items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationModuleDefaultVersionResources() map[string]*cloudformation.ModuleDefaultVersion { - results := map[string]*cloudformation.ModuleDefaultVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.ModuleDefaultVersion: - results[name] = resource - } - } - return results -} - -// GetCloudFormationModuleDefaultVersionWithName retrieves all cloudformation.ModuleDefaultVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationModuleDefaultVersionWithName(name string) (*cloudformation.ModuleDefaultVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.ModuleDefaultVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.ModuleDefaultVersion not found", name) -} - -// GetAllCloudFormationModuleVersionResources retrieves all cloudformation.ModuleVersion items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationModuleVersionResources() map[string]*cloudformation.ModuleVersion { - results := map[string]*cloudformation.ModuleVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.ModuleVersion: - results[name] = resource - } - } - return results -} - -// GetCloudFormationModuleVersionWithName retrieves all cloudformation.ModuleVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationModuleVersionWithName(name string) (*cloudformation.ModuleVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.ModuleVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.ModuleVersion not found", name) -} - -// GetAllCloudFormationPublicTypeVersionResources retrieves all cloudformation.PublicTypeVersion items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationPublicTypeVersionResources() map[string]*cloudformation.PublicTypeVersion { - results := map[string]*cloudformation.PublicTypeVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.PublicTypeVersion: - results[name] = resource - } - } - return results -} - -// GetCloudFormationPublicTypeVersionWithName retrieves all cloudformation.PublicTypeVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationPublicTypeVersionWithName(name string) (*cloudformation.PublicTypeVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.PublicTypeVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.PublicTypeVersion not found", name) -} - -// GetAllCloudFormationPublisherResources retrieves all cloudformation.Publisher items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationPublisherResources() map[string]*cloudformation.Publisher { - results := map[string]*cloudformation.Publisher{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.Publisher: - results[name] = resource - } - } - return results -} - -// GetCloudFormationPublisherWithName retrieves all cloudformation.Publisher items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationPublisherWithName(name string) (*cloudformation.Publisher, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.Publisher: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.Publisher not found", name) -} - -// GetAllCloudFormationResourceDefaultVersionResources retrieves all cloudformation.ResourceDefaultVersion items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationResourceDefaultVersionResources() map[string]*cloudformation.ResourceDefaultVersion { - results := map[string]*cloudformation.ResourceDefaultVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.ResourceDefaultVersion: - results[name] = resource - } - } - return results -} - -// GetCloudFormationResourceDefaultVersionWithName retrieves all cloudformation.ResourceDefaultVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationResourceDefaultVersionWithName(name string) (*cloudformation.ResourceDefaultVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.ResourceDefaultVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.ResourceDefaultVersion not found", name) -} - -// GetAllCloudFormationResourceVersionResources retrieves all cloudformation.ResourceVersion items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationResourceVersionResources() map[string]*cloudformation.ResourceVersion { - results := map[string]*cloudformation.ResourceVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.ResourceVersion: - results[name] = resource - } - } - return results -} - -// GetCloudFormationResourceVersionWithName retrieves all cloudformation.ResourceVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationResourceVersionWithName(name string) (*cloudformation.ResourceVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.ResourceVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.ResourceVersion not found", name) -} - -// GetAllCloudFormationStackResources retrieves all cloudformation.Stack items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationStackResources() map[string]*cloudformation.Stack { - results := map[string]*cloudformation.Stack{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.Stack: - results[name] = resource - } - } - return results -} - -// GetCloudFormationStackWithName retrieves all cloudformation.Stack items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationStackWithName(name string) (*cloudformation.Stack, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.Stack: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.Stack not found", name) -} - -// GetAllCloudFormationStackSetResources retrieves all cloudformation.StackSet items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationStackSetResources() map[string]*cloudformation.StackSet { - results := map[string]*cloudformation.StackSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.StackSet: - results[name] = resource - } - } - return results -} - -// GetCloudFormationStackSetWithName retrieves all cloudformation.StackSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationStackSetWithName(name string) (*cloudformation.StackSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.StackSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.StackSet not found", name) -} - -// GetAllCloudFormationTypeActivationResources retrieves all cloudformation.TypeActivation items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationTypeActivationResources() map[string]*cloudformation.TypeActivation { - results := map[string]*cloudformation.TypeActivation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.TypeActivation: - results[name] = resource - } - } - return results -} - -// GetCloudFormationTypeActivationWithName retrieves all cloudformation.TypeActivation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationTypeActivationWithName(name string) (*cloudformation.TypeActivation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.TypeActivation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.TypeActivation not found", name) -} - -// GetAllCloudFormationWaitConditionResources retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationWaitConditionResources() map[string]*cloudformation.WaitCondition { - results := map[string]*cloudformation.WaitCondition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.WaitCondition: - results[name] = resource - } - } - return results -} - -// GetCloudFormationWaitConditionWithName retrieves all cloudformation.WaitCondition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationWaitConditionWithName(name string) (*cloudformation.WaitCondition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.WaitCondition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.WaitCondition not found", name) -} - -// GetAllCloudFormationWaitConditionHandleResources retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template -func (t *Template) GetAllCloudFormationWaitConditionHandleResources() map[string]*cloudformation.WaitConditionHandle { - results := map[string]*cloudformation.WaitConditionHandle{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudformation.WaitConditionHandle: - results[name] = resource - } - } - return results -} - -// GetCloudFormationWaitConditionHandleWithName retrieves all cloudformation.WaitConditionHandle items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFormationWaitConditionHandleWithName(name string) (*cloudformation.WaitConditionHandle, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudformation.WaitConditionHandle: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudformation.WaitConditionHandle not found", name) -} - -// GetAllCloudFrontCachePolicyResources retrieves all cloudfront.CachePolicy items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontCachePolicyResources() map[string]*cloudfront.CachePolicy { - results := map[string]*cloudfront.CachePolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.CachePolicy: - results[name] = resource - } - } - return results -} - -// GetCloudFrontCachePolicyWithName retrieves all cloudfront.CachePolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontCachePolicyWithName(name string) (*cloudfront.CachePolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.CachePolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.CachePolicy not found", name) -} - -// GetAllCloudFrontCloudFrontOriginAccessIdentityResources retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontCloudFrontOriginAccessIdentityResources() map[string]*cloudfront.CloudFrontOriginAccessIdentity { - results := map[string]*cloudfront.CloudFrontOriginAccessIdentity{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.CloudFrontOriginAccessIdentity: - results[name] = resource - } - } - return results -} - -// GetCloudFrontCloudFrontOriginAccessIdentityWithName retrieves all cloudfront.CloudFrontOriginAccessIdentity items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontCloudFrontOriginAccessIdentityWithName(name string) (*cloudfront.CloudFrontOriginAccessIdentity, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.CloudFrontOriginAccessIdentity: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.CloudFrontOriginAccessIdentity not found", name) -} - -// GetAllCloudFrontDistributionResources retrieves all cloudfront.Distribution items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontDistributionResources() map[string]*cloudfront.Distribution { - results := map[string]*cloudfront.Distribution{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.Distribution: - results[name] = resource - } - } - return results -} - -// GetCloudFrontDistributionWithName retrieves all cloudfront.Distribution items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontDistributionWithName(name string) (*cloudfront.Distribution, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.Distribution: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.Distribution not found", name) -} - -// GetAllCloudFrontFunctionResources retrieves all cloudfront.Function items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontFunctionResources() map[string]*cloudfront.Function { - results := map[string]*cloudfront.Function{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.Function: - results[name] = resource - } - } - return results -} - -// GetCloudFrontFunctionWithName retrieves all cloudfront.Function items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontFunctionWithName(name string) (*cloudfront.Function, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.Function: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.Function not found", name) -} - -// GetAllCloudFrontKeyGroupResources retrieves all cloudfront.KeyGroup items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontKeyGroupResources() map[string]*cloudfront.KeyGroup { - results := map[string]*cloudfront.KeyGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.KeyGroup: - results[name] = resource - } - } - return results -} - -// GetCloudFrontKeyGroupWithName retrieves all cloudfront.KeyGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontKeyGroupWithName(name string) (*cloudfront.KeyGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.KeyGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.KeyGroup not found", name) -} - -// GetAllCloudFrontOriginRequestPolicyResources retrieves all cloudfront.OriginRequestPolicy items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontOriginRequestPolicyResources() map[string]*cloudfront.OriginRequestPolicy { - results := map[string]*cloudfront.OriginRequestPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.OriginRequestPolicy: - results[name] = resource - } - } - return results -} - -// GetCloudFrontOriginRequestPolicyWithName retrieves all cloudfront.OriginRequestPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontOriginRequestPolicyWithName(name string) (*cloudfront.OriginRequestPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.OriginRequestPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.OriginRequestPolicy not found", name) -} - -// GetAllCloudFrontPublicKeyResources retrieves all cloudfront.PublicKey items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontPublicKeyResources() map[string]*cloudfront.PublicKey { - results := map[string]*cloudfront.PublicKey{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.PublicKey: - results[name] = resource - } - } - return results -} - -// GetCloudFrontPublicKeyWithName retrieves all cloudfront.PublicKey items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontPublicKeyWithName(name string) (*cloudfront.PublicKey, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.PublicKey: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.PublicKey not found", name) -} - -// GetAllCloudFrontRealtimeLogConfigResources retrieves all cloudfront.RealtimeLogConfig items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontRealtimeLogConfigResources() map[string]*cloudfront.RealtimeLogConfig { - results := map[string]*cloudfront.RealtimeLogConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.RealtimeLogConfig: - results[name] = resource - } - } - return results -} - -// GetCloudFrontRealtimeLogConfigWithName retrieves all cloudfront.RealtimeLogConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontRealtimeLogConfigWithName(name string) (*cloudfront.RealtimeLogConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.RealtimeLogConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.RealtimeLogConfig not found", name) -} - -// GetAllCloudFrontResponseHeadersPolicyResources retrieves all cloudfront.ResponseHeadersPolicy items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontResponseHeadersPolicyResources() map[string]*cloudfront.ResponseHeadersPolicy { - results := map[string]*cloudfront.ResponseHeadersPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.ResponseHeadersPolicy: - results[name] = resource - } - } - return results -} - -// GetCloudFrontResponseHeadersPolicyWithName retrieves all cloudfront.ResponseHeadersPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontResponseHeadersPolicyWithName(name string) (*cloudfront.ResponseHeadersPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.ResponseHeadersPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.ResponseHeadersPolicy not found", name) -} - -// GetAllCloudFrontStreamingDistributionResources retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template -func (t *Template) GetAllCloudFrontStreamingDistributionResources() map[string]*cloudfront.StreamingDistribution { - results := map[string]*cloudfront.StreamingDistribution{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudfront.StreamingDistribution: - results[name] = resource - } - } - return results -} - -// GetCloudFrontStreamingDistributionWithName retrieves all cloudfront.StreamingDistribution items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudFrontStreamingDistributionWithName(name string) (*cloudfront.StreamingDistribution, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudfront.StreamingDistribution: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudfront.StreamingDistribution not found", name) -} - -// GetAllCloudTrailTrailResources retrieves all cloudtrail.Trail items from an AWS CloudFormation template -func (t *Template) GetAllCloudTrailTrailResources() map[string]*cloudtrail.Trail { - results := map[string]*cloudtrail.Trail{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudtrail.Trail: - results[name] = resource - } - } - return results -} - -// GetCloudTrailTrailWithName retrieves all cloudtrail.Trail items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudTrailTrailWithName(name string) (*cloudtrail.Trail, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudtrail.Trail: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudtrail.Trail not found", name) -} - -// GetAllCloudWatchAlarmResources retrieves all cloudwatch.Alarm items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchAlarmResources() map[string]*cloudwatch.Alarm { - results := map[string]*cloudwatch.Alarm{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.Alarm: - results[name] = resource - } - } - return results -} - -// GetCloudWatchAlarmWithName retrieves all cloudwatch.Alarm items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchAlarmWithName(name string) (*cloudwatch.Alarm, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.Alarm: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.Alarm not found", name) -} - -// GetAllCloudWatchAnomalyDetectorResources retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchAnomalyDetectorResources() map[string]*cloudwatch.AnomalyDetector { - results := map[string]*cloudwatch.AnomalyDetector{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.AnomalyDetector: - results[name] = resource - } - } - return results -} - -// GetCloudWatchAnomalyDetectorWithName retrieves all cloudwatch.AnomalyDetector items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchAnomalyDetectorWithName(name string) (*cloudwatch.AnomalyDetector, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.AnomalyDetector: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.AnomalyDetector not found", name) -} - -// GetAllCloudWatchCompositeAlarmResources retrieves all cloudwatch.CompositeAlarm items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchCompositeAlarmResources() map[string]*cloudwatch.CompositeAlarm { - results := map[string]*cloudwatch.CompositeAlarm{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.CompositeAlarm: - results[name] = resource - } - } - return results -} - -// GetCloudWatchCompositeAlarmWithName retrieves all cloudwatch.CompositeAlarm items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchCompositeAlarmWithName(name string) (*cloudwatch.CompositeAlarm, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.CompositeAlarm: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.CompositeAlarm not found", name) -} - -// GetAllCloudWatchDashboardResources retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchDashboardResources() map[string]*cloudwatch.Dashboard { - results := map[string]*cloudwatch.Dashboard{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.Dashboard: - results[name] = resource - } - } - return results -} - -// GetCloudWatchDashboardWithName retrieves all cloudwatch.Dashboard items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchDashboardWithName(name string) (*cloudwatch.Dashboard, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.Dashboard: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.Dashboard not found", name) -} - -// GetAllCloudWatchInsightRuleResources retrieves all cloudwatch.InsightRule items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchInsightRuleResources() map[string]*cloudwatch.InsightRule { - results := map[string]*cloudwatch.InsightRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.InsightRule: - results[name] = resource - } - } - return results -} - -// GetCloudWatchInsightRuleWithName retrieves all cloudwatch.InsightRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchInsightRuleWithName(name string) (*cloudwatch.InsightRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.InsightRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.InsightRule not found", name) -} - -// GetAllCloudWatchMetricStreamResources retrieves all cloudwatch.MetricStream items from an AWS CloudFormation template -func (t *Template) GetAllCloudWatchMetricStreamResources() map[string]*cloudwatch.MetricStream { - results := map[string]*cloudwatch.MetricStream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cloudwatch.MetricStream: - results[name] = resource - } - } - return results -} - -// GetCloudWatchMetricStreamWithName retrieves all cloudwatch.MetricStream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCloudWatchMetricStreamWithName(name string) (*cloudwatch.MetricStream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cloudwatch.MetricStream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cloudwatch.MetricStream not found", name) -} - -// GetAllCodeArtifactDomainResources retrieves all codeartifact.Domain items from an AWS CloudFormation template -func (t *Template) GetAllCodeArtifactDomainResources() map[string]*codeartifact.Domain { - results := map[string]*codeartifact.Domain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codeartifact.Domain: - results[name] = resource - } - } - return results -} - -// GetCodeArtifactDomainWithName retrieves all codeartifact.Domain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeArtifactDomainWithName(name string) (*codeartifact.Domain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codeartifact.Domain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codeartifact.Domain not found", name) -} - -// GetAllCodeArtifactRepositoryResources retrieves all codeartifact.Repository items from an AWS CloudFormation template -func (t *Template) GetAllCodeArtifactRepositoryResources() map[string]*codeartifact.Repository { - results := map[string]*codeartifact.Repository{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codeartifact.Repository: - results[name] = resource - } - } - return results -} - -// GetCodeArtifactRepositoryWithName retrieves all codeartifact.Repository items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeArtifactRepositoryWithName(name string) (*codeartifact.Repository, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codeartifact.Repository: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codeartifact.Repository not found", name) -} - -// GetAllCodeBuildProjectResources retrieves all codebuild.Project items from an AWS CloudFormation template -func (t *Template) GetAllCodeBuildProjectResources() map[string]*codebuild.Project { - results := map[string]*codebuild.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codebuild.Project: - results[name] = resource - } - } - return results -} - -// GetCodeBuildProjectWithName retrieves all codebuild.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeBuildProjectWithName(name string) (*codebuild.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codebuild.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codebuild.Project not found", name) -} - -// GetAllCodeBuildReportGroupResources retrieves all codebuild.ReportGroup items from an AWS CloudFormation template -func (t *Template) GetAllCodeBuildReportGroupResources() map[string]*codebuild.ReportGroup { - results := map[string]*codebuild.ReportGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codebuild.ReportGroup: - results[name] = resource - } - } - return results -} - -// GetCodeBuildReportGroupWithName retrieves all codebuild.ReportGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeBuildReportGroupWithName(name string) (*codebuild.ReportGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codebuild.ReportGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codebuild.ReportGroup not found", name) -} - -// GetAllCodeBuildSourceCredentialResources retrieves all codebuild.SourceCredential items from an AWS CloudFormation template -func (t *Template) GetAllCodeBuildSourceCredentialResources() map[string]*codebuild.SourceCredential { - results := map[string]*codebuild.SourceCredential{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codebuild.SourceCredential: - results[name] = resource - } - } - return results -} - -// GetCodeBuildSourceCredentialWithName retrieves all codebuild.SourceCredential items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeBuildSourceCredentialWithName(name string) (*codebuild.SourceCredential, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codebuild.SourceCredential: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codebuild.SourceCredential not found", name) -} - -// GetAllCodeCommitRepositoryResources retrieves all codecommit.Repository items from an AWS CloudFormation template -func (t *Template) GetAllCodeCommitRepositoryResources() map[string]*codecommit.Repository { - results := map[string]*codecommit.Repository{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codecommit.Repository: - results[name] = resource - } - } - return results -} - -// GetCodeCommitRepositoryWithName retrieves all codecommit.Repository items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeCommitRepositoryWithName(name string) (*codecommit.Repository, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codecommit.Repository: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codecommit.Repository not found", name) -} - -// GetAllCodeDeployApplicationResources retrieves all codedeploy.Application items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployApplicationResources() map[string]*codedeploy.Application { - results := map[string]*codedeploy.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codedeploy.Application: - results[name] = resource - } - } - return results -} - -// GetCodeDeployApplicationWithName retrieves all codedeploy.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployApplicationWithName(name string) (*codedeploy.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codedeploy.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codedeploy.Application not found", name) -} - -// GetAllCodeDeployDeploymentConfigResources retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployDeploymentConfigResources() map[string]*codedeploy.DeploymentConfig { - results := map[string]*codedeploy.DeploymentConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codedeploy.DeploymentConfig: - results[name] = resource - } - } - return results -} - -// GetCodeDeployDeploymentConfigWithName retrieves all codedeploy.DeploymentConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployDeploymentConfigWithName(name string) (*codedeploy.DeploymentConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codedeploy.DeploymentConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentConfig not found", name) -} - -// GetAllCodeDeployDeploymentGroupResources retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template -func (t *Template) GetAllCodeDeployDeploymentGroupResources() map[string]*codedeploy.DeploymentGroup { - results := map[string]*codedeploy.DeploymentGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codedeploy.DeploymentGroup: - results[name] = resource - } - } - return results -} - -// GetCodeDeployDeploymentGroupWithName retrieves all codedeploy.DeploymentGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeDeployDeploymentGroupWithName(name string) (*codedeploy.DeploymentGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codedeploy.DeploymentGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codedeploy.DeploymentGroup not found", name) -} - -// GetAllCodeGuruProfilerProfilingGroupResources retrieves all codeguruprofiler.ProfilingGroup items from an AWS CloudFormation template -func (t *Template) GetAllCodeGuruProfilerProfilingGroupResources() map[string]*codeguruprofiler.ProfilingGroup { - results := map[string]*codeguruprofiler.ProfilingGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codeguruprofiler.ProfilingGroup: - results[name] = resource - } - } - return results -} - -// GetCodeGuruProfilerProfilingGroupWithName retrieves all codeguruprofiler.ProfilingGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeGuruProfilerProfilingGroupWithName(name string) (*codeguruprofiler.ProfilingGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codeguruprofiler.ProfilingGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codeguruprofiler.ProfilingGroup not found", name) -} - -// GetAllCodeGuruReviewerRepositoryAssociationResources retrieves all codegurureviewer.RepositoryAssociation items from an AWS CloudFormation template -func (t *Template) GetAllCodeGuruReviewerRepositoryAssociationResources() map[string]*codegurureviewer.RepositoryAssociation { - results := map[string]*codegurureviewer.RepositoryAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codegurureviewer.RepositoryAssociation: - results[name] = resource - } - } - return results -} - -// GetCodeGuruReviewerRepositoryAssociationWithName retrieves all codegurureviewer.RepositoryAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeGuruReviewerRepositoryAssociationWithName(name string) (*codegurureviewer.RepositoryAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codegurureviewer.RepositoryAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codegurureviewer.RepositoryAssociation not found", name) -} - -// GetAllCodePipelineCustomActionTypeResources retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelineCustomActionTypeResources() map[string]*codepipeline.CustomActionType { - results := map[string]*codepipeline.CustomActionType{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codepipeline.CustomActionType: - results[name] = resource - } - } - return results -} - -// GetCodePipelineCustomActionTypeWithName retrieves all codepipeline.CustomActionType items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelineCustomActionTypeWithName(name string) (*codepipeline.CustomActionType, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codepipeline.CustomActionType: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codepipeline.CustomActionType not found", name) -} - -// GetAllCodePipelinePipelineResources retrieves all codepipeline.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelinePipelineResources() map[string]*codepipeline.Pipeline { - results := map[string]*codepipeline.Pipeline{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codepipeline.Pipeline: - results[name] = resource - } - } - return results -} - -// GetCodePipelinePipelineWithName retrieves all codepipeline.Pipeline items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelinePipelineWithName(name string) (*codepipeline.Pipeline, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codepipeline.Pipeline: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codepipeline.Pipeline not found", name) -} - -// GetAllCodePipelineWebhookResources retrieves all codepipeline.Webhook items from an AWS CloudFormation template -func (t *Template) GetAllCodePipelineWebhookResources() map[string]*codepipeline.Webhook { - results := map[string]*codepipeline.Webhook{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codepipeline.Webhook: - results[name] = resource - } - } - return results -} - -// GetCodePipelineWebhookWithName retrieves all codepipeline.Webhook items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodePipelineWebhookWithName(name string) (*codepipeline.Webhook, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codepipeline.Webhook: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codepipeline.Webhook not found", name) -} - -// GetAllCodeStarGitHubRepositoryResources retrieves all codestar.GitHubRepository items from an AWS CloudFormation template -func (t *Template) GetAllCodeStarGitHubRepositoryResources() map[string]*codestar.GitHubRepository { - results := map[string]*codestar.GitHubRepository{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codestar.GitHubRepository: - results[name] = resource - } - } - return results -} - -// GetCodeStarGitHubRepositoryWithName retrieves all codestar.GitHubRepository items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeStarGitHubRepositoryWithName(name string) (*codestar.GitHubRepository, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codestar.GitHubRepository: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codestar.GitHubRepository not found", name) -} - -// GetAllCodeStarConnectionsConnectionResources retrieves all codestarconnections.Connection items from an AWS CloudFormation template -func (t *Template) GetAllCodeStarConnectionsConnectionResources() map[string]*codestarconnections.Connection { - results := map[string]*codestarconnections.Connection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codestarconnections.Connection: - results[name] = resource - } - } - return results -} - -// GetCodeStarConnectionsConnectionWithName retrieves all codestarconnections.Connection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeStarConnectionsConnectionWithName(name string) (*codestarconnections.Connection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codestarconnections.Connection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codestarconnections.Connection not found", name) -} - -// GetAllCodeStarNotificationsNotificationRuleResources retrieves all codestarnotifications.NotificationRule items from an AWS CloudFormation template -func (t *Template) GetAllCodeStarNotificationsNotificationRuleResources() map[string]*codestarnotifications.NotificationRule { - results := map[string]*codestarnotifications.NotificationRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *codestarnotifications.NotificationRule: - results[name] = resource - } - } - return results -} - -// GetCodeStarNotificationsNotificationRuleWithName retrieves all codestarnotifications.NotificationRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCodeStarNotificationsNotificationRuleWithName(name string) (*codestarnotifications.NotificationRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *codestarnotifications.NotificationRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type codestarnotifications.NotificationRule not found", name) -} - -// GetAllCognitoIdentityPoolResources retrieves all cognito.IdentityPool items from an AWS CloudFormation template -func (t *Template) GetAllCognitoIdentityPoolResources() map[string]*cognito.IdentityPool { - results := map[string]*cognito.IdentityPool{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.IdentityPool: - results[name] = resource - } - } - return results -} - -// GetCognitoIdentityPoolWithName retrieves all cognito.IdentityPool items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoIdentityPoolWithName(name string) (*cognito.IdentityPool, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.IdentityPool: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.IdentityPool not found", name) -} - -// GetAllCognitoIdentityPoolRoleAttachmentResources retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoIdentityPoolRoleAttachmentResources() map[string]*cognito.IdentityPoolRoleAttachment { - results := map[string]*cognito.IdentityPoolRoleAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.IdentityPoolRoleAttachment: - results[name] = resource - } - } - return results -} - -// GetCognitoIdentityPoolRoleAttachmentWithName retrieves all cognito.IdentityPoolRoleAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoIdentityPoolRoleAttachmentWithName(name string) (*cognito.IdentityPoolRoleAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.IdentityPoolRoleAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.IdentityPoolRoleAttachment not found", name) -} - -// GetAllCognitoUserPoolResources retrieves all cognito.UserPool items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolResources() map[string]*cognito.UserPool { - results := map[string]*cognito.UserPool{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPool: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolWithName retrieves all cognito.UserPool items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolWithName(name string) (*cognito.UserPool, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPool: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPool not found", name) -} - -// GetAllCognitoUserPoolClientResources retrieves all cognito.UserPoolClient items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolClientResources() map[string]*cognito.UserPoolClient { - results := map[string]*cognito.UserPoolClient{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolClient: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolClientWithName retrieves all cognito.UserPoolClient items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolClientWithName(name string) (*cognito.UserPoolClient, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolClient: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolClient not found", name) -} - -// GetAllCognitoUserPoolDomainResources retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolDomainResources() map[string]*cognito.UserPoolDomain { - results := map[string]*cognito.UserPoolDomain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolDomain: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolDomainWithName retrieves all cognito.UserPoolDomain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolDomainWithName(name string) (*cognito.UserPoolDomain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolDomain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolDomain not found", name) -} - -// GetAllCognitoUserPoolGroupResources retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolGroupResources() map[string]*cognito.UserPoolGroup { - results := map[string]*cognito.UserPoolGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolGroup: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolGroupWithName retrieves all cognito.UserPoolGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolGroupWithName(name string) (*cognito.UserPoolGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolGroup not found", name) -} - -// GetAllCognitoUserPoolIdentityProviderResources retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolIdentityProviderResources() map[string]*cognito.UserPoolIdentityProvider { - results := map[string]*cognito.UserPoolIdentityProvider{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolIdentityProvider: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolIdentityProviderWithName retrieves all cognito.UserPoolIdentityProvider items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolIdentityProviderWithName(name string) (*cognito.UserPoolIdentityProvider, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolIdentityProvider: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolIdentityProvider not found", name) -} - -// GetAllCognitoUserPoolResourceServerResources retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolResourceServerResources() map[string]*cognito.UserPoolResourceServer { - results := map[string]*cognito.UserPoolResourceServer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolResourceServer: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolResourceServerWithName retrieves all cognito.UserPoolResourceServer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolResourceServerWithName(name string) (*cognito.UserPoolResourceServer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolResourceServer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolResourceServer not found", name) -} - -// GetAllCognitoUserPoolRiskConfigurationAttachmentResources retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolRiskConfigurationAttachmentResources() map[string]*cognito.UserPoolRiskConfigurationAttachment { - results := map[string]*cognito.UserPoolRiskConfigurationAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolRiskConfigurationAttachment: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolRiskConfigurationAttachmentWithName retrieves all cognito.UserPoolRiskConfigurationAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolRiskConfigurationAttachmentWithName(name string) (*cognito.UserPoolRiskConfigurationAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolRiskConfigurationAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolRiskConfigurationAttachment not found", name) -} - -// GetAllCognitoUserPoolUICustomizationAttachmentResources retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUICustomizationAttachmentResources() map[string]*cognito.UserPoolUICustomizationAttachment { - results := map[string]*cognito.UserPoolUICustomizationAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolUICustomizationAttachment: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolUICustomizationAttachmentWithName retrieves all cognito.UserPoolUICustomizationAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUICustomizationAttachmentWithName(name string) (*cognito.UserPoolUICustomizationAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolUICustomizationAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUICustomizationAttachment not found", name) -} - -// GetAllCognitoUserPoolUserResources retrieves all cognito.UserPoolUser items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUserResources() map[string]*cognito.UserPoolUser { - results := map[string]*cognito.UserPoolUser{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolUser: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolUserWithName retrieves all cognito.UserPoolUser items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUserWithName(name string) (*cognito.UserPoolUser, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolUser: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUser not found", name) -} - -// GetAllCognitoUserPoolUserToGroupAttachmentResources retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template -func (t *Template) GetAllCognitoUserPoolUserToGroupAttachmentResources() map[string]*cognito.UserPoolUserToGroupAttachment { - results := map[string]*cognito.UserPoolUserToGroupAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *cognito.UserPoolUserToGroupAttachment: - results[name] = resource - } - } - return results -} - -// GetCognitoUserPoolUserToGroupAttachmentWithName retrieves all cognito.UserPoolUserToGroupAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCognitoUserPoolUserToGroupAttachmentWithName(name string) (*cognito.UserPoolUserToGroupAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *cognito.UserPoolUserToGroupAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type cognito.UserPoolUserToGroupAttachment not found", name) -} - -// GetAllConfigAggregationAuthorizationResources retrieves all config.AggregationAuthorization items from an AWS CloudFormation template -func (t *Template) GetAllConfigAggregationAuthorizationResources() map[string]*config.AggregationAuthorization { - results := map[string]*config.AggregationAuthorization{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.AggregationAuthorization: - results[name] = resource - } - } - return results -} - -// GetConfigAggregationAuthorizationWithName retrieves all config.AggregationAuthorization items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigAggregationAuthorizationWithName(name string) (*config.AggregationAuthorization, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.AggregationAuthorization: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.AggregationAuthorization not found", name) -} - -// GetAllConfigConfigRuleResources retrieves all config.ConfigRule items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigRuleResources() map[string]*config.ConfigRule { - results := map[string]*config.ConfigRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.ConfigRule: - results[name] = resource - } - } - return results -} - -// GetConfigConfigRuleWithName retrieves all config.ConfigRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigRuleWithName(name string) (*config.ConfigRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.ConfigRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.ConfigRule not found", name) -} - -// GetAllConfigConfigurationAggregatorResources retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigurationAggregatorResources() map[string]*config.ConfigurationAggregator { - results := map[string]*config.ConfigurationAggregator{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.ConfigurationAggregator: - results[name] = resource - } - } - return results -} - -// GetConfigConfigurationAggregatorWithName retrieves all config.ConfigurationAggregator items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigurationAggregatorWithName(name string) (*config.ConfigurationAggregator, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.ConfigurationAggregator: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.ConfigurationAggregator not found", name) -} - -// GetAllConfigConfigurationRecorderResources retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template -func (t *Template) GetAllConfigConfigurationRecorderResources() map[string]*config.ConfigurationRecorder { - results := map[string]*config.ConfigurationRecorder{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.ConfigurationRecorder: - results[name] = resource - } - } - return results -} - -// GetConfigConfigurationRecorderWithName retrieves all config.ConfigurationRecorder items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConfigurationRecorderWithName(name string) (*config.ConfigurationRecorder, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.ConfigurationRecorder: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.ConfigurationRecorder not found", name) -} - -// GetAllConfigConformancePackResources retrieves all config.ConformancePack items from an AWS CloudFormation template -func (t *Template) GetAllConfigConformancePackResources() map[string]*config.ConformancePack { - results := map[string]*config.ConformancePack{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.ConformancePack: - results[name] = resource - } - } - return results -} - -// GetConfigConformancePackWithName retrieves all config.ConformancePack items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigConformancePackWithName(name string) (*config.ConformancePack, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.ConformancePack: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.ConformancePack not found", name) -} - -// GetAllConfigDeliveryChannelResources retrieves all config.DeliveryChannel items from an AWS CloudFormation template -func (t *Template) GetAllConfigDeliveryChannelResources() map[string]*config.DeliveryChannel { - results := map[string]*config.DeliveryChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.DeliveryChannel: - results[name] = resource - } - } - return results -} - -// GetConfigDeliveryChannelWithName retrieves all config.DeliveryChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigDeliveryChannelWithName(name string) (*config.DeliveryChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.DeliveryChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.DeliveryChannel not found", name) -} - -// GetAllConfigOrganizationConfigRuleResources retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template -func (t *Template) GetAllConfigOrganizationConfigRuleResources() map[string]*config.OrganizationConfigRule { - results := map[string]*config.OrganizationConfigRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.OrganizationConfigRule: - results[name] = resource - } - } - return results -} - -// GetConfigOrganizationConfigRuleWithName retrieves all config.OrganizationConfigRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigOrganizationConfigRuleWithName(name string) (*config.OrganizationConfigRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.OrganizationConfigRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.OrganizationConfigRule not found", name) -} - -// GetAllConfigOrganizationConformancePackResources retrieves all config.OrganizationConformancePack items from an AWS CloudFormation template -func (t *Template) GetAllConfigOrganizationConformancePackResources() map[string]*config.OrganizationConformancePack { - results := map[string]*config.OrganizationConformancePack{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.OrganizationConformancePack: - results[name] = resource - } - } - return results -} - -// GetConfigOrganizationConformancePackWithName retrieves all config.OrganizationConformancePack items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigOrganizationConformancePackWithName(name string) (*config.OrganizationConformancePack, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.OrganizationConformancePack: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.OrganizationConformancePack not found", name) -} - -// GetAllConfigRemediationConfigurationResources retrieves all config.RemediationConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllConfigRemediationConfigurationResources() map[string]*config.RemediationConfiguration { - results := map[string]*config.RemediationConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.RemediationConfiguration: - results[name] = resource - } - } - return results -} - -// GetConfigRemediationConfigurationWithName retrieves all config.RemediationConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigRemediationConfigurationWithName(name string) (*config.RemediationConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.RemediationConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.RemediationConfiguration not found", name) -} - -// GetAllConfigStoredQueryResources retrieves all config.StoredQuery items from an AWS CloudFormation template -func (t *Template) GetAllConfigStoredQueryResources() map[string]*config.StoredQuery { - results := map[string]*config.StoredQuery{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *config.StoredQuery: - results[name] = resource - } - } - return results -} - -// GetConfigStoredQueryWithName retrieves all config.StoredQuery items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConfigStoredQueryWithName(name string) (*config.StoredQuery, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *config.StoredQuery: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type config.StoredQuery not found", name) -} - -// GetAllConnectContactFlowResources retrieves all connect.ContactFlow items from an AWS CloudFormation template -func (t *Template) GetAllConnectContactFlowResources() map[string]*connect.ContactFlow { - results := map[string]*connect.ContactFlow{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.ContactFlow: - results[name] = resource - } - } - return results -} - -// GetConnectContactFlowWithName retrieves all connect.ContactFlow items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectContactFlowWithName(name string) (*connect.ContactFlow, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.ContactFlow: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.ContactFlow not found", name) -} - -// GetAllConnectContactFlowModuleResources retrieves all connect.ContactFlowModule items from an AWS CloudFormation template -func (t *Template) GetAllConnectContactFlowModuleResources() map[string]*connect.ContactFlowModule { - results := map[string]*connect.ContactFlowModule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.ContactFlowModule: - results[name] = resource - } - } - return results -} - -// GetConnectContactFlowModuleWithName retrieves all connect.ContactFlowModule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectContactFlowModuleWithName(name string) (*connect.ContactFlowModule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.ContactFlowModule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.ContactFlowModule not found", name) -} - -// GetAllConnectHoursOfOperationResources retrieves all connect.HoursOfOperation items from an AWS CloudFormation template -func (t *Template) GetAllConnectHoursOfOperationResources() map[string]*connect.HoursOfOperation { - results := map[string]*connect.HoursOfOperation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.HoursOfOperation: - results[name] = resource - } - } - return results -} - -// GetConnectHoursOfOperationWithName retrieves all connect.HoursOfOperation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectHoursOfOperationWithName(name string) (*connect.HoursOfOperation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.HoursOfOperation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.HoursOfOperation not found", name) -} - -// GetAllConnectQuickConnectResources retrieves all connect.QuickConnect items from an AWS CloudFormation template -func (t *Template) GetAllConnectQuickConnectResources() map[string]*connect.QuickConnect { - results := map[string]*connect.QuickConnect{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.QuickConnect: - results[name] = resource - } - } - return results -} - -// GetConnectQuickConnectWithName retrieves all connect.QuickConnect items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectQuickConnectWithName(name string) (*connect.QuickConnect, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.QuickConnect: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.QuickConnect not found", name) -} - -// GetAllConnectUserResources retrieves all connect.User items from an AWS CloudFormation template -func (t *Template) GetAllConnectUserResources() map[string]*connect.User { - results := map[string]*connect.User{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.User: - results[name] = resource - } - } - return results -} - -// GetConnectUserWithName retrieves all connect.User items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectUserWithName(name string) (*connect.User, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.User: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.User not found", name) -} - -// GetAllConnectUserHierarchyGroupResources retrieves all connect.UserHierarchyGroup items from an AWS CloudFormation template -func (t *Template) GetAllConnectUserHierarchyGroupResources() map[string]*connect.UserHierarchyGroup { - results := map[string]*connect.UserHierarchyGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *connect.UserHierarchyGroup: - results[name] = resource - } - } - return results -} - -// GetConnectUserHierarchyGroupWithName retrieves all connect.UserHierarchyGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetConnectUserHierarchyGroupWithName(name string) (*connect.UserHierarchyGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *connect.UserHierarchyGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type connect.UserHierarchyGroup not found", name) -} - -// GetAllCustomerProfilesDomainResources retrieves all customerprofiles.Domain items from an AWS CloudFormation template -func (t *Template) GetAllCustomerProfilesDomainResources() map[string]*customerprofiles.Domain { - results := map[string]*customerprofiles.Domain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *customerprofiles.Domain: - results[name] = resource - } - } - return results -} - -// GetCustomerProfilesDomainWithName retrieves all customerprofiles.Domain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCustomerProfilesDomainWithName(name string) (*customerprofiles.Domain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *customerprofiles.Domain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type customerprofiles.Domain not found", name) -} - -// GetAllCustomerProfilesIntegrationResources retrieves all customerprofiles.Integration items from an AWS CloudFormation template -func (t *Template) GetAllCustomerProfilesIntegrationResources() map[string]*customerprofiles.Integration { - results := map[string]*customerprofiles.Integration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *customerprofiles.Integration: - results[name] = resource - } - } - return results -} - -// GetCustomerProfilesIntegrationWithName retrieves all customerprofiles.Integration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCustomerProfilesIntegrationWithName(name string) (*customerprofiles.Integration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *customerprofiles.Integration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type customerprofiles.Integration not found", name) -} - -// GetAllCustomerProfilesObjectTypeResources retrieves all customerprofiles.ObjectType items from an AWS CloudFormation template -func (t *Template) GetAllCustomerProfilesObjectTypeResources() map[string]*customerprofiles.ObjectType { - results := map[string]*customerprofiles.ObjectType{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *customerprofiles.ObjectType: - results[name] = resource - } - } - return results -} - -// GetCustomerProfilesObjectTypeWithName retrieves all customerprofiles.ObjectType items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetCustomerProfilesObjectTypeWithName(name string) (*customerprofiles.ObjectType, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *customerprofiles.ObjectType: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type customerprofiles.ObjectType not found", name) -} - -// GetAllDAXClusterResources retrieves all dax.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllDAXClusterResources() map[string]*dax.Cluster { - results := map[string]*dax.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dax.Cluster: - results[name] = resource - } - } - return results -} - -// GetDAXClusterWithName retrieves all dax.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXClusterWithName(name string) (*dax.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dax.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dax.Cluster not found", name) -} - -// GetAllDAXParameterGroupResources retrieves all dax.ParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllDAXParameterGroupResources() map[string]*dax.ParameterGroup { - results := map[string]*dax.ParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dax.ParameterGroup: - results[name] = resource - } - } - return results -} - -// GetDAXParameterGroupWithName retrieves all dax.ParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXParameterGroupWithName(name string) (*dax.ParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dax.ParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dax.ParameterGroup not found", name) -} - -// GetAllDAXSubnetGroupResources retrieves all dax.SubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDAXSubnetGroupResources() map[string]*dax.SubnetGroup { - results := map[string]*dax.SubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dax.SubnetGroup: - results[name] = resource - } - } - return results -} - -// GetDAXSubnetGroupWithName retrieves all dax.SubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDAXSubnetGroupWithName(name string) (*dax.SubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dax.SubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dax.SubnetGroup not found", name) -} - -// GetAllDLMLifecyclePolicyResources retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template -func (t *Template) GetAllDLMLifecyclePolicyResources() map[string]*dlm.LifecyclePolicy { - results := map[string]*dlm.LifecyclePolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dlm.LifecyclePolicy: - results[name] = resource - } - } - return results -} - -// GetDLMLifecyclePolicyWithName retrieves all dlm.LifecyclePolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDLMLifecyclePolicyWithName(name string) (*dlm.LifecyclePolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dlm.LifecyclePolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dlm.LifecyclePolicy not found", name) -} - -// GetAllDMSCertificateResources retrieves all dms.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllDMSCertificateResources() map[string]*dms.Certificate { - results := map[string]*dms.Certificate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.Certificate: - results[name] = resource - } - } - return results -} - -// GetDMSCertificateWithName retrieves all dms.Certificate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSCertificateWithName(name string) (*dms.Certificate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.Certificate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.Certificate not found", name) -} - -// GetAllDMSEndpointResources retrieves all dms.Endpoint items from an AWS CloudFormation template -func (t *Template) GetAllDMSEndpointResources() map[string]*dms.Endpoint { - results := map[string]*dms.Endpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.Endpoint: - results[name] = resource - } - } - return results -} - -// GetDMSEndpointWithName retrieves all dms.Endpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSEndpointWithName(name string) (*dms.Endpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.Endpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.Endpoint not found", name) -} - -// GetAllDMSEventSubscriptionResources retrieves all dms.EventSubscription items from an AWS CloudFormation template -func (t *Template) GetAllDMSEventSubscriptionResources() map[string]*dms.EventSubscription { - results := map[string]*dms.EventSubscription{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.EventSubscription: - results[name] = resource - } - } - return results -} - -// GetDMSEventSubscriptionWithName retrieves all dms.EventSubscription items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSEventSubscriptionWithName(name string) (*dms.EventSubscription, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.EventSubscription: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.EventSubscription not found", name) -} - -// GetAllDMSReplicationInstanceResources retrieves all dms.ReplicationInstance items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationInstanceResources() map[string]*dms.ReplicationInstance { - results := map[string]*dms.ReplicationInstance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.ReplicationInstance: - results[name] = resource - } - } - return results -} - -// GetDMSReplicationInstanceWithName retrieves all dms.ReplicationInstance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationInstanceWithName(name string) (*dms.ReplicationInstance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.ReplicationInstance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.ReplicationInstance not found", name) -} - -// GetAllDMSReplicationSubnetGroupResources retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationSubnetGroupResources() map[string]*dms.ReplicationSubnetGroup { - results := map[string]*dms.ReplicationSubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.ReplicationSubnetGroup: - results[name] = resource - } - } - return results -} - -// GetDMSReplicationSubnetGroupWithName retrieves all dms.ReplicationSubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationSubnetGroupWithName(name string) (*dms.ReplicationSubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.ReplicationSubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.ReplicationSubnetGroup not found", name) -} - -// GetAllDMSReplicationTaskResources retrieves all dms.ReplicationTask items from an AWS CloudFormation template -func (t *Template) GetAllDMSReplicationTaskResources() map[string]*dms.ReplicationTask { - results := map[string]*dms.ReplicationTask{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dms.ReplicationTask: - results[name] = resource - } - } - return results -} - -// GetDMSReplicationTaskWithName retrieves all dms.ReplicationTask items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDMSReplicationTaskWithName(name string) (*dms.ReplicationTask, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dms.ReplicationTask: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dms.ReplicationTask not found", name) -} - -// GetAllDataBrewDatasetResources retrieves all databrew.Dataset items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewDatasetResources() map[string]*databrew.Dataset { - results := map[string]*databrew.Dataset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Dataset: - results[name] = resource - } - } - return results -} - -// GetDataBrewDatasetWithName retrieves all databrew.Dataset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewDatasetWithName(name string) (*databrew.Dataset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Dataset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Dataset not found", name) -} - -// GetAllDataBrewJobResources retrieves all databrew.Job items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewJobResources() map[string]*databrew.Job { - results := map[string]*databrew.Job{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Job: - results[name] = resource - } - } - return results -} - -// GetDataBrewJobWithName retrieves all databrew.Job items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewJobWithName(name string) (*databrew.Job, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Job: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Job not found", name) -} - -// GetAllDataBrewProjectResources retrieves all databrew.Project items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewProjectResources() map[string]*databrew.Project { - results := map[string]*databrew.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Project: - results[name] = resource - } - } - return results -} - -// GetDataBrewProjectWithName retrieves all databrew.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewProjectWithName(name string) (*databrew.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Project not found", name) -} - -// GetAllDataBrewRecipeResources retrieves all databrew.Recipe items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewRecipeResources() map[string]*databrew.Recipe { - results := map[string]*databrew.Recipe{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Recipe: - results[name] = resource - } - } - return results -} - -// GetDataBrewRecipeWithName retrieves all databrew.Recipe items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewRecipeWithName(name string) (*databrew.Recipe, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Recipe: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Recipe not found", name) -} - -// GetAllDataBrewRulesetResources retrieves all databrew.Ruleset items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewRulesetResources() map[string]*databrew.Ruleset { - results := map[string]*databrew.Ruleset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Ruleset: - results[name] = resource - } - } - return results -} - -// GetDataBrewRulesetWithName retrieves all databrew.Ruleset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewRulesetWithName(name string) (*databrew.Ruleset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Ruleset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Ruleset not found", name) -} - -// GetAllDataBrewScheduleResources retrieves all databrew.Schedule items from an AWS CloudFormation template -func (t *Template) GetAllDataBrewScheduleResources() map[string]*databrew.Schedule { - results := map[string]*databrew.Schedule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *databrew.Schedule: - results[name] = resource - } - } - return results -} - -// GetDataBrewScheduleWithName retrieves all databrew.Schedule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataBrewScheduleWithName(name string) (*databrew.Schedule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *databrew.Schedule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type databrew.Schedule not found", name) -} - -// GetAllDataPipelinePipelineResources retrieves all datapipeline.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllDataPipelinePipelineResources() map[string]*datapipeline.Pipeline { - results := map[string]*datapipeline.Pipeline{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datapipeline.Pipeline: - results[name] = resource - } - } - return results -} - -// GetDataPipelinePipelineWithName retrieves all datapipeline.Pipeline items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataPipelinePipelineWithName(name string) (*datapipeline.Pipeline, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datapipeline.Pipeline: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datapipeline.Pipeline not found", name) -} - -// GetAllDataSyncAgentResources retrieves all datasync.Agent items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncAgentResources() map[string]*datasync.Agent { - results := map[string]*datasync.Agent{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.Agent: - results[name] = resource - } - } - return results -} - -// GetDataSyncAgentWithName retrieves all datasync.Agent items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncAgentWithName(name string) (*datasync.Agent, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.Agent: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.Agent not found", name) -} - -// GetAllDataSyncLocationEFSResources retrieves all datasync.LocationEFS items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationEFSResources() map[string]*datasync.LocationEFS { - results := map[string]*datasync.LocationEFS{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationEFS: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationEFSWithName retrieves all datasync.LocationEFS items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationEFSWithName(name string) (*datasync.LocationEFS, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationEFS: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationEFS not found", name) -} - -// GetAllDataSyncLocationFSxWindowsResources retrieves all datasync.LocationFSxWindows items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationFSxWindowsResources() map[string]*datasync.LocationFSxWindows { - results := map[string]*datasync.LocationFSxWindows{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationFSxWindows: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationFSxWindowsWithName retrieves all datasync.LocationFSxWindows items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationFSxWindowsWithName(name string) (*datasync.LocationFSxWindows, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationFSxWindows: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationFSxWindows not found", name) -} - -// GetAllDataSyncLocationHDFSResources retrieves all datasync.LocationHDFS items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationHDFSResources() map[string]*datasync.LocationHDFS { - results := map[string]*datasync.LocationHDFS{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationHDFS: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationHDFSWithName retrieves all datasync.LocationHDFS items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationHDFSWithName(name string) (*datasync.LocationHDFS, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationHDFS: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationHDFS not found", name) -} - -// GetAllDataSyncLocationNFSResources retrieves all datasync.LocationNFS items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationNFSResources() map[string]*datasync.LocationNFS { - results := map[string]*datasync.LocationNFS{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationNFS: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationNFSWithName retrieves all datasync.LocationNFS items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationNFSWithName(name string) (*datasync.LocationNFS, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationNFS: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationNFS not found", name) -} - -// GetAllDataSyncLocationObjectStorageResources retrieves all datasync.LocationObjectStorage items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationObjectStorageResources() map[string]*datasync.LocationObjectStorage { - results := map[string]*datasync.LocationObjectStorage{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationObjectStorage: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationObjectStorageWithName retrieves all datasync.LocationObjectStorage items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationObjectStorageWithName(name string) (*datasync.LocationObjectStorage, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationObjectStorage: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationObjectStorage not found", name) -} - -// GetAllDataSyncLocationS3Resources retrieves all datasync.LocationS3 items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationS3Resources() map[string]*datasync.LocationS3 { - results := map[string]*datasync.LocationS3{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationS3: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationS3WithName retrieves all datasync.LocationS3 items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationS3WithName(name string) (*datasync.LocationS3, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationS3: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationS3 not found", name) -} - -// GetAllDataSyncLocationSMBResources retrieves all datasync.LocationSMB items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncLocationSMBResources() map[string]*datasync.LocationSMB { - results := map[string]*datasync.LocationSMB{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.LocationSMB: - results[name] = resource - } - } - return results -} - -// GetDataSyncLocationSMBWithName retrieves all datasync.LocationSMB items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncLocationSMBWithName(name string) (*datasync.LocationSMB, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.LocationSMB: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.LocationSMB not found", name) -} - -// GetAllDataSyncTaskResources retrieves all datasync.Task items from an AWS CloudFormation template -func (t *Template) GetAllDataSyncTaskResources() map[string]*datasync.Task { - results := map[string]*datasync.Task{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *datasync.Task: - results[name] = resource - } - } - return results -} - -// GetDataSyncTaskWithName retrieves all datasync.Task items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDataSyncTaskWithName(name string) (*datasync.Task, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *datasync.Task: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type datasync.Task not found", name) -} - -// GetAllDetectiveGraphResources retrieves all detective.Graph items from an AWS CloudFormation template -func (t *Template) GetAllDetectiveGraphResources() map[string]*detective.Graph { - results := map[string]*detective.Graph{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *detective.Graph: - results[name] = resource - } - } - return results -} - -// GetDetectiveGraphWithName retrieves all detective.Graph items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDetectiveGraphWithName(name string) (*detective.Graph, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *detective.Graph: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type detective.Graph not found", name) -} - -// GetAllDetectiveMemberInvitationResources retrieves all detective.MemberInvitation items from an AWS CloudFormation template -func (t *Template) GetAllDetectiveMemberInvitationResources() map[string]*detective.MemberInvitation { - results := map[string]*detective.MemberInvitation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *detective.MemberInvitation: - results[name] = resource - } - } - return results -} - -// GetDetectiveMemberInvitationWithName retrieves all detective.MemberInvitation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDetectiveMemberInvitationWithName(name string) (*detective.MemberInvitation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *detective.MemberInvitation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type detective.MemberInvitation not found", name) -} - -// GetAllDevOpsGuruNotificationChannelResources retrieves all devopsguru.NotificationChannel items from an AWS CloudFormation template -func (t *Template) GetAllDevOpsGuruNotificationChannelResources() map[string]*devopsguru.NotificationChannel { - results := map[string]*devopsguru.NotificationChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *devopsguru.NotificationChannel: - results[name] = resource - } - } - return results -} - -// GetDevOpsGuruNotificationChannelWithName retrieves all devopsguru.NotificationChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDevOpsGuruNotificationChannelWithName(name string) (*devopsguru.NotificationChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *devopsguru.NotificationChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type devopsguru.NotificationChannel not found", name) -} - -// GetAllDevOpsGuruResourceCollectionResources retrieves all devopsguru.ResourceCollection items from an AWS CloudFormation template -func (t *Template) GetAllDevOpsGuruResourceCollectionResources() map[string]*devopsguru.ResourceCollection { - results := map[string]*devopsguru.ResourceCollection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *devopsguru.ResourceCollection: - results[name] = resource - } - } - return results -} - -// GetDevOpsGuruResourceCollectionWithName retrieves all devopsguru.ResourceCollection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDevOpsGuruResourceCollectionWithName(name string) (*devopsguru.ResourceCollection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *devopsguru.ResourceCollection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type devopsguru.ResourceCollection not found", name) -} - -// GetAllDirectoryServiceMicrosoftADResources retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template -func (t *Template) GetAllDirectoryServiceMicrosoftADResources() map[string]*directoryservice.MicrosoftAD { - results := map[string]*directoryservice.MicrosoftAD{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *directoryservice.MicrosoftAD: - results[name] = resource - } - } - return results -} - -// GetDirectoryServiceMicrosoftADWithName retrieves all directoryservice.MicrosoftAD items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDirectoryServiceMicrosoftADWithName(name string) (*directoryservice.MicrosoftAD, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *directoryservice.MicrosoftAD: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type directoryservice.MicrosoftAD not found", name) -} - -// GetAllDirectoryServiceSimpleADResources retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template -func (t *Template) GetAllDirectoryServiceSimpleADResources() map[string]*directoryservice.SimpleAD { - results := map[string]*directoryservice.SimpleAD{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *directoryservice.SimpleAD: - results[name] = resource - } - } - return results -} - -// GetDirectoryServiceSimpleADWithName retrieves all directoryservice.SimpleAD items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDirectoryServiceSimpleADWithName(name string) (*directoryservice.SimpleAD, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *directoryservice.SimpleAD: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type directoryservice.SimpleAD not found", name) -} - -// GetAllDocDBDBClusterResources retrieves all docdb.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBClusterResources() map[string]*docdb.DBCluster { - results := map[string]*docdb.DBCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *docdb.DBCluster: - results[name] = resource - } - } - return results -} - -// GetDocDBDBClusterWithName retrieves all docdb.DBCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBClusterWithName(name string) (*docdb.DBCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *docdb.DBCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type docdb.DBCluster not found", name) -} - -// GetAllDocDBDBClusterParameterGroupResources retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBClusterParameterGroupResources() map[string]*docdb.DBClusterParameterGroup { - results := map[string]*docdb.DBClusterParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *docdb.DBClusterParameterGroup: - results[name] = resource - } - } - return results -} - -// GetDocDBDBClusterParameterGroupWithName retrieves all docdb.DBClusterParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBClusterParameterGroupWithName(name string) (*docdb.DBClusterParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *docdb.DBClusterParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type docdb.DBClusterParameterGroup not found", name) -} - -// GetAllDocDBDBInstanceResources retrieves all docdb.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBInstanceResources() map[string]*docdb.DBInstance { - results := map[string]*docdb.DBInstance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *docdb.DBInstance: - results[name] = resource - } - } - return results -} - -// GetDocDBDBInstanceWithName retrieves all docdb.DBInstance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBInstanceWithName(name string) (*docdb.DBInstance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *docdb.DBInstance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type docdb.DBInstance not found", name) -} - -// GetAllDocDBDBSubnetGroupResources retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllDocDBDBSubnetGroupResources() map[string]*docdb.DBSubnetGroup { - results := map[string]*docdb.DBSubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *docdb.DBSubnetGroup: - results[name] = resource - } - } - return results -} - -// GetDocDBDBSubnetGroupWithName retrieves all docdb.DBSubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDocDBDBSubnetGroupWithName(name string) (*docdb.DBSubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *docdb.DBSubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type docdb.DBSubnetGroup not found", name) -} - -// GetAllDynamoDBGlobalTableResources retrieves all dynamodb.GlobalTable items from an AWS CloudFormation template -func (t *Template) GetAllDynamoDBGlobalTableResources() map[string]*dynamodb.GlobalTable { - results := map[string]*dynamodb.GlobalTable{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dynamodb.GlobalTable: - results[name] = resource - } - } - return results -} - -// GetDynamoDBGlobalTableWithName retrieves all dynamodb.GlobalTable items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDynamoDBGlobalTableWithName(name string) (*dynamodb.GlobalTable, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dynamodb.GlobalTable: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dynamodb.GlobalTable not found", name) -} - -// GetAllDynamoDBTableResources retrieves all dynamodb.Table items from an AWS CloudFormation template -func (t *Template) GetAllDynamoDBTableResources() map[string]*dynamodb.Table { - results := map[string]*dynamodb.Table{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *dynamodb.Table: - results[name] = resource - } - } - return results -} - -// GetDynamoDBTableWithName retrieves all dynamodb.Table items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetDynamoDBTableWithName(name string) (*dynamodb.Table, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *dynamodb.Table: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type dynamodb.Table not found", name) -} - -// GetAllEC2CapacityReservationResources retrieves all ec2.CapacityReservation items from an AWS CloudFormation template -func (t *Template) GetAllEC2CapacityReservationResources() map[string]*ec2.CapacityReservation { - results := map[string]*ec2.CapacityReservation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.CapacityReservation: - results[name] = resource - } - } - return results -} - -// GetEC2CapacityReservationWithName retrieves all ec2.CapacityReservation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CapacityReservationWithName(name string) (*ec2.CapacityReservation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.CapacityReservation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.CapacityReservation not found", name) -} - -// GetAllEC2CapacityReservationFleetResources retrieves all ec2.CapacityReservationFleet items from an AWS CloudFormation template -func (t *Template) GetAllEC2CapacityReservationFleetResources() map[string]*ec2.CapacityReservationFleet { - results := map[string]*ec2.CapacityReservationFleet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.CapacityReservationFleet: - results[name] = resource - } - } - return results -} - -// GetEC2CapacityReservationFleetWithName retrieves all ec2.CapacityReservationFleet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CapacityReservationFleetWithName(name string) (*ec2.CapacityReservationFleet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.CapacityReservationFleet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.CapacityReservationFleet not found", name) -} - -// GetAllEC2CarrierGatewayResources retrieves all ec2.CarrierGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2CarrierGatewayResources() map[string]*ec2.CarrierGateway { - results := map[string]*ec2.CarrierGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.CarrierGateway: - results[name] = resource - } - } - return results -} - -// GetEC2CarrierGatewayWithName retrieves all ec2.CarrierGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CarrierGatewayWithName(name string) (*ec2.CarrierGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.CarrierGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.CarrierGateway not found", name) -} - -// GetAllEC2ClientVpnAuthorizationRuleResources retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnAuthorizationRuleResources() map[string]*ec2.ClientVpnAuthorizationRule { - results := map[string]*ec2.ClientVpnAuthorizationRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.ClientVpnAuthorizationRule: - results[name] = resource - } - } - return results -} - -// GetEC2ClientVpnAuthorizationRuleWithName retrieves all ec2.ClientVpnAuthorizationRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnAuthorizationRuleWithName(name string) (*ec2.ClientVpnAuthorizationRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.ClientVpnAuthorizationRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnAuthorizationRule not found", name) -} - -// GetAllEC2ClientVpnEndpointResources retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnEndpointResources() map[string]*ec2.ClientVpnEndpoint { - results := map[string]*ec2.ClientVpnEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.ClientVpnEndpoint: - results[name] = resource - } - } - return results -} - -// GetEC2ClientVpnEndpointWithName retrieves all ec2.ClientVpnEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnEndpointWithName(name string) (*ec2.ClientVpnEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.ClientVpnEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnEndpoint not found", name) -} - -// GetAllEC2ClientVpnRouteResources retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnRouteResources() map[string]*ec2.ClientVpnRoute { - results := map[string]*ec2.ClientVpnRoute{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.ClientVpnRoute: - results[name] = resource - } - } - return results -} - -// GetEC2ClientVpnRouteWithName retrieves all ec2.ClientVpnRoute items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnRouteWithName(name string) (*ec2.ClientVpnRoute, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.ClientVpnRoute: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnRoute not found", name) -} - -// GetAllEC2ClientVpnTargetNetworkAssociationResources retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2ClientVpnTargetNetworkAssociationResources() map[string]*ec2.ClientVpnTargetNetworkAssociation { - results := map[string]*ec2.ClientVpnTargetNetworkAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.ClientVpnTargetNetworkAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2ClientVpnTargetNetworkAssociationWithName retrieves all ec2.ClientVpnTargetNetworkAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2ClientVpnTargetNetworkAssociationWithName(name string) (*ec2.ClientVpnTargetNetworkAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.ClientVpnTargetNetworkAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.ClientVpnTargetNetworkAssociation not found", name) -} - -// GetAllEC2CustomerGatewayResources retrieves all ec2.CustomerGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2CustomerGatewayResources() map[string]*ec2.CustomerGateway { - results := map[string]*ec2.CustomerGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.CustomerGateway: - results[name] = resource - } - } - return results -} - -// GetEC2CustomerGatewayWithName retrieves all ec2.CustomerGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2CustomerGatewayWithName(name string) (*ec2.CustomerGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.CustomerGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.CustomerGateway not found", name) -} - -// GetAllEC2DHCPOptionsResources retrieves all ec2.DHCPOptions items from an AWS CloudFormation template -func (t *Template) GetAllEC2DHCPOptionsResources() map[string]*ec2.DHCPOptions { - results := map[string]*ec2.DHCPOptions{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.DHCPOptions: - results[name] = resource - } - } - return results -} - -// GetEC2DHCPOptionsWithName retrieves all ec2.DHCPOptions items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2DHCPOptionsWithName(name string) (*ec2.DHCPOptions, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.DHCPOptions: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.DHCPOptions not found", name) -} - -// GetAllEC2EC2FleetResources retrieves all ec2.EC2Fleet items from an AWS CloudFormation template -func (t *Template) GetAllEC2EC2FleetResources() map[string]*ec2.EC2Fleet { - results := map[string]*ec2.EC2Fleet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.EC2Fleet: - results[name] = resource - } - } - return results -} - -// GetEC2EC2FleetWithName retrieves all ec2.EC2Fleet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EC2FleetWithName(name string) (*ec2.EC2Fleet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.EC2Fleet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.EC2Fleet not found", name) -} - -// GetAllEC2EIPResources retrieves all ec2.EIP items from an AWS CloudFormation template -func (t *Template) GetAllEC2EIPResources() map[string]*ec2.EIP { - results := map[string]*ec2.EIP{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.EIP: - results[name] = resource - } - } - return results -} - -// GetEC2EIPWithName retrieves all ec2.EIP items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EIPWithName(name string) (*ec2.EIP, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.EIP: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.EIP not found", name) -} - -// GetAllEC2EIPAssociationResources retrieves all ec2.EIPAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2EIPAssociationResources() map[string]*ec2.EIPAssociation { - results := map[string]*ec2.EIPAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.EIPAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2EIPAssociationWithName retrieves all ec2.EIPAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EIPAssociationWithName(name string) (*ec2.EIPAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.EIPAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.EIPAssociation not found", name) -} - -// GetAllEC2EgressOnlyInternetGatewayResources retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2EgressOnlyInternetGatewayResources() map[string]*ec2.EgressOnlyInternetGateway { - results := map[string]*ec2.EgressOnlyInternetGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.EgressOnlyInternetGateway: - results[name] = resource - } - } - return results -} - -// GetEC2EgressOnlyInternetGatewayWithName retrieves all ec2.EgressOnlyInternetGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EgressOnlyInternetGatewayWithName(name string) (*ec2.EgressOnlyInternetGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.EgressOnlyInternetGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.EgressOnlyInternetGateway not found", name) -} - -// GetAllEC2EnclaveCertificateIamRoleAssociationResources retrieves all ec2.EnclaveCertificateIamRoleAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2EnclaveCertificateIamRoleAssociationResources() map[string]*ec2.EnclaveCertificateIamRoleAssociation { - results := map[string]*ec2.EnclaveCertificateIamRoleAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.EnclaveCertificateIamRoleAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2EnclaveCertificateIamRoleAssociationWithName retrieves all ec2.EnclaveCertificateIamRoleAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2EnclaveCertificateIamRoleAssociationWithName(name string) (*ec2.EnclaveCertificateIamRoleAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.EnclaveCertificateIamRoleAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.EnclaveCertificateIamRoleAssociation not found", name) -} - -// GetAllEC2FlowLogResources retrieves all ec2.FlowLog items from an AWS CloudFormation template -func (t *Template) GetAllEC2FlowLogResources() map[string]*ec2.FlowLog { - results := map[string]*ec2.FlowLog{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.FlowLog: - results[name] = resource - } - } - return results -} - -// GetEC2FlowLogWithName retrieves all ec2.FlowLog items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2FlowLogWithName(name string) (*ec2.FlowLog, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.FlowLog: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.FlowLog not found", name) -} - -// GetAllEC2GatewayRouteTableAssociationResources retrieves all ec2.GatewayRouteTableAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2GatewayRouteTableAssociationResources() map[string]*ec2.GatewayRouteTableAssociation { - results := map[string]*ec2.GatewayRouteTableAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.GatewayRouteTableAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2GatewayRouteTableAssociationWithName retrieves all ec2.GatewayRouteTableAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2GatewayRouteTableAssociationWithName(name string) (*ec2.GatewayRouteTableAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.GatewayRouteTableAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.GatewayRouteTableAssociation not found", name) -} - -// GetAllEC2HostResources retrieves all ec2.Host items from an AWS CloudFormation template -func (t *Template) GetAllEC2HostResources() map[string]*ec2.Host { - results := map[string]*ec2.Host{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.Host: - results[name] = resource - } - } - return results -} - -// GetEC2HostWithName retrieves all ec2.Host items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2HostWithName(name string) (*ec2.Host, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.Host: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.Host not found", name) -} - -// GetAllEC2IPAMResources retrieves all ec2.IPAM items from an AWS CloudFormation template -func (t *Template) GetAllEC2IPAMResources() map[string]*ec2.IPAM { - results := map[string]*ec2.IPAM{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.IPAM: - results[name] = resource - } - } - return results -} - -// GetEC2IPAMWithName retrieves all ec2.IPAM items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2IPAMWithName(name string) (*ec2.IPAM, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.IPAM: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.IPAM not found", name) -} - -// GetAllEC2IPAMAllocationResources retrieves all ec2.IPAMAllocation items from an AWS CloudFormation template -func (t *Template) GetAllEC2IPAMAllocationResources() map[string]*ec2.IPAMAllocation { - results := map[string]*ec2.IPAMAllocation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.IPAMAllocation: - results[name] = resource - } - } - return results -} - -// GetEC2IPAMAllocationWithName retrieves all ec2.IPAMAllocation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2IPAMAllocationWithName(name string) (*ec2.IPAMAllocation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.IPAMAllocation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.IPAMAllocation not found", name) -} - -// GetAllEC2IPAMPoolResources retrieves all ec2.IPAMPool items from an AWS CloudFormation template -func (t *Template) GetAllEC2IPAMPoolResources() map[string]*ec2.IPAMPool { - results := map[string]*ec2.IPAMPool{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.IPAMPool: - results[name] = resource - } - } - return results -} - -// GetEC2IPAMPoolWithName retrieves all ec2.IPAMPool items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2IPAMPoolWithName(name string) (*ec2.IPAMPool, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.IPAMPool: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.IPAMPool not found", name) -} - -// GetAllEC2IPAMScopeResources retrieves all ec2.IPAMScope items from an AWS CloudFormation template -func (t *Template) GetAllEC2IPAMScopeResources() map[string]*ec2.IPAMScope { - results := map[string]*ec2.IPAMScope{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.IPAMScope: - results[name] = resource - } - } - return results -} - -// GetEC2IPAMScopeWithName retrieves all ec2.IPAMScope items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2IPAMScopeWithName(name string) (*ec2.IPAMScope, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.IPAMScope: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.IPAMScope not found", name) -} - -// GetAllEC2InstanceResources retrieves all ec2.Instance items from an AWS CloudFormation template -func (t *Template) GetAllEC2InstanceResources() map[string]*ec2.Instance { - results := map[string]*ec2.Instance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.Instance: - results[name] = resource - } - } - return results -} - -// GetEC2InstanceWithName retrieves all ec2.Instance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2InstanceWithName(name string) (*ec2.Instance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.Instance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.Instance not found", name) -} - -// GetAllEC2InternetGatewayResources retrieves all ec2.InternetGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2InternetGatewayResources() map[string]*ec2.InternetGateway { - results := map[string]*ec2.InternetGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.InternetGateway: - results[name] = resource - } - } - return results -} - -// GetEC2InternetGatewayWithName retrieves all ec2.InternetGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2InternetGatewayWithName(name string) (*ec2.InternetGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.InternetGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.InternetGateway not found", name) -} - -// GetAllEC2LaunchTemplateResources retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template -func (t *Template) GetAllEC2LaunchTemplateResources() map[string]*ec2.LaunchTemplate { - results := map[string]*ec2.LaunchTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.LaunchTemplate: - results[name] = resource - } - } - return results -} - -// GetEC2LaunchTemplateWithName retrieves all ec2.LaunchTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2LaunchTemplateWithName(name string) (*ec2.LaunchTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.LaunchTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.LaunchTemplate not found", name) -} - -// GetAllEC2LocalGatewayRouteResources retrieves all ec2.LocalGatewayRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2LocalGatewayRouteResources() map[string]*ec2.LocalGatewayRoute { - results := map[string]*ec2.LocalGatewayRoute{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.LocalGatewayRoute: - results[name] = resource - } - } - return results -} - -// GetEC2LocalGatewayRouteWithName retrieves all ec2.LocalGatewayRoute items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2LocalGatewayRouteWithName(name string) (*ec2.LocalGatewayRoute, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.LocalGatewayRoute: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRoute not found", name) -} - -// GetAllEC2LocalGatewayRouteTableVPCAssociationResources retrieves all ec2.LocalGatewayRouteTableVPCAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2LocalGatewayRouteTableVPCAssociationResources() map[string]*ec2.LocalGatewayRouteTableVPCAssociation { - results := map[string]*ec2.LocalGatewayRouteTableVPCAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.LocalGatewayRouteTableVPCAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2LocalGatewayRouteTableVPCAssociationWithName retrieves all ec2.LocalGatewayRouteTableVPCAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2LocalGatewayRouteTableVPCAssociationWithName(name string) (*ec2.LocalGatewayRouteTableVPCAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.LocalGatewayRouteTableVPCAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.LocalGatewayRouteTableVPCAssociation not found", name) -} - -// GetAllEC2NatGatewayResources retrieves all ec2.NatGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2NatGatewayResources() map[string]*ec2.NatGateway { - results := map[string]*ec2.NatGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NatGateway: - results[name] = resource - } - } - return results -} - -// GetEC2NatGatewayWithName retrieves all ec2.NatGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NatGatewayWithName(name string) (*ec2.NatGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NatGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NatGateway not found", name) -} - -// GetAllEC2NetworkAclResources retrieves all ec2.NetworkAcl items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkAclResources() map[string]*ec2.NetworkAcl { - results := map[string]*ec2.NetworkAcl{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkAcl: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkAclWithName retrieves all ec2.NetworkAcl items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkAclWithName(name string) (*ec2.NetworkAcl, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkAcl: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkAcl not found", name) -} - -// GetAllEC2NetworkAclEntryResources retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkAclEntryResources() map[string]*ec2.NetworkAclEntry { - results := map[string]*ec2.NetworkAclEntry{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkAclEntry: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkAclEntryWithName retrieves all ec2.NetworkAclEntry items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkAclEntryWithName(name string) (*ec2.NetworkAclEntry, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkAclEntry: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkAclEntry not found", name) -} - -// GetAllEC2NetworkInsightsAnalysisResources retrieves all ec2.NetworkInsightsAnalysis items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInsightsAnalysisResources() map[string]*ec2.NetworkInsightsAnalysis { - results := map[string]*ec2.NetworkInsightsAnalysis{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkInsightsAnalysis: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkInsightsAnalysisWithName retrieves all ec2.NetworkInsightsAnalysis items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInsightsAnalysisWithName(name string) (*ec2.NetworkInsightsAnalysis, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkInsightsAnalysis: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsAnalysis not found", name) -} - -// GetAllEC2NetworkInsightsPathResources retrieves all ec2.NetworkInsightsPath items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInsightsPathResources() map[string]*ec2.NetworkInsightsPath { - results := map[string]*ec2.NetworkInsightsPath{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkInsightsPath: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkInsightsPathWithName retrieves all ec2.NetworkInsightsPath items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInsightsPathWithName(name string) (*ec2.NetworkInsightsPath, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkInsightsPath: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInsightsPath not found", name) -} - -// GetAllEC2NetworkInterfaceResources retrieves all ec2.NetworkInterface items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfaceResources() map[string]*ec2.NetworkInterface { - results := map[string]*ec2.NetworkInterface{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkInterface: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkInterfaceWithName retrieves all ec2.NetworkInterface items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfaceWithName(name string) (*ec2.NetworkInterface, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkInterface: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterface not found", name) -} - -// GetAllEC2NetworkInterfaceAttachmentResources retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfaceAttachmentResources() map[string]*ec2.NetworkInterfaceAttachment { - results := map[string]*ec2.NetworkInterfaceAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkInterfaceAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkInterfaceAttachmentWithName retrieves all ec2.NetworkInterfaceAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfaceAttachmentWithName(name string) (*ec2.NetworkInterfaceAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkInterfaceAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfaceAttachment not found", name) -} - -// GetAllEC2NetworkInterfacePermissionResources retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template -func (t *Template) GetAllEC2NetworkInterfacePermissionResources() map[string]*ec2.NetworkInterfacePermission { - results := map[string]*ec2.NetworkInterfacePermission{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.NetworkInterfacePermission: - results[name] = resource - } - } - return results -} - -// GetEC2NetworkInterfacePermissionWithName retrieves all ec2.NetworkInterfacePermission items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2NetworkInterfacePermissionWithName(name string) (*ec2.NetworkInterfacePermission, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.NetworkInterfacePermission: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.NetworkInterfacePermission not found", name) -} - -// GetAllEC2PlacementGroupResources retrieves all ec2.PlacementGroup items from an AWS CloudFormation template -func (t *Template) GetAllEC2PlacementGroupResources() map[string]*ec2.PlacementGroup { - results := map[string]*ec2.PlacementGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.PlacementGroup: - results[name] = resource - } - } - return results -} - -// GetEC2PlacementGroupWithName retrieves all ec2.PlacementGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2PlacementGroupWithName(name string) (*ec2.PlacementGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.PlacementGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.PlacementGroup not found", name) -} - -// GetAllEC2PrefixListResources retrieves all ec2.PrefixList items from an AWS CloudFormation template -func (t *Template) GetAllEC2PrefixListResources() map[string]*ec2.PrefixList { - results := map[string]*ec2.PrefixList{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.PrefixList: - results[name] = resource - } - } - return results -} - -// GetEC2PrefixListWithName retrieves all ec2.PrefixList items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2PrefixListWithName(name string) (*ec2.PrefixList, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.PrefixList: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.PrefixList not found", name) -} - -// GetAllEC2RouteResources retrieves all ec2.Route items from an AWS CloudFormation template -func (t *Template) GetAllEC2RouteResources() map[string]*ec2.Route { - results := map[string]*ec2.Route{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.Route: - results[name] = resource - } - } - return results -} - -// GetEC2RouteWithName retrieves all ec2.Route items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2RouteWithName(name string) (*ec2.Route, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.Route: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.Route not found", name) -} - -// GetAllEC2RouteTableResources retrieves all ec2.RouteTable items from an AWS CloudFormation template -func (t *Template) GetAllEC2RouteTableResources() map[string]*ec2.RouteTable { - results := map[string]*ec2.RouteTable{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.RouteTable: - results[name] = resource - } - } - return results -} - -// GetEC2RouteTableWithName retrieves all ec2.RouteTable items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2RouteTableWithName(name string) (*ec2.RouteTable, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.RouteTable: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.RouteTable not found", name) -} - -// GetAllEC2SecurityGroupResources retrieves all ec2.SecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupResources() map[string]*ec2.SecurityGroup { - results := map[string]*ec2.SecurityGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SecurityGroup: - results[name] = resource - } - } - return results -} - -// GetEC2SecurityGroupWithName retrieves all ec2.SecurityGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupWithName(name string) (*ec2.SecurityGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SecurityGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroup not found", name) -} - -// GetAllEC2SecurityGroupEgressResources retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupEgressResources() map[string]*ec2.SecurityGroupEgress { - results := map[string]*ec2.SecurityGroupEgress{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SecurityGroupEgress: - results[name] = resource - } - } - return results -} - -// GetEC2SecurityGroupEgressWithName retrieves all ec2.SecurityGroupEgress items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupEgressWithName(name string) (*ec2.SecurityGroupEgress, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SecurityGroupEgress: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupEgress not found", name) -} - -// GetAllEC2SecurityGroupIngressResources retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllEC2SecurityGroupIngressResources() map[string]*ec2.SecurityGroupIngress { - results := map[string]*ec2.SecurityGroupIngress{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SecurityGroupIngress: - results[name] = resource - } - } - return results -} - -// GetEC2SecurityGroupIngressWithName retrieves all ec2.SecurityGroupIngress items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SecurityGroupIngressWithName(name string) (*ec2.SecurityGroupIngress, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SecurityGroupIngress: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SecurityGroupIngress not found", name) -} - -// GetAllEC2SpotFleetResources retrieves all ec2.SpotFleet items from an AWS CloudFormation template -func (t *Template) GetAllEC2SpotFleetResources() map[string]*ec2.SpotFleet { - results := map[string]*ec2.SpotFleet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SpotFleet: - results[name] = resource - } - } - return results -} - -// GetEC2SpotFleetWithName retrieves all ec2.SpotFleet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SpotFleetWithName(name string) (*ec2.SpotFleet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SpotFleet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SpotFleet not found", name) -} - -// GetAllEC2SubnetResources retrieves all ec2.Subnet items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetResources() map[string]*ec2.Subnet { - results := map[string]*ec2.Subnet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.Subnet: - results[name] = resource - } - } - return results -} - -// GetEC2SubnetWithName retrieves all ec2.Subnet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetWithName(name string) (*ec2.Subnet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.Subnet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.Subnet not found", name) -} - -// GetAllEC2SubnetCidrBlockResources retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetCidrBlockResources() map[string]*ec2.SubnetCidrBlock { - results := map[string]*ec2.SubnetCidrBlock{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SubnetCidrBlock: - results[name] = resource - } - } - return results -} - -// GetEC2SubnetCidrBlockWithName retrieves all ec2.SubnetCidrBlock items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetCidrBlockWithName(name string) (*ec2.SubnetCidrBlock, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SubnetCidrBlock: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SubnetCidrBlock not found", name) -} - -// GetAllEC2SubnetNetworkAclAssociationResources retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetNetworkAclAssociationResources() map[string]*ec2.SubnetNetworkAclAssociation { - results := map[string]*ec2.SubnetNetworkAclAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SubnetNetworkAclAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2SubnetNetworkAclAssociationWithName retrieves all ec2.SubnetNetworkAclAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetNetworkAclAssociationWithName(name string) (*ec2.SubnetNetworkAclAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SubnetNetworkAclAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SubnetNetworkAclAssociation not found", name) -} - -// GetAllEC2SubnetRouteTableAssociationResources retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2SubnetRouteTableAssociationResources() map[string]*ec2.SubnetRouteTableAssociation { - results := map[string]*ec2.SubnetRouteTableAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.SubnetRouteTableAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2SubnetRouteTableAssociationWithName retrieves all ec2.SubnetRouteTableAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2SubnetRouteTableAssociationWithName(name string) (*ec2.SubnetRouteTableAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.SubnetRouteTableAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.SubnetRouteTableAssociation not found", name) -} - -// GetAllEC2TrafficMirrorFilterResources retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorFilterResources() map[string]*ec2.TrafficMirrorFilter { - results := map[string]*ec2.TrafficMirrorFilter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilter: - results[name] = resource - } - } - return results -} - -// GetEC2TrafficMirrorFilterWithName retrieves all ec2.TrafficMirrorFilter items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorFilterWithName(name string) (*ec2.TrafficMirrorFilter, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilter: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilter not found", name) -} - -// GetAllEC2TrafficMirrorFilterRuleResources retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorFilterRuleResources() map[string]*ec2.TrafficMirrorFilterRule { - results := map[string]*ec2.TrafficMirrorFilterRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilterRule: - results[name] = resource - } - } - return results -} - -// GetEC2TrafficMirrorFilterRuleWithName retrieves all ec2.TrafficMirrorFilterRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorFilterRuleWithName(name string) (*ec2.TrafficMirrorFilterRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorFilterRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorFilterRule not found", name) -} - -// GetAllEC2TrafficMirrorSessionResources retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorSessionResources() map[string]*ec2.TrafficMirrorSession { - results := map[string]*ec2.TrafficMirrorSession{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorSession: - results[name] = resource - } - } - return results -} - -// GetEC2TrafficMirrorSessionWithName retrieves all ec2.TrafficMirrorSession items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorSessionWithName(name string) (*ec2.TrafficMirrorSession, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorSession: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorSession not found", name) -} - -// GetAllEC2TrafficMirrorTargetResources retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template -func (t *Template) GetAllEC2TrafficMirrorTargetResources() map[string]*ec2.TrafficMirrorTarget { - results := map[string]*ec2.TrafficMirrorTarget{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorTarget: - results[name] = resource - } - } - return results -} - -// GetEC2TrafficMirrorTargetWithName retrieves all ec2.TrafficMirrorTarget items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TrafficMirrorTargetWithName(name string) (*ec2.TrafficMirrorTarget, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TrafficMirrorTarget: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TrafficMirrorTarget not found", name) -} - -// GetAllEC2TransitGatewayResources retrieves all ec2.TransitGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayResources() map[string]*ec2.TransitGateway { - results := map[string]*ec2.TransitGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGateway: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayWithName retrieves all ec2.TransitGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayWithName(name string) (*ec2.TransitGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGateway not found", name) -} - -// GetAllEC2TransitGatewayAttachmentResources retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayAttachmentResources() map[string]*ec2.TransitGatewayAttachment { - results := map[string]*ec2.TransitGatewayAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayAttachmentWithName retrieves all ec2.TransitGatewayAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayAttachmentWithName(name string) (*ec2.TransitGatewayAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayAttachment not found", name) -} - -// GetAllEC2TransitGatewayConnectResources retrieves all ec2.TransitGatewayConnect items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayConnectResources() map[string]*ec2.TransitGatewayConnect { - results := map[string]*ec2.TransitGatewayConnect{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayConnect: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayConnectWithName retrieves all ec2.TransitGatewayConnect items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayConnectWithName(name string) (*ec2.TransitGatewayConnect, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayConnect: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayConnect not found", name) -} - -// GetAllEC2TransitGatewayMulticastDomainResources retrieves all ec2.TransitGatewayMulticastDomain items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayMulticastDomainResources() map[string]*ec2.TransitGatewayMulticastDomain { - results := map[string]*ec2.TransitGatewayMulticastDomain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastDomain: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayMulticastDomainWithName retrieves all ec2.TransitGatewayMulticastDomain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayMulticastDomainWithName(name string) (*ec2.TransitGatewayMulticastDomain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastDomain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastDomain not found", name) -} - -// GetAllEC2TransitGatewayMulticastDomainAssociationResources retrieves all ec2.TransitGatewayMulticastDomainAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayMulticastDomainAssociationResources() map[string]*ec2.TransitGatewayMulticastDomainAssociation { - results := map[string]*ec2.TransitGatewayMulticastDomainAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastDomainAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayMulticastDomainAssociationWithName retrieves all ec2.TransitGatewayMulticastDomainAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayMulticastDomainAssociationWithName(name string) (*ec2.TransitGatewayMulticastDomainAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastDomainAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastDomainAssociation not found", name) -} - -// GetAllEC2TransitGatewayMulticastGroupMemberResources retrieves all ec2.TransitGatewayMulticastGroupMember items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayMulticastGroupMemberResources() map[string]*ec2.TransitGatewayMulticastGroupMember { - results := map[string]*ec2.TransitGatewayMulticastGroupMember{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastGroupMember: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayMulticastGroupMemberWithName retrieves all ec2.TransitGatewayMulticastGroupMember items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayMulticastGroupMemberWithName(name string) (*ec2.TransitGatewayMulticastGroupMember, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastGroupMember: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastGroupMember not found", name) -} - -// GetAllEC2TransitGatewayMulticastGroupSourceResources retrieves all ec2.TransitGatewayMulticastGroupSource items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayMulticastGroupSourceResources() map[string]*ec2.TransitGatewayMulticastGroupSource { - results := map[string]*ec2.TransitGatewayMulticastGroupSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastGroupSource: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayMulticastGroupSourceWithName retrieves all ec2.TransitGatewayMulticastGroupSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayMulticastGroupSourceWithName(name string) (*ec2.TransitGatewayMulticastGroupSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayMulticastGroupSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayMulticastGroupSource not found", name) -} - -// GetAllEC2TransitGatewayPeeringAttachmentResources retrieves all ec2.TransitGatewayPeeringAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayPeeringAttachmentResources() map[string]*ec2.TransitGatewayPeeringAttachment { - results := map[string]*ec2.TransitGatewayPeeringAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayPeeringAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayPeeringAttachmentWithName retrieves all ec2.TransitGatewayPeeringAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayPeeringAttachmentWithName(name string) (*ec2.TransitGatewayPeeringAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayPeeringAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayPeeringAttachment not found", name) -} - -// GetAllEC2TransitGatewayRouteResources retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteResources() map[string]*ec2.TransitGatewayRoute { - results := map[string]*ec2.TransitGatewayRoute{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRoute: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayRouteWithName retrieves all ec2.TransitGatewayRoute items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteWithName(name string) (*ec2.TransitGatewayRoute, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRoute: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRoute not found", name) -} - -// GetAllEC2TransitGatewayRouteTableResources retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTableResources() map[string]*ec2.TransitGatewayRouteTable { - results := map[string]*ec2.TransitGatewayRouteTable{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTable: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayRouteTableWithName retrieves all ec2.TransitGatewayRouteTable items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTableWithName(name string) (*ec2.TransitGatewayRouteTable, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTable: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTable not found", name) -} - -// GetAllEC2TransitGatewayRouteTableAssociationResources retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTableAssociationResources() map[string]*ec2.TransitGatewayRouteTableAssociation { - results := map[string]*ec2.TransitGatewayRouteTableAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTableAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayRouteTableAssociationWithName retrieves all ec2.TransitGatewayRouteTableAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTableAssociationWithName(name string) (*ec2.TransitGatewayRouteTableAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTableAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTableAssociation not found", name) -} - -// GetAllEC2TransitGatewayRouteTablePropagationResources retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayRouteTablePropagationResources() map[string]*ec2.TransitGatewayRouteTablePropagation { - results := map[string]*ec2.TransitGatewayRouteTablePropagation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTablePropagation: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayRouteTablePropagationWithName retrieves all ec2.TransitGatewayRouteTablePropagation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayRouteTablePropagationWithName(name string) (*ec2.TransitGatewayRouteTablePropagation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayRouteTablePropagation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayRouteTablePropagation not found", name) -} - -// GetAllEC2TransitGatewayVpcAttachmentResources retrieves all ec2.TransitGatewayVpcAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2TransitGatewayVpcAttachmentResources() map[string]*ec2.TransitGatewayVpcAttachment { - results := map[string]*ec2.TransitGatewayVpcAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.TransitGatewayVpcAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2TransitGatewayVpcAttachmentWithName retrieves all ec2.TransitGatewayVpcAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2TransitGatewayVpcAttachmentWithName(name string) (*ec2.TransitGatewayVpcAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.TransitGatewayVpcAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.TransitGatewayVpcAttachment not found", name) -} - -// GetAllEC2VPCResources retrieves all ec2.VPC items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCResources() map[string]*ec2.VPC { - results := map[string]*ec2.VPC{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPC: - results[name] = resource - } - } - return results -} - -// GetEC2VPCWithName retrieves all ec2.VPC items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCWithName(name string) (*ec2.VPC, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPC: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPC not found", name) -} - -// GetAllEC2VPCCidrBlockResources retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCCidrBlockResources() map[string]*ec2.VPCCidrBlock { - results := map[string]*ec2.VPCCidrBlock{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCCidrBlock: - results[name] = resource - } - } - return results -} - -// GetEC2VPCCidrBlockWithName retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCCidrBlockWithName(name string) (*ec2.VPCCidrBlock, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCCidrBlock: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCCidrBlock not found", name) -} - -// GetAllEC2VPCDHCPOptionsAssociationResources retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCDHCPOptionsAssociationResources() map[string]*ec2.VPCDHCPOptionsAssociation { - results := map[string]*ec2.VPCDHCPOptionsAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCDHCPOptionsAssociation: - results[name] = resource - } - } - return results -} - -// GetEC2VPCDHCPOptionsAssociationWithName retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCDHCPOptionsAssociationWithName(name string) (*ec2.VPCDHCPOptionsAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCDHCPOptionsAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCDHCPOptionsAssociation not found", name) -} - -// GetAllEC2VPCEndpointResources retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointResources() map[string]*ec2.VPCEndpoint { - results := map[string]*ec2.VPCEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCEndpoint: - results[name] = resource - } - } - return results -} - -// GetEC2VPCEndpointWithName retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointWithName(name string) (*ec2.VPCEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpoint not found", name) -} - -// GetAllEC2VPCEndpointConnectionNotificationResources retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointConnectionNotificationResources() map[string]*ec2.VPCEndpointConnectionNotification { - results := map[string]*ec2.VPCEndpointConnectionNotification{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCEndpointConnectionNotification: - results[name] = resource - } - } - return results -} - -// GetEC2VPCEndpointConnectionNotificationWithName retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointConnectionNotificationWithName(name string) (*ec2.VPCEndpointConnectionNotification, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCEndpointConnectionNotification: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointConnectionNotification not found", name) -} - -// GetAllEC2VPCEndpointServiceResources retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointServiceResources() map[string]*ec2.VPCEndpointService { - results := map[string]*ec2.VPCEndpointService{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCEndpointService: - results[name] = resource - } - } - return results -} - -// GetEC2VPCEndpointServiceWithName retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointServiceWithName(name string) (*ec2.VPCEndpointService, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCEndpointService: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointService not found", name) -} - -// GetAllEC2VPCEndpointServicePermissionsResources retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCEndpointServicePermissionsResources() map[string]*ec2.VPCEndpointServicePermissions { - results := map[string]*ec2.VPCEndpointServicePermissions{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCEndpointServicePermissions: - results[name] = resource - } - } - return results -} - -// GetEC2VPCEndpointServicePermissionsWithName retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCEndpointServicePermissionsWithName(name string) (*ec2.VPCEndpointServicePermissions, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCEndpointServicePermissions: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointServicePermissions not found", name) -} - -// GetAllEC2VPCGatewayAttachmentResources retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCGatewayAttachmentResources() map[string]*ec2.VPCGatewayAttachment { - results := map[string]*ec2.VPCGatewayAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCGatewayAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2VPCGatewayAttachmentWithName retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCGatewayAttachmentWithName(name string) (*ec2.VPCGatewayAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCGatewayAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCGatewayAttachment not found", name) -} - -// GetAllEC2VPCPeeringConnectionResources retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPCPeeringConnectionResources() map[string]*ec2.VPCPeeringConnection { - results := map[string]*ec2.VPCPeeringConnection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPCPeeringConnection: - results[name] = resource - } - } - return results -} - -// GetEC2VPCPeeringConnectionWithName retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPCPeeringConnectionWithName(name string) (*ec2.VPCPeeringConnection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPCPeeringConnection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPCPeeringConnection not found", name) -} - -// GetAllEC2VPNConnectionResources retrieves all ec2.VPNConnection items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNConnectionResources() map[string]*ec2.VPNConnection { - results := map[string]*ec2.VPNConnection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPNConnection: - results[name] = resource - } - } - return results -} - -// GetEC2VPNConnectionWithName retrieves all ec2.VPNConnection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNConnectionWithName(name string) (*ec2.VPNConnection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPNConnection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPNConnection not found", name) -} - -// GetAllEC2VPNConnectionRouteResources retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNConnectionRouteResources() map[string]*ec2.VPNConnectionRoute { - results := map[string]*ec2.VPNConnectionRoute{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPNConnectionRoute: - results[name] = resource - } - } - return results -} - -// GetEC2VPNConnectionRouteWithName retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNConnectionRouteWithName(name string) (*ec2.VPNConnectionRoute, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPNConnectionRoute: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPNConnectionRoute not found", name) -} - -// GetAllEC2VPNGatewayResources retrieves all ec2.VPNGateway items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNGatewayResources() map[string]*ec2.VPNGateway { - results := map[string]*ec2.VPNGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPNGateway: - results[name] = resource - } - } - return results -} - -// GetEC2VPNGatewayWithName retrieves all ec2.VPNGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNGatewayWithName(name string) (*ec2.VPNGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPNGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPNGateway not found", name) -} - -// GetAllEC2VPNGatewayRoutePropagationResources retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template -func (t *Template) GetAllEC2VPNGatewayRoutePropagationResources() map[string]*ec2.VPNGatewayRoutePropagation { - results := map[string]*ec2.VPNGatewayRoutePropagation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VPNGatewayRoutePropagation: - results[name] = resource - } - } - return results -} - -// GetEC2VPNGatewayRoutePropagationWithName retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VPNGatewayRoutePropagationWithName(name string) (*ec2.VPNGatewayRoutePropagation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VPNGatewayRoutePropagation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VPNGatewayRoutePropagation not found", name) -} - -// GetAllEC2VolumeResources retrieves all ec2.Volume items from an AWS CloudFormation template -func (t *Template) GetAllEC2VolumeResources() map[string]*ec2.Volume { - results := map[string]*ec2.Volume{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.Volume: - results[name] = resource - } - } - return results -} - -// GetEC2VolumeWithName retrieves all ec2.Volume items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VolumeWithName(name string) (*ec2.Volume, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.Volume: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.Volume not found", name) -} - -// GetAllEC2VolumeAttachmentResources retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template -func (t *Template) GetAllEC2VolumeAttachmentResources() map[string]*ec2.VolumeAttachment { - results := map[string]*ec2.VolumeAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ec2.VolumeAttachment: - results[name] = resource - } - } - return results -} - -// GetEC2VolumeAttachmentWithName retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEC2VolumeAttachmentWithName(name string) (*ec2.VolumeAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ec2.VolumeAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ec2.VolumeAttachment not found", name) -} - -// GetAllECRPublicRepositoryResources retrieves all ecr.PublicRepository items from an AWS CloudFormation template -func (t *Template) GetAllECRPublicRepositoryResources() map[string]*ecr.PublicRepository { - results := map[string]*ecr.PublicRepository{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecr.PublicRepository: - results[name] = resource - } - } - return results -} - -// GetECRPublicRepositoryWithName retrieves all ecr.PublicRepository items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECRPublicRepositoryWithName(name string) (*ecr.PublicRepository, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecr.PublicRepository: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecr.PublicRepository not found", name) -} - -// GetAllECRRegistryPolicyResources retrieves all ecr.RegistryPolicy items from an AWS CloudFormation template -func (t *Template) GetAllECRRegistryPolicyResources() map[string]*ecr.RegistryPolicy { - results := map[string]*ecr.RegistryPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecr.RegistryPolicy: - results[name] = resource - } - } - return results -} - -// GetECRRegistryPolicyWithName retrieves all ecr.RegistryPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECRRegistryPolicyWithName(name string) (*ecr.RegistryPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecr.RegistryPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecr.RegistryPolicy not found", name) -} - -// GetAllECRReplicationConfigurationResources retrieves all ecr.ReplicationConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllECRReplicationConfigurationResources() map[string]*ecr.ReplicationConfiguration { - results := map[string]*ecr.ReplicationConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecr.ReplicationConfiguration: - results[name] = resource - } - } - return results -} - -// GetECRReplicationConfigurationWithName retrieves all ecr.ReplicationConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECRReplicationConfigurationWithName(name string) (*ecr.ReplicationConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecr.ReplicationConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecr.ReplicationConfiguration not found", name) -} - -// GetAllECRRepositoryResources retrieves all ecr.Repository items from an AWS CloudFormation template -func (t *Template) GetAllECRRepositoryResources() map[string]*ecr.Repository { - results := map[string]*ecr.Repository{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecr.Repository: - results[name] = resource - } - } - return results -} - -// GetECRRepositoryWithName retrieves all ecr.Repository items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECRRepositoryWithName(name string) (*ecr.Repository, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecr.Repository: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecr.Repository not found", name) -} - -// GetAllECSCapacityProviderResources retrieves all ecs.CapacityProvider items from an AWS CloudFormation template -func (t *Template) GetAllECSCapacityProviderResources() map[string]*ecs.CapacityProvider { - results := map[string]*ecs.CapacityProvider{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.CapacityProvider: - results[name] = resource - } - } - return results -} - -// GetECSCapacityProviderWithName retrieves all ecs.CapacityProvider items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSCapacityProviderWithName(name string) (*ecs.CapacityProvider, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.CapacityProvider: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.CapacityProvider not found", name) -} - -// GetAllECSClusterResources retrieves all ecs.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllECSClusterResources() map[string]*ecs.Cluster { - results := map[string]*ecs.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.Cluster: - results[name] = resource - } - } - return results -} - -// GetECSClusterWithName retrieves all ecs.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSClusterWithName(name string) (*ecs.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.Cluster not found", name) -} - -// GetAllECSClusterCapacityProviderAssociationsResources retrieves all ecs.ClusterCapacityProviderAssociations items from an AWS CloudFormation template -func (t *Template) GetAllECSClusterCapacityProviderAssociationsResources() map[string]*ecs.ClusterCapacityProviderAssociations { - results := map[string]*ecs.ClusterCapacityProviderAssociations{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.ClusterCapacityProviderAssociations: - results[name] = resource - } - } - return results -} - -// GetECSClusterCapacityProviderAssociationsWithName retrieves all ecs.ClusterCapacityProviderAssociations items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSClusterCapacityProviderAssociationsWithName(name string) (*ecs.ClusterCapacityProviderAssociations, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.ClusterCapacityProviderAssociations: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.ClusterCapacityProviderAssociations not found", name) -} - -// GetAllECSPrimaryTaskSetResources retrieves all ecs.PrimaryTaskSet items from an AWS CloudFormation template -func (t *Template) GetAllECSPrimaryTaskSetResources() map[string]*ecs.PrimaryTaskSet { - results := map[string]*ecs.PrimaryTaskSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.PrimaryTaskSet: - results[name] = resource - } - } - return results -} - -// GetECSPrimaryTaskSetWithName retrieves all ecs.PrimaryTaskSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSPrimaryTaskSetWithName(name string) (*ecs.PrimaryTaskSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.PrimaryTaskSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.PrimaryTaskSet not found", name) -} - -// GetAllECSServiceResources retrieves all ecs.Service items from an AWS CloudFormation template -func (t *Template) GetAllECSServiceResources() map[string]*ecs.Service { - results := map[string]*ecs.Service{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.Service: - results[name] = resource - } - } - return results -} - -// GetECSServiceWithName retrieves all ecs.Service items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSServiceWithName(name string) (*ecs.Service, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.Service: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.Service not found", name) -} - -// GetAllECSTaskDefinitionResources retrieves all ecs.TaskDefinition items from an AWS CloudFormation template -func (t *Template) GetAllECSTaskDefinitionResources() map[string]*ecs.TaskDefinition { - results := map[string]*ecs.TaskDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.TaskDefinition: - results[name] = resource - } - } - return results -} - -// GetECSTaskDefinitionWithName retrieves all ecs.TaskDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSTaskDefinitionWithName(name string) (*ecs.TaskDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.TaskDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.TaskDefinition not found", name) -} - -// GetAllECSTaskSetResources retrieves all ecs.TaskSet items from an AWS CloudFormation template -func (t *Template) GetAllECSTaskSetResources() map[string]*ecs.TaskSet { - results := map[string]*ecs.TaskSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ecs.TaskSet: - results[name] = resource - } - } - return results -} - -// GetECSTaskSetWithName retrieves all ecs.TaskSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetECSTaskSetWithName(name string) (*ecs.TaskSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ecs.TaskSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ecs.TaskSet not found", name) -} - -// GetAllEFSAccessPointResources retrieves all efs.AccessPoint items from an AWS CloudFormation template -func (t *Template) GetAllEFSAccessPointResources() map[string]*efs.AccessPoint { - results := map[string]*efs.AccessPoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *efs.AccessPoint: - results[name] = resource - } - } - return results -} - -// GetEFSAccessPointWithName retrieves all efs.AccessPoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEFSAccessPointWithName(name string) (*efs.AccessPoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *efs.AccessPoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type efs.AccessPoint not found", name) -} - -// GetAllEFSFileSystemResources retrieves all efs.FileSystem items from an AWS CloudFormation template -func (t *Template) GetAllEFSFileSystemResources() map[string]*efs.FileSystem { - results := map[string]*efs.FileSystem{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *efs.FileSystem: - results[name] = resource - } - } - return results -} - -// GetEFSFileSystemWithName retrieves all efs.FileSystem items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEFSFileSystemWithName(name string) (*efs.FileSystem, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *efs.FileSystem: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type efs.FileSystem not found", name) -} - -// GetAllEFSMountTargetResources retrieves all efs.MountTarget items from an AWS CloudFormation template -func (t *Template) GetAllEFSMountTargetResources() map[string]*efs.MountTarget { - results := map[string]*efs.MountTarget{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *efs.MountTarget: - results[name] = resource - } - } - return results -} - -// GetEFSMountTargetWithName retrieves all efs.MountTarget items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEFSMountTargetWithName(name string) (*efs.MountTarget, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *efs.MountTarget: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type efs.MountTarget not found", name) -} - -// GetAllEKSAddonResources retrieves all eks.Addon items from an AWS CloudFormation template -func (t *Template) GetAllEKSAddonResources() map[string]*eks.Addon { - results := map[string]*eks.Addon{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eks.Addon: - results[name] = resource - } - } - return results -} - -// GetEKSAddonWithName retrieves all eks.Addon items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEKSAddonWithName(name string) (*eks.Addon, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eks.Addon: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eks.Addon not found", name) -} - -// GetAllEKSClusterResources retrieves all eks.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllEKSClusterResources() map[string]*eks.Cluster { - results := map[string]*eks.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eks.Cluster: - results[name] = resource - } - } - return results -} - -// GetEKSClusterWithName retrieves all eks.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEKSClusterWithName(name string) (*eks.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eks.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eks.Cluster not found", name) -} - -// GetAllEKSFargateProfileResources retrieves all eks.FargateProfile items from an AWS CloudFormation template -func (t *Template) GetAllEKSFargateProfileResources() map[string]*eks.FargateProfile { - results := map[string]*eks.FargateProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eks.FargateProfile: - results[name] = resource - } - } - return results -} - -// GetEKSFargateProfileWithName retrieves all eks.FargateProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEKSFargateProfileWithName(name string) (*eks.FargateProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eks.FargateProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eks.FargateProfile not found", name) -} - -// GetAllEKSNodegroupResources retrieves all eks.Nodegroup items from an AWS CloudFormation template -func (t *Template) GetAllEKSNodegroupResources() map[string]*eks.Nodegroup { - results := map[string]*eks.Nodegroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eks.Nodegroup: - results[name] = resource - } - } - return results -} - -// GetEKSNodegroupWithName retrieves all eks.Nodegroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEKSNodegroupWithName(name string) (*eks.Nodegroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eks.Nodegroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eks.Nodegroup not found", name) -} - -// GetAllEMRClusterResources retrieves all emr.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllEMRClusterResources() map[string]*emr.Cluster { - results := map[string]*emr.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.Cluster: - results[name] = resource - } - } - return results -} - -// GetEMRClusterWithName retrieves all emr.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRClusterWithName(name string) (*emr.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.Cluster not found", name) -} - -// GetAllEMRInstanceFleetConfigResources retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template -func (t *Template) GetAllEMRInstanceFleetConfigResources() map[string]*emr.InstanceFleetConfig { - results := map[string]*emr.InstanceFleetConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.InstanceFleetConfig: - results[name] = resource - } - } - return results -} - -// GetEMRInstanceFleetConfigWithName retrieves all emr.InstanceFleetConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRInstanceFleetConfigWithName(name string) (*emr.InstanceFleetConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.InstanceFleetConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.InstanceFleetConfig not found", name) -} - -// GetAllEMRInstanceGroupConfigResources retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template -func (t *Template) GetAllEMRInstanceGroupConfigResources() map[string]*emr.InstanceGroupConfig { - results := map[string]*emr.InstanceGroupConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.InstanceGroupConfig: - results[name] = resource - } - } - return results -} - -// GetEMRInstanceGroupConfigWithName retrieves all emr.InstanceGroupConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRInstanceGroupConfigWithName(name string) (*emr.InstanceGroupConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.InstanceGroupConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.InstanceGroupConfig not found", name) -} - -// GetAllEMRSecurityConfigurationResources retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllEMRSecurityConfigurationResources() map[string]*emr.SecurityConfiguration { - results := map[string]*emr.SecurityConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.SecurityConfiguration: - results[name] = resource - } - } - return results -} - -// GetEMRSecurityConfigurationWithName retrieves all emr.SecurityConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRSecurityConfigurationWithName(name string) (*emr.SecurityConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.SecurityConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.SecurityConfiguration not found", name) -} - -// GetAllEMRStepResources retrieves all emr.Step items from an AWS CloudFormation template -func (t *Template) GetAllEMRStepResources() map[string]*emr.Step { - results := map[string]*emr.Step{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.Step: - results[name] = resource - } - } - return results -} - -// GetEMRStepWithName retrieves all emr.Step items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRStepWithName(name string) (*emr.Step, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.Step: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.Step not found", name) -} - -// GetAllEMRStudioResources retrieves all emr.Studio items from an AWS CloudFormation template -func (t *Template) GetAllEMRStudioResources() map[string]*emr.Studio { - results := map[string]*emr.Studio{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.Studio: - results[name] = resource - } - } - return results -} - -// GetEMRStudioWithName retrieves all emr.Studio items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRStudioWithName(name string) (*emr.Studio, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.Studio: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.Studio not found", name) -} - -// GetAllEMRStudioSessionMappingResources retrieves all emr.StudioSessionMapping items from an AWS CloudFormation template -func (t *Template) GetAllEMRStudioSessionMappingResources() map[string]*emr.StudioSessionMapping { - results := map[string]*emr.StudioSessionMapping{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emr.StudioSessionMapping: - results[name] = resource - } - } - return results -} - -// GetEMRStudioSessionMappingWithName retrieves all emr.StudioSessionMapping items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRStudioSessionMappingWithName(name string) (*emr.StudioSessionMapping, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emr.StudioSessionMapping: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emr.StudioSessionMapping not found", name) -} - -// GetAllEMRContainersVirtualClusterResources retrieves all emrcontainers.VirtualCluster items from an AWS CloudFormation template -func (t *Template) GetAllEMRContainersVirtualClusterResources() map[string]*emrcontainers.VirtualCluster { - results := map[string]*emrcontainers.VirtualCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *emrcontainers.VirtualCluster: - results[name] = resource - } - } - return results -} - -// GetEMRContainersVirtualClusterWithName retrieves all emrcontainers.VirtualCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEMRContainersVirtualClusterWithName(name string) (*emrcontainers.VirtualCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *emrcontainers.VirtualCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type emrcontainers.VirtualCluster not found", name) -} - -// GetAllElastiCacheCacheClusterResources retrieves all elasticache.CacheCluster items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheCacheClusterResources() map[string]*elasticache.CacheCluster { - results := map[string]*elasticache.CacheCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.CacheCluster: - results[name] = resource - } - } - return results -} - -// GetElastiCacheCacheClusterWithName retrieves all elasticache.CacheCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheCacheClusterWithName(name string) (*elasticache.CacheCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.CacheCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.CacheCluster not found", name) -} - -// GetAllElastiCacheGlobalReplicationGroupResources retrieves all elasticache.GlobalReplicationGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheGlobalReplicationGroupResources() map[string]*elasticache.GlobalReplicationGroup { - results := map[string]*elasticache.GlobalReplicationGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.GlobalReplicationGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheGlobalReplicationGroupWithName retrieves all elasticache.GlobalReplicationGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheGlobalReplicationGroupWithName(name string) (*elasticache.GlobalReplicationGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.GlobalReplicationGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.GlobalReplicationGroup not found", name) -} - -// GetAllElastiCacheParameterGroupResources retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheParameterGroupResources() map[string]*elasticache.ParameterGroup { - results := map[string]*elasticache.ParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.ParameterGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheParameterGroupWithName retrieves all elasticache.ParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheParameterGroupWithName(name string) (*elasticache.ParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.ParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.ParameterGroup not found", name) -} - -// GetAllElastiCacheReplicationGroupResources retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheReplicationGroupResources() map[string]*elasticache.ReplicationGroup { - results := map[string]*elasticache.ReplicationGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.ReplicationGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheReplicationGroupWithName retrieves all elasticache.ReplicationGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheReplicationGroupWithName(name string) (*elasticache.ReplicationGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.ReplicationGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.ReplicationGroup not found", name) -} - -// GetAllElastiCacheSecurityGroupResources retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSecurityGroupResources() map[string]*elasticache.SecurityGroup { - results := map[string]*elasticache.SecurityGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.SecurityGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheSecurityGroupWithName retrieves all elasticache.SecurityGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSecurityGroupWithName(name string) (*elasticache.SecurityGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.SecurityGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroup not found", name) -} - -// GetAllElastiCacheSecurityGroupIngressResources retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSecurityGroupIngressResources() map[string]*elasticache.SecurityGroupIngress { - results := map[string]*elasticache.SecurityGroupIngress{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.SecurityGroupIngress: - results[name] = resource - } - } - return results -} - -// GetElastiCacheSecurityGroupIngressWithName retrieves all elasticache.SecurityGroupIngress items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSecurityGroupIngressWithName(name string) (*elasticache.SecurityGroupIngress, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.SecurityGroupIngress: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.SecurityGroupIngress not found", name) -} - -// GetAllElastiCacheSubnetGroupResources retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheSubnetGroupResources() map[string]*elasticache.SubnetGroup { - results := map[string]*elasticache.SubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.SubnetGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheSubnetGroupWithName retrieves all elasticache.SubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheSubnetGroupWithName(name string) (*elasticache.SubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.SubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.SubnetGroup not found", name) -} - -// GetAllElastiCacheUserResources retrieves all elasticache.User items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheUserResources() map[string]*elasticache.User { - results := map[string]*elasticache.User{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.User: - results[name] = resource - } - } - return results -} - -// GetElastiCacheUserWithName retrieves all elasticache.User items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheUserWithName(name string) (*elasticache.User, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.User: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.User not found", name) -} - -// GetAllElastiCacheUserGroupResources retrieves all elasticache.UserGroup items from an AWS CloudFormation template -func (t *Template) GetAllElastiCacheUserGroupResources() map[string]*elasticache.UserGroup { - results := map[string]*elasticache.UserGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticache.UserGroup: - results[name] = resource - } - } - return results -} - -// GetElastiCacheUserGroupWithName retrieves all elasticache.UserGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElastiCacheUserGroupWithName(name string) (*elasticache.UserGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticache.UserGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticache.UserGroup not found", name) -} - -// GetAllElasticBeanstalkApplicationResources retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkApplicationResources() map[string]*elasticbeanstalk.Application { - results := map[string]*elasticbeanstalk.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticbeanstalk.Application: - results[name] = resource - } - } - return results -} - -// GetElasticBeanstalkApplicationWithName retrieves all elasticbeanstalk.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkApplicationWithName(name string) (*elasticbeanstalk.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticbeanstalk.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Application not found", name) -} - -// GetAllElasticBeanstalkApplicationVersionResources retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkApplicationVersionResources() map[string]*elasticbeanstalk.ApplicationVersion { - results := map[string]*elasticbeanstalk.ApplicationVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticbeanstalk.ApplicationVersion: - results[name] = resource - } - } - return results -} - -// GetElasticBeanstalkApplicationVersionWithName retrieves all elasticbeanstalk.ApplicationVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkApplicationVersionWithName(name string) (*elasticbeanstalk.ApplicationVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticbeanstalk.ApplicationVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ApplicationVersion not found", name) -} - -// GetAllElasticBeanstalkConfigurationTemplateResources retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkConfigurationTemplateResources() map[string]*elasticbeanstalk.ConfigurationTemplate { - results := map[string]*elasticbeanstalk.ConfigurationTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticbeanstalk.ConfigurationTemplate: - results[name] = resource - } - } - return results -} - -// GetElasticBeanstalkConfigurationTemplateWithName retrieves all elasticbeanstalk.ConfigurationTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkConfigurationTemplateWithName(name string) (*elasticbeanstalk.ConfigurationTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticbeanstalk.ConfigurationTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.ConfigurationTemplate not found", name) -} - -// GetAllElasticBeanstalkEnvironmentResources retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template -func (t *Template) GetAllElasticBeanstalkEnvironmentResources() map[string]*elasticbeanstalk.Environment { - results := map[string]*elasticbeanstalk.Environment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticbeanstalk.Environment: - results[name] = resource - } - } - return results -} - -// GetElasticBeanstalkEnvironmentWithName retrieves all elasticbeanstalk.Environment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticBeanstalkEnvironmentWithName(name string) (*elasticbeanstalk.Environment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticbeanstalk.Environment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticbeanstalk.Environment not found", name) -} - -// GetAllElasticLoadBalancingLoadBalancerResources retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingLoadBalancerResources() map[string]*elasticloadbalancing.LoadBalancer { - results := map[string]*elasticloadbalancing.LoadBalancer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancing.LoadBalancer: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingLoadBalancerWithName retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingLoadBalancerWithName(name string) (*elasticloadbalancing.LoadBalancer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancing.LoadBalancer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancing.LoadBalancer not found", name) -} - -// GetAllElasticLoadBalancingV2ListenerResources retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerResources() map[string]*elasticloadbalancingv2.Listener { - results := map[string]*elasticloadbalancingv2.Listener{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.Listener: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingV2ListenerWithName retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerWithName(name string) (*elasticloadbalancingv2.Listener, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.Listener: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.Listener not found", name) -} - -// GetAllElasticLoadBalancingV2ListenerCertificateResources retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerCertificateResources() map[string]*elasticloadbalancingv2.ListenerCertificate { - results := map[string]*elasticloadbalancingv2.ListenerCertificate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerCertificate: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingV2ListenerCertificateWithName retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerCertificateWithName(name string) (*elasticloadbalancingv2.ListenerCertificate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerCertificate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerCertificate not found", name) -} - -// GetAllElasticLoadBalancingV2ListenerRuleResources retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2ListenerRuleResources() map[string]*elasticloadbalancingv2.ListenerRule { - results := map[string]*elasticloadbalancingv2.ListenerRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerRule: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingV2ListenerRuleWithName retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2ListenerRuleWithName(name string) (*elasticloadbalancingv2.ListenerRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.ListenerRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerRule not found", name) -} - -// GetAllElasticLoadBalancingV2LoadBalancerResources retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2LoadBalancerResources() map[string]*elasticloadbalancingv2.LoadBalancer { - results := map[string]*elasticloadbalancingv2.LoadBalancer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.LoadBalancer: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingV2LoadBalancerWithName retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2LoadBalancerWithName(name string) (*elasticloadbalancingv2.LoadBalancer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.LoadBalancer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.LoadBalancer not found", name) -} - -// GetAllElasticLoadBalancingV2TargetGroupResources retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template -func (t *Template) GetAllElasticLoadBalancingV2TargetGroupResources() map[string]*elasticloadbalancingv2.TargetGroup { - results := map[string]*elasticloadbalancingv2.TargetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.TargetGroup: - results[name] = resource - } - } - return results -} - -// GetElasticLoadBalancingV2TargetGroupWithName retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticLoadBalancingV2TargetGroupWithName(name string) (*elasticloadbalancingv2.TargetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticloadbalancingv2.TargetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TargetGroup not found", name) -} - -// GetAllElasticsearchDomainResources retrieves all elasticsearch.Domain items from an AWS CloudFormation template -func (t *Template) GetAllElasticsearchDomainResources() map[string]*elasticsearch.Domain { - results := map[string]*elasticsearch.Domain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *elasticsearch.Domain: - results[name] = resource - } - } - return results -} - -// GetElasticsearchDomainWithName retrieves all elasticsearch.Domain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetElasticsearchDomainWithName(name string) (*elasticsearch.Domain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *elasticsearch.Domain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type elasticsearch.Domain not found", name) -} - -// GetAllEventSchemasDiscovererResources retrieves all eventschemas.Discoverer items from an AWS CloudFormation template -func (t *Template) GetAllEventSchemasDiscovererResources() map[string]*eventschemas.Discoverer { - results := map[string]*eventschemas.Discoverer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eventschemas.Discoverer: - results[name] = resource - } - } - return results -} - -// GetEventSchemasDiscovererWithName retrieves all eventschemas.Discoverer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventSchemasDiscovererWithName(name string) (*eventschemas.Discoverer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eventschemas.Discoverer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eventschemas.Discoverer not found", name) -} - -// GetAllEventSchemasRegistryResources retrieves all eventschemas.Registry items from an AWS CloudFormation template -func (t *Template) GetAllEventSchemasRegistryResources() map[string]*eventschemas.Registry { - results := map[string]*eventschemas.Registry{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eventschemas.Registry: - results[name] = resource - } - } - return results -} - -// GetEventSchemasRegistryWithName retrieves all eventschemas.Registry items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventSchemasRegistryWithName(name string) (*eventschemas.Registry, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eventschemas.Registry: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eventschemas.Registry not found", name) -} - -// GetAllEventSchemasRegistryPolicyResources retrieves all eventschemas.RegistryPolicy items from an AWS CloudFormation template -func (t *Template) GetAllEventSchemasRegistryPolicyResources() map[string]*eventschemas.RegistryPolicy { - results := map[string]*eventschemas.RegistryPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eventschemas.RegistryPolicy: - results[name] = resource - } - } - return results -} - -// GetEventSchemasRegistryPolicyWithName retrieves all eventschemas.RegistryPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventSchemasRegistryPolicyWithName(name string) (*eventschemas.RegistryPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eventschemas.RegistryPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eventschemas.RegistryPolicy not found", name) -} - -// GetAllEventSchemasSchemaResources retrieves all eventschemas.Schema items from an AWS CloudFormation template -func (t *Template) GetAllEventSchemasSchemaResources() map[string]*eventschemas.Schema { - results := map[string]*eventschemas.Schema{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *eventschemas.Schema: - results[name] = resource - } - } - return results -} - -// GetEventSchemasSchemaWithName retrieves all eventschemas.Schema items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventSchemasSchemaWithName(name string) (*eventschemas.Schema, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *eventschemas.Schema: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type eventschemas.Schema not found", name) -} - -// GetAllEventsApiDestinationResources retrieves all events.ApiDestination items from an AWS CloudFormation template -func (t *Template) GetAllEventsApiDestinationResources() map[string]*events.ApiDestination { - results := map[string]*events.ApiDestination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.ApiDestination: - results[name] = resource - } - } - return results -} - -// GetEventsApiDestinationWithName retrieves all events.ApiDestination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsApiDestinationWithName(name string) (*events.ApiDestination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.ApiDestination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.ApiDestination not found", name) -} - -// GetAllEventsArchiveResources retrieves all events.Archive items from an AWS CloudFormation template -func (t *Template) GetAllEventsArchiveResources() map[string]*events.Archive { - results := map[string]*events.Archive{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.Archive: - results[name] = resource - } - } - return results -} - -// GetEventsArchiveWithName retrieves all events.Archive items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsArchiveWithName(name string) (*events.Archive, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.Archive: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.Archive not found", name) -} - -// GetAllEventsConnectionResources retrieves all events.Connection items from an AWS CloudFormation template -func (t *Template) GetAllEventsConnectionResources() map[string]*events.Connection { - results := map[string]*events.Connection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.Connection: - results[name] = resource - } - } - return results -} - -// GetEventsConnectionWithName retrieves all events.Connection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsConnectionWithName(name string) (*events.Connection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.Connection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.Connection not found", name) -} - -// GetAllEventsEventBusResources retrieves all events.EventBus items from an AWS CloudFormation template -func (t *Template) GetAllEventsEventBusResources() map[string]*events.EventBus { - results := map[string]*events.EventBus{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.EventBus: - results[name] = resource - } - } - return results -} - -// GetEventsEventBusWithName retrieves all events.EventBus items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsEventBusWithName(name string) (*events.EventBus, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.EventBus: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.EventBus not found", name) -} - -// GetAllEventsEventBusPolicyResources retrieves all events.EventBusPolicy items from an AWS CloudFormation template -func (t *Template) GetAllEventsEventBusPolicyResources() map[string]*events.EventBusPolicy { - results := map[string]*events.EventBusPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.EventBusPolicy: - results[name] = resource - } - } - return results -} - -// GetEventsEventBusPolicyWithName retrieves all events.EventBusPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsEventBusPolicyWithName(name string) (*events.EventBusPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.EventBusPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.EventBusPolicy not found", name) -} - -// GetAllEventsRuleResources retrieves all events.Rule items from an AWS CloudFormation template -func (t *Template) GetAllEventsRuleResources() map[string]*events.Rule { - results := map[string]*events.Rule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *events.Rule: - results[name] = resource - } - } - return results -} - -// GetEventsRuleWithName retrieves all events.Rule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEventsRuleWithName(name string) (*events.Rule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *events.Rule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type events.Rule not found", name) -} - -// GetAllEvidentlyExperimentResources retrieves all evidently.Experiment items from an AWS CloudFormation template -func (t *Template) GetAllEvidentlyExperimentResources() map[string]*evidently.Experiment { - results := map[string]*evidently.Experiment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *evidently.Experiment: - results[name] = resource - } - } - return results -} - -// GetEvidentlyExperimentWithName retrieves all evidently.Experiment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEvidentlyExperimentWithName(name string) (*evidently.Experiment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *evidently.Experiment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type evidently.Experiment not found", name) -} - -// GetAllEvidentlyFeatureResources retrieves all evidently.Feature items from an AWS CloudFormation template -func (t *Template) GetAllEvidentlyFeatureResources() map[string]*evidently.Feature { - results := map[string]*evidently.Feature{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *evidently.Feature: - results[name] = resource - } - } - return results -} - -// GetEvidentlyFeatureWithName retrieves all evidently.Feature items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEvidentlyFeatureWithName(name string) (*evidently.Feature, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *evidently.Feature: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type evidently.Feature not found", name) -} - -// GetAllEvidentlyLaunchResources retrieves all evidently.Launch items from an AWS CloudFormation template -func (t *Template) GetAllEvidentlyLaunchResources() map[string]*evidently.Launch { - results := map[string]*evidently.Launch{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *evidently.Launch: - results[name] = resource - } - } - return results -} - -// GetEvidentlyLaunchWithName retrieves all evidently.Launch items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEvidentlyLaunchWithName(name string) (*evidently.Launch, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *evidently.Launch: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type evidently.Launch not found", name) -} - -// GetAllEvidentlyProjectResources retrieves all evidently.Project items from an AWS CloudFormation template -func (t *Template) GetAllEvidentlyProjectResources() map[string]*evidently.Project { - results := map[string]*evidently.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *evidently.Project: - results[name] = resource - } - } - return results -} - -// GetEvidentlyProjectWithName retrieves all evidently.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetEvidentlyProjectWithName(name string) (*evidently.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *evidently.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type evidently.Project not found", name) -} - -// GetAllFISExperimentTemplateResources retrieves all fis.ExperimentTemplate items from an AWS CloudFormation template -func (t *Template) GetAllFISExperimentTemplateResources() map[string]*fis.ExperimentTemplate { - results := map[string]*fis.ExperimentTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *fis.ExperimentTemplate: - results[name] = resource - } - } - return results -} - -// GetFISExperimentTemplateWithName retrieves all fis.ExperimentTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFISExperimentTemplateWithName(name string) (*fis.ExperimentTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *fis.ExperimentTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type fis.ExperimentTemplate not found", name) -} - -// GetAllFMSNotificationChannelResources retrieves all fms.NotificationChannel items from an AWS CloudFormation template -func (t *Template) GetAllFMSNotificationChannelResources() map[string]*fms.NotificationChannel { - results := map[string]*fms.NotificationChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *fms.NotificationChannel: - results[name] = resource - } - } - return results -} - -// GetFMSNotificationChannelWithName retrieves all fms.NotificationChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFMSNotificationChannelWithName(name string) (*fms.NotificationChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *fms.NotificationChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type fms.NotificationChannel not found", name) -} - -// GetAllFMSPolicyResources retrieves all fms.Policy items from an AWS CloudFormation template -func (t *Template) GetAllFMSPolicyResources() map[string]*fms.Policy { - results := map[string]*fms.Policy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *fms.Policy: - results[name] = resource - } - } - return results -} - -// GetFMSPolicyWithName retrieves all fms.Policy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFMSPolicyWithName(name string) (*fms.Policy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *fms.Policy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type fms.Policy not found", name) -} - -// GetAllFSxFileSystemResources retrieves all fsx.FileSystem items from an AWS CloudFormation template -func (t *Template) GetAllFSxFileSystemResources() map[string]*fsx.FileSystem { - results := map[string]*fsx.FileSystem{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *fsx.FileSystem: - results[name] = resource - } - } - return results -} - -// GetFSxFileSystemWithName retrieves all fsx.FileSystem items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFSxFileSystemWithName(name string) (*fsx.FileSystem, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *fsx.FileSystem: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type fsx.FileSystem not found", name) -} - -// GetAllFinSpaceEnvironmentResources retrieves all finspace.Environment items from an AWS CloudFormation template -func (t *Template) GetAllFinSpaceEnvironmentResources() map[string]*finspace.Environment { - results := map[string]*finspace.Environment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *finspace.Environment: - results[name] = resource - } - } - return results -} - -// GetFinSpaceEnvironmentWithName retrieves all finspace.Environment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFinSpaceEnvironmentWithName(name string) (*finspace.Environment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *finspace.Environment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type finspace.Environment not found", name) -} - -// GetAllFraudDetectorDetectorResources retrieves all frauddetector.Detector items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorDetectorResources() map[string]*frauddetector.Detector { - results := map[string]*frauddetector.Detector{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.Detector: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorDetectorWithName retrieves all frauddetector.Detector items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorDetectorWithName(name string) (*frauddetector.Detector, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.Detector: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.Detector not found", name) -} - -// GetAllFraudDetectorEntityTypeResources retrieves all frauddetector.EntityType items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorEntityTypeResources() map[string]*frauddetector.EntityType { - results := map[string]*frauddetector.EntityType{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.EntityType: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorEntityTypeWithName retrieves all frauddetector.EntityType items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorEntityTypeWithName(name string) (*frauddetector.EntityType, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.EntityType: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.EntityType not found", name) -} - -// GetAllFraudDetectorEventTypeResources retrieves all frauddetector.EventType items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorEventTypeResources() map[string]*frauddetector.EventType { - results := map[string]*frauddetector.EventType{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.EventType: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorEventTypeWithName retrieves all frauddetector.EventType items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorEventTypeWithName(name string) (*frauddetector.EventType, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.EventType: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.EventType not found", name) -} - -// GetAllFraudDetectorLabelResources retrieves all frauddetector.Label items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorLabelResources() map[string]*frauddetector.Label { - results := map[string]*frauddetector.Label{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.Label: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorLabelWithName retrieves all frauddetector.Label items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorLabelWithName(name string) (*frauddetector.Label, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.Label: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.Label not found", name) -} - -// GetAllFraudDetectorOutcomeResources retrieves all frauddetector.Outcome items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorOutcomeResources() map[string]*frauddetector.Outcome { - results := map[string]*frauddetector.Outcome{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.Outcome: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorOutcomeWithName retrieves all frauddetector.Outcome items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorOutcomeWithName(name string) (*frauddetector.Outcome, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.Outcome: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.Outcome not found", name) -} - -// GetAllFraudDetectorVariableResources retrieves all frauddetector.Variable items from an AWS CloudFormation template -func (t *Template) GetAllFraudDetectorVariableResources() map[string]*frauddetector.Variable { - results := map[string]*frauddetector.Variable{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *frauddetector.Variable: - results[name] = resource - } - } - return results -} - -// GetFraudDetectorVariableWithName retrieves all frauddetector.Variable items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetFraudDetectorVariableWithName(name string) (*frauddetector.Variable, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *frauddetector.Variable: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type frauddetector.Variable not found", name) -} - -// GetAllGameLiftAliasResources retrieves all gamelift.Alias items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftAliasResources() map[string]*gamelift.Alias { - results := map[string]*gamelift.Alias{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.Alias: - results[name] = resource - } - } - return results -} - -// GetGameLiftAliasWithName retrieves all gamelift.Alias items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftAliasWithName(name string) (*gamelift.Alias, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.Alias: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.Alias not found", name) -} - -// GetAllGameLiftBuildResources retrieves all gamelift.Build items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftBuildResources() map[string]*gamelift.Build { - results := map[string]*gamelift.Build{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.Build: - results[name] = resource - } - } - return results -} - -// GetGameLiftBuildWithName retrieves all gamelift.Build items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftBuildWithName(name string) (*gamelift.Build, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.Build: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.Build not found", name) -} - -// GetAllGameLiftFleetResources retrieves all gamelift.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftFleetResources() map[string]*gamelift.Fleet { - results := map[string]*gamelift.Fleet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.Fleet: - results[name] = resource - } - } - return results -} - -// GetGameLiftFleetWithName retrieves all gamelift.Fleet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftFleetWithName(name string) (*gamelift.Fleet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.Fleet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.Fleet not found", name) -} - -// GetAllGameLiftGameServerGroupResources retrieves all gamelift.GameServerGroup items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftGameServerGroupResources() map[string]*gamelift.GameServerGroup { - results := map[string]*gamelift.GameServerGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.GameServerGroup: - results[name] = resource - } - } - return results -} - -// GetGameLiftGameServerGroupWithName retrieves all gamelift.GameServerGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftGameServerGroupWithName(name string) (*gamelift.GameServerGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.GameServerGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.GameServerGroup not found", name) -} - -// GetAllGameLiftGameSessionQueueResources retrieves all gamelift.GameSessionQueue items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftGameSessionQueueResources() map[string]*gamelift.GameSessionQueue { - results := map[string]*gamelift.GameSessionQueue{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.GameSessionQueue: - results[name] = resource - } - } - return results -} - -// GetGameLiftGameSessionQueueWithName retrieves all gamelift.GameSessionQueue items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftGameSessionQueueWithName(name string) (*gamelift.GameSessionQueue, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.GameSessionQueue: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.GameSessionQueue not found", name) -} - -// GetAllGameLiftMatchmakingConfigurationResources retrieves all gamelift.MatchmakingConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftMatchmakingConfigurationResources() map[string]*gamelift.MatchmakingConfiguration { - results := map[string]*gamelift.MatchmakingConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.MatchmakingConfiguration: - results[name] = resource - } - } - return results -} - -// GetGameLiftMatchmakingConfigurationWithName retrieves all gamelift.MatchmakingConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftMatchmakingConfigurationWithName(name string) (*gamelift.MatchmakingConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.MatchmakingConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.MatchmakingConfiguration not found", name) -} - -// GetAllGameLiftMatchmakingRuleSetResources retrieves all gamelift.MatchmakingRuleSet items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftMatchmakingRuleSetResources() map[string]*gamelift.MatchmakingRuleSet { - results := map[string]*gamelift.MatchmakingRuleSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.MatchmakingRuleSet: - results[name] = resource - } - } - return results -} - -// GetGameLiftMatchmakingRuleSetWithName retrieves all gamelift.MatchmakingRuleSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftMatchmakingRuleSetWithName(name string) (*gamelift.MatchmakingRuleSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.MatchmakingRuleSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.MatchmakingRuleSet not found", name) -} - -// GetAllGameLiftScriptResources retrieves all gamelift.Script items from an AWS CloudFormation template -func (t *Template) GetAllGameLiftScriptResources() map[string]*gamelift.Script { - results := map[string]*gamelift.Script{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *gamelift.Script: - results[name] = resource - } - } - return results -} - -// GetGameLiftScriptWithName retrieves all gamelift.Script items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGameLiftScriptWithName(name string) (*gamelift.Script, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *gamelift.Script: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type gamelift.Script not found", name) -} - -// GetAllGlobalAcceleratorAcceleratorResources retrieves all globalaccelerator.Accelerator items from an AWS CloudFormation template -func (t *Template) GetAllGlobalAcceleratorAcceleratorResources() map[string]*globalaccelerator.Accelerator { - results := map[string]*globalaccelerator.Accelerator{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *globalaccelerator.Accelerator: - results[name] = resource - } - } - return results -} - -// GetGlobalAcceleratorAcceleratorWithName retrieves all globalaccelerator.Accelerator items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlobalAcceleratorAcceleratorWithName(name string) (*globalaccelerator.Accelerator, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *globalaccelerator.Accelerator: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type globalaccelerator.Accelerator not found", name) -} - -// GetAllGlobalAcceleratorEndpointGroupResources retrieves all globalaccelerator.EndpointGroup items from an AWS CloudFormation template -func (t *Template) GetAllGlobalAcceleratorEndpointGroupResources() map[string]*globalaccelerator.EndpointGroup { - results := map[string]*globalaccelerator.EndpointGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *globalaccelerator.EndpointGroup: - results[name] = resource - } - } - return results -} - -// GetGlobalAcceleratorEndpointGroupWithName retrieves all globalaccelerator.EndpointGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlobalAcceleratorEndpointGroupWithName(name string) (*globalaccelerator.EndpointGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *globalaccelerator.EndpointGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type globalaccelerator.EndpointGroup not found", name) -} - -// GetAllGlobalAcceleratorListenerResources retrieves all globalaccelerator.Listener items from an AWS CloudFormation template -func (t *Template) GetAllGlobalAcceleratorListenerResources() map[string]*globalaccelerator.Listener { - results := map[string]*globalaccelerator.Listener{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *globalaccelerator.Listener: - results[name] = resource - } - } - return results -} - -// GetGlobalAcceleratorListenerWithName retrieves all globalaccelerator.Listener items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlobalAcceleratorListenerWithName(name string) (*globalaccelerator.Listener, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *globalaccelerator.Listener: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type globalaccelerator.Listener not found", name) -} - -// GetAllGlueClassifierResources retrieves all glue.Classifier items from an AWS CloudFormation template -func (t *Template) GetAllGlueClassifierResources() map[string]*glue.Classifier { - results := map[string]*glue.Classifier{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Classifier: - results[name] = resource - } - } - return results -} - -// GetGlueClassifierWithName retrieves all glue.Classifier items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueClassifierWithName(name string) (*glue.Classifier, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Classifier: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Classifier not found", name) -} - -// GetAllGlueConnectionResources retrieves all glue.Connection items from an AWS CloudFormation template -func (t *Template) GetAllGlueConnectionResources() map[string]*glue.Connection { - results := map[string]*glue.Connection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Connection: - results[name] = resource - } - } - return results -} - -// GetGlueConnectionWithName retrieves all glue.Connection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueConnectionWithName(name string) (*glue.Connection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Connection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Connection not found", name) -} - -// GetAllGlueCrawlerResources retrieves all glue.Crawler items from an AWS CloudFormation template -func (t *Template) GetAllGlueCrawlerResources() map[string]*glue.Crawler { - results := map[string]*glue.Crawler{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Crawler: - results[name] = resource - } - } - return results -} - -// GetGlueCrawlerWithName retrieves all glue.Crawler items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueCrawlerWithName(name string) (*glue.Crawler, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Crawler: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Crawler not found", name) -} - -// GetAllGlueDataCatalogEncryptionSettingsResources retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template -func (t *Template) GetAllGlueDataCatalogEncryptionSettingsResources() map[string]*glue.DataCatalogEncryptionSettings { - results := map[string]*glue.DataCatalogEncryptionSettings{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.DataCatalogEncryptionSettings: - results[name] = resource - } - } - return results -} - -// GetGlueDataCatalogEncryptionSettingsWithName retrieves all glue.DataCatalogEncryptionSettings items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDataCatalogEncryptionSettingsWithName(name string) (*glue.DataCatalogEncryptionSettings, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.DataCatalogEncryptionSettings: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.DataCatalogEncryptionSettings not found", name) -} - -// GetAllGlueDatabaseResources retrieves all glue.Database items from an AWS CloudFormation template -func (t *Template) GetAllGlueDatabaseResources() map[string]*glue.Database { - results := map[string]*glue.Database{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Database: - results[name] = resource - } - } - return results -} - -// GetGlueDatabaseWithName retrieves all glue.Database items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDatabaseWithName(name string) (*glue.Database, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Database: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Database not found", name) -} - -// GetAllGlueDevEndpointResources retrieves all glue.DevEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllGlueDevEndpointResources() map[string]*glue.DevEndpoint { - results := map[string]*glue.DevEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.DevEndpoint: - results[name] = resource - } - } - return results -} - -// GetGlueDevEndpointWithName retrieves all glue.DevEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueDevEndpointWithName(name string) (*glue.DevEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.DevEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.DevEndpoint not found", name) -} - -// GetAllGlueJobResources retrieves all glue.Job items from an AWS CloudFormation template -func (t *Template) GetAllGlueJobResources() map[string]*glue.Job { - results := map[string]*glue.Job{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Job: - results[name] = resource - } - } - return results -} - -// GetGlueJobWithName retrieves all glue.Job items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueJobWithName(name string) (*glue.Job, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Job: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Job not found", name) -} - -// GetAllGlueMLTransformResources retrieves all glue.MLTransform items from an AWS CloudFormation template -func (t *Template) GetAllGlueMLTransformResources() map[string]*glue.MLTransform { - results := map[string]*glue.MLTransform{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.MLTransform: - results[name] = resource - } - } - return results -} - -// GetGlueMLTransformWithName retrieves all glue.MLTransform items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueMLTransformWithName(name string) (*glue.MLTransform, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.MLTransform: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.MLTransform not found", name) -} - -// GetAllGluePartitionResources retrieves all glue.Partition items from an AWS CloudFormation template -func (t *Template) GetAllGluePartitionResources() map[string]*glue.Partition { - results := map[string]*glue.Partition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Partition: - results[name] = resource - } - } - return results -} - -// GetGluePartitionWithName retrieves all glue.Partition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGluePartitionWithName(name string) (*glue.Partition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Partition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Partition not found", name) -} - -// GetAllGlueRegistryResources retrieves all glue.Registry items from an AWS CloudFormation template -func (t *Template) GetAllGlueRegistryResources() map[string]*glue.Registry { - results := map[string]*glue.Registry{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Registry: - results[name] = resource - } - } - return results -} - -// GetGlueRegistryWithName retrieves all glue.Registry items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueRegistryWithName(name string) (*glue.Registry, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Registry: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Registry not found", name) -} - -// GetAllGlueSchemaResources retrieves all glue.Schema items from an AWS CloudFormation template -func (t *Template) GetAllGlueSchemaResources() map[string]*glue.Schema { - results := map[string]*glue.Schema{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Schema: - results[name] = resource - } - } - return results -} - -// GetGlueSchemaWithName retrieves all glue.Schema items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueSchemaWithName(name string) (*glue.Schema, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Schema: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Schema not found", name) -} - -// GetAllGlueSchemaVersionResources retrieves all glue.SchemaVersion items from an AWS CloudFormation template -func (t *Template) GetAllGlueSchemaVersionResources() map[string]*glue.SchemaVersion { - results := map[string]*glue.SchemaVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.SchemaVersion: - results[name] = resource - } - } - return results -} - -// GetGlueSchemaVersionWithName retrieves all glue.SchemaVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueSchemaVersionWithName(name string) (*glue.SchemaVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.SchemaVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.SchemaVersion not found", name) -} - -// GetAllGlueSchemaVersionMetadataResources retrieves all glue.SchemaVersionMetadata items from an AWS CloudFormation template -func (t *Template) GetAllGlueSchemaVersionMetadataResources() map[string]*glue.SchemaVersionMetadata { - results := map[string]*glue.SchemaVersionMetadata{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.SchemaVersionMetadata: - results[name] = resource - } - } - return results -} - -// GetGlueSchemaVersionMetadataWithName retrieves all glue.SchemaVersionMetadata items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueSchemaVersionMetadataWithName(name string) (*glue.SchemaVersionMetadata, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.SchemaVersionMetadata: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.SchemaVersionMetadata not found", name) -} - -// GetAllGlueSecurityConfigurationResources retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllGlueSecurityConfigurationResources() map[string]*glue.SecurityConfiguration { - results := map[string]*glue.SecurityConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.SecurityConfiguration: - results[name] = resource - } - } - return results -} - -// GetGlueSecurityConfigurationWithName retrieves all glue.SecurityConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueSecurityConfigurationWithName(name string) (*glue.SecurityConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.SecurityConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.SecurityConfiguration not found", name) -} - -// GetAllGlueTableResources retrieves all glue.Table items from an AWS CloudFormation template -func (t *Template) GetAllGlueTableResources() map[string]*glue.Table { - results := map[string]*glue.Table{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Table: - results[name] = resource - } - } - return results -} - -// GetGlueTableWithName retrieves all glue.Table items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueTableWithName(name string) (*glue.Table, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Table: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Table not found", name) -} - -// GetAllGlueTriggerResources retrieves all glue.Trigger items from an AWS CloudFormation template -func (t *Template) GetAllGlueTriggerResources() map[string]*glue.Trigger { - results := map[string]*glue.Trigger{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Trigger: - results[name] = resource - } - } - return results -} - -// GetGlueTriggerWithName retrieves all glue.Trigger items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueTriggerWithName(name string) (*glue.Trigger, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Trigger: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Trigger not found", name) -} - -// GetAllGlueWorkflowResources retrieves all glue.Workflow items from an AWS CloudFormation template -func (t *Template) GetAllGlueWorkflowResources() map[string]*glue.Workflow { - results := map[string]*glue.Workflow{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *glue.Workflow: - results[name] = resource - } - } - return results -} - -// GetGlueWorkflowWithName retrieves all glue.Workflow items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGlueWorkflowWithName(name string) (*glue.Workflow, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *glue.Workflow: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type glue.Workflow not found", name) -} - -// GetAllGreengrassConnectorDefinitionResources retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassConnectorDefinitionResources() map[string]*greengrass.ConnectorDefinition { - results := map[string]*greengrass.ConnectorDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.ConnectorDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassConnectorDefinitionWithName retrieves all greengrass.ConnectorDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassConnectorDefinitionWithName(name string) (*greengrass.ConnectorDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.ConnectorDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinition not found", name) -} - -// GetAllGreengrassConnectorDefinitionVersionResources retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassConnectorDefinitionVersionResources() map[string]*greengrass.ConnectorDefinitionVersion { - results := map[string]*greengrass.ConnectorDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.ConnectorDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassConnectorDefinitionVersionWithName retrieves all greengrass.ConnectorDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassConnectorDefinitionVersionWithName(name string) (*greengrass.ConnectorDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.ConnectorDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.ConnectorDefinitionVersion not found", name) -} - -// GetAllGreengrassCoreDefinitionResources retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassCoreDefinitionResources() map[string]*greengrass.CoreDefinition { - results := map[string]*greengrass.CoreDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.CoreDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassCoreDefinitionWithName retrieves all greengrass.CoreDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassCoreDefinitionWithName(name string) (*greengrass.CoreDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.CoreDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinition not found", name) -} - -// GetAllGreengrassCoreDefinitionVersionResources retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassCoreDefinitionVersionResources() map[string]*greengrass.CoreDefinitionVersion { - results := map[string]*greengrass.CoreDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.CoreDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassCoreDefinitionVersionWithName retrieves all greengrass.CoreDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassCoreDefinitionVersionWithName(name string) (*greengrass.CoreDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.CoreDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.CoreDefinitionVersion not found", name) -} - -// GetAllGreengrassDeviceDefinitionResources retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassDeviceDefinitionResources() map[string]*greengrass.DeviceDefinition { - results := map[string]*greengrass.DeviceDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.DeviceDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassDeviceDefinitionWithName retrieves all greengrass.DeviceDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassDeviceDefinitionWithName(name string) (*greengrass.DeviceDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.DeviceDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinition not found", name) -} - -// GetAllGreengrassDeviceDefinitionVersionResources retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassDeviceDefinitionVersionResources() map[string]*greengrass.DeviceDefinitionVersion { - results := map[string]*greengrass.DeviceDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.DeviceDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassDeviceDefinitionVersionWithName retrieves all greengrass.DeviceDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassDeviceDefinitionVersionWithName(name string) (*greengrass.DeviceDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.DeviceDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.DeviceDefinitionVersion not found", name) -} - -// GetAllGreengrassFunctionDefinitionResources retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassFunctionDefinitionResources() map[string]*greengrass.FunctionDefinition { - results := map[string]*greengrass.FunctionDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.FunctionDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassFunctionDefinitionWithName retrieves all greengrass.FunctionDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassFunctionDefinitionWithName(name string) (*greengrass.FunctionDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.FunctionDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinition not found", name) -} - -// GetAllGreengrassFunctionDefinitionVersionResources retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassFunctionDefinitionVersionResources() map[string]*greengrass.FunctionDefinitionVersion { - results := map[string]*greengrass.FunctionDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.FunctionDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassFunctionDefinitionVersionWithName retrieves all greengrass.FunctionDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassFunctionDefinitionVersionWithName(name string) (*greengrass.FunctionDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.FunctionDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.FunctionDefinitionVersion not found", name) -} - -// GetAllGreengrassGroupResources retrieves all greengrass.Group items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassGroupResources() map[string]*greengrass.Group { - results := map[string]*greengrass.Group{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.Group: - results[name] = resource - } - } - return results -} - -// GetGreengrassGroupWithName retrieves all greengrass.Group items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassGroupWithName(name string) (*greengrass.Group, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.Group: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.Group not found", name) -} - -// GetAllGreengrassGroupVersionResources retrieves all greengrass.GroupVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassGroupVersionResources() map[string]*greengrass.GroupVersion { - results := map[string]*greengrass.GroupVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.GroupVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassGroupVersionWithName retrieves all greengrass.GroupVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassGroupVersionWithName(name string) (*greengrass.GroupVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.GroupVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.GroupVersion not found", name) -} - -// GetAllGreengrassLoggerDefinitionResources retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassLoggerDefinitionResources() map[string]*greengrass.LoggerDefinition { - results := map[string]*greengrass.LoggerDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.LoggerDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassLoggerDefinitionWithName retrieves all greengrass.LoggerDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassLoggerDefinitionWithName(name string) (*greengrass.LoggerDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.LoggerDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinition not found", name) -} - -// GetAllGreengrassLoggerDefinitionVersionResources retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassLoggerDefinitionVersionResources() map[string]*greengrass.LoggerDefinitionVersion { - results := map[string]*greengrass.LoggerDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.LoggerDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassLoggerDefinitionVersionWithName retrieves all greengrass.LoggerDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassLoggerDefinitionVersionWithName(name string) (*greengrass.LoggerDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.LoggerDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.LoggerDefinitionVersion not found", name) -} - -// GetAllGreengrassResourceDefinitionResources retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassResourceDefinitionResources() map[string]*greengrass.ResourceDefinition { - results := map[string]*greengrass.ResourceDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.ResourceDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassResourceDefinitionWithName retrieves all greengrass.ResourceDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassResourceDefinitionWithName(name string) (*greengrass.ResourceDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.ResourceDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinition not found", name) -} - -// GetAllGreengrassResourceDefinitionVersionResources retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassResourceDefinitionVersionResources() map[string]*greengrass.ResourceDefinitionVersion { - results := map[string]*greengrass.ResourceDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.ResourceDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassResourceDefinitionVersionWithName retrieves all greengrass.ResourceDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassResourceDefinitionVersionWithName(name string) (*greengrass.ResourceDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.ResourceDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.ResourceDefinitionVersion not found", name) -} - -// GetAllGreengrassSubscriptionDefinitionResources retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassSubscriptionDefinitionResources() map[string]*greengrass.SubscriptionDefinition { - results := map[string]*greengrass.SubscriptionDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinition: - results[name] = resource - } - } - return results -} - -// GetGreengrassSubscriptionDefinitionWithName retrieves all greengrass.SubscriptionDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassSubscriptionDefinitionWithName(name string) (*greengrass.SubscriptionDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinition not found", name) -} - -// GetAllGreengrassSubscriptionDefinitionVersionResources retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassSubscriptionDefinitionVersionResources() map[string]*greengrass.SubscriptionDefinitionVersion { - results := map[string]*greengrass.SubscriptionDefinitionVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinitionVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassSubscriptionDefinitionVersionWithName retrieves all greengrass.SubscriptionDefinitionVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassSubscriptionDefinitionVersionWithName(name string) (*greengrass.SubscriptionDefinitionVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrass.SubscriptionDefinitionVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrass.SubscriptionDefinitionVersion not found", name) -} - -// GetAllGreengrassV2ComponentVersionResources retrieves all greengrassv2.ComponentVersion items from an AWS CloudFormation template -func (t *Template) GetAllGreengrassV2ComponentVersionResources() map[string]*greengrassv2.ComponentVersion { - results := map[string]*greengrassv2.ComponentVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *greengrassv2.ComponentVersion: - results[name] = resource - } - } - return results -} - -// GetGreengrassV2ComponentVersionWithName retrieves all greengrassv2.ComponentVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGreengrassV2ComponentVersionWithName(name string) (*greengrassv2.ComponentVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *greengrassv2.ComponentVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type greengrassv2.ComponentVersion not found", name) -} - -// GetAllGroundStationConfigResources retrieves all groundstation.Config items from an AWS CloudFormation template -func (t *Template) GetAllGroundStationConfigResources() map[string]*groundstation.Config { - results := map[string]*groundstation.Config{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *groundstation.Config: - results[name] = resource - } - } - return results -} - -// GetGroundStationConfigWithName retrieves all groundstation.Config items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGroundStationConfigWithName(name string) (*groundstation.Config, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *groundstation.Config: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type groundstation.Config not found", name) -} - -// GetAllGroundStationDataflowEndpointGroupResources retrieves all groundstation.DataflowEndpointGroup items from an AWS CloudFormation template -func (t *Template) GetAllGroundStationDataflowEndpointGroupResources() map[string]*groundstation.DataflowEndpointGroup { - results := map[string]*groundstation.DataflowEndpointGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *groundstation.DataflowEndpointGroup: - results[name] = resource - } - } - return results -} - -// GetGroundStationDataflowEndpointGroupWithName retrieves all groundstation.DataflowEndpointGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGroundStationDataflowEndpointGroupWithName(name string) (*groundstation.DataflowEndpointGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *groundstation.DataflowEndpointGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type groundstation.DataflowEndpointGroup not found", name) -} - -// GetAllGroundStationMissionProfileResources retrieves all groundstation.MissionProfile items from an AWS CloudFormation template -func (t *Template) GetAllGroundStationMissionProfileResources() map[string]*groundstation.MissionProfile { - results := map[string]*groundstation.MissionProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *groundstation.MissionProfile: - results[name] = resource - } - } - return results -} - -// GetGroundStationMissionProfileWithName retrieves all groundstation.MissionProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGroundStationMissionProfileWithName(name string) (*groundstation.MissionProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *groundstation.MissionProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type groundstation.MissionProfile not found", name) -} - -// GetAllGuardDutyDetectorResources retrieves all guardduty.Detector items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyDetectorResources() map[string]*guardduty.Detector { - results := map[string]*guardduty.Detector{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.Detector: - results[name] = resource - } - } - return results -} - -// GetGuardDutyDetectorWithName retrieves all guardduty.Detector items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyDetectorWithName(name string) (*guardduty.Detector, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.Detector: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.Detector not found", name) -} - -// GetAllGuardDutyFilterResources retrieves all guardduty.Filter items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyFilterResources() map[string]*guardduty.Filter { - results := map[string]*guardduty.Filter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.Filter: - results[name] = resource - } - } - return results -} - -// GetGuardDutyFilterWithName retrieves all guardduty.Filter items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyFilterWithName(name string) (*guardduty.Filter, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.Filter: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.Filter not found", name) -} - -// GetAllGuardDutyIPSetResources retrieves all guardduty.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyIPSetResources() map[string]*guardduty.IPSet { - results := map[string]*guardduty.IPSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.IPSet: - results[name] = resource - } - } - return results -} - -// GetGuardDutyIPSetWithName retrieves all guardduty.IPSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyIPSetWithName(name string) (*guardduty.IPSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.IPSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.IPSet not found", name) -} - -// GetAllGuardDutyMasterResources retrieves all guardduty.Master items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyMasterResources() map[string]*guardduty.Master { - results := map[string]*guardduty.Master{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.Master: - results[name] = resource - } - } - return results -} - -// GetGuardDutyMasterWithName retrieves all guardduty.Master items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyMasterWithName(name string) (*guardduty.Master, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.Master: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.Master not found", name) -} - -// GetAllGuardDutyMemberResources retrieves all guardduty.Member items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyMemberResources() map[string]*guardduty.Member { - results := map[string]*guardduty.Member{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.Member: - results[name] = resource - } - } - return results -} - -// GetGuardDutyMemberWithName retrieves all guardduty.Member items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyMemberWithName(name string) (*guardduty.Member, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.Member: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.Member not found", name) -} - -// GetAllGuardDutyThreatIntelSetResources retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template -func (t *Template) GetAllGuardDutyThreatIntelSetResources() map[string]*guardduty.ThreatIntelSet { - results := map[string]*guardduty.ThreatIntelSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *guardduty.ThreatIntelSet: - results[name] = resource - } - } - return results -} - -// GetGuardDutyThreatIntelSetWithName retrieves all guardduty.ThreatIntelSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetGuardDutyThreatIntelSetWithName(name string) (*guardduty.ThreatIntelSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *guardduty.ThreatIntelSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type guardduty.ThreatIntelSet not found", name) -} - -// GetAllHealthLakeFHIRDatastoreResources retrieves all healthlake.FHIRDatastore items from an AWS CloudFormation template -func (t *Template) GetAllHealthLakeFHIRDatastoreResources() map[string]*healthlake.FHIRDatastore { - results := map[string]*healthlake.FHIRDatastore{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *healthlake.FHIRDatastore: - results[name] = resource - } - } - return results -} - -// GetHealthLakeFHIRDatastoreWithName retrieves all healthlake.FHIRDatastore items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetHealthLakeFHIRDatastoreWithName(name string) (*healthlake.FHIRDatastore, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *healthlake.FHIRDatastore: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type healthlake.FHIRDatastore not found", name) -} - -// GetAllIAMAccessKeyResources retrieves all iam.AccessKey items from an AWS CloudFormation template -func (t *Template) GetAllIAMAccessKeyResources() map[string]*iam.AccessKey { - results := map[string]*iam.AccessKey{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.AccessKey: - results[name] = resource - } - } - return results -} - -// GetIAMAccessKeyWithName retrieves all iam.AccessKey items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMAccessKeyWithName(name string) (*iam.AccessKey, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.AccessKey: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.AccessKey not found", name) -} - -// GetAllIAMGroupResources retrieves all iam.Group items from an AWS CloudFormation template -func (t *Template) GetAllIAMGroupResources() map[string]*iam.Group { - results := map[string]*iam.Group{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.Group: - results[name] = resource - } - } - return results -} - -// GetIAMGroupWithName retrieves all iam.Group items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMGroupWithName(name string) (*iam.Group, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.Group: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.Group not found", name) -} - -// GetAllIAMInstanceProfileResources retrieves all iam.InstanceProfile items from an AWS CloudFormation template -func (t *Template) GetAllIAMInstanceProfileResources() map[string]*iam.InstanceProfile { - results := map[string]*iam.InstanceProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.InstanceProfile: - results[name] = resource - } - } - return results -} - -// GetIAMInstanceProfileWithName retrieves all iam.InstanceProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMInstanceProfileWithName(name string) (*iam.InstanceProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.InstanceProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.InstanceProfile not found", name) -} - -// GetAllIAMManagedPolicyResources retrieves all iam.ManagedPolicy items from an AWS CloudFormation template -func (t *Template) GetAllIAMManagedPolicyResources() map[string]*iam.ManagedPolicy { - results := map[string]*iam.ManagedPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.ManagedPolicy: - results[name] = resource - } - } - return results -} - -// GetIAMManagedPolicyWithName retrieves all iam.ManagedPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMManagedPolicyWithName(name string) (*iam.ManagedPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.ManagedPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.ManagedPolicy not found", name) -} - -// GetAllIAMOIDCProviderResources retrieves all iam.OIDCProvider items from an AWS CloudFormation template -func (t *Template) GetAllIAMOIDCProviderResources() map[string]*iam.OIDCProvider { - results := map[string]*iam.OIDCProvider{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.OIDCProvider: - results[name] = resource - } - } - return results -} - -// GetIAMOIDCProviderWithName retrieves all iam.OIDCProvider items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMOIDCProviderWithName(name string) (*iam.OIDCProvider, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.OIDCProvider: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.OIDCProvider not found", name) -} - -// GetAllIAMPolicyResources retrieves all iam.Policy items from an AWS CloudFormation template -func (t *Template) GetAllIAMPolicyResources() map[string]*iam.Policy { - results := map[string]*iam.Policy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.Policy: - results[name] = resource - } - } - return results -} - -// GetIAMPolicyWithName retrieves all iam.Policy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMPolicyWithName(name string) (*iam.Policy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.Policy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.Policy not found", name) -} - -// GetAllIAMRoleResources retrieves all iam.Role items from an AWS CloudFormation template -func (t *Template) GetAllIAMRoleResources() map[string]*iam.Role { - results := map[string]*iam.Role{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.Role: - results[name] = resource - } - } - return results -} - -// GetIAMRoleWithName retrieves all iam.Role items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMRoleWithName(name string) (*iam.Role, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.Role: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.Role not found", name) -} - -// GetAllIAMSAMLProviderResources retrieves all iam.SAMLProvider items from an AWS CloudFormation template -func (t *Template) GetAllIAMSAMLProviderResources() map[string]*iam.SAMLProvider { - results := map[string]*iam.SAMLProvider{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.SAMLProvider: - results[name] = resource - } - } - return results -} - -// GetIAMSAMLProviderWithName retrieves all iam.SAMLProvider items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMSAMLProviderWithName(name string) (*iam.SAMLProvider, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.SAMLProvider: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.SAMLProvider not found", name) -} - -// GetAllIAMServerCertificateResources retrieves all iam.ServerCertificate items from an AWS CloudFormation template -func (t *Template) GetAllIAMServerCertificateResources() map[string]*iam.ServerCertificate { - results := map[string]*iam.ServerCertificate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.ServerCertificate: - results[name] = resource - } - } - return results -} - -// GetIAMServerCertificateWithName retrieves all iam.ServerCertificate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMServerCertificateWithName(name string) (*iam.ServerCertificate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.ServerCertificate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.ServerCertificate not found", name) -} - -// GetAllIAMServiceLinkedRoleResources retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template -func (t *Template) GetAllIAMServiceLinkedRoleResources() map[string]*iam.ServiceLinkedRole { - results := map[string]*iam.ServiceLinkedRole{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.ServiceLinkedRole: - results[name] = resource - } - } - return results -} - -// GetIAMServiceLinkedRoleWithName retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMServiceLinkedRoleWithName(name string) (*iam.ServiceLinkedRole, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.ServiceLinkedRole: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.ServiceLinkedRole not found", name) -} - -// GetAllIAMUserResources retrieves all iam.User items from an AWS CloudFormation template -func (t *Template) GetAllIAMUserResources() map[string]*iam.User { - results := map[string]*iam.User{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.User: - results[name] = resource - } - } - return results -} - -// GetIAMUserWithName retrieves all iam.User items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMUserWithName(name string) (*iam.User, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.User: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.User not found", name) -} - -// GetAllIAMUserToGroupAdditionResources retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template -func (t *Template) GetAllIAMUserToGroupAdditionResources() map[string]*iam.UserToGroupAddition { - results := map[string]*iam.UserToGroupAddition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.UserToGroupAddition: - results[name] = resource - } - } - return results -} - -// GetIAMUserToGroupAdditionWithName retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMUserToGroupAdditionWithName(name string) (*iam.UserToGroupAddition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.UserToGroupAddition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.UserToGroupAddition not found", name) -} - -// GetAllIAMVirtualMFADeviceResources retrieves all iam.VirtualMFADevice items from an AWS CloudFormation template -func (t *Template) GetAllIAMVirtualMFADeviceResources() map[string]*iam.VirtualMFADevice { - results := map[string]*iam.VirtualMFADevice{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iam.VirtualMFADevice: - results[name] = resource - } - } - return results -} - -// GetIAMVirtualMFADeviceWithName retrieves all iam.VirtualMFADevice items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIAMVirtualMFADeviceWithName(name string) (*iam.VirtualMFADevice, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iam.VirtualMFADevice: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iam.VirtualMFADevice not found", name) -} - -// GetAllIVSChannelResources retrieves all ivs.Channel items from an AWS CloudFormation template -func (t *Template) GetAllIVSChannelResources() map[string]*ivs.Channel { - results := map[string]*ivs.Channel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ivs.Channel: - results[name] = resource - } - } - return results -} - -// GetIVSChannelWithName retrieves all ivs.Channel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIVSChannelWithName(name string) (*ivs.Channel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ivs.Channel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ivs.Channel not found", name) -} - -// GetAllIVSPlaybackKeyPairResources retrieves all ivs.PlaybackKeyPair items from an AWS CloudFormation template -func (t *Template) GetAllIVSPlaybackKeyPairResources() map[string]*ivs.PlaybackKeyPair { - results := map[string]*ivs.PlaybackKeyPair{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ivs.PlaybackKeyPair: - results[name] = resource - } - } - return results -} - -// GetIVSPlaybackKeyPairWithName retrieves all ivs.PlaybackKeyPair items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIVSPlaybackKeyPairWithName(name string) (*ivs.PlaybackKeyPair, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ivs.PlaybackKeyPair: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ivs.PlaybackKeyPair not found", name) -} - -// GetAllIVSRecordingConfigurationResources retrieves all ivs.RecordingConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllIVSRecordingConfigurationResources() map[string]*ivs.RecordingConfiguration { - results := map[string]*ivs.RecordingConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ivs.RecordingConfiguration: - results[name] = resource - } - } - return results -} - -// GetIVSRecordingConfigurationWithName retrieves all ivs.RecordingConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIVSRecordingConfigurationWithName(name string) (*ivs.RecordingConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ivs.RecordingConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ivs.RecordingConfiguration not found", name) -} - -// GetAllIVSStreamKeyResources retrieves all ivs.StreamKey items from an AWS CloudFormation template -func (t *Template) GetAllIVSStreamKeyResources() map[string]*ivs.StreamKey { - results := map[string]*ivs.StreamKey{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ivs.StreamKey: - results[name] = resource - } - } - return results -} - -// GetIVSStreamKeyWithName retrieves all ivs.StreamKey items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIVSStreamKeyWithName(name string) (*ivs.StreamKey, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ivs.StreamKey: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ivs.StreamKey not found", name) -} - -// GetAllImageBuilderComponentResources retrieves all imagebuilder.Component items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderComponentResources() map[string]*imagebuilder.Component { - results := map[string]*imagebuilder.Component{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.Component: - results[name] = resource - } - } - return results -} - -// GetImageBuilderComponentWithName retrieves all imagebuilder.Component items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderComponentWithName(name string) (*imagebuilder.Component, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.Component: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.Component not found", name) -} - -// GetAllImageBuilderContainerRecipeResources retrieves all imagebuilder.ContainerRecipe items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderContainerRecipeResources() map[string]*imagebuilder.ContainerRecipe { - results := map[string]*imagebuilder.ContainerRecipe{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.ContainerRecipe: - results[name] = resource - } - } - return results -} - -// GetImageBuilderContainerRecipeWithName retrieves all imagebuilder.ContainerRecipe items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderContainerRecipeWithName(name string) (*imagebuilder.ContainerRecipe, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.ContainerRecipe: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.ContainerRecipe not found", name) -} - -// GetAllImageBuilderDistributionConfigurationResources retrieves all imagebuilder.DistributionConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderDistributionConfigurationResources() map[string]*imagebuilder.DistributionConfiguration { - results := map[string]*imagebuilder.DistributionConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.DistributionConfiguration: - results[name] = resource - } - } - return results -} - -// GetImageBuilderDistributionConfigurationWithName retrieves all imagebuilder.DistributionConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderDistributionConfigurationWithName(name string) (*imagebuilder.DistributionConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.DistributionConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.DistributionConfiguration not found", name) -} - -// GetAllImageBuilderImageResources retrieves all imagebuilder.Image items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderImageResources() map[string]*imagebuilder.Image { - results := map[string]*imagebuilder.Image{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.Image: - results[name] = resource - } - } - return results -} - -// GetImageBuilderImageWithName retrieves all imagebuilder.Image items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderImageWithName(name string) (*imagebuilder.Image, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.Image: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.Image not found", name) -} - -// GetAllImageBuilderImagePipelineResources retrieves all imagebuilder.ImagePipeline items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderImagePipelineResources() map[string]*imagebuilder.ImagePipeline { - results := map[string]*imagebuilder.ImagePipeline{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.ImagePipeline: - results[name] = resource - } - } - return results -} - -// GetImageBuilderImagePipelineWithName retrieves all imagebuilder.ImagePipeline items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderImagePipelineWithName(name string) (*imagebuilder.ImagePipeline, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.ImagePipeline: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.ImagePipeline not found", name) -} - -// GetAllImageBuilderImageRecipeResources retrieves all imagebuilder.ImageRecipe items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderImageRecipeResources() map[string]*imagebuilder.ImageRecipe { - results := map[string]*imagebuilder.ImageRecipe{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.ImageRecipe: - results[name] = resource - } - } - return results -} - -// GetImageBuilderImageRecipeWithName retrieves all imagebuilder.ImageRecipe items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderImageRecipeWithName(name string) (*imagebuilder.ImageRecipe, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.ImageRecipe: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.ImageRecipe not found", name) -} - -// GetAllImageBuilderInfrastructureConfigurationResources retrieves all imagebuilder.InfrastructureConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllImageBuilderInfrastructureConfigurationResources() map[string]*imagebuilder.InfrastructureConfiguration { - results := map[string]*imagebuilder.InfrastructureConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *imagebuilder.InfrastructureConfiguration: - results[name] = resource - } - } - return results -} - -// GetImageBuilderInfrastructureConfigurationWithName retrieves all imagebuilder.InfrastructureConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetImageBuilderInfrastructureConfigurationWithName(name string) (*imagebuilder.InfrastructureConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *imagebuilder.InfrastructureConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type imagebuilder.InfrastructureConfiguration not found", name) -} - -// GetAllInspectorAssessmentTargetResources retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template -func (t *Template) GetAllInspectorAssessmentTargetResources() map[string]*inspector.AssessmentTarget { - results := map[string]*inspector.AssessmentTarget{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *inspector.AssessmentTarget: - results[name] = resource - } - } - return results -} - -// GetInspectorAssessmentTargetWithName retrieves all inspector.AssessmentTarget items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorAssessmentTargetWithName(name string) (*inspector.AssessmentTarget, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *inspector.AssessmentTarget: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type inspector.AssessmentTarget not found", name) -} - -// GetAllInspectorAssessmentTemplateResources retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template -func (t *Template) GetAllInspectorAssessmentTemplateResources() map[string]*inspector.AssessmentTemplate { - results := map[string]*inspector.AssessmentTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *inspector.AssessmentTemplate: - results[name] = resource - } - } - return results -} - -// GetInspectorAssessmentTemplateWithName retrieves all inspector.AssessmentTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorAssessmentTemplateWithName(name string) (*inspector.AssessmentTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *inspector.AssessmentTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type inspector.AssessmentTemplate not found", name) -} - -// GetAllInspectorResourceGroupResources retrieves all inspector.ResourceGroup items from an AWS CloudFormation template -func (t *Template) GetAllInspectorResourceGroupResources() map[string]*inspector.ResourceGroup { - results := map[string]*inspector.ResourceGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *inspector.ResourceGroup: - results[name] = resource - } - } - return results -} - -// GetInspectorResourceGroupWithName retrieves all inspector.ResourceGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetInspectorResourceGroupWithName(name string) (*inspector.ResourceGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *inspector.ResourceGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type inspector.ResourceGroup not found", name) -} - -// GetAllIoT1ClickDeviceResources retrieves all iot1click.Device items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickDeviceResources() map[string]*iot1click.Device { - results := map[string]*iot1click.Device{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot1click.Device: - results[name] = resource - } - } - return results -} - -// GetIoT1ClickDeviceWithName retrieves all iot1click.Device items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickDeviceWithName(name string) (*iot1click.Device, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot1click.Device: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot1click.Device not found", name) -} - -// GetAllIoT1ClickPlacementResources retrieves all iot1click.Placement items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickPlacementResources() map[string]*iot1click.Placement { - results := map[string]*iot1click.Placement{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot1click.Placement: - results[name] = resource - } - } - return results -} - -// GetIoT1ClickPlacementWithName retrieves all iot1click.Placement items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickPlacementWithName(name string) (*iot1click.Placement, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot1click.Placement: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot1click.Placement not found", name) -} - -// GetAllIoT1ClickProjectResources retrieves all iot1click.Project items from an AWS CloudFormation template -func (t *Template) GetAllIoT1ClickProjectResources() map[string]*iot1click.Project { - results := map[string]*iot1click.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot1click.Project: - results[name] = resource - } - } - return results -} - -// GetIoT1ClickProjectWithName retrieves all iot1click.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoT1ClickProjectWithName(name string) (*iot1click.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot1click.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot1click.Project not found", name) -} - -// GetAllIoTAccountAuditConfigurationResources retrieves all iot.AccountAuditConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllIoTAccountAuditConfigurationResources() map[string]*iot.AccountAuditConfiguration { - results := map[string]*iot.AccountAuditConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.AccountAuditConfiguration: - results[name] = resource - } - } - return results -} - -// GetIoTAccountAuditConfigurationWithName retrieves all iot.AccountAuditConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAccountAuditConfigurationWithName(name string) (*iot.AccountAuditConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.AccountAuditConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.AccountAuditConfiguration not found", name) -} - -// GetAllIoTAuthorizerResources retrieves all iot.Authorizer items from an AWS CloudFormation template -func (t *Template) GetAllIoTAuthorizerResources() map[string]*iot.Authorizer { - results := map[string]*iot.Authorizer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Authorizer: - results[name] = resource - } - } - return results -} - -// GetIoTAuthorizerWithName retrieves all iot.Authorizer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAuthorizerWithName(name string) (*iot.Authorizer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Authorizer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Authorizer not found", name) -} - -// GetAllIoTCertificateResources retrieves all iot.Certificate items from an AWS CloudFormation template -func (t *Template) GetAllIoTCertificateResources() map[string]*iot.Certificate { - results := map[string]*iot.Certificate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Certificate: - results[name] = resource - } - } - return results -} - -// GetIoTCertificateWithName retrieves all iot.Certificate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTCertificateWithName(name string) (*iot.Certificate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Certificate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Certificate not found", name) -} - -// GetAllIoTCustomMetricResources retrieves all iot.CustomMetric items from an AWS CloudFormation template -func (t *Template) GetAllIoTCustomMetricResources() map[string]*iot.CustomMetric { - results := map[string]*iot.CustomMetric{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.CustomMetric: - results[name] = resource - } - } - return results -} - -// GetIoTCustomMetricWithName retrieves all iot.CustomMetric items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTCustomMetricWithName(name string) (*iot.CustomMetric, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.CustomMetric: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.CustomMetric not found", name) -} - -// GetAllIoTDimensionResources retrieves all iot.Dimension items from an AWS CloudFormation template -func (t *Template) GetAllIoTDimensionResources() map[string]*iot.Dimension { - results := map[string]*iot.Dimension{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Dimension: - results[name] = resource - } - } - return results -} - -// GetIoTDimensionWithName retrieves all iot.Dimension items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTDimensionWithName(name string) (*iot.Dimension, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Dimension: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Dimension not found", name) -} - -// GetAllIoTDomainConfigurationResources retrieves all iot.DomainConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllIoTDomainConfigurationResources() map[string]*iot.DomainConfiguration { - results := map[string]*iot.DomainConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.DomainConfiguration: - results[name] = resource - } - } - return results -} - -// GetIoTDomainConfigurationWithName retrieves all iot.DomainConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTDomainConfigurationWithName(name string) (*iot.DomainConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.DomainConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.DomainConfiguration not found", name) -} - -// GetAllIoTFleetMetricResources retrieves all iot.FleetMetric items from an AWS CloudFormation template -func (t *Template) GetAllIoTFleetMetricResources() map[string]*iot.FleetMetric { - results := map[string]*iot.FleetMetric{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.FleetMetric: - results[name] = resource - } - } - return results -} - -// GetIoTFleetMetricWithName retrieves all iot.FleetMetric items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTFleetMetricWithName(name string) (*iot.FleetMetric, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.FleetMetric: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.FleetMetric not found", name) -} - -// GetAllIoTJobTemplateResources retrieves all iot.JobTemplate items from an AWS CloudFormation template -func (t *Template) GetAllIoTJobTemplateResources() map[string]*iot.JobTemplate { - results := map[string]*iot.JobTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.JobTemplate: - results[name] = resource - } - } - return results -} - -// GetIoTJobTemplateWithName retrieves all iot.JobTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTJobTemplateWithName(name string) (*iot.JobTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.JobTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.JobTemplate not found", name) -} - -// GetAllIoTLoggingResources retrieves all iot.Logging items from an AWS CloudFormation template -func (t *Template) GetAllIoTLoggingResources() map[string]*iot.Logging { - results := map[string]*iot.Logging{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Logging: - results[name] = resource - } - } - return results -} - -// GetIoTLoggingWithName retrieves all iot.Logging items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTLoggingWithName(name string) (*iot.Logging, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Logging: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Logging not found", name) -} - -// GetAllIoTMitigationActionResources retrieves all iot.MitigationAction items from an AWS CloudFormation template -func (t *Template) GetAllIoTMitigationActionResources() map[string]*iot.MitigationAction { - results := map[string]*iot.MitigationAction{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.MitigationAction: - results[name] = resource - } - } - return results -} - -// GetIoTMitigationActionWithName retrieves all iot.MitigationAction items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTMitigationActionWithName(name string) (*iot.MitigationAction, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.MitigationAction: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.MitigationAction not found", name) -} - -// GetAllIoTPolicyResources retrieves all iot.Policy items from an AWS CloudFormation template -func (t *Template) GetAllIoTPolicyResources() map[string]*iot.Policy { - results := map[string]*iot.Policy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Policy: - results[name] = resource - } - } - return results -} - -// GetIoTPolicyWithName retrieves all iot.Policy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTPolicyWithName(name string) (*iot.Policy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Policy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Policy not found", name) -} - -// GetAllIoTPolicyPrincipalAttachmentResources retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template -func (t *Template) GetAllIoTPolicyPrincipalAttachmentResources() map[string]*iot.PolicyPrincipalAttachment { - results := map[string]*iot.PolicyPrincipalAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.PolicyPrincipalAttachment: - results[name] = resource - } - } - return results -} - -// GetIoTPolicyPrincipalAttachmentWithName retrieves all iot.PolicyPrincipalAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTPolicyPrincipalAttachmentWithName(name string) (*iot.PolicyPrincipalAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.PolicyPrincipalAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.PolicyPrincipalAttachment not found", name) -} - -// GetAllIoTProvisioningTemplateResources retrieves all iot.ProvisioningTemplate items from an AWS CloudFormation template -func (t *Template) GetAllIoTProvisioningTemplateResources() map[string]*iot.ProvisioningTemplate { - results := map[string]*iot.ProvisioningTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.ProvisioningTemplate: - results[name] = resource - } - } - return results -} - -// GetIoTProvisioningTemplateWithName retrieves all iot.ProvisioningTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTProvisioningTemplateWithName(name string) (*iot.ProvisioningTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.ProvisioningTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.ProvisioningTemplate not found", name) -} - -// GetAllIoTResourceSpecificLoggingResources retrieves all iot.ResourceSpecificLogging items from an AWS CloudFormation template -func (t *Template) GetAllIoTResourceSpecificLoggingResources() map[string]*iot.ResourceSpecificLogging { - results := map[string]*iot.ResourceSpecificLogging{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.ResourceSpecificLogging: - results[name] = resource - } - } - return results -} - -// GetIoTResourceSpecificLoggingWithName retrieves all iot.ResourceSpecificLogging items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTResourceSpecificLoggingWithName(name string) (*iot.ResourceSpecificLogging, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.ResourceSpecificLogging: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.ResourceSpecificLogging not found", name) -} - -// GetAllIoTScheduledAuditResources retrieves all iot.ScheduledAudit items from an AWS CloudFormation template -func (t *Template) GetAllIoTScheduledAuditResources() map[string]*iot.ScheduledAudit { - results := map[string]*iot.ScheduledAudit{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.ScheduledAudit: - results[name] = resource - } - } - return results -} - -// GetIoTScheduledAuditWithName retrieves all iot.ScheduledAudit items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTScheduledAuditWithName(name string) (*iot.ScheduledAudit, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.ScheduledAudit: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.ScheduledAudit not found", name) -} - -// GetAllIoTSecurityProfileResources retrieves all iot.SecurityProfile items from an AWS CloudFormation template -func (t *Template) GetAllIoTSecurityProfileResources() map[string]*iot.SecurityProfile { - results := map[string]*iot.SecurityProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.SecurityProfile: - results[name] = resource - } - } - return results -} - -// GetIoTSecurityProfileWithName retrieves all iot.SecurityProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSecurityProfileWithName(name string) (*iot.SecurityProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.SecurityProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.SecurityProfile not found", name) -} - -// GetAllIoTThingResources retrieves all iot.Thing items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingResources() map[string]*iot.Thing { - results := map[string]*iot.Thing{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.Thing: - results[name] = resource - } - } - return results -} - -// GetIoTThingWithName retrieves all iot.Thing items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingWithName(name string) (*iot.Thing, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.Thing: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.Thing not found", name) -} - -// GetAllIoTThingPrincipalAttachmentResources retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingPrincipalAttachmentResources() map[string]*iot.ThingPrincipalAttachment { - results := map[string]*iot.ThingPrincipalAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.ThingPrincipalAttachment: - results[name] = resource - } - } - return results -} - -// GetIoTThingPrincipalAttachmentWithName retrieves all iot.ThingPrincipalAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingPrincipalAttachmentWithName(name string) (*iot.ThingPrincipalAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.ThingPrincipalAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.ThingPrincipalAttachment not found", name) -} - -// GetAllIoTTopicRuleResources retrieves all iot.TopicRule items from an AWS CloudFormation template -func (t *Template) GetAllIoTTopicRuleResources() map[string]*iot.TopicRule { - results := map[string]*iot.TopicRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.TopicRule: - results[name] = resource - } - } - return results -} - -// GetIoTTopicRuleWithName retrieves all iot.TopicRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTTopicRuleWithName(name string) (*iot.TopicRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.TopicRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.TopicRule not found", name) -} - -// GetAllIoTTopicRuleDestinationResources retrieves all iot.TopicRuleDestination items from an AWS CloudFormation template -func (t *Template) GetAllIoTTopicRuleDestinationResources() map[string]*iot.TopicRuleDestination { - results := map[string]*iot.TopicRuleDestination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iot.TopicRuleDestination: - results[name] = resource - } - } - return results -} - -// GetIoTTopicRuleDestinationWithName retrieves all iot.TopicRuleDestination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTTopicRuleDestinationWithName(name string) (*iot.TopicRuleDestination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iot.TopicRuleDestination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iot.TopicRuleDestination not found", name) -} - -// GetAllIoTAnalyticsChannelResources retrieves all iotanalytics.Channel items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsChannelResources() map[string]*iotanalytics.Channel { - results := map[string]*iotanalytics.Channel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotanalytics.Channel: - results[name] = resource - } - } - return results -} - -// GetIoTAnalyticsChannelWithName retrieves all iotanalytics.Channel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsChannelWithName(name string) (*iotanalytics.Channel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotanalytics.Channel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotanalytics.Channel not found", name) -} - -// GetAllIoTAnalyticsDatasetResources retrieves all iotanalytics.Dataset items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsDatasetResources() map[string]*iotanalytics.Dataset { - results := map[string]*iotanalytics.Dataset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotanalytics.Dataset: - results[name] = resource - } - } - return results -} - -// GetIoTAnalyticsDatasetWithName retrieves all iotanalytics.Dataset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsDatasetWithName(name string) (*iotanalytics.Dataset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotanalytics.Dataset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotanalytics.Dataset not found", name) -} - -// GetAllIoTAnalyticsDatastoreResources retrieves all iotanalytics.Datastore items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsDatastoreResources() map[string]*iotanalytics.Datastore { - results := map[string]*iotanalytics.Datastore{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotanalytics.Datastore: - results[name] = resource - } - } - return results -} - -// GetIoTAnalyticsDatastoreWithName retrieves all iotanalytics.Datastore items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsDatastoreWithName(name string) (*iotanalytics.Datastore, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotanalytics.Datastore: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotanalytics.Datastore not found", name) -} - -// GetAllIoTAnalyticsPipelineResources retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllIoTAnalyticsPipelineResources() map[string]*iotanalytics.Pipeline { - results := map[string]*iotanalytics.Pipeline{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotanalytics.Pipeline: - results[name] = resource - } - } - return results -} - -// GetIoTAnalyticsPipelineWithName retrieves all iotanalytics.Pipeline items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTAnalyticsPipelineWithName(name string) (*iotanalytics.Pipeline, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotanalytics.Pipeline: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotanalytics.Pipeline not found", name) -} - -// GetAllIoTCoreDeviceAdvisorSuiteDefinitionResources retrieves all iotcoredeviceadvisor.SuiteDefinition items from an AWS CloudFormation template -func (t *Template) GetAllIoTCoreDeviceAdvisorSuiteDefinitionResources() map[string]*iotcoredeviceadvisor.SuiteDefinition { - results := map[string]*iotcoredeviceadvisor.SuiteDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotcoredeviceadvisor.SuiteDefinition: - results[name] = resource - } - } - return results -} - -// GetIoTCoreDeviceAdvisorSuiteDefinitionWithName retrieves all iotcoredeviceadvisor.SuiteDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTCoreDeviceAdvisorSuiteDefinitionWithName(name string) (*iotcoredeviceadvisor.SuiteDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotcoredeviceadvisor.SuiteDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotcoredeviceadvisor.SuiteDefinition not found", name) -} - -// GetAllIoTEventsDetectorModelResources retrieves all iotevents.DetectorModel items from an AWS CloudFormation template -func (t *Template) GetAllIoTEventsDetectorModelResources() map[string]*iotevents.DetectorModel { - results := map[string]*iotevents.DetectorModel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotevents.DetectorModel: - results[name] = resource - } - } - return results -} - -// GetIoTEventsDetectorModelWithName retrieves all iotevents.DetectorModel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTEventsDetectorModelWithName(name string) (*iotevents.DetectorModel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotevents.DetectorModel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotevents.DetectorModel not found", name) -} - -// GetAllIoTEventsInputResources retrieves all iotevents.Input items from an AWS CloudFormation template -func (t *Template) GetAllIoTEventsInputResources() map[string]*iotevents.Input { - results := map[string]*iotevents.Input{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotevents.Input: - results[name] = resource - } - } - return results -} - -// GetIoTEventsInputWithName retrieves all iotevents.Input items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTEventsInputWithName(name string) (*iotevents.Input, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotevents.Input: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotevents.Input not found", name) -} - -// GetAllIoTFleetHubApplicationResources retrieves all iotfleethub.Application items from an AWS CloudFormation template -func (t *Template) GetAllIoTFleetHubApplicationResources() map[string]*iotfleethub.Application { - results := map[string]*iotfleethub.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotfleethub.Application: - results[name] = resource - } - } - return results -} - -// GetIoTFleetHubApplicationWithName retrieves all iotfleethub.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTFleetHubApplicationWithName(name string) (*iotfleethub.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotfleethub.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotfleethub.Application not found", name) -} - -// GetAllIoTSiteWiseAccessPolicyResources retrieves all iotsitewise.AccessPolicy items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseAccessPolicyResources() map[string]*iotsitewise.AccessPolicy { - results := map[string]*iotsitewise.AccessPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.AccessPolicy: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseAccessPolicyWithName retrieves all iotsitewise.AccessPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseAccessPolicyWithName(name string) (*iotsitewise.AccessPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.AccessPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.AccessPolicy not found", name) -} - -// GetAllIoTSiteWiseAssetResources retrieves all iotsitewise.Asset items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseAssetResources() map[string]*iotsitewise.Asset { - results := map[string]*iotsitewise.Asset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.Asset: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseAssetWithName retrieves all iotsitewise.Asset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseAssetWithName(name string) (*iotsitewise.Asset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.Asset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.Asset not found", name) -} - -// GetAllIoTSiteWiseAssetModelResources retrieves all iotsitewise.AssetModel items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseAssetModelResources() map[string]*iotsitewise.AssetModel { - results := map[string]*iotsitewise.AssetModel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.AssetModel: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseAssetModelWithName retrieves all iotsitewise.AssetModel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseAssetModelWithName(name string) (*iotsitewise.AssetModel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.AssetModel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.AssetModel not found", name) -} - -// GetAllIoTSiteWiseDashboardResources retrieves all iotsitewise.Dashboard items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseDashboardResources() map[string]*iotsitewise.Dashboard { - results := map[string]*iotsitewise.Dashboard{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.Dashboard: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseDashboardWithName retrieves all iotsitewise.Dashboard items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseDashboardWithName(name string) (*iotsitewise.Dashboard, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.Dashboard: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.Dashboard not found", name) -} - -// GetAllIoTSiteWiseGatewayResources retrieves all iotsitewise.Gateway items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseGatewayResources() map[string]*iotsitewise.Gateway { - results := map[string]*iotsitewise.Gateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.Gateway: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseGatewayWithName retrieves all iotsitewise.Gateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseGatewayWithName(name string) (*iotsitewise.Gateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.Gateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.Gateway not found", name) -} - -// GetAllIoTSiteWisePortalResources retrieves all iotsitewise.Portal items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWisePortalResources() map[string]*iotsitewise.Portal { - results := map[string]*iotsitewise.Portal{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.Portal: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWisePortalWithName retrieves all iotsitewise.Portal items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWisePortalWithName(name string) (*iotsitewise.Portal, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.Portal: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.Portal not found", name) -} - -// GetAllIoTSiteWiseProjectResources retrieves all iotsitewise.Project items from an AWS CloudFormation template -func (t *Template) GetAllIoTSiteWiseProjectResources() map[string]*iotsitewise.Project { - results := map[string]*iotsitewise.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotsitewise.Project: - results[name] = resource - } - } - return results -} - -// GetIoTSiteWiseProjectWithName retrieves all iotsitewise.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTSiteWiseProjectWithName(name string) (*iotsitewise.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotsitewise.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotsitewise.Project not found", name) -} - -// GetAllIoTThingsGraphFlowTemplateResources retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template -func (t *Template) GetAllIoTThingsGraphFlowTemplateResources() map[string]*iotthingsgraph.FlowTemplate { - results := map[string]*iotthingsgraph.FlowTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotthingsgraph.FlowTemplate: - results[name] = resource - } - } - return results -} - -// GetIoTThingsGraphFlowTemplateWithName retrieves all iotthingsgraph.FlowTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTThingsGraphFlowTemplateWithName(name string) (*iotthingsgraph.FlowTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotthingsgraph.FlowTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotthingsgraph.FlowTemplate not found", name) -} - -// GetAllIoTWirelessDestinationResources retrieves all iotwireless.Destination items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessDestinationResources() map[string]*iotwireless.Destination { - results := map[string]*iotwireless.Destination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.Destination: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessDestinationWithName retrieves all iotwireless.Destination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessDestinationWithName(name string) (*iotwireless.Destination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.Destination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.Destination not found", name) -} - -// GetAllIoTWirelessDeviceProfileResources retrieves all iotwireless.DeviceProfile items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessDeviceProfileResources() map[string]*iotwireless.DeviceProfile { - results := map[string]*iotwireless.DeviceProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.DeviceProfile: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessDeviceProfileWithName retrieves all iotwireless.DeviceProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessDeviceProfileWithName(name string) (*iotwireless.DeviceProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.DeviceProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.DeviceProfile not found", name) -} - -// GetAllIoTWirelessFuotaTaskResources retrieves all iotwireless.FuotaTask items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessFuotaTaskResources() map[string]*iotwireless.FuotaTask { - results := map[string]*iotwireless.FuotaTask{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.FuotaTask: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessFuotaTaskWithName retrieves all iotwireless.FuotaTask items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessFuotaTaskWithName(name string) (*iotwireless.FuotaTask, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.FuotaTask: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.FuotaTask not found", name) -} - -// GetAllIoTWirelessMulticastGroupResources retrieves all iotwireless.MulticastGroup items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessMulticastGroupResources() map[string]*iotwireless.MulticastGroup { - results := map[string]*iotwireless.MulticastGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.MulticastGroup: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessMulticastGroupWithName retrieves all iotwireless.MulticastGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessMulticastGroupWithName(name string) (*iotwireless.MulticastGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.MulticastGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.MulticastGroup not found", name) -} - -// GetAllIoTWirelessPartnerAccountResources retrieves all iotwireless.PartnerAccount items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessPartnerAccountResources() map[string]*iotwireless.PartnerAccount { - results := map[string]*iotwireless.PartnerAccount{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.PartnerAccount: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessPartnerAccountWithName retrieves all iotwireless.PartnerAccount items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessPartnerAccountWithName(name string) (*iotwireless.PartnerAccount, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.PartnerAccount: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.PartnerAccount not found", name) -} - -// GetAllIoTWirelessServiceProfileResources retrieves all iotwireless.ServiceProfile items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessServiceProfileResources() map[string]*iotwireless.ServiceProfile { - results := map[string]*iotwireless.ServiceProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.ServiceProfile: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessServiceProfileWithName retrieves all iotwireless.ServiceProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessServiceProfileWithName(name string) (*iotwireless.ServiceProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.ServiceProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.ServiceProfile not found", name) -} - -// GetAllIoTWirelessTaskDefinitionResources retrieves all iotwireless.TaskDefinition items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessTaskDefinitionResources() map[string]*iotwireless.TaskDefinition { - results := map[string]*iotwireless.TaskDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.TaskDefinition: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessTaskDefinitionWithName retrieves all iotwireless.TaskDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessTaskDefinitionWithName(name string) (*iotwireless.TaskDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.TaskDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.TaskDefinition not found", name) -} - -// GetAllIoTWirelessWirelessDeviceResources retrieves all iotwireless.WirelessDevice items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessWirelessDeviceResources() map[string]*iotwireless.WirelessDevice { - results := map[string]*iotwireless.WirelessDevice{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.WirelessDevice: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessWirelessDeviceWithName retrieves all iotwireless.WirelessDevice items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessWirelessDeviceWithName(name string) (*iotwireless.WirelessDevice, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.WirelessDevice: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.WirelessDevice not found", name) -} - -// GetAllIoTWirelessWirelessGatewayResources retrieves all iotwireless.WirelessGateway items from an AWS CloudFormation template -func (t *Template) GetAllIoTWirelessWirelessGatewayResources() map[string]*iotwireless.WirelessGateway { - results := map[string]*iotwireless.WirelessGateway{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *iotwireless.WirelessGateway: - results[name] = resource - } - } - return results -} - -// GetIoTWirelessWirelessGatewayWithName retrieves all iotwireless.WirelessGateway items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetIoTWirelessWirelessGatewayWithName(name string) (*iotwireless.WirelessGateway, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *iotwireless.WirelessGateway: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type iotwireless.WirelessGateway not found", name) -} - -// GetAllKMSAliasResources retrieves all kms.Alias items from an AWS CloudFormation template -func (t *Template) GetAllKMSAliasResources() map[string]*kms.Alias { - results := map[string]*kms.Alias{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kms.Alias: - results[name] = resource - } - } - return results -} - -// GetKMSAliasWithName retrieves all kms.Alias items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKMSAliasWithName(name string) (*kms.Alias, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kms.Alias: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kms.Alias not found", name) -} - -// GetAllKMSKeyResources retrieves all kms.Key items from an AWS CloudFormation template -func (t *Template) GetAllKMSKeyResources() map[string]*kms.Key { - results := map[string]*kms.Key{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kms.Key: - results[name] = resource - } - } - return results -} - -// GetKMSKeyWithName retrieves all kms.Key items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKMSKeyWithName(name string) (*kms.Key, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kms.Key: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kms.Key not found", name) -} - -// GetAllKMSReplicaKeyResources retrieves all kms.ReplicaKey items from an AWS CloudFormation template -func (t *Template) GetAllKMSReplicaKeyResources() map[string]*kms.ReplicaKey { - results := map[string]*kms.ReplicaKey{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kms.ReplicaKey: - results[name] = resource - } - } - return results -} - -// GetKMSReplicaKeyWithName retrieves all kms.ReplicaKey items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKMSReplicaKeyWithName(name string) (*kms.ReplicaKey, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kms.ReplicaKey: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kms.ReplicaKey not found", name) -} - -// GetAllKendraDataSourceResources retrieves all kendra.DataSource items from an AWS CloudFormation template -func (t *Template) GetAllKendraDataSourceResources() map[string]*kendra.DataSource { - results := map[string]*kendra.DataSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kendra.DataSource: - results[name] = resource - } - } - return results -} - -// GetKendraDataSourceWithName retrieves all kendra.DataSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKendraDataSourceWithName(name string) (*kendra.DataSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kendra.DataSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kendra.DataSource not found", name) -} - -// GetAllKendraFaqResources retrieves all kendra.Faq items from an AWS CloudFormation template -func (t *Template) GetAllKendraFaqResources() map[string]*kendra.Faq { - results := map[string]*kendra.Faq{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kendra.Faq: - results[name] = resource - } - } - return results -} - -// GetKendraFaqWithName retrieves all kendra.Faq items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKendraFaqWithName(name string) (*kendra.Faq, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kendra.Faq: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kendra.Faq not found", name) -} - -// GetAllKendraIndexResources retrieves all kendra.Index items from an AWS CloudFormation template -func (t *Template) GetAllKendraIndexResources() map[string]*kendra.Index { - results := map[string]*kendra.Index{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kendra.Index: - results[name] = resource - } - } - return results -} - -// GetKendraIndexWithName retrieves all kendra.Index items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKendraIndexWithName(name string) (*kendra.Index, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kendra.Index: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kendra.Index not found", name) -} - -// GetAllKinesisStreamResources retrieves all kinesis.Stream items from an AWS CloudFormation template -func (t *Template) GetAllKinesisStreamResources() map[string]*kinesis.Stream { - results := map[string]*kinesis.Stream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesis.Stream: - results[name] = resource - } - } - return results -} - -// GetKinesisStreamWithName retrieves all kinesis.Stream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisStreamWithName(name string) (*kinesis.Stream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesis.Stream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesis.Stream not found", name) -} - -// GetAllKinesisStreamConsumerResources retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template -func (t *Template) GetAllKinesisStreamConsumerResources() map[string]*kinesis.StreamConsumer { - results := map[string]*kinesis.StreamConsumer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesis.StreamConsumer: - results[name] = resource - } - } - return results -} - -// GetKinesisStreamConsumerWithName retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisStreamConsumerWithName(name string) (*kinesis.StreamConsumer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesis.StreamConsumer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesis.StreamConsumer not found", name) -} - -// GetAllKinesisAnalyticsApplicationResources retrieves all kinesisanalytics.Application items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationResources() map[string]*kinesisanalytics.Application { - results := map[string]*kinesisanalytics.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalytics.Application: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsApplicationWithName retrieves all kinesisanalytics.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationWithName(name string) (*kinesisanalytics.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalytics.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.Application not found", name) -} - -// GetAllKinesisAnalyticsApplicationOutputResources retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationOutputResources() map[string]*kinesisanalytics.ApplicationOutput { - results := map[string]*kinesisanalytics.ApplicationOutput{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationOutput: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsApplicationOutputWithName retrieves all kinesisanalytics.ApplicationOutput items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationOutputWithName(name string) (*kinesisanalytics.ApplicationOutput, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationOutput: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationOutput not found", name) -} - -// GetAllKinesisAnalyticsApplicationReferenceDataSourceResources retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsApplicationReferenceDataSourceResources() map[string]*kinesisanalytics.ApplicationReferenceDataSource { - results := map[string]*kinesisanalytics.ApplicationReferenceDataSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationReferenceDataSource: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsApplicationReferenceDataSourceWithName retrieves all kinesisanalytics.ApplicationReferenceDataSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsApplicationReferenceDataSourceWithName(name string) (*kinesisanalytics.ApplicationReferenceDataSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalytics.ApplicationReferenceDataSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalytics.ApplicationReferenceDataSource not found", name) -} - -// GetAllKinesisAnalyticsV2ApplicationResources retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationResources() map[string]*kinesisanalyticsv2.Application { - results := map[string]*kinesisanalyticsv2.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.Application: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsV2ApplicationWithName retrieves all kinesisanalyticsv2.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationWithName(name string) (*kinesisanalyticsv2.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.Application not found", name) -} - -// GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionResources() map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption { - results := map[string]*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName retrieves all kinesisanalyticsv2.ApplicationCloudWatchLoggingOption items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationCloudWatchLoggingOptionWithName(name string) (*kinesisanalyticsv2.ApplicationCloudWatchLoggingOption, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationCloudWatchLoggingOption: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationCloudWatchLoggingOption not found", name) -} - -// GetAllKinesisAnalyticsV2ApplicationOutputResources retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationOutputResources() map[string]*kinesisanalyticsv2.ApplicationOutput { - results := map[string]*kinesisanalyticsv2.ApplicationOutput{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationOutput: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsV2ApplicationOutputWithName retrieves all kinesisanalyticsv2.ApplicationOutput items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationOutputWithName(name string) (*kinesisanalyticsv2.ApplicationOutput, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationOutput: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationOutput not found", name) -} - -// GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template -func (t *Template) GetAllKinesisAnalyticsV2ApplicationReferenceDataSourceResources() map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource { - results := map[string]*kinesisanalyticsv2.ApplicationReferenceDataSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationReferenceDataSource: - results[name] = resource - } - } - return results -} - -// GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName retrieves all kinesisanalyticsv2.ApplicationReferenceDataSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisAnalyticsV2ApplicationReferenceDataSourceWithName(name string) (*kinesisanalyticsv2.ApplicationReferenceDataSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisanalyticsv2.ApplicationReferenceDataSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisanalyticsv2.ApplicationReferenceDataSource not found", name) -} - -// GetAllKinesisFirehoseDeliveryStreamResources retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template -func (t *Template) GetAllKinesisFirehoseDeliveryStreamResources() map[string]*kinesisfirehose.DeliveryStream { - results := map[string]*kinesisfirehose.DeliveryStream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *kinesisfirehose.DeliveryStream: - results[name] = resource - } - } - return results -} - -// GetKinesisFirehoseDeliveryStreamWithName retrieves all kinesisfirehose.DeliveryStream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetKinesisFirehoseDeliveryStreamWithName(name string) (*kinesisfirehose.DeliveryStream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *kinesisfirehose.DeliveryStream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type kinesisfirehose.DeliveryStream not found", name) -} - -// GetAllLakeFormationDataLakeSettingsResources retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationDataLakeSettingsResources() map[string]*lakeformation.DataLakeSettings { - results := map[string]*lakeformation.DataLakeSettings{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lakeformation.DataLakeSettings: - results[name] = resource - } - } - return results -} - -// GetLakeFormationDataLakeSettingsWithName retrieves all lakeformation.DataLakeSettings items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationDataLakeSettingsWithName(name string) (*lakeformation.DataLakeSettings, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lakeformation.DataLakeSettings: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lakeformation.DataLakeSettings not found", name) -} - -// GetAllLakeFormationPermissionsResources retrieves all lakeformation.Permissions items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationPermissionsResources() map[string]*lakeformation.Permissions { - results := map[string]*lakeformation.Permissions{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lakeformation.Permissions: - results[name] = resource - } - } - return results -} - -// GetLakeFormationPermissionsWithName retrieves all lakeformation.Permissions items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationPermissionsWithName(name string) (*lakeformation.Permissions, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lakeformation.Permissions: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lakeformation.Permissions not found", name) -} - -// GetAllLakeFormationResourceResources retrieves all lakeformation.Resource items from an AWS CloudFormation template -func (t *Template) GetAllLakeFormationResourceResources() map[string]*lakeformation.Resource { - results := map[string]*lakeformation.Resource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lakeformation.Resource: - results[name] = resource - } - } - return results -} - -// GetLakeFormationResourceWithName retrieves all lakeformation.Resource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLakeFormationResourceWithName(name string) (*lakeformation.Resource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lakeformation.Resource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lakeformation.Resource not found", name) -} - -// GetAllLambdaAliasResources retrieves all lambda.Alias items from an AWS CloudFormation template -func (t *Template) GetAllLambdaAliasResources() map[string]*lambda.Alias { - results := map[string]*lambda.Alias{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.Alias: - results[name] = resource - } - } - return results -} - -// GetLambdaAliasWithName retrieves all lambda.Alias items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaAliasWithName(name string) (*lambda.Alias, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.Alias: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.Alias not found", name) -} - -// GetAllLambdaCodeSigningConfigResources retrieves all lambda.CodeSigningConfig items from an AWS CloudFormation template -func (t *Template) GetAllLambdaCodeSigningConfigResources() map[string]*lambda.CodeSigningConfig { - results := map[string]*lambda.CodeSigningConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.CodeSigningConfig: - results[name] = resource - } - } - return results -} - -// GetLambdaCodeSigningConfigWithName retrieves all lambda.CodeSigningConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaCodeSigningConfigWithName(name string) (*lambda.CodeSigningConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.CodeSigningConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.CodeSigningConfig not found", name) -} - -// GetAllLambdaEventInvokeConfigResources retrieves all lambda.EventInvokeConfig items from an AWS CloudFormation template -func (t *Template) GetAllLambdaEventInvokeConfigResources() map[string]*lambda.EventInvokeConfig { - results := map[string]*lambda.EventInvokeConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.EventInvokeConfig: - results[name] = resource - } - } - return results -} - -// GetLambdaEventInvokeConfigWithName retrieves all lambda.EventInvokeConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaEventInvokeConfigWithName(name string) (*lambda.EventInvokeConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.EventInvokeConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.EventInvokeConfig not found", name) -} - -// GetAllLambdaEventSourceMappingResources retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template -func (t *Template) GetAllLambdaEventSourceMappingResources() map[string]*lambda.EventSourceMapping { - results := map[string]*lambda.EventSourceMapping{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.EventSourceMapping: - results[name] = resource - } - } - return results -} - -// GetLambdaEventSourceMappingWithName retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaEventSourceMappingWithName(name string) (*lambda.EventSourceMapping, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.EventSourceMapping: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.EventSourceMapping not found", name) -} - -// GetAllLambdaFunctionResources retrieves all lambda.Function items from an AWS CloudFormation template -func (t *Template) GetAllLambdaFunctionResources() map[string]*lambda.Function { - results := map[string]*lambda.Function{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.Function: - results[name] = resource - } - } - return results -} - -// GetLambdaFunctionWithName retrieves all lambda.Function items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaFunctionWithName(name string) (*lambda.Function, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.Function: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.Function not found", name) -} - -// GetAllLambdaLayerVersionResources retrieves all lambda.LayerVersion items from an AWS CloudFormation template -func (t *Template) GetAllLambdaLayerVersionResources() map[string]*lambda.LayerVersion { - results := map[string]*lambda.LayerVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.LayerVersion: - results[name] = resource - } - } - return results -} - -// GetLambdaLayerVersionWithName retrieves all lambda.LayerVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaLayerVersionWithName(name string) (*lambda.LayerVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.LayerVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.LayerVersion not found", name) -} - -// GetAllLambdaLayerVersionPermissionResources retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template -func (t *Template) GetAllLambdaLayerVersionPermissionResources() map[string]*lambda.LayerVersionPermission { - results := map[string]*lambda.LayerVersionPermission{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.LayerVersionPermission: - results[name] = resource - } - } - return results -} - -// GetLambdaLayerVersionPermissionWithName retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaLayerVersionPermissionWithName(name string) (*lambda.LayerVersionPermission, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.LayerVersionPermission: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.LayerVersionPermission not found", name) -} - -// GetAllLambdaPermissionResources retrieves all lambda.Permission items from an AWS CloudFormation template -func (t *Template) GetAllLambdaPermissionResources() map[string]*lambda.Permission { - results := map[string]*lambda.Permission{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.Permission: - results[name] = resource - } - } - return results -} - -// GetLambdaPermissionWithName retrieves all lambda.Permission items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaPermissionWithName(name string) (*lambda.Permission, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.Permission: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.Permission not found", name) -} - -// GetAllLambdaVersionResources retrieves all lambda.Version items from an AWS CloudFormation template -func (t *Template) GetAllLambdaVersionResources() map[string]*lambda.Version { - results := map[string]*lambda.Version{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lambda.Version: - results[name] = resource - } - } - return results -} - -// GetLambdaVersionWithName retrieves all lambda.Version items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLambdaVersionWithName(name string) (*lambda.Version, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lambda.Version: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lambda.Version not found", name) -} - -// GetAllLicenseManagerGrantResources retrieves all licensemanager.Grant items from an AWS CloudFormation template -func (t *Template) GetAllLicenseManagerGrantResources() map[string]*licensemanager.Grant { - results := map[string]*licensemanager.Grant{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *licensemanager.Grant: - results[name] = resource - } - } - return results -} - -// GetLicenseManagerGrantWithName retrieves all licensemanager.Grant items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLicenseManagerGrantWithName(name string) (*licensemanager.Grant, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *licensemanager.Grant: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type licensemanager.Grant not found", name) -} - -// GetAllLicenseManagerLicenseResources retrieves all licensemanager.License items from an AWS CloudFormation template -func (t *Template) GetAllLicenseManagerLicenseResources() map[string]*licensemanager.License { - results := map[string]*licensemanager.License{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *licensemanager.License: - results[name] = resource - } - } - return results -} - -// GetLicenseManagerLicenseWithName retrieves all licensemanager.License items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLicenseManagerLicenseWithName(name string) (*licensemanager.License, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *licensemanager.License: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type licensemanager.License not found", name) -} - -// GetAllLightsailDatabaseResources retrieves all lightsail.Database items from an AWS CloudFormation template -func (t *Template) GetAllLightsailDatabaseResources() map[string]*lightsail.Database { - results := map[string]*lightsail.Database{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lightsail.Database: - results[name] = resource - } - } - return results -} - -// GetLightsailDatabaseWithName retrieves all lightsail.Database items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLightsailDatabaseWithName(name string) (*lightsail.Database, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lightsail.Database: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lightsail.Database not found", name) -} - -// GetAllLightsailDiskResources retrieves all lightsail.Disk items from an AWS CloudFormation template -func (t *Template) GetAllLightsailDiskResources() map[string]*lightsail.Disk { - results := map[string]*lightsail.Disk{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lightsail.Disk: - results[name] = resource - } - } - return results -} - -// GetLightsailDiskWithName retrieves all lightsail.Disk items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLightsailDiskWithName(name string) (*lightsail.Disk, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lightsail.Disk: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lightsail.Disk not found", name) -} - -// GetAllLightsailInstanceResources retrieves all lightsail.Instance items from an AWS CloudFormation template -func (t *Template) GetAllLightsailInstanceResources() map[string]*lightsail.Instance { - results := map[string]*lightsail.Instance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lightsail.Instance: - results[name] = resource - } - } - return results -} - -// GetLightsailInstanceWithName retrieves all lightsail.Instance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLightsailInstanceWithName(name string) (*lightsail.Instance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lightsail.Instance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lightsail.Instance not found", name) -} - -// GetAllLightsailStaticIpResources retrieves all lightsail.StaticIp items from an AWS CloudFormation template -func (t *Template) GetAllLightsailStaticIpResources() map[string]*lightsail.StaticIp { - results := map[string]*lightsail.StaticIp{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lightsail.StaticIp: - results[name] = resource - } - } - return results -} - -// GetLightsailStaticIpWithName retrieves all lightsail.StaticIp items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLightsailStaticIpWithName(name string) (*lightsail.StaticIp, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lightsail.StaticIp: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lightsail.StaticIp not found", name) -} - -// GetAllLocationGeofenceCollectionResources retrieves all location.GeofenceCollection items from an AWS CloudFormation template -func (t *Template) GetAllLocationGeofenceCollectionResources() map[string]*location.GeofenceCollection { - results := map[string]*location.GeofenceCollection{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.GeofenceCollection: - results[name] = resource - } - } - return results -} - -// GetLocationGeofenceCollectionWithName retrieves all location.GeofenceCollection items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationGeofenceCollectionWithName(name string) (*location.GeofenceCollection, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.GeofenceCollection: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.GeofenceCollection not found", name) -} - -// GetAllLocationMapResources retrieves all location.Map items from an AWS CloudFormation template -func (t *Template) GetAllLocationMapResources() map[string]*location.Map { - results := map[string]*location.Map{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.Map: - results[name] = resource - } - } - return results -} - -// GetLocationMapWithName retrieves all location.Map items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationMapWithName(name string) (*location.Map, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.Map: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.Map not found", name) -} - -// GetAllLocationPlaceIndexResources retrieves all location.PlaceIndex items from an AWS CloudFormation template -func (t *Template) GetAllLocationPlaceIndexResources() map[string]*location.PlaceIndex { - results := map[string]*location.PlaceIndex{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.PlaceIndex: - results[name] = resource - } - } - return results -} - -// GetLocationPlaceIndexWithName retrieves all location.PlaceIndex items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationPlaceIndexWithName(name string) (*location.PlaceIndex, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.PlaceIndex: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.PlaceIndex not found", name) -} - -// GetAllLocationRouteCalculatorResources retrieves all location.RouteCalculator items from an AWS CloudFormation template -func (t *Template) GetAllLocationRouteCalculatorResources() map[string]*location.RouteCalculator { - results := map[string]*location.RouteCalculator{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.RouteCalculator: - results[name] = resource - } - } - return results -} - -// GetLocationRouteCalculatorWithName retrieves all location.RouteCalculator items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationRouteCalculatorWithName(name string) (*location.RouteCalculator, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.RouteCalculator: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.RouteCalculator not found", name) -} - -// GetAllLocationTrackerResources retrieves all location.Tracker items from an AWS CloudFormation template -func (t *Template) GetAllLocationTrackerResources() map[string]*location.Tracker { - results := map[string]*location.Tracker{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.Tracker: - results[name] = resource - } - } - return results -} - -// GetLocationTrackerWithName retrieves all location.Tracker items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationTrackerWithName(name string) (*location.Tracker, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.Tracker: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.Tracker not found", name) -} - -// GetAllLocationTrackerConsumerResources retrieves all location.TrackerConsumer items from an AWS CloudFormation template -func (t *Template) GetAllLocationTrackerConsumerResources() map[string]*location.TrackerConsumer { - results := map[string]*location.TrackerConsumer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *location.TrackerConsumer: - results[name] = resource - } - } - return results -} - -// GetLocationTrackerConsumerWithName retrieves all location.TrackerConsumer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLocationTrackerConsumerWithName(name string) (*location.TrackerConsumer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *location.TrackerConsumer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type location.TrackerConsumer not found", name) -} - -// GetAllLogsDestinationResources retrieves all logs.Destination items from an AWS CloudFormation template -func (t *Template) GetAllLogsDestinationResources() map[string]*logs.Destination { - results := map[string]*logs.Destination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.Destination: - results[name] = resource - } - } - return results -} - -// GetLogsDestinationWithName retrieves all logs.Destination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsDestinationWithName(name string) (*logs.Destination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.Destination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.Destination not found", name) -} - -// GetAllLogsLogGroupResources retrieves all logs.LogGroup items from an AWS CloudFormation template -func (t *Template) GetAllLogsLogGroupResources() map[string]*logs.LogGroup { - results := map[string]*logs.LogGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.LogGroup: - results[name] = resource - } - } - return results -} - -// GetLogsLogGroupWithName retrieves all logs.LogGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsLogGroupWithName(name string) (*logs.LogGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.LogGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.LogGroup not found", name) -} - -// GetAllLogsLogStreamResources retrieves all logs.LogStream items from an AWS CloudFormation template -func (t *Template) GetAllLogsLogStreamResources() map[string]*logs.LogStream { - results := map[string]*logs.LogStream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.LogStream: - results[name] = resource - } - } - return results -} - -// GetLogsLogStreamWithName retrieves all logs.LogStream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsLogStreamWithName(name string) (*logs.LogStream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.LogStream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.LogStream not found", name) -} - -// GetAllLogsMetricFilterResources retrieves all logs.MetricFilter items from an AWS CloudFormation template -func (t *Template) GetAllLogsMetricFilterResources() map[string]*logs.MetricFilter { - results := map[string]*logs.MetricFilter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.MetricFilter: - results[name] = resource - } - } - return results -} - -// GetLogsMetricFilterWithName retrieves all logs.MetricFilter items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsMetricFilterWithName(name string) (*logs.MetricFilter, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.MetricFilter: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.MetricFilter not found", name) -} - -// GetAllLogsQueryDefinitionResources retrieves all logs.QueryDefinition items from an AWS CloudFormation template -func (t *Template) GetAllLogsQueryDefinitionResources() map[string]*logs.QueryDefinition { - results := map[string]*logs.QueryDefinition{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.QueryDefinition: - results[name] = resource - } - } - return results -} - -// GetLogsQueryDefinitionWithName retrieves all logs.QueryDefinition items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsQueryDefinitionWithName(name string) (*logs.QueryDefinition, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.QueryDefinition: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.QueryDefinition not found", name) -} - -// GetAllLogsResourcePolicyResources retrieves all logs.ResourcePolicy items from an AWS CloudFormation template -func (t *Template) GetAllLogsResourcePolicyResources() map[string]*logs.ResourcePolicy { - results := map[string]*logs.ResourcePolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.ResourcePolicy: - results[name] = resource - } - } - return results -} - -// GetLogsResourcePolicyWithName retrieves all logs.ResourcePolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsResourcePolicyWithName(name string) (*logs.ResourcePolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.ResourcePolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.ResourcePolicy not found", name) -} - -// GetAllLogsSubscriptionFilterResources retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template -func (t *Template) GetAllLogsSubscriptionFilterResources() map[string]*logs.SubscriptionFilter { - results := map[string]*logs.SubscriptionFilter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *logs.SubscriptionFilter: - results[name] = resource - } - } - return results -} - -// GetLogsSubscriptionFilterWithName retrieves all logs.SubscriptionFilter items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLogsSubscriptionFilterWithName(name string) (*logs.SubscriptionFilter, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *logs.SubscriptionFilter: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type logs.SubscriptionFilter not found", name) -} - -// GetAllLookoutEquipmentInferenceSchedulerResources retrieves all lookoutequipment.InferenceScheduler items from an AWS CloudFormation template -func (t *Template) GetAllLookoutEquipmentInferenceSchedulerResources() map[string]*lookoutequipment.InferenceScheduler { - results := map[string]*lookoutequipment.InferenceScheduler{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lookoutequipment.InferenceScheduler: - results[name] = resource - } - } - return results -} - -// GetLookoutEquipmentInferenceSchedulerWithName retrieves all lookoutequipment.InferenceScheduler items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLookoutEquipmentInferenceSchedulerWithName(name string) (*lookoutequipment.InferenceScheduler, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lookoutequipment.InferenceScheduler: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lookoutequipment.InferenceScheduler not found", name) -} - -// GetAllLookoutMetricsAlertResources retrieves all lookoutmetrics.Alert items from an AWS CloudFormation template -func (t *Template) GetAllLookoutMetricsAlertResources() map[string]*lookoutmetrics.Alert { - results := map[string]*lookoutmetrics.Alert{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lookoutmetrics.Alert: - results[name] = resource - } - } - return results -} - -// GetLookoutMetricsAlertWithName retrieves all lookoutmetrics.Alert items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLookoutMetricsAlertWithName(name string) (*lookoutmetrics.Alert, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lookoutmetrics.Alert: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lookoutmetrics.Alert not found", name) -} - -// GetAllLookoutMetricsAnomalyDetectorResources retrieves all lookoutmetrics.AnomalyDetector items from an AWS CloudFormation template -func (t *Template) GetAllLookoutMetricsAnomalyDetectorResources() map[string]*lookoutmetrics.AnomalyDetector { - results := map[string]*lookoutmetrics.AnomalyDetector{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lookoutmetrics.AnomalyDetector: - results[name] = resource - } - } - return results -} - -// GetLookoutMetricsAnomalyDetectorWithName retrieves all lookoutmetrics.AnomalyDetector items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLookoutMetricsAnomalyDetectorWithName(name string) (*lookoutmetrics.AnomalyDetector, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lookoutmetrics.AnomalyDetector: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lookoutmetrics.AnomalyDetector not found", name) -} - -// GetAllLookoutVisionProjectResources retrieves all lookoutvision.Project items from an AWS CloudFormation template -func (t *Template) GetAllLookoutVisionProjectResources() map[string]*lookoutvision.Project { - results := map[string]*lookoutvision.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *lookoutvision.Project: - results[name] = resource - } - } - return results -} - -// GetLookoutVisionProjectWithName retrieves all lookoutvision.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetLookoutVisionProjectWithName(name string) (*lookoutvision.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *lookoutvision.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type lookoutvision.Project not found", name) -} - -// GetAllMSKClusterResources retrieves all msk.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllMSKClusterResources() map[string]*msk.Cluster { - results := map[string]*msk.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *msk.Cluster: - results[name] = resource - } - } - return results -} - -// GetMSKClusterWithName retrieves all msk.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMSKClusterWithName(name string) (*msk.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *msk.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type msk.Cluster not found", name) -} - -// GetAllMWAAEnvironmentResources retrieves all mwaa.Environment items from an AWS CloudFormation template -func (t *Template) GetAllMWAAEnvironmentResources() map[string]*mwaa.Environment { - results := map[string]*mwaa.Environment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mwaa.Environment: - results[name] = resource - } - } - return results -} - -// GetMWAAEnvironmentWithName retrieves all mwaa.Environment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMWAAEnvironmentWithName(name string) (*mwaa.Environment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mwaa.Environment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mwaa.Environment not found", name) -} - -// GetAllMacieCustomDataIdentifierResources retrieves all macie.CustomDataIdentifier items from an AWS CloudFormation template -func (t *Template) GetAllMacieCustomDataIdentifierResources() map[string]*macie.CustomDataIdentifier { - results := map[string]*macie.CustomDataIdentifier{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *macie.CustomDataIdentifier: - results[name] = resource - } - } - return results -} - -// GetMacieCustomDataIdentifierWithName retrieves all macie.CustomDataIdentifier items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMacieCustomDataIdentifierWithName(name string) (*macie.CustomDataIdentifier, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *macie.CustomDataIdentifier: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type macie.CustomDataIdentifier not found", name) -} - -// GetAllMacieFindingsFilterResources retrieves all macie.FindingsFilter items from an AWS CloudFormation template -func (t *Template) GetAllMacieFindingsFilterResources() map[string]*macie.FindingsFilter { - results := map[string]*macie.FindingsFilter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *macie.FindingsFilter: - results[name] = resource - } - } - return results -} - -// GetMacieFindingsFilterWithName retrieves all macie.FindingsFilter items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMacieFindingsFilterWithName(name string) (*macie.FindingsFilter, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *macie.FindingsFilter: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type macie.FindingsFilter not found", name) -} - -// GetAllMacieSessionResources retrieves all macie.Session items from an AWS CloudFormation template -func (t *Template) GetAllMacieSessionResources() map[string]*macie.Session { - results := map[string]*macie.Session{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *macie.Session: - results[name] = resource - } - } - return results -} - -// GetMacieSessionWithName retrieves all macie.Session items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMacieSessionWithName(name string) (*macie.Session, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *macie.Session: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type macie.Session not found", name) -} - -// GetAllManagedBlockchainMemberResources retrieves all managedblockchain.Member items from an AWS CloudFormation template -func (t *Template) GetAllManagedBlockchainMemberResources() map[string]*managedblockchain.Member { - results := map[string]*managedblockchain.Member{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *managedblockchain.Member: - results[name] = resource - } - } - return results -} - -// GetManagedBlockchainMemberWithName retrieves all managedblockchain.Member items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetManagedBlockchainMemberWithName(name string) (*managedblockchain.Member, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *managedblockchain.Member: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type managedblockchain.Member not found", name) -} - -// GetAllManagedBlockchainNodeResources retrieves all managedblockchain.Node items from an AWS CloudFormation template -func (t *Template) GetAllManagedBlockchainNodeResources() map[string]*managedblockchain.Node { - results := map[string]*managedblockchain.Node{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *managedblockchain.Node: - results[name] = resource - } - } - return results -} - -// GetManagedBlockchainNodeWithName retrieves all managedblockchain.Node items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetManagedBlockchainNodeWithName(name string) (*managedblockchain.Node, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *managedblockchain.Node: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type managedblockchain.Node not found", name) -} - -// GetAllMediaConnectFlowResources retrieves all mediaconnect.Flow items from an AWS CloudFormation template -func (t *Template) GetAllMediaConnectFlowResources() map[string]*mediaconnect.Flow { - results := map[string]*mediaconnect.Flow{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconnect.Flow: - results[name] = resource - } - } - return results -} - -// GetMediaConnectFlowWithName retrieves all mediaconnect.Flow items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConnectFlowWithName(name string) (*mediaconnect.Flow, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconnect.Flow: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconnect.Flow not found", name) -} - -// GetAllMediaConnectFlowEntitlementResources retrieves all mediaconnect.FlowEntitlement items from an AWS CloudFormation template -func (t *Template) GetAllMediaConnectFlowEntitlementResources() map[string]*mediaconnect.FlowEntitlement { - results := map[string]*mediaconnect.FlowEntitlement{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconnect.FlowEntitlement: - results[name] = resource - } - } - return results -} - -// GetMediaConnectFlowEntitlementWithName retrieves all mediaconnect.FlowEntitlement items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConnectFlowEntitlementWithName(name string) (*mediaconnect.FlowEntitlement, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconnect.FlowEntitlement: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconnect.FlowEntitlement not found", name) -} - -// GetAllMediaConnectFlowOutputResources retrieves all mediaconnect.FlowOutput items from an AWS CloudFormation template -func (t *Template) GetAllMediaConnectFlowOutputResources() map[string]*mediaconnect.FlowOutput { - results := map[string]*mediaconnect.FlowOutput{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconnect.FlowOutput: - results[name] = resource - } - } - return results -} - -// GetMediaConnectFlowOutputWithName retrieves all mediaconnect.FlowOutput items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConnectFlowOutputWithName(name string) (*mediaconnect.FlowOutput, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconnect.FlowOutput: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconnect.FlowOutput not found", name) -} - -// GetAllMediaConnectFlowSourceResources retrieves all mediaconnect.FlowSource items from an AWS CloudFormation template -func (t *Template) GetAllMediaConnectFlowSourceResources() map[string]*mediaconnect.FlowSource { - results := map[string]*mediaconnect.FlowSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconnect.FlowSource: - results[name] = resource - } - } - return results -} - -// GetMediaConnectFlowSourceWithName retrieves all mediaconnect.FlowSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConnectFlowSourceWithName(name string) (*mediaconnect.FlowSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconnect.FlowSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconnect.FlowSource not found", name) -} - -// GetAllMediaConnectFlowVpcInterfaceResources retrieves all mediaconnect.FlowVpcInterface items from an AWS CloudFormation template -func (t *Template) GetAllMediaConnectFlowVpcInterfaceResources() map[string]*mediaconnect.FlowVpcInterface { - results := map[string]*mediaconnect.FlowVpcInterface{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconnect.FlowVpcInterface: - results[name] = resource - } - } - return results -} - -// GetMediaConnectFlowVpcInterfaceWithName retrieves all mediaconnect.FlowVpcInterface items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConnectFlowVpcInterfaceWithName(name string) (*mediaconnect.FlowVpcInterface, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconnect.FlowVpcInterface: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconnect.FlowVpcInterface not found", name) -} - -// GetAllMediaConvertJobTemplateResources retrieves all mediaconvert.JobTemplate items from an AWS CloudFormation template -func (t *Template) GetAllMediaConvertJobTemplateResources() map[string]*mediaconvert.JobTemplate { - results := map[string]*mediaconvert.JobTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconvert.JobTemplate: - results[name] = resource - } - } - return results -} - -// GetMediaConvertJobTemplateWithName retrieves all mediaconvert.JobTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConvertJobTemplateWithName(name string) (*mediaconvert.JobTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconvert.JobTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconvert.JobTemplate not found", name) -} - -// GetAllMediaConvertPresetResources retrieves all mediaconvert.Preset items from an AWS CloudFormation template -func (t *Template) GetAllMediaConvertPresetResources() map[string]*mediaconvert.Preset { - results := map[string]*mediaconvert.Preset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconvert.Preset: - results[name] = resource - } - } - return results -} - -// GetMediaConvertPresetWithName retrieves all mediaconvert.Preset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConvertPresetWithName(name string) (*mediaconvert.Preset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconvert.Preset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconvert.Preset not found", name) -} - -// GetAllMediaConvertQueueResources retrieves all mediaconvert.Queue items from an AWS CloudFormation template -func (t *Template) GetAllMediaConvertQueueResources() map[string]*mediaconvert.Queue { - results := map[string]*mediaconvert.Queue{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediaconvert.Queue: - results[name] = resource - } - } - return results -} - -// GetMediaConvertQueueWithName retrieves all mediaconvert.Queue items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaConvertQueueWithName(name string) (*mediaconvert.Queue, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediaconvert.Queue: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediaconvert.Queue not found", name) -} - -// GetAllMediaLiveChannelResources retrieves all medialive.Channel items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveChannelResources() map[string]*medialive.Channel { - results := map[string]*medialive.Channel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *medialive.Channel: - results[name] = resource - } - } - return results -} - -// GetMediaLiveChannelWithName retrieves all medialive.Channel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveChannelWithName(name string) (*medialive.Channel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *medialive.Channel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type medialive.Channel not found", name) -} - -// GetAllMediaLiveInputResources retrieves all medialive.Input items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveInputResources() map[string]*medialive.Input { - results := map[string]*medialive.Input{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *medialive.Input: - results[name] = resource - } - } - return results -} - -// GetMediaLiveInputWithName retrieves all medialive.Input items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveInputWithName(name string) (*medialive.Input, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *medialive.Input: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type medialive.Input not found", name) -} - -// GetAllMediaLiveInputSecurityGroupResources retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllMediaLiveInputSecurityGroupResources() map[string]*medialive.InputSecurityGroup { - results := map[string]*medialive.InputSecurityGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *medialive.InputSecurityGroup: - results[name] = resource - } - } - return results -} - -// GetMediaLiveInputSecurityGroupWithName retrieves all medialive.InputSecurityGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaLiveInputSecurityGroupWithName(name string) (*medialive.InputSecurityGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *medialive.InputSecurityGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type medialive.InputSecurityGroup not found", name) -} - -// GetAllMediaPackageAssetResources retrieves all mediapackage.Asset items from an AWS CloudFormation template -func (t *Template) GetAllMediaPackageAssetResources() map[string]*mediapackage.Asset { - results := map[string]*mediapackage.Asset{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediapackage.Asset: - results[name] = resource - } - } - return results -} - -// GetMediaPackageAssetWithName retrieves all mediapackage.Asset items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaPackageAssetWithName(name string) (*mediapackage.Asset, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediapackage.Asset: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediapackage.Asset not found", name) -} - -// GetAllMediaPackageChannelResources retrieves all mediapackage.Channel items from an AWS CloudFormation template -func (t *Template) GetAllMediaPackageChannelResources() map[string]*mediapackage.Channel { - results := map[string]*mediapackage.Channel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediapackage.Channel: - results[name] = resource - } - } - return results -} - -// GetMediaPackageChannelWithName retrieves all mediapackage.Channel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaPackageChannelWithName(name string) (*mediapackage.Channel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediapackage.Channel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediapackage.Channel not found", name) -} - -// GetAllMediaPackageOriginEndpointResources retrieves all mediapackage.OriginEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllMediaPackageOriginEndpointResources() map[string]*mediapackage.OriginEndpoint { - results := map[string]*mediapackage.OriginEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediapackage.OriginEndpoint: - results[name] = resource - } - } - return results -} - -// GetMediaPackageOriginEndpointWithName retrieves all mediapackage.OriginEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaPackageOriginEndpointWithName(name string) (*mediapackage.OriginEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediapackage.OriginEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediapackage.OriginEndpoint not found", name) -} - -// GetAllMediaPackagePackagingConfigurationResources retrieves all mediapackage.PackagingConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllMediaPackagePackagingConfigurationResources() map[string]*mediapackage.PackagingConfiguration { - results := map[string]*mediapackage.PackagingConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediapackage.PackagingConfiguration: - results[name] = resource - } - } - return results -} - -// GetMediaPackagePackagingConfigurationWithName retrieves all mediapackage.PackagingConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaPackagePackagingConfigurationWithName(name string) (*mediapackage.PackagingConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediapackage.PackagingConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediapackage.PackagingConfiguration not found", name) -} - -// GetAllMediaPackagePackagingGroupResources retrieves all mediapackage.PackagingGroup items from an AWS CloudFormation template -func (t *Template) GetAllMediaPackagePackagingGroupResources() map[string]*mediapackage.PackagingGroup { - results := map[string]*mediapackage.PackagingGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediapackage.PackagingGroup: - results[name] = resource - } - } - return results -} - -// GetMediaPackagePackagingGroupWithName retrieves all mediapackage.PackagingGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaPackagePackagingGroupWithName(name string) (*mediapackage.PackagingGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediapackage.PackagingGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediapackage.PackagingGroup not found", name) -} - -// GetAllMediaStoreContainerResources retrieves all mediastore.Container items from an AWS CloudFormation template -func (t *Template) GetAllMediaStoreContainerResources() map[string]*mediastore.Container { - results := map[string]*mediastore.Container{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *mediastore.Container: - results[name] = resource - } - } - return results -} - -// GetMediaStoreContainerWithName retrieves all mediastore.Container items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMediaStoreContainerWithName(name string) (*mediastore.Container, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *mediastore.Container: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type mediastore.Container not found", name) -} - -// GetAllMemoryDBACLResources retrieves all memorydb.ACL items from an AWS CloudFormation template -func (t *Template) GetAllMemoryDBACLResources() map[string]*memorydb.ACL { - results := map[string]*memorydb.ACL{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *memorydb.ACL: - results[name] = resource - } - } - return results -} - -// GetMemoryDBACLWithName retrieves all memorydb.ACL items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMemoryDBACLWithName(name string) (*memorydb.ACL, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *memorydb.ACL: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type memorydb.ACL not found", name) -} - -// GetAllMemoryDBClusterResources retrieves all memorydb.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllMemoryDBClusterResources() map[string]*memorydb.Cluster { - results := map[string]*memorydb.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *memorydb.Cluster: - results[name] = resource - } - } - return results -} - -// GetMemoryDBClusterWithName retrieves all memorydb.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMemoryDBClusterWithName(name string) (*memorydb.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *memorydb.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type memorydb.Cluster not found", name) -} - -// GetAllMemoryDBParameterGroupResources retrieves all memorydb.ParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllMemoryDBParameterGroupResources() map[string]*memorydb.ParameterGroup { - results := map[string]*memorydb.ParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *memorydb.ParameterGroup: - results[name] = resource - } - } - return results -} - -// GetMemoryDBParameterGroupWithName retrieves all memorydb.ParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMemoryDBParameterGroupWithName(name string) (*memorydb.ParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *memorydb.ParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type memorydb.ParameterGroup not found", name) -} - -// GetAllMemoryDBSubnetGroupResources retrieves all memorydb.SubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllMemoryDBSubnetGroupResources() map[string]*memorydb.SubnetGroup { - results := map[string]*memorydb.SubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *memorydb.SubnetGroup: - results[name] = resource - } - } - return results -} - -// GetMemoryDBSubnetGroupWithName retrieves all memorydb.SubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMemoryDBSubnetGroupWithName(name string) (*memorydb.SubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *memorydb.SubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type memorydb.SubnetGroup not found", name) -} - -// GetAllMemoryDBUserResources retrieves all memorydb.User items from an AWS CloudFormation template -func (t *Template) GetAllMemoryDBUserResources() map[string]*memorydb.User { - results := map[string]*memorydb.User{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *memorydb.User: - results[name] = resource - } - } - return results -} - -// GetMemoryDBUserWithName retrieves all memorydb.User items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetMemoryDBUserWithName(name string) (*memorydb.User, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *memorydb.User: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type memorydb.User not found", name) -} - -// GetAllNeptuneDBClusterResources retrieves all neptune.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBClusterResources() map[string]*neptune.DBCluster { - results := map[string]*neptune.DBCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *neptune.DBCluster: - results[name] = resource - } - } - return results -} - -// GetNeptuneDBClusterWithName retrieves all neptune.DBCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBClusterWithName(name string) (*neptune.DBCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *neptune.DBCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type neptune.DBCluster not found", name) -} - -// GetAllNeptuneDBClusterParameterGroupResources retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBClusterParameterGroupResources() map[string]*neptune.DBClusterParameterGroup { - results := map[string]*neptune.DBClusterParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *neptune.DBClusterParameterGroup: - results[name] = resource - } - } - return results -} - -// GetNeptuneDBClusterParameterGroupWithName retrieves all neptune.DBClusterParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBClusterParameterGroupWithName(name string) (*neptune.DBClusterParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *neptune.DBClusterParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type neptune.DBClusterParameterGroup not found", name) -} - -// GetAllNeptuneDBInstanceResources retrieves all neptune.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBInstanceResources() map[string]*neptune.DBInstance { - results := map[string]*neptune.DBInstance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *neptune.DBInstance: - results[name] = resource - } - } - return results -} - -// GetNeptuneDBInstanceWithName retrieves all neptune.DBInstance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBInstanceWithName(name string) (*neptune.DBInstance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *neptune.DBInstance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type neptune.DBInstance not found", name) -} - -// GetAllNeptuneDBParameterGroupResources retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBParameterGroupResources() map[string]*neptune.DBParameterGroup { - results := map[string]*neptune.DBParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *neptune.DBParameterGroup: - results[name] = resource - } - } - return results -} - -// GetNeptuneDBParameterGroupWithName retrieves all neptune.DBParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBParameterGroupWithName(name string) (*neptune.DBParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *neptune.DBParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type neptune.DBParameterGroup not found", name) -} - -// GetAllNeptuneDBSubnetGroupResources retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllNeptuneDBSubnetGroupResources() map[string]*neptune.DBSubnetGroup { - results := map[string]*neptune.DBSubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *neptune.DBSubnetGroup: - results[name] = resource - } - } - return results -} - -// GetNeptuneDBSubnetGroupWithName retrieves all neptune.DBSubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNeptuneDBSubnetGroupWithName(name string) (*neptune.DBSubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *neptune.DBSubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type neptune.DBSubnetGroup not found", name) -} - -// GetAllNetworkFirewallFirewallResources retrieves all networkfirewall.Firewall items from an AWS CloudFormation template -func (t *Template) GetAllNetworkFirewallFirewallResources() map[string]*networkfirewall.Firewall { - results := map[string]*networkfirewall.Firewall{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkfirewall.Firewall: - results[name] = resource - } - } - return results -} - -// GetNetworkFirewallFirewallWithName retrieves all networkfirewall.Firewall items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkFirewallFirewallWithName(name string) (*networkfirewall.Firewall, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkfirewall.Firewall: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkfirewall.Firewall not found", name) -} - -// GetAllNetworkFirewallFirewallPolicyResources retrieves all networkfirewall.FirewallPolicy items from an AWS CloudFormation template -func (t *Template) GetAllNetworkFirewallFirewallPolicyResources() map[string]*networkfirewall.FirewallPolicy { - results := map[string]*networkfirewall.FirewallPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkfirewall.FirewallPolicy: - results[name] = resource - } - } - return results -} - -// GetNetworkFirewallFirewallPolicyWithName retrieves all networkfirewall.FirewallPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkFirewallFirewallPolicyWithName(name string) (*networkfirewall.FirewallPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkfirewall.FirewallPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkfirewall.FirewallPolicy not found", name) -} - -// GetAllNetworkFirewallLoggingConfigurationResources retrieves all networkfirewall.LoggingConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllNetworkFirewallLoggingConfigurationResources() map[string]*networkfirewall.LoggingConfiguration { - results := map[string]*networkfirewall.LoggingConfiguration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkfirewall.LoggingConfiguration: - results[name] = resource - } - } - return results -} - -// GetNetworkFirewallLoggingConfigurationWithName retrieves all networkfirewall.LoggingConfiguration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkFirewallLoggingConfigurationWithName(name string) (*networkfirewall.LoggingConfiguration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkfirewall.LoggingConfiguration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkfirewall.LoggingConfiguration not found", name) -} - -// GetAllNetworkFirewallRuleGroupResources retrieves all networkfirewall.RuleGroup items from an AWS CloudFormation template -func (t *Template) GetAllNetworkFirewallRuleGroupResources() map[string]*networkfirewall.RuleGroup { - results := map[string]*networkfirewall.RuleGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkfirewall.RuleGroup: - results[name] = resource - } - } - return results -} - -// GetNetworkFirewallRuleGroupWithName retrieves all networkfirewall.RuleGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkFirewallRuleGroupWithName(name string) (*networkfirewall.RuleGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkfirewall.RuleGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkfirewall.RuleGroup not found", name) -} - -// GetAllNetworkManagerCustomerGatewayAssociationResources retrieves all networkmanager.CustomerGatewayAssociation items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerCustomerGatewayAssociationResources() map[string]*networkmanager.CustomerGatewayAssociation { - results := map[string]*networkmanager.CustomerGatewayAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.CustomerGatewayAssociation: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerCustomerGatewayAssociationWithName retrieves all networkmanager.CustomerGatewayAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerCustomerGatewayAssociationWithName(name string) (*networkmanager.CustomerGatewayAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.CustomerGatewayAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.CustomerGatewayAssociation not found", name) -} - -// GetAllNetworkManagerDeviceResources retrieves all networkmanager.Device items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerDeviceResources() map[string]*networkmanager.Device { - results := map[string]*networkmanager.Device{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.Device: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerDeviceWithName retrieves all networkmanager.Device items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerDeviceWithName(name string) (*networkmanager.Device, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.Device: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.Device not found", name) -} - -// GetAllNetworkManagerGlobalNetworkResources retrieves all networkmanager.GlobalNetwork items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerGlobalNetworkResources() map[string]*networkmanager.GlobalNetwork { - results := map[string]*networkmanager.GlobalNetwork{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.GlobalNetwork: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerGlobalNetworkWithName retrieves all networkmanager.GlobalNetwork items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerGlobalNetworkWithName(name string) (*networkmanager.GlobalNetwork, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.GlobalNetwork: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.GlobalNetwork not found", name) -} - -// GetAllNetworkManagerLinkResources retrieves all networkmanager.Link items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerLinkResources() map[string]*networkmanager.Link { - results := map[string]*networkmanager.Link{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.Link: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerLinkWithName retrieves all networkmanager.Link items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerLinkWithName(name string) (*networkmanager.Link, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.Link: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.Link not found", name) -} - -// GetAllNetworkManagerLinkAssociationResources retrieves all networkmanager.LinkAssociation items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerLinkAssociationResources() map[string]*networkmanager.LinkAssociation { - results := map[string]*networkmanager.LinkAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.LinkAssociation: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerLinkAssociationWithName retrieves all networkmanager.LinkAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerLinkAssociationWithName(name string) (*networkmanager.LinkAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.LinkAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.LinkAssociation not found", name) -} - -// GetAllNetworkManagerSiteResources retrieves all networkmanager.Site items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerSiteResources() map[string]*networkmanager.Site { - results := map[string]*networkmanager.Site{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.Site: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerSiteWithName retrieves all networkmanager.Site items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerSiteWithName(name string) (*networkmanager.Site, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.Site: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.Site not found", name) -} - -// GetAllNetworkManagerTransitGatewayRegistrationResources retrieves all networkmanager.TransitGatewayRegistration items from an AWS CloudFormation template -func (t *Template) GetAllNetworkManagerTransitGatewayRegistrationResources() map[string]*networkmanager.TransitGatewayRegistration { - results := map[string]*networkmanager.TransitGatewayRegistration{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *networkmanager.TransitGatewayRegistration: - results[name] = resource - } - } - return results -} - -// GetNetworkManagerTransitGatewayRegistrationWithName retrieves all networkmanager.TransitGatewayRegistration items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNetworkManagerTransitGatewayRegistrationWithName(name string) (*networkmanager.TransitGatewayRegistration, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *networkmanager.TransitGatewayRegistration: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type networkmanager.TransitGatewayRegistration not found", name) -} - -// GetAllNimbleStudioLaunchProfileResources retrieves all nimblestudio.LaunchProfile items from an AWS CloudFormation template -func (t *Template) GetAllNimbleStudioLaunchProfileResources() map[string]*nimblestudio.LaunchProfile { - results := map[string]*nimblestudio.LaunchProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *nimblestudio.LaunchProfile: - results[name] = resource - } - } - return results -} - -// GetNimbleStudioLaunchProfileWithName retrieves all nimblestudio.LaunchProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNimbleStudioLaunchProfileWithName(name string) (*nimblestudio.LaunchProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *nimblestudio.LaunchProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type nimblestudio.LaunchProfile not found", name) -} - -// GetAllNimbleStudioStreamingImageResources retrieves all nimblestudio.StreamingImage items from an AWS CloudFormation template -func (t *Template) GetAllNimbleStudioStreamingImageResources() map[string]*nimblestudio.StreamingImage { - results := map[string]*nimblestudio.StreamingImage{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *nimblestudio.StreamingImage: - results[name] = resource - } - } - return results -} - -// GetNimbleStudioStreamingImageWithName retrieves all nimblestudio.StreamingImage items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNimbleStudioStreamingImageWithName(name string) (*nimblestudio.StreamingImage, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *nimblestudio.StreamingImage: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type nimblestudio.StreamingImage not found", name) -} - -// GetAllNimbleStudioStudioResources retrieves all nimblestudio.Studio items from an AWS CloudFormation template -func (t *Template) GetAllNimbleStudioStudioResources() map[string]*nimblestudio.Studio { - results := map[string]*nimblestudio.Studio{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *nimblestudio.Studio: - results[name] = resource - } - } - return results -} - -// GetNimbleStudioStudioWithName retrieves all nimblestudio.Studio items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNimbleStudioStudioWithName(name string) (*nimblestudio.Studio, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *nimblestudio.Studio: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type nimblestudio.Studio not found", name) -} - -// GetAllNimbleStudioStudioComponentResources retrieves all nimblestudio.StudioComponent items from an AWS CloudFormation template -func (t *Template) GetAllNimbleStudioStudioComponentResources() map[string]*nimblestudio.StudioComponent { - results := map[string]*nimblestudio.StudioComponent{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *nimblestudio.StudioComponent: - results[name] = resource - } - } - return results -} - -// GetNimbleStudioStudioComponentWithName retrieves all nimblestudio.StudioComponent items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetNimbleStudioStudioComponentWithName(name string) (*nimblestudio.StudioComponent, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *nimblestudio.StudioComponent: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type nimblestudio.StudioComponent not found", name) -} - -// GetAllOpenSearchServiceDomainResources retrieves all opensearchservice.Domain items from an AWS CloudFormation template -func (t *Template) GetAllOpenSearchServiceDomainResources() map[string]*opensearchservice.Domain { - results := map[string]*opensearchservice.Domain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opensearchservice.Domain: - results[name] = resource - } - } - return results -} - -// GetOpenSearchServiceDomainWithName retrieves all opensearchservice.Domain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpenSearchServiceDomainWithName(name string) (*opensearchservice.Domain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opensearchservice.Domain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opensearchservice.Domain not found", name) -} - -// GetAllOpsWorksAppResources retrieves all opsworks.App items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksAppResources() map[string]*opsworks.App { - results := map[string]*opsworks.App{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.App: - results[name] = resource - } - } - return results -} - -// GetOpsWorksAppWithName retrieves all opsworks.App items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksAppWithName(name string) (*opsworks.App, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.App: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.App not found", name) -} - -// GetAllOpsWorksElasticLoadBalancerAttachmentResources retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksElasticLoadBalancerAttachmentResources() map[string]*opsworks.ElasticLoadBalancerAttachment { - results := map[string]*opsworks.ElasticLoadBalancerAttachment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.ElasticLoadBalancerAttachment: - results[name] = resource - } - } - return results -} - -// GetOpsWorksElasticLoadBalancerAttachmentWithName retrieves all opsworks.ElasticLoadBalancerAttachment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksElasticLoadBalancerAttachmentWithName(name string) (*opsworks.ElasticLoadBalancerAttachment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.ElasticLoadBalancerAttachment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.ElasticLoadBalancerAttachment not found", name) -} - -// GetAllOpsWorksInstanceResources retrieves all opsworks.Instance items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksInstanceResources() map[string]*opsworks.Instance { - results := map[string]*opsworks.Instance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.Instance: - results[name] = resource - } - } - return results -} - -// GetOpsWorksInstanceWithName retrieves all opsworks.Instance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksInstanceWithName(name string) (*opsworks.Instance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.Instance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.Instance not found", name) -} - -// GetAllOpsWorksLayerResources retrieves all opsworks.Layer items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksLayerResources() map[string]*opsworks.Layer { - results := map[string]*opsworks.Layer{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.Layer: - results[name] = resource - } - } - return results -} - -// GetOpsWorksLayerWithName retrieves all opsworks.Layer items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksLayerWithName(name string) (*opsworks.Layer, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.Layer: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.Layer not found", name) -} - -// GetAllOpsWorksStackResources retrieves all opsworks.Stack items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksStackResources() map[string]*opsworks.Stack { - results := map[string]*opsworks.Stack{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.Stack: - results[name] = resource - } - } - return results -} - -// GetOpsWorksStackWithName retrieves all opsworks.Stack items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksStackWithName(name string) (*opsworks.Stack, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.Stack: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.Stack not found", name) -} - -// GetAllOpsWorksUserProfileResources retrieves all opsworks.UserProfile items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksUserProfileResources() map[string]*opsworks.UserProfile { - results := map[string]*opsworks.UserProfile{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.UserProfile: - results[name] = resource - } - } - return results -} - -// GetOpsWorksUserProfileWithName retrieves all opsworks.UserProfile items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksUserProfileWithName(name string) (*opsworks.UserProfile, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.UserProfile: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.UserProfile not found", name) -} - -// GetAllOpsWorksVolumeResources retrieves all opsworks.Volume items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksVolumeResources() map[string]*opsworks.Volume { - results := map[string]*opsworks.Volume{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworks.Volume: - results[name] = resource - } - } - return results -} - -// GetOpsWorksVolumeWithName retrieves all opsworks.Volume items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksVolumeWithName(name string) (*opsworks.Volume, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworks.Volume: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworks.Volume not found", name) -} - -// GetAllOpsWorksCMServerResources retrieves all opsworkscm.Server items from an AWS CloudFormation template -func (t *Template) GetAllOpsWorksCMServerResources() map[string]*opsworkscm.Server { - results := map[string]*opsworkscm.Server{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *opsworkscm.Server: - results[name] = resource - } - } - return results -} - -// GetOpsWorksCMServerWithName retrieves all opsworkscm.Server items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetOpsWorksCMServerWithName(name string) (*opsworkscm.Server, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *opsworkscm.Server: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type opsworkscm.Server not found", name) -} - -// GetAllPanoramaApplicationInstanceResources retrieves all panorama.ApplicationInstance items from an AWS CloudFormation template -func (t *Template) GetAllPanoramaApplicationInstanceResources() map[string]*panorama.ApplicationInstance { - results := map[string]*panorama.ApplicationInstance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *panorama.ApplicationInstance: - results[name] = resource - } - } - return results -} - -// GetPanoramaApplicationInstanceWithName retrieves all panorama.ApplicationInstance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPanoramaApplicationInstanceWithName(name string) (*panorama.ApplicationInstance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *panorama.ApplicationInstance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type panorama.ApplicationInstance not found", name) -} - -// GetAllPanoramaPackageResources retrieves all panorama.Package items from an AWS CloudFormation template -func (t *Template) GetAllPanoramaPackageResources() map[string]*panorama.Package { - results := map[string]*panorama.Package{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *panorama.Package: - results[name] = resource - } - } - return results -} - -// GetPanoramaPackageWithName retrieves all panorama.Package items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPanoramaPackageWithName(name string) (*panorama.Package, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *panorama.Package: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type panorama.Package not found", name) -} - -// GetAllPanoramaPackageVersionResources retrieves all panorama.PackageVersion items from an AWS CloudFormation template -func (t *Template) GetAllPanoramaPackageVersionResources() map[string]*panorama.PackageVersion { - results := map[string]*panorama.PackageVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *panorama.PackageVersion: - results[name] = resource - } - } - return results -} - -// GetPanoramaPackageVersionWithName retrieves all panorama.PackageVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPanoramaPackageVersionWithName(name string) (*panorama.PackageVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *panorama.PackageVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type panorama.PackageVersion not found", name) -} - -// GetAllPinpointADMChannelResources retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointADMChannelResources() map[string]*pinpoint.ADMChannel { - results := map[string]*pinpoint.ADMChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.ADMChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointADMChannelWithName retrieves all pinpoint.ADMChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointADMChannelWithName(name string) (*pinpoint.ADMChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.ADMChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.ADMChannel not found", name) -} - -// GetAllPinpointAPNSChannelResources retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSChannelResources() map[string]*pinpoint.APNSChannel { - results := map[string]*pinpoint.APNSChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.APNSChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointAPNSChannelWithName retrieves all pinpoint.APNSChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSChannelWithName(name string) (*pinpoint.APNSChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.APNSChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSChannel not found", name) -} - -// GetAllPinpointAPNSSandboxChannelResources retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSSandboxChannelResources() map[string]*pinpoint.APNSSandboxChannel { - results := map[string]*pinpoint.APNSSandboxChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.APNSSandboxChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointAPNSSandboxChannelWithName retrieves all pinpoint.APNSSandboxChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSSandboxChannelWithName(name string) (*pinpoint.APNSSandboxChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.APNSSandboxChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSSandboxChannel not found", name) -} - -// GetAllPinpointAPNSVoipChannelResources retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSVoipChannelResources() map[string]*pinpoint.APNSVoipChannel { - results := map[string]*pinpoint.APNSVoipChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.APNSVoipChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointAPNSVoipChannelWithName retrieves all pinpoint.APNSVoipChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSVoipChannelWithName(name string) (*pinpoint.APNSVoipChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.APNSVoipChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipChannel not found", name) -} - -// GetAllPinpointAPNSVoipSandboxChannelResources retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAPNSVoipSandboxChannelResources() map[string]*pinpoint.APNSVoipSandboxChannel { - results := map[string]*pinpoint.APNSVoipSandboxChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.APNSVoipSandboxChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointAPNSVoipSandboxChannelWithName retrieves all pinpoint.APNSVoipSandboxChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAPNSVoipSandboxChannelWithName(name string) (*pinpoint.APNSVoipSandboxChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.APNSVoipSandboxChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.APNSVoipSandboxChannel not found", name) -} - -// GetAllPinpointAppResources retrieves all pinpoint.App items from an AWS CloudFormation template -func (t *Template) GetAllPinpointAppResources() map[string]*pinpoint.App { - results := map[string]*pinpoint.App{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.App: - results[name] = resource - } - } - return results -} - -// GetPinpointAppWithName retrieves all pinpoint.App items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointAppWithName(name string) (*pinpoint.App, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.App: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.App not found", name) -} - -// GetAllPinpointApplicationSettingsResources retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template -func (t *Template) GetAllPinpointApplicationSettingsResources() map[string]*pinpoint.ApplicationSettings { - results := map[string]*pinpoint.ApplicationSettings{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.ApplicationSettings: - results[name] = resource - } - } - return results -} - -// GetPinpointApplicationSettingsWithName retrieves all pinpoint.ApplicationSettings items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointApplicationSettingsWithName(name string) (*pinpoint.ApplicationSettings, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.ApplicationSettings: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.ApplicationSettings not found", name) -} - -// GetAllPinpointBaiduChannelResources retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointBaiduChannelResources() map[string]*pinpoint.BaiduChannel { - results := map[string]*pinpoint.BaiduChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.BaiduChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointBaiduChannelWithName retrieves all pinpoint.BaiduChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointBaiduChannelWithName(name string) (*pinpoint.BaiduChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.BaiduChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.BaiduChannel not found", name) -} - -// GetAllPinpointCampaignResources retrieves all pinpoint.Campaign items from an AWS CloudFormation template -func (t *Template) GetAllPinpointCampaignResources() map[string]*pinpoint.Campaign { - results := map[string]*pinpoint.Campaign{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.Campaign: - results[name] = resource - } - } - return results -} - -// GetPinpointCampaignWithName retrieves all pinpoint.Campaign items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointCampaignWithName(name string) (*pinpoint.Campaign, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.Campaign: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.Campaign not found", name) -} - -// GetAllPinpointEmailChannelResources retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailChannelResources() map[string]*pinpoint.EmailChannel { - results := map[string]*pinpoint.EmailChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.EmailChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailChannelWithName retrieves all pinpoint.EmailChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailChannelWithName(name string) (*pinpoint.EmailChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.EmailChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.EmailChannel not found", name) -} - -// GetAllPinpointEmailTemplateResources retrieves all pinpoint.EmailTemplate items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailTemplateResources() map[string]*pinpoint.EmailTemplate { - results := map[string]*pinpoint.EmailTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.EmailTemplate: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailTemplateWithName retrieves all pinpoint.EmailTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailTemplateWithName(name string) (*pinpoint.EmailTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.EmailTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.EmailTemplate not found", name) -} - -// GetAllPinpointEventStreamResources retrieves all pinpoint.EventStream items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEventStreamResources() map[string]*pinpoint.EventStream { - results := map[string]*pinpoint.EventStream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.EventStream: - results[name] = resource - } - } - return results -} - -// GetPinpointEventStreamWithName retrieves all pinpoint.EventStream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEventStreamWithName(name string) (*pinpoint.EventStream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.EventStream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.EventStream not found", name) -} - -// GetAllPinpointGCMChannelResources retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointGCMChannelResources() map[string]*pinpoint.GCMChannel { - results := map[string]*pinpoint.GCMChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.GCMChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointGCMChannelWithName retrieves all pinpoint.GCMChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointGCMChannelWithName(name string) (*pinpoint.GCMChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.GCMChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.GCMChannel not found", name) -} - -// GetAllPinpointInAppTemplateResources retrieves all pinpoint.InAppTemplate items from an AWS CloudFormation template -func (t *Template) GetAllPinpointInAppTemplateResources() map[string]*pinpoint.InAppTemplate { - results := map[string]*pinpoint.InAppTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.InAppTemplate: - results[name] = resource - } - } - return results -} - -// GetPinpointInAppTemplateWithName retrieves all pinpoint.InAppTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointInAppTemplateWithName(name string) (*pinpoint.InAppTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.InAppTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.InAppTemplate not found", name) -} - -// GetAllPinpointPushTemplateResources retrieves all pinpoint.PushTemplate items from an AWS CloudFormation template -func (t *Template) GetAllPinpointPushTemplateResources() map[string]*pinpoint.PushTemplate { - results := map[string]*pinpoint.PushTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.PushTemplate: - results[name] = resource - } - } - return results -} - -// GetPinpointPushTemplateWithName retrieves all pinpoint.PushTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointPushTemplateWithName(name string) (*pinpoint.PushTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.PushTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.PushTemplate not found", name) -} - -// GetAllPinpointSMSChannelResources retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointSMSChannelResources() map[string]*pinpoint.SMSChannel { - results := map[string]*pinpoint.SMSChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.SMSChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointSMSChannelWithName retrieves all pinpoint.SMSChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointSMSChannelWithName(name string) (*pinpoint.SMSChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.SMSChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.SMSChannel not found", name) -} - -// GetAllPinpointSegmentResources retrieves all pinpoint.Segment items from an AWS CloudFormation template -func (t *Template) GetAllPinpointSegmentResources() map[string]*pinpoint.Segment { - results := map[string]*pinpoint.Segment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.Segment: - results[name] = resource - } - } - return results -} - -// GetPinpointSegmentWithName retrieves all pinpoint.Segment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointSegmentWithName(name string) (*pinpoint.Segment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.Segment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.Segment not found", name) -} - -// GetAllPinpointSmsTemplateResources retrieves all pinpoint.SmsTemplate items from an AWS CloudFormation template -func (t *Template) GetAllPinpointSmsTemplateResources() map[string]*pinpoint.SmsTemplate { - results := map[string]*pinpoint.SmsTemplate{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.SmsTemplate: - results[name] = resource - } - } - return results -} - -// GetPinpointSmsTemplateWithName retrieves all pinpoint.SmsTemplate items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointSmsTemplateWithName(name string) (*pinpoint.SmsTemplate, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.SmsTemplate: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.SmsTemplate not found", name) -} - -// GetAllPinpointVoiceChannelResources retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template -func (t *Template) GetAllPinpointVoiceChannelResources() map[string]*pinpoint.VoiceChannel { - results := map[string]*pinpoint.VoiceChannel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpoint.VoiceChannel: - results[name] = resource - } - } - return results -} - -// GetPinpointVoiceChannelWithName retrieves all pinpoint.VoiceChannel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointVoiceChannelWithName(name string) (*pinpoint.VoiceChannel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpoint.VoiceChannel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpoint.VoiceChannel not found", name) -} - -// GetAllPinpointEmailConfigurationSetResources retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailConfigurationSetResources() map[string]*pinpointemail.ConfigurationSet { - results := map[string]*pinpointemail.ConfigurationSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSet: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailConfigurationSetWithName retrieves all pinpointemail.ConfigurationSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailConfigurationSetWithName(name string) (*pinpointemail.ConfigurationSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSet not found", name) -} - -// GetAllPinpointEmailConfigurationSetEventDestinationResources retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailConfigurationSetEventDestinationResources() map[string]*pinpointemail.ConfigurationSetEventDestination { - results := map[string]*pinpointemail.ConfigurationSetEventDestination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSetEventDestination: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailConfigurationSetEventDestinationWithName retrieves all pinpointemail.ConfigurationSetEventDestination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailConfigurationSetEventDestinationWithName(name string) (*pinpointemail.ConfigurationSetEventDestination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpointemail.ConfigurationSetEventDestination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpointemail.ConfigurationSetEventDestination not found", name) -} - -// GetAllPinpointEmailDedicatedIpPoolResources retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailDedicatedIpPoolResources() map[string]*pinpointemail.DedicatedIpPool { - results := map[string]*pinpointemail.DedicatedIpPool{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpointemail.DedicatedIpPool: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailDedicatedIpPoolWithName retrieves all pinpointemail.DedicatedIpPool items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailDedicatedIpPoolWithName(name string) (*pinpointemail.DedicatedIpPool, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpointemail.DedicatedIpPool: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpointemail.DedicatedIpPool not found", name) -} - -// GetAllPinpointEmailIdentityResources retrieves all pinpointemail.Identity items from an AWS CloudFormation template -func (t *Template) GetAllPinpointEmailIdentityResources() map[string]*pinpointemail.Identity { - results := map[string]*pinpointemail.Identity{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *pinpointemail.Identity: - results[name] = resource - } - } - return results -} - -// GetPinpointEmailIdentityWithName retrieves all pinpointemail.Identity items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetPinpointEmailIdentityWithName(name string) (*pinpointemail.Identity, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *pinpointemail.Identity: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type pinpointemail.Identity not found", name) -} - -// GetAllQLDBLedgerResources retrieves all qldb.Ledger items from an AWS CloudFormation template -func (t *Template) GetAllQLDBLedgerResources() map[string]*qldb.Ledger { - results := map[string]*qldb.Ledger{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *qldb.Ledger: - results[name] = resource - } - } - return results -} - -// GetQLDBLedgerWithName retrieves all qldb.Ledger items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQLDBLedgerWithName(name string) (*qldb.Ledger, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *qldb.Ledger: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type qldb.Ledger not found", name) -} - -// GetAllQLDBStreamResources retrieves all qldb.Stream items from an AWS CloudFormation template -func (t *Template) GetAllQLDBStreamResources() map[string]*qldb.Stream { - results := map[string]*qldb.Stream{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *qldb.Stream: - results[name] = resource - } - } - return results -} - -// GetQLDBStreamWithName retrieves all qldb.Stream items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQLDBStreamWithName(name string) (*qldb.Stream, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *qldb.Stream: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type qldb.Stream not found", name) -} - -// GetAllQuickSightAnalysisResources retrieves all quicksight.Analysis items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightAnalysisResources() map[string]*quicksight.Analysis { - results := map[string]*quicksight.Analysis{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.Analysis: - results[name] = resource - } - } - return results -} - -// GetQuickSightAnalysisWithName retrieves all quicksight.Analysis items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightAnalysisWithName(name string) (*quicksight.Analysis, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.Analysis: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.Analysis not found", name) -} - -// GetAllQuickSightDashboardResources retrieves all quicksight.Dashboard items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightDashboardResources() map[string]*quicksight.Dashboard { - results := map[string]*quicksight.Dashboard{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.Dashboard: - results[name] = resource - } - } - return results -} - -// GetQuickSightDashboardWithName retrieves all quicksight.Dashboard items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightDashboardWithName(name string) (*quicksight.Dashboard, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.Dashboard: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.Dashboard not found", name) -} - -// GetAllQuickSightDataSetResources retrieves all quicksight.DataSet items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightDataSetResources() map[string]*quicksight.DataSet { - results := map[string]*quicksight.DataSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.DataSet: - results[name] = resource - } - } - return results -} - -// GetQuickSightDataSetWithName retrieves all quicksight.DataSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightDataSetWithName(name string) (*quicksight.DataSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.DataSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.DataSet not found", name) -} - -// GetAllQuickSightDataSourceResources retrieves all quicksight.DataSource items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightDataSourceResources() map[string]*quicksight.DataSource { - results := map[string]*quicksight.DataSource{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.DataSource: - results[name] = resource - } - } - return results -} - -// GetQuickSightDataSourceWithName retrieves all quicksight.DataSource items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightDataSourceWithName(name string) (*quicksight.DataSource, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.DataSource: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.DataSource not found", name) -} - -// GetAllQuickSightTemplateResources retrieves all quicksight.Template items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightTemplateResources() map[string]*quicksight.Template { - results := map[string]*quicksight.Template{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.Template: - results[name] = resource - } - } - return results -} - -// GetQuickSightTemplateWithName retrieves all quicksight.Template items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightTemplateWithName(name string) (*quicksight.Template, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.Template: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.Template not found", name) -} - -// GetAllQuickSightThemeResources retrieves all quicksight.Theme items from an AWS CloudFormation template -func (t *Template) GetAllQuickSightThemeResources() map[string]*quicksight.Theme { - results := map[string]*quicksight.Theme{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *quicksight.Theme: - results[name] = resource - } - } - return results -} - -// GetQuickSightThemeWithName retrieves all quicksight.Theme items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetQuickSightThemeWithName(name string) (*quicksight.Theme, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *quicksight.Theme: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type quicksight.Theme not found", name) -} - -// GetAllRAMResourceShareResources retrieves all ram.ResourceShare items from an AWS CloudFormation template -func (t *Template) GetAllRAMResourceShareResources() map[string]*ram.ResourceShare { - results := map[string]*ram.ResourceShare{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ram.ResourceShare: - results[name] = resource - } - } - return results -} - -// GetRAMResourceShareWithName retrieves all ram.ResourceShare items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRAMResourceShareWithName(name string) (*ram.ResourceShare, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ram.ResourceShare: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ram.ResourceShare not found", name) -} - -// GetAllRDSDBClusterResources retrieves all rds.DBCluster items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBClusterResources() map[string]*rds.DBCluster { - results := map[string]*rds.DBCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBCluster: - results[name] = resource - } - } - return results -} - -// GetRDSDBClusterWithName retrieves all rds.DBCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBClusterWithName(name string) (*rds.DBCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBCluster not found", name) -} - -// GetAllRDSDBClusterParameterGroupResources retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBClusterParameterGroupResources() map[string]*rds.DBClusterParameterGroup { - results := map[string]*rds.DBClusterParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBClusterParameterGroup: - results[name] = resource - } - } - return results -} - -// GetRDSDBClusterParameterGroupWithName retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBClusterParameterGroupWithName(name string) (*rds.DBClusterParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBClusterParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBClusterParameterGroup not found", name) -} - -// GetAllRDSDBInstanceResources retrieves all rds.DBInstance items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBInstanceResources() map[string]*rds.DBInstance { - results := map[string]*rds.DBInstance{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBInstance: - results[name] = resource - } - } - return results -} - -// GetRDSDBInstanceWithName retrieves all rds.DBInstance items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBInstanceWithName(name string) (*rds.DBInstance, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBInstance: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBInstance not found", name) -} - -// GetAllRDSDBParameterGroupResources retrieves all rds.DBParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBParameterGroupResources() map[string]*rds.DBParameterGroup { - results := map[string]*rds.DBParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBParameterGroup: - results[name] = resource - } - } - return results -} - -// GetRDSDBParameterGroupWithName retrieves all rds.DBParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBParameterGroupWithName(name string) (*rds.DBParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBParameterGroup not found", name) -} - -// GetAllRDSDBProxyResources retrieves all rds.DBProxy items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBProxyResources() map[string]*rds.DBProxy { - results := map[string]*rds.DBProxy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBProxy: - results[name] = resource - } - } - return results -} - -// GetRDSDBProxyWithName retrieves all rds.DBProxy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBProxyWithName(name string) (*rds.DBProxy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBProxy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBProxy not found", name) -} - -// GetAllRDSDBProxyEndpointResources retrieves all rds.DBProxyEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBProxyEndpointResources() map[string]*rds.DBProxyEndpoint { - results := map[string]*rds.DBProxyEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBProxyEndpoint: - results[name] = resource - } - } - return results -} - -// GetRDSDBProxyEndpointWithName retrieves all rds.DBProxyEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBProxyEndpointWithName(name string) (*rds.DBProxyEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBProxyEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBProxyEndpoint not found", name) -} - -// GetAllRDSDBProxyTargetGroupResources retrieves all rds.DBProxyTargetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBProxyTargetGroupResources() map[string]*rds.DBProxyTargetGroup { - results := map[string]*rds.DBProxyTargetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBProxyTargetGroup: - results[name] = resource - } - } - return results -} - -// GetRDSDBProxyTargetGroupWithName retrieves all rds.DBProxyTargetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBProxyTargetGroupWithName(name string) (*rds.DBProxyTargetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBProxyTargetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBProxyTargetGroup not found", name) -} - -// GetAllRDSDBSecurityGroupResources retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSecurityGroupResources() map[string]*rds.DBSecurityGroup { - results := map[string]*rds.DBSecurityGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBSecurityGroup: - results[name] = resource - } - } - return results -} - -// GetRDSDBSecurityGroupWithName retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSecurityGroupWithName(name string) (*rds.DBSecurityGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBSecurityGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroup not found", name) -} - -// GetAllRDSDBSecurityGroupIngressResources retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSecurityGroupIngressResources() map[string]*rds.DBSecurityGroupIngress { - results := map[string]*rds.DBSecurityGroupIngress{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBSecurityGroupIngress: - results[name] = resource - } - } - return results -} - -// GetRDSDBSecurityGroupIngressWithName retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSecurityGroupIngressWithName(name string) (*rds.DBSecurityGroupIngress, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBSecurityGroupIngress: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroupIngress not found", name) -} - -// GetAllRDSDBSubnetGroupResources retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSDBSubnetGroupResources() map[string]*rds.DBSubnetGroup { - results := map[string]*rds.DBSubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.DBSubnetGroup: - results[name] = resource - } - } - return results -} - -// GetRDSDBSubnetGroupWithName retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSDBSubnetGroupWithName(name string) (*rds.DBSubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.DBSubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.DBSubnetGroup not found", name) -} - -// GetAllRDSEventSubscriptionResources retrieves all rds.EventSubscription items from an AWS CloudFormation template -func (t *Template) GetAllRDSEventSubscriptionResources() map[string]*rds.EventSubscription { - results := map[string]*rds.EventSubscription{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.EventSubscription: - results[name] = resource - } - } - return results -} - -// GetRDSEventSubscriptionWithName retrieves all rds.EventSubscription items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSEventSubscriptionWithName(name string) (*rds.EventSubscription, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.EventSubscription: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.EventSubscription not found", name) -} - -// GetAllRDSGlobalClusterResources retrieves all rds.GlobalCluster items from an AWS CloudFormation template -func (t *Template) GetAllRDSGlobalClusterResources() map[string]*rds.GlobalCluster { - results := map[string]*rds.GlobalCluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.GlobalCluster: - results[name] = resource - } - } - return results -} - -// GetRDSGlobalClusterWithName retrieves all rds.GlobalCluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSGlobalClusterWithName(name string) (*rds.GlobalCluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.GlobalCluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.GlobalCluster not found", name) -} - -// GetAllRDSOptionGroupResources retrieves all rds.OptionGroup items from an AWS CloudFormation template -func (t *Template) GetAllRDSOptionGroupResources() map[string]*rds.OptionGroup { - results := map[string]*rds.OptionGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rds.OptionGroup: - results[name] = resource - } - } - return results -} - -// GetRDSOptionGroupWithName retrieves all rds.OptionGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRDSOptionGroupWithName(name string) (*rds.OptionGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rds.OptionGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rds.OptionGroup not found", name) -} - -// GetAllRUMAppMonitorResources retrieves all rum.AppMonitor items from an AWS CloudFormation template -func (t *Template) GetAllRUMAppMonitorResources() map[string]*rum.AppMonitor { - results := map[string]*rum.AppMonitor{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rum.AppMonitor: - results[name] = resource - } - } - return results -} - -// GetRUMAppMonitorWithName retrieves all rum.AppMonitor items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRUMAppMonitorWithName(name string) (*rum.AppMonitor, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rum.AppMonitor: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rum.AppMonitor not found", name) -} - -// GetAllRedshiftClusterResources retrieves all redshift.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterResources() map[string]*redshift.Cluster { - results := map[string]*redshift.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.Cluster: - results[name] = resource - } - } - return results -} - -// GetRedshiftClusterWithName retrieves all redshift.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterWithName(name string) (*redshift.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.Cluster not found", name) -} - -// GetAllRedshiftClusterParameterGroupResources retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterParameterGroupResources() map[string]*redshift.ClusterParameterGroup { - results := map[string]*redshift.ClusterParameterGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.ClusterParameterGroup: - results[name] = resource - } - } - return results -} - -// GetRedshiftClusterParameterGroupWithName retrieves all redshift.ClusterParameterGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterParameterGroupWithName(name string) (*redshift.ClusterParameterGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.ClusterParameterGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.ClusterParameterGroup not found", name) -} - -// GetAllRedshiftClusterSecurityGroupResources retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSecurityGroupResources() map[string]*redshift.ClusterSecurityGroup { - results := map[string]*redshift.ClusterSecurityGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroup: - results[name] = resource - } - } - return results -} - -// GetRedshiftClusterSecurityGroupWithName retrieves all redshift.ClusterSecurityGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSecurityGroupWithName(name string) (*redshift.ClusterSecurityGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroup not found", name) -} - -// GetAllRedshiftClusterSecurityGroupIngressResources retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSecurityGroupIngressResources() map[string]*redshift.ClusterSecurityGroupIngress { - results := map[string]*redshift.ClusterSecurityGroupIngress{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroupIngress: - results[name] = resource - } - } - return results -} - -// GetRedshiftClusterSecurityGroupIngressWithName retrieves all redshift.ClusterSecurityGroupIngress items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSecurityGroupIngressWithName(name string) (*redshift.ClusterSecurityGroupIngress, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.ClusterSecurityGroupIngress: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSecurityGroupIngress not found", name) -} - -// GetAllRedshiftClusterSubnetGroupResources retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftClusterSubnetGroupResources() map[string]*redshift.ClusterSubnetGroup { - results := map[string]*redshift.ClusterSubnetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.ClusterSubnetGroup: - results[name] = resource - } - } - return results -} - -// GetRedshiftClusterSubnetGroupWithName retrieves all redshift.ClusterSubnetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftClusterSubnetGroupWithName(name string) (*redshift.ClusterSubnetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.ClusterSubnetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.ClusterSubnetGroup not found", name) -} - -// GetAllRedshiftEndpointAccessResources retrieves all redshift.EndpointAccess items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftEndpointAccessResources() map[string]*redshift.EndpointAccess { - results := map[string]*redshift.EndpointAccess{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.EndpointAccess: - results[name] = resource - } - } - return results -} - -// GetRedshiftEndpointAccessWithName retrieves all redshift.EndpointAccess items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftEndpointAccessWithName(name string) (*redshift.EndpointAccess, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.EndpointAccess: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.EndpointAccess not found", name) -} - -// GetAllRedshiftEndpointAuthorizationResources retrieves all redshift.EndpointAuthorization items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftEndpointAuthorizationResources() map[string]*redshift.EndpointAuthorization { - results := map[string]*redshift.EndpointAuthorization{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.EndpointAuthorization: - results[name] = resource - } - } - return results -} - -// GetRedshiftEndpointAuthorizationWithName retrieves all redshift.EndpointAuthorization items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftEndpointAuthorizationWithName(name string) (*redshift.EndpointAuthorization, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.EndpointAuthorization: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.EndpointAuthorization not found", name) -} - -// GetAllRedshiftEventSubscriptionResources retrieves all redshift.EventSubscription items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftEventSubscriptionResources() map[string]*redshift.EventSubscription { - results := map[string]*redshift.EventSubscription{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.EventSubscription: - results[name] = resource - } - } - return results -} - -// GetRedshiftEventSubscriptionWithName retrieves all redshift.EventSubscription items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftEventSubscriptionWithName(name string) (*redshift.EventSubscription, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.EventSubscription: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.EventSubscription not found", name) -} - -// GetAllRedshiftScheduledActionResources retrieves all redshift.ScheduledAction items from an AWS CloudFormation template -func (t *Template) GetAllRedshiftScheduledActionResources() map[string]*redshift.ScheduledAction { - results := map[string]*redshift.ScheduledAction{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *redshift.ScheduledAction: - results[name] = resource - } - } - return results -} - -// GetRedshiftScheduledActionWithName retrieves all redshift.ScheduledAction items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRedshiftScheduledActionWithName(name string) (*redshift.ScheduledAction, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *redshift.ScheduledAction: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type redshift.ScheduledAction not found", name) -} - -// GetAllRefactorSpacesApplicationResources retrieves all refactorspaces.Application items from an AWS CloudFormation template -func (t *Template) GetAllRefactorSpacesApplicationResources() map[string]*refactorspaces.Application { - results := map[string]*refactorspaces.Application{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *refactorspaces.Application: - results[name] = resource - } - } - return results -} - -// GetRefactorSpacesApplicationWithName retrieves all refactorspaces.Application items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRefactorSpacesApplicationWithName(name string) (*refactorspaces.Application, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *refactorspaces.Application: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type refactorspaces.Application not found", name) -} - -// GetAllRefactorSpacesEnvironmentResources retrieves all refactorspaces.Environment items from an AWS CloudFormation template -func (t *Template) GetAllRefactorSpacesEnvironmentResources() map[string]*refactorspaces.Environment { - results := map[string]*refactorspaces.Environment{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *refactorspaces.Environment: - results[name] = resource - } - } - return results -} - -// GetRefactorSpacesEnvironmentWithName retrieves all refactorspaces.Environment items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRefactorSpacesEnvironmentWithName(name string) (*refactorspaces.Environment, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *refactorspaces.Environment: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type refactorspaces.Environment not found", name) -} - -// GetAllRefactorSpacesRouteResources retrieves all refactorspaces.Route items from an AWS CloudFormation template -func (t *Template) GetAllRefactorSpacesRouteResources() map[string]*refactorspaces.Route { - results := map[string]*refactorspaces.Route{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *refactorspaces.Route: - results[name] = resource - } - } - return results -} - -// GetRefactorSpacesRouteWithName retrieves all refactorspaces.Route items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRefactorSpacesRouteWithName(name string) (*refactorspaces.Route, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *refactorspaces.Route: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type refactorspaces.Route not found", name) -} - -// GetAllRefactorSpacesServiceResources retrieves all refactorspaces.Service items from an AWS CloudFormation template -func (t *Template) GetAllRefactorSpacesServiceResources() map[string]*refactorspaces.Service { - results := map[string]*refactorspaces.Service{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *refactorspaces.Service: - results[name] = resource - } - } - return results -} - -// GetRefactorSpacesServiceWithName retrieves all refactorspaces.Service items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRefactorSpacesServiceWithName(name string) (*refactorspaces.Service, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *refactorspaces.Service: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type refactorspaces.Service not found", name) -} - -// GetAllRekognitionProjectResources retrieves all rekognition.Project items from an AWS CloudFormation template -func (t *Template) GetAllRekognitionProjectResources() map[string]*rekognition.Project { - results := map[string]*rekognition.Project{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *rekognition.Project: - results[name] = resource - } - } - return results -} - -// GetRekognitionProjectWithName retrieves all rekognition.Project items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRekognitionProjectWithName(name string) (*rekognition.Project, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *rekognition.Project: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type rekognition.Project not found", name) -} - -// GetAllResilienceHubAppResources retrieves all resiliencehub.App items from an AWS CloudFormation template -func (t *Template) GetAllResilienceHubAppResources() map[string]*resiliencehub.App { - results := map[string]*resiliencehub.App{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *resiliencehub.App: - results[name] = resource - } - } - return results -} - -// GetResilienceHubAppWithName retrieves all resiliencehub.App items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetResilienceHubAppWithName(name string) (*resiliencehub.App, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *resiliencehub.App: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type resiliencehub.App not found", name) -} - -// GetAllResilienceHubResiliencyPolicyResources retrieves all resiliencehub.ResiliencyPolicy items from an AWS CloudFormation template -func (t *Template) GetAllResilienceHubResiliencyPolicyResources() map[string]*resiliencehub.ResiliencyPolicy { - results := map[string]*resiliencehub.ResiliencyPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *resiliencehub.ResiliencyPolicy: - results[name] = resource - } - } - return results -} - -// GetResilienceHubResiliencyPolicyWithName retrieves all resiliencehub.ResiliencyPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetResilienceHubResiliencyPolicyWithName(name string) (*resiliencehub.ResiliencyPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *resiliencehub.ResiliencyPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type resiliencehub.ResiliencyPolicy not found", name) -} - -// GetAllResourceGroupsGroupResources retrieves all resourcegroups.Group items from an AWS CloudFormation template -func (t *Template) GetAllResourceGroupsGroupResources() map[string]*resourcegroups.Group { - results := map[string]*resourcegroups.Group{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *resourcegroups.Group: - results[name] = resource - } - } - return results -} - -// GetResourceGroupsGroupWithName retrieves all resourcegroups.Group items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetResourceGroupsGroupWithName(name string) (*resourcegroups.Group, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *resourcegroups.Group: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type resourcegroups.Group not found", name) -} - -// GetAllRoboMakerFleetResources retrieves all robomaker.Fleet items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerFleetResources() map[string]*robomaker.Fleet { - results := map[string]*robomaker.Fleet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.Fleet: - results[name] = resource - } - } - return results -} - -// GetRoboMakerFleetWithName retrieves all robomaker.Fleet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerFleetWithName(name string) (*robomaker.Fleet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.Fleet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.Fleet not found", name) -} - -// GetAllRoboMakerRobotResources retrieves all robomaker.Robot items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotResources() map[string]*robomaker.Robot { - results := map[string]*robomaker.Robot{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.Robot: - results[name] = resource - } - } - return results -} - -// GetRoboMakerRobotWithName retrieves all robomaker.Robot items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotWithName(name string) (*robomaker.Robot, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.Robot: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.Robot not found", name) -} - -// GetAllRoboMakerRobotApplicationResources retrieves all robomaker.RobotApplication items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotApplicationResources() map[string]*robomaker.RobotApplication { - results := map[string]*robomaker.RobotApplication{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.RobotApplication: - results[name] = resource - } - } - return results -} - -// GetRoboMakerRobotApplicationWithName retrieves all robomaker.RobotApplication items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotApplicationWithName(name string) (*robomaker.RobotApplication, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.RobotApplication: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.RobotApplication not found", name) -} - -// GetAllRoboMakerRobotApplicationVersionResources retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerRobotApplicationVersionResources() map[string]*robomaker.RobotApplicationVersion { - results := map[string]*robomaker.RobotApplicationVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.RobotApplicationVersion: - results[name] = resource - } - } - return results -} - -// GetRoboMakerRobotApplicationVersionWithName retrieves all robomaker.RobotApplicationVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerRobotApplicationVersionWithName(name string) (*robomaker.RobotApplicationVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.RobotApplicationVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.RobotApplicationVersion not found", name) -} - -// GetAllRoboMakerSimulationApplicationResources retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerSimulationApplicationResources() map[string]*robomaker.SimulationApplication { - results := map[string]*robomaker.SimulationApplication{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.SimulationApplication: - results[name] = resource - } - } - return results -} - -// GetRoboMakerSimulationApplicationWithName retrieves all robomaker.SimulationApplication items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerSimulationApplicationWithName(name string) (*robomaker.SimulationApplication, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.SimulationApplication: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplication not found", name) -} - -// GetAllRoboMakerSimulationApplicationVersionResources retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template -func (t *Template) GetAllRoboMakerSimulationApplicationVersionResources() map[string]*robomaker.SimulationApplicationVersion { - results := map[string]*robomaker.SimulationApplicationVersion{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *robomaker.SimulationApplicationVersion: - results[name] = resource - } - } - return results -} - -// GetRoboMakerSimulationApplicationVersionWithName retrieves all robomaker.SimulationApplicationVersion items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoboMakerSimulationApplicationVersionWithName(name string) (*robomaker.SimulationApplicationVersion, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *robomaker.SimulationApplicationVersion: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type robomaker.SimulationApplicationVersion not found", name) -} - -// GetAllRoute53DNSSECResources retrieves all route53.DNSSEC items from an AWS CloudFormation template -func (t *Template) GetAllRoute53DNSSECResources() map[string]*route53.DNSSEC { - results := map[string]*route53.DNSSEC{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.DNSSEC: - results[name] = resource - } - } - return results -} - -// GetRoute53DNSSECWithName retrieves all route53.DNSSEC items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53DNSSECWithName(name string) (*route53.DNSSEC, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.DNSSEC: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.DNSSEC not found", name) -} - -// GetAllRoute53HealthCheckResources retrieves all route53.HealthCheck items from an AWS CloudFormation template -func (t *Template) GetAllRoute53HealthCheckResources() map[string]*route53.HealthCheck { - results := map[string]*route53.HealthCheck{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.HealthCheck: - results[name] = resource - } - } - return results -} - -// GetRoute53HealthCheckWithName retrieves all route53.HealthCheck items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53HealthCheckWithName(name string) (*route53.HealthCheck, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.HealthCheck: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.HealthCheck not found", name) -} - -// GetAllRoute53HostedZoneResources retrieves all route53.HostedZone items from an AWS CloudFormation template -func (t *Template) GetAllRoute53HostedZoneResources() map[string]*route53.HostedZone { - results := map[string]*route53.HostedZone{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.HostedZone: - results[name] = resource - } - } - return results -} - -// GetRoute53HostedZoneWithName retrieves all route53.HostedZone items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53HostedZoneWithName(name string) (*route53.HostedZone, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.HostedZone: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.HostedZone not found", name) -} - -// GetAllRoute53KeySigningKeyResources retrieves all route53.KeySigningKey items from an AWS CloudFormation template -func (t *Template) GetAllRoute53KeySigningKeyResources() map[string]*route53.KeySigningKey { - results := map[string]*route53.KeySigningKey{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.KeySigningKey: - results[name] = resource - } - } - return results -} - -// GetRoute53KeySigningKeyWithName retrieves all route53.KeySigningKey items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53KeySigningKeyWithName(name string) (*route53.KeySigningKey, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.KeySigningKey: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.KeySigningKey not found", name) -} - -// GetAllRoute53RecordSetResources retrieves all route53.RecordSet items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecordSetResources() map[string]*route53.RecordSet { - results := map[string]*route53.RecordSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.RecordSet: - results[name] = resource - } - } - return results -} - -// GetRoute53RecordSetWithName retrieves all route53.RecordSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecordSetWithName(name string) (*route53.RecordSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.RecordSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.RecordSet not found", name) -} - -// GetAllRoute53RecordSetGroupResources retrieves all route53.RecordSetGroup items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecordSetGroupResources() map[string]*route53.RecordSetGroup { - results := map[string]*route53.RecordSetGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53.RecordSetGroup: - results[name] = resource - } - } - return results -} - -// GetRoute53RecordSetGroupWithName retrieves all route53.RecordSetGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecordSetGroupWithName(name string) (*route53.RecordSetGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53.RecordSetGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53.RecordSetGroup not found", name) -} - -// GetAllRoute53RecoveryControlClusterResources retrieves all route53recoverycontrol.Cluster items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryControlClusterResources() map[string]*route53recoverycontrol.Cluster { - results := map[string]*route53recoverycontrol.Cluster{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoverycontrol.Cluster: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryControlClusterWithName retrieves all route53recoverycontrol.Cluster items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryControlClusterWithName(name string) (*route53recoverycontrol.Cluster, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoverycontrol.Cluster: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoverycontrol.Cluster not found", name) -} - -// GetAllRoute53RecoveryControlControlPanelResources retrieves all route53recoverycontrol.ControlPanel items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryControlControlPanelResources() map[string]*route53recoverycontrol.ControlPanel { - results := map[string]*route53recoverycontrol.ControlPanel{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoverycontrol.ControlPanel: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryControlControlPanelWithName retrieves all route53recoverycontrol.ControlPanel items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryControlControlPanelWithName(name string) (*route53recoverycontrol.ControlPanel, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoverycontrol.ControlPanel: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoverycontrol.ControlPanel not found", name) -} - -// GetAllRoute53RecoveryControlRoutingControlResources retrieves all route53recoverycontrol.RoutingControl items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryControlRoutingControlResources() map[string]*route53recoverycontrol.RoutingControl { - results := map[string]*route53recoverycontrol.RoutingControl{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoverycontrol.RoutingControl: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryControlRoutingControlWithName retrieves all route53recoverycontrol.RoutingControl items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryControlRoutingControlWithName(name string) (*route53recoverycontrol.RoutingControl, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoverycontrol.RoutingControl: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoverycontrol.RoutingControl not found", name) -} - -// GetAllRoute53RecoveryControlSafetyRuleResources retrieves all route53recoverycontrol.SafetyRule items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryControlSafetyRuleResources() map[string]*route53recoverycontrol.SafetyRule { - results := map[string]*route53recoverycontrol.SafetyRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoverycontrol.SafetyRule: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryControlSafetyRuleWithName retrieves all route53recoverycontrol.SafetyRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryControlSafetyRuleWithName(name string) (*route53recoverycontrol.SafetyRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoverycontrol.SafetyRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoverycontrol.SafetyRule not found", name) -} - -// GetAllRoute53RecoveryReadinessCellResources retrieves all route53recoveryreadiness.Cell items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryReadinessCellResources() map[string]*route53recoveryreadiness.Cell { - results := map[string]*route53recoveryreadiness.Cell{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoveryreadiness.Cell: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryReadinessCellWithName retrieves all route53recoveryreadiness.Cell items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryReadinessCellWithName(name string) (*route53recoveryreadiness.Cell, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoveryreadiness.Cell: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoveryreadiness.Cell not found", name) -} - -// GetAllRoute53RecoveryReadinessReadinessCheckResources retrieves all route53recoveryreadiness.ReadinessCheck items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryReadinessReadinessCheckResources() map[string]*route53recoveryreadiness.ReadinessCheck { - results := map[string]*route53recoveryreadiness.ReadinessCheck{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoveryreadiness.ReadinessCheck: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryReadinessReadinessCheckWithName retrieves all route53recoveryreadiness.ReadinessCheck items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryReadinessReadinessCheckWithName(name string) (*route53recoveryreadiness.ReadinessCheck, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoveryreadiness.ReadinessCheck: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoveryreadiness.ReadinessCheck not found", name) -} - -// GetAllRoute53RecoveryReadinessRecoveryGroupResources retrieves all route53recoveryreadiness.RecoveryGroup items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryReadinessRecoveryGroupResources() map[string]*route53recoveryreadiness.RecoveryGroup { - results := map[string]*route53recoveryreadiness.RecoveryGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoveryreadiness.RecoveryGroup: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryReadinessRecoveryGroupWithName retrieves all route53recoveryreadiness.RecoveryGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryReadinessRecoveryGroupWithName(name string) (*route53recoveryreadiness.RecoveryGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoveryreadiness.RecoveryGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoveryreadiness.RecoveryGroup not found", name) -} - -// GetAllRoute53RecoveryReadinessResourceSetResources retrieves all route53recoveryreadiness.ResourceSet items from an AWS CloudFormation template -func (t *Template) GetAllRoute53RecoveryReadinessResourceSetResources() map[string]*route53recoveryreadiness.ResourceSet { - results := map[string]*route53recoveryreadiness.ResourceSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53recoveryreadiness.ResourceSet: - results[name] = resource - } - } - return results -} - -// GetRoute53RecoveryReadinessResourceSetWithName retrieves all route53recoveryreadiness.ResourceSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53RecoveryReadinessResourceSetWithName(name string) (*route53recoveryreadiness.ResourceSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53recoveryreadiness.ResourceSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53recoveryreadiness.ResourceSet not found", name) -} - -// GetAllRoute53ResolverFirewallDomainListResources retrieves all route53resolver.FirewallDomainList items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverFirewallDomainListResources() map[string]*route53resolver.FirewallDomainList { - results := map[string]*route53resolver.FirewallDomainList{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.FirewallDomainList: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverFirewallDomainListWithName retrieves all route53resolver.FirewallDomainList items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverFirewallDomainListWithName(name string) (*route53resolver.FirewallDomainList, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.FirewallDomainList: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.FirewallDomainList not found", name) -} - -// GetAllRoute53ResolverFirewallRuleGroupResources retrieves all route53resolver.FirewallRuleGroup items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverFirewallRuleGroupResources() map[string]*route53resolver.FirewallRuleGroup { - results := map[string]*route53resolver.FirewallRuleGroup{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.FirewallRuleGroup: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverFirewallRuleGroupWithName retrieves all route53resolver.FirewallRuleGroup items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverFirewallRuleGroupWithName(name string) (*route53resolver.FirewallRuleGroup, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.FirewallRuleGroup: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.FirewallRuleGroup not found", name) -} - -// GetAllRoute53ResolverFirewallRuleGroupAssociationResources retrieves all route53resolver.FirewallRuleGroupAssociation items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverFirewallRuleGroupAssociationResources() map[string]*route53resolver.FirewallRuleGroupAssociation { - results := map[string]*route53resolver.FirewallRuleGroupAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.FirewallRuleGroupAssociation: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverFirewallRuleGroupAssociationWithName retrieves all route53resolver.FirewallRuleGroupAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverFirewallRuleGroupAssociationWithName(name string) (*route53resolver.FirewallRuleGroupAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.FirewallRuleGroupAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.FirewallRuleGroupAssociation not found", name) -} - -// GetAllRoute53ResolverResolverConfigResources retrieves all route53resolver.ResolverConfig items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverConfigResources() map[string]*route53resolver.ResolverConfig { - results := map[string]*route53resolver.ResolverConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverConfig: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverConfigWithName retrieves all route53resolver.ResolverConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverConfigWithName(name string) (*route53resolver.ResolverConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverConfig not found", name) -} - -// GetAllRoute53ResolverResolverDNSSECConfigResources retrieves all route53resolver.ResolverDNSSECConfig items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverDNSSECConfigResources() map[string]*route53resolver.ResolverDNSSECConfig { - results := map[string]*route53resolver.ResolverDNSSECConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverDNSSECConfig: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverDNSSECConfigWithName retrieves all route53resolver.ResolverDNSSECConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverDNSSECConfigWithName(name string) (*route53resolver.ResolverDNSSECConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverDNSSECConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverDNSSECConfig not found", name) -} - -// GetAllRoute53ResolverResolverEndpointResources retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverEndpointResources() map[string]*route53resolver.ResolverEndpoint { - results := map[string]*route53resolver.ResolverEndpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverEndpoint: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverEndpointWithName retrieves all route53resolver.ResolverEndpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverEndpointWithName(name string) (*route53resolver.ResolverEndpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverEndpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverEndpoint not found", name) -} - -// GetAllRoute53ResolverResolverQueryLoggingConfigResources retrieves all route53resolver.ResolverQueryLoggingConfig items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverQueryLoggingConfigResources() map[string]*route53resolver.ResolverQueryLoggingConfig { - results := map[string]*route53resolver.ResolverQueryLoggingConfig{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverQueryLoggingConfig: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverQueryLoggingConfigWithName retrieves all route53resolver.ResolverQueryLoggingConfig items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverQueryLoggingConfigWithName(name string) (*route53resolver.ResolverQueryLoggingConfig, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverQueryLoggingConfig: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverQueryLoggingConfig not found", name) -} - -// GetAllRoute53ResolverResolverQueryLoggingConfigAssociationResources retrieves all route53resolver.ResolverQueryLoggingConfigAssociation items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverQueryLoggingConfigAssociationResources() map[string]*route53resolver.ResolverQueryLoggingConfigAssociation { - results := map[string]*route53resolver.ResolverQueryLoggingConfigAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverQueryLoggingConfigAssociation: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverQueryLoggingConfigAssociationWithName retrieves all route53resolver.ResolverQueryLoggingConfigAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverQueryLoggingConfigAssociationWithName(name string) (*route53resolver.ResolverQueryLoggingConfigAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverQueryLoggingConfigAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverQueryLoggingConfigAssociation not found", name) -} - -// GetAllRoute53ResolverResolverRuleResources retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverRuleResources() map[string]*route53resolver.ResolverRule { - results := map[string]*route53resolver.ResolverRule{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverRule: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverRuleWithName retrieves all route53resolver.ResolverRule items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverRuleWithName(name string) (*route53resolver.ResolverRule, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverRule: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRule not found", name) -} - -// GetAllRoute53ResolverResolverRuleAssociationResources retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template -func (t *Template) GetAllRoute53ResolverResolverRuleAssociationResources() map[string]*route53resolver.ResolverRuleAssociation { - results := map[string]*route53resolver.ResolverRuleAssociation{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *route53resolver.ResolverRuleAssociation: - results[name] = resource - } - } - return results -} - -// GetRoute53ResolverResolverRuleAssociationWithName retrieves all route53resolver.ResolverRuleAssociation items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetRoute53ResolverResolverRuleAssociationWithName(name string) (*route53resolver.ResolverRuleAssociation, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *route53resolver.ResolverRuleAssociation: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type route53resolver.ResolverRuleAssociation not found", name) -} - -// GetAllS3AccessPointResources retrieves all s3.AccessPoint items from an AWS CloudFormation template -func (t *Template) GetAllS3AccessPointResources() map[string]*s3.AccessPoint { - results := map[string]*s3.AccessPoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.AccessPoint: - results[name] = resource - } - } - return results -} - -// GetS3AccessPointWithName retrieves all s3.AccessPoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3AccessPointWithName(name string) (*s3.AccessPoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.AccessPoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.AccessPoint not found", name) -} - -// GetAllS3BucketResources retrieves all s3.Bucket items from an AWS CloudFormation template -func (t *Template) GetAllS3BucketResources() map[string]*s3.Bucket { - results := map[string]*s3.Bucket{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.Bucket: - results[name] = resource - } - } - return results -} - -// GetS3BucketWithName retrieves all s3.Bucket items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3BucketWithName(name string) (*s3.Bucket, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.Bucket: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.Bucket not found", name) -} - -// GetAllS3BucketPolicyResources retrieves all s3.BucketPolicy items from an AWS CloudFormation template -func (t *Template) GetAllS3BucketPolicyResources() map[string]*s3.BucketPolicy { - results := map[string]*s3.BucketPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.BucketPolicy: - results[name] = resource - } - } - return results -} - -// GetS3BucketPolicyWithName retrieves all s3.BucketPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3BucketPolicyWithName(name string) (*s3.BucketPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.BucketPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.BucketPolicy not found", name) -} - -// GetAllS3MultiRegionAccessPointResources retrieves all s3.MultiRegionAccessPoint items from an AWS CloudFormation template -func (t *Template) GetAllS3MultiRegionAccessPointResources() map[string]*s3.MultiRegionAccessPoint { - results := map[string]*s3.MultiRegionAccessPoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.MultiRegionAccessPoint: - results[name] = resource - } - } - return results -} - -// GetS3MultiRegionAccessPointWithName retrieves all s3.MultiRegionAccessPoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3MultiRegionAccessPointWithName(name string) (*s3.MultiRegionAccessPoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.MultiRegionAccessPoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.MultiRegionAccessPoint not found", name) -} - -// GetAllS3MultiRegionAccessPointPolicyResources retrieves all s3.MultiRegionAccessPointPolicy items from an AWS CloudFormation template -func (t *Template) GetAllS3MultiRegionAccessPointPolicyResources() map[string]*s3.MultiRegionAccessPointPolicy { - results := map[string]*s3.MultiRegionAccessPointPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.MultiRegionAccessPointPolicy: - results[name] = resource - } - } - return results -} - -// GetS3MultiRegionAccessPointPolicyWithName retrieves all s3.MultiRegionAccessPointPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3MultiRegionAccessPointPolicyWithName(name string) (*s3.MultiRegionAccessPointPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.MultiRegionAccessPointPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.MultiRegionAccessPointPolicy not found", name) -} - -// GetAllS3StorageLensResources retrieves all s3.StorageLens items from an AWS CloudFormation template -func (t *Template) GetAllS3StorageLensResources() map[string]*s3.StorageLens { - results := map[string]*s3.StorageLens{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3.StorageLens: - results[name] = resource - } - } - return results -} - -// GetS3StorageLensWithName retrieves all s3.StorageLens items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3StorageLensWithName(name string) (*s3.StorageLens, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3.StorageLens: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3.StorageLens not found", name) -} - -// GetAllS3ObjectLambdaAccessPointResources retrieves all s3objectlambda.AccessPoint items from an AWS CloudFormation template -func (t *Template) GetAllS3ObjectLambdaAccessPointResources() map[string]*s3objectlambda.AccessPoint { - results := map[string]*s3objectlambda.AccessPoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3objectlambda.AccessPoint: - results[name] = resource - } - } - return results -} - -// GetS3ObjectLambdaAccessPointWithName retrieves all s3objectlambda.AccessPoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3ObjectLambdaAccessPointWithName(name string) (*s3objectlambda.AccessPoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3objectlambda.AccessPoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3objectlambda.AccessPoint not found", name) -} - -// GetAllS3ObjectLambdaAccessPointPolicyResources retrieves all s3objectlambda.AccessPointPolicy items from an AWS CloudFormation template -func (t *Template) GetAllS3ObjectLambdaAccessPointPolicyResources() map[string]*s3objectlambda.AccessPointPolicy { - results := map[string]*s3objectlambda.AccessPointPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3objectlambda.AccessPointPolicy: - results[name] = resource - } - } - return results -} - -// GetS3ObjectLambdaAccessPointPolicyWithName retrieves all s3objectlambda.AccessPointPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3ObjectLambdaAccessPointPolicyWithName(name string) (*s3objectlambda.AccessPointPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3objectlambda.AccessPointPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3objectlambda.AccessPointPolicy not found", name) -} - -// GetAllS3OutpostsAccessPointResources retrieves all s3outposts.AccessPoint items from an AWS CloudFormation template -func (t *Template) GetAllS3OutpostsAccessPointResources() map[string]*s3outposts.AccessPoint { - results := map[string]*s3outposts.AccessPoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3outposts.AccessPoint: - results[name] = resource - } - } - return results -} - -// GetS3OutpostsAccessPointWithName retrieves all s3outposts.AccessPoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3OutpostsAccessPointWithName(name string) (*s3outposts.AccessPoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3outposts.AccessPoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3outposts.AccessPoint not found", name) -} - -// GetAllS3OutpostsBucketResources retrieves all s3outposts.Bucket items from an AWS CloudFormation template -func (t *Template) GetAllS3OutpostsBucketResources() map[string]*s3outposts.Bucket { - results := map[string]*s3outposts.Bucket{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3outposts.Bucket: - results[name] = resource - } - } - return results -} - -// GetS3OutpostsBucketWithName retrieves all s3outposts.Bucket items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3OutpostsBucketWithName(name string) (*s3outposts.Bucket, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3outposts.Bucket: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3outposts.Bucket not found", name) -} - -// GetAllS3OutpostsBucketPolicyResources retrieves all s3outposts.BucketPolicy items from an AWS CloudFormation template -func (t *Template) GetAllS3OutpostsBucketPolicyResources() map[string]*s3outposts.BucketPolicy { - results := map[string]*s3outposts.BucketPolicy{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3outposts.BucketPolicy: - results[name] = resource - } - } - return results -} - -// GetS3OutpostsBucketPolicyWithName retrieves all s3outposts.BucketPolicy items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3OutpostsBucketPolicyWithName(name string) (*s3outposts.BucketPolicy, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3outposts.BucketPolicy: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3outposts.BucketPolicy not found", name) -} - -// GetAllS3OutpostsEndpointResources retrieves all s3outposts.Endpoint items from an AWS CloudFormation template -func (t *Template) GetAllS3OutpostsEndpointResources() map[string]*s3outposts.Endpoint { - results := map[string]*s3outposts.Endpoint{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *s3outposts.Endpoint: - results[name] = resource - } - } - return results -} - -// GetS3OutpostsEndpointWithName retrieves all s3outposts.Endpoint items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetS3OutpostsEndpointWithName(name string) (*s3outposts.Endpoint, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *s3outposts.Endpoint: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type s3outposts.Endpoint not found", name) -} - -// GetAllSDBDomainResources retrieves all sdb.Domain items from an AWS CloudFormation template -func (t *Template) GetAllSDBDomainResources() map[string]*sdb.Domain { - results := map[string]*sdb.Domain{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *sdb.Domain: - results[name] = resource - } - } - return results -} - -// GetSDBDomainWithName retrieves all sdb.Domain items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSDBDomainWithName(name string) (*sdb.Domain, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *sdb.Domain: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type sdb.Domain not found", name) -} - -// GetAllSESConfigurationSetResources retrieves all ses.ConfigurationSet items from an AWS CloudFormation template -func (t *Template) GetAllSESConfigurationSetResources() map[string]*ses.ConfigurationSet { - results := map[string]*ses.ConfigurationSet{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ses.ConfigurationSet: - results[name] = resource - } - } - return results -} - -// GetSESConfigurationSetWithName retrieves all ses.ConfigurationSet items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESConfigurationSetWithName(name string) (*ses.ConfigurationSet, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ses.ConfigurationSet: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ses.ConfigurationSet not found", name) -} - -// GetAllSESConfigurationSetEventDestinationResources retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template -func (t *Template) GetAllSESConfigurationSetEventDestinationResources() map[string]*ses.ConfigurationSetEventDestination { - results := map[string]*ses.ConfigurationSetEventDestination{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ses.ConfigurationSetEventDestination: - results[name] = resource - } - } - return results -} - -// GetSESConfigurationSetEventDestinationWithName retrieves all ses.ConfigurationSetEventDestination items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESConfigurationSetEventDestinationWithName(name string) (*ses.ConfigurationSetEventDestination, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ses.ConfigurationSetEventDestination: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ses.ConfigurationSetEventDestination not found", name) -} - -// GetAllSESContactListResources retrieves all ses.ContactList items from an AWS CloudFormation template -func (t *Template) GetAllSESContactListResources() map[string]*ses.ContactList { - results := map[string]*ses.ContactList{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ses.ContactList: - results[name] = resource - } - } - return results -} - -// GetSESContactListWithName retrieves all ses.ContactList items from an AWS CloudFormation template -// whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESContactListWithName(name string) (*ses.ContactList, error) { - if untyped, ok := t.Resources[name]; ok { - switch resource := untyped.(type) { - case *ses.ContactList: - return resource, nil - } - } - return nil, fmt.Errorf("resource %q of type ses.ContactList not found", name) -} - -// GetAllSESReceiptFilterResources retrieves all ses.ReceiptFilter items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptFilterResources() map[string]*ses.ReceiptFilter { - results := map[string]*ses.ReceiptFilter{} - for name, untyped := range t.Resources { - switch resource := untyped.(type) { - case *ses.ReceiptFilter: - results[name] = resource - } - } - return results -} - -// GetSESReceiptFilterWithName retrieves all ses.ReceiptFilter items from an AWS CloudFormation template +// GetEC2VPCCidrBlockWithName retrieves all ec2.VPCCidrBlock items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptFilterWithName(name string) (*ses.ReceiptFilter, error) { +func (t *Template) GetEC2VPCCidrBlockWithName(name string) (*ec2.VPCCidrBlock, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptFilter: + case *ec2.VPCCidrBlock: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptFilter not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCCidrBlock not found", name) } -// GetAllSESReceiptRuleResources retrieves all ses.ReceiptRule items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptRuleResources() map[string]*ses.ReceiptRule { - results := map[string]*ses.ReceiptRule{} +// GetAllEC2VPCDHCPOptionsAssociationResources retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCDHCPOptionsAssociationResources() map[string]*ec2.VPCDHCPOptionsAssociation { + results := map[string]*ec2.VPCDHCPOptionsAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ReceiptRule: + case *ec2.VPCDHCPOptionsAssociation: results[name] = resource } } return results } -// GetSESReceiptRuleWithName retrieves all ses.ReceiptRule items from an AWS CloudFormation template +// GetEC2VPCDHCPOptionsAssociationWithName retrieves all ec2.VPCDHCPOptionsAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptRuleWithName(name string) (*ses.ReceiptRule, error) { +func (t *Template) GetEC2VPCDHCPOptionsAssociationWithName(name string) (*ec2.VPCDHCPOptionsAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptRule: + case *ec2.VPCDHCPOptionsAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptRule not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCDHCPOptionsAssociation not found", name) } -// GetAllSESReceiptRuleSetResources retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template -func (t *Template) GetAllSESReceiptRuleSetResources() map[string]*ses.ReceiptRuleSet { - results := map[string]*ses.ReceiptRuleSet{} +// GetAllEC2VPCEndpointResources retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointResources() map[string]*ec2.VPCEndpoint { + results := map[string]*ec2.VPCEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.ReceiptRuleSet: + case *ec2.VPCEndpoint: results[name] = resource } } return results } -// GetSESReceiptRuleSetWithName retrieves all ses.ReceiptRuleSet items from an AWS CloudFormation template +// GetEC2VPCEndpointWithName retrieves all ec2.VPCEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESReceiptRuleSetWithName(name string) (*ses.ReceiptRuleSet, error) { +func (t *Template) GetEC2VPCEndpointWithName(name string) (*ec2.VPCEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.ReceiptRuleSet: + case *ec2.VPCEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.ReceiptRuleSet not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpoint not found", name) } -// GetAllSESTemplateResources retrieves all ses.Template items from an AWS CloudFormation template -func (t *Template) GetAllSESTemplateResources() map[string]*ses.Template { - results := map[string]*ses.Template{} +// GetAllEC2VPCEndpointConnectionNotificationResources retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointConnectionNotificationResources() map[string]*ec2.VPCEndpointConnectionNotification { + results := map[string]*ec2.VPCEndpointConnectionNotification{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ses.Template: + case *ec2.VPCEndpointConnectionNotification: results[name] = resource } } return results } -// GetSESTemplateWithName retrieves all ses.Template items from an AWS CloudFormation template +// GetEC2VPCEndpointConnectionNotificationWithName retrieves all ec2.VPCEndpointConnectionNotification items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSESTemplateWithName(name string) (*ses.Template, error) { +func (t *Template) GetEC2VPCEndpointConnectionNotificationWithName(name string) (*ec2.VPCEndpointConnectionNotification, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ses.Template: + case *ec2.VPCEndpointConnectionNotification: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ses.Template not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointConnectionNotification not found", name) } -// GetAllSNSSubscriptionResources retrieves all sns.Subscription items from an AWS CloudFormation template -func (t *Template) GetAllSNSSubscriptionResources() map[string]*sns.Subscription { - results := map[string]*sns.Subscription{} +// GetAllEC2VPCEndpointServiceResources retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointServiceResources() map[string]*ec2.VPCEndpointService { + results := map[string]*ec2.VPCEndpointService{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sns.Subscription: + case *ec2.VPCEndpointService: results[name] = resource } } return results } -// GetSNSSubscriptionWithName retrieves all sns.Subscription items from an AWS CloudFormation template +// GetEC2VPCEndpointServiceWithName retrieves all ec2.VPCEndpointService items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSNSSubscriptionWithName(name string) (*sns.Subscription, error) { +func (t *Template) GetEC2VPCEndpointServiceWithName(name string) (*ec2.VPCEndpointService, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sns.Subscription: + case *ec2.VPCEndpointService: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sns.Subscription not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointService not found", name) } -// GetAllSNSTopicResources retrieves all sns.Topic items from an AWS CloudFormation template -func (t *Template) GetAllSNSTopicResources() map[string]*sns.Topic { - results := map[string]*sns.Topic{} +// GetAllEC2VPCEndpointServicePermissionsResources retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCEndpointServicePermissionsResources() map[string]*ec2.VPCEndpointServicePermissions { + results := map[string]*ec2.VPCEndpointServicePermissions{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sns.Topic: + case *ec2.VPCEndpointServicePermissions: results[name] = resource } } return results } -// GetSNSTopicWithName retrieves all sns.Topic items from an AWS CloudFormation template +// GetEC2VPCEndpointServicePermissionsWithName retrieves all ec2.VPCEndpointServicePermissions items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSNSTopicWithName(name string) (*sns.Topic, error) { +func (t *Template) GetEC2VPCEndpointServicePermissionsWithName(name string) (*ec2.VPCEndpointServicePermissions, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sns.Topic: + case *ec2.VPCEndpointServicePermissions: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sns.Topic not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCEndpointServicePermissions not found", name) } -// GetAllSNSTopicPolicyResources retrieves all sns.TopicPolicy items from an AWS CloudFormation template -func (t *Template) GetAllSNSTopicPolicyResources() map[string]*sns.TopicPolicy { - results := map[string]*sns.TopicPolicy{} +// GetAllEC2VPCGatewayAttachmentResources retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCGatewayAttachmentResources() map[string]*ec2.VPCGatewayAttachment { + results := map[string]*ec2.VPCGatewayAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sns.TopicPolicy: + case *ec2.VPCGatewayAttachment: results[name] = resource } } return results } -// GetSNSTopicPolicyWithName retrieves all sns.TopicPolicy items from an AWS CloudFormation template +// GetEC2VPCGatewayAttachmentWithName retrieves all ec2.VPCGatewayAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSNSTopicPolicyWithName(name string) (*sns.TopicPolicy, error) { +func (t *Template) GetEC2VPCGatewayAttachmentWithName(name string) (*ec2.VPCGatewayAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sns.TopicPolicy: + case *ec2.VPCGatewayAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sns.TopicPolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCGatewayAttachment not found", name) } -// GetAllSQSQueueResources retrieves all sqs.Queue items from an AWS CloudFormation template -func (t *Template) GetAllSQSQueueResources() map[string]*sqs.Queue { - results := map[string]*sqs.Queue{} +// GetAllEC2VPCPeeringConnectionResources retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPCPeeringConnectionResources() map[string]*ec2.VPCPeeringConnection { + results := map[string]*ec2.VPCPeeringConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sqs.Queue: + case *ec2.VPCPeeringConnection: results[name] = resource } } return results } -// GetSQSQueueWithName retrieves all sqs.Queue items from an AWS CloudFormation template +// GetEC2VPCPeeringConnectionWithName retrieves all ec2.VPCPeeringConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSQSQueueWithName(name string) (*sqs.Queue, error) { +func (t *Template) GetEC2VPCPeeringConnectionWithName(name string) (*ec2.VPCPeeringConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sqs.Queue: + case *ec2.VPCPeeringConnection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sqs.Queue not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPCPeeringConnection not found", name) } -// GetAllSQSQueuePolicyResources retrieves all sqs.QueuePolicy items from an AWS CloudFormation template -func (t *Template) GetAllSQSQueuePolicyResources() map[string]*sqs.QueuePolicy { - results := map[string]*sqs.QueuePolicy{} +// GetAllEC2VPNConnectionResources retrieves all ec2.VPNConnection items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNConnectionResources() map[string]*ec2.VPNConnection { + results := map[string]*ec2.VPNConnection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sqs.QueuePolicy: + case *ec2.VPNConnection: results[name] = resource } } return results } -// GetSQSQueuePolicyWithName retrieves all sqs.QueuePolicy items from an AWS CloudFormation template +// GetEC2VPNConnectionWithName retrieves all ec2.VPNConnection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSQSQueuePolicyWithName(name string) (*sqs.QueuePolicy, error) { +func (t *Template) GetEC2VPNConnectionWithName(name string) (*ec2.VPNConnection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sqs.QueuePolicy: + case *ec2.VPNConnection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sqs.QueuePolicy not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNConnection not found", name) } -// GetAllSSMAssociationResources retrieves all ssm.Association items from an AWS CloudFormation template -func (t *Template) GetAllSSMAssociationResources() map[string]*ssm.Association { - results := map[string]*ssm.Association{} +// GetAllEC2VPNConnectionRouteResources retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNConnectionRouteResources() map[string]*ec2.VPNConnectionRoute { + results := map[string]*ec2.VPNConnectionRoute{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Association: + case *ec2.VPNConnectionRoute: results[name] = resource } } return results } -// GetSSMAssociationWithName retrieves all ssm.Association items from an AWS CloudFormation template +// GetEC2VPNConnectionRouteWithName retrieves all ec2.VPNConnectionRoute items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMAssociationWithName(name string) (*ssm.Association, error) { +func (t *Template) GetEC2VPNConnectionRouteWithName(name string) (*ec2.VPNConnectionRoute, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Association: + case *ec2.VPNConnectionRoute: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Association not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNConnectionRoute not found", name) } -// GetAllSSMDocumentResources retrieves all ssm.Document items from an AWS CloudFormation template -func (t *Template) GetAllSSMDocumentResources() map[string]*ssm.Document { - results := map[string]*ssm.Document{} +// GetAllEC2VPNGatewayResources retrieves all ec2.VPNGateway items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNGatewayResources() map[string]*ec2.VPNGateway { + results := map[string]*ec2.VPNGateway{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Document: + case *ec2.VPNGateway: results[name] = resource } } return results } -// GetSSMDocumentWithName retrieves all ssm.Document items from an AWS CloudFormation template +// GetEC2VPNGatewayWithName retrieves all ec2.VPNGateway items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMDocumentWithName(name string) (*ssm.Document, error) { +func (t *Template) GetEC2VPNGatewayWithName(name string) (*ec2.VPNGateway, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Document: + case *ec2.VPNGateway: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Document not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNGateway not found", name) } -// GetAllSSMMaintenanceWindowResources retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowResources() map[string]*ssm.MaintenanceWindow { - results := map[string]*ssm.MaintenanceWindow{} +// GetAllEC2VPNGatewayRoutePropagationResources retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template +func (t *Template) GetAllEC2VPNGatewayRoutePropagationResources() map[string]*ec2.VPNGatewayRoutePropagation { + results := map[string]*ec2.VPNGatewayRoutePropagation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindow: + case *ec2.VPNGatewayRoutePropagation: results[name] = resource } } return results } -// GetSSMMaintenanceWindowWithName retrieves all ssm.MaintenanceWindow items from an AWS CloudFormation template +// GetEC2VPNGatewayRoutePropagationWithName retrieves all ec2.VPNGatewayRoutePropagation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowWithName(name string) (*ssm.MaintenanceWindow, error) { +func (t *Template) GetEC2VPNGatewayRoutePropagationWithName(name string) (*ec2.VPNGatewayRoutePropagation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindow: + case *ec2.VPNGatewayRoutePropagation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindow not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VPNGatewayRoutePropagation not found", name) } -// GetAllSSMMaintenanceWindowTargetResources retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowTargetResources() map[string]*ssm.MaintenanceWindowTarget { - results := map[string]*ssm.MaintenanceWindowTarget{} +// GetAllEC2VerifiedAccessEndpointResources retrieves all ec2.VerifiedAccessEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllEC2VerifiedAccessEndpointResources() map[string]*ec2.VerifiedAccessEndpoint { + results := map[string]*ec2.VerifiedAccessEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTarget: + case *ec2.VerifiedAccessEndpoint: results[name] = resource } } return results } -// GetSSMMaintenanceWindowTargetWithName retrieves all ssm.MaintenanceWindowTarget items from an AWS CloudFormation template +// GetEC2VerifiedAccessEndpointWithName retrieves all ec2.VerifiedAccessEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowTargetWithName(name string) (*ssm.MaintenanceWindowTarget, error) { +func (t *Template) GetEC2VerifiedAccessEndpointWithName(name string) (*ec2.VerifiedAccessEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTarget: + case *ec2.VerifiedAccessEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTarget not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VerifiedAccessEndpoint not found", name) } -// GetAllSSMMaintenanceWindowTaskResources retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template -func (t *Template) GetAllSSMMaintenanceWindowTaskResources() map[string]*ssm.MaintenanceWindowTask { - results := map[string]*ssm.MaintenanceWindowTask{} +// GetAllEC2VerifiedAccessGroupResources retrieves all ec2.VerifiedAccessGroup items from an AWS CloudFormation template +func (t *Template) GetAllEC2VerifiedAccessGroupResources() map[string]*ec2.VerifiedAccessGroup { + results := map[string]*ec2.VerifiedAccessGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTask: + case *ec2.VerifiedAccessGroup: results[name] = resource } } return results } -// GetSSMMaintenanceWindowTaskWithName retrieves all ssm.MaintenanceWindowTask items from an AWS CloudFormation template +// GetEC2VerifiedAccessGroupWithName retrieves all ec2.VerifiedAccessGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMMaintenanceWindowTaskWithName(name string) (*ssm.MaintenanceWindowTask, error) { +func (t *Template) GetEC2VerifiedAccessGroupWithName(name string) (*ec2.VerifiedAccessGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.MaintenanceWindowTask: + case *ec2.VerifiedAccessGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.MaintenanceWindowTask not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VerifiedAccessGroup not found", name) } -// GetAllSSMParameterResources retrieves all ssm.Parameter items from an AWS CloudFormation template -func (t *Template) GetAllSSMParameterResources() map[string]*ssm.Parameter { - results := map[string]*ssm.Parameter{} +// GetAllEC2VerifiedAccessInstanceResources retrieves all ec2.VerifiedAccessInstance items from an AWS CloudFormation template +func (t *Template) GetAllEC2VerifiedAccessInstanceResources() map[string]*ec2.VerifiedAccessInstance { + results := map[string]*ec2.VerifiedAccessInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.Parameter: + case *ec2.VerifiedAccessInstance: results[name] = resource } } return results } -// GetSSMParameterWithName retrieves all ssm.Parameter items from an AWS CloudFormation template +// GetEC2VerifiedAccessInstanceWithName retrieves all ec2.VerifiedAccessInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMParameterWithName(name string) (*ssm.Parameter, error) { +func (t *Template) GetEC2VerifiedAccessInstanceWithName(name string) (*ec2.VerifiedAccessInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.Parameter: + case *ec2.VerifiedAccessInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.Parameter not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VerifiedAccessInstance not found", name) } -// GetAllSSMPatchBaselineResources retrieves all ssm.PatchBaseline items from an AWS CloudFormation template -func (t *Template) GetAllSSMPatchBaselineResources() map[string]*ssm.PatchBaseline { - results := map[string]*ssm.PatchBaseline{} +// GetAllEC2VerifiedAccessTrustProviderResources retrieves all ec2.VerifiedAccessTrustProvider items from an AWS CloudFormation template +func (t *Template) GetAllEC2VerifiedAccessTrustProviderResources() map[string]*ec2.VerifiedAccessTrustProvider { + results := map[string]*ec2.VerifiedAccessTrustProvider{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.PatchBaseline: + case *ec2.VerifiedAccessTrustProvider: results[name] = resource } } return results } -// GetSSMPatchBaselineWithName retrieves all ssm.PatchBaseline items from an AWS CloudFormation template +// GetEC2VerifiedAccessTrustProviderWithName retrieves all ec2.VerifiedAccessTrustProvider items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMPatchBaselineWithName(name string) (*ssm.PatchBaseline, error) { +func (t *Template) GetEC2VerifiedAccessTrustProviderWithName(name string) (*ec2.VerifiedAccessTrustProvider, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.PatchBaseline: + case *ec2.VerifiedAccessTrustProvider: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.PatchBaseline not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VerifiedAccessTrustProvider not found", name) } -// GetAllSSMResourceDataSyncResources retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template -func (t *Template) GetAllSSMResourceDataSyncResources() map[string]*ssm.ResourceDataSync { - results := map[string]*ssm.ResourceDataSync{} +// GetAllEC2VolumeResources retrieves all ec2.Volume items from an AWS CloudFormation template +func (t *Template) GetAllEC2VolumeResources() map[string]*ec2.Volume { + results := map[string]*ec2.Volume{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssm.ResourceDataSync: + case *ec2.Volume: results[name] = resource } } return results } -// GetSSMResourceDataSyncWithName retrieves all ssm.ResourceDataSync items from an AWS CloudFormation template +// GetEC2VolumeWithName retrieves all ec2.Volume items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMResourceDataSyncWithName(name string) (*ssm.ResourceDataSync, error) { +func (t *Template) GetEC2VolumeWithName(name string) (*ec2.Volume, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssm.ResourceDataSync: + case *ec2.Volume: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssm.ResourceDataSync not found", name) + return nil, fmt.Errorf("resource %q of type ec2.Volume not found", name) } -// GetAllSSMContactsContactResources retrieves all ssmcontacts.Contact items from an AWS CloudFormation template -func (t *Template) GetAllSSMContactsContactResources() map[string]*ssmcontacts.Contact { - results := map[string]*ssmcontacts.Contact{} +// GetAllEC2VolumeAttachmentResources retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template +func (t *Template) GetAllEC2VolumeAttachmentResources() map[string]*ec2.VolumeAttachment { + results := map[string]*ec2.VolumeAttachment{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssmcontacts.Contact: + case *ec2.VolumeAttachment: results[name] = resource } } return results } -// GetSSMContactsContactWithName retrieves all ssmcontacts.Contact items from an AWS CloudFormation template +// GetEC2VolumeAttachmentWithName retrieves all ec2.VolumeAttachment items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMContactsContactWithName(name string) (*ssmcontacts.Contact, error) { +func (t *Template) GetEC2VolumeAttachmentWithName(name string) (*ec2.VolumeAttachment, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssmcontacts.Contact: + case *ec2.VolumeAttachment: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssmcontacts.Contact not found", name) + return nil, fmt.Errorf("resource %q of type ec2.VolumeAttachment not found", name) } -// GetAllSSMContactsContactChannelResources retrieves all ssmcontacts.ContactChannel items from an AWS CloudFormation template -func (t *Template) GetAllSSMContactsContactChannelResources() map[string]*ssmcontacts.ContactChannel { - results := map[string]*ssmcontacts.ContactChannel{} +// GetAllECRPublicRepositoryResources retrieves all ecr.PublicRepository items from an AWS CloudFormation template +func (t *Template) GetAllECRPublicRepositoryResources() map[string]*ecr.PublicRepository { + results := map[string]*ecr.PublicRepository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssmcontacts.ContactChannel: + case *ecr.PublicRepository: results[name] = resource } } return results } -// GetSSMContactsContactChannelWithName retrieves all ssmcontacts.ContactChannel items from an AWS CloudFormation template +// GetECRPublicRepositoryWithName retrieves all ecr.PublicRepository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMContactsContactChannelWithName(name string) (*ssmcontacts.ContactChannel, error) { +func (t *Template) GetECRPublicRepositoryWithName(name string) (*ecr.PublicRepository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssmcontacts.ContactChannel: + case *ecr.PublicRepository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssmcontacts.ContactChannel not found", name) + return nil, fmt.Errorf("resource %q of type ecr.PublicRepository not found", name) } -// GetAllSSMIncidentsReplicationSetResources retrieves all ssmincidents.ReplicationSet items from an AWS CloudFormation template -func (t *Template) GetAllSSMIncidentsReplicationSetResources() map[string]*ssmincidents.ReplicationSet { - results := map[string]*ssmincidents.ReplicationSet{} +// GetAllECRPullThroughCacheRuleResources retrieves all ecr.PullThroughCacheRule items from an AWS CloudFormation template +func (t *Template) GetAllECRPullThroughCacheRuleResources() map[string]*ecr.PullThroughCacheRule { + results := map[string]*ecr.PullThroughCacheRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssmincidents.ReplicationSet: + case *ecr.PullThroughCacheRule: results[name] = resource } } return results } -// GetSSMIncidentsReplicationSetWithName retrieves all ssmincidents.ReplicationSet items from an AWS CloudFormation template +// GetECRPullThroughCacheRuleWithName retrieves all ecr.PullThroughCacheRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMIncidentsReplicationSetWithName(name string) (*ssmincidents.ReplicationSet, error) { +func (t *Template) GetECRPullThroughCacheRuleWithName(name string) (*ecr.PullThroughCacheRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssmincidents.ReplicationSet: + case *ecr.PullThroughCacheRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssmincidents.ReplicationSet not found", name) + return nil, fmt.Errorf("resource %q of type ecr.PullThroughCacheRule not found", name) } -// GetAllSSMIncidentsResponsePlanResources retrieves all ssmincidents.ResponsePlan items from an AWS CloudFormation template -func (t *Template) GetAllSSMIncidentsResponsePlanResources() map[string]*ssmincidents.ResponsePlan { - results := map[string]*ssmincidents.ResponsePlan{} +// GetAllECRRegistryPolicyResources retrieves all ecr.RegistryPolicy items from an AWS CloudFormation template +func (t *Template) GetAllECRRegistryPolicyResources() map[string]*ecr.RegistryPolicy { + results := map[string]*ecr.RegistryPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ssmincidents.ResponsePlan: + case *ecr.RegistryPolicy: results[name] = resource } } return results } -// GetSSMIncidentsResponsePlanWithName retrieves all ssmincidents.ResponsePlan items from an AWS CloudFormation template +// GetECRRegistryPolicyWithName retrieves all ecr.RegistryPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSMIncidentsResponsePlanWithName(name string) (*ssmincidents.ResponsePlan, error) { +func (t *Template) GetECRRegistryPolicyWithName(name string) (*ecr.RegistryPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ssmincidents.ResponsePlan: + case *ecr.RegistryPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ssmincidents.ResponsePlan not found", name) + return nil, fmt.Errorf("resource %q of type ecr.RegistryPolicy not found", name) } -// GetAllSSOAssignmentResources retrieves all sso.Assignment items from an AWS CloudFormation template -func (t *Template) GetAllSSOAssignmentResources() map[string]*sso.Assignment { - results := map[string]*sso.Assignment{} +// GetAllECRReplicationConfigurationResources retrieves all ecr.ReplicationConfiguration items from an AWS CloudFormation template +func (t *Template) GetAllECRReplicationConfigurationResources() map[string]*ecr.ReplicationConfiguration { + results := map[string]*ecr.ReplicationConfiguration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sso.Assignment: + case *ecr.ReplicationConfiguration: results[name] = resource } } return results } -// GetSSOAssignmentWithName retrieves all sso.Assignment items from an AWS CloudFormation template +// GetECRReplicationConfigurationWithName retrieves all ecr.ReplicationConfiguration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSOAssignmentWithName(name string) (*sso.Assignment, error) { +func (t *Template) GetECRReplicationConfigurationWithName(name string) (*ecr.ReplicationConfiguration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sso.Assignment: + case *ecr.ReplicationConfiguration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sso.Assignment not found", name) + return nil, fmt.Errorf("resource %q of type ecr.ReplicationConfiguration not found", name) } -// GetAllSSOInstanceAccessControlAttributeConfigurationResources retrieves all sso.InstanceAccessControlAttributeConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllSSOInstanceAccessControlAttributeConfigurationResources() map[string]*sso.InstanceAccessControlAttributeConfiguration { - results := map[string]*sso.InstanceAccessControlAttributeConfiguration{} +// GetAllECRRepositoryResources retrieves all ecr.Repository items from an AWS CloudFormation template +func (t *Template) GetAllECRRepositoryResources() map[string]*ecr.Repository { + results := map[string]*ecr.Repository{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sso.InstanceAccessControlAttributeConfiguration: + case *ecr.Repository: results[name] = resource } } return results } -// GetSSOInstanceAccessControlAttributeConfigurationWithName retrieves all sso.InstanceAccessControlAttributeConfiguration items from an AWS CloudFormation template +// GetECRRepositoryWithName retrieves all ecr.Repository items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSOInstanceAccessControlAttributeConfigurationWithName(name string) (*sso.InstanceAccessControlAttributeConfiguration, error) { +func (t *Template) GetECRRepositoryWithName(name string) (*ecr.Repository, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sso.InstanceAccessControlAttributeConfiguration: + case *ecr.Repository: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sso.InstanceAccessControlAttributeConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type ecr.Repository not found", name) } -// GetAllSSOPermissionSetResources retrieves all sso.PermissionSet items from an AWS CloudFormation template -func (t *Template) GetAllSSOPermissionSetResources() map[string]*sso.PermissionSet { - results := map[string]*sso.PermissionSet{} +// GetAllECRRepositoryCreationTemplateResources retrieves all ecr.RepositoryCreationTemplate items from an AWS CloudFormation template +func (t *Template) GetAllECRRepositoryCreationTemplateResources() map[string]*ecr.RepositoryCreationTemplate { + results := map[string]*ecr.RepositoryCreationTemplate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sso.PermissionSet: + case *ecr.RepositoryCreationTemplate: results[name] = resource } } return results } -// GetSSOPermissionSetWithName retrieves all sso.PermissionSet items from an AWS CloudFormation template +// GetECRRepositoryCreationTemplateWithName retrieves all ecr.RepositoryCreationTemplate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSSOPermissionSetWithName(name string) (*sso.PermissionSet, error) { +func (t *Template) GetECRRepositoryCreationTemplateWithName(name string) (*ecr.RepositoryCreationTemplate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sso.PermissionSet: + case *ecr.RepositoryCreationTemplate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sso.PermissionSet not found", name) + return nil, fmt.Errorf("resource %q of type ecr.RepositoryCreationTemplate not found", name) } -// GetAllSageMakerAppResources retrieves all sagemaker.App items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerAppResources() map[string]*sagemaker.App { - results := map[string]*sagemaker.App{} +// GetAllEKSAccessEntryResources retrieves all eks.AccessEntry items from an AWS CloudFormation template +func (t *Template) GetAllEKSAccessEntryResources() map[string]*eks.AccessEntry { + results := map[string]*eks.AccessEntry{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.App: + case *eks.AccessEntry: results[name] = resource } } return results } -// GetSageMakerAppWithName retrieves all sagemaker.App items from an AWS CloudFormation template +// GetEKSAccessEntryWithName retrieves all eks.AccessEntry items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerAppWithName(name string) (*sagemaker.App, error) { +func (t *Template) GetEKSAccessEntryWithName(name string) (*eks.AccessEntry, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.App: + case *eks.AccessEntry: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.App not found", name) + return nil, fmt.Errorf("resource %q of type eks.AccessEntry not found", name) } -// GetAllSageMakerAppImageConfigResources retrieves all sagemaker.AppImageConfig items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerAppImageConfigResources() map[string]*sagemaker.AppImageConfig { - results := map[string]*sagemaker.AppImageConfig{} +// GetAllEKSAddonResources retrieves all eks.Addon items from an AWS CloudFormation template +func (t *Template) GetAllEKSAddonResources() map[string]*eks.Addon { + results := map[string]*eks.Addon{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.AppImageConfig: + case *eks.Addon: results[name] = resource } } return results } -// GetSageMakerAppImageConfigWithName retrieves all sagemaker.AppImageConfig items from an AWS CloudFormation template +// GetEKSAddonWithName retrieves all eks.Addon items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerAppImageConfigWithName(name string) (*sagemaker.AppImageConfig, error) { +func (t *Template) GetEKSAddonWithName(name string) (*eks.Addon, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.AppImageConfig: + case *eks.Addon: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.AppImageConfig not found", name) + return nil, fmt.Errorf("resource %q of type eks.Addon not found", name) } -// GetAllSageMakerCodeRepositoryResources retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerCodeRepositoryResources() map[string]*sagemaker.CodeRepository { - results := map[string]*sagemaker.CodeRepository{} +// GetAllEKSClusterResources retrieves all eks.Cluster items from an AWS CloudFormation template +func (t *Template) GetAllEKSClusterResources() map[string]*eks.Cluster { + results := map[string]*eks.Cluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.CodeRepository: + case *eks.Cluster: results[name] = resource } } return results } -// GetSageMakerCodeRepositoryWithName retrieves all sagemaker.CodeRepository items from an AWS CloudFormation template +// GetEKSClusterWithName retrieves all eks.Cluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerCodeRepositoryWithName(name string) (*sagemaker.CodeRepository, error) { +func (t *Template) GetEKSClusterWithName(name string) (*eks.Cluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.CodeRepository: + case *eks.Cluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.CodeRepository not found", name) + return nil, fmt.Errorf("resource %q of type eks.Cluster not found", name) } -// GetAllSageMakerDataQualityJobDefinitionResources retrieves all sagemaker.DataQualityJobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerDataQualityJobDefinitionResources() map[string]*sagemaker.DataQualityJobDefinition { - results := map[string]*sagemaker.DataQualityJobDefinition{} +// GetAllEKSFargateProfileResources retrieves all eks.FargateProfile items from an AWS CloudFormation template +func (t *Template) GetAllEKSFargateProfileResources() map[string]*eks.FargateProfile { + results := map[string]*eks.FargateProfile{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.DataQualityJobDefinition: + case *eks.FargateProfile: results[name] = resource } } return results } -// GetSageMakerDataQualityJobDefinitionWithName retrieves all sagemaker.DataQualityJobDefinition items from an AWS CloudFormation template +// GetEKSFargateProfileWithName retrieves all eks.FargateProfile items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerDataQualityJobDefinitionWithName(name string) (*sagemaker.DataQualityJobDefinition, error) { +func (t *Template) GetEKSFargateProfileWithName(name string) (*eks.FargateProfile, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.DataQualityJobDefinition: + case *eks.FargateProfile: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.DataQualityJobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type eks.FargateProfile not found", name) } -// GetAllSageMakerDeviceResources retrieves all sagemaker.Device items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerDeviceResources() map[string]*sagemaker.Device { - results := map[string]*sagemaker.Device{} +// GetAllEKSIdentityProviderConfigResources retrieves all eks.IdentityProviderConfig items from an AWS CloudFormation template +func (t *Template) GetAllEKSIdentityProviderConfigResources() map[string]*eks.IdentityProviderConfig { + results := map[string]*eks.IdentityProviderConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Device: + case *eks.IdentityProviderConfig: results[name] = resource } } return results } -// GetSageMakerDeviceWithName retrieves all sagemaker.Device items from an AWS CloudFormation template +// GetEKSIdentityProviderConfigWithName retrieves all eks.IdentityProviderConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerDeviceWithName(name string) (*sagemaker.Device, error) { +func (t *Template) GetEKSIdentityProviderConfigWithName(name string) (*eks.IdentityProviderConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Device: + case *eks.IdentityProviderConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Device not found", name) + return nil, fmt.Errorf("resource %q of type eks.IdentityProviderConfig not found", name) } -// GetAllSageMakerDeviceFleetResources retrieves all sagemaker.DeviceFleet items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerDeviceFleetResources() map[string]*sagemaker.DeviceFleet { - results := map[string]*sagemaker.DeviceFleet{} +// GetAllEKSNodegroupResources retrieves all eks.Nodegroup items from an AWS CloudFormation template +func (t *Template) GetAllEKSNodegroupResources() map[string]*eks.Nodegroup { + results := map[string]*eks.Nodegroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.DeviceFleet: + case *eks.Nodegroup: results[name] = resource } } return results } -// GetSageMakerDeviceFleetWithName retrieves all sagemaker.DeviceFleet items from an AWS CloudFormation template +// GetEKSNodegroupWithName retrieves all eks.Nodegroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerDeviceFleetWithName(name string) (*sagemaker.DeviceFleet, error) { +func (t *Template) GetEKSNodegroupWithName(name string) (*eks.Nodegroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.DeviceFleet: + case *eks.Nodegroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.DeviceFleet not found", name) + return nil, fmt.Errorf("resource %q of type eks.Nodegroup not found", name) } -// GetAllSageMakerDomainResources retrieves all sagemaker.Domain items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerDomainResources() map[string]*sagemaker.Domain { - results := map[string]*sagemaker.Domain{} +// GetAllEKSPodIdentityAssociationResources retrieves all eks.PodIdentityAssociation items from an AWS CloudFormation template +func (t *Template) GetAllEKSPodIdentityAssociationResources() map[string]*eks.PodIdentityAssociation { + results := map[string]*eks.PodIdentityAssociation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Domain: + case *eks.PodIdentityAssociation: results[name] = resource } } return results } -// GetSageMakerDomainWithName retrieves all sagemaker.Domain items from an AWS CloudFormation template +// GetEKSPodIdentityAssociationWithName retrieves all eks.PodIdentityAssociation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerDomainWithName(name string) (*sagemaker.Domain, error) { +func (t *Template) GetEKSPodIdentityAssociationWithName(name string) (*eks.PodIdentityAssociation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Domain: + case *eks.PodIdentityAssociation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Domain not found", name) + return nil, fmt.Errorf("resource %q of type eks.PodIdentityAssociation not found", name) } -// GetAllSageMakerEndpointResources retrieves all sagemaker.Endpoint items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerEndpointResources() map[string]*sagemaker.Endpoint { - results := map[string]*sagemaker.Endpoint{} +// GetAllElasticLoadBalancingLoadBalancerResources retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingLoadBalancerResources() map[string]*elasticloadbalancing.LoadBalancer { + results := map[string]*elasticloadbalancing.LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Endpoint: + case *elasticloadbalancing.LoadBalancer: results[name] = resource } } return results } -// GetSageMakerEndpointWithName retrieves all sagemaker.Endpoint items from an AWS CloudFormation template +// GetElasticLoadBalancingLoadBalancerWithName retrieves all elasticloadbalancing.LoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerEndpointWithName(name string) (*sagemaker.Endpoint, error) { +func (t *Template) GetElasticLoadBalancingLoadBalancerWithName(name string) (*elasticloadbalancing.LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Endpoint: + case *elasticloadbalancing.LoadBalancer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Endpoint not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancing.LoadBalancer not found", name) } -// GetAllSageMakerEndpointConfigResources retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerEndpointConfigResources() map[string]*sagemaker.EndpointConfig { - results := map[string]*sagemaker.EndpointConfig{} +// GetAllElasticLoadBalancingV2ListenerResources retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerResources() map[string]*elasticloadbalancingv2.Listener { + results := map[string]*elasticloadbalancingv2.Listener{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.EndpointConfig: + case *elasticloadbalancingv2.Listener: results[name] = resource } } return results } -// GetSageMakerEndpointConfigWithName retrieves all sagemaker.EndpointConfig items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerWithName retrieves all elasticloadbalancingv2.Listener items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerEndpointConfigWithName(name string) (*sagemaker.EndpointConfig, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerWithName(name string) (*elasticloadbalancingv2.Listener, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.EndpointConfig: + case *elasticloadbalancingv2.Listener: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.EndpointConfig not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.Listener not found", name) } -// GetAllSageMakerFeatureGroupResources retrieves all sagemaker.FeatureGroup items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerFeatureGroupResources() map[string]*sagemaker.FeatureGroup { - results := map[string]*sagemaker.FeatureGroup{} +// GetAllElasticLoadBalancingV2ListenerCertificateResources retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerCertificateResources() map[string]*elasticloadbalancingv2.ListenerCertificate { + results := map[string]*elasticloadbalancingv2.ListenerCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.FeatureGroup: + case *elasticloadbalancingv2.ListenerCertificate: results[name] = resource } } return results } -// GetSageMakerFeatureGroupWithName retrieves all sagemaker.FeatureGroup items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerCertificateWithName retrieves all elasticloadbalancingv2.ListenerCertificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerFeatureGroupWithName(name string) (*sagemaker.FeatureGroup, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerCertificateWithName(name string) (*elasticloadbalancingv2.ListenerCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.FeatureGroup: + case *elasticloadbalancingv2.ListenerCertificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.FeatureGroup not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerCertificate not found", name) } -// GetAllSageMakerImageResources retrieves all sagemaker.Image items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerImageResources() map[string]*sagemaker.Image { - results := map[string]*sagemaker.Image{} +// GetAllElasticLoadBalancingV2ListenerRuleResources retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2ListenerRuleResources() map[string]*elasticloadbalancingv2.ListenerRule { + results := map[string]*elasticloadbalancingv2.ListenerRule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Image: + case *elasticloadbalancingv2.ListenerRule: results[name] = resource } } return results } -// GetSageMakerImageWithName retrieves all sagemaker.Image items from an AWS CloudFormation template +// GetElasticLoadBalancingV2ListenerRuleWithName retrieves all elasticloadbalancingv2.ListenerRule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerImageWithName(name string) (*sagemaker.Image, error) { +func (t *Template) GetElasticLoadBalancingV2ListenerRuleWithName(name string) (*elasticloadbalancingv2.ListenerRule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Image: + case *elasticloadbalancingv2.ListenerRule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Image not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.ListenerRule not found", name) } -// GetAllSageMakerImageVersionResources retrieves all sagemaker.ImageVersion items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerImageVersionResources() map[string]*sagemaker.ImageVersion { - results := map[string]*sagemaker.ImageVersion{} +// GetAllElasticLoadBalancingV2LoadBalancerResources retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2LoadBalancerResources() map[string]*elasticloadbalancingv2.LoadBalancer { + results := map[string]*elasticloadbalancingv2.LoadBalancer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.ImageVersion: + case *elasticloadbalancingv2.LoadBalancer: results[name] = resource } } return results } -// GetSageMakerImageVersionWithName retrieves all sagemaker.ImageVersion items from an AWS CloudFormation template +// GetElasticLoadBalancingV2LoadBalancerWithName retrieves all elasticloadbalancingv2.LoadBalancer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerImageVersionWithName(name string) (*sagemaker.ImageVersion, error) { +func (t *Template) GetElasticLoadBalancingV2LoadBalancerWithName(name string) (*elasticloadbalancingv2.LoadBalancer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.ImageVersion: + case *elasticloadbalancingv2.LoadBalancer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.ImageVersion not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.LoadBalancer not found", name) } -// GetAllSageMakerModelResources retrieves all sagemaker.Model items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelResources() map[string]*sagemaker.Model { - results := map[string]*sagemaker.Model{} +// GetAllElasticLoadBalancingV2TargetGroupResources retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2TargetGroupResources() map[string]*elasticloadbalancingv2.TargetGroup { + results := map[string]*elasticloadbalancingv2.TargetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Model: + case *elasticloadbalancingv2.TargetGroup: results[name] = resource } } return results } -// GetSageMakerModelWithName retrieves all sagemaker.Model items from an AWS CloudFormation template +// GetElasticLoadBalancingV2TargetGroupWithName retrieves all elasticloadbalancingv2.TargetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelWithName(name string) (*sagemaker.Model, error) { +func (t *Template) GetElasticLoadBalancingV2TargetGroupWithName(name string) (*elasticloadbalancingv2.TargetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Model: + case *elasticloadbalancingv2.TargetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Model not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TargetGroup not found", name) } -// GetAllSageMakerModelBiasJobDefinitionResources retrieves all sagemaker.ModelBiasJobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelBiasJobDefinitionResources() map[string]*sagemaker.ModelBiasJobDefinition { - results := map[string]*sagemaker.ModelBiasJobDefinition{} +// GetAllElasticLoadBalancingV2TrustStoreResources retrieves all elasticloadbalancingv2.TrustStore items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2TrustStoreResources() map[string]*elasticloadbalancingv2.TrustStore { + results := map[string]*elasticloadbalancingv2.TrustStore{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.ModelBiasJobDefinition: + case *elasticloadbalancingv2.TrustStore: results[name] = resource } } return results } -// GetSageMakerModelBiasJobDefinitionWithName retrieves all sagemaker.ModelBiasJobDefinition items from an AWS CloudFormation template +// GetElasticLoadBalancingV2TrustStoreWithName retrieves all elasticloadbalancingv2.TrustStore items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelBiasJobDefinitionWithName(name string) (*sagemaker.ModelBiasJobDefinition, error) { +func (t *Template) GetElasticLoadBalancingV2TrustStoreWithName(name string) (*elasticloadbalancingv2.TrustStore, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.ModelBiasJobDefinition: + case *elasticloadbalancingv2.TrustStore: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.ModelBiasJobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TrustStore not found", name) } -// GetAllSageMakerModelExplainabilityJobDefinitionResources retrieves all sagemaker.ModelExplainabilityJobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelExplainabilityJobDefinitionResources() map[string]*sagemaker.ModelExplainabilityJobDefinition { - results := map[string]*sagemaker.ModelExplainabilityJobDefinition{} +// GetAllElasticLoadBalancingV2TrustStoreRevocationResources retrieves all elasticloadbalancingv2.TrustStoreRevocation items from an AWS CloudFormation template +func (t *Template) GetAllElasticLoadBalancingV2TrustStoreRevocationResources() map[string]*elasticloadbalancingv2.TrustStoreRevocation { + results := map[string]*elasticloadbalancingv2.TrustStoreRevocation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.ModelExplainabilityJobDefinition: + case *elasticloadbalancingv2.TrustStoreRevocation: results[name] = resource } } return results } -// GetSageMakerModelExplainabilityJobDefinitionWithName retrieves all sagemaker.ModelExplainabilityJobDefinition items from an AWS CloudFormation template +// GetElasticLoadBalancingV2TrustStoreRevocationWithName retrieves all elasticloadbalancingv2.TrustStoreRevocation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelExplainabilityJobDefinitionWithName(name string) (*sagemaker.ModelExplainabilityJobDefinition, error) { +func (t *Template) GetElasticLoadBalancingV2TrustStoreRevocationWithName(name string) (*elasticloadbalancingv2.TrustStoreRevocation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.ModelExplainabilityJobDefinition: + case *elasticloadbalancingv2.TrustStoreRevocation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.ModelExplainabilityJobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type elasticloadbalancingv2.TrustStoreRevocation not found", name) } -// GetAllSageMakerModelPackageGroupResources retrieves all sagemaker.ModelPackageGroup items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelPackageGroupResources() map[string]*sagemaker.ModelPackageGroup { - results := map[string]*sagemaker.ModelPackageGroup{} +// GetAllEventsApiDestinationResources retrieves all events.ApiDestination items from an AWS CloudFormation template +func (t *Template) GetAllEventsApiDestinationResources() map[string]*events.ApiDestination { + results := map[string]*events.ApiDestination{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.ModelPackageGroup: + case *events.ApiDestination: results[name] = resource } } return results } -// GetSageMakerModelPackageGroupWithName retrieves all sagemaker.ModelPackageGroup items from an AWS CloudFormation template +// GetEventsApiDestinationWithName retrieves all events.ApiDestination items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelPackageGroupWithName(name string) (*sagemaker.ModelPackageGroup, error) { +func (t *Template) GetEventsApiDestinationWithName(name string) (*events.ApiDestination, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.ModelPackageGroup: + case *events.ApiDestination: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.ModelPackageGroup not found", name) + return nil, fmt.Errorf("resource %q of type events.ApiDestination not found", name) } -// GetAllSageMakerModelQualityJobDefinitionResources retrieves all sagemaker.ModelQualityJobDefinition items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerModelQualityJobDefinitionResources() map[string]*sagemaker.ModelQualityJobDefinition { - results := map[string]*sagemaker.ModelQualityJobDefinition{} +// GetAllEventsArchiveResources retrieves all events.Archive items from an AWS CloudFormation template +func (t *Template) GetAllEventsArchiveResources() map[string]*events.Archive { + results := map[string]*events.Archive{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.ModelQualityJobDefinition: + case *events.Archive: results[name] = resource } } return results } -// GetSageMakerModelQualityJobDefinitionWithName retrieves all sagemaker.ModelQualityJobDefinition items from an AWS CloudFormation template +// GetEventsArchiveWithName retrieves all events.Archive items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerModelQualityJobDefinitionWithName(name string) (*sagemaker.ModelQualityJobDefinition, error) { +func (t *Template) GetEventsArchiveWithName(name string) (*events.Archive, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.ModelQualityJobDefinition: + case *events.Archive: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.ModelQualityJobDefinition not found", name) + return nil, fmt.Errorf("resource %q of type events.Archive not found", name) } -// GetAllSageMakerMonitoringScheduleResources retrieves all sagemaker.MonitoringSchedule items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerMonitoringScheduleResources() map[string]*sagemaker.MonitoringSchedule { - results := map[string]*sagemaker.MonitoringSchedule{} +// GetAllEventsConnectionResources retrieves all events.Connection items from an AWS CloudFormation template +func (t *Template) GetAllEventsConnectionResources() map[string]*events.Connection { + results := map[string]*events.Connection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.MonitoringSchedule: + case *events.Connection: results[name] = resource } } return results } -// GetSageMakerMonitoringScheduleWithName retrieves all sagemaker.MonitoringSchedule items from an AWS CloudFormation template +// GetEventsConnectionWithName retrieves all events.Connection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerMonitoringScheduleWithName(name string) (*sagemaker.MonitoringSchedule, error) { +func (t *Template) GetEventsConnectionWithName(name string) (*events.Connection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.MonitoringSchedule: + case *events.Connection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.MonitoringSchedule not found", name) + return nil, fmt.Errorf("resource %q of type events.Connection not found", name) } -// GetAllSageMakerNotebookInstanceResources retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerNotebookInstanceResources() map[string]*sagemaker.NotebookInstance { - results := map[string]*sagemaker.NotebookInstance{} +// GetAllEventsEndpointResources retrieves all events.Endpoint items from an AWS CloudFormation template +func (t *Template) GetAllEventsEndpointResources() map[string]*events.Endpoint { + results := map[string]*events.Endpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.NotebookInstance: + case *events.Endpoint: results[name] = resource } } return results } -// GetSageMakerNotebookInstanceWithName retrieves all sagemaker.NotebookInstance items from an AWS CloudFormation template +// GetEventsEndpointWithName retrieves all events.Endpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerNotebookInstanceWithName(name string) (*sagemaker.NotebookInstance, error) { +func (t *Template) GetEventsEndpointWithName(name string) (*events.Endpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.NotebookInstance: + case *events.Endpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstance not found", name) + return nil, fmt.Errorf("resource %q of type events.Endpoint not found", name) } -// GetAllSageMakerNotebookInstanceLifecycleConfigResources retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerNotebookInstanceLifecycleConfigResources() map[string]*sagemaker.NotebookInstanceLifecycleConfig { - results := map[string]*sagemaker.NotebookInstanceLifecycleConfig{} +// GetAllEventsEventBusResources retrieves all events.EventBus items from an AWS CloudFormation template +func (t *Template) GetAllEventsEventBusResources() map[string]*events.EventBus { + results := map[string]*events.EventBus{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.NotebookInstanceLifecycleConfig: + case *events.EventBus: results[name] = resource } } return results } -// GetSageMakerNotebookInstanceLifecycleConfigWithName retrieves all sagemaker.NotebookInstanceLifecycleConfig items from an AWS CloudFormation template +// GetEventsEventBusWithName retrieves all events.EventBus items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerNotebookInstanceLifecycleConfigWithName(name string) (*sagemaker.NotebookInstanceLifecycleConfig, error) { +func (t *Template) GetEventsEventBusWithName(name string) (*events.EventBus, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.NotebookInstanceLifecycleConfig: + case *events.EventBus: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.NotebookInstanceLifecycleConfig not found", name) + return nil, fmt.Errorf("resource %q of type events.EventBus not found", name) } -// GetAllSageMakerPipelineResources retrieves all sagemaker.Pipeline items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerPipelineResources() map[string]*sagemaker.Pipeline { - results := map[string]*sagemaker.Pipeline{} +// GetAllEventsEventBusPolicyResources retrieves all events.EventBusPolicy items from an AWS CloudFormation template +func (t *Template) GetAllEventsEventBusPolicyResources() map[string]*events.EventBusPolicy { + results := map[string]*events.EventBusPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Pipeline: + case *events.EventBusPolicy: results[name] = resource } } return results } -// GetSageMakerPipelineWithName retrieves all sagemaker.Pipeline items from an AWS CloudFormation template +// GetEventsEventBusPolicyWithName retrieves all events.EventBusPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerPipelineWithName(name string) (*sagemaker.Pipeline, error) { +func (t *Template) GetEventsEventBusPolicyWithName(name string) (*events.EventBusPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Pipeline: + case *events.EventBusPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Pipeline not found", name) + return nil, fmt.Errorf("resource %q of type events.EventBusPolicy not found", name) } -// GetAllSageMakerProjectResources retrieves all sagemaker.Project items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerProjectResources() map[string]*sagemaker.Project { - results := map[string]*sagemaker.Project{} +// GetAllEventsRuleResources retrieves all events.Rule items from an AWS CloudFormation template +func (t *Template) GetAllEventsRuleResources() map[string]*events.Rule { + results := map[string]*events.Rule{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Project: + case *events.Rule: results[name] = resource } } return results } -// GetSageMakerProjectWithName retrieves all sagemaker.Project items from an AWS CloudFormation template +// GetEventsRuleWithName retrieves all events.Rule items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerProjectWithName(name string) (*sagemaker.Project, error) { +func (t *Template) GetEventsRuleWithName(name string) (*events.Rule, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Project: + case *events.Rule: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Project not found", name) + return nil, fmt.Errorf("resource %q of type events.Rule not found", name) } -// GetAllSageMakerUserProfileResources retrieves all sagemaker.UserProfile items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerUserProfileResources() map[string]*sagemaker.UserProfile { - results := map[string]*sagemaker.UserProfile{} +// GetAllIAMAccessKeyResources retrieves all iam.AccessKey items from an AWS CloudFormation template +func (t *Template) GetAllIAMAccessKeyResources() map[string]*iam.AccessKey { + results := map[string]*iam.AccessKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.UserProfile: + case *iam.AccessKey: results[name] = resource } } return results } -// GetSageMakerUserProfileWithName retrieves all sagemaker.UserProfile items from an AWS CloudFormation template +// GetIAMAccessKeyWithName retrieves all iam.AccessKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerUserProfileWithName(name string) (*sagemaker.UserProfile, error) { +func (t *Template) GetIAMAccessKeyWithName(name string) (*iam.AccessKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.UserProfile: + case *iam.AccessKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.UserProfile not found", name) + return nil, fmt.Errorf("resource %q of type iam.AccessKey not found", name) } -// GetAllSageMakerWorkteamResources retrieves all sagemaker.Workteam items from an AWS CloudFormation template -func (t *Template) GetAllSageMakerWorkteamResources() map[string]*sagemaker.Workteam { - results := map[string]*sagemaker.Workteam{} +// GetAllIAMGroupResources retrieves all iam.Group items from an AWS CloudFormation template +func (t *Template) GetAllIAMGroupResources() map[string]*iam.Group { + results := map[string]*iam.Group{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *sagemaker.Workteam: + case *iam.Group: results[name] = resource } } return results } -// GetSageMakerWorkteamWithName retrieves all sagemaker.Workteam items from an AWS CloudFormation template +// GetIAMGroupWithName retrieves all iam.Group items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSageMakerWorkteamWithName(name string) (*sagemaker.Workteam, error) { +func (t *Template) GetIAMGroupWithName(name string) (*iam.Group, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *sagemaker.Workteam: + case *iam.Group: return resource, nil } } - return nil, fmt.Errorf("resource %q of type sagemaker.Workteam not found", name) + return nil, fmt.Errorf("resource %q of type iam.Group not found", name) } -// GetAllSecretsManagerResourcePolicyResources retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerResourcePolicyResources() map[string]*secretsmanager.ResourcePolicy { - results := map[string]*secretsmanager.ResourcePolicy{} +// GetAllIAMGroupPolicyResources retrieves all iam.GroupPolicy items from an AWS CloudFormation template +func (t *Template) GetAllIAMGroupPolicyResources() map[string]*iam.GroupPolicy { + results := map[string]*iam.GroupPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.ResourcePolicy: + case *iam.GroupPolicy: results[name] = resource } } return results } -// GetSecretsManagerResourcePolicyWithName retrieves all secretsmanager.ResourcePolicy items from an AWS CloudFormation template +// GetIAMGroupPolicyWithName retrieves all iam.GroupPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerResourcePolicyWithName(name string) (*secretsmanager.ResourcePolicy, error) { +func (t *Template) GetIAMGroupPolicyWithName(name string) (*iam.GroupPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.ResourcePolicy: + case *iam.GroupPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.ResourcePolicy not found", name) + return nil, fmt.Errorf("resource %q of type iam.GroupPolicy not found", name) } -// GetAllSecretsManagerRotationScheduleResources retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerRotationScheduleResources() map[string]*secretsmanager.RotationSchedule { - results := map[string]*secretsmanager.RotationSchedule{} +// GetAllIAMInstanceProfileResources retrieves all iam.InstanceProfile items from an AWS CloudFormation template +func (t *Template) GetAllIAMInstanceProfileResources() map[string]*iam.InstanceProfile { + results := map[string]*iam.InstanceProfile{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.RotationSchedule: + case *iam.InstanceProfile: results[name] = resource } } return results } -// GetSecretsManagerRotationScheduleWithName retrieves all secretsmanager.RotationSchedule items from an AWS CloudFormation template +// GetIAMInstanceProfileWithName retrieves all iam.InstanceProfile items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerRotationScheduleWithName(name string) (*secretsmanager.RotationSchedule, error) { +func (t *Template) GetIAMInstanceProfileWithName(name string) (*iam.InstanceProfile, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.RotationSchedule: + case *iam.InstanceProfile: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.RotationSchedule not found", name) + return nil, fmt.Errorf("resource %q of type iam.InstanceProfile not found", name) } -// GetAllSecretsManagerSecretResources retrieves all secretsmanager.Secret items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerSecretResources() map[string]*secretsmanager.Secret { - results := map[string]*secretsmanager.Secret{} +// GetAllIAMManagedPolicyResources retrieves all iam.ManagedPolicy items from an AWS CloudFormation template +func (t *Template) GetAllIAMManagedPolicyResources() map[string]*iam.ManagedPolicy { + results := map[string]*iam.ManagedPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.Secret: + case *iam.ManagedPolicy: results[name] = resource } } return results } -// GetSecretsManagerSecretWithName retrieves all secretsmanager.Secret items from an AWS CloudFormation template +// GetIAMManagedPolicyWithName retrieves all iam.ManagedPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerSecretWithName(name string) (*secretsmanager.Secret, error) { +func (t *Template) GetIAMManagedPolicyWithName(name string) (*iam.ManagedPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.Secret: + case *iam.ManagedPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.Secret not found", name) + return nil, fmt.Errorf("resource %q of type iam.ManagedPolicy not found", name) } -// GetAllSecretsManagerSecretTargetAttachmentResources retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template -func (t *Template) GetAllSecretsManagerSecretTargetAttachmentResources() map[string]*secretsmanager.SecretTargetAttachment { - results := map[string]*secretsmanager.SecretTargetAttachment{} +// GetAllIAMOIDCProviderResources retrieves all iam.OIDCProvider items from an AWS CloudFormation template +func (t *Template) GetAllIAMOIDCProviderResources() map[string]*iam.OIDCProvider { + results := map[string]*iam.OIDCProvider{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *secretsmanager.SecretTargetAttachment: + case *iam.OIDCProvider: results[name] = resource } } return results } -// GetSecretsManagerSecretTargetAttachmentWithName retrieves all secretsmanager.SecretTargetAttachment items from an AWS CloudFormation template +// GetIAMOIDCProviderWithName retrieves all iam.OIDCProvider items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecretsManagerSecretTargetAttachmentWithName(name string) (*secretsmanager.SecretTargetAttachment, error) { +func (t *Template) GetIAMOIDCProviderWithName(name string) (*iam.OIDCProvider, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *secretsmanager.SecretTargetAttachment: + case *iam.OIDCProvider: return resource, nil } } - return nil, fmt.Errorf("resource %q of type secretsmanager.SecretTargetAttachment not found", name) + return nil, fmt.Errorf("resource %q of type iam.OIDCProvider not found", name) } -// GetAllSecurityHubHubResources retrieves all securityhub.Hub items from an AWS CloudFormation template -func (t *Template) GetAllSecurityHubHubResources() map[string]*securityhub.Hub { - results := map[string]*securityhub.Hub{} +// GetAllIAMPolicyResources retrieves all iam.Policy items from an AWS CloudFormation template +func (t *Template) GetAllIAMPolicyResources() map[string]*iam.Policy { + results := map[string]*iam.Policy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *securityhub.Hub: + case *iam.Policy: results[name] = resource } } return results } -// GetSecurityHubHubWithName retrieves all securityhub.Hub items from an AWS CloudFormation template +// GetIAMPolicyWithName retrieves all iam.Policy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSecurityHubHubWithName(name string) (*securityhub.Hub, error) { +func (t *Template) GetIAMPolicyWithName(name string) (*iam.Policy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *securityhub.Hub: + case *iam.Policy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type securityhub.Hub not found", name) + return nil, fmt.Errorf("resource %q of type iam.Policy not found", name) } -// GetAllServerlessApiResources retrieves all serverless.Api items from an AWS CloudFormation template -func (t *Template) GetAllServerlessApiResources() map[string]*serverless.Api { - results := map[string]*serverless.Api{} +// GetAllIAMRoleResources retrieves all iam.Role items from an AWS CloudFormation template +func (t *Template) GetAllIAMRoleResources() map[string]*iam.Role { + results := map[string]*iam.Role{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Api: + case *iam.Role: results[name] = resource } } return results } -// GetServerlessApiWithName retrieves all serverless.Api items from an AWS CloudFormation template +// GetIAMRoleWithName retrieves all iam.Role items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessApiWithName(name string) (*serverless.Api, error) { +func (t *Template) GetIAMRoleWithName(name string) (*iam.Role, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Api: + case *iam.Role: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Api not found", name) + return nil, fmt.Errorf("resource %q of type iam.Role not found", name) } -// GetAllServerlessApplicationResources retrieves all serverless.Application items from an AWS CloudFormation template -func (t *Template) GetAllServerlessApplicationResources() map[string]*serverless.Application { - results := map[string]*serverless.Application{} +// GetAllIAMRolePolicyResources retrieves all iam.RolePolicy items from an AWS CloudFormation template +func (t *Template) GetAllIAMRolePolicyResources() map[string]*iam.RolePolicy { + results := map[string]*iam.RolePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Application: + case *iam.RolePolicy: results[name] = resource } } return results } -// GetServerlessApplicationWithName retrieves all serverless.Application items from an AWS CloudFormation template +// GetIAMRolePolicyWithName retrieves all iam.RolePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessApplicationWithName(name string) (*serverless.Application, error) { +func (t *Template) GetIAMRolePolicyWithName(name string) (*iam.RolePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Application: + case *iam.RolePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Application not found", name) + return nil, fmt.Errorf("resource %q of type iam.RolePolicy not found", name) } -// GetAllServerlessFunctionResources retrieves all serverless.Function items from an AWS CloudFormation template -func (t *Template) GetAllServerlessFunctionResources() map[string]*serverless.Function { - results := map[string]*serverless.Function{} +// GetAllIAMSAMLProviderResources retrieves all iam.SAMLProvider items from an AWS CloudFormation template +func (t *Template) GetAllIAMSAMLProviderResources() map[string]*iam.SAMLProvider { + results := map[string]*iam.SAMLProvider{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.Function: + case *iam.SAMLProvider: results[name] = resource } } return results } -// GetServerlessFunctionWithName retrieves all serverless.Function items from an AWS CloudFormation template +// GetIAMSAMLProviderWithName retrieves all iam.SAMLProvider items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessFunctionWithName(name string) (*serverless.Function, error) { +func (t *Template) GetIAMSAMLProviderWithName(name string) (*iam.SAMLProvider, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.Function: + case *iam.SAMLProvider: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.Function not found", name) + return nil, fmt.Errorf("resource %q of type iam.SAMLProvider not found", name) } -// GetAllServerlessLayerVersionResources retrieves all serverless.LayerVersion items from an AWS CloudFormation template -func (t *Template) GetAllServerlessLayerVersionResources() map[string]*serverless.LayerVersion { - results := map[string]*serverless.LayerVersion{} +// GetAllIAMServerCertificateResources retrieves all iam.ServerCertificate items from an AWS CloudFormation template +func (t *Template) GetAllIAMServerCertificateResources() map[string]*iam.ServerCertificate { + results := map[string]*iam.ServerCertificate{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.LayerVersion: + case *iam.ServerCertificate: results[name] = resource } } return results } -// GetServerlessLayerVersionWithName retrieves all serverless.LayerVersion items from an AWS CloudFormation template +// GetIAMServerCertificateWithName retrieves all iam.ServerCertificate items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessLayerVersionWithName(name string) (*serverless.LayerVersion, error) { +func (t *Template) GetIAMServerCertificateWithName(name string) (*iam.ServerCertificate, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.LayerVersion: + case *iam.ServerCertificate: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.LayerVersion not found", name) + return nil, fmt.Errorf("resource %q of type iam.ServerCertificate not found", name) } -// GetAllServerlessSimpleTableResources retrieves all serverless.SimpleTable items from an AWS CloudFormation template -func (t *Template) GetAllServerlessSimpleTableResources() map[string]*serverless.SimpleTable { - results := map[string]*serverless.SimpleTable{} +// GetAllIAMServiceLinkedRoleResources retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template +func (t *Template) GetAllIAMServiceLinkedRoleResources() map[string]*iam.ServiceLinkedRole { + results := map[string]*iam.ServiceLinkedRole{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.SimpleTable: + case *iam.ServiceLinkedRole: results[name] = resource } } return results } -// GetServerlessSimpleTableWithName retrieves all serverless.SimpleTable items from an AWS CloudFormation template +// GetIAMServiceLinkedRoleWithName retrieves all iam.ServiceLinkedRole items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessSimpleTableWithName(name string) (*serverless.SimpleTable, error) { +func (t *Template) GetIAMServiceLinkedRoleWithName(name string) (*iam.ServiceLinkedRole, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.SimpleTable: + case *iam.ServiceLinkedRole: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.SimpleTable not found", name) + return nil, fmt.Errorf("resource %q of type iam.ServiceLinkedRole not found", name) } -// GetAllServerlessStateMachineResources retrieves all serverless.StateMachine items from an AWS CloudFormation template -func (t *Template) GetAllServerlessStateMachineResources() map[string]*serverless.StateMachine { - results := map[string]*serverless.StateMachine{} +// GetAllIAMUserResources retrieves all iam.User items from an AWS CloudFormation template +func (t *Template) GetAllIAMUserResources() map[string]*iam.User { + results := map[string]*iam.User{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *serverless.StateMachine: + case *iam.User: results[name] = resource } } return results } -// GetServerlessStateMachineWithName retrieves all serverless.StateMachine items from an AWS CloudFormation template +// GetIAMUserWithName retrieves all iam.User items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServerlessStateMachineWithName(name string) (*serverless.StateMachine, error) { +func (t *Template) GetIAMUserWithName(name string) (*iam.User, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *serverless.StateMachine: + case *iam.User: return resource, nil } } - return nil, fmt.Errorf("resource %q of type serverless.StateMachine not found", name) + return nil, fmt.Errorf("resource %q of type iam.User not found", name) } -// GetAllServiceCatalogAcceptedPortfolioShareResources retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAcceptedPortfolioShareResources() map[string]*servicecatalog.AcceptedPortfolioShare { - results := map[string]*servicecatalog.AcceptedPortfolioShare{} +// GetAllIAMUserPolicyResources retrieves all iam.UserPolicy items from an AWS CloudFormation template +func (t *Template) GetAllIAMUserPolicyResources() map[string]*iam.UserPolicy { + results := map[string]*iam.UserPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.AcceptedPortfolioShare: + case *iam.UserPolicy: results[name] = resource } } return results } -// GetServiceCatalogAcceptedPortfolioShareWithName retrieves all servicecatalog.AcceptedPortfolioShare items from an AWS CloudFormation template +// GetIAMUserPolicyWithName retrieves all iam.UserPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAcceptedPortfolioShareWithName(name string) (*servicecatalog.AcceptedPortfolioShare, error) { +func (t *Template) GetIAMUserPolicyWithName(name string) (*iam.UserPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.AcceptedPortfolioShare: + case *iam.UserPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.AcceptedPortfolioShare not found", name) + return nil, fmt.Errorf("resource %q of type iam.UserPolicy not found", name) } -// GetAllServiceCatalogCloudFormationProductResources retrieves all servicecatalog.CloudFormationProduct items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogCloudFormationProductResources() map[string]*servicecatalog.CloudFormationProduct { - results := map[string]*servicecatalog.CloudFormationProduct{} +// GetAllIAMUserToGroupAdditionResources retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template +func (t *Template) GetAllIAMUserToGroupAdditionResources() map[string]*iam.UserToGroupAddition { + results := map[string]*iam.UserToGroupAddition{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProduct: + case *iam.UserToGroupAddition: results[name] = resource } } return results } -// GetServiceCatalogCloudFormationProductWithName retrieves all servicecatalog.CloudFormationProduct items from an AWS CloudFormation template +// GetIAMUserToGroupAdditionWithName retrieves all iam.UserToGroupAddition items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogCloudFormationProductWithName(name string) (*servicecatalog.CloudFormationProduct, error) { +func (t *Template) GetIAMUserToGroupAdditionWithName(name string) (*iam.UserToGroupAddition, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProduct: + case *iam.UserToGroupAddition: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.CloudFormationProduct not found", name) + return nil, fmt.Errorf("resource %q of type iam.UserToGroupAddition not found", name) } -// GetAllServiceCatalogCloudFormationProvisionedProductResources retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogCloudFormationProvisionedProductResources() map[string]*servicecatalog.CloudFormationProvisionedProduct { - results := map[string]*servicecatalog.CloudFormationProvisionedProduct{} +// GetAllIAMVirtualMFADeviceResources retrieves all iam.VirtualMFADevice items from an AWS CloudFormation template +func (t *Template) GetAllIAMVirtualMFADeviceResources() map[string]*iam.VirtualMFADevice { + results := map[string]*iam.VirtualMFADevice{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProvisionedProduct: + case *iam.VirtualMFADevice: results[name] = resource } } return results } -// GetServiceCatalogCloudFormationProvisionedProductWithName retrieves all servicecatalog.CloudFormationProvisionedProduct items from an AWS CloudFormation template +// GetIAMVirtualMFADeviceWithName retrieves all iam.VirtualMFADevice items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogCloudFormationProvisionedProductWithName(name string) (*servicecatalog.CloudFormationProvisionedProduct, error) { +func (t *Template) GetIAMVirtualMFADeviceWithName(name string) (*iam.VirtualMFADevice, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.CloudFormationProvisionedProduct: + case *iam.VirtualMFADevice: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.CloudFormationProvisionedProduct not found", name) + return nil, fmt.Errorf("resource %q of type iam.VirtualMFADevice not found", name) } -// GetAllServiceCatalogLaunchNotificationConstraintResources retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchNotificationConstraintResources() map[string]*servicecatalog.LaunchNotificationConstraint { - results := map[string]*servicecatalog.LaunchNotificationConstraint{} +// GetAllKMSAliasResources retrieves all kms.Alias items from an AWS CloudFormation template +func (t *Template) GetAllKMSAliasResources() map[string]*kms.Alias { + results := map[string]*kms.Alias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchNotificationConstraint: + case *kms.Alias: results[name] = resource } } return results } -// GetServiceCatalogLaunchNotificationConstraintWithName retrieves all servicecatalog.LaunchNotificationConstraint items from an AWS CloudFormation template +// GetKMSAliasWithName retrieves all kms.Alias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchNotificationConstraintWithName(name string) (*servicecatalog.LaunchNotificationConstraint, error) { +func (t *Template) GetKMSAliasWithName(name string) (*kms.Alias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchNotificationConstraint: + case *kms.Alias: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchNotificationConstraint not found", name) + return nil, fmt.Errorf("resource %q of type kms.Alias not found", name) } -// GetAllServiceCatalogLaunchRoleConstraintResources retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchRoleConstraintResources() map[string]*servicecatalog.LaunchRoleConstraint { - results := map[string]*servicecatalog.LaunchRoleConstraint{} +// GetAllKMSKeyResources retrieves all kms.Key items from an AWS CloudFormation template +func (t *Template) GetAllKMSKeyResources() map[string]*kms.Key { + results := map[string]*kms.Key{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchRoleConstraint: + case *kms.Key: results[name] = resource } } return results } -// GetServiceCatalogLaunchRoleConstraintWithName retrieves all servicecatalog.LaunchRoleConstraint items from an AWS CloudFormation template +// GetKMSKeyWithName retrieves all kms.Key items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchRoleConstraintWithName(name string) (*servicecatalog.LaunchRoleConstraint, error) { +func (t *Template) GetKMSKeyWithName(name string) (*kms.Key, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchRoleConstraint: + case *kms.Key: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchRoleConstraint not found", name) + return nil, fmt.Errorf("resource %q of type kms.Key not found", name) } -// GetAllServiceCatalogLaunchTemplateConstraintResources retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogLaunchTemplateConstraintResources() map[string]*servicecatalog.LaunchTemplateConstraint { - results := map[string]*servicecatalog.LaunchTemplateConstraint{} +// GetAllKMSReplicaKeyResources retrieves all kms.ReplicaKey items from an AWS CloudFormation template +func (t *Template) GetAllKMSReplicaKeyResources() map[string]*kms.ReplicaKey { + results := map[string]*kms.ReplicaKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.LaunchTemplateConstraint: + case *kms.ReplicaKey: results[name] = resource } } return results } -// GetServiceCatalogLaunchTemplateConstraintWithName retrieves all servicecatalog.LaunchTemplateConstraint items from an AWS CloudFormation template +// GetKMSReplicaKeyWithName retrieves all kms.ReplicaKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogLaunchTemplateConstraintWithName(name string) (*servicecatalog.LaunchTemplateConstraint, error) { +func (t *Template) GetKMSReplicaKeyWithName(name string) (*kms.ReplicaKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.LaunchTemplateConstraint: + case *kms.ReplicaKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.LaunchTemplateConstraint not found", name) + return nil, fmt.Errorf("resource %q of type kms.ReplicaKey not found", name) } -// GetAllServiceCatalogPortfolioResources retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioResources() map[string]*servicecatalog.Portfolio { - results := map[string]*servicecatalog.Portfolio{} +// GetAllKinesisResourcePolicyResources retrieves all kinesis.ResourcePolicy items from an AWS CloudFormation template +func (t *Template) GetAllKinesisResourcePolicyResources() map[string]*kinesis.ResourcePolicy { + results := map[string]*kinesis.ResourcePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.Portfolio: + case *kinesis.ResourcePolicy: results[name] = resource } } return results } -// GetServiceCatalogPortfolioWithName retrieves all servicecatalog.Portfolio items from an AWS CloudFormation template +// GetKinesisResourcePolicyWithName retrieves all kinesis.ResourcePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioWithName(name string) (*servicecatalog.Portfolio, error) { +func (t *Template) GetKinesisResourcePolicyWithName(name string) (*kinesis.ResourcePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.Portfolio: + case *kinesis.ResourcePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.Portfolio not found", name) + return nil, fmt.Errorf("resource %q of type kinesis.ResourcePolicy not found", name) } -// GetAllServiceCatalogPortfolioPrincipalAssociationResources retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioPrincipalAssociationResources() map[string]*servicecatalog.PortfolioPrincipalAssociation { - results := map[string]*servicecatalog.PortfolioPrincipalAssociation{} +// GetAllKinesisStreamResources retrieves all kinesis.Stream items from an AWS CloudFormation template +func (t *Template) GetAllKinesisStreamResources() map[string]*kinesis.Stream { + results := map[string]*kinesis.Stream{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.PortfolioPrincipalAssociation: + case *kinesis.Stream: results[name] = resource } } return results } -// GetServiceCatalogPortfolioPrincipalAssociationWithName retrieves all servicecatalog.PortfolioPrincipalAssociation items from an AWS CloudFormation template +// GetKinesisStreamWithName retrieves all kinesis.Stream items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioPrincipalAssociationWithName(name string) (*servicecatalog.PortfolioPrincipalAssociation, error) { +func (t *Template) GetKinesisStreamWithName(name string) (*kinesis.Stream, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.PortfolioPrincipalAssociation: + case *kinesis.Stream: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioPrincipalAssociation not found", name) + return nil, fmt.Errorf("resource %q of type kinesis.Stream not found", name) } -// GetAllServiceCatalogPortfolioProductAssociationResources retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioProductAssociationResources() map[string]*servicecatalog.PortfolioProductAssociation { - results := map[string]*servicecatalog.PortfolioProductAssociation{} +// GetAllKinesisStreamConsumerResources retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template +func (t *Template) GetAllKinesisStreamConsumerResources() map[string]*kinesis.StreamConsumer { + results := map[string]*kinesis.StreamConsumer{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.PortfolioProductAssociation: + case *kinesis.StreamConsumer: results[name] = resource } } return results } -// GetServiceCatalogPortfolioProductAssociationWithName retrieves all servicecatalog.PortfolioProductAssociation items from an AWS CloudFormation template +// GetKinesisStreamConsumerWithName retrieves all kinesis.StreamConsumer items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioProductAssociationWithName(name string) (*servicecatalog.PortfolioProductAssociation, error) { +func (t *Template) GetKinesisStreamConsumerWithName(name string) (*kinesis.StreamConsumer, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.PortfolioProductAssociation: + case *kinesis.StreamConsumer: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioProductAssociation not found", name) + return nil, fmt.Errorf("resource %q of type kinesis.StreamConsumer not found", name) } -// GetAllServiceCatalogPortfolioShareResources retrieves all servicecatalog.PortfolioShare items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogPortfolioShareResources() map[string]*servicecatalog.PortfolioShare { - results := map[string]*servicecatalog.PortfolioShare{} +// GetAllLambdaAliasResources retrieves all lambda.Alias items from an AWS CloudFormation template +func (t *Template) GetAllLambdaAliasResources() map[string]*lambda.Alias { + results := map[string]*lambda.Alias{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.PortfolioShare: + case *lambda.Alias: results[name] = resource } } return results } -// GetServiceCatalogPortfolioShareWithName retrieves all servicecatalog.PortfolioShare items from an AWS CloudFormation template +// GetLambdaAliasWithName retrieves all lambda.Alias items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogPortfolioShareWithName(name string) (*servicecatalog.PortfolioShare, error) { +func (t *Template) GetLambdaAliasWithName(name string) (*lambda.Alias, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.PortfolioShare: + case *lambda.Alias: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.PortfolioShare not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Alias not found", name) } -// GetAllServiceCatalogResourceUpdateConstraintResources retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogResourceUpdateConstraintResources() map[string]*servicecatalog.ResourceUpdateConstraint { - results := map[string]*servicecatalog.ResourceUpdateConstraint{} +// GetAllLambdaCodeSigningConfigResources retrieves all lambda.CodeSigningConfig items from an AWS CloudFormation template +func (t *Template) GetAllLambdaCodeSigningConfigResources() map[string]*lambda.CodeSigningConfig { + results := map[string]*lambda.CodeSigningConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.ResourceUpdateConstraint: + case *lambda.CodeSigningConfig: results[name] = resource } } return results } -// GetServiceCatalogResourceUpdateConstraintWithName retrieves all servicecatalog.ResourceUpdateConstraint items from an AWS CloudFormation template +// GetLambdaCodeSigningConfigWithName retrieves all lambda.CodeSigningConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogResourceUpdateConstraintWithName(name string) (*servicecatalog.ResourceUpdateConstraint, error) { +func (t *Template) GetLambdaCodeSigningConfigWithName(name string) (*lambda.CodeSigningConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.ResourceUpdateConstraint: + case *lambda.CodeSigningConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.ResourceUpdateConstraint not found", name) + return nil, fmt.Errorf("resource %q of type lambda.CodeSigningConfig not found", name) } -// GetAllServiceCatalogServiceActionResources retrieves all servicecatalog.ServiceAction items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogServiceActionResources() map[string]*servicecatalog.ServiceAction { - results := map[string]*servicecatalog.ServiceAction{} +// GetAllLambdaEventInvokeConfigResources retrieves all lambda.EventInvokeConfig items from an AWS CloudFormation template +func (t *Template) GetAllLambdaEventInvokeConfigResources() map[string]*lambda.EventInvokeConfig { + results := map[string]*lambda.EventInvokeConfig{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.ServiceAction: + case *lambda.EventInvokeConfig: results[name] = resource } } return results } -// GetServiceCatalogServiceActionWithName retrieves all servicecatalog.ServiceAction items from an AWS CloudFormation template +// GetLambdaEventInvokeConfigWithName retrieves all lambda.EventInvokeConfig items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogServiceActionWithName(name string) (*servicecatalog.ServiceAction, error) { +func (t *Template) GetLambdaEventInvokeConfigWithName(name string) (*lambda.EventInvokeConfig, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.ServiceAction: + case *lambda.EventInvokeConfig: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.ServiceAction not found", name) + return nil, fmt.Errorf("resource %q of type lambda.EventInvokeConfig not found", name) } -// GetAllServiceCatalogServiceActionAssociationResources retrieves all servicecatalog.ServiceActionAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogServiceActionAssociationResources() map[string]*servicecatalog.ServiceActionAssociation { - results := map[string]*servicecatalog.ServiceActionAssociation{} +// GetAllLambdaEventSourceMappingResources retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template +func (t *Template) GetAllLambdaEventSourceMappingResources() map[string]*lambda.EventSourceMapping { + results := map[string]*lambda.EventSourceMapping{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.ServiceActionAssociation: + case *lambda.EventSourceMapping: results[name] = resource } } return results } -// GetServiceCatalogServiceActionAssociationWithName retrieves all servicecatalog.ServiceActionAssociation items from an AWS CloudFormation template +// GetLambdaEventSourceMappingWithName retrieves all lambda.EventSourceMapping items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogServiceActionAssociationWithName(name string) (*servicecatalog.ServiceActionAssociation, error) { +func (t *Template) GetLambdaEventSourceMappingWithName(name string) (*lambda.EventSourceMapping, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.ServiceActionAssociation: + case *lambda.EventSourceMapping: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.ServiceActionAssociation not found", name) + return nil, fmt.Errorf("resource %q of type lambda.EventSourceMapping not found", name) } -// GetAllServiceCatalogStackSetConstraintResources retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogStackSetConstraintResources() map[string]*servicecatalog.StackSetConstraint { - results := map[string]*servicecatalog.StackSetConstraint{} +// GetAllLambdaFunctionResources retrieves all lambda.Function items from an AWS CloudFormation template +func (t *Template) GetAllLambdaFunctionResources() map[string]*lambda.Function { + results := map[string]*lambda.Function{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.StackSetConstraint: + case *lambda.Function: results[name] = resource } } return results } -// GetServiceCatalogStackSetConstraintWithName retrieves all servicecatalog.StackSetConstraint items from an AWS CloudFormation template +// GetLambdaFunctionWithName retrieves all lambda.Function items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogStackSetConstraintWithName(name string) (*servicecatalog.StackSetConstraint, error) { +func (t *Template) GetLambdaFunctionWithName(name string) (*lambda.Function, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.StackSetConstraint: + case *lambda.Function: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.StackSetConstraint not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Function not found", name) } -// GetAllServiceCatalogTagOptionResources retrieves all servicecatalog.TagOption items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogTagOptionResources() map[string]*servicecatalog.TagOption { - results := map[string]*servicecatalog.TagOption{} +// GetAllLambdaLayerVersionResources retrieves all lambda.LayerVersion items from an AWS CloudFormation template +func (t *Template) GetAllLambdaLayerVersionResources() map[string]*lambda.LayerVersion { + results := map[string]*lambda.LayerVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.TagOption: + case *lambda.LayerVersion: results[name] = resource } } return results } -// GetServiceCatalogTagOptionWithName retrieves all servicecatalog.TagOption items from an AWS CloudFormation template +// GetLambdaLayerVersionWithName retrieves all lambda.LayerVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogTagOptionWithName(name string) (*servicecatalog.TagOption, error) { +func (t *Template) GetLambdaLayerVersionWithName(name string) (*lambda.LayerVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.TagOption: + case *lambda.LayerVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.TagOption not found", name) + return nil, fmt.Errorf("resource %q of type lambda.LayerVersion not found", name) } -// GetAllServiceCatalogTagOptionAssociationResources retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogTagOptionAssociationResources() map[string]*servicecatalog.TagOptionAssociation { - results := map[string]*servicecatalog.TagOptionAssociation{} +// GetAllLambdaLayerVersionPermissionResources retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template +func (t *Template) GetAllLambdaLayerVersionPermissionResources() map[string]*lambda.LayerVersionPermission { + results := map[string]*lambda.LayerVersionPermission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalog.TagOptionAssociation: + case *lambda.LayerVersionPermission: results[name] = resource } } return results } -// GetServiceCatalogTagOptionAssociationWithName retrieves all servicecatalog.TagOptionAssociation items from an AWS CloudFormation template +// GetLambdaLayerVersionPermissionWithName retrieves all lambda.LayerVersionPermission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogTagOptionAssociationWithName(name string) (*servicecatalog.TagOptionAssociation, error) { +func (t *Template) GetLambdaLayerVersionPermissionWithName(name string) (*lambda.LayerVersionPermission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalog.TagOptionAssociation: + case *lambda.LayerVersionPermission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalog.TagOptionAssociation not found", name) + return nil, fmt.Errorf("resource %q of type lambda.LayerVersionPermission not found", name) } -// GetAllServiceCatalogAppRegistryApplicationResources retrieves all servicecatalogappregistry.Application items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAppRegistryApplicationResources() map[string]*servicecatalogappregistry.Application { - results := map[string]*servicecatalogappregistry.Application{} +// GetAllLambdaPermissionResources retrieves all lambda.Permission items from an AWS CloudFormation template +func (t *Template) GetAllLambdaPermissionResources() map[string]*lambda.Permission { + results := map[string]*lambda.Permission{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalogappregistry.Application: + case *lambda.Permission: results[name] = resource } } return results } -// GetServiceCatalogAppRegistryApplicationWithName retrieves all servicecatalogappregistry.Application items from an AWS CloudFormation template +// GetLambdaPermissionWithName retrieves all lambda.Permission items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAppRegistryApplicationWithName(name string) (*servicecatalogappregistry.Application, error) { +func (t *Template) GetLambdaPermissionWithName(name string) (*lambda.Permission, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalogappregistry.Application: + case *lambda.Permission: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalogappregistry.Application not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Permission not found", name) } -// GetAllServiceCatalogAppRegistryAttributeGroupResources retrieves all servicecatalogappregistry.AttributeGroup items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAppRegistryAttributeGroupResources() map[string]*servicecatalogappregistry.AttributeGroup { - results := map[string]*servicecatalogappregistry.AttributeGroup{} +// GetAllLambdaUrlResources retrieves all lambda.Url items from an AWS CloudFormation template +func (t *Template) GetAllLambdaUrlResources() map[string]*lambda.Url { + results := map[string]*lambda.Url{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalogappregistry.AttributeGroup: + case *lambda.Url: results[name] = resource } } return results } -// GetServiceCatalogAppRegistryAttributeGroupWithName retrieves all servicecatalogappregistry.AttributeGroup items from an AWS CloudFormation template +// GetLambdaUrlWithName retrieves all lambda.Url items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAppRegistryAttributeGroupWithName(name string) (*servicecatalogappregistry.AttributeGroup, error) { +func (t *Template) GetLambdaUrlWithName(name string) (*lambda.Url, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalogappregistry.AttributeGroup: + case *lambda.Url: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalogappregistry.AttributeGroup not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Url not found", name) } -// GetAllServiceCatalogAppRegistryAttributeGroupAssociationResources retrieves all servicecatalogappregistry.AttributeGroupAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAppRegistryAttributeGroupAssociationResources() map[string]*servicecatalogappregistry.AttributeGroupAssociation { - results := map[string]*servicecatalogappregistry.AttributeGroupAssociation{} +// GetAllLambdaVersionResources retrieves all lambda.Version items from an AWS CloudFormation template +func (t *Template) GetAllLambdaVersionResources() map[string]*lambda.Version { + results := map[string]*lambda.Version{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalogappregistry.AttributeGroupAssociation: + case *lambda.Version: results[name] = resource } } return results } -// GetServiceCatalogAppRegistryAttributeGroupAssociationWithName retrieves all servicecatalogappregistry.AttributeGroupAssociation items from an AWS CloudFormation template +// GetLambdaVersionWithName retrieves all lambda.Version items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAppRegistryAttributeGroupAssociationWithName(name string) (*servicecatalogappregistry.AttributeGroupAssociation, error) { +func (t *Template) GetLambdaVersionWithName(name string) (*lambda.Version, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalogappregistry.AttributeGroupAssociation: + case *lambda.Version: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalogappregistry.AttributeGroupAssociation not found", name) + return nil, fmt.Errorf("resource %q of type lambda.Version not found", name) } -// GetAllServiceCatalogAppRegistryResourceAssociationResources retrieves all servicecatalogappregistry.ResourceAssociation items from an AWS CloudFormation template -func (t *Template) GetAllServiceCatalogAppRegistryResourceAssociationResources() map[string]*servicecatalogappregistry.ResourceAssociation { - results := map[string]*servicecatalogappregistry.ResourceAssociation{} +// GetAllRDSCustomDBEngineVersionResources retrieves all rds.CustomDBEngineVersion items from an AWS CloudFormation template +func (t *Template) GetAllRDSCustomDBEngineVersionResources() map[string]*rds.CustomDBEngineVersion { + results := map[string]*rds.CustomDBEngineVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicecatalogappregistry.ResourceAssociation: + case *rds.CustomDBEngineVersion: results[name] = resource } } return results } -// GetServiceCatalogAppRegistryResourceAssociationWithName retrieves all servicecatalogappregistry.ResourceAssociation items from an AWS CloudFormation template +// GetRDSCustomDBEngineVersionWithName retrieves all rds.CustomDBEngineVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceCatalogAppRegistryResourceAssociationWithName(name string) (*servicecatalogappregistry.ResourceAssociation, error) { +func (t *Template) GetRDSCustomDBEngineVersionWithName(name string) (*rds.CustomDBEngineVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicecatalogappregistry.ResourceAssociation: + case *rds.CustomDBEngineVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicecatalogappregistry.ResourceAssociation not found", name) + return nil, fmt.Errorf("resource %q of type rds.CustomDBEngineVersion not found", name) } -// GetAllServiceDiscoveryHttpNamespaceResources retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryHttpNamespaceResources() map[string]*servicediscovery.HttpNamespace { - results := map[string]*servicediscovery.HttpNamespace{} +// GetAllRDSDBClusterResources retrieves all rds.DBCluster items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBClusterResources() map[string]*rds.DBCluster { + results := map[string]*rds.DBCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.HttpNamespace: + case *rds.DBCluster: results[name] = resource } } return results } -// GetServiceDiscoveryHttpNamespaceWithName retrieves all servicediscovery.HttpNamespace items from an AWS CloudFormation template +// GetRDSDBClusterWithName retrieves all rds.DBCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryHttpNamespaceWithName(name string) (*servicediscovery.HttpNamespace, error) { +func (t *Template) GetRDSDBClusterWithName(name string) (*rds.DBCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.HttpNamespace: + case *rds.DBCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.HttpNamespace not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBCluster not found", name) } -// GetAllServiceDiscoveryInstanceResources retrieves all servicediscovery.Instance items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryInstanceResources() map[string]*servicediscovery.Instance { - results := map[string]*servicediscovery.Instance{} +// GetAllRDSDBClusterParameterGroupResources retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBClusterParameterGroupResources() map[string]*rds.DBClusterParameterGroup { + results := map[string]*rds.DBClusterParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.Instance: + case *rds.DBClusterParameterGroup: results[name] = resource } } return results } -// GetServiceDiscoveryInstanceWithName retrieves all servicediscovery.Instance items from an AWS CloudFormation template +// GetRDSDBClusterParameterGroupWithName retrieves all rds.DBClusterParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryInstanceWithName(name string) (*servicediscovery.Instance, error) { +func (t *Template) GetRDSDBClusterParameterGroupWithName(name string) (*rds.DBClusterParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.Instance: + case *rds.DBClusterParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.Instance not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBClusterParameterGroup not found", name) } -// GetAllServiceDiscoveryPrivateDnsNamespaceResources retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryPrivateDnsNamespaceResources() map[string]*servicediscovery.PrivateDnsNamespace { - results := map[string]*servicediscovery.PrivateDnsNamespace{} +// GetAllRDSDBInstanceResources retrieves all rds.DBInstance items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBInstanceResources() map[string]*rds.DBInstance { + results := map[string]*rds.DBInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.PrivateDnsNamespace: + case *rds.DBInstance: results[name] = resource } } return results } -// GetServiceDiscoveryPrivateDnsNamespaceWithName retrieves all servicediscovery.PrivateDnsNamespace items from an AWS CloudFormation template +// GetRDSDBInstanceWithName retrieves all rds.DBInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryPrivateDnsNamespaceWithName(name string) (*servicediscovery.PrivateDnsNamespace, error) { +func (t *Template) GetRDSDBInstanceWithName(name string) (*rds.DBInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.PrivateDnsNamespace: + case *rds.DBInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.PrivateDnsNamespace not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBInstance not found", name) } -// GetAllServiceDiscoveryPublicDnsNamespaceResources retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryPublicDnsNamespaceResources() map[string]*servicediscovery.PublicDnsNamespace { - results := map[string]*servicediscovery.PublicDnsNamespace{} +// GetAllRDSDBParameterGroupResources retrieves all rds.DBParameterGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBParameterGroupResources() map[string]*rds.DBParameterGroup { + results := map[string]*rds.DBParameterGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.PublicDnsNamespace: + case *rds.DBParameterGroup: results[name] = resource } } return results } -// GetServiceDiscoveryPublicDnsNamespaceWithName retrieves all servicediscovery.PublicDnsNamespace items from an AWS CloudFormation template +// GetRDSDBParameterGroupWithName retrieves all rds.DBParameterGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryPublicDnsNamespaceWithName(name string) (*servicediscovery.PublicDnsNamespace, error) { +func (t *Template) GetRDSDBParameterGroupWithName(name string) (*rds.DBParameterGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.PublicDnsNamespace: + case *rds.DBParameterGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.PublicDnsNamespace not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBParameterGroup not found", name) } -// GetAllServiceDiscoveryServiceResources retrieves all servicediscovery.Service items from an AWS CloudFormation template -func (t *Template) GetAllServiceDiscoveryServiceResources() map[string]*servicediscovery.Service { - results := map[string]*servicediscovery.Service{} +// GetAllRDSDBProxyResources retrieves all rds.DBProxy items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBProxyResources() map[string]*rds.DBProxy { + results := map[string]*rds.DBProxy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *servicediscovery.Service: + case *rds.DBProxy: results[name] = resource } } return results } -// GetServiceDiscoveryServiceWithName retrieves all servicediscovery.Service items from an AWS CloudFormation template +// GetRDSDBProxyWithName retrieves all rds.DBProxy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetServiceDiscoveryServiceWithName(name string) (*servicediscovery.Service, error) { +func (t *Template) GetRDSDBProxyWithName(name string) (*rds.DBProxy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *servicediscovery.Service: + case *rds.DBProxy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type servicediscovery.Service not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBProxy not found", name) } -// GetAllSignerProfilePermissionResources retrieves all signer.ProfilePermission items from an AWS CloudFormation template -func (t *Template) GetAllSignerProfilePermissionResources() map[string]*signer.ProfilePermission { - results := map[string]*signer.ProfilePermission{} +// GetAllRDSDBProxyEndpointResources retrieves all rds.DBProxyEndpoint items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBProxyEndpointResources() map[string]*rds.DBProxyEndpoint { + results := map[string]*rds.DBProxyEndpoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *signer.ProfilePermission: + case *rds.DBProxyEndpoint: results[name] = resource } } return results } -// GetSignerProfilePermissionWithName retrieves all signer.ProfilePermission items from an AWS CloudFormation template +// GetRDSDBProxyEndpointWithName retrieves all rds.DBProxyEndpoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSignerProfilePermissionWithName(name string) (*signer.ProfilePermission, error) { +func (t *Template) GetRDSDBProxyEndpointWithName(name string) (*rds.DBProxyEndpoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *signer.ProfilePermission: + case *rds.DBProxyEndpoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type signer.ProfilePermission not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBProxyEndpoint not found", name) } -// GetAllSignerSigningProfileResources retrieves all signer.SigningProfile items from an AWS CloudFormation template -func (t *Template) GetAllSignerSigningProfileResources() map[string]*signer.SigningProfile { - results := map[string]*signer.SigningProfile{} +// GetAllRDSDBProxyTargetGroupResources retrieves all rds.DBProxyTargetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBProxyTargetGroupResources() map[string]*rds.DBProxyTargetGroup { + results := map[string]*rds.DBProxyTargetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *signer.SigningProfile: + case *rds.DBProxyTargetGroup: results[name] = resource } } return results } -// GetSignerSigningProfileWithName retrieves all signer.SigningProfile items from an AWS CloudFormation template +// GetRDSDBProxyTargetGroupWithName retrieves all rds.DBProxyTargetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSignerSigningProfileWithName(name string) (*signer.SigningProfile, error) { +func (t *Template) GetRDSDBProxyTargetGroupWithName(name string) (*rds.DBProxyTargetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *signer.SigningProfile: + case *rds.DBProxyTargetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type signer.SigningProfile not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBProxyTargetGroup not found", name) } -// GetAllStepFunctionsActivityResources retrieves all stepfunctions.Activity items from an AWS CloudFormation template -func (t *Template) GetAllStepFunctionsActivityResources() map[string]*stepfunctions.Activity { - results := map[string]*stepfunctions.Activity{} +// GetAllRDSDBSecurityGroupResources retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSecurityGroupResources() map[string]*rds.DBSecurityGroup { + results := map[string]*rds.DBSecurityGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *stepfunctions.Activity: + case *rds.DBSecurityGroup: results[name] = resource } } return results } -// GetStepFunctionsActivityWithName retrieves all stepfunctions.Activity items from an AWS CloudFormation template +// GetRDSDBSecurityGroupWithName retrieves all rds.DBSecurityGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetStepFunctionsActivityWithName(name string) (*stepfunctions.Activity, error) { +func (t *Template) GetRDSDBSecurityGroupWithName(name string) (*rds.DBSecurityGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *stepfunctions.Activity: + case *rds.DBSecurityGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type stepfunctions.Activity not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroup not found", name) } -// GetAllStepFunctionsStateMachineResources retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template -func (t *Template) GetAllStepFunctionsStateMachineResources() map[string]*stepfunctions.StateMachine { - results := map[string]*stepfunctions.StateMachine{} +// GetAllRDSDBSecurityGroupIngressResources retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSecurityGroupIngressResources() map[string]*rds.DBSecurityGroupIngress { + results := map[string]*rds.DBSecurityGroupIngress{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *stepfunctions.StateMachine: + case *rds.DBSecurityGroupIngress: results[name] = resource } } return results } -// GetStepFunctionsStateMachineWithName retrieves all stepfunctions.StateMachine items from an AWS CloudFormation template +// GetRDSDBSecurityGroupIngressWithName retrieves all rds.DBSecurityGroupIngress items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetStepFunctionsStateMachineWithName(name string) (*stepfunctions.StateMachine, error) { +func (t *Template) GetRDSDBSecurityGroupIngressWithName(name string) (*rds.DBSecurityGroupIngress, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *stepfunctions.StateMachine: + case *rds.DBSecurityGroupIngress: return resource, nil } } - return nil, fmt.Errorf("resource %q of type stepfunctions.StateMachine not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSecurityGroupIngress not found", name) } -// GetAllSyntheticsCanaryResources retrieves all synthetics.Canary items from an AWS CloudFormation template -func (t *Template) GetAllSyntheticsCanaryResources() map[string]*synthetics.Canary { - results := map[string]*synthetics.Canary{} +// GetAllRDSDBShardGroupResources retrieves all rds.DBShardGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBShardGroupResources() map[string]*rds.DBShardGroup { + results := map[string]*rds.DBShardGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *synthetics.Canary: + case *rds.DBShardGroup: results[name] = resource } } return results } -// GetSyntheticsCanaryWithName retrieves all synthetics.Canary items from an AWS CloudFormation template +// GetRDSDBShardGroupWithName retrieves all rds.DBShardGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetSyntheticsCanaryWithName(name string) (*synthetics.Canary, error) { +func (t *Template) GetRDSDBShardGroupWithName(name string) (*rds.DBShardGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *synthetics.Canary: + case *rds.DBShardGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type synthetics.Canary not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBShardGroup not found", name) } -// GetAllTimestreamDatabaseResources retrieves all timestream.Database items from an AWS CloudFormation template -func (t *Template) GetAllTimestreamDatabaseResources() map[string]*timestream.Database { - results := map[string]*timestream.Database{} +// GetAllRDSDBSubnetGroupResources retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSDBSubnetGroupResources() map[string]*rds.DBSubnetGroup { + results := map[string]*rds.DBSubnetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *timestream.Database: + case *rds.DBSubnetGroup: results[name] = resource } } return results } -// GetTimestreamDatabaseWithName retrieves all timestream.Database items from an AWS CloudFormation template +// GetRDSDBSubnetGroupWithName retrieves all rds.DBSubnetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTimestreamDatabaseWithName(name string) (*timestream.Database, error) { +func (t *Template) GetRDSDBSubnetGroupWithName(name string) (*rds.DBSubnetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *timestream.Database: + case *rds.DBSubnetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type timestream.Database not found", name) + return nil, fmt.Errorf("resource %q of type rds.DBSubnetGroup not found", name) } -// GetAllTimestreamScheduledQueryResources retrieves all timestream.ScheduledQuery items from an AWS CloudFormation template -func (t *Template) GetAllTimestreamScheduledQueryResources() map[string]*timestream.ScheduledQuery { - results := map[string]*timestream.ScheduledQuery{} +// GetAllRDSEventSubscriptionResources retrieves all rds.EventSubscription items from an AWS CloudFormation template +func (t *Template) GetAllRDSEventSubscriptionResources() map[string]*rds.EventSubscription { + results := map[string]*rds.EventSubscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *timestream.ScheduledQuery: + case *rds.EventSubscription: results[name] = resource } } return results } -// GetTimestreamScheduledQueryWithName retrieves all timestream.ScheduledQuery items from an AWS CloudFormation template +// GetRDSEventSubscriptionWithName retrieves all rds.EventSubscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTimestreamScheduledQueryWithName(name string) (*timestream.ScheduledQuery, error) { +func (t *Template) GetRDSEventSubscriptionWithName(name string) (*rds.EventSubscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *timestream.ScheduledQuery: + case *rds.EventSubscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type timestream.ScheduledQuery not found", name) + return nil, fmt.Errorf("resource %q of type rds.EventSubscription not found", name) } -// GetAllTimestreamTableResources retrieves all timestream.Table items from an AWS CloudFormation template -func (t *Template) GetAllTimestreamTableResources() map[string]*timestream.Table { - results := map[string]*timestream.Table{} +// GetAllRDSGlobalClusterResources retrieves all rds.GlobalCluster items from an AWS CloudFormation template +func (t *Template) GetAllRDSGlobalClusterResources() map[string]*rds.GlobalCluster { + results := map[string]*rds.GlobalCluster{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *timestream.Table: + case *rds.GlobalCluster: results[name] = resource } } return results } -// GetTimestreamTableWithName retrieves all timestream.Table items from an AWS CloudFormation template +// GetRDSGlobalClusterWithName retrieves all rds.GlobalCluster items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTimestreamTableWithName(name string) (*timestream.Table, error) { +func (t *Template) GetRDSGlobalClusterWithName(name string) (*rds.GlobalCluster, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *timestream.Table: + case *rds.GlobalCluster: return resource, nil } } - return nil, fmt.Errorf("resource %q of type timestream.Table not found", name) + return nil, fmt.Errorf("resource %q of type rds.GlobalCluster not found", name) } -// GetAllTransferServerResources retrieves all transfer.Server items from an AWS CloudFormation template -func (t *Template) GetAllTransferServerResources() map[string]*transfer.Server { - results := map[string]*transfer.Server{} +// GetAllRDSIntegrationResources retrieves all rds.Integration items from an AWS CloudFormation template +func (t *Template) GetAllRDSIntegrationResources() map[string]*rds.Integration { + results := map[string]*rds.Integration{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *transfer.Server: + case *rds.Integration: results[name] = resource } } return results } -// GetTransferServerWithName retrieves all transfer.Server items from an AWS CloudFormation template +// GetRDSIntegrationWithName retrieves all rds.Integration items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTransferServerWithName(name string) (*transfer.Server, error) { +func (t *Template) GetRDSIntegrationWithName(name string) (*rds.Integration, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *transfer.Server: + case *rds.Integration: return resource, nil } } - return nil, fmt.Errorf("resource %q of type transfer.Server not found", name) + return nil, fmt.Errorf("resource %q of type rds.Integration not found", name) } -// GetAllTransferUserResources retrieves all transfer.User items from an AWS CloudFormation template -func (t *Template) GetAllTransferUserResources() map[string]*transfer.User { - results := map[string]*transfer.User{} +// GetAllRDSOptionGroupResources retrieves all rds.OptionGroup items from an AWS CloudFormation template +func (t *Template) GetAllRDSOptionGroupResources() map[string]*rds.OptionGroup { + results := map[string]*rds.OptionGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *transfer.User: + case *rds.OptionGroup: results[name] = resource } } return results } -// GetTransferUserWithName retrieves all transfer.User items from an AWS CloudFormation template +// GetRDSOptionGroupWithName retrieves all rds.OptionGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTransferUserWithName(name string) (*transfer.User, error) { +func (t *Template) GetRDSOptionGroupWithName(name string) (*rds.OptionGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *transfer.User: + case *rds.OptionGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type transfer.User not found", name) + return nil, fmt.Errorf("resource %q of type rds.OptionGroup not found", name) } -// GetAllTransferWorkflowResources retrieves all transfer.Workflow items from an AWS CloudFormation template -func (t *Template) GetAllTransferWorkflowResources() map[string]*transfer.Workflow { - results := map[string]*transfer.Workflow{} +// GetAllRolesAnywhereCRLResources retrieves all rolesanywhere.CRL items from an AWS CloudFormation template +func (t *Template) GetAllRolesAnywhereCRLResources() map[string]*rolesanywhere.CRL { + results := map[string]*rolesanywhere.CRL{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *transfer.Workflow: + case *rolesanywhere.CRL: results[name] = resource } } return results } -// GetTransferWorkflowWithName retrieves all transfer.Workflow items from an AWS CloudFormation template +// GetRolesAnywhereCRLWithName retrieves all rolesanywhere.CRL items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetTransferWorkflowWithName(name string) (*transfer.Workflow, error) { +func (t *Template) GetRolesAnywhereCRLWithName(name string) (*rolesanywhere.CRL, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *transfer.Workflow: + case *rolesanywhere.CRL: return resource, nil } } - return nil, fmt.Errorf("resource %q of type transfer.Workflow not found", name) + return nil, fmt.Errorf("resource %q of type rolesanywhere.CRL not found", name) } -// GetAllWAFByteMatchSetResources retrieves all waf.ByteMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFByteMatchSetResources() map[string]*waf.ByteMatchSet { - results := map[string]*waf.ByteMatchSet{} +// GetAllRolesAnywhereProfileResources retrieves all rolesanywhere.Profile items from an AWS CloudFormation template +func (t *Template) GetAllRolesAnywhereProfileResources() map[string]*rolesanywhere.Profile { + results := map[string]*rolesanywhere.Profile{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.ByteMatchSet: + case *rolesanywhere.Profile: results[name] = resource } } return results } -// GetWAFByteMatchSetWithName retrieves all waf.ByteMatchSet items from an AWS CloudFormation template +// GetRolesAnywhereProfileWithName retrieves all rolesanywhere.Profile items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFByteMatchSetWithName(name string) (*waf.ByteMatchSet, error) { +func (t *Template) GetRolesAnywhereProfileWithName(name string) (*rolesanywhere.Profile, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.ByteMatchSet: + case *rolesanywhere.Profile: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.ByteMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type rolesanywhere.Profile not found", name) } -// GetAllWAFIPSetResources retrieves all waf.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFIPSetResources() map[string]*waf.IPSet { - results := map[string]*waf.IPSet{} +// GetAllRolesAnywhereTrustAnchorResources retrieves all rolesanywhere.TrustAnchor items from an AWS CloudFormation template +func (t *Template) GetAllRolesAnywhereTrustAnchorResources() map[string]*rolesanywhere.TrustAnchor { + results := map[string]*rolesanywhere.TrustAnchor{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.IPSet: + case *rolesanywhere.TrustAnchor: results[name] = resource } } return results } -// GetWAFIPSetWithName retrieves all waf.IPSet items from an AWS CloudFormation template +// GetRolesAnywhereTrustAnchorWithName retrieves all rolesanywhere.TrustAnchor items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFIPSetWithName(name string) (*waf.IPSet, error) { +func (t *Template) GetRolesAnywhereTrustAnchorWithName(name string) (*rolesanywhere.TrustAnchor, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.IPSet: + case *rolesanywhere.TrustAnchor: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type rolesanywhere.TrustAnchor not found", name) } -// GetAllWAFRuleResources retrieves all waf.Rule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRuleResources() map[string]*waf.Rule { - results := map[string]*waf.Rule{} +// GetAllRoute53CidrCollectionResources retrieves all route53.CidrCollection items from an AWS CloudFormation template +func (t *Template) GetAllRoute53CidrCollectionResources() map[string]*route53.CidrCollection { + results := map[string]*route53.CidrCollection{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.Rule: + case *route53.CidrCollection: results[name] = resource } } return results } -// GetWAFRuleWithName retrieves all waf.Rule items from an AWS CloudFormation template +// GetRoute53CidrCollectionWithName retrieves all route53.CidrCollection items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRuleWithName(name string) (*waf.Rule, error) { +func (t *Template) GetRoute53CidrCollectionWithName(name string) (*route53.CidrCollection, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.Rule: + case *route53.CidrCollection: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.Rule not found", name) + return nil, fmt.Errorf("resource %q of type route53.CidrCollection not found", name) } -// GetAllWAFSizeConstraintSetResources retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFSizeConstraintSetResources() map[string]*waf.SizeConstraintSet { - results := map[string]*waf.SizeConstraintSet{} +// GetAllRoute53DNSSECResources retrieves all route53.DNSSEC items from an AWS CloudFormation template +func (t *Template) GetAllRoute53DNSSECResources() map[string]*route53.DNSSEC { + results := map[string]*route53.DNSSEC{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.SizeConstraintSet: + case *route53.DNSSEC: results[name] = resource } } return results } -// GetWAFSizeConstraintSetWithName retrieves all waf.SizeConstraintSet items from an AWS CloudFormation template +// GetRoute53DNSSECWithName retrieves all route53.DNSSEC items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFSizeConstraintSetWithName(name string) (*waf.SizeConstraintSet, error) { +func (t *Template) GetRoute53DNSSECWithName(name string) (*route53.DNSSEC, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.SizeConstraintSet: + case *route53.DNSSEC: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.SizeConstraintSet not found", name) + return nil, fmt.Errorf("resource %q of type route53.DNSSEC not found", name) } -// GetAllWAFSqlInjectionMatchSetResources retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFSqlInjectionMatchSetResources() map[string]*waf.SqlInjectionMatchSet { - results := map[string]*waf.SqlInjectionMatchSet{} +// GetAllRoute53HealthCheckResources retrieves all route53.HealthCheck items from an AWS CloudFormation template +func (t *Template) GetAllRoute53HealthCheckResources() map[string]*route53.HealthCheck { + results := map[string]*route53.HealthCheck{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.SqlInjectionMatchSet: + case *route53.HealthCheck: results[name] = resource } } return results } -// GetWAFSqlInjectionMatchSetWithName retrieves all waf.SqlInjectionMatchSet items from an AWS CloudFormation template +// GetRoute53HealthCheckWithName retrieves all route53.HealthCheck items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFSqlInjectionMatchSetWithName(name string) (*waf.SqlInjectionMatchSet, error) { +func (t *Template) GetRoute53HealthCheckWithName(name string) (*route53.HealthCheck, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.SqlInjectionMatchSet: + case *route53.HealthCheck: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.SqlInjectionMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type route53.HealthCheck not found", name) } -// GetAllWAFWebACLResources retrieves all waf.WebACL items from an AWS CloudFormation template -func (t *Template) GetAllWAFWebACLResources() map[string]*waf.WebACL { - results := map[string]*waf.WebACL{} +// GetAllRoute53HostedZoneResources retrieves all route53.HostedZone items from an AWS CloudFormation template +func (t *Template) GetAllRoute53HostedZoneResources() map[string]*route53.HostedZone { + results := map[string]*route53.HostedZone{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.WebACL: + case *route53.HostedZone: results[name] = resource } } return results } -// GetWAFWebACLWithName retrieves all waf.WebACL items from an AWS CloudFormation template +// GetRoute53HostedZoneWithName retrieves all route53.HostedZone items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFWebACLWithName(name string) (*waf.WebACL, error) { +func (t *Template) GetRoute53HostedZoneWithName(name string) (*route53.HostedZone, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.WebACL: + case *route53.HostedZone: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.WebACL not found", name) + return nil, fmt.Errorf("resource %q of type route53.HostedZone not found", name) } -// GetAllWAFXssMatchSetResources retrieves all waf.XssMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFXssMatchSetResources() map[string]*waf.XssMatchSet { - results := map[string]*waf.XssMatchSet{} +// GetAllRoute53KeySigningKeyResources retrieves all route53.KeySigningKey items from an AWS CloudFormation template +func (t *Template) GetAllRoute53KeySigningKeyResources() map[string]*route53.KeySigningKey { + results := map[string]*route53.KeySigningKey{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *waf.XssMatchSet: + case *route53.KeySigningKey: results[name] = resource } } return results } -// GetWAFXssMatchSetWithName retrieves all waf.XssMatchSet items from an AWS CloudFormation template +// GetRoute53KeySigningKeyWithName retrieves all route53.KeySigningKey items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFXssMatchSetWithName(name string) (*waf.XssMatchSet, error) { +func (t *Template) GetRoute53KeySigningKeyWithName(name string) (*route53.KeySigningKey, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *waf.XssMatchSet: + case *route53.KeySigningKey: return resource, nil } } - return nil, fmt.Errorf("resource %q of type waf.XssMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type route53.KeySigningKey not found", name) } -// GetAllWAFRegionalByteMatchSetResources retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalByteMatchSetResources() map[string]*wafregional.ByteMatchSet { - results := map[string]*wafregional.ByteMatchSet{} +// GetAllRoute53RecordSetResources retrieves all route53.RecordSet items from an AWS CloudFormation template +func (t *Template) GetAllRoute53RecordSetResources() map[string]*route53.RecordSet { + results := map[string]*route53.RecordSet{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.ByteMatchSet: + case *route53.RecordSet: results[name] = resource } } return results } -// GetWAFRegionalByteMatchSetWithName retrieves all wafregional.ByteMatchSet items from an AWS CloudFormation template +// GetRoute53RecordSetWithName retrieves all route53.RecordSet items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalByteMatchSetWithName(name string) (*wafregional.ByteMatchSet, error) { +func (t *Template) GetRoute53RecordSetWithName(name string) (*route53.RecordSet, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.ByteMatchSet: + case *route53.RecordSet: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.ByteMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type route53.RecordSet not found", name) } -// GetAllWAFRegionalGeoMatchSetResources retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalGeoMatchSetResources() map[string]*wafregional.GeoMatchSet { - results := map[string]*wafregional.GeoMatchSet{} +// GetAllRoute53RecordSetGroupResources retrieves all route53.RecordSetGroup items from an AWS CloudFormation template +func (t *Template) GetAllRoute53RecordSetGroupResources() map[string]*route53.RecordSetGroup { + results := map[string]*route53.RecordSetGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.GeoMatchSet: + case *route53.RecordSetGroup: results[name] = resource } } return results } -// GetWAFRegionalGeoMatchSetWithName retrieves all wafregional.GeoMatchSet items from an AWS CloudFormation template +// GetRoute53RecordSetGroupWithName retrieves all route53.RecordSetGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalGeoMatchSetWithName(name string) (*wafregional.GeoMatchSet, error) { +func (t *Template) GetRoute53RecordSetGroupWithName(name string) (*route53.RecordSetGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.GeoMatchSet: + case *route53.RecordSetGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.GeoMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type route53.RecordSetGroup not found", name) } -// GetAllWAFRegionalIPSetResources retrieves all wafregional.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalIPSetResources() map[string]*wafregional.IPSet { - results := map[string]*wafregional.IPSet{} +// GetAllS3AccessGrantResources retrieves all s3.AccessGrant items from an AWS CloudFormation template +func (t *Template) GetAllS3AccessGrantResources() map[string]*s3.AccessGrant { + results := map[string]*s3.AccessGrant{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.IPSet: + case *s3.AccessGrant: results[name] = resource } } return results } -// GetWAFRegionalIPSetWithName retrieves all wafregional.IPSet items from an AWS CloudFormation template +// GetS3AccessGrantWithName retrieves all s3.AccessGrant items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalIPSetWithName(name string) (*wafregional.IPSet, error) { +func (t *Template) GetS3AccessGrantWithName(name string) (*s3.AccessGrant, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.IPSet: + case *s3.AccessGrant: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.AccessGrant not found", name) } -// GetAllWAFRegionalRateBasedRuleResources retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRateBasedRuleResources() map[string]*wafregional.RateBasedRule { - results := map[string]*wafregional.RateBasedRule{} +// GetAllS3AccessGrantsInstanceResources retrieves all s3.AccessGrantsInstance items from an AWS CloudFormation template +func (t *Template) GetAllS3AccessGrantsInstanceResources() map[string]*s3.AccessGrantsInstance { + results := map[string]*s3.AccessGrantsInstance{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.RateBasedRule: + case *s3.AccessGrantsInstance: results[name] = resource } } return results } -// GetWAFRegionalRateBasedRuleWithName retrieves all wafregional.RateBasedRule items from an AWS CloudFormation template +// GetS3AccessGrantsInstanceWithName retrieves all s3.AccessGrantsInstance items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRateBasedRuleWithName(name string) (*wafregional.RateBasedRule, error) { +func (t *Template) GetS3AccessGrantsInstanceWithName(name string) (*s3.AccessGrantsInstance, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.RateBasedRule: + case *s3.AccessGrantsInstance: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.RateBasedRule not found", name) + return nil, fmt.Errorf("resource %q of type s3.AccessGrantsInstance not found", name) } -// GetAllWAFRegionalRegexPatternSetResources retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRegexPatternSetResources() map[string]*wafregional.RegexPatternSet { - results := map[string]*wafregional.RegexPatternSet{} +// GetAllS3AccessGrantsLocationResources retrieves all s3.AccessGrantsLocation items from an AWS CloudFormation template +func (t *Template) GetAllS3AccessGrantsLocationResources() map[string]*s3.AccessGrantsLocation { + results := map[string]*s3.AccessGrantsLocation{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.RegexPatternSet: + case *s3.AccessGrantsLocation: results[name] = resource } } return results } -// GetWAFRegionalRegexPatternSetWithName retrieves all wafregional.RegexPatternSet items from an AWS CloudFormation template +// GetS3AccessGrantsLocationWithName retrieves all s3.AccessGrantsLocation items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRegexPatternSetWithName(name string) (*wafregional.RegexPatternSet, error) { +func (t *Template) GetS3AccessGrantsLocationWithName(name string) (*s3.AccessGrantsLocation, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.RegexPatternSet: + case *s3.AccessGrantsLocation: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.RegexPatternSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.AccessGrantsLocation not found", name) } -// GetAllWAFRegionalRuleResources retrieves all wafregional.Rule items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalRuleResources() map[string]*wafregional.Rule { - results := map[string]*wafregional.Rule{} +// GetAllS3AccessPointResources retrieves all s3.AccessPoint items from an AWS CloudFormation template +func (t *Template) GetAllS3AccessPointResources() map[string]*s3.AccessPoint { + results := map[string]*s3.AccessPoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.Rule: + case *s3.AccessPoint: results[name] = resource } } return results } -// GetWAFRegionalRuleWithName retrieves all wafregional.Rule items from an AWS CloudFormation template +// GetS3AccessPointWithName retrieves all s3.AccessPoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalRuleWithName(name string) (*wafregional.Rule, error) { +func (t *Template) GetS3AccessPointWithName(name string) (*s3.AccessPoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.Rule: + case *s3.AccessPoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.Rule not found", name) + return nil, fmt.Errorf("resource %q of type s3.AccessPoint not found", name) } -// GetAllWAFRegionalSizeConstraintSetResources retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalSizeConstraintSetResources() map[string]*wafregional.SizeConstraintSet { - results := map[string]*wafregional.SizeConstraintSet{} +// GetAllS3BucketResources retrieves all s3.Bucket items from an AWS CloudFormation template +func (t *Template) GetAllS3BucketResources() map[string]*s3.Bucket { + results := map[string]*s3.Bucket{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.SizeConstraintSet: + case *s3.Bucket: results[name] = resource } } return results } -// GetWAFRegionalSizeConstraintSetWithName retrieves all wafregional.SizeConstraintSet items from an AWS CloudFormation template +// GetS3BucketWithName retrieves all s3.Bucket items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalSizeConstraintSetWithName(name string) (*wafregional.SizeConstraintSet, error) { +func (t *Template) GetS3BucketWithName(name string) (*s3.Bucket, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.SizeConstraintSet: + case *s3.Bucket: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.SizeConstraintSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.Bucket not found", name) } -// GetAllWAFRegionalSqlInjectionMatchSetResources retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalSqlInjectionMatchSetResources() map[string]*wafregional.SqlInjectionMatchSet { - results := map[string]*wafregional.SqlInjectionMatchSet{} +// GetAllS3BucketPolicyResources retrieves all s3.BucketPolicy items from an AWS CloudFormation template +func (t *Template) GetAllS3BucketPolicyResources() map[string]*s3.BucketPolicy { + results := map[string]*s3.BucketPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.SqlInjectionMatchSet: + case *s3.BucketPolicy: results[name] = resource } } return results } -// GetWAFRegionalSqlInjectionMatchSetWithName retrieves all wafregional.SqlInjectionMatchSet items from an AWS CloudFormation template +// GetS3BucketPolicyWithName retrieves all s3.BucketPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalSqlInjectionMatchSetWithName(name string) (*wafregional.SqlInjectionMatchSet, error) { +func (t *Template) GetS3BucketPolicyWithName(name string) (*s3.BucketPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.SqlInjectionMatchSet: + case *s3.BucketPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.SqlInjectionMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.BucketPolicy not found", name) } -// GetAllWAFRegionalWebACLResources retrieves all wafregional.WebACL items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalWebACLResources() map[string]*wafregional.WebACL { - results := map[string]*wafregional.WebACL{} +// GetAllS3MultiRegionAccessPointResources retrieves all s3.MultiRegionAccessPoint items from an AWS CloudFormation template +func (t *Template) GetAllS3MultiRegionAccessPointResources() map[string]*s3.MultiRegionAccessPoint { + results := map[string]*s3.MultiRegionAccessPoint{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.WebACL: + case *s3.MultiRegionAccessPoint: results[name] = resource } } return results } -// GetWAFRegionalWebACLWithName retrieves all wafregional.WebACL items from an AWS CloudFormation template +// GetS3MultiRegionAccessPointWithName retrieves all s3.MultiRegionAccessPoint items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalWebACLWithName(name string) (*wafregional.WebACL, error) { +func (t *Template) GetS3MultiRegionAccessPointWithName(name string) (*s3.MultiRegionAccessPoint, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.WebACL: + case *s3.MultiRegionAccessPoint: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.WebACL not found", name) + return nil, fmt.Errorf("resource %q of type s3.MultiRegionAccessPoint not found", name) } -// GetAllWAFRegionalWebACLAssociationResources retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalWebACLAssociationResources() map[string]*wafregional.WebACLAssociation { - results := map[string]*wafregional.WebACLAssociation{} +// GetAllS3MultiRegionAccessPointPolicyResources retrieves all s3.MultiRegionAccessPointPolicy items from an AWS CloudFormation template +func (t *Template) GetAllS3MultiRegionAccessPointPolicyResources() map[string]*s3.MultiRegionAccessPointPolicy { + results := map[string]*s3.MultiRegionAccessPointPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.WebACLAssociation: + case *s3.MultiRegionAccessPointPolicy: results[name] = resource } } return results } -// GetWAFRegionalWebACLAssociationWithName retrieves all wafregional.WebACLAssociation items from an AWS CloudFormation template +// GetS3MultiRegionAccessPointPolicyWithName retrieves all s3.MultiRegionAccessPointPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalWebACLAssociationWithName(name string) (*wafregional.WebACLAssociation, error) { +func (t *Template) GetS3MultiRegionAccessPointPolicyWithName(name string) (*s3.MultiRegionAccessPointPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.WebACLAssociation: + case *s3.MultiRegionAccessPointPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.WebACLAssociation not found", name) + return nil, fmt.Errorf("resource %q of type s3.MultiRegionAccessPointPolicy not found", name) } -// GetAllWAFRegionalXssMatchSetResources retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFRegionalXssMatchSetResources() map[string]*wafregional.XssMatchSet { - results := map[string]*wafregional.XssMatchSet{} +// GetAllS3StorageLensResources retrieves all s3.StorageLens items from an AWS CloudFormation template +func (t *Template) GetAllS3StorageLensResources() map[string]*s3.StorageLens { + results := map[string]*s3.StorageLens{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafregional.XssMatchSet: + case *s3.StorageLens: results[name] = resource } } return results } -// GetWAFRegionalXssMatchSetWithName retrieves all wafregional.XssMatchSet items from an AWS CloudFormation template +// GetS3StorageLensWithName retrieves all s3.StorageLens items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFRegionalXssMatchSetWithName(name string) (*wafregional.XssMatchSet, error) { +func (t *Template) GetS3StorageLensWithName(name string) (*s3.StorageLens, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafregional.XssMatchSet: + case *s3.StorageLens: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafregional.XssMatchSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.StorageLens not found", name) } -// GetAllWAFv2IPSetResources retrieves all wafv2.IPSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2IPSetResources() map[string]*wafv2.IPSet { - results := map[string]*wafv2.IPSet{} +// GetAllS3StorageLensGroupResources retrieves all s3.StorageLensGroup items from an AWS CloudFormation template +func (t *Template) GetAllS3StorageLensGroupResources() map[string]*s3.StorageLensGroup { + results := map[string]*s3.StorageLensGroup{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.IPSet: + case *s3.StorageLensGroup: results[name] = resource } } return results } -// GetWAFv2IPSetWithName retrieves all wafv2.IPSet items from an AWS CloudFormation template +// GetS3StorageLensGroupWithName retrieves all s3.StorageLensGroup items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2IPSetWithName(name string) (*wafv2.IPSet, error) { +func (t *Template) GetS3StorageLensGroupWithName(name string) (*s3.StorageLensGroup, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.IPSet: + case *s3.StorageLensGroup: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.IPSet not found", name) + return nil, fmt.Errorf("resource %q of type s3.StorageLensGroup not found", name) } -// GetAllWAFv2LoggingConfigurationResources retrieves all wafv2.LoggingConfiguration items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2LoggingConfigurationResources() map[string]*wafv2.LoggingConfiguration { - results := map[string]*wafv2.LoggingConfiguration{} +// GetAllSNSSubscriptionResources retrieves all sns.Subscription items from an AWS CloudFormation template +func (t *Template) GetAllSNSSubscriptionResources() map[string]*sns.Subscription { + results := map[string]*sns.Subscription{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.LoggingConfiguration: + case *sns.Subscription: results[name] = resource } } return results } -// GetWAFv2LoggingConfigurationWithName retrieves all wafv2.LoggingConfiguration items from an AWS CloudFormation template +// GetSNSSubscriptionWithName retrieves all sns.Subscription items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2LoggingConfigurationWithName(name string) (*wafv2.LoggingConfiguration, error) { +func (t *Template) GetSNSSubscriptionWithName(name string) (*sns.Subscription, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.LoggingConfiguration: + case *sns.Subscription: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.LoggingConfiguration not found", name) + return nil, fmt.Errorf("resource %q of type sns.Subscription not found", name) } -// GetAllWAFv2RegexPatternSetResources retrieves all wafv2.RegexPatternSet items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2RegexPatternSetResources() map[string]*wafv2.RegexPatternSet { - results := map[string]*wafv2.RegexPatternSet{} +// GetAllSNSTopicResources retrieves all sns.Topic items from an AWS CloudFormation template +func (t *Template) GetAllSNSTopicResources() map[string]*sns.Topic { + results := map[string]*sns.Topic{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.RegexPatternSet: + case *sns.Topic: results[name] = resource } } return results } -// GetWAFv2RegexPatternSetWithName retrieves all wafv2.RegexPatternSet items from an AWS CloudFormation template +// GetSNSTopicWithName retrieves all sns.Topic items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2RegexPatternSetWithName(name string) (*wafv2.RegexPatternSet, error) { +func (t *Template) GetSNSTopicWithName(name string) (*sns.Topic, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.RegexPatternSet: + case *sns.Topic: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.RegexPatternSet not found", name) + return nil, fmt.Errorf("resource %q of type sns.Topic not found", name) } -// GetAllWAFv2RuleGroupResources retrieves all wafv2.RuleGroup items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2RuleGroupResources() map[string]*wafv2.RuleGroup { - results := map[string]*wafv2.RuleGroup{} +// GetAllSNSTopicInlinePolicyResources retrieves all sns.TopicInlinePolicy items from an AWS CloudFormation template +func (t *Template) GetAllSNSTopicInlinePolicyResources() map[string]*sns.TopicInlinePolicy { + results := map[string]*sns.TopicInlinePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.RuleGroup: + case *sns.TopicInlinePolicy: results[name] = resource } } return results } -// GetWAFv2RuleGroupWithName retrieves all wafv2.RuleGroup items from an AWS CloudFormation template +// GetSNSTopicInlinePolicyWithName retrieves all sns.TopicInlinePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2RuleGroupWithName(name string) (*wafv2.RuleGroup, error) { +func (t *Template) GetSNSTopicInlinePolicyWithName(name string) (*sns.TopicInlinePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.RuleGroup: + case *sns.TopicInlinePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.RuleGroup not found", name) + return nil, fmt.Errorf("resource %q of type sns.TopicInlinePolicy not found", name) } -// GetAllWAFv2WebACLResources retrieves all wafv2.WebACL items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2WebACLResources() map[string]*wafv2.WebACL { - results := map[string]*wafv2.WebACL{} +// GetAllSNSTopicPolicyResources retrieves all sns.TopicPolicy items from an AWS CloudFormation template +func (t *Template) GetAllSNSTopicPolicyResources() map[string]*sns.TopicPolicy { + results := map[string]*sns.TopicPolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.WebACL: + case *sns.TopicPolicy: results[name] = resource } } return results } -// GetWAFv2WebACLWithName retrieves all wafv2.WebACL items from an AWS CloudFormation template +// GetSNSTopicPolicyWithName retrieves all sns.TopicPolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2WebACLWithName(name string) (*wafv2.WebACL, error) { +func (t *Template) GetSNSTopicPolicyWithName(name string) (*sns.TopicPolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.WebACL: + case *sns.TopicPolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.WebACL not found", name) + return nil, fmt.Errorf("resource %q of type sns.TopicPolicy not found", name) } -// GetAllWAFv2WebACLAssociationResources retrieves all wafv2.WebACLAssociation items from an AWS CloudFormation template -func (t *Template) GetAllWAFv2WebACLAssociationResources() map[string]*wafv2.WebACLAssociation { - results := map[string]*wafv2.WebACLAssociation{} +// GetAllSQSQueueResources retrieves all sqs.Queue items from an AWS CloudFormation template +func (t *Template) GetAllSQSQueueResources() map[string]*sqs.Queue { + results := map[string]*sqs.Queue{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wafv2.WebACLAssociation: + case *sqs.Queue: results[name] = resource } } return results } -// GetWAFv2WebACLAssociationWithName retrieves all wafv2.WebACLAssociation items from an AWS CloudFormation template +// GetSQSQueueWithName retrieves all sqs.Queue items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWAFv2WebACLAssociationWithName(name string) (*wafv2.WebACLAssociation, error) { +func (t *Template) GetSQSQueueWithName(name string) (*sqs.Queue, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wafv2.WebACLAssociation: + case *sqs.Queue: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wafv2.WebACLAssociation not found", name) + return nil, fmt.Errorf("resource %q of type sqs.Queue not found", name) } -// GetAllWisdomAssistantResources retrieves all wisdom.Assistant items from an AWS CloudFormation template -func (t *Template) GetAllWisdomAssistantResources() map[string]*wisdom.Assistant { - results := map[string]*wisdom.Assistant{} +// GetAllSQSQueueInlinePolicyResources retrieves all sqs.QueueInlinePolicy items from an AWS CloudFormation template +func (t *Template) GetAllSQSQueueInlinePolicyResources() map[string]*sqs.QueueInlinePolicy { + results := map[string]*sqs.QueueInlinePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wisdom.Assistant: + case *sqs.QueueInlinePolicy: results[name] = resource } } return results } -// GetWisdomAssistantWithName retrieves all wisdom.Assistant items from an AWS CloudFormation template +// GetSQSQueueInlinePolicyWithName retrieves all sqs.QueueInlinePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWisdomAssistantWithName(name string) (*wisdom.Assistant, error) { +func (t *Template) GetSQSQueueInlinePolicyWithName(name string) (*sqs.QueueInlinePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wisdom.Assistant: + case *sqs.QueueInlinePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wisdom.Assistant not found", name) + return nil, fmt.Errorf("resource %q of type sqs.QueueInlinePolicy not found", name) } -// GetAllWisdomAssistantAssociationResources retrieves all wisdom.AssistantAssociation items from an AWS CloudFormation template -func (t *Template) GetAllWisdomAssistantAssociationResources() map[string]*wisdom.AssistantAssociation { - results := map[string]*wisdom.AssistantAssociation{} +// GetAllSQSQueuePolicyResources retrieves all sqs.QueuePolicy items from an AWS CloudFormation template +func (t *Template) GetAllSQSQueuePolicyResources() map[string]*sqs.QueuePolicy { + results := map[string]*sqs.QueuePolicy{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wisdom.AssistantAssociation: + case *sqs.QueuePolicy: results[name] = resource } } return results } -// GetWisdomAssistantAssociationWithName retrieves all wisdom.AssistantAssociation items from an AWS CloudFormation template +// GetSQSQueuePolicyWithName retrieves all sqs.QueuePolicy items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWisdomAssistantAssociationWithName(name string) (*wisdom.AssistantAssociation, error) { +func (t *Template) GetSQSQueuePolicyWithName(name string) (*sqs.QueuePolicy, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wisdom.AssistantAssociation: + case *sqs.QueuePolicy: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wisdom.AssistantAssociation not found", name) + return nil, fmt.Errorf("resource %q of type sqs.QueuePolicy not found", name) } -// GetAllWisdomKnowledgeBaseResources retrieves all wisdom.KnowledgeBase items from an AWS CloudFormation template -func (t *Template) GetAllWisdomKnowledgeBaseResources() map[string]*wisdom.KnowledgeBase { - results := map[string]*wisdom.KnowledgeBase{} +// GetAllServerlessApiResources retrieves all serverless.Api items from an AWS CloudFormation template +func (t *Template) GetAllServerlessApiResources() map[string]*serverless.Api { + results := map[string]*serverless.Api{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *wisdom.KnowledgeBase: + case *serverless.Api: results[name] = resource } } return results } -// GetWisdomKnowledgeBaseWithName retrieves all wisdom.KnowledgeBase items from an AWS CloudFormation template +// GetServerlessApiWithName retrieves all serverless.Api items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWisdomKnowledgeBaseWithName(name string) (*wisdom.KnowledgeBase, error) { +func (t *Template) GetServerlessApiWithName(name string) (*serverless.Api, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *wisdom.KnowledgeBase: + case *serverless.Api: return resource, nil } } - return nil, fmt.Errorf("resource %q of type wisdom.KnowledgeBase not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Api not found", name) } -// GetAllWorkSpacesConnectionAliasResources retrieves all workspaces.ConnectionAlias items from an AWS CloudFormation template -func (t *Template) GetAllWorkSpacesConnectionAliasResources() map[string]*workspaces.ConnectionAlias { - results := map[string]*workspaces.ConnectionAlias{} +// GetAllServerlessApplicationResources retrieves all serverless.Application items from an AWS CloudFormation template +func (t *Template) GetAllServerlessApplicationResources() map[string]*serverless.Application { + results := map[string]*serverless.Application{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *workspaces.ConnectionAlias: + case *serverless.Application: results[name] = resource } } return results } -// GetWorkSpacesConnectionAliasWithName retrieves all workspaces.ConnectionAlias items from an AWS CloudFormation template +// GetServerlessApplicationWithName retrieves all serverless.Application items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWorkSpacesConnectionAliasWithName(name string) (*workspaces.ConnectionAlias, error) { +func (t *Template) GetServerlessApplicationWithName(name string) (*serverless.Application, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *workspaces.ConnectionAlias: + case *serverless.Application: return resource, nil } } - return nil, fmt.Errorf("resource %q of type workspaces.ConnectionAlias not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Application not found", name) } -// GetAllWorkSpacesWorkspaceResources retrieves all workspaces.Workspace items from an AWS CloudFormation template -func (t *Template) GetAllWorkSpacesWorkspaceResources() map[string]*workspaces.Workspace { - results := map[string]*workspaces.Workspace{} +// GetAllServerlessFunctionResources retrieves all serverless.Function items from an AWS CloudFormation template +func (t *Template) GetAllServerlessFunctionResources() map[string]*serverless.Function { + results := map[string]*serverless.Function{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *workspaces.Workspace: + case *serverless.Function: results[name] = resource } } return results } -// GetWorkSpacesWorkspaceWithName retrieves all workspaces.Workspace items from an AWS CloudFormation template +// GetServerlessFunctionWithName retrieves all serverless.Function items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetWorkSpacesWorkspaceWithName(name string) (*workspaces.Workspace, error) { +func (t *Template) GetServerlessFunctionWithName(name string) (*serverless.Function, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *workspaces.Workspace: + case *serverless.Function: return resource, nil } } - return nil, fmt.Errorf("resource %q of type workspaces.Workspace not found", name) + return nil, fmt.Errorf("resource %q of type serverless.Function not found", name) } -// GetAllXRayGroupResources retrieves all xray.Group items from an AWS CloudFormation template -func (t *Template) GetAllXRayGroupResources() map[string]*xray.Group { - results := map[string]*xray.Group{} +// GetAllServerlessLayerVersionResources retrieves all serverless.LayerVersion items from an AWS CloudFormation template +func (t *Template) GetAllServerlessLayerVersionResources() map[string]*serverless.LayerVersion { + results := map[string]*serverless.LayerVersion{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *xray.Group: + case *serverless.LayerVersion: results[name] = resource } } return results } -// GetXRayGroupWithName retrieves all xray.Group items from an AWS CloudFormation template +// GetServerlessLayerVersionWithName retrieves all serverless.LayerVersion items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetXRayGroupWithName(name string) (*xray.Group, error) { +func (t *Template) GetServerlessLayerVersionWithName(name string) (*serverless.LayerVersion, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *xray.Group: + case *serverless.LayerVersion: return resource, nil } } - return nil, fmt.Errorf("resource %q of type xray.Group not found", name) + return nil, fmt.Errorf("resource %q of type serverless.LayerVersion not found", name) } -// GetAllXRaySamplingRuleResources retrieves all xray.SamplingRule items from an AWS CloudFormation template -func (t *Template) GetAllXRaySamplingRuleResources() map[string]*xray.SamplingRule { - results := map[string]*xray.SamplingRule{} +// GetAllServerlessSimpleTableResources retrieves all serverless.SimpleTable items from an AWS CloudFormation template +func (t *Template) GetAllServerlessSimpleTableResources() map[string]*serverless.SimpleTable { + results := map[string]*serverless.SimpleTable{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *xray.SamplingRule: + case *serverless.SimpleTable: results[name] = resource } } return results } -// GetXRaySamplingRuleWithName retrieves all xray.SamplingRule items from an AWS CloudFormation template +// GetServerlessSimpleTableWithName retrieves all serverless.SimpleTable items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetXRaySamplingRuleWithName(name string) (*xray.SamplingRule, error) { +func (t *Template) GetServerlessSimpleTableWithName(name string) (*serverless.SimpleTable, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *xray.SamplingRule: + case *serverless.SimpleTable: return resource, nil } } - return nil, fmt.Errorf("resource %q of type xray.SamplingRule not found", name) + return nil, fmt.Errorf("resource %q of type serverless.SimpleTable not found", name) } -// GetAllASKSkillResources retrieves all ask.Skill items from an AWS CloudFormation template -func (t *Template) GetAllASKSkillResources() map[string]*ask.Skill { - results := map[string]*ask.Skill{} +// GetAllServerlessStateMachineResources retrieves all serverless.StateMachine items from an AWS CloudFormation template +func (t *Template) GetAllServerlessStateMachineResources() map[string]*serverless.StateMachine { + results := map[string]*serverless.StateMachine{} for name, untyped := range t.Resources { switch resource := untyped.(type) { - case *ask.Skill: + case *serverless.StateMachine: results[name] = resource } } return results } -// GetASKSkillWithName retrieves all ask.Skill items from an AWS CloudFormation template +// GetServerlessStateMachineWithName retrieves all serverless.StateMachine items from an AWS CloudFormation template // whose logical ID matches the provided name. Returns an error if not found. -func (t *Template) GetASKSkillWithName(name string) (*ask.Skill, error) { +func (t *Template) GetServerlessStateMachineWithName(name string) (*serverless.StateMachine, error) { if untyped, ok := t.Resources[name]; ok { switch resource := untyped.(type) { - case *ask.Skill: + case *serverless.StateMachine: return resource, nil } } - return nil, fmt.Errorf("resource %q of type ask.Skill not found", name) + return nil, fmt.Errorf("resource %q of type serverless.StateMachine not found", name) } diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker.go deleted file mode 100644 index b86afd1329..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker.go +++ /dev/null @@ -1,193 +0,0 @@ -package amazonmq - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Broker AWS CloudFormation Resource (AWS::AmazonMQ::Broker) -// 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 *types.Value `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 - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade"` - - // BrokerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-brokername - BrokerName *types.Value `json:"BrokerName,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-configuration - Configuration *Broker_ConfigurationId `json:"Configuration,omitempty"` - - // DeploymentMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-deploymentmode - DeploymentMode *types.Value `json:"DeploymentMode,omitempty"` - - // EncryptionOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-encryptionoptions - EncryptionOptions *Broker_EncryptionOptions `json:"EncryptionOptions,omitempty"` - - // EngineType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-enginetype - EngineType *types.Value `json:"EngineType,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // HostInstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-hostinstancetype - HostInstanceType *types.Value `json:"HostInstanceType,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 - Logs *Broker_LogList `json:"Logs,omitempty"` - - // MaintenanceWindowStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-maintenancewindowstarttime - MaintenanceWindowStartTime *Broker_MaintenanceWindow `json:"MaintenanceWindowStartTime,omitempty"` - - // PubliclyAccessible AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-publiclyaccessible - PubliclyAccessible *types.Value `json:"PubliclyAccessible"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // StorageType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-storagetype - StorageType *types.Value `json:"StorageType,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-tags - Tags []Broker_TagsEntry `json:"Tags,omitempty"` - - // Users AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-users - Users []Broker_User `json:"Users,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) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker" -} - -// 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 (r Broker) MarshalJSON() ([]byte, error) { - type Properties Broker - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Broker) UnmarshalJSON(b []byte) error { - type Properties Broker - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Broker(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_configurationid.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_configurationid.go deleted file mode 100644 index dcd8d88eb8..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_configurationid.go +++ /dev/null @@ -1,42 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Broker_ConfigurationId AWS CloudFormation Resource (AWS::AmazonMQ::Broker.ConfigurationId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html -type Broker_ConfigurationId struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html#cfn-amazonmq-broker-configurationid-id - Id *types.Value `json:"Id,omitempty"` - - // Revision AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html#cfn-amazonmq-broker-configurationid-revision - Revision *types.Value `json:"Revision"` - - // 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_ConfigurationId) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.ConfigurationId" -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_ldapservermetadata.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_ldapservermetadata.go deleted file mode 100644 index c212f9e441..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_ldapservermetadata.go +++ /dev/null @@ -1,87 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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" -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_maintenancewindow.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_maintenancewindow.go deleted file mode 100644 index 4c7500dc47..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_maintenancewindow.go +++ /dev/null @@ -1,47 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Broker_MaintenanceWindow AWS CloudFormation Resource (AWS::AmazonMQ::Broker.MaintenanceWindow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html -type Broker_MaintenanceWindow struct { - - // DayOfWeek AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-dayofweek - DayOfWeek *types.Value `json:"DayOfWeek,omitempty"` - - // TimeOfDay AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-timeofday - TimeOfDay *types.Value `json:"TimeOfDay,omitempty"` - - // TimeZone AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-timezone - TimeZone *types.Value `json:"TimeZone,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_MaintenanceWindow) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.MaintenanceWindow" -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_tagsentry.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_tagsentry.go deleted file mode 100644 index 08ed3e731d..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Broker_TagsEntry AWS CloudFormation Resource (AWS::AmazonMQ::Broker.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html -type Broker_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html#cfn-amazonmq-broker-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-tagsentry.html#cfn-amazonmq-broker-tagsentry-value - Value *types.Value `json:"Value,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_TagsEntry) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_user.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_user.go deleted file mode 100644 index 9dfa63f4fe..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_user.go +++ /dev/null @@ -1,52 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Broker_User AWS CloudFormation Resource (AWS::AmazonMQ::Broker.User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html -type Broker_User struct { - - // ConsoleAccess AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-consoleaccess - ConsoleAccess *types.Value `json:"ConsoleAccess,omitempty"` - - // Groups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-groups - Groups *types.Value `json:"Groups,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-username - Username *types.Value `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_User) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.User" -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration.go deleted file mode 100644 index 791f61cfef..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration.go +++ /dev/null @@ -1,138 +0,0 @@ -package amazonmq - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Configuration AWS CloudFormation Resource (AWS::AmazonMQ::Configuration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html -type Configuration struct { - - // AuthenticationStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-authenticationstrategy - AuthenticationStrategy *types.Value `json:"AuthenticationStrategy,omitempty"` - - // Data AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-data - Data *types.Value `json:"Data,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-description - Description *types.Value `json:"Description,omitempty"` - - // EngineType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-enginetype - EngineType *types.Value `json:"EngineType,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html#cfn-amazonmq-configuration-tags - Tags []Configuration_TagsEntry `json:"Tags,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 *Configuration) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Configuration" -} - -// 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 (r Configuration) MarshalJSON() ([]byte, error) { - type Properties Configuration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Configuration) UnmarshalJSON(b []byte) error { - type Properties Configuration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Configuration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation.go deleted file mode 100644 index c51b00fb7c..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package amazonmq - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationAssociation AWS CloudFormation Resource (AWS::AmazonMQ::ConfigurationAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html -type ConfigurationAssociation struct { - - // Broker AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html#cfn-amazonmq-configurationassociation-broker - Broker *types.Value `json:"Broker,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configurationassociation.html#cfn-amazonmq-configurationassociation-configuration - Configuration *ConfigurationAssociation_ConfigurationId `json:"Configuration,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 *ConfigurationAssociation) AWSCloudFormationType() string { - return "AWS::AmazonMQ::ConfigurationAssociation" -} - -// 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 (r ConfigurationAssociation) MarshalJSON() ([]byte, error) { - type Properties ConfigurationAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationAssociation) UnmarshalJSON(b []byte) error { - type Properties ConfigurationAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation_configurationid.go b/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation_configurationid.go deleted file mode 100644 index f1c52d6cb2..0000000000 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configurationassociation_configurationid.go +++ /dev/null @@ -1,42 +0,0 @@ -package amazonmq - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationAssociation_ConfigurationId AWS CloudFormation Resource (AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configurationassociation-configurationid.html -type ConfigurationAssociation_ConfigurationId struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configurationassociation-configurationid.html#cfn-amazonmq-configurationassociation-configurationid-id - Id *types.Value `json:"Id,omitempty"` - - // Revision AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configurationassociation-configurationid.html#cfn-amazonmq-configurationassociation-configurationid-revision - Revision *types.Value `json:"Revision"` - - // 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 *ConfigurationAssociation_ConfigurationId) AWSCloudFormationType() string { - return "AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-app.go b/pkg/goformation/cloudformation/amplify/aws-amplify-app.go deleted file mode 100644 index fdbd7cf3c9..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-app.go +++ /dev/null @@ -1,174 +0,0 @@ -package amplify - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App AWS CloudFormation Resource (AWS::Amplify::App) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html -type App struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // AutoBranchCreationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-autobranchcreationconfig - AutoBranchCreationConfig *App_AutoBranchCreationConfig `json:"AutoBranchCreationConfig,omitempty"` - - // BasicAuthConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-basicauthconfig - BasicAuthConfig *App_BasicAuthConfig `json:"BasicAuthConfig,omitempty"` - - // BuildSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-buildspec - BuildSpec *types.Value `json:"BuildSpec,omitempty"` - - // CustomHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-customheaders - CustomHeaders *types.Value `json:"CustomHeaders,omitempty"` - - // CustomRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-customrules - CustomRules []App_CustomRule `json:"CustomRules,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-description - Description *types.Value `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 *types.Value `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 - EnvironmentVariables []App_EnvironmentVariable `json:"EnvironmentVariables,omitempty"` - - // IAMServiceRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-iamservicerole - IAMServiceRole *types.Value `json:"IAMServiceRole,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-name - Name *types.Value `json:"Name,omitempty"` - - // OauthToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-oauthtoken - OauthToken *types.Value `json:"OauthToken,omitempty"` - - // Repository AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-repository - Repository *types.Value `json:"Repository,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-tags - Tags []cloudformation.Tag `json:"Tags,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 *App) AWSCloudFormationType() string { - return "AWS::Amplify::App" -} - -// 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 (r App) MarshalJSON() ([]byte, error) { - type Properties App - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *App) UnmarshalJSON(b []byte) error { - type Properties App - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = App(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-app_autobranchcreationconfig.go b/pkg/goformation/cloudformation/amplify/aws-amplify-app_autobranchcreationconfig.go deleted file mode 100644 index 5da2eae544..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-app_autobranchcreationconfig.go +++ /dev/null @@ -1,82 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_AutoBranchCreationConfig AWS CloudFormation Resource (AWS::Amplify::App.AutoBranchCreationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html -type App_AutoBranchCreationConfig struct { - - // AutoBranchCreationPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-autobranchcreationpatterns - AutoBranchCreationPatterns *types.Value `json:"AutoBranchCreationPatterns,omitempty"` - - // BasicAuthConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-basicauthconfig - BasicAuthConfig *App_BasicAuthConfig `json:"BasicAuthConfig,omitempty"` - - // BuildSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-buildspec - BuildSpec *types.Value `json:"BuildSpec,omitempty"` - - // EnableAutoBranchCreation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableautobranchcreation - EnableAutoBranchCreation *types.Value `json:"EnableAutoBranchCreation,omitempty"` - - // EnableAutoBuild AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableautobuild - EnableAutoBuild *types.Value `json:"EnableAutoBuild,omitempty"` - - // EnablePerformanceMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enableperformancemode - EnablePerformanceMode *types.Value `json:"EnablePerformanceMode,omitempty"` - - // EnablePullRequestPreview AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-enablepullrequestpreview - EnablePullRequestPreview *types.Value `json:"EnablePullRequestPreview,omitempty"` - - // EnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-environmentvariables - EnvironmentVariables []App_EnvironmentVariable `json:"EnvironmentVariables,omitempty"` - - // PullRequestEnvironmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-pullrequestenvironmentname - PullRequestEnvironmentName *types.Value `json:"PullRequestEnvironmentName,omitempty"` - - // Stage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html#cfn-amplify-app-autobranchcreationconfig-stage - Stage *types.Value `json:"Stage,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 *App_AutoBranchCreationConfig) AWSCloudFormationType() string { - return "AWS::Amplify::App.AutoBranchCreationConfig" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-app_basicauthconfig.go b/pkg/goformation/cloudformation/amplify/aws-amplify-app_basicauthconfig.go deleted file mode 100644 index fe456efa68..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-app_basicauthconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_BasicAuthConfig AWS CloudFormation Resource (AWS::Amplify::App.BasicAuthConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-basicauthconfig.html -type App_BasicAuthConfig struct { - - // EnableBasicAuth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-basicauthconfig.html#cfn-amplify-app-basicauthconfig-enablebasicauth - EnableBasicAuth *types.Value `json:"EnableBasicAuth,omitempty"` - - // Password AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-basicauthconfig.html#cfn-amplify-app-basicauthconfig-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-basicauthconfig.html#cfn-amplify-app-basicauthconfig-username - Username *types.Value `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 *App_BasicAuthConfig) AWSCloudFormationType() string { - return "AWS::Amplify::App.BasicAuthConfig" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-app_customrule.go b/pkg/goformation/cloudformation/amplify/aws-amplify-app_customrule.go deleted file mode 100644 index 89b5d7bf91..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-app_customrule.go +++ /dev/null @@ -1,52 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_CustomRule AWS CloudFormation Resource (AWS::Amplify::App.CustomRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html -type App_CustomRule struct { - - // Condition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-condition - Condition *types.Value `json:"Condition,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-source - Source *types.Value `json:"Source,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-status - Status *types.Value `json:"Status,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-target - Target *types.Value `json:"Target,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 *App_CustomRule) AWSCloudFormationType() string { - return "AWS::Amplify::App.CustomRule" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-branch_basicauthconfig.go b/pkg/goformation/cloudformation/amplify/aws-amplify-branch_basicauthconfig.go deleted file mode 100644 index 0ef944edc5..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-branch_basicauthconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Branch_BasicAuthConfig AWS CloudFormation Resource (AWS::Amplify::Branch.BasicAuthConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html -type Branch_BasicAuthConfig struct { - - // EnableBasicAuth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-enablebasicauth - EnableBasicAuth *types.Value `json:"EnableBasicAuth,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-username - Username *types.Value `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 *Branch_BasicAuthConfig) AWSCloudFormationType() string { - return "AWS::Amplify::Branch.BasicAuthConfig" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-branch_environmentvariable.go b/pkg/goformation/cloudformation/amplify/aws-amplify-branch_environmentvariable.go deleted file mode 100644 index 32c278b123..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-branch_environmentvariable.go +++ /dev/null @@ -1,42 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Branch_EnvironmentVariable AWS CloudFormation Resource (AWS::Amplify::Branch.EnvironmentVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-environmentvariable.html -type Branch_EnvironmentVariable struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-environmentvariable.html#cfn-amplify-branch-environmentvariable-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-environmentvariable.html#cfn-amplify-branch-environmentvariable-value - Value *types.Value `json:"Value,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 *Branch_EnvironmentVariable) AWSCloudFormationType() string { - return "AWS::Amplify::Branch.EnvironmentVariable" -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-domain.go b/pkg/goformation/cloudformation/amplify/aws-amplify-domain.go deleted file mode 100644 index 7122736158..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-domain.go +++ /dev/null @@ -1,133 +0,0 @@ -package amplify - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::Amplify::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html -type Domain struct { - - // AppId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-appid - AppId *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 *types.Value `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 - SubDomainSettings []Domain_SubDomainSetting `json:"SubDomainSettings,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 *Domain) AWSCloudFormationType() string { - return "AWS::Amplify::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-domain_subdomainsetting.go b/pkg/goformation/cloudformation/amplify/aws-amplify-domain_subdomainsetting.go deleted file mode 100644 index aed69234f3..0000000000 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-domain_subdomainsetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package amplify - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_SubDomainSetting AWS CloudFormation Resource (AWS::Amplify::Domain.SubDomainSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-subdomainsetting.html -type Domain_SubDomainSetting struct { - - // BranchName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-subdomainsetting.html#cfn-amplify-domain-subdomainsetting-branchname - BranchName *types.Value `json:"BranchName,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-subdomainsetting.html#cfn-amplify-domain-subdomainsetting-prefix - Prefix *types.Value `json:"Prefix,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 *Domain_SubDomainSetting) AWSCloudFormationType() string { - return "AWS::Amplify::Domain.SubDomainSetting" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component.go deleted file mode 100644 index f0d5e985f1..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component.go +++ /dev/null @@ -1,153 +0,0 @@ -package amplifyuibuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html -type Component struct { - - // BindingProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-bindingproperties - BindingProperties map[string]Component_ComponentBindingPropertiesValue `json:"BindingProperties,omitempty"` - - // Children AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-children - Children []Component_ComponentChild `json:"Children,omitempty"` - - // CollectionProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-collectionproperties - CollectionProperties map[string]Component_ComponentDataConfiguration `json:"CollectionProperties,omitempty"` - - // ComponentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-componenttype - ComponentType *types.Value `json:"ComponentType,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-name - Name *types.Value `json:"Name,omitempty"` - - // Overrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-overrides - Overrides map[string]Component_ComponentOverridesValue `json:"Overrides,omitempty"` - - // Properties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-properties - Properties map[string]Component_ComponentProperty `json:"Properties,omitempty"` - - // SourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-sourceid - SourceId *types.Value `json:"SourceId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Variants AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-variants - Variants []Component_ComponentVariant `json:"Variants,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 *Component) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component" -} - -// 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 (r Component) MarshalJSON() ([]byte, error) { - type Properties Component - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Component) UnmarshalJSON(b []byte) error { - type Properties Component - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Component(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalue.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalue.go deleted file mode 100644 index aea42f4620..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalue.go +++ /dev/null @@ -1,47 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentBindingPropertiesValue AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html -type Component_ComponentBindingPropertiesValue struct { - - // BindingProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-bindingproperties - BindingProperties *Component_ComponentBindingPropertiesValueProperties `json:"BindingProperties,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-type - Type *types.Value `json:"Type,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 *Component_ComponentBindingPropertiesValue) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalueproperties.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalueproperties.go deleted file mode 100644 index dadd05025d..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentbindingpropertiesvalueproperties.go +++ /dev/null @@ -1,67 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentBindingPropertiesValueProperties AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html -type Component_ComponentBindingPropertiesValueProperties struct { - - // Bucket AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Field AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-field - Field *types.Value `json:"Field,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-key - Key *types.Value `json:"Key,omitempty"` - - // Model AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-model - Model *types.Value `json:"Model,omitempty"` - - // Predicates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-predicates - Predicates []Component_Predicate `json:"Predicates,omitempty"` - - // UserAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-userattribute - UserAttribute *types.Value `json:"UserAttribute,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 *Component_ComponentBindingPropertiesValueProperties) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentchild.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentchild.go deleted file mode 100644 index f8fe76d92a..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentchild.go +++ /dev/null @@ -1,52 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentChild AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentChild) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html -type Component_ComponentChild struct { - - // Children AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-children - Children []Component_ComponentChild `json:"Children,omitempty"` - - // ComponentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-componenttype - ComponentType *types.Value `json:"ComponentType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-name - Name *types.Value `json:"Name,omitempty"` - - // Properties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-properties - Properties *Component_ComponentProperties `json:"Properties,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 *Component_ComponentChild) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentChild" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentconditionproperty.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentconditionproperty.go deleted file mode 100644 index 8990ff2809..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentconditionproperty.go +++ /dev/null @@ -1,62 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentConditionProperty AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentConditionProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html -type Component_ComponentConditionProperty struct { - - // Else AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-else - Else *Component_ComponentProperty `json:"Else,omitempty"` - - // Field AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-field - Field *types.Value `json:"Field,omitempty"` - - // Operand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operand - Operand *types.Value `json:"Operand,omitempty"` - - // Operator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operator - Operator *types.Value `json:"Operator,omitempty"` - - // Property AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-property - Property *types.Value `json:"Property,omitempty"` - - // Then AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-then - Then *Component_ComponentProperty `json:"Then,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 *Component_ComponentConditionProperty) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentConditionProperty" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentdataconfiguration.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentdataconfiguration.go deleted file mode 100644 index 18f60665ac..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentdataconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentDataConfiguration AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html -type Component_ComponentDataConfiguration struct { - - // Identifiers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-identifiers - Identifiers *types.Value `json:"Identifiers,omitempty"` - - // Model AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-model - Model *types.Value `json:"Model,omitempty"` - - // Predicate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-predicate - Predicate *Component_Predicate `json:"Predicate,omitempty"` - - // Sort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-sort - Sort []Component_SortProperty `json:"Sort,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 *Component_ComponentDataConfiguration) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverrides.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverrides.go deleted file mode 100644 index 070f054413..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverrides.go +++ /dev/null @@ -1,30 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentOverrides AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentoverrides.html -type Component_ComponentOverrides struct { - - // 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 *Component_ComponentOverrides) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentOverrides" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverridesvalue.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverridesvalue.go deleted file mode 100644 index a14510daab..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentoverridesvalue.go +++ /dev/null @@ -1,30 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentOverridesValue AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentOverridesValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentoverridesvalue.html -type Component_ComponentOverridesValue struct { - - // 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 *Component_ComponentOverridesValue) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentOverridesValue" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperties.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperties.go deleted file mode 100644 index 4d5dad54e0..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperties.go +++ /dev/null @@ -1,30 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentProperties AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperties.html -type Component_ComponentProperties struct { - - // 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 *Component_ComponentProperties) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentProperties" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperty.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperty.go deleted file mode 100644 index f06370d444..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentproperty.go +++ /dev/null @@ -1,97 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentProperty AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html -type Component_ComponentProperty struct { - - // BindingProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindingproperties - BindingProperties *Component_ComponentPropertyBindingProperties `json:"BindingProperties,omitempty"` - - // Bindings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindings - Bindings *Component_FormBindings `json:"Bindings,omitempty"` - - // CollectionBindingProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-collectionbindingproperties - CollectionBindingProperties *Component_ComponentPropertyBindingProperties `json:"CollectionBindingProperties,omitempty"` - - // Concat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-concat - Concat []Component_ComponentProperty `json:"Concat,omitempty"` - - // Condition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-condition - Condition *Component_ComponentConditionProperty `json:"Condition,omitempty"` - - // Configured AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-configured - Configured *types.Value `json:"Configured,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Event AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-event - Event *types.Value `json:"Event,omitempty"` - - // ImportedValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-importedvalue - ImportedValue *types.Value `json:"ImportedValue,omitempty"` - - // Model AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-model - Model *types.Value `json:"Model,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-type - Type *types.Value `json:"Type,omitempty"` - - // UserAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-userattribute - UserAttribute *types.Value `json:"UserAttribute,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-value - Value *types.Value `json:"Value,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 *Component_ComponentProperty) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentProperty" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentpropertybindingproperties.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentpropertybindingproperties.go deleted file mode 100644 index 9abe36b729..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentpropertybindingproperties.go +++ /dev/null @@ -1,42 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentPropertyBindingProperties AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html -type Component_ComponentPropertyBindingProperties struct { - - // Field AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html#cfn-amplifyuibuilder-component-componentpropertybindingproperties-field - Field *types.Value `json:"Field,omitempty"` - - // Property AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html#cfn-amplifyuibuilder-component-componentpropertybindingproperties-property - Property *types.Value `json:"Property,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 *Component_ComponentPropertyBindingProperties) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariant.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariant.go deleted file mode 100644 index f09d288200..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariant.go +++ /dev/null @@ -1,40 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentVariant AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentVariant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html -type Component_ComponentVariant struct { - - // Overrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html#cfn-amplifyuibuilder-component-componentvariant-overrides - Overrides *Component_ComponentOverrides `json:"Overrides,omitempty"` - - // VariantValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html#cfn-amplifyuibuilder-component-componentvariant-variantvalues - VariantValues *Component_ComponentVariantValues `json:"VariantValues,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 *Component_ComponentVariant) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentVariant" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariantvalues.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariantvalues.go deleted file mode 100644 index 29ec58f219..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_componentvariantvalues.go +++ /dev/null @@ -1,30 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_ComponentVariantValues AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.ComponentVariantValues) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariantvalues.html -type Component_ComponentVariantValues struct { - - // 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 *Component_ComponentVariantValues) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.ComponentVariantValues" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_formbindings.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_formbindings.go deleted file mode 100644 index 05e14bc194..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_formbindings.go +++ /dev/null @@ -1,30 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_FormBindings AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.FormBindings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-formbindings.html -type Component_FormBindings struct { - - // 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 *Component_FormBindings) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.FormBindings" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_predicate.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_predicate.go deleted file mode 100644 index 9ab984f928..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_predicate.go +++ /dev/null @@ -1,57 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_Predicate AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.Predicate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html -type Component_Predicate struct { - - // And AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-and - And []Component_Predicate `json:"And,omitempty"` - - // Field AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-field - Field *types.Value `json:"Field,omitempty"` - - // Operand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operand - Operand *types.Value `json:"Operand,omitempty"` - - // Operator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operator - Operator *types.Value `json:"Operator,omitempty"` - - // Or AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-or - Or []Component_Predicate `json:"Or,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 *Component_Predicate) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.Predicate" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_sortproperty.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_sortproperty.go deleted file mode 100644 index 01b42de86e..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-component_sortproperty.go +++ /dev/null @@ -1,42 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component_SortProperty AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Component.SortProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html -type Component_SortProperty struct { - - // Direction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html#cfn-amplifyuibuilder-component-sortproperty-direction - Direction *types.Value `json:"Direction,omitempty"` - - // Field AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html#cfn-amplifyuibuilder-component-sortproperty-field - Field *types.Value `json:"Field,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 *Component_SortProperty) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Component.SortProperty" -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme.go deleted file mode 100644 index 05db532569..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme.go +++ /dev/null @@ -1,123 +0,0 @@ -package amplifyuibuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Theme) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html -type Theme struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-name - Name *types.Value `json:"Name,omitempty"` - - // Overrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-overrides - Overrides []Theme_ThemeValues `json:"Overrides,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-values - Values []Theme_ThemeValues `json:"Values,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 *Theme) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Theme" -} - -// 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 (r Theme) MarshalJSON() ([]byte, error) { - type Properties Theme - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Theme) UnmarshalJSON(b []byte) error { - type Properties Theme - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Theme(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalues.go b/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalues.go deleted file mode 100644 index 604d763e2a..0000000000 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalues.go +++ /dev/null @@ -1,42 +0,0 @@ -package amplifyuibuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_ThemeValues AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Theme.ThemeValues) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalues.html -type Theme_ThemeValues struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalues.html#cfn-amplifyuibuilder-theme-themevalues-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalues.html#cfn-amplifyuibuilder-theme-themevalues-value - Value *Theme_ThemeValue `json:"Value,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 *Theme_ThemeValues) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Theme.ThemeValues" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-account.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-account.go deleted file mode 100644 index e986163050..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-account.go +++ /dev/null @@ -1,108 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Account AWS CloudFormation Resource (AWS::ApiGateway::Account) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html -type Account struct { - - // CloudWatchRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html#cfn-apigateway-account-cloudwatchrolearn - CloudWatchRoleArn *types.Value `json:"CloudWatchRoleArn,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 *Account) AWSCloudFormationType() string { - return "AWS::ApiGateway::Account" -} - -// 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 (r Account) MarshalJSON() ([]byte, error) { - type Properties Account - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Account) UnmarshalJSON(b []byte) error { - type Properties Account - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Account(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-authorizer.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-authorizer.go deleted file mode 100644 index c7017eb086..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-authorizer.go +++ /dev/null @@ -1,153 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer AWS CloudFormation Resource (AWS::ApiGateway::Authorizer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html -type Authorizer struct { - - // AuthType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authtype - AuthType *types.Value `json:"AuthType,omitempty"` - - // AuthorizerCredentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizercredentials - AuthorizerCredentials *types.Value `json:"AuthorizerCredentials,omitempty"` - - // AuthorizerResultTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizerresultttlinseconds - AuthorizerResultTtlInSeconds *types.Value `json:"AuthorizerResultTtlInSeconds,omitempty"` - - // AuthorizerUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-authorizeruri - AuthorizerUri *types.Value `json:"AuthorizerUri,omitempty"` - - // IdentitySource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-identitysource - IdentitySource *types.Value `json:"IdentitySource,omitempty"` - - // IdentityValidationExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-identityvalidationexpression - IdentityValidationExpression *types.Value `json:"IdentityValidationExpression,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-name - Name *types.Value `json:"Name,omitempty"` - - // ProviderARNs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-providerarns - ProviderARNs *types.Value `json:"ProviderARNs,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html#cfn-apigateway-authorizer-type - Type *types.Value `json:"Type,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 *Authorizer) AWSCloudFormationType() string { - return "AWS::ApiGateway::Authorizer" -} - -// 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 (r Authorizer) MarshalJSON() ([]byte, error) { - type Properties Authorizer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Authorizer) UnmarshalJSON(b []byte) error { - type Properties Authorizer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Authorizer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-basepathmapping.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-basepathmapping.go deleted file mode 100644 index e12d44590b..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-basepathmapping.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BasePathMapping AWS CloudFormation Resource (AWS::ApiGateway::BasePathMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html -type BasePathMapping struct { - - // BasePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html#cfn-apigateway-basepathmapping-basepath - BasePath *types.Value `json:"BasePath,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html#cfn-apigateway-basepathmapping-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html#cfn-apigateway-basepathmapping-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // Stage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html#cfn-apigateway-basepathmapping-stage - Stage *types.Value `json:"Stage,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 *BasePathMapping) AWSCloudFormationType() string { - return "AWS::ApiGateway::BasePathMapping" -} - -// 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 (r BasePathMapping) MarshalJSON() ([]byte, error) { - type Properties BasePathMapping - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BasePathMapping) UnmarshalJSON(b []byte) error { - type Properties BasePathMapping - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BasePathMapping(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-clientcertificate.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-clientcertificate.go deleted file mode 100644 index 8328877892..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-clientcertificate.go +++ /dev/null @@ -1,114 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClientCertificate AWS CloudFormation Resource (AWS::ApiGateway::ClientCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html -type ClientCertificate struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html#cfn-apigateway-clientcertificate-description - Description *types.Value `json:"Description,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html#cfn-apigateway-clientcertificate-tags - Tags []cloudformation.Tag `json:"Tags,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 *ClientCertificate) AWSCloudFormationType() string { - return "AWS::ApiGateway::ClientCertificate" -} - -// 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 (r ClientCertificate) MarshalJSON() ([]byte, error) { - type Properties ClientCertificate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClientCertificate) UnmarshalJSON(b []byte) error { - type Properties ClientCertificate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClientCertificate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment.go deleted file mode 100644 index 5b290f3622..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment.go +++ /dev/null @@ -1,128 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment AWS CloudFormation Resource (AWS::ApiGateway::Deployment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html -type Deployment struct { - - // DeploymentCanarySettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-deploymentcanarysettings - DeploymentCanarySettings *Deployment_DeploymentCanarySettings `json:"DeploymentCanarySettings,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-description - Description *types.Value `json:"Description,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // StageDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-stagedescription - StageDescription *Deployment_StageDescription `json:"StageDescription,omitempty"` - - // StageName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html#cfn-apigateway-deployment-stagename - StageName *types.Value `json:"StageName,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 *Deployment) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment" -} - -// 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 (r Deployment) MarshalJSON() ([]byte, error) { - type Properties Deployment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Deployment) UnmarshalJSON(b []byte) error { - type Properties Deployment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Deployment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_accesslogsetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_accesslogsetting.go deleted file mode 100644 index 4a3b6c1cd9..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_accesslogsetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment_AccessLogSetting AWS CloudFormation Resource (AWS::ApiGateway::Deployment.AccessLogSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html -type Deployment_AccessLogSetting struct { - - // DestinationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-accesslogsetting.html#cfn-apigateway-deployment-accesslogsetting-format - Format *types.Value `json:"Format,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 *Deployment_AccessLogSetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment.AccessLogSetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_canarysetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_canarysetting.go deleted file mode 100644 index 100cd46032..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_canarysetting.go +++ /dev/null @@ -1,47 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment_CanarySetting AWS CloudFormation Resource (AWS::ApiGateway::Deployment.CanarySetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html -type Deployment_CanarySetting struct { - - // PercentTraffic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-percenttraffic - PercentTraffic *types.Value `json:"PercentTraffic,omitempty"` - - // StageVariableOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-stagevariableoverrides - StageVariableOverrides map[string]*types.Value `json:"StageVariableOverrides,omitempty"` - - // UseStageCache AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-canarysetting.html#cfn-apigateway-deployment-canarysetting-usestagecache - UseStageCache *types.Value `json:"UseStageCache,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 *Deployment_CanarySetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment.CanarySetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_deploymentcanarysettings.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_deploymentcanarysettings.go deleted file mode 100644 index b9bb4e3d80..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_deploymentcanarysettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment_DeploymentCanarySettings AWS CloudFormation Resource (AWS::ApiGateway::Deployment.DeploymentCanarySettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html -type Deployment_DeploymentCanarySettings struct { - - // PercentTraffic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-percenttraffic - PercentTraffic *types.Value `json:"PercentTraffic,omitempty"` - - // StageVariableOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-stagevariableoverrides - StageVariableOverrides map[string]*types.Value `json:"StageVariableOverrides,omitempty"` - - // UseStageCache AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-deploymentcanarysettings.html#cfn-apigateway-deployment-deploymentcanarysettings-usestagecache - UseStageCache *types.Value `json:"UseStageCache,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 *Deployment_DeploymentCanarySettings) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment.DeploymentCanarySettings" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_methodsetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_methodsetting.go deleted file mode 100644 index e349e527a1..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_methodsetting.go +++ /dev/null @@ -1,82 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment_MethodSetting AWS CloudFormation Resource (AWS::ApiGateway::Deployment.MethodSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html -type Deployment_MethodSetting struct { - - // CacheDataEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachedataencrypted - CacheDataEncrypted *types.Value `json:"CacheDataEncrypted,omitempty"` - - // CacheTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachettlinseconds - CacheTtlInSeconds *types.Value `json:"CacheTtlInSeconds,omitempty"` - - // CachingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachingenabled - CachingEnabled *types.Value `json:"CachingEnabled,omitempty"` - - // DataTraceEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-datatraceenabled - DataTraceEnabled *types.Value `json:"DataTraceEnabled,omitempty"` - - // HttpMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-httpmethod - HttpMethod *types.Value `json:"HttpMethod,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // MetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-metricsenabled - MetricsEnabled *types.Value `json:"MetricsEnabled,omitempty"` - - // ResourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-resourcepath - ResourcePath *types.Value `json:"ResourcePath,omitempty"` - - // ThrottlingBurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingburstlimit - ThrottlingBurstLimit *types.Value `json:"ThrottlingBurstLimit,omitempty"` - - // ThrottlingRateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingratelimit - ThrottlingRateLimit *types.Value `json:"ThrottlingRateLimit,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 *Deployment_MethodSetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment.MethodSetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_stagedescription.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_stagedescription.go deleted file mode 100644 index 11ef918f32..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-deployment_stagedescription.go +++ /dev/null @@ -1,128 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment_StageDescription AWS CloudFormation Resource (AWS::ApiGateway::Deployment.StageDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html -type Deployment_StageDescription struct { - - // AccessLogSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-accesslogsetting - AccessLogSetting *Deployment_AccessLogSetting `json:"AccessLogSetting,omitempty"` - - // CacheClusterEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cacheclusterenabled - CacheClusterEnabled *types.Value `json:"CacheClusterEnabled,omitempty"` - - // CacheClusterSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cacheclustersize - CacheClusterSize *types.Value `json:"CacheClusterSize,omitempty"` - - // CacheDataEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachedataencrypted - CacheDataEncrypted *types.Value `json:"CacheDataEncrypted,omitempty"` - - // CacheTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachettlinseconds - CacheTtlInSeconds *types.Value `json:"CacheTtlInSeconds,omitempty"` - - // CachingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-cachingenabled - CachingEnabled *types.Value `json:"CachingEnabled,omitempty"` - - // CanarySetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-canarysetting - CanarySetting *Deployment_CanarySetting `json:"CanarySetting,omitempty"` - - // ClientCertificateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-clientcertificateid - ClientCertificateId *types.Value `json:"ClientCertificateId,omitempty"` - - // DataTraceEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-datatraceenabled - DataTraceEnabled *types.Value `json:"DataTraceEnabled,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-description - Description *types.Value `json:"Description,omitempty"` - - // DocumentationVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-documentationversion - DocumentationVersion *types.Value `json:"DocumentationVersion,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // MethodSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-methodsettings - MethodSettings []Deployment_MethodSetting `json:"MethodSettings,omitempty"` - - // MetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-metricsenabled - MetricsEnabled *types.Value `json:"MetricsEnabled,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThrottlingBurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-throttlingburstlimit - ThrottlingBurstLimit *types.Value `json:"ThrottlingBurstLimit,omitempty"` - - // ThrottlingRateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-throttlingratelimit - ThrottlingRateLimit *types.Value `json:"ThrottlingRateLimit,omitempty"` - - // TracingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-tracingenabled - TracingEnabled *types.Value `json:"TracingEnabled,omitempty"` - - // Variables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html#cfn-apigateway-deployment-stagedescription-variables - Variables map[string]*types.Value `json:"Variables,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 *Deployment_StageDescription) AWSCloudFormationType() string { - return "AWS::ApiGateway::Deployment.StageDescription" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart.go deleted file mode 100644 index c462658ad8..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart.go +++ /dev/null @@ -1,118 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DocumentationPart AWS CloudFormation Resource (AWS::ApiGateway::DocumentationPart) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html -type DocumentationPart struct { - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html#cfn-apigateway-documentationpart-location - Location *DocumentationPart_Location `json:"Location,omitempty"` - - // Properties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html#cfn-apigateway-documentationpart-properties - Properties *types.Value `json:"Properties,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html#cfn-apigateway-documentationpart-restapiid - RestApiId *types.Value `json:"RestApiId,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 *DocumentationPart) AWSCloudFormationType() string { - return "AWS::ApiGateway::DocumentationPart" -} - -// 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 (r DocumentationPart) MarshalJSON() ([]byte, error) { - type Properties DocumentationPart - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DocumentationPart) UnmarshalJSON(b []byte) error { - type Properties DocumentationPart - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DocumentationPart(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart_location.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart_location.go deleted file mode 100644 index 061380ee61..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationpart_location.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DocumentationPart_Location AWS CloudFormation Resource (AWS::ApiGateway::DocumentationPart.Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html -type DocumentationPart_Location struct { - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html#cfn-apigateway-documentationpart-location-method - Method *types.Value `json:"Method,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html#cfn-apigateway-documentationpart-location-name - Name *types.Value `json:"Name,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html#cfn-apigateway-documentationpart-location-path - Path *types.Value `json:"Path,omitempty"` - - // StatusCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html#cfn-apigateway-documentationpart-location-statuscode - StatusCode *types.Value `json:"StatusCode,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-documentationpart-location.html#cfn-apigateway-documentationpart-location-type - Type *types.Value `json:"Type,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 *DocumentationPart_Location) AWSCloudFormationType() string { - return "AWS::ApiGateway::DocumentationPart.Location" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationversion.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationversion.go deleted file mode 100644 index 29f76da6e4..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-documentationversion.go +++ /dev/null @@ -1,118 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DocumentationVersion AWS CloudFormation Resource (AWS::ApiGateway::DocumentationVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html -type DocumentationVersion struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html#cfn-apigateway-documentationversion-description - Description *types.Value `json:"Description,omitempty"` - - // DocumentationVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html#cfn-apigateway-documentationversion-documentationversion - DocumentationVersion *types.Value `json:"DocumentationVersion,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html#cfn-apigateway-documentationversion-restapiid - RestApiId *types.Value `json:"RestApiId,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 *DocumentationVersion) AWSCloudFormationType() string { - return "AWS::ApiGateway::DocumentationVersion" -} - -// 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 (r DocumentationVersion) MarshalJSON() ([]byte, error) { - type Properties DocumentationVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DocumentationVersion) UnmarshalJSON(b []byte) error { - type Properties DocumentationVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DocumentationVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname.go deleted file mode 100644 index 651b40de5f..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname.go +++ /dev/null @@ -1,144 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainName AWS CloudFormation Resource (AWS::ApiGateway::DomainName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html -type DomainName struct { - - // CertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // EndpointConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-endpointconfiguration - EndpointConfiguration *DomainName_EndpointConfiguration `json:"EndpointConfiguration,omitempty"` - - // MutualTlsAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-mutualtlsauthentication - MutualTlsAuthentication *DomainName_MutualTlsAuthentication `json:"MutualTlsAuthentication,omitempty"` - - // OwnershipVerificationCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-ownershipverificationcertificatearn - OwnershipVerificationCertificateArn *types.Value `json:"OwnershipVerificationCertificateArn,omitempty"` - - // RegionalCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-regionalcertificatearn - RegionalCertificateArn *types.Value `json:"RegionalCertificateArn,omitempty"` - - // SecurityPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-securitypolicy - SecurityPolicy *types.Value `json:"SecurityPolicy,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-tags - Tags []cloudformation.Tag `json:"Tags,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 *DomainName) AWSCloudFormationType() string { - return "AWS::ApiGateway::DomainName" -} - -// 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 (r DomainName) MarshalJSON() ([]byte, error) { - type Properties DomainName - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DomainName) UnmarshalJSON(b []byte) error { - type Properties DomainName - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DomainName(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_mutualtlsauthentication.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_mutualtlsauthentication.go deleted file mode 100644 index 2f0eb7ef8a..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_mutualtlsauthentication.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainName_MutualTlsAuthentication AWS CloudFormation Resource (AWS::ApiGateway::DomainName.MutualTlsAuthentication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-mutualtlsauthentication.html -type DomainName_MutualTlsAuthentication struct { - - // TruststoreUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-mutualtlsauthentication.html#cfn-apigateway-domainname-mutualtlsauthentication-truststoreuri - TruststoreUri *types.Value `json:"TruststoreUri,omitempty"` - - // TruststoreVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-mutualtlsauthentication.html#cfn-apigateway-domainname-mutualtlsauthentication-truststoreversion - TruststoreVersion *types.Value `json:"TruststoreVersion,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 *DomainName_MutualTlsAuthentication) AWSCloudFormationType() string { - return "AWS::ApiGateway::DomainName.MutualTlsAuthentication" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-gatewayresponse.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-gatewayresponse.go deleted file mode 100644 index c11e6fa4bd..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-gatewayresponse.go +++ /dev/null @@ -1,128 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayResponse AWS CloudFormation Resource (AWS::ApiGateway::GatewayResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html -type GatewayResponse struct { - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responseparameters - ResponseParameters map[string]*types.Value `json:"ResponseParameters,omitempty"` - - // ResponseTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetemplates - ResponseTemplates map[string]*types.Value `json:"ResponseTemplates,omitempty"` - - // ResponseType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetype - ResponseType *types.Value `json:"ResponseType,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // StatusCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-statuscode - StatusCode *types.Value `json:"StatusCode,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 *GatewayResponse) AWSCloudFormationType() string { - return "AWS::ApiGateway::GatewayResponse" -} - -// 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 (r GatewayResponse) MarshalJSON() ([]byte, error) { - type Properties GatewayResponse - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GatewayResponse) UnmarshalJSON(b []byte) error { - type Properties GatewayResponse - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GatewayResponse(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-method.go deleted file mode 100644 index 5e3805d445..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method.go +++ /dev/null @@ -1,168 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Method AWS CloudFormation Resource (AWS::ApiGateway::Method) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html -type Method struct { - - // ApiKeyRequired AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-apikeyrequired - ApiKeyRequired *types.Value `json:"ApiKeyRequired,omitempty"` - - // AuthorizationScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationscopes - AuthorizationScopes *types.Value `json:"AuthorizationScopes,omitempty"` - - // AuthorizationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationtype - AuthorizationType *types.Value `json:"AuthorizationType,omitempty"` - - // AuthorizerId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizerid - AuthorizerId *types.Value `json:"AuthorizerId,omitempty"` - - // HttpMethod AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-httpmethod - HttpMethod *types.Value `json:"HttpMethod,omitempty"` - - // Integration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-integration - Integration *Method_Integration `json:"Integration,omitempty"` - - // MethodResponses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-methodresponses - MethodResponses []Method_MethodResponse `json:"MethodResponses,omitempty"` - - // OperationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-operationname - OperationName *types.Value `json:"OperationName,omitempty"` - - // RequestModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestmodels - RequestModels map[string]*types.Value `json:"RequestModels,omitempty"` - - // RequestParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestparameters - RequestParameters map[string]*types.Value `json:"RequestParameters,omitempty"` - - // RequestValidatorId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestvalidatorid - RequestValidatorId *types.Value `json:"RequestValidatorId,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-restapiid - RestApiId *types.Value `json:"RestApiId,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 *Method) AWSCloudFormationType() string { - return "AWS::ApiGateway::Method" -} - -// 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 (r Method) MarshalJSON() ([]byte, error) { - type Properties Method - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Method) UnmarshalJSON(b []byte) error { - type Properties Method - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Method(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integration.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integration.go deleted file mode 100644 index 67545ae298..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integration.go +++ /dev/null @@ -1,102 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Method_Integration AWS CloudFormation Resource (AWS::ApiGateway::Method.Integration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html -type Method_Integration struct { - - // CacheKeyParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-cachekeyparameters - CacheKeyParameters *types.Value `json:"CacheKeyParameters,omitempty"` - - // CacheNamespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-cachenamespace - CacheNamespace *types.Value `json:"CacheNamespace,omitempty"` - - // ConnectionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-connectionid - ConnectionId *types.Value `json:"ConnectionId,omitempty"` - - // ConnectionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-connectiontype - ConnectionType *types.Value `json:"ConnectionType,omitempty"` - - // ContentHandling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-contenthandling - ContentHandling *types.Value `json:"ContentHandling,omitempty"` - - // Credentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-credentials - Credentials *types.Value `json:"Credentials,omitempty"` - - // IntegrationHttpMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-integrationhttpmethod - IntegrationHttpMethod *types.Value `json:"IntegrationHttpMethod,omitempty"` - - // IntegrationResponses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-integrationresponses - IntegrationResponses []Method_IntegrationResponse `json:"IntegrationResponses,omitempty"` - - // PassthroughBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-passthroughbehavior - PassthroughBehavior *types.Value `json:"PassthroughBehavior,omitempty"` - - // RequestParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-requestparameters - RequestParameters map[string]*types.Value `json:"RequestParameters,omitempty"` - - // RequestTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-requesttemplates - RequestTemplates map[string]*types.Value `json:"RequestTemplates,omitempty"` - - // TimeoutInMillis AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-timeoutinmillis - TimeoutInMillis *types.Value `json:"TimeoutInMillis,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-type - Type *types.Value `json:"Type,omitempty"` - - // Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-uri - Uri *types.Value `json:"Uri,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 *Method_Integration) AWSCloudFormationType() string { - return "AWS::ApiGateway::Method.Integration" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integrationresponse.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integrationresponse.go deleted file mode 100644 index 3116dd4d7a..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_integrationresponse.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Method_IntegrationResponse AWS CloudFormation Resource (AWS::ApiGateway::Method.IntegrationResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html -type Method_IntegrationResponse struct { - - // ContentHandling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integrationresponse-contenthandling - ContentHandling *types.Value `json:"ContentHandling,omitempty"` - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responseparameters - ResponseParameters map[string]*types.Value `json:"ResponseParameters,omitempty"` - - // ResponseTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-responsetemplates - ResponseTemplates map[string]*types.Value `json:"ResponseTemplates,omitempty"` - - // SelectionPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-selectionpattern - SelectionPattern *types.Value `json:"SelectionPattern,omitempty"` - - // StatusCode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration-integrationresponse.html#cfn-apigateway-method-integration-integrationresponse-statuscode - StatusCode *types.Value `json:"StatusCode,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 *Method_IntegrationResponse) AWSCloudFormationType() string { - return "AWS::ApiGateway::Method.IntegrationResponse" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_methodresponse.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_methodresponse.go deleted file mode 100644 index c7b2092aed..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-method_methodresponse.go +++ /dev/null @@ -1,47 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Method_MethodResponse AWS CloudFormation Resource (AWS::ApiGateway::Method.MethodResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html -type Method_MethodResponse struct { - - // ResponseModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-responsemodels - ResponseModels map[string]*types.Value `json:"ResponseModels,omitempty"` - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-responseparameters - ResponseParameters map[string]*types.Value `json:"ResponseParameters,omitempty"` - - // StatusCode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-statuscode - StatusCode *types.Value `json:"StatusCode,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 *Method_MethodResponse) AWSCloudFormationType() string { - return "AWS::ApiGateway::Method.MethodResponse" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-model.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-model.go deleted file mode 100644 index 4732426262..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-model.go +++ /dev/null @@ -1,128 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model AWS CloudFormation Resource (AWS::ApiGateway::Model) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html -type Model struct { - - // ContentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-contenttype - ContentType *types.Value `json:"ContentType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-name - Name *types.Value `json:"Name,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // Schema AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-schema - Schema interface{} `json:"Schema,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 *Model) AWSCloudFormationType() string { - return "AWS::ApiGateway::Model" -} - -// 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 (r Model) MarshalJSON() ([]byte, error) { - type Properties Model - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Model) UnmarshalJSON(b []byte) error { - type Properties Model - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Model(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-requestvalidator.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-requestvalidator.go deleted file mode 100644 index 2b7c644f4f..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-requestvalidator.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RequestValidator AWS CloudFormation Resource (AWS::ApiGateway::RequestValidator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html -type RequestValidator struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-name - Name *types.Value `json:"Name,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // ValidateRequestBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-validaterequestbody - ValidateRequestBody *types.Value `json:"ValidateRequestBody,omitempty"` - - // ValidateRequestParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-validaterequestparameters - ValidateRequestParameters *types.Value `json:"ValidateRequestParameters,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 *RequestValidator) AWSCloudFormationType() string { - return "AWS::ApiGateway::RequestValidator" -} - -// 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 (r RequestValidator) MarshalJSON() ([]byte, error) { - type Properties RequestValidator - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RequestValidator) UnmarshalJSON(b []byte) error { - type Properties RequestValidator - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RequestValidator(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-resource.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-resource.go deleted file mode 100644 index 9599819653..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-resource.go +++ /dev/null @@ -1,118 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resource AWS CloudFormation Resource (AWS::ApiGateway::Resource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html -type Resource struct { - - // ParentId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-parentid - ParentId *types.Value `json:"ParentId,omitempty"` - - // PathPart AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-pathpart - PathPart *types.Value `json:"PathPart,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html#cfn-apigateway-resource-restapiid - RestApiId *types.Value `json:"RestApiId,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 *Resource) AWSCloudFormationType() string { - return "AWS::ApiGateway::Resource" -} - -// 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 (r Resource) MarshalJSON() ([]byte, error) { - type Properties Resource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Resource) UnmarshalJSON(b []byte) error { - type Properties Resource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Resource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi.go deleted file mode 100644 index d9fabad110..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi.go +++ /dev/null @@ -1,179 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RestApi AWS CloudFormation Resource (AWS::ApiGateway::RestApi) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html -type RestApi struct { - - // ApiKeySourceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-apikeysourcetype - ApiKeySourceType *types.Value `json:"ApiKeySourceType,omitempty"` - - // BinaryMediaTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-binarymediatypes - BinaryMediaTypes *types.Value `json:"BinaryMediaTypes,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-body - Body interface{} `json:"Body,omitempty"` - - // BodyS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-bodys3location - BodyS3Location *RestApi_S3Location `json:"BodyS3Location,omitempty"` - - // CloneFrom AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-clonefrom - CloneFrom *types.Value `json:"CloneFrom,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-description - Description *types.Value `json:"Description,omitempty"` - - // DisableExecuteApiEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-disableexecuteapiendpoint - DisableExecuteApiEndpoint *types.Value `json:"DisableExecuteApiEndpoint,omitempty"` - - // EndpointConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-endpointconfiguration - EndpointConfiguration *RestApi_EndpointConfiguration `json:"EndpointConfiguration,omitempty"` - - // FailOnWarnings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-failonwarnings - FailOnWarnings *types.Value `json:"FailOnWarnings,omitempty"` - - // MinimumCompressionSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-minimumcompressionsize - MinimumCompressionSize *types.Value `json:"MinimumCompressionSize,omitempty"` - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-mode - Mode *types.Value `json:"Mode,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-parameters - Parameters map[string]*types.Value `json:"Parameters,omitempty"` - - // Policy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-policy - Policy interface{} `json:"Policy,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-tags - Tags []cloudformation.Tag `json:"Tags,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 *RestApi) AWSCloudFormationType() string { - return "AWS::ApiGateway::RestApi" -} - -// 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 (r RestApi) MarshalJSON() ([]byte, error) { - type Properties RestApi - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RestApi) UnmarshalJSON(b []byte) error { - type Properties RestApi - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RestApi(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_endpointconfiguration.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_endpointconfiguration.go deleted file mode 100644 index 90a7902448..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_endpointconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RestApi_EndpointConfiguration AWS CloudFormation Resource (AWS::ApiGateway::RestApi.EndpointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-endpointconfiguration.html -type RestApi_EndpointConfiguration struct { - - // Types AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-endpointconfiguration.html#cfn-apigateway-restapi-endpointconfiguration-types - Types *types.Value `json:"Types,omitempty"` - - // VpcEndpointIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-endpointconfiguration.html#cfn-apigateway-restapi-endpointconfiguration-vpcendpointids - VpcEndpointIds *types.Value `json:"VpcEndpointIds,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 *RestApi_EndpointConfiguration) AWSCloudFormationType() string { - return "AWS::ApiGateway::RestApi.EndpointConfiguration" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage.go deleted file mode 100644 index 126aa78599..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage.go +++ /dev/null @@ -1,174 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage AWS CloudFormation Resource (AWS::ApiGateway::Stage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html -type Stage struct { - - // AccessLogSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-accesslogsetting - AccessLogSetting *Stage_AccessLogSetting `json:"AccessLogSetting,omitempty"` - - // CacheClusterEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-cacheclusterenabled - CacheClusterEnabled *types.Value `json:"CacheClusterEnabled,omitempty"` - - // CacheClusterSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-cacheclustersize - CacheClusterSize *types.Value `json:"CacheClusterSize,omitempty"` - - // CanarySetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-canarysetting - CanarySetting *Stage_CanarySetting `json:"CanarySetting,omitempty"` - - // ClientCertificateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-clientcertificateid - ClientCertificateId *types.Value `json:"ClientCertificateId,omitempty"` - - // DeploymentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-deploymentid - DeploymentId *types.Value `json:"DeploymentId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-description - Description *types.Value `json:"Description,omitempty"` - - // DocumentationVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-documentationversion - DocumentationVersion *types.Value `json:"DocumentationVersion,omitempty"` - - // MethodSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-methodsettings - MethodSettings []Stage_MethodSetting `json:"MethodSettings,omitempty"` - - // RestApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` - - // StageName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-stagename - StageName *types.Value `json:"StageName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TracingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-tracingenabled - TracingEnabled *types.Value `json:"TracingEnabled,omitempty"` - - // Variables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html#cfn-apigateway-stage-variables - Variables map[string]*types.Value `json:"Variables,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 *Stage) AWSCloudFormationType() string { - return "AWS::ApiGateway::Stage" -} - -// 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 (r Stage) MarshalJSON() ([]byte, error) { - type Properties Stage - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Stage) UnmarshalJSON(b []byte) error { - type Properties Stage - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Stage(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_accesslogsetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_accesslogsetting.go deleted file mode 100644 index bedca0ad71..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_accesslogsetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage_AccessLogSetting AWS CloudFormation Resource (AWS::ApiGateway::Stage.AccessLogSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html -type Stage_AccessLogSetting struct { - - // DestinationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html#cfn-apigateway-stage-accesslogsetting-format - Format *types.Value `json:"Format,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 *Stage_AccessLogSetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Stage.AccessLogSetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_canarysetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_canarysetting.go deleted file mode 100644 index 24c8aa4318..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_canarysetting.go +++ /dev/null @@ -1,52 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage_CanarySetting AWS CloudFormation Resource (AWS::ApiGateway::Stage.CanarySetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html -type Stage_CanarySetting struct { - - // DeploymentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-deploymentid - DeploymentId *types.Value `json:"DeploymentId,omitempty"` - - // PercentTraffic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-percenttraffic - PercentTraffic *types.Value `json:"PercentTraffic,omitempty"` - - // StageVariableOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-stagevariableoverrides - StageVariableOverrides map[string]*types.Value `json:"StageVariableOverrides,omitempty"` - - // UseStageCache AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html#cfn-apigateway-stage-canarysetting-usestagecache - UseStageCache *types.Value `json:"UseStageCache,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 *Stage_CanarySetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Stage.CanarySetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_methodsetting.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_methodsetting.go deleted file mode 100644 index 2159be6a4d..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-stage_methodsetting.go +++ /dev/null @@ -1,82 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage_MethodSetting AWS CloudFormation Resource (AWS::ApiGateway::Stage.MethodSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html -type Stage_MethodSetting struct { - - // CacheDataEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachedataencrypted - CacheDataEncrypted *types.Value `json:"CacheDataEncrypted,omitempty"` - - // CacheTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachettlinseconds - CacheTtlInSeconds *types.Value `json:"CacheTtlInSeconds,omitempty"` - - // CachingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-cachingenabled - CachingEnabled *types.Value `json:"CachingEnabled,omitempty"` - - // DataTraceEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-datatraceenabled - DataTraceEnabled *types.Value `json:"DataTraceEnabled,omitempty"` - - // HttpMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-httpmethod - HttpMethod *types.Value `json:"HttpMethod,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // MetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-metricsenabled - MetricsEnabled *types.Value `json:"MetricsEnabled,omitempty"` - - // ResourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-resourcepath - ResourcePath *types.Value `json:"ResourcePath,omitempty"` - - // ThrottlingBurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-throttlingburstlimit - ThrottlingBurstLimit *types.Value `json:"ThrottlingBurstLimit,omitempty"` - - // ThrottlingRateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html#cfn-apigateway-stage-methodsetting-throttlingratelimit - ThrottlingRateLimit *types.Value `json:"ThrottlingRateLimit,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 *Stage_MethodSetting) AWSCloudFormationType() string { - return "AWS::ApiGateway::Stage.MethodSetting" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan.go deleted file mode 100644 index cd4be1bf54..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan.go +++ /dev/null @@ -1,134 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UsagePlan AWS CloudFormation Resource (AWS::ApiGateway::UsagePlan) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html -type UsagePlan struct { - - // ApiStages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-apistages - ApiStages []UsagePlan_ApiStage `json:"ApiStages,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-description - Description *types.Value `json:"Description,omitempty"` - - // Quota AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-quota - Quota *UsagePlan_QuotaSettings `json:"Quota,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Throttle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-throttle - Throttle *UsagePlan_ThrottleSettings `json:"Throttle,omitempty"` - - // UsagePlanName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html#cfn-apigateway-usageplan-usageplanname - UsagePlanName *types.Value `json:"UsagePlanName,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 *UsagePlan) AWSCloudFormationType() string { - return "AWS::ApiGateway::UsagePlan" -} - -// 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 (r UsagePlan) MarshalJSON() ([]byte, error) { - type Properties UsagePlan - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UsagePlan) UnmarshalJSON(b []byte) error { - type Properties UsagePlan - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UsagePlan(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_apistage.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_apistage.go deleted file mode 100644 index c5625d8a20..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_apistage.go +++ /dev/null @@ -1,47 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UsagePlan_ApiStage AWS CloudFormation Resource (AWS::ApiGateway::UsagePlan.ApiStage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-apistage.html -type UsagePlan_ApiStage struct { - - // ApiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-apistage.html#cfn-apigateway-usageplan-apistage-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // Stage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-apistage.html#cfn-apigateway-usageplan-apistage-stage - Stage *types.Value `json:"Stage,omitempty"` - - // Throttle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-apistage.html#cfn-apigateway-usageplan-apistage-throttle - Throttle map[string]UsagePlan_ThrottleSettings `json:"Throttle,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 *UsagePlan_ApiStage) AWSCloudFormationType() string { - return "AWS::ApiGateway::UsagePlan.ApiStage" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_quotasettings.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_quotasettings.go deleted file mode 100644 index cae3b43c3c..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_quotasettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UsagePlan_QuotaSettings AWS CloudFormation Resource (AWS::ApiGateway::UsagePlan.QuotaSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html -type UsagePlan_QuotaSettings struct { - - // Limit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-limit - Limit *types.Value `json:"Limit,omitempty"` - - // Offset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-offset - Offset *types.Value `json:"Offset,omitempty"` - - // Period AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html#cfn-apigateway-usageplan-quotasettings-period - Period *types.Value `json:"Period,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 *UsagePlan_QuotaSettings) AWSCloudFormationType() string { - return "AWS::ApiGateway::UsagePlan.QuotaSettings" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_throttlesettings.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_throttlesettings.go deleted file mode 100644 index 11a78b3e79..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplan_throttlesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigateway - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UsagePlan_ThrottleSettings AWS CloudFormation Resource (AWS::ApiGateway::UsagePlan.ThrottleSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html -type UsagePlan_ThrottleSettings struct { - - // BurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html#cfn-apigateway-usageplan-throttlesettings-burstlimit - BurstLimit *types.Value `json:"BurstLimit,omitempty"` - - // RateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html#cfn-apigateway-usageplan-throttlesettings-ratelimit - RateLimit *types.Value `json:"RateLimit,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 *UsagePlan_ThrottleSettings) AWSCloudFormationType() string { - return "AWS::ApiGateway::UsagePlan.ThrottleSettings" -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplankey.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplankey.go deleted file mode 100644 index 3c5fc764ed..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-usageplankey.go +++ /dev/null @@ -1,118 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UsagePlanKey AWS CloudFormation Resource (AWS::ApiGateway::UsagePlanKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html -type UsagePlanKey struct { - - // KeyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html#cfn-apigateway-usageplankey-keyid - KeyId *types.Value `json:"KeyId,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html#cfn-apigateway-usageplankey-keytype - KeyType *types.Value `json:"KeyType,omitempty"` - - // UsagePlanId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html#cfn-apigateway-usageplankey-usageplanid - UsagePlanId *types.Value `json:"UsagePlanId,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 *UsagePlanKey) AWSCloudFormationType() string { - return "AWS::ApiGateway::UsagePlanKey" -} - -// 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 (r UsagePlanKey) MarshalJSON() ([]byte, error) { - type Properties UsagePlanKey - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UsagePlanKey) UnmarshalJSON(b []byte) error { - type Properties UsagePlanKey - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UsagePlanKey(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-vpclink.go b/pkg/goformation/cloudformation/apigateway/aws-apigateway-vpclink.go deleted file mode 100644 index 8c469967b3..0000000000 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-vpclink.go +++ /dev/null @@ -1,124 +0,0 @@ -package apigateway - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VpcLink AWS CloudFormation Resource (AWS::ApiGateway::VpcLink) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html -type VpcLink struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html#cfn-apigateway-vpclink-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html#cfn-apigateway-vpclink-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html#cfn-apigateway-vpclink-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html#cfn-apigateway-vpclink-targetarns - TargetArns *types.Value `json:"TargetArns,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 *VpcLink) AWSCloudFormationType() string { - return "AWS::ApiGateway::VpcLink" -} - -// 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 (r VpcLink) MarshalJSON() ([]byte, error) { - type Properties VpcLink - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VpcLink) UnmarshalJSON(b []byte) error { - type Properties VpcLink - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VpcLink(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api.go deleted file mode 100644 index 190a4e8362..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api.go +++ /dev/null @@ -1,188 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Api AWS CloudFormation Resource (AWS::ApiGatewayV2::Api) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html -type Api struct { - - // ApiKeySelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-apikeyselectionexpression - ApiKeySelectionExpression *types.Value `json:"ApiKeySelectionExpression,omitempty"` - - // BasePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-basepath - BasePath *types.Value `json:"BasePath,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-body - Body interface{} `json:"Body,omitempty"` - - // BodyS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-bodys3location - BodyS3Location *Api_BodyS3Location `json:"BodyS3Location,omitempty"` - - // CorsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-corsconfiguration - CorsConfiguration *Api_Cors `json:"CorsConfiguration,omitempty"` - - // CredentialsArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-credentialsarn - CredentialsArn *types.Value `json:"CredentialsArn,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-description - Description *types.Value `json:"Description,omitempty"` - - // DisableExecuteApiEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-disableexecuteapiendpoint - DisableExecuteApiEndpoint *types.Value `json:"DisableExecuteApiEndpoint,omitempty"` - - // DisableSchemaValidation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-disableschemavalidation - DisableSchemaValidation *types.Value `json:"DisableSchemaValidation,omitempty"` - - // FailOnWarnings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-failonwarnings - FailOnWarnings *types.Value `json:"FailOnWarnings,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-name - Name *types.Value `json:"Name,omitempty"` - - // ProtocolType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-protocoltype - ProtocolType *types.Value `json:"ProtocolType,omitempty"` - - // RouteKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routekey - RouteKey *types.Value `json:"RouteKey,omitempty"` - - // RouteSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-routeselectionexpression - RouteSelectionExpression *types.Value `json:"RouteSelectionExpression,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-tags - Tags interface{} `json:"Tags,omitempty"` - - // Target AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-target - Target *types.Value `json:"Target,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-version - Version *types.Value `json:"Version,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 *Api) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Api" -} - -// 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 (r Api) MarshalJSON() ([]byte, error) { - type Properties Api - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Api) UnmarshalJSON(b []byte) error { - type Properties Api - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Api(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_bodys3location.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_bodys3location.go deleted file mode 100644 index a2f5f211ef..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_bodys3location.go +++ /dev/null @@ -1,52 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Api_BodyS3Location AWS CloudFormation Resource (AWS::ApiGatewayV2::Api.BodyS3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html -type Api_BodyS3Location struct { - - // Bucket AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html#cfn-apigatewayv2-api-bodys3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Etag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html#cfn-apigatewayv2-api-bodys3location-etag - Etag *types.Value `json:"Etag,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html#cfn-apigatewayv2-api-bodys3location-key - Key *types.Value `json:"Key,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html#cfn-apigatewayv2-api-bodys3location-version - Version *types.Value `json:"Version,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 *Api_BodyS3Location) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Api.BodyS3Location" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides.go deleted file mode 100644 index a7933427a5..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apigatewaymanagedoverrides.html -type ApiGatewayManagedOverrides struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apigatewaymanagedoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // Integration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apigatewaymanagedoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-integration - Integration *ApiGatewayManagedOverrides_IntegrationOverrides `json:"Integration,omitempty"` - - // Route AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apigatewaymanagedoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-route - Route *ApiGatewayManagedOverrides_RouteOverrides `json:"Route,omitempty"` - - // Stage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apigatewaymanagedoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stage - Stage *ApiGatewayManagedOverrides_StageOverrides `json:"Stage,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 *ApiGatewayManagedOverrides) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides" -} - -// 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 (r ApiGatewayManagedOverrides) MarshalJSON() ([]byte, error) { - type Properties ApiGatewayManagedOverrides - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApiGatewayManagedOverrides) UnmarshalJSON(b []byte) error { - type Properties ApiGatewayManagedOverrides - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApiGatewayManagedOverrides(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_accesslogsettings.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_accesslogsettings.go deleted file mode 100644 index 613873da04..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_accesslogsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides_AccessLogSettings AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-accesslogsettings.html -type ApiGatewayManagedOverrides_AccessLogSettings struct { - - // DestinationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-accesslogsettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-accesslogsettings-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-accesslogsettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-accesslogsettings-format - Format *types.Value `json:"Format,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 *ApiGatewayManagedOverrides_AccessLogSettings) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_integrationoverrides.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_integrationoverrides.go deleted file mode 100644 index 556aa2a3b4..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_integrationoverrides.go +++ /dev/null @@ -1,52 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides_IntegrationOverrides AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides.html -type ApiGatewayManagedOverrides_IntegrationOverrides struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides-description - Description *types.Value `json:"Description,omitempty"` - - // IntegrationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides-integrationmethod - IntegrationMethod *types.Value `json:"IntegrationMethod,omitempty"` - - // PayloadFormatVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides-payloadformatversion - PayloadFormatVersion *types.Value `json:"PayloadFormatVersion,omitempty"` - - // TimeoutInMillis AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-integrationoverrides-timeoutinmillis - TimeoutInMillis *types.Value `json:"TimeoutInMillis,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 *ApiGatewayManagedOverrides_IntegrationOverrides) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routeoverrides.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routeoverrides.go deleted file mode 100644 index 21a2b5fd32..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routeoverrides.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides_RouteOverrides AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html -type ApiGatewayManagedOverrides_RouteOverrides struct { - - // AuthorizationScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routeoverrides-authorizationscopes - AuthorizationScopes *types.Value `json:"AuthorizationScopes,omitempty"` - - // AuthorizationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routeoverrides-authorizationtype - AuthorizationType *types.Value `json:"AuthorizationType,omitempty"` - - // AuthorizerId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routeoverrides-authorizerid - AuthorizerId *types.Value `json:"AuthorizerId,omitempty"` - - // OperationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routeoverrides-operationname - OperationName *types.Value `json:"OperationName,omitempty"` - - // Target AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routeoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routeoverrides-target - Target *types.Value `json:"Target,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 *ApiGatewayManagedOverrides_RouteOverrides) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routesettings.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routesettings.go deleted file mode 100644 index 2d5de01887..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_routesettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides_RouteSettings AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html -type ApiGatewayManagedOverrides_RouteSettings struct { - - // DataTraceEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routesettings-datatraceenabled - DataTraceEnabled *types.Value `json:"DataTraceEnabled,omitempty"` - - // DetailedMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routesettings-detailedmetricsenabled - DetailedMetricsEnabled *types.Value `json:"DetailedMetricsEnabled,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routesettings-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // ThrottlingBurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routesettings-throttlingburstlimit - ThrottlingBurstLimit *types.Value `json:"ThrottlingBurstLimit,omitempty"` - - // ThrottlingRateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-routesettings.html#cfn-apigatewayv2-apigatewaymanagedoverrides-routesettings-throttlingratelimit - ThrottlingRateLimit *types.Value `json:"ThrottlingRateLimit,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 *ApiGatewayManagedOverrides_RouteSettings) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_stageoverrides.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_stageoverrides.go deleted file mode 100644 index a44220ebce..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apigatewaymanagedoverrides_stageoverrides.go +++ /dev/null @@ -1,62 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiGatewayManagedOverrides_StageOverrides AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html -type ApiGatewayManagedOverrides_StageOverrides struct { - - // AccessLogSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-accesslogsettings - AccessLogSettings *ApiGatewayManagedOverrides_AccessLogSettings `json:"AccessLogSettings,omitempty"` - - // AutoDeploy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-autodeploy - AutoDeploy *types.Value `json:"AutoDeploy,omitempty"` - - // DefaultRouteSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-defaultroutesettings - DefaultRouteSettings *ApiGatewayManagedOverrides_RouteSettings `json:"DefaultRouteSettings,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-description - Description *types.Value `json:"Description,omitempty"` - - // RouteSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-routesettings - RouteSettings interface{} `json:"RouteSettings,omitempty"` - - // StageVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-apigatewaymanagedoverrides-stageoverrides.html#cfn-apigatewayv2-apigatewaymanagedoverrides-stageoverrides-stagevariables - StageVariables interface{} `json:"StageVariables,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 *ApiGatewayManagedOverrides_StageOverrides) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apimapping.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apimapping.go deleted file mode 100644 index 5423395c4e..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-apimapping.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiMapping AWS CloudFormation Resource (AWS::ApiGatewayV2::ApiMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html -type ApiMapping struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html#cfn-apigatewayv2-apimapping-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ApiMappingKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html#cfn-apigatewayv2-apimapping-apimappingkey - ApiMappingKey *types.Value `json:"ApiMappingKey,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html#cfn-apigatewayv2-apimapping-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // Stage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html#cfn-apigatewayv2-apimapping-stage - Stage *types.Value `json:"Stage,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 *ApiMapping) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::ApiMapping" -} - -// 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 (r ApiMapping) MarshalJSON() ([]byte, error) { - type Properties ApiMapping - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApiMapping) UnmarshalJSON(b []byte) error { - type Properties ApiMapping - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApiMapping(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer.go deleted file mode 100644 index 8661dc0228..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer.go +++ /dev/null @@ -1,158 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer AWS CloudFormation Resource (AWS::ApiGatewayV2::Authorizer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html -type Authorizer struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // AuthorizerCredentialsArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-authorizercredentialsarn - AuthorizerCredentialsArn *types.Value `json:"AuthorizerCredentialsArn,omitempty"` - - // AuthorizerPayloadFormatVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-authorizerpayloadformatversion - AuthorizerPayloadFormatVersion *types.Value `json:"AuthorizerPayloadFormatVersion,omitempty"` - - // AuthorizerResultTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-authorizerresultttlinseconds - AuthorizerResultTtlInSeconds *types.Value `json:"AuthorizerResultTtlInSeconds,omitempty"` - - // AuthorizerType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-authorizertype - AuthorizerType *types.Value `json:"AuthorizerType,omitempty"` - - // AuthorizerUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-authorizeruri - AuthorizerUri *types.Value `json:"AuthorizerUri,omitempty"` - - // EnableSimpleResponses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-enablesimpleresponses - EnableSimpleResponses *types.Value `json:"EnableSimpleResponses,omitempty"` - - // IdentitySource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-identitysource - IdentitySource *types.Value `json:"IdentitySource,omitempty"` - - // IdentityValidationExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-identityvalidationexpression - IdentityValidationExpression *types.Value `json:"IdentityValidationExpression,omitempty"` - - // JwtConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-jwtconfiguration - JwtConfiguration *Authorizer_JWTConfiguration `json:"JwtConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html#cfn-apigatewayv2-authorizer-name - Name *types.Value `json:"Name,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 *Authorizer) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Authorizer" -} - -// 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 (r Authorizer) MarshalJSON() ([]byte, error) { - type Properties Authorizer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Authorizer) UnmarshalJSON(b []byte) error { - type Properties Authorizer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Authorizer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer_jwtconfiguration.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer_jwtconfiguration.go deleted file mode 100644 index 57c98bd6a6..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-authorizer_jwtconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer_JWTConfiguration AWS CloudFormation Resource (AWS::ApiGatewayV2::Authorizer.JWTConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html -type Authorizer_JWTConfiguration struct { - - // Audience AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html#cfn-apigatewayv2-authorizer-jwtconfiguration-audience - Audience *types.Value `json:"Audience,omitempty"` - - // Issuer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html#cfn-apigatewayv2-authorizer-jwtconfiguration-issuer - Issuer *types.Value `json:"Issuer,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 *Authorizer_JWTConfiguration) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Authorizer.JWTConfiguration" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname.go deleted file mode 100644 index 0e4ea225b9..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainName AWS CloudFormation Resource (AWS::ApiGatewayV2::DomainName) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html -type DomainName struct { - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // DomainNameConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-domainnameconfigurations - DomainNameConfigurations []DomainName_DomainNameConfiguration `json:"DomainNameConfigurations,omitempty"` - - // MutualTlsAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-mutualtlsauthentication - MutualTlsAuthentication *DomainName_MutualTlsAuthentication `json:"MutualTlsAuthentication,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#cfn-apigatewayv2-domainname-tags - Tags interface{} `json:"Tags,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 *DomainName) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::DomainName" -} - -// 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 (r DomainName) MarshalJSON() ([]byte, error) { - type Properties DomainName - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DomainName) UnmarshalJSON(b []byte) error { - type Properties DomainName - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DomainName(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_domainnameconfiguration.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_domainnameconfiguration.go deleted file mode 100644 index e2ee6117e4..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_domainnameconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainName_DomainNameConfiguration AWS CloudFormation Resource (AWS::ApiGatewayV2::DomainName.DomainNameConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html -type DomainName_DomainNameConfiguration struct { - - // CertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html#cfn-apigatewayv2-domainname-domainnameconfiguration-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // CertificateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html#cfn-apigatewayv2-domainname-domainnameconfiguration-certificatename - CertificateName *types.Value `json:"CertificateName,omitempty"` - - // EndpointType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html#cfn-apigatewayv2-domainname-domainnameconfiguration-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // OwnershipVerificationCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html#cfn-apigatewayv2-domainname-domainnameconfiguration-ownershipverificationcertificatearn - OwnershipVerificationCertificateArn *types.Value `json:"OwnershipVerificationCertificateArn,omitempty"` - - // SecurityPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-domainnameconfiguration.html#cfn-apigatewayv2-domainname-domainnameconfiguration-securitypolicy - SecurityPolicy *types.Value `json:"SecurityPolicy,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 *DomainName_DomainNameConfiguration) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::DomainName.DomainNameConfiguration" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_mutualtlsauthentication.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_mutualtlsauthentication.go deleted file mode 100644 index 0c11191506..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-domainname_mutualtlsauthentication.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainName_MutualTlsAuthentication AWS CloudFormation Resource (AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-mutualtlsauthentication.html -type DomainName_MutualTlsAuthentication struct { - - // TruststoreUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-mutualtlsauthentication.html#cfn-apigatewayv2-domainname-mutualtlsauthentication-truststoreuri - TruststoreUri *types.Value `json:"TruststoreUri,omitempty"` - - // TruststoreVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-domainname-mutualtlsauthentication.html#cfn-apigatewayv2-domainname-mutualtlsauthentication-truststoreversion - TruststoreVersion *types.Value `json:"TruststoreVersion,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 *DomainName_MutualTlsAuthentication) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration.go deleted file mode 100644 index a52b45aa7b..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration.go +++ /dev/null @@ -1,193 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration AWS CloudFormation Resource (AWS::ApiGatewayV2::Integration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html -type Integration struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ConnectionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-connectionid - ConnectionId *types.Value `json:"ConnectionId,omitempty"` - - // ConnectionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-connectiontype - ConnectionType *types.Value `json:"ConnectionType,omitempty"` - - // ContentHandlingStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-contenthandlingstrategy - ContentHandlingStrategy *types.Value `json:"ContentHandlingStrategy,omitempty"` - - // CredentialsArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-credentialsarn - CredentialsArn *types.Value `json:"CredentialsArn,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-description - Description *types.Value `json:"Description,omitempty"` - - // IntegrationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-integrationmethod - IntegrationMethod *types.Value `json:"IntegrationMethod,omitempty"` - - // IntegrationSubtype AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-integrationsubtype - IntegrationSubtype *types.Value `json:"IntegrationSubtype,omitempty"` - - // IntegrationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-integrationtype - IntegrationType *types.Value `json:"IntegrationType,omitempty"` - - // IntegrationUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-integrationuri - IntegrationUri *types.Value `json:"IntegrationUri,omitempty"` - - // PassthroughBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-passthroughbehavior - PassthroughBehavior *types.Value `json:"PassthroughBehavior,omitempty"` - - // PayloadFormatVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-payloadformatversion - PayloadFormatVersion *types.Value `json:"PayloadFormatVersion,omitempty"` - - // RequestParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-requestparameters - RequestParameters interface{} `json:"RequestParameters,omitempty"` - - // RequestTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-requesttemplates - RequestTemplates interface{} `json:"RequestTemplates,omitempty"` - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-responseparameters - ResponseParameters interface{} `json:"ResponseParameters,omitempty"` - - // TemplateSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-templateselectionexpression - TemplateSelectionExpression *types.Value `json:"TemplateSelectionExpression,omitempty"` - - // TimeoutInMillis AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-timeoutinmillis - TimeoutInMillis *types.Value `json:"TimeoutInMillis,omitempty"` - - // TlsConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#cfn-apigatewayv2-integration-tlsconfig - TlsConfig *Integration_TlsConfig `json:"TlsConfig,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 *Integration) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Integration" -} - -// 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 (r Integration) MarshalJSON() ([]byte, error) { - type Properties Integration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Integration) UnmarshalJSON(b []byte) error { - type Properties Integration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Integration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameter.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameter.go deleted file mode 100644 index 2ba64d80f2..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ResponseParameter AWS CloudFormation Resource (AWS::ApiGatewayV2::Integration.ResponseParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html -type Integration_ResponseParameter struct { - - // Destination AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-destination - Destination *types.Value `json:"Destination,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-source - Source *types.Value `json:"Source,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 *Integration_ResponseParameter) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Integration.ResponseParameter" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameterlist.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameterlist.go deleted file mode 100644 index b8987dac1e..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_responseparameterlist.go +++ /dev/null @@ -1,35 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ResponseParameterList AWS CloudFormation Resource (AWS::ApiGatewayV2::Integration.ResponseParameterList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameterlist.html -type Integration_ResponseParameterList struct { - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameterlist.html#cfn-apigatewayv2-integration-responseparameterlist-responseparameters - ResponseParameters []Integration_ResponseParameter `json:"ResponseParameters,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 *Integration_ResponseParameterList) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Integration.ResponseParameterList" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_tlsconfig.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_tlsconfig.go deleted file mode 100644 index afbb46b96d..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integration_tlsconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_TlsConfig AWS CloudFormation Resource (AWS::ApiGatewayV2::Integration.TlsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html -type Integration_TlsConfig struct { - - // ServerNameToVerify AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html#cfn-apigatewayv2-integration-tlsconfig-servernametoverify - ServerNameToVerify *types.Value `json:"ServerNameToVerify,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 *Integration_TlsConfig) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Integration.TlsConfig" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integrationresponse.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integrationresponse.go deleted file mode 100644 index df20655b01..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-integrationresponse.go +++ /dev/null @@ -1,138 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IntegrationResponse AWS CloudFormation Resource (AWS::ApiGatewayV2::IntegrationResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html -type IntegrationResponse struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ContentHandlingStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-contenthandlingstrategy - ContentHandlingStrategy *types.Value `json:"ContentHandlingStrategy,omitempty"` - - // IntegrationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-integrationid - IntegrationId *types.Value `json:"IntegrationId,omitempty"` - - // IntegrationResponseKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-integrationresponsekey - IntegrationResponseKey *types.Value `json:"IntegrationResponseKey,omitempty"` - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-responseparameters - ResponseParameters interface{} `json:"ResponseParameters,omitempty"` - - // ResponseTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-responsetemplates - ResponseTemplates interface{} `json:"ResponseTemplates,omitempty"` - - // TemplateSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html#cfn-apigatewayv2-integrationresponse-templateselectionexpression - TemplateSelectionExpression *types.Value `json:"TemplateSelectionExpression,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 *IntegrationResponse) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::IntegrationResponse" -} - -// 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 (r IntegrationResponse) MarshalJSON() ([]byte, error) { - type Properties IntegrationResponse - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IntegrationResponse) UnmarshalJSON(b []byte) error { - type Properties IntegrationResponse - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IntegrationResponse(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-model.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-model.go deleted file mode 100644 index 70e41c58e7..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-model.go +++ /dev/null @@ -1,128 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model AWS CloudFormation Resource (AWS::ApiGatewayV2::Model) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html -type Model struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ContentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-contenttype - ContentType *types.Value `json:"ContentType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-name - Name *types.Value `json:"Name,omitempty"` - - // Schema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-schema - Schema interface{} `json:"Schema,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 *Model) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Model" -} - -// 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 (r Model) MarshalJSON() ([]byte, error) { - type Properties Model - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Model) UnmarshalJSON(b []byte) error { - type Properties Model - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Model(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route.go deleted file mode 100644 index ee6706f1a2..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route.go +++ /dev/null @@ -1,163 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route AWS CloudFormation Resource (AWS::ApiGatewayV2::Route) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html -type Route struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ApiKeyRequired AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-apikeyrequired - ApiKeyRequired *types.Value `json:"ApiKeyRequired,omitempty"` - - // AuthorizationScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationscopes - AuthorizationScopes *types.Value `json:"AuthorizationScopes,omitempty"` - - // AuthorizationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizationtype - AuthorizationType *types.Value `json:"AuthorizationType,omitempty"` - - // AuthorizerId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-authorizerid - AuthorizerId *types.Value `json:"AuthorizerId,omitempty"` - - // ModelSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-modelselectionexpression - ModelSelectionExpression *types.Value `json:"ModelSelectionExpression,omitempty"` - - // OperationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-operationname - OperationName *types.Value `json:"OperationName,omitempty"` - - // RequestModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestmodels - RequestModels interface{} `json:"RequestModels,omitempty"` - - // RequestParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-requestparameters - RequestParameters interface{} `json:"RequestParameters,omitempty"` - - // RouteKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routekey - RouteKey *types.Value `json:"RouteKey,omitempty"` - - // RouteResponseSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-routeresponseselectionexpression - RouteResponseSelectionExpression *types.Value `json:"RouteResponseSelectionExpression,omitempty"` - - // Target AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html#cfn-apigatewayv2-route-target - Target *types.Value `json:"Target,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 *Route) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Route" -} - -// 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 (r Route) MarshalJSON() ([]byte, error) { - type Properties Route - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Route) UnmarshalJSON(b []byte) error { - type Properties Route - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Route(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route_parameterconstraints.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route_parameterconstraints.go deleted file mode 100644 index a218f7247e..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-route_parameterconstraints.go +++ /dev/null @@ -1,37 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_ParameterConstraints AWS CloudFormation Resource (AWS::ApiGatewayV2::Route.ParameterConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-route-parameterconstraints.html -type Route_ParameterConstraints struct { - - // Required AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-route-parameterconstraints.html#cfn-apigatewayv2-route-parameterconstraints-required - Required *types.Value `json:"Required"` - - // 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 *Route_ParameterConstraints) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Route.ParameterConstraints" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse.go deleted file mode 100644 index ea293a9c99..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse.go +++ /dev/null @@ -1,133 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RouteResponse AWS CloudFormation Resource (AWS::ApiGatewayV2::RouteResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html -type RouteResponse struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ModelSelectionExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-modelselectionexpression - ModelSelectionExpression *types.Value `json:"ModelSelectionExpression,omitempty"` - - // ResponseModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-responsemodels - ResponseModels interface{} `json:"ResponseModels,omitempty"` - - // ResponseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-responseparameters - ResponseParameters interface{} `json:"ResponseParameters,omitempty"` - - // RouteId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-routeid - RouteId *types.Value `json:"RouteId,omitempty"` - - // RouteResponseKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-routeresponse.html#cfn-apigatewayv2-routeresponse-routeresponsekey - RouteResponseKey *types.Value `json:"RouteResponseKey,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 *RouteResponse) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::RouteResponse" -} - -// 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 (r RouteResponse) MarshalJSON() ([]byte, error) { - type Properties RouteResponse - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RouteResponse) UnmarshalJSON(b []byte) error { - type Properties RouteResponse - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RouteResponse(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse_parameterconstraints.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse_parameterconstraints.go deleted file mode 100644 index c3129dd349..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-routeresponse_parameterconstraints.go +++ /dev/null @@ -1,37 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RouteResponse_ParameterConstraints AWS CloudFormation Resource (AWS::ApiGatewayV2::RouteResponse.ParameterConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routeresponse-parameterconstraints.html -type RouteResponse_ParameterConstraints struct { - - // Required AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-routeresponse-parameterconstraints.html#cfn-apigatewayv2-routeresponse-parameterconstraints-required - Required *types.Value `json:"Required"` - - // 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 *RouteResponse_ParameterConstraints) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::RouteResponse.ParameterConstraints" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage.go deleted file mode 100644 index b67b8db399..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage.go +++ /dev/null @@ -1,163 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage AWS CloudFormation Resource (AWS::ApiGatewayV2::Stage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html -type Stage struct { - - // AccessLogSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-accesslogsettings - AccessLogSettings *Stage_AccessLogSettings `json:"AccessLogSettings,omitempty"` - - // AccessPolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-accesspolicyid - AccessPolicyId *types.Value `json:"AccessPolicyId,omitempty"` - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // AutoDeploy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-autodeploy - AutoDeploy *types.Value `json:"AutoDeploy,omitempty"` - - // ClientCertificateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-clientcertificateid - ClientCertificateId *types.Value `json:"ClientCertificateId,omitempty"` - - // DefaultRouteSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-defaultroutesettings - DefaultRouteSettings *Stage_RouteSettings `json:"DefaultRouteSettings,omitempty"` - - // DeploymentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-deploymentid - DeploymentId *types.Value `json:"DeploymentId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-description - Description *types.Value `json:"Description,omitempty"` - - // RouteSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-routesettings - RouteSettings interface{} `json:"RouteSettings,omitempty"` - - // StageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-stagename - StageName *types.Value `json:"StageName,omitempty"` - - // StageVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-stagevariables - StageVariables interface{} `json:"StageVariables,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html#cfn-apigatewayv2-stage-tags - Tags interface{} `json:"Tags,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 *Stage) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Stage" -} - -// 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 (r Stage) MarshalJSON() ([]byte, error) { - type Properties Stage - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Stage) UnmarshalJSON(b []byte) error { - type Properties Stage - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Stage(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_accesslogsettings.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_accesslogsettings.go deleted file mode 100644 index c28b29a69e..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_accesslogsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage_AccessLogSettings AWS CloudFormation Resource (AWS::ApiGatewayV2::Stage.AccessLogSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-accesslogsettings.html -type Stage_AccessLogSettings struct { - - // DestinationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-accesslogsettings.html#cfn-apigatewayv2-stage-accesslogsettings-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-accesslogsettings.html#cfn-apigatewayv2-stage-accesslogsettings-format - Format *types.Value `json:"Format,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 *Stage_AccessLogSettings) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Stage.AccessLogSettings" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_routesettings.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_routesettings.go deleted file mode 100644 index 20d31c4064..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-stage_routesettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package apigatewayv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stage_RouteSettings AWS CloudFormation Resource (AWS::ApiGatewayV2::Stage.RouteSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html -type Stage_RouteSettings struct { - - // DataTraceEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-datatraceenabled - DataTraceEnabled *types.Value `json:"DataTraceEnabled,omitempty"` - - // DetailedMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-detailedmetricsenabled - DetailedMetricsEnabled *types.Value `json:"DetailedMetricsEnabled,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // ThrottlingBurstLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingburstlimit - ThrottlingBurstLimit *types.Value `json:"ThrottlingBurstLimit,omitempty"` - - // ThrottlingRateLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-routesettings.html#cfn-apigatewayv2-stage-routesettings-throttlingratelimit - ThrottlingRateLimit *types.Value `json:"ThrottlingRateLimit,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 *Stage_RouteSettings) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Stage.RouteSettings" -} diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-vpclink.go b/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-vpclink.go deleted file mode 100644 index f0d9e8f6af..0000000000 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-vpclink.go +++ /dev/null @@ -1,123 +0,0 @@ -package apigatewayv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VpcLink AWS CloudFormation Resource (AWS::ApiGatewayV2::VpcLink) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html -type VpcLink struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-name - Name *types.Value `json:"Name,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-vpclink.html#cfn-apigatewayv2-vpclink-tags - Tags interface{} `json:"Tags,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 *VpcLink) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::VpcLink" -} - -// 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 (r VpcLink) MarshalJSON() ([]byte, error) { - type Properties VpcLink - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VpcLink) UnmarshalJSON(b []byte) error { - type Properties VpcLink - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VpcLink(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-application.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-application.go deleted file mode 100644 index 84fe6adf31..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-application.go +++ /dev/null @@ -1,118 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::AppConfig::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-application.html -type Application struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-application.html#cfn-appconfig-application-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-application.html#cfn-appconfig-application-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-application.html#cfn-appconfig-application-tags - Tags []Application_Tags `json:"Tags,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 *Application) AWSCloudFormationType() string { - return "AWS::AppConfig::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile.go deleted file mode 100644 index 51f14d2440..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile.go +++ /dev/null @@ -1,143 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationProfile AWS CloudFormation Resource (AWS::AppConfig::ConfigurationProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html -type ConfigurationProfile struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-description - Description *types.Value `json:"Description,omitempty"` - - // LocationUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-locationuri - LocationUri *types.Value `json:"LocationUri,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-name - Name *types.Value `json:"Name,omitempty"` - - // RetrievalRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-retrievalrolearn - RetrievalRoleArn *types.Value `json:"RetrievalRoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-tags - Tags []ConfigurationProfile_Tags `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-type - Type *types.Value `json:"Type,omitempty"` - - // Validators AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-configurationprofile.html#cfn-appconfig-configurationprofile-validators - Validators []ConfigurationProfile_Validators `json:"Validators,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 *ConfigurationProfile) AWSCloudFormationType() string { - return "AWS::AppConfig::ConfigurationProfile" -} - -// 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 (r ConfigurationProfile) MarshalJSON() ([]byte, error) { - type Properties ConfigurationProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationProfile) UnmarshalJSON(b []byte) error { - type Properties ConfigurationProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_validators.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_validators.go deleted file mode 100644 index 0d257f2889..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_validators.go +++ /dev/null @@ -1,42 +0,0 @@ -package appconfig - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationProfile_Validators AWS CloudFormation Resource (AWS::AppConfig::ConfigurationProfile.Validators) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-validators.html -type ConfigurationProfile_Validators struct { - - // Content AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-validators.html#cfn-appconfig-configurationprofile-validators-content - Content *types.Value `json:"Content,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-validators.html#cfn-appconfig-configurationprofile-validators-type - Type *types.Value `json:"Type,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 *ConfigurationProfile_Validators) AWSCloudFormationType() string { - return "AWS::AppConfig::ConfigurationProfile.Validators" -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment.go deleted file mode 100644 index e83c0ebdf6..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment.go +++ /dev/null @@ -1,138 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Deployment AWS CloudFormation Resource (AWS::AppConfig::Deployment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html -type Deployment struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // ConfigurationProfileId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-configurationprofileid - ConfigurationProfileId *types.Value `json:"ConfigurationProfileId,omitempty"` - - // ConfigurationVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-configurationversion - ConfigurationVersion *types.Value `json:"ConfigurationVersion,omitempty"` - - // DeploymentStrategyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-deploymentstrategyid - DeploymentStrategyId *types.Value `json:"DeploymentStrategyId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-description - Description *types.Value `json:"Description,omitempty"` - - // EnvironmentId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-environmentid - EnvironmentId *types.Value `json:"EnvironmentId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-tags - Tags []Deployment_Tags `json:"Tags,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 *Deployment) AWSCloudFormationType() string { - return "AWS::AppConfig::Deployment" -} - -// 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 (r Deployment) MarshalJSON() ([]byte, error) { - type Properties Deployment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Deployment) UnmarshalJSON(b []byte) error { - type Properties Deployment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Deployment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy.go deleted file mode 100644 index 3a24708d64..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy.go +++ /dev/null @@ -1,143 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentStrategy AWS CloudFormation Resource (AWS::AppConfig::DeploymentStrategy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html -type DeploymentStrategy struct { - - // DeploymentDurationInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-deploymentdurationinminutes - DeploymentDurationInMinutes *types.Value `json:"DeploymentDurationInMinutes"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-description - Description *types.Value `json:"Description,omitempty"` - - // FinalBakeTimeInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-finalbaketimeinminutes - FinalBakeTimeInMinutes *types.Value `json:"FinalBakeTimeInMinutes,omitempty"` - - // GrowthFactor AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-growthfactor - GrowthFactor *types.Value `json:"GrowthFactor"` - - // GrowthType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-growthtype - GrowthType *types.Value `json:"GrowthType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-name - Name *types.Value `json:"Name,omitempty"` - - // ReplicateTo AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-replicateto - ReplicateTo *types.Value `json:"ReplicateTo,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#cfn-appconfig-deploymentstrategy-tags - Tags []DeploymentStrategy_Tags `json:"Tags,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 *DeploymentStrategy) AWSCloudFormationType() string { - return "AWS::AppConfig::DeploymentStrategy" -} - -// 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 (r DeploymentStrategy) MarshalJSON() ([]byte, error) { - type Properties DeploymentStrategy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeploymentStrategy) UnmarshalJSON(b []byte) error { - type Properties DeploymentStrategy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeploymentStrategy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy_tags.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy_tags.go deleted file mode 100644 index f2270c5440..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deploymentstrategy_tags.go +++ /dev/null @@ -1,42 +0,0 @@ -package appconfig - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentStrategy_Tags AWS CloudFormation Resource (AWS::AppConfig::DeploymentStrategy.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deploymentstrategy-tags.html -type DeploymentStrategy_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deploymentstrategy-tags.html#cfn-appconfig-deploymentstrategy-tags-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deploymentstrategy-tags.html#cfn-appconfig-deploymentstrategy-tags-value - Value *types.Value `json:"Value,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 *DeploymentStrategy_Tags) AWSCloudFormationType() string { - return "AWS::AppConfig::DeploymentStrategy.Tags" -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment.go deleted file mode 100644 index de23098094..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment.go +++ /dev/null @@ -1,128 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment AWS CloudFormation Resource (AWS::AppConfig::Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html -type Environment struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-description - Description *types.Value `json:"Description,omitempty"` - - // Monitors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-monitors - Monitors []Environment_Monitors `json:"Monitors,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#cfn-appconfig-environment-tags - Tags []Environment_Tags `json:"Tags,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 *Environment) AWSCloudFormationType() string { - return "AWS::AppConfig::Environment" -} - -// 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 (r Environment) MarshalJSON() ([]byte, error) { - type Properties Environment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Environment) UnmarshalJSON(b []byte) error { - type Properties Environment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Environment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_monitors.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_monitors.go deleted file mode 100644 index 12d2a577af..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_monitors.go +++ /dev/null @@ -1,42 +0,0 @@ -package appconfig - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_Monitors AWS CloudFormation Resource (AWS::AppConfig::Environment.Monitors) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-monitors.html -type Environment_Monitors struct { - - // AlarmArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-monitors.html#cfn-appconfig-environment-monitors-alarmarn - AlarmArn *types.Value `json:"AlarmArn,omitempty"` - - // AlarmRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-monitors.html#cfn-appconfig-environment-monitors-alarmrolearn - AlarmRoleArn *types.Value `json:"AlarmRoleArn,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 *Environment_Monitors) AWSCloudFormationType() string { - return "AWS::AppConfig::Environment.Monitors" -} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-hostedconfigurationversion.go b/pkg/goformation/cloudformation/appconfig/aws-appconfig-hostedconfigurationversion.go deleted file mode 100644 index eb9be97b0b..0000000000 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-hostedconfigurationversion.go +++ /dev/null @@ -1,133 +0,0 @@ -package appconfig - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// HostedConfigurationVersion AWS CloudFormation Resource (AWS::AppConfig::HostedConfigurationVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html -type HostedConfigurationVersion struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // ConfigurationProfileId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-configurationprofileid - ConfigurationProfileId *types.Value `json:"ConfigurationProfileId,omitempty"` - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-content - Content *types.Value `json:"Content,omitempty"` - - // ContentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-contenttype - ContentType *types.Value `json:"ContentType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-description - Description *types.Value `json:"Description,omitempty"` - - // LatestVersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#cfn-appconfig-hostedconfigurationversion-latestversionnumber - LatestVersionNumber *types.Value `json:"LatestVersionNumber,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 *HostedConfigurationVersion) AWSCloudFormationType() string { - return "AWS::AppConfig::HostedConfigurationVersion" -} - -// 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 (r HostedConfigurationVersion) MarshalJSON() ([]byte, error) { - type Properties HostedConfigurationVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *HostedConfigurationVersion) UnmarshalJSON(b []byte) error { - type Properties HostedConfigurationVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = HostedConfigurationVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile.go deleted file mode 100644 index 9ee566152e..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile.go +++ /dev/null @@ -1,128 +0,0 @@ -package appflow - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html -type ConnectorProfile struct { - - // ConnectionMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectionmode - ConnectionMode *types.Value `json:"ConnectionMode,omitempty"` - - // ConnectorProfileConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectorprofileconfig - ConnectorProfileConfig *ConnectorProfile_ConnectorProfileConfig `json:"ConnectorProfileConfig,omitempty"` - - // ConnectorProfileName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectorprofilename - ConnectorProfileName *types.Value `json:"ConnectorProfileName,omitempty"` - - // ConnectorType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-connectortype - ConnectorType *types.Value `json:"ConnectorType,omitempty"` - - // KMSArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-connectorprofile.html#cfn-appflow-connectorprofile-kmsarn - KMSArn *types.Value `json:"KMSArn,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 *ConnectorProfile) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile" -} - -// 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 (r ConnectorProfile) MarshalJSON() ([]byte, error) { - type Properties ConnectorProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConnectorProfile) UnmarshalJSON(b []byte) error { - type Properties ConnectorProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConnectorProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_amplitudeconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_amplitudeconnectorprofilecredentials.go deleted file mode 100644 index a02a8a96ef..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_amplitudeconnectorprofilecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_AmplitudeConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-amplitudeconnectorprofilecredentials.html -type ConnectorProfile_AmplitudeConnectorProfileCredentials struct { - - // ApiKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-amplitudeconnectorprofilecredentials.html#cfn-appflow-connectorprofile-amplitudeconnectorprofilecredentials-apikey - ApiKey *types.Value `json:"ApiKey,omitempty"` - - // SecretKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-amplitudeconnectorprofilecredentials.html#cfn-appflow-connectorprofile-amplitudeconnectorprofilecredentials-secretkey - SecretKey *types.Value `json:"SecretKey,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 *ConnectorProfile_AmplitudeConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectoroauthrequest.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectoroauthrequest.go deleted file mode 100644 index 96f87c8c36..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectoroauthrequest.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ConnectorOAuthRequest AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectoroauthrequest.html -type ConnectorProfile_ConnectorOAuthRequest struct { - - // AuthCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectoroauthrequest.html#cfn-appflow-connectorprofile-connectoroauthrequest-authcode - AuthCode *types.Value `json:"AuthCode,omitempty"` - - // RedirectUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectoroauthrequest.html#cfn-appflow-connectorprofile-connectoroauthrequest-redirecturi - RedirectUri *types.Value `json:"RedirectUri,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 *ConnectorProfile_ConnectorOAuthRequest) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileconfig.go deleted file mode 100644 index 1be26e4945..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ConnectorProfileConfig AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileconfig.html -type ConnectorProfile_ConnectorProfileConfig struct { - - // ConnectorProfileCredentials AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileconfig.html#cfn-appflow-connectorprofile-connectorprofileconfig-connectorprofilecredentials - ConnectorProfileCredentials *ConnectorProfile_ConnectorProfileCredentials `json:"ConnectorProfileCredentials,omitempty"` - - // ConnectorProfileProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileconfig.html#cfn-appflow-connectorprofile-connectorprofileconfig-connectorprofileproperties - ConnectorProfileProperties *ConnectorProfile_ConnectorProfileProperties `json:"ConnectorProfileProperties,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 *ConnectorProfile_ConnectorProfileConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofilecredentials.go deleted file mode 100644 index 69cb5ea647..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofilecredentials.go +++ /dev/null @@ -1,110 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html -type ConnectorProfile_ConnectorProfileCredentials struct { - - // Amplitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-amplitude - Amplitude *ConnectorProfile_AmplitudeConnectorProfileCredentials `json:"Amplitude,omitempty"` - - // Datadog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-datadog - Datadog *ConnectorProfile_DatadogConnectorProfileCredentials `json:"Datadog,omitempty"` - - // Dynatrace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-dynatrace - Dynatrace *ConnectorProfile_DynatraceConnectorProfileCredentials `json:"Dynatrace,omitempty"` - - // GoogleAnalytics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-googleanalytics - GoogleAnalytics *ConnectorProfile_GoogleAnalyticsConnectorProfileCredentials `json:"GoogleAnalytics,omitempty"` - - // InforNexus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-infornexus - InforNexus *ConnectorProfile_InforNexusConnectorProfileCredentials `json:"InforNexus,omitempty"` - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-marketo - Marketo *ConnectorProfile_MarketoConnectorProfileCredentials `json:"Marketo,omitempty"` - - // Redshift AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-redshift - Redshift *ConnectorProfile_RedshiftConnectorProfileCredentials `json:"Redshift,omitempty"` - - // SAPOData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-sapodata - SAPOData *ConnectorProfile_SAPODataConnectorProfileCredentials `json:"SAPOData,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-salesforce - Salesforce *ConnectorProfile_SalesforceConnectorProfileCredentials `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-servicenow - ServiceNow *ConnectorProfile_ServiceNowConnectorProfileCredentials `json:"ServiceNow,omitempty"` - - // Singular AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-singular - Singular *ConnectorProfile_SingularConnectorProfileCredentials `json:"Singular,omitempty"` - - // Slack AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-slack - Slack *ConnectorProfile_SlackConnectorProfileCredentials `json:"Slack,omitempty"` - - // Snowflake AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-snowflake - Snowflake *ConnectorProfile_SnowflakeConnectorProfileCredentials `json:"Snowflake,omitempty"` - - // Trendmicro AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-trendmicro - Trendmicro *ConnectorProfile_TrendmicroConnectorProfileCredentials `json:"Trendmicro,omitempty"` - - // Veeva AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-veeva - Veeva *ConnectorProfile_VeevaConnectorProfileCredentials `json:"Veeva,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofilecredentials.html#cfn-appflow-connectorprofile-connectorprofilecredentials-zendesk - Zendesk *ConnectorProfile_ZendeskConnectorProfileCredentials `json:"Zendesk,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 *ConnectorProfile_ConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileproperties.go deleted file mode 100644 index dbf74d8f21..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_connectorprofileproperties.go +++ /dev/null @@ -1,90 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html -type ConnectorProfile_ConnectorProfileProperties struct { - - // Datadog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-datadog - Datadog *ConnectorProfile_DatadogConnectorProfileProperties `json:"Datadog,omitempty"` - - // Dynatrace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-dynatrace - Dynatrace *ConnectorProfile_DynatraceConnectorProfileProperties `json:"Dynatrace,omitempty"` - - // InforNexus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-infornexus - InforNexus *ConnectorProfile_InforNexusConnectorProfileProperties `json:"InforNexus,omitempty"` - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-marketo - Marketo *ConnectorProfile_MarketoConnectorProfileProperties `json:"Marketo,omitempty"` - - // Redshift AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-redshift - Redshift *ConnectorProfile_RedshiftConnectorProfileProperties `json:"Redshift,omitempty"` - - // SAPOData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-sapodata - SAPOData *ConnectorProfile_SAPODataConnectorProfileProperties `json:"SAPOData,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-salesforce - Salesforce *ConnectorProfile_SalesforceConnectorProfileProperties `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-servicenow - ServiceNow *ConnectorProfile_ServiceNowConnectorProfileProperties `json:"ServiceNow,omitempty"` - - // Slack AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-slack - Slack *ConnectorProfile_SlackConnectorProfileProperties `json:"Slack,omitempty"` - - // Snowflake AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-snowflake - Snowflake *ConnectorProfile_SnowflakeConnectorProfileProperties `json:"Snowflake,omitempty"` - - // Veeva AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-veeva - Veeva *ConnectorProfile_VeevaConnectorProfileProperties `json:"Veeva,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-connectorprofileproperties.html#cfn-appflow-connectorprofile-connectorprofileproperties-zendesk - Zendesk *ConnectorProfile_ZendeskConnectorProfileProperties `json:"Zendesk,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 *ConnectorProfile_ConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofilecredentials.go deleted file mode 100644 index dc4020b637..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofilecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_DatadogConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-datadogconnectorprofilecredentials.html -type ConnectorProfile_DatadogConnectorProfileCredentials struct { - - // ApiKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-datadogconnectorprofilecredentials.html#cfn-appflow-connectorprofile-datadogconnectorprofilecredentials-apikey - ApiKey *types.Value `json:"ApiKey,omitempty"` - - // ApplicationKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-datadogconnectorprofilecredentials.html#cfn-appflow-connectorprofile-datadogconnectorprofilecredentials-applicationkey - ApplicationKey *types.Value `json:"ApplicationKey,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 *ConnectorProfile_DatadogConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofileproperties.go deleted file mode 100644 index 929bb91fe1..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_datadogconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_DatadogConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-datadogconnectorprofileproperties.html -type ConnectorProfile_DatadogConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-datadogconnectorprofileproperties.html#cfn-appflow-connectorprofile-datadogconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_DatadogConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofilecredentials.go deleted file mode 100644 index 20b6e80d18..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofilecredentials.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_DynatraceConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-dynatraceconnectorprofilecredentials.html -type ConnectorProfile_DynatraceConnectorProfileCredentials struct { - - // ApiToken AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-dynatraceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-dynatraceconnectorprofilecredentials-apitoken - ApiToken *types.Value `json:"ApiToken,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 *ConnectorProfile_DynatraceConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofileproperties.go deleted file mode 100644 index 02200597c4..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_dynatraceconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_DynatraceConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-dynatraceconnectorprofileproperties.html -type ConnectorProfile_DynatraceConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-dynatraceconnectorprofileproperties.html#cfn-appflow-connectorprofile-dynatraceconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_DynatraceConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_googleanalyticsconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_googleanalyticsconnectorprofilecredentials.go deleted file mode 100644 index 23806d6b19..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_googleanalyticsconnectorprofilecredentials.go +++ /dev/null @@ -1,57 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_GoogleAnalyticsConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html -type ConnectorProfile_GoogleAnalyticsConnectorProfileCredentials struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html#cfn-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html#cfn-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html#cfn-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // ConnectorOAuthRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html#cfn-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials-connectoroauthrequest - ConnectorOAuthRequest *ConnectorProfile_ConnectorOAuthRequest `json:"ConnectorOAuthRequest,omitempty"` - - // RefreshToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials.html#cfn-appflow-connectorprofile-googleanalyticsconnectorprofilecredentials-refreshtoken - RefreshToken *types.Value `json:"RefreshToken,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 *ConnectorProfile_GoogleAnalyticsConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofilecredentials.go deleted file mode 100644 index 3bf2c43861..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofilecredentials.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_InforNexusConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofilecredentials.html -type ConnectorProfile_InforNexusConnectorProfileCredentials struct { - - // AccessKeyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofilecredentials.html#cfn-appflow-connectorprofile-infornexusconnectorprofilecredentials-accesskeyid - AccessKeyId *types.Value `json:"AccessKeyId,omitempty"` - - // Datakey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofilecredentials.html#cfn-appflow-connectorprofile-infornexusconnectorprofilecredentials-datakey - Datakey *types.Value `json:"Datakey,omitempty"` - - // SecretAccessKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofilecredentials.html#cfn-appflow-connectorprofile-infornexusconnectorprofilecredentials-secretaccesskey - SecretAccessKey *types.Value `json:"SecretAccessKey,omitempty"` - - // UserId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofilecredentials.html#cfn-appflow-connectorprofile-infornexusconnectorprofilecredentials-userid - UserId *types.Value `json:"UserId,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 *ConnectorProfile_InforNexusConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofileproperties.go deleted file mode 100644 index e8456c8c2a..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_infornexusconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_InforNexusConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofileproperties.html -type ConnectorProfile_InforNexusConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-infornexusconnectorprofileproperties.html#cfn-appflow-connectorprofile-infornexusconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_InforNexusConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofilecredentials.go deleted file mode 100644 index 9cd7f0f332..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofilecredentials.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_MarketoConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofilecredentials.html -type ConnectorProfile_MarketoConnectorProfileCredentials struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofilecredentials.html#cfn-appflow-connectorprofile-marketoconnectorprofilecredentials-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofilecredentials.html#cfn-appflow-connectorprofile-marketoconnectorprofilecredentials-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofilecredentials.html#cfn-appflow-connectorprofile-marketoconnectorprofilecredentials-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // ConnectorOAuthRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofilecredentials.html#cfn-appflow-connectorprofile-marketoconnectorprofilecredentials-connectoroauthrequest - ConnectorOAuthRequest *ConnectorProfile_ConnectorOAuthRequest `json:"ConnectorOAuthRequest,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 *ConnectorProfile_MarketoConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofileproperties.go deleted file mode 100644 index 40faaa350f..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_marketoconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_MarketoConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofileproperties.html -type ConnectorProfile_MarketoConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-marketoconnectorprofileproperties.html#cfn-appflow-connectorprofile-marketoconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_MarketoConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_oauthproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_oauthproperties.go deleted file mode 100644 index 001390d327..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_oauthproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_OAuthProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.OAuthProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauthproperties.html -type ConnectorProfile_OAuthProperties struct { - - // AuthCodeUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauthproperties.html#cfn-appflow-connectorprofile-oauthproperties-authcodeurl - AuthCodeUrl *types.Value `json:"AuthCodeUrl,omitempty"` - - // OAuthScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauthproperties.html#cfn-appflow-connectorprofile-oauthproperties-oauthscopes - OAuthScopes *types.Value `json:"OAuthScopes,omitempty"` - - // TokenUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-oauthproperties.html#cfn-appflow-connectorprofile-oauthproperties-tokenurl - TokenUrl *types.Value `json:"TokenUrl,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 *ConnectorProfile_OAuthProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.OAuthProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofilecredentials.go deleted file mode 100644 index 3944bfa7a3..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofilecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_RedshiftConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofilecredentials.html -type ConnectorProfile_RedshiftConnectorProfileCredentials struct { - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofilecredentials.html#cfn-appflow-connectorprofile-redshiftconnectorprofilecredentials-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofilecredentials.html#cfn-appflow-connectorprofile-redshiftconnectorprofilecredentials-username - Username *types.Value `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 *ConnectorProfile_RedshiftConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofileproperties.go deleted file mode 100644 index 724010db6c..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_redshiftconnectorprofileproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_RedshiftConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofileproperties.html -type ConnectorProfile_RedshiftConnectorProfileProperties struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofileproperties.html#cfn-appflow-connectorprofile-redshiftconnectorprofileproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofileproperties.html#cfn-appflow-connectorprofile-redshiftconnectorprofileproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // DatabaseUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofileproperties.html#cfn-appflow-connectorprofile-redshiftconnectorprofileproperties-databaseurl - DatabaseUrl *types.Value `json:"DatabaseUrl,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-redshiftconnectorprofileproperties.html#cfn-appflow-connectorprofile-redshiftconnectorprofileproperties-rolearn - RoleArn *types.Value `json:"RoleArn,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 *ConnectorProfile_RedshiftConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofilecredentials.go deleted file mode 100644 index 479b6a9b1b..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofilecredentials.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SalesforceConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html -type ConnectorProfile_SalesforceConnectorProfileCredentials struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-salesforceconnectorprofilecredentials-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // ClientCredentialsArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-salesforceconnectorprofilecredentials-clientcredentialsarn - ClientCredentialsArn *types.Value `json:"ClientCredentialsArn,omitempty"` - - // ConnectorOAuthRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-salesforceconnectorprofilecredentials-connectoroauthrequest - ConnectorOAuthRequest *ConnectorProfile_ConnectorOAuthRequest `json:"ConnectorOAuthRequest,omitempty"` - - // RefreshToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofilecredentials.html#cfn-appflow-connectorprofile-salesforceconnectorprofilecredentials-refreshtoken - RefreshToken *types.Value `json:"RefreshToken,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 *ConnectorProfile_SalesforceConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofileproperties.go deleted file mode 100644 index 94686999e5..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_salesforceconnectorprofileproperties.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SalesforceConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofileproperties.html -type ConnectorProfile_SalesforceConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofileproperties.html#cfn-appflow-connectorprofile-salesforceconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,omitempty"` - - // isSandboxEnvironment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-salesforceconnectorprofileproperties.html#cfn-appflow-connectorprofile-salesforceconnectorprofileproperties-issandboxenvironment - isSandboxEnvironment *types.Value `json:"isSandboxEnvironment,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 *ConnectorProfile_SalesforceConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofilecredentials.go deleted file mode 100644 index c0cb002c9c..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofilecredentials.go +++ /dev/null @@ -1,40 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SAPODataConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofilecredentials.html -type ConnectorProfile_SAPODataConnectorProfileCredentials struct { - - // BasicAuthCredentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofilecredentials.html#cfn-appflow-connectorprofile-sapodataconnectorprofilecredentials-basicauthcredentials - BasicAuthCredentials interface{} `json:"BasicAuthCredentials,omitempty"` - - // OAuthCredentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofilecredentials.html#cfn-appflow-connectorprofile-sapodataconnectorprofilecredentials-oauthcredentials - OAuthCredentials interface{} `json:"OAuthCredentials,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 *ConnectorProfile_SAPODataConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofileproperties.go deleted file mode 100644 index 74bc075aad..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_sapodataconnectorprofileproperties.go +++ /dev/null @@ -1,67 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SAPODataConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html -type ConnectorProfile_SAPODataConnectorProfileProperties struct { - - // ApplicationHostUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-applicationhosturl - ApplicationHostUrl *types.Value `json:"ApplicationHostUrl,omitempty"` - - // ApplicationServicePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-applicationservicepath - ApplicationServicePath *types.Value `json:"ApplicationServicePath,omitempty"` - - // ClientNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-clientnumber - ClientNumber *types.Value `json:"ClientNumber,omitempty"` - - // LogonLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-logonlanguage - LogonLanguage *types.Value `json:"LogonLanguage,omitempty"` - - // OAuthProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-oauthproperties - OAuthProperties *ConnectorProfile_OAuthProperties `json:"OAuthProperties,omitempty"` - - // PortNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-portnumber - PortNumber *types.Value `json:"PortNumber,omitempty"` - - // PrivateLinkServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-sapodataconnectorprofileproperties.html#cfn-appflow-connectorprofile-sapodataconnectorprofileproperties-privatelinkservicename - PrivateLinkServiceName *types.Value `json:"PrivateLinkServiceName,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 *ConnectorProfile_SAPODataConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofilecredentials.go deleted file mode 100644 index f5f9ae14b8..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofilecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ServiceNowConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofilecredentials.html -type ConnectorProfile_ServiceNowConnectorProfileCredentials struct { - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofilecredentials.html#cfn-appflow-connectorprofile-servicenowconnectorprofilecredentials-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofilecredentials.html#cfn-appflow-connectorprofile-servicenowconnectorprofilecredentials-username - Username *types.Value `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 *ConnectorProfile_ServiceNowConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofileproperties.go deleted file mode 100644 index f8cd1be1b3..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_servicenowconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ServiceNowConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofileproperties.html -type ConnectorProfile_ServiceNowConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-servicenowconnectorprofileproperties.html#cfn-appflow-connectorprofile-servicenowconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_ServiceNowConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_singularconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_singularconnectorprofilecredentials.go deleted file mode 100644 index 52051c9240..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_singularconnectorprofilecredentials.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SingularConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-singularconnectorprofilecredentials.html -type ConnectorProfile_SingularConnectorProfileCredentials struct { - - // ApiKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-singularconnectorprofilecredentials.html#cfn-appflow-connectorprofile-singularconnectorprofilecredentials-apikey - ApiKey *types.Value `json:"ApiKey,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 *ConnectorProfile_SingularConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofilecredentials.go deleted file mode 100644 index 6da2aba169..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofilecredentials.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SlackConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofilecredentials.html -type ConnectorProfile_SlackConnectorProfileCredentials struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofilecredentials.html#cfn-appflow-connectorprofile-slackconnectorprofilecredentials-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofilecredentials.html#cfn-appflow-connectorprofile-slackconnectorprofilecredentials-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofilecredentials.html#cfn-appflow-connectorprofile-slackconnectorprofilecredentials-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // ConnectorOAuthRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofilecredentials.html#cfn-appflow-connectorprofile-slackconnectorprofilecredentials-connectoroauthrequest - ConnectorOAuthRequest *ConnectorProfile_ConnectorOAuthRequest `json:"ConnectorOAuthRequest,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 *ConnectorProfile_SlackConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofileproperties.go deleted file mode 100644 index c159ba5443..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_slackconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SlackConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofileproperties.html -type ConnectorProfile_SlackConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-slackconnectorprofileproperties.html#cfn-appflow-connectorprofile-slackconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_SlackConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofilecredentials.go deleted file mode 100644 index 34b1072403..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofilecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SnowflakeConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofilecredentials.html -type ConnectorProfile_SnowflakeConnectorProfileCredentials struct { - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofilecredentials.html#cfn-appflow-connectorprofile-snowflakeconnectorprofilecredentials-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofilecredentials.html#cfn-appflow-connectorprofile-snowflakeconnectorprofilecredentials-username - Username *types.Value `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 *ConnectorProfile_SnowflakeConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofileproperties.go deleted file mode 100644 index 4f154482a1..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_snowflakeconnectorprofileproperties.go +++ /dev/null @@ -1,67 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_SnowflakeConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html -type ConnectorProfile_SnowflakeConnectorProfileProperties struct { - - // AccountName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-accountname - AccountName *types.Value `json:"AccountName,omitempty"` - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // PrivateLinkServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-privatelinkservicename - PrivateLinkServiceName *types.Value `json:"PrivateLinkServiceName,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-region - Region *types.Value `json:"Region,omitempty"` - - // Stage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-stage - Stage *types.Value `json:"Stage,omitempty"` - - // Warehouse AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-snowflakeconnectorprofileproperties.html#cfn-appflow-connectorprofile-snowflakeconnectorprofileproperties-warehouse - Warehouse *types.Value `json:"Warehouse,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 *ConnectorProfile_SnowflakeConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_trendmicroconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_trendmicroconnectorprofilecredentials.go deleted file mode 100644 index 91b0877eb0..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_trendmicroconnectorprofilecredentials.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_TrendmicroConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-trendmicroconnectorprofilecredentials.html -type ConnectorProfile_TrendmicroConnectorProfileCredentials struct { - - // ApiSecretKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-trendmicroconnectorprofilecredentials.html#cfn-appflow-connectorprofile-trendmicroconnectorprofilecredentials-apisecretkey - ApiSecretKey *types.Value `json:"ApiSecretKey,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 *ConnectorProfile_TrendmicroConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofileproperties.go deleted file mode 100644 index cbba29041a..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_VeevaConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-veevaconnectorprofileproperties.html -type ConnectorProfile_VeevaConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-veevaconnectorprofileproperties.html#cfn-appflow-connectorprofile-veevaconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_VeevaConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofilecredentials.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofilecredentials.go deleted file mode 100644 index dff9573115..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofilecredentials.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ZendeskConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html -type ConnectorProfile_ZendeskConnectorProfileCredentials struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // ConnectorOAuthRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofilecredentials.html#cfn-appflow-connectorprofile-zendeskconnectorprofilecredentials-connectoroauthrequest - ConnectorOAuthRequest *ConnectorProfile_ConnectorOAuthRequest `json:"ConnectorOAuthRequest,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 *ConnectorProfile_ZendeskConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofileproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofileproperties.go deleted file mode 100644 index 78e55fc287..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_zendeskconnectorprofileproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorProfile_ZendeskConnectorProfileProperties AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofileproperties.html -type ConnectorProfile_ZendeskConnectorProfileProperties struct { - - // InstanceUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-zendeskconnectorprofileproperties.html#cfn-appflow-connectorprofile-zendeskconnectorprofileproperties-instanceurl - InstanceUrl *types.Value `json:"InstanceUrl,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 *ConnectorProfile_ZendeskConnectorProfileProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow.go deleted file mode 100644 index 3e0a276a31..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow.go +++ /dev/null @@ -1,144 +0,0 @@ -package appflow - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow AWS CloudFormation Resource (AWS::AppFlow::Flow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html -type Flow struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-description - Description *types.Value `json:"Description,omitempty"` - - // DestinationFlowConfigList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-destinationflowconfiglist - DestinationFlowConfigList []Flow_DestinationFlowConfig `json:"DestinationFlowConfigList,omitempty"` - - // FlowName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-flowname - FlowName *types.Value `json:"FlowName,omitempty"` - - // KMSArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-kmsarn - KMSArn *types.Value `json:"KMSArn,omitempty"` - - // SourceFlowConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-sourceflowconfig - SourceFlowConfig *Flow_SourceFlowConfig `json:"SourceFlowConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Tasks AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tasks - Tasks []Flow_Task `json:"Tasks,omitempty"` - - // TriggerConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-triggerconfig - TriggerConfig *Flow_TriggerConfig `json:"TriggerConfig,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 *Flow) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow" -} - -// 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 (r Flow) MarshalJSON() ([]byte, error) { - type Properties Flow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Flow) UnmarshalJSON(b []byte) error { - type Properties Flow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Flow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_amplitudesourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_amplitudesourceproperties.go deleted file mode 100644 index 8b175ed1e7..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_amplitudesourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_AmplitudeSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.AmplitudeSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-amplitudesourceproperties.html -type Flow_AmplitudeSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-amplitudesourceproperties.html#cfn-appflow-flow-amplitudesourceproperties-object - Object *types.Value `json:"Object,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 *Flow_AmplitudeSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.AmplitudeSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_connectoroperator.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_connectoroperator.go deleted file mode 100644 index 448347dac7..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_connectoroperator.go +++ /dev/null @@ -1,107 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ConnectorOperator AWS CloudFormation Resource (AWS::AppFlow::Flow.ConnectorOperator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html -type Flow_ConnectorOperator struct { - - // Amplitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-amplitude - Amplitude *types.Value `json:"Amplitude,omitempty"` - - // Datadog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-datadog - Datadog *types.Value `json:"Datadog,omitempty"` - - // Dynatrace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-dynatrace - Dynatrace *types.Value `json:"Dynatrace,omitempty"` - - // GoogleAnalytics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-googleanalytics - GoogleAnalytics *types.Value `json:"GoogleAnalytics,omitempty"` - - // InforNexus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-infornexus - InforNexus *types.Value `json:"InforNexus,omitempty"` - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-marketo - Marketo *types.Value `json:"Marketo,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-s3 - S3 *types.Value `json:"S3,omitempty"` - - // SAPOData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-sapodata - SAPOData *types.Value `json:"SAPOData,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-salesforce - Salesforce *types.Value `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-servicenow - ServiceNow *types.Value `json:"ServiceNow,omitempty"` - - // Singular AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-singular - Singular *types.Value `json:"Singular,omitempty"` - - // Slack AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-slack - Slack *types.Value `json:"Slack,omitempty"` - - // Trendmicro AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-trendmicro - Trendmicro *types.Value `json:"Trendmicro,omitempty"` - - // Veeva AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-veeva - Veeva *types.Value `json:"Veeva,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-connectoroperator.html#cfn-appflow-flow-connectoroperator-zendesk - Zendesk *types.Value `json:"Zendesk,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 *Flow_ConnectorOperator) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ConnectorOperator" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationconnectorproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationconnectorproperties.go deleted file mode 100644 index c51dd1f625..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationconnectorproperties.go +++ /dev/null @@ -1,70 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_DestinationConnectorProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.DestinationConnectorProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html -type Flow_DestinationConnectorProperties struct { - - // EventBridge AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-eventbridge - EventBridge *Flow_EventBridgeDestinationProperties `json:"EventBridge,omitempty"` - - // LookoutMetrics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-lookoutmetrics - LookoutMetrics *Flow_LookoutMetricsDestinationProperties `json:"LookoutMetrics,omitempty"` - - // Redshift AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-redshift - Redshift *Flow_RedshiftDestinationProperties `json:"Redshift,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-s3 - S3 *Flow_S3DestinationProperties `json:"S3,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-salesforce - Salesforce *Flow_SalesforceDestinationProperties `json:"Salesforce,omitempty"` - - // Snowflake AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-snowflake - Snowflake *Flow_SnowflakeDestinationProperties `json:"Snowflake,omitempty"` - - // Upsolver AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-upsolver - Upsolver *Flow_UpsolverDestinationProperties `json:"Upsolver,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationconnectorproperties.html#cfn-appflow-flow-destinationconnectorproperties-zendesk - Zendesk *Flow_ZendeskDestinationProperties `json:"Zendesk,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 *Flow_DestinationConnectorProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.DestinationConnectorProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationflowconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationflowconfig.go deleted file mode 100644 index 3ed40f9fb1..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_destinationflowconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_DestinationFlowConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.DestinationFlowConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationflowconfig.html -type Flow_DestinationFlowConfig struct { - - // ConnectorProfileName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationflowconfig.html#cfn-appflow-flow-destinationflowconfig-connectorprofilename - ConnectorProfileName *types.Value `json:"ConnectorProfileName,omitempty"` - - // ConnectorType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationflowconfig.html#cfn-appflow-flow-destinationflowconfig-connectortype - ConnectorType *types.Value `json:"ConnectorType,omitempty"` - - // DestinationConnectorProperties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-destinationflowconfig.html#cfn-appflow-flow-destinationflowconfig-destinationconnectorproperties - DestinationConnectorProperties *Flow_DestinationConnectorProperties `json:"DestinationConnectorProperties,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 *Flow_DestinationFlowConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.DestinationFlowConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_dynatracesourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_dynatracesourceproperties.go deleted file mode 100644 index 87b844abcc..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_dynatracesourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_DynatraceSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.DynatraceSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-dynatracesourceproperties.html -type Flow_DynatraceSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-dynatracesourceproperties.html#cfn-appflow-flow-dynatracesourceproperties-object - Object *types.Value `json:"Object,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 *Flow_DynatraceSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.DynatraceSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_errorhandlingconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_errorhandlingconfig.go deleted file mode 100644 index 29e9a61c16..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_errorhandlingconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ErrorHandlingConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.ErrorHandlingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-errorhandlingconfig.html -type Flow_ErrorHandlingConfig struct { - - // BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-errorhandlingconfig.html#cfn-appflow-flow-errorhandlingconfig-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-errorhandlingconfig.html#cfn-appflow-flow-errorhandlingconfig-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // FailOnFirstError AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-errorhandlingconfig.html#cfn-appflow-flow-errorhandlingconfig-failonfirsterror - FailOnFirstError *types.Value `json:"FailOnFirstError,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 *Flow_ErrorHandlingConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ErrorHandlingConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_eventbridgedestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_eventbridgedestinationproperties.go deleted file mode 100644 index cacd15ee7a..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_eventbridgedestinationproperties.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_EventBridgeDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.EventBridgeDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-eventbridgedestinationproperties.html -type Flow_EventBridgeDestinationProperties struct { - - // ErrorHandlingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-eventbridgedestinationproperties.html#cfn-appflow-flow-eventbridgedestinationproperties-errorhandlingconfig - ErrorHandlingConfig *Flow_ErrorHandlingConfig `json:"ErrorHandlingConfig,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-eventbridgedestinationproperties.html#cfn-appflow-flow-eventbridgedestinationproperties-object - Object *types.Value `json:"Object,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 *Flow_EventBridgeDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.EventBridgeDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_infornexussourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_infornexussourceproperties.go deleted file mode 100644 index 80624c9055..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_infornexussourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_InforNexusSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.InforNexusSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-infornexussourceproperties.html -type Flow_InforNexusSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-infornexussourceproperties.html#cfn-appflow-flow-infornexussourceproperties-object - Object *types.Value `json:"Object,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 *Flow_InforNexusSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.InforNexusSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_lookoutmetricsdestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_lookoutmetricsdestinationproperties.go deleted file mode 100644 index 0414937fdd..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_lookoutmetricsdestinationproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_LookoutMetricsDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.LookoutMetricsDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-lookoutmetricsdestinationproperties.html -type Flow_LookoutMetricsDestinationProperties struct { - - // Object AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-lookoutmetricsdestinationproperties.html#cfn-appflow-flow-lookoutmetricsdestinationproperties-object - Object *types.Value `json:"Object,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 *Flow_LookoutMetricsDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.LookoutMetricsDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_marketosourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_marketosourceproperties.go deleted file mode 100644 index 10b3b74a9b..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_marketosourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_MarketoSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.MarketoSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-marketosourceproperties.html -type Flow_MarketoSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-marketosourceproperties.html#cfn-appflow-flow-marketosourceproperties-object - Object *types.Value `json:"Object,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 *Flow_MarketoSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.MarketoSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_prefixconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_prefixconfig.go deleted file mode 100644 index 26848a2058..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_prefixconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_PrefixConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.PrefixConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-prefixconfig.html -type Flow_PrefixConfig struct { - - // PrefixFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-prefixconfig.html#cfn-appflow-flow-prefixconfig-prefixformat - PrefixFormat *types.Value `json:"PrefixFormat,omitempty"` - - // PrefixType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-prefixconfig.html#cfn-appflow-flow-prefixconfig-prefixtype - PrefixType *types.Value `json:"PrefixType,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 *Flow_PrefixConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.PrefixConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_redshiftdestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_redshiftdestinationproperties.go deleted file mode 100644 index 3b52692e31..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_redshiftdestinationproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_RedshiftDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.RedshiftDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-redshiftdestinationproperties.html -type Flow_RedshiftDestinationProperties struct { - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-redshiftdestinationproperties.html#cfn-appflow-flow-redshiftdestinationproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // ErrorHandlingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-redshiftdestinationproperties.html#cfn-appflow-flow-redshiftdestinationproperties-errorhandlingconfig - ErrorHandlingConfig *Flow_ErrorHandlingConfig `json:"ErrorHandlingConfig,omitempty"` - - // IntermediateBucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-redshiftdestinationproperties.html#cfn-appflow-flow-redshiftdestinationproperties-intermediatebucketname - IntermediateBucketName *types.Value `json:"IntermediateBucketName,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-redshiftdestinationproperties.html#cfn-appflow-flow-redshiftdestinationproperties-object - Object *types.Value `json:"Object,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 *Flow_RedshiftDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.RedshiftDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3destinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3destinationproperties.go deleted file mode 100644 index dcccd5dd50..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3destinationproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_S3DestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.S3DestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3destinationproperties.html -type Flow_S3DestinationProperties struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3destinationproperties.html#cfn-appflow-flow-s3destinationproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3destinationproperties.html#cfn-appflow-flow-s3destinationproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // S3OutputFormatConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3destinationproperties.html#cfn-appflow-flow-s3destinationproperties-s3outputformatconfig - S3OutputFormatConfig *Flow_S3OutputFormatConfig `json:"S3OutputFormatConfig,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 *Flow_S3DestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.S3DestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3inputformatconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3inputformatconfig.go deleted file mode 100644 index f9368eb31c..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3inputformatconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_S3InputFormatConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.S3InputFormatConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3inputformatconfig.html -type Flow_S3InputFormatConfig struct { - - // S3InputFileType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3inputformatconfig.html#cfn-appflow-flow-s3inputformatconfig-s3inputfiletype - S3InputFileType *types.Value `json:"S3InputFileType,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 *Flow_S3InputFormatConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.S3InputFormatConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3outputformatconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3outputformatconfig.go deleted file mode 100644 index 705d3fe1cf..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3outputformatconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_S3OutputFormatConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.S3OutputFormatConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3outputformatconfig.html -type Flow_S3OutputFormatConfig struct { - - // AggregationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3outputformatconfig.html#cfn-appflow-flow-s3outputformatconfig-aggregationconfig - AggregationConfig *Flow_AggregationConfig `json:"AggregationConfig,omitempty"` - - // FileType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3outputformatconfig.html#cfn-appflow-flow-s3outputformatconfig-filetype - FileType *types.Value `json:"FileType,omitempty"` - - // PrefixConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3outputformatconfig.html#cfn-appflow-flow-s3outputformatconfig-prefixconfig - PrefixConfig *Flow_PrefixConfig `json:"PrefixConfig,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 *Flow_S3OutputFormatConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.S3OutputFormatConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3sourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3sourceproperties.go deleted file mode 100644 index 29524ca9ae..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_s3sourceproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_S3SourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.S3SourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3sourceproperties.html -type Flow_S3SourceProperties struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3sourceproperties.html#cfn-appflow-flow-s3sourceproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3sourceproperties.html#cfn-appflow-flow-s3sourceproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // S3InputFormatConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-s3sourceproperties.html#cfn-appflow-flow-s3sourceproperties-s3inputformatconfig - S3InputFormatConfig *Flow_S3InputFormatConfig `json:"S3InputFormatConfig,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 *Flow_S3SourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.S3SourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcedestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcedestinationproperties.go deleted file mode 100644 index a7a34b8435..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcedestinationproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SalesforceDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SalesforceDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcedestinationproperties.html -type Flow_SalesforceDestinationProperties struct { - - // ErrorHandlingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcedestinationproperties.html#cfn-appflow-flow-salesforcedestinationproperties-errorhandlingconfig - ErrorHandlingConfig *Flow_ErrorHandlingConfig `json:"ErrorHandlingConfig,omitempty"` - - // IdFieldNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcedestinationproperties.html#cfn-appflow-flow-salesforcedestinationproperties-idfieldnames - IdFieldNames *types.Value `json:"IdFieldNames,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcedestinationproperties.html#cfn-appflow-flow-salesforcedestinationproperties-object - Object *types.Value `json:"Object,omitempty"` - - // WriteOperationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcedestinationproperties.html#cfn-appflow-flow-salesforcedestinationproperties-writeoperationtype - WriteOperationType *types.Value `json:"WriteOperationType,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 *Flow_SalesforceDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SalesforceDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcesourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcesourceproperties.go deleted file mode 100644 index 6175fcc74f..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_salesforcesourceproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SalesforceSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SalesforceSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcesourceproperties.html -type Flow_SalesforceSourceProperties struct { - - // EnableDynamicFieldUpdate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcesourceproperties.html#cfn-appflow-flow-salesforcesourceproperties-enabledynamicfieldupdate - EnableDynamicFieldUpdate *types.Value `json:"EnableDynamicFieldUpdate,omitempty"` - - // IncludeDeletedRecords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcesourceproperties.html#cfn-appflow-flow-salesforcesourceproperties-includedeletedrecords - IncludeDeletedRecords *types.Value `json:"IncludeDeletedRecords,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-salesforcesourceproperties.html#cfn-appflow-flow-salesforcesourceproperties-object - Object *types.Value `json:"Object,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 *Flow_SalesforceSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SalesforceSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sapodatasourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sapodatasourceproperties.go deleted file mode 100644 index f3a62b2fa8..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sapodatasourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SAPODataSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SAPODataSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html -type Flow_SAPODataSourceProperties struct { - - // ObjectPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sapodatasourceproperties.html#cfn-appflow-flow-sapodatasourceproperties-objectpath - ObjectPath *types.Value `json:"ObjectPath,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 *Flow_SAPODataSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SAPODataSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go deleted file mode 100644 index a5bb28c518..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go +++ /dev/null @@ -1,62 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ScheduledTriggerProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.ScheduledTriggerProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html -type Flow_ScheduledTriggerProperties struct { - - // DataPullMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-datapullmode - DataPullMode *types.Value `json:"DataPullMode,omitempty"` - - // ScheduleEndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-scheduleendtime - ScheduleEndTime *types.Value `json:"ScheduleEndTime,omitempty"` - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,omitempty"` - - // ScheduleOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-scheduleoffset - ScheduleOffset *types.Value `json:"ScheduleOffset,omitempty"` - - // ScheduleStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-schedulestarttime - ScheduleStartTime *types.Value `json:"ScheduleStartTime,omitempty"` - - // TimeZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-timezone - TimeZone *types.Value `json:"TimeZone,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 *Flow_ScheduledTriggerProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ScheduledTriggerProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_servicenowsourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_servicenowsourceproperties.go deleted file mode 100644 index d43107bc1d..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_servicenowsourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ServiceNowSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.ServiceNowSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-servicenowsourceproperties.html -type Flow_ServiceNowSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-servicenowsourceproperties.html#cfn-appflow-flow-servicenowsourceproperties-object - Object *types.Value `json:"Object,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 *Flow_ServiceNowSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ServiceNowSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_singularsourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_singularsourceproperties.go deleted file mode 100644 index 8851e9c618..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_singularsourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SingularSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SingularSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-singularsourceproperties.html -type Flow_SingularSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-singularsourceproperties.html#cfn-appflow-flow-singularsourceproperties-object - Object *types.Value `json:"Object,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 *Flow_SingularSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SingularSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_snowflakedestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_snowflakedestinationproperties.go deleted file mode 100644 index 78b852c3ee..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_snowflakedestinationproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SnowflakeDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SnowflakeDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-snowflakedestinationproperties.html -type Flow_SnowflakeDestinationProperties struct { - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-snowflakedestinationproperties.html#cfn-appflow-flow-snowflakedestinationproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // ErrorHandlingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-snowflakedestinationproperties.html#cfn-appflow-flow-snowflakedestinationproperties-errorhandlingconfig - ErrorHandlingConfig *Flow_ErrorHandlingConfig `json:"ErrorHandlingConfig,omitempty"` - - // IntermediateBucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-snowflakedestinationproperties.html#cfn-appflow-flow-snowflakedestinationproperties-intermediatebucketname - IntermediateBucketName *types.Value `json:"IntermediateBucketName,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-snowflakedestinationproperties.html#cfn-appflow-flow-snowflakedestinationproperties-object - Object *types.Value `json:"Object,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 *Flow_SnowflakeDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SnowflakeDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceconnectorproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceconnectorproperties.go deleted file mode 100644 index 7b1434be03..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceconnectorproperties.go +++ /dev/null @@ -1,105 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SourceConnectorProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SourceConnectorProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html -type Flow_SourceConnectorProperties struct { - - // Amplitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-amplitude - Amplitude *Flow_AmplitudeSourceProperties `json:"Amplitude,omitempty"` - - // Datadog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-datadog - Datadog *Flow_DatadogSourceProperties `json:"Datadog,omitempty"` - - // Dynatrace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-dynatrace - Dynatrace *Flow_DynatraceSourceProperties `json:"Dynatrace,omitempty"` - - // GoogleAnalytics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-googleanalytics - GoogleAnalytics *Flow_GoogleAnalyticsSourceProperties `json:"GoogleAnalytics,omitempty"` - - // InforNexus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-infornexus - InforNexus *Flow_InforNexusSourceProperties `json:"InforNexus,omitempty"` - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-marketo - Marketo *Flow_MarketoSourceProperties `json:"Marketo,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-s3 - S3 *Flow_S3SourceProperties `json:"S3,omitempty"` - - // SAPOData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-sapodata - SAPOData *Flow_SAPODataSourceProperties `json:"SAPOData,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-salesforce - Salesforce *Flow_SalesforceSourceProperties `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-servicenow - ServiceNow *Flow_ServiceNowSourceProperties `json:"ServiceNow,omitempty"` - - // Singular AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-singular - Singular *Flow_SingularSourceProperties `json:"Singular,omitempty"` - - // Slack AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-slack - Slack *Flow_SlackSourceProperties `json:"Slack,omitempty"` - - // Trendmicro AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-trendmicro - Trendmicro *Flow_TrendmicroSourceProperties `json:"Trendmicro,omitempty"` - - // Veeva AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-veeva - Veeva *Flow_VeevaSourceProperties `json:"Veeva,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceconnectorproperties.html#cfn-appflow-flow-sourceconnectorproperties-zendesk - Zendesk *Flow_ZendeskSourceProperties `json:"Zendesk,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 *Flow_SourceConnectorProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SourceConnectorProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceflowconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceflowconfig.go deleted file mode 100644 index bbd59bc758..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_sourceflowconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_SourceFlowConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.SourceFlowConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceflowconfig.html -type Flow_SourceFlowConfig struct { - - // ConnectorProfileName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceflowconfig.html#cfn-appflow-flow-sourceflowconfig-connectorprofilename - ConnectorProfileName *types.Value `json:"ConnectorProfileName,omitempty"` - - // ConnectorType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceflowconfig.html#cfn-appflow-flow-sourceflowconfig-connectortype - ConnectorType *types.Value `json:"ConnectorType,omitempty"` - - // IncrementalPullConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceflowconfig.html#cfn-appflow-flow-sourceflowconfig-incrementalpullconfig - IncrementalPullConfig *Flow_IncrementalPullConfig `json:"IncrementalPullConfig,omitempty"` - - // SourceConnectorProperties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-sourceflowconfig.html#cfn-appflow-flow-sourceflowconfig-sourceconnectorproperties - SourceConnectorProperties *Flow_SourceConnectorProperties `json:"SourceConnectorProperties,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 *Flow_SourceFlowConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SourceFlowConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_task.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_task.go deleted file mode 100644 index 6c3fb8aa7a..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_task.go +++ /dev/null @@ -1,57 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_Task AWS CloudFormation Resource (AWS::AppFlow::Flow.Task) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html -type Flow_Task struct { - - // ConnectorOperator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html#cfn-appflow-flow-task-connectoroperator - ConnectorOperator *Flow_ConnectorOperator `json:"ConnectorOperator,omitempty"` - - // DestinationField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html#cfn-appflow-flow-task-destinationfield - DestinationField *types.Value `json:"DestinationField,omitempty"` - - // SourceFields AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html#cfn-appflow-flow-task-sourcefields - SourceFields *types.Value `json:"SourceFields,omitempty"` - - // TaskProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html#cfn-appflow-flow-task-taskproperties - TaskProperties []Flow_TaskPropertiesObject `json:"TaskProperties,omitempty"` - - // TaskType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-task.html#cfn-appflow-flow-task-tasktype - TaskType *types.Value `json:"TaskType,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 *Flow_Task) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.Task" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_taskpropertiesobject.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_taskpropertiesobject.go deleted file mode 100644 index df7f01fd09..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_taskpropertiesobject.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_TaskPropertiesObject AWS CloudFormation Resource (AWS::AppFlow::Flow.TaskPropertiesObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-taskpropertiesobject.html -type Flow_TaskPropertiesObject struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-taskpropertiesobject.html#cfn-appflow-flow-taskpropertiesobject-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-taskpropertiesobject.html#cfn-appflow-flow-taskpropertiesobject-value - Value *types.Value `json:"Value,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 *Flow_TaskPropertiesObject) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.TaskPropertiesObject" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_trendmicrosourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_trendmicrosourceproperties.go deleted file mode 100644 index 95dbc8dd34..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_trendmicrosourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_TrendmicroSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.TrendmicroSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-trendmicrosourceproperties.html -type Flow_TrendmicroSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-trendmicrosourceproperties.html#cfn-appflow-flow-trendmicrosourceproperties-object - Object *types.Value `json:"Object,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 *Flow_TrendmicroSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.TrendmicroSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_triggerconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_triggerconfig.go deleted file mode 100644 index 773d7cceff..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_triggerconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_TriggerConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.TriggerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-triggerconfig.html -type Flow_TriggerConfig struct { - - // TriggerProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-triggerconfig.html#cfn-appflow-flow-triggerconfig-triggerproperties - TriggerProperties *Flow_ScheduledTriggerProperties `json:"TriggerProperties,omitempty"` - - // TriggerType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-triggerconfig.html#cfn-appflow-flow-triggerconfig-triggertype - TriggerType *types.Value `json:"TriggerType,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 *Flow_TriggerConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.TriggerConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolverdestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolverdestinationproperties.go deleted file mode 100644 index 292f6cf855..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolverdestinationproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_UpsolverDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.UpsolverDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolverdestinationproperties.html -type Flow_UpsolverDestinationProperties struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolverdestinationproperties.html#cfn-appflow-flow-upsolverdestinationproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolverdestinationproperties.html#cfn-appflow-flow-upsolverdestinationproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // S3OutputFormatConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolverdestinationproperties.html#cfn-appflow-flow-upsolverdestinationproperties-s3outputformatconfig - S3OutputFormatConfig *Flow_UpsolverS3OutputFormatConfig `json:"S3OutputFormatConfig,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 *Flow_UpsolverDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.UpsolverDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolvers3outputformatconfig.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolvers3outputformatconfig.go deleted file mode 100644 index 45fc98e8cd..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_upsolvers3outputformatconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_UpsolverS3OutputFormatConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolvers3outputformatconfig.html -type Flow_UpsolverS3OutputFormatConfig struct { - - // AggregationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolvers3outputformatconfig.html#cfn-appflow-flow-upsolvers3outputformatconfig-aggregationconfig - AggregationConfig *Flow_AggregationConfig `json:"AggregationConfig,omitempty"` - - // FileType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolvers3outputformatconfig.html#cfn-appflow-flow-upsolvers3outputformatconfig-filetype - FileType *types.Value `json:"FileType,omitempty"` - - // PrefixConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-upsolvers3outputformatconfig.html#cfn-appflow-flow-upsolvers3outputformatconfig-prefixconfig - PrefixConfig *Flow_PrefixConfig `json:"PrefixConfig,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 *Flow_UpsolverS3OutputFormatConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_veevasourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_veevasourceproperties.go deleted file mode 100644 index 597c9fb1f5..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_veevasourceproperties.go +++ /dev/null @@ -1,57 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_VeevaSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.VeevaSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html -type Flow_VeevaSourceProperties struct { - - // DocumentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html#cfn-appflow-flow-veevasourceproperties-documenttype - DocumentType *types.Value `json:"DocumentType,omitempty"` - - // IncludeAllVersions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html#cfn-appflow-flow-veevasourceproperties-includeallversions - IncludeAllVersions *types.Value `json:"IncludeAllVersions,omitempty"` - - // IncludeRenditions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html#cfn-appflow-flow-veevasourceproperties-includerenditions - IncludeRenditions *types.Value `json:"IncludeRenditions,omitempty"` - - // IncludeSourceFiles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html#cfn-appflow-flow-veevasourceproperties-includesourcefiles - IncludeSourceFiles *types.Value `json:"IncludeSourceFiles,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-veevasourceproperties.html#cfn-appflow-flow-veevasourceproperties-object - Object *types.Value `json:"Object,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 *Flow_VeevaSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.VeevaSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendeskdestinationproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendeskdestinationproperties.go deleted file mode 100644 index 315d3e1ab3..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendeskdestinationproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ZendeskDestinationProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.ZendeskDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendeskdestinationproperties.html -type Flow_ZendeskDestinationProperties struct { - - // ErrorHandlingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendeskdestinationproperties.html#cfn-appflow-flow-zendeskdestinationproperties-errorhandlingconfig - ErrorHandlingConfig *Flow_ErrorHandlingConfig `json:"ErrorHandlingConfig,omitempty"` - - // IdFieldNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendeskdestinationproperties.html#cfn-appflow-flow-zendeskdestinationproperties-idfieldnames - IdFieldNames *types.Value `json:"IdFieldNames,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendeskdestinationproperties.html#cfn-appflow-flow-zendeskdestinationproperties-object - Object *types.Value `json:"Object,omitempty"` - - // WriteOperationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendeskdestinationproperties.html#cfn-appflow-flow-zendeskdestinationproperties-writeoperationtype - WriteOperationType *types.Value `json:"WriteOperationType,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 *Flow_ZendeskDestinationProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ZendeskDestinationProperties" -} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendesksourceproperties.go b/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendesksourceproperties.go deleted file mode 100644 index 7a432e03e0..0000000000 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_zendesksourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package appflow - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_ZendeskSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.ZendeskSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendesksourceproperties.html -type Flow_ZendeskSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-zendesksourceproperties.html#cfn-appflow-flow-zendesksourceproperties-object - Object *types.Value `json:"Object,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 *Flow_ZendeskSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.ZendeskSourceProperties" -} diff --git a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration.go b/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration.go deleted file mode 100644 index 931367438e..0000000000 --- a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration.go +++ /dev/null @@ -1,129 +0,0 @@ -package appintegrations - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventIntegration AWS CloudFormation Resource (AWS::AppIntegrations::EventIntegration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html -type EventIntegration struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html#cfn-appintegrations-eventintegration-description - Description *types.Value `json:"Description,omitempty"` - - // EventBridgeBus AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html#cfn-appintegrations-eventintegration-eventbridgebus - EventBridgeBus *types.Value `json:"EventBridgeBus,omitempty"` - - // EventFilter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html#cfn-appintegrations-eventintegration-eventfilter - EventFilter *EventIntegration_EventFilter `json:"EventFilter,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html#cfn-appintegrations-eventintegration-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-eventintegration.html#cfn-appintegrations-eventintegration-tags - Tags []cloudformation.Tag `json:"Tags,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 *EventIntegration) AWSCloudFormationType() string { - return "AWS::AppIntegrations::EventIntegration" -} - -// 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 (r EventIntegration) MarshalJSON() ([]byte, error) { - type Properties EventIntegration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EventIntegration) UnmarshalJSON(b []byte) error { - type Properties EventIntegration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EventIntegration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventfilter.go b/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventfilter.go deleted file mode 100644 index 098d6d02bd..0000000000 --- a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventfilter.go +++ /dev/null @@ -1,37 +0,0 @@ -package appintegrations - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventIntegration_EventFilter AWS CloudFormation Resource (AWS::AppIntegrations::EventIntegration.EventFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventfilter.html -type EventIntegration_EventFilter struct { - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventfilter.html#cfn-appintegrations-eventintegration-eventfilter-source - Source *types.Value `json:"Source,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 *EventIntegration_EventFilter) AWSCloudFormationType() string { - return "AWS::AppIntegrations::EventIntegration.EventFilter" -} diff --git a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventintegrationassociation.go b/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventintegrationassociation.go deleted file mode 100644 index 824f52607a..0000000000 --- a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_eventintegrationassociation.go +++ /dev/null @@ -1,57 +0,0 @@ -package appintegrations - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventIntegration_EventIntegrationAssociation AWS CloudFormation Resource (AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html -type EventIntegration_EventIntegrationAssociation struct { - - // ClientAssociationMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html#cfn-appintegrations-eventintegration-eventintegrationassociation-clientassociationmetadata - ClientAssociationMetadata []EventIntegration_Metadata `json:"ClientAssociationMetadata,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html#cfn-appintegrations-eventintegration-eventintegrationassociation-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // EventBridgeRuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html#cfn-appintegrations-eventintegration-eventintegrationassociation-eventbridgerulename - EventBridgeRuleName *types.Value `json:"EventBridgeRuleName,omitempty"` - - // EventIntegrationAssociationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html#cfn-appintegrations-eventintegration-eventintegrationassociation-eventintegrationassociationarn - EventIntegrationAssociationArn *types.Value `json:"EventIntegrationAssociationArn,omitempty"` - - // EventIntegrationAssociationId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-eventintegrationassociation.html#cfn-appintegrations-eventintegration-eventintegrationassociation-eventintegrationassociationid - EventIntegrationAssociationId *types.Value `json:"EventIntegrationAssociationId,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 *EventIntegration_EventIntegrationAssociation) AWSCloudFormationType() string { - return "AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation" -} diff --git a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_metadata.go b/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_metadata.go deleted file mode 100644 index 35cd48304f..0000000000 --- a/pkg/goformation/cloudformation/appintegrations/aws-appintegrations-eventintegration_metadata.go +++ /dev/null @@ -1,42 +0,0 @@ -package appintegrations - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventIntegration_Metadata AWS CloudFormation Resource (AWS::AppIntegrations::EventIntegration.Metadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-metadata.html -type EventIntegration_Metadata struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-metadata.html#cfn-appintegrations-eventintegration-metadata-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-eventintegration-metadata.html#cfn-appintegrations-eventintegration-metadata-value - Value *types.Value `json:"Value,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 *EventIntegration_Metadata) AWSCloudFormationType() string { - return "AWS::AppIntegrations::EventIntegration.Metadata" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget.go deleted file mode 100644 index f0b4028b60..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget.go +++ /dev/null @@ -1,143 +0,0 @@ -package applicationautoscaling - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalableTarget AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalableTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html -type ScalableTarget struct { - - // MaxCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity"` - - // MinCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-mincapacity - MinCapacity *types.Value `json:"MinCapacity"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // ScalableDimension AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-scalabledimension - ScalableDimension *types.Value `json:"ScalableDimension,omitempty"` - - // ScheduledActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-scheduledactions - ScheduledActions []ScalableTarget_ScheduledAction `json:"ScheduledActions,omitempty"` - - // ServiceNamespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-servicenamespace - ServiceNamespace *types.Value `json:"ServiceNamespace,omitempty"` - - // SuspendedState AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-suspendedstate - SuspendedState *ScalableTarget_SuspendedState `json:"SuspendedState,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 *ScalableTarget) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalableTarget" -} - -// 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 (r ScalableTarget) MarshalJSON() ([]byte, error) { - type Properties ScalableTarget - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScalableTarget) UnmarshalJSON(b []byte) error { - type Properties ScalableTarget - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScalableTarget(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scheduledaction.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scheduledaction.go deleted file mode 100644 index 601e82e30a..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scheduledaction.go +++ /dev/null @@ -1,62 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalableTarget_ScheduledAction AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html -type ScalableTarget_ScheduledAction struct { - - // EndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-endtime - EndTime string `json:"EndTime,omitempty"` - - // ScalableTargetAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-scalabletargetaction - ScalableTargetAction *ScalableTarget_ScalableTargetAction `json:"ScalableTargetAction,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-schedule - Schedule *types.Value `json:"Schedule,omitempty"` - - // ScheduledActionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-scheduledactionname - ScheduledActionName *types.Value `json:"ScheduledActionName,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-starttime - StartTime string `json:"StartTime,omitempty"` - - // Timezone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html#cfn-applicationautoscaling-scalabletarget-scheduledaction-timezone - Timezone *types.Value `json:"Timezone,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 *ScalableTarget_ScheduledAction) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_suspendedstate.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_suspendedstate.go deleted file mode 100644 index 3021d96719..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_suspendedstate.go +++ /dev/null @@ -1,47 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalableTarget_SuspendedState AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-suspendedstate.html -type ScalableTarget_SuspendedState struct { - - // DynamicScalingInSuspended AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-suspendedstate.html#cfn-applicationautoscaling-scalabletarget-suspendedstate-dynamicscalinginsuspended - DynamicScalingInSuspended *types.Value `json:"DynamicScalingInSuspended,omitempty"` - - // DynamicScalingOutSuspended AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-suspendedstate.html#cfn-applicationautoscaling-scalabletarget-suspendedstate-dynamicscalingoutsuspended - DynamicScalingOutSuspended *types.Value `json:"DynamicScalingOutSuspended,omitempty"` - - // ScheduledScalingSuspended AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-suspendedstate.html#cfn-applicationautoscaling-scalabletarget-suspendedstate-scheduledscalingsuspended - ScheduledScalingSuspended *types.Value `json:"ScheduledScalingSuspended,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 *ScalableTarget_SuspendedState) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy.go deleted file mode 100644 index adb4514a6b..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy.go +++ /dev/null @@ -1,143 +0,0 @@ -package applicationautoscaling - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html -type ScalingPolicy struct { - - // PolicyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` - - // PolicyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-policytype - PolicyType *types.Value `json:"PolicyType,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // ScalableDimension AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-scalabledimension - ScalableDimension *types.Value `json:"ScalableDimension,omitempty"` - - // ScalingTargetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-scalingtargetid - ScalingTargetId *types.Value `json:"ScalingTargetId,omitempty"` - - // ServiceNamespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-servicenamespace - ServiceNamespace *types.Value `json:"ServiceNamespace,omitempty"` - - // StepScalingPolicyConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration - StepScalingPolicyConfiguration *ScalingPolicy_StepScalingPolicyConfiguration `json:"StepScalingPolicyConfiguration,omitempty"` - - // TargetTrackingScalingPolicyConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration - TargetTrackingScalingPolicyConfiguration *ScalingPolicy_TargetTrackingScalingPolicyConfiguration `json:"TargetTrackingScalingPolicyConfiguration,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 *ScalingPolicy) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy" -} - -// 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 (r ScalingPolicy) MarshalJSON() ([]byte, error) { - type Properties ScalingPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScalingPolicy) UnmarshalJSON(b []byte) error { - type Properties ScalingPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScalingPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_customizedmetricspecification.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_customizedmetricspecification.go deleted file mode 100644 index 481b4cf69a..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_customizedmetricspecification.go +++ /dev/null @@ -1,57 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_CustomizedMetricSpecification AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html -type ScalingPolicy_CustomizedMetricSpecification struct { - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-customizedmetricspecification-dimensions - Dimensions []ScalingPolicy_MetricDimension `json:"Dimensions,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-customizedmetricspecification-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-customizedmetricspecification-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // Statistic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-customizedmetricspecification-statistic - Statistic *types.Value `json:"Statistic,omitempty"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-customizedmetricspecification-unit - Unit *types.Value `json:"Unit,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 *ScalingPolicy_CustomizedMetricSpecification) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_metricdimension.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_metricdimension.go deleted file mode 100644 index 3fd8c60400..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_metricdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_MetricDimension AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-metricdimension.html -type ScalingPolicy_MetricDimension struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-metricdimension.html#cfn-applicationautoscaling-scalingpolicy-metricdimension-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-metricdimension.html#cfn-applicationautoscaling-scalingpolicy-metricdimension-value - Value *types.Value `json:"Value,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 *ScalingPolicy_MetricDimension) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_predefinedmetricspecification.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_predefinedmetricspecification.go deleted file mode 100644 index 60276a99d8..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_predefinedmetricspecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_PredefinedMetricSpecification AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predefinedmetricspecification.html -type ScalingPolicy_PredefinedMetricSpecification struct { - - // PredefinedMetricType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predefinedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-predefinedmetricspecification-predefinedmetrictype - PredefinedMetricType *types.Value `json:"PredefinedMetricType,omitempty"` - - // ResourceLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predefinedmetricspecification.html#cfn-applicationautoscaling-scalingpolicy-predefinedmetricspecification-resourcelabel - ResourceLabel *types.Value `json:"ResourceLabel,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 *ScalingPolicy_PredefinedMetricSpecification) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepadjustment.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepadjustment.go deleted file mode 100644 index 1d9277ca61..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepadjustment.go +++ /dev/null @@ -1,47 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_StepAdjustment AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html -type ScalingPolicy_StepAdjustment struct { - - // MetricIntervalLowerBound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-metricintervallowerbound - MetricIntervalLowerBound *types.Value `json:"MetricIntervalLowerBound,omitempty"` - - // MetricIntervalUpperBound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-metricintervalupperbound - MetricIntervalUpperBound *types.Value `json:"MetricIntervalUpperBound,omitempty"` - - // ScalingAdjustment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-scalingadjustment - ScalingAdjustment *types.Value `json:"ScalingAdjustment"` - - // 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 *ScalingPolicy_StepAdjustment) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepscalingpolicyconfiguration.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepscalingpolicyconfiguration.go deleted file mode 100644 index 10fc0d50d9..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_stepscalingpolicyconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_StepScalingPolicyConfiguration AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html -type ScalingPolicy_StepScalingPolicyConfiguration struct { - - // AdjustmentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-adjustmenttype - AdjustmentType *types.Value `json:"AdjustmentType,omitempty"` - - // Cooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-cooldown - Cooldown *types.Value `json:"Cooldown,omitempty"` - - // MetricAggregationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-metricaggregationtype - MetricAggregationType *types.Value `json:"MetricAggregationType,omitempty"` - - // MinAdjustmentMagnitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-minadjustmentmagnitude - MinAdjustmentMagnitude *types.Value `json:"MinAdjustmentMagnitude,omitempty"` - - // StepAdjustments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustments - StepAdjustments []ScalingPolicy_StepAdjustment `json:"StepAdjustments,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 *ScalingPolicy_StepScalingPolicyConfiguration) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration" -} diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_targettrackingscalingpolicyconfiguration.go b/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_targettrackingscalingpolicyconfiguration.go deleted file mode 100644 index cdc3ba1e38..0000000000 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalingpolicy_targettrackingscalingpolicyconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package applicationautoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPolicy_TargetTrackingScalingPolicyConfiguration AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html -type ScalingPolicy_TargetTrackingScalingPolicyConfiguration struct { - - // CustomizedMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-customizedmetricspecification - CustomizedMetricSpecification *ScalingPolicy_CustomizedMetricSpecification `json:"CustomizedMetricSpecification,omitempty"` - - // DisableScaleIn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-disablescalein - DisableScaleIn *types.Value `json:"DisableScaleIn,omitempty"` - - // PredefinedMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-predefinedmetricspecification - PredefinedMetricSpecification *ScalingPolicy_PredefinedMetricSpecification `json:"PredefinedMetricSpecification,omitempty"` - - // ScaleInCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-scaleincooldown - ScaleInCooldown *types.Value `json:"ScaleInCooldown,omitempty"` - - // ScaleOutCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-scaleoutcooldown - ScaleOutCooldown *types.Value `json:"ScaleOutCooldown,omitempty"` - - // TargetValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html#cfn-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration-targetvalue - TargetValue *types.Value `json:"TargetValue"` - - // 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 *ScalingPolicy_TargetTrackingScalingPolicyConfiguration) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application.go deleted file mode 100644 index e3bcc79386..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application.go +++ /dev/null @@ -1,149 +0,0 @@ -package applicationinsights - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::ApplicationInsights::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html -type Application struct { - - // AutoConfigurationEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-autoconfigurationenabled - AutoConfigurationEnabled *types.Value `json:"AutoConfigurationEnabled,omitempty"` - - // CWEMonitorEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-cwemonitorenabled - CWEMonitorEnabled *types.Value `json:"CWEMonitorEnabled,omitempty"` - - // ComponentMonitoringSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-componentmonitoringsettings - ComponentMonitoringSettings []Application_ComponentMonitoringSetting `json:"ComponentMonitoringSettings,omitempty"` - - // CustomComponents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-customcomponents - CustomComponents []Application_CustomComponent `json:"CustomComponents,omitempty"` - - // LogPatternSets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-logpatternsets - LogPatternSets []Application_LogPatternSet `json:"LogPatternSets,omitempty"` - - // OpsCenterEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-opscenterenabled - OpsCenterEnabled *types.Value `json:"OpsCenterEnabled,omitempty"` - - // OpsItemSNSTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-opsitemsnstopicarn - OpsItemSNSTopicArn *types.Value `json:"OpsItemSNSTopicArn,omitempty"` - - // ResourceGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-resourcegroupname - ResourceGroupName *types.Value `json:"ResourceGroupName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationinsights-application.html#cfn-applicationinsights-application-tags - Tags []cloudformation.Tag `json:"Tags,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 *Application) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarm.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarm.go deleted file mode 100644 index 9c902bb8ed..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarm.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_Alarm AWS CloudFormation Resource (AWS::ApplicationInsights::Application.Alarm) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html -type Application_Alarm struct { - - // AlarmName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html#cfn-applicationinsights-application-alarm-alarmname - AlarmName *types.Value `json:"AlarmName,omitempty"` - - // Severity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html#cfn-applicationinsights-application-alarm-severity - Severity *types.Value `json:"Severity,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 *Application_Alarm) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.Alarm" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarmmetric.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarmmetric.go deleted file mode 100644 index 06c9737a93..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_alarmmetric.go +++ /dev/null @@ -1,37 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_AlarmMetric AWS CloudFormation Resource (AWS::ApplicationInsights::Application.AlarmMetric) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarmmetric.html -type Application_AlarmMetric struct { - - // AlarmMetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarmmetric.html#cfn-applicationinsights-application-alarmmetric-alarmmetricname - AlarmMetricName *types.Value `json:"AlarmMetricName,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 *Application_AlarmMetric) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.AlarmMetric" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentconfiguration.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentconfiguration.go deleted file mode 100644 index a70ee45f6d..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentconfiguration.go +++ /dev/null @@ -1,40 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ComponentConfiguration AWS CloudFormation Resource (AWS::ApplicationInsights::Application.ComponentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html -type Application_ComponentConfiguration struct { - - // ConfigurationDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html#cfn-applicationinsights-application-componentconfiguration-configurationdetails - ConfigurationDetails *Application_ConfigurationDetails `json:"ConfigurationDetails,omitempty"` - - // SubComponentTypeConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentconfiguration.html#cfn-applicationinsights-application-componentconfiguration-subcomponenttypeconfigurations - SubComponentTypeConfigurations []Application_SubComponentTypeConfiguration `json:"SubComponentTypeConfigurations,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 *Application_ComponentConfiguration) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.ComponentConfiguration" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentmonitoringsetting.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentmonitoringsetting.go deleted file mode 100644 index d2adf4d0a5..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_componentmonitoringsetting.go +++ /dev/null @@ -1,62 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ComponentMonitoringSetting AWS CloudFormation Resource (AWS::ApplicationInsights::Application.ComponentMonitoringSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html -type Application_ComponentMonitoringSetting struct { - - // ComponentARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentarn - ComponentARN *types.Value `json:"ComponentARN,omitempty"` - - // ComponentConfigurationMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentconfigurationmode - ComponentConfigurationMode *types.Value `json:"ComponentConfigurationMode,omitempty"` - - // ComponentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-componentname - ComponentName *types.Value `json:"ComponentName,omitempty"` - - // CustomComponentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-customcomponentconfiguration - CustomComponentConfiguration *Application_ComponentConfiguration `json:"CustomComponentConfiguration,omitempty"` - - // DefaultOverwriteComponentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-defaultoverwritecomponentconfiguration - DefaultOverwriteComponentConfiguration *Application_ComponentConfiguration `json:"DefaultOverwriteComponentConfiguration,omitempty"` - - // Tier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-componentmonitoringsetting.html#cfn-applicationinsights-application-componentmonitoringsetting-tier - Tier *types.Value `json:"Tier,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 *Application_ComponentMonitoringSetting) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.ComponentMonitoringSetting" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_configurationdetails.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_configurationdetails.go deleted file mode 100644 index 09cd2f57a3..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_configurationdetails.go +++ /dev/null @@ -1,55 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ConfigurationDetails AWS CloudFormation Resource (AWS::ApplicationInsights::Application.ConfigurationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html -type Application_ConfigurationDetails struct { - - // AlarmMetrics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-alarmmetrics - AlarmMetrics []Application_AlarmMetric `json:"AlarmMetrics,omitempty"` - - // Alarms AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-alarms - Alarms []Application_Alarm `json:"Alarms,omitempty"` - - // JMXPrometheusExporter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-jmxprometheusexporter - JMXPrometheusExporter *Application_JMXPrometheusExporter `json:"JMXPrometheusExporter,omitempty"` - - // Logs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-logs - Logs []Application_Log `json:"Logs,omitempty"` - - // WindowsEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-configurationdetails.html#cfn-applicationinsights-application-configurationdetails-windowsevents - WindowsEvents []Application_WindowsEvent `json:"WindowsEvents,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 *Application_ConfigurationDetails) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.ConfigurationDetails" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_customcomponent.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_customcomponent.go deleted file mode 100644 index 669ddee7c5..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_customcomponent.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CustomComponent AWS CloudFormation Resource (AWS::ApplicationInsights::Application.CustomComponent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html -type Application_CustomComponent struct { - - // ComponentName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html#cfn-applicationinsights-application-customcomponent-componentname - ComponentName *types.Value `json:"ComponentName,omitempty"` - - // ResourceList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-customcomponent.html#cfn-applicationinsights-application-customcomponent-resourcelist - ResourceList *types.Value `json:"ResourceList,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 *Application_CustomComponent) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.CustomComponent" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_jmxprometheusexporter.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_jmxprometheusexporter.go deleted file mode 100644 index 19a590ef21..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_jmxprometheusexporter.go +++ /dev/null @@ -1,47 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_JMXPrometheusExporter AWS CloudFormation Resource (AWS::ApplicationInsights::Application.JMXPrometheusExporter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html -type Application_JMXPrometheusExporter struct { - - // HostPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-hostport - HostPort *types.Value `json:"HostPort,omitempty"` - - // JMXURL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-jmxurl - JMXURL *types.Value `json:"JMXURL,omitempty"` - - // PrometheusPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-jmxprometheusexporter.html#cfn-applicationinsights-application-jmxprometheusexporter-prometheusport - PrometheusPort *types.Value `json:"PrometheusPort,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 *Application_JMXPrometheusExporter) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.JMXPrometheusExporter" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_log.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_log.go deleted file mode 100644 index 77d9b72dd7..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_log.go +++ /dev/null @@ -1,57 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_Log AWS CloudFormation Resource (AWS::ApplicationInsights::Application.Log) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html -type Application_Log struct { - - // Encoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-encoding - Encoding *types.Value `json:"Encoding,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // LogPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logpath - LogPath *types.Value `json:"LogPath,omitempty"` - - // LogType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-logtype - LogType *types.Value `json:"LogType,omitempty"` - - // PatternSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-log.html#cfn-applicationinsights-application-log-patternset - PatternSet *types.Value `json:"PatternSet,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 *Application_Log) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.Log" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpatternset.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpatternset.go deleted file mode 100644 index f058016494..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpatternset.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_LogPatternSet AWS CloudFormation Resource (AWS::ApplicationInsights::Application.LogPatternSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html -type Application_LogPatternSet struct { - - // LogPatterns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html#cfn-applicationinsights-application-logpatternset-logpatterns - LogPatterns []Application_LogPattern `json:"LogPatterns,omitempty"` - - // PatternSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpatternset.html#cfn-applicationinsights-application-logpatternset-patternsetname - PatternSetName *types.Value `json:"PatternSetName,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 *Application_LogPatternSet) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.LogPatternSet" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponentconfigurationdetails.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponentconfigurationdetails.go deleted file mode 100644 index 36403e4364..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponentconfigurationdetails.go +++ /dev/null @@ -1,45 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_SubComponentConfigurationDetails AWS CloudFormation Resource (AWS::ApplicationInsights::Application.SubComponentConfigurationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html -type Application_SubComponentConfigurationDetails struct { - - // AlarmMetrics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-alarmmetrics - AlarmMetrics []Application_AlarmMetric `json:"AlarmMetrics,omitempty"` - - // Logs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-logs - Logs []Application_Log `json:"Logs,omitempty"` - - // WindowsEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponentconfigurationdetails.html#cfn-applicationinsights-application-subcomponentconfigurationdetails-windowsevents - WindowsEvents []Application_WindowsEvent `json:"WindowsEvents,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 *Application_SubComponentConfigurationDetails) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.SubComponentConfigurationDetails" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponenttypeconfiguration.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponenttypeconfiguration.go deleted file mode 100644 index 9ffcf6abfa..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_subcomponenttypeconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_SubComponentTypeConfiguration AWS CloudFormation Resource (AWS::ApplicationInsights::Application.SubComponentTypeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html -type Application_SubComponentTypeConfiguration struct { - - // SubComponentConfigurationDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html#cfn-applicationinsights-application-subcomponenttypeconfiguration-subcomponentconfigurationdetails - SubComponentConfigurationDetails *Application_SubComponentConfigurationDetails `json:"SubComponentConfigurationDetails,omitempty"` - - // SubComponentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-subcomponenttypeconfiguration.html#cfn-applicationinsights-application-subcomponenttypeconfiguration-subcomponenttype - SubComponentType *types.Value `json:"SubComponentType,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 *Application_SubComponentTypeConfiguration) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.SubComponentTypeConfiguration" -} diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_windowsevent.go b/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_windowsevent.go deleted file mode 100644 index 54ccbae19e..0000000000 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_windowsevent.go +++ /dev/null @@ -1,52 +0,0 @@ -package applicationinsights - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_WindowsEvent AWS CloudFormation Resource (AWS::ApplicationInsights::Application.WindowsEvent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html -type Application_WindowsEvent struct { - - // EventLevels AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-eventlevels - EventLevels *types.Value `json:"EventLevels,omitempty"` - - // EventName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-eventname - EventName *types.Value `json:"EventName,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // PatternSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-windowsevent.html#cfn-applicationinsights-application-windowsevent-patternset - PatternSet *types.Value `json:"PatternSet,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 *Application_WindowsEvent) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.WindowsEvent" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute.go deleted file mode 100644 index 27b61e784a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute.go +++ /dev/null @@ -1,134 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html -type GatewayRoute struct { - - // GatewayRouteName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-gatewayroutename - GatewayRouteName *types.Value `json:"GatewayRouteName,omitempty"` - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-spec - Spec *GatewayRoute_GatewayRouteSpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualGatewayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-gatewayroute.html#cfn-appmesh-gatewayroute-virtualgatewayname - VirtualGatewayName *types.Value `json:"VirtualGatewayName,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 *GatewayRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute" -} - -// 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 (r GatewayRoute) MarshalJSON() ([]byte, error) { - type Properties GatewayRoute - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GatewayRoute) UnmarshalJSON(b []byte) error { - type Properties GatewayRoute - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GatewayRoute(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamerewrite.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamerewrite.go deleted file mode 100644 index 57e9bbf986..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamerewrite.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteHostnameRewrite AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamerewrite.html -type GatewayRoute_GatewayRouteHostnameRewrite struct { - - // DefaultTargetHostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamerewrite.html#cfn-appmesh-gatewayroute-gatewayroutehostnamerewrite-defaulttargethostname - DefaultTargetHostname *types.Value `json:"DefaultTargetHostname,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 *GatewayRoute_GatewayRouteHostnameRewrite) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutemetadatamatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutemetadatamatch.go deleted file mode 100644 index 803baafbe2..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutemetadatamatch.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteMetadataMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html -type GatewayRoute_GatewayRouteMetadataMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html#cfn-appmesh-gatewayroute-gatewayroutemetadatamatch-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html#cfn-appmesh-gatewayroute-gatewayroutemetadatamatch-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // Range AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html#cfn-appmesh-gatewayroute-gatewayroutemetadatamatch-range - Range *GatewayRoute_GatewayRouteRangeMatch `json:"Range,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html#cfn-appmesh-gatewayroute-gatewayroutemetadatamatch-regex - Regex *types.Value `json:"Regex,omitempty"` - - // Suffix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutemetadatamatch.html#cfn-appmesh-gatewayroute-gatewayroutemetadatamatch-suffix - Suffix *types.Value `json:"Suffix,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 *GatewayRoute_GatewayRouteMetadataMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayrouterangematch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayrouterangematch.go deleted file mode 100644 index 463a8ff7ee..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayrouterangematch.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteRangeMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayrouterangematch.html -type GatewayRoute_GatewayRouteRangeMatch struct { - - // End AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayrouterangematch.html#cfn-appmesh-gatewayroute-gatewayrouterangematch-end - End *types.Value `json:"End"` - - // Start AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayrouterangematch.html#cfn-appmesh-gatewayroute-gatewayrouterangematch-start - Start *types.Value `json:"Start"` - - // 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 *GatewayRoute_GatewayRouteRangeMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutespec.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutespec.go deleted file mode 100644 index 14ecac6d6a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutespec.go +++ /dev/null @@ -1,52 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteSpec AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html -type GatewayRoute_GatewayRouteSpec struct { - - // GrpcRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html#cfn-appmesh-gatewayroute-gatewayroutespec-grpcroute - GrpcRoute *GatewayRoute_GrpcGatewayRoute `json:"GrpcRoute,omitempty"` - - // Http2Route AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html#cfn-appmesh-gatewayroute-gatewayroutespec-http2route - Http2Route *GatewayRoute_HttpGatewayRoute `json:"Http2Route,omitempty"` - - // HttpRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html#cfn-appmesh-gatewayroute-gatewayroutespec-httproute - HttpRoute *GatewayRoute_HttpGatewayRoute `json:"HttpRoute,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutespec.html#cfn-appmesh-gatewayroute-gatewayroutespec-priority - Priority *types.Value `json:"Priority,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 *GatewayRoute_GatewayRouteSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteSpec" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutetarget.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutetarget.go deleted file mode 100644 index 3e5d982e1b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutetarget.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteTarget AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutetarget.html -type GatewayRoute_GatewayRouteTarget struct { - - // VirtualService AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutetarget.html#cfn-appmesh-gatewayroute-gatewayroutetarget-virtualservice - VirtualService *GatewayRoute_GatewayRouteVirtualService `json:"VirtualService,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 *GatewayRoute_GatewayRouteTarget) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteTarget" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutevirtualservice.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutevirtualservice.go deleted file mode 100644 index 372eca4c3b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutevirtualservice.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GatewayRouteVirtualService AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutevirtualservice.html -type GatewayRoute_GatewayRouteVirtualService struct { - - // VirtualServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutevirtualservice.html#cfn-appmesh-gatewayroute-gatewayroutevirtualservice-virtualservicename - VirtualServiceName *types.Value `json:"VirtualServiceName,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 *GatewayRoute_GatewayRouteVirtualService) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroute.go deleted file mode 100644 index 744d4a6ccb..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroute.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GrpcGatewayRoute AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GrpcGatewayRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroute.html -type GatewayRoute_GrpcGatewayRoute struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroute.html#cfn-appmesh-gatewayroute-grpcgatewayroute-action - Action *GatewayRoute_GrpcGatewayRouteAction `json:"Action,omitempty"` - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroute.html#cfn-appmesh-gatewayroute-grpcgatewayroute-match - Match *GatewayRoute_GrpcGatewayRouteMatch `json:"Match,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 *GatewayRoute_GrpcGatewayRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GrpcGatewayRoute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouteaction.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouteaction.go deleted file mode 100644 index c87518fcff..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouteaction.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GrpcGatewayRouteAction AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html -type GatewayRoute_GrpcGatewayRouteAction struct { - - // Rewrite AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html#cfn-appmesh-gatewayroute-grpcgatewayrouteaction-rewrite - Rewrite *GatewayRoute_GrpcGatewayRouteRewrite `json:"Rewrite,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouteaction.html#cfn-appmesh-gatewayroute-grpcgatewayrouteaction-target - Target *GatewayRoute_GatewayRouteTarget `json:"Target,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 *GatewayRoute_GrpcGatewayRouteAction) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutematch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutematch.go deleted file mode 100644 index f024e8b508..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutematch.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GrpcGatewayRouteMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.html -type GatewayRoute_GrpcGatewayRouteMatch struct { - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.html#cfn-appmesh-gatewayroute-grpcgatewayroutematch-hostname - Hostname *GatewayRoute_GatewayRouteHostnameMatch `json:"Hostname,omitempty"` - - // Metadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.html#cfn-appmesh-gatewayroute-grpcgatewayroutematch-metadata - Metadata []GatewayRoute_GrpcGatewayRouteMetadata `json:"Metadata,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutematch.html#cfn-appmesh-gatewayroute-grpcgatewayroutematch-servicename - ServiceName *types.Value `json:"ServiceName,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 *GatewayRoute_GrpcGatewayRouteMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutemetadata.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutemetadata.go deleted file mode 100644 index 17d2a22e6a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayroutemetadata.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GrpcGatewayRouteMetadata AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutemetadata.html -type GatewayRoute_GrpcGatewayRouteMetadata struct { - - // Invert AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutemetadata.html#cfn-appmesh-gatewayroute-grpcgatewayroutemetadata-invert - Invert *types.Value `json:"Invert,omitempty"` - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutemetadata.html#cfn-appmesh-gatewayroute-grpcgatewayroutemetadata-match - Match *GatewayRoute_GatewayRouteMetadataMatch `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayroutemetadata.html#cfn-appmesh-gatewayroute-grpcgatewayroutemetadata-name - Name *types.Value `json:"Name,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 *GatewayRoute_GrpcGatewayRouteMetadata) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouterewrite.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouterewrite.go deleted file mode 100644 index adf1c2395a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_grpcgatewayrouterewrite.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_GrpcGatewayRouteRewrite AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouterewrite.html -type GatewayRoute_GrpcGatewayRouteRewrite struct { - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-grpcgatewayrouterewrite.html#cfn-appmesh-gatewayroute-grpcgatewayrouterewrite-hostname - Hostname *GatewayRoute_GatewayRouteHostnameRewrite `json:"Hostname,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 *GatewayRoute_GrpcGatewayRouteRewrite) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroute.go deleted file mode 100644 index f06f2ae805..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroute.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRoute AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html -type GatewayRoute_HttpGatewayRoute struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html#cfn-appmesh-gatewayroute-httpgatewayroute-action - Action *GatewayRoute_HttpGatewayRouteAction `json:"Action,omitempty"` - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroute.html#cfn-appmesh-gatewayroute-httpgatewayroute-match - Match *GatewayRoute_HttpGatewayRouteMatch `json:"Match,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 *GatewayRoute_HttpGatewayRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRoute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteaction.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteaction.go deleted file mode 100644 index 8f9d5aaec1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteaction.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRouteAction AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteaction.html -type GatewayRoute_HttpGatewayRouteAction struct { - - // Rewrite AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteaction.html#cfn-appmesh-gatewayroute-httpgatewayrouteaction-rewrite - Rewrite *GatewayRoute_HttpGatewayRouteRewrite `json:"Rewrite,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteaction.html#cfn-appmesh-gatewayroute-httpgatewayrouteaction-target - Target *GatewayRoute_GatewayRouteTarget `json:"Target,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 *GatewayRoute_HttpGatewayRouteAction) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheader.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheader.go deleted file mode 100644 index dba4d745b7..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheader.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRouteHeader AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html -type GatewayRoute_HttpGatewayRouteHeader struct { - - // Invert AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-invert - Invert *types.Value `json:"Invert,omitempty"` - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-match - Match *GatewayRoute_HttpGatewayRouteHeaderMatch `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheader.html#cfn-appmesh-gatewayroute-httpgatewayrouteheader-name - Name *types.Value `json:"Name,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 *GatewayRoute_HttpGatewayRouteHeader) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheadermatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheadermatch.go deleted file mode 100644 index b227f894ec..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteheadermatch.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRouteHeaderMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html -type GatewayRoute_HttpGatewayRouteHeaderMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html#cfn-appmesh-gatewayroute-httpgatewayrouteheadermatch-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html#cfn-appmesh-gatewayroute-httpgatewayrouteheadermatch-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // Range AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html#cfn-appmesh-gatewayroute-httpgatewayrouteheadermatch-range - Range *GatewayRoute_GatewayRouteRangeMatch `json:"Range,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html#cfn-appmesh-gatewayroute-httpgatewayrouteheadermatch-regex - Regex *types.Value `json:"Regex,omitempty"` - - // Suffix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteheadermatch.html#cfn-appmesh-gatewayroute-httpgatewayrouteheadermatch-suffix - Suffix *types.Value `json:"Suffix,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 *GatewayRoute_HttpGatewayRouteHeaderMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutematch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutematch.go deleted file mode 100644 index 15e5a4c3dc..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutematch.go +++ /dev/null @@ -1,62 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRouteMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html -type GatewayRoute_HttpGatewayRouteMatch struct { - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-headers - Headers []GatewayRoute_HttpGatewayRouteHeader `json:"Headers,omitempty"` - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-hostname - Hostname *GatewayRoute_GatewayRouteHostnameMatch `json:"Hostname,omitempty"` - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-method - Method *types.Value `json:"Method,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-path - Path *GatewayRoute_HttpPathMatch `json:"Path,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // QueryParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutematch.html#cfn-appmesh-gatewayroute-httpgatewayroutematch-queryparameters - QueryParameters []GatewayRoute_QueryParameter `json:"QueryParameters,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 *GatewayRoute_HttpGatewayRouteMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutepathrewrite.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutepathrewrite.go deleted file mode 100644 index d4138a7804..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayroutepathrewrite.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRoutePathRewrite AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutepathrewrite.html -type GatewayRoute_HttpGatewayRoutePathRewrite struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayroutepathrewrite.html#cfn-appmesh-gatewayroute-httpgatewayroutepathrewrite-exact - Exact *types.Value `json:"Exact,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 *GatewayRoute_HttpGatewayRoutePathRewrite) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouterewrite.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouterewrite.go deleted file mode 100644 index acaaa8fbc4..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouterewrite.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpGatewayRouteRewrite AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouterewrite.html -type GatewayRoute_HttpGatewayRouteRewrite struct { - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouterewrite.html#cfn-appmesh-gatewayroute-httpgatewayrouterewrite-hostname - Hostname *GatewayRoute_GatewayRouteHostnameRewrite `json:"Hostname,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouterewrite.html#cfn-appmesh-gatewayroute-httpgatewayrouterewrite-path - Path *GatewayRoute_HttpGatewayRoutePathRewrite `json:"Path,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouterewrite.html#cfn-appmesh-gatewayroute-httpgatewayrouterewrite-prefix - Prefix *GatewayRoute_HttpGatewayRoutePrefixRewrite `json:"Prefix,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 *GatewayRoute_HttpGatewayRouteRewrite) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httppathmatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httppathmatch.go deleted file mode 100644 index 44285b9873..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httppathmatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpPathMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpPathMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httppathmatch.html -type GatewayRoute_HttpPathMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httppathmatch.html#cfn-appmesh-gatewayroute-httppathmatch-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httppathmatch.html#cfn-appmesh-gatewayroute-httppathmatch-regex - Regex *types.Value `json:"Regex,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 *GatewayRoute_HttpPathMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpPathMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpqueryparametermatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpqueryparametermatch.go deleted file mode 100644 index 330ab62625..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpqueryparametermatch.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_HttpQueryParameterMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpqueryparametermatch.html -type GatewayRoute_HttpQueryParameterMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpqueryparametermatch.html#cfn-appmesh-gatewayroute-httpqueryparametermatch-exact - Exact *types.Value `json:"Exact,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 *GatewayRoute_HttpQueryParameterMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_queryparameter.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_queryparameter.go deleted file mode 100644 index cec25c801c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_queryparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GatewayRoute_QueryParameter AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.QueryParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-queryparameter.html -type GatewayRoute_QueryParameter struct { - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-queryparameter.html#cfn-appmesh-gatewayroute-queryparameter-match - Match *GatewayRoute_HttpQueryParameterMatch `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-queryparameter.html#cfn-appmesh-gatewayroute-queryparameter-name - Name *types.Value `json:"Name,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 *GatewayRoute_QueryParameter) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.QueryParameter" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route.go deleted file mode 100644 index 0982da59c2..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route.go +++ /dev/null @@ -1,134 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route AWS CloudFormation Resource (AWS::AppMesh::Route) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html -type Route struct { - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // RouteName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-routename - RouteName *types.Value `json:"RouteName,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-spec - Spec *Route_RouteSpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualRouterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-route.html#cfn-appmesh-route-virtualroutername - VirtualRouterName *types.Value `json:"VirtualRouterName,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 *Route) AWSCloudFormationType() string { - return "AWS::AppMesh::Route" -} - -// 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 (r Route) MarshalJSON() ([]byte, error) { - type Properties Route - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Route) UnmarshalJSON(b []byte) error { - type Properties Route - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Route(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcretrypolicy.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcretrypolicy.go deleted file mode 100644 index 5eca012caa..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcretrypolicy.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRetryPolicy AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRetryPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html -type Route_GrpcRetryPolicy struct { - - // GrpcRetryEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html#cfn-appmesh-route-grpcretrypolicy-grpcretryevents - GrpcRetryEvents *types.Value `json:"GrpcRetryEvents,omitempty"` - - // HttpRetryEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html#cfn-appmesh-route-grpcretrypolicy-httpretryevents - HttpRetryEvents *types.Value `json:"HttpRetryEvents,omitempty"` - - // MaxRetries AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html#cfn-appmesh-route-grpcretrypolicy-maxretries - MaxRetries *types.Value `json:"MaxRetries"` - - // PerRetryTimeout AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html#cfn-appmesh-route-grpcretrypolicy-perretrytimeout - PerRetryTimeout *Route_Duration `json:"PerRetryTimeout,omitempty"` - - // TcpRetryEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcretrypolicy.html#cfn-appmesh-route-grpcretrypolicy-tcpretryevents - TcpRetryEvents *types.Value `json:"TcpRetryEvents,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 *Route_GrpcRetryPolicy) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRetryPolicy" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroute.go deleted file mode 100644 index 4509953fd8..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroute.go +++ /dev/null @@ -1,50 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRoute AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroute.html -type Route_GrpcRoute struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroute.html#cfn-appmesh-route-grpcroute-action - Action *Route_GrpcRouteAction `json:"Action,omitempty"` - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroute.html#cfn-appmesh-route-grpcroute-match - Match *Route_GrpcRouteMatch `json:"Match,omitempty"` - - // RetryPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroute.html#cfn-appmesh-route-grpcroute-retrypolicy - RetryPolicy *Route_GrpcRetryPolicy `json:"RetryPolicy,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroute.html#cfn-appmesh-route-grpcroute-timeout - Timeout *Route_GrpcTimeout `json:"Timeout,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 *Route_GrpcRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRoute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcrouteaction.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcrouteaction.go deleted file mode 100644 index 9866bd0650..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcrouteaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRouteAction AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRouteAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcrouteaction.html -type Route_GrpcRouteAction struct { - - // WeightedTargets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcrouteaction.html#cfn-appmesh-route-grpcrouteaction-weightedtargets - WeightedTargets []Route_WeightedTarget `json:"WeightedTargets,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 *Route_GrpcRouteAction) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRouteAction" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutematch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutematch.go deleted file mode 100644 index 3320d9913e..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutematch.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRouteMatch AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRouteMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html -type Route_GrpcRouteMatch struct { - - // Metadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-metadata - Metadata []Route_GrpcRouteMetadata `json:"Metadata,omitempty"` - - // MethodName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-methodname - MethodName *types.Value `json:"MethodName,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutematch.html#cfn-appmesh-route-grpcroutematch-servicename - ServiceName *types.Value `json:"ServiceName,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 *Route_GrpcRouteMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRouteMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadata.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadata.go deleted file mode 100644 index 679c689541..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadata.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRouteMetadata AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRouteMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadata.html -type Route_GrpcRouteMetadata struct { - - // Invert AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadata.html#cfn-appmesh-route-grpcroutemetadata-invert - Invert *types.Value `json:"Invert,omitempty"` - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadata.html#cfn-appmesh-route-grpcroutemetadata-match - Match *Route_GrpcRouteMetadataMatchMethod `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadata.html#cfn-appmesh-route-grpcroutemetadata-name - Name *types.Value `json:"Name,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 *Route_GrpcRouteMetadata) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRouteMetadata" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadatamatchmethod.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadatamatchmethod.go deleted file mode 100644 index ae4239c5a0..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpcroutemetadatamatchmethod.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcRouteMetadataMatchMethod AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html -type Route_GrpcRouteMetadataMatchMethod struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // Range AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-range - Range *Route_MatchRange `json:"Range,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-regex - Regex *types.Value `json:"Regex,omitempty"` - - // Suffix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpcroutemetadatamatchmethod.html#cfn-appmesh-route-grpcroutemetadatamatchmethod-suffix - Suffix *types.Value `json:"Suffix,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 *Route_GrpcRouteMetadataMatchMethod) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpctimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpctimeout.go deleted file mode 100644 index 166e71a27b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_grpctimeout.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_GrpcTimeout AWS CloudFormation Resource (AWS::AppMesh::Route.GrpcTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpctimeout.html -type Route_GrpcTimeout struct { - - // Idle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpctimeout.html#cfn-appmesh-route-grpctimeout-idle - Idle *Route_Duration `json:"Idle,omitempty"` - - // PerRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-grpctimeout.html#cfn-appmesh-route-grpctimeout-perrequest - PerRequest *Route_Duration `json:"PerRequest,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 *Route_GrpcTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.GrpcTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_headermatchmethod.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_headermatchmethod.go deleted file mode 100644 index f31286a370..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_headermatchmethod.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HeaderMatchMethod AWS CloudFormation Resource (AWS::AppMesh::Route.HeaderMatchMethod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html -type Route_HeaderMatchMethod struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // Range AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-range - Range *Route_MatchRange `json:"Range,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-regex - Regex *types.Value `json:"Regex,omitempty"` - - // Suffix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-headermatchmethod.html#cfn-appmesh-route-headermatchmethod-suffix - Suffix *types.Value `json:"Suffix,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 *Route_HeaderMatchMethod) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HeaderMatchMethod" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httppathmatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httppathmatch.go deleted file mode 100644 index 793c13763a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httppathmatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpPathMatch AWS CloudFormation Resource (AWS::AppMesh::Route.HttpPathMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httppathmatch.html -type Route_HttpPathMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httppathmatch.html#cfn-appmesh-route-httppathmatch-exact - Exact *types.Value `json:"Exact,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httppathmatch.html#cfn-appmesh-route-httppathmatch-regex - Regex *types.Value `json:"Regex,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 *Route_HttpPathMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpPathMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpqueryparametermatch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpqueryparametermatch.go deleted file mode 100644 index b7f8d855f2..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpqueryparametermatch.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpQueryParameterMatch AWS CloudFormation Resource (AWS::AppMesh::Route.HttpQueryParameterMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpqueryparametermatch.html -type Route_HttpQueryParameterMatch struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpqueryparametermatch.html#cfn-appmesh-route-httpqueryparametermatch-exact - Exact *types.Value `json:"Exact,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 *Route_HttpQueryParameterMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpQueryParameterMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpretrypolicy.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpretrypolicy.go deleted file mode 100644 index 81933cab1b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httpretrypolicy.go +++ /dev/null @@ -1,52 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpRetryPolicy AWS CloudFormation Resource (AWS::AppMesh::Route.HttpRetryPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html -type Route_HttpRetryPolicy struct { - - // HttpRetryEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-httpretryevents - HttpRetryEvents *types.Value `json:"HttpRetryEvents,omitempty"` - - // MaxRetries AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-maxretries - MaxRetries *types.Value `json:"MaxRetries"` - - // PerRetryTimeout AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-perretrytimeout - PerRetryTimeout *Route_Duration `json:"PerRetryTimeout,omitempty"` - - // TcpRetryEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httpretrypolicy.html#cfn-appmesh-route-httpretrypolicy-tcpretryevents - TcpRetryEvents *types.Value `json:"TcpRetryEvents,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 *Route_HttpRetryPolicy) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpRetryPolicy" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproute.go deleted file mode 100644 index 52bd2a69ff..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproute.go +++ /dev/null @@ -1,50 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpRoute AWS CloudFormation Resource (AWS::AppMesh::Route.HttpRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproute.html -type Route_HttpRoute struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproute.html#cfn-appmesh-route-httproute-action - Action *Route_HttpRouteAction `json:"Action,omitempty"` - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproute.html#cfn-appmesh-route-httproute-match - Match *Route_HttpRouteMatch `json:"Match,omitempty"` - - // RetryPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproute.html#cfn-appmesh-route-httproute-retrypolicy - RetryPolicy *Route_HttpRetryPolicy `json:"RetryPolicy,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproute.html#cfn-appmesh-route-httproute-timeout - Timeout *Route_HttpTimeout `json:"Timeout,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 *Route_HttpRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpRoute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteaction.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteaction.go deleted file mode 100644 index ed17a78e77..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpRouteAction AWS CloudFormation Resource (AWS::AppMesh::Route.HttpRouteAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteaction.html -type Route_HttpRouteAction struct { - - // WeightedTargets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteaction.html#cfn-appmesh-route-httprouteaction-weightedtargets - WeightedTargets []Route_WeightedTarget `json:"WeightedTargets,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 *Route_HttpRouteAction) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpRouteAction" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteheader.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteheader.go deleted file mode 100644 index 1688d7d3b4..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httprouteheader.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpRouteHeader AWS CloudFormation Resource (AWS::AppMesh::Route.HttpRouteHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteheader.html -type Route_HttpRouteHeader struct { - - // Invert AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteheader.html#cfn-appmesh-route-httprouteheader-invert - Invert *types.Value `json:"Invert,omitempty"` - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteheader.html#cfn-appmesh-route-httprouteheader-match - Match *Route_HeaderMatchMethod `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httprouteheader.html#cfn-appmesh-route-httprouteheader-name - Name *types.Value `json:"Name,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 *Route_HttpRouteHeader) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpRouteHeader" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproutematch.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproutematch.go deleted file mode 100644 index 82f395b652..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httproutematch.go +++ /dev/null @@ -1,62 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpRouteMatch AWS CloudFormation Resource (AWS::AppMesh::Route.HttpRouteMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html -type Route_HttpRouteMatch struct { - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-headers - Headers []Route_HttpRouteHeader `json:"Headers,omitempty"` - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-method - Method *types.Value `json:"Method,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-path - Path *Route_HttpPathMatch `json:"Path,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // QueryParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-queryparameters - QueryParameters []Route_QueryParameter `json:"QueryParameters,omitempty"` - - // Scheme AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httproutematch.html#cfn-appmesh-route-httproutematch-scheme - Scheme *types.Value `json:"Scheme,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 *Route_HttpRouteMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpRouteMatch" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httptimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httptimeout.go deleted file mode 100644 index beb49fee75..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_httptimeout.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_HttpTimeout AWS CloudFormation Resource (AWS::AppMesh::Route.HttpTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httptimeout.html -type Route_HttpTimeout struct { - - // Idle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httptimeout.html#cfn-appmesh-route-httptimeout-idle - Idle *Route_Duration `json:"Idle,omitempty"` - - // PerRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-httptimeout.html#cfn-appmesh-route-httptimeout-perrequest - PerRequest *Route_Duration `json:"PerRequest,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 *Route_HttpTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.HttpTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_matchrange.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_matchrange.go deleted file mode 100644 index 63ef3f0fbc..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_matchrange.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_MatchRange AWS CloudFormation Resource (AWS::AppMesh::Route.MatchRange) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html -type Route_MatchRange struct { - - // End AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html#cfn-appmesh-route-matchrange-end - End *types.Value `json:"End"` - - // Start AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-matchrange.html#cfn-appmesh-route-matchrange-start - Start *types.Value `json:"Start"` - - // 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 *Route_MatchRange) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.MatchRange" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_queryparameter.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_queryparameter.go deleted file mode 100644 index 3f94abc45b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_queryparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_QueryParameter AWS CloudFormation Resource (AWS::AppMesh::Route.QueryParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-queryparameter.html -type Route_QueryParameter struct { - - // Match AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-queryparameter.html#cfn-appmesh-route-queryparameter-match - Match *Route_HttpQueryParameterMatch `json:"Match,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-queryparameter.html#cfn-appmesh-route-queryparameter-name - Name *types.Value `json:"Name,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 *Route_QueryParameter) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.QueryParameter" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_routespec.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_routespec.go deleted file mode 100644 index 5bbb9f533d..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_routespec.go +++ /dev/null @@ -1,57 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_RouteSpec AWS CloudFormation Resource (AWS::AppMesh::Route.RouteSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html -type Route_RouteSpec struct { - - // GrpcRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html#cfn-appmesh-route-routespec-grpcroute - GrpcRoute *Route_GrpcRoute `json:"GrpcRoute,omitempty"` - - // Http2Route AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html#cfn-appmesh-route-routespec-http2route - Http2Route *Route_HttpRoute `json:"Http2Route,omitempty"` - - // HttpRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html#cfn-appmesh-route-routespec-httproute - HttpRoute *Route_HttpRoute `json:"HttpRoute,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html#cfn-appmesh-route-routespec-priority - Priority *types.Value `json:"Priority,omitempty"` - - // TcpRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-routespec.html#cfn-appmesh-route-routespec-tcproute - TcpRoute *Route_TcpRoute `json:"TcpRoute,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 *Route_RouteSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.RouteSpec" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcproute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcproute.go deleted file mode 100644 index 710fe77f18..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcproute.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_TcpRoute AWS CloudFormation Resource (AWS::AppMesh::Route.TcpRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcproute.html -type Route_TcpRoute struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcproute.html#cfn-appmesh-route-tcproute-action - Action *Route_TcpRouteAction `json:"Action,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcproute.html#cfn-appmesh-route-tcproute-timeout - Timeout *Route_TcpTimeout `json:"Timeout,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 *Route_TcpRoute) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.TcpRoute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_weightedtarget.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_weightedtarget.go deleted file mode 100644 index 19e538d666..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_weightedtarget.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_WeightedTarget AWS CloudFormation Resource (AWS::AppMesh::Route.WeightedTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-weightedtarget.html -type Route_WeightedTarget struct { - - // VirtualNode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-weightedtarget.html#cfn-appmesh-route-weightedtarget-virtualnode - VirtualNode *types.Value `json:"VirtualNode,omitempty"` - - // Weight AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-weightedtarget.html#cfn-appmesh-route-weightedtarget-weight - Weight *types.Value `json:"Weight"` - - // 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 *Route_WeightedTarget) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.WeightedTarget" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway.go deleted file mode 100644 index c46a64ad2c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway.go +++ /dev/null @@ -1,129 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html -type VirtualGateway struct { - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html#cfn-appmesh-virtualgateway-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html#cfn-appmesh-virtualgateway-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html#cfn-appmesh-virtualgateway-spec - Spec *VirtualGateway_VirtualGatewaySpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html#cfn-appmesh-virtualgateway-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualGatewayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualgateway.html#cfn-appmesh-virtualgateway-virtualgatewayname - VirtualGatewayName *types.Value `json:"VirtualGatewayName,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 *VirtualGateway) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway" -} - -// 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 (r VirtualGateway) MarshalJSON() ([]byte, error) { - type Properties VirtualGateway - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VirtualGateway) UnmarshalJSON(b []byte) error { - type Properties VirtualGateway - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VirtualGateway(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenames.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenames.go deleted file mode 100644 index c15802c1e5..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenames.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_SubjectAlternativeNames AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.SubjectAlternativeNames) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-subjectalternativenames.html -type VirtualGateway_SubjectAlternativeNames struct { - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-subjectalternativenames.html#cfn-appmesh-virtualgateway-subjectalternativenames-match - Match *VirtualGateway_SubjectAlternativeNameMatchers `json:"Match,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 *VirtualGateway_SubjectAlternativeNames) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayaccesslog.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayaccesslog.go deleted file mode 100644 index 33fedd0809..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayaccesslog.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayAccessLog AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayaccesslog.html -type VirtualGateway_VirtualGatewayAccessLog struct { - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayaccesslog.html#cfn-appmesh-virtualgateway-virtualgatewayaccesslog-file - File *VirtualGateway_VirtualGatewayFileAccessLog `json:"File,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 *VirtualGateway_VirtualGatewayAccessLog) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicy.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicy.go deleted file mode 100644 index 0e45ac2261..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicy.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayClientPolicy AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicy.html -type VirtualGateway_VirtualGatewayClientPolicy struct { - - // TLS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayclientpolicy-tls - TLS *VirtualGateway_VirtualGatewayClientPolicyTls `json:"TLS,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 *VirtualGateway_VirtualGatewayClientPolicy) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicytls.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicytls.go deleted file mode 100644 index c2b9363281..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclientpolicytls.go +++ /dev/null @@ -1,52 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayClientPolicyTls AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicytls.html -type VirtualGateway_VirtualGatewayClientPolicyTls struct { - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicytls.html#cfn-appmesh-virtualgateway-virtualgatewayclientpolicytls-certificate - Certificate *VirtualGateway_VirtualGatewayClientTlsCertificate `json:"Certificate,omitempty"` - - // Enforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicytls.html#cfn-appmesh-virtualgateway-virtualgatewayclientpolicytls-enforce - Enforce *types.Value `json:"Enforce,omitempty"` - - // Ports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicytls.html#cfn-appmesh-virtualgateway-virtualgatewayclientpolicytls-ports - Ports *types.Value `json:"Ports,omitempty"` - - // Validation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclientpolicytls.html#cfn-appmesh-virtualgateway-virtualgatewayclientpolicytls-validation - Validation *VirtualGateway_VirtualGatewayTlsValidationContext `json:"Validation,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 *VirtualGateway_VirtualGatewayClientPolicyTls) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclienttlscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclienttlscertificate.go deleted file mode 100644 index 1d4bfc7b4a..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayclienttlscertificate.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayClientTlsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclienttlscertificate.html -type VirtualGateway_VirtualGatewayClientTlsCertificate struct { - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclienttlscertificate.html#cfn-appmesh-virtualgateway-virtualgatewayclienttlscertificate-file - File *VirtualGateway_VirtualGatewayListenerTlsFileCertificate `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayclienttlscertificate.html#cfn-appmesh-virtualgateway-virtualgatewayclienttlscertificate-sds - SDS *VirtualGateway_VirtualGatewayListenerTlsSdsCertificate `json:"SDS,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 *VirtualGateway_VirtualGatewayClientTlsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayconnectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayconnectionpool.go deleted file mode 100644 index 6e19bcb78c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayconnectionpool.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayconnectionpool.html -type VirtualGateway_VirtualGatewayConnectionPool struct { - - // GRPC AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayconnectionpool-grpc - GRPC *VirtualGateway_VirtualGatewayGrpcConnectionPool `json:"GRPC,omitempty"` - - // HTTP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayconnectionpool-http - HTTP *VirtualGateway_VirtualGatewayHttpConnectionPool `json:"HTTP,omitempty"` - - // HTTP2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayconnectionpool-http2 - HTTP2 *VirtualGateway_VirtualGatewayHttp2ConnectionPool `json:"HTTP2,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 *VirtualGateway_VirtualGatewayConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayfileaccesslog.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayfileaccesslog.go deleted file mode 100644 index 90451d56b1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayfileaccesslog.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayFileAccessLog AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayfileaccesslog.html -type VirtualGateway_VirtualGatewayFileAccessLog struct { - - // Path AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayfileaccesslog.html#cfn-appmesh-virtualgateway-virtualgatewayfileaccesslog-path - Path *types.Value `json:"Path,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 *VirtualGateway_VirtualGatewayFileAccessLog) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaygrpcconnectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaygrpcconnectionpool.go deleted file mode 100644 index 5c2e670a70..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaygrpcconnectionpool.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayGrpcConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaygrpcconnectionpool.html -type VirtualGateway_VirtualGatewayGrpcConnectionPool struct { - - // MaxRequests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaygrpcconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewaygrpcconnectionpool-maxrequests - MaxRequests *types.Value `json:"MaxRequests"` - - // 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 *VirtualGateway_VirtualGatewayGrpcConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhealthcheckpolicy.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhealthcheckpolicy.go deleted file mode 100644 index a783345b80..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhealthcheckpolicy.go +++ /dev/null @@ -1,67 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayHealthCheckPolicy AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html -type VirtualGateway_VirtualGatewayHealthCheckPolicy struct { - - // HealthyThreshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-healthythreshold - HealthyThreshold *types.Value `json:"HealthyThreshold"` - - // IntervalMillis AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-intervalmillis - IntervalMillis *types.Value `json:"IntervalMillis"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-path - Path *types.Value `json:"Path,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-port - Port *types.Value `json:"Port,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // TimeoutMillis AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-timeoutmillis - TimeoutMillis *types.Value `json:"TimeoutMillis"` - - // UnhealthyThreshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy.html#cfn-appmesh-virtualgateway-virtualgatewayhealthcheckpolicy-unhealthythreshold - UnhealthyThreshold *types.Value `json:"UnhealthyThreshold"` - - // 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 *VirtualGateway_VirtualGatewayHealthCheckPolicy) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttp2connectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttp2connectionpool.go deleted file mode 100644 index 5e8983f1e9..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttp2connectionpool.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayHttp2ConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhttp2connectionpool.html -type VirtualGateway_VirtualGatewayHttp2ConnectionPool struct { - - // MaxRequests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhttp2connectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayhttp2connectionpool-maxrequests - MaxRequests *types.Value `json:"MaxRequests"` - - // 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 *VirtualGateway_VirtualGatewayHttp2ConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttpconnectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttpconnectionpool.go deleted file mode 100644 index 3395ceb0fd..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayhttpconnectionpool.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayHttpConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhttpconnectionpool.html -type VirtualGateway_VirtualGatewayHttpConnectionPool struct { - - // MaxConnections AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhttpconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayhttpconnectionpool-maxconnections - MaxConnections *types.Value `json:"MaxConnections"` - - // MaxPendingRequests AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayhttpconnectionpool.html#cfn-appmesh-virtualgateway-virtualgatewayhttpconnectionpool-maxpendingrequests - MaxPendingRequests *types.Value `json:"MaxPendingRequests,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 *VirtualGateway_VirtualGatewayHttpConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistener.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistener.go deleted file mode 100644 index 94fc0f32dd..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistener.go +++ /dev/null @@ -1,50 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListener AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListener) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.html -type VirtualGateway_VirtualGatewayListener struct { - - // ConnectionPool AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-connectionpool - ConnectionPool *VirtualGateway_VirtualGatewayConnectionPool `json:"ConnectionPool,omitempty"` - - // HealthCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-healthcheck - HealthCheck *VirtualGateway_VirtualGatewayHealthCheckPolicy `json:"HealthCheck,omitempty"` - - // PortMapping AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-portmapping - PortMapping *VirtualGateway_VirtualGatewayPortMapping `json:"PortMapping,omitempty"` - - // TLS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistener.html#cfn-appmesh-virtualgateway-virtualgatewaylistener-tls - TLS *VirtualGateway_VirtualGatewayListenerTls `json:"TLS,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 *VirtualGateway_VirtualGatewayListener) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListener" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertls.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertls.go deleted file mode 100644 index 2ad0d4706c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertls.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTls AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertls.html -type VirtualGateway_VirtualGatewayListenerTls struct { - - // Certificate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertls.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertls-certificate - Certificate *VirtualGateway_VirtualGatewayListenerTlsCertificate `json:"Certificate,omitempty"` - - // Mode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertls.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertls-mode - Mode *types.Value `json:"Mode,omitempty"` - - // Validation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertls.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertls-validation - Validation *VirtualGateway_VirtualGatewayListenerTlsValidationContext `json:"Validation,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 *VirtualGateway_VirtualGatewayListenerTls) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsacmcertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsacmcertificate.go deleted file mode 100644 index a217297635..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsacmcertificate.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsAcmCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsacmcertificate.html -type VirtualGateway_VirtualGatewayListenerTlsAcmCertificate struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsacmcertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsacmcertificate-certificatearn - CertificateArn *types.Value `json:"CertificateArn,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 *VirtualGateway_VirtualGatewayListenerTlsAcmCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlscertificate.go deleted file mode 100644 index 63f6ca9f3f..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlscertificate.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlscertificate.html -type VirtualGateway_VirtualGatewayListenerTlsCertificate struct { - - // ACM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlscertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlscertificate-acm - ACM *VirtualGateway_VirtualGatewayListenerTlsAcmCertificate `json:"ACM,omitempty"` - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlscertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlscertificate-file - File *VirtualGateway_VirtualGatewayListenerTlsFileCertificate `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlscertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlscertificate-sds - SDS *VirtualGateway_VirtualGatewayListenerTlsSdsCertificate `json:"SDS,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 *VirtualGateway_VirtualGatewayListenerTlsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsfilecertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsfilecertificate.go deleted file mode 100644 index 0f69b34f42..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsfilecertificate.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsFileCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsfilecertificate.html -type VirtualGateway_VirtualGatewayListenerTlsFileCertificate struct { - - // CertificateChain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsfilecertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsfilecertificate-certificatechain - CertificateChain *types.Value `json:"CertificateChain,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsfilecertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsfilecertificate-privatekey - PrivateKey *types.Value `json:"PrivateKey,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 *VirtualGateway_VirtualGatewayListenerTlsFileCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlssdscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlssdscertificate.go deleted file mode 100644 index 35352c468b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlssdscertificate.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsSdsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlssdscertificate.html -type VirtualGateway_VirtualGatewayListenerTlsSdsCertificate struct { - - // SecretName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlssdscertificate.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlssdscertificate-secretname - SecretName *types.Value `json:"SecretName,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 *VirtualGateway_VirtualGatewayListenerTlsSdsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontext.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontext.go deleted file mode 100644 index 2c5c302a6b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontext.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsValidationContext AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontext.html -type VirtualGateway_VirtualGatewayListenerTlsValidationContext struct { - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontext.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontext-subjectalternativenames - SubjectAlternativeNames *VirtualGateway_SubjectAlternativeNames `json:"SubjectAlternativeNames,omitempty"` - - // Trust AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontext.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontext-trust - Trust *VirtualGateway_VirtualGatewayListenerTlsValidationContextTrust `json:"Trust,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 *VirtualGateway_VirtualGatewayListenerTlsValidationContext) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontexttrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontexttrust.go deleted file mode 100644 index 656e5584a3..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylistenertlsvalidationcontexttrust.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayListenerTlsValidationContextTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontexttrust.html -type VirtualGateway_VirtualGatewayListenerTlsValidationContextTrust struct { - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontexttrust.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontexttrust-file - File *VirtualGateway_VirtualGatewayTlsValidationContextFileTrust `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontexttrust.html#cfn-appmesh-virtualgateway-virtualgatewaylistenertlsvalidationcontexttrust-sds - SDS *VirtualGateway_VirtualGatewayTlsValidationContextSdsTrust `json:"SDS,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 *VirtualGateway_VirtualGatewayListenerTlsValidationContextTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylogging.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylogging.go deleted file mode 100644 index 6c3c6cb9a4..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaylogging.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayLogging AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayLogging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylogging.html -type VirtualGateway_VirtualGatewayLogging struct { - - // AccessLog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaylogging.html#cfn-appmesh-virtualgateway-virtualgatewaylogging-accesslog - AccessLog *VirtualGateway_VirtualGatewayAccessLog `json:"AccessLog,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 *VirtualGateway_VirtualGatewayLogging) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayLogging" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayportmapping.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayportmapping.go deleted file mode 100644 index d3dc8af13c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayportmapping.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayPortMapping AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html -type VirtualGateway_VirtualGatewayPortMapping struct { - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html#cfn-appmesh-virtualgateway-virtualgatewayportmapping-port - Port *types.Value `json:"Port"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayportmapping.html#cfn-appmesh-virtualgateway-virtualgatewayportmapping-protocol - Protocol *types.Value `json:"Protocol,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 *VirtualGateway_VirtualGatewayPortMapping) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayspec.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayspec.go deleted file mode 100644 index 76acb3e325..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewayspec.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewaySpec AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewaySpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayspec.html -type VirtualGateway_VirtualGatewaySpec struct { - - // BackendDefaults AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayspec.html#cfn-appmesh-virtualgateway-virtualgatewayspec-backenddefaults - BackendDefaults *VirtualGateway_VirtualGatewayBackendDefaults `json:"BackendDefaults,omitempty"` - - // Listeners AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayspec.html#cfn-appmesh-virtualgateway-virtualgatewayspec-listeners - Listeners []VirtualGateway_VirtualGatewayListener `json:"Listeners,omitempty"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewayspec.html#cfn-appmesh-virtualgateway-virtualgatewayspec-logging - Logging *VirtualGateway_VirtualGatewayLogging `json:"Logging,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 *VirtualGateway_VirtualGatewaySpec) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewaySpec" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontext.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontext.go deleted file mode 100644 index d8bf3a752c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontext.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayTlsValidationContext AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontext.html -type VirtualGateway_VirtualGatewayTlsValidationContext struct { - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontext.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontext-subjectalternativenames - SubjectAlternativeNames *VirtualGateway_SubjectAlternativeNames `json:"SubjectAlternativeNames,omitempty"` - - // Trust AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontext.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontext-trust - Trust *VirtualGateway_VirtualGatewayTlsValidationContextTrust `json:"Trust,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 *VirtualGateway_VirtualGatewayTlsValidationContext) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextacmtrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextacmtrust.go deleted file mode 100644 index 8db71e5438..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextacmtrust.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayTlsValidationContextAcmTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextacmtrust.html -type VirtualGateway_VirtualGatewayTlsValidationContextAcmTrust struct { - - // CertificateAuthorityArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextacmtrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextacmtrust-certificateauthorityarns - CertificateAuthorityArns *types.Value `json:"CertificateAuthorityArns,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 *VirtualGateway_VirtualGatewayTlsValidationContextAcmTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextfiletrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextfiletrust.go deleted file mode 100644 index de3bae79d4..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextfiletrust.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayTlsValidationContextFileTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextfiletrust.html -type VirtualGateway_VirtualGatewayTlsValidationContextFileTrust struct { - - // CertificateChain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextfiletrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextfiletrust-certificatechain - CertificateChain *types.Value `json:"CertificateChain,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 *VirtualGateway_VirtualGatewayTlsValidationContextFileTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextsdstrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextsdstrust.go deleted file mode 100644 index b991ac7243..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontextsdstrust.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayTlsValidationContextSdsTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextsdstrust.html -type VirtualGateway_VirtualGatewayTlsValidationContextSdsTrust struct { - - // SecretName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextsdstrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontextsdstrust-secretname - SecretName *types.Value `json:"SecretName,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 *VirtualGateway_VirtualGatewayTlsValidationContextSdsTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontexttrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontexttrust.go deleted file mode 100644 index 6a106f209e..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaytlsvalidationcontexttrust.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualGateway_VirtualGatewayTlsValidationContextTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust.html -type VirtualGateway_VirtualGatewayTlsValidationContextTrust struct { - - // ACM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust-acm - ACM *VirtualGateway_VirtualGatewayTlsValidationContextAcmTrust `json:"ACM,omitempty"` - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust-file - File *VirtualGateway_VirtualGatewayTlsValidationContextFileTrust `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust.html#cfn-appmesh-virtualgateway-virtualgatewaytlsvalidationcontexttrust-sds - SDS *VirtualGateway_VirtualGatewayTlsValidationContextSdsTrust `json:"SDS,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 *VirtualGateway_VirtualGatewayTlsValidationContextTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode.go deleted file mode 100644 index 1f7cb5947c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode.go +++ /dev/null @@ -1,129 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode AWS CloudFormation Resource (AWS::AppMesh::VirtualNode) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html -type VirtualNode struct { - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html#cfn-appmesh-virtualnode-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html#cfn-appmesh-virtualnode-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html#cfn-appmesh-virtualnode-spec - Spec *VirtualNode_VirtualNodeSpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html#cfn-appmesh-virtualnode-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualNodeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualnode.html#cfn-appmesh-virtualnode-virtualnodename - VirtualNodeName *types.Value `json:"VirtualNodeName,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 *VirtualNode) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode" -} - -// 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 (r VirtualNode) MarshalJSON() ([]byte, error) { - type Properties VirtualNode - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VirtualNode) UnmarshalJSON(b []byte) error { - type Properties VirtualNode - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VirtualNode(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapinstanceattribute.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapinstanceattribute.go deleted file mode 100644 index 4904a0f899..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapinstanceattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_AwsCloudMapInstanceAttribute AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html -type VirtualNode_AwsCloudMapInstanceAttribute struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html#cfn-appmesh-virtualnode-awscloudmapinstanceattribute-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapinstanceattribute.html#cfn-appmesh-virtualnode-awscloudmapinstanceattribute-value - Value *types.Value `json:"Value,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 *VirtualNode_AwsCloudMapInstanceAttribute) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapservicediscovery.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapservicediscovery.go deleted file mode 100644 index 52099c9953..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_awscloudmapservicediscovery.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_AwsCloudMapServiceDiscovery AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html -type VirtualNode_AwsCloudMapServiceDiscovery struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-attributes - Attributes []VirtualNode_AwsCloudMapInstanceAttribute `json:"Attributes,omitempty"` - - // NamespaceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-namespacename - NamespaceName *types.Value `json:"NamespaceName,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-awscloudmapservicediscovery.html#cfn-appmesh-virtualnode-awscloudmapservicediscovery-servicename - ServiceName *types.Value `json:"ServiceName,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 *VirtualNode_AwsCloudMapServiceDiscovery) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backend.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backend.go deleted file mode 100644 index b5b92b10a1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backend.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_Backend AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.Backend) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backend.html -type VirtualNode_Backend struct { - - // VirtualService AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backend.html#cfn-appmesh-virtualnode-backend-virtualservice - VirtualService *VirtualNode_VirtualServiceBackend `json:"VirtualService,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 *VirtualNode_Backend) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.Backend" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backenddefaults.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backenddefaults.go deleted file mode 100644 index 6a90a43b23..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_backenddefaults.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_BackendDefaults AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.BackendDefaults) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backenddefaults.html -type VirtualNode_BackendDefaults struct { - - // ClientPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-backenddefaults.html#cfn-appmesh-virtualnode-backenddefaults-clientpolicy - ClientPolicy *VirtualNode_ClientPolicy `json:"ClientPolicy,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 *VirtualNode_BackendDefaults) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.BackendDefaults" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicy.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicy.go deleted file mode 100644 index 3fc92a07c5..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicy.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ClientPolicy AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ClientPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.html -type VirtualNode_ClientPolicy struct { - - // TLS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicy.html#cfn-appmesh-virtualnode-clientpolicy-tls - TLS *VirtualNode_ClientPolicyTls `json:"TLS,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 *VirtualNode_ClientPolicy) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ClientPolicy" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicytls.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicytls.go deleted file mode 100644 index 5a4623a4f1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clientpolicytls.go +++ /dev/null @@ -1,52 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ClientPolicyTls AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ClientPolicyTls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html -type VirtualNode_ClientPolicyTls struct { - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-certificate - Certificate *VirtualNode_ClientTlsCertificate `json:"Certificate,omitempty"` - - // Enforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-enforce - Enforce *types.Value `json:"Enforce,omitempty"` - - // Ports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-ports - Ports *types.Value `json:"Ports,omitempty"` - - // Validation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clientpolicytls.html#cfn-appmesh-virtualnode-clientpolicytls-validation - Validation *VirtualNode_TlsValidationContext `json:"Validation,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 *VirtualNode_ClientPolicyTls) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ClientPolicyTls" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clienttlscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clienttlscertificate.go deleted file mode 100644 index a87ecda1c6..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_clienttlscertificate.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ClientTlsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ClientTlsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clienttlscertificate.html -type VirtualNode_ClientTlsCertificate struct { - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clienttlscertificate.html#cfn-appmesh-virtualnode-clienttlscertificate-file - File *VirtualNode_ListenerTlsFileCertificate `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-clienttlscertificate.html#cfn-appmesh-virtualnode-clienttlscertificate-sds - SDS *VirtualNode_ListenerTlsSdsCertificate `json:"SDS,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 *VirtualNode_ClientTlsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ClientTlsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_dnsservicediscovery.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_dnsservicediscovery.go deleted file mode 100644 index 7a67289c75..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_dnsservicediscovery.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_DnsServiceDiscovery AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.DnsServiceDiscovery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html -type VirtualNode_DnsServiceDiscovery struct { - - // Hostname AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html#cfn-appmesh-virtualnode-dnsservicediscovery-hostname - Hostname *types.Value `json:"Hostname,omitempty"` - - // ResponseType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-dnsservicediscovery.html#cfn-appmesh-virtualnode-dnsservicediscovery-responsetype - ResponseType *types.Value `json:"ResponseType,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 *VirtualNode_DnsServiceDiscovery) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.DnsServiceDiscovery" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_duration.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_duration.go deleted file mode 100644 index 0289c21627..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_duration.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_Duration AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.Duration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html -type VirtualNode_Duration struct { - - // Unit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html#cfn-appmesh-virtualnode-duration-unit - Unit *types.Value `json:"Unit,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-duration.html#cfn-appmesh-virtualnode-duration-value - Value *types.Value `json:"Value"` - - // 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 *VirtualNode_Duration) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.Duration" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_grpctimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_grpctimeout.go deleted file mode 100644 index 82632a55b8..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_grpctimeout.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_GrpcTimeout AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.GrpcTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html -type VirtualNode_GrpcTimeout struct { - - // Idle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html#cfn-appmesh-virtualnode-grpctimeout-idle - Idle *VirtualNode_Duration `json:"Idle,omitempty"` - - // PerRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-grpctimeout.html#cfn-appmesh-virtualnode-grpctimeout-perrequest - PerRequest *VirtualNode_Duration `json:"PerRequest,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 *VirtualNode_GrpcTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.GrpcTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_healthcheck.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_healthcheck.go deleted file mode 100644 index 9120f9b1d7..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_healthcheck.go +++ /dev/null @@ -1,67 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_HealthCheck AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.HealthCheck) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html -type VirtualNode_HealthCheck struct { - - // HealthyThreshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-healthythreshold - HealthyThreshold *types.Value `json:"HealthyThreshold"` - - // IntervalMillis AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-intervalmillis - IntervalMillis *types.Value `json:"IntervalMillis"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-path - Path *types.Value `json:"Path,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-port - Port *types.Value `json:"Port,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // TimeoutMillis AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-timeoutmillis - TimeoutMillis *types.Value `json:"TimeoutMillis"` - - // UnhealthyThreshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-healthcheck.html#cfn-appmesh-virtualnode-healthcheck-unhealthythreshold - UnhealthyThreshold *types.Value `json:"UnhealthyThreshold"` - - // 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 *VirtualNode_HealthCheck) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.HealthCheck" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_httptimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_httptimeout.go deleted file mode 100644 index fc8b8db9c6..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_httptimeout.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_HttpTimeout AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.HttpTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html -type VirtualNode_HttpTimeout struct { - - // Idle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html#cfn-appmesh-virtualnode-httptimeout-idle - Idle *VirtualNode_Duration `json:"Idle,omitempty"` - - // PerRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-httptimeout.html#cfn-appmesh-virtualnode-httptimeout-perrequest - PerRequest *VirtualNode_Duration `json:"PerRequest,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 *VirtualNode_HttpTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.HttpTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listener.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listener.go deleted file mode 100644 index dafcd7537f..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listener.go +++ /dev/null @@ -1,60 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_Listener AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.Listener) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html -type VirtualNode_Listener struct { - - // ConnectionPool AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-connectionpool - ConnectionPool *VirtualNode_VirtualNodeConnectionPool `json:"ConnectionPool,omitempty"` - - // HealthCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-healthcheck - HealthCheck *VirtualNode_HealthCheck `json:"HealthCheck,omitempty"` - - // OutlierDetection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-outlierdetection - OutlierDetection *VirtualNode_OutlierDetection `json:"OutlierDetection,omitempty"` - - // PortMapping AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-portmapping - PortMapping *VirtualNode_PortMapping `json:"PortMapping,omitempty"` - - // TLS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-tls - TLS *VirtualNode_ListenerTls `json:"TLS,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listener.html#cfn-appmesh-virtualnode-listener-timeout - Timeout *VirtualNode_ListenerTimeout `json:"Timeout,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 *VirtualNode_Listener) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.Listener" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertimeout.go deleted file mode 100644 index 31b4002001..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertimeout.go +++ /dev/null @@ -1,50 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTimeout AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html -type VirtualNode_ListenerTimeout struct { - - // GRPC AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-grpc - GRPC *VirtualNode_GrpcTimeout `json:"GRPC,omitempty"` - - // HTTP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-http - HTTP *VirtualNode_HttpTimeout `json:"HTTP,omitempty"` - - // HTTP2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-http2 - HTTP2 *VirtualNode_HttpTimeout `json:"HTTP2,omitempty"` - - // TCP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertimeout.html#cfn-appmesh-virtualnode-listenertimeout-tcp - TCP *VirtualNode_TcpTimeout `json:"TCP,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 *VirtualNode_ListenerTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertls.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertls.go deleted file mode 100644 index 778b5709de..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertls.go +++ /dev/null @@ -1,47 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTls AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html -type VirtualNode_ListenerTls struct { - - // Certificate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html#cfn-appmesh-virtualnode-listenertls-certificate - Certificate *VirtualNode_ListenerTlsCertificate `json:"Certificate,omitempty"` - - // Mode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html#cfn-appmesh-virtualnode-listenertls-mode - Mode *types.Value `json:"Mode,omitempty"` - - // Validation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertls.html#cfn-appmesh-virtualnode-listenertls-validation - Validation *VirtualNode_ListenerTlsValidationContext `json:"Validation,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 *VirtualNode_ListenerTls) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTls" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsacmcertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsacmcertificate.go deleted file mode 100644 index ecf455abac..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsacmcertificate.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTlsAcmCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsacmcertificate.html -type VirtualNode_ListenerTlsAcmCertificate struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsacmcertificate.html#cfn-appmesh-virtualnode-listenertlsacmcertificate-certificatearn - CertificateArn *types.Value `json:"CertificateArn,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 *VirtualNode_ListenerTlsAcmCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlscertificate.go deleted file mode 100644 index 20163226a8..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlscertificate.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTlsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html -type VirtualNode_ListenerTlsCertificate struct { - - // ACM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html#cfn-appmesh-virtualnode-listenertlscertificate-acm - ACM *VirtualNode_ListenerTlsAcmCertificate `json:"ACM,omitempty"` - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html#cfn-appmesh-virtualnode-listenertlscertificate-file - File *VirtualNode_ListenerTlsFileCertificate `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlscertificate.html#cfn-appmesh-virtualnode-listenertlscertificate-sds - SDS *VirtualNode_ListenerTlsSdsCertificate `json:"SDS,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 *VirtualNode_ListenerTlsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlssdscertificate.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlssdscertificate.go deleted file mode 100644 index 64481d57ee..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlssdscertificate.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTlsSdsCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlssdscertificate.html -type VirtualNode_ListenerTlsSdsCertificate struct { - - // SecretName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlssdscertificate.html#cfn-appmesh-virtualnode-listenertlssdscertificate-secretname - SecretName *types.Value `json:"SecretName,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 *VirtualNode_ListenerTlsSdsCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontext.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontext.go deleted file mode 100644 index 674143b4f8..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontext.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTlsValidationContext AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsValidationContext) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontext.html -type VirtualNode_ListenerTlsValidationContext struct { - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontext.html#cfn-appmesh-virtualnode-listenertlsvalidationcontext-subjectalternativenames - SubjectAlternativeNames *VirtualNode_SubjectAlternativeNames `json:"SubjectAlternativeNames,omitempty"` - - // Trust AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontext.html#cfn-appmesh-virtualnode-listenertlsvalidationcontext-trust - Trust *VirtualNode_ListenerTlsValidationContextTrust `json:"Trust,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 *VirtualNode_ListenerTlsValidationContext) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsValidationContext" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontexttrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontexttrust.go deleted file mode 100644 index 5cba6376df..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsvalidationcontexttrust.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ListenerTlsValidationContextTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontexttrust.html -type VirtualNode_ListenerTlsValidationContextTrust struct { - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-listenertlsvalidationcontexttrust-file - File *VirtualNode_TlsValidationContextFileTrust `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-listenertlsvalidationcontexttrust-sds - SDS *VirtualNode_TlsValidationContextSdsTrust `json:"SDS,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 *VirtualNode_ListenerTlsValidationContextTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_logging.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_logging.go deleted file mode 100644 index a2ea9653b9..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_logging.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_Logging AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.Logging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-logging.html -type VirtualNode_Logging struct { - - // AccessLog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-logging.html#cfn-appmesh-virtualnode-logging-accesslog - AccessLog *VirtualNode_AccessLog `json:"AccessLog,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 *VirtualNode_Logging) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.Logging" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_outlierdetection.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_outlierdetection.go deleted file mode 100644 index 0c24a173aa..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_outlierdetection.go +++ /dev/null @@ -1,52 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_OutlierDetection AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.OutlierDetection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-outlierdetection.html -type VirtualNode_OutlierDetection struct { - - // BaseEjectionDuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-outlierdetection.html#cfn-appmesh-virtualnode-outlierdetection-baseejectionduration - BaseEjectionDuration *VirtualNode_Duration `json:"BaseEjectionDuration,omitempty"` - - // Interval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-outlierdetection.html#cfn-appmesh-virtualnode-outlierdetection-interval - Interval *VirtualNode_Duration `json:"Interval,omitempty"` - - // MaxEjectionPercent AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-outlierdetection.html#cfn-appmesh-virtualnode-outlierdetection-maxejectionpercent - MaxEjectionPercent *types.Value `json:"MaxEjectionPercent"` - - // MaxServerErrors AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-outlierdetection.html#cfn-appmesh-virtualnode-outlierdetection-maxservererrors - MaxServerErrors *types.Value `json:"MaxServerErrors"` - - // 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 *VirtualNode_OutlierDetection) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.OutlierDetection" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_portmapping.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_portmapping.go deleted file mode 100644 index 73ca03792c..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_portmapping.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_PortMapping AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.PortMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html -type VirtualNode_PortMapping struct { - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html#cfn-appmesh-virtualnode-portmapping-port - Port *types.Value `json:"Port"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-portmapping.html#cfn-appmesh-virtualnode-portmapping-protocol - Protocol *types.Value `json:"Protocol,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 *VirtualNode_PortMapping) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.PortMapping" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_servicediscovery.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_servicediscovery.go deleted file mode 100644 index 3e02769840..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_servicediscovery.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_ServiceDiscovery AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ServiceDiscovery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html -type VirtualNode_ServiceDiscovery struct { - - // AWSCloudMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-awscloudmap - AWSCloudMap *VirtualNode_AwsCloudMapServiceDiscovery `json:"AWSCloudMap,omitempty"` - - // DNS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-dns - DNS *VirtualNode_DnsServiceDiscovery `json:"DNS,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 *VirtualNode_ServiceDiscovery) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ServiceDiscovery" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenamematchers.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenamematchers.go deleted file mode 100644 index 48db4c779d..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenamematchers.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_SubjectAlternativeNameMatchers AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-subjectalternativenamematchers.html -type VirtualNode_SubjectAlternativeNameMatchers struct { - - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-subjectalternativenamematchers.html#cfn-appmesh-virtualnode-subjectalternativenamematchers-exact - Exact *types.Value `json:"Exact,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 *VirtualNode_SubjectAlternativeNameMatchers) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenames.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenames.go deleted file mode 100644 index 5c4a83c465..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_subjectalternativenames.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_SubjectAlternativeNames AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.SubjectAlternativeNames) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-subjectalternativenames.html -type VirtualNode_SubjectAlternativeNames struct { - - // Match AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-subjectalternativenames.html#cfn-appmesh-virtualnode-subjectalternativenames-match - Match *VirtualNode_SubjectAlternativeNameMatchers `json:"Match,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 *VirtualNode_SubjectAlternativeNames) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.SubjectAlternativeNames" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tcptimeout.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tcptimeout.go deleted file mode 100644 index f77f3c5f4f..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tcptimeout.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_TcpTimeout AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TcpTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tcptimeout.html -type VirtualNode_TcpTimeout struct { - - // Idle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tcptimeout.html#cfn-appmesh-virtualnode-tcptimeout-idle - Idle *VirtualNode_Duration `json:"Idle,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 *VirtualNode_TcpTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TcpTimeout" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontext.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontext.go deleted file mode 100644 index ec71d304ab..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontext.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_TlsValidationContext AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TlsValidationContext) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontext.html -type VirtualNode_TlsValidationContext struct { - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontext.html#cfn-appmesh-virtualnode-tlsvalidationcontext-subjectalternativenames - SubjectAlternativeNames *VirtualNode_SubjectAlternativeNames `json:"SubjectAlternativeNames,omitempty"` - - // Trust AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontext.html#cfn-appmesh-virtualnode-tlsvalidationcontext-trust - Trust *VirtualNode_TlsValidationContextTrust `json:"Trust,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 *VirtualNode_TlsValidationContext) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TlsValidationContext" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextacmtrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextacmtrust.go deleted file mode 100644 index 20ee5edc55..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextacmtrust.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_TlsValidationContextAcmTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html -type VirtualNode_TlsValidationContextAcmTrust struct { - - // CertificateAuthorityArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextacmtrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextacmtrust-certificateauthorityarns - CertificateAuthorityArns *types.Value `json:"CertificateAuthorityArns,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 *VirtualNode_TlsValidationContextAcmTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextfiletrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextfiletrust.go deleted file mode 100644 index 7252df4ec1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextfiletrust.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_TlsValidationContextFileTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextfiletrust.html -type VirtualNode_TlsValidationContextFileTrust struct { - - // CertificateChain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextfiletrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextfiletrust-certificatechain - CertificateChain *types.Value `json:"CertificateChain,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 *VirtualNode_TlsValidationContextFileTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontexttrust.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontexttrust.go deleted file mode 100644 index 3be337b0e3..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontexttrust.go +++ /dev/null @@ -1,45 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_TlsValidationContextTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TlsValidationContextTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html -type VirtualNode_TlsValidationContextTrust struct { - - // ACM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-tlsvalidationcontexttrust-acm - ACM *VirtualNode_TlsValidationContextAcmTrust `json:"ACM,omitempty"` - - // File AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-tlsvalidationcontexttrust-file - File *VirtualNode_TlsValidationContextFileTrust `json:"File,omitempty"` - - // SDS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontexttrust.html#cfn-appmesh-virtualnode-tlsvalidationcontexttrust-sds - SDS *VirtualNode_TlsValidationContextSdsTrust `json:"SDS,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 *VirtualNode_TlsValidationContextTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TlsValidationContextTrust" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodeconnectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodeconnectionpool.go deleted file mode 100644 index b7a87d71cc..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodeconnectionpool.go +++ /dev/null @@ -1,50 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_VirtualNodeConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodeconnectionpool.html -type VirtualNode_VirtualNodeConnectionPool struct { - - // GRPC AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodeconnectionpool.html#cfn-appmesh-virtualnode-virtualnodeconnectionpool-grpc - GRPC *VirtualNode_VirtualNodeGrpcConnectionPool `json:"GRPC,omitempty"` - - // HTTP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodeconnectionpool.html#cfn-appmesh-virtualnode-virtualnodeconnectionpool-http - HTTP *VirtualNode_VirtualNodeHttpConnectionPool `json:"HTTP,omitempty"` - - // HTTP2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodeconnectionpool.html#cfn-appmesh-virtualnode-virtualnodeconnectionpool-http2 - HTTP2 *VirtualNode_VirtualNodeHttp2ConnectionPool `json:"HTTP2,omitempty"` - - // TCP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodeconnectionpool.html#cfn-appmesh-virtualnode-virtualnodeconnectionpool-tcp - TCP *VirtualNode_VirtualNodeTcpConnectionPool `json:"TCP,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 *VirtualNode_VirtualNodeConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttp2connectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttp2connectionpool.go deleted file mode 100644 index 3c0637c4d3..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttp2connectionpool.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_VirtualNodeHttp2ConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodehttp2connectionpool.html -type VirtualNode_VirtualNodeHttp2ConnectionPool struct { - - // MaxRequests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodehttp2connectionpool.html#cfn-appmesh-virtualnode-virtualnodehttp2connectionpool-maxrequests - MaxRequests *types.Value `json:"MaxRequests"` - - // 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 *VirtualNode_VirtualNodeHttp2ConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttpconnectionpool.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttpconnectionpool.go deleted file mode 100644 index 76ae19566b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodehttpconnectionpool.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_VirtualNodeHttpConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodehttpconnectionpool.html -type VirtualNode_VirtualNodeHttpConnectionPool struct { - - // MaxConnections AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodehttpconnectionpool.html#cfn-appmesh-virtualnode-virtualnodehttpconnectionpool-maxconnections - MaxConnections *types.Value `json:"MaxConnections"` - - // MaxPendingRequests AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodehttpconnectionpool.html#cfn-appmesh-virtualnode-virtualnodehttpconnectionpool-maxpendingrequests - MaxPendingRequests *types.Value `json:"MaxPendingRequests,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 *VirtualNode_VirtualNodeHttpConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodespec.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodespec.go deleted file mode 100644 index ea5870d6c3..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodespec.go +++ /dev/null @@ -1,55 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_VirtualNodeSpec AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html -type VirtualNode_VirtualNodeSpec struct { - - // BackendDefaults AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-backenddefaults - BackendDefaults *VirtualNode_BackendDefaults `json:"BackendDefaults,omitempty"` - - // Backends AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-backends - Backends []VirtualNode_Backend `json:"Backends,omitempty"` - - // Listeners AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-listeners - Listeners []VirtualNode_Listener `json:"Listeners,omitempty"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-logging - Logging *VirtualNode_Logging `json:"Logging,omitempty"` - - // ServiceDiscovery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodespec.html#cfn-appmesh-virtualnode-virtualnodespec-servicediscovery - ServiceDiscovery *VirtualNode_ServiceDiscovery `json:"ServiceDiscovery,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 *VirtualNode_VirtualNodeSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeSpec" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualservicebackend.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualservicebackend.go deleted file mode 100644 index d0284b20f1..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualservicebackend.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualNode_VirtualServiceBackend AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualServiceBackend) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html -type VirtualNode_VirtualServiceBackend struct { - - // ClientPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html#cfn-appmesh-virtualnode-virtualservicebackend-clientpolicy - ClientPolicy *VirtualNode_ClientPolicy `json:"ClientPolicy,omitempty"` - - // VirtualServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.html#cfn-appmesh-virtualnode-virtualservicebackend-virtualservicename - VirtualServiceName *types.Value `json:"VirtualServiceName,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 *VirtualNode_VirtualServiceBackend) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualServiceBackend" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter.go deleted file mode 100644 index 71f95b01d4..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter.go +++ /dev/null @@ -1,129 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualRouter AWS CloudFormation Resource (AWS::AppMesh::VirtualRouter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html -type VirtualRouter struct { - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-spec - Spec *VirtualRouter_VirtualRouterSpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualRouterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualrouter.html#cfn-appmesh-virtualrouter-virtualroutername - VirtualRouterName *types.Value `json:"VirtualRouterName,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 *VirtualRouter) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualRouter" -} - -// 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 (r VirtualRouter) MarshalJSON() ([]byte, error) { - type Properties VirtualRouter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VirtualRouter) UnmarshalJSON(b []byte) error { - type Properties VirtualRouter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VirtualRouter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_portmapping.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_portmapping.go deleted file mode 100644 index 66fc4c1e03..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_portmapping.go +++ /dev/null @@ -1,42 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualRouter_PortMapping AWS CloudFormation Resource (AWS::AppMesh::VirtualRouter.PortMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-portmapping.html -type VirtualRouter_PortMapping struct { - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-portmapping.html#cfn-appmesh-virtualrouter-portmapping-port - Port *types.Value `json:"Port"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-portmapping.html#cfn-appmesh-virtualrouter-portmapping-protocol - Protocol *types.Value `json:"Protocol,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 *VirtualRouter_PortMapping) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualRouter.PortMapping" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterlistener.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterlistener.go deleted file mode 100644 index a6a0a90701..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterlistener.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualRouter_VirtualRouterListener AWS CloudFormation Resource (AWS::AppMesh::VirtualRouter.VirtualRouterListener) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-virtualrouterlistener.html -type VirtualRouter_VirtualRouterListener struct { - - // PortMapping AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-virtualrouterlistener.html#cfn-appmesh-virtualrouter-virtualrouterlistener-portmapping - PortMapping *VirtualRouter_PortMapping `json:"PortMapping,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 *VirtualRouter_VirtualRouterListener) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualRouter.VirtualRouterListener" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterspec.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterspec.go deleted file mode 100644 index e7dfebd8ca..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualrouter_virtualrouterspec.go +++ /dev/null @@ -1,35 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualRouter_VirtualRouterSpec AWS CloudFormation Resource (AWS::AppMesh::VirtualRouter.VirtualRouterSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-virtualrouterspec.html -type VirtualRouter_VirtualRouterSpec struct { - - // Listeners AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualrouter-virtualrouterspec.html#cfn-appmesh-virtualrouter-virtualrouterspec-listeners - Listeners []VirtualRouter_VirtualRouterListener `json:"Listeners,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 *VirtualRouter_VirtualRouterSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualRouter.VirtualRouterSpec" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice.go deleted file mode 100644 index 583e0b7007..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice.go +++ /dev/null @@ -1,129 +0,0 @@ -package appmesh - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualService AWS CloudFormation Resource (AWS::AppMesh::VirtualService) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html -type VirtualService struct { - - // MeshName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-meshname - MeshName *types.Value `json:"MeshName,omitempty"` - - // MeshOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-meshowner - MeshOwner *types.Value `json:"MeshOwner,omitempty"` - - // Spec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-spec - Spec *VirtualService_VirtualServiceSpec `json:"Spec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VirtualServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-virtualservice.html#cfn-appmesh-virtualservice-virtualservicename - VirtualServiceName *types.Value `json:"VirtualServiceName,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 *VirtualService) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualService" -} - -// 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 (r VirtualService) MarshalJSON() ([]byte, error) { - type Properties VirtualService - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VirtualService) UnmarshalJSON(b []byte) error { - type Properties VirtualService - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VirtualService(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualnodeserviceprovider.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualnodeserviceprovider.go deleted file mode 100644 index a874a40c0b..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualnodeserviceprovider.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualService_VirtualNodeServiceProvider AWS CloudFormation Resource (AWS::AppMesh::VirtualService.VirtualNodeServiceProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualnodeserviceprovider.html -type VirtualService_VirtualNodeServiceProvider struct { - - // VirtualNodeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualnodeserviceprovider.html#cfn-appmesh-virtualservice-virtualnodeserviceprovider-virtualnodename - VirtualNodeName *types.Value `json:"VirtualNodeName,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 *VirtualService_VirtualNodeServiceProvider) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualService.VirtualNodeServiceProvider" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualrouterserviceprovider.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualrouterserviceprovider.go deleted file mode 100644 index a2f37fd309..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualrouterserviceprovider.go +++ /dev/null @@ -1,37 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualService_VirtualRouterServiceProvider AWS CloudFormation Resource (AWS::AppMesh::VirtualService.VirtualRouterServiceProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualrouterserviceprovider.html -type VirtualService_VirtualRouterServiceProvider struct { - - // VirtualRouterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualrouterserviceprovider.html#cfn-appmesh-virtualservice-virtualrouterserviceprovider-virtualroutername - VirtualRouterName *types.Value `json:"VirtualRouterName,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 *VirtualService_VirtualRouterServiceProvider) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualService.VirtualRouterServiceProvider" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualserviceprovider.go b/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualserviceprovider.go deleted file mode 100644 index b1a487e161..0000000000 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualserviceprovider.go +++ /dev/null @@ -1,40 +0,0 @@ -package appmesh - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualService_VirtualServiceProvider AWS CloudFormation Resource (AWS::AppMesh::VirtualService.VirtualServiceProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualserviceprovider.html -type VirtualService_VirtualServiceProvider struct { - - // VirtualNode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualserviceprovider.html#cfn-appmesh-virtualservice-virtualserviceprovider-virtualnode - VirtualNode *VirtualService_VirtualNodeServiceProvider `json:"VirtualNode,omitempty"` - - // VirtualRouter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualserviceprovider.html#cfn-appmesh-virtualservice-virtualserviceprovider-virtualrouter - VirtualRouter *VirtualService_VirtualRouterServiceProvider `json:"VirtualRouter,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 *VirtualService_VirtualServiceProvider) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualService.VirtualServiceProvider" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service.go deleted file mode 100644 index 6c1af9163b..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service.go +++ /dev/null @@ -1,139 +0,0 @@ -package apprunner - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service AWS CloudFormation Resource (AWS::AppRunner::Service) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html -type Service struct { - - // AutoScalingConfigurationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-autoscalingconfigurationarn - AutoScalingConfigurationArn *types.Value `json:"AutoScalingConfigurationArn,omitempty"` - - // EncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-encryptionconfiguration - EncryptionConfiguration *Service_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // HealthCheckConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-healthcheckconfiguration - HealthCheckConfiguration *Service_HealthCheckConfiguration `json:"HealthCheckConfiguration,omitempty"` - - // InstanceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-instanceconfiguration - InstanceConfiguration *Service_InstanceConfiguration `json:"InstanceConfiguration,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` - - // SourceConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-sourceconfiguration - SourceConfiguration *Service_SourceConfiguration `json:"SourceConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html#cfn-apprunner-service-tags - Tags []cloudformation.Tag `json:"Tags,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 *Service) AWSCloudFormationType() string { - return "AWS::AppRunner::Service" -} - -// 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 (r Service) MarshalJSON() ([]byte, error) { - type Properties Service - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Service) UnmarshalJSON(b []byte) error { - type Properties Service - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Service(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_authenticationconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_authenticationconfiguration.go deleted file mode 100644 index 7cf8a4b6ed..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_authenticationconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_AuthenticationConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.AuthenticationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html -type Service_AuthenticationConfiguration struct { - - // AccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html#cfn-apprunner-service-authenticationconfiguration-accessrolearn - AccessRoleArn *types.Value `json:"AccessRoleArn,omitempty"` - - // ConnectionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html#cfn-apprunner-service-authenticationconfiguration-connectionarn - ConnectionArn *types.Value `json:"ConnectionArn,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 *Service_AuthenticationConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.AuthenticationConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfiguration.go deleted file mode 100644 index c2ffe6af30..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_CodeConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.CodeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfiguration.html -type Service_CodeConfiguration struct { - - // CodeConfigurationValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfiguration.html#cfn-apprunner-service-codeconfiguration-codeconfigurationvalues - CodeConfigurationValues *Service_CodeConfigurationValues `json:"CodeConfigurationValues,omitempty"` - - // ConfigurationSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfiguration.html#cfn-apprunner-service-codeconfiguration-configurationsource - ConfigurationSource *types.Value `json:"ConfigurationSource,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 *Service_CodeConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.CodeConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfigurationvalues.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfigurationvalues.go deleted file mode 100644 index 683f5802f7..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_codeconfigurationvalues.go +++ /dev/null @@ -1,57 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_CodeConfigurationValues AWS CloudFormation Resource (AWS::AppRunner::Service.CodeConfigurationValues) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html -type Service_CodeConfigurationValues struct { - - // BuildCommand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-buildcommand - BuildCommand *types.Value `json:"BuildCommand,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-port - Port *types.Value `json:"Port,omitempty"` - - // Runtime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtime - Runtime *types.Value `json:"Runtime,omitempty"` - - // RuntimeEnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-runtimeenvironmentvariables - RuntimeEnvironmentVariables []Service_KeyValuePair `json:"RuntimeEnvironmentVariables,omitempty"` - - // StartCommand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfigurationvalues.html#cfn-apprunner-service-codeconfigurationvalues-startcommand - StartCommand *types.Value `json:"StartCommand,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 *Service_CodeConfigurationValues) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.CodeConfigurationValues" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_coderepository.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_coderepository.go deleted file mode 100644 index fb9a310bbc..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_coderepository.go +++ /dev/null @@ -1,47 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_CodeRepository AWS CloudFormation Resource (AWS::AppRunner::Service.CodeRepository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html -type Service_CodeRepository struct { - - // CodeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-codeconfiguration - CodeConfiguration *Service_CodeConfiguration `json:"CodeConfiguration,omitempty"` - - // RepositoryUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-repositoryurl - RepositoryUrl *types.Value `json:"RepositoryUrl,omitempty"` - - // SourceCodeVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html#cfn-apprunner-service-coderepository-sourcecodeversion - SourceCodeVersion *Service_SourceCodeVersion `json:"SourceCodeVersion,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 *Service_CodeRepository) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.CodeRepository" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_encryptionconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_encryptionconfiguration.go deleted file mode 100644 index 86df9f4063..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_encryptionconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_EncryptionConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.EncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-encryptionconfiguration.html -type Service_EncryptionConfiguration struct { - - // KmsKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-encryptionconfiguration.html#cfn-apprunner-service-encryptionconfiguration-kmskey - KmsKey *types.Value `json:"KmsKey,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 *Service_EncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.EncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_healthcheckconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_healthcheckconfiguration.go deleted file mode 100644 index 9c14171d6e..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_healthcheckconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_HealthCheckConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.HealthCheckConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html -type Service_HealthCheckConfiguration struct { - - // HealthyThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-healthythreshold - HealthyThreshold *types.Value `json:"HealthyThreshold,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-interval - Interval *types.Value `json:"Interval,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-path - Path *types.Value `json:"Path,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-timeout - Timeout *types.Value `json:"Timeout,omitempty"` - - // UnhealthyThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-healthcheckconfiguration.html#cfn-apprunner-service-healthcheckconfiguration-unhealthythreshold - UnhealthyThreshold *types.Value `json:"UnhealthyThreshold,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 *Service_HealthCheckConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.HealthCheckConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imageconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imageconfiguration.go deleted file mode 100644 index bf88295458..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imageconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_ImageConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.ImageConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html -type Service_ImageConfiguration struct { - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port - Port *types.Value `json:"Port,omitempty"` - - // RuntimeEnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-runtimeenvironmentvariables - RuntimeEnvironmentVariables []Service_KeyValuePair `json:"RuntimeEnvironmentVariables,omitempty"` - - // StartCommand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-startcommand - StartCommand *types.Value `json:"StartCommand,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 *Service_ImageConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.ImageConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imagerepository.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imagerepository.go deleted file mode 100644 index 0c6e2fc938..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_imagerepository.go +++ /dev/null @@ -1,47 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_ImageRepository AWS CloudFormation Resource (AWS::AppRunner::Service.ImageRepository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html -type Service_ImageRepository struct { - - // ImageConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html#cfn-apprunner-service-imagerepository-imageconfiguration - ImageConfiguration *Service_ImageConfiguration `json:"ImageConfiguration,omitempty"` - - // ImageIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html#cfn-apprunner-service-imagerepository-imageidentifier - ImageIdentifier *types.Value `json:"ImageIdentifier,omitempty"` - - // ImageRepositoryType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html#cfn-apprunner-service-imagerepository-imagerepositorytype - ImageRepositoryType *types.Value `json:"ImageRepositoryType,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 *Service_ImageRepository) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.ImageRepository" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_instanceconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_instanceconfiguration.go deleted file mode 100644 index 87a813625f..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_instanceconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_InstanceConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.InstanceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html -type Service_InstanceConfiguration struct { - - // Cpu AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-cpu - Cpu *types.Value `json:"Cpu,omitempty"` - - // InstanceRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-instancerolearn - InstanceRoleArn *types.Value `json:"InstanceRoleArn,omitempty"` - - // Memory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-instanceconfiguration.html#cfn-apprunner-service-instanceconfiguration-memory - Memory *types.Value `json:"Memory,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 *Service_InstanceConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.InstanceConfiguration" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_keyvaluepair.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_keyvaluepair.go deleted file mode 100644 index 70c9a84550..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_keyvaluepair.go +++ /dev/null @@ -1,42 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_KeyValuePair AWS CloudFormation Resource (AWS::AppRunner::Service.KeyValuePair) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-keyvaluepair.html -type Service_KeyValuePair struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-keyvaluepair.html#cfn-apprunner-service-keyvaluepair-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-keyvaluepair.html#cfn-apprunner-service-keyvaluepair-value - Value *types.Value `json:"Value,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 *Service_KeyValuePair) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.KeyValuePair" -} diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourceconfiguration.go b/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourceconfiguration.go deleted file mode 100644 index 72d49cbc94..0000000000 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourceconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package apprunner - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_SourceConfiguration AWS CloudFormation Resource (AWS::AppRunner::Service.SourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html -type Service_SourceConfiguration struct { - - // AuthenticationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html#cfn-apprunner-service-sourceconfiguration-authenticationconfiguration - AuthenticationConfiguration *Service_AuthenticationConfiguration `json:"AuthenticationConfiguration,omitempty"` - - // AutoDeploymentsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html#cfn-apprunner-service-sourceconfiguration-autodeploymentsenabled - AutoDeploymentsEnabled *types.Value `json:"AutoDeploymentsEnabled,omitempty"` - - // CodeRepository AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html#cfn-apprunner-service-sourceconfiguration-coderepository - CodeRepository *Service_CodeRepository `json:"CodeRepository,omitempty"` - - // ImageRepository AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html#cfn-apprunner-service-sourceconfiguration-imagerepository - ImageRepository *Service_ImageRepository `json:"ImageRepository,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 *Service_SourceConfiguration) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.SourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock.go b/pkg/goformation/cloudformation/appstream/aws-appstream-appblock.go deleted file mode 100644 index cbb609a7ae..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock.go +++ /dev/null @@ -1,134 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppBlock AWS CloudFormation Resource (AWS::AppStream::AppBlock) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html -type AppBlock struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-description - Description *types.Value `json:"Description,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-name - Name *types.Value `json:"Name,omitempty"` - - // SetupScriptDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-setupscriptdetails - SetupScriptDetails *AppBlock_ScriptDetails `json:"SetupScriptDetails,omitempty"` - - // SourceS3Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-sources3location - SourceS3Location *AppBlock_S3Location `json:"SourceS3Location,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-tags - Tags []cloudformation.Tag `json:"Tags,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 *AppBlock) AWSCloudFormationType() string { - return "AWS::AppStream::AppBlock" -} - -// 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 (r AppBlock) MarshalJSON() ([]byte, error) { - type Properties AppBlock - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AppBlock) UnmarshalJSON(b []byte) error { - type Properties AppBlock - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AppBlock(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_s3location.go b/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_s3location.go deleted file mode 100644 index 3f465f2c30..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_s3location.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppBlock_S3Location AWS CloudFormation Resource (AWS::AppStream::AppBlock.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html -type AppBlock_S3Location struct { - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html#cfn-appstream-appblock-s3location-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html#cfn-appstream-appblock-s3location-s3key - S3Key *types.Value `json:"S3Key,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 *AppBlock_S3Location) AWSCloudFormationType() string { - return "AWS::AppStream::AppBlock.S3Location" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_scriptdetails.go b/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_scriptdetails.go deleted file mode 100644 index 70d6b2959c..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-appblock_scriptdetails.go +++ /dev/null @@ -1,52 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppBlock_ScriptDetails AWS CloudFormation Resource (AWS::AppStream::AppBlock.ScriptDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html -type AppBlock_ScriptDetails struct { - - // ExecutableParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-executableparameters - ExecutableParameters *types.Value `json:"ExecutableParameters,omitempty"` - - // ExecutablePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-executablepath - ExecutablePath *types.Value `json:"ExecutablePath,omitempty"` - - // ScriptS3Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-scripts3location - ScriptS3Location *AppBlock_S3Location `json:"ScriptS3Location,omitempty"` - - // TimeoutInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-scriptdetails.html#cfn-appstream-appblock-scriptdetails-timeoutinseconds - TimeoutInSeconds *types.Value `json:"TimeoutInSeconds"` - - // 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 *AppBlock_ScriptDetails) AWSCloudFormationType() string { - return "AWS::AppStream::AppBlock.ScriptDetails" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-application.go b/pkg/goformation/cloudformation/appstream/aws-appstream-application.go deleted file mode 100644 index ded46d3743..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-application.go +++ /dev/null @@ -1,164 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::AppStream::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html -type Application struct { - - // AppBlockArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-appblockarn - AppBlockArn *types.Value `json:"AppBlockArn,omitempty"` - - // AttributesToDelete AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-attributestodelete - AttributesToDelete *types.Value `json:"AttributesToDelete,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-description - Description *types.Value `json:"Description,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // IconS3Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-icons3location - IconS3Location *Application_S3Location `json:"IconS3Location,omitempty"` - - // InstanceFamilies AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-instancefamilies - InstanceFamilies *types.Value `json:"InstanceFamilies,omitempty"` - - // LaunchParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-launchparameters - LaunchParameters *types.Value `json:"LaunchParameters,omitempty"` - - // LaunchPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-launchpath - LaunchPath *types.Value `json:"LaunchPath,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-name - Name *types.Value `json:"Name,omitempty"` - - // Platforms AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-platforms - Platforms *types.Value `json:"Platforms,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // WorkingDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html#cfn-appstream-application-workingdirectory - WorkingDirectory *types.Value `json:"WorkingDirectory,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 *Application) AWSCloudFormationType() string { - return "AWS::AppStream::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-application_s3location.go b/pkg/goformation/cloudformation/appstream/aws-appstream-application_s3location.go deleted file mode 100644 index 62584b9b2c..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-application_s3location.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_S3Location AWS CloudFormation Resource (AWS::AppStream::Application.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html -type Application_S3Location struct { - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3key - S3Key *types.Value `json:"S3Key,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 *Application_S3Location) AWSCloudFormationType() string { - return "AWS::AppStream::Application.S3Location" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-applicationfleetassociation.go b/pkg/goformation/cloudformation/appstream/aws-appstream-applicationfleetassociation.go deleted file mode 100644 index 946630327e..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-applicationfleetassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationFleetAssociation AWS CloudFormation Resource (AWS::AppStream::ApplicationFleetAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html -type ApplicationFleetAssociation struct { - - // ApplicationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html#cfn-appstream-applicationfleetassociation-applicationarn - ApplicationArn *types.Value `json:"ApplicationArn,omitempty"` - - // FleetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-applicationfleetassociation.html#cfn-appstream-applicationfleetassociation-fleetname - FleetName *types.Value `json:"FleetName,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 *ApplicationFleetAssociation) AWSCloudFormationType() string { - return "AWS::AppStream::ApplicationFleetAssociation" -} - -// 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 (r ApplicationFleetAssociation) MarshalJSON() ([]byte, error) { - type Properties ApplicationFleetAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationFleetAssociation) UnmarshalJSON(b []byte) error { - type Properties ApplicationFleetAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationFleetAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig.go b/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig.go deleted file mode 100644 index 0cc16f9e71..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig.go +++ /dev/null @@ -1,118 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DirectoryConfig AWS CloudFormation Resource (AWS::AppStream::DirectoryConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html -type DirectoryConfig struct { - - // DirectoryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-directoryname - DirectoryName *types.Value `json:"DirectoryName,omitempty"` - - // OrganizationalUnitDistinguishedNames AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-organizationalunitdistinguishednames - OrganizationalUnitDistinguishedNames *types.Value `json:"OrganizationalUnitDistinguishedNames,omitempty"` - - // ServiceAccountCredentials AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-directoryconfig.html#cfn-appstream-directoryconfig-serviceaccountcredentials - ServiceAccountCredentials *DirectoryConfig_ServiceAccountCredentials `json:"ServiceAccountCredentials,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 *DirectoryConfig) AWSCloudFormationType() string { - return "AWS::AppStream::DirectoryConfig" -} - -// 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 (r DirectoryConfig) MarshalJSON() ([]byte, error) { - type Properties DirectoryConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DirectoryConfig) UnmarshalJSON(b []byte) error { - type Properties DirectoryConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DirectoryConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig_serviceaccountcredentials.go b/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig_serviceaccountcredentials.go deleted file mode 100644 index 0195863a80..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-directoryconfig_serviceaccountcredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DirectoryConfig_ServiceAccountCredentials AWS CloudFormation Resource (AWS::AppStream::DirectoryConfig.ServiceAccountCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html -type DirectoryConfig_ServiceAccountCredentials struct { - - // AccountName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html#cfn-appstream-directoryconfig-serviceaccountcredentials-accountname - AccountName *types.Value `json:"AccountName,omitempty"` - - // AccountPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-directoryconfig-serviceaccountcredentials.html#cfn-appstream-directoryconfig-serviceaccountcredentials-accountpassword - AccountPassword *types.Value `json:"AccountPassword,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 *DirectoryConfig_ServiceAccountCredentials) AWSCloudFormationType() string { - return "AWS::AppStream::DirectoryConfig.ServiceAccountCredentials" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet.go b/pkg/goformation/cloudformation/appstream/aws-appstream-fleet.go deleted file mode 100644 index a0cbee410c..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet.go +++ /dev/null @@ -1,204 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet AWS CloudFormation Resource (AWS::AppStream::Fleet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html -type Fleet struct { - - // ComputeCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-computecapacity - ComputeCapacity *Fleet_ComputeCapacity `json:"ComputeCapacity,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-description - Description *types.Value `json:"Description,omitempty"` - - // DisconnectTimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-disconnecttimeoutinseconds - DisconnectTimeoutInSeconds *types.Value `json:"DisconnectTimeoutInSeconds,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // DomainJoinInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-domainjoininfo - DomainJoinInfo *Fleet_DomainJoinInfo `json:"DomainJoinInfo,omitempty"` - - // EnableDefaultInternetAccess AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-enabledefaultinternetaccess - EnableDefaultInternetAccess *types.Value `json:"EnableDefaultInternetAccess,omitempty"` - - // FleetType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-fleettype - FleetType *types.Value `json:"FleetType,omitempty"` - - // IamRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-iamrolearn - IamRoleArn *types.Value `json:"IamRoleArn,omitempty"` - - // IdleDisconnectTimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-idledisconnecttimeoutinseconds - IdleDisconnectTimeoutInSeconds *types.Value `json:"IdleDisconnectTimeoutInSeconds,omitempty"` - - // ImageArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-imagearn - ImageArn *types.Value `json:"ImageArn,omitempty"` - - // ImageName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-imagename - ImageName *types.Value `json:"ImageName,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // MaxConcurrentSessions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-maxconcurrentsessions - MaxConcurrentSessions *types.Value `json:"MaxConcurrentSessions,omitempty"` - - // MaxUserDurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-maxuserdurationinseconds - MaxUserDurationInSeconds *types.Value `json:"MaxUserDurationInSeconds,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-name - Name *types.Value `json:"Name,omitempty"` - - // Platform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-platform - Platform *types.Value `json:"Platform,omitempty"` - - // StreamView AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-streamview - StreamView *types.Value `json:"StreamView,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UsbDeviceFilterStrings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-usbdevicefilterstrings - UsbDeviceFilterStrings *types.Value `json:"UsbDeviceFilterStrings,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-fleet.html#cfn-appstream-fleet-vpcconfig - VpcConfig *Fleet_VpcConfig `json:"VpcConfig,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 *Fleet) AWSCloudFormationType() string { - return "AWS::AppStream::Fleet" -} - -// 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 (r Fleet) MarshalJSON() ([]byte, error) { - type Properties Fleet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Fleet) UnmarshalJSON(b []byte) error { - type Properties Fleet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Fleet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_computecapacity.go b/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_computecapacity.go deleted file mode 100644 index d05e49b9a3..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_computecapacity.go +++ /dev/null @@ -1,37 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_ComputeCapacity AWS CloudFormation Resource (AWS::AppStream::Fleet.ComputeCapacity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html -type Fleet_ComputeCapacity struct { - - // DesiredInstances AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-computecapacity.html#cfn-appstream-fleet-computecapacity-desiredinstances - DesiredInstances *types.Value `json:"DesiredInstances"` - - // 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 *Fleet_ComputeCapacity) AWSCloudFormationType() string { - return "AWS::AppStream::Fleet.ComputeCapacity" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_domainjoininfo.go b/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_domainjoininfo.go deleted file mode 100644 index a855726153..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_domainjoininfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_DomainJoinInfo AWS CloudFormation Resource (AWS::AppStream::Fleet.DomainJoinInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-domainjoininfo.html -type Fleet_DomainJoinInfo struct { - - // DirectoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-domainjoininfo.html#cfn-appstream-fleet-domainjoininfo-directoryname - DirectoryName *types.Value `json:"DirectoryName,omitempty"` - - // OrganizationalUnitDistinguishedName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-domainjoininfo.html#cfn-appstream-fleet-domainjoininfo-organizationalunitdistinguishedname - OrganizationalUnitDistinguishedName *types.Value `json:"OrganizationalUnitDistinguishedName,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 *Fleet_DomainJoinInfo) AWSCloudFormationType() string { - return "AWS::AppStream::Fleet.DomainJoinInfo" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_vpcconfig.go b/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_vpcconfig.go deleted file mode 100644 index 8a267b7012..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-fleet_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_VpcConfig AWS CloudFormation Resource (AWS::AppStream::Fleet.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-vpcconfig.html -type Fleet_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-vpcconfig.html#cfn-appstream-fleet-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-fleet-vpcconfig.html#cfn-appstream-fleet-vpcconfig-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *Fleet_VpcConfig) AWSCloudFormationType() string { - return "AWS::AppStream::Fleet.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_accessendpoint.go b/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_accessendpoint.go deleted file mode 100644 index 27b8134598..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_accessendpoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageBuilder_AccessEndpoint AWS CloudFormation Resource (AWS::AppStream::ImageBuilder.AccessEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-accessendpoint.html -type ImageBuilder_AccessEndpoint struct { - - // EndpointType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-accessendpoint.html#cfn-appstream-imagebuilder-accessendpoint-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // VpceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-accessendpoint.html#cfn-appstream-imagebuilder-accessendpoint-vpceid - VpceId *types.Value `json:"VpceId,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 *ImageBuilder_AccessEndpoint) AWSCloudFormationType() string { - return "AWS::AppStream::ImageBuilder.AccessEndpoint" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_domainjoininfo.go b/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_domainjoininfo.go deleted file mode 100644 index 22fe0324d7..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_domainjoininfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageBuilder_DomainJoinInfo AWS CloudFormation Resource (AWS::AppStream::ImageBuilder.DomainJoinInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-domainjoininfo.html -type ImageBuilder_DomainJoinInfo struct { - - // DirectoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-domainjoininfo.html#cfn-appstream-imagebuilder-domainjoininfo-directoryname - DirectoryName *types.Value `json:"DirectoryName,omitempty"` - - // OrganizationalUnitDistinguishedName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-domainjoininfo.html#cfn-appstream-imagebuilder-domainjoininfo-organizationalunitdistinguishedname - OrganizationalUnitDistinguishedName *types.Value `json:"OrganizationalUnitDistinguishedName,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 *ImageBuilder_DomainJoinInfo) AWSCloudFormationType() string { - return "AWS::AppStream::ImageBuilder.DomainJoinInfo" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_vpcconfig.go b/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_vpcconfig.go deleted file mode 100644 index 217b813272..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageBuilder_VpcConfig AWS CloudFormation Resource (AWS::AppStream::ImageBuilder.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-vpcconfig.html -type ImageBuilder_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-vpcconfig.html#cfn-appstream-imagebuilder-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-vpcconfig.html#cfn-appstream-imagebuilder-vpcconfig-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *ImageBuilder_VpcConfig) AWSCloudFormationType() string { - return "AWS::AppStream::ImageBuilder.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stack.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stack.go deleted file mode 100644 index 8a9575fcee..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stack.go +++ /dev/null @@ -1,169 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack AWS CloudFormation Resource (AWS::AppStream::Stack) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html -type Stack struct { - - // AccessEndpoints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-accessendpoints - AccessEndpoints []Stack_AccessEndpoint `json:"AccessEndpoints,omitempty"` - - // ApplicationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-applicationsettings - ApplicationSettings *Stack_ApplicationSettings `json:"ApplicationSettings,omitempty"` - - // AttributesToDelete AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-attributestodelete - AttributesToDelete *types.Value `json:"AttributesToDelete,omitempty"` - - // DeleteStorageConnectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-deletestorageconnectors - DeleteStorageConnectors *types.Value `json:"DeleteStorageConnectors,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-description - Description *types.Value `json:"Description,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // EmbedHostDomains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-embedhostdomains - EmbedHostDomains *types.Value `json:"EmbedHostDomains,omitempty"` - - // FeedbackURL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-feedbackurl - FeedbackURL *types.Value `json:"FeedbackURL,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-name - Name *types.Value `json:"Name,omitempty"` - - // RedirectURL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-redirecturl - RedirectURL *types.Value `json:"RedirectURL,omitempty"` - - // StorageConnectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-storageconnectors - StorageConnectors []Stack_StorageConnector `json:"StorageConnectors,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html#cfn-appstream-stack-usersettings - UserSettings []Stack_UserSetting `json:"UserSettings,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 *Stack) AWSCloudFormationType() string { - return "AWS::AppStream::Stack" -} - -// 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 (r Stack) MarshalJSON() ([]byte, error) { - type Properties Stack - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Stack) UnmarshalJSON(b []byte) error { - type Properties Stack - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Stack(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_accessendpoint.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stack_accessendpoint.go deleted file mode 100644 index 6057251ff9..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_accessendpoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_AccessEndpoint AWS CloudFormation Resource (AWS::AppStream::Stack.AccessEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-accessendpoint.html -type Stack_AccessEndpoint struct { - - // EndpointType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-accessendpoint.html#cfn-appstream-stack-accessendpoint-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // VpceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-accessendpoint.html#cfn-appstream-stack-accessendpoint-vpceid - VpceId *types.Value `json:"VpceId,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 *Stack_AccessEndpoint) AWSCloudFormationType() string { - return "AWS::AppStream::Stack.AccessEndpoint" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_applicationsettings.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stack_applicationsettings.go deleted file mode 100644 index e688ca15f2..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_applicationsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_ApplicationSettings AWS CloudFormation Resource (AWS::AppStream::Stack.ApplicationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-applicationsettings.html -type Stack_ApplicationSettings struct { - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-applicationsettings.html#cfn-appstream-stack-applicationsettings-enabled - Enabled *types.Value `json:"Enabled"` - - // SettingsGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-applicationsettings.html#cfn-appstream-stack-applicationsettings-settingsgroup - SettingsGroup *types.Value `json:"SettingsGroup,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 *Stack_ApplicationSettings) AWSCloudFormationType() string { - return "AWS::AppStream::Stack.ApplicationSettings" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_storageconnector.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stack_storageconnector.go deleted file mode 100644 index 0f86a2cb38..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_storageconnector.go +++ /dev/null @@ -1,47 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_StorageConnector AWS CloudFormation Resource (AWS::AppStream::Stack.StorageConnector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-storageconnector.html -type Stack_StorageConnector struct { - - // ConnectorType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-storageconnector.html#cfn-appstream-stack-storageconnector-connectortype - ConnectorType *types.Value `json:"ConnectorType,omitempty"` - - // Domains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-storageconnector.html#cfn-appstream-stack-storageconnector-domains - Domains *types.Value `json:"Domains,omitempty"` - - // ResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-storageconnector.html#cfn-appstream-stack-storageconnector-resourceidentifier - ResourceIdentifier *types.Value `json:"ResourceIdentifier,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 *Stack_StorageConnector) AWSCloudFormationType() string { - return "AWS::AppStream::Stack.StorageConnector" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_usersetting.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stack_usersetting.go deleted file mode 100644 index 4a4f27e32d..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stack_usersetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package appstream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_UserSetting AWS CloudFormation Resource (AWS::AppStream::Stack.UserSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-usersetting.html -type Stack_UserSetting struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-usersetting.html#cfn-appstream-stack-usersetting-action - Action *types.Value `json:"Action,omitempty"` - - // Permission AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-usersetting.html#cfn-appstream-stack-usersetting-permission - Permission *types.Value `json:"Permission,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 *Stack_UserSetting) AWSCloudFormationType() string { - return "AWS::AppStream::Stack.UserSetting" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stackfleetassociation.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stackfleetassociation.go deleted file mode 100644 index 448075d4f2..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stackfleetassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StackFleetAssociation AWS CloudFormation Resource (AWS::AppStream::StackFleetAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackfleetassociation.html -type StackFleetAssociation struct { - - // FleetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackfleetassociation.html#cfn-appstream-stackfleetassociation-fleetname - FleetName *types.Value `json:"FleetName,omitempty"` - - // StackName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackfleetassociation.html#cfn-appstream-stackfleetassociation-stackname - StackName *types.Value `json:"StackName,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 *StackFleetAssociation) AWSCloudFormationType() string { - return "AWS::AppStream::StackFleetAssociation" -} - -// 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 (r StackFleetAssociation) MarshalJSON() ([]byte, error) { - type Properties StackFleetAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StackFleetAssociation) UnmarshalJSON(b []byte) error { - type Properties StackFleetAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StackFleetAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-stackuserassociation.go b/pkg/goformation/cloudformation/appstream/aws-appstream-stackuserassociation.go deleted file mode 100644 index ad4ade0670..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-stackuserassociation.go +++ /dev/null @@ -1,123 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StackUserAssociation AWS CloudFormation Resource (AWS::AppStream::StackUserAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html -type StackUserAssociation struct { - - // AuthenticationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // SendEmailNotification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-sendemailnotification - SendEmailNotification *types.Value `json:"SendEmailNotification,omitempty"` - - // StackName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-stackname - StackName *types.Value `json:"StackName,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stackuserassociation.html#cfn-appstream-stackuserassociation-username - UserName *types.Value `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 *StackUserAssociation) AWSCloudFormationType() string { - return "AWS::AppStream::StackUserAssociation" -} - -// 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 (r StackUserAssociation) MarshalJSON() ([]byte, error) { - type Properties StackUserAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StackUserAssociation) UnmarshalJSON(b []byte) error { - type Properties StackUserAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StackUserAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-user.go b/pkg/goformation/cloudformation/appstream/aws-appstream-user.go deleted file mode 100644 index d729280764..0000000000 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-user.go +++ /dev/null @@ -1,128 +0,0 @@ -package appstream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User AWS CloudFormation Resource (AWS::AppStream::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html -type User struct { - - // AuthenticationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // FirstName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-firstname - FirstName *types.Value `json:"FirstName,omitempty"` - - // LastName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-lastname - LastName *types.Value `json:"LastName,omitempty"` - - // MessageAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-messageaction - MessageAction *types.Value `json:"MessageAction,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-user.html#cfn-appstream-user-username - UserName *types.Value `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 *User) AWSCloudFormationType() string { - return "AWS::AppStream::User" -} - -// 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 (r User) MarshalJSON() ([]byte, error) { - type Properties User - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *User) UnmarshalJSON(b []byte) error { - type Properties User - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = User(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-apicache.go b/pkg/goformation/cloudformation/appsync/aws-appsync-apicache.go deleted file mode 100644 index 3656daacc1..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-apicache.go +++ /dev/null @@ -1,133 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiCache AWS CloudFormation Resource (AWS::AppSync::ApiCache) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html -type ApiCache struct { - - // ApiCachingBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-apicachingbehavior - ApiCachingBehavior *types.Value `json:"ApiCachingBehavior,omitempty"` - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // AtRestEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-atrestencryptionenabled - AtRestEncryptionEnabled *types.Value `json:"AtRestEncryptionEnabled,omitempty"` - - // TransitEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-transitencryptionenabled - TransitEncryptionEnabled *types.Value `json:"TransitEncryptionEnabled,omitempty"` - - // Ttl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-ttl - Ttl *types.Value `json:"Ttl"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apicache.html#cfn-appsync-apicache-type - Type *types.Value `json:"Type,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 *ApiCache) AWSCloudFormationType() string { - return "AWS::AppSync::ApiCache" -} - -// 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 (r ApiCache) MarshalJSON() ([]byte, error) { - type Properties ApiCache - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApiCache) UnmarshalJSON(b []byte) error { - type Properties ApiCache - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApiCache(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-apikey.go b/pkg/goformation/cloudformation/appsync/aws-appsync-apikey.go deleted file mode 100644 index 2e5b6ab255..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-apikey.go +++ /dev/null @@ -1,123 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApiKey AWS CloudFormation Resource (AWS::AppSync::ApiKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html -type ApiKey struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // ApiKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-apikeyid - ApiKeyId *types.Value `json:"ApiKeyId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-description - Description *types.Value `json:"Description,omitempty"` - - // Expires AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-apikey.html#cfn-appsync-apikey-expires - Expires *types.Value `json:"Expires,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 *ApiKey) AWSCloudFormationType() string { - return "AWS::AppSync::ApiKey" -} - -// 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 (r ApiKey) MarshalJSON() ([]byte, error) { - type Properties ApiKey - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApiKey) UnmarshalJSON(b []byte) error { - type Properties ApiKey - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApiKey(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource.go deleted file mode 100644 index 05b58bca34..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource.go +++ /dev/null @@ -1,158 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource AWS CloudFormation Resource (AWS::AppSync::DataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html -type DataSource struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-description - Description *types.Value `json:"Description,omitempty"` - - // DynamoDBConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-dynamodbconfig - DynamoDBConfig *DataSource_DynamoDBConfig `json:"DynamoDBConfig,omitempty"` - - // ElasticsearchConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-elasticsearchconfig - ElasticsearchConfig *DataSource_ElasticsearchConfig `json:"ElasticsearchConfig,omitempty"` - - // HttpConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-httpconfig - HttpConfig *DataSource_HttpConfig `json:"HttpConfig,omitempty"` - - // LambdaConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-lambdaconfig - LambdaConfig *DataSource_LambdaConfig `json:"LambdaConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-name - Name *types.Value `json:"Name,omitempty"` - - // OpenSearchServiceConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-opensearchserviceconfig - OpenSearchServiceConfig *DataSource_OpenSearchServiceConfig `json:"OpenSearchServiceConfig,omitempty"` - - // RelationalDatabaseConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-relationaldatabaseconfig - RelationalDatabaseConfig *DataSource_RelationalDatabaseConfig `json:"RelationalDatabaseConfig,omitempty"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#cfn-appsync-datasource-type - Type *types.Value `json:"Type,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 *DataSource) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource" -} - -// 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 (r DataSource) MarshalJSON() ([]byte, error) { - type Properties DataSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataSource) UnmarshalJSON(b []byte) error { - type Properties DataSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_authorizationconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_authorizationconfig.go deleted file mode 100644 index 54314cdaab..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_authorizationconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AuthorizationConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.AuthorizationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html -type DataSource_AuthorizationConfig struct { - - // AuthorizationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html#cfn-appsync-datasource-authorizationconfig-authorizationtype - AuthorizationType *types.Value `json:"AuthorizationType,omitempty"` - - // AwsIamConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html#cfn-appsync-datasource-authorizationconfig-awsiamconfig - AwsIamConfig *DataSource_AwsIamConfig `json:"AwsIamConfig,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 *DataSource_AuthorizationConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.AuthorizationConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_awsiamconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_awsiamconfig.go deleted file mode 100644 index 5283ecb01c..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_awsiamconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AwsIamConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.AwsIamConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html -type DataSource_AwsIamConfig struct { - - // SigningRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html#cfn-appsync-datasource-awsiamconfig-signingregion - SigningRegion *types.Value `json:"SigningRegion,omitempty"` - - // SigningServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html#cfn-appsync-datasource-awsiamconfig-signingservicename - SigningServiceName *types.Value `json:"SigningServiceName,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 *DataSource_AwsIamConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.AwsIamConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_deltasyncconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_deltasyncconfig.go deleted file mode 100644 index 2c810a4b20..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_deltasyncconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DeltaSyncConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.DeltaSyncConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html -type DataSource_DeltaSyncConfig struct { - - // BaseTableTTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html#cfn-appsync-datasource-deltasyncconfig-basetablettl - BaseTableTTL *types.Value `json:"BaseTableTTL,omitempty"` - - // DeltaSyncTableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html#cfn-appsync-datasource-deltasyncconfig-deltasynctablename - DeltaSyncTableName *types.Value `json:"DeltaSyncTableName,omitempty"` - - // DeltaSyncTableTTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html#cfn-appsync-datasource-deltasyncconfig-deltasynctablettl - DeltaSyncTableTTL *types.Value `json:"DeltaSyncTableTTL,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 *DataSource_DeltaSyncConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.DeltaSyncConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_dynamodbconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_dynamodbconfig.go deleted file mode 100644 index d02fbbc54d..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_dynamodbconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DynamoDBConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.DynamoDBConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html -type DataSource_DynamoDBConfig struct { - - // AwsRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // DeltaSyncConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-deltasyncconfig - DeltaSyncConfig *DataSource_DeltaSyncConfig `json:"DeltaSyncConfig,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // UseCallerCredentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-usecallercredentials - UseCallerCredentials *types.Value `json:"UseCallerCredentials,omitempty"` - - // Versioned AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-versioned - Versioned *types.Value `json:"Versioned,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 *DataSource_DynamoDBConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.DynamoDBConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_elasticsearchconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_elasticsearchconfig.go deleted file mode 100644 index f8478e48f2..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_elasticsearchconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ElasticsearchConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.ElasticsearchConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html -type DataSource_ElasticsearchConfig struct { - - // AwsRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html#cfn-appsync-datasource-elasticsearchconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // Endpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html#cfn-appsync-datasource-elasticsearchconfig-endpoint - Endpoint *types.Value `json:"Endpoint,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 *DataSource_ElasticsearchConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.ElasticsearchConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_httpconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_httpconfig.go deleted file mode 100644 index 02bbdc02d7..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_httpconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_HttpConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.HttpConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html -type DataSource_HttpConfig struct { - - // AuthorizationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html#cfn-appsync-datasource-httpconfig-authorizationconfig - AuthorizationConfig *DataSource_AuthorizationConfig `json:"AuthorizationConfig,omitempty"` - - // Endpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html#cfn-appsync-datasource-httpconfig-endpoint - Endpoint *types.Value `json:"Endpoint,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 *DataSource_HttpConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.HttpConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_opensearchserviceconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_opensearchserviceconfig.go deleted file mode 100644 index 2125caf5d2..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_opensearchserviceconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_OpenSearchServiceConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.OpenSearchServiceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html -type DataSource_OpenSearchServiceConfig struct { - - // AwsRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html#cfn-appsync-datasource-opensearchserviceconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // Endpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html#cfn-appsync-datasource-opensearchserviceconfig-endpoint - Endpoint *types.Value `json:"Endpoint,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 *DataSource_OpenSearchServiceConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.OpenSearchServiceConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_rdshttpendpointconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_rdshttpendpointconfig.go deleted file mode 100644 index adac4295de..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_rdshttpendpointconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_RdsHttpEndpointConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.RdsHttpEndpointConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html -type DataSource_RdsHttpEndpointConfig struct { - - // AwsRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html#cfn-appsync-datasource-rdshttpendpointconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // AwsSecretStoreArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html#cfn-appsync-datasource-rdshttpendpointconfig-awssecretstorearn - AwsSecretStoreArn *types.Value `json:"AwsSecretStoreArn,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html#cfn-appsync-datasource-rdshttpendpointconfig-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DbClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html#cfn-appsync-datasource-rdshttpendpointconfig-dbclusteridentifier - DbClusterIdentifier *types.Value `json:"DbClusterIdentifier,omitempty"` - - // Schema AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html#cfn-appsync-datasource-rdshttpendpointconfig-schema - Schema *types.Value `json:"Schema,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 *DataSource_RdsHttpEndpointConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.RdsHttpEndpointConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_relationaldatabaseconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_relationaldatabaseconfig.go deleted file mode 100644 index 55cc0cb6cd..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_relationaldatabaseconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_RelationalDatabaseConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.RelationalDatabaseConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html -type DataSource_RelationalDatabaseConfig struct { - - // RdsHttpEndpointConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html#cfn-appsync-datasource-relationaldatabaseconfig-rdshttpendpointconfig - RdsHttpEndpointConfig *DataSource_RdsHttpEndpointConfig `json:"RdsHttpEndpointConfig,omitempty"` - - // RelationalDatabaseSourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html#cfn-appsync-datasource-relationaldatabaseconfig-relationaldatabasesourcetype - RelationalDatabaseSourceType *types.Value `json:"RelationalDatabaseSourceType,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 *DataSource_RelationalDatabaseConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.RelationalDatabaseConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration.go b/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration.go deleted file mode 100644 index fc824d2d2f..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration.go +++ /dev/null @@ -1,153 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionConfiguration AWS CloudFormation Resource (AWS::AppSync::FunctionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html -type FunctionConfiguration struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // DataSourceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-datasourcename - DataSourceName *types.Value `json:"DataSourceName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // FunctionVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-functionversion - FunctionVersion *types.Value `json:"FunctionVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // RequestMappingTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplate - RequestMappingTemplate *types.Value `json:"RequestMappingTemplate,omitempty"` - - // RequestMappingTemplateS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-requestmappingtemplates3location - RequestMappingTemplateS3Location *types.Value `json:"RequestMappingTemplateS3Location,omitempty"` - - // ResponseMappingTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplate - ResponseMappingTemplate *types.Value `json:"ResponseMappingTemplate,omitempty"` - - // ResponseMappingTemplateS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-responsemappingtemplates3location - ResponseMappingTemplateS3Location *types.Value `json:"ResponseMappingTemplateS3Location,omitempty"` - - // SyncConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-functionconfiguration.html#cfn-appsync-functionconfiguration-syncconfig - SyncConfig *FunctionConfiguration_SyncConfig `json:"SyncConfig,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 *FunctionConfiguration) AWSCloudFormationType() string { - return "AWS::AppSync::FunctionConfiguration" -} - -// 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 (r FunctionConfiguration) MarshalJSON() ([]byte, error) { - type Properties FunctionConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FunctionConfiguration) UnmarshalJSON(b []byte) error { - type Properties FunctionConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FunctionConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_lambdaconflicthandlerconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_lambdaconflicthandlerconfig.go deleted file mode 100644 index 382a07614d..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_lambdaconflicthandlerconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionConfiguration_LambdaConflictHandlerConfig AWS CloudFormation Resource (AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-lambdaconflicthandlerconfig.html -type FunctionConfiguration_LambdaConflictHandlerConfig struct { - - // LambdaConflictHandlerArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-lambdaconflicthandlerconfig.html#cfn-appsync-functionconfiguration-lambdaconflicthandlerconfig-lambdaconflicthandlerarn - LambdaConflictHandlerArn *types.Value `json:"LambdaConflictHandlerArn,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 *FunctionConfiguration_LambdaConflictHandlerConfig) AWSCloudFormationType() string { - return "AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_syncconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_syncconfig.go deleted file mode 100644 index 0630f251e7..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-functionconfiguration_syncconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionConfiguration_SyncConfig AWS CloudFormation Resource (AWS::AppSync::FunctionConfiguration.SyncConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-syncconfig.html -type FunctionConfiguration_SyncConfig struct { - - // ConflictDetection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-syncconfig.html#cfn-appsync-functionconfiguration-syncconfig-conflictdetection - ConflictDetection *types.Value `json:"ConflictDetection,omitempty"` - - // ConflictHandler AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-syncconfig.html#cfn-appsync-functionconfiguration-syncconfig-conflicthandler - ConflictHandler *types.Value `json:"ConflictHandler,omitempty"` - - // LambdaConflictHandlerConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-functionconfiguration-syncconfig.html#cfn-appsync-functionconfiguration-syncconfig-lambdaconflicthandlerconfig - LambdaConflictHandlerConfig *FunctionConfiguration_LambdaConflictHandlerConfig `json:"LambdaConflictHandlerConfig,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 *FunctionConfiguration_SyncConfig) AWSCloudFormationType() string { - return "AWS::AppSync::FunctionConfiguration.SyncConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi.go deleted file mode 100644 index 4c4873f571..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi.go +++ /dev/null @@ -1,148 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi AWS CloudFormation Resource (AWS::AppSync::GraphQLApi) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html -type GraphQLApi struct { - - // AdditionalAuthenticationProviders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-additionalauthenticationproviders - AdditionalAuthenticationProviders *GraphQLApi_AdditionalAuthenticationProviders `json:"AdditionalAuthenticationProviders,omitempty"` - - // AuthenticationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // LambdaAuthorizerConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-lambdaauthorizerconfig - LambdaAuthorizerConfig *GraphQLApi_LambdaAuthorizerConfig `json:"LambdaAuthorizerConfig,omitempty"` - - // LogConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-logconfig - LogConfig *GraphQLApi_LogConfig `json:"LogConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-name - Name *types.Value `json:"Name,omitempty"` - - // OpenIDConnectConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-openidconnectconfig - OpenIDConnectConfig *GraphQLApi_OpenIDConnectConfig `json:"OpenIDConnectConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-tags - Tags *GraphQLApi_Tags `json:"Tags,omitempty"` - - // UserPoolConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-userpoolconfig - UserPoolConfig *GraphQLApi_UserPoolConfig `json:"UserPoolConfig,omitempty"` - - // XrayEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html#cfn-appsync-graphqlapi-xrayenabled - XrayEnabled *types.Value `json:"XrayEnabled,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 *GraphQLApi) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi" -} - -// 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 (r GraphQLApi) MarshalJSON() ([]byte, error) { - type Properties GraphQLApi - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GraphQLApi) UnmarshalJSON(b []byte) error { - type Properties GraphQLApi - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GraphQLApi(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationprovider.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationprovider.go deleted file mode 100644 index c5750ed269..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationprovider.go +++ /dev/null @@ -1,52 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_AdditionalAuthenticationProvider AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html -type GraphQLApi_AdditionalAuthenticationProvider struct { - - // AuthenticationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html#cfn-appsync-graphqlapi-additionalauthenticationprovider-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // LambdaAuthorizerConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html#cfn-appsync-graphqlapi-additionalauthenticationprovider-lambdaauthorizerconfig - LambdaAuthorizerConfig *GraphQLApi_LambdaAuthorizerConfig `json:"LambdaAuthorizerConfig,omitempty"` - - // OpenIDConnectConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html#cfn-appsync-graphqlapi-additionalauthenticationprovider-openidconnectconfig - OpenIDConnectConfig *GraphQLApi_OpenIDConnectConfig `json:"OpenIDConnectConfig,omitempty"` - - // UserPoolConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html#cfn-appsync-graphqlapi-additionalauthenticationprovider-userpoolconfig - UserPoolConfig *GraphQLApi_CognitoUserPoolConfig `json:"UserPoolConfig,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 *GraphQLApi_AdditionalAuthenticationProvider) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationproviders.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationproviders.go deleted file mode 100644 index 3a3a6374f0..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_additionalauthenticationproviders.go +++ /dev/null @@ -1,30 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_AdditionalAuthenticationProviders AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationproviders.html -type GraphQLApi_AdditionalAuthenticationProviders struct { - - // 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 *GraphQLApi_AdditionalAuthenticationProviders) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_cognitouserpoolconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_cognitouserpoolconfig.go deleted file mode 100644 index ee948ecc12..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_cognitouserpoolconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_CognitoUserPoolConfig AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.CognitoUserPoolConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-cognitouserpoolconfig.html -type GraphQLApi_CognitoUserPoolConfig struct { - - // AppIdClientRegex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-cognitouserpoolconfig.html#cfn-appsync-graphqlapi-cognitouserpoolconfig-appidclientregex - AppIdClientRegex *types.Value `json:"AppIdClientRegex,omitempty"` - - // AwsRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-cognitouserpoolconfig.html#cfn-appsync-graphqlapi-cognitouserpoolconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-cognitouserpoolconfig.html#cfn-appsync-graphqlapi-cognitouserpoolconfig-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *GraphQLApi_CognitoUserPoolConfig) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.CognitoUserPoolConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_lambdaauthorizerconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_lambdaauthorizerconfig.go deleted file mode 100644 index 7683aead10..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_lambdaauthorizerconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_LambdaAuthorizerConfig AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.html -type GraphQLApi_LambdaAuthorizerConfig struct { - - // AuthorizerResultTtlInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.html#cfn-appsync-graphqlapi-lambdaauthorizerconfig-authorizerresultttlinseconds - AuthorizerResultTtlInSeconds *types.Value `json:"AuthorizerResultTtlInSeconds,omitempty"` - - // AuthorizerUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.html#cfn-appsync-graphqlapi-lambdaauthorizerconfig-authorizeruri - AuthorizerUri *types.Value `json:"AuthorizerUri,omitempty"` - - // IdentityValidationExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.html#cfn-appsync-graphqlapi-lambdaauthorizerconfig-identityvalidationexpression - IdentityValidationExpression *types.Value `json:"IdentityValidationExpression,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 *GraphQLApi_LambdaAuthorizerConfig) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_logconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_logconfig.go deleted file mode 100644 index c7788ad6cf..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_logconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_LogConfig AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.LogConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html -type GraphQLApi_LogConfig struct { - - // CloudWatchLogsRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-cloudwatchlogsrolearn - CloudWatchLogsRoleArn *types.Value `json:"CloudWatchLogsRoleArn,omitempty"` - - // ExcludeVerboseContent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-excludeverbosecontent - ExcludeVerboseContent *types.Value `json:"ExcludeVerboseContent,omitempty"` - - // FieldLogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-fieldloglevel - FieldLogLevel *types.Value `json:"FieldLogLevel,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 *GraphQLApi_LogConfig) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.LogConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_openidconnectconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_openidconnectconfig.go deleted file mode 100644 index 74b26b72c2..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_openidconnectconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_OpenIDConnectConfig AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.OpenIDConnectConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html -type GraphQLApi_OpenIDConnectConfig struct { - - // AuthTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html#cfn-appsync-graphqlapi-openidconnectconfig-authttl - AuthTTL *types.Value `json:"AuthTTL,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html#cfn-appsync-graphqlapi-openidconnectconfig-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // IatTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html#cfn-appsync-graphqlapi-openidconnectconfig-iatttl - IatTTL *types.Value `json:"IatTTL,omitempty"` - - // Issuer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html#cfn-appsync-graphqlapi-openidconnectconfig-issuer - Issuer *types.Value `json:"Issuer,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 *GraphQLApi_OpenIDConnectConfig) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.OpenIDConnectConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_tags.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_tags.go deleted file mode 100644 index d4a43b8305..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_tags.go +++ /dev/null @@ -1,30 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_Tags AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-tags.html -type GraphQLApi_Tags struct { - - // 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 *GraphQLApi_Tags) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.Tags" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_userpoolconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_userpoolconfig.go deleted file mode 100644 index 6cc413aef5..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlapi_userpoolconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLApi_UserPoolConfig AWS CloudFormation Resource (AWS::AppSync::GraphQLApi.UserPoolConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html -type GraphQLApi_UserPoolConfig struct { - - // AppIdClientRegex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html#cfn-appsync-graphqlapi-userpoolconfig-appidclientregex - AppIdClientRegex *types.Value `json:"AppIdClientRegex,omitempty"` - - // AwsRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html#cfn-appsync-graphqlapi-userpoolconfig-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // DefaultAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html#cfn-appsync-graphqlapi-userpoolconfig-defaultaction - DefaultAction *types.Value `json:"DefaultAction,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html#cfn-appsync-graphqlapi-userpoolconfig-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *GraphQLApi_UserPoolConfig) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLApi.UserPoolConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlschema.go b/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlschema.go deleted file mode 100644 index ea13b4732a..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-graphqlschema.go +++ /dev/null @@ -1,118 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GraphQLSchema AWS CloudFormation Resource (AWS::AppSync::GraphQLSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlschema.html -type GraphQLSchema struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlschema.html#cfn-appsync-graphqlschema-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // Definition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlschema.html#cfn-appsync-graphqlschema-definition - Definition *types.Value `json:"Definition,omitempty"` - - // DefinitionS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlschema.html#cfn-appsync-graphqlschema-definitions3location - DefinitionS3Location *types.Value `json:"DefinitionS3Location,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 *GraphQLSchema) AWSCloudFormationType() string { - return "AWS::AppSync::GraphQLSchema" -} - -// 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 (r GraphQLSchema) MarshalJSON() ([]byte, error) { - type Properties GraphQLSchema - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GraphQLSchema) UnmarshalJSON(b []byte) error { - type Properties GraphQLSchema - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GraphQLSchema(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver.go b/pkg/goformation/cloudformation/appsync/aws-appsync-resolver.go deleted file mode 100644 index 1ecc367d16..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver.go +++ /dev/null @@ -1,163 +0,0 @@ -package appsync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resolver AWS CloudFormation Resource (AWS::AppSync::Resolver) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html -type Resolver struct { - - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // CachingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-cachingconfig - CachingConfig *Resolver_CachingConfig `json:"CachingConfig,omitempty"` - - // DataSourceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-datasourcename - DataSourceName *types.Value `json:"DataSourceName,omitempty"` - - // FieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-fieldname - FieldName *types.Value `json:"FieldName,omitempty"` - - // Kind AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-kind - Kind *types.Value `json:"Kind,omitempty"` - - // PipelineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-pipelineconfig - PipelineConfig *Resolver_PipelineConfig `json:"PipelineConfig,omitempty"` - - // RequestMappingTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-requestmappingtemplate - RequestMappingTemplate *types.Value `json:"RequestMappingTemplate,omitempty"` - - // RequestMappingTemplateS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-requestmappingtemplates3location - RequestMappingTemplateS3Location *types.Value `json:"RequestMappingTemplateS3Location,omitempty"` - - // ResponseMappingTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-responsemappingtemplate - ResponseMappingTemplate *types.Value `json:"ResponseMappingTemplate,omitempty"` - - // ResponseMappingTemplateS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-responsemappingtemplates3location - ResponseMappingTemplateS3Location *types.Value `json:"ResponseMappingTemplateS3Location,omitempty"` - - // SyncConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-syncconfig - SyncConfig *Resolver_SyncConfig `json:"SyncConfig,omitempty"` - - // TypeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#cfn-appsync-resolver-typename - TypeName *types.Value `json:"TypeName,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 *Resolver) AWSCloudFormationType() string { - return "AWS::AppSync::Resolver" -} - -// 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 (r Resolver) MarshalJSON() ([]byte, error) { - type Properties Resolver - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Resolver) UnmarshalJSON(b []byte) error { - type Properties Resolver - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Resolver(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_cachingconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_cachingconfig.go deleted file mode 100644 index 3ddf882820..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_cachingconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resolver_CachingConfig AWS CloudFormation Resource (AWS::AppSync::Resolver.CachingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html -type Resolver_CachingConfig struct { - - // CachingKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-cachingkeys - CachingKeys *types.Value `json:"CachingKeys,omitempty"` - - // Ttl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html#cfn-appsync-resolver-cachingconfig-ttl - Ttl *types.Value `json:"Ttl,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 *Resolver_CachingConfig) AWSCloudFormationType() string { - return "AWS::AppSync::Resolver.CachingConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_lambdaconflicthandlerconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_lambdaconflicthandlerconfig.go deleted file mode 100644 index ccd3ca2897..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_lambdaconflicthandlerconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resolver_LambdaConflictHandlerConfig AWS CloudFormation Resource (AWS::AppSync::Resolver.LambdaConflictHandlerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html -type Resolver_LambdaConflictHandlerConfig struct { - - // LambdaConflictHandlerArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html#cfn-appsync-resolver-lambdaconflicthandlerconfig-lambdaconflicthandlerarn - LambdaConflictHandlerArn *types.Value `json:"LambdaConflictHandlerArn,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 *Resolver_LambdaConflictHandlerConfig) AWSCloudFormationType() string { - return "AWS::AppSync::Resolver.LambdaConflictHandlerConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_pipelineconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_pipelineconfig.go deleted file mode 100644 index 68880e3ddd..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_pipelineconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resolver_PipelineConfig AWS CloudFormation Resource (AWS::AppSync::Resolver.PipelineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html -type Resolver_PipelineConfig struct { - - // Functions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html#cfn-appsync-resolver-pipelineconfig-functions - Functions *types.Value `json:"Functions,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 *Resolver_PipelineConfig) AWSCloudFormationType() string { - return "AWS::AppSync::Resolver.PipelineConfig" -} diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_syncconfig.go b/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_syncconfig.go deleted file mode 100644 index f443feaf2f..0000000000 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-resolver_syncconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package appsync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resolver_SyncConfig AWS CloudFormation Resource (AWS::AppSync::Resolver.SyncConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html -type Resolver_SyncConfig struct { - - // ConflictDetection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html#cfn-appsync-resolver-syncconfig-conflictdetection - ConflictDetection *types.Value `json:"ConflictDetection,omitempty"` - - // ConflictHandler AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html#cfn-appsync-resolver-syncconfig-conflicthandler - ConflictHandler *types.Value `json:"ConflictHandler,omitempty"` - - // LambdaConflictHandlerConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html#cfn-appsync-resolver-syncconfig-lambdaconflicthandlerconfig - LambdaConflictHandlerConfig *Resolver_LambdaConflictHandlerConfig `json:"LambdaConflictHandlerConfig,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 *Resolver_SyncConfig) AWSCloudFormationType() string { - return "AWS::AppSync::Resolver.SyncConfig" -} diff --git a/pkg/goformation/cloudformation/aps/aws-aps-rulegroupsnamespace.go b/pkg/goformation/cloudformation/aps/aws-aps-rulegroupsnamespace.go deleted file mode 100644 index baa0bd8222..0000000000 --- a/pkg/goformation/cloudformation/aps/aws-aps-rulegroupsnamespace.go +++ /dev/null @@ -1,124 +0,0 @@ -package aps - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroupsNamespace AWS CloudFormation Resource (AWS::APS::RuleGroupsNamespace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html -type RuleGroupsNamespace struct { - - // Data AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-data - Data *types.Value `json:"Data,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Workspace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html#cfn-aps-rulegroupsnamespace-workspace - Workspace *types.Value `json:"Workspace,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 *RuleGroupsNamespace) AWSCloudFormationType() string { - return "AWS::APS::RuleGroupsNamespace" -} - -// 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 (r RuleGroupsNamespace) MarshalJSON() ([]byte, error) { - type Properties RuleGroupsNamespace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RuleGroupsNamespace) UnmarshalJSON(b []byte) error { - type Properties RuleGroupsNamespace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RuleGroupsNamespace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ask/alexa-ask-skill.go b/pkg/goformation/cloudformation/ask/alexa-ask-skill.go deleted file mode 100644 index a6c0002648..0000000000 --- a/pkg/goformation/cloudformation/ask/alexa-ask-skill.go +++ /dev/null @@ -1,118 +0,0 @@ -package ask - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Skill AWS CloudFormation Resource (Alexa::ASK::Skill) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html -type Skill struct { - - // AuthenticationConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-authenticationconfiguration - AuthenticationConfiguration *Skill_AuthenticationConfiguration `json:"AuthenticationConfiguration,omitempty"` - - // SkillPackage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-skillpackage - SkillPackage *Skill_SkillPackage `json:"SkillPackage,omitempty"` - - // VendorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ask-skill.html#cfn-ask-skill-vendorid - VendorId *types.Value `json:"VendorId,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 *Skill) AWSCloudFormationType() string { - return "Alexa::ASK::Skill" -} - -// 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 (r Skill) MarshalJSON() ([]byte, error) { - type Properties Skill - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Skill) UnmarshalJSON(b []byte) error { - type Properties Skill - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Skill(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ask/alexa-ask-skill_authenticationconfiguration.go b/pkg/goformation/cloudformation/ask/alexa-ask-skill_authenticationconfiguration.go deleted file mode 100644 index 9b174e2651..0000000000 --- a/pkg/goformation/cloudformation/ask/alexa-ask-skill_authenticationconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ask - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Skill_AuthenticationConfiguration AWS CloudFormation Resource (Alexa::ASK::Skill.AuthenticationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html -type Skill_AuthenticationConfiguration struct { - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // RefreshToken AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html#cfn-ask-skill-authenticationconfiguration-refreshtoken - RefreshToken *types.Value `json:"RefreshToken,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 *Skill_AuthenticationConfiguration) AWSCloudFormationType() string { - return "Alexa::ASK::Skill.AuthenticationConfiguration" -} diff --git a/pkg/goformation/cloudformation/ask/alexa-ask-skill_skillpackage.go b/pkg/goformation/cloudformation/ask/alexa-ask-skill_skillpackage.go deleted file mode 100644 index 608967fe29..0000000000 --- a/pkg/goformation/cloudformation/ask/alexa-ask-skill_skillpackage.go +++ /dev/null @@ -1,57 +0,0 @@ -package ask - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Skill_SkillPackage AWS CloudFormation Resource (Alexa::ASK::Skill.SkillPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html -type Skill_SkillPackage struct { - - // Overrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-overrides - Overrides *Skill_Overrides `json:"Overrides,omitempty"` - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3BucketRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3bucketrole - S3BucketRole *types.Value `json:"S3BucketRole,omitempty"` - - // S3Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3key - S3Key *types.Value `json:"S3Key,omitempty"` - - // S3ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html#cfn-ask-skill-skillpackage-s3objectversion - S3ObjectVersion *types.Value `json:"S3ObjectVersion,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 *Skill_SkillPackage) AWSCloudFormationType() string { - return "Alexa::ASK::Skill.SkillPackage" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-datacatalog.go b/pkg/goformation/cloudformation/athena/aws-athena-datacatalog.go deleted file mode 100644 index 4084682e5f..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-datacatalog.go +++ /dev/null @@ -1,129 +0,0 @@ -package athena - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataCatalog AWS CloudFormation Resource (AWS::Athena::DataCatalog) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html -type DataCatalog struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-parameters - Parameters map[string]*types.Value `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-datacatalog.html#cfn-athena-datacatalog-type - Type *types.Value `json:"Type,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 *DataCatalog) AWSCloudFormationType() string { - return "AWS::Athena::DataCatalog" -} - -// 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 (r DataCatalog) MarshalJSON() ([]byte, error) { - type Properties DataCatalog - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataCatalog) UnmarshalJSON(b []byte) error { - type Properties DataCatalog - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataCatalog(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-datacatalog_tags.go b/pkg/goformation/cloudformation/athena/aws-athena-datacatalog_tags.go deleted file mode 100644 index e99c46736d..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-datacatalog_tags.go +++ /dev/null @@ -1,36 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataCatalog_Tags AWS CloudFormation Resource (AWS::Athena::DataCatalog.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-datacatalog-tags.html -type DataCatalog_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-datacatalog-tags.html#cfn-athena-datacatalog-tags-tags - Tags []cloudformation.Tag `json:"Tags,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 *DataCatalog_Tags) AWSCloudFormationType() string { - return "AWS::Athena::DataCatalog.Tags" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-namedquery.go b/pkg/goformation/cloudformation/athena/aws-athena-namedquery.go deleted file mode 100644 index 2a51675c08..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-namedquery.go +++ /dev/null @@ -1,128 +0,0 @@ -package athena - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NamedQuery AWS CloudFormation Resource (AWS::Athena::NamedQuery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html -type NamedQuery struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html#cfn-athena-namedquery-database - Database *types.Value `json:"Database,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html#cfn-athena-namedquery-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html#cfn-athena-namedquery-name - Name *types.Value `json:"Name,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html#cfn-athena-namedquery-querystring - QueryString *types.Value `json:"QueryString,omitempty"` - - // WorkGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-namedquery.html#cfn-athena-namedquery-workgroup - WorkGroup *types.Value `json:"WorkGroup,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 *NamedQuery) AWSCloudFormationType() string { - return "AWS::Athena::NamedQuery" -} - -// 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 (r NamedQuery) MarshalJSON() ([]byte, error) { - type Properties NamedQuery - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NamedQuery) UnmarshalJSON(b []byte) error { - type Properties NamedQuery - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = NamedQuery(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-preparedstatement.go b/pkg/goformation/cloudformation/athena/aws-athena-preparedstatement.go deleted file mode 100644 index 6aa0d14cb2..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-preparedstatement.go +++ /dev/null @@ -1,123 +0,0 @@ -package athena - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PreparedStatement AWS CloudFormation Resource (AWS::Athena::PreparedStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html -type PreparedStatement struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-description - Description *types.Value `json:"Description,omitempty"` - - // QueryStatement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-querystatement - QueryStatement *types.Value `json:"QueryStatement,omitempty"` - - // StatementName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-statementname - StatementName *types.Value `json:"StatementName,omitempty"` - - // WorkGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-preparedstatement.html#cfn-athena-preparedstatement-workgroup - WorkGroup *types.Value `json:"WorkGroup,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 *PreparedStatement) AWSCloudFormationType() string { - return "AWS::Athena::PreparedStatement" -} - -// 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 (r PreparedStatement) MarshalJSON() ([]byte, error) { - type Properties PreparedStatement - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PreparedStatement) UnmarshalJSON(b []byte) error { - type Properties PreparedStatement - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PreparedStatement(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup.go deleted file mode 100644 index 7a4c5ce481..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup.go +++ /dev/null @@ -1,139 +0,0 @@ -package athena - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup AWS CloudFormation Resource (AWS::Athena::WorkGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html -type WorkGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-name - Name *types.Value `json:"Name,omitempty"` - - // RecursiveDeleteOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-recursivedeleteoption - RecursiveDeleteOption *types.Value `json:"RecursiveDeleteOption,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // WorkGroupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-workgroupconfiguration - WorkGroupConfiguration *WorkGroup_WorkGroupConfiguration `json:"WorkGroupConfiguration,omitempty"` - - // WorkGroupConfigurationUpdates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html#cfn-athena-workgroup-workgroupconfigurationupdates - WorkGroupConfigurationUpdates *WorkGroup_WorkGroupConfigurationUpdates `json:"WorkGroupConfigurationUpdates,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 *WorkGroup) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup" -} - -// 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 (r WorkGroup) MarshalJSON() ([]byte, error) { - type Properties WorkGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WorkGroup) UnmarshalJSON(b []byte) error { - type Properties WorkGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WorkGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_encryptionconfiguration.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_encryptionconfiguration.go deleted file mode 100644 index 2fb8874c23..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_encryptionconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_EncryptionConfiguration AWS CloudFormation Resource (AWS::Athena::WorkGroup.EncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html -type WorkGroup_EncryptionConfiguration struct { - - // EncryptionOption AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html#cfn-athena-workgroup-encryptionconfiguration-encryptionoption - EncryptionOption *types.Value `json:"EncryptionOption,omitempty"` - - // KmsKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html#cfn-athena-workgroup-encryptionconfiguration-kmskey - KmsKey *types.Value `json:"KmsKey,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 *WorkGroup_EncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.EncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_engineversion.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_engineversion.go deleted file mode 100644 index e64bcd17f2..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_engineversion.go +++ /dev/null @@ -1,42 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_EngineVersion AWS CloudFormation Resource (AWS::Athena::WorkGroup.EngineVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-engineversion.html -type WorkGroup_EngineVersion struct { - - // EffectiveEngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-engineversion.html#cfn-athena-workgroup-engineversion-effectiveengineversion - EffectiveEngineVersion *types.Value `json:"EffectiveEngineVersion,omitempty"` - - // SelectedEngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-engineversion.html#cfn-athena-workgroup-engineversion-selectedengineversion - SelectedEngineVersion *types.Value `json:"SelectedEngineVersion,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 *WorkGroup_EngineVersion) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.EngineVersion" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfiguration.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfiguration.go deleted file mode 100644 index 33cfaa6f7b..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_ResultConfiguration AWS CloudFormation Resource (AWS::Athena::WorkGroup.ResultConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html -type WorkGroup_ResultConfiguration struct { - - // EncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-encryptionconfiguration - EncryptionConfiguration *WorkGroup_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // OutputLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation - OutputLocation *types.Value `json:"OutputLocation,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 *WorkGroup_ResultConfiguration) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.ResultConfiguration" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfigurationupdates.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfigurationupdates.go deleted file mode 100644 index 51786fec34..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_resultconfigurationupdates.go +++ /dev/null @@ -1,52 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_ResultConfigurationUpdates AWS CloudFormation Resource (AWS::Athena::WorkGroup.ResultConfigurationUpdates) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html -type WorkGroup_ResultConfigurationUpdates struct { - - // EncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-encryptionconfiguration - EncryptionConfiguration *WorkGroup_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // OutputLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-outputlocation - OutputLocation *types.Value `json:"OutputLocation,omitempty"` - - // RemoveEncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeencryptionconfiguration - RemoveEncryptionConfiguration *types.Value `json:"RemoveEncryptionConfiguration,omitempty"` - - // RemoveOutputLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeoutputlocation - RemoveOutputLocation *types.Value `json:"RemoveOutputLocation,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 *WorkGroup_ResultConfigurationUpdates) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.ResultConfigurationUpdates" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_tags.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_tags.go deleted file mode 100644 index efa27aa419..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_tags.go +++ /dev/null @@ -1,36 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_Tags AWS CloudFormation Resource (AWS::Athena::WorkGroup.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-tags.html -type WorkGroup_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-tags.html#cfn-athena-workgroup-tags-tags - Tags []cloudformation.Tag `json:"Tags,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 *WorkGroup_Tags) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.Tags" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfiguration.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfiguration.go deleted file mode 100644 index 13e01ddff8..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_WorkGroupConfiguration AWS CloudFormation Resource (AWS::Athena::WorkGroup.WorkGroupConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html -type WorkGroup_WorkGroupConfiguration struct { - - // BytesScannedCutoffPerQuery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-bytesscannedcutoffperquery - BytesScannedCutoffPerQuery *types.Value `json:"BytesScannedCutoffPerQuery,omitempty"` - - // EnforceWorkGroupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration - EnforceWorkGroupConfiguration *types.Value `json:"EnforceWorkGroupConfiguration,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-engineversion - EngineVersion *WorkGroup_EngineVersion `json:"EngineVersion,omitempty"` - - // PublishCloudWatchMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-publishcloudwatchmetricsenabled - PublishCloudWatchMetricsEnabled *types.Value `json:"PublishCloudWatchMetricsEnabled,omitempty"` - - // RequesterPaysEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-requesterpaysenabled - RequesterPaysEnabled *types.Value `json:"RequesterPaysEnabled,omitempty"` - - // ResultConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-resultconfiguration - ResultConfiguration *WorkGroup_ResultConfiguration `json:"ResultConfiguration,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 *WorkGroup_WorkGroupConfiguration) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.WorkGroupConfiguration" -} diff --git a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfigurationupdates.go b/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfigurationupdates.go deleted file mode 100644 index 3331c01d04..0000000000 --- a/pkg/goformation/cloudformation/athena/aws-athena-workgroup_workgroupconfigurationupdates.go +++ /dev/null @@ -1,67 +0,0 @@ -package athena - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WorkGroup_WorkGroupConfigurationUpdates AWS CloudFormation Resource (AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html -type WorkGroup_WorkGroupConfigurationUpdates struct { - - // BytesScannedCutoffPerQuery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-bytesscannedcutoffperquery - BytesScannedCutoffPerQuery *types.Value `json:"BytesScannedCutoffPerQuery,omitempty"` - - // EnforceWorkGroupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-enforceworkgroupconfiguration - EnforceWorkGroupConfiguration *types.Value `json:"EnforceWorkGroupConfiguration,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-engineversion - EngineVersion *WorkGroup_EngineVersion `json:"EngineVersion,omitempty"` - - // PublishCloudWatchMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-publishcloudwatchmetricsenabled - PublishCloudWatchMetricsEnabled *types.Value `json:"PublishCloudWatchMetricsEnabled,omitempty"` - - // RemoveBytesScannedCutoffPerQuery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-removebytesscannedcutoffperquery - RemoveBytesScannedCutoffPerQuery *types.Value `json:"RemoveBytesScannedCutoffPerQuery,omitempty"` - - // RequesterPaysEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-requesterpaysenabled - RequesterPaysEnabled *types.Value `json:"RequesterPaysEnabled,omitempty"` - - // ResultConfigurationUpdates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfigurationupdates.html#cfn-athena-workgroup-workgroupconfigurationupdates-resultconfigurationupdates - ResultConfigurationUpdates *WorkGroup_ResultConfigurationUpdates `json:"ResultConfigurationUpdates,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 *WorkGroup_WorkGroupConfigurationUpdates) AWSCloudFormationType() string { - return "AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment.go deleted file mode 100644 index 8be7395d73..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment.go +++ /dev/null @@ -1,149 +0,0 @@ -package auditmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment AWS CloudFormation Resource (AWS::AuditManager::Assessment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html -type Assessment struct { - - // AssessmentReportsDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-assessmentreportsdestination - AssessmentReportsDestination *Assessment_AssessmentReportsDestination `json:"AssessmentReportsDestination,omitempty"` - - // AwsAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-awsaccount - AwsAccount *Assessment_AWSAccount `json:"AwsAccount,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-description - Description *types.Value `json:"Description,omitempty"` - - // FrameworkId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-frameworkid - FrameworkId *types.Value `json:"FrameworkId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-name - Name *types.Value `json:"Name,omitempty"` - - // Roles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-roles - Roles []Assessment_Role `json:"Roles,omitempty"` - - // Scope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-scope - Scope *Assessment_Scope `json:"Scope,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-status - Status *types.Value `json:"Status,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessment.html#cfn-auditmanager-assessment-tags - Tags []cloudformation.Tag `json:"Tags,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 *Assessment) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment" -} - -// 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 (r Assessment) MarshalJSON() ([]byte, error) { - type Properties Assessment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Assessment) UnmarshalJSON(b []byte) error { - type Properties Assessment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Assessment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_assessmentreportsdestination.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_assessmentreportsdestination.go deleted file mode 100644 index 1ed2b5061b..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_assessmentreportsdestination.go +++ /dev/null @@ -1,42 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_AssessmentReportsDestination AWS CloudFormation Resource (AWS::AuditManager::Assessment.AssessmentReportsDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-assessmentreportsdestination.html -type Assessment_AssessmentReportsDestination struct { - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-assessmentreportsdestination.html#cfn-auditmanager-assessment-assessmentreportsdestination-destination - Destination *types.Value `json:"Destination,omitempty"` - - // DestinationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-assessmentreportsdestination.html#cfn-auditmanager-assessment-assessmentreportsdestination-destinationtype - DestinationType *types.Value `json:"DestinationType,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 *Assessment_AssessmentReportsDestination) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.AssessmentReportsDestination" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsaccount.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsaccount.go deleted file mode 100644 index 3bed5fb5d8..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsaccount.go +++ /dev/null @@ -1,47 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_AWSAccount AWS CloudFormation Resource (AWS::AuditManager::Assessment.AWSAccount) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html -type Assessment_AWSAccount struct { - - // EmailAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html#cfn-auditmanager-assessment-awsaccount-emailaddress - EmailAddress *types.Value `json:"EmailAddress,omitempty"` - - // Id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html#cfn-auditmanager-assessment-awsaccount-id - Id *types.Value `json:"Id,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html#cfn-auditmanager-assessment-awsaccount-name - Name *types.Value `json:"Name,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 *Assessment_AWSAccount) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.AWSAccount" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsservice.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsservice.go deleted file mode 100644 index 6a393da6d5..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_awsservice.go +++ /dev/null @@ -1,37 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_AWSService AWS CloudFormation Resource (AWS::AuditManager::Assessment.AWSService) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsservice.html -type Assessment_AWSService struct { - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsservice.html#cfn-auditmanager-assessment-awsservice-servicename - ServiceName *types.Value `json:"ServiceName,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 *Assessment_AWSService) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.AWSService" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_delegation.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_delegation.go deleted file mode 100644 index 2e747e6de6..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_delegation.go +++ /dev/null @@ -1,87 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_Delegation AWS CloudFormation Resource (AWS::AuditManager::Assessment.Delegation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html -type Assessment_Delegation struct { - - // AssessmentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-assessmentid - AssessmentId *types.Value `json:"AssessmentId,omitempty"` - - // AssessmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-assessmentname - AssessmentName *types.Value `json:"AssessmentName,omitempty"` - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-comment - Comment *types.Value `json:"Comment,omitempty"` - - // ControlSetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-controlsetid - ControlSetId *types.Value `json:"ControlSetId,omitempty"` - - // CreatedBy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-createdby - CreatedBy *types.Value `json:"CreatedBy,omitempty"` - - // CreationTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-creationtime - CreationTime *types.Value `json:"CreationTime,omitempty"` - - // Id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-id - Id *types.Value `json:"Id,omitempty"` - - // LastUpdated AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-lastupdated - LastUpdated *types.Value `json:"LastUpdated,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // RoleType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-roletype - RoleType *types.Value `json:"RoleType,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-delegation.html#cfn-auditmanager-assessment-delegation-status - Status *types.Value `json:"Status,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 *Assessment_Delegation) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.Delegation" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_role.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_role.go deleted file mode 100644 index 1e75d32306..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_role.go +++ /dev/null @@ -1,42 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_Role AWS CloudFormation Resource (AWS::AuditManager::Assessment.Role) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-role.html -type Assessment_Role struct { - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-role.html#cfn-auditmanager-assessment-role-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // RoleType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-role.html#cfn-auditmanager-assessment-role-roletype - RoleType *types.Value `json:"RoleType,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 *Assessment_Role) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.Role" -} diff --git a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_scope.go b/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_scope.go deleted file mode 100644 index 8a7b8311c1..0000000000 --- a/pkg/goformation/cloudformation/auditmanager/aws-auditmanager-assessment_scope.go +++ /dev/null @@ -1,40 +0,0 @@ -package auditmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assessment_Scope AWS CloudFormation Resource (AWS::AuditManager::Assessment.Scope) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-scope.html -type Assessment_Scope struct { - - // AwsAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-scope.html#cfn-auditmanager-assessment-scope-awsaccounts - AwsAccounts []Assessment_AWSAccount `json:"AwsAccounts,omitempty"` - - // AwsServices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-scope.html#cfn-auditmanager-assessment-scope-awsservices - AwsServices []Assessment_AWSService `json:"AwsServices,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 *Assessment_Scope) AWSCloudFormationType() string { - return "AWS::AuditManager::Assessment.Scope" -} diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup.go index 0a953a6403..847fd84f5d 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup.go @@ -11,142 +11,177 @@ import ( ) // AutoScalingGroup AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html type AutoScalingGroup struct { // AutoScalingGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-autoscalinggroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-autoscalinggroupname AutoScalingGroupName *types.Value `json:"AutoScalingGroupName,omitempty"` + // AvailabilityZoneDistribution AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzonedistribution + AvailabilityZoneDistribution *AutoScalingGroup_AvailabilityZoneDistribution `json:"AvailabilityZoneDistribution,omitempty"` + + // AvailabilityZoneImpairmentPolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy + AvailabilityZoneImpairmentPolicy *AutoScalingGroup_AvailabilityZoneImpairmentPolicy `json:"AvailabilityZoneImpairmentPolicy,omitempty"` + // AvailabilityZones AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-availabilityzones + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-availabilityzones AvailabilityZones *types.Value `json:"AvailabilityZones,omitempty"` // CapacityRebalance AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-capacityrebalance + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-capacityrebalance CapacityRebalance *types.Value `json:"CapacityRebalance,omitempty"` + // CapacityReservationSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification + CapacityReservationSpecification *AutoScalingGroup_CapacityReservationSpecification `json:"CapacityReservationSpecification,omitempty"` + // Context AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-context + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-context Context *types.Value `json:"Context,omitempty"` // Cooldown AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-cooldown + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-cooldown Cooldown *types.Value `json:"Cooldown,omitempty"` + // DefaultInstanceWarmup AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-defaultinstancewarmup + DefaultInstanceWarmup *types.Value `json:"DefaultInstanceWarmup,omitempty"` + // DesiredCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-desiredcapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-desiredcapacity DesiredCapacity *types.Value `json:"DesiredCapacity,omitempty"` // DesiredCapacityType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-desiredcapacitytype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-desiredcapacitytype DesiredCapacityType *types.Value `json:"DesiredCapacityType,omitempty"` // HealthCheckGracePeriod AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-healthcheckgraceperiod + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-healthcheckgraceperiod HealthCheckGracePeriod *types.Value `json:"HealthCheckGracePeriod,omitempty"` // HealthCheckType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-healthchecktype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-healthchecktype HealthCheckType *types.Value `json:"HealthCheckType,omitempty"` // InstanceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` + // InstanceMaintenancePolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-instancemaintenancepolicy + InstanceMaintenancePolicy *AutoScalingGroup_InstanceMaintenancePolicy `json:"InstanceMaintenancePolicy,omitempty"` + // LaunchConfigurationName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-launchconfigurationname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-launchconfigurationname LaunchConfigurationName *types.Value `json:"LaunchConfigurationName,omitempty"` // LaunchTemplate AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-launchtemplate + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-launchtemplate LaunchTemplate *AutoScalingGroup_LaunchTemplateSpecification `json:"LaunchTemplate,omitempty"` // LifecycleHookSpecificationList AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-lifecyclehookspecificationlist + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-lifecyclehookspecificationlist LifecycleHookSpecificationList []AutoScalingGroup_LifecycleHookSpecification `json:"LifecycleHookSpecificationList,omitempty"` // LoadBalancerNames AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-loadbalancernames + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-loadbalancernames LoadBalancerNames *types.Value `json:"LoadBalancerNames,omitempty"` // MaxInstanceLifetime AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-maxinstancelifetime + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-maxinstancelifetime MaxInstanceLifetime *types.Value `json:"MaxInstanceLifetime,omitempty"` // MaxSize AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-maxsize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-maxsize MaxSize *types.Value `json:"MaxSize,omitempty"` // MetricsCollection AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-metricscollection + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-metricscollection MetricsCollection []AutoScalingGroup_MetricsCollection `json:"MetricsCollection,omitempty"` // MinSize AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-minsize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-minsize MinSize *types.Value `json:"MinSize,omitempty"` // MixedInstancesPolicy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-mixedinstancespolicy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-mixedinstancespolicy MixedInstancesPolicy *AutoScalingGroup_MixedInstancesPolicy `json:"MixedInstancesPolicy,omitempty"` // NewInstancesProtectedFromScaleIn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-newinstancesprotectedfromscalein + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-newinstancesprotectedfromscalein NewInstancesProtectedFromScaleIn *types.Value `json:"NewInstancesProtectedFromScaleIn,omitempty"` // NotificationConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-notificationconfigurations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-notificationconfigurations NotificationConfigurations []AutoScalingGroup_NotificationConfiguration `json:"NotificationConfigurations,omitempty"` // PlacementGroup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-placementgroup + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-placementgroup PlacementGroup *types.Value `json:"PlacementGroup,omitempty"` // ServiceLinkedRoleARN AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-autoscaling-autoscalinggroup-servicelinkedrolearn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-servicelinkedrolearn ServiceLinkedRoleARN *types.Value `json:"ServiceLinkedRoleARN,omitempty"` + // SkipZonalShiftValidation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-skipzonalshiftvalidation + SkipZonalShiftValidation *types.Value `json:"SkipZonalShiftValidation,omitempty"` + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-tags Tags []AutoScalingGroup_TagProperty `json:"Tags,omitempty"` // TargetGroupARNs AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-targetgrouparns + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-targetgrouparns TargetGroupARNs *types.Value `json:"TargetGroupARNs,omitempty"` // TerminationPolicies AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-termpolicy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-terminationpolicies TerminationPolicies *types.Value `json:"TerminationPolicies,omitempty"` + // TrafficSources AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-trafficsources + TrafficSources []AutoScalingGroup_TrafficSourceIdentifier `json:"TrafficSources,omitempty"` + // VPCZoneIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-vpczoneidentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#cfn-autoscaling-autoscalinggroup-vpczoneidentifier VPCZoneIdentifier *types.Value `json:"VPCZoneIdentifier,omitempty"` // AWSCloudFormationUpdatePolicy represents a CloudFormation UpdatePolicy diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputdestinationsettings.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzonedistribution.go similarity index 60% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputdestinationsettings.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzonedistribution.go index c27f302463..dbf407955e 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputdestinationsettings.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzonedistribution.go @@ -1,4 +1,4 @@ -package medialive +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_MediaPackageOutputDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mediapackageoutputdestinationsettings.html -type Channel_MediaPackageOutputDestinationSettings struct { +// AutoScalingGroup_AvailabilityZoneDistribution AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzonedistribution.html +type AutoScalingGroup_AvailabilityZoneDistribution struct { - // ChannelId AWS CloudFormation Property + // CapacityDistributionStrategy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mediapackageoutputdestinationsettings.html#cfn-medialive-channel-mediapackageoutputdestinationsettings-channelid - ChannelId *types.Value `json:"ChannelId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzonedistribution.html#cfn-autoscaling-autoscalinggroup-availabilityzonedistribution-capacitydistributionstrategy + CapacityDistributionStrategy *types.Value `json:"CapacityDistributionStrategy,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Channel_MediaPackageOutputDestinationSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_MediaPackageOutputDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings" +func (r *AutoScalingGroup_AvailabilityZoneDistribution) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution" } diff --git a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetargetfilter.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzoneimpairmentpolicy.go similarity index 53% rename from pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetargetfilter.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzoneimpairmentpolicy.go index f244703da1..894b2b3374 100644 --- a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetargetfilter.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_availabilityzoneimpairmentpolicy.go @@ -1,4 +1,4 @@ -package fis +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ExperimentTemplate_ExperimentTemplateTargetFilter AWS CloudFormation Resource (AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetargetfilter.html -type ExperimentTemplate_ExperimentTemplateTargetFilter struct { +// AutoScalingGroup_AvailabilityZoneImpairmentPolicy AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html +type AutoScalingGroup_AvailabilityZoneImpairmentPolicy struct { - // Path AWS CloudFormation Property + // ImpairedZoneHealthCheckBehavior AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetargetfilter.html#cfn-fis-experimenttemplate-experimenttemplatetargetfilter-path - Path *types.Value `json:"Path,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy-impairedzonehealthcheckbehavior + ImpairedZoneHealthCheckBehavior *types.Value `json:"ImpairedZoneHealthCheckBehavior,omitempty"` - // Values AWS CloudFormation Property + // ZonalShiftEnabled AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetargetfilter.html#cfn-fis-experimenttemplate-experimenttemplatetargetfilter-values - Values *types.Value `json:"Values,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy.html#cfn-autoscaling-autoscalinggroup-availabilityzoneimpairmentpolicy-zonalshiftenabled + ZonalShiftEnabled *types.Value `json:"ZonalShiftEnabled"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type ExperimentTemplate_ExperimentTemplateTargetFilter struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ExperimentTemplate_ExperimentTemplateTargetFilter) AWSCloudFormationType() string { - return "AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter" +func (r *AutoScalingGroup_AvailabilityZoneImpairmentPolicy) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy" } diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatement.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_baselineperformancefactorsrequest.go similarity index 61% rename from pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatement.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_baselineperformancefactorsrequest.go index a301f057bb..6c488e7387 100644 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatement.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_baselineperformancefactorsrequest.go @@ -1,17 +1,17 @@ -package wafv2 +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup_NotStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.NotStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatement.html -type RuleGroup_NotStatement struct { +// AutoScalingGroup_BaselinePerformanceFactorsRequest AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-baselineperformancefactorsrequest.html +type AutoScalingGroup_BaselinePerformanceFactorsRequest struct { - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatement.html#cfn-wafv2-rulegroup-notstatement-statement - Statement *RuleGroup_Statement `json:"Statement,omitempty"` + // Cpu AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-baselineperformancefactorsrequest.html#cfn-autoscaling-autoscalinggroup-baselineperformancefactorsrequest-cpu + Cpu *AutoScalingGroup_CpuPerformanceFactorRequest `json:"Cpu,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type RuleGroup_NotStatement struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup_NotStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.NotStatement" +func (r *AutoScalingGroup_BaselinePerformanceFactorsRequest) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest" } diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetforwardedipconfiguration.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationspecification.go similarity index 52% rename from pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetforwardedipconfiguration.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationspecification.go index 912eb91df1..ad96d11660 100644 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetforwardedipconfiguration.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationspecification.go @@ -1,4 +1,4 @@ -package wafv2 +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup_IPSetForwardedIPConfiguration AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetforwardedipconfiguration.html -type RuleGroup_IPSetForwardedIPConfiguration struct { +// AutoScalingGroup_CapacityReservationSpecification AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html +type AutoScalingGroup_CapacityReservationSpecification struct { - // FallbackBehavior AWS CloudFormation Property + // CapacityReservationPreference AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetforwardedipconfiguration.html#cfn-wafv2-rulegroup-ipsetforwardedipconfiguration-fallbackbehavior - FallbackBehavior *types.Value `json:"FallbackBehavior,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationpreference + CapacityReservationPreference *types.Value `json:"CapacityReservationPreference,omitempty"` - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetforwardedipconfiguration.html#cfn-wafv2-rulegroup-ipsetforwardedipconfiguration-headername - HeaderName *types.Value `json:"HeaderName,omitempty"` - - // Position AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetforwardedipconfiguration.html#cfn-wafv2-rulegroup-ipsetforwardedipconfiguration-position - Position *types.Value `json:"Position,omitempty"` + // CapacityReservationTarget AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html#cfn-autoscaling-autoscalinggroup-capacityreservationspecification-capacityreservationtarget + CapacityReservationTarget *AutoScalingGroup_CapacityReservationTarget `json:"CapacityReservationTarget,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +37,6 @@ type RuleGroup_IPSetForwardedIPConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup_IPSetForwardedIPConfiguration) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration" +func (r *AutoScalingGroup_CapacityReservationSpecification) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualitybaselineconfig.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationtarget.go similarity index 55% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualitybaselineconfig.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationtarget.go index 60f11e247b..516634dc9f 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualitybaselineconfig.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_capacityreservationtarget.go @@ -1,4 +1,4 @@ -package sagemaker +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ModelQualityJobDefinition_ModelQualityBaselineConfig AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig.html -type ModelQualityJobDefinition_ModelQualityBaselineConfig struct { +// AutoScalingGroup_CapacityReservationTarget AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html +type AutoScalingGroup_CapacityReservationTarget struct { - // BaseliningJobName AWS CloudFormation Property + // CapacityReservationIds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig.html#cfn-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig-baseliningjobname - BaseliningJobName *types.Value `json:"BaseliningJobName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationids + CapacityReservationIds *types.Value `json:"CapacityReservationIds,omitempty"` - // ConstraintsResource AWS CloudFormation Property + // CapacityReservationResourceGroupArns AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig.html#cfn-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig-constraintsresource - ConstraintsResource *ModelQualityJobDefinition_ConstraintsResource `json:"ConstraintsResource,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html#cfn-autoscaling-autoscalinggroup-capacityreservationtarget-capacityreservationresourcegrouparns + CapacityReservationResourceGroupArns *types.Value `json:"CapacityReservationResourceGroupArns,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type ModelQualityJobDefinition_ModelQualityBaselineConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ModelQualityJobDefinition_ModelQualityBaselineConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig" +func (r *AutoScalingGroup_CapacityReservationTarget) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaybackenddefaults.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_cpuperformancefactorrequest.go similarity index 60% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaybackenddefaults.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_cpuperformancefactorrequest.go index 00c354d0d2..82bcbab44e 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_virtualgatewaybackenddefaults.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_cpuperformancefactorrequest.go @@ -1,17 +1,17 @@ -package appmesh +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualGateway_VirtualGatewayBackendDefaults AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaybackenddefaults.html -type VirtualGateway_VirtualGatewayBackendDefaults struct { +// AutoScalingGroup_CpuPerformanceFactorRequest AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html +type AutoScalingGroup_CpuPerformanceFactorRequest struct { - // ClientPolicy AWS CloudFormation Property + // References AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-virtualgatewaybackenddefaults.html#cfn-appmesh-virtualgateway-virtualgatewaybackenddefaults-clientpolicy - ClientPolicy *VirtualGateway_VirtualGatewayClientPolicy `json:"ClientPolicy,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html#cfn-autoscaling-autoscalinggroup-cpuperformancefactorrequest-references + References []AutoScalingGroup_PerformanceFactorReferenceRequest `json:"References,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type VirtualGateway_VirtualGatewayBackendDefaults struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualGateway_VirtualGatewayBackendDefaults) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults" +func (r *AutoScalingGroup_CpuPerformanceFactorRequest) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteprefixrewrite.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancemaintenancepolicy.go similarity index 55% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteprefixrewrite.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancemaintenancepolicy.go index 9cf375fadf..f6e8f008b4 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_httpgatewayrouteprefixrewrite.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancemaintenancepolicy.go @@ -1,4 +1,4 @@ -package appmesh +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// GatewayRoute_HttpGatewayRoutePrefixRewrite AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteprefixrewrite.html -type GatewayRoute_HttpGatewayRoutePrefixRewrite struct { +// AutoScalingGroup_InstanceMaintenancePolicy AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancemaintenancepolicy.html +type AutoScalingGroup_InstanceMaintenancePolicy struct { - // DefaultPrefix AWS CloudFormation Property + // MaxHealthyPercentage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteprefixrewrite.html#cfn-appmesh-gatewayroute-httpgatewayrouteprefixrewrite-defaultprefix - DefaultPrefix *types.Value `json:"DefaultPrefix,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancemaintenancepolicy.html#cfn-autoscaling-autoscalinggroup-instancemaintenancepolicy-maxhealthypercentage + MaxHealthyPercentage *types.Value `json:"MaxHealthyPercentage,omitempty"` - // Value AWS CloudFormation Property + // MinHealthyPercentage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-httpgatewayrouteprefixrewrite.html#cfn-appmesh-gatewayroute-httpgatewayrouteprefixrewrite-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancemaintenancepolicy.html#cfn-autoscaling-autoscalinggroup-instancemaintenancepolicy-minhealthypercentage + MinHealthyPercentage *types.Value `json:"MinHealthyPercentage,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type GatewayRoute_HttpGatewayRoutePrefixRewrite struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *GatewayRoute_HttpGatewayRoutePrefixRewrite) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite" +func (r *AutoScalingGroup_InstanceMaintenancePolicy) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancerequirements.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancerequirements.go index 3618950827..5e564eef03 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancerequirements.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancerequirements.go @@ -7,112 +7,132 @@ import ( ) // AutoScalingGroup_InstanceRequirements AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.InstanceRequirements) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html type AutoScalingGroup_InstanceRequirements struct { // AcceleratorCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratorcount + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratorcount AcceleratorCount *AutoScalingGroup_AcceleratorCountRequest `json:"AcceleratorCount,omitempty"` // AcceleratorManufacturers AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratormanufacturers + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratormanufacturers AcceleratorManufacturers *types.Value `json:"AcceleratorManufacturers,omitempty"` // AcceleratorNames AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratornames + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratornames AcceleratorNames *types.Value `json:"AcceleratorNames,omitempty"` // AcceleratorTotalMemoryMiB AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratortotalmemorymib + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratortotalmemorymib AcceleratorTotalMemoryMiB *AutoScalingGroup_AcceleratorTotalMemoryMiBRequest `json:"AcceleratorTotalMemoryMiB,omitempty"` // AcceleratorTypes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratortypes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-acceleratortypes AcceleratorTypes *types.Value `json:"AcceleratorTypes,omitempty"` + // AllowedInstanceTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-allowedinstancetypes + AllowedInstanceTypes *types.Value `json:"AllowedInstanceTypes,omitempty"` + // BareMetal AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baremetal + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baremetal BareMetal *types.Value `json:"BareMetal,omitempty"` // BaselineEbsBandwidthMbps AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baselineebsbandwidthmbps + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baselineebsbandwidthmbps BaselineEbsBandwidthMbps *AutoScalingGroup_BaselineEbsBandwidthMbpsRequest `json:"BaselineEbsBandwidthMbps,omitempty"` + // BaselinePerformanceFactors AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-baselineperformancefactors + BaselinePerformanceFactors *AutoScalingGroup_BaselinePerformanceFactorsRequest `json:"BaselinePerformanceFactors,omitempty"` + // BurstablePerformance AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-burstableperformance + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-burstableperformance BurstablePerformance *types.Value `json:"BurstablePerformance,omitempty"` // CpuManufacturers AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-cpumanufacturers + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-cpumanufacturers CpuManufacturers *types.Value `json:"CpuManufacturers,omitempty"` // ExcludedInstanceTypes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-excludedinstancetypes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-excludedinstancetypes ExcludedInstanceTypes *types.Value `json:"ExcludedInstanceTypes,omitempty"` // InstanceGenerations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-instancegenerations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-instancegenerations InstanceGenerations *types.Value `json:"InstanceGenerations,omitempty"` // LocalStorage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-localstorage + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-localstorage LocalStorage *types.Value `json:"LocalStorage,omitempty"` // LocalStorageTypes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-localstoragetypes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-localstoragetypes LocalStorageTypes *types.Value `json:"LocalStorageTypes,omitempty"` + // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-maxspotpriceaspercentageofoptimalondemandprice + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *types.Value `json:"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty"` + // MemoryGiBPerVCpu AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorygibpervcpu + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorygibpervcpu MemoryGiBPerVCpu *AutoScalingGroup_MemoryGiBPerVCpuRequest `json:"MemoryGiBPerVCpu,omitempty"` // MemoryMiB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorymib + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-memorymib MemoryMiB *AutoScalingGroup_MemoryMiBRequest `json:"MemoryMiB,omitempty"` + // NetworkBandwidthGbps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-networkbandwidthgbps + NetworkBandwidthGbps *AutoScalingGroup_NetworkBandwidthGbpsRequest `json:"NetworkBandwidthGbps,omitempty"` + // NetworkInterfaceCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-networkinterfacecount + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-networkinterfacecount NetworkInterfaceCount *AutoScalingGroup_NetworkInterfaceCountRequest `json:"NetworkInterfaceCount,omitempty"` // OnDemandMaxPricePercentageOverLowestPrice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-ondemandmaxpricepercentageoverlowestprice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-ondemandmaxpricepercentageoverlowestprice OnDemandMaxPricePercentageOverLowestPrice *types.Value `json:"OnDemandMaxPricePercentageOverLowestPrice,omitempty"` // RequireHibernateSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-requirehibernatesupport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-requirehibernatesupport RequireHibernateSupport *types.Value `json:"RequireHibernateSupport,omitempty"` // SpotMaxPricePercentageOverLowestPrice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-spotmaxpricepercentageoverlowestprice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-spotmaxpricepercentageoverlowestprice SpotMaxPricePercentageOverLowestPrice *types.Value `json:"SpotMaxPricePercentageOverLowestPrice,omitempty"` // TotalLocalStorageGB AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-totallocalstoragegb + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-totallocalstoragegb TotalLocalStorageGB *AutoScalingGroup_TotalLocalStorageGBRequest `json:"TotalLocalStorageGB,omitempty"` // VCpuCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-vcpucount + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancerequirements.html#cfn-autoscaling-autoscalinggroup-instancerequirements-vcpucount VCpuCount *AutoScalingGroup_VCpuCountRequest `json:"VCpuCount,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancesdistribution.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancesdistribution.go index 6ad46157b8..d842721cac 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancesdistribution.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_instancesdistribution.go @@ -7,37 +7,37 @@ import ( ) // AutoScalingGroup_InstancesDistribution AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.InstancesDistribution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html type AutoScalingGroup_InstancesDistribution struct { // OnDemandAllocationStrategy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandallocationstrategy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandallocationstrategy OnDemandAllocationStrategy *types.Value `json:"OnDemandAllocationStrategy,omitempty"` // OnDemandBaseCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandbasecapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandbasecapacity OnDemandBaseCapacity *types.Value `json:"OnDemandBaseCapacity,omitempty"` // OnDemandPercentageAboveBaseCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandpercentageabovebasecapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-ondemandpercentageabovebasecapacity OnDemandPercentageAboveBaseCapacity *types.Value `json:"OnDemandPercentageAboveBaseCapacity,omitempty"` // SpotAllocationStrategy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotallocationstrategy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotallocationstrategy SpotAllocationStrategy *types.Value `json:"SpotAllocationStrategy,omitempty"` // SpotInstancePools AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotinstancepools + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotinstancepools SpotInstancePools *types.Value `json:"SpotInstancePools,omitempty"` // SpotMaxPrice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotmaxprice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-instancesdistribution.html#cfn-autoscaling-autoscalinggroup-instancesdistribution-spotmaxprice SpotMaxPrice *types.Value `json:"SpotMaxPrice,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplate.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplate.go index 7d67dc55e6..27755e31c7 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplate.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplate.go @@ -5,17 +5,17 @@ import ( ) // AutoScalingGroup_LaunchTemplate AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.LaunchTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplate.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html type AutoScalingGroup_LaunchTemplate struct { // LaunchTemplateSpecification AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplate.html#cfn-as-group-launchtemplate + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html#cfn-autoscaling-autoscalinggroup-launchtemplate-launchtemplatespecification LaunchTemplateSpecification *AutoScalingGroup_LaunchTemplateSpecification `json:"LaunchTemplateSpecification,omitempty"` // Overrides AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplate.html#cfn-as-mixedinstancespolicy-overrides + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html#cfn-autoscaling-autoscalinggroup-launchtemplate-overrides Overrides []AutoScalingGroup_LaunchTemplateOverrides `json:"Overrides,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplateoverrides.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplateoverrides.go index 5de7b0f58e..72b7d239bb 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplateoverrides.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_launchtemplateoverrides.go @@ -7,27 +7,27 @@ import ( ) // AutoScalingGroup_LaunchTemplateOverrides AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplateoverrides.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html type AutoScalingGroup_LaunchTemplateOverrides struct { // InstanceRequirements AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplateoverrides.html#cfn-as-mixedinstancespolicy-instancerequirements + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-instancerequirements InstanceRequirements *AutoScalingGroup_InstanceRequirements `json:"InstanceRequirements,omitempty"` // InstanceType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-instancetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-instancetype InstanceType *types.Value `json:"InstanceType,omitempty"` // LaunchTemplateSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-launchtemplatespecification + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-launchtemplatespecification LaunchTemplateSpecification *AutoScalingGroup_LaunchTemplateSpecification `json:"LaunchTemplateSpecification,omitempty"` // WeightedCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-mixedinstancespolicy-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-weightedcapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html#cfn-autoscaling-autoscalinggroup-launchtemplateoverrides-weightedcapacity WeightedCapacity *types.Value `json:"WeightedCapacity,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_metricscollection.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_metricscollection.go index 98633bc16e..a31d19513c 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_metricscollection.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_metricscollection.go @@ -7,17 +7,17 @@ import ( ) // AutoScalingGroup_MetricsCollection AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.MetricsCollection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-metricscollection.html type AutoScalingGroup_MetricsCollection struct { // Granularity AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html#cfn-as-metricscollection-granularity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-metricscollection.html#cfn-autoscaling-autoscalinggroup-metricscollection-granularity Granularity *types.Value `json:"Granularity,omitempty"` // Metrics AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html#cfn-as-metricscollection-metrics + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-metricscollection.html#cfn-autoscaling-autoscalinggroup-metricscollection-metrics Metrics *types.Value `json:"Metrics,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_mixedinstancespolicy.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_mixedinstancespolicy.go index f9ccff6a26..8ea0ed72f7 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_mixedinstancespolicy.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_mixedinstancespolicy.go @@ -5,17 +5,17 @@ import ( ) // AutoScalingGroup_MixedInstancesPolicy AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-group-mixedinstancespolicy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html type AutoScalingGroup_MixedInstancesPolicy struct { // InstancesDistribution AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-group-mixedinstancespolicy.html#cfn-as-mixedinstancespolicy-instancesdistribution + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html#cfn-autoscaling-autoscalinggroup-mixedinstancespolicy-instancesdistribution InstancesDistribution *AutoScalingGroup_InstancesDistribution `json:"InstancesDistribution,omitempty"` // LaunchTemplate AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-as-group-mixedinstancespolicy.html#cfn-as-mixedinstancespolicy-launchtemplate + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html#cfn-autoscaling-autoscalinggroup-mixedinstancespolicy-launchtemplate LaunchTemplate *AutoScalingGroup_LaunchTemplate `json:"LaunchTemplate,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_loglist.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_networkbandwidthgbpsrequest.go similarity index 57% rename from pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_loglist.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_networkbandwidthgbpsrequest.go index e011480838..4abde41c88 100644 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_loglist.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_networkbandwidthgbpsrequest.go @@ -1,4 +1,4 @@ -package amazonmq +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Broker_LogList AWS CloudFormation Resource (AWS::AmazonMQ::Broker.LogList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html -type Broker_LogList struct { +// AutoScalingGroup_NetworkBandwidthGbpsRequest AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-networkbandwidthgbpsrequest.html +type AutoScalingGroup_NetworkBandwidthGbpsRequest struct { - // Audit AWS CloudFormation Property + // Max AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html#cfn-amazonmq-broker-loglist-audit - Audit *types.Value `json:"Audit,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-networkbandwidthgbpsrequest.html#cfn-autoscaling-autoscalinggroup-networkbandwidthgbpsrequest-max + Max *types.Value `json:"Max,omitempty"` - // General AWS CloudFormation Property + // Min AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html#cfn-amazonmq-broker-loglist-general - General *types.Value `json:"General,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-networkbandwidthgbpsrequest.html#cfn-autoscaling-autoscalinggroup-networkbandwidthgbpsrequest-min + Min *types.Value `json:"Min,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Broker_LogList struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Broker_LogList) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.LogList" +func (r *AutoScalingGroup_NetworkBandwidthGbpsRequest) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_notificationconfiguration.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_notificationconfiguration.go index 6753acde0b..e52e8b3deb 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_notificationconfiguration.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_notificationconfiguration.go @@ -7,17 +7,17 @@ import ( ) // AutoScalingGroup_NotificationConfiguration AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html type AutoScalingGroup_NotificationConfiguration struct { // NotificationTypes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html#cfn-as-group-notificationconfigurations-notificationtypes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html#cfn-autoscaling-autoscalinggroup-notificationconfiguration-notificationtypes NotificationTypes *types.Value `json:"NotificationTypes,omitempty"` // TopicARN AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html#cfn-autoscaling-autoscalinggroup-notificationconfigurations-topicarn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html#cfn-autoscaling-autoscalinggroup-notificationconfiguration-topicarn TopicARN *types.Value `json:"TopicARN,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_captureoption.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_performancefactorreferencerequest.go similarity index 61% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_captureoption.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_performancefactorreferencerequest.go index 05fb5df79a..9bf04ab319 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_captureoption.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_performancefactorreferencerequest.go @@ -1,4 +1,4 @@ -package sagemaker +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// EndpointConfig_CaptureOption AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.CaptureOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-captureoption.html -type EndpointConfig_CaptureOption struct { +// AutoScalingGroup_PerformanceFactorReferenceRequest AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-performancefactorreferencerequest.html +type AutoScalingGroup_PerformanceFactorReferenceRequest struct { - // CaptureMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-captureoption.html#cfn-sagemaker-endpointconfig-captureoption-capturemode - CaptureMode *types.Value `json:"CaptureMode,omitempty"` + // InstanceFamily AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-performancefactorreferencerequest.html#cfn-autoscaling-autoscalinggroup-performancefactorreferencerequest-instancefamily + InstanceFamily *types.Value `json:"InstanceFamily,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type EndpointConfig_CaptureOption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *EndpointConfig_CaptureOption) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.CaptureOption" +func (r *AutoScalingGroup_PerformanceFactorReferenceRequest) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_tagproperty.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_tagproperty.go index 711aac052e..8928ee0080 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_tagproperty.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_tagproperty.go @@ -7,22 +7,22 @@ import ( ) // AutoScalingGroup_TagProperty AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.TagProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-tagproperty.html type AutoScalingGroup_TagProperty struct { // Key AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-Key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-tagproperty.html#cfn-autoscaling-autoscalinggroup-tagproperty-key Key *types.Value `json:"Key,omitempty"` // PropagateAtLaunch AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-PropagateAtLaunch + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-tagproperty.html#cfn-autoscaling-autoscalinggroup-tagproperty-propagateatlaunch PropagateAtLaunch *types.Value `json:"PropagateAtLaunch"` // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-Value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-tagproperty.html#cfn-autoscaling-autoscalinggroup-tagproperty-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourcecodeversion.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_trafficsourceidentifier.go similarity index 61% rename from pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourcecodeversion.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_trafficsourceidentifier.go index 003a0e20d7..e1204bd360 100644 --- a/pkg/goformation/cloudformation/apprunner/aws-apprunner-service_sourcecodeversion.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-autoscalinggroup_trafficsourceidentifier.go @@ -1,4 +1,4 @@ -package apprunner +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Service_SourceCodeVersion AWS CloudFormation Resource (AWS::AppRunner::Service.SourceCodeVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourcecodeversion.html -type Service_SourceCodeVersion struct { +// AutoScalingGroup_TrafficSourceIdentifier AWS CloudFormation Resource (AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html +type AutoScalingGroup_TrafficSourceIdentifier struct { - // Type AWS CloudFormation Property + // Identifier AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourcecodeversion.html#cfn-apprunner-service-sourcecodeversion-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html#cfn-autoscaling-autoscalinggroup-trafficsourceidentifier-identifier + Identifier *types.Value `json:"Identifier,omitempty"` - // Value AWS CloudFormation Property + // Type AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourcecodeversion.html#cfn-apprunner-service-sourcecodeversion-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-trafficsourceidentifier.html#cfn-autoscaling-autoscalinggroup-trafficsourceidentifier-type + Type *types.Value `json:"Type,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Service_SourceCodeVersion struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Service_SourceCodeVersion) AWSCloudFormationType() string { - return "AWS::AppRunner::Service.SourceCodeVersion" +func (r *AutoScalingGroup_TrafficSourceIdentifier) AWSCloudFormationType() string { + return "AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration.go index 963a809a8a..6313653ed2 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration.go @@ -11,102 +11,102 @@ import ( ) // LaunchConfiguration AWS CloudFormation Resource (AWS::AutoScaling::LaunchConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html type LaunchConfiguration struct { // AssociatePublicIpAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cf-as-launchconfig-associatepubip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-associatepublicipaddress AssociatePublicIpAddress *types.Value `json:"AssociatePublicIpAddress,omitempty"` // BlockDeviceMappings AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-blockdevicemappings + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-blockdevicemappings BlockDeviceMappings []LaunchConfiguration_BlockDeviceMapping `json:"BlockDeviceMappings,omitempty"` // ClassicLinkVPCId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-classiclinkvpcid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-classiclinkvpcid ClassicLinkVPCId *types.Value `json:"ClassicLinkVPCId,omitempty"` // ClassicLinkVPCSecurityGroups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-classiclinkvpcsecuritygroups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-classiclinkvpcsecuritygroups ClassicLinkVPCSecurityGroups *types.Value `json:"ClassicLinkVPCSecurityGroups,omitempty"` // EbsOptimized AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-ebsoptimized + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-ebsoptimized EbsOptimized *types.Value `json:"EbsOptimized,omitempty"` // IamInstanceProfile AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-iaminstanceprofile + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-iaminstanceprofile IamInstanceProfile *types.Value `json:"IamInstanceProfile,omitempty"` // ImageId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-imageid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-imageid ImageId *types.Value `json:"ImageId,omitempty"` // InstanceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` // InstanceMonitoring AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instancemonitoring + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-instancemonitoring InstanceMonitoring *types.Value `json:"InstanceMonitoring,omitempty"` // InstanceType AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instancetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-instancetype InstanceType *types.Value `json:"InstanceType,omitempty"` // KernelId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-kernelid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-kernelid KernelId *types.Value `json:"KernelId,omitempty"` // KeyName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-keyname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-keyname KeyName *types.Value `json:"KeyName,omitempty"` // LaunchConfigurationName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-autoscaling-launchconfig-launchconfigurationname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-launchconfigurationname LaunchConfigurationName *types.Value `json:"LaunchConfigurationName,omitempty"` // MetadataOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-autoscaling-launchconfig-metadataoptions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-metadataoptions MetadataOptions *LaunchConfiguration_MetadataOptions `json:"MetadataOptions,omitempty"` // PlacementTenancy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-placementtenancy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-placementtenancy PlacementTenancy *types.Value `json:"PlacementTenancy,omitempty"` // RamDiskId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-ramdiskid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-ramdiskid RamDiskId *types.Value `json:"RamDiskId,omitempty"` // SecurityGroups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-securitygroups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-securitygroups SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` // SpotPrice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-spotprice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-spotprice SpotPrice *types.Value `json:"SpotPrice,omitempty"` // UserData AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-userdata + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-launchconfiguration.html#cfn-autoscaling-launchconfiguration-userdata UserData *types.Value `json:"UserData,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevice.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevice.go index 69b2ea7a4e..8580060199 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevice.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevice.go @@ -7,42 +7,42 @@ import ( ) // LaunchConfiguration_BlockDevice AWS CloudFormation Resource (AWS::AutoScaling::LaunchConfiguration.BlockDevice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html type LaunchConfiguration_BlockDevice struct { // DeleteOnTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-deleteonterm + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-deleteontermination DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` // Encrypted AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-encrypted + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-encrypted Encrypted *types.Value `json:"Encrypted,omitempty"` // Iops AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-iops + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-iops Iops *types.Value `json:"Iops,omitempty"` // SnapshotId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-snapshotid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-snapshotid SnapshotId *types.Value `json:"SnapshotId,omitempty"` // Throughput AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-throughput + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-throughput Throughput *types.Value `json:"Throughput,omitempty"` // VolumeSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-volumesize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-volumesize VolumeSize *types.Value `json:"VolumeSize,omitempty"` // VolumeType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-volumetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevice.html#cfn-autoscaling-launchconfiguration-blockdevice-volumetype VolumeType *types.Value `json:"VolumeType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevicemapping.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevicemapping.go index 2c3fb9f56d..9efaf63879 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevicemapping.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_blockdevicemapping.go @@ -7,27 +7,27 @@ import ( ) // LaunchConfiguration_BlockDeviceMapping AWS CloudFormation Resource (AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-mapping.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html type LaunchConfiguration_BlockDeviceMapping struct { // DeviceName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-mapping.html#cfn-as-launchconfig-blockdev-mapping-devicename + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html#cfn-autoscaling-launchconfiguration-blockdevicemapping-devicename DeviceName *types.Value `json:"DeviceName,omitempty"` // Ebs AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-mapping.html#cfn-as-launchconfig-blockdev-mapping-ebs + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html#cfn-autoscaling-launchconfiguration-blockdevicemapping-ebs Ebs *LaunchConfiguration_BlockDevice `json:"Ebs,omitempty"` // NoDevice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-mapping.html#cfn-as-launchconfig-blockdev-mapping-nodevice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html#cfn-autoscaling-launchconfiguration-blockdevicemapping-nodevice NoDevice *types.Value `json:"NoDevice,omitempty"` // VirtualName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-mapping.html#cfn-as-launchconfig-blockdev-mapping-virtualname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-blockdevicemapping.html#cfn-autoscaling-launchconfiguration-blockdevicemapping-virtualname VirtualName *types.Value `json:"VirtualName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoption.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoption.go deleted file mode 100644 index 87c5f9288d..0000000000 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoption.go +++ /dev/null @@ -1,47 +0,0 @@ -package autoscaling - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchConfiguration_MetadataOption AWS CloudFormation Resource (AWS::AutoScaling::LaunchConfiguration.MetadataOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoption.html -type LaunchConfiguration_MetadataOption struct { - - // HttpEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoption.html#cfn-autoscaling-launchconfig-metadataoption-httpendpoint - HttpEndpoint *types.Value `json:"HttpEndpoint,omitempty"` - - // HttpPutResponseHopLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoption.html#cfn-autoscaling-launchconfig-metadataoption-httpputresponsehoplimit - HttpPutResponseHopLimit *types.Value `json:"HttpPutResponseHopLimit,omitempty"` - - // HttpTokens AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoption.html#cfn-autoscaling-launchconfig-metadataoption-httptokens - HttpTokens *types.Value `json:"HttpTokens,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 *LaunchConfiguration_MetadataOption) AWSCloudFormationType() string { - return "AWS::AutoScaling::LaunchConfiguration.MetadataOption" -} diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoptions.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoptions.go index ffe46f5294..36bb9e77f6 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoptions.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-launchconfiguration_metadataoptions.go @@ -7,22 +7,22 @@ import ( ) // LaunchConfiguration_MetadataOptions AWS CloudFormation Resource (AWS::AutoScaling::LaunchConfiguration.MetadataOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-metadataoptions.html type LaunchConfiguration_MetadataOptions struct { // HttpEndpoint AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoptions.html#cfn-autoscaling-launchconfig-metadataoptions-httpendpoint + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-metadataoptions.html#cfn-autoscaling-launchconfiguration-metadataoptions-httpendpoint HttpEndpoint *types.Value `json:"HttpEndpoint,omitempty"` // HttpPutResponseHopLimit AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoptions.html#cfn-autoscaling-launchconfig-metadataoptions-httpputresponsehoplimit + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-metadataoptions.html#cfn-autoscaling-launchconfiguration-metadataoptions-httpputresponsehoplimit HttpPutResponseHopLimit *types.Value `json:"HttpPutResponseHopLimit,omitempty"` // HttpTokens AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfig-metadataoptions.html#cfn-autoscaling-launchconfig-metadataoptions-httptokens + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-launchconfiguration-metadataoptions.html#cfn-autoscaling-launchconfiguration-metadataoptions-httptokens HttpTokens *types.Value `json:"HttpTokens,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy.go index d68c170143..ac2bdc2503 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy.go @@ -11,62 +11,62 @@ import ( ) // ScalingPolicy AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html type ScalingPolicy struct { // AdjustmentType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-adjustmenttype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-adjustmenttype AdjustmentType *types.Value `json:"AdjustmentType,omitempty"` // AutoScalingGroupName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-autoscalinggroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-autoscalinggroupname AutoScalingGroupName *types.Value `json:"AutoScalingGroupName,omitempty"` // Cooldown AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-cooldown + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-cooldown Cooldown *types.Value `json:"Cooldown,omitempty"` // EstimatedInstanceWarmup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-estimatedinstancewarmup + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-estimatedinstancewarmup EstimatedInstanceWarmup *types.Value `json:"EstimatedInstanceWarmup,omitempty"` // MetricAggregationType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-metricaggregationtype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-metricaggregationtype MetricAggregationType *types.Value `json:"MetricAggregationType,omitempty"` // MinAdjustmentMagnitude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-minadjustmentmagnitude + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-minadjustmentmagnitude MinAdjustmentMagnitude *types.Value `json:"MinAdjustmentMagnitude,omitempty"` // PolicyType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-policytype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-policytype PolicyType *types.Value `json:"PolicyType,omitempty"` // PredictiveScalingConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-predictivescalingconfiguration PredictiveScalingConfiguration *ScalingPolicy_PredictiveScalingConfiguration `json:"PredictiveScalingConfiguration,omitempty"` // ScalingAdjustment AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-scalingadjustment + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-scalingadjustment ScalingAdjustment *types.Value `json:"ScalingAdjustment,omitempty"` // StepAdjustments AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-stepadjustments + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-stepadjustments StepAdjustments []ScalingPolicy_StepAdjustment `json:"StepAdjustments,omitempty"` // TargetTrackingConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-targettrackingconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-targettrackingconfiguration TargetTrackingConfiguration *ScalingPolicy_TargetTrackingConfiguration `json:"TargetTrackingConfiguration,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_customizedmetricspecification.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_customizedmetricspecification.go index d8853c4337..b4d58f0187 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_customizedmetricspecification.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_customizedmetricspecification.go @@ -16,17 +16,27 @@ type ScalingPolicy_CustomizedMetricSpecification struct { Dimensions []ScalingPolicy_MetricDimension `json:"Dimensions,omitempty"` // MetricName AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-metricname MetricName *types.Value `json:"MetricName,omitempty"` + // Metrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-metrics + Metrics []ScalingPolicy_TargetTrackingMetricDataQuery `json:"Metrics,omitempty"` + // Namespace AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-namespace Namespace *types.Value `json:"Namespace,omitempty"` + // Period AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-period + Period *types.Value `json:"Period,omitempty"` + // Statistic AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html#cfn-autoscaling-scalingpolicy-customizedmetricspecification-statistic Statistic *types.Value `json:"Statistic,omitempty"` diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metric.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metric.go similarity index 64% rename from pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metric.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metric.go index 2d6bdf33e9..1571e80b47 100644 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metric.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metric.go @@ -1,4 +1,4 @@ -package lookoutmetrics +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,23 +6,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AnomalyDetector_Metric AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.Metric) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html -type AnomalyDetector_Metric struct { +// ScalingPolicy_Metric AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.Metric) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metric.html +type ScalingPolicy_Metric struct { - // AggregationFunction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-aggregationfunction - AggregationFunction *types.Value `json:"AggregationFunction,omitempty"` + // Dimensions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metric.html#cfn-autoscaling-scalingpolicy-metric-dimensions + Dimensions []ScalingPolicy_MetricDimension `json:"Dimensions,omitempty"` // MetricName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-metricname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metric.html#cfn-autoscaling-scalingpolicy-metric-metricname MetricName *types.Value `json:"MetricName,omitempty"` // Namespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metric.html#cfn-lookoutmetrics-anomalydetector-metric-namespace + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metric.html#cfn-autoscaling-scalingpolicy-metric-namespace Namespace *types.Value `json:"Namespace,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -42,6 +42,6 @@ type AnomalyDetector_Metric struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AnomalyDetector_Metric) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.Metric" +func (r *ScalingPolicy_Metric) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.Metric" } diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion_logger.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricdataquery.go similarity index 51% rename from pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion_logger.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricdataquery.go index 05ca34d49d..d3f3b7b872 100644 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion_logger.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricdataquery.go @@ -1,4 +1,4 @@ -package greengrass +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,34 +6,34 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LoggerDefinitionVersion_Logger AWS CloudFormation Resource (AWS::Greengrass::LoggerDefinitionVersion.Logger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html -type LoggerDefinitionVersion_Logger struct { +// ScalingPolicy_MetricDataQuery AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.MetricDataQuery) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html +type ScalingPolicy_MetricDataQuery struct { - // Component AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html#cfn-greengrass-loggerdefinitionversion-logger-component - Component *types.Value `json:"Component,omitempty"` + // Expression AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html#cfn-autoscaling-scalingpolicy-metricdataquery-expression + Expression *types.Value `json:"Expression,omitempty"` // Id AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html#cfn-greengrass-loggerdefinitionversion-logger-id + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html#cfn-autoscaling-scalingpolicy-metricdataquery-id Id *types.Value `json:"Id,omitempty"` - // Level AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html#cfn-greengrass-loggerdefinitionversion-logger-level - Level *types.Value `json:"Level,omitempty"` + // Label AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html#cfn-autoscaling-scalingpolicy-metricdataquery-label + Label *types.Value `json:"Label,omitempty"` - // Space AWS CloudFormation Property + // MetricStat AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html#cfn-greengrass-loggerdefinitionversion-logger-space - Space *types.Value `json:"Space,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html#cfn-autoscaling-scalingpolicy-metricdataquery-metricstat + MetricStat *ScalingPolicy_MetricStat `json:"MetricStat,omitempty"` - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinitionversion-logger.html#cfn-greengrass-loggerdefinitionversion-logger-type - Type *types.Value `json:"Type,omitempty"` + // ReturnData AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdataquery.html#cfn-autoscaling-scalingpolicy-metricdataquery-returndata + ReturnData *types.Value `json:"ReturnData,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,6 +52,6 @@ type LoggerDefinitionVersion_Logger struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LoggerDefinitionVersion_Logger) AWSCloudFormationType() string { - return "AWS::Greengrass::LoggerDefinitionVersion.Logger" +func (r *ScalingPolicy_MetricDataQuery) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.MetricDataQuery" } diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_threshold.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricstat.go similarity index 61% rename from pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_threshold.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricstat.go index e9e1d70421..768bfe8b86 100644 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_threshold.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_metricstat.go @@ -1,4 +1,4 @@ -package databrew +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,25 +6,25 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Ruleset_Threshold AWS CloudFormation Resource (AWS::DataBrew::Ruleset.Threshold) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-threshold.html -type Ruleset_Threshold struct { +// ScalingPolicy_MetricStat AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.MetricStat) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricstat.html +type ScalingPolicy_MetricStat struct { - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-threshold.html#cfn-databrew-ruleset-threshold-type - Type *types.Value `json:"Type,omitempty"` + // Metric AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricstat.html#cfn-autoscaling-scalingpolicy-metricstat-metric + Metric *ScalingPolicy_Metric `json:"Metric,omitempty"` + + // Stat AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricstat.html#cfn-autoscaling-scalingpolicy-metricstat-stat + Stat *types.Value `json:"Stat,omitempty"` // Unit AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-threshold.html#cfn-databrew-ruleset-threshold-unit + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricstat.html#cfn-autoscaling-scalingpolicy-metricstat-unit Unit *types.Value `json:"Unit,omitempty"` - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-threshold.html#cfn-databrew-ruleset-threshold-value - Value *types.Value `json:"Value"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Ruleset_Threshold struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Ruleset_Threshold) AWSCloudFormationType() string { - return "AWS::DataBrew::Ruleset.Threshold" +func (r *ScalingPolicy_MetricStat) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.MetricStat" } diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetails.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedcapacitymetric.go similarity index 59% rename from pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetails.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedcapacitymetric.go index a2b33d0fc5..86bba9012a 100644 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetails.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedcapacitymetric.go @@ -1,17 +1,17 @@ -package transfer +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Server_WorkflowDetails AWS CloudFormation Resource (AWS::Transfer::Server.WorkflowDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetails.html -type Server_WorkflowDetails struct { +// ScalingPolicy_PredictiveScalingCustomizedCapacityMetric AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html +type ScalingPolicy_PredictiveScalingCustomizedCapacityMetric struct { - // OnUpload AWS CloudFormation Property + // MetricDataQueries AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetails.html#cfn-transfer-server-workflowdetails-onupload - OnUpload []Server_WorkflowDetail `json:"OnUpload,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html#cfn-autoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric-metricdataqueries + MetricDataQueries []ScalingPolicy_MetricDataQuery `json:"MetricDataQueries,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Server_WorkflowDetails struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Server_WorkflowDetails) AWSCloudFormationType() string { - return "AWS::Transfer::Server.WorkflowDetails" +func (r *ScalingPolicy_PredictiveScalingCustomizedCapacityMetric) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringgroundtruths3input.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedloadmetric.go similarity index 58% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringgroundtruths3input.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedloadmetric.go index 746d5c8616..8c078c5d76 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringgroundtruths3input.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedloadmetric.go @@ -1,19 +1,17 @@ -package sagemaker +package autoscaling import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ModelBiasJobDefinition_MonitoringGroundTruthS3Input AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringgroundtruths3input.html -type ModelBiasJobDefinition_MonitoringGroundTruthS3Input struct { +// ScalingPolicy_PredictiveScalingCustomizedLoadMetric AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedloadmetric.html +type ScalingPolicy_PredictiveScalingCustomizedLoadMetric struct { - // S3Uri AWS CloudFormation Property + // MetricDataQueries AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringgroundtruths3input.html#cfn-sagemaker-modelbiasjobdefinition-monitoringgroundtruths3input-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedloadmetric.html#cfn-autoscaling-scalingpolicy-predictivescalingcustomizedloadmetric-metricdataqueries + MetricDataQueries []ScalingPolicy_MetricDataQuery `json:"MetricDataQueries,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type ModelBiasJobDefinition_MonitoringGroundTruthS3Input struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ModelBiasJobDefinition_MonitoringGroundTruthS3Input) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input" +func (r *ScalingPolicy_PredictiveScalingCustomizedLoadMetric) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric" } diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfilter.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedscalingmetric.go similarity index 58% rename from pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfilter.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedscalingmetric.go index e4817f9f3f..3d341f3fb1 100644 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfilter.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingcustomizedscalingmetric.go @@ -1,24 +1,17 @@ -package ssm +package autoscaling import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// PatchBaseline_PatchFilter AWS CloudFormation Resource (AWS::SSM::PatchBaseline.PatchFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchfilter.html -type PatchBaseline_PatchFilter struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchfilter.html#cfn-ssm-patchbaseline-patchfilter-key - Key *types.Value `json:"Key,omitempty"` +// ScalingPolicy_PredictiveScalingCustomizedScalingMetric AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html +type ScalingPolicy_PredictiveScalingCustomizedScalingMetric struct { - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchfilter.html#cfn-ssm-patchbaseline-patchfilter-values - Values *types.Value `json:"Values,omitempty"` + // MetricDataQueries AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html#cfn-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric-metricdataqueries + MetricDataQueries []ScalingPolicy_MetricDataQuery `json:"MetricDataQueries,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +30,6 @@ type PatchBaseline_PatchFilter struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *PatchBaseline_PatchFilter) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.PatchFilter" +func (r *ScalingPolicy_PredictiveScalingCustomizedScalingMetric) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingmetricspecification.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingmetricspecification.go index f39fb38955..2f34372a56 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingmetricspecification.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_predictivescalingmetricspecification.go @@ -10,6 +10,21 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingmetricspecification.html type ScalingPolicy_PredictiveScalingMetricSpecification struct { + // CustomizedCapacityMetricSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingmetricspecification.html#cfn-autoscaling-scalingpolicy-predictivescalingmetricspecification-customizedcapacitymetricspecification + CustomizedCapacityMetricSpecification *ScalingPolicy_PredictiveScalingCustomizedCapacityMetric `json:"CustomizedCapacityMetricSpecification,omitempty"` + + // CustomizedLoadMetricSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingmetricspecification.html#cfn-autoscaling-scalingpolicy-predictivescalingmetricspecification-customizedloadmetricspecification + CustomizedLoadMetricSpecification *ScalingPolicy_PredictiveScalingCustomizedLoadMetric `json:"CustomizedLoadMetricSpecification,omitempty"` + + // CustomizedScalingMetricSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingmetricspecification.html#cfn-autoscaling-scalingpolicy-predictivescalingmetricspecification-customizedscalingmetricspecification + CustomizedScalingMetricSpecification *ScalingPolicy_PredictiveScalingCustomizedScalingMetric `json:"CustomizedScalingMetricSpecification,omitempty"` + // PredefinedLoadMetricSpecification AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingmetricspecification.html#cfn-autoscaling-scalingpolicy-predictivescalingmetricspecification-predefinedloadmetricspecification diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_stepadjustment.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_stepadjustment.go index 238c8938f3..d558972ac8 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_stepadjustment.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_stepadjustment.go @@ -7,22 +7,22 @@ import ( ) // ScalingPolicy_StepAdjustment AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.StepAdjustment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustments.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustment.html type ScalingPolicy_StepAdjustment struct { // MetricIntervalLowerBound AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustments.html#cfn-autoscaling-scalingpolicy-stepadjustment-metricintervallowerbound + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustment.html#cfn-autoscaling-scalingpolicy-stepadjustment-metricintervallowerbound MetricIntervalLowerBound *types.Value `json:"MetricIntervalLowerBound,omitempty"` // MetricIntervalUpperBound AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustments.html#cfn-autoscaling-scalingpolicy-stepadjustment-metricintervalupperbound + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustment.html#cfn-autoscaling-scalingpolicy-stepadjustment-metricintervalupperbound MetricIntervalUpperBound *types.Value `json:"MetricIntervalUpperBound,omitempty"` // ScalingAdjustment AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustments.html#cfn-autoscaling-scalingpolicy-stepadjustment-scalingadjustment + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-stepadjustment.html#cfn-autoscaling-scalingpolicy-stepadjustment-scalingadjustment ScalingAdjustment *types.Value `json:"ScalingAdjustment"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricdataquery.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricdataquery.go new file mode 100644 index 0000000000..4fbdafc912 --- /dev/null +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricdataquery.go @@ -0,0 +1,62 @@ +package autoscaling + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// ScalingPolicy_TargetTrackingMetricDataQuery AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html +type ScalingPolicy_TargetTrackingMetricDataQuery struct { + + // Expression AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-expression + Expression *types.Value `json:"Expression,omitempty"` + + // Id AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-id + Id *types.Value `json:"Id,omitempty"` + + // Label AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-label + Label *types.Value `json:"Label,omitempty"` + + // MetricStat AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-metricstat + MetricStat *ScalingPolicy_TargetTrackingMetricStat `json:"MetricStat,omitempty"` + + // Period AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-period + Period *types.Value `json:"Period,omitempty"` + + // ReturnData AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-autoscaling-scalingpolicy-targettrackingmetricdataquery-returndata + ReturnData *types.Value `json:"ReturnData,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 *ScalingPolicy_TargetTrackingMetricDataQuery) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery" +} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_propertytype.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricstat.go similarity index 52% rename from pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_propertytype.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricstat.go index 9996f2d3e4..9ed136fd52 100644 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_propertytype.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scalingpolicy_targettrackingmetricstat.go @@ -1,4 +1,4 @@ -package iotsitewise +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AssetModel_PropertyType AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.PropertyType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertytype.html -type AssetModel_PropertyType struct { - - // Attribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertytype.html#cfn-iotsitewise-assetmodel-propertytype-attribute - Attribute *AssetModel_Attribute `json:"Attribute,omitempty"` +// ScalingPolicy_TargetTrackingMetricStat AWS CloudFormation Resource (AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html +type ScalingPolicy_TargetTrackingMetricStat struct { // Metric AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertytype.html#cfn-iotsitewise-assetmodel-propertytype-metric - Metric *AssetModel_Metric `json:"Metric,omitempty"` + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-autoscaling-scalingpolicy-targettrackingmetricstat-metric + Metric *ScalingPolicy_Metric `json:"Metric,omitempty"` - // Transform AWS CloudFormation Property + // Period AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertytype.html#cfn-iotsitewise-assetmodel-propertytype-transform - Transform *AssetModel_Transform `json:"Transform,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-autoscaling-scalingpolicy-targettrackingmetricstat-period + Period *types.Value `json:"Period,omitempty"` - // TypeName AWS CloudFormation Property + // Stat AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-propertytype.html#cfn-iotsitewise-assetmodel-propertytype-typename - TypeName *types.Value `json:"TypeName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-autoscaling-scalingpolicy-targettrackingmetricstat-stat + Stat *types.Value `json:"Stat,omitempty"` + + // Unit AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-autoscaling-scalingpolicy-targettrackingmetricstat-unit + Unit *types.Value `json:"Unit,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type AssetModel_PropertyType struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AssetModel_PropertyType) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.PropertyType" +func (r *ScalingPolicy_TargetTrackingMetricStat) AWSCloudFormationType() string { + return "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat" } diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scheduledaction.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scheduledaction.go index 26502cc332..253fab1bc4 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scheduledaction.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-scheduledaction.go @@ -11,47 +11,47 @@ import ( ) // ScheduledAction AWS CloudFormation Resource (AWS::AutoScaling::ScheduledAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html type ScheduledAction struct { // AutoScalingGroupName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-asgname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-autoscalinggroupname AutoScalingGroupName *types.Value `json:"AutoScalingGroupName,omitempty"` // DesiredCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-desiredcapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-desiredcapacity DesiredCapacity *types.Value `json:"DesiredCapacity,omitempty"` // EndTime AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-endtime + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-endtime EndTime *types.Value `json:"EndTime,omitempty"` // MaxSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-maxsize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-maxsize MaxSize *types.Value `json:"MaxSize,omitempty"` // MinSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-minsize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-minsize MinSize *types.Value `json:"MinSize,omitempty"` // Recurrence AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-recurrence + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-recurrence Recurrence *types.Value `json:"Recurrence,omitempty"` // StartTime AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-starttime + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-starttime StartTime *types.Value `json:"StartTime,omitempty"` // TimeZone AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-scheduledaction.html#cfn-as-scheduledaction-timezone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scheduledaction.html#cfn-autoscaling-scheduledaction-timezone TimeZone *types.Value `json:"TimeZone,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool.go index 6b58c1c057..5eef6aba42 100644 --- a/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool.go @@ -19,6 +19,11 @@ type WarmPool struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-autoscalinggroupname AutoScalingGroupName *types.Value `json:"AutoScalingGroupName,omitempty"` + // InstanceReusePolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-instancereusepolicy + InstanceReusePolicy *WarmPool_InstanceReusePolicy `json:"InstanceReusePolicy,omitempty"` + // MaxGroupPreparedCapacity AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-maxgrouppreparedcapacity diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_destination.go b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool_instancereusepolicy.go similarity index 66% rename from pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_destination.go rename to pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool_instancereusepolicy.go index 3de2f70c4c..9a440708aa 100644 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_destination.go +++ b/pkg/goformation/cloudformation/autoscaling/aws-autoscaling-warmpool_instancereusepolicy.go @@ -1,4 +1,4 @@ -package gamelift +package autoscaling import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// GameSessionQueue_Destination AWS CloudFormation Resource (AWS::GameLift::GameSessionQueue.Destination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-destination.html -type GameSessionQueue_Destination struct { +// WarmPool_InstanceReusePolicy AWS CloudFormation Resource (AWS::AutoScaling::WarmPool.InstanceReusePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-warmpool-instancereusepolicy.html +type WarmPool_InstanceReusePolicy struct { - // DestinationArn AWS CloudFormation Property + // ReuseOnScaleIn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-destination.html#cfn-gamelift-gamesessionqueue-destination-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-warmpool-instancereusepolicy.html#cfn-autoscaling-warmpool-instancereusepolicy-reuseonscalein + ReuseOnScaleIn *types.Value `json:"ReuseOnScaleIn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type GameSessionQueue_Destination struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *GameSessionQueue_Destination) AWSCloudFormationType() string { - return "AWS::GameLift::GameSessionQueue.Destination" +func (r *WarmPool_InstanceReusePolicy) AWSCloudFormationType() string { + return "AWS::AutoScaling::WarmPool.InstanceReusePolicy" } diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan.go deleted file mode 100644 index 2a5f71cc7c..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan.go +++ /dev/null @@ -1,111 +0,0 @@ -package autoscalingplans - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscalingplans-scalingplan.html -type ScalingPlan struct { - - // ApplicationSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscalingplans-scalingplan.html#cfn-autoscalingplans-scalingplan-applicationsource - ApplicationSource *ScalingPlan_ApplicationSource `json:"ApplicationSource,omitempty"` - - // ScalingInstructions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscalingplans-scalingplan.html#cfn-autoscalingplans-scalingplan-scalinginstructions - ScalingInstructions []ScalingPlan_ScalingInstruction `json:"ScalingInstructions,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 *ScalingPlan) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan" -} - -// 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 (r ScalingPlan) MarshalJSON() ([]byte, error) { - type Properties ScalingPlan - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScalingPlan) UnmarshalJSON(b []byte) error { - type Properties ScalingPlan - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScalingPlan(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_applicationsource.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_applicationsource.go deleted file mode 100644 index 2ce70be23b..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_applicationsource.go +++ /dev/null @@ -1,42 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_ApplicationSource AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.ApplicationSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-applicationsource.html -type ScalingPlan_ApplicationSource struct { - - // CloudFormationStackARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-applicationsource.html#cfn-autoscalingplans-scalingplan-applicationsource-cloudformationstackarn - CloudFormationStackARN *types.Value `json:"CloudFormationStackARN,omitempty"` - - // TagFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-applicationsource.html#cfn-autoscalingplans-scalingplan-applicationsource-tagfilters - TagFilters []ScalingPlan_TagFilter `json:"TagFilters,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 *ScalingPlan_ApplicationSource) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.ApplicationSource" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedloadmetricspecification.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedloadmetricspecification.go deleted file mode 100644 index 3ea4830e42..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedloadmetricspecification.go +++ /dev/null @@ -1,57 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_CustomizedLoadMetricSpecification AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html -type ScalingPlan_CustomizedLoadMetricSpecification struct { - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedloadmetricspecification-dimensions - Dimensions []ScalingPlan_MetricDimension `json:"Dimensions,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedloadmetricspecification-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedloadmetricspecification-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // Statistic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedloadmetricspecification-statistic - Statistic *types.Value `json:"Statistic,omitempty"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedloadmetricspecification-unit - Unit *types.Value `json:"Unit,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 *ScalingPlan_CustomizedLoadMetricSpecification) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedscalingmetricspecification.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedscalingmetricspecification.go deleted file mode 100644 index 08aca82cd8..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_customizedscalingmetricspecification.go +++ /dev/null @@ -1,57 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_CustomizedScalingMetricSpecification AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html -type ScalingPlan_CustomizedScalingMetricSpecification struct { - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedscalingmetricspecification-dimensions - Dimensions []ScalingPlan_MetricDimension `json:"Dimensions,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedscalingmetricspecification-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedscalingmetricspecification-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // Statistic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedscalingmetricspecification-statistic - Statistic *types.Value `json:"Statistic,omitempty"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-customizedscalingmetricspecification-unit - Unit *types.Value `json:"Unit,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 *ScalingPlan_CustomizedScalingMetricSpecification) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_metricdimension.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_metricdimension.go deleted file mode 100644 index 5e48648372..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_metricdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_MetricDimension AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-metricdimension.html -type ScalingPlan_MetricDimension struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-metricdimension.html#cfn-autoscalingplans-scalingplan-metricdimension-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-metricdimension.html#cfn-autoscalingplans-scalingplan-metricdimension-value - Value *types.Value `json:"Value,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 *ScalingPlan_MetricDimension) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.MetricDimension" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedloadmetricspecification.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedloadmetricspecification.go deleted file mode 100644 index 37420a92e8..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedloadmetricspecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_PredefinedLoadMetricSpecification AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html -type ScalingPlan_PredefinedLoadMetricSpecification struct { - - // PredefinedLoadMetricType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-predefinedloadmetricspecification-predefinedloadmetrictype - PredefinedLoadMetricType *types.Value `json:"PredefinedLoadMetricType,omitempty"` - - // ResourceLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html#cfn-autoscalingplans-scalingplan-predefinedloadmetricspecification-resourcelabel - ResourceLabel *types.Value `json:"ResourceLabel,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 *ScalingPlan_PredefinedLoadMetricSpecification) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedscalingmetricspecification.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedscalingmetricspecification.go deleted file mode 100644 index fdf9b74520..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_predefinedscalingmetricspecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_PredefinedScalingMetricSpecification AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedscalingmetricspecification.html -type ScalingPlan_PredefinedScalingMetricSpecification struct { - - // PredefinedScalingMetricType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-predefinedscalingmetricspecification-predefinedscalingmetrictype - PredefinedScalingMetricType *types.Value `json:"PredefinedScalingMetricType,omitempty"` - - // ResourceLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedscalingmetricspecification.html#cfn-autoscalingplans-scalingplan-predefinedscalingmetricspecification-resourcelabel - ResourceLabel *types.Value `json:"ResourceLabel,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 *ScalingPlan_PredefinedScalingMetricSpecification) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_scalinginstruction.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_scalinginstruction.go deleted file mode 100644 index 400cb81b94..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_scalinginstruction.go +++ /dev/null @@ -1,102 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_ScalingInstruction AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html -type ScalingPlan_ScalingInstruction struct { - - // CustomizedLoadMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-customizedloadmetricspecification - CustomizedLoadMetricSpecification *ScalingPlan_CustomizedLoadMetricSpecification `json:"CustomizedLoadMetricSpecification,omitempty"` - - // DisableDynamicScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-disabledynamicscaling - DisableDynamicScaling *types.Value `json:"DisableDynamicScaling,omitempty"` - - // MaxCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity"` - - // MinCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-mincapacity - MinCapacity *types.Value `json:"MinCapacity"` - - // PredefinedLoadMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predefinedloadmetricspecification - PredefinedLoadMetricSpecification *ScalingPlan_PredefinedLoadMetricSpecification `json:"PredefinedLoadMetricSpecification,omitempty"` - - // PredictiveScalingMaxCapacityBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybehavior - PredictiveScalingMaxCapacityBehavior *types.Value `json:"PredictiveScalingMaxCapacityBehavior,omitempty"` - - // PredictiveScalingMaxCapacityBuffer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybuffer - PredictiveScalingMaxCapacityBuffer *types.Value `json:"PredictiveScalingMaxCapacityBuffer,omitempty"` - - // PredictiveScalingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmode - PredictiveScalingMode *types.Value `json:"PredictiveScalingMode,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // ScalableDimension AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalabledimension - ScalableDimension *types.Value `json:"ScalableDimension,omitempty"` - - // ScalingPolicyUpdateBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalingpolicyupdatebehavior - ScalingPolicyUpdateBehavior *types.Value `json:"ScalingPolicyUpdateBehavior,omitempty"` - - // ScheduledActionBufferTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scheduledactionbuffertime - ScheduledActionBufferTime *types.Value `json:"ScheduledActionBufferTime,omitempty"` - - // ServiceNamespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-servicenamespace - ServiceNamespace *types.Value `json:"ServiceNamespace,omitempty"` - - // TargetTrackingConfigurations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-targettrackingconfigurations - TargetTrackingConfigurations []ScalingPlan_TargetTrackingConfiguration `json:"TargetTrackingConfigurations,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 *ScalingPlan_ScalingInstruction) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_tagfilter.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_tagfilter.go deleted file mode 100644 index 4b4b63b27c..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_tagfilter.go +++ /dev/null @@ -1,42 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_TagFilter AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.TagFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-tagfilter.html -type ScalingPlan_TagFilter struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-tagfilter.html#cfn-autoscalingplans-scalingplan-tagfilter-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-tagfilter.html#cfn-autoscalingplans-scalingplan-tagfilter-values - Values *types.Value `json:"Values,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 *ScalingPlan_TagFilter) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.TagFilter" -} diff --git a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_targettrackingconfiguration.go b/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_targettrackingconfiguration.go deleted file mode 100644 index 972d47bad3..0000000000 --- a/pkg/goformation/cloudformation/autoscalingplans/aws-autoscalingplans-scalingplan_targettrackingconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package autoscalingplans - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScalingPlan_TargetTrackingConfiguration AWS CloudFormation Resource (AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html -type ScalingPlan_TargetTrackingConfiguration struct { - - // CustomizedScalingMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-customizedscalingmetricspecification - CustomizedScalingMetricSpecification *ScalingPlan_CustomizedScalingMetricSpecification `json:"CustomizedScalingMetricSpecification,omitempty"` - - // DisableScaleIn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-disablescalein - DisableScaleIn *types.Value `json:"DisableScaleIn,omitempty"` - - // EstimatedInstanceWarmup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-estimatedinstancewarmup - EstimatedInstanceWarmup *types.Value `json:"EstimatedInstanceWarmup,omitempty"` - - // PredefinedScalingMetricSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-predefinedscalingmetricspecification - PredefinedScalingMetricSpecification *ScalingPlan_PredefinedScalingMetricSpecification `json:"PredefinedScalingMetricSpecification,omitempty"` - - // ScaleInCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-scaleincooldown - ScaleInCooldown *types.Value `json:"ScaleInCooldown,omitempty"` - - // ScaleOutCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-scaleoutcooldown - ScaleOutCooldown *types.Value `json:"ScaleOutCooldown,omitempty"` - - // TargetValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-targettrackingconfiguration.html#cfn-autoscalingplans-scalingplan-targettrackingconfiguration-targetvalue - TargetValue *types.Value `json:"TargetValue"` - - // 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 *ScalingPlan_TargetTrackingConfiguration) AWSCloudFormationType() string { - return "AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan.go deleted file mode 100644 index d3ab4c4150..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan.go +++ /dev/null @@ -1,113 +0,0 @@ -package backup - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan AWS CloudFormation Resource (AWS::Backup::BackupPlan) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html -type BackupPlan struct { - - // BackupPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplan - BackupPlan *BackupPlan_BackupPlanResourceType `json:"BackupPlan,omitempty"` - - // BackupPlanTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplantags - BackupPlanTags map[string]*types.Value `json:"BackupPlanTags,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 *BackupPlan) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan" -} - -// 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 (r BackupPlan) MarshalJSON() ([]byte, error) { - type Properties BackupPlan - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BackupPlan) UnmarshalJSON(b []byte) error { - type Properties BackupPlan - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BackupPlan(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_advancedbackupsettingresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan_advancedbackupsettingresourcetype.go deleted file mode 100644 index b4cc2e5b7d..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_advancedbackupsettingresourcetype.go +++ /dev/null @@ -1,42 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan_AdvancedBackupSettingResourceType AWS CloudFormation Resource (AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-advancedbackupsettingresourcetype.html -type BackupPlan_AdvancedBackupSettingResourceType struct { - - // BackupOptions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-advancedbackupsettingresourcetype.html#cfn-backup-backupplan-advancedbackupsettingresourcetype-backupoptions - BackupOptions interface{} `json:"BackupOptions,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-advancedbackupsettingresourcetype.html#cfn-backup-backupplan-advancedbackupsettingresourcetype-resourcetype - ResourceType *types.Value `json:"ResourceType,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 *BackupPlan_AdvancedBackupSettingResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupplanresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupplanresourcetype.go deleted file mode 100644 index 554c5161c5..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupplanresourcetype.go +++ /dev/null @@ -1,47 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan_BackupPlanResourceType AWS CloudFormation Resource (AWS::Backup::BackupPlan.BackupPlanResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupplanresourcetype.html -type BackupPlan_BackupPlanResourceType struct { - - // AdvancedBackupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupplanresourcetype.html#cfn-backup-backupplan-backupplanresourcetype-advancedbackupsettings - AdvancedBackupSettings []BackupPlan_AdvancedBackupSettingResourceType `json:"AdvancedBackupSettings,omitempty"` - - // BackupPlanName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupplanresourcetype.html#cfn-backup-backupplan-backupplanresourcetype-backupplanname - BackupPlanName *types.Value `json:"BackupPlanName,omitempty"` - - // BackupPlanRule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupplanresourcetype.html#cfn-backup-backupplan-backupplanresourcetype-backupplanrule - BackupPlanRule []BackupPlan_BackupRuleResourceType `json:"BackupPlanRule,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 *BackupPlan_BackupPlanResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan.BackupPlanResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupruleresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupruleresourcetype.go deleted file mode 100644 index 587073db17..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_backupruleresourcetype.go +++ /dev/null @@ -1,77 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan_BackupRuleResourceType AWS CloudFormation Resource (AWS::Backup::BackupPlan.BackupRuleResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html -type BackupPlan_BackupRuleResourceType struct { - - // CompletionWindowMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-completionwindowminutes - CompletionWindowMinutes *types.Value `json:"CompletionWindowMinutes,omitempty"` - - // CopyActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-copyactions - CopyActions []BackupPlan_CopyActionResourceType `json:"CopyActions,omitempty"` - - // EnableContinuousBackup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-enablecontinuousbackup - EnableContinuousBackup *types.Value `json:"EnableContinuousBackup,omitempty"` - - // Lifecycle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-lifecycle - Lifecycle *BackupPlan_LifecycleResourceType `json:"Lifecycle,omitempty"` - - // RecoveryPointTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-recoverypointtags - RecoveryPointTags map[string]*types.Value `json:"RecoveryPointTags,omitempty"` - - // RuleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-rulename - RuleName *types.Value `json:"RuleName,omitempty"` - - // ScheduleExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,omitempty"` - - // StartWindowMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-startwindowminutes - StartWindowMinutes *types.Value `json:"StartWindowMinutes,omitempty"` - - // TargetBackupVault AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-backupruleresourcetype.html#cfn-backup-backupplan-backupruleresourcetype-targetbackupvault - TargetBackupVault *types.Value `json:"TargetBackupVault,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 *BackupPlan_BackupRuleResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan.BackupRuleResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_copyactionresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan_copyactionresourcetype.go deleted file mode 100644 index 5f2b2e8154..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_copyactionresourcetype.go +++ /dev/null @@ -1,42 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan_CopyActionResourceType AWS CloudFormation Resource (AWS::Backup::BackupPlan.CopyActionResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html -type BackupPlan_CopyActionResourceType struct { - - // DestinationBackupVaultArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html#cfn-backup-backupplan-copyactionresourcetype-destinationbackupvaultarn - DestinationBackupVaultArn *types.Value `json:"DestinationBackupVaultArn,omitempty"` - - // Lifecycle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-copyactionresourcetype.html#cfn-backup-backupplan-copyactionresourcetype-lifecycle - Lifecycle *BackupPlan_LifecycleResourceType `json:"Lifecycle,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 *BackupPlan_CopyActionResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan.CopyActionResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_lifecycleresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupplan_lifecycleresourcetype.go deleted file mode 100644 index e9b86121cc..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupplan_lifecycleresourcetype.go +++ /dev/null @@ -1,42 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupPlan_LifecycleResourceType AWS CloudFormation Resource (AWS::Backup::BackupPlan.LifecycleResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html -type BackupPlan_LifecycleResourceType struct { - - // DeleteAfterDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html#cfn-backup-backupplan-lifecycleresourcetype-deleteafterdays - DeleteAfterDays *types.Value `json:"DeleteAfterDays,omitempty"` - - // MoveToColdStorageAfterDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-lifecycleresourcetype.html#cfn-backup-backupplan-lifecycleresourcetype-movetocoldstorageafterdays - MoveToColdStorageAfterDays *types.Value `json:"MoveToColdStorageAfterDays,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 *BackupPlan_LifecycleResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupPlan.LifecycleResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupselection.go b/pkg/goformation/cloudformation/backup/aws-backup-backupselection.go deleted file mode 100644 index 9fdfce1068..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupselection.go +++ /dev/null @@ -1,113 +0,0 @@ -package backup - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupSelection AWS CloudFormation Resource (AWS::Backup::BackupSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupselection.html -type BackupSelection struct { - - // BackupPlanId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupselection.html#cfn-backup-backupselection-backupplanid - BackupPlanId *types.Value `json:"BackupPlanId,omitempty"` - - // BackupSelection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupselection.html#cfn-backup-backupselection-backupselection - BackupSelection *BackupSelection_BackupSelectionResourceType `json:"BackupSelection,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 *BackupSelection) AWSCloudFormationType() string { - return "AWS::Backup::BackupSelection" -} - -// 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 (r BackupSelection) MarshalJSON() ([]byte, error) { - type Properties BackupSelection - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BackupSelection) UnmarshalJSON(b []byte) error { - type Properties BackupSelection - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BackupSelection(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupselection_backupselectionresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupselection_backupselectionresourcetype.go deleted file mode 100644 index 3931de8366..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupselection_backupselectionresourcetype.go +++ /dev/null @@ -1,62 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupSelection_BackupSelectionResourceType AWS CloudFormation Resource (AWS::Backup::BackupSelection.BackupSelectionResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html -type BackupSelection_BackupSelectionResourceType struct { - - // Conditions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-conditions - Conditions interface{} `json:"Conditions,omitempty"` - - // IamRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-iamrolearn - IamRoleArn *types.Value `json:"IamRoleArn,omitempty"` - - // ListOfTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-listoftags - ListOfTags []BackupSelection_ConditionResourceType `json:"ListOfTags,omitempty"` - - // NotResources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-notresources - NotResources *types.Value `json:"NotResources,omitempty"` - - // Resources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-resources - Resources *types.Value `json:"Resources,omitempty"` - - // SelectionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.html#cfn-backup-backupselection-backupselectionresourcetype-selectionname - SelectionName *types.Value `json:"SelectionName,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 *BackupSelection_BackupSelectionResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupSelection.BackupSelectionResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupselection_conditionresourcetype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupselection_conditionresourcetype.go deleted file mode 100644 index 4f3dfba392..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupselection_conditionresourcetype.go +++ /dev/null @@ -1,47 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupSelection_ConditionResourceType AWS CloudFormation Resource (AWS::Backup::BackupSelection.ConditionResourceType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionresourcetype.html -type BackupSelection_ConditionResourceType struct { - - // ConditionKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionresourcetype.html#cfn-backup-backupselection-conditionresourcetype-conditionkey - ConditionKey *types.Value `json:"ConditionKey,omitempty"` - - // ConditionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionresourcetype.html#cfn-backup-backupselection-conditionresourcetype-conditiontype - ConditionType *types.Value `json:"ConditionType,omitempty"` - - // ConditionValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionresourcetype.html#cfn-backup-backupselection-conditionresourcetype-conditionvalue - ConditionValue *types.Value `json:"ConditionValue,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 *BackupSelection_ConditionResourceType) AWSCloudFormationType() string { - return "AWS::Backup::BackupSelection.ConditionResourceType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupvault.go b/pkg/goformation/cloudformation/backup/aws-backup-backupvault.go deleted file mode 100644 index f2b26cbb11..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupvault.go +++ /dev/null @@ -1,133 +0,0 @@ -package backup - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupVault AWS CloudFormation Resource (AWS::Backup::BackupVault) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html -type BackupVault struct { - - // AccessPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-accesspolicy - AccessPolicy interface{} `json:"AccessPolicy,omitempty"` - - // BackupVaultName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-backupvaultname - BackupVaultName *types.Value `json:"BackupVaultName,omitempty"` - - // BackupVaultTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-backupvaulttags - BackupVaultTags map[string]*types.Value `json:"BackupVaultTags,omitempty"` - - // EncryptionKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-encryptionkeyarn - EncryptionKeyArn *types.Value `json:"EncryptionKeyArn,omitempty"` - - // LockConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-lockconfiguration - LockConfiguration *BackupVault_LockConfigurationType `json:"LockConfiguration,omitempty"` - - // Notifications AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-notifications - Notifications *BackupVault_NotificationObjectType `json:"Notifications,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 *BackupVault) AWSCloudFormationType() string { - return "AWS::Backup::BackupVault" -} - -// 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 (r BackupVault) MarshalJSON() ([]byte, error) { - type Properties BackupVault - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BackupVault) UnmarshalJSON(b []byte) error { - type Properties BackupVault - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BackupVault(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupvault_lockconfigurationtype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupvault_lockconfigurationtype.go deleted file mode 100644 index 7a09957390..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupvault_lockconfigurationtype.go +++ /dev/null @@ -1,47 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupVault_LockConfigurationType AWS CloudFormation Resource (AWS::Backup::BackupVault.LockConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-lockconfigurationtype.html -type BackupVault_LockConfigurationType struct { - - // ChangeableForDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-lockconfigurationtype.html#cfn-backup-backupvault-lockconfigurationtype-changeablefordays - ChangeableForDays *types.Value `json:"ChangeableForDays,omitempty"` - - // MaxRetentionDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-lockconfigurationtype.html#cfn-backup-backupvault-lockconfigurationtype-maxretentiondays - MaxRetentionDays *types.Value `json:"MaxRetentionDays,omitempty"` - - // MinRetentionDays AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-lockconfigurationtype.html#cfn-backup-backupvault-lockconfigurationtype-minretentiondays - MinRetentionDays *types.Value `json:"MinRetentionDays"` - - // 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 *BackupVault_LockConfigurationType) AWSCloudFormationType() string { - return "AWS::Backup::BackupVault.LockConfigurationType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-backupvault_notificationobjecttype.go b/pkg/goformation/cloudformation/backup/aws-backup-backupvault_notificationobjecttype.go deleted file mode 100644 index 11e2b4acdb..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-backupvault_notificationobjecttype.go +++ /dev/null @@ -1,42 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BackupVault_NotificationObjectType AWS CloudFormation Resource (AWS::Backup::BackupVault.NotificationObjectType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-notificationobjecttype.html -type BackupVault_NotificationObjectType struct { - - // BackupVaultEvents AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-notificationobjecttype.html#cfn-backup-backupvault-notificationobjecttype-backupvaultevents - BackupVaultEvents *types.Value `json:"BackupVaultEvents,omitempty"` - - // SNSTopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupvault-notificationobjecttype.html#cfn-backup-backupvault-notificationobjecttype-snstopicarn - SNSTopicArn *types.Value `json:"SNSTopicArn,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 *BackupVault_NotificationObjectType) AWSCloudFormationType() string { - return "AWS::Backup::BackupVault.NotificationObjectType" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-framework.go b/pkg/goformation/cloudformation/backup/aws-backup-framework.go deleted file mode 100644 index b03d9ce575..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-framework.go +++ /dev/null @@ -1,124 +0,0 @@ -package backup - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Framework AWS CloudFormation Resource (AWS::Backup::Framework) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html -type Framework struct { - - // FrameworkControls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html#cfn-backup-framework-frameworkcontrols - FrameworkControls []Framework_FrameworkControl `json:"FrameworkControls,omitempty"` - - // FrameworkDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html#cfn-backup-framework-frameworkdescription - FrameworkDescription *types.Value `json:"FrameworkDescription,omitempty"` - - // FrameworkName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html#cfn-backup-framework-frameworkname - FrameworkName *types.Value `json:"FrameworkName,omitempty"` - - // FrameworkTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-framework.html#cfn-backup-framework-frameworktags - FrameworkTags []cloudformation.Tag `json:"FrameworkTags,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 *Framework) AWSCloudFormationType() string { - return "AWS::Backup::Framework" -} - -// 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 (r Framework) MarshalJSON() ([]byte, error) { - type Properties Framework - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Framework) UnmarshalJSON(b []byte) error { - type Properties Framework - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Framework(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-framework_controlinputparameter.go b/pkg/goformation/cloudformation/backup/aws-backup-framework_controlinputparameter.go deleted file mode 100644 index 2e415c09f6..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-framework_controlinputparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Framework_ControlInputParameter AWS CloudFormation Resource (AWS::Backup::Framework.ControlInputParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlinputparameter.html -type Framework_ControlInputParameter struct { - - // ParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlinputparameter.html#cfn-backup-framework-controlinputparameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-controlinputparameter.html#cfn-backup-framework-controlinputparameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *Framework_ControlInputParameter) AWSCloudFormationType() string { - return "AWS::Backup::Framework.ControlInputParameter" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-framework_frameworkcontrol.go b/pkg/goformation/cloudformation/backup/aws-backup-framework_frameworkcontrol.go deleted file mode 100644 index d92072786c..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-framework_frameworkcontrol.go +++ /dev/null @@ -1,47 +0,0 @@ -package backup - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Framework_FrameworkControl AWS CloudFormation Resource (AWS::Backup::Framework.FrameworkControl) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-frameworkcontrol.html -type Framework_FrameworkControl struct { - - // ControlInputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-frameworkcontrol.html#cfn-backup-framework-frameworkcontrol-controlinputparameters - ControlInputParameters []Framework_ControlInputParameter `json:"ControlInputParameters,omitempty"` - - // ControlName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-frameworkcontrol.html#cfn-backup-framework-frameworkcontrol-controlname - ControlName *types.Value `json:"ControlName,omitempty"` - - // ControlScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-framework-frameworkcontrol.html#cfn-backup-framework-frameworkcontrol-controlscope - ControlScope interface{} `json:"ControlScope,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 *Framework_FrameworkControl) AWSCloudFormationType() string { - return "AWS::Backup::Framework.FrameworkControl" -} diff --git a/pkg/goformation/cloudformation/backup/aws-backup-reportplan.go b/pkg/goformation/cloudformation/backup/aws-backup-reportplan.go deleted file mode 100644 index 7bba24c853..0000000000 --- a/pkg/goformation/cloudformation/backup/aws-backup-reportplan.go +++ /dev/null @@ -1,129 +0,0 @@ -package backup - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReportPlan AWS CloudFormation Resource (AWS::Backup::ReportPlan) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html -type ReportPlan struct { - - // ReportDeliveryChannel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html#cfn-backup-reportplan-reportdeliverychannel - ReportDeliveryChannel interface{} `json:"ReportDeliveryChannel,omitempty"` - - // ReportPlanDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html#cfn-backup-reportplan-reportplandescription - ReportPlanDescription *types.Value `json:"ReportPlanDescription,omitempty"` - - // ReportPlanName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html#cfn-backup-reportplan-reportplanname - ReportPlanName *types.Value `json:"ReportPlanName,omitempty"` - - // ReportPlanTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html#cfn-backup-reportplan-reportplantags - ReportPlanTags []cloudformation.Tag `json:"ReportPlanTags,omitempty"` - - // ReportSetting AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-reportplan.html#cfn-backup-reportplan-reportsetting - ReportSetting interface{} `json:"ReportSetting,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 *ReportPlan) AWSCloudFormationType() string { - return "AWS::Backup::ReportPlan" -} - -// 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 (r ReportPlan) MarshalJSON() ([]byte, error) { - type Properties ReportPlan - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReportPlan) UnmarshalJSON(b []byte) error { - type Properties ReportPlan - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReportPlan(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment.go b/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment.go deleted file mode 100644 index d1277c3152..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment.go +++ /dev/null @@ -1,138 +0,0 @@ -package batch - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComputeEnvironment AWS CloudFormation Resource (AWS::Batch::ComputeEnvironment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html -type ComputeEnvironment struct { - - // ComputeEnvironmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-computeenvironmentname - ComputeEnvironmentName *types.Value `json:"ComputeEnvironmentName,omitempty"` - - // ComputeResources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-computeresources - ComputeResources *ComputeEnvironment_ComputeResources `json:"ComputeResources,omitempty"` - - // ServiceRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-tags - Tags interface{} `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-type - Type *types.Value `json:"Type,omitempty"` - - // UnmanagedvCpus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html#cfn-batch-computeenvironment-unmanagedvcpus - UnmanagedvCpus *types.Value `json:"UnmanagedvCpus,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 *ComputeEnvironment) AWSCloudFormationType() string { - return "AWS::Batch::ComputeEnvironment" -} - -// 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 (r ComputeEnvironment) MarshalJSON() ([]byte, error) { - type Properties ComputeEnvironment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ComputeEnvironment) UnmarshalJSON(b []byte) error { - type Properties ComputeEnvironment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ComputeEnvironment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_computeresources.go b/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_computeresources.go deleted file mode 100644 index 1c61edd3bc..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_computeresources.go +++ /dev/null @@ -1,117 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComputeEnvironment_ComputeResources AWS CloudFormation Resource (AWS::Batch::ComputeEnvironment.ComputeResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html -type ComputeEnvironment_ComputeResources struct { - - // AllocationStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy - AllocationStrategy *types.Value `json:"AllocationStrategy,omitempty"` - - // BidPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage - BidPercentage *types.Value `json:"BidPercentage,omitempty"` - - // DesiredvCpus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-desiredvcpus - DesiredvCpus *types.Value `json:"DesiredvCpus,omitempty"` - - // Ec2Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration - Ec2Configuration []ComputeEnvironment_Ec2ConfigurationObject `json:"Ec2Configuration,omitempty"` - - // Ec2KeyPair AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair - Ec2KeyPair *types.Value `json:"Ec2KeyPair,omitempty"` - - // ImageId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid - ImageId *types.Value `json:"ImageId,omitempty"` - - // InstanceRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole - InstanceRole *types.Value `json:"InstanceRole,omitempty"` - - // InstanceTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes - InstanceTypes *types.Value `json:"InstanceTypes,omitempty"` - - // LaunchTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate - LaunchTemplate *ComputeEnvironment_LaunchTemplateSpecification `json:"LaunchTemplate,omitempty"` - - // MaxvCpus AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus - MaxvCpus *types.Value `json:"MaxvCpus"` - - // MinvCpus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus - MinvCpus *types.Value `json:"MinvCpus,omitempty"` - - // PlacementGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup - PlacementGroup *types.Value `json:"PlacementGroup,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SpotIamFleetRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-spotiamfleetrole - SpotIamFleetRole *types.Value `json:"SpotIamFleetRole,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets - Subnets *types.Value `json:"Subnets,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags - Tags interface{} `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type - Type *types.Value `json:"Type,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 *ComputeEnvironment_ComputeResources) AWSCloudFormationType() string { - return "AWS::Batch::ComputeEnvironment.ComputeResources" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_ec2configurationobject.go b/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_ec2configurationobject.go deleted file mode 100644 index b1e1480109..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_ec2configurationobject.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComputeEnvironment_Ec2ConfigurationObject AWS CloudFormation Resource (AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html -type ComputeEnvironment_Ec2ConfigurationObject struct { - - // ImageIdOverride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html#cfn-batch-computeenvironment-ec2configurationobject-imageidoverride - ImageIdOverride *types.Value `json:"ImageIdOverride,omitempty"` - - // ImageType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html#cfn-batch-computeenvironment-ec2configurationobject-imagetype - ImageType *types.Value `json:"ImageType,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 *ComputeEnvironment_Ec2ConfigurationObject) AWSCloudFormationType() string { - return "AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition.go deleted file mode 100644 index cce117f4a9..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition.go +++ /dev/null @@ -1,158 +0,0 @@ -package batch - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition AWS CloudFormation Resource (AWS::Batch::JobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html -type JobDefinition struct { - - // ContainerProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-containerproperties - ContainerProperties *JobDefinition_ContainerProperties `json:"ContainerProperties,omitempty"` - - // JobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-jobdefinitionname - JobDefinitionName *types.Value `json:"JobDefinitionName,omitempty"` - - // NodeProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-nodeproperties - NodeProperties *JobDefinition_NodeProperties `json:"NodeProperties,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // PlatformCapabilities AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-platformcapabilities - PlatformCapabilities *types.Value `json:"PlatformCapabilities,omitempty"` - - // PropagateTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-propagatetags - PropagateTags *types.Value `json:"PropagateTags,omitempty"` - - // RetryStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-retrystrategy - RetryStrategy *JobDefinition_RetryStrategy `json:"RetryStrategy,omitempty"` - - // SchedulingPriority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-schedulingpriority - SchedulingPriority *types.Value `json:"SchedulingPriority,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-tags - Tags interface{} `json:"Tags,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-timeout - Timeout *JobDefinition_Timeout `json:"Timeout,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#cfn-batch-jobdefinition-type - Type *types.Value `json:"Type,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 *JobDefinition) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition" -} - -// 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 (r JobDefinition) MarshalJSON() ([]byte, error) { - type Properties JobDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *JobDefinition) UnmarshalJSON(b []byte) error { - type Properties JobDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = JobDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_authorizationconfig.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_authorizationconfig.go deleted file mode 100644 index 2931d5463a..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_authorizationconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_AuthorizationConfig AWS CloudFormation Resource (AWS::Batch::JobDefinition.AuthorizationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html -type JobDefinition_AuthorizationConfig struct { - - // AccessPointId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html#cfn-batch-jobdefinition-authorizationconfig-accesspointid - AccessPointId *types.Value `json:"AccessPointId,omitempty"` - - // Iam AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html#cfn-batch-jobdefinition-authorizationconfig-iam - Iam *types.Value `json:"Iam,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 *JobDefinition_AuthorizationConfig) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.AuthorizationConfig" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_containerproperties.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_containerproperties.go deleted file mode 100644 index 595a8ef408..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_containerproperties.go +++ /dev/null @@ -1,132 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_ContainerProperties AWS CloudFormation Resource (AWS::Batch::JobDefinition.ContainerProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html -type JobDefinition_ContainerProperties struct { - - // Command AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-command - Command *types.Value `json:"Command,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-environment - Environment []JobDefinition_Environment `json:"Environment,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // FargatePlatformConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-fargateplatformconfiguration - FargatePlatformConfiguration *JobDefinition_FargatePlatformConfiguration `json:"FargatePlatformConfiguration,omitempty"` - - // Image AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-image - Image *types.Value `json:"Image,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // JobRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-jobrolearn - JobRoleArn *types.Value `json:"JobRoleArn,omitempty"` - - // LinuxParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-linuxparameters - LinuxParameters *JobDefinition_LinuxParameters `json:"LinuxParameters,omitempty"` - - // LogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-logconfiguration - LogConfiguration *JobDefinition_LogConfiguration `json:"LogConfiguration,omitempty"` - - // Memory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-memory - Memory *types.Value `json:"Memory,omitempty"` - - // MountPoints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-mountpoints - MountPoints []JobDefinition_MountPoints `json:"MountPoints,omitempty"` - - // NetworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-networkconfiguration - NetworkConfiguration *JobDefinition_NetworkConfiguration `json:"NetworkConfiguration,omitempty"` - - // Privileged AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-privileged - Privileged *types.Value `json:"Privileged,omitempty"` - - // ReadonlyRootFilesystem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-readonlyrootfilesystem - ReadonlyRootFilesystem *types.Value `json:"ReadonlyRootFilesystem,omitempty"` - - // ResourceRequirements AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-resourcerequirements - ResourceRequirements []JobDefinition_ResourceRequirement `json:"ResourceRequirements,omitempty"` - - // Secrets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-secrets - Secrets []JobDefinition_Secret `json:"Secrets,omitempty"` - - // Ulimits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-ulimits - Ulimits []JobDefinition_Ulimit `json:"Ulimits,omitempty"` - - // User AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-user - User *types.Value `json:"User,omitempty"` - - // Vcpus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-vcpus - Vcpus *types.Value `json:"Vcpus,omitempty"` - - // Volumes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-volumes - Volumes []JobDefinition_Volumes `json:"Volumes,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 *JobDefinition_ContainerProperties) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.ContainerProperties" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_device.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_device.go deleted file mode 100644 index 512cf84427..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_device.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Device AWS CloudFormation Resource (AWS::Batch::JobDefinition.Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html -type JobDefinition_Device struct { - - // ContainerPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // HostPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-hostpath - HostPath *types.Value `json:"HostPath,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-device.html#cfn-batch-jobdefinition-device-permissions - Permissions *types.Value `json:"Permissions,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 *JobDefinition_Device) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Device" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_efsvolumeconfiguration.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_efsvolumeconfiguration.go deleted file mode 100644 index f880805042..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_efsvolumeconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_EfsVolumeConfiguration AWS CloudFormation Resource (AWS::Batch::JobDefinition.EfsVolumeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html -type JobDefinition_EfsVolumeConfiguration struct { - - // AuthorizationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html#cfn-batch-jobdefinition-efsvolumeconfiguration-authorizationconfig - AuthorizationConfig *JobDefinition_AuthorizationConfig `json:"AuthorizationConfig,omitempty"` - - // FileSystemId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html#cfn-batch-jobdefinition-efsvolumeconfiguration-filesystemid - FileSystemId *types.Value `json:"FileSystemId,omitempty"` - - // RootDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html#cfn-batch-jobdefinition-efsvolumeconfiguration-rootdirectory - RootDirectory *types.Value `json:"RootDirectory,omitempty"` - - // TransitEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html#cfn-batch-jobdefinition-efsvolumeconfiguration-transitencryption - TransitEncryption *types.Value `json:"TransitEncryption,omitempty"` - - // TransitEncryptionPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html#cfn-batch-jobdefinition-efsvolumeconfiguration-transitencryptionport - TransitEncryptionPort *types.Value `json:"TransitEncryptionPort,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 *JobDefinition_EfsVolumeConfiguration) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.EfsVolumeConfiguration" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_environment.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_environment.go deleted file mode 100644 index e28323e6db..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_environment.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Environment AWS CloudFormation Resource (AWS::Batch::JobDefinition.Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html -type JobDefinition_Environment struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html#cfn-batch-jobdefinition-environment-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-environment.html#cfn-batch-jobdefinition-environment-value - Value *types.Value `json:"Value,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 *JobDefinition_Environment) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Environment" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_evaluateonexit.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_evaluateonexit.go deleted file mode 100644 index 5c5949e073..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_evaluateonexit.go +++ /dev/null @@ -1,52 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_EvaluateOnExit AWS CloudFormation Resource (AWS::Batch::JobDefinition.EvaluateOnExit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html -type JobDefinition_EvaluateOnExit struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html#cfn-batch-jobdefinition-evaluateonexit-action - Action *types.Value `json:"Action,omitempty"` - - // OnExitCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html#cfn-batch-jobdefinition-evaluateonexit-onexitcode - OnExitCode *types.Value `json:"OnExitCode,omitempty"` - - // OnReason AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html#cfn-batch-jobdefinition-evaluateonexit-onreason - OnReason *types.Value `json:"OnReason,omitempty"` - - // OnStatusReason AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-evaluateonexit.html#cfn-batch-jobdefinition-evaluateonexit-onstatusreason - OnStatusReason *types.Value `json:"OnStatusReason,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 *JobDefinition_EvaluateOnExit) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.EvaluateOnExit" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_fargateplatformconfiguration.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_fargateplatformconfiguration.go deleted file mode 100644 index 39fa8de6bf..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_fargateplatformconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_FargatePlatformConfiguration AWS CloudFormation Resource (AWS::Batch::JobDefinition.FargatePlatformConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-fargateplatformconfiguration.html -type JobDefinition_FargatePlatformConfiguration struct { - - // PlatformVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-fargateplatformconfiguration.html#cfn-batch-jobdefinition-containerproperties-fargateplatformconfiguration-platformversion - PlatformVersion *types.Value `json:"PlatformVersion,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 *JobDefinition_FargatePlatformConfiguration) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.FargatePlatformConfiguration" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_linuxparameters.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_linuxparameters.go deleted file mode 100644 index a33210671c..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_linuxparameters.go +++ /dev/null @@ -1,62 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_LinuxParameters AWS CloudFormation Resource (AWS::Batch::JobDefinition.LinuxParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html -type JobDefinition_LinuxParameters struct { - - // Devices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-devices - Devices []JobDefinition_Device `json:"Devices,omitempty"` - - // InitProcessEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-initprocessenabled - InitProcessEnabled *types.Value `json:"InitProcessEnabled,omitempty"` - - // MaxSwap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-maxswap - MaxSwap *types.Value `json:"MaxSwap,omitempty"` - - // SharedMemorySize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-sharedmemorysize - SharedMemorySize *types.Value `json:"SharedMemorySize,omitempty"` - - // Swappiness AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-swappiness - Swappiness *types.Value `json:"Swappiness,omitempty"` - - // Tmpfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-linuxparameters.html#cfn-batch-jobdefinition-containerproperties-linuxparameters-tmpfs - Tmpfs []JobDefinition_Tmpfs `json:"Tmpfs,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 *JobDefinition_LinuxParameters) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.LinuxParameters" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_logconfiguration.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_logconfiguration.go deleted file mode 100644 index 54e835f14d..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_logconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_LogConfiguration AWS CloudFormation Resource (AWS::Batch::JobDefinition.LogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html -type JobDefinition_LogConfiguration struct { - - // LogDriver AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-logdriver - LogDriver *types.Value `json:"LogDriver,omitempty"` - - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-options - Options interface{} `json:"Options,omitempty"` - - // SecretOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html#cfn-batch-jobdefinition-containerproperties-logconfiguration-secretoptions - SecretOptions []JobDefinition_Secret `json:"SecretOptions,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 *JobDefinition_LogConfiguration) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.LogConfiguration" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_mountpoints.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_mountpoints.go deleted file mode 100644 index 59d18e2b91..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_mountpoints.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_MountPoints AWS CloudFormation Resource (AWS::Batch::JobDefinition.MountPoints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html -type JobDefinition_MountPoints struct { - - // ContainerPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // ReadOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-readonly - ReadOnly *types.Value `json:"ReadOnly,omitempty"` - - // SourceVolume AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html#cfn-batch-jobdefinition-mountpoints-sourcevolume - SourceVolume *types.Value `json:"SourceVolume,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 *JobDefinition_MountPoints) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.MountPoints" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_networkconfiguration.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_networkconfiguration.go deleted file mode 100644 index af4d54d744..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_networkconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_NetworkConfiguration AWS CloudFormation Resource (AWS::Batch::JobDefinition.NetworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-networkconfiguration.html -type JobDefinition_NetworkConfiguration struct { - - // AssignPublicIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-networkconfiguration.html#cfn-batch-jobdefinition-containerproperties-networkconfiguration-assignpublicip - AssignPublicIp *types.Value `json:"AssignPublicIp,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 *JobDefinition_NetworkConfiguration) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.NetworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_nodeproperties.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_nodeproperties.go deleted file mode 100644 index 756c90eab1..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_nodeproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_NodeProperties AWS CloudFormation Resource (AWS::Batch::JobDefinition.NodeProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html -type JobDefinition_NodeProperties struct { - - // MainNode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode - MainNode *types.Value `json:"MainNode"` - - // NodeRangeProperties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-noderangeproperties - NodeRangeProperties []JobDefinition_NodeRangeProperty `json:"NodeRangeProperties,omitempty"` - - // NumNodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-numnodes - NumNodes *types.Value `json:"NumNodes"` - - // 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 *JobDefinition_NodeProperties) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.NodeProperties" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_noderangeproperty.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_noderangeproperty.go deleted file mode 100644 index 8b2125ae5c..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_noderangeproperty.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_NodeRangeProperty AWS CloudFormation Resource (AWS::Batch::JobDefinition.NodeRangeProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html -type JobDefinition_NodeRangeProperty struct { - - // Container AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-container - Container *JobDefinition_ContainerProperties `json:"Container,omitempty"` - - // TargetNodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-targetnodes - TargetNodes *types.Value `json:"TargetNodes,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 *JobDefinition_NodeRangeProperty) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.NodeRangeProperty" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_resourcerequirement.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_resourcerequirement.go deleted file mode 100644 index 5d87c6a7f2..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_resourcerequirement.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_ResourceRequirement AWS CloudFormation Resource (AWS::Batch::JobDefinition.ResourceRequirement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resourcerequirement.html -type JobDefinition_ResourceRequirement struct { - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resourcerequirement.html#cfn-batch-jobdefinition-resourcerequirement-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resourcerequirement.html#cfn-batch-jobdefinition-resourcerequirement-value - Value *types.Value `json:"Value,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 *JobDefinition_ResourceRequirement) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.ResourceRequirement" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_retrystrategy.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_retrystrategy.go deleted file mode 100644 index bf8132800c..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_retrystrategy.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_RetryStrategy AWS CloudFormation Resource (AWS::Batch::JobDefinition.RetryStrategy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-retrystrategy.html -type JobDefinition_RetryStrategy struct { - - // Attempts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-retrystrategy.html#cfn-batch-jobdefinition-retrystrategy-attempts - Attempts *types.Value `json:"Attempts,omitempty"` - - // EvaluateOnExit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-retrystrategy.html#cfn-batch-jobdefinition-retrystrategy-evaluateonexit - EvaluateOnExit []JobDefinition_EvaluateOnExit `json:"EvaluateOnExit,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 *JobDefinition_RetryStrategy) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.RetryStrategy" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_secret.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_secret.go deleted file mode 100644 index 1009aa0be8..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_secret.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Secret AWS CloudFormation Resource (AWS::Batch::JobDefinition.Secret) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html -type JobDefinition_Secret struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html#cfn-batch-jobdefinition-secret-name - Name *types.Value `json:"Name,omitempty"` - - // ValueFrom AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-secret.html#cfn-batch-jobdefinition-secret-valuefrom - ValueFrom *types.Value `json:"ValueFrom,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 *JobDefinition_Secret) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Secret" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_timeout.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_timeout.go deleted file mode 100644 index 759c7dced6..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_timeout.go +++ /dev/null @@ -1,37 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Timeout AWS CloudFormation Resource (AWS::Batch::JobDefinition.Timeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html -type JobDefinition_Timeout struct { - - // AttemptDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html#cfn-batch-jobdefinition-timeout-attemptdurationseconds - AttemptDurationSeconds *types.Value `json:"AttemptDurationSeconds,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 *JobDefinition_Timeout) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Timeout" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_tmpfs.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_tmpfs.go deleted file mode 100644 index e3a2da2cd1..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_tmpfs.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Tmpfs AWS CloudFormation Resource (AWS::Batch::JobDefinition.Tmpfs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html -type JobDefinition_Tmpfs struct { - - // ContainerPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // MountOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-mountoptions - MountOptions *types.Value `json:"MountOptions,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html#cfn-batch-jobdefinition-tmpfs-size - Size *types.Value `json:"Size"` - - // 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 *JobDefinition_Tmpfs) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Tmpfs" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_ulimit.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_ulimit.go deleted file mode 100644 index 52154bdd16..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_ulimit.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Ulimit AWS CloudFormation Resource (AWS::Batch::JobDefinition.Ulimit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html -type JobDefinition_Ulimit struct { - - // HardLimit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-hardlimit - HardLimit *types.Value `json:"HardLimit"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-name - Name *types.Value `json:"Name,omitempty"` - - // SoftLimit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ulimit.html#cfn-batch-jobdefinition-ulimit-softlimit - SoftLimit *types.Value `json:"SoftLimit"` - - // 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 *JobDefinition_Ulimit) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Ulimit" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumes.go b/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumes.go deleted file mode 100644 index 172bbb75ff..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumes.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobDefinition_Volumes AWS CloudFormation Resource (AWS::Batch::JobDefinition.Volumes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html -type JobDefinition_Volumes struct { - - // EfsVolumeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-efsvolumeconfiguration - EfsVolumeConfiguration *JobDefinition_EfsVolumeConfiguration `json:"EfsVolumeConfiguration,omitempty"` - - // Host AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-host - Host *JobDefinition_VolumesHost `json:"Host,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-name - Name *types.Value `json:"Name,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 *JobDefinition_Volumes) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.Volumes" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobqueue.go b/pkg/goformation/cloudformation/batch/aws-batch-jobqueue.go deleted file mode 100644 index 1d9155a7fb..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobqueue.go +++ /dev/null @@ -1,133 +0,0 @@ -package batch - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobQueue AWS CloudFormation Resource (AWS::Batch::JobQueue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html -type JobQueue struct { - - // ComputeEnvironmentOrder AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-computeenvironmentorder - ComputeEnvironmentOrder []JobQueue_ComputeEnvironmentOrder `json:"ComputeEnvironmentOrder,omitempty"` - - // JobQueueName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-jobqueuename - JobQueueName *types.Value `json:"JobQueueName,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-priority - Priority *types.Value `json:"Priority"` - - // SchedulingPolicyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-schedulingpolicyarn - SchedulingPolicyArn *types.Value `json:"SchedulingPolicyArn,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html#cfn-batch-jobqueue-tags - Tags interface{} `json:"Tags,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 *JobQueue) AWSCloudFormationType() string { - return "AWS::Batch::JobQueue" -} - -// 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 (r JobQueue) MarshalJSON() ([]byte, error) { - type Properties JobQueue - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *JobQueue) UnmarshalJSON(b []byte) error { - type Properties JobQueue - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = JobQueue(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobqueue_computeenvironmentorder.go b/pkg/goformation/cloudformation/batch/aws-batch-jobqueue_computeenvironmentorder.go deleted file mode 100644 index 39309fc6d1..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobqueue_computeenvironmentorder.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobQueue_ComputeEnvironmentOrder AWS CloudFormation Resource (AWS::Batch::JobQueue.ComputeEnvironmentOrder) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html -type JobQueue_ComputeEnvironmentOrder struct { - - // ComputeEnvironment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-computeenvironment - ComputeEnvironment *types.Value `json:"ComputeEnvironment,omitempty"` - - // Order AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobqueue-computeenvironmentorder.html#cfn-batch-jobqueue-computeenvironmentorder-order - Order *types.Value `json:"Order"` - - // 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 *JobQueue_ComputeEnvironmentOrder) AWSCloudFormationType() string { - return "AWS::Batch::JobQueue.ComputeEnvironmentOrder" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy.go b/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy.go deleted file mode 100644 index f4678f02a5..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy.go +++ /dev/null @@ -1,118 +0,0 @@ -package batch - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchedulingPolicy AWS CloudFormation Resource (AWS::Batch::SchedulingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html -type SchedulingPolicy struct { - - // FairsharePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy - FairsharePolicy *SchedulingPolicy_FairsharePolicy `json:"FairsharePolicy,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-tags - Tags map[string]*types.Value `json:"Tags,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 *SchedulingPolicy) AWSCloudFormationType() string { - return "AWS::Batch::SchedulingPolicy" -} - -// 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 (r SchedulingPolicy) MarshalJSON() ([]byte, error) { - type Properties SchedulingPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SchedulingPolicy) UnmarshalJSON(b []byte) error { - type Properties SchedulingPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SchedulingPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_fairsharepolicy.go b/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_fairsharepolicy.go deleted file mode 100644 index 07d34e63b7..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_fairsharepolicy.go +++ /dev/null @@ -1,47 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchedulingPolicy_FairsharePolicy AWS CloudFormation Resource (AWS::Batch::SchedulingPolicy.FairsharePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html -type SchedulingPolicy_FairsharePolicy struct { - - // ComputeReservation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-computereservation - ComputeReservation *types.Value `json:"ComputeReservation,omitempty"` - - // ShareDecaySeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedecayseconds - ShareDecaySeconds *types.Value `json:"ShareDecaySeconds,omitempty"` - - // ShareDistribution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedistribution - ShareDistribution []SchedulingPolicy_ShareAttributes `json:"ShareDistribution,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 *SchedulingPolicy_FairsharePolicy) AWSCloudFormationType() string { - return "AWS::Batch::SchedulingPolicy.FairsharePolicy" -} diff --git a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_shareattributes.go b/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_shareattributes.go deleted file mode 100644 index 54b46df7ec..0000000000 --- a/pkg/goformation/cloudformation/batch/aws-batch-schedulingpolicy_shareattributes.go +++ /dev/null @@ -1,42 +0,0 @@ -package batch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchedulingPolicy_ShareAttributes AWS CloudFormation Resource (AWS::Batch::SchedulingPolicy.ShareAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html -type SchedulingPolicy_ShareAttributes struct { - - // ShareIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html#cfn-batch-schedulingpolicy-shareattributes-shareidentifier - ShareIdentifier *types.Value `json:"ShareIdentifier,omitempty"` - - // WeightFactor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-shareattributes.html#cfn-batch-schedulingpolicy-shareattributes-weightfactor - WeightFactor *types.Value `json:"WeightFactor,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 *SchedulingPolicy_ShareAttributes) AWSCloudFormationType() string { - return "AWS::Batch::SchedulingPolicy.ShareAttributes" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget.go deleted file mode 100644 index f81a2b7407..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget.go +++ /dev/null @@ -1,111 +0,0 @@ -package budgets - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget AWS CloudFormation Resource (AWS::Budgets::Budget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html -type Budget struct { - - // Budget AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html#cfn-budgets-budget-budget - Budget *Budget_BudgetData `json:"Budget,omitempty"` - - // NotificationsWithSubscribers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budget.html#cfn-budgets-budget-notificationswithsubscribers - NotificationsWithSubscribers []Budget_NotificationWithSubscribers `json:"NotificationsWithSubscribers,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 *Budget) AWSCloudFormationType() string { - return "AWS::Budgets::Budget" -} - -// 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 (r Budget) MarshalJSON() ([]byte, error) { - type Properties Budget - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Budget) UnmarshalJSON(b []byte) error { - type Properties Budget - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Budget(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_budgetdata.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_budgetdata.go deleted file mode 100644 index f13d529b69..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_budgetdata.go +++ /dev/null @@ -1,72 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_BudgetData AWS CloudFormation Resource (AWS::Budgets::Budget.BudgetData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html -type Budget_BudgetData struct { - - // BudgetLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-budgetlimit - BudgetLimit *Budget_Spend `json:"BudgetLimit,omitempty"` - - // BudgetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-budgetname - BudgetName *types.Value `json:"BudgetName,omitempty"` - - // BudgetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-budgettype - BudgetType *types.Value `json:"BudgetType,omitempty"` - - // CostFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-costfilters - CostFilters interface{} `json:"CostFilters,omitempty"` - - // CostTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-costtypes - CostTypes *Budget_CostTypes `json:"CostTypes,omitempty"` - - // PlannedBudgetLimits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-plannedbudgetlimits - PlannedBudgetLimits interface{} `json:"PlannedBudgetLimits,omitempty"` - - // TimePeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-timeperiod - TimePeriod *Budget_TimePeriod `json:"TimePeriod,omitempty"` - - // TimeUnit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html#cfn-budgets-budget-budgetdata-timeunit - TimeUnit *types.Value `json:"TimeUnit,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 *Budget_BudgetData) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.BudgetData" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_costtypes.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_costtypes.go deleted file mode 100644 index 891a779e26..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_costtypes.go +++ /dev/null @@ -1,87 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_CostTypes AWS CloudFormation Resource (AWS::Budgets::Budget.CostTypes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html -type Budget_CostTypes struct { - - // IncludeCredit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includecredit - IncludeCredit *types.Value `json:"IncludeCredit,omitempty"` - - // IncludeDiscount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includediscount - IncludeDiscount *types.Value `json:"IncludeDiscount,omitempty"` - - // IncludeOtherSubscription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includeothersubscription - IncludeOtherSubscription *types.Value `json:"IncludeOtherSubscription,omitempty"` - - // IncludeRecurring AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includerecurring - IncludeRecurring *types.Value `json:"IncludeRecurring,omitempty"` - - // IncludeRefund AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includerefund - IncludeRefund *types.Value `json:"IncludeRefund,omitempty"` - - // IncludeSubscription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includesubscription - IncludeSubscription *types.Value `json:"IncludeSubscription,omitempty"` - - // IncludeSupport AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includesupport - IncludeSupport *types.Value `json:"IncludeSupport,omitempty"` - - // IncludeTax AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includetax - IncludeTax *types.Value `json:"IncludeTax,omitempty"` - - // IncludeUpfront AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-includeupfront - IncludeUpfront *types.Value `json:"IncludeUpfront,omitempty"` - - // UseAmortized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-useamortized - UseAmortized *types.Value `json:"UseAmortized,omitempty"` - - // UseBlended AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costtypes.html#cfn-budgets-budget-costtypes-useblended - UseBlended *types.Value `json:"UseBlended,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 *Budget_CostTypes) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.CostTypes" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notification.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notification.go deleted file mode 100644 index 45629457d5..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notification.go +++ /dev/null @@ -1,52 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_Notification AWS CloudFormation Resource (AWS::Budgets::Budget.Notification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html -type Budget_Notification struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html#cfn-budgets-budget-notification-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // NotificationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html#cfn-budgets-budget-notification-notificationtype - NotificationType *types.Value `json:"NotificationType,omitempty"` - - // Threshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html#cfn-budgets-budget-notification-threshold - Threshold *types.Value `json:"Threshold"` - - // ThresholdType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notification.html#cfn-budgets-budget-notification-thresholdtype - ThresholdType *types.Value `json:"ThresholdType,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 *Budget_Notification) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.Notification" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notificationwithsubscribers.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notificationwithsubscribers.go deleted file mode 100644 index 12f2c39508..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_notificationwithsubscribers.go +++ /dev/null @@ -1,40 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_NotificationWithSubscribers AWS CloudFormation Resource (AWS::Budgets::Budget.NotificationWithSubscribers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html -type Budget_NotificationWithSubscribers struct { - - // Notification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-notification - Notification *Budget_Notification `json:"Notification,omitempty"` - - // Subscribers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-notificationwithsubscribers.html#cfn-budgets-budget-notificationwithsubscribers-subscribers - Subscribers []Budget_Subscriber `json:"Subscribers,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 *Budget_NotificationWithSubscribers) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.NotificationWithSubscribers" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_spend.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_spend.go deleted file mode 100644 index 2c37e13cbf..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_spend.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_Spend AWS CloudFormation Resource (AWS::Budgets::Budget.Spend) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-spend.html -type Budget_Spend struct { - - // Amount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-spend.html#cfn-budgets-budget-spend-amount - Amount *types.Value `json:"Amount"` - - // Unit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-spend.html#cfn-budgets-budget-spend-unit - Unit *types.Value `json:"Unit,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 *Budget_Spend) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.Spend" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_subscriber.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_subscriber.go deleted file mode 100644 index 0343a24246..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_subscriber.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_Subscriber AWS CloudFormation Resource (AWS::Budgets::Budget.Subscriber) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-subscriber.html -type Budget_Subscriber struct { - - // Address AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-subscriber.html#cfn-budgets-budget-subscriber-address - Address *types.Value `json:"Address,omitempty"` - - // SubscriptionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-subscriber.html#cfn-budgets-budget-subscriber-subscriptiontype - SubscriptionType *types.Value `json:"SubscriptionType,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 *Budget_Subscriber) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.Subscriber" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_timeperiod.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budget_timeperiod.go deleted file mode 100644 index 2c7b7a9446..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budget_timeperiod.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Budget_TimePeriod AWS CloudFormation Resource (AWS::Budgets::Budget.TimePeriod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-timeperiod.html -type Budget_TimePeriod struct { - - // End AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-timeperiod.html#cfn-budgets-budget-timeperiod-end - End *types.Value `json:"End,omitempty"` - - // Start AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-timeperiod.html#cfn-budgets-budget-timeperiod-start - Start *types.Value `json:"Start,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 *Budget_TimePeriod) AWSCloudFormationType() string { - return "AWS::Budgets::Budget.TimePeriod" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction.go deleted file mode 100644 index f6b16fffd7..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction.go +++ /dev/null @@ -1,143 +0,0 @@ -package budgets - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction AWS CloudFormation Resource (AWS::Budgets::BudgetsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html -type BudgetsAction struct { - - // ActionThreshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actionthreshold - ActionThreshold *BudgetsAction_ActionThreshold `json:"ActionThreshold,omitempty"` - - // ActionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actiontype - ActionType *types.Value `json:"ActionType,omitempty"` - - // ApprovalModel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-approvalmodel - ApprovalModel *types.Value `json:"ApprovalModel,omitempty"` - - // BudgetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-budgetname - BudgetName *types.Value `json:"BudgetName,omitempty"` - - // Definition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-definition - Definition *BudgetsAction_Definition `json:"Definition,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // NotificationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-notificationtype - NotificationType *types.Value `json:"NotificationType,omitempty"` - - // Subscribers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-subscribers - Subscribers []BudgetsAction_Subscriber `json:"Subscribers,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 *BudgetsAction) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction" -} - -// 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 (r BudgetsAction) MarshalJSON() ([]byte, error) { - type Properties BudgetsAction - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BudgetsAction) UnmarshalJSON(b []byte) error { - type Properties BudgetsAction - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BudgetsAction(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_actionthreshold.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_actionthreshold.go deleted file mode 100644 index 585c188d52..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_actionthreshold.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_ActionThreshold AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.ActionThreshold) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-actionthreshold.html -type BudgetsAction_ActionThreshold struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-actionthreshold.html#cfn-budgets-budgetsaction-actionthreshold-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-actionthreshold.html#cfn-budgets-budgetsaction-actionthreshold-value - Value *types.Value `json:"Value"` - - // 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 *BudgetsAction_ActionThreshold) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.ActionThreshold" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_definition.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_definition.go deleted file mode 100644 index 72ad8d0cca..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_definition.go +++ /dev/null @@ -1,45 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_Definition AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.Definition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-definition.html -type BudgetsAction_Definition struct { - - // IamActionDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-definition.html#cfn-budgets-budgetsaction-definition-iamactiondefinition - IamActionDefinition *BudgetsAction_IamActionDefinition `json:"IamActionDefinition,omitempty"` - - // ScpActionDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-definition.html#cfn-budgets-budgetsaction-definition-scpactiondefinition - ScpActionDefinition *BudgetsAction_ScpActionDefinition `json:"ScpActionDefinition,omitempty"` - - // SsmActionDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-definition.html#cfn-budgets-budgetsaction-definition-ssmactiondefinition - SsmActionDefinition *BudgetsAction_SsmActionDefinition `json:"SsmActionDefinition,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 *BudgetsAction_Definition) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.Definition" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_iamactiondefinition.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_iamactiondefinition.go deleted file mode 100644 index d628dac40d..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_iamactiondefinition.go +++ /dev/null @@ -1,52 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_IamActionDefinition AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.IamActionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-iamactiondefinition.html -type BudgetsAction_IamActionDefinition struct { - - // Groups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-iamactiondefinition.html#cfn-budgets-budgetsaction-iamactiondefinition-groups - Groups *types.Value `json:"Groups,omitempty"` - - // PolicyArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-iamactiondefinition.html#cfn-budgets-budgetsaction-iamactiondefinition-policyarn - PolicyArn *types.Value `json:"PolicyArn,omitempty"` - - // Roles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-iamactiondefinition.html#cfn-budgets-budgetsaction-iamactiondefinition-roles - Roles *types.Value `json:"Roles,omitempty"` - - // Users AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-iamactiondefinition.html#cfn-budgets-budgetsaction-iamactiondefinition-users - Users *types.Value `json:"Users,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 *BudgetsAction_IamActionDefinition) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.IamActionDefinition" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_scpactiondefinition.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_scpactiondefinition.go deleted file mode 100644 index 667e31736c..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_scpactiondefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_ScpActionDefinition AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.ScpActionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-scpactiondefinition.html -type BudgetsAction_ScpActionDefinition struct { - - // PolicyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-scpactiondefinition.html#cfn-budgets-budgetsaction-scpactiondefinition-policyid - PolicyId *types.Value `json:"PolicyId,omitempty"` - - // TargetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-scpactiondefinition.html#cfn-budgets-budgetsaction-scpactiondefinition-targetids - TargetIds *types.Value `json:"TargetIds,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 *BudgetsAction_ScpActionDefinition) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.ScpActionDefinition" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_ssmactiondefinition.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_ssmactiondefinition.go deleted file mode 100644 index eec9ac5ecf..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_ssmactiondefinition.go +++ /dev/null @@ -1,47 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_SsmActionDefinition AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.SsmActionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-ssmactiondefinition.html -type BudgetsAction_SsmActionDefinition struct { - - // InstanceIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-ssmactiondefinition.html#cfn-budgets-budgetsaction-ssmactiondefinition-instanceids - InstanceIds *types.Value `json:"InstanceIds,omitempty"` - - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-ssmactiondefinition.html#cfn-budgets-budgetsaction-ssmactiondefinition-region - Region *types.Value `json:"Region,omitempty"` - - // Subtype AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-ssmactiondefinition.html#cfn-budgets-budgetsaction-ssmactiondefinition-subtype - Subtype *types.Value `json:"Subtype,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 *BudgetsAction_SsmActionDefinition) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.SsmActionDefinition" -} diff --git a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_subscriber.go b/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_subscriber.go deleted file mode 100644 index 07beb64fd4..0000000000 --- a/pkg/goformation/cloudformation/budgets/aws-budgets-budgetsaction_subscriber.go +++ /dev/null @@ -1,42 +0,0 @@ -package budgets - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BudgetsAction_Subscriber AWS CloudFormation Resource (AWS::Budgets::BudgetsAction.Subscriber) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-subscriber.html -type BudgetsAction_Subscriber struct { - - // Address AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-subscriber.html#cfn-budgets-budgetsaction-subscriber-address - Address *types.Value `json:"Address,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-subscriber.html#cfn-budgets-budgetsaction-subscriber-type - Type *types.Value `json:"Type,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 *BudgetsAction_Subscriber) AWSCloudFormationType() string { - return "AWS::Budgets::BudgetsAction.Subscriber" -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-keyspace.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-keyspace.go deleted file mode 100644 index 1eadd1cd43..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-keyspace.go +++ /dev/null @@ -1,114 +0,0 @@ -package cassandra - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Keyspace AWS CloudFormation Resource (AWS::Cassandra::Keyspace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html -type Keyspace struct { - - // KeyspaceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-keyspacename - KeyspaceName *types.Value `json:"KeyspaceName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-keyspace.html#cfn-cassandra-keyspace-tags - Tags []cloudformation.Tag `json:"Tags,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 *Keyspace) AWSCloudFormationType() string { - return "AWS::Cassandra::Keyspace" -} - -// 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 (r Keyspace) MarshalJSON() ([]byte, error) { - type Properties Keyspace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Keyspace) UnmarshalJSON(b []byte) error { - type Properties Keyspace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Keyspace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-table.go deleted file mode 100644 index bff8233ba3..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table.go +++ /dev/null @@ -1,154 +0,0 @@ -package cassandra - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table AWS CloudFormation Resource (AWS::Cassandra::Table) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html -type Table struct { - - // BillingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-billingmode - BillingMode *Table_BillingMode `json:"BillingMode,omitempty"` - - // ClusteringKeyColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-clusteringkeycolumns - ClusteringKeyColumns []Table_ClusteringKeyColumn `json:"ClusteringKeyColumns,omitempty"` - - // DefaultTimeToLive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-defaulttimetolive - DefaultTimeToLive *types.Value `json:"DefaultTimeToLive,omitempty"` - - // EncryptionSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-encryptionspecification - EncryptionSpecification *Table_EncryptionSpecification `json:"EncryptionSpecification,omitempty"` - - // KeyspaceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-keyspacename - KeyspaceName *types.Value `json:"KeyspaceName,omitempty"` - - // PartitionKeyColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-partitionkeycolumns - PartitionKeyColumns []Table_Column `json:"PartitionKeyColumns,omitempty"` - - // PointInTimeRecoveryEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-pointintimerecoveryenabled - PointInTimeRecoveryEnabled *types.Value `json:"PointInTimeRecoveryEnabled,omitempty"` - - // RegularColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-regularcolumns - RegularColumns []Table_Column `json:"RegularColumns,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-tags - Tags []cloudformation.Tag `json:"Tags,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 *Table) AWSCloudFormationType() string { - return "AWS::Cassandra::Table" -} - -// 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 (r Table) MarshalJSON() ([]byte, error) { - type Properties Table - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Table) UnmarshalJSON(b []byte) error { - type Properties Table - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Table(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_billingmode.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_billingmode.go deleted file mode 100644 index f404a65aea..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_billingmode.go +++ /dev/null @@ -1,42 +0,0 @@ -package cassandra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_BillingMode AWS CloudFormation Resource (AWS::Cassandra::Table.BillingMode) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-billingmode.html -type Table_BillingMode struct { - - // Mode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-billingmode.html#cfn-cassandra-table-billingmode-mode - Mode *types.Value `json:"Mode,omitempty"` - - // ProvisionedThroughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-billingmode.html#cfn-cassandra-table-billingmode-provisionedthroughput - ProvisionedThroughput *Table_ProvisionedThroughput `json:"ProvisionedThroughput,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 *Table_BillingMode) AWSCloudFormationType() string { - return "AWS::Cassandra::Table.BillingMode" -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_clusteringkeycolumn.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_clusteringkeycolumn.go deleted file mode 100644 index 96a7952d49..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_clusteringkeycolumn.go +++ /dev/null @@ -1,42 +0,0 @@ -package cassandra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_ClusteringKeyColumn AWS CloudFormation Resource (AWS::Cassandra::Table.ClusteringKeyColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-clusteringkeycolumn.html -type Table_ClusteringKeyColumn struct { - - // Column AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-clusteringkeycolumn.html#cfn-cassandra-table-clusteringkeycolumn-column - Column *Table_Column `json:"Column,omitempty"` - - // OrderBy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-clusteringkeycolumn.html#cfn-cassandra-table-clusteringkeycolumn-orderby - OrderBy *types.Value `json:"OrderBy,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 *Table_ClusteringKeyColumn) AWSCloudFormationType() string { - return "AWS::Cassandra::Table.ClusteringKeyColumn" -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_column.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_column.go deleted file mode 100644 index 2dcff95396..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_column.go +++ /dev/null @@ -1,42 +0,0 @@ -package cassandra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_Column AWS CloudFormation Resource (AWS::Cassandra::Table.Column) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-column.html -type Table_Column struct { - - // ColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-column.html#cfn-cassandra-table-column-columnname - ColumnName *types.Value `json:"ColumnName,omitempty"` - - // ColumnType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-column.html#cfn-cassandra-table-column-columntype - ColumnType *types.Value `json:"ColumnType,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 *Table_Column) AWSCloudFormationType() string { - return "AWS::Cassandra::Table.Column" -} diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_provisionedthroughput.go b/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_provisionedthroughput.go deleted file mode 100644 index e8b712cf01..0000000000 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_provisionedthroughput.go +++ /dev/null @@ -1,42 +0,0 @@ -package cassandra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_ProvisionedThroughput AWS CloudFormation Resource (AWS::Cassandra::Table.ProvisionedThroughput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-provisionedthroughput.html -type Table_ProvisionedThroughput struct { - - // ReadCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-provisionedthroughput.html#cfn-cassandra-table-provisionedthroughput-readcapacityunits - ReadCapacityUnits *types.Value `json:"ReadCapacityUnits"` - - // WriteCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-provisionedthroughput.html#cfn-cassandra-table-provisionedthroughput-writecapacityunits - WriteCapacityUnits *types.Value `json:"WriteCapacityUnits"` - - // 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 *Table_ProvisionedThroughput) AWSCloudFormationType() string { - return "AWS::Cassandra::Table.ProvisionedThroughput" -} diff --git a/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription.go b/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription.go deleted file mode 100644 index 1339588095..0000000000 --- a/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription.go +++ /dev/null @@ -1,128 +0,0 @@ -package ce - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalySubscription AWS CloudFormation Resource (AWS::CE::AnomalySubscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html -type AnomalySubscription struct { - - // Frequency AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html#cfn-ce-anomalysubscription-frequency - Frequency *types.Value `json:"Frequency,omitempty"` - - // MonitorArnList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html#cfn-ce-anomalysubscription-monitorarnlist - MonitorArnList *types.Value `json:"MonitorArnList,omitempty"` - - // Subscribers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html#cfn-ce-anomalysubscription-subscribers - Subscribers []AnomalySubscription_Subscriber `json:"Subscribers,omitempty"` - - // SubscriptionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html#cfn-ce-anomalysubscription-subscriptionname - SubscriptionName *types.Value `json:"SubscriptionName,omitempty"` - - // Threshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html#cfn-ce-anomalysubscription-threshold - Threshold *types.Value `json:"Threshold"` - - // 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 *AnomalySubscription) AWSCloudFormationType() string { - return "AWS::CE::AnomalySubscription" -} - -// 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 (r AnomalySubscription) MarshalJSON() ([]byte, error) { - type Properties AnomalySubscription - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AnomalySubscription) UnmarshalJSON(b []byte) error { - type Properties AnomalySubscription - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AnomalySubscription(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription_subscriber.go b/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription_subscriber.go deleted file mode 100644 index c3e164bc11..0000000000 --- a/pkg/goformation/cloudformation/ce/aws-ce-anomalysubscription_subscriber.go +++ /dev/null @@ -1,47 +0,0 @@ -package ce - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalySubscription_Subscriber AWS CloudFormation Resource (AWS::CE::AnomalySubscription.Subscriber) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html -type AnomalySubscription_Subscriber struct { - - // Address AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html#cfn-ce-anomalysubscription-subscriber-address - Address *types.Value `json:"Address,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html#cfn-ce-anomalysubscription-subscriber-status - Status *types.Value `json:"Status,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html#cfn-ce-anomalysubscription-subscriber-type - Type *types.Value `json:"Type,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 *AnomalySubscription_Subscriber) AWSCloudFormationType() string { - return "AWS::CE::AnomalySubscription.Subscriber" -} diff --git a/pkg/goformation/cloudformation/ce/aws-ce-costcategory.go b/pkg/goformation/cloudformation/ce/aws-ce-costcategory.go deleted file mode 100644 index d5579610ba..0000000000 --- a/pkg/goformation/cloudformation/ce/aws-ce-costcategory.go +++ /dev/null @@ -1,128 +0,0 @@ -package ce - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CostCategory AWS CloudFormation Resource (AWS::CE::CostCategory) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html -type CostCategory struct { - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // 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 *types.Value `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 *types.Value `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 *types.Value `json:"Rules,omitempty"` - - // SplitChargeRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-splitchargerules - SplitChargeRules *types.Value `json:"SplitChargeRules,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 *CostCategory) AWSCloudFormationType() string { - return "AWS::CE::CostCategory" -} - -// 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 (r CostCategory) MarshalJSON() ([]byte, error) { - type Properties CostCategory - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CostCategory) UnmarshalJSON(b []byte) error { - type Properties CostCategory - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CostCategory(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account.go b/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account.go deleted file mode 100644 index 8b4256ab33..0000000000 --- a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account.go +++ /dev/null @@ -1,106 +0,0 @@ -package certificatemanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Account AWS CloudFormation Resource (AWS::CertificateManager::Account) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-account.html -type Account struct { - - // ExpiryEventsConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-account.html#cfn-certificatemanager-account-expiryeventsconfiguration - ExpiryEventsConfiguration *Account_ExpiryEventsConfiguration `json:"ExpiryEventsConfiguration,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 *Account) AWSCloudFormationType() string { - return "AWS::CertificateManager::Account" -} - -// 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 (r Account) MarshalJSON() ([]byte, error) { - type Properties Account - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Account) UnmarshalJSON(b []byte) error { - type Properties Account - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Account(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account_expiryeventsconfiguration.go b/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account_expiryeventsconfiguration.go deleted file mode 100644 index 679c988824..0000000000 --- a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-account_expiryeventsconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package certificatemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Account_ExpiryEventsConfiguration AWS CloudFormation Resource (AWS::CertificateManager::Account.ExpiryEventsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-account-expiryeventsconfiguration.html -type Account_ExpiryEventsConfiguration struct { - - // DaysBeforeExpiry AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-account-expiryeventsconfiguration.html#cfn-certificatemanager-account-expiryeventsconfiguration-daysbeforeexpiry - DaysBeforeExpiry *types.Value `json:"DaysBeforeExpiry,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 *Account_ExpiryEventsConfiguration) AWSCloudFormationType() string { - return "AWS::CertificateManager::Account.ExpiryEventsConfiguration" -} diff --git a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate.go b/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate.go deleted file mode 100644 index 13cf8cf353..0000000000 --- a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate.go +++ /dev/null @@ -1,139 +0,0 @@ -package certificatemanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate AWS CloudFormation Resource (AWS::CertificateManager::Certificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html -type Certificate struct { - - // CertificateAuthorityArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-certificateauthorityarn - CertificateAuthorityArn *types.Value `json:"CertificateAuthorityArn,omitempty"` - - // CertificateTransparencyLoggingPreference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-certificatetransparencyloggingpreference - CertificateTransparencyLoggingPreference *types.Value `json:"CertificateTransparencyLoggingPreference,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // DomainValidationOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-domainvalidationoptions - DomainValidationOptions []Certificate_DomainValidationOption `json:"DomainValidationOptions,omitempty"` - - // SubjectAlternativeNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-subjectalternativenames - SubjectAlternativeNames *types.Value `json:"SubjectAlternativeNames,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ValidationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-validationmethod - ValidationMethod *types.Value `json:"ValidationMethod,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 *Certificate) AWSCloudFormationType() string { - return "AWS::CertificateManager::Certificate" -} - -// 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 (r Certificate) MarshalJSON() ([]byte, error) { - type Properties Certificate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Certificate) UnmarshalJSON(b []byte) error { - type Properties Certificate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Certificate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/chatbot/aws-chatbot-slackchannelconfiguration.go b/pkg/goformation/cloudformation/chatbot/aws-chatbot-slackchannelconfiguration.go deleted file mode 100644 index dd68c78231..0000000000 --- a/pkg/goformation/cloudformation/chatbot/aws-chatbot-slackchannelconfiguration.go +++ /dev/null @@ -1,143 +0,0 @@ -package chatbot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SlackChannelConfiguration AWS CloudFormation Resource (AWS::Chatbot::SlackChannelConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html -type SlackChannelConfiguration struct { - - // ConfigurationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-configurationname - ConfigurationName *types.Value `json:"ConfigurationName,omitempty"` - - // GuardrailPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-guardrailpolicies - GuardrailPolicies *types.Value `json:"GuardrailPolicies,omitempty"` - - // IamRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-iamrolearn - IamRoleArn *types.Value `json:"IamRoleArn,omitempty"` - - // LoggingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-logginglevel - LoggingLevel *types.Value `json:"LoggingLevel,omitempty"` - - // SlackChannelId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-slackchannelid - SlackChannelId *types.Value `json:"SlackChannelId,omitempty"` - - // SlackWorkspaceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-slackworkspaceid - SlackWorkspaceId *types.Value `json:"SlackWorkspaceId,omitempty"` - - // SnsTopicArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-snstopicarns - SnsTopicArns *types.Value `json:"SnsTopicArns,omitempty"` - - // UserRoleRequired AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-slackchannelconfiguration.html#cfn-chatbot-slackchannelconfiguration-userrolerequired - UserRoleRequired *types.Value `json:"UserRoleRequired,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 *SlackChannelConfiguration) AWSCloudFormationType() string { - return "AWS::Chatbot::SlackChannelConfiguration" -} - -// 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 (r SlackChannelConfiguration) MarshalJSON() ([]byte, error) { - type Properties SlackChannelConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SlackChannelConfiguration) UnmarshalJSON(b []byte) error { - type Properties SlackChannelConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SlackChannelConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2.go b/pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2.go deleted file mode 100644 index d9bbbd93a1..0000000000 --- a/pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2.go +++ /dev/null @@ -1,154 +0,0 @@ -package cloud9 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EnvironmentEC2 AWS CloudFormation Resource (AWS::Cloud9::EnvironmentEC2) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html -type EnvironmentEC2 struct { - - // AutomaticStopTimeMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-automaticstoptimeminutes - AutomaticStopTimeMinutes *types.Value `json:"AutomaticStopTimeMinutes,omitempty"` - - // ConnectionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-connectiontype - ConnectionType *types.Value `json:"ConnectionType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-description - Description *types.Value `json:"Description,omitempty"` - - // ImageId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-imageid - ImageId *types.Value `json:"ImageId,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-name - Name *types.Value `json:"Name,omitempty"` - - // OwnerArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-ownerarn - OwnerArn *types.Value `json:"OwnerArn,omitempty"` - - // Repositories AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-repositories - Repositories []EnvironmentEC2_Repository `json:"Repositories,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-subnetid - SubnetId *types.Value `json:"SubnetId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-tags - Tags []cloudformation.Tag `json:"Tags,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 *EnvironmentEC2) AWSCloudFormationType() string { - return "AWS::Cloud9::EnvironmentEC2" -} - -// 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 (r EnvironmentEC2) MarshalJSON() ([]byte, error) { - type Properties EnvironmentEC2 - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EnvironmentEC2) UnmarshalJSON(b []byte) error { - type Properties EnvironmentEC2 - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EnvironmentEC2(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-customresource.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-customresource.go index 377b1a27dd..5783158a7a 100644 --- a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-customresource.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-customresource.go @@ -14,6 +14,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html type CustomResource struct { + // ServiceTimeout AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html#cfn-customresource-servicetimeout + ServiceTimeout *types.Value `json:"ServiceTimeout,omitempty"` + // ServiceToken AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html#cfn-customresource-servicetoken diff --git a/pkg/goformation/cloudformation/connect/aws-connect-user.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook.go similarity index 63% rename from pkg/goformation/cloudformation/connect/aws-connect-user.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook.go index e19ddf82e9..7e4fd6f90d 100644 --- a/pkg/goformation/cloudformation/connect/aws-connect-user.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook.go @@ -1,4 +1,4 @@ -package connect +package cloudformation import ( "bytes" @@ -7,63 +7,62 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// User AWS CloudFormation Resource (AWS::Connect::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html -type User struct { +// GuardHook AWS CloudFormation Resource (AWS::CloudFormation::GuardHook) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html +type GuardHook struct { - // DirectoryUserId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-directoryuserid - DirectoryUserId *types.Value `json:"DirectoryUserId,omitempty"` + // Alias AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-alias + Alias *types.Value `json:"Alias,omitempty"` - // HierarchyGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-hierarchygrouparn - HierarchyGroupArn *types.Value `json:"HierarchyGroupArn,omitempty"` + // ExecutionRole AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-executionrole + ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - // IdentityInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-identityinfo - IdentityInfo *User_UserIdentityInfo `json:"IdentityInfo,omitempty"` + // FailureMode AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-failuremode + FailureMode *types.Value `json:"FailureMode,omitempty"` - // InstanceArn AWS CloudFormation Property + // HookStatus AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-hookstatus + HookStatus *types.Value `json:"HookStatus,omitempty"` - // Password AWS CloudFormation Property + // LogBucket AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-password - Password *types.Value `json:"Password,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-logbucket + LogBucket *types.Value `json:"LogBucket,omitempty"` - // PhoneConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-phoneconfig - PhoneConfig *User_UserPhoneConfig `json:"PhoneConfig,omitempty"` + // Options AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-options + Options *GuardHook_Options `json:"Options,omitempty"` - // RoutingProfileArn AWS CloudFormation Property + // RuleLocation AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-routingprofilearn - RoutingProfileArn *types.Value `json:"RoutingProfileArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-rulelocation + RuleLocation *GuardHook_S3Location `json:"RuleLocation,omitempty"` - // SecurityProfileArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-securityprofilearns - SecurityProfileArns *types.Value `json:"SecurityProfileArns,omitempty"` + // StackFilters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-stackfilters + StackFilters *GuardHook_StackFilters `json:"StackFilters,omitempty"` - // Tags AWS CloudFormation Property + // TargetFilters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-targetfilters + TargetFilters *GuardHook_TargetFilters `json:"TargetFilters,omitempty"` - // Username AWS CloudFormation Property + // TargetOperations AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-user.html#cfn-connect-user-username - Username *types.Value `json:"Username,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-guardhook.html#cfn-cloudformation-guardhook-targetoperations + TargetOperations *types.Value `json:"TargetOperations,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -82,14 +81,14 @@ type User struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *User) AWSCloudFormationType() string { - return "AWS::Connect::User" +func (r *GuardHook) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook" } // 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 (r User) MarshalJSON() ([]byte, error) { - type Properties User +func (r GuardHook) MarshalJSON() ([]byte, error) { + type Properties GuardHook return json.Marshal(&struct { Type string Properties Properties @@ -111,8 +110,8 @@ func (r User) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *User) UnmarshalJSON(b []byte) error { - type Properties User +func (r *GuardHook) UnmarshalJSON(b []byte) error { + type Properties GuardHook res := &struct { Type string Properties *Properties @@ -133,7 +132,7 @@ func (r *User) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = User(*res.Properties) + *r = GuardHook(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulrule.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_hooktarget.go similarity index 61% rename from pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulrule.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_hooktarget.go index fbed27d8bf..5ece07eb37 100644 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulrule.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_hooktarget.go @@ -1,4 +1,4 @@ -package networkfirewall +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup_StatefulRule AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.StatefulRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulrule.html -type RuleGroup_StatefulRule struct { +// GuardHook_HookTarget AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.HookTarget) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html +type GuardHook_HookTarget struct { // Action AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulrule.html#cfn-networkfirewall-rulegroup-statefulrule-action + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-action Action *types.Value `json:"Action,omitempty"` - // Header AWS CloudFormation Property + // InvocationPoint AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulrule.html#cfn-networkfirewall-rulegroup-statefulrule-header - Header *RuleGroup_Header `json:"Header,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-invocationpoint + InvocationPoint *types.Value `json:"InvocationPoint,omitempty"` - // RuleOptions AWS CloudFormation Property + // TargetName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulrule.html#cfn-networkfirewall-rulegroup-statefulrule-ruleoptions - RuleOptions []RuleGroup_RuleOption `json:"RuleOptions,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-targetname + TargetName *types.Value `json:"TargetName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type RuleGroup_StatefulRule struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup_StatefulRule) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.StatefulRule" +func (r *GuardHook_HookTarget) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.HookTarget" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcptimeout.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_options.go similarity index 67% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcptimeout.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_options.go index 7f5b651c81..ddf4d98941 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcptimeout.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_options.go @@ -1,17 +1,17 @@ -package appmesh +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Route_TcpTimeout AWS CloudFormation Resource (AWS::AppMesh::Route.TcpTimeout) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcptimeout.html -type Route_TcpTimeout struct { +// GuardHook_Options AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.Options) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-options.html +type GuardHook_Options struct { - // Idle AWS CloudFormation Property + // InputParams AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcptimeout.html#cfn-appmesh-route-tcptimeout-idle - Idle *Route_Duration `json:"Idle,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-options.html#cfn-cloudformation-guardhook-options-inputparams + InputParams *GuardHook_S3Location `json:"InputParams,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Route_TcpTimeout struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Route_TcpTimeout) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.TcpTimeout" +func (r *GuardHook_Options) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.Options" } diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_sourceauth.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_s3location.go similarity index 63% rename from pkg/goformation/cloudformation/codebuild/aws-codebuild-project_sourceauth.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_s3location.go index 4db1297d50..a8e4820665 100644 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_sourceauth.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_s3location.go @@ -1,4 +1,4 @@ -package codebuild +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Project_SourceAuth AWS CloudFormation Resource (AWS::CodeBuild::Project.SourceAuth) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html -type Project_SourceAuth struct { +// GuardHook_S3Location AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.S3Location) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-s3location.html +type GuardHook_S3Location struct { - // Resource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-resource - Resource *types.Value `json:"Resource,omitempty"` - - // Type AWS CloudFormation Property + // Uri AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-sourceauth.html#cfn-codebuild-project-sourceauth-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-s3location.html#cfn-cloudformation-guardhook-s3location-uri + Uri *types.Value `json:"Uri,omitempty"` + + // VersionId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-s3location.html#cfn-cloudformation-guardhook-s3location-versionid + VersionId *types.Value `json:"VersionId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Project_SourceAuth struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Project_SourceAuth) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.SourceAuth" +func (r *GuardHook_S3Location) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.S3Location" } diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_stepfunctionsaction.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackfilters.go similarity index 57% rename from pkg/goformation/cloudformation/iot/aws-iot-topicrule_stepfunctionsaction.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackfilters.go index 07d9e80290..db561e0afb 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_stepfunctionsaction.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackfilters.go @@ -1,4 +1,4 @@ -package iot +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TopicRule_StepFunctionsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.StepFunctionsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-stepfunctionsaction.html -type TopicRule_StepFunctionsAction struct { +// GuardHook_StackFilters AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.StackFilters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html +type GuardHook_StackFilters struct { - // ExecutionNamePrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-stepfunctionsaction.html#cfn-iot-topicrule-stepfunctionsaction-executionnameprefix - ExecutionNamePrefix *types.Value `json:"ExecutionNamePrefix,omitempty"` - - // RoleArn AWS CloudFormation Property + // FilteringCriteria AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-stepfunctionsaction.html#cfn-iot-topicrule-stepfunctionsaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-filteringcriteria + FilteringCriteria *types.Value `json:"FilteringCriteria,omitempty"` - // StateMachineName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-stepfunctionsaction.html#cfn-iot-topicrule-stepfunctionsaction-statemachinename - StateMachineName *types.Value `json:"StateMachineName,omitempty"` + // StackNames AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-stacknames + StackNames *GuardHook_StackNames `json:"StackNames,omitempty"` + + // StackRoles AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-stackroles + StackRoles *GuardHook_StackRoles `json:"StackRoles,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type TopicRule_StepFunctionsAction struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TopicRule_StepFunctionsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.StepFunctionsAction" +func (r *GuardHook_StackFilters) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.StackFilters" } diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentgroups.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stacknames.go similarity index 67% rename from pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentgroups.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stacknames.go index 50c6ecf8f6..f40dda99ec 100644 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentgroups.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stacknames.go @@ -1,4 +1,4 @@ -package pinpoint +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Segment_SegmentGroups AWS CloudFormation Resource (AWS::Pinpoint::Segment.SegmentGroups) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html -type Segment_SegmentGroups struct { +// GuardHook_StackNames AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.StackNames) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stacknames.html +type GuardHook_StackNames struct { - // Groups AWS CloudFormation Property + // Exclude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-groups - Groups []Segment_Groups `json:"Groups,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stacknames.html#cfn-cloudformation-guardhook-stacknames-exclude + Exclude *types.Value `json:"Exclude,omitempty"` // Include AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups.html#cfn-pinpoint-segment-segmentgroups-include + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stacknames.html#cfn-cloudformation-guardhook-stacknames-include Include *types.Value `json:"Include,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type Segment_SegmentGroups struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Segment_SegmentGroups) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.SegmentGroups" +func (r *GuardHook_StackNames) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.StackNames" } diff --git a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalue.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackroles.go similarity index 63% rename from pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalue.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackroles.go index be087a55d6..0448fbf254 100644 --- a/pkg/goformation/cloudformation/amplifyuibuilder/aws-amplifyuibuilder-theme_themevalue.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_stackroles.go @@ -1,4 +1,4 @@ -package amplifyuibuilder +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Theme_ThemeValue AWS CloudFormation Resource (AWS::AmplifyUIBuilder::Theme.ThemeValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalue.html -type Theme_ThemeValue struct { +// GuardHook_StackRoles AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.StackRoles) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackroles.html +type GuardHook_StackRoles struct { - // Children AWS CloudFormation Property + // Exclude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalue.html#cfn-amplifyuibuilder-theme-themevalue-children - Children []Theme_ThemeValues `json:"Children,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackroles.html#cfn-cloudformation-guardhook-stackroles-exclude + Exclude *types.Value `json:"Exclude,omitempty"` - // Value AWS CloudFormation Property + // Include AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-theme-themevalue.html#cfn-amplifyuibuilder-theme-themevalue-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackroles.html#cfn-cloudformation-guardhook-stackroles-include + Include *types.Value `json:"Include,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Theme_ThemeValue struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Theme_ThemeValue) AWSCloudFormationType() string { - return "AWS::AmplifyUIBuilder::Theme.ThemeValue" +func (r *GuardHook_StackRoles) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.StackRoles" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volume.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_targetfilters.go similarity index 53% rename from pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volume.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_targetfilters.go index 8a37a29eab..28e517d019 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volume.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-guardhook_targetfilters.go @@ -1,4 +1,4 @@ -package ecs +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TaskDefinition_Volume AWS CloudFormation Resource (AWS::ECS::TaskDefinition.Volume) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html -type TaskDefinition_Volume struct { +// GuardHook_TargetFilters AWS CloudFormation Resource (AWS::CloudFormation::GuardHook.TargetFilters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html +type GuardHook_TargetFilters struct { - // DockerVolumeConfiguration AWS CloudFormation Property + // Actions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volume-dockervolumeconfiguration - DockerVolumeConfiguration *TaskDefinition_DockerVolumeConfiguration `json:"DockerVolumeConfiguration,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-actions + Actions *types.Value `json:"Actions,omitempty"` - // EFSVolumeConfiguration AWS CloudFormation Property + // InvocationPoints AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volume-efsvolumeconfiguration - EFSVolumeConfiguration *TaskDefinition_EFSVolumeConfiguration `json:"EFSVolumeConfiguration,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-invocationpoints + InvocationPoints *types.Value `json:"InvocationPoints,omitempty"` - // Host AWS CloudFormation Property + // TargetNames AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-host - Host *TaskDefinition_HostVolumeProperties `json:"Host,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-targetnames + TargetNames *types.Value `json:"TargetNames,omitempty"` - // Name AWS CloudFormation Property + // Targets AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-targets + Targets []GuardHook_HookTarget `json:"Targets,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type TaskDefinition_Volume struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TaskDefinition_Volume) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.Volume" +func (r *GuardHook_TargetFilters) AWSCloudFormationType() string { + return "AWS::CloudFormation::GuardHook.TargetFilters" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookdefaultversion.go similarity index 75% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookdefaultversion.go index 4a05ddd1ce..a113918ab2 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookdefaultversion.go @@ -1,4 +1,4 @@ -package appmesh +package cloudformation import ( "bytes" @@ -7,28 +7,27 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Mesh AWS CloudFormation Resource (AWS::AppMesh::Mesh) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html -type Mesh struct { +// HookDefaultVersion AWS CloudFormation Resource (AWS::CloudFormation::HookDefaultVersion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html +type HookDefaultVersion struct { - // MeshName AWS CloudFormation Property + // TypeName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-meshname - MeshName *types.Value `json:"MeshName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typename + TypeName *types.Value `json:"TypeName,omitempty"` - // Spec AWS CloudFormation Property + // TypeVersionArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-spec - Spec *Mesh_MeshSpec `json:"Spec,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-typeversionarn + TypeVersionArn *types.Value `json:"TypeVersionArn,omitempty"` - // Tags AWS CloudFormation Property + // VersionId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appmesh-mesh.html#cfn-appmesh-mesh-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html#cfn-cloudformation-hookdefaultversion-versionid + VersionId *types.Value `json:"VersionId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,14 +46,14 @@ type Mesh struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Mesh) AWSCloudFormationType() string { - return "AWS::AppMesh::Mesh" +func (r *HookDefaultVersion) AWSCloudFormationType() string { + return "AWS::CloudFormation::HookDefaultVersion" } // 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 (r Mesh) MarshalJSON() ([]byte, error) { - type Properties Mesh +func (r HookDefaultVersion) MarshalJSON() ([]byte, error) { + type Properties HookDefaultVersion return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +75,8 @@ func (r Mesh) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Mesh) UnmarshalJSON(b []byte) error { - type Properties Mesh +func (r *HookDefaultVersion) UnmarshalJSON(b []byte) error { + type Properties HookDefaultVersion res := &struct { Type string Properties *Properties @@ -98,7 +97,7 @@ func (r *Mesh) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Mesh(*res.Properties) + *r = HookDefaultVersion(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/location/aws-location-map.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hooktypeconfig.go similarity index 73% rename from pkg/goformation/cloudformation/location/aws-location-map.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hooktypeconfig.go index 03ae737bc6..bd1e8dd006 100644 --- a/pkg/goformation/cloudformation/location/aws-location-map.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hooktypeconfig.go @@ -1,4 +1,4 @@ -package location +package cloudformation import ( "bytes" @@ -10,29 +10,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Map AWS CloudFormation Resource (AWS::Location::Map) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html -type Map struct { +// HookTypeConfig AWS CloudFormation Resource (AWS::CloudFormation::HookTypeConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html +type HookTypeConfig struct { // Configuration AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-configuration - Configuration *Map_MapConfiguration `json:"Configuration,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configuration + Configuration *types.Value `json:"Configuration,omitempty"` - // Description AWS CloudFormation Property + // ConfigurationAlias AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-description - Description *types.Value `json:"Description,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configurationalias + ConfigurationAlias *types.Value `json:"ConfigurationAlias,omitempty"` - // MapName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-mapname - MapName *types.Value `json:"MapName,omitempty"` + // TypeArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typearn + TypeArn *types.Value `json:"TypeArn,omitempty"` - // PricingPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-pricingplan - PricingPlan *types.Value `json:"PricingPlan,omitempty"` + // TypeName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typename + TypeName *types.Value `json:"TypeName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -51,14 +51,14 @@ type Map struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Map) AWSCloudFormationType() string { - return "AWS::Location::Map" +func (r *HookTypeConfig) AWSCloudFormationType() string { + return "AWS::CloudFormation::HookTypeConfig" } // 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 (r Map) MarshalJSON() ([]byte, error) { - type Properties Map +func (r HookTypeConfig) MarshalJSON() ([]byte, error) { + type Properties HookTypeConfig return json.Marshal(&struct { Type string Properties Properties @@ -80,8 +80,8 @@ func (r Map) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Map) UnmarshalJSON(b []byte) error { - type Properties Map +func (r *HookTypeConfig) UnmarshalJSON(b []byte) error { + type Properties HookTypeConfig res := &struct { Type string Properties *Properties @@ -102,7 +102,7 @@ func (r *Map) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Map(*res.Properties) + *r = HookTypeConfig(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ce/aws-ce-anomalymonitor.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion.go similarity index 73% rename from pkg/goformation/cloudformation/ce/aws-ce-anomalymonitor.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion.go index 1df1c3aa43..381aa10362 100644 --- a/pkg/goformation/cloudformation/ce/aws-ce-anomalymonitor.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion.go @@ -1,4 +1,4 @@ -package ce +package cloudformation import ( "bytes" @@ -10,29 +10,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AnomalyMonitor AWS CloudFormation Resource (AWS::CE::AnomalyMonitor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html -type AnomalyMonitor struct { +// HookVersion AWS CloudFormation Resource (AWS::CloudFormation::HookVersion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookversion.html +type HookVersion struct { - // MonitorDimension AWS CloudFormation Property + // ExecutionRoleArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitordimension - MonitorDimension *types.Value `json:"MonitorDimension,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookversion.html#cfn-cloudformation-hookversion-executionrolearn + ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - // MonitorName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitorname - MonitorName *types.Value `json:"MonitorName,omitempty"` - - // MonitorSpecification AWS CloudFormation Property + // LoggingConfig AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitorspecification - MonitorSpecification *types.Value `json:"MonitorSpecification,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookversion.html#cfn-cloudformation-hookversion-loggingconfig + LoggingConfig *HookVersion_LoggingConfig `json:"LoggingConfig,omitempty"` + + // SchemaHandlerPackage AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookversion.html#cfn-cloudformation-hookversion-schemahandlerpackage + SchemaHandlerPackage *types.Value `json:"SchemaHandlerPackage,omitempty"` - // MonitorType AWS CloudFormation Property + // TypeName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html#cfn-ce-anomalymonitor-monitortype - MonitorType *types.Value `json:"MonitorType,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookversion.html#cfn-cloudformation-hookversion-typename + TypeName *types.Value `json:"TypeName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -51,14 +51,14 @@ type AnomalyMonitor struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AnomalyMonitor) AWSCloudFormationType() string { - return "AWS::CE::AnomalyMonitor" +func (r *HookVersion) AWSCloudFormationType() string { + return "AWS::CloudFormation::HookVersion" } // 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 (r AnomalyMonitor) MarshalJSON() ([]byte, error) { - type Properties AnomalyMonitor +func (r HookVersion) MarshalJSON() ([]byte, error) { + type Properties HookVersion return json.Marshal(&struct { Type string Properties Properties @@ -80,8 +80,8 @@ func (r AnomalyMonitor) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AnomalyMonitor) UnmarshalJSON(b []byte) error { - type Properties AnomalyMonitor +func (r *HookVersion) UnmarshalJSON(b []byte) error { + type Properties HookVersion res := &struct { Type string Properties *Properties @@ -102,7 +102,7 @@ func (r *AnomalyMonitor) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = AnomalyMonitor(*res.Properties) + *r = HookVersion(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchlogsaction.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion_loggingconfig.go similarity index 63% rename from pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchlogsaction.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion_loggingconfig.go index fec8efd59e..b8a4c53b2e 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchlogsaction.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-hookversion_loggingconfig.go @@ -1,4 +1,4 @@ -package iot +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TopicRule_CloudwatchLogsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.CloudwatchLogsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html -type TopicRule_CloudwatchLogsAction struct { +// HookVersion_LoggingConfig AWS CloudFormation Resource (AWS::CloudFormation::HookVersion.LoggingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html +type HookVersion_LoggingConfig struct { // LogGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html#cfn-iot-topicrule-cloudwatchlogsaction-loggroupname + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html#cfn-cloudformation-hookversion-loggingconfig-loggroupname LogGroupName *types.Value `json:"LogGroupName,omitempty"` - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html#cfn-iot-topicrule-cloudwatchlogsaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` + // LogRoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html#cfn-cloudformation-hookversion-loggingconfig-logrolearn + LogRoleArn *types.Value `json:"LogRoleArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type TopicRule_CloudwatchLogsAction struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TopicRule_CloudwatchLogsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.CloudwatchLogsAction" +func (r *HookVersion_LoggingConfig) AWSCloudFormationType() string { + return "AWS::CloudFormation::HookVersion.LoggingConfig" } diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook.go similarity index 66% rename from pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook.go index 9657d62c18..a300274be2 100644 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook.go @@ -1,4 +1,4 @@ -package codepipeline +package cloudformation import ( "bytes" @@ -10,49 +10,49 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Webhook AWS CloudFormation Resource (AWS::CodePipeline::Webhook) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html -type Webhook struct { +// LambdaHook AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html +type LambdaHook struct { - // Authentication AWS CloudFormation Property + // Alias AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-authentication - Authentication *types.Value `json:"Authentication,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-alias + Alias *types.Value `json:"Alias,omitempty"` - // AuthenticationConfiguration AWS CloudFormation Property + // ExecutionRole AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-authenticationconfiguration - AuthenticationConfiguration *Webhook_WebhookAuthConfiguration `json:"AuthenticationConfiguration,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-executionrole + ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - // Filters AWS CloudFormation Property + // FailureMode AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-filters - Filters []Webhook_WebhookFilterRule `json:"Filters,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-failuremode + FailureMode *types.Value `json:"FailureMode,omitempty"` - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-name - Name *types.Value `json:"Name,omitempty"` - - // RegisterWithThirdParty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-registerwiththirdparty - RegisterWithThirdParty *types.Value `json:"RegisterWithThirdParty,omitempty"` - - // TargetAction AWS CloudFormation Property + // HookStatus AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetaction - TargetAction *types.Value `json:"TargetAction,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-hookstatus + HookStatus *types.Value `json:"HookStatus,omitempty"` - // TargetPipeline AWS CloudFormation Property + // LambdaFunction AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipeline - TargetPipeline *types.Value `json:"TargetPipeline,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-lambdafunction + LambdaFunction *types.Value `json:"LambdaFunction,omitempty"` + + // StackFilters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-stackfilters + StackFilters *LambdaHook_StackFilters `json:"StackFilters,omitempty"` + + // TargetFilters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-targetfilters + TargetFilters *LambdaHook_TargetFilters `json:"TargetFilters,omitempty"` - // TargetPipelineVersion AWS CloudFormation Property + // TargetOperations AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html#cfn-codepipeline-webhook-targetpipelineversion - TargetPipelineVersion *types.Value `json:"TargetPipelineVersion"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-lambdahook.html#cfn-cloudformation-lambdahook-targetoperations + TargetOperations *types.Value `json:"TargetOperations,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -71,14 +71,14 @@ type Webhook struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Webhook) AWSCloudFormationType() string { - return "AWS::CodePipeline::Webhook" +func (r *LambdaHook) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook" } // 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 (r Webhook) MarshalJSON() ([]byte, error) { - type Properties Webhook +func (r LambdaHook) MarshalJSON() ([]byte, error) { + type Properties LambdaHook return json.Marshal(&struct { Type string Properties Properties @@ -100,8 +100,8 @@ func (r Webhook) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Webhook) UnmarshalJSON(b []byte) error { - type Properties Webhook +func (r *LambdaHook) UnmarshalJSON(b []byte) error { + type Properties LambdaHook res := &struct { Type string Properties *Properties @@ -122,7 +122,7 @@ func (r *Webhook) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Webhook(*res.Properties) + *r = LambdaHook(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_rule.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_hooktarget.go similarity index 59% rename from pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_rule.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_hooktarget.go index d7e4c33e31..382f2ecc08 100644 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_rule.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_hooktarget.go @@ -1,4 +1,4 @@ -package wafregional +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// WebACL_Rule AWS CloudFormation Resource (AWS::WAFRegional::WebACL.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html -type WebACL_Rule struct { +// LambdaHook_HookTarget AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook.HookTarget) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html +type LambdaHook_HookTarget struct { // Action AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-action - Action *WebACL_Action `json:"Action,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-action + Action *types.Value `json:"Action,omitempty"` - // Priority AWS CloudFormation Property + // InvocationPoint AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-priority - Priority *types.Value `json:"Priority"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-invocationpoint + InvocationPoint *types.Value `json:"InvocationPoint,omitempty"` - // RuleId AWS CloudFormation Property + // TargetName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html#cfn-wafregional-webacl-rule-ruleid - RuleId *types.Value `json:"RuleId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-targetname + TargetName *types.Value `json:"TargetName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type WebACL_Rule struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *WebACL_Rule) AWSCloudFormationType() string { - return "AWS::WAFRegional::WebACL.Rule" +func (r *LambdaHook_HookTarget) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook.HookTarget" } diff --git a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpattern.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackfilters.go similarity index 56% rename from pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpattern.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackfilters.go index 4c398e38cf..4f3de2869f 100644 --- a/pkg/goformation/cloudformation/applicationinsights/aws-applicationinsights-application_logpattern.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackfilters.go @@ -1,4 +1,4 @@ -package applicationinsights +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Application_LogPattern AWS CloudFormation Resource (AWS::ApplicationInsights::Application.LogPattern) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html -type Application_LogPattern struct { +// LambdaHook_StackFilters AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook.StackFilters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackfilters.html +type LambdaHook_StackFilters struct { - // Pattern AWS CloudFormation Property + // FilteringCriteria AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-pattern - Pattern *types.Value `json:"Pattern,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackfilters.html#cfn-cloudformation-lambdahook-stackfilters-filteringcriteria + FilteringCriteria *types.Value `json:"FilteringCriteria,omitempty"` - // PatternName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-patternname - PatternName *types.Value `json:"PatternName,omitempty"` + // StackNames AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackfilters.html#cfn-cloudformation-lambdahook-stackfilters-stacknames + StackNames *LambdaHook_StackNames `json:"StackNames,omitempty"` - // Rank AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-logpattern.html#cfn-applicationinsights-application-logpattern-rank - Rank *types.Value `json:"Rank"` + // StackRoles AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackfilters.html#cfn-cloudformation-lambdahook-stackfilters-stackroles + StackRoles *LambdaHook_StackRoles `json:"StackRoles,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Application_LogPattern struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Application_LogPattern) AWSCloudFormationType() string { - return "AWS::ApplicationInsights::Application.LogPattern" +func (r *LambdaHook_StackFilters) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook.StackFilters" } diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_catalogtarget.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stacknames.go similarity index 62% rename from pkg/goformation/cloudformation/glue/aws-glue-crawler_catalogtarget.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stacknames.go index 0aead01297..1e9204b1c1 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_catalogtarget.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stacknames.go @@ -1,4 +1,4 @@ -package glue +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Crawler_CatalogTarget AWS CloudFormation Resource (AWS::Glue::Crawler.CatalogTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-catalogtarget.html -type Crawler_CatalogTarget struct { +// LambdaHook_StackNames AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook.StackNames) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html +type LambdaHook_StackNames struct { - // DatabaseName AWS CloudFormation Property + // Exclude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-catalogtarget.html#cfn-glue-crawler-catalogtarget-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html#cfn-cloudformation-lambdahook-stacknames-exclude + Exclude *types.Value `json:"Exclude,omitempty"` - // Tables AWS CloudFormation Property + // Include AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-catalogtarget.html#cfn-glue-crawler-catalogtarget-tables - Tables *types.Value `json:"Tables,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stacknames.html#cfn-cloudformation-lambdahook-stacknames-include + Include *types.Value `json:"Include,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Crawler_CatalogTarget struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Crawler_CatalogTarget) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.CatalogTarget" +func (r *LambdaHook_StackNames) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook.StackNames" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hdr10settings.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackroles.go similarity index 62% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_hdr10settings.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackroles.go index a6fe265034..ce2d767ef1 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hdr10settings.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_stackroles.go @@ -1,4 +1,4 @@ -package medialive +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_Hdr10Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Hdr10Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hdr10settings.html -type Channel_Hdr10Settings struct { +// LambdaHook_StackRoles AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook.StackRoles) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackroles.html +type LambdaHook_StackRoles struct { - // MaxCll AWS CloudFormation Property + // Exclude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hdr10settings.html#cfn-medialive-channel-hdr10settings-maxcll - MaxCll *types.Value `json:"MaxCll,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackroles.html#cfn-cloudformation-lambdahook-stackroles-exclude + Exclude *types.Value `json:"Exclude,omitempty"` - // MaxFall AWS CloudFormation Property + // Include AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hdr10settings.html#cfn-medialive-channel-hdr10settings-maxfall - MaxFall *types.Value `json:"MaxFall,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-stackroles.html#cfn-cloudformation-lambdahook-stackroles-include + Include *types.Value `json:"Include,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Channel_Hdr10Settings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_Hdr10Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Hdr10Settings" +func (r *LambdaHook_StackRoles) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook.StackRoles" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionrectangle.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_targetfilters.go similarity index 53% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionrectangle.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_targetfilters.go index 16be22be50..828dba05f6 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionrectangle.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-lambdahook_targetfilters.go @@ -1,4 +1,4 @@ -package medialive +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_CaptionRectangle AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionRectangle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionrectangle.html -type Channel_CaptionRectangle struct { +// LambdaHook_TargetFilters AWS CloudFormation Resource (AWS::CloudFormation::LambdaHook.TargetFilters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html +type LambdaHook_TargetFilters struct { - // Height AWS CloudFormation Property + // Actions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionrectangle.html#cfn-medialive-channel-captionrectangle-height - Height *types.Value `json:"Height,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-actions + Actions *types.Value `json:"Actions,omitempty"` - // LeftOffset AWS CloudFormation Property + // InvocationPoints AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionrectangle.html#cfn-medialive-channel-captionrectangle-leftoffset - LeftOffset *types.Value `json:"LeftOffset,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-invocationpoints + InvocationPoints *types.Value `json:"InvocationPoints,omitempty"` - // TopOffset AWS CloudFormation Property + // TargetNames AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionrectangle.html#cfn-medialive-channel-captionrectangle-topoffset - TopOffset *types.Value `json:"TopOffset,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-targetnames + TargetNames *types.Value `json:"TargetNames,omitempty"` - // Width AWS CloudFormation Property + // Targets AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionrectangle.html#cfn-medialive-channel-captionrectangle-width - Width *types.Value `json:"Width,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-targets + Targets []LambdaHook_HookTarget `json:"Targets,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Channel_CaptionRectangle struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_CaptionRectangle) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionRectangle" +func (r *LambdaHook_TargetFilters) AWSCloudFormationType() string { + return "AWS::CloudFormation::LambdaHook.TargetFilters" } diff --git a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset.go index c226ca64ec..6211dfd756 100644 --- a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset.go @@ -47,7 +47,7 @@ type StackSet struct { // ManagedExecution AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html#cfn-cloudformation-stackset-managedexecution - ManagedExecution interface{} `json:"ManagedExecution,omitempty"` + ManagedExecution *StackSet_ManagedExecution `json:"ManagedExecution,omitempty"` // OperationPreferences AWS CloudFormation Property // Required: false diff --git a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_deploymenttargets.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_deploymenttargets.go index 5dfe1a7059..8bdfb53b86 100644 --- a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_deploymenttargets.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_deploymenttargets.go @@ -10,11 +10,21 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html type StackSet_DeploymentTargets struct { + // AccountFilterType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountfiltertype + AccountFilterType *types.Value `json:"AccountFilterType,omitempty"` + // Accounts AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accounts Accounts *types.Value `json:"Accounts,omitempty"` + // AccountsUrl AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-accountsurl + AccountsUrl *types.Value `json:"AccountsUrl,omitempty"` + // OrganizationalUnitIds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-deploymenttargets.html#cfn-cloudformation-stackset-deploymenttargets-organizationalunitids diff --git a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumeshost.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_managedexecution.go similarity index 67% rename from pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumeshost.go rename to pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_managedexecution.go index 9ebc8d41de..83a112e1b9 100644 --- a/pkg/goformation/cloudformation/batch/aws-batch-jobdefinition_volumeshost.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_managedexecution.go @@ -1,4 +1,4 @@ -package batch +package cloudformation import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// JobDefinition_VolumesHost AWS CloudFormation Resource (AWS::Batch::JobDefinition.VolumesHost) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html -type JobDefinition_VolumesHost struct { +// StackSet_ManagedExecution AWS CloudFormation Resource (AWS::CloudFormation::StackSet.ManagedExecution) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-managedexecution.html +type StackSet_ManagedExecution struct { - // SourcePath AWS CloudFormation Property + // Active AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html#cfn-batch-jobdefinition-volumeshost-sourcepath - SourcePath *types.Value `json:"SourcePath,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-managedexecution.html#cfn-cloudformation-stackset-managedexecution-active + Active *types.Value `json:"Active,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type JobDefinition_VolumesHost struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *JobDefinition_VolumesHost) AWSCloudFormationType() string { - return "AWS::Batch::JobDefinition.VolumesHost" +func (r *StackSet_ManagedExecution) AWSCloudFormationType() string { + return "AWS::CloudFormation::StackSet.ManagedExecution" } diff --git a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_operationpreferences.go b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_operationpreferences.go index 4d25d9117d..15f75e0113 100644 --- a/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_operationpreferences.go +++ b/pkg/goformation/cloudformation/cloudformation/aws-cloudformation-stackset_operationpreferences.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html type StackSet_OperationPreferences struct { + // ConcurrencyMode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html#cfn-cloudformation-stackset-operationpreferences-concurrencymode + ConcurrencyMode *types.Value `json:"ConcurrencyMode,omitempty"` + // FailureToleranceCount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html#cfn-cloudformation-stackset-operationpreferences-failuretolerancecount diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy.go deleted file mode 100644 index 03730d9468..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy AWS CloudFormation Resource (AWS::CloudFront::CachePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html -type CachePolicy struct { - - // CachePolicyConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html#cfn-cloudfront-cachepolicy-cachepolicyconfig - CachePolicyConfig *CachePolicy_CachePolicyConfig `json:"CachePolicyConfig,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 *CachePolicy) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy" -} - -// 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 (r CachePolicy) MarshalJSON() ([]byte, error) { - type Properties CachePolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CachePolicy) UnmarshalJSON(b []byte) error { - type Properties CachePolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CachePolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cachepolicyconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cachepolicyconfig.go deleted file mode 100644 index 908938db4d..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cachepolicyconfig.go +++ /dev/null @@ -1,62 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy_CachePolicyConfig AWS CloudFormation Resource (AWS::CloudFront::CachePolicy.CachePolicyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html -type CachePolicy_CachePolicyConfig struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // DefaultTTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-defaultttl - DefaultTTL *types.Value `json:"DefaultTTL"` - - // MaxTTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-maxttl - MaxTTL *types.Value `json:"MaxTTL"` - - // MinTTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-minttl - MinTTL *types.Value `json:"MinTTL"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-name - Name *types.Value `json:"Name,omitempty"` - - // ParametersInCacheKeyAndForwardedToOrigin AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html#cfn-cloudfront-cachepolicy-cachepolicyconfig-parametersincachekeyandforwardedtoorigin - ParametersInCacheKeyAndForwardedToOrigin *CachePolicy_ParametersInCacheKeyAndForwardedToOrigin `json:"ParametersInCacheKeyAndForwardedToOrigin,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 *CachePolicy_CachePolicyConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy.CachePolicyConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cookiesconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cookiesconfig.go deleted file mode 100644 index 1a2107a4ff..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_cookiesconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy_CookiesConfig AWS CloudFormation Resource (AWS::CloudFront::CachePolicy.CookiesConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html -type CachePolicy_CookiesConfig struct { - - // CookieBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html#cfn-cloudfront-cachepolicy-cookiesconfig-cookiebehavior - CookieBehavior *types.Value `json:"CookieBehavior,omitempty"` - - // Cookies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html#cfn-cloudfront-cachepolicy-cookiesconfig-cookies - Cookies *types.Value `json:"Cookies,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 *CachePolicy_CookiesConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy.CookiesConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_headersconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_headersconfig.go deleted file mode 100644 index e1453a4e69..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_headersconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy_HeadersConfig AWS CloudFormation Resource (AWS::CloudFront::CachePolicy.HeadersConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html -type CachePolicy_HeadersConfig struct { - - // HeaderBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html#cfn-cloudfront-cachepolicy-headersconfig-headerbehavior - HeaderBehavior *types.Value `json:"HeaderBehavior,omitempty"` - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html#cfn-cloudfront-cachepolicy-headersconfig-headers - Headers *types.Value `json:"Headers,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 *CachePolicy_HeadersConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy.HeadersConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_parametersincachekeyandforwardedtoorigin.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_parametersincachekeyandforwardedtoorigin.go deleted file mode 100644 index 1b4b075f92..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_parametersincachekeyandforwardedtoorigin.go +++ /dev/null @@ -1,57 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy_ParametersInCacheKeyAndForwardedToOrigin AWS CloudFormation Resource (AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html -type CachePolicy_ParametersInCacheKeyAndForwardedToOrigin struct { - - // CookiesConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html#cfn-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin-cookiesconfig - CookiesConfig *CachePolicy_CookiesConfig `json:"CookiesConfig,omitempty"` - - // EnableAcceptEncodingBrotli AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html#cfn-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin-enableacceptencodingbrotli - EnableAcceptEncodingBrotli *types.Value `json:"EnableAcceptEncodingBrotli,omitempty"` - - // EnableAcceptEncodingGzip AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html#cfn-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin-enableacceptencodinggzip - EnableAcceptEncodingGzip *types.Value `json:"EnableAcceptEncodingGzip"` - - // HeadersConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html#cfn-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin-headersconfig - HeadersConfig *CachePolicy_HeadersConfig `json:"HeadersConfig,omitempty"` - - // QueryStringsConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html#cfn-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin-querystringsconfig - QueryStringsConfig *CachePolicy_QueryStringsConfig `json:"QueryStringsConfig,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 *CachePolicy_ParametersInCacheKeyAndForwardedToOrigin) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_querystringsconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_querystringsconfig.go deleted file mode 100644 index bd380ed787..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cachepolicy_querystringsconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CachePolicy_QueryStringsConfig AWS CloudFormation Resource (AWS::CloudFront::CachePolicy.QueryStringsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html -type CachePolicy_QueryStringsConfig struct { - - // QueryStringBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html#cfn-cloudfront-cachepolicy-querystringsconfig-querystringbehavior - QueryStringBehavior *types.Value `json:"QueryStringBehavior,omitempty"` - - // QueryStrings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html#cfn-cloudfront-cachepolicy-querystringsconfig-querystrings - QueryStrings *types.Value `json:"QueryStrings,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 *CachePolicy_QueryStringsConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::CachePolicy.QueryStringsConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity.go deleted file mode 100644 index 09b65d250a..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFrontOriginAccessIdentity AWS CloudFormation Resource (AWS::CloudFront::CloudFrontOriginAccessIdentity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html -type CloudFrontOriginAccessIdentity struct { - - // CloudFrontOriginAccessIdentityConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html#cfn-cloudfront-cloudfrontoriginaccessidentity-cloudfrontoriginaccessidentityconfig - CloudFrontOriginAccessIdentityConfig *CloudFrontOriginAccessIdentity_CloudFrontOriginAccessIdentityConfig `json:"CloudFrontOriginAccessIdentityConfig,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 *CloudFrontOriginAccessIdentity) AWSCloudFormationType() string { - return "AWS::CloudFront::CloudFrontOriginAccessIdentity" -} - -// 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 (r CloudFrontOriginAccessIdentity) MarshalJSON() ([]byte, error) { - type Properties CloudFrontOriginAccessIdentity - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CloudFrontOriginAccessIdentity) UnmarshalJSON(b []byte) error { - type Properties CloudFrontOriginAccessIdentity - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CloudFrontOriginAccessIdentity(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity_cloudfrontoriginaccessidentityconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity_cloudfrontoriginaccessidentityconfig.go deleted file mode 100644 index ec74f57e76..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-cloudfrontoriginaccessidentity_cloudfrontoriginaccessidentityconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFrontOriginAccessIdentity_CloudFrontOriginAccessIdentityConfig AWS CloudFormation Resource (AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cloudfrontoriginaccessidentity-cloudfrontoriginaccessidentityconfig.html -type CloudFrontOriginAccessIdentity_CloudFrontOriginAccessIdentityConfig struct { - - // Comment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cloudfrontoriginaccessidentity-cloudfrontoriginaccessidentityconfig.html#cfn-cloudfront-cloudfrontoriginaccessidentity-cloudfrontoriginaccessidentityconfig-comment - Comment *types.Value `json:"Comment,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 *CloudFrontOriginAccessIdentity_CloudFrontOriginAccessIdentityConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution.go deleted file mode 100644 index d502e772a6..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution.go +++ /dev/null @@ -1,112 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution AWS CloudFormation Resource (AWS::CloudFront::Distribution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html -type Distribution struct { - - // DistributionConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html#cfn-cloudfront-distribution-distributionconfig - DistributionConfig *Distribution_DistributionConfig `json:"DistributionConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distribution.html#cfn-cloudfront-distribution-tags - Tags []cloudformation.Tag `json:"Tags,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 *Distribution) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution" -} - -// 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 (r Distribution) MarshalJSON() ([]byte, error) { - type Properties Distribution - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Distribution) UnmarshalJSON(b []byte) error { - type Properties Distribution - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Distribution(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cachebehavior.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cachebehavior.go deleted file mode 100644 index 7efcf71f2e..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cachebehavior.go +++ /dev/null @@ -1,132 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_CacheBehavior AWS CloudFormation Resource (AWS::CloudFront::Distribution.CacheBehavior) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html -type Distribution_CacheBehavior struct { - - // AllowedMethods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-allowedmethods - AllowedMethods *types.Value `json:"AllowedMethods,omitempty"` - - // CachePolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-cachepolicyid - CachePolicyId *types.Value `json:"CachePolicyId,omitempty"` - - // CachedMethods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-cachedmethods - CachedMethods *types.Value `json:"CachedMethods,omitempty"` - - // Compress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-compress - Compress *types.Value `json:"Compress,omitempty"` - - // DefaultTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-defaultttl - DefaultTTL *types.Value `json:"DefaultTTL,omitempty"` - - // FieldLevelEncryptionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-fieldlevelencryptionid - FieldLevelEncryptionId *types.Value `json:"FieldLevelEncryptionId,omitempty"` - - // ForwardedValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-forwardedvalues - ForwardedValues *Distribution_ForwardedValues `json:"ForwardedValues,omitempty"` - - // FunctionAssociations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-functionassociations - FunctionAssociations []Distribution_FunctionAssociation `json:"FunctionAssociations,omitempty"` - - // LambdaFunctionAssociations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-lambdafunctionassociations - LambdaFunctionAssociations []Distribution_LambdaFunctionAssociation `json:"LambdaFunctionAssociations,omitempty"` - - // MaxTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-maxttl - MaxTTL *types.Value `json:"MaxTTL,omitempty"` - - // MinTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-minttl - MinTTL *types.Value `json:"MinTTL,omitempty"` - - // OriginRequestPolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-originrequestpolicyid - OriginRequestPolicyId *types.Value `json:"OriginRequestPolicyId,omitempty"` - - // PathPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-pathpattern - PathPattern *types.Value `json:"PathPattern,omitempty"` - - // RealtimeLogConfigArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-realtimelogconfigarn - RealtimeLogConfigArn *types.Value `json:"RealtimeLogConfigArn,omitempty"` - - // ResponseHeadersPolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-responseheaderspolicyid - ResponseHeadersPolicyId *types.Value `json:"ResponseHeadersPolicyId,omitempty"` - - // SmoothStreaming AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-smoothstreaming - SmoothStreaming *types.Value `json:"SmoothStreaming,omitempty"` - - // TargetOriginId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-targetoriginid - TargetOriginId *types.Value `json:"TargetOriginId,omitempty"` - - // TrustedKeyGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-trustedkeygroups - TrustedKeyGroups *types.Value `json:"TrustedKeyGroups,omitempty"` - - // TrustedSigners AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-trustedsigners - TrustedSigners *types.Value `json:"TrustedSigners,omitempty"` - - // ViewerProtocolPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cachebehavior.html#cfn-cloudfront-distribution-cachebehavior-viewerprotocolpolicy - ViewerProtocolPolicy *types.Value `json:"ViewerProtocolPolicy,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 *Distribution_CacheBehavior) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.CacheBehavior" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cookies.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cookies.go deleted file mode 100644 index c20335dc77..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_cookies.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_Cookies AWS CloudFormation Resource (AWS::CloudFront::Distribution.Cookies) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cookies.html -type Distribution_Cookies struct { - - // Forward AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cookies.html#cfn-cloudfront-distribution-cookies-forward - Forward *types.Value `json:"Forward,omitempty"` - - // WhitelistedNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-cookies.html#cfn-cloudfront-distribution-cookies-whitelistednames - WhitelistedNames *types.Value `json:"WhitelistedNames,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 *Distribution_Cookies) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.Cookies" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customerrorresponse.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customerrorresponse.go deleted file mode 100644 index 4a69d04639..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customerrorresponse.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_CustomErrorResponse AWS CloudFormation Resource (AWS::CloudFront::Distribution.CustomErrorResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customerrorresponse.html -type Distribution_CustomErrorResponse struct { - - // ErrorCachingMinTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customerrorresponse.html#cfn-cloudfront-distribution-customerrorresponse-errorcachingminttl - ErrorCachingMinTTL *types.Value `json:"ErrorCachingMinTTL,omitempty"` - - // ErrorCode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customerrorresponse.html#cfn-cloudfront-distribution-customerrorresponse-errorcode - ErrorCode *types.Value `json:"ErrorCode"` - - // ResponseCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customerrorresponse.html#cfn-cloudfront-distribution-customerrorresponse-responsecode - ResponseCode *types.Value `json:"ResponseCode,omitempty"` - - // ResponsePagePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customerrorresponse.html#cfn-cloudfront-distribution-customerrorresponse-responsepagepath - ResponsePagePath *types.Value `json:"ResponsePagePath,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 *Distribution_CustomErrorResponse) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.CustomErrorResponse" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customoriginconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customoriginconfig.go deleted file mode 100644 index 2fce469b96..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_customoriginconfig.go +++ /dev/null @@ -1,62 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_CustomOriginConfig AWS CloudFormation Resource (AWS::CloudFront::Distribution.CustomOriginConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html -type Distribution_CustomOriginConfig struct { - - // HTTPPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-httpport - HTTPPort *types.Value `json:"HTTPPort,omitempty"` - - // HTTPSPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-httpsport - HTTPSPort *types.Value `json:"HTTPSPort,omitempty"` - - // OriginKeepaliveTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originkeepalivetimeout - OriginKeepaliveTimeout *types.Value `json:"OriginKeepaliveTimeout,omitempty"` - - // OriginProtocolPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originprotocolpolicy - OriginProtocolPolicy *types.Value `json:"OriginProtocolPolicy,omitempty"` - - // OriginReadTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originreadtimeout - OriginReadTimeout *types.Value `json:"OriginReadTimeout,omitempty"` - - // OriginSSLProtocols AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html#cfn-cloudfront-distribution-customoriginconfig-originsslprotocols - OriginSSLProtocols *types.Value `json:"OriginSSLProtocols,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 *Distribution_CustomOriginConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.CustomOriginConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_defaultcachebehavior.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_defaultcachebehavior.go deleted file mode 100644 index 0cbd509cd7..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_defaultcachebehavior.go +++ /dev/null @@ -1,127 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_DefaultCacheBehavior AWS CloudFormation Resource (AWS::CloudFront::Distribution.DefaultCacheBehavior) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html -type Distribution_DefaultCacheBehavior struct { - - // AllowedMethods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-allowedmethods - AllowedMethods *types.Value `json:"AllowedMethods,omitempty"` - - // CachePolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-cachepolicyid - CachePolicyId *types.Value `json:"CachePolicyId,omitempty"` - - // CachedMethods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-cachedmethods - CachedMethods *types.Value `json:"CachedMethods,omitempty"` - - // Compress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-compress - Compress *types.Value `json:"Compress,omitempty"` - - // DefaultTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-defaultttl - DefaultTTL *types.Value `json:"DefaultTTL,omitempty"` - - // FieldLevelEncryptionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-fieldlevelencryptionid - FieldLevelEncryptionId *types.Value `json:"FieldLevelEncryptionId,omitempty"` - - // ForwardedValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-forwardedvalues - ForwardedValues *Distribution_ForwardedValues `json:"ForwardedValues,omitempty"` - - // FunctionAssociations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-functionassociations - FunctionAssociations []Distribution_FunctionAssociation `json:"FunctionAssociations,omitempty"` - - // LambdaFunctionAssociations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-lambdafunctionassociations - LambdaFunctionAssociations []Distribution_LambdaFunctionAssociation `json:"LambdaFunctionAssociations,omitempty"` - - // MaxTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-maxttl - MaxTTL *types.Value `json:"MaxTTL,omitempty"` - - // MinTTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-minttl - MinTTL *types.Value `json:"MinTTL,omitempty"` - - // OriginRequestPolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-originrequestpolicyid - OriginRequestPolicyId *types.Value `json:"OriginRequestPolicyId,omitempty"` - - // RealtimeLogConfigArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-realtimelogconfigarn - RealtimeLogConfigArn *types.Value `json:"RealtimeLogConfigArn,omitempty"` - - // ResponseHeadersPolicyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-responseheaderspolicyid - ResponseHeadersPolicyId *types.Value `json:"ResponseHeadersPolicyId,omitempty"` - - // SmoothStreaming AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-smoothstreaming - SmoothStreaming *types.Value `json:"SmoothStreaming,omitempty"` - - // TargetOriginId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-targetoriginid - TargetOriginId *types.Value `json:"TargetOriginId,omitempty"` - - // TrustedKeyGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-trustedkeygroups - TrustedKeyGroups *types.Value `json:"TrustedKeyGroups,omitempty"` - - // TrustedSigners AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-trustedsigners - TrustedSigners *types.Value `json:"TrustedSigners,omitempty"` - - // ViewerProtocolPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-defaultcachebehavior.html#cfn-cloudfront-distribution-defaultcachebehavior-viewerprotocolpolicy - ViewerProtocolPolicy *types.Value `json:"ViewerProtocolPolicy,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 *Distribution_DefaultCacheBehavior) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.DefaultCacheBehavior" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go deleted file mode 100644 index 4558818710..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go +++ /dev/null @@ -1,127 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_DistributionConfig AWS CloudFormation Resource (AWS::CloudFront::Distribution.DistributionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html -type Distribution_DistributionConfig struct { - - // Aliases AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases - Aliases *types.Value `json:"Aliases,omitempty"` - - // CNAMEs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-cnames - CNAMEs *types.Value `json:"CNAMEs,omitempty"` - - // CacheBehaviors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-cachebehaviors - CacheBehaviors []Distribution_CacheBehavior `json:"CacheBehaviors,omitempty"` - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // CustomErrorResponses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-customerrorresponses - CustomErrorResponses []Distribution_CustomErrorResponse `json:"CustomErrorResponses,omitempty"` - - // CustomOrigin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-customorigin - CustomOrigin *Distribution_LegacyCustomOrigin `json:"CustomOrigin,omitempty"` - - // DefaultCacheBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-defaultcachebehavior - DefaultCacheBehavior *Distribution_DefaultCacheBehavior `json:"DefaultCacheBehavior,omitempty"` - - // DefaultRootObject AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-defaultrootobject - DefaultRootObject *types.Value `json:"DefaultRootObject,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-enabled - Enabled *types.Value `json:"Enabled"` - - // HttpVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-httpversion - HttpVersion *types.Value `json:"HttpVersion,omitempty"` - - // IPV6Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-ipv6enabled - IPV6Enabled *types.Value `json:"IPV6Enabled,omitempty"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-logging - Logging *Distribution_Logging `json:"Logging,omitempty"` - - // OriginGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-origingroups - OriginGroups *Distribution_OriginGroups `json:"OriginGroups,omitempty"` - - // Origins AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-origins - Origins []Distribution_Origin `json:"Origins,omitempty"` - - // PriceClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-priceclass - PriceClass *types.Value `json:"PriceClass,omitempty"` - - // Restrictions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-restrictions - Restrictions *Distribution_Restrictions `json:"Restrictions,omitempty"` - - // S3Origin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-s3origin - S3Origin *Distribution_LegacyS3Origin `json:"S3Origin,omitempty"` - - // ViewerCertificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-viewercertificate - ViewerCertificate *Distribution_ViewerCertificate `json:"ViewerCertificate,omitempty"` - - // WebACLId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-webaclid - WebACLId *types.Value `json:"WebACLId,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 *Distribution_DistributionConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.DistributionConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_forwardedvalues.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_forwardedvalues.go deleted file mode 100644 index c1d042bd08..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_forwardedvalues.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_ForwardedValues AWS CloudFormation Resource (AWS::CloudFront::Distribution.ForwardedValues) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-forwardedvalues.html -type Distribution_ForwardedValues struct { - - // Cookies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-forwardedvalues.html#cfn-cloudfront-distribution-forwardedvalues-cookies - Cookies *Distribution_Cookies `json:"Cookies,omitempty"` - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-forwardedvalues.html#cfn-cloudfront-distribution-forwardedvalues-headers - Headers *types.Value `json:"Headers,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-forwardedvalues.html#cfn-cloudfront-distribution-forwardedvalues-querystring - QueryString *types.Value `json:"QueryString"` - - // QueryStringCacheKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-forwardedvalues.html#cfn-cloudfront-distribution-forwardedvalues-querystringcachekeys - QueryStringCacheKeys *types.Value `json:"QueryStringCacheKeys,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 *Distribution_ForwardedValues) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.ForwardedValues" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_functionassociation.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_functionassociation.go deleted file mode 100644 index 1feab2f82b..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_functionassociation.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_FunctionAssociation AWS CloudFormation Resource (AWS::CloudFront::Distribution.FunctionAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.html -type Distribution_FunctionAssociation struct { - - // EventType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.html#cfn-cloudfront-distribution-functionassociation-eventtype - EventType *types.Value `json:"EventType,omitempty"` - - // FunctionARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-functionassociation.html#cfn-cloudfront-distribution-functionassociation-functionarn - FunctionARN *types.Value `json:"FunctionARN,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 *Distribution_FunctionAssociation) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.FunctionAssociation" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_georestriction.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_georestriction.go deleted file mode 100644 index 232c90645a..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_georestriction.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_GeoRestriction AWS CloudFormation Resource (AWS::CloudFront::Distribution.GeoRestriction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-georestriction.html -type Distribution_GeoRestriction struct { - - // Locations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-georestriction.html#cfn-cloudfront-distribution-georestriction-locations - Locations *types.Value `json:"Locations,omitempty"` - - // RestrictionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-georestriction.html#cfn-cloudfront-distribution-georestriction-restrictiontype - RestrictionType *types.Value `json:"RestrictionType,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 *Distribution_GeoRestriction) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.GeoRestriction" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_lambdafunctionassociation.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_lambdafunctionassociation.go deleted file mode 100644 index c02a7f1fc3..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_lambdafunctionassociation.go +++ /dev/null @@ -1,47 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_LambdaFunctionAssociation AWS CloudFormation Resource (AWS::CloudFront::Distribution.LambdaFunctionAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html -type Distribution_LambdaFunctionAssociation struct { - - // EventType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-eventtype - EventType *types.Value `json:"EventType,omitempty"` - - // IncludeBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-includebody - IncludeBody *types.Value `json:"IncludeBody,omitempty"` - - // LambdaFunctionARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-lambdafunctionassociation.html#cfn-cloudfront-distribution-lambdafunctionassociation-lambdafunctionarn - LambdaFunctionARN *types.Value `json:"LambdaFunctionARN,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 *Distribution_LambdaFunctionAssociation) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.LambdaFunctionAssociation" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacycustomorigin.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacycustomorigin.go deleted file mode 100644 index fe49b714a4..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacycustomorigin.go +++ /dev/null @@ -1,57 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_LegacyCustomOrigin AWS CloudFormation Resource (AWS::CloudFront::Distribution.LegacyCustomOrigin) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html -type Distribution_LegacyCustomOrigin struct { - - // DNSName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-dnsname - DNSName *types.Value `json:"DNSName,omitempty"` - - // HTTPPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpport - HTTPPort *types.Value `json:"HTTPPort,omitempty"` - - // HTTPSPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-httpsport - HTTPSPort *types.Value `json:"HTTPSPort,omitempty"` - - // OriginProtocolPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originprotocolpolicy - OriginProtocolPolicy *types.Value `json:"OriginProtocolPolicy,omitempty"` - - // OriginSSLProtocols AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html#cfn-cloudfront-distribution-legacycustomorigin-originsslprotocols - OriginSSLProtocols *types.Value `json:"OriginSSLProtocols,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 *Distribution_LegacyCustomOrigin) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.LegacyCustomOrigin" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_logging.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_logging.go deleted file mode 100644 index 56b4efa559..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_logging.go +++ /dev/null @@ -1,47 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_Logging AWS CloudFormation Resource (AWS::CloudFront::Distribution.Logging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-logging.html -type Distribution_Logging struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-logging.html#cfn-cloudfront-distribution-logging-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // IncludeCookies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-logging.html#cfn-cloudfront-distribution-logging-includecookies - IncludeCookies *types.Value `json:"IncludeCookies,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-logging.html#cfn-cloudfront-distribution-logging-prefix - Prefix *types.Value `json:"Prefix,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 *Distribution_Logging) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.Logging" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origin.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origin.go deleted file mode 100644 index 0d078b4933..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origin.go +++ /dev/null @@ -1,77 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_Origin AWS CloudFormation Resource (AWS::CloudFront::Distribution.Origin) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html -type Distribution_Origin struct { - - // ConnectionAttempts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-connectionattempts - ConnectionAttempts *types.Value `json:"ConnectionAttempts,omitempty"` - - // ConnectionTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-connectiontimeout - ConnectionTimeout *types.Value `json:"ConnectionTimeout,omitempty"` - - // CustomOriginConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-customoriginconfig - CustomOriginConfig *Distribution_CustomOriginConfig `json:"CustomOriginConfig,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-id - Id *types.Value `json:"Id,omitempty"` - - // OriginCustomHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-origincustomheaders - OriginCustomHeaders []Distribution_OriginCustomHeader `json:"OriginCustomHeaders,omitempty"` - - // OriginPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-originpath - OriginPath *types.Value `json:"OriginPath,omitempty"` - - // OriginShield AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-originshield - OriginShield *Distribution_OriginShield `json:"OriginShield,omitempty"` - - // S3OriginConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html#cfn-cloudfront-distribution-origin-s3originconfig - S3OriginConfig *Distribution_S3OriginConfig `json:"S3OriginConfig,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 *Distribution_Origin) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.Origin" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origincustomheader.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origincustomheader.go deleted file mode 100644 index d4c05d5593..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origincustomheader.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginCustomHeader AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginCustomHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html -type Distribution_OriginCustomHeader struct { - - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html#cfn-cloudfront-distribution-origincustomheader-headername - HeaderName *types.Value `json:"HeaderName,omitempty"` - - // HeaderValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origincustomheader.html#cfn-cloudfront-distribution-origincustomheader-headervalue - HeaderValue *types.Value `json:"HeaderValue,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 *Distribution_OriginCustomHeader) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginCustomHeader" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroup.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroup.go deleted file mode 100644 index 979cd5327e..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroup.go +++ /dev/null @@ -1,47 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginGroup AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroup.html -type Distribution_OriginGroup struct { - - // FailoverCriteria AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroup.html#cfn-cloudfront-distribution-origingroup-failovercriteria - FailoverCriteria *Distribution_OriginGroupFailoverCriteria `json:"FailoverCriteria,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroup.html#cfn-cloudfront-distribution-origingroup-id - Id *types.Value `json:"Id,omitempty"` - - // Members AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroup.html#cfn-cloudfront-distribution-origingroup-members - Members *Distribution_OriginGroupMembers `json:"Members,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 *Distribution_OriginGroup) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginGroup" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupfailovercriteria.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupfailovercriteria.go deleted file mode 100644 index 81896e6d8f..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupfailovercriteria.go +++ /dev/null @@ -1,35 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginGroupFailoverCriteria AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginGroupFailoverCriteria) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupfailovercriteria.html -type Distribution_OriginGroupFailoverCriteria struct { - - // StatusCodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupfailovercriteria.html#cfn-cloudfront-distribution-origingroupfailovercriteria-statuscodes - StatusCodes *Distribution_StatusCodes `json:"StatusCodes,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 *Distribution_OriginGroupFailoverCriteria) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginGroupFailoverCriteria" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmember.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmember.go deleted file mode 100644 index b7058665b8..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmember.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginGroupMember AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginGroupMember) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupmember.html -type Distribution_OriginGroupMember struct { - - // OriginId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupmember.html#cfn-cloudfront-distribution-origingroupmember-originid - OriginId *types.Value `json:"OriginId,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 *Distribution_OriginGroupMember) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginGroupMember" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmembers.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmembers.go deleted file mode 100644 index a958bcce0c..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroupmembers.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginGroupMembers AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginGroupMembers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupmembers.html -type Distribution_OriginGroupMembers struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupmembers.html#cfn-cloudfront-distribution-origingroupmembers-items - Items []Distribution_OriginGroupMember `json:"Items,omitempty"` - - // Quantity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupmembers.html#cfn-cloudfront-distribution-origingroupmembers-quantity - Quantity *types.Value `json:"Quantity"` - - // 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 *Distribution_OriginGroupMembers) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginGroupMembers" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_originshield.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_originshield.go deleted file mode 100644 index f8bc3821ac..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_originshield.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_OriginShield AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginShield) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-originshield.html -type Distribution_OriginShield struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-originshield.html#cfn-cloudfront-distribution-originshield-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // OriginShieldRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-originshield.html#cfn-cloudfront-distribution-originshield-originshieldregion - OriginShieldRegion *types.Value `json:"OriginShieldRegion,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 *Distribution_OriginShield) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginShield" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_restrictions.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_restrictions.go deleted file mode 100644 index e9964f5383..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_restrictions.go +++ /dev/null @@ -1,35 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_Restrictions AWS CloudFormation Resource (AWS::CloudFront::Distribution.Restrictions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-restrictions.html -type Distribution_Restrictions struct { - - // GeoRestriction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-restrictions.html#cfn-cloudfront-distribution-restrictions-georestriction - GeoRestriction *Distribution_GeoRestriction `json:"GeoRestriction,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 *Distribution_Restrictions) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.Restrictions" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_s3originconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_s3originconfig.go deleted file mode 100644 index 00bc488123..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_s3originconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_S3OriginConfig AWS CloudFormation Resource (AWS::CloudFront::Distribution.S3OriginConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-s3originconfig.html -type Distribution_S3OriginConfig struct { - - // OriginAccessIdentity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-s3originconfig.html#cfn-cloudfront-distribution-s3originconfig-originaccessidentity - OriginAccessIdentity *types.Value `json:"OriginAccessIdentity,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 *Distribution_S3OriginConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.S3OriginConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_statuscodes.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_statuscodes.go deleted file mode 100644 index ea103e0b1e..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_statuscodes.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_StatusCodes AWS CloudFormation Resource (AWS::CloudFront::Distribution.StatusCodes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html -type Distribution_StatusCodes struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html#cfn-cloudfront-distribution-statuscodes-items - Items *types.Value `json:"Items,omitempty"` - - // Quantity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html#cfn-cloudfront-distribution-statuscodes-quantity - Quantity *types.Value `json:"Quantity"` - - // 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 *Distribution_StatusCodes) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.StatusCodes" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_viewercertificate.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_viewercertificate.go deleted file mode 100644 index 8b8ef770a3..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_viewercertificate.go +++ /dev/null @@ -1,57 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Distribution_ViewerCertificate AWS CloudFormation Resource (AWS::CloudFront::Distribution.ViewerCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html -type Distribution_ViewerCertificate struct { - - // AcmCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-acmcertificatearn - AcmCertificateArn *types.Value `json:"AcmCertificateArn,omitempty"` - - // CloudFrontDefaultCertificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-cloudfrontdefaultcertificate - CloudFrontDefaultCertificate *types.Value `json:"CloudFrontDefaultCertificate,omitempty"` - - // IamCertificateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-iamcertificateid - IamCertificateId *types.Value `json:"IamCertificateId,omitempty"` - - // MinimumProtocolVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-minimumprotocolversion - MinimumProtocolVersion *types.Value `json:"MinimumProtocolVersion,omitempty"` - - // SslSupportMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html#cfn-cloudfront-distribution-viewercertificate-sslsupportmethod - SslSupportMethod *types.Value `json:"SslSupportMethod,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 *Distribution_ViewerCertificate) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.ViewerCertificate" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function.go deleted file mode 100644 index 785ad655fa..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function.go +++ /dev/null @@ -1,123 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Function AWS CloudFormation Resource (AWS::CloudFront::Function) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html -type Function struct { - - // AutoPublish AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-autopublish - AutoPublish *types.Value `json:"AutoPublish,omitempty"` - - // FunctionCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functioncode - FunctionCode *types.Value `json:"FunctionCode,omitempty"` - - // FunctionConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-functionconfig - FunctionConfig *Function_FunctionConfig `json:"FunctionConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-function.html#cfn-cloudfront-function-name - Name *types.Value `json:"Name,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 *Function) AWSCloudFormationType() string { - return "AWS::CloudFront::Function" -} - -// 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 (r Function) MarshalJSON() ([]byte, error) { - type Properties Function - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Function) UnmarshalJSON(b []byte) error { - type Properties Function - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Function(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionconfig.go deleted file mode 100644 index 21f1fcfb2e..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Function_FunctionConfig AWS CloudFormation Resource (AWS::CloudFront::Function.FunctionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html -type Function_FunctionConfig struct { - - // Comment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html#cfn-cloudfront-function-functionconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // Runtime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionconfig.html#cfn-cloudfront-function-functionconfig-runtime - Runtime *types.Value `json:"Runtime,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 *Function_FunctionConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::Function.FunctionConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionmetadata.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionmetadata.go deleted file mode 100644 index 4b8d762d52..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-function_functionmetadata.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Function_FunctionMetadata AWS CloudFormation Resource (AWS::CloudFront::Function.FunctionMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionmetadata.html -type Function_FunctionMetadata struct { - - // FunctionARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-function-functionmetadata.html#cfn-cloudfront-function-functionmetadata-functionarn - FunctionARN *types.Value `json:"FunctionARN,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 *Function_FunctionMetadata) AWSCloudFormationType() string { - return "AWS::CloudFront::Function.FunctionMetadata" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup.go deleted file mode 100644 index deb2a81a3d..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KeyGroup AWS CloudFormation Resource (AWS::CloudFront::KeyGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.html -type KeyGroup struct { - - // KeyGroupConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.html#cfn-cloudfront-keygroup-keygroupconfig - KeyGroupConfig *KeyGroup_KeyGroupConfig `json:"KeyGroupConfig,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 *KeyGroup) AWSCloudFormationType() string { - return "AWS::CloudFront::KeyGroup" -} - -// 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 (r KeyGroup) MarshalJSON() ([]byte, error) { - type Properties KeyGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *KeyGroup) UnmarshalJSON(b []byte) error { - type Properties KeyGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = KeyGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy.go deleted file mode 100644 index 9b1b85b4ad..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginRequestPolicy AWS CloudFormation Resource (AWS::CloudFront::OriginRequestPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originrequestpolicy.html -type OriginRequestPolicy struct { - - // OriginRequestPolicyConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originrequestpolicy.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig - OriginRequestPolicyConfig *OriginRequestPolicy_OriginRequestPolicyConfig `json:"OriginRequestPolicyConfig,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 *OriginRequestPolicy) AWSCloudFormationType() string { - return "AWS::CloudFront::OriginRequestPolicy" -} - -// 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 (r OriginRequestPolicy) MarshalJSON() ([]byte, error) { - type Properties OriginRequestPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *OriginRequestPolicy) UnmarshalJSON(b []byte) error { - type Properties OriginRequestPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = OriginRequestPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_cookiesconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_cookiesconfig.go deleted file mode 100644 index 07f240afda..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_cookiesconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginRequestPolicy_CookiesConfig AWS CloudFormation Resource (AWS::CloudFront::OriginRequestPolicy.CookiesConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-cookiesconfig.html -type OriginRequestPolicy_CookiesConfig struct { - - // CookieBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-cookiesconfig.html#cfn-cloudfront-originrequestpolicy-cookiesconfig-cookiebehavior - CookieBehavior *types.Value `json:"CookieBehavior,omitempty"` - - // Cookies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-cookiesconfig.html#cfn-cloudfront-originrequestpolicy-cookiesconfig-cookies - Cookies *types.Value `json:"Cookies,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 *OriginRequestPolicy_CookiesConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::OriginRequestPolicy.CookiesConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_headersconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_headersconfig.go deleted file mode 100644 index 0c94126095..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_headersconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginRequestPolicy_HeadersConfig AWS CloudFormation Resource (AWS::CloudFront::OriginRequestPolicy.HeadersConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.html -type OriginRequestPolicy_HeadersConfig struct { - - // HeaderBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.html#cfn-cloudfront-originrequestpolicy-headersconfig-headerbehavior - HeaderBehavior *types.Value `json:"HeaderBehavior,omitempty"` - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-headersconfig.html#cfn-cloudfront-originrequestpolicy-headersconfig-headers - Headers *types.Value `json:"Headers,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 *OriginRequestPolicy_HeadersConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::OriginRequestPolicy.HeadersConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_originrequestpolicyconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_originrequestpolicyconfig.go deleted file mode 100644 index b5bfbbe019..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_originrequestpolicyconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginRequestPolicy_OriginRequestPolicyConfig AWS CloudFormation Resource (AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html -type OriginRequestPolicy_OriginRequestPolicyConfig struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // CookiesConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig-cookiesconfig - CookiesConfig *OriginRequestPolicy_CookiesConfig `json:"CookiesConfig,omitempty"` - - // HeadersConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig-headersconfig - HeadersConfig *OriginRequestPolicy_HeadersConfig `json:"HeadersConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig-name - Name *types.Value `json:"Name,omitempty"` - - // QueryStringsConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-originrequestpolicyconfig.html#cfn-cloudfront-originrequestpolicy-originrequestpolicyconfig-querystringsconfig - QueryStringsConfig *OriginRequestPolicy_QueryStringsConfig `json:"QueryStringsConfig,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 *OriginRequestPolicy_OriginRequestPolicyConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_querystringsconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_querystringsconfig.go deleted file mode 100644 index 4c04b56f64..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-originrequestpolicy_querystringsconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginRequestPolicy_QueryStringsConfig AWS CloudFormation Resource (AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-querystringsconfig.html -type OriginRequestPolicy_QueryStringsConfig struct { - - // QueryStringBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-querystringsconfig.html#cfn-cloudfront-originrequestpolicy-querystringsconfig-querystringbehavior - QueryStringBehavior *types.Value `json:"QueryStringBehavior,omitempty"` - - // QueryStrings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-originrequestpolicy-querystringsconfig.html#cfn-cloudfront-originrequestpolicy-querystringsconfig-querystrings - QueryStrings *types.Value `json:"QueryStrings,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 *OriginRequestPolicy_QueryStringsConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey.go deleted file mode 100644 index bdc60d9916..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PublicKey AWS CloudFormation Resource (AWS::CloudFront::PublicKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html -type PublicKey struct { - - // PublicKeyConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html#cfn-cloudfront-publickey-publickeyconfig - PublicKeyConfig *PublicKey_PublicKeyConfig `json:"PublicKeyConfig,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 *PublicKey) AWSCloudFormationType() string { - return "AWS::CloudFront::PublicKey" -} - -// 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 (r PublicKey) MarshalJSON() ([]byte, error) { - type Properties PublicKey - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PublicKey) UnmarshalJSON(b []byte) error { - type Properties PublicKey - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PublicKey(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey_publickeyconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey_publickeyconfig.go deleted file mode 100644 index 3538a7e05b..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-publickey_publickeyconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PublicKey_PublicKeyConfig AWS CloudFormation Resource (AWS::CloudFront::PublicKey.PublicKeyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-publickey-publickeyconfig.html -type PublicKey_PublicKeyConfig struct { - - // CallerReference AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-publickey-publickeyconfig.html#cfn-cloudfront-publickey-publickeyconfig-callerreference - CallerReference *types.Value `json:"CallerReference,omitempty"` - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-publickey-publickeyconfig.html#cfn-cloudfront-publickey-publickeyconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // EncodedKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-publickey-publickeyconfig.html#cfn-cloudfront-publickey-publickeyconfig-encodedkey - EncodedKey *types.Value `json:"EncodedKey,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-publickey-publickeyconfig.html#cfn-cloudfront-publickey-publickeyconfig-name - Name *types.Value `json:"Name,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 *PublicKey_PublicKeyConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::PublicKey.PublicKeyConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig.go deleted file mode 100644 index d8192c2c99..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig.go +++ /dev/null @@ -1,123 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RealtimeLogConfig AWS CloudFormation Resource (AWS::CloudFront::RealtimeLogConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html -type RealtimeLogConfig struct { - - // EndPoints AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html#cfn-cloudfront-realtimelogconfig-endpoints - EndPoints []RealtimeLogConfig_EndPoint `json:"EndPoints,omitempty"` - - // Fields AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html#cfn-cloudfront-realtimelogconfig-fields - Fields *types.Value `json:"Fields,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html#cfn-cloudfront-realtimelogconfig-name - Name *types.Value `json:"Name,omitempty"` - - // SamplingRate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html#cfn-cloudfront-realtimelogconfig-samplingrate - SamplingRate *types.Value `json:"SamplingRate"` - - // 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 *RealtimeLogConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::RealtimeLogConfig" -} - -// 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 (r RealtimeLogConfig) MarshalJSON() ([]byte, error) { - type Properties RealtimeLogConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RealtimeLogConfig) UnmarshalJSON(b []byte) error { - type Properties RealtimeLogConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RealtimeLogConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_endpoint.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_endpoint.go deleted file mode 100644 index 4a5d3563b3..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_endpoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RealtimeLogConfig_EndPoint AWS CloudFormation Resource (AWS::CloudFront::RealtimeLogConfig.EndPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-endpoint.html -type RealtimeLogConfig_EndPoint struct { - - // KinesisStreamConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-endpoint.html#cfn-cloudfront-realtimelogconfig-endpoint-kinesisstreamconfig - KinesisStreamConfig *RealtimeLogConfig_KinesisStreamConfig `json:"KinesisStreamConfig,omitempty"` - - // StreamType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-endpoint.html#cfn-cloudfront-realtimelogconfig-endpoint-streamtype - StreamType *types.Value `json:"StreamType,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 *RealtimeLogConfig_EndPoint) AWSCloudFormationType() string { - return "AWS::CloudFront::RealtimeLogConfig.EndPoint" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_kinesisstreamconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_kinesisstreamconfig.go deleted file mode 100644 index 0ea0590335..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-realtimelogconfig_kinesisstreamconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RealtimeLogConfig_KinesisStreamConfig AWS CloudFormation Resource (AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-kinesisstreamconfig.html -type RealtimeLogConfig_KinesisStreamConfig struct { - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-kinesisstreamconfig.html#cfn-cloudfront-realtimelogconfig-kinesisstreamconfig-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StreamArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-kinesisstreamconfig.html#cfn-cloudfront-realtimelogconfig-kinesisstreamconfig-streamarn - StreamArn *types.Value `json:"StreamArn,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 *RealtimeLogConfig_KinesisStreamConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy.go deleted file mode 100644 index a90e3b2b6c..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy.go +++ /dev/null @@ -1,106 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html -type ResponseHeadersPolicy struct { - - // ResponseHeadersPolicyConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig - ResponseHeadersPolicyConfig *ResponseHeadersPolicy_ResponseHeadersPolicyConfig `json:"ResponseHeadersPolicyConfig,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 *ResponseHeadersPolicy) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy" -} - -// 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 (r ResponseHeadersPolicy) MarshalJSON() ([]byte, error) { - type Properties ResponseHeadersPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResponseHeadersPolicy) UnmarshalJSON(b []byte) error { - type Properties ResponseHeadersPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResponseHeadersPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowheaders.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowheaders.go deleted file mode 100644 index 3fed6269bb..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowheaders.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_AccessControlAllowHeaders AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowheaders.html -type ResponseHeadersPolicy_AccessControlAllowHeaders struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowheaders.html#cfn-cloudfront-responseheaderspolicy-accesscontrolallowheaders-items - Items *types.Value `json:"Items,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 *ResponseHeadersPolicy_AccessControlAllowHeaders) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowmethods.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowmethods.go deleted file mode 100644 index 653668eebb..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolallowmethods.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_AccessControlAllowMethods AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html -type ResponseHeadersPolicy_AccessControlAllowMethods struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html#cfn-cloudfront-responseheaderspolicy-accesscontrolallowmethods-items - Items *types.Value `json:"Items,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 *ResponseHeadersPolicy_AccessControlAllowMethods) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolalloworigins.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolalloworigins.go deleted file mode 100644 index 0c5366db82..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolalloworigins.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_AccessControlAllowOrigins AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolalloworigins.html -type ResponseHeadersPolicy_AccessControlAllowOrigins struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolalloworigins.html#cfn-cloudfront-responseheaderspolicy-accesscontrolalloworigins-items - Items *types.Value `json:"Items,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 *ResponseHeadersPolicy_AccessControlAllowOrigins) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolexposeheaders.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolexposeheaders.go deleted file mode 100644 index 670f83244b..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_accesscontrolexposeheaders.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_AccessControlExposeHeaders AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolexposeheaders.html -type ResponseHeadersPolicy_AccessControlExposeHeaders struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolexposeheaders.html#cfn-cloudfront-responseheaderspolicy-accesscontrolexposeheaders-items - Items *types.Value `json:"Items,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 *ResponseHeadersPolicy_AccessControlExposeHeaders) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contentsecuritypolicy.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contentsecuritypolicy.go deleted file mode 100644 index 6826e402ab..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contentsecuritypolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_ContentSecurityPolicy AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contentsecuritypolicy.html -type ResponseHeadersPolicy_ContentSecurityPolicy struct { - - // ContentSecurityPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contentsecuritypolicy.html#cfn-cloudfront-responseheaderspolicy-contentsecuritypolicy-contentsecuritypolicy - ContentSecurityPolicy *types.Value `json:"ContentSecurityPolicy,omitempty"` - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contentsecuritypolicy.html#cfn-cloudfront-responseheaderspolicy-contentsecuritypolicy-override - Override *types.Value `json:"Override"` - - // 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 *ResponseHeadersPolicy_ContentSecurityPolicy) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_corsconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_corsconfig.go deleted file mode 100644 index 1d2d6bbb7e..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_corsconfig.go +++ /dev/null @@ -1,67 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_CorsConfig AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.CorsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html -type ResponseHeadersPolicy_CorsConfig struct { - - // AccessControlAllowCredentials AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolallowcredentials - AccessControlAllowCredentials *types.Value `json:"AccessControlAllowCredentials"` - - // AccessControlAllowHeaders AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolallowheaders - AccessControlAllowHeaders *ResponseHeadersPolicy_AccessControlAllowHeaders `json:"AccessControlAllowHeaders,omitempty"` - - // AccessControlAllowMethods AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolallowmethods - AccessControlAllowMethods *ResponseHeadersPolicy_AccessControlAllowMethods `json:"AccessControlAllowMethods,omitempty"` - - // AccessControlAllowOrigins AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolalloworigins - AccessControlAllowOrigins *ResponseHeadersPolicy_AccessControlAllowOrigins `json:"AccessControlAllowOrigins,omitempty"` - - // AccessControlExposeHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolexposeheaders - AccessControlExposeHeaders *ResponseHeadersPolicy_AccessControlExposeHeaders `json:"AccessControlExposeHeaders,omitempty"` - - // AccessControlMaxAgeSec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-accesscontrolmaxagesec - AccessControlMaxAgeSec *types.Value `json:"AccessControlMaxAgeSec,omitempty"` - - // OriginOverride AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html#cfn-cloudfront-responseheaderspolicy-corsconfig-originoverride - OriginOverride *types.Value `json:"OriginOverride"` - - // 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 *ResponseHeadersPolicy_CorsConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.CorsConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheader.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheader.go deleted file mode 100644 index 0fa2704422..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheader.go +++ /dev/null @@ -1,47 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_CustomHeader AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.CustomHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html -type ResponseHeadersPolicy_CustomHeader struct { - - // Header AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-header - Header *types.Value `json:"Header,omitempty"` - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-override - Override *types.Value `json:"Override"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html#cfn-cloudfront-responseheaderspolicy-customheader-value - Value *types.Value `json:"Value,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 *ResponseHeadersPolicy_CustomHeader) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.CustomHeader" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheadersconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheadersconfig.go deleted file mode 100644 index 81275c9646..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_customheadersconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_CustomHeadersConfig AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.html -type ResponseHeadersPolicy_CustomHeadersConfig struct { - - // Items AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.html#cfn-cloudfront-responseheaderspolicy-customheadersconfig-items - Items []ResponseHeadersPolicy_CustomHeader `json:"Items,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 *ResponseHeadersPolicy_CustomHeadersConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_frameoptions.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_frameoptions.go deleted file mode 100644 index a5cef66c0c..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_frameoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_FrameOptions AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.FrameOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.html -type ResponseHeadersPolicy_FrameOptions struct { - - // FrameOption AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.html#cfn-cloudfront-responseheaderspolicy-frameoptions-frameoption - FrameOption *types.Value `json:"FrameOption,omitempty"` - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.html#cfn-cloudfront-responseheaderspolicy-frameoptions-override - Override *types.Value `json:"Override"` - - // 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 *ResponseHeadersPolicy_FrameOptions) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.FrameOptions" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_referrerpolicy.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_referrerpolicy.go deleted file mode 100644 index 2972081936..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_referrerpolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_ReferrerPolicy AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html -type ResponseHeadersPolicy_ReferrerPolicy struct { - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html#cfn-cloudfront-responseheaderspolicy-referrerpolicy-override - Override *types.Value `json:"Override"` - - // ReferrerPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html#cfn-cloudfront-responseheaderspolicy-referrerpolicy-referrerpolicy - ReferrerPolicy *types.Value `json:"ReferrerPolicy,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 *ResponseHeadersPolicy_ReferrerPolicy) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_responseheaderspolicyconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_responseheaderspolicyconfig.go deleted file mode 100644 index 36d32cd3c4..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_responseheaderspolicyconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_ResponseHeadersPolicyConfig AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html -type ResponseHeadersPolicy_ResponseHeadersPolicyConfig struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // CorsConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig-corsconfig - CorsConfig *ResponseHeadersPolicy_CorsConfig `json:"CorsConfig,omitempty"` - - // CustomHeadersConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig-customheadersconfig - CustomHeadersConfig *ResponseHeadersPolicy_CustomHeadersConfig `json:"CustomHeadersConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig-name - Name *types.Value `json:"Name,omitempty"` - - // SecurityHeadersConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html#cfn-cloudfront-responseheaderspolicy-responseheaderspolicyconfig-securityheadersconfig - SecurityHeadersConfig *ResponseHeadersPolicy_SecurityHeadersConfig `json:"SecurityHeadersConfig,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 *ResponseHeadersPolicy_ResponseHeadersPolicyConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_securityheadersconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_securityheadersconfig.go deleted file mode 100644 index 6abefba5bb..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_securityheadersconfig.go +++ /dev/null @@ -1,60 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_SecurityHeadersConfig AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html -type ResponseHeadersPolicy_SecurityHeadersConfig struct { - - // ContentSecurityPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-contentsecuritypolicy - ContentSecurityPolicy *ResponseHeadersPolicy_ContentSecurityPolicy `json:"ContentSecurityPolicy,omitempty"` - - // ContentTypeOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-contenttypeoptions - ContentTypeOptions *ResponseHeadersPolicy_ContentTypeOptions `json:"ContentTypeOptions,omitempty"` - - // FrameOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-frameoptions - FrameOptions *ResponseHeadersPolicy_FrameOptions `json:"FrameOptions,omitempty"` - - // ReferrerPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-referrerpolicy - ReferrerPolicy *ResponseHeadersPolicy_ReferrerPolicy `json:"ReferrerPolicy,omitempty"` - - // StrictTransportSecurity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-stricttransportsecurity - StrictTransportSecurity *ResponseHeadersPolicy_StrictTransportSecurity `json:"StrictTransportSecurity,omitempty"` - - // XSSProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html#cfn-cloudfront-responseheaderspolicy-securityheadersconfig-xssprotection - XSSProtection *ResponseHeadersPolicy_XSSProtection `json:"XSSProtection,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 *ResponseHeadersPolicy_SecurityHeadersConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_stricttransportsecurity.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_stricttransportsecurity.go deleted file mode 100644 index 9ac3838017..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_stricttransportsecurity.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_StrictTransportSecurity AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html -type ResponseHeadersPolicy_StrictTransportSecurity struct { - - // AccessControlMaxAgeSec AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html#cfn-cloudfront-responseheaderspolicy-stricttransportsecurity-accesscontrolmaxagesec - AccessControlMaxAgeSec *types.Value `json:"AccessControlMaxAgeSec"` - - // IncludeSubdomains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html#cfn-cloudfront-responseheaderspolicy-stricttransportsecurity-includesubdomains - IncludeSubdomains *types.Value `json:"IncludeSubdomains,omitempty"` - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html#cfn-cloudfront-responseheaderspolicy-stricttransportsecurity-override - Override *types.Value `json:"Override"` - - // Preload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html#cfn-cloudfront-responseheaderspolicy-stricttransportsecurity-preload - Preload *types.Value `json:"Preload,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 *ResponseHeadersPolicy_StrictTransportSecurity) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_xssprotection.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_xssprotection.go deleted file mode 100644 index d54a454183..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_xssprotection.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponseHeadersPolicy_XSSProtection AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.XSSProtection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html -type ResponseHeadersPolicy_XSSProtection struct { - - // ModeBlock AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html#cfn-cloudfront-responseheaderspolicy-xssprotection-modeblock - ModeBlock *types.Value `json:"ModeBlock,omitempty"` - - // Override AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html#cfn-cloudfront-responseheaderspolicy-xssprotection-override - Override *types.Value `json:"Override"` - - // Protection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html#cfn-cloudfront-responseheaderspolicy-xssprotection-protection - Protection *types.Value `json:"Protection"` - - // ReportUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html#cfn-cloudfront-responseheaderspolicy-xssprotection-reporturi - ReportUri *types.Value `json:"ReportUri,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 *ResponseHeadersPolicy_XSSProtection) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.XSSProtection" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution.go deleted file mode 100644 index 2d5014264f..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution.go +++ /dev/null @@ -1,112 +0,0 @@ -package cloudfront - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingDistribution AWS CloudFormation Resource (AWS::CloudFront::StreamingDistribution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html -type StreamingDistribution struct { - - // StreamingDistributionConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig - StreamingDistributionConfig *StreamingDistribution_StreamingDistributionConfig `json:"StreamingDistributionConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html#cfn-cloudfront-streamingdistribution-tags - Tags []cloudformation.Tag `json:"Tags,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 *StreamingDistribution) AWSCloudFormationType() string { - return "AWS::CloudFront::StreamingDistribution" -} - -// 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 (r StreamingDistribution) MarshalJSON() ([]byte, error) { - type Properties StreamingDistribution - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StreamingDistribution) UnmarshalJSON(b []byte) error { - type Properties StreamingDistribution - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StreamingDistribution(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_logging.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_logging.go deleted file mode 100644 index 6a5aa94c43..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_logging.go +++ /dev/null @@ -1,47 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingDistribution_Logging AWS CloudFormation Resource (AWS::CloudFront::StreamingDistribution.Logging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-logging.html -type StreamingDistribution_Logging struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-logging.html#cfn-cloudfront-streamingdistribution-logging-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-logging.html#cfn-cloudfront-streamingdistribution-logging-enabled - Enabled *types.Value `json:"Enabled"` - - // Prefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-logging.html#cfn-cloudfront-streamingdistribution-logging-prefix - Prefix *types.Value `json:"Prefix,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 *StreamingDistribution_Logging) AWSCloudFormationType() string { - return "AWS::CloudFront::StreamingDistribution.Logging" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_s3origin.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_s3origin.go deleted file mode 100644 index 032df483eb..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_s3origin.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingDistribution_S3Origin AWS CloudFormation Resource (AWS::CloudFront::StreamingDistribution.S3Origin) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html -type StreamingDistribution_S3Origin struct { - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html#cfn-cloudfront-streamingdistribution-s3origin-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // OriginAccessIdentity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-s3origin.html#cfn-cloudfront-streamingdistribution-s3origin-originaccessidentity - OriginAccessIdentity *types.Value `json:"OriginAccessIdentity,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 *StreamingDistribution_S3Origin) AWSCloudFormationType() string { - return "AWS::CloudFront::StreamingDistribution.S3Origin" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_streamingdistributionconfig.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_streamingdistributionconfig.go deleted file mode 100644 index b8a8faac65..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_streamingdistributionconfig.go +++ /dev/null @@ -1,67 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingDistribution_StreamingDistributionConfig AWS CloudFormation Resource (AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html -type StreamingDistribution_StreamingDistributionConfig struct { - - // Aliases AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-aliases - Aliases *types.Value `json:"Aliases,omitempty"` - - // Comment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-comment - Comment *types.Value `json:"Comment,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-enabled - Enabled *types.Value `json:"Enabled"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-logging - Logging *StreamingDistribution_Logging `json:"Logging,omitempty"` - - // PriceClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-priceclass - PriceClass *types.Value `json:"PriceClass,omitempty"` - - // S3Origin AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-s3origin - S3Origin *StreamingDistribution_S3Origin `json:"S3Origin,omitempty"` - - // TrustedSigners AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-streamingdistributionconfig.html#cfn-cloudfront-streamingdistribution-streamingdistributionconfig-trustedsigners - TrustedSigners *StreamingDistribution_TrustedSigners `json:"TrustedSigners,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 *StreamingDistribution_StreamingDistributionConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig" -} diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_trustedsigners.go b/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_trustedsigners.go deleted file mode 100644 index ba706fc03a..0000000000 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-streamingdistribution_trustedsigners.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudfront - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingDistribution_TrustedSigners AWS CloudFormation Resource (AWS::CloudFront::StreamingDistribution.TrustedSigners) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-trustedsigners.html -type StreamingDistribution_TrustedSigners struct { - - // AwsAccountNumbers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-trustedsigners.html#cfn-cloudfront-streamingdistribution-trustedsigners-awsaccountnumbers - AwsAccountNumbers *types.Value `json:"AwsAccountNumbers,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-streamingdistribution-trustedsigners.html#cfn-cloudfront-streamingdistribution-trustedsigners-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *StreamingDistribution_TrustedSigners) AWSCloudFormationType() string { - return "AWS::CloudFront::StreamingDistribution.TrustedSigners" -} diff --git a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail.go b/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail.go deleted file mode 100644 index 304ae3a1c4..0000000000 --- a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail.go +++ /dev/null @@ -1,179 +0,0 @@ -package cloudtrail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trail AWS CloudFormation Resource (AWS::CloudTrail::Trail) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html -type Trail struct { - - // CloudWatchLogsLogGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-cloudwatchlogsloggrouparn - CloudWatchLogsLogGroupArn *types.Value `json:"CloudWatchLogsLogGroupArn,omitempty"` - - // CloudWatchLogsRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-cloudwatchlogsrolearn - CloudWatchLogsRoleArn *types.Value `json:"CloudWatchLogsRoleArn,omitempty"` - - // EnableLogFileValidation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-enablelogfilevalidation - EnableLogFileValidation *types.Value `json:"EnableLogFileValidation,omitempty"` - - // EventSelectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-eventselectors - EventSelectors []Trail_EventSelector `json:"EventSelectors,omitempty"` - - // IncludeGlobalServiceEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-includeglobalserviceevents - IncludeGlobalServiceEvents *types.Value `json:"IncludeGlobalServiceEvents,omitempty"` - - // InsightSelectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-insightselectors - InsightSelectors []Trail_InsightSelector `json:"InsightSelectors,omitempty"` - - // IsLogging AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-islogging - IsLogging *types.Value `json:"IsLogging"` - - // IsMultiRegionTrail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-ismultiregiontrail - IsMultiRegionTrail *types.Value `json:"IsMultiRegionTrail,omitempty"` - - // IsOrganizationTrail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-isorganizationtrail - IsOrganizationTrail *types.Value `json:"IsOrganizationTrail,omitempty"` - - // KMSKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-kmskeyid - KMSKeyId *types.Value `json:"KMSKeyId,omitempty"` - - // S3BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-s3bucketname - S3BucketName *types.Value `json:"S3BucketName,omitempty"` - - // S3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-s3keyprefix - S3KeyPrefix *types.Value `json:"S3KeyPrefix,omitempty"` - - // SnsTopicName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-snstopicname - SnsTopicName *types.Value `json:"SnsTopicName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TrailName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-trailname - TrailName *types.Value `json:"TrailName,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 *Trail) AWSCloudFormationType() string { - return "AWS::CloudTrail::Trail" -} - -// 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 (r Trail) MarshalJSON() ([]byte, error) { - type Properties Trail - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Trail) UnmarshalJSON(b []byte) error { - type Properties Trail - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Trail(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_dataresource.go b/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_dataresource.go deleted file mode 100644 index 54cdacdd7f..0000000000 --- a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_dataresource.go +++ /dev/null @@ -1,42 +0,0 @@ -package cloudtrail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trail_DataResource AWS CloudFormation Resource (AWS::CloudTrail::Trail.DataResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html -type Trail_DataResource struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html#cfn-cloudtrail-trail-dataresource-type - Type *types.Value `json:"Type,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html#cfn-cloudtrail-trail-dataresource-values - Values *types.Value `json:"Values,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 *Trail_DataResource) AWSCloudFormationType() string { - return "AWS::CloudTrail::Trail.DataResource" -} diff --git a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_eventselector.go b/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_eventselector.go deleted file mode 100644 index 5c002f489f..0000000000 --- a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_eventselector.go +++ /dev/null @@ -1,52 +0,0 @@ -package cloudtrail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trail_EventSelector AWS CloudFormation Resource (AWS::CloudTrail::Trail.EventSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html -type Trail_EventSelector struct { - - // DataResources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html#cfn-cloudtrail-trail-eventselector-dataresources - DataResources []Trail_DataResource `json:"DataResources,omitempty"` - - // ExcludeManagementEventSources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html#cfn-cloudtrail-trail-eventselector-excludemanagementeventsources - ExcludeManagementEventSources *types.Value `json:"ExcludeManagementEventSources,omitempty"` - - // IncludeManagementEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html#cfn-cloudtrail-trail-eventselector-includemanagementevents - IncludeManagementEvents *types.Value `json:"IncludeManagementEvents,omitempty"` - - // ReadWriteType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html#cfn-cloudtrail-trail-eventselector-readwritetype - ReadWriteType *types.Value `json:"ReadWriteType,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 *Trail_EventSelector) AWSCloudFormationType() string { - return "AWS::CloudTrail::Trail.EventSelector" -} diff --git a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_insightselector.go b/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_insightselector.go deleted file mode 100644 index 48e8c82f1b..0000000000 --- a/pkg/goformation/cloudformation/cloudtrail/aws-cloudtrail-trail_insightselector.go +++ /dev/null @@ -1,37 +0,0 @@ -package cloudtrail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trail_InsightSelector AWS CloudFormation Resource (AWS::CloudTrail::Trail.InsightSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html -type Trail_InsightSelector struct { - - // InsightType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html#cfn-cloudtrail-trail-insightselector-insighttype - InsightType *types.Value `json:"InsightType,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 *Trail_InsightSelector) AWSCloudFormationType() string { - return "AWS::CloudTrail::Trail.InsightSelector" -} diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm.go index 9f0413b40a..c04d10df81 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm.go @@ -7,116 +7,122 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) // Alarm AWS CloudFormation Resource (AWS::CloudWatch::Alarm) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html type Alarm struct { // ActionsEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-actionsenabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-actionsenabled ActionsEnabled *types.Value `json:"ActionsEnabled,omitempty"` // AlarmActions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmactions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-alarmactions AlarmActions *types.Value `json:"AlarmActions,omitempty"` // AlarmDescription AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmdescription + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-alarmdescription AlarmDescription *types.Value `json:"AlarmDescription,omitempty"` // AlarmName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-alarmname AlarmName *types.Value `json:"AlarmName,omitempty"` // ComparisonOperator AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-comparisonoperator + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-comparisonoperator ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` // DatapointsToAlarm AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm DatapointsToAlarm *types.Value `json:"DatapointsToAlarm,omitempty"` // Dimensions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-dimension + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-dimensions Dimensions []Alarm_Dimension `json:"Dimensions,omitempty"` // EvaluateLowSampleCountPercentile AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluatelowsamplecountpercentile + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-evaluatelowsamplecountpercentile EvaluateLowSampleCountPercentile *types.Value `json:"EvaluateLowSampleCountPercentile,omitempty"` // EvaluationPeriods AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluationperiods + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-evaluationperiods EvaluationPeriods *types.Value `json:"EvaluationPeriods"` // ExtendedStatistic AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-extendedstatistic + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-extendedstatistic ExtendedStatistic *types.Value `json:"ExtendedStatistic,omitempty"` // InsufficientDataActions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-insufficientdataactions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-insufficientdataactions InsufficientDataActions *types.Value `json:"InsufficientDataActions,omitempty"` // MetricName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-metricname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-metricname MetricName *types.Value `json:"MetricName,omitempty"` // Metrics AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarm-metrics + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-metrics Metrics []Alarm_MetricDataQuery `json:"Metrics,omitempty"` // Namespace AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-namespace + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-namespace Namespace *types.Value `json:"Namespace,omitempty"` // OKActions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-okactions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-okactions OKActions *types.Value `json:"OKActions,omitempty"` // Period AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-period + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-period Period *types.Value `json:"Period,omitempty"` // Statistic AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-statistic + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-statistic Statistic *types.Value `json:"Statistic,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // Threshold AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-threshold Threshold *types.Value `json:"Threshold,omitempty"` // ThresholdMetricId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-dynamic-threshold + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-thresholdmetricid ThresholdMetricId *types.Value `json:"ThresholdMetricId,omitempty"` // TreatMissingData AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-treatmissingdata + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-treatmissingdata TreatMissingData *types.Value `json:"TreatMissingData,omitempty"` // Unit AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-unit + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-unit Unit *types.Value `json:"Unit,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm_dimension.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm_dimension.go index 6bc18ef2b4..716d885011 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm_dimension.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-alarm_dimension.go @@ -7,17 +7,17 @@ import ( ) // Alarm_Dimension AWS CloudFormation Resource (AWS::CloudWatch::Alarm.Dimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-dimension.html type Alarm_Dimension struct { // Name AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-dimension.html#cfn-cloudwatch-alarm-dimension-name Name *types.Value `json:"Name,omitempty"` // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-dimension.html#cfn-cloudwatch-alarm-dimension-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go index 216793defe..3f1b46f48f 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go @@ -24,6 +24,11 @@ type AnomalyDetector struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-dimensions Dimensions []AnomalyDetector_Dimension `json:"Dimensions,omitempty"` + // MetricCharacteristics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metriccharacteristics + MetricCharacteristics *AnomalyDetector_MetricCharacteristics `json:"MetricCharacteristics,omitempty"` + // MetricMathAnomalyDetector AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metricmathanomalydetector diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_serversideencryptionconfiguration.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go similarity index 66% rename from pkg/goformation/cloudformation/kendra/aws-kendra-index_serversideencryptionconfiguration.go rename to pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go index 968a189020..50f3615e4d 100644 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_serversideencryptionconfiguration.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go @@ -1,4 +1,4 @@ -package kendra +package cloudwatch import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Index_ServerSideEncryptionConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.ServerSideEncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-serversideencryptionconfiguration.html -type Index_ServerSideEncryptionConfiguration struct { +// AnomalyDetector_MetricCharacteristics AWS CloudFormation Resource (AWS::CloudWatch::AnomalyDetector.MetricCharacteristics) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metriccharacteristics.html +type AnomalyDetector_MetricCharacteristics struct { - // KmsKeyId AWS CloudFormation Property + // PeriodicSpikes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-serversideencryptionconfiguration.html#cfn-kendra-index-serversideencryptionconfiguration-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metriccharacteristics.html#cfn-cloudwatch-anomalydetector-metriccharacteristics-periodicspikes + PeriodicSpikes *types.Value `json:"PeriodicSpikes,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Index_ServerSideEncryptionConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Index_ServerSideEncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.ServerSideEncryptionConfiguration" +func (r *AnomalyDetector_MetricCharacteristics) AWSCloudFormationType() string { + return "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" } diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_singlemetricanomalydetector.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_singlemetricanomalydetector.go index 7359e8da48..521260d675 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_singlemetricanomalydetector.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_singlemetricanomalydetector.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html type AnomalyDetector_SingleMetricAnomalyDetector struct { + // AccountId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-accountid + AccountId *types.Value `json:"AccountId,omitempty"` + // Dimensions AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-dimensions diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go index 7944bfa9a8..f65ed990de 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -19,6 +20,21 @@ type CompositeAlarm struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionsenabled ActionsEnabled *types.Value `json:"ActionsEnabled,omitempty"` + // ActionsSuppressor AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressor + ActionsSuppressor *types.Value `json:"ActionsSuppressor,omitempty"` + + // ActionsSuppressorExtensionPeriod AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorextensionperiod + ActionsSuppressorExtensionPeriod *types.Value `json:"ActionsSuppressorExtensionPeriod,omitempty"` + + // ActionsSuppressorWaitPeriod AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorwaitperiod + ActionsSuppressorWaitPeriod *types.Value `json:"ActionsSuppressorWaitPeriod,omitempty"` + // AlarmActions AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmactions @@ -30,7 +46,7 @@ type CompositeAlarm struct { AlarmDescription *types.Value `json:"AlarmDescription,omitempty"` // AlarmName AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmname AlarmName *types.Value `json:"AlarmName,omitempty"` @@ -49,6 +65,11 @@ type CompositeAlarm struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-okactions OKActions *types.Value `json:"OKActions,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream.go index 313493a508..09ce540bc0 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream.go @@ -30,6 +30,11 @@ type MetricStream struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includefilters IncludeFilters []MetricStream_MetricStreamFilter `json:"IncludeFilters,omitempty"` + // IncludeLinkedAccountsMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includelinkedaccountsmetrics + IncludeLinkedAccountsMetrics *types.Value `json:"IncludeLinkedAccountsMetrics,omitempty"` + // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-name @@ -45,6 +50,11 @@ type MetricStream struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-rolearn RoleArn *types.Value `json:"RoleArn,omitempty"` + // StatisticsConfigurations AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-statisticsconfigurations + StatisticsConfigurations []MetricStream_MetricStreamStatisticsConfiguration `json:"StatisticsConfigurations,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-tags diff --git a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamfilter.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamfilter.go index 4b050205c1..6b2e781761 100644 --- a/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamfilter.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamfilter.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html type MetricStream_MetricStreamFilter struct { + // MetricNames AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html#cfn-cloudwatch-metricstream-metricstreamfilter-metricnames + MetricNames *types.Value `json:"MetricNames,omitempty"` + // Namespace AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html#cfn-cloudwatch-metricstream-metricstreamfilter-namespace diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroups.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsconfiguration.go similarity index 54% rename from pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroups.go rename to pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsconfiguration.go index 021c65326f..27f30884aa 100644 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_origingroups.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsconfiguration.go @@ -1,4 +1,4 @@ -package cloudfront +package cloudwatch import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Distribution_OriginGroups AWS CloudFormation Resource (AWS::CloudFront::Distribution.OriginGroups) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroups.html -type Distribution_OriginGroups struct { +// MetricStream_MetricStreamStatisticsConfiguration AWS CloudFormation Resource (AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html +type MetricStream_MetricStreamStatisticsConfiguration struct { - // Items AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroups.html#cfn-cloudfront-distribution-origingroups-items - Items []Distribution_OriginGroup `json:"Items,omitempty"` + // AdditionalStatistics AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html#cfn-cloudwatch-metricstream-metricstreamstatisticsconfiguration-additionalstatistics + AdditionalStatistics *types.Value `json:"AdditionalStatistics,omitempty"` - // Quantity AWS CloudFormation Property + // IncludeMetrics AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroups.html#cfn-cloudfront-distribution-origingroups-quantity - Quantity *types.Value `json:"Quantity"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html#cfn-cloudwatch-metricstream-metricstreamstatisticsconfiguration-includemetrics + IncludeMetrics []MetricStream_MetricStreamStatisticsMetric `json:"IncludeMetrics,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Distribution_OriginGroups struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Distribution_OriginGroups) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.OriginGroups" +func (r *MetricStream_MetricStreamStatisticsConfiguration) AWSCloudFormationType() string { + return "AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration" } diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacys3origin.go b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsmetric.go similarity index 59% rename from pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacys3origin.go rename to pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsmetric.go index 4aaae25309..761af477c6 100644 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-distribution_legacys3origin.go +++ b/pkg/goformation/cloudformation/cloudwatch/aws-cloudwatch-metricstream_metricstreamstatisticsmetric.go @@ -1,4 +1,4 @@ -package cloudfront +package cloudwatch import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Distribution_LegacyS3Origin AWS CloudFormation Resource (AWS::CloudFront::Distribution.LegacyS3Origin) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html -type Distribution_LegacyS3Origin struct { +// MetricStream_MetricStreamStatisticsMetric AWS CloudFormation Resource (AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html +type MetricStream_MetricStreamStatisticsMetric struct { - // DNSName AWS CloudFormation Property + // MetricName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-dnsname - DNSName *types.Value `json:"DNSName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html#cfn-cloudwatch-metricstream-metricstreamstatisticsmetric-metricname + MetricName *types.Value `json:"MetricName,omitempty"` - // OriginAccessIdentity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacys3origin.html#cfn-cloudfront-distribution-legacys3origin-originaccessidentity - OriginAccessIdentity *types.Value `json:"OriginAccessIdentity,omitempty"` + // Namespace AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html#cfn-cloudwatch-metricstream-metricstreamstatisticsmetric-namespace + Namespace *types.Value `json:"Namespace,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Distribution_LegacyS3Origin struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Distribution_LegacyS3Origin) AWSCloudFormationType() string { - return "AWS::CloudFront::Distribution.LegacyS3Origin" +func (r *MetricStream_MetricStreamStatisticsMetric) AWSCloudFormationType() string { + return "AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric" } diff --git a/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-domain.go b/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-domain.go deleted file mode 100644 index 9679c25bb9..0000000000 --- a/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-domain.go +++ /dev/null @@ -1,124 +0,0 @@ -package codeartifact - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::CodeArtifact::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html -type Domain struct { - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // EncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-encryptionkey - EncryptionKey *types.Value `json:"EncryptionKey,omitempty"` - - // PermissionsPolicyDocument AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-permissionspolicydocument - PermissionsPolicyDocument interface{} `json:"PermissionsPolicyDocument,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-tags - Tags []cloudformation.Tag `json:"Tags,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 *Domain) AWSCloudFormationType() string { - return "AWS::CodeArtifact::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-repository.go b/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-repository.go deleted file mode 100644 index f884552773..0000000000 --- a/pkg/goformation/cloudformation/codeartifact/aws-codeartifact-repository.go +++ /dev/null @@ -1,144 +0,0 @@ -package codeartifact - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Repository AWS CloudFormation Resource (AWS::CodeArtifact::Repository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html -type Repository struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-description - Description *types.Value `json:"Description,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // DomainOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-domainowner - DomainOwner *types.Value `json:"DomainOwner,omitempty"` - - // ExternalConnections AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-externalconnections - ExternalConnections *types.Value `json:"ExternalConnections,omitempty"` - - // PermissionsPolicyDocument AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-permissionspolicydocument - PermissionsPolicyDocument interface{} `json:"PermissionsPolicyDocument,omitempty"` - - // RepositoryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-repositoryname - RepositoryName *types.Value `json:"RepositoryName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Upstreams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-upstreams - Upstreams *types.Value `json:"Upstreams,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 *Repository) AWSCloudFormationType() string { - return "AWS::CodeArtifact::Repository" -} - -// 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 (r Repository) MarshalJSON() ([]byte, error) { - type Properties Repository - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Repository) UnmarshalJSON(b []byte) error { - type Properties Repository - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Repository(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project.go deleted file mode 100644 index ed25f4e259..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project.go +++ /dev/null @@ -1,224 +0,0 @@ -package codebuild - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::CodeBuild::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html -type Project struct { - - // Artifacts AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-artifacts - Artifacts *Project_Artifacts `json:"Artifacts,omitempty"` - - // BadgeEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-badgeenabled - BadgeEnabled *types.Value `json:"BadgeEnabled,omitempty"` - - // BuildBatchConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-buildbatchconfig - BuildBatchConfig *Project_ProjectBuildBatchConfig `json:"BuildBatchConfig,omitempty"` - - // Cache AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-cache - Cache *Project_ProjectCache `json:"Cache,omitempty"` - - // ConcurrentBuildLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-concurrentbuildlimit - ConcurrentBuildLimit *types.Value `json:"ConcurrentBuildLimit,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-description - Description *types.Value `json:"Description,omitempty"` - - // EncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-encryptionkey - EncryptionKey *types.Value `json:"EncryptionKey,omitempty"` - - // Environment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-environment - Environment *Project_Environment `json:"Environment,omitempty"` - - // FileSystemLocations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-filesystemlocations - FileSystemLocations []Project_ProjectFileSystemLocation `json:"FileSystemLocations,omitempty"` - - // LogsConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-logsconfig - LogsConfig *Project_LogsConfig `json:"LogsConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-name - Name *types.Value `json:"Name,omitempty"` - - // QueuedTimeoutInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-queuedtimeoutinminutes - QueuedTimeoutInMinutes *types.Value `json:"QueuedTimeoutInMinutes,omitempty"` - - // ResourceAccessRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-resourceaccessrole - ResourceAccessRole *types.Value `json:"ResourceAccessRole,omitempty"` - - // SecondaryArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondaryartifacts - SecondaryArtifacts []Project_Artifacts `json:"SecondaryArtifacts,omitempty"` - - // SecondarySourceVersions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysourceversions - SecondarySourceVersions []Project_ProjectSourceVersion `json:"SecondarySourceVersions,omitempty"` - - // SecondarySources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-secondarysources - SecondarySources []Project_Source `json:"SecondarySources,omitempty"` - - // ServiceRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-source - Source *Project_Source `json:"Source,omitempty"` - - // SourceVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-sourceversion - SourceVersion *types.Value `json:"SourceVersion,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TimeoutInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-timeoutinminutes - TimeoutInMinutes *types.Value `json:"TimeoutInMinutes,omitempty"` - - // Triggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-triggers - Triggers *Project_ProjectTriggers `json:"Triggers,omitempty"` - - // Visibility AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-visibility - Visibility *types.Value `json:"Visibility,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html#cfn-codebuild-project-vpcconfig - VpcConfig *Project_VpcConfig `json:"VpcConfig,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 *Project) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_artifacts.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_artifacts.go deleted file mode 100644 index 66c10c6511..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_artifacts.go +++ /dev/null @@ -1,77 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_Artifacts AWS CloudFormation Resource (AWS::CodeBuild::Project.Artifacts) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html -type Project_Artifacts struct { - - // ArtifactIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-artifactidentifier - ArtifactIdentifier *types.Value `json:"ArtifactIdentifier,omitempty"` - - // EncryptionDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-encryptiondisabled - EncryptionDisabled *types.Value `json:"EncryptionDisabled,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-location - Location *types.Value `json:"Location,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-name - Name *types.Value `json:"Name,omitempty"` - - // NamespaceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-namespacetype - NamespaceType *types.Value `json:"NamespaceType,omitempty"` - - // OverrideArtifactName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-overrideartifactname - OverrideArtifactName *types.Value `json:"OverrideArtifactName,omitempty"` - - // Packaging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-packaging - Packaging *types.Value `json:"Packaging,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-path - Path *types.Value `json:"Path,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html#cfn-codebuild-project-artifacts-type - Type *types.Value `json:"Type,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 *Project_Artifacts) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.Artifacts" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_batchrestrictions.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_batchrestrictions.go deleted file mode 100644 index 832db11108..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_batchrestrictions.go +++ /dev/null @@ -1,42 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_BatchRestrictions AWS CloudFormation Resource (AWS::CodeBuild::Project.BatchRestrictions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html -type Project_BatchRestrictions struct { - - // ComputeTypesAllowed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html#cfn-codebuild-project-batchrestrictions-computetypesallowed - ComputeTypesAllowed *types.Value `json:"ComputeTypesAllowed,omitempty"` - - // MaximumBuildsAllowed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-batchrestrictions.html#cfn-codebuild-project-batchrestrictions-maximumbuildsallowed - MaximumBuildsAllowed *types.Value `json:"MaximumBuildsAllowed,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 *Project_BatchRestrictions) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.BatchRestrictions" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_buildstatusconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_buildstatusconfig.go deleted file mode 100644 index a0cc4f1f6b..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_buildstatusconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_BuildStatusConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.BuildStatusConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html -type Project_BuildStatusConfig struct { - - // Context AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html#cfn-codebuild-project-buildstatusconfig-context - Context *types.Value `json:"Context,omitempty"` - - // TargetUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-buildstatusconfig.html#cfn-codebuild-project-buildstatusconfig-targeturl - TargetUrl *types.Value `json:"TargetUrl,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 *Project_BuildStatusConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.BuildStatusConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_cloudwatchlogsconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_cloudwatchlogsconfig.go deleted file mode 100644 index a71742a787..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_cloudwatchlogsconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_CloudWatchLogsConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.CloudWatchLogsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html -type Project_CloudWatchLogsConfig struct { - - // GroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname - GroupName *types.Value `json:"GroupName,omitempty"` - - // Status AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status - Status *types.Value `json:"Status,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname - StreamName *types.Value `json:"StreamName,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 *Project_CloudWatchLogsConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.CloudWatchLogsConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environment.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environment.go deleted file mode 100644 index 5140b5a5c6..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environment.go +++ /dev/null @@ -1,72 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_Environment AWS CloudFormation Resource (AWS::CodeBuild::Project.Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html -type Project_Environment struct { - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // ComputeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-computetype - ComputeType *types.Value `json:"ComputeType,omitempty"` - - // EnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-environmentvariables - EnvironmentVariables []Project_EnvironmentVariable `json:"EnvironmentVariables,omitempty"` - - // Image AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-image - Image *types.Value `json:"Image,omitempty"` - - // ImagePullCredentialsType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-imagepullcredentialstype - ImagePullCredentialsType *types.Value `json:"ImagePullCredentialsType,omitempty"` - - // PrivilegedMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-privilegedmode - PrivilegedMode *types.Value `json:"PrivilegedMode,omitempty"` - - // RegistryCredential AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-registrycredential - RegistryCredential *Project_RegistryCredential `json:"RegistryCredential,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-type - Type *types.Value `json:"Type,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 *Project_Environment) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.Environment" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environmentvariable.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environmentvariable.go deleted file mode 100644 index 7065431e95..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_environmentvariable.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_EnvironmentVariable AWS CloudFormation Resource (AWS::CodeBuild::Project.EnvironmentVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html -type Project_EnvironmentVariable struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environmentvariable.html#cfn-codebuild-project-environmentvariable-value - Value *types.Value `json:"Value,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 *Project_EnvironmentVariable) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.EnvironmentVariable" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_filtergroup.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_filtergroup.go deleted file mode 100644 index 4d2ad2565c..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_filtergroup.go +++ /dev/null @@ -1,30 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_FilterGroup AWS CloudFormation Resource (AWS::CodeBuild::Project.FilterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-filtergroup.html -type Project_FilterGroup struct { - - // 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 *Project_FilterGroup) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.FilterGroup" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_gitsubmodulesconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_gitsubmodulesconfig.go deleted file mode 100644 index 0c1693f4fe..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_gitsubmodulesconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_GitSubmodulesConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.GitSubmodulesConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-gitsubmodulesconfig.html -type Project_GitSubmodulesConfig struct { - - // FetchSubmodules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-gitsubmodulesconfig.html#cfn-codebuild-project-gitsubmodulesconfig-fetchsubmodules - FetchSubmodules *types.Value `json:"FetchSubmodules"` - - // 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 *Project_GitSubmodulesConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.GitSubmodulesConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_logsconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_logsconfig.go deleted file mode 100644 index 6a42fc5bb7..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_logsconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_LogsConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.LogsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html -type Project_LogsConfig struct { - - // CloudWatchLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-cloudwatchlogs - CloudWatchLogs *Project_CloudWatchLogsConfig `json:"CloudWatchLogs,omitempty"` - - // S3Logs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html#cfn-codebuild-project-logsconfig-s3logs - S3Logs *Project_S3LogsConfig `json:"S3Logs,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 *Project_LogsConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.LogsConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectbuildbatchconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectbuildbatchconfig.go deleted file mode 100644 index 80751bf465..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectbuildbatchconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_ProjectBuildBatchConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.ProjectBuildBatchConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html -type Project_ProjectBuildBatchConfig struct { - - // BatchReportMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-batchreportmode - BatchReportMode *types.Value `json:"BatchReportMode,omitempty"` - - // CombineArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-combineartifacts - CombineArtifacts *types.Value `json:"CombineArtifacts,omitempty"` - - // Restrictions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-restrictions - Restrictions *Project_BatchRestrictions `json:"Restrictions,omitempty"` - - // ServiceRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // TimeoutInMins AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectbuildbatchconfig.html#cfn-codebuild-project-projectbuildbatchconfig-timeoutinmins - TimeoutInMins *types.Value `json:"TimeoutInMins,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 *Project_ProjectBuildBatchConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.ProjectBuildBatchConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectcache.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectcache.go deleted file mode 100644 index f44d42ce24..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectcache.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_ProjectCache AWS CloudFormation Resource (AWS::CodeBuild::Project.ProjectCache) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html -type Project_ProjectCache struct { - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-location - Location *types.Value `json:"Location,omitempty"` - - // Modes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-modes - Modes *types.Value `json:"Modes,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-type - Type *types.Value `json:"Type,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 *Project_ProjectCache) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.ProjectCache" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectfilesystemlocation.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectfilesystemlocation.go deleted file mode 100644 index 6e7fb1198a..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectfilesystemlocation.go +++ /dev/null @@ -1,57 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_ProjectFileSystemLocation AWS CloudFormation Resource (AWS::CodeBuild::Project.ProjectFileSystemLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html -type Project_ProjectFileSystemLocation struct { - - // Identifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-identifier - Identifier *types.Value `json:"Identifier,omitempty"` - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-location - Location *types.Value `json:"Location,omitempty"` - - // MountOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-mountoptions - MountOptions *types.Value `json:"MountOptions,omitempty"` - - // MountPoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-mountpoint - MountPoint *types.Value `json:"MountPoint,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectfilesystemlocation.html#cfn-codebuild-project-projectfilesystemlocation-type - Type *types.Value `json:"Type,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 *Project_ProjectFileSystemLocation) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.ProjectFileSystemLocation" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projecttriggers.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projecttriggers.go deleted file mode 100644 index 7d79f0fce0..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projecttriggers.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_ProjectTriggers AWS CloudFormation Resource (AWS::CodeBuild::Project.ProjectTriggers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html -type Project_ProjectTriggers struct { - - // BuildType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-buildtype - BuildType *types.Value `json:"BuildType,omitempty"` - - // FilterGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-filtergroups - FilterGroups []Project_FilterGroup `json:"FilterGroups,omitempty"` - - // Webhook AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html#cfn-codebuild-project-projecttriggers-webhook - Webhook *types.Value `json:"Webhook,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 *Project_ProjectTriggers) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.ProjectTriggers" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_registrycredential.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_registrycredential.go deleted file mode 100644 index 955aef9bf2..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_registrycredential.go +++ /dev/null @@ -1,42 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_RegistryCredential AWS CloudFormation Resource (AWS::CodeBuild::Project.RegistryCredential) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html -type Project_RegistryCredential struct { - - // Credential AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html#cfn-codebuild-project-registrycredential-credential - Credential *types.Value `json:"Credential,omitempty"` - - // CredentialProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-registrycredential.html#cfn-codebuild-project-registrycredential-credentialprovider - CredentialProvider *types.Value `json:"CredentialProvider,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 *Project_RegistryCredential) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.RegistryCredential" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_s3logsconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_s3logsconfig.go deleted file mode 100644 index d689925e6b..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_s3logsconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_S3LogsConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.S3LogsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html -type Project_S3LogsConfig struct { - - // EncryptionDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-encryptiondisabled - EncryptionDisabled *types.Value `json:"EncryptionDisabled,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-location - Location *types.Value `json:"Location,omitempty"` - - // Status AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-s3logsconfig.html#cfn-codebuild-project-s3logsconfig-status - Status *types.Value `json:"Status,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 *Project_S3LogsConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.S3LogsConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_source.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_source.go deleted file mode 100644 index 2cef8a2c82..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_source.go +++ /dev/null @@ -1,82 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_Source AWS CloudFormation Resource (AWS::CodeBuild::Project.Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html -type Project_Source struct { - - // Auth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-auth - Auth *Project_SourceAuth `json:"Auth,omitempty"` - - // BuildSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildspec - BuildSpec *types.Value `json:"BuildSpec,omitempty"` - - // BuildStatusConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildstatusconfig - BuildStatusConfig *Project_BuildStatusConfig `json:"BuildStatusConfig,omitempty"` - - // GitCloneDepth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-gitclonedepth - GitCloneDepth *types.Value `json:"GitCloneDepth,omitempty"` - - // GitSubmodulesConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-gitsubmodulesconfig - GitSubmodulesConfig *Project_GitSubmodulesConfig `json:"GitSubmodulesConfig,omitempty"` - - // InsecureSsl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-insecuressl - InsecureSsl *types.Value `json:"InsecureSsl,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-location - Location *types.Value `json:"Location,omitempty"` - - // ReportBuildStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-reportbuildstatus - ReportBuildStatus *types.Value `json:"ReportBuildStatus,omitempty"` - - // SourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-sourceidentifier - SourceIdentifier *types.Value `json:"SourceIdentifier,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-type - Type *types.Value `json:"Type,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 *Project_Source) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.Source" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_vpcconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_vpcconfig.go deleted file mode 100644 index d928013af4..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_vpcconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_VpcConfig AWS CloudFormation Resource (AWS::CodeBuild::Project.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html -type Project_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html#cfn-codebuild-project-vpcconfig-vpcid - VpcId *types.Value `json:"VpcId,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 *Project_VpcConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_webhookfilter.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_webhookfilter.go deleted file mode 100644 index 5bc839b0cc..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_webhookfilter.go +++ /dev/null @@ -1,47 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_WebhookFilter AWS CloudFormation Resource (AWS::CodeBuild::Project.WebhookFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html -type Project_WebhookFilter struct { - - // ExcludeMatchedPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-excludematchedpattern - ExcludeMatchedPattern *types.Value `json:"ExcludeMatchedPattern,omitempty"` - - // Pattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-pattern - Pattern *types.Value `json:"Pattern,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-type - Type *types.Value `json:"Type,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 *Project_WebhookFilter) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.WebhookFilter" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup.go deleted file mode 100644 index 46c44d22d2..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package codebuild - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReportGroup AWS CloudFormation Resource (AWS::CodeBuild::ReportGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html -type ReportGroup struct { - - // DeleteReports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-deletereports - DeleteReports *types.Value `json:"DeleteReports,omitempty"` - - // ExportConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-exportconfig - ExportConfig *ReportGroup_ReportExportConfig `json:"ExportConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-reportgroup.html#cfn-codebuild-reportgroup-type - Type *types.Value `json:"Type,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 *ReportGroup) AWSCloudFormationType() string { - return "AWS::CodeBuild::ReportGroup" -} - -// 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 (r ReportGroup) MarshalJSON() ([]byte, error) { - type Properties ReportGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReportGroup) UnmarshalJSON(b []byte) error { - type Properties ReportGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReportGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_reportexportconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_reportexportconfig.go deleted file mode 100644 index 54d3008f93..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_reportexportconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReportGroup_ReportExportConfig AWS CloudFormation Resource (AWS::CodeBuild::ReportGroup.ReportExportConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html -type ReportGroup_ReportExportConfig struct { - - // ExportConfigType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html#cfn-codebuild-reportgroup-reportexportconfig-exportconfigtype - ExportConfigType *types.Value `json:"ExportConfigType,omitempty"` - - // S3Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-reportexportconfig.html#cfn-codebuild-reportgroup-reportexportconfig-s3destination - S3Destination *ReportGroup_S3ReportExportConfig `json:"S3Destination,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 *ReportGroup_ReportExportConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::ReportGroup.ReportExportConfig" -} diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_s3reportexportconfig.go b/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_s3reportexportconfig.go deleted file mode 100644 index 06f84fdcb4..0000000000 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-reportgroup_s3reportexportconfig.go +++ /dev/null @@ -1,62 +0,0 @@ -package codebuild - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReportGroup_S3ReportExportConfig AWS CloudFormation Resource (AWS::CodeBuild::ReportGroup.S3ReportExportConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html -type ReportGroup_S3ReportExportConfig struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // BucketOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-bucketowner - BucketOwner *types.Value `json:"BucketOwner,omitempty"` - - // EncryptionDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-encryptiondisabled - EncryptionDisabled *types.Value `json:"EncryptionDisabled,omitempty"` - - // EncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-encryptionkey - EncryptionKey *types.Value `json:"EncryptionKey,omitempty"` - - // Packaging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-packaging - Packaging *types.Value `json:"Packaging,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-reportgroup-s3reportexportconfig.html#cfn-codebuild-reportgroup-s3reportexportconfig-path - Path *types.Value `json:"Path,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 *ReportGroup_S3ReportExportConfig) AWSCloudFormationType() string { - return "AWS::CodeBuild::ReportGroup.S3ReportExportConfig" -} diff --git a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository.go b/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository.go deleted file mode 100644 index db8999713d..0000000000 --- a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository.go +++ /dev/null @@ -1,129 +0,0 @@ -package codecommit - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Repository AWS CloudFormation Resource (AWS::CodeCommit::Repository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html -type Repository struct { - - // Code AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-code - Code *Repository_Code `json:"Code,omitempty"` - - // RepositoryDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositorydescription - RepositoryDescription *types.Value `json:"RepositoryDescription,omitempty"` - - // RepositoryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-repositoryname - RepositoryName *types.Value `json:"RepositoryName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Triggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html#cfn-codecommit-repository-triggers - Triggers []Repository_RepositoryTrigger `json:"Triggers,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 *Repository) AWSCloudFormationType() string { - return "AWS::CodeCommit::Repository" -} - -// 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 (r Repository) MarshalJSON() ([]byte, error) { - type Properties Repository - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Repository) UnmarshalJSON(b []byte) error { - type Properties Repository - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Repository(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_code.go b/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_code.go deleted file mode 100644 index b57fdb28c2..0000000000 --- a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_code.go +++ /dev/null @@ -1,42 +0,0 @@ -package codecommit - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Repository_Code AWS CloudFormation Resource (AWS::CodeCommit::Repository.Code) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html -type Repository_Code struct { - - // BranchName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html#cfn-codecommit-repository-code-branchname - BranchName *types.Value `json:"BranchName,omitempty"` - - // S3 AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html#cfn-codecommit-repository-code-s3 - S3 *Repository_S3 `json:"S3,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 *Repository_Code) AWSCloudFormationType() string { - return "AWS::CodeCommit::Repository.Code" -} diff --git a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_repositorytrigger.go b/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_repositorytrigger.go deleted file mode 100644 index 59f80c1930..0000000000 --- a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_repositorytrigger.go +++ /dev/null @@ -1,57 +0,0 @@ -package codecommit - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Repository_RepositoryTrigger AWS CloudFormation Resource (AWS::CodeCommit::Repository.RepositoryTrigger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html -type Repository_RepositoryTrigger struct { - - // Branches AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-branches - Branches *types.Value `json:"Branches,omitempty"` - - // CustomData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-customdata - CustomData *types.Value `json:"CustomData,omitempty"` - - // DestinationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Events AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-events - Events *types.Value `json:"Events,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html#cfn-codecommit-repository-repositorytrigger-name - Name *types.Value `json:"Name,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 *Repository_RepositoryTrigger) AWSCloudFormationType() string { - return "AWS::CodeCommit::Repository.RepositoryTrigger" -} diff --git a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_s3.go b/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_s3.go deleted file mode 100644 index 35d2db73b2..0000000000 --- a/pkg/goformation/cloudformation/codecommit/aws-codecommit-repository_s3.go +++ /dev/null @@ -1,47 +0,0 @@ -package codecommit - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Repository_S3 AWS CloudFormation Resource (AWS::CodeCommit::Repository.S3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html -type Repository_S3 struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-key - Key *types.Value `json:"Key,omitempty"` - - // ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-objectversion - ObjectVersion *types.Value `json:"ObjectVersion,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 *Repository_S3) AWSCloudFormationType() string { - return "AWS::CodeCommit::Repository.S3" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig.go deleted file mode 100644 index 32a39cff07..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig.go +++ /dev/null @@ -1,123 +0,0 @@ -package codedeploy - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentConfig AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html -type DeploymentConfig struct { - - // ComputePlatform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-computeplatform - ComputePlatform *types.Value `json:"ComputePlatform,omitempty"` - - // DeploymentConfigName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-deploymentconfigname - DeploymentConfigName *types.Value `json:"DeploymentConfigName,omitempty"` - - // MinimumHealthyHosts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts - MinimumHealthyHosts *DeploymentConfig_MinimumHealthyHosts `json:"MinimumHealthyHosts,omitempty"` - - // TrafficRoutingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentconfig.html#cfn-codedeploy-deploymentconfig-trafficroutingconfig - TrafficRoutingConfig *DeploymentConfig_TrafficRoutingConfig `json:"TrafficRoutingConfig,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 *DeploymentConfig) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentConfig" -} - -// 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 (r DeploymentConfig) MarshalJSON() ([]byte, error) { - type Properties DeploymentConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeploymentConfig) UnmarshalJSON(b []byte) error { - type Properties DeploymentConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeploymentConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_minimumhealthyhosts.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_minimumhealthyhosts.go deleted file mode 100644 index ee07cdb338..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_minimumhealthyhosts.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentConfig_MinimumHealthyHosts AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html -type DeploymentConfig_MinimumHealthyHosts struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts-value - Value *types.Value `json:"Value"` - - // 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 *DeploymentConfig_MinimumHealthyHosts) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedcanary.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedcanary.go deleted file mode 100644 index f36feb4844..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedcanary.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentConfig_TimeBasedCanary AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html -type DeploymentConfig_TimeBasedCanary struct { - - // CanaryInterval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedcanary-canaryinterval - CanaryInterval *types.Value `json:"CanaryInterval"` - - // CanaryPercentage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedcanary.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedcanary-canarypercentage - CanaryPercentage *types.Value `json:"CanaryPercentage"` - - // 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 *DeploymentConfig_TimeBasedCanary) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedlinear.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedlinear.go deleted file mode 100644 index 0002ab6491..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_timebasedlinear.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentConfig_TimeBasedLinear AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedlinear.html -type DeploymentConfig_TimeBasedLinear struct { - - // LinearInterval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedlinear.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedlinear-linearinterval - LinearInterval *types.Value `json:"LinearInterval"` - - // LinearPercentage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-timebasedlinear.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedlinear-linearpercentage - LinearPercentage *types.Value `json:"LinearPercentage"` - - // 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 *DeploymentConfig_TimeBasedLinear) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_trafficroutingconfig.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_trafficroutingconfig.go deleted file mode 100644 index 9a7aea354a..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentconfig_trafficroutingconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentConfig_TrafficRoutingConfig AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-trafficroutingconfig.html -type DeploymentConfig_TrafficRoutingConfig struct { - - // TimeBasedCanary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-trafficroutingconfig.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedcanary - TimeBasedCanary *DeploymentConfig_TimeBasedCanary `json:"TimeBasedCanary,omitempty"` - - // TimeBasedLinear AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-trafficroutingconfig.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-timebasedlinear - TimeBasedLinear *DeploymentConfig_TimeBasedLinear `json:"TimeBasedLinear,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-trafficroutingconfig.html#cfn-properties-codedeploy-deploymentconfig-trafficroutingconfig-type - Type *types.Value `json:"Type,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 *DeploymentConfig_TrafficRoutingConfig) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup.go deleted file mode 100644 index c473e27dd4..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup.go +++ /dev/null @@ -1,188 +0,0 @@ -package codedeploy - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html -type DeploymentGroup struct { - - // AlarmConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-alarmconfiguration - AlarmConfiguration *DeploymentGroup_AlarmConfiguration `json:"AlarmConfiguration,omitempty"` - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // AutoRollbackConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-autorollbackconfiguration - AutoRollbackConfiguration *DeploymentGroup_AutoRollbackConfiguration `json:"AutoRollbackConfiguration,omitempty"` - - // AutoScalingGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-autoscalinggroups - AutoScalingGroups *types.Value `json:"AutoScalingGroups,omitempty"` - - // BlueGreenDeploymentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration - BlueGreenDeploymentConfiguration *DeploymentGroup_BlueGreenDeploymentConfiguration `json:"BlueGreenDeploymentConfiguration,omitempty"` - - // Deployment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-deployment - Deployment *DeploymentGroup_Deployment `json:"Deployment,omitempty"` - - // DeploymentConfigName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-deploymentconfigname - DeploymentConfigName *types.Value `json:"DeploymentConfigName,omitempty"` - - // DeploymentGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-deploymentgroupname - DeploymentGroupName *types.Value `json:"DeploymentGroupName,omitempty"` - - // DeploymentStyle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-deploymentstyle - DeploymentStyle *DeploymentGroup_DeploymentStyle `json:"DeploymentStyle,omitempty"` - - // ECSServices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-ecsservices - ECSServices []DeploymentGroup_ECSService `json:"ECSServices,omitempty"` - - // Ec2TagFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-ec2tagfilters - Ec2TagFilters []DeploymentGroup_EC2TagFilter `json:"Ec2TagFilters,omitempty"` - - // Ec2TagSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-ec2tagset - Ec2TagSet *DeploymentGroup_EC2TagSet `json:"Ec2TagSet,omitempty"` - - // LoadBalancerInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-loadbalancerinfo - LoadBalancerInfo *DeploymentGroup_LoadBalancerInfo `json:"LoadBalancerInfo,omitempty"` - - // OnPremisesInstanceTagFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-onpremisesinstancetagfilters - OnPremisesInstanceTagFilters []DeploymentGroup_TagFilter `json:"OnPremisesInstanceTagFilters,omitempty"` - - // OnPremisesTagSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-onpremisestagset - OnPremisesTagSet *DeploymentGroup_OnPremisesTagSet `json:"OnPremisesTagSet,omitempty"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // TriggerConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-deploymentgroup.html#cfn-codedeploy-deploymentgroup-triggerconfigurations - TriggerConfigurations []DeploymentGroup_TriggerConfig `json:"TriggerConfigurations,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 *DeploymentGroup) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup" -} - -// 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 (r DeploymentGroup) MarshalJSON() ([]byte, error) { - type Properties DeploymentGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeploymentGroup) UnmarshalJSON(b []byte) error { - type Properties DeploymentGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeploymentGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarm.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarm.go deleted file mode 100644 index 8463325fe3..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarm.go +++ /dev/null @@ -1,37 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_Alarm AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.Alarm) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarm.html -type DeploymentGroup_Alarm struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarm.html#cfn-codedeploy-deploymentgroup-alarm-name - Name *types.Value `json:"Name,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 *DeploymentGroup_Alarm) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.Alarm" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarmconfiguration.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarmconfiguration.go deleted file mode 100644 index 885a321f99..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_alarmconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_AlarmConfiguration AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html -type DeploymentGroup_AlarmConfiguration struct { - - // Alarms AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-alarms - Alarms []DeploymentGroup_Alarm `json:"Alarms,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // IgnorePollAlarmFailure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-alarmconfiguration.html#cfn-codedeploy-deploymentgroup-alarmconfiguration-ignorepollalarmfailure - IgnorePollAlarmFailure *types.Value `json:"IgnorePollAlarmFailure,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 *DeploymentGroup_AlarmConfiguration) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_autorollbackconfiguration.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_autorollbackconfiguration.go deleted file mode 100644 index 5d4c900506..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_autorollbackconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_AutoRollbackConfiguration AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-autorollbackconfiguration.html -type DeploymentGroup_AutoRollbackConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-autorollbackconfiguration.html#cfn-codedeploy-deploymentgroup-autorollbackconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // Events AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-autorollbackconfiguration.html#cfn-codedeploy-deploymentgroup-autorollbackconfiguration-events - Events *types.Value `json:"Events,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 *DeploymentGroup_AutoRollbackConfiguration) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_bluegreendeploymentconfiguration.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_bluegreendeploymentconfiguration.go deleted file mode 100644 index 7661e639c1..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_bluegreendeploymentconfiguration.go +++ /dev/null @@ -1,45 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_BlueGreenDeploymentConfiguration AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html -type DeploymentGroup_BlueGreenDeploymentConfiguration struct { - - // DeploymentReadyOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-deploymentreadyoption - DeploymentReadyOption *DeploymentGroup_DeploymentReadyOption `json:"DeploymentReadyOption,omitempty"` - - // GreenFleetProvisioningOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-greenfleetprovisioningoption - GreenFleetProvisioningOption *DeploymentGroup_GreenFleetProvisioningOption `json:"GreenFleetProvisioningOption,omitempty"` - - // TerminateBlueInstancesOnDeploymentSuccess AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-terminateblueinstancesondeploymentsuccess - TerminateBlueInstancesOnDeploymentSuccess *DeploymentGroup_BlueInstanceTerminationOption `json:"TerminateBlueInstancesOnDeploymentSuccess,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 *DeploymentGroup_BlueGreenDeploymentConfiguration) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_blueinstanceterminationoption.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_blueinstanceterminationoption.go deleted file mode 100644 index 4c7a83b547..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_blueinstanceterminationoption.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_BlueInstanceTerminationOption AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.html -type DeploymentGroup_BlueInstanceTerminationOption struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-blueinstanceterminationoption-action - Action *types.Value `json:"Action,omitempty"` - - // TerminationWaitTimeInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-blueinstanceterminationoption-terminationwaittimeinminutes - TerminationWaitTimeInMinutes *types.Value `json:"TerminationWaitTimeInMinutes,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 *DeploymentGroup_BlueInstanceTerminationOption) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deployment.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deployment.go deleted file mode 100644 index 1aadf2fa76..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deployment.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_Deployment AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.Deployment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment.html -type DeploymentGroup_Deployment struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment.html#cfn-properties-codedeploy-deploymentgroup-deployment-description - Description *types.Value `json:"Description,omitempty"` - - // IgnoreApplicationStopFailures AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment.html#cfn-properties-codedeploy-deploymentgroup-deployment-ignoreapplicationstopfailures - IgnoreApplicationStopFailures *types.Value `json:"IgnoreApplicationStopFailures,omitempty"` - - // Revision AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision - Revision *DeploymentGroup_RevisionLocation `json:"Revision,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 *DeploymentGroup_Deployment) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.Deployment" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentreadyoption.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentreadyoption.go deleted file mode 100644 index 5f16b6199a..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentreadyoption.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_DeploymentReadyOption AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentreadyoption.html -type DeploymentGroup_DeploymentReadyOption struct { - - // ActionOnTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentreadyoption.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-deploymentreadyoption-actionontimeout - ActionOnTimeout *types.Value `json:"ActionOnTimeout,omitempty"` - - // WaitTimeInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentreadyoption.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-deploymentreadyoption-waittimeinminutes - WaitTimeInMinutes *types.Value `json:"WaitTimeInMinutes,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 *DeploymentGroup_DeploymentReadyOption) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentstyle.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentstyle.go deleted file mode 100644 index 095bb1eb7b..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_deploymentstyle.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_DeploymentStyle AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.DeploymentStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentstyle.html -type DeploymentGroup_DeploymentStyle struct { - - // DeploymentOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentstyle.html#cfn-codedeploy-deploymentgroup-deploymentstyle-deploymentoption - DeploymentOption *types.Value `json:"DeploymentOption,omitempty"` - - // DeploymentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deploymentstyle.html#cfn-codedeploy-deploymentgroup-deploymentstyle-deploymenttype - DeploymentType *types.Value `json:"DeploymentType,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 *DeploymentGroup_DeploymentStyle) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.DeploymentStyle" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagfilter.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagfilter.go deleted file mode 100644 index d571b0ca93..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagfilter.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_EC2TagFilter AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.EC2TagFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilter.html -type DeploymentGroup_EC2TagFilter struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilter.html#cfn-codedeploy-deploymentgroup-ec2tagfilter-key - Key *types.Value `json:"Key,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilter.html#cfn-codedeploy-deploymentgroup-ec2tagfilter-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilter.html#cfn-codedeploy-deploymentgroup-ec2tagfilter-value - Value *types.Value `json:"Value,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 *DeploymentGroup_EC2TagFilter) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagset.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagset.go deleted file mode 100644 index cb847b73d8..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagset.go +++ /dev/null @@ -1,35 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_EC2TagSet AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.EC2TagSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagset.html -type DeploymentGroup_EC2TagSet struct { - - // Ec2TagSetList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagset.html#cfn-codedeploy-deploymentgroup-ec2tagset-ec2tagsetlist - Ec2TagSetList []DeploymentGroup_EC2TagSetListObject `json:"Ec2TagSetList,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 *DeploymentGroup_EC2TagSet) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.EC2TagSet" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagsetlistobject.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagsetlistobject.go deleted file mode 100644 index dc1ec8e8ee..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ec2tagsetlistobject.go +++ /dev/null @@ -1,35 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_EC2TagSetListObject AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagsetlistobject.html -type DeploymentGroup_EC2TagSetListObject struct { - - // Ec2TagGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagsetlistobject.html#cfn-codedeploy-deploymentgroup-ec2tagsetlistobject-ec2taggroup - Ec2TagGroup []DeploymentGroup_EC2TagFilter `json:"Ec2TagGroup,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 *DeploymentGroup_EC2TagSetListObject) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ecsservice.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ecsservice.go deleted file mode 100644 index 4546181fd7..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_ecsservice.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_ECSService AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.ECSService) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ecsservice.html -type DeploymentGroup_ECSService struct { - - // ClusterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ecsservice.html#cfn-codedeploy-deploymentgroup-ecsservice-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ecsservice.html#cfn-codedeploy-deploymentgroup-ecsservice-servicename - ServiceName *types.Value `json:"ServiceName,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 *DeploymentGroup_ECSService) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.ECSService" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_elbinfo.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_elbinfo.go deleted file mode 100644 index 0b8189284f..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_elbinfo.go +++ /dev/null @@ -1,37 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_ELBInfo AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.ELBInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-elbinfo.html -type DeploymentGroup_ELBInfo struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-elbinfo.html#cfn-codedeploy-deploymentgroup-elbinfo-name - Name *types.Value `json:"Name,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 *DeploymentGroup_ELBInfo) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.ELBInfo" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_githublocation.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_githublocation.go deleted file mode 100644 index c8aa2a2075..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_githublocation.go +++ /dev/null @@ -1,42 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_GitHubLocation AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.GitHubLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html -type DeploymentGroup_GitHubLocation struct { - - // CommitId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation-commitid - CommitId *types.Value `json:"CommitId,omitempty"` - - // Repository AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation-repository - Repository *types.Value `json:"Repository,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 *DeploymentGroup_GitHubLocation) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.GitHubLocation" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_greenfleetprovisioningoption.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_greenfleetprovisioningoption.go deleted file mode 100644 index 2313affa24..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_greenfleetprovisioningoption.go +++ /dev/null @@ -1,37 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_GreenFleetProvisioningOption AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-greenfleetprovisioningoption.html -type DeploymentGroup_GreenFleetProvisioningOption struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-greenfleetprovisioningoption.html#cfn-codedeploy-deploymentgroup-bluegreendeploymentconfiguration-greenfleetprovisioningoption-action - Action *types.Value `json:"Action,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 *DeploymentGroup_GreenFleetProvisioningOption) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_loadbalancerinfo.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_loadbalancerinfo.go deleted file mode 100644 index 0b485de5e6..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_loadbalancerinfo.go +++ /dev/null @@ -1,40 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_LoadBalancerInfo AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-loadbalancerinfo.html -type DeploymentGroup_LoadBalancerInfo struct { - - // ElbInfoList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-loadbalancerinfo.html#cfn-codedeploy-deploymentgroup-loadbalancerinfo-elbinfolist - ElbInfoList []DeploymentGroup_ELBInfo `json:"ElbInfoList,omitempty"` - - // TargetGroupInfoList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-loadbalancerinfo.html#cfn-codedeploy-deploymentgroup-loadbalancerinfo-targetgroupinfolist - TargetGroupInfoList []DeploymentGroup_TargetGroupInfo `json:"TargetGroupInfoList,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 *DeploymentGroup_LoadBalancerInfo) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagset.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagset.go deleted file mode 100644 index 739b7eebc8..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagset.go +++ /dev/null @@ -1,35 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_OnPremisesTagSet AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-onpremisestagset.html -type DeploymentGroup_OnPremisesTagSet struct { - - // OnPremisesTagSetList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-onpremisestagset.html#cfn-codedeploy-deploymentgroup-onpremisestagset-onpremisestagsetlist - OnPremisesTagSetList []DeploymentGroup_OnPremisesTagSetListObject `json:"OnPremisesTagSetList,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 *DeploymentGroup_OnPremisesTagSet) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagsetlistobject.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagsetlistobject.go deleted file mode 100644 index d0b9210452..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_onpremisestagsetlistobject.go +++ /dev/null @@ -1,35 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_OnPremisesTagSetListObject AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-onpremisestagsetlistobject.html -type DeploymentGroup_OnPremisesTagSetListObject struct { - - // OnPremisesTagGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-onpremisestagsetlistobject.html#cfn-codedeploy-deploymentgroup-onpremisestagsetlistobject-onpremisestaggroup - OnPremisesTagGroup []DeploymentGroup_TagFilter `json:"OnPremisesTagGroup,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 *DeploymentGroup_OnPremisesTagSetListObject) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_revisionlocation.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_revisionlocation.go deleted file mode 100644 index 5bb9e7d0aa..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_revisionlocation.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_RevisionLocation AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.RevisionLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html -type DeploymentGroup_RevisionLocation struct { - - // GitHubLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation - GitHubLocation *DeploymentGroup_GitHubLocation `json:"GitHubLocation,omitempty"` - - // RevisionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype - RevisionType *types.Value `json:"RevisionType,omitempty"` - - // S3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location - S3Location *DeploymentGroup_S3Location `json:"S3Location,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 *DeploymentGroup_RevisionLocation) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.RevisionLocation" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_s3location.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_s3location.go deleted file mode 100644 index f3cfa08d73..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_s3location.go +++ /dev/null @@ -1,57 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_S3Location AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html -type DeploymentGroup_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // BundleType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-bundletype - BundleType *types.Value `json:"BundleType,omitempty"` - - // ETag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-etag - ETag *types.Value `json:"ETag,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-key - Key *types.Value `json:"Key,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-value - Version *types.Value `json:"Version,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 *DeploymentGroup_S3Location) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.S3Location" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_tagfilter.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_tagfilter.go deleted file mode 100644 index 895b926cb5..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_tagfilter.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_TagFilter AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.TagFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-tagfilter.html -type DeploymentGroup_TagFilter struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-tagfilter.html#cfn-codedeploy-deploymentgroup-tagfilter-key - Key *types.Value `json:"Key,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-tagfilter.html#cfn-codedeploy-deploymentgroup-tagfilter-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-tagfilter.html#cfn-codedeploy-deploymentgroup-tagfilter-value - Value *types.Value `json:"Value,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 *DeploymentGroup_TagFilter) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.TagFilter" -} diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_triggerconfig.go b/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_triggerconfig.go deleted file mode 100644 index 9a236d40b1..0000000000 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_triggerconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package codedeploy - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeploymentGroup_TriggerConfig AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.TriggerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html -type DeploymentGroup_TriggerConfig struct { - - // TriggerEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggerevents - TriggerEvents *types.Value `json:"TriggerEvents,omitempty"` - - // TriggerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggername - TriggerName *types.Value `json:"TriggerName,omitempty"` - - // TriggerTargetArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggertargetarn - TriggerTargetArn *types.Value `json:"TriggerTargetArn,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 *DeploymentGroup_TriggerConfig) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.TriggerConfig" -} diff --git a/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup.go b/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup.go deleted file mode 100644 index 724f3748b6..0000000000 --- a/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package codeguruprofiler - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProfilingGroup AWS CloudFormation Resource (AWS::CodeGuruProfiler::ProfilingGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html -type ProfilingGroup struct { - - // AgentPermissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html#cfn-codeguruprofiler-profilinggroup-agentpermissions - AgentPermissions interface{} `json:"AgentPermissions,omitempty"` - - // AnomalyDetectionNotificationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html#cfn-codeguruprofiler-profilinggroup-anomalydetectionnotificationconfiguration - AnomalyDetectionNotificationConfiguration []ProfilingGroup_Channel `json:"AnomalyDetectionNotificationConfiguration,omitempty"` - - // ComputePlatform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html#cfn-codeguruprofiler-profilinggroup-computeplatform - ComputePlatform *types.Value `json:"ComputePlatform,omitempty"` - - // ProfilingGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html#cfn-codeguruprofiler-profilinggroup-profilinggroupname - ProfilingGroupName *types.Value `json:"ProfilingGroupName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeguruprofiler-profilinggroup.html#cfn-codeguruprofiler-profilinggroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ProfilingGroup) AWSCloudFormationType() string { - return "AWS::CodeGuruProfiler::ProfilingGroup" -} - -// 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 (r ProfilingGroup) MarshalJSON() ([]byte, error) { - type Properties ProfilingGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ProfilingGroup) UnmarshalJSON(b []byte) error { - type Properties ProfilingGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ProfilingGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup_channel.go b/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup_channel.go deleted file mode 100644 index 161ac3921b..0000000000 --- a/pkg/goformation/cloudformation/codeguruprofiler/aws-codeguruprofiler-profilinggroup_channel.go +++ /dev/null @@ -1,42 +0,0 @@ -package codeguruprofiler - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProfilingGroup_Channel AWS CloudFormation Resource (AWS::CodeGuruProfiler::ProfilingGroup.Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeguruprofiler-profilinggroup-channel.html -type ProfilingGroup_Channel struct { - - // channelId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeguruprofiler-profilinggroup-channel.html#cfn-codeguruprofiler-profilinggroup-channel-channelid - channelId *types.Value `json:"channelId,omitempty"` - - // channelUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeguruprofiler-profilinggroup-channel.html#cfn-codeguruprofiler-profilinggroup-channel-channeluri - channelUri *types.Value `json:"channelUri,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 *ProfilingGroup_Channel) AWSCloudFormationType() string { - return "AWS::CodeGuruProfiler::ProfilingGroup.Channel" -} diff --git a/pkg/goformation/cloudformation/codegurureviewer/aws-codegurureviewer-repositoryassociation.go b/pkg/goformation/cloudformation/codegurureviewer/aws-codegurureviewer-repositoryassociation.go deleted file mode 100644 index d8d24991d0..0000000000 --- a/pkg/goformation/cloudformation/codegurureviewer/aws-codegurureviewer-repositoryassociation.go +++ /dev/null @@ -1,134 +0,0 @@ -package codegurureviewer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RepositoryAssociation AWS CloudFormation Resource (AWS::CodeGuruReviewer::RepositoryAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html -type RepositoryAssociation struct { - - // BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // ConnectionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-connectionarn - ConnectionArn *types.Value `json:"ConnectionArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-name - Name *types.Value `json:"Name,omitempty"` - - // Owner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-owner - Owner *types.Value `json:"Owner,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codegurureviewer-repositoryassociation.html#cfn-codegurureviewer-repositoryassociation-type - Type *types.Value `json:"Type,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 *RepositoryAssociation) AWSCloudFormationType() string { - return "AWS::CodeGuruReviewer::RepositoryAssociation" -} - -// 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 (r RepositoryAssociation) MarshalJSON() ([]byte, error) { - type Properties RepositoryAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RepositoryAssociation) UnmarshalJSON(b []byte) error { - type Properties RepositoryAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RepositoryAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype.go deleted file mode 100644 index 53b30348f7..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype.go +++ /dev/null @@ -1,144 +0,0 @@ -package codepipeline - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomActionType AWS CloudFormation Resource (AWS::CodePipeline::CustomActionType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html -type CustomActionType struct { - - // Category AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-category - Category *types.Value `json:"Category,omitempty"` - - // ConfigurationProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-configurationproperties - ConfigurationProperties []CustomActionType_ConfigurationProperties `json:"ConfigurationProperties,omitempty"` - - // InputArtifactDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-inputartifactdetails - InputArtifactDetails *CustomActionType_ArtifactDetails `json:"InputArtifactDetails,omitempty"` - - // OutputArtifactDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-outputartifactdetails - OutputArtifactDetails *CustomActionType_ArtifactDetails `json:"OutputArtifactDetails,omitempty"` - - // Provider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-provider - Provider *types.Value `json:"Provider,omitempty"` - - // Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-settings - Settings *CustomActionType_Settings `json:"Settings,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html#cfn-codepipeline-customactiontype-version - Version *types.Value `json:"Version,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 *CustomActionType) AWSCloudFormationType() string { - return "AWS::CodePipeline::CustomActionType" -} - -// 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 (r CustomActionType) MarshalJSON() ([]byte, error) { - type Properties CustomActionType - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CustomActionType) UnmarshalJSON(b []byte) error { - type Properties CustomActionType - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CustomActionType(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_artifactdetails.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_artifactdetails.go deleted file mode 100644 index 688ab5cb46..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_artifactdetails.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomActionType_ArtifactDetails AWS CloudFormation Resource (AWS::CodePipeline::CustomActionType.ArtifactDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html -type CustomActionType_ArtifactDetails struct { - - // MaximumCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html#cfn-codepipeline-customactiontype-artifactdetails-maximumcount - MaximumCount *types.Value `json:"MaximumCount"` - - // MinimumCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html#cfn-codepipeline-customactiontype-artifactdetails-minimumcount - MinimumCount *types.Value `json:"MinimumCount"` - - // 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 *CustomActionType_ArtifactDetails) AWSCloudFormationType() string { - return "AWS::CodePipeline::CustomActionType.ArtifactDetails" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_configurationproperties.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_configurationproperties.go deleted file mode 100644 index 17d3f22f1c..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_configurationproperties.go +++ /dev/null @@ -1,67 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomActionType_ConfigurationProperties AWS CloudFormation Resource (AWS::CodePipeline::CustomActionType.ConfigurationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html -type CustomActionType_ConfigurationProperties struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-description - Description *types.Value `json:"Description,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-key - Key *types.Value `json:"Key"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-name - Name *types.Value `json:"Name,omitempty"` - - // Queryable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-queryable - Queryable *types.Value `json:"Queryable,omitempty"` - - // Required AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-required - Required *types.Value `json:"Required"` - - // Secret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-secret - Secret *types.Value `json:"Secret"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-type - Type *types.Value `json:"Type,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 *CustomActionType_ConfigurationProperties) AWSCloudFormationType() string { - return "AWS::CodePipeline::CustomActionType.ConfigurationProperties" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_settings.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_settings.go deleted file mode 100644 index ab5a996316..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-customactiontype_settings.go +++ /dev/null @@ -1,52 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomActionType_Settings AWS CloudFormation Resource (AWS::CodePipeline::CustomActionType.Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html -type CustomActionType_Settings struct { - - // EntityUrlTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html#cfn-codepipeline-customactiontype-settings-entityurltemplate - EntityUrlTemplate *types.Value `json:"EntityUrlTemplate,omitempty"` - - // ExecutionUrlTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html#cfn-codepipeline-customactiontype-settings-executionurltemplate - ExecutionUrlTemplate *types.Value `json:"ExecutionUrlTemplate,omitempty"` - - // RevisionUrlTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html#cfn-codepipeline-customactiontype-settings-revisionurltemplate - RevisionUrlTemplate *types.Value `json:"RevisionUrlTemplate,omitempty"` - - // ThirdPartyConfigurationUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html#cfn-codepipeline-customactiontype-settings-thirdpartyconfigurationurl - ThirdPartyConfigurationUrl *types.Value `json:"ThirdPartyConfigurationUrl,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 *CustomActionType_Settings) AWSCloudFormationType() string { - return "AWS::CodePipeline::CustomActionType.Settings" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline.go deleted file mode 100644 index 2981f05cc4..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline.go +++ /dev/null @@ -1,144 +0,0 @@ -package codepipeline - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline AWS CloudFormation Resource (AWS::CodePipeline::Pipeline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html -type Pipeline struct { - - // ArtifactStore AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-artifactstore - ArtifactStore *Pipeline_ArtifactStore `json:"ArtifactStore,omitempty"` - - // ArtifactStores AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-artifactstores - ArtifactStores []Pipeline_ArtifactStoreMap `json:"ArtifactStores,omitempty"` - - // DisableInboundStageTransitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-disableinboundstagetransitions - DisableInboundStageTransitions []Pipeline_StageTransition `json:"DisableInboundStageTransitions,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-name - Name *types.Value `json:"Name,omitempty"` - - // RestartExecutionOnUpdate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-restartexecutiononupdate - RestartExecutionOnUpdate *types.Value `json:"RestartExecutionOnUpdate,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Stages AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-stages - Stages []Pipeline_StageDeclaration `json:"Stages,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-tags - Tags []cloudformation.Tag `json:"Tags,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 *Pipeline) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline" -} - -// 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 (r Pipeline) MarshalJSON() ([]byte, error) { - type Properties Pipeline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Pipeline) UnmarshalJSON(b []byte) error { - type Properties Pipeline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Pipeline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiondeclaration.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiondeclaration.go deleted file mode 100644 index 732bac6643..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiondeclaration.go +++ /dev/null @@ -1,77 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ActionDeclaration AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.ActionDeclaration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html -type Pipeline_ActionDeclaration struct { - - // ActionTypeId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid - ActionTypeId *Pipeline_ActionTypeId `json:"ActionTypeId,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-configuration - Configuration interface{} `json:"Configuration,omitempty"` - - // InputArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-inputartifacts - InputArtifacts []Pipeline_InputArtifact `json:"InputArtifacts,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-name - Name *types.Value `json:"Name,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-actiondeclaration-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // OutputArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-outputartifacts - OutputArtifacts []Pipeline_OutputArtifact `json:"OutputArtifacts,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-region - Region *types.Value `json:"Region,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // RunOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-runorder - RunOrder *types.Value `json:"RunOrder,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 *Pipeline_ActionDeclaration) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.ActionDeclaration" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiontypeid.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiontypeid.go deleted file mode 100644 index f975c22c91..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_actiontypeid.go +++ /dev/null @@ -1,52 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ActionTypeId AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.ActionTypeId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html -type Pipeline_ActionTypeId struct { - - // Category AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid-category - Category *types.Value `json:"Category,omitempty"` - - // Owner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid-owner - Owner *types.Value `json:"Owner,omitempty"` - - // Provider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid-provider - Provider *types.Value `json:"Provider,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid-version - Version *types.Value `json:"Version,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 *Pipeline_ActionTypeId) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.ActionTypeId" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstore.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstore.go deleted file mode 100644 index 2cc42f5a13..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstore.go +++ /dev/null @@ -1,47 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ArtifactStore AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.ArtifactStore) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html -type Pipeline_ArtifactStore struct { - - // EncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey - EncryptionKey *Pipeline_EncryptionKey `json:"EncryptionKey,omitempty"` - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-location - Location *types.Value `json:"Location,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html#cfn-codepipeline-pipeline-artifactstore-type - Type *types.Value `json:"Type,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 *Pipeline_ArtifactStore) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.ArtifactStore" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstoremap.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstoremap.go deleted file mode 100644 index 9cc06c8231..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_artifactstoremap.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ArtifactStoreMap AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.ArtifactStoreMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html -type Pipeline_ArtifactStoreMap struct { - - // ArtifactStore AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html#cfn-codepipeline-pipeline-artifactstoremap-artifactstore - ArtifactStore *Pipeline_ArtifactStore `json:"ArtifactStore,omitempty"` - - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html#cfn-codepipeline-pipeline-artifactstoremap-region - Region *types.Value `json:"Region,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 *Pipeline_ArtifactStoreMap) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.ArtifactStoreMap" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_encryptionkey.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_encryptionkey.go deleted file mode 100644 index ee2e022e14..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_encryptionkey.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_EncryptionKey AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.EncryptionKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html -type Pipeline_EncryptionKey struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey-id - Id *types.Value `json:"Id,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey-type - Type *types.Value `json:"Type,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 *Pipeline_EncryptionKey) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.EncryptionKey" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_inputartifact.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_inputartifact.go deleted file mode 100644 index 77e94cc196..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_inputartifact.go +++ /dev/null @@ -1,37 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_InputArtifact AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.InputArtifact) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-inputartifacts.html -type Pipeline_InputArtifact struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-inputartifacts.html#cfn-codepipeline-pipeline-stages-actions-inputartifacts-name - Name *types.Value `json:"Name,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 *Pipeline_InputArtifact) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.InputArtifact" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_outputartifact.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_outputartifact.go deleted file mode 100644 index 388e9a262f..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_outputartifact.go +++ /dev/null @@ -1,37 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_OutputArtifact AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.OutputArtifact) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-outputartifacts.html -type Pipeline_OutputArtifact struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-outputartifacts.html#cfn-codepipeline-pipeline-stages-actions-outputartifacts-name - Name *types.Value `json:"Name,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 *Pipeline_OutputArtifact) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.OutputArtifact" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagedeclaration.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagedeclaration.go deleted file mode 100644 index 3012f45a7c..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagedeclaration.go +++ /dev/null @@ -1,47 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_StageDeclaration AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.StageDeclaration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html -type Pipeline_StageDeclaration struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-actions - Actions []Pipeline_ActionDeclaration `json:"Actions,omitempty"` - - // Blockers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-blockers - Blockers []Pipeline_BlockerDeclaration `json:"Blockers,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-name - Name *types.Value `json:"Name,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 *Pipeline_StageDeclaration) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.StageDeclaration" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagetransition.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagetransition.go deleted file mode 100644 index b272993fb1..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_stagetransition.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_StageTransition AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.StageTransition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html -type Pipeline_StageTransition struct { - - // Reason AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html#cfn-codepipeline-pipeline-disableinboundstagetransitions-reason - Reason *types.Value `json:"Reason,omitempty"` - - // StageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html#cfn-codepipeline-pipeline-disableinboundstagetransitions-stagename - StageName *types.Value `json:"StageName,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 *Pipeline_StageTransition) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.StageTransition" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookauthconfiguration.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookauthconfiguration.go deleted file mode 100644 index 45f06d8d35..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookauthconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Webhook_WebhookAuthConfiguration AWS CloudFormation Resource (AWS::CodePipeline::Webhook.WebhookAuthConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html -type Webhook_WebhookAuthConfiguration struct { - - // AllowedIPRange AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html#cfn-codepipeline-webhook-webhookauthconfiguration-allowediprange - AllowedIPRange *types.Value `json:"AllowedIPRange,omitempty"` - - // SecretToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html#cfn-codepipeline-webhook-webhookauthconfiguration-secrettoken - SecretToken *types.Value `json:"SecretToken,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 *Webhook_WebhookAuthConfiguration) AWSCloudFormationType() string { - return "AWS::CodePipeline::Webhook.WebhookAuthConfiguration" -} diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookfilterrule.go b/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookfilterrule.go deleted file mode 100644 index d2ffe83590..0000000000 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-webhook_webhookfilterrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package codepipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Webhook_WebhookFilterRule AWS CloudFormation Resource (AWS::CodePipeline::Webhook.WebhookFilterRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html -type Webhook_WebhookFilterRule struct { - - // JsonPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html#cfn-codepipeline-webhook-webhookfilterrule-jsonpath - JsonPath *types.Value `json:"JsonPath,omitempty"` - - // MatchEquals AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html#cfn-codepipeline-webhook-webhookfilterrule-matchequals - MatchEquals *types.Value `json:"MatchEquals,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 *Webhook_WebhookFilterRule) AWSCloudFormationType() string { - return "AWS::CodePipeline::Webhook.WebhookFilterRule" -} diff --git a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository.go b/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository.go deleted file mode 100644 index 464a0108d9..0000000000 --- a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository.go +++ /dev/null @@ -1,143 +0,0 @@ -package codestar - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GitHubRepository AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html -type GitHubRepository struct { - - // Code AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-code - Code *GitHubRepository_Code `json:"Code,omitempty"` - - // ConnectionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-connectionarn - ConnectionArn *types.Value `json:"ConnectionArn,omitempty"` - - // EnableIssues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-enableissues - EnableIssues *types.Value `json:"EnableIssues,omitempty"` - - // IsPrivate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-isprivate - IsPrivate *types.Value `json:"IsPrivate,omitempty"` - - // RepositoryAccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryaccesstoken - RepositoryAccessToken *types.Value `json:"RepositoryAccessToken,omitempty"` - - // RepositoryDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositorydescription - RepositoryDescription *types.Value `json:"RepositoryDescription,omitempty"` - - // RepositoryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryname - RepositoryName *types.Value `json:"RepositoryName,omitempty"` - - // RepositoryOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestar-githubrepository.html#cfn-codestar-githubrepository-repositoryowner - RepositoryOwner *types.Value `json:"RepositoryOwner,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 *GitHubRepository) AWSCloudFormationType() string { - return "AWS::CodeStar::GitHubRepository" -} - -// 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 (r GitHubRepository) MarshalJSON() ([]byte, error) { - type Properties GitHubRepository - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GitHubRepository) UnmarshalJSON(b []byte) error { - type Properties GitHubRepository - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GitHubRepository(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_code.go b/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_code.go deleted file mode 100644 index cd9161d8a2..0000000000 --- a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_code.go +++ /dev/null @@ -1,35 +0,0 @@ -package codestar - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GitHubRepository_Code AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository.Code) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-code.html -type GitHubRepository_Code struct { - - // S3 AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-code.html#cfn-codestar-githubrepository-code-s3 - S3 *GitHubRepository_S3 `json:"S3,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 *GitHubRepository_Code) AWSCloudFormationType() string { - return "AWS::CodeStar::GitHubRepository.Code" -} diff --git a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_s3.go b/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_s3.go deleted file mode 100644 index 2f169b0721..0000000000 --- a/pkg/goformation/cloudformation/codestar/aws-codestar-githubrepository_s3.go +++ /dev/null @@ -1,47 +0,0 @@ -package codestar - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GitHubRepository_S3 AWS CloudFormation Resource (AWS::CodeStar::GitHubRepository.S3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html -type GitHubRepository_S3 struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-key - Key *types.Value `json:"Key,omitempty"` - - // ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-objectversion - ObjectVersion *types.Value `json:"ObjectVersion,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 *GitHubRepository_S3) AWSCloudFormationType() string { - return "AWS::CodeStar::GitHubRepository.S3" -} diff --git a/pkg/goformation/cloudformation/codestarconnections/aws-codestarconnections-connection.go b/pkg/goformation/cloudformation/codestarconnections/aws-codestarconnections-connection.go deleted file mode 100644 index 6eff3e679b..0000000000 --- a/pkg/goformation/cloudformation/codestarconnections/aws-codestarconnections-connection.go +++ /dev/null @@ -1,124 +0,0 @@ -package codestarconnections - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Connection AWS CloudFormation Resource (AWS::CodeStarConnections::Connection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html -type Connection struct { - - // ConnectionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-connectionname - ConnectionName *types.Value `json:"ConnectionName,omitempty"` - - // HostArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-hostarn - HostArn *types.Value `json:"HostArn,omitempty"` - - // ProviderType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-providertype - ProviderType *types.Value `json:"ProviderType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-tags - Tags []cloudformation.Tag `json:"Tags,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 *Connection) AWSCloudFormationType() string { - return "AWS::CodeStarConnections::Connection" -} - -// 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 (r Connection) MarshalJSON() ([]byte, error) { - type Properties Connection - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Connection) UnmarshalJSON(b []byte) error { - type Properties Connection - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Connection(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule.go b/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule.go deleted file mode 100644 index e8616db638..0000000000 --- a/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule.go +++ /dev/null @@ -1,153 +0,0 @@ -package codestarnotifications - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotificationRule AWS CloudFormation Resource (AWS::CodeStarNotifications::NotificationRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html -type NotificationRule struct { - - // CreatedBy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-createdby - CreatedBy *types.Value `json:"CreatedBy,omitempty"` - - // DetailType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-detailtype - DetailType *types.Value `json:"DetailType,omitempty"` - - // EventTypeId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-eventtypeid - EventTypeId *types.Value `json:"EventTypeId,omitempty"` - - // EventTypeIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-eventtypeids - EventTypeIds *types.Value `json:"EventTypeIds,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-name - Name *types.Value `json:"Name,omitempty"` - - // Resource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-resource - Resource *types.Value `json:"Resource,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-status - Status *types.Value `json:"Status,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-tags - Tags interface{} `json:"Tags,omitempty"` - - // TargetAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targetaddress - TargetAddress *types.Value `json:"TargetAddress,omitempty"` - - // Targets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targets - Targets []NotificationRule_Target `json:"Targets,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 *NotificationRule) AWSCloudFormationType() string { - return "AWS::CodeStarNotifications::NotificationRule" -} - -// 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 (r NotificationRule) MarshalJSON() ([]byte, error) { - type Properties NotificationRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NotificationRule) UnmarshalJSON(b []byte) error { - type Properties NotificationRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = NotificationRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule_target.go b/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule_target.go deleted file mode 100644 index 1640cdc388..0000000000 --- a/pkg/goformation/cloudformation/codestarnotifications/aws-codestarnotifications-notificationrule_target.go +++ /dev/null @@ -1,42 +0,0 @@ -package codestarnotifications - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotificationRule_Target AWS CloudFormation Resource (AWS::CodeStarNotifications::NotificationRule.Target) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html -type NotificationRule_Target struct { - - // TargetAddress AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targetaddress - TargetAddress *types.Value `json:"TargetAddress,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targettype - TargetType *types.Value `json:"TargetType,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 *NotificationRule_Target) AWSCloudFormationType() string { - return "AWS::CodeStarNotifications::NotificationRule.Target" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool.go deleted file mode 100644 index 6d92d4a7af..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool.go +++ /dev/null @@ -1,158 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPool AWS CloudFormation Resource (AWS::Cognito::IdentityPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html -type IdentityPool struct { - - // AllowClassicFlow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-allowclassicflow - AllowClassicFlow *types.Value `json:"AllowClassicFlow,omitempty"` - - // AllowUnauthenticatedIdentities AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-allowunauthenticatedidentities - AllowUnauthenticatedIdentities *types.Value `json:"AllowUnauthenticatedIdentities"` - - // CognitoEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-cognitoevents - CognitoEvents interface{} `json:"CognitoEvents,omitempty"` - - // CognitoIdentityProviders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-cognitoidentityproviders - CognitoIdentityProviders []IdentityPool_CognitoIdentityProvider `json:"CognitoIdentityProviders,omitempty"` - - // CognitoStreams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-cognitostreams - CognitoStreams *IdentityPool_CognitoStreams `json:"CognitoStreams,omitempty"` - - // DeveloperProviderName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-developerprovidername - DeveloperProviderName *types.Value `json:"DeveloperProviderName,omitempty"` - - // IdentityPoolName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-identitypoolname - IdentityPoolName *types.Value `json:"IdentityPoolName,omitempty"` - - // OpenIdConnectProviderARNs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-openidconnectproviderarns - OpenIdConnectProviderARNs *types.Value `json:"OpenIdConnectProviderARNs,omitempty"` - - // PushSync AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-pushsync - PushSync *IdentityPool_PushSync `json:"PushSync,omitempty"` - - // SamlProviderARNs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-samlproviderarns - SamlProviderARNs *types.Value `json:"SamlProviderARNs,omitempty"` - - // SupportedLoginProviders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html#cfn-cognito-identitypool-supportedloginproviders - SupportedLoginProviders interface{} `json:"SupportedLoginProviders,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 *IdentityPool) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPool" -} - -// 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 (r IdentityPool) MarshalJSON() ([]byte, error) { - type Properties IdentityPool - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IdentityPool) UnmarshalJSON(b []byte) error { - type Properties IdentityPool - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IdentityPool(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitoidentityprovider.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitoidentityprovider.go deleted file mode 100644 index 005df15b67..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitoidentityprovider.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPool_CognitoIdentityProvider AWS CloudFormation Resource (AWS::Cognito::IdentityPool.CognitoIdentityProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html -type IdentityPool_CognitoIdentityProvider struct { - - // ClientId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ProviderName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-providername - ProviderName *types.Value `json:"ProviderName,omitempty"` - - // ServerSideTokenCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-serversidetokencheck - ServerSideTokenCheck *types.Value `json:"ServerSideTokenCheck,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 *IdentityPool_CognitoIdentityProvider) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPool.CognitoIdentityProvider" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitostreams.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitostreams.go deleted file mode 100644 index 642acc30ce..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_cognitostreams.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPool_CognitoStreams AWS CloudFormation Resource (AWS::Cognito::IdentityPool.CognitoStreams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html -type IdentityPool_CognitoStreams struct { - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-streamname - StreamName *types.Value `json:"StreamName,omitempty"` - - // StreamingStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-streamingstatus - StreamingStatus *types.Value `json:"StreamingStatus,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 *IdentityPool_CognitoStreams) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPool.CognitoStreams" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_pushsync.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_pushsync.go deleted file mode 100644 index fcb8a772d1..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypool_pushsync.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPool_PushSync AWS CloudFormation Resource (AWS::Cognito::IdentityPool.PushSync) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-pushsync.html -type IdentityPool_PushSync struct { - - // ApplicationArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-pushsync.html#cfn-cognito-identitypool-pushsync-applicationarns - ApplicationArns *types.Value `json:"ApplicationArns,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-pushsync.html#cfn-cognito-identitypool-pushsync-rolearn - RoleArn *types.Value `json:"RoleArn,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 *IdentityPool_PushSync) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPool.PushSync" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment.go deleted file mode 100644 index 3c99f27729..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment.go +++ /dev/null @@ -1,118 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPoolRoleAttachment AWS CloudFormation Resource (AWS::Cognito::IdentityPoolRoleAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html -type IdentityPoolRoleAttachment struct { - - // IdentityPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-identitypoolid - IdentityPoolId *types.Value `json:"IdentityPoolId,omitempty"` - - // RoleMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-rolemappings - RoleMappings interface{} `json:"RoleMappings,omitempty"` - - // Roles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-roles - Roles interface{} `json:"Roles,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 *IdentityPoolRoleAttachment) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPoolRoleAttachment" -} - -// 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 (r IdentityPoolRoleAttachment) MarshalJSON() ([]byte, error) { - type Properties IdentityPoolRoleAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IdentityPoolRoleAttachment) UnmarshalJSON(b []byte) error { - type Properties IdentityPoolRoleAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IdentityPoolRoleAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_mappingrule.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_mappingrule.go deleted file mode 100644 index 7a0c99e614..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_mappingrule.go +++ /dev/null @@ -1,52 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPoolRoleAttachment_MappingRule AWS CloudFormation Resource (AWS::Cognito::IdentityPoolRoleAttachment.MappingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html -type IdentityPoolRoleAttachment_MappingRule struct { - - // Claim AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-claim - Claim *types.Value `json:"Claim,omitempty"` - - // MatchType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-matchtype - MatchType *types.Value `json:"MatchType,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-value - Value *types.Value `json:"Value,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 *IdentityPoolRoleAttachment_MappingRule) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPoolRoleAttachment.MappingRule" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rolemapping.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rolemapping.go deleted file mode 100644 index ba18e6901a..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rolemapping.go +++ /dev/null @@ -1,52 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPoolRoleAttachment_RoleMapping AWS CloudFormation Resource (AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html -type IdentityPoolRoleAttachment_RoleMapping struct { - - // AmbiguousRoleResolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-ambiguousroleresolution - AmbiguousRoleResolution *types.Value `json:"AmbiguousRoleResolution,omitempty"` - - // IdentityProvider AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-identityprovider - IdentityProvider *types.Value `json:"IdentityProvider,omitempty"` - - // RulesConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-rulesconfiguration - RulesConfiguration *IdentityPoolRoleAttachment_RulesConfigurationType `json:"RulesConfiguration,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-type - Type *types.Value `json:"Type,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 *IdentityPoolRoleAttachment_RoleMapping) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rulesconfigurationtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rulesconfigurationtype.go deleted file mode 100644 index c54863a2c2..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-identitypoolroleattachment_rulesconfigurationtype.go +++ /dev/null @@ -1,35 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IdentityPoolRoleAttachment_RulesConfigurationType AWS CloudFormation Resource (AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html -type IdentityPoolRoleAttachment_RulesConfigurationType struct { - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html#cfn-cognito-identitypoolroleattachment-rulesconfigurationtype-rules - Rules []IdentityPoolRoleAttachment_MappingRule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *IdentityPoolRoleAttachment_RulesConfigurationType) AWSCloudFormationType() string { - return "AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool.go deleted file mode 100644 index fdb8979ca7..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool.go +++ /dev/null @@ -1,213 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool AWS CloudFormation Resource (AWS::Cognito::UserPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html -type UserPool struct { - - // AccountRecoverySetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-accountrecoverysetting - AccountRecoverySetting *UserPool_AccountRecoverySetting `json:"AccountRecoverySetting,omitempty"` - - // AdminCreateUserConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-admincreateuserconfig - AdminCreateUserConfig *UserPool_AdminCreateUserConfig `json:"AdminCreateUserConfig,omitempty"` - - // AliasAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-aliasattributes - AliasAttributes *types.Value `json:"AliasAttributes,omitempty"` - - // AutoVerifiedAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-autoverifiedattributes - AutoVerifiedAttributes *types.Value `json:"AutoVerifiedAttributes,omitempty"` - - // DeviceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-deviceconfiguration - DeviceConfiguration *UserPool_DeviceConfiguration `json:"DeviceConfiguration,omitempty"` - - // EmailConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-emailconfiguration - EmailConfiguration *UserPool_EmailConfiguration `json:"EmailConfiguration,omitempty"` - - // EmailVerificationMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-emailverificationmessage - EmailVerificationMessage *types.Value `json:"EmailVerificationMessage,omitempty"` - - // EmailVerificationSubject AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-emailverificationsubject - EmailVerificationSubject *types.Value `json:"EmailVerificationSubject,omitempty"` - - // EnabledMfas AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-enabledmfas - EnabledMfas *types.Value `json:"EnabledMfas,omitempty"` - - // LambdaConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-lambdaconfig - LambdaConfig *UserPool_LambdaConfig `json:"LambdaConfig,omitempty"` - - // MfaConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-mfaconfiguration - MfaConfiguration *types.Value `json:"MfaConfiguration,omitempty"` - - // Policies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-policies - Policies *UserPool_Policies `json:"Policies,omitempty"` - - // Schema AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-schema - Schema []UserPool_SchemaAttribute `json:"Schema,omitempty"` - - // SmsAuthenticationMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-smsauthenticationmessage - SmsAuthenticationMessage *types.Value `json:"SmsAuthenticationMessage,omitempty"` - - // SmsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-smsconfiguration - SmsConfiguration *UserPool_SmsConfiguration `json:"SmsConfiguration,omitempty"` - - // SmsVerificationMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-smsverificationmessage - SmsVerificationMessage *types.Value `json:"SmsVerificationMessage,omitempty"` - - // UserPoolAddOns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-userpooladdons - UserPoolAddOns *UserPool_UserPoolAddOns `json:"UserPoolAddOns,omitempty"` - - // UserPoolName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-userpoolname - UserPoolName *types.Value `json:"UserPoolName,omitempty"` - - // UserPoolTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-userpooltags - UserPoolTags interface{} `json:"UserPoolTags,omitempty"` - - // UsernameAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-usernameattributes - UsernameAttributes *types.Value `json:"UsernameAttributes,omitempty"` - - // UsernameConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-usernameconfiguration - UsernameConfiguration *UserPool_UsernameConfiguration `json:"UsernameConfiguration,omitempty"` - - // VerificationMessageTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html#cfn-cognito-userpool-verificationmessagetemplate - VerificationMessageTemplate *UserPool_VerificationMessageTemplate `json:"VerificationMessageTemplate,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 *UserPool) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool" -} - -// 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 (r UserPool) MarshalJSON() ([]byte, error) { - type Properties UserPool - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPool) UnmarshalJSON(b []byte) error { - type Properties UserPool - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPool(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_admincreateuserconfig.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_admincreateuserconfig.go deleted file mode 100644 index 84f4def41c..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_admincreateuserconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_AdminCreateUserConfig AWS CloudFormation Resource (AWS::Cognito::UserPool.AdminCreateUserConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html -type UserPool_AdminCreateUserConfig struct { - - // AllowAdminCreateUserOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-allowadmincreateuseronly - AllowAdminCreateUserOnly *types.Value `json:"AllowAdminCreateUserOnly,omitempty"` - - // InviteMessageTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-invitemessagetemplate - InviteMessageTemplate *UserPool_InviteMessageTemplate `json:"InviteMessageTemplate,omitempty"` - - // UnusedAccountValidityDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-unusedaccountvaliditydays - UnusedAccountValidityDays *types.Value `json:"UnusedAccountValidityDays,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 *UserPool_AdminCreateUserConfig) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.AdminCreateUserConfig" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customemailsender.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customemailsender.go deleted file mode 100644 index f9a79f7714..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customemailsender.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_CustomEmailSender AWS CloudFormation Resource (AWS::Cognito::UserPool.CustomEmailSender) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customemailsender.html -type UserPool_CustomEmailSender struct { - - // LambdaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customemailsender.html#cfn-cognito-userpool-customemailsender-lambdaarn - LambdaArn *types.Value `json:"LambdaArn,omitempty"` - - // LambdaVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customemailsender.html#cfn-cognito-userpool-customemailsender-lambdaversion - LambdaVersion *types.Value `json:"LambdaVersion,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 *UserPool_CustomEmailSender) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.CustomEmailSender" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customsmssender.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customsmssender.go deleted file mode 100644 index 3d8e48c57b..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_customsmssender.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_CustomSMSSender AWS CloudFormation Resource (AWS::Cognito::UserPool.CustomSMSSender) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customsmssender.html -type UserPool_CustomSMSSender struct { - - // LambdaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customsmssender.html#cfn-cognito-userpool-customsmssender-lambdaarn - LambdaArn *types.Value `json:"LambdaArn,omitempty"` - - // LambdaVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customsmssender.html#cfn-cognito-userpool-customsmssender-lambdaversion - LambdaVersion *types.Value `json:"LambdaVersion,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 *UserPool_CustomSMSSender) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.CustomSMSSender" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_deviceconfiguration.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_deviceconfiguration.go deleted file mode 100644 index 8504162e95..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_deviceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_DeviceConfiguration AWS CloudFormation Resource (AWS::Cognito::UserPool.DeviceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html -type UserPool_DeviceConfiguration struct { - - // ChallengeRequiredOnNewDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html#cfn-cognito-userpool-deviceconfiguration-challengerequiredonnewdevice - ChallengeRequiredOnNewDevice *types.Value `json:"ChallengeRequiredOnNewDevice,omitempty"` - - // DeviceOnlyRememberedOnUserPrompt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html#cfn-cognito-userpool-deviceconfiguration-deviceonlyrememberedonuserprompt - DeviceOnlyRememberedOnUserPrompt *types.Value `json:"DeviceOnlyRememberedOnUserPrompt,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 *UserPool_DeviceConfiguration) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.DeviceConfiguration" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_emailconfiguration.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_emailconfiguration.go deleted file mode 100644 index 10f7d01ef1..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_emailconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_EmailConfiguration AWS CloudFormation Resource (AWS::Cognito::UserPool.EmailConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html -type UserPool_EmailConfiguration struct { - - // ConfigurationSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-configurationset - ConfigurationSet *types.Value `json:"ConfigurationSet,omitempty"` - - // EmailSendingAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-emailsendingaccount - EmailSendingAccount *types.Value `json:"EmailSendingAccount,omitempty"` - - // From AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-from - From *types.Value `json:"From,omitempty"` - - // ReplyToEmailAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-replytoemailaddress - ReplyToEmailAddress *types.Value `json:"ReplyToEmailAddress,omitempty"` - - // SourceArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-emailconfiguration.html#cfn-cognito-userpool-emailconfiguration-sourcearn - SourceArn *types.Value `json:"SourceArn,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 *UserPool_EmailConfiguration) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.EmailConfiguration" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_invitemessagetemplate.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_invitemessagetemplate.go deleted file mode 100644 index 60c4b1deee..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_invitemessagetemplate.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_InviteMessageTemplate AWS CloudFormation Resource (AWS::Cognito::UserPool.InviteMessageTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-invitemessagetemplate.html -type UserPool_InviteMessageTemplate struct { - - // EmailMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-invitemessagetemplate.html#cfn-cognito-userpool-invitemessagetemplate-emailmessage - EmailMessage *types.Value `json:"EmailMessage,omitempty"` - - // EmailSubject AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-invitemessagetemplate.html#cfn-cognito-userpool-invitemessagetemplate-emailsubject - EmailSubject *types.Value `json:"EmailSubject,omitempty"` - - // SMSMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-invitemessagetemplate.html#cfn-cognito-userpool-invitemessagetemplate-smsmessage - SMSMessage *types.Value `json:"SMSMessage,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 *UserPool_InviteMessageTemplate) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.InviteMessageTemplate" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_lambdaconfig.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_lambdaconfig.go deleted file mode 100644 index 550b885c30..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_lambdaconfig.go +++ /dev/null @@ -1,97 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_LambdaConfig AWS CloudFormation Resource (AWS::Cognito::UserPool.LambdaConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html -type UserPool_LambdaConfig struct { - - // CreateAuthChallenge AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-createauthchallenge - CreateAuthChallenge *types.Value `json:"CreateAuthChallenge,omitempty"` - - // CustomEmailSender AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-customemailsender - CustomEmailSender *UserPool_CustomEmailSender `json:"CustomEmailSender,omitempty"` - - // CustomMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-custommessage - CustomMessage *types.Value `json:"CustomMessage,omitempty"` - - // CustomSMSSender AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-customsmssender - CustomSMSSender *UserPool_CustomSMSSender `json:"CustomSMSSender,omitempty"` - - // DefineAuthChallenge AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-defineauthchallenge - DefineAuthChallenge *types.Value `json:"DefineAuthChallenge,omitempty"` - - // KMSKeyID AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-kmskeyid - KMSKeyID *types.Value `json:"KMSKeyID,omitempty"` - - // PostAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-postauthentication - PostAuthentication *types.Value `json:"PostAuthentication,omitempty"` - - // PostConfirmation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-postconfirmation - PostConfirmation *types.Value `json:"PostConfirmation,omitempty"` - - // PreAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-preauthentication - PreAuthentication *types.Value `json:"PreAuthentication,omitempty"` - - // PreSignUp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-presignup - PreSignUp *types.Value `json:"PreSignUp,omitempty"` - - // PreTokenGeneration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-pretokengeneration - PreTokenGeneration *types.Value `json:"PreTokenGeneration,omitempty"` - - // UserMigration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-usermigration - UserMigration *types.Value `json:"UserMigration,omitempty"` - - // VerifyAuthChallengeResponse AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-verifyauthchallengeresponse - VerifyAuthChallengeResponse *types.Value `json:"VerifyAuthChallengeResponse,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 *UserPool_LambdaConfig) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.LambdaConfig" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_numberattributeconstraints.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_numberattributeconstraints.go deleted file mode 100644 index 17278530fa..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_numberattributeconstraints.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_NumberAttributeConstraints AWS CloudFormation Resource (AWS::Cognito::UserPool.NumberAttributeConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html -type UserPool_NumberAttributeConstraints struct { - - // MaxValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html#cfn-cognito-userpool-numberattributeconstraints-maxvalue - MaxValue *types.Value `json:"MaxValue,omitempty"` - - // MinValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html#cfn-cognito-userpool-numberattributeconstraints-minvalue - MinValue *types.Value `json:"MinValue,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 *UserPool_NumberAttributeConstraints) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.NumberAttributeConstraints" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_passwordpolicy.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_passwordpolicy.go deleted file mode 100644 index e9b04c3baf..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_passwordpolicy.go +++ /dev/null @@ -1,62 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_PasswordPolicy AWS CloudFormation Resource (AWS::Cognito::UserPool.PasswordPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html -type UserPool_PasswordPolicy struct { - - // MinimumLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-minimumlength - MinimumLength *types.Value `json:"MinimumLength,omitempty"` - - // RequireLowercase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requirelowercase - RequireLowercase *types.Value `json:"RequireLowercase,omitempty"` - - // RequireNumbers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requirenumbers - RequireNumbers *types.Value `json:"RequireNumbers,omitempty"` - - // RequireSymbols AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requiresymbols - RequireSymbols *types.Value `json:"RequireSymbols,omitempty"` - - // RequireUppercase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requireuppercase - RequireUppercase *types.Value `json:"RequireUppercase,omitempty"` - - // TemporaryPasswordValidityDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-temporarypasswordvaliditydays - TemporaryPasswordValidityDays *types.Value `json:"TemporaryPasswordValidityDays,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 *UserPool_PasswordPolicy) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.PasswordPolicy" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_policies.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_policies.go deleted file mode 100644 index 18b9c01925..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_policies.go +++ /dev/null @@ -1,35 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_Policies AWS CloudFormation Resource (AWS::Cognito::UserPool.Policies) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html -type UserPool_Policies struct { - - // PasswordPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html#cfn-cognito-userpool-policies-passwordpolicy - PasswordPolicy *UserPool_PasswordPolicy `json:"PasswordPolicy,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 *UserPool_Policies) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.Policies" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_recoveryoption.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_recoveryoption.go deleted file mode 100644 index badc9a207a..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_recoveryoption.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_RecoveryOption AWS CloudFormation Resource (AWS::Cognito::UserPool.RecoveryOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-recoveryoption.html -type UserPool_RecoveryOption struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-recoveryoption.html#cfn-cognito-userpool-recoveryoption-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-recoveryoption.html#cfn-cognito-userpool-recoveryoption-priority - Priority *types.Value `json:"Priority,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 *UserPool_RecoveryOption) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.RecoveryOption" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_schemaattribute.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_schemaattribute.go deleted file mode 100644 index b6575f11b3..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_schemaattribute.go +++ /dev/null @@ -1,67 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_SchemaAttribute AWS CloudFormation Resource (AWS::Cognito::UserPool.SchemaAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html -type UserPool_SchemaAttribute struct { - - // AttributeDataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-attributedatatype - AttributeDataType *types.Value `json:"AttributeDataType,omitempty"` - - // DeveloperOnlyAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-developeronlyattribute - DeveloperOnlyAttribute *types.Value `json:"DeveloperOnlyAttribute,omitempty"` - - // Mutable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-mutable - Mutable *types.Value `json:"Mutable,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-name - Name *types.Value `json:"Name,omitempty"` - - // NumberAttributeConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-numberattributeconstraints - NumberAttributeConstraints *UserPool_NumberAttributeConstraints `json:"NumberAttributeConstraints,omitempty"` - - // Required AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-required - Required *types.Value `json:"Required,omitempty"` - - // StringAttributeConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html#cfn-cognito-userpool-schemaattribute-stringattributeconstraints - StringAttributeConstraints *UserPool_StringAttributeConstraints `json:"StringAttributeConstraints,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 *UserPool_SchemaAttribute) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.SchemaAttribute" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_smsconfiguration.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_smsconfiguration.go deleted file mode 100644 index b997d5a2f3..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_smsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_SmsConfiguration AWS CloudFormation Resource (AWS::Cognito::UserPool.SmsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-smsconfiguration.html -type UserPool_SmsConfiguration struct { - - // ExternalId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-smsconfiguration.html#cfn-cognito-userpool-smsconfiguration-externalid - ExternalId *types.Value `json:"ExternalId,omitempty"` - - // SnsCallerArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-smsconfiguration.html#cfn-cognito-userpool-smsconfiguration-snscallerarn - SnsCallerArn *types.Value `json:"SnsCallerArn,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 *UserPool_SmsConfiguration) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.SmsConfiguration" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_stringattributeconstraints.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_stringattributeconstraints.go deleted file mode 100644 index c6eb126f07..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_stringattributeconstraints.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_StringAttributeConstraints AWS CloudFormation Resource (AWS::Cognito::UserPool.StringAttributeConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html -type UserPool_StringAttributeConstraints struct { - - // MaxLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html#cfn-cognito-userpool-stringattributeconstraints-maxlength - MaxLength *types.Value `json:"MaxLength,omitempty"` - - // MinLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html#cfn-cognito-userpool-stringattributeconstraints-minlength - MinLength *types.Value `json:"MinLength,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 *UserPool_StringAttributeConstraints) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.StringAttributeConstraints" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_usernameconfiguration.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_usernameconfiguration.go deleted file mode 100644 index be7e99f6d2..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_usernameconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_UsernameConfiguration AWS CloudFormation Resource (AWS::Cognito::UserPool.UsernameConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-usernameconfiguration.html -type UserPool_UsernameConfiguration struct { - - // CaseSensitive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-usernameconfiguration.html#cfn-cognito-userpool-usernameconfiguration-casesensitive - CaseSensitive *types.Value `json:"CaseSensitive,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 *UserPool_UsernameConfiguration) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.UsernameConfiguration" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_userpooladdons.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_userpooladdons.go deleted file mode 100644 index e030b5d379..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_userpooladdons.go +++ /dev/null @@ -1,37 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_UserPoolAddOns AWS CloudFormation Resource (AWS::Cognito::UserPool.UserPoolAddOns) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html -type UserPool_UserPoolAddOns struct { - - // AdvancedSecurityMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html#cfn-cognito-userpool-userpooladdons-advancedsecuritymode - AdvancedSecurityMode *types.Value `json:"AdvancedSecurityMode,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 *UserPool_UserPoolAddOns) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.UserPoolAddOns" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_verificationmessagetemplate.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_verificationmessagetemplate.go deleted file mode 100644 index f39af5330b..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_verificationmessagetemplate.go +++ /dev/null @@ -1,62 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPool_VerificationMessageTemplate AWS CloudFormation Resource (AWS::Cognito::UserPool.VerificationMessageTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html -type UserPool_VerificationMessageTemplate struct { - - // DefaultEmailOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-defaultemailoption - DefaultEmailOption *types.Value `json:"DefaultEmailOption,omitempty"` - - // EmailMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-emailmessage - EmailMessage *types.Value `json:"EmailMessage,omitempty"` - - // EmailMessageByLink AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-emailmessagebylink - EmailMessageByLink *types.Value `json:"EmailMessageByLink,omitempty"` - - // EmailSubject AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-emailsubject - EmailSubject *types.Value `json:"EmailSubject,omitempty"` - - // EmailSubjectByLink AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-emailsubjectbylink - EmailSubjectByLink *types.Value `json:"EmailSubjectByLink,omitempty"` - - // SmsMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html#cfn-cognito-userpool-verificationmessagetemplate-smsmessage - SmsMessage *types.Value `json:"SmsMessage,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 *UserPool_VerificationMessageTemplate) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.VerificationMessageTemplate" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient.go deleted file mode 100644 index 59accd96d5..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient.go +++ /dev/null @@ -1,203 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolClient AWS CloudFormation Resource (AWS::Cognito::UserPoolClient) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html -type UserPoolClient struct { - - // AccessTokenValidity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-accesstokenvalidity - AccessTokenValidity *types.Value `json:"AccessTokenValidity,omitempty"` - - // AllowedOAuthFlows AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-allowedoauthflows - AllowedOAuthFlows *types.Value `json:"AllowedOAuthFlows,omitempty"` - - // AllowedOAuthFlowsUserPoolClient AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-allowedoauthflowsuserpoolclient - AllowedOAuthFlowsUserPoolClient *types.Value `json:"AllowedOAuthFlowsUserPoolClient,omitempty"` - - // AllowedOAuthScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-allowedoauthscopes - AllowedOAuthScopes *types.Value `json:"AllowedOAuthScopes,omitempty"` - - // AnalyticsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-analyticsconfiguration - AnalyticsConfiguration *UserPoolClient_AnalyticsConfiguration `json:"AnalyticsConfiguration,omitempty"` - - // CallbackURLs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-callbackurls - CallbackURLs *types.Value `json:"CallbackURLs,omitempty"` - - // ClientName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-clientname - ClientName *types.Value `json:"ClientName,omitempty"` - - // DefaultRedirectURI AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-defaultredirecturi - DefaultRedirectURI *types.Value `json:"DefaultRedirectURI,omitempty"` - - // EnableTokenRevocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-enabletokenrevocation - EnableTokenRevocation *types.Value `json:"EnableTokenRevocation,omitempty"` - - // ExplicitAuthFlows AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-explicitauthflows - ExplicitAuthFlows *types.Value `json:"ExplicitAuthFlows,omitempty"` - - // GenerateSecret AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-generatesecret - GenerateSecret *types.Value `json:"GenerateSecret,omitempty"` - - // IdTokenValidity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-idtokenvalidity - IdTokenValidity *types.Value `json:"IdTokenValidity,omitempty"` - - // LogoutURLs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-logouturls - LogoutURLs *types.Value `json:"LogoutURLs,omitempty"` - - // PreventUserExistenceErrors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-preventuserexistenceerrors - PreventUserExistenceErrors *types.Value `json:"PreventUserExistenceErrors,omitempty"` - - // ReadAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-readattributes - ReadAttributes *types.Value `json:"ReadAttributes,omitempty"` - - // RefreshTokenValidity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-refreshtokenvalidity - RefreshTokenValidity *types.Value `json:"RefreshTokenValidity,omitempty"` - - // SupportedIdentityProviders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-supportedidentityproviders - SupportedIdentityProviders *types.Value `json:"SupportedIdentityProviders,omitempty"` - - // TokenValidityUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-tokenvalidityunits - TokenValidityUnits *UserPoolClient_TokenValidityUnits `json:"TokenValidityUnits,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-userpoolid - UserPoolId *types.Value `json:"UserPoolId,omitempty"` - - // WriteAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-writeattributes - WriteAttributes *types.Value `json:"WriteAttributes,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 *UserPoolClient) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolClient" -} - -// 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 (r UserPoolClient) MarshalJSON() ([]byte, error) { - type Properties UserPoolClient - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolClient) UnmarshalJSON(b []byte) error { - type Properties UserPoolClient - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolClient(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_analyticsconfiguration.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_analyticsconfiguration.go deleted file mode 100644 index bf77941c9d..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_analyticsconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolClient_AnalyticsConfiguration AWS CloudFormation Resource (AWS::Cognito::UserPoolClient.AnalyticsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html -type UserPoolClient_AnalyticsConfiguration struct { - - // ApplicationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html#cfn-cognito-userpoolclient-analyticsconfiguration-applicationarn - ApplicationArn *types.Value `json:"ApplicationArn,omitempty"` - - // ApplicationId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html#cfn-cognito-userpoolclient-analyticsconfiguration-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // ExternalId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html#cfn-cognito-userpoolclient-analyticsconfiguration-externalid - ExternalId *types.Value `json:"ExternalId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html#cfn-cognito-userpoolclient-analyticsconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UserDataShared AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-analyticsconfiguration.html#cfn-cognito-userpoolclient-analyticsconfiguration-userdatashared - UserDataShared *types.Value `json:"UserDataShared,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 *UserPoolClient_AnalyticsConfiguration) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolClient.AnalyticsConfiguration" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_tokenvalidityunits.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_tokenvalidityunits.go deleted file mode 100644 index 55fe7d3a8e..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolclient_tokenvalidityunits.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolClient_TokenValidityUnits AWS CloudFormation Resource (AWS::Cognito::UserPoolClient.TokenValidityUnits) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html -type UserPoolClient_TokenValidityUnits struct { - - // AccessToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html#cfn-cognito-userpoolclient-tokenvalidityunits-accesstoken - AccessToken *types.Value `json:"AccessToken,omitempty"` - - // IdToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html#cfn-cognito-userpoolclient-tokenvalidityunits-idtoken - IdToken *types.Value `json:"IdToken,omitempty"` - - // RefreshToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html#cfn-cognito-userpoolclient-tokenvalidityunits-refreshtoken - RefreshToken *types.Value `json:"RefreshToken,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 *UserPoolClient_TokenValidityUnits) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolClient.TokenValidityUnits" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain.go deleted file mode 100644 index d29361072b..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain.go +++ /dev/null @@ -1,118 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolDomain AWS CloudFormation Resource (AWS::Cognito::UserPoolDomain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html -type UserPoolDomain struct { - - // CustomDomainConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-customdomainconfig - CustomDomainConfig *UserPoolDomain_CustomDomainConfigType `json:"CustomDomainConfig,omitempty"` - - // Domain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-domain - Domain *types.Value `json:"Domain,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolDomain) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolDomain" -} - -// 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 (r UserPoolDomain) MarshalJSON() ([]byte, error) { - type Properties UserPoolDomain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolDomain) UnmarshalJSON(b []byte) error { - type Properties UserPoolDomain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolDomain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain_customdomainconfigtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain_customdomainconfigtype.go deleted file mode 100644 index 8672c07c13..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooldomain_customdomainconfigtype.go +++ /dev/null @@ -1,37 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolDomain_CustomDomainConfigType AWS CloudFormation Resource (AWS::Cognito::UserPoolDomain.CustomDomainConfigType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpooldomain-customdomainconfigtype.html -type UserPoolDomain_CustomDomainConfigType struct { - - // CertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpooldomain-customdomainconfigtype.html#cfn-cognito-userpooldomain-customdomainconfigtype-certificatearn - CertificateArn *types.Value `json:"CertificateArn,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 *UserPoolDomain_CustomDomainConfigType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolDomain.CustomDomainConfigType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolgroup.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolgroup.go deleted file mode 100644 index 6a1262adfe..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolgroup.go +++ /dev/null @@ -1,128 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolGroup AWS CloudFormation Resource (AWS::Cognito::UserPoolGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html -type UserPoolGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html#cfn-cognito-userpoolgroup-description - Description *types.Value `json:"Description,omitempty"` - - // GroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html#cfn-cognito-userpoolgroup-groupname - GroupName *types.Value `json:"GroupName,omitempty"` - - // Precedence AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html#cfn-cognito-userpoolgroup-precedence - Precedence *types.Value `json:"Precedence,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html#cfn-cognito-userpoolgroup-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolgroup.html#cfn-cognito-userpoolgroup-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolGroup) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolGroup" -} - -// 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 (r UserPoolGroup) MarshalJSON() ([]byte, error) { - type Properties UserPoolGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolGroup) UnmarshalJSON(b []byte) error { - type Properties UserPoolGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolidentityprovider.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolidentityprovider.go deleted file mode 100644 index 6dc4666375..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolidentityprovider.go +++ /dev/null @@ -1,133 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolIdentityProvider AWS CloudFormation Resource (AWS::Cognito::UserPoolIdentityProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html -type UserPoolIdentityProvider struct { - - // AttributeMapping AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-attributemapping - AttributeMapping interface{} `json:"AttributeMapping,omitempty"` - - // IdpIdentifiers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-idpidentifiers - IdpIdentifiers *types.Value `json:"IdpIdentifiers,omitempty"` - - // ProviderDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-providerdetails - ProviderDetails interface{} `json:"ProviderDetails,omitempty"` - - // ProviderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-providername - ProviderName *types.Value `json:"ProviderName,omitempty"` - - // ProviderType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-providertype - ProviderType *types.Value `json:"ProviderType,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolIdentityProvider) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolIdentityProvider" -} - -// 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 (r UserPoolIdentityProvider) MarshalJSON() ([]byte, error) { - type Properties UserPoolIdentityProvider - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolIdentityProvider) UnmarshalJSON(b []byte) error { - type Properties UserPoolIdentityProvider - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolIdentityProvider(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver.go deleted file mode 100644 index cd9167f526..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver.go +++ /dev/null @@ -1,123 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolResourceServer AWS CloudFormation Resource (AWS::Cognito::UserPoolResourceServer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html -type UserPoolResourceServer struct { - - // Identifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html#cfn-cognito-userpoolresourceserver-identifier - Identifier *types.Value `json:"Identifier,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html#cfn-cognito-userpoolresourceserver-name - Name *types.Value `json:"Name,omitempty"` - - // Scopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html#cfn-cognito-userpoolresourceserver-scopes - Scopes []UserPoolResourceServer_ResourceServerScopeType `json:"Scopes,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html#cfn-cognito-userpoolresourceserver-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolResourceServer) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolResourceServer" -} - -// 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 (r UserPoolResourceServer) MarshalJSON() ([]byte, error) { - type Properties UserPoolResourceServer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolResourceServer) UnmarshalJSON(b []byte) error { - type Properties UserPoolResourceServer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolResourceServer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver_resourceserverscopetype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver_resourceserverscopetype.go deleted file mode 100644 index 173f98ec7d..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolresourceserver_resourceserverscopetype.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolResourceServer_ResourceServerScopeType AWS CloudFormation Resource (AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolresourceserver-resourceserverscopetype.html -type UserPoolResourceServer_ResourceServerScopeType struct { - - // ScopeDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolresourceserver-resourceserverscopetype.html#cfn-cognito-userpoolresourceserver-resourceserverscopetype-scopedescription - ScopeDescription *types.Value `json:"ScopeDescription,omitempty"` - - // ScopeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolresourceserver-resourceserverscopetype.html#cfn-cognito-userpoolresourceserver-resourceserverscopetype-scopename - ScopeName *types.Value `json:"ScopeName,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 *UserPoolResourceServer_ResourceServerScopeType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment.go deleted file mode 100644 index 2f52bbf837..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment.go +++ /dev/null @@ -1,128 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html -type UserPoolRiskConfigurationAttachment struct { - - // AccountTakeoverRiskConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfiguration - AccountTakeoverRiskConfiguration *UserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationType `json:"AccountTakeoverRiskConfiguration,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // CompromisedCredentialsRiskConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfiguration - CompromisedCredentialsRiskConfiguration *UserPoolRiskConfigurationAttachment_CompromisedCredentialsRiskConfigurationType `json:"CompromisedCredentialsRiskConfiguration,omitempty"` - - // RiskExceptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-riskexceptionconfiguration - RiskExceptionConfiguration *UserPoolRiskConfigurationAttachment_RiskExceptionConfigurationType `json:"RiskExceptionConfiguration,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#cfn-cognito-userpoolriskconfigurationattachment-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolRiskConfigurationAttachment) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment" -} - -// 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 (r UserPoolRiskConfigurationAttachment) MarshalJSON() ([]byte, error) { - type Properties UserPoolRiskConfigurationAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolRiskConfigurationAttachment) UnmarshalJSON(b []byte) error { - type Properties UserPoolRiskConfigurationAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolRiskConfigurationAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractionstype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractionstype.go deleted file mode 100644 index 116f39b3df..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractionstype.go +++ /dev/null @@ -1,45 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_AccountTakeoverActionsType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype.html -type UserPoolRiskConfigurationAttachment_AccountTakeoverActionsType struct { - - // HighAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype-highaction - HighAction *UserPoolRiskConfigurationAttachment_AccountTakeoverActionType `json:"HighAction,omitempty"` - - // LowAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype-lowaction - LowAction *UserPoolRiskConfigurationAttachment_AccountTakeoverActionType `json:"LowAction,omitempty"` - - // MediumAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype-mediumaction - MediumAction *UserPoolRiskConfigurationAttachment_AccountTakeoverActionType `json:"MediumAction,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 *UserPoolRiskConfigurationAttachment_AccountTakeoverActionsType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractiontype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractiontype.go deleted file mode 100644 index d6e1c6f0ce..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoveractiontype.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_AccountTakeoverActionType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractiontype.html -type UserPoolRiskConfigurationAttachment_AccountTakeoverActionType struct { - - // EventAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractiontype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoveractiontype-eventaction - EventAction *types.Value `json:"EventAction,omitempty"` - - // Notify AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractiontype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoveractiontype-notify - Notify *types.Value `json:"Notify"` - - // 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 *UserPoolRiskConfigurationAttachment_AccountTakeoverActionType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoverriskconfigurationtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoverriskconfigurationtype.go deleted file mode 100644 index f30f539e5e..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_accounttakeoverriskconfigurationtype.go +++ /dev/null @@ -1,40 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfigurationtype.html -type UserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationType struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfigurationtype-actions - Actions *UserPoolRiskConfigurationAttachment_AccountTakeoverActionsType `json:"Actions,omitempty"` - - // NotifyConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-accounttakeoverriskconfigurationtype-notifyconfiguration - NotifyConfiguration *UserPoolRiskConfigurationAttachment_NotifyConfigurationType `json:"NotifyConfiguration,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 *UserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsactionstype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsactionstype.go deleted file mode 100644 index 50e59eeae4..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsactionstype.go +++ /dev/null @@ -1,37 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_CompromisedCredentialsActionsType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-compromisedcredentialsactionstype.html -type UserPoolRiskConfigurationAttachment_CompromisedCredentialsActionsType struct { - - // EventAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-compromisedcredentialsactionstype.html#cfn-cognito-userpoolriskconfigurationattachment-compromisedcredentialsactionstype-eventaction - EventAction *types.Value `json:"EventAction,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 *UserPoolRiskConfigurationAttachment_CompromisedCredentialsActionsType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsriskconfigurationtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsriskconfigurationtype.go deleted file mode 100644 index 29249e18df..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_compromisedcredentialsriskconfigurationtype.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_CompromisedCredentialsRiskConfigurationType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfigurationtype.html -type UserPoolRiskConfigurationAttachment_CompromisedCredentialsRiskConfigurationType struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfigurationtype-actions - Actions *UserPoolRiskConfigurationAttachment_CompromisedCredentialsActionsType `json:"Actions,omitempty"` - - // EventFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-compromisedcredentialsriskconfigurationtype-eventfilter - EventFilter *types.Value `json:"EventFilter,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 *UserPoolRiskConfigurationAttachment_CompromisedCredentialsRiskConfigurationType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyconfigurationtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyconfigurationtype.go deleted file mode 100644 index c060d355a0..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyconfigurationtype.go +++ /dev/null @@ -1,62 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_NotifyConfigurationType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html -type UserPoolRiskConfigurationAttachment_NotifyConfigurationType struct { - - // BlockEmail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-blockemail - BlockEmail *UserPoolRiskConfigurationAttachment_NotifyEmailType `json:"BlockEmail,omitempty"` - - // From AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-from - From *types.Value `json:"From,omitempty"` - - // MfaEmail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-mfaemail - MfaEmail *UserPoolRiskConfigurationAttachment_NotifyEmailType `json:"MfaEmail,omitempty"` - - // NoActionEmail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-noactionemail - NoActionEmail *UserPoolRiskConfigurationAttachment_NotifyEmailType `json:"NoActionEmail,omitempty"` - - // ReplyTo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-replyto - ReplyTo *types.Value `json:"ReplyTo,omitempty"` - - // SourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-sourcearn - SourceArn *types.Value `json:"SourceArn,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 *UserPoolRiskConfigurationAttachment_NotifyConfigurationType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyemailtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyemailtype.go deleted file mode 100644 index 6f40b82b45..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_notifyemailtype.go +++ /dev/null @@ -1,47 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_NotifyEmailType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyemailtype.html -type UserPoolRiskConfigurationAttachment_NotifyEmailType struct { - - // HtmlBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyemailtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyemailtype-htmlbody - HtmlBody *types.Value `json:"HtmlBody,omitempty"` - - // Subject AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyemailtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyemailtype-subject - Subject *types.Value `json:"Subject,omitempty"` - - // TextBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyemailtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyemailtype-textbody - TextBody *types.Value `json:"TextBody,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 *UserPoolRiskConfigurationAttachment_NotifyEmailType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_riskexceptionconfigurationtype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_riskexceptionconfigurationtype.go deleted file mode 100644 index a854fb9f26..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolriskconfigurationattachment_riskexceptionconfigurationtype.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolRiskConfigurationAttachment_RiskExceptionConfigurationType AWS CloudFormation Resource (AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-riskexceptionconfigurationtype.html -type UserPoolRiskConfigurationAttachment_RiskExceptionConfigurationType struct { - - // BlockedIPRangeList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-riskexceptionconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-riskexceptionconfigurationtype-blockediprangelist - BlockedIPRangeList *types.Value `json:"BlockedIPRangeList,omitempty"` - - // SkippedIPRangeList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-riskexceptionconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-riskexceptionconfigurationtype-skippediprangelist - SkippedIPRangeList *types.Value `json:"SkippedIPRangeList,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 *UserPoolRiskConfigurationAttachment_RiskExceptionConfigurationType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluicustomizationattachment.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluicustomizationattachment.go deleted file mode 100644 index 8b8fd12bfd..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluicustomizationattachment.go +++ /dev/null @@ -1,118 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolUICustomizationAttachment AWS CloudFormation Resource (AWS::Cognito::UserPoolUICustomizationAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluicustomizationattachment.html -type UserPoolUICustomizationAttachment struct { - - // CSS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluicustomizationattachment.html#cfn-cognito-userpooluicustomizationattachment-css - CSS *types.Value `json:"CSS,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluicustomizationattachment.html#cfn-cognito-userpooluicustomizationattachment-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluicustomizationattachment.html#cfn-cognito-userpooluicustomizationattachment-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *UserPoolUICustomizationAttachment) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolUICustomizationAttachment" -} - -// 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 (r UserPoolUICustomizationAttachment) MarshalJSON() ([]byte, error) { - type Properties UserPoolUICustomizationAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolUICustomizationAttachment) UnmarshalJSON(b []byte) error { - type Properties UserPoolUICustomizationAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolUICustomizationAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser.go deleted file mode 100644 index fa82932c2b..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser.go +++ /dev/null @@ -1,143 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolUser AWS CloudFormation Resource (AWS::Cognito::UserPoolUser) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html -type UserPoolUser struct { - - // ClientMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-clientmetadata - ClientMetadata interface{} `json:"ClientMetadata,omitempty"` - - // DesiredDeliveryMediums AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-desireddeliverymediums - DesiredDeliveryMediums *types.Value `json:"DesiredDeliveryMediums,omitempty"` - - // ForceAliasCreation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-forcealiascreation - ForceAliasCreation *types.Value `json:"ForceAliasCreation,omitempty"` - - // MessageAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-messageaction - MessageAction *types.Value `json:"MessageAction,omitempty"` - - // UserAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userattributes - UserAttributes []UserPoolUser_AttributeType `json:"UserAttributes,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-userpoolid - UserPoolId *types.Value `json:"UserPoolId,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-username - Username *types.Value `json:"Username,omitempty"` - - // ValidationData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooluser.html#cfn-cognito-userpooluser-validationdata - ValidationData []UserPoolUser_AttributeType `json:"ValidationData,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 *UserPoolUser) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolUser" -} - -// 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 (r UserPoolUser) MarshalJSON() ([]byte, error) { - type Properties UserPoolUser - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolUser) UnmarshalJSON(b []byte) error { - type Properties UserPoolUser - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolUser(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser_attributetype.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser_attributetype.go deleted file mode 100644 index 23118819d0..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpooluser_attributetype.go +++ /dev/null @@ -1,42 +0,0 @@ -package cognito - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolUser_AttributeType AWS CloudFormation Resource (AWS::Cognito::UserPoolUser.AttributeType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpooluser-attributetype.html -type UserPoolUser_AttributeType struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpooluser-attributetype.html#cfn-cognito-userpooluser-attributetype-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpooluser-attributetype.html#cfn-cognito-userpooluser-attributetype-value - Value *types.Value `json:"Value,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 *UserPoolUser_AttributeType) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolUser.AttributeType" -} diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolusertogroupattachment.go b/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolusertogroupattachment.go deleted file mode 100644 index 8eb4859056..0000000000 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpoolusertogroupattachment.go +++ /dev/null @@ -1,118 +0,0 @@ -package cognito - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserPoolUserToGroupAttachment AWS CloudFormation Resource (AWS::Cognito::UserPoolUserToGroupAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html -type UserPoolUserToGroupAttachment struct { - - // GroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-groupname - GroupName *types.Value `json:"GroupName,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-userpoolid - UserPoolId *types.Value `json:"UserPoolId,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolusertogroupattachment.html#cfn-cognito-userpoolusertogroupattachment-username - Username *types.Value `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 *UserPoolUserToGroupAttachment) AWSCloudFormationType() string { - return "AWS::Cognito::UserPoolUserToGroupAttachment" -} - -// 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 (r UserPoolUserToGroupAttachment) MarshalJSON() ([]byte, error) { - type Properties UserPoolUserToGroupAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserPoolUserToGroupAttachment) UnmarshalJSON(b []byte) error { - type Properties UserPoolUserToGroupAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserPoolUserToGroupAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configrule.go b/pkg/goformation/cloudformation/config/aws-config-configrule.go deleted file mode 100644 index c2bda04f63..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configrule.go +++ /dev/null @@ -1,133 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigRule AWS CloudFormation Resource (AWS::Config::ConfigRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html -type ConfigRule struct { - - // ConfigRuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-configrulename - ConfigRuleName *types.Value `json:"ConfigRuleName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-description - Description *types.Value `json:"Description,omitempty"` - - // InputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-inputparameters - InputParameters interface{} `json:"InputParameters,omitempty"` - - // MaximumExecutionFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-maximumexecutionfrequency - MaximumExecutionFrequency *types.Value `json:"MaximumExecutionFrequency,omitempty"` - - // Scope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-scope - Scope *ConfigRule_Scope `json:"Scope,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-source - Source *ConfigRule_Source `json:"Source,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 *ConfigRule) AWSCloudFormationType() string { - return "AWS::Config::ConfigRule" -} - -// 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 (r ConfigRule) MarshalJSON() ([]byte, error) { - type Properties ConfigRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigRule) UnmarshalJSON(b []byte) error { - type Properties ConfigRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configrule_source.go b/pkg/goformation/cloudformation/config/aws-config-configrule_source.go deleted file mode 100644 index f0c646bab1..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configrule_source.go +++ /dev/null @@ -1,47 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigRule_Source AWS CloudFormation Resource (AWS::Config::ConfigRule.Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html -type ConfigRule_Source struct { - - // Owner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html#cfn-config-configrule-source-owner - Owner *types.Value `json:"Owner,omitempty"` - - // SourceDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html#cfn-config-configrule-source-sourcedetails - SourceDetails []ConfigRule_SourceDetail `json:"SourceDetails,omitempty"` - - // SourceIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html#cfn-config-configrule-source-sourceidentifier - SourceIdentifier *types.Value `json:"SourceIdentifier,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 *ConfigRule_Source) AWSCloudFormationType() string { - return "AWS::Config::ConfigRule.Source" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configrule_sourcedetail.go b/pkg/goformation/cloudformation/config/aws-config-configrule_sourcedetail.go deleted file mode 100644 index 00544dfc84..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configrule_sourcedetail.go +++ /dev/null @@ -1,47 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigRule_SourceDetail AWS CloudFormation Resource (AWS::Config::ConfigRule.SourceDetail) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source-sourcedetails.html -type ConfigRule_SourceDetail struct { - - // EventSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source-sourcedetails.html#cfn-config-configrule-source-sourcedetail-eventsource - EventSource *types.Value `json:"EventSource,omitempty"` - - // MaximumExecutionFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source-sourcedetails.html#cfn-config-configrule-sourcedetail-maximumexecutionfrequency - MaximumExecutionFrequency *types.Value `json:"MaximumExecutionFrequency,omitempty"` - - // MessageType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source-sourcedetails.html#cfn-config-configrule-source-sourcedetail-messagetype - MessageType *types.Value `json:"MessageType,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 *ConfigRule_SourceDetail) AWSCloudFormationType() string { - return "AWS::Config::ConfigRule.SourceDetail" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator.go b/pkg/goformation/cloudformation/config/aws-config-configurationaggregator.go deleted file mode 100644 index 185cc1dbba..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator.go +++ /dev/null @@ -1,124 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationAggregator AWS CloudFormation Resource (AWS::Config::ConfigurationAggregator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html -type ConfigurationAggregator struct { - - // AccountAggregationSources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-accountaggregationsources - AccountAggregationSources []ConfigurationAggregator_AccountAggregationSource `json:"AccountAggregationSources,omitempty"` - - // ConfigurationAggregatorName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-configurationaggregatorname - ConfigurationAggregatorName *types.Value `json:"ConfigurationAggregatorName,omitempty"` - - // OrganizationAggregationSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-organizationaggregationsource - OrganizationAggregationSource *ConfigurationAggregator_OrganizationAggregationSource `json:"OrganizationAggregationSource,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationaggregator.html#cfn-config-configurationaggregator-tags - Tags []cloudformation.Tag `json:"Tags,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 *ConfigurationAggregator) AWSCloudFormationType() string { - return "AWS::Config::ConfigurationAggregator" -} - -// 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 (r ConfigurationAggregator) MarshalJSON() ([]byte, error) { - type Properties ConfigurationAggregator - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationAggregator) UnmarshalJSON(b []byte) error { - type Properties ConfigurationAggregator - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationAggregator(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_accountaggregationsource.go b/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_accountaggregationsource.go deleted file mode 100644 index 808a3ff266..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_accountaggregationsource.go +++ /dev/null @@ -1,47 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationAggregator_AccountAggregationSource AWS CloudFormation Resource (AWS::Config::ConfigurationAggregator.AccountAggregationSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-accountaggregationsource.html -type ConfigurationAggregator_AccountAggregationSource struct { - - // AccountIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-accountaggregationsource.html#cfn-config-configurationaggregator-accountaggregationsource-accountids - AccountIds *types.Value `json:"AccountIds,omitempty"` - - // AllAwsRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-accountaggregationsource.html#cfn-config-configurationaggregator-accountaggregationsource-allawsregions - AllAwsRegions *types.Value `json:"AllAwsRegions,omitempty"` - - // AwsRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-accountaggregationsource.html#cfn-config-configurationaggregator-accountaggregationsource-awsregions - AwsRegions *types.Value `json:"AwsRegions,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 *ConfigurationAggregator_AccountAggregationSource) AWSCloudFormationType() string { - return "AWS::Config::ConfigurationAggregator.AccountAggregationSource" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_organizationaggregationsource.go b/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_organizationaggregationsource.go deleted file mode 100644 index 6039ae957c..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configurationaggregator_organizationaggregationsource.go +++ /dev/null @@ -1,47 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationAggregator_OrganizationAggregationSource AWS CloudFormation Resource (AWS::Config::ConfigurationAggregator.OrganizationAggregationSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-organizationaggregationsource.html -type ConfigurationAggregator_OrganizationAggregationSource struct { - - // AllAwsRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-organizationaggregationsource.html#cfn-config-configurationaggregator-organizationaggregationsource-allawsregions - AllAwsRegions *types.Value `json:"AllAwsRegions,omitempty"` - - // AwsRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-organizationaggregationsource.html#cfn-config-configurationaggregator-organizationaggregationsource-awsregions - AwsRegions *types.Value `json:"AwsRegions,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationaggregator-organizationaggregationsource.html#cfn-config-configurationaggregator-organizationaggregationsource-rolearn - RoleArn *types.Value `json:"RoleArn,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 *ConfigurationAggregator_OrganizationAggregationSource) AWSCloudFormationType() string { - return "AWS::Config::ConfigurationAggregator.OrganizationAggregationSource" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configurationrecorder.go b/pkg/goformation/cloudformation/config/aws-config-configurationrecorder.go deleted file mode 100644 index 512f07bb5e..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configurationrecorder.go +++ /dev/null @@ -1,118 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationRecorder AWS CloudFormation Resource (AWS::Config::ConfigurationRecorder) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html -type ConfigurationRecorder struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-name - Name *types.Value `json:"Name,omitempty"` - - // RecordingGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-recordinggroup - RecordingGroup *ConfigurationRecorder_RecordingGroup `json:"RecordingGroup,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html#cfn-config-configurationrecorder-rolearn - RoleARN *types.Value `json:"RoleARN,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 *ConfigurationRecorder) AWSCloudFormationType() string { - return "AWS::Config::ConfigurationRecorder" -} - -// 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 (r ConfigurationRecorder) MarshalJSON() ([]byte, error) { - type Properties ConfigurationRecorder - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationRecorder) UnmarshalJSON(b []byte) error { - type Properties ConfigurationRecorder - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationRecorder(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-configurationrecorder_recordinggroup.go b/pkg/goformation/cloudformation/config/aws-config-configurationrecorder_recordinggroup.go deleted file mode 100644 index 41e10cf8ec..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-configurationrecorder_recordinggroup.go +++ /dev/null @@ -1,47 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationRecorder_RecordingGroup AWS CloudFormation Resource (AWS::Config::ConfigurationRecorder.RecordingGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html -type ConfigurationRecorder_RecordingGroup struct { - - // AllSupported AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-allsupported - AllSupported *types.Value `json:"AllSupported,omitempty"` - - // IncludeGlobalResourceTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-includeglobalresourcetypes - IncludeGlobalResourceTypes *types.Value `json:"IncludeGlobalResourceTypes,omitempty"` - - // ResourceTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-resourcetypes - ResourceTypes *types.Value `json:"ResourceTypes,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 *ConfigurationRecorder_RecordingGroup) AWSCloudFormationType() string { - return "AWS::Config::ConfigurationRecorder.RecordingGroup" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-conformancepack.go b/pkg/goformation/cloudformation/config/aws-config-conformancepack.go deleted file mode 100644 index 29cf21f19b..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-conformancepack.go +++ /dev/null @@ -1,133 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConformancePack AWS CloudFormation Resource (AWS::Config::ConformancePack) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html -type ConformancePack struct { - - // ConformancePackInputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-conformancepackinputparameters - ConformancePackInputParameters []ConformancePack_ConformancePackInputParameter `json:"ConformancePackInputParameters,omitempty"` - - // ConformancePackName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-conformancepackname - ConformancePackName *types.Value `json:"ConformancePackName,omitempty"` - - // DeliveryS3Bucket AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-deliverys3bucket - DeliveryS3Bucket *types.Value `json:"DeliveryS3Bucket,omitempty"` - - // DeliveryS3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-deliverys3keyprefix - DeliveryS3KeyPrefix *types.Value `json:"DeliveryS3KeyPrefix,omitempty"` - - // TemplateBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-templatebody - TemplateBody *types.Value `json:"TemplateBody,omitempty"` - - // TemplateS3Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-conformancepack.html#cfn-config-conformancepack-templates3uri - TemplateS3Uri *types.Value `json:"TemplateS3Uri,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 *ConformancePack) AWSCloudFormationType() string { - return "AWS::Config::ConformancePack" -} - -// 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 (r ConformancePack) MarshalJSON() ([]byte, error) { - type Properties ConformancePack - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConformancePack) UnmarshalJSON(b []byte) error { - type Properties ConformancePack - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConformancePack(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-conformancepack_conformancepackinputparameter.go b/pkg/goformation/cloudformation/config/aws-config-conformancepack_conformancepackinputparameter.go deleted file mode 100644 index 15aa718a25..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-conformancepack_conformancepackinputparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConformancePack_ConformancePackInputParameter AWS CloudFormation Resource (AWS::Config::ConformancePack.ConformancePackInputParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-conformancepack-conformancepackinputparameter.html -type ConformancePack_ConformancePackInputParameter struct { - - // ParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-conformancepack-conformancepackinputparameter.html#cfn-config-conformancepack-conformancepackinputparameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-conformancepack-conformancepackinputparameter.html#cfn-config-conformancepack-conformancepackinputparameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *ConformancePack_ConformancePackInputParameter) AWSCloudFormationType() string { - return "AWS::Config::ConformancePack.ConformancePackInputParameter" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-deliverychannel.go b/pkg/goformation/cloudformation/config/aws-config-deliverychannel.go deleted file mode 100644 index 520f2df6fd..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-deliverychannel.go +++ /dev/null @@ -1,133 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryChannel AWS CloudFormation Resource (AWS::Config::DeliveryChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html -type DeliveryChannel struct { - - // ConfigSnapshotDeliveryProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-configsnapshotdeliveryproperties - ConfigSnapshotDeliveryProperties *DeliveryChannel_ConfigSnapshotDeliveryProperties `json:"ConfigSnapshotDeliveryProperties,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-name - Name *types.Value `json:"Name,omitempty"` - - // S3BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-s3bucketname - S3BucketName *types.Value `json:"S3BucketName,omitempty"` - - // S3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-s3keyprefix - S3KeyPrefix *types.Value `json:"S3KeyPrefix,omitempty"` - - // S3KmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-s3kmskeyarn - S3KmsKeyArn *types.Value `json:"S3KmsKeyArn,omitempty"` - - // SnsTopicARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-deliverychannel.html#cfn-config-deliverychannel-snstopicarn - SnsTopicARN *types.Value `json:"SnsTopicARN,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 *DeliveryChannel) AWSCloudFormationType() string { - return "AWS::Config::DeliveryChannel" -} - -// 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 (r DeliveryChannel) MarshalJSON() ([]byte, error) { - type Properties DeliveryChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeliveryChannel) UnmarshalJSON(b []byte) error { - type Properties DeliveryChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeliveryChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-deliverychannel_configsnapshotdeliveryproperties.go b/pkg/goformation/cloudformation/config/aws-config-deliverychannel_configsnapshotdeliveryproperties.go deleted file mode 100644 index 896b36610d..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-deliverychannel_configsnapshotdeliveryproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryChannel_ConfigSnapshotDeliveryProperties AWS CloudFormation Resource (AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-deliverychannel-configsnapshotdeliveryproperties.html -type DeliveryChannel_ConfigSnapshotDeliveryProperties struct { - - // DeliveryFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-deliverychannel-configsnapshotdeliveryproperties.html#cfn-config-deliverychannel-configsnapshotdeliveryproperties-deliveryfrequency - DeliveryFrequency *types.Value `json:"DeliveryFrequency,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 *DeliveryChannel_ConfigSnapshotDeliveryProperties) AWSCloudFormationType() string { - return "AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule.go b/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule.go deleted file mode 100644 index 8d80aaf935..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule.go +++ /dev/null @@ -1,123 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OrganizationConfigRule AWS CloudFormation Resource (AWS::Config::OrganizationConfigRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html -type OrganizationConfigRule struct { - - // ExcludedAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-excludedaccounts - ExcludedAccounts *types.Value `json:"ExcludedAccounts,omitempty"` - - // OrganizationConfigRuleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationconfigrulename - OrganizationConfigRuleName *types.Value `json:"OrganizationConfigRuleName,omitempty"` - - // OrganizationCustomRuleMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata - OrganizationCustomRuleMetadata *OrganizationConfigRule_OrganizationCustomRuleMetadata `json:"OrganizationCustomRuleMetadata,omitempty"` - - // OrganizationManagedRuleMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconfigrule.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata - OrganizationManagedRuleMetadata *OrganizationConfigRule_OrganizationManagedRuleMetadata `json:"OrganizationManagedRuleMetadata,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 *OrganizationConfigRule) AWSCloudFormationType() string { - return "AWS::Config::OrganizationConfigRule" -} - -// 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 (r OrganizationConfigRule) MarshalJSON() ([]byte, error) { - type Properties OrganizationConfigRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *OrganizationConfigRule) UnmarshalJSON(b []byte) error { - type Properties OrganizationConfigRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = OrganizationConfigRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationcustomrulemetadata.go b/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationcustomrulemetadata.go deleted file mode 100644 index 6dcdbced4d..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationcustomrulemetadata.go +++ /dev/null @@ -1,77 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OrganizationConfigRule_OrganizationCustomRuleMetadata AWS CloudFormation Resource (AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html -type OrganizationConfigRule_OrganizationCustomRuleMetadata struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-description - Description *types.Value `json:"Description,omitempty"` - - // InputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-inputparameters - InputParameters *types.Value `json:"InputParameters,omitempty"` - - // LambdaFunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-lambdafunctionarn - LambdaFunctionArn *types.Value `json:"LambdaFunctionArn,omitempty"` - - // MaximumExecutionFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-maximumexecutionfrequency - MaximumExecutionFrequency *types.Value `json:"MaximumExecutionFrequency,omitempty"` - - // OrganizationConfigRuleTriggerTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-organizationconfigruletriggertypes - OrganizationConfigRuleTriggerTypes *types.Value `json:"OrganizationConfigRuleTriggerTypes,omitempty"` - - // ResourceIdScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-resourceidscope - ResourceIdScope *types.Value `json:"ResourceIdScope,omitempty"` - - // ResourceTypesScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-resourcetypesscope - ResourceTypesScope *types.Value `json:"ResourceTypesScope,omitempty"` - - // TagKeyScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-tagkeyscope - TagKeyScope *types.Value `json:"TagKeyScope,omitempty"` - - // TagValueScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationcustomrulemetadata.html#cfn-config-organizationconfigrule-organizationcustomrulemetadata-tagvaluescope - TagValueScope *types.Value `json:"TagValueScope,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 *OrganizationConfigRule_OrganizationCustomRuleMetadata) AWSCloudFormationType() string { - return "AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationmanagedrulemetadata.go b/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationmanagedrulemetadata.go deleted file mode 100644 index 50d7724741..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-organizationconfigrule_organizationmanagedrulemetadata.go +++ /dev/null @@ -1,72 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OrganizationConfigRule_OrganizationManagedRuleMetadata AWS CloudFormation Resource (AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html -type OrganizationConfigRule_OrganizationManagedRuleMetadata struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-description - Description *types.Value `json:"Description,omitempty"` - - // InputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-inputparameters - InputParameters *types.Value `json:"InputParameters,omitempty"` - - // MaximumExecutionFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-maximumexecutionfrequency - MaximumExecutionFrequency *types.Value `json:"MaximumExecutionFrequency,omitempty"` - - // ResourceIdScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-resourceidscope - ResourceIdScope *types.Value `json:"ResourceIdScope,omitempty"` - - // ResourceTypesScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-resourcetypesscope - ResourceTypesScope *types.Value `json:"ResourceTypesScope,omitempty"` - - // RuleIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-ruleidentifier - RuleIdentifier *types.Value `json:"RuleIdentifier,omitempty"` - - // TagKeyScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-tagkeyscope - TagKeyScope *types.Value `json:"TagKeyScope,omitempty"` - - // TagValueScope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconfigrule-organizationmanagedrulemetadata.html#cfn-config-organizationconfigrule-organizationmanagedrulemetadata-tagvaluescope - TagValueScope *types.Value `json:"TagValueScope,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 *OrganizationConfigRule_OrganizationManagedRuleMetadata) AWSCloudFormationType() string { - return "AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack.go b/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack.go deleted file mode 100644 index 73574919ea..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack.go +++ /dev/null @@ -1,138 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OrganizationConformancePack AWS CloudFormation Resource (AWS::Config::OrganizationConformancePack) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html -type OrganizationConformancePack struct { - - // ConformancePackInputParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-conformancepackinputparameters - ConformancePackInputParameters []OrganizationConformancePack_ConformancePackInputParameter `json:"ConformancePackInputParameters,omitempty"` - - // DeliveryS3Bucket AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-deliverys3bucket - DeliveryS3Bucket *types.Value `json:"DeliveryS3Bucket,omitempty"` - - // DeliveryS3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-deliverys3keyprefix - DeliveryS3KeyPrefix *types.Value `json:"DeliveryS3KeyPrefix,omitempty"` - - // ExcludedAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-excludedaccounts - ExcludedAccounts *types.Value `json:"ExcludedAccounts,omitempty"` - - // OrganizationConformancePackName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-organizationconformancepackname - OrganizationConformancePackName *types.Value `json:"OrganizationConformancePackName,omitempty"` - - // TemplateBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-templatebody - TemplateBody *types.Value `json:"TemplateBody,omitempty"` - - // TemplateS3Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-organizationconformancepack.html#cfn-config-organizationconformancepack-templates3uri - TemplateS3Uri *types.Value `json:"TemplateS3Uri,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 *OrganizationConformancePack) AWSCloudFormationType() string { - return "AWS::Config::OrganizationConformancePack" -} - -// 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 (r OrganizationConformancePack) MarshalJSON() ([]byte, error) { - type Properties OrganizationConformancePack - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *OrganizationConformancePack) UnmarshalJSON(b []byte) error { - type Properties OrganizationConformancePack - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = OrganizationConformancePack(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack_conformancepackinputparameter.go b/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack_conformancepackinputparameter.go deleted file mode 100644 index c0e688f3a3..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-organizationconformancepack_conformancepackinputparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OrganizationConformancePack_ConformancePackInputParameter AWS CloudFormation Resource (AWS::Config::OrganizationConformancePack.ConformancePackInputParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html -type OrganizationConformancePack_ConformancePackInputParameter struct { - - // ParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html#cfn-config-organizationconformancepack-conformancepackinputparameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-organizationconformancepack-conformancepackinputparameter.html#cfn-config-organizationconformancepack-conformancepackinputparameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *OrganizationConformancePack_ConformancePackInputParameter) AWSCloudFormationType() string { - return "AWS::Config::OrganizationConformancePack.ConformancePackInputParameter" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration.go b/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration.go deleted file mode 100644 index df4b654ec2..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration.go +++ /dev/null @@ -1,153 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RemediationConfiguration AWS CloudFormation Resource (AWS::Config::RemediationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html -type RemediationConfiguration struct { - - // Automatic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-automatic - Automatic *types.Value `json:"Automatic,omitempty"` - - // ConfigRuleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-configrulename - ConfigRuleName *types.Value `json:"ConfigRuleName,omitempty"` - - // ExecutionControls AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-executioncontrols - ExecutionControls *RemediationConfiguration_ExecutionControls `json:"ExecutionControls,omitempty"` - - // MaximumAutomaticAttempts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-maximumautomaticattempts - MaximumAutomaticAttempts *types.Value `json:"MaximumAutomaticAttempts,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-resourcetype - ResourceType *types.Value `json:"ResourceType,omitempty"` - - // RetryAttemptSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-retryattemptseconds - RetryAttemptSeconds *types.Value `json:"RetryAttemptSeconds,omitempty"` - - // TargetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targetid - TargetId *types.Value `json:"TargetId,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targettype - TargetType *types.Value `json:"TargetType,omitempty"` - - // TargetVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targetversion - TargetVersion *types.Value `json:"TargetVersion,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 *RemediationConfiguration) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration" -} - -// 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 (r RemediationConfiguration) MarshalJSON() ([]byte, error) { - type Properties RemediationConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RemediationConfiguration) UnmarshalJSON(b []byte) error { - type Properties RemediationConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RemediationConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_executioncontrols.go b/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_executioncontrols.go deleted file mode 100644 index 82928cee24..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_executioncontrols.go +++ /dev/null @@ -1,35 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RemediationConfiguration_ExecutionControls AWS CloudFormation Resource (AWS::Config::RemediationConfiguration.ExecutionControls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-executioncontrols.html -type RemediationConfiguration_ExecutionControls struct { - - // SsmControls AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-executioncontrols.html#cfn-config-remediationconfiguration-executioncontrols-ssmcontrols - SsmControls *RemediationConfiguration_SsmControls `json:"SsmControls,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 *RemediationConfiguration_ExecutionControls) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration.ExecutionControls" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_remediationparametervalue.go b/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_remediationparametervalue.go deleted file mode 100644 index b4895e8db4..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_remediationparametervalue.go +++ /dev/null @@ -1,40 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RemediationConfiguration_RemediationParameterValue AWS CloudFormation Resource (AWS::Config::RemediationConfiguration.RemediationParameterValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-remediationparametervalue.html -type RemediationConfiguration_RemediationParameterValue struct { - - // ResourceValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-remediationparametervalue.html#cfn-config-remediationconfiguration-remediationparametervalue-resourcevalue - ResourceValue *RemediationConfiguration_ResourceValue `json:"ResourceValue,omitempty"` - - // StaticValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-remediationparametervalue.html#cfn-config-remediationconfiguration-remediationparametervalue-staticvalue - StaticValue *RemediationConfiguration_StaticValue `json:"StaticValue,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 *RemediationConfiguration_RemediationParameterValue) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration.RemediationParameterValue" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_ssmcontrols.go b/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_ssmcontrols.go deleted file mode 100644 index d113b3a4b4..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_ssmcontrols.go +++ /dev/null @@ -1,42 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RemediationConfiguration_SsmControls AWS CloudFormation Resource (AWS::Config::RemediationConfiguration.SsmControls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html -type RemediationConfiguration_SsmControls struct { - - // ConcurrentExecutionRatePercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html#cfn-config-remediationconfiguration-ssmcontrols-concurrentexecutionratepercentage - ConcurrentExecutionRatePercentage *types.Value `json:"ConcurrentExecutionRatePercentage,omitempty"` - - // ErrorPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html#cfn-config-remediationconfiguration-ssmcontrols-errorpercentage - ErrorPercentage *types.Value `json:"ErrorPercentage,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 *RemediationConfiguration_SsmControls) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration.SsmControls" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_staticvalue.go b/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_staticvalue.go deleted file mode 100644 index 8af69eb403..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_staticvalue.go +++ /dev/null @@ -1,37 +0,0 @@ -package config - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RemediationConfiguration_StaticValue AWS CloudFormation Resource (AWS::Config::RemediationConfiguration.StaticValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-staticvalue.html -type RemediationConfiguration_StaticValue struct { - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-staticvalue.html#cfn-config-remediationconfiguration-staticvalue-values - Values *types.Value `json:"Values,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 *RemediationConfiguration_StaticValue) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration.StaticValue" -} diff --git a/pkg/goformation/cloudformation/config/aws-config-storedquery.go b/pkg/goformation/cloudformation/config/aws-config-storedquery.go deleted file mode 100644 index db3e01d216..0000000000 --- a/pkg/goformation/cloudformation/config/aws-config-storedquery.go +++ /dev/null @@ -1,124 +0,0 @@ -package config - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StoredQuery AWS CloudFormation Resource (AWS::Config::StoredQuery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html -type StoredQuery struct { - - // QueryDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-querydescription - QueryDescription *types.Value `json:"QueryDescription,omitempty"` - - // QueryExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-queryexpression - QueryExpression *types.Value `json:"QueryExpression,omitempty"` - - // QueryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-queryname - QueryName *types.Value `json:"QueryName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html#cfn-config-storedquery-tags - Tags []cloudformation.Tag `json:"Tags,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 *StoredQuery) AWSCloudFormationType() string { - return "AWS::Config::StoredQuery" -} - -// 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 (r StoredQuery) MarshalJSON() ([]byte, error) { - type Properties StoredQuery - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StoredQuery) UnmarshalJSON(b []byte) error { - type Properties StoredQuery - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StoredQuery(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-contactflow.go b/pkg/goformation/cloudformation/connect/aws-connect-contactflow.go deleted file mode 100644 index 07173af682..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-contactflow.go +++ /dev/null @@ -1,139 +0,0 @@ -package connect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContactFlow AWS CloudFormation Resource (AWS::Connect::ContactFlow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html -type ContactFlow struct { - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-content - Content *types.Value `json:"Content,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-description - Description *types.Value `json:"Description,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-name - Name *types.Value `json:"Name,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflow.html#cfn-connect-contactflow-type - Type *types.Value `json:"Type,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 *ContactFlow) AWSCloudFormationType() string { - return "AWS::Connect::ContactFlow" -} - -// 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 (r ContactFlow) MarshalJSON() ([]byte, error) { - type Properties ContactFlow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ContactFlow) UnmarshalJSON(b []byte) error { - type Properties ContactFlow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ContactFlow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-contactflowmodule.go b/pkg/goformation/cloudformation/connect/aws-connect-contactflowmodule.go deleted file mode 100644 index fd7ff4bf0b..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-contactflowmodule.go +++ /dev/null @@ -1,134 +0,0 @@ -package connect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContactFlowModule AWS CloudFormation Resource (AWS::Connect::ContactFlowModule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html -type ContactFlowModule struct { - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-content - Content *types.Value `json:"Content,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-description - Description *types.Value `json:"Description,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-name - Name *types.Value `json:"Name,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowmodule.html#cfn-connect-contactflowmodule-tags - Tags []cloudformation.Tag `json:"Tags,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 *ContactFlowModule) AWSCloudFormationType() string { - return "AWS::Connect::ContactFlowModule" -} - -// 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 (r ContactFlowModule) MarshalJSON() ([]byte, error) { - type Properties ContactFlowModule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ContactFlowModule) UnmarshalJSON(b []byte) error { - type Properties ContactFlowModule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ContactFlowModule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation.go b/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation.go deleted file mode 100644 index 3b62d0e9e9..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation.go +++ /dev/null @@ -1,134 +0,0 @@ -package connect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// HoursOfOperation AWS CloudFormation Resource (AWS::Connect::HoursOfOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html -type HoursOfOperation struct { - - // Config AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-config - Config []HoursOfOperation_HoursOfOperationConfig `json:"Config,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-description - Description *types.Value `json:"Description,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TimeZone AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-hoursofoperation.html#cfn-connect-hoursofoperation-timezone - TimeZone *types.Value `json:"TimeZone,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 *HoursOfOperation) AWSCloudFormationType() string { - return "AWS::Connect::HoursOfOperation" -} - -// 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 (r HoursOfOperation) MarshalJSON() ([]byte, error) { - type Properties HoursOfOperation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *HoursOfOperation) UnmarshalJSON(b []byte) error { - type Properties HoursOfOperation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = HoursOfOperation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationconfig.go deleted file mode 100644 index ab70bb5d21..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// HoursOfOperation_HoursOfOperationConfig AWS CloudFormation Resource (AWS::Connect::HoursOfOperation.HoursOfOperationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html -type HoursOfOperation_HoursOfOperationConfig struct { - - // Day AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-day - Day *types.Value `json:"Day,omitempty"` - - // EndTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-endtime - EndTime *HoursOfOperation_HoursOfOperationTimeSlice `json:"EndTime,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationconfig.html#cfn-connect-hoursofoperation-hoursofoperationconfig-starttime - StartTime *HoursOfOperation_HoursOfOperationTimeSlice `json:"StartTime,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 *HoursOfOperation_HoursOfOperationConfig) AWSCloudFormationType() string { - return "AWS::Connect::HoursOfOperation.HoursOfOperationConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationtimeslice.go b/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationtimeslice.go deleted file mode 100644 index c438b406a8..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-hoursofoperation_hoursofoperationtimeslice.go +++ /dev/null @@ -1,42 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// HoursOfOperation_HoursOfOperationTimeSlice AWS CloudFormation Resource (AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html -type HoursOfOperation_HoursOfOperationTimeSlice struct { - - // Hours AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-hours - Hours *types.Value `json:"Hours"` - - // Minutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-hoursofoperation-hoursofoperationtimeslice.html#cfn-connect-hoursofoperation-hoursofoperationtimeslice-minutes - Minutes *types.Value `json:"Minutes"` - - // 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 *HoursOfOperation_HoursOfOperationTimeSlice) AWSCloudFormationType() string { - return "AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect.go b/pkg/goformation/cloudformation/connect/aws-connect-quickconnect.go deleted file mode 100644 index 38561d00cc..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect.go +++ /dev/null @@ -1,129 +0,0 @@ -package connect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QuickConnect AWS CloudFormation Resource (AWS::Connect::QuickConnect) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html -type QuickConnect struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-description - Description *types.Value `json:"Description,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-name - Name *types.Value `json:"Name,omitempty"` - - // QuickConnectConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-quickconnectconfig - QuickConnectConfig *QuickConnect_QuickConnectConfig `json:"QuickConnectConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-quickconnect.html#cfn-connect-quickconnect-tags - Tags []cloudformation.Tag `json:"Tags,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 *QuickConnect) AWSCloudFormationType() string { - return "AWS::Connect::QuickConnect" -} - -// 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 (r QuickConnect) MarshalJSON() ([]byte, error) { - type Properties QuickConnect - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *QuickConnect) UnmarshalJSON(b []byte) error { - type Properties QuickConnect - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = QuickConnect(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_phonenumberquickconnectconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_phonenumberquickconnectconfig.go deleted file mode 100644 index ae1a2b3c60..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_phonenumberquickconnectconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QuickConnect_PhoneNumberQuickConnectConfig AWS CloudFormation Resource (AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-phonenumberquickconnectconfig.html -type QuickConnect_PhoneNumberQuickConnectConfig struct { - - // PhoneNumber AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-phonenumberquickconnectconfig.html#cfn-connect-quickconnect-phonenumberquickconnectconfig-phonenumber - PhoneNumber *types.Value `json:"PhoneNumber,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 *QuickConnect_PhoneNumberQuickConnectConfig) AWSCloudFormationType() string { - return "AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_queuequickconnectconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_queuequickconnectconfig.go deleted file mode 100644 index 1a57704b1b..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_queuequickconnectconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QuickConnect_QueueQuickConnectConfig AWS CloudFormation Resource (AWS::Connect::QuickConnect.QueueQuickConnectConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-queuequickconnectconfig.html -type QuickConnect_QueueQuickConnectConfig struct { - - // ContactFlowArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-queuequickconnectconfig.html#cfn-connect-quickconnect-queuequickconnectconfig-contactflowarn - ContactFlowArn *types.Value `json:"ContactFlowArn,omitempty"` - - // QueueArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-queuequickconnectconfig.html#cfn-connect-quickconnect-queuequickconnectconfig-queuearn - QueueArn *types.Value `json:"QueueArn,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 *QuickConnect_QueueQuickConnectConfig) AWSCloudFormationType() string { - return "AWS::Connect::QuickConnect.QueueQuickConnectConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_quickconnectconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_quickconnectconfig.go deleted file mode 100644 index 0991ef9245..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_quickconnectconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QuickConnect_QuickConnectConfig AWS CloudFormation Resource (AWS::Connect::QuickConnect.QuickConnectConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html -type QuickConnect_QuickConnectConfig struct { - - // PhoneConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-phoneconfig - PhoneConfig *QuickConnect_PhoneNumberQuickConnectConfig `json:"PhoneConfig,omitempty"` - - // QueueConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-queueconfig - QueueConfig *QuickConnect_QueueQuickConnectConfig `json:"QueueConfig,omitempty"` - - // QuickConnectType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-quickconnecttype - QuickConnectType *types.Value `json:"QuickConnectType,omitempty"` - - // UserConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-quickconnectconfig.html#cfn-connect-quickconnect-quickconnectconfig-userconfig - UserConfig *QuickConnect_UserQuickConnectConfig `json:"UserConfig,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 *QuickConnect_QuickConnectConfig) AWSCloudFormationType() string { - return "AWS::Connect::QuickConnect.QuickConnectConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_userquickconnectconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_userquickconnectconfig.go deleted file mode 100644 index 02a5d915ad..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-quickconnect_userquickconnectconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QuickConnect_UserQuickConnectConfig AWS CloudFormation Resource (AWS::Connect::QuickConnect.UserQuickConnectConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-userquickconnectconfig.html -type QuickConnect_UserQuickConnectConfig struct { - - // ContactFlowArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-userquickconnectconfig.html#cfn-connect-quickconnect-userquickconnectconfig-contactflowarn - ContactFlowArn *types.Value `json:"ContactFlowArn,omitempty"` - - // UserArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-quickconnect-userquickconnectconfig.html#cfn-connect-quickconnect-userquickconnectconfig-userarn - UserArn *types.Value `json:"UserArn,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 *QuickConnect_UserQuickConnectConfig) AWSCloudFormationType() string { - return "AWS::Connect::QuickConnect.UserQuickConnectConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-user_useridentityinfo.go b/pkg/goformation/cloudformation/connect/aws-connect-user_useridentityinfo.go deleted file mode 100644 index 5086f3e03c..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-user_useridentityinfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User_UserIdentityInfo AWS CloudFormation Resource (AWS::Connect::User.UserIdentityInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html -type User_UserIdentityInfo struct { - - // Email AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-email - Email *types.Value `json:"Email,omitempty"` - - // FirstName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-firstname - FirstName *types.Value `json:"FirstName,omitempty"` - - // LastName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-useridentityinfo.html#cfn-connect-user-useridentityinfo-lastname - LastName *types.Value `json:"LastName,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 *User_UserIdentityInfo) AWSCloudFormationType() string { - return "AWS::Connect::User.UserIdentityInfo" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-user_userphoneconfig.go b/pkg/goformation/cloudformation/connect/aws-connect-user_userphoneconfig.go deleted file mode 100644 index fb4b8a0a8c..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-user_userphoneconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package connect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User_UserPhoneConfig AWS CloudFormation Resource (AWS::Connect::User.UserPhoneConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html -type User_UserPhoneConfig struct { - - // AfterContactWorkTimeLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-aftercontactworktimelimit - AfterContactWorkTimeLimit *types.Value `json:"AfterContactWorkTimeLimit,omitempty"` - - // AutoAccept AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-autoaccept - AutoAccept *types.Value `json:"AutoAccept,omitempty"` - - // DeskPhoneNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-deskphonenumber - DeskPhoneNumber *types.Value `json:"DeskPhoneNumber,omitempty"` - - // PhoneType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-user-userphoneconfig.html#cfn-connect-user-userphoneconfig-phonetype - PhoneType *types.Value `json:"PhoneType,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 *User_UserPhoneConfig) AWSCloudFormationType() string { - return "AWS::Connect::User.UserPhoneConfig" -} diff --git a/pkg/goformation/cloudformation/connect/aws-connect-userhierarchygroup.go b/pkg/goformation/cloudformation/connect/aws-connect-userhierarchygroup.go deleted file mode 100644 index b4531758dd..0000000000 --- a/pkg/goformation/cloudformation/connect/aws-connect-userhierarchygroup.go +++ /dev/null @@ -1,118 +0,0 @@ -package connect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserHierarchyGroup AWS CloudFormation Resource (AWS::Connect::UserHierarchyGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html -type UserHierarchyGroup struct { - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-name - Name *types.Value `json:"Name,omitempty"` - - // ParentGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-userhierarchygroup.html#cfn-connect-userhierarchygroup-parentgrouparn - ParentGroupArn *types.Value `json:"ParentGroupArn,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 *UserHierarchyGroup) AWSCloudFormationType() string { - return "AWS::Connect::UserHierarchyGroup" -} - -// 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 (r UserHierarchyGroup) MarshalJSON() ([]byte, error) { - type Properties UserHierarchyGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserHierarchyGroup) UnmarshalJSON(b []byte) error { - type Properties UserHierarchyGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserHierarchyGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/cur/aws-cur-reportdefinition.go b/pkg/goformation/cloudformation/cur/aws-cur-reportdefinition.go deleted file mode 100644 index 31719e91b9..0000000000 --- a/pkg/goformation/cloudformation/cur/aws-cur-reportdefinition.go +++ /dev/null @@ -1,163 +0,0 @@ -package cur - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReportDefinition AWS CloudFormation Resource (AWS::CUR::ReportDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html -type ReportDefinition struct { - - // AdditionalArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-additionalartifacts - AdditionalArtifacts *types.Value `json:"AdditionalArtifacts,omitempty"` - - // AdditionalSchemaElements AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-additionalschemaelements - AdditionalSchemaElements *types.Value `json:"AdditionalSchemaElements,omitempty"` - - // BillingViewArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-billingviewarn - BillingViewArn *types.Value `json:"BillingViewArn,omitempty"` - - // Compression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-compression - Compression *types.Value `json:"Compression,omitempty"` - - // Format AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-format - Format *types.Value `json:"Format,omitempty"` - - // RefreshClosedReports AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-refreshclosedreports - RefreshClosedReports *types.Value `json:"RefreshClosedReports"` - - // ReportName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-reportname - ReportName *types.Value `json:"ReportName,omitempty"` - - // ReportVersioning AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-reportversioning - ReportVersioning *types.Value `json:"ReportVersioning,omitempty"` - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Prefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-s3prefix - S3Prefix *types.Value `json:"S3Prefix,omitempty"` - - // S3Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-s3region - S3Region *types.Value `json:"S3Region,omitempty"` - - // TimeUnit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html#cfn-cur-reportdefinition-timeunit - TimeUnit *types.Value `json:"TimeUnit,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 *ReportDefinition) AWSCloudFormationType() string { - return "AWS::CUR::ReportDefinition" -} - -// 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 (r ReportDefinition) MarshalJSON() ([]byte, error) { - type Properties ReportDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReportDefinition) UnmarshalJSON(b []byte) error { - type Properties ReportDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReportDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-domain.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-domain.go deleted file mode 100644 index 934290785b..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-domain.go +++ /dev/null @@ -1,129 +0,0 @@ -package customerprofiles - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::CustomerProfiles::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html -type Domain struct { - - // DeadLetterQueueUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html#cfn-customerprofiles-domain-deadletterqueueurl - DeadLetterQueueUrl *types.Value `json:"DeadLetterQueueUrl,omitempty"` - - // DefaultEncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html#cfn-customerprofiles-domain-defaultencryptionkey - DefaultEncryptionKey *types.Value `json:"DefaultEncryptionKey,omitempty"` - - // DefaultExpirationDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html#cfn-customerprofiles-domain-defaultexpirationdays - DefaultExpirationDays *types.Value `json:"DefaultExpirationDays,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html#cfn-customerprofiles-domain-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-domain.html#cfn-customerprofiles-domain-tags - Tags []cloudformation.Tag `json:"Tags,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 *Domain) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_connectoroperator.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_connectoroperator.go deleted file mode 100644 index 28b298eb88..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_connectoroperator.go +++ /dev/null @@ -1,57 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ConnectorOperator AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.ConnectorOperator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html -type Integration_ConnectorOperator struct { - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html#cfn-customerprofiles-integration-connectoroperator-marketo - Marketo *types.Value `json:"Marketo,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html#cfn-customerprofiles-integration-connectoroperator-s3 - S3 *types.Value `json:"S3,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html#cfn-customerprofiles-integration-connectoroperator-salesforce - Salesforce *types.Value `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html#cfn-customerprofiles-integration-connectoroperator-servicenow - ServiceNow *types.Value `json:"ServiceNow,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-connectoroperator.html#cfn-customerprofiles-integration-connectoroperator-zendesk - Zendesk *types.Value `json:"Zendesk,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 *Integration_ConnectorOperator) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.ConnectorOperator" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_flowdefinition.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_flowdefinition.go deleted file mode 100644 index af85792439..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_flowdefinition.go +++ /dev/null @@ -1,62 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_FlowDefinition AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.FlowDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html -type Integration_FlowDefinition struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-description - Description *types.Value `json:"Description,omitempty"` - - // FlowName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-flowname - FlowName *types.Value `json:"FlowName,omitempty"` - - // KmsArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-kmsarn - KmsArn *types.Value `json:"KmsArn,omitempty"` - - // SourceFlowConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-sourceflowconfig - SourceFlowConfig *Integration_SourceFlowConfig `json:"SourceFlowConfig,omitempty"` - - // Tasks AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-tasks - Tasks []Integration_Task `json:"Tasks,omitempty"` - - // TriggerConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-flowdefinition.html#cfn-customerprofiles-integration-flowdefinition-triggerconfig - TriggerConfig *Integration_TriggerConfig `json:"TriggerConfig,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 *Integration_FlowDefinition) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.FlowDefinition" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_incrementalpullconfig.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_incrementalpullconfig.go deleted file mode 100644 index 9e8e76afc6..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_incrementalpullconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_IncrementalPullConfig AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.IncrementalPullConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-incrementalpullconfig.html -type Integration_IncrementalPullConfig struct { - - // DatetimeTypeFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-incrementalpullconfig.html#cfn-customerprofiles-integration-incrementalpullconfig-datetimetypefieldname - DatetimeTypeFieldName *types.Value `json:"DatetimeTypeFieldName,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 *Integration_IncrementalPullConfig) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.IncrementalPullConfig" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_marketosourceproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_marketosourceproperties.go deleted file mode 100644 index dfe67e46ff..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_marketosourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_MarketoSourceProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.MarketoSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-marketosourceproperties.html -type Integration_MarketoSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-marketosourceproperties.html#cfn-customerprofiles-integration-marketosourceproperties-object - Object *types.Value `json:"Object,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 *Integration_MarketoSourceProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.MarketoSourceProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_s3sourceproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_s3sourceproperties.go deleted file mode 100644 index 76ac05d452..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_s3sourceproperties.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_S3SourceProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.S3SourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-s3sourceproperties.html -type Integration_S3SourceProperties struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-s3sourceproperties.html#cfn-customerprofiles-integration-s3sourceproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-s3sourceproperties.html#cfn-customerprofiles-integration-s3sourceproperties-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,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 *Integration_S3SourceProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.S3SourceProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_salesforcesourceproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_salesforcesourceproperties.go deleted file mode 100644 index ac0edc91df..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_salesforcesourceproperties.go +++ /dev/null @@ -1,47 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_SalesforceSourceProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.SalesforceSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-salesforcesourceproperties.html -type Integration_SalesforceSourceProperties struct { - - // EnableDynamicFieldUpdate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-salesforcesourceproperties.html#cfn-customerprofiles-integration-salesforcesourceproperties-enabledynamicfieldupdate - EnableDynamicFieldUpdate *types.Value `json:"EnableDynamicFieldUpdate,omitempty"` - - // IncludeDeletedRecords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-salesforcesourceproperties.html#cfn-customerprofiles-integration-salesforcesourceproperties-includedeletedrecords - IncludeDeletedRecords *types.Value `json:"IncludeDeletedRecords,omitempty"` - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-salesforcesourceproperties.html#cfn-customerprofiles-integration-salesforcesourceproperties-object - Object *types.Value `json:"Object,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 *Integration_SalesforceSourceProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.SalesforceSourceProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_scheduledtriggerproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_scheduledtriggerproperties.go deleted file mode 100644 index dbc9f33844..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_scheduledtriggerproperties.go +++ /dev/null @@ -1,67 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ScheduledTriggerProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.ScheduledTriggerProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html -type Integration_ScheduledTriggerProperties struct { - - // DataPullMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-datapullmode - DataPullMode *types.Value `json:"DataPullMode,omitempty"` - - // FirstExecutionFrom AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-firstexecutionfrom - FirstExecutionFrom *types.Value `json:"FirstExecutionFrom,omitempty"` - - // ScheduleEndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-scheduleendtime - ScheduleEndTime *types.Value `json:"ScheduleEndTime,omitempty"` - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,omitempty"` - - // ScheduleOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-scheduleoffset - ScheduleOffset *types.Value `json:"ScheduleOffset,omitempty"` - - // ScheduleStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-schedulestarttime - ScheduleStartTime *types.Value `json:"ScheduleStartTime,omitempty"` - - // Timezone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-scheduledtriggerproperties.html#cfn-customerprofiles-integration-scheduledtriggerproperties-timezone - Timezone *types.Value `json:"Timezone,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 *Integration_ScheduledTriggerProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.ScheduledTriggerProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_servicenowsourceproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_servicenowsourceproperties.go deleted file mode 100644 index 740f0fad14..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_servicenowsourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ServiceNowSourceProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.ServiceNowSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-servicenowsourceproperties.html -type Integration_ServiceNowSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-servicenowsourceproperties.html#cfn-customerprofiles-integration-servicenowsourceproperties-object - Object *types.Value `json:"Object,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 *Integration_ServiceNowSourceProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.ServiceNowSourceProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceconnectorproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceconnectorproperties.go deleted file mode 100644 index a6b3905a63..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceconnectorproperties.go +++ /dev/null @@ -1,55 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_SourceConnectorProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.SourceConnectorProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html -type Integration_SourceConnectorProperties struct { - - // Marketo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html#cfn-customerprofiles-integration-sourceconnectorproperties-marketo - Marketo *Integration_MarketoSourceProperties `json:"Marketo,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html#cfn-customerprofiles-integration-sourceconnectorproperties-s3 - S3 *Integration_S3SourceProperties `json:"S3,omitempty"` - - // Salesforce AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html#cfn-customerprofiles-integration-sourceconnectorproperties-salesforce - Salesforce *Integration_SalesforceSourceProperties `json:"Salesforce,omitempty"` - - // ServiceNow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html#cfn-customerprofiles-integration-sourceconnectorproperties-servicenow - ServiceNow *Integration_ServiceNowSourceProperties `json:"ServiceNow,omitempty"` - - // Zendesk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceconnectorproperties.html#cfn-customerprofiles-integration-sourceconnectorproperties-zendesk - Zendesk *Integration_ZendeskSourceProperties `json:"Zendesk,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 *Integration_SourceConnectorProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.SourceConnectorProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceflowconfig.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceflowconfig.go deleted file mode 100644 index bbb4ed0acb..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_sourceflowconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_SourceFlowConfig AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.SourceFlowConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceflowconfig.html -type Integration_SourceFlowConfig struct { - - // ConnectorProfileName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceflowconfig.html#cfn-customerprofiles-integration-sourceflowconfig-connectorprofilename - ConnectorProfileName *types.Value `json:"ConnectorProfileName,omitempty"` - - // ConnectorType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceflowconfig.html#cfn-customerprofiles-integration-sourceflowconfig-connectortype - ConnectorType *types.Value `json:"ConnectorType,omitempty"` - - // IncrementalPullConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceflowconfig.html#cfn-customerprofiles-integration-sourceflowconfig-incrementalpullconfig - IncrementalPullConfig *Integration_IncrementalPullConfig `json:"IncrementalPullConfig,omitempty"` - - // SourceConnectorProperties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-sourceflowconfig.html#cfn-customerprofiles-integration-sourceflowconfig-sourceconnectorproperties - SourceConnectorProperties *Integration_SourceConnectorProperties `json:"SourceConnectorProperties,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 *Integration_SourceFlowConfig) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.SourceFlowConfig" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_task.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_task.go deleted file mode 100644 index d0012286cd..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_task.go +++ /dev/null @@ -1,57 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_Task AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.Task) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html -type Integration_Task struct { - - // ConnectorOperator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html#cfn-customerprofiles-integration-task-connectoroperator - ConnectorOperator *Integration_ConnectorOperator `json:"ConnectorOperator,omitempty"` - - // DestinationField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html#cfn-customerprofiles-integration-task-destinationfield - DestinationField *types.Value `json:"DestinationField,omitempty"` - - // SourceFields AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html#cfn-customerprofiles-integration-task-sourcefields - SourceFields *types.Value `json:"SourceFields,omitempty"` - - // TaskProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html#cfn-customerprofiles-integration-task-taskproperties - TaskProperties []Integration_TaskPropertiesMap `json:"TaskProperties,omitempty"` - - // TaskType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-task.html#cfn-customerprofiles-integration-task-tasktype - TaskType *types.Value `json:"TaskType,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 *Integration_Task) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.Task" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_taskpropertiesmap.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_taskpropertiesmap.go deleted file mode 100644 index 99487943be..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_taskpropertiesmap.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_TaskPropertiesMap AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.TaskPropertiesMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-taskpropertiesmap.html -type Integration_TaskPropertiesMap struct { - - // OperatorPropertyKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-taskpropertiesmap.html#cfn-customerprofiles-integration-taskpropertiesmap-operatorpropertykey - OperatorPropertyKey *types.Value `json:"OperatorPropertyKey,omitempty"` - - // Property AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-taskpropertiesmap.html#cfn-customerprofiles-integration-taskpropertiesmap-property - Property *types.Value `json:"Property,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 *Integration_TaskPropertiesMap) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.TaskPropertiesMap" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerconfig.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerconfig.go deleted file mode 100644 index f747fd9820..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_TriggerConfig AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.TriggerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-triggerconfig.html -type Integration_TriggerConfig struct { - - // TriggerProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-triggerconfig.html#cfn-customerprofiles-integration-triggerconfig-triggerproperties - TriggerProperties *Integration_TriggerProperties `json:"TriggerProperties,omitempty"` - - // TriggerType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-triggerconfig.html#cfn-customerprofiles-integration-triggerconfig-triggertype - TriggerType *types.Value `json:"TriggerType,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 *Integration_TriggerConfig) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.TriggerConfig" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerproperties.go deleted file mode 100644 index d309c6c860..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_triggerproperties.go +++ /dev/null @@ -1,35 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_TriggerProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.TriggerProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-triggerproperties.html -type Integration_TriggerProperties struct { - - // Scheduled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-triggerproperties.html#cfn-customerprofiles-integration-triggerproperties-scheduled - Scheduled *Integration_ScheduledTriggerProperties `json:"Scheduled,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 *Integration_TriggerProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.TriggerProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_zendesksourceproperties.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_zendesksourceproperties.go deleted file mode 100644 index 622e775705..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration_zendesksourceproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Integration_ZendeskSourceProperties AWS CloudFormation Resource (AWS::CustomerProfiles::Integration.ZendeskSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-zendesksourceproperties.html -type Integration_ZendeskSourceProperties struct { - - // Object AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-integration-zendesksourceproperties.html#cfn-customerprofiles-integration-zendesksourceproperties-object - Object *types.Value `json:"Object,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 *Integration_ZendeskSourceProperties) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration.ZendeskSourceProperties" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype.go deleted file mode 100644 index 2112107f0e..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype.go +++ /dev/null @@ -1,154 +0,0 @@ -package customerprofiles - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ObjectType AWS CloudFormation Resource (AWS::CustomerProfiles::ObjectType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html -type ObjectType struct { - - // AllowProfileCreation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-allowprofilecreation - AllowProfileCreation *types.Value `json:"AllowProfileCreation,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-description - Description *types.Value `json:"Description,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // EncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-encryptionkey - EncryptionKey *types.Value `json:"EncryptionKey,omitempty"` - - // ExpirationDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-expirationdays - ExpirationDays *types.Value `json:"ExpirationDays,omitempty"` - - // Fields AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-fields - Fields []ObjectType_FieldMap `json:"Fields,omitempty"` - - // Keys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-keys - Keys []ObjectType_KeyMap `json:"Keys,omitempty"` - - // ObjectTypeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-objecttypename - ObjectTypeName *types.Value `json:"ObjectTypeName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TemplateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-templateid - TemplateId *types.Value `json:"TemplateId,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 *ObjectType) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::ObjectType" -} - -// 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 (r ObjectType) MarshalJSON() ([]byte, error) { - type Properties ObjectType - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ObjectType) UnmarshalJSON(b []byte) error { - type Properties ObjectType - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ObjectType(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_fieldmap.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_fieldmap.go deleted file mode 100644 index b3638238dc..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_fieldmap.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ObjectType_FieldMap AWS CloudFormation Resource (AWS::CustomerProfiles::ObjectType.FieldMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-fieldmap.html -type ObjectType_FieldMap struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-fieldmap.html#cfn-customerprofiles-objecttype-fieldmap-name - Name *types.Value `json:"Name,omitempty"` - - // ObjectTypeField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-fieldmap.html#cfn-customerprofiles-objecttype-fieldmap-objecttypefield - ObjectTypeField *ObjectType_ObjectTypeField `json:"ObjectTypeField,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 *ObjectType_FieldMap) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::ObjectType.FieldMap" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_keymap.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_keymap.go deleted file mode 100644 index 2171d34469..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_keymap.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ObjectType_KeyMap AWS CloudFormation Resource (AWS::CustomerProfiles::ObjectType.KeyMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-keymap.html -type ObjectType_KeyMap struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-keymap.html#cfn-customerprofiles-objecttype-keymap-name - Name *types.Value `json:"Name,omitempty"` - - // ObjectTypeKeyList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-keymap.html#cfn-customerprofiles-objecttype-keymap-objecttypekeylist - ObjectTypeKeyList []ObjectType_ObjectTypeKey `json:"ObjectTypeKeyList,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 *ObjectType_KeyMap) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::ObjectType.KeyMap" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypefield.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypefield.go deleted file mode 100644 index 4bf56e4258..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypefield.go +++ /dev/null @@ -1,47 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ObjectType_ObjectTypeField AWS CloudFormation Resource (AWS::CustomerProfiles::ObjectType.ObjectTypeField) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypefield.html -type ObjectType_ObjectTypeField struct { - - // ContentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypefield.html#cfn-customerprofiles-objecttype-objecttypefield-contenttype - ContentType *types.Value `json:"ContentType,omitempty"` - - // Source AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypefield.html#cfn-customerprofiles-objecttype-objecttypefield-source - Source *types.Value `json:"Source,omitempty"` - - // Target AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypefield.html#cfn-customerprofiles-objecttype-objecttypefield-target - Target *types.Value `json:"Target,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 *ObjectType_ObjectTypeField) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::ObjectType.ObjectTypeField" -} diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypekey.go b/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypekey.go deleted file mode 100644 index ed8f9a5cb1..0000000000 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-objecttype_objecttypekey.go +++ /dev/null @@ -1,42 +0,0 @@ -package customerprofiles - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ObjectType_ObjectTypeKey AWS CloudFormation Resource (AWS::CustomerProfiles::ObjectType.ObjectTypeKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypekey.html -type ObjectType_ObjectTypeKey struct { - - // FieldNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypekey.html#cfn-customerprofiles-objecttype-objecttypekey-fieldnames - FieldNames *types.Value `json:"FieldNames,omitempty"` - - // StandardIdentifiers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-objecttype-objecttypekey.html#cfn-customerprofiles-objecttype-objecttypekey-standardidentifiers - StandardIdentifiers *types.Value `json:"StandardIdentifiers,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 *ObjectType_ObjectTypeKey) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::ObjectType.ObjectTypeKey" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset.go deleted file mode 100644 index 803f981c5d..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset.go +++ /dev/null @@ -1,134 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset AWS CloudFormation Resource (AWS::DataBrew::Dataset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html -type Dataset struct { - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-format - Format *types.Value `json:"Format,omitempty"` - - // FormatOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-formatoptions - FormatOptions *Dataset_FormatOptions `json:"FormatOptions,omitempty"` - - // Input AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-input - Input *Dataset_Input `json:"Input,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-name - Name *types.Value `json:"Name,omitempty"` - - // PathOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-pathoptions - PathOptions *Dataset_PathOptions `json:"PathOptions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html#cfn-databrew-dataset-tags - Tags []cloudformation.Tag `json:"Tags,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 *Dataset) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset" -} - -// 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 (r Dataset) MarshalJSON() ([]byte, error) { - type Properties Dataset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Dataset) UnmarshalJSON(b []byte) error { - type Properties Dataset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Dataset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_csvoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_csvoptions.go deleted file mode 100644 index da9293acb4..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_csvoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_CsvOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.CsvOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-csvoptions.html -type Dataset_CsvOptions struct { - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-csvoptions.html#cfn-databrew-dataset-csvoptions-delimiter - Delimiter *types.Value `json:"Delimiter,omitempty"` - - // HeaderRow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-csvoptions.html#cfn-databrew-dataset-csvoptions-headerrow - HeaderRow *types.Value `json:"HeaderRow,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 *Dataset_CsvOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.CsvOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_databaseinputdefinition.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_databaseinputdefinition.go deleted file mode 100644 index 5dd82af545..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_databaseinputdefinition.go +++ /dev/null @@ -1,52 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatabaseInputDefinition AWS CloudFormation Resource (AWS::DataBrew::Dataset.DatabaseInputDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-databaseinputdefinition.html -type Dataset_DatabaseInputDefinition struct { - - // DatabaseTableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-databaseinputdefinition.html#cfn-databrew-dataset-databaseinputdefinition-databasetablename - DatabaseTableName *types.Value `json:"DatabaseTableName,omitempty"` - - // GlueConnectionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-databaseinputdefinition.html#cfn-databrew-dataset-databaseinputdefinition-glueconnectionname - GlueConnectionName *types.Value `json:"GlueConnectionName,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-databaseinputdefinition.html#cfn-databrew-dataset-databaseinputdefinition-querystring - QueryString *types.Value `json:"QueryString,omitempty"` - - // TempDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-databaseinputdefinition.html#cfn-databrew-dataset-databaseinputdefinition-tempdirectory - TempDirectory *Dataset_S3Location `json:"TempDirectory,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 *Dataset_DatabaseInputDefinition) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.DatabaseInputDefinition" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datacataloginputdefinition.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datacataloginputdefinition.go deleted file mode 100644 index 20567e41c7..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datacataloginputdefinition.go +++ /dev/null @@ -1,52 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DataCatalogInputDefinition AWS CloudFormation Resource (AWS::DataBrew::Dataset.DataCatalogInputDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datacataloginputdefinition.html -type Dataset_DataCatalogInputDefinition struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datacataloginputdefinition.html#cfn-databrew-dataset-datacataloginputdefinition-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datacataloginputdefinition.html#cfn-databrew-dataset-datacataloginputdefinition-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datacataloginputdefinition.html#cfn-databrew-dataset-datacataloginputdefinition-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // TempDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datacataloginputdefinition.html#cfn-databrew-dataset-datacataloginputdefinition-tempdirectory - TempDirectory *Dataset_S3Location `json:"TempDirectory,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 *Dataset_DataCatalogInputDefinition) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.DataCatalogInputDefinition" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datasetparameter.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datasetparameter.go deleted file mode 100644 index 9eb341555b..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datasetparameter.go +++ /dev/null @@ -1,57 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatasetParameter AWS CloudFormation Resource (AWS::DataBrew::Dataset.DatasetParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html -type Dataset_DatasetParameter struct { - - // CreateColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html#cfn-databrew-dataset-datasetparameter-createcolumn - CreateColumn *types.Value `json:"CreateColumn,omitempty"` - - // DatetimeOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html#cfn-databrew-dataset-datasetparameter-datetimeoptions - DatetimeOptions *Dataset_DatetimeOptions `json:"DatetimeOptions,omitempty"` - - // Filter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html#cfn-databrew-dataset-datasetparameter-filter - Filter *Dataset_FilterExpression `json:"Filter,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html#cfn-databrew-dataset-datasetparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datasetparameter.html#cfn-databrew-dataset-datasetparameter-type - Type *types.Value `json:"Type,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 *Dataset_DatasetParameter) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.DatasetParameter" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datetimeoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datetimeoptions.go deleted file mode 100644 index 3ece29c153..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_datetimeoptions.go +++ /dev/null @@ -1,47 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatetimeOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.DatetimeOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datetimeoptions.html -type Dataset_DatetimeOptions struct { - - // Format AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datetimeoptions.html#cfn-databrew-dataset-datetimeoptions-format - Format *types.Value `json:"Format,omitempty"` - - // LocaleCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datetimeoptions.html#cfn-databrew-dataset-datetimeoptions-localecode - LocaleCode *types.Value `json:"LocaleCode,omitempty"` - - // TimezoneOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-datetimeoptions.html#cfn-databrew-dataset-datetimeoptions-timezoneoffset - TimezoneOffset *types.Value `json:"TimezoneOffset,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 *Dataset_DatetimeOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.DatetimeOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_exceloptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_exceloptions.go deleted file mode 100644 index 0e766f87c2..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_exceloptions.go +++ /dev/null @@ -1,47 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_ExcelOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.ExcelOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-exceloptions.html -type Dataset_ExcelOptions struct { - - // HeaderRow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-exceloptions.html#cfn-databrew-dataset-exceloptions-headerrow - HeaderRow *types.Value `json:"HeaderRow,omitempty"` - - // SheetIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-exceloptions.html#cfn-databrew-dataset-exceloptions-sheetindexes - SheetIndexes *types.Value `json:"SheetIndexes,omitempty"` - - // SheetNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-exceloptions.html#cfn-databrew-dataset-exceloptions-sheetnames - SheetNames *types.Value `json:"SheetNames,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 *Dataset_ExcelOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.ExcelOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_fileslimit.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_fileslimit.go deleted file mode 100644 index df81ac553a..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_fileslimit.go +++ /dev/null @@ -1,47 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_FilesLimit AWS CloudFormation Resource (AWS::DataBrew::Dataset.FilesLimit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-fileslimit.html -type Dataset_FilesLimit struct { - - // MaxFiles AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-fileslimit.html#cfn-databrew-dataset-fileslimit-maxfiles - MaxFiles *types.Value `json:"MaxFiles"` - - // Order AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-fileslimit.html#cfn-databrew-dataset-fileslimit-order - Order *types.Value `json:"Order,omitempty"` - - // OrderedBy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-fileslimit.html#cfn-databrew-dataset-fileslimit-orderedby - OrderedBy *types.Value `json:"OrderedBy,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 *Dataset_FilesLimit) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.FilesLimit" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filterexpression.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filterexpression.go deleted file mode 100644 index b32c4a7870..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filterexpression.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_FilterExpression AWS CloudFormation Resource (AWS::DataBrew::Dataset.FilterExpression) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filterexpression.html -type Dataset_FilterExpression struct { - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filterexpression.html#cfn-databrew-dataset-filterexpression-expression - Expression *types.Value `json:"Expression,omitempty"` - - // ValuesMap AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filterexpression.html#cfn-databrew-dataset-filterexpression-valuesmap - ValuesMap []Dataset_FilterValue `json:"ValuesMap,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 *Dataset_FilterExpression) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.FilterExpression" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filtervalue.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filtervalue.go deleted file mode 100644 index 831dd62fa1..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_filtervalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_FilterValue AWS CloudFormation Resource (AWS::DataBrew::Dataset.FilterValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filtervalue.html -type Dataset_FilterValue struct { - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filtervalue.html#cfn-databrew-dataset-filtervalue-value - Value *types.Value `json:"Value,omitempty"` - - // ValueReference AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-filtervalue.html#cfn-databrew-dataset-filtervalue-valuereference - ValueReference *types.Value `json:"ValueReference,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 *Dataset_FilterValue) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.FilterValue" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_formatoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_formatoptions.go deleted file mode 100644 index 992ccc5f26..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_formatoptions.go +++ /dev/null @@ -1,45 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_FormatOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.FormatOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-formatoptions.html -type Dataset_FormatOptions struct { - - // Csv AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-formatoptions.html#cfn-databrew-dataset-formatoptions-csv - Csv *Dataset_CsvOptions `json:"Csv,omitempty"` - - // Excel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-formatoptions.html#cfn-databrew-dataset-formatoptions-excel - Excel *Dataset_ExcelOptions `json:"Excel,omitempty"` - - // Json AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-formatoptions.html#cfn-databrew-dataset-formatoptions-json - Json *Dataset_JsonOptions `json:"Json,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 *Dataset_FormatOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.FormatOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_input.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_input.go deleted file mode 100644 index 485ab4a96a..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_input.go +++ /dev/null @@ -1,50 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Input AWS CloudFormation Resource (AWS::DataBrew::Dataset.Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-input.html -type Dataset_Input struct { - - // DataCatalogInputDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-input.html#cfn-databrew-dataset-input-datacataloginputdefinition - DataCatalogInputDefinition *Dataset_DataCatalogInputDefinition `json:"DataCatalogInputDefinition,omitempty"` - - // DatabaseInputDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-input.html#cfn-databrew-dataset-input-databaseinputdefinition - DatabaseInputDefinition *Dataset_DatabaseInputDefinition `json:"DatabaseInputDefinition,omitempty"` - - // Metadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-input.html#cfn-databrew-dataset-input-metadata - Metadata *Dataset_Metadata `json:"Metadata,omitempty"` - - // S3InputDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-input.html#cfn-databrew-dataset-input-s3inputdefinition - S3InputDefinition *Dataset_S3Location `json:"S3InputDefinition,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 *Dataset_Input) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.Input" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_jsonoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_jsonoptions.go deleted file mode 100644 index c66a8ef61a..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_jsonoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_JsonOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.JsonOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-jsonoptions.html -type Dataset_JsonOptions struct { - - // MultiLine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-jsonoptions.html#cfn-databrew-dataset-jsonoptions-multiline - MultiLine *types.Value `json:"MultiLine,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 *Dataset_JsonOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.JsonOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_metadata.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_metadata.go deleted file mode 100644 index 070da0fd5e..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_metadata.go +++ /dev/null @@ -1,37 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Metadata AWS CloudFormation Resource (AWS::DataBrew::Dataset.Metadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-metadata.html -type Dataset_Metadata struct { - - // SourceArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-metadata.html#cfn-databrew-dataset-metadata-sourcearn - SourceArn *types.Value `json:"SourceArn,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 *Dataset_Metadata) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.Metadata" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathoptions.go deleted file mode 100644 index bf8a6ecb01..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathoptions.go +++ /dev/null @@ -1,45 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_PathOptions AWS CloudFormation Resource (AWS::DataBrew::Dataset.PathOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathoptions.html -type Dataset_PathOptions struct { - - // FilesLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathoptions.html#cfn-databrew-dataset-pathoptions-fileslimit - FilesLimit *Dataset_FilesLimit `json:"FilesLimit,omitempty"` - - // LastModifiedDateCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathoptions.html#cfn-databrew-dataset-pathoptions-lastmodifieddatecondition - LastModifiedDateCondition *Dataset_FilterExpression `json:"LastModifiedDateCondition,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathoptions.html#cfn-databrew-dataset-pathoptions-parameters - Parameters []Dataset_PathParameter `json:"Parameters,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 *Dataset_PathOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.PathOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathparameter.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathparameter.go deleted file mode 100644 index ecae3441fc..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_pathparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_PathParameter AWS CloudFormation Resource (AWS::DataBrew::Dataset.PathParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathparameter.html -type Dataset_PathParameter struct { - - // DatasetParameter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathparameter.html#cfn-databrew-dataset-pathparameter-datasetparameter - DatasetParameter *Dataset_DatasetParameter `json:"DatasetParameter,omitempty"` - - // PathParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-pathparameter.html#cfn-databrew-dataset-pathparameter-pathparametername - PathParameterName *types.Value `json:"PathParameterName,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 *Dataset_PathParameter) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.PathParameter" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_s3location.go b/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_s3location.go deleted file mode 100644 index 5474dd878e..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-dataset_s3location.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_S3Location AWS CloudFormation Resource (AWS::DataBrew::Dataset.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-s3location.html -type Dataset_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-s3location.html#cfn-databrew-dataset-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-dataset-s3location.html#cfn-databrew-dataset-s3location-key - Key *types.Value `json:"Key,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 *Dataset_S3Location) AWSCloudFormationType() string { - return "AWS::DataBrew::Dataset.S3Location" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job.go deleted file mode 100644 index f7b97c5620..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job.go +++ /dev/null @@ -1,204 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job AWS CloudFormation Resource (AWS::DataBrew::Job) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html -type Job struct { - - // DataCatalogOutputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-datacatalogoutputs - DataCatalogOutputs []Job_DataCatalogOutput `json:"DataCatalogOutputs,omitempty"` - - // DatabaseOutputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-databaseoutputs - DatabaseOutputs []Job_DatabaseOutput `json:"DatabaseOutputs,omitempty"` - - // DatasetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-datasetname - DatasetName *types.Value `json:"DatasetName,omitempty"` - - // EncryptionKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-encryptionkeyarn - EncryptionKeyArn *types.Value `json:"EncryptionKeyArn,omitempty"` - - // EncryptionMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-encryptionmode - EncryptionMode *types.Value `json:"EncryptionMode,omitempty"` - - // JobSample AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-jobsample - JobSample *Job_JobSample `json:"JobSample,omitempty"` - - // LogSubscription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-logsubscription - LogSubscription *types.Value `json:"LogSubscription,omitempty"` - - // MaxCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity,omitempty"` - - // MaxRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-maxretries - MaxRetries *types.Value `json:"MaxRetries,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-name - Name *types.Value `json:"Name,omitempty"` - - // OutputLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-outputlocation - OutputLocation *Job_OutputLocation `json:"OutputLocation,omitempty"` - - // Outputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-outputs - Outputs []Job_Output `json:"Outputs,omitempty"` - - // ProfileConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-profileconfiguration - ProfileConfiguration *Job_ProfileConfiguration `json:"ProfileConfiguration,omitempty"` - - // ProjectName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-projectname - ProjectName *types.Value `json:"ProjectName,omitempty"` - - // Recipe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-recipe - Recipe *Job_Recipe `json:"Recipe,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-timeout - Timeout *types.Value `json:"Timeout,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-type - Type *types.Value `json:"Type,omitempty"` - - // ValidationConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-job.html#cfn-databrew-job-validationconfigurations - ValidationConfigurations []Job_ValidationConfiguration `json:"ValidationConfigurations,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 *Job) AWSCloudFormationType() string { - return "AWS::DataBrew::Job" -} - -// 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 (r Job) MarshalJSON() ([]byte, error) { - type Properties Job - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Job) UnmarshalJSON(b []byte) error { - type Properties Job - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Job(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnselector.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnselector.go deleted file mode 100644 index 1fae3bc1d4..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnselector.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ColumnSelector AWS CloudFormation Resource (AWS::DataBrew::Job.ColumnSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnselector.html -type Job_ColumnSelector struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnselector.html#cfn-databrew-job-columnselector-name - Name *types.Value `json:"Name,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnselector.html#cfn-databrew-job-columnselector-regex - Regex *types.Value `json:"Regex,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 *Job_ColumnSelector) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.ColumnSelector" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnstatisticsconfiguration.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnstatisticsconfiguration.go deleted file mode 100644 index bcd1f9261b..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_columnstatisticsconfiguration.go +++ /dev/null @@ -1,40 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ColumnStatisticsConfiguration AWS CloudFormation Resource (AWS::DataBrew::Job.ColumnStatisticsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnstatisticsconfiguration.html -type Job_ColumnStatisticsConfiguration struct { - - // Selectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnstatisticsconfiguration.html#cfn-databrew-job-columnstatisticsconfiguration-selectors - Selectors []Job_ColumnSelector `json:"Selectors,omitempty"` - - // Statistics AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-columnstatisticsconfiguration.html#cfn-databrew-job-columnstatisticsconfiguration-statistics - Statistics *Job_StatisticsConfiguration `json:"Statistics,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 *Job_ColumnStatisticsConfiguration) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.ColumnStatisticsConfiguration" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_csvoutputoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_csvoutputoptions.go deleted file mode 100644 index dcee83a550..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_csvoutputoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_CsvOutputOptions AWS CloudFormation Resource (AWS::DataBrew::Job.CsvOutputOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-csvoutputoptions.html -type Job_CsvOutputOptions struct { - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-csvoutputoptions.html#cfn-databrew-job-csvoutputoptions-delimiter - Delimiter *types.Value `json:"Delimiter,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 *Job_CsvOutputOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.CsvOutputOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_databaseoutput.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_databaseoutput.go deleted file mode 100644 index 92e7e2800a..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_databaseoutput.go +++ /dev/null @@ -1,47 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_DatabaseOutput AWS CloudFormation Resource (AWS::DataBrew::Job.DatabaseOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html -type Job_DatabaseOutput struct { - - // DatabaseOptions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-databaseoptions - DatabaseOptions *Job_DatabaseTableOutputOptions `json:"DatabaseOptions,omitempty"` - - // DatabaseOutputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-databaseoutputmode - DatabaseOutputMode *types.Value `json:"DatabaseOutputMode,omitempty"` - - // GlueConnectionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databaseoutput.html#cfn-databrew-job-databaseoutput-glueconnectionname - GlueConnectionName *types.Value `json:"GlueConnectionName,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 *Job_DatabaseOutput) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.DatabaseOutput" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_databasetableoutputoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_databasetableoutputoptions.go deleted file mode 100644 index c1d65d5df4..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_databasetableoutputoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_DatabaseTableOutputOptions AWS CloudFormation Resource (AWS::DataBrew::Job.DatabaseTableOutputOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databasetableoutputoptions.html -type Job_DatabaseTableOutputOptions struct { - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databasetableoutputoptions.html#cfn-databrew-job-databasetableoutputoptions-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // TempDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-databasetableoutputoptions.html#cfn-databrew-job-databasetableoutputoptions-tempdirectory - TempDirectory *Job_S3Location `json:"TempDirectory,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 *Job_DatabaseTableOutputOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.DatabaseTableOutputOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_datacatalogoutput.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_datacatalogoutput.go deleted file mode 100644 index 238f3036b0..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_datacatalogoutput.go +++ /dev/null @@ -1,62 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_DataCatalogOutput AWS CloudFormation Resource (AWS::DataBrew::Job.DataCatalogOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html -type Job_DataCatalogOutput struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DatabaseOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-databaseoptions - DatabaseOptions *Job_DatabaseTableOutputOptions `json:"DatabaseOptions,omitempty"` - - // Overwrite AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-overwrite - Overwrite *types.Value `json:"Overwrite,omitempty"` - - // S3Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-s3options - S3Options *Job_S3TableOutputOptions `json:"S3Options,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-datacatalogoutput.html#cfn-databrew-job-datacatalogoutput-tablename - TableName *types.Value `json:"TableName,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 *Job_DataCatalogOutput) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.DataCatalogOutput" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_entitydetectorconfiguration.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_entitydetectorconfiguration.go deleted file mode 100644 index 48f0fc5b7f..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_entitydetectorconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_EntityDetectorConfiguration AWS CloudFormation Resource (AWS::DataBrew::Job.EntityDetectorConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-entitydetectorconfiguration.html -type Job_EntityDetectorConfiguration struct { - - // AllowedStatistics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-entitydetectorconfiguration.html#cfn-databrew-job-entitydetectorconfiguration-allowedstatistics - AllowedStatistics *Job_AllowedStatistics `json:"AllowedStatistics,omitempty"` - - // EntityTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-entitydetectorconfiguration.html#cfn-databrew-job-entitydetectorconfiguration-entitytypes - EntityTypes *types.Value `json:"EntityTypes,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 *Job_EntityDetectorConfiguration) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.EntityDetectorConfiguration" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_jobsample.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_jobsample.go deleted file mode 100644 index 85eb7cecf1..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_jobsample.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_JobSample AWS CloudFormation Resource (AWS::DataBrew::Job.JobSample) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-jobsample.html -type Job_JobSample struct { - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-jobsample.html#cfn-databrew-job-jobsample-mode - Mode *types.Value `json:"Mode,omitempty"` - - // Size AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-jobsample.html#cfn-databrew-job-jobsample-size - Size *types.Value `json:"Size,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 *Job_JobSample) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.JobSample" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_output.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_output.go deleted file mode 100644 index 37752dab79..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_output.go +++ /dev/null @@ -1,62 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_Output AWS CloudFormation Resource (AWS::DataBrew::Job.Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html -type Job_Output struct { - - // CompressionFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-compressionformat - CompressionFormat *types.Value `json:"CompressionFormat,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-format - Format *types.Value `json:"Format,omitempty"` - - // FormatOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-formatoptions - FormatOptions *Job_OutputFormatOptions `json:"FormatOptions,omitempty"` - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-location - Location *Job_S3Location `json:"Location,omitempty"` - - // Overwrite AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-overwrite - Overwrite *types.Value `json:"Overwrite,omitempty"` - - // PartitionColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-output.html#cfn-databrew-job-output-partitioncolumns - PartitionColumns *types.Value `json:"PartitionColumns,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 *Job_Output) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.Output" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputformatoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputformatoptions.go deleted file mode 100644 index d88d519167..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputformatoptions.go +++ /dev/null @@ -1,35 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_OutputFormatOptions AWS CloudFormation Resource (AWS::DataBrew::Job.OutputFormatOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-outputformatoptions.html -type Job_OutputFormatOptions struct { - - // Csv AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-outputformatoptions.html#cfn-databrew-job-outputformatoptions-csv - Csv *Job_CsvOutputOptions `json:"Csv,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 *Job_OutputFormatOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.OutputFormatOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputlocation.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputlocation.go deleted file mode 100644 index 32379cc6e0..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_outputlocation.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_OutputLocation AWS CloudFormation Resource (AWS::DataBrew::Job.OutputLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-outputlocation.html -type Job_OutputLocation struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-outputlocation.html#cfn-databrew-job-outputlocation-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-outputlocation.html#cfn-databrew-job-outputlocation-key - Key *types.Value `json:"Key,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 *Job_OutputLocation) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.OutputLocation" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_parametermap.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_parametermap.go deleted file mode 100644 index 5104c6fb38..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_parametermap.go +++ /dev/null @@ -1,30 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ParameterMap AWS CloudFormation Resource (AWS::DataBrew::Job.ParameterMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-parametermap.html -type Job_ParameterMap struct { - - // 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 *Job_ParameterMap) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.ParameterMap" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_profileconfiguration.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_profileconfiguration.go deleted file mode 100644 index e9596959cf..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_profileconfiguration.go +++ /dev/null @@ -1,50 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ProfileConfiguration AWS CloudFormation Resource (AWS::DataBrew::Job.ProfileConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-profileconfiguration.html -type Job_ProfileConfiguration struct { - - // ColumnStatisticsConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-profileconfiguration.html#cfn-databrew-job-profileconfiguration-columnstatisticsconfigurations - ColumnStatisticsConfigurations []Job_ColumnStatisticsConfiguration `json:"ColumnStatisticsConfigurations,omitempty"` - - // DatasetStatisticsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-profileconfiguration.html#cfn-databrew-job-profileconfiguration-datasetstatisticsconfiguration - DatasetStatisticsConfiguration *Job_StatisticsConfiguration `json:"DatasetStatisticsConfiguration,omitempty"` - - // EntityDetectorConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-profileconfiguration.html#cfn-databrew-job-profileconfiguration-entitydetectorconfiguration - EntityDetectorConfiguration *Job_EntityDetectorConfiguration `json:"EntityDetectorConfiguration,omitempty"` - - // ProfileColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-profileconfiguration.html#cfn-databrew-job-profileconfiguration-profilecolumns - ProfileColumns []Job_ColumnSelector `json:"ProfileColumns,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 *Job_ProfileConfiguration) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.ProfileConfiguration" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_recipe.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_recipe.go deleted file mode 100644 index f25fe8991d..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_recipe.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_Recipe AWS CloudFormation Resource (AWS::DataBrew::Job.Recipe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-recipe.html -type Job_Recipe struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-recipe.html#cfn-databrew-job-recipe-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-recipe.html#cfn-databrew-job-recipe-version - Version *types.Value `json:"Version,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 *Job_Recipe) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.Recipe" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3location.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3location.go deleted file mode 100644 index 534eec728f..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3location.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_S3Location AWS CloudFormation Resource (AWS::DataBrew::Job.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-s3location.html -type Job_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-s3location.html#cfn-databrew-job-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-s3location.html#cfn-databrew-job-s3location-key - Key *types.Value `json:"Key,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 *Job_S3Location) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.S3Location" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3tableoutputoptions.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3tableoutputoptions.go deleted file mode 100644 index c66eccfaba..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_s3tableoutputoptions.go +++ /dev/null @@ -1,35 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_S3TableOutputOptions AWS CloudFormation Resource (AWS::DataBrew::Job.S3TableOutputOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-s3tableoutputoptions.html -type Job_S3TableOutputOptions struct { - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-s3tableoutputoptions.html#cfn-databrew-job-s3tableoutputoptions-location - Location *Job_S3Location `json:"Location,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 *Job_S3TableOutputOptions) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.S3TableOutputOptions" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticoverride.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticoverride.go deleted file mode 100644 index a45adaf18e..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticoverride.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_StatisticOverride AWS CloudFormation Resource (AWS::DataBrew::Job.StatisticOverride) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticoverride.html -type Job_StatisticOverride struct { - - // Parameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticoverride.html#cfn-databrew-job-statisticoverride-parameters - Parameters *Job_ParameterMap `json:"Parameters,omitempty"` - - // Statistic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticoverride.html#cfn-databrew-job-statisticoverride-statistic - Statistic *types.Value `json:"Statistic,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 *Job_StatisticOverride) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.StatisticOverride" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticsconfiguration.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticsconfiguration.go deleted file mode 100644 index a20f7b51ed..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_statisticsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_StatisticsConfiguration AWS CloudFormation Resource (AWS::DataBrew::Job.StatisticsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticsconfiguration.html -type Job_StatisticsConfiguration struct { - - // IncludedStatistics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticsconfiguration.html#cfn-databrew-job-statisticsconfiguration-includedstatistics - IncludedStatistics *types.Value `json:"IncludedStatistics,omitempty"` - - // Overrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-statisticsconfiguration.html#cfn-databrew-job-statisticsconfiguration-overrides - Overrides []Job_StatisticOverride `json:"Overrides,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 *Job_StatisticsConfiguration) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.StatisticsConfiguration" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_validationconfiguration.go b/pkg/goformation/cloudformation/databrew/aws-databrew-job_validationconfiguration.go deleted file mode 100644 index 0ec006d72d..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_validationconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ValidationConfiguration AWS CloudFormation Resource (AWS::DataBrew::Job.ValidationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-validationconfiguration.html -type Job_ValidationConfiguration struct { - - // RulesetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-validationconfiguration.html#cfn-databrew-job-validationconfiguration-rulesetarn - RulesetArn *types.Value `json:"RulesetArn,omitempty"` - - // ValidationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-validationconfiguration.html#cfn-databrew-job-validationconfiguration-validationmode - ValidationMode *types.Value `json:"ValidationMode,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 *Job_ValidationConfiguration) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.ValidationConfiguration" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-project.go b/pkg/goformation/cloudformation/databrew/aws-databrew-project.go deleted file mode 100644 index ef9216d890..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-project.go +++ /dev/null @@ -1,134 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::DataBrew::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html -type Project struct { - - // DatasetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-datasetname - DatasetName *types.Value `json:"DatasetName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-name - Name *types.Value `json:"Name,omitempty"` - - // RecipeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-recipename - RecipeName *types.Value `json:"RecipeName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Sample AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-sample - Sample *Project_Sample `json:"Sample,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-project.html#cfn-databrew-project-tags - Tags []cloudformation.Tag `json:"Tags,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 *Project) AWSCloudFormationType() string { - return "AWS::DataBrew::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-project_sample.go b/pkg/goformation/cloudformation/databrew/aws-databrew-project_sample.go deleted file mode 100644 index 8a7b199e5b..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-project_sample.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_Sample AWS CloudFormation Resource (AWS::DataBrew::Project.Sample) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-project-sample.html -type Project_Sample struct { - - // Size AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-project-sample.html#cfn-databrew-project-sample-size - Size *types.Value `json:"Size,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-project-sample.html#cfn-databrew-project-sample-type - Type *types.Value `json:"Type,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 *Project_Sample) AWSCloudFormationType() string { - return "AWS::DataBrew::Project.Sample" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe.go deleted file mode 100644 index 7767418b26..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe.go +++ /dev/null @@ -1,124 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe AWS CloudFormation Resource (AWS::DataBrew::Recipe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html -type Recipe struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html#cfn-databrew-recipe-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html#cfn-databrew-recipe-name - Name *types.Value `json:"Name,omitempty"` - - // Steps AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html#cfn-databrew-recipe-steps - Steps []Recipe_RecipeStep `json:"Steps,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-recipe.html#cfn-databrew-recipe-tags - Tags []cloudformation.Tag `json:"Tags,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 *Recipe) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe" -} - -// 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 (r Recipe) MarshalJSON() ([]byte, error) { - type Properties Recipe - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Recipe) UnmarshalJSON(b []byte) error { - type Properties Recipe - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Recipe(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_conditionexpression.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_conditionexpression.go deleted file mode 100644 index af0eec4827..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_conditionexpression.go +++ /dev/null @@ -1,47 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_ConditionExpression AWS CloudFormation Resource (AWS::DataBrew::Recipe.ConditionExpression) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-conditionexpression.html -type Recipe_ConditionExpression struct { - - // Condition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-conditionexpression.html#cfn-databrew-recipe-conditionexpression-condition - Condition *types.Value `json:"Condition,omitempty"` - - // TargetColumn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-conditionexpression.html#cfn-databrew-recipe-conditionexpression-targetcolumn - TargetColumn *types.Value `json:"TargetColumn,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-conditionexpression.html#cfn-databrew-recipe-conditionexpression-value - Value *types.Value `json:"Value,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 *Recipe_ConditionExpression) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.ConditionExpression" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_datacataloginputdefinition.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_datacataloginputdefinition.go deleted file mode 100644 index 2c015db798..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_datacataloginputdefinition.go +++ /dev/null @@ -1,52 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_DataCatalogInputDefinition AWS CloudFormation Resource (AWS::DataBrew::Recipe.DataCatalogInputDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-datacataloginputdefinition.html -type Recipe_DataCatalogInputDefinition struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-datacataloginputdefinition.html#cfn-databrew-recipe-datacataloginputdefinition-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-datacataloginputdefinition.html#cfn-databrew-recipe-datacataloginputdefinition-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-datacataloginputdefinition.html#cfn-databrew-recipe-datacataloginputdefinition-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // TempDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-datacataloginputdefinition.html#cfn-databrew-recipe-datacataloginputdefinition-tempdirectory - TempDirectory *Recipe_S3Location `json:"TempDirectory,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 *Recipe_DataCatalogInputDefinition) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.DataCatalogInputDefinition" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_parametermap.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_parametermap.go deleted file mode 100644 index f9ef7466d9..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_parametermap.go +++ /dev/null @@ -1,30 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_ParameterMap AWS CloudFormation Resource (AWS::DataBrew::Recipe.ParameterMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-parametermap.html -type Recipe_ParameterMap struct { - - // 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 *Recipe_ParameterMap) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.ParameterMap" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipeparameters.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipeparameters.go deleted file mode 100644 index abff25ee3d..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipeparameters.go +++ /dev/null @@ -1,537 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_RecipeParameters AWS CloudFormation Resource (AWS::DataBrew::Recipe.RecipeParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html -type Recipe_RecipeParameters struct { - - // AggregateFunction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-aggregatefunction - AggregateFunction *types.Value `json:"AggregateFunction,omitempty"` - - // Base AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-base - Base *types.Value `json:"Base,omitempty"` - - // CaseStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-casestatement - CaseStatement *types.Value `json:"CaseStatement,omitempty"` - - // CategoryMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-categorymap - CategoryMap *types.Value `json:"CategoryMap,omitempty"` - - // CharsToRemove AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-charstoremove - CharsToRemove *types.Value `json:"CharsToRemove,omitempty"` - - // CollapseConsecutiveWhitespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-collapseconsecutivewhitespace - CollapseConsecutiveWhitespace *types.Value `json:"CollapseConsecutiveWhitespace,omitempty"` - - // ColumnDataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-columndatatype - ColumnDataType *types.Value `json:"ColumnDataType,omitempty"` - - // ColumnRange AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-columnrange - ColumnRange *types.Value `json:"ColumnRange,omitempty"` - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-count - Count *types.Value `json:"Count,omitempty"` - - // CustomCharacters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-customcharacters - CustomCharacters *types.Value `json:"CustomCharacters,omitempty"` - - // CustomStopWords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-customstopwords - CustomStopWords *types.Value `json:"CustomStopWords,omitempty"` - - // CustomValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-customvalue - CustomValue *types.Value `json:"CustomValue,omitempty"` - - // DatasetsColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-datasetscolumns - DatasetsColumns *types.Value `json:"DatasetsColumns,omitempty"` - - // DateAddValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-dateaddvalue - DateAddValue *types.Value `json:"DateAddValue,omitempty"` - - // DateTimeFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-datetimeformat - DateTimeFormat *types.Value `json:"DateTimeFormat,omitempty"` - - // DateTimeParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-datetimeparameters - DateTimeParameters *types.Value `json:"DateTimeParameters,omitempty"` - - // DeleteOtherRows AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-deleteotherrows - DeleteOtherRows *types.Value `json:"DeleteOtherRows,omitempty"` - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-delimiter - Delimiter *types.Value `json:"Delimiter,omitempty"` - - // EndPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-endpattern - EndPattern *types.Value `json:"EndPattern,omitempty"` - - // EndPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-endposition - EndPosition *types.Value `json:"EndPosition,omitempty"` - - // EndValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-endvalue - EndValue *types.Value `json:"EndValue,omitempty"` - - // ExpandContractions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-expandcontractions - ExpandContractions *types.Value `json:"ExpandContractions,omitempty"` - - // Exponent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-exponent - Exponent *types.Value `json:"Exponent,omitempty"` - - // FalseString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-falsestring - FalseString *types.Value `json:"FalseString,omitempty"` - - // GroupByAggFunctionOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-groupbyaggfunctionoptions - GroupByAggFunctionOptions *types.Value `json:"GroupByAggFunctionOptions,omitempty"` - - // GroupByColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-groupbycolumns - GroupByColumns *types.Value `json:"GroupByColumns,omitempty"` - - // HiddenColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-hiddencolumns - HiddenColumns *types.Value `json:"HiddenColumns,omitempty"` - - // IgnoreCase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-ignorecase - IgnoreCase *types.Value `json:"IgnoreCase,omitempty"` - - // IncludeInSplit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-includeinsplit - IncludeInSplit *types.Value `json:"IncludeInSplit,omitempty"` - - // Input AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-input - Input interface{} `json:"Input,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-interval - Interval *types.Value `json:"Interval,omitempty"` - - // IsText AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-istext - IsText *types.Value `json:"IsText,omitempty"` - - // JoinKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-joinkeys - JoinKeys *types.Value `json:"JoinKeys,omitempty"` - - // JoinType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-jointype - JoinType *types.Value `json:"JoinType,omitempty"` - - // LeftColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-leftcolumns - LeftColumns *types.Value `json:"LeftColumns,omitempty"` - - // Limit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-limit - Limit *types.Value `json:"Limit,omitempty"` - - // LowerBound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-lowerbound - LowerBound *types.Value `json:"LowerBound,omitempty"` - - // MapType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-maptype - MapType *types.Value `json:"MapType,omitempty"` - - // ModeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-modetype - ModeType *types.Value `json:"ModeType,omitempty"` - - // MultiLine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-multiline - MultiLine *types.Value `json:"MultiLine,omitempty"` - - // NumRows AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-numrows - NumRows *types.Value `json:"NumRows,omitempty"` - - // NumRowsAfter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-numrowsafter - NumRowsAfter *types.Value `json:"NumRowsAfter,omitempty"` - - // NumRowsBefore AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-numrowsbefore - NumRowsBefore *types.Value `json:"NumRowsBefore,omitempty"` - - // OrderByColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-orderbycolumn - OrderByColumn *types.Value `json:"OrderByColumn,omitempty"` - - // OrderByColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-orderbycolumns - OrderByColumns *types.Value `json:"OrderByColumns,omitempty"` - - // Other AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-other - Other *types.Value `json:"Other,omitempty"` - - // Pattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-pattern - Pattern *types.Value `json:"Pattern,omitempty"` - - // PatternOption1 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-patternoption1 - PatternOption1 *types.Value `json:"PatternOption1,omitempty"` - - // PatternOption2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-patternoption2 - PatternOption2 *types.Value `json:"PatternOption2,omitempty"` - - // PatternOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-patternoptions - PatternOptions *types.Value `json:"PatternOptions,omitempty"` - - // Period AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-period - Period *types.Value `json:"Period,omitempty"` - - // Position AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-position - Position *types.Value `json:"Position,omitempty"` - - // RemoveAllPunctuation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeallpunctuation - RemoveAllPunctuation *types.Value `json:"RemoveAllPunctuation,omitempty"` - - // RemoveAllQuotes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeallquotes - RemoveAllQuotes *types.Value `json:"RemoveAllQuotes,omitempty"` - - // RemoveAllWhitespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeallwhitespace - RemoveAllWhitespace *types.Value `json:"RemoveAllWhitespace,omitempty"` - - // RemoveCustomCharacters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removecustomcharacters - RemoveCustomCharacters *types.Value `json:"RemoveCustomCharacters,omitempty"` - - // RemoveCustomValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removecustomvalue - RemoveCustomValue *types.Value `json:"RemoveCustomValue,omitempty"` - - // RemoveLeadingAndTrailingPunctuation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeleadingandtrailingpunctuation - RemoveLeadingAndTrailingPunctuation *types.Value `json:"RemoveLeadingAndTrailingPunctuation,omitempty"` - - // RemoveLeadingAndTrailingQuotes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeleadingandtrailingquotes - RemoveLeadingAndTrailingQuotes *types.Value `json:"RemoveLeadingAndTrailingQuotes,omitempty"` - - // RemoveLeadingAndTrailingWhitespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeleadingandtrailingwhitespace - RemoveLeadingAndTrailingWhitespace *types.Value `json:"RemoveLeadingAndTrailingWhitespace,omitempty"` - - // RemoveLetters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removeletters - RemoveLetters *types.Value `json:"RemoveLetters,omitempty"` - - // RemoveNumbers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removenumbers - RemoveNumbers *types.Value `json:"RemoveNumbers,omitempty"` - - // RemoveSourceColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removesourcecolumn - RemoveSourceColumn *types.Value `json:"RemoveSourceColumn,omitempty"` - - // RemoveSpecialCharacters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-removespecialcharacters - RemoveSpecialCharacters *types.Value `json:"RemoveSpecialCharacters,omitempty"` - - // RightColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-rightcolumns - RightColumns *types.Value `json:"RightColumns,omitempty"` - - // SampleSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-samplesize - SampleSize *types.Value `json:"SampleSize,omitempty"` - - // SampleType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sampletype - SampleType *types.Value `json:"SampleType,omitempty"` - - // SecondInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-secondinput - SecondInput *types.Value `json:"SecondInput,omitempty"` - - // SecondaryInputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-secondaryinputs - SecondaryInputs []Recipe_SecondaryInput `json:"SecondaryInputs,omitempty"` - - // SheetIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sheetindexes - SheetIndexes *types.Value `json:"SheetIndexes,omitempty"` - - // SheetNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sheetnames - SheetNames *types.Value `json:"SheetNames,omitempty"` - - // SourceColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sourcecolumn - SourceColumn *types.Value `json:"SourceColumn,omitempty"` - - // SourceColumn1 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sourcecolumn1 - SourceColumn1 *types.Value `json:"SourceColumn1,omitempty"` - - // SourceColumn2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sourcecolumn2 - SourceColumn2 *types.Value `json:"SourceColumn2,omitempty"` - - // SourceColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-sourcecolumns - SourceColumns *types.Value `json:"SourceColumns,omitempty"` - - // StartColumnIndex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-startcolumnindex - StartColumnIndex *types.Value `json:"StartColumnIndex,omitempty"` - - // StartPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-startpattern - StartPattern *types.Value `json:"StartPattern,omitempty"` - - // StartPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-startposition - StartPosition *types.Value `json:"StartPosition,omitempty"` - - // StartValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-startvalue - StartValue *types.Value `json:"StartValue,omitempty"` - - // StemmingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-stemmingmode - StemmingMode *types.Value `json:"StemmingMode,omitempty"` - - // StepCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-stepcount - StepCount *types.Value `json:"StepCount,omitempty"` - - // StepIndex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-stepindex - StepIndex *types.Value `json:"StepIndex,omitempty"` - - // StopWordsMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-stopwordsmode - StopWordsMode *types.Value `json:"StopWordsMode,omitempty"` - - // Strategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-strategy - Strategy *types.Value `json:"Strategy,omitempty"` - - // TargetColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-targetcolumn - TargetColumn *types.Value `json:"TargetColumn,omitempty"` - - // TargetColumnNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-targetcolumnnames - TargetColumnNames *types.Value `json:"TargetColumnNames,omitempty"` - - // TargetDateFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-targetdateformat - TargetDateFormat *types.Value `json:"TargetDateFormat,omitempty"` - - // TargetIndex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-targetindex - TargetIndex *types.Value `json:"TargetIndex,omitempty"` - - // TimeZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-timezone - TimeZone *types.Value `json:"TimeZone,omitempty"` - - // TokenizerPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-tokenizerpattern - TokenizerPattern *types.Value `json:"TokenizerPattern,omitempty"` - - // TrueString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-truestring - TrueString *types.Value `json:"TrueString,omitempty"` - - // UdfLang AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-udflang - UdfLang *types.Value `json:"UdfLang,omitempty"` - - // Units AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-units - Units *types.Value `json:"Units,omitempty"` - - // UnpivotColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-unpivotcolumn - UnpivotColumn *types.Value `json:"UnpivotColumn,omitempty"` - - // UpperBound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-upperbound - UpperBound *types.Value `json:"UpperBound,omitempty"` - - // UseNewDataFrame AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-usenewdataframe - UseNewDataFrame *types.Value `json:"UseNewDataFrame,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-value - Value *types.Value `json:"Value,omitempty"` - - // Value1 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-value1 - Value1 *types.Value `json:"Value1,omitempty"` - - // Value2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-value2 - Value2 *types.Value `json:"Value2,omitempty"` - - // ValueColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-valuecolumn - ValueColumn *types.Value `json:"ValueColumn,omitempty"` - - // ViewFrame AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipeparameters.html#cfn-databrew-recipe-recipeparameters-viewframe - ViewFrame *types.Value `json:"ViewFrame,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 *Recipe_RecipeParameters) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.RecipeParameters" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipestep.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipestep.go deleted file mode 100644 index f0f16e0324..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_recipestep.go +++ /dev/null @@ -1,40 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_RecipeStep AWS CloudFormation Resource (AWS::DataBrew::Recipe.RecipeStep) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipestep.html -type Recipe_RecipeStep struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipestep.html#cfn-databrew-recipe-recipestep-action - Action *Recipe_Action `json:"Action,omitempty"` - - // ConditionExpressions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-recipestep.html#cfn-databrew-recipe-recipestep-conditionexpressions - ConditionExpressions []Recipe_ConditionExpression `json:"ConditionExpressions,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 *Recipe_RecipeStep) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.RecipeStep" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_s3location.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_s3location.go deleted file mode 100644 index 9b2a658357..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_s3location.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_S3Location AWS CloudFormation Resource (AWS::DataBrew::Recipe.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-s3location.html -type Recipe_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-s3location.html#cfn-databrew-recipe-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-s3location.html#cfn-databrew-recipe-s3location-key - Key *types.Value `json:"Key,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 *Recipe_S3Location) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.S3Location" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_secondaryinput.go b/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_secondaryinput.go deleted file mode 100644 index 0b0c8977cf..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_secondaryinput.go +++ /dev/null @@ -1,40 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Recipe_SecondaryInput AWS CloudFormation Resource (AWS::DataBrew::Recipe.SecondaryInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-secondaryinput.html -type Recipe_SecondaryInput struct { - - // DataCatalogInputDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-secondaryinput.html#cfn-databrew-recipe-secondaryinput-datacataloginputdefinition - DataCatalogInputDefinition *Recipe_DataCatalogInputDefinition `json:"DataCatalogInputDefinition,omitempty"` - - // S3InputDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-secondaryinput.html#cfn-databrew-recipe-secondaryinput-s3inputdefinition - S3InputDefinition *Recipe_S3Location `json:"S3InputDefinition,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 *Recipe_SecondaryInput) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.SecondaryInput" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset.go b/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset.go deleted file mode 100644 index fa686c6cdd..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset.go +++ /dev/null @@ -1,129 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Ruleset AWS CloudFormation Resource (AWS::DataBrew::Ruleset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html -type Ruleset struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-name - Name *types.Value `json:"Name,omitempty"` - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-rules - Rules []Ruleset_Rule `json:"Rules,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-ruleset.html#cfn-databrew-ruleset-targetarn - TargetArn *types.Value `json:"TargetArn,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 *Ruleset) AWSCloudFormationType() string { - return "AWS::DataBrew::Ruleset" -} - -// 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 (r Ruleset) MarshalJSON() ([]byte, error) { - type Properties Ruleset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Ruleset) UnmarshalJSON(b []byte) error { - type Properties Ruleset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Ruleset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_columnselector.go b/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_columnselector.go deleted file mode 100644 index 8b52e4ee5d..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_columnselector.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Ruleset_ColumnSelector AWS CloudFormation Resource (AWS::DataBrew::Ruleset.ColumnSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-columnselector.html -type Ruleset_ColumnSelector struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-columnselector.html#cfn-databrew-ruleset-columnselector-name - Name *types.Value `json:"Name,omitempty"` - - // Regex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-columnselector.html#cfn-databrew-ruleset-columnselector-regex - Regex *types.Value `json:"Regex,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 *Ruleset_ColumnSelector) AWSCloudFormationType() string { - return "AWS::DataBrew::Ruleset.ColumnSelector" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_rule.go b/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_rule.go deleted file mode 100644 index 60f60af9de..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_rule.go +++ /dev/null @@ -1,62 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Ruleset_Rule AWS CloudFormation Resource (AWS::DataBrew::Ruleset.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html -type Ruleset_Rule struct { - - // CheckExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-checkexpression - CheckExpression *types.Value `json:"CheckExpression,omitempty"` - - // ColumnSelectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-columnselectors - ColumnSelectors []Ruleset_ColumnSelector `json:"ColumnSelectors,omitempty"` - - // Disabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-disabled - Disabled *types.Value `json:"Disabled,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-name - Name *types.Value `json:"Name,omitempty"` - - // SubstitutionMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-substitutionmap - SubstitutionMap []Ruleset_SubstitutionValue `json:"SubstitutionMap,omitempty"` - - // Threshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-rule.html#cfn-databrew-ruleset-rule-threshold - Threshold *Ruleset_Threshold `json:"Threshold,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 *Ruleset_Rule) AWSCloudFormationType() string { - return "AWS::DataBrew::Ruleset.Rule" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_substitutionvalue.go b/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_substitutionvalue.go deleted file mode 100644 index 30d6736190..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-ruleset_substitutionvalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package databrew - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Ruleset_SubstitutionValue AWS CloudFormation Resource (AWS::DataBrew::Ruleset.SubstitutionValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-substitutionvalue.html -type Ruleset_SubstitutionValue struct { - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-substitutionvalue.html#cfn-databrew-ruleset-substitutionvalue-value - Value *types.Value `json:"Value,omitempty"` - - // ValueReference AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-ruleset-substitutionvalue.html#cfn-databrew-ruleset-substitutionvalue-valuereference - ValueReference *types.Value `json:"ValueReference,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 *Ruleset_SubstitutionValue) AWSCloudFormationType() string { - return "AWS::DataBrew::Ruleset.SubstitutionValue" -} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-schedule.go b/pkg/goformation/cloudformation/databrew/aws-databrew-schedule.go deleted file mode 100644 index 2e46fee138..0000000000 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-schedule.go +++ /dev/null @@ -1,124 +0,0 @@ -package databrew - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schedule AWS CloudFormation Resource (AWS::DataBrew::Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html -type Schedule struct { - - // CronExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html#cfn-databrew-schedule-cronexpression - CronExpression *types.Value `json:"CronExpression,omitempty"` - - // JobNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html#cfn-databrew-schedule-jobnames - JobNames *types.Value `json:"JobNames,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html#cfn-databrew-schedule-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-schedule.html#cfn-databrew-schedule-tags - Tags []cloudformation.Tag `json:"Tags,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 *Schedule) AWSCloudFormationType() string { - return "AWS::DataBrew::Schedule" -} - -// 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 (r Schedule) MarshalJSON() ([]byte, error) { - type Properties Schedule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Schedule) UnmarshalJSON(b []byte) error { - type Properties Schedule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Schedule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline.go deleted file mode 100644 index 13656cf761..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline.go +++ /dev/null @@ -1,138 +0,0 @@ -package datapipeline - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline AWS CloudFormation Resource (AWS::DataPipeline::Pipeline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html -type Pipeline struct { - - // Activate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-activate - Activate *types.Value `json:"Activate,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-name - Name *types.Value `json:"Name,omitempty"` - - // ParameterObjects AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-parameterobjects - ParameterObjects []Pipeline_ParameterObject `json:"ParameterObjects,omitempty"` - - // ParameterValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-parametervalues - ParameterValues []Pipeline_ParameterValue `json:"ParameterValues,omitempty"` - - // PipelineObjects AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-pipelineobjects - PipelineObjects []Pipeline_PipelineObject `json:"PipelineObjects,omitempty"` - - // PipelineTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datapipeline-pipeline.html#cfn-datapipeline-pipeline-pipelinetags - PipelineTags []Pipeline_PipelineTag `json:"PipelineTags,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 *Pipeline) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline" -} - -// 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 (r Pipeline) MarshalJSON() ([]byte, error) { - type Properties Pipeline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Pipeline) UnmarshalJSON(b []byte) error { - type Properties Pipeline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Pipeline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_field.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_field.go deleted file mode 100644 index 3a29a4fcb5..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_field.go +++ /dev/null @@ -1,47 +0,0 @@ -package datapipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Field AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.Field) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html -type Pipeline_Field struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-key - Key *types.Value `json:"Key,omitempty"` - - // RefValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-refvalue - RefValue *types.Value `json:"RefValue,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-stringvalue - StringValue *types.Value `json:"StringValue,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 *Pipeline_Field) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.Field" -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterattribute.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterattribute.go deleted file mode 100644 index cc64bda3c3..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package datapipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ParameterAttribute AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.ParameterAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects-attributes.html -type Pipeline_ParameterAttribute struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects-attributes.html#cfn-datapipeline-pipeline-parameterobjects-attribtues-key - Key *types.Value `json:"Key,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects-attributes.html#cfn-datapipeline-pipeline-parameterobjects-attribtues-stringvalue - StringValue *types.Value `json:"StringValue,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 *Pipeline_ParameterAttribute) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.ParameterAttribute" -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parametervalue.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parametervalue.go deleted file mode 100644 index 79e8650210..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parametervalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package datapipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_ParameterValue AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.ParameterValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parametervalues.html -type Pipeline_ParameterValue struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parametervalues.html#cfn-datapipeline-pipeline-parametervalues-id - Id *types.Value `json:"Id,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parametervalues.html#cfn-datapipeline-pipeline-parametervalues-stringvalue - StringValue *types.Value `json:"StringValue,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 *Pipeline_ParameterValue) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.ParameterValue" -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelineobject.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelineobject.go deleted file mode 100644 index 453f25cea5..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelineobject.go +++ /dev/null @@ -1,47 +0,0 @@ -package datapipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_PipelineObject AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.PipelineObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html -type Pipeline_PipelineObject struct { - - // Fields AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-fields - Fields []Pipeline_Field `json:"Fields,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-id - Id *types.Value `json:"Id,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects.html#cfn-datapipeline-pipeline-pipelineobjects-name - Name *types.Value `json:"Name,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 *Pipeline_PipelineObject) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.PipelineObject" -} diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelinetag.go b/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelinetag.go deleted file mode 100644 index 8d733d7a36..0000000000 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_pipelinetag.go +++ /dev/null @@ -1,42 +0,0 @@ -package datapipeline - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_PipelineTag AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.PipelineTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html -type Pipeline_PipelineTag struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-value - Value *types.Value `json:"Value,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 *Pipeline_PipelineTag) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.PipelineTag" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-agent.go b/pkg/goformation/cloudformation/datasync/aws-datasync-agent.go deleted file mode 100644 index b9aaba2959..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-agent.go +++ /dev/null @@ -1,134 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Agent AWS CloudFormation Resource (AWS::DataSync::Agent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html -type Agent struct { - - // ActivationKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-activationkey - ActivationKey *types.Value `json:"ActivationKey,omitempty"` - - // AgentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-agentname - AgentName *types.Value `json:"AgentName,omitempty"` - - // SecurityGroupArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-securitygrouparns - SecurityGroupArns *types.Value `json:"SecurityGroupArns,omitempty"` - - // SubnetArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-subnetarns - SubnetArns *types.Value `json:"SubnetArns,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcEndpointId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-agent.html#cfn-datasync-agent-vpcendpointid - VpcEndpointId *types.Value `json:"VpcEndpointId,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 *Agent) AWSCloudFormationType() string { - return "AWS::DataSync::Agent" -} - -// 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 (r Agent) MarshalJSON() ([]byte, error) { - type Properties Agent - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Agent) UnmarshalJSON(b []byte) error { - type Properties Agent - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Agent(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs.go deleted file mode 100644 index 4d1181edfd..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs.go +++ /dev/null @@ -1,124 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationEFS AWS CloudFormation Resource (AWS::DataSync::LocationEFS) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html -type LocationEFS struct { - - // Ec2Config AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-ec2config - Ec2Config *LocationEFS_Ec2Config `json:"Ec2Config,omitempty"` - - // EfsFilesystemArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-efsfilesystemarn - EfsFilesystemArn *types.Value `json:"EfsFilesystemArn,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html#cfn-datasync-locationefs-tags - Tags []cloudformation.Tag `json:"Tags,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 *LocationEFS) AWSCloudFormationType() string { - return "AWS::DataSync::LocationEFS" -} - -// 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 (r LocationEFS) MarshalJSON() ([]byte, error) { - type Properties LocationEFS - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationEFS) UnmarshalJSON(b []byte) error { - type Properties LocationEFS - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationEFS(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs_ec2config.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs_ec2config.go deleted file mode 100644 index 0bafe954d9..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationefs_ec2config.go +++ /dev/null @@ -1,42 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationEFS_Ec2Config AWS CloudFormation Resource (AWS::DataSync::LocationEFS.Ec2Config) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationefs-ec2config.html -type LocationEFS_Ec2Config struct { - - // SecurityGroupArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationefs-ec2config.html#cfn-datasync-locationefs-ec2config-securitygrouparns - SecurityGroupArns *types.Value `json:"SecurityGroupArns,omitempty"` - - // SubnetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationefs-ec2config.html#cfn-datasync-locationefs-ec2config-subnetarn - SubnetArn *types.Value `json:"SubnetArn,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 *LocationEFS_Ec2Config) AWSCloudFormationType() string { - return "AWS::DataSync::LocationEFS.Ec2Config" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationfsxwindows.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationfsxwindows.go deleted file mode 100644 index ca075a0de2..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationfsxwindows.go +++ /dev/null @@ -1,139 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationFSxWindows AWS CloudFormation Resource (AWS::DataSync::LocationFSxWindows) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html -type LocationFSxWindows struct { - - // Domain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-domain - Domain *types.Value `json:"Domain,omitempty"` - - // FsxFilesystemArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-fsxfilesystemarn - FsxFilesystemArn *types.Value `json:"FsxFilesystemArn,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-password - Password *types.Value `json:"Password,omitempty"` - - // SecurityGroupArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-securitygrouparns - SecurityGroupArns *types.Value `json:"SecurityGroupArns,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // User AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationfsxwindows.html#cfn-datasync-locationfsxwindows-user - User *types.Value `json:"User,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 *LocationFSxWindows) AWSCloudFormationType() string { - return "AWS::DataSync::LocationFSxWindows" -} - -// 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 (r LocationFSxWindows) MarshalJSON() ([]byte, error) { - type Properties LocationFSxWindows - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationFSxWindows) UnmarshalJSON(b []byte) error { - type Properties LocationFSxWindows - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationFSxWindows(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs.go deleted file mode 100644 index caaf2cfcf2..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs.go +++ /dev/null @@ -1,169 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationHDFS AWS CloudFormation Resource (AWS::DataSync::LocationHDFS) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html -type LocationHDFS struct { - - // AgentArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-agentarns - AgentArns *types.Value `json:"AgentArns,omitempty"` - - // AuthenticationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // BlockSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-blocksize - BlockSize *types.Value `json:"BlockSize,omitempty"` - - // KerberosKeytab AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberoskeytab - KerberosKeytab *types.Value `json:"KerberosKeytab,omitempty"` - - // KerberosKrb5Conf AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberoskrb5conf - KerberosKrb5Conf *types.Value `json:"KerberosKrb5Conf,omitempty"` - - // KerberosPrincipal AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberosprincipal - KerberosPrincipal *types.Value `json:"KerberosPrincipal,omitempty"` - - // KmsKeyProviderUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kmskeyprovideruri - KmsKeyProviderUri *types.Value `json:"KmsKeyProviderUri,omitempty"` - - // NameNodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-namenodes - NameNodes []LocationHDFS_NameNode `json:"NameNodes,omitempty"` - - // QopConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-qopconfiguration - QopConfiguration *LocationHDFS_QopConfiguration `json:"QopConfiguration,omitempty"` - - // ReplicationFactor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-replicationfactor - ReplicationFactor *types.Value `json:"ReplicationFactor,omitempty"` - - // SimpleUser AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-simpleuser - SimpleUser *types.Value `json:"SimpleUser,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-tags - Tags []cloudformation.Tag `json:"Tags,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 *LocationHDFS) AWSCloudFormationType() string { - return "AWS::DataSync::LocationHDFS" -} - -// 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 (r LocationHDFS) MarshalJSON() ([]byte, error) { - type Properties LocationHDFS - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationHDFS) UnmarshalJSON(b []byte) error { - type Properties LocationHDFS - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationHDFS(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_qopconfiguration.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_qopconfiguration.go deleted file mode 100644 index c059642064..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_qopconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationHDFS_QopConfiguration AWS CloudFormation Resource (AWS::DataSync::LocationHDFS.QopConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-qopconfiguration.html -type LocationHDFS_QopConfiguration struct { - - // DataTransferProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-qopconfiguration.html#cfn-datasync-locationhdfs-qopconfiguration-datatransferprotection - DataTransferProtection *types.Value `json:"DataTransferProtection,omitempty"` - - // RpcProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-qopconfiguration.html#cfn-datasync-locationhdfs-qopconfiguration-rpcprotection - RpcProtection *types.Value `json:"RpcProtection,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 *LocationHDFS_QopConfiguration) AWSCloudFormationType() string { - return "AWS::DataSync::LocationHDFS.QopConfiguration" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs.go deleted file mode 100644 index 3aafa56e02..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs.go +++ /dev/null @@ -1,129 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationNFS AWS CloudFormation Resource (AWS::DataSync::LocationNFS) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html -type LocationNFS struct { - - // MountOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-mountoptions - MountOptions *LocationNFS_MountOptions `json:"MountOptions,omitempty"` - - // OnPremConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-onpremconfig - OnPremConfig *LocationNFS_OnPremConfig `json:"OnPremConfig,omitempty"` - - // ServerHostname AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-serverhostname - ServerHostname *types.Value `json:"ServerHostname,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-tags - Tags []cloudformation.Tag `json:"Tags,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 *LocationNFS) AWSCloudFormationType() string { - return "AWS::DataSync::LocationNFS" -} - -// 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 (r LocationNFS) MarshalJSON() ([]byte, error) { - type Properties LocationNFS - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationNFS) UnmarshalJSON(b []byte) error { - type Properties LocationNFS - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationNFS(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationobjectstorage.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationobjectstorage.go deleted file mode 100644 index a4281d5ec9..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationobjectstorage.go +++ /dev/null @@ -1,149 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationObjectStorage AWS CloudFormation Resource (AWS::DataSync::LocationObjectStorage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html -type LocationObjectStorage struct { - - // AccessKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-accesskey - AccessKey *types.Value `json:"AccessKey,omitempty"` - - // AgentArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-agentarns - AgentArns *types.Value `json:"AgentArns,omitempty"` - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // SecretKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-secretkey - SecretKey *types.Value `json:"SecretKey,omitempty"` - - // ServerHostname AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-serverhostname - ServerHostname *types.Value `json:"ServerHostname,omitempty"` - - // ServerPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-serverport - ServerPort *types.Value `json:"ServerPort,omitempty"` - - // ServerProtocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-serverprotocol - ServerProtocol *types.Value `json:"ServerProtocol,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationobjectstorage.html#cfn-datasync-locationobjectstorage-tags - Tags []cloudformation.Tag `json:"Tags,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 *LocationObjectStorage) AWSCloudFormationType() string { - return "AWS::DataSync::LocationObjectStorage" -} - -// 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 (r LocationObjectStorage) MarshalJSON() ([]byte, error) { - type Properties LocationObjectStorage - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationObjectStorage) UnmarshalJSON(b []byte) error { - type Properties LocationObjectStorage - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationObjectStorage(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locations3.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locations3.go deleted file mode 100644 index 25b0f9d621..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locations3.go +++ /dev/null @@ -1,129 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationS3 AWS CloudFormation Resource (AWS::DataSync::LocationS3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html -type LocationS3 struct { - - // S3BucketArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3bucketarn - S3BucketArn *types.Value `json:"S3BucketArn,omitempty"` - - // S3Config AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3config - S3Config *LocationS3_S3Config `json:"S3Config,omitempty"` - - // S3StorageClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3storageclass - S3StorageClass *types.Value `json:"S3StorageClass,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-tags - Tags []cloudformation.Tag `json:"Tags,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 *LocationS3) AWSCloudFormationType() string { - return "AWS::DataSync::LocationS3" -} - -// 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 (r LocationS3) MarshalJSON() ([]byte, error) { - type Properties LocationS3 - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationS3) UnmarshalJSON(b []byte) error { - type Properties LocationS3 - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationS3(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locations3_s3config.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locations3_s3config.go deleted file mode 100644 index c1cb876501..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locations3_s3config.go +++ /dev/null @@ -1,37 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationS3_S3Config AWS CloudFormation Resource (AWS::DataSync::LocationS3.S3Config) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locations3-s3config.html -type LocationS3_S3Config struct { - - // BucketAccessRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locations3-s3config.html#cfn-datasync-locations3-s3config-bucketaccessrolearn - BucketAccessRoleArn *types.Value `json:"BucketAccessRoleArn,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 *LocationS3_S3Config) AWSCloudFormationType() string { - return "AWS::DataSync::LocationS3.S3Config" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb.go deleted file mode 100644 index 5c18896cb7..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb.go +++ /dev/null @@ -1,144 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationSMB AWS CloudFormation Resource (AWS::DataSync::LocationSMB) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html -type LocationSMB struct { - - // AgentArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-agentarns - AgentArns *types.Value `json:"AgentArns,omitempty"` - - // Domain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-domain - Domain *types.Value `json:"Domain,omitempty"` - - // MountOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-mountoptions - MountOptions *LocationSMB_MountOptions `json:"MountOptions,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-password - Password *types.Value `json:"Password,omitempty"` - - // ServerHostname AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-serverhostname - ServerHostname *types.Value `json:"ServerHostname,omitempty"` - - // Subdirectory AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-subdirectory - Subdirectory *types.Value `json:"Subdirectory,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // User AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationsmb.html#cfn-datasync-locationsmb-user - User *types.Value `json:"User,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 *LocationSMB) AWSCloudFormationType() string { - return "AWS::DataSync::LocationSMB" -} - -// 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 (r LocationSMB) MarshalJSON() ([]byte, error) { - type Properties LocationSMB - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LocationSMB) UnmarshalJSON(b []byte) error { - type Properties LocationSMB - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LocationSMB(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb_mountoptions.go b/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb_mountoptions.go deleted file mode 100644 index 3ddc9b4078..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationsmb_mountoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LocationSMB_MountOptions AWS CloudFormation Resource (AWS::DataSync::LocationSMB.MountOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationsmb-mountoptions.html -type LocationSMB_MountOptions struct { - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationsmb-mountoptions.html#cfn-datasync-locationsmb-mountoptions-version - Version *types.Value `json:"Version,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 *LocationSMB_MountOptions) AWSCloudFormationType() string { - return "AWS::DataSync::LocationSMB.MountOptions" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-task.go b/pkg/goformation/cloudformation/datasync/aws-datasync-task.go deleted file mode 100644 index 99ca34689f..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-task.go +++ /dev/null @@ -1,149 +0,0 @@ -package datasync - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Task AWS CloudFormation Resource (AWS::DataSync::Task) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html -type Task struct { - - // CloudWatchLogGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-cloudwatchloggrouparn - CloudWatchLogGroupArn *types.Value `json:"CloudWatchLogGroupArn,omitempty"` - - // DestinationLocationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-destinationlocationarn - DestinationLocationArn *types.Value `json:"DestinationLocationArn,omitempty"` - - // Excludes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-excludes - Excludes []Task_FilterRule `json:"Excludes,omitempty"` - - // Includes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-includes - Includes []Task_FilterRule `json:"Includes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-name - Name *types.Value `json:"Name,omitempty"` - - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-options - Options *Task_Options `json:"Options,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-schedule - Schedule *Task_TaskSchedule `json:"Schedule,omitempty"` - - // SourceLocationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-sourcelocationarn - SourceLocationArn *types.Value `json:"SourceLocationArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-tags - Tags []cloudformation.Tag `json:"Tags,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 *Task) AWSCloudFormationType() string { - return "AWS::DataSync::Task" -} - -// 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 (r Task) MarshalJSON() ([]byte, error) { - type Properties Task - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Task) UnmarshalJSON(b []byte) error { - type Properties Task - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Task(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-task_filterrule.go b/pkg/goformation/cloudformation/datasync/aws-datasync-task_filterrule.go deleted file mode 100644 index 2b96a4d7c6..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-task_filterrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Task_FilterRule AWS CloudFormation Resource (AWS::DataSync::Task.FilterRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html -type Task_FilterRule struct { - - // FilterType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-filtertype - FilterType *types.Value `json:"FilterType,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-filterrule.html#cfn-datasync-task-filterrule-value - Value *types.Value `json:"Value,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 *Task_FilterRule) AWSCloudFormationType() string { - return "AWS::DataSync::Task.FilterRule" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-task_options.go b/pkg/goformation/cloudformation/datasync/aws-datasync-task_options.go deleted file mode 100644 index f542cb62f6..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-task_options.go +++ /dev/null @@ -1,102 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Task_Options AWS CloudFormation Resource (AWS::DataSync::Task.Options) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html -type Task_Options struct { - - // Atime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-atime - Atime *types.Value `json:"Atime,omitempty"` - - // BytesPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-bytespersecond - BytesPerSecond *types.Value `json:"BytesPerSecond,omitempty"` - - // Gid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-gid - Gid *types.Value `json:"Gid,omitempty"` - - // LogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-loglevel - LogLevel *types.Value `json:"LogLevel,omitempty"` - - // Mtime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-mtime - Mtime *types.Value `json:"Mtime,omitempty"` - - // OverwriteMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-overwritemode - OverwriteMode *types.Value `json:"OverwriteMode,omitempty"` - - // PosixPermissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-posixpermissions - PosixPermissions *types.Value `json:"PosixPermissions,omitempty"` - - // PreserveDeletedFiles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-preservedeletedfiles - PreserveDeletedFiles *types.Value `json:"PreserveDeletedFiles,omitempty"` - - // PreserveDevices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-preservedevices - PreserveDevices *types.Value `json:"PreserveDevices,omitempty"` - - // SecurityDescriptorCopyFlags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-securitydescriptorcopyflags - SecurityDescriptorCopyFlags *types.Value `json:"SecurityDescriptorCopyFlags,omitempty"` - - // TaskQueueing AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-taskqueueing - TaskQueueing *types.Value `json:"TaskQueueing,omitempty"` - - // TransferMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-transfermode - TransferMode *types.Value `json:"TransferMode,omitempty"` - - // Uid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-uid - Uid *types.Value `json:"Uid,omitempty"` - - // VerifyMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-options.html#cfn-datasync-task-options-verifymode - VerifyMode *types.Value `json:"VerifyMode,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 *Task_Options) AWSCloudFormationType() string { - return "AWS::DataSync::Task.Options" -} diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-task_taskschedule.go b/pkg/goformation/cloudformation/datasync/aws-datasync-task_taskschedule.go deleted file mode 100644 index 5992c04c4e..0000000000 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-task_taskschedule.go +++ /dev/null @@ -1,37 +0,0 @@ -package datasync - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Task_TaskSchedule AWS CloudFormation Resource (AWS::DataSync::Task.TaskSchedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html -type Task_TaskSchedule struct { - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskschedule.html#cfn-datasync-task-taskschedule-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *Task_TaskSchedule) AWSCloudFormationType() string { - return "AWS::DataSync::Task.TaskSchedule" -} diff --git a/pkg/goformation/cloudformation/dax/aws-dax-cluster.go b/pkg/goformation/cloudformation/dax/aws-dax-cluster.go deleted file mode 100644 index 063fbeef9b..0000000000 --- a/pkg/goformation/cloudformation/dax/aws-dax-cluster.go +++ /dev/null @@ -1,173 +0,0 @@ -package dax - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::DAX::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html -type Cluster struct { - - // AvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-availabilityzones - AvailabilityZones *types.Value `json:"AvailabilityZones,omitempty"` - - // ClusterEndpointEncryptionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-clusterendpointencryptiontype - ClusterEndpointEncryptionType *types.Value `json:"ClusterEndpointEncryptionType,omitempty"` - - // ClusterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-description - Description *types.Value `json:"Description,omitempty"` - - // IAMRoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-iamrolearn - IAMRoleARN *types.Value `json:"IAMRoleARN,omitempty"` - - // NodeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-nodetype - NodeType *types.Value `json:"NodeType,omitempty"` - - // NotificationTopicARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-notificationtopicarn - NotificationTopicARN *types.Value `json:"NotificationTopicARN,omitempty"` - - // ParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-parametergroupname - ParameterGroupName *types.Value `json:"ParameterGroupName,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // ReplicationFactor AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-replicationfactor - ReplicationFactor *types.Value `json:"ReplicationFactor"` - - // SSESpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-ssespecification - SSESpecification *Cluster_SSESpecification `json:"SSESpecification,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-subnetgroupname - SubnetGroupName *types.Value `json:"SubnetGroupName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html#cfn-dax-cluster-tags - Tags interface{} `json:"Tags,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 *Cluster) AWSCloudFormationType() string { - return "AWS::DAX::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dax/aws-dax-cluster_ssespecification.go b/pkg/goformation/cloudformation/dax/aws-dax-cluster_ssespecification.go deleted file mode 100644 index 5b67fbe2f0..0000000000 --- a/pkg/goformation/cloudformation/dax/aws-dax-cluster_ssespecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dax - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_SSESpecification AWS CloudFormation Resource (AWS::DAX::Cluster.SSESpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.html -type Cluster_SSESpecification struct { - - // SSEEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.html#cfn-dax-cluster-ssespecification-sseenabled - SSEEnabled *types.Value `json:"SSEEnabled,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 *Cluster_SSESpecification) AWSCloudFormationType() string { - return "AWS::DAX::Cluster.SSESpecification" -} diff --git a/pkg/goformation/cloudformation/dax/aws-dax-parametergroup.go b/pkg/goformation/cloudformation/dax/aws-dax-parametergroup.go deleted file mode 100644 index 652968d433..0000000000 --- a/pkg/goformation/cloudformation/dax/aws-dax-parametergroup.go +++ /dev/null @@ -1,118 +0,0 @@ -package dax - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ParameterGroup AWS CloudFormation Resource (AWS::DAX::ParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-parametergroup.html -type ParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-parametergroup.html#cfn-dax-parametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // ParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-parametergroup.html#cfn-dax-parametergroup-parametergroupname - ParameterGroupName *types.Value `json:"ParameterGroupName,omitempty"` - - // ParameterNameValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-parametergroup.html#cfn-dax-parametergroup-parameternamevalues - ParameterNameValues interface{} `json:"ParameterNameValues,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 *ParameterGroup) AWSCloudFormationType() string { - return "AWS::DAX::ParameterGroup" -} - -// 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 (r ParameterGroup) MarshalJSON() ([]byte, error) { - type Properties ParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ParameterGroup) UnmarshalJSON(b []byte) error { - type Properties ParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dax/aws-dax-subnetgroup.go b/pkg/goformation/cloudformation/dax/aws-dax-subnetgroup.go deleted file mode 100644 index 70f7177f83..0000000000 --- a/pkg/goformation/cloudformation/dax/aws-dax-subnetgroup.go +++ /dev/null @@ -1,118 +0,0 @@ -package dax - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubnetGroup AWS CloudFormation Resource (AWS::DAX::SubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html -type SubnetGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html#cfn-dax-subnetgroup-description - Description *types.Value `json:"Description,omitempty"` - - // SubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html#cfn-dax-subnetgroup-subnetgroupname - SubnetGroupName *types.Value `json:"SubnetGroupName,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-subnetgroup.html#cfn-dax-subnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *SubnetGroup) AWSCloudFormationType() string { - return "AWS::DAX::SubnetGroup" -} - -// 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 (r SubnetGroup) MarshalJSON() ([]byte, error) { - type Properties SubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubnetGroup) UnmarshalJSON(b []byte) error { - type Properties SubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/detective/aws-detective-graph.go b/pkg/goformation/cloudformation/detective/aws-detective-graph.go deleted file mode 100644 index 619008b4ec..0000000000 --- a/pkg/goformation/cloudformation/detective/aws-detective-graph.go +++ /dev/null @@ -1,107 +0,0 @@ -package detective - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Graph AWS CloudFormation Resource (AWS::Detective::Graph) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-graph.html -type Graph struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-graph.html#cfn-detective-graph-tags - Tags []cloudformation.Tag `json:"Tags,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 *Graph) AWSCloudFormationType() string { - return "AWS::Detective::Graph" -} - -// 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 (r Graph) MarshalJSON() ([]byte, error) { - type Properties Graph - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Graph) UnmarshalJSON(b []byte) error { - type Properties Graph - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Graph(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/detective/aws-detective-memberinvitation.go b/pkg/goformation/cloudformation/detective/aws-detective-memberinvitation.go deleted file mode 100644 index 852a79fbb1..0000000000 --- a/pkg/goformation/cloudformation/detective/aws-detective-memberinvitation.go +++ /dev/null @@ -1,128 +0,0 @@ -package detective - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MemberInvitation AWS CloudFormation Resource (AWS::Detective::MemberInvitation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html -type MemberInvitation struct { - - // DisableEmailNotification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html#cfn-detective-memberinvitation-disableemailnotification - DisableEmailNotification *types.Value `json:"DisableEmailNotification,omitempty"` - - // GraphArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html#cfn-detective-memberinvitation-grapharn - GraphArn *types.Value `json:"GraphArn,omitempty"` - - // MemberEmailAddress AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html#cfn-detective-memberinvitation-memberemailaddress - MemberEmailAddress *types.Value `json:"MemberEmailAddress,omitempty"` - - // MemberId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html#cfn-detective-memberinvitation-memberid - MemberId *types.Value `json:"MemberId,omitempty"` - - // Message AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-detective-memberinvitation.html#cfn-detective-memberinvitation-message - Message *types.Value `json:"Message,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 *MemberInvitation) AWSCloudFormationType() string { - return "AWS::Detective::MemberInvitation" -} - -// 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 (r MemberInvitation) MarshalJSON() ([]byte, error) { - type Properties MemberInvitation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MemberInvitation) UnmarshalJSON(b []byte) error { - type Properties MemberInvitation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MemberInvitation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel.go deleted file mode 100644 index ef85057a67..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel.go +++ /dev/null @@ -1,106 +0,0 @@ -package devopsguru - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotificationChannel AWS CloudFormation Resource (AWS::DevOpsGuru::NotificationChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html -type NotificationChannel struct { - - // Config AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-notificationchannel.html#cfn-devopsguru-notificationchannel-config - Config *NotificationChannel_NotificationChannelConfig `json:"Config,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 *NotificationChannel) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::NotificationChannel" -} - -// 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 (r NotificationChannel) MarshalJSON() ([]byte, error) { - type Properties NotificationChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NotificationChannel) UnmarshalJSON(b []byte) error { - type Properties NotificationChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = NotificationChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_notificationchannelconfig.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_notificationchannelconfig.go deleted file mode 100644 index 0a0187eac0..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_notificationchannelconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package devopsguru - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotificationChannel_NotificationChannelConfig AWS CloudFormation Resource (AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-notificationchannelconfig.html -type NotificationChannel_NotificationChannelConfig struct { - - // Sns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-notificationchannelconfig.html#cfn-devopsguru-notificationchannel-notificationchannelconfig-sns - Sns *NotificationChannel_SnsChannelConfig `json:"Sns,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 *NotificationChannel_NotificationChannelConfig) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig" -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_snschannelconfig.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_snschannelconfig.go deleted file mode 100644 index 34838d7927..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-notificationchannel_snschannelconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package devopsguru - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotificationChannel_SnsChannelConfig AWS CloudFormation Resource (AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-snschannelconfig.html -type NotificationChannel_SnsChannelConfig struct { - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-notificationchannel-snschannelconfig.html#cfn-devopsguru-notificationchannel-snschannelconfig-topicarn - TopicArn *types.Value `json:"TopicArn,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 *NotificationChannel_SnsChannelConfig) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig" -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection.go deleted file mode 100644 index 8679b3c1b0..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection.go +++ /dev/null @@ -1,106 +0,0 @@ -package devopsguru - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceCollection AWS CloudFormation Resource (AWS::DevOpsGuru::ResourceCollection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-resourcecollection.html -type ResourceCollection struct { - - // ResourceCollectionFilter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsguru-resourcecollection.html#cfn-devopsguru-resourcecollection-resourcecollectionfilter - ResourceCollectionFilter *ResourceCollection_ResourceCollectionFilter `json:"ResourceCollectionFilter,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 *ResourceCollection) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::ResourceCollection" -} - -// 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 (r ResourceCollection) MarshalJSON() ([]byte, error) { - type Properties ResourceCollection - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceCollection) UnmarshalJSON(b []byte) error { - type Properties ResourceCollection - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceCollection(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_cloudformationcollectionfilter.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_cloudformationcollectionfilter.go deleted file mode 100644 index c34bff9c6f..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_cloudformationcollectionfilter.go +++ /dev/null @@ -1,37 +0,0 @@ -package devopsguru - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceCollection_CloudFormationCollectionFilter AWS CloudFormation Resource (AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-cloudformationcollectionfilter.html -type ResourceCollection_CloudFormationCollectionFilter struct { - - // StackNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-cloudformationcollectionfilter.html#cfn-devopsguru-resourcecollection-cloudformationcollectionfilter-stacknames - StackNames *types.Value `json:"StackNames,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 *ResourceCollection_CloudFormationCollectionFilter) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter" -} diff --git a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_resourcecollectionfilter.go b/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_resourcecollectionfilter.go deleted file mode 100644 index b0706a4e3e..0000000000 --- a/pkg/goformation/cloudformation/devopsguru/aws-devopsguru-resourcecollection_resourcecollectionfilter.go +++ /dev/null @@ -1,35 +0,0 @@ -package devopsguru - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceCollection_ResourceCollectionFilter AWS CloudFormation Resource (AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-resourcecollectionfilter.html -type ResourceCollection_ResourceCollectionFilter struct { - - // CloudFormation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsguru-resourcecollection-resourcecollectionfilter.html#cfn-devopsguru-resourcecollection-resourcecollectionfilter-cloudformation - CloudFormation *ResourceCollection_CloudFormationCollectionFilter `json:"CloudFormation,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 *ResourceCollection_ResourceCollectionFilter) AWSCloudFormationType() string { - return "AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter" -} diff --git a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad.go b/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad.go deleted file mode 100644 index 5f7f770f24..0000000000 --- a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad.go +++ /dev/null @@ -1,138 +0,0 @@ -package directoryservice - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MicrosoftAD AWS CloudFormation Resource (AWS::DirectoryService::MicrosoftAD) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html -type MicrosoftAD struct { - - // CreateAlias AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-createalias - CreateAlias *types.Value `json:"CreateAlias,omitempty"` - - // Edition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-edition - Edition *types.Value `json:"Edition,omitempty"` - - // EnableSso AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-enablesso - EnableSso *types.Value `json:"EnableSso,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-name - Name *types.Value `json:"Name,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-password - Password *types.Value `json:"Password,omitempty"` - - // ShortName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-shortname - ShortName *types.Value `json:"ShortName,omitempty"` - - // VpcSettings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-microsoftad.html#cfn-directoryservice-microsoftad-vpcsettings - VpcSettings *MicrosoftAD_VpcSettings `json:"VpcSettings,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 *MicrosoftAD) AWSCloudFormationType() string { - return "AWS::DirectoryService::MicrosoftAD" -} - -// 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 (r MicrosoftAD) MarshalJSON() ([]byte, error) { - type Properties MicrosoftAD - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MicrosoftAD) UnmarshalJSON(b []byte) error { - type Properties MicrosoftAD - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MicrosoftAD(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad_vpcsettings.go b/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad_vpcsettings.go deleted file mode 100644 index a4b8bb4a83..0000000000 --- a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-microsoftad_vpcsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package directoryservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MicrosoftAD_VpcSettings AWS CloudFormation Resource (AWS::DirectoryService::MicrosoftAD.VpcSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-microsoftad-vpcsettings.html -type MicrosoftAD_VpcSettings struct { - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-microsoftad-vpcsettings.html#cfn-directoryservice-microsoftad-vpcsettings-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-microsoftad-vpcsettings.html#cfn-directoryservice-microsoftad-vpcsettings-vpcid - VpcId *types.Value `json:"VpcId,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 *MicrosoftAD_VpcSettings) AWSCloudFormationType() string { - return "AWS::DirectoryService::MicrosoftAD.VpcSettings" -} diff --git a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead.go b/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead.go deleted file mode 100644 index adfa753346..0000000000 --- a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead.go +++ /dev/null @@ -1,143 +0,0 @@ -package directoryservice - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimpleAD AWS CloudFormation Resource (AWS::DirectoryService::SimpleAD) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html -type SimpleAD struct { - - // CreateAlias AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-createalias - CreateAlias *types.Value `json:"CreateAlias,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-description - Description *types.Value `json:"Description,omitempty"` - - // EnableSso AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-enablesso - EnableSso *types.Value `json:"EnableSso,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-name - Name *types.Value `json:"Name,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-password - Password *types.Value `json:"Password,omitempty"` - - // ShortName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-shortname - ShortName *types.Value `json:"ShortName,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-size - Size *types.Value `json:"Size,omitempty"` - - // VpcSettings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-vpcsettings - VpcSettings *SimpleAD_VpcSettings `json:"VpcSettings,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 *SimpleAD) AWSCloudFormationType() string { - return "AWS::DirectoryService::SimpleAD" -} - -// 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 (r SimpleAD) MarshalJSON() ([]byte, error) { - type Properties SimpleAD - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SimpleAD) UnmarshalJSON(b []byte) error { - type Properties SimpleAD - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SimpleAD(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead_vpcsettings.go b/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead_vpcsettings.go deleted file mode 100644 index 5f152c4f9b..0000000000 --- a/pkg/goformation/cloudformation/directoryservice/aws-directoryservice-simplead_vpcsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package directoryservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimpleAD_VpcSettings AWS CloudFormation Resource (AWS::DirectoryService::SimpleAD.VpcSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html -type SimpleAD_VpcSettings struct { - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html#cfn-directoryservice-simplead-vpcsettings-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html#cfn-directoryservice-simplead-vpcsettings-vpcid - VpcId *types.Value `json:"VpcId,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 *SimpleAD_VpcSettings) AWSCloudFormationType() string { - return "AWS::DirectoryService::SimpleAD.VpcSettings" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy.go deleted file mode 100644 index ab2074ae43..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy.go +++ /dev/null @@ -1,129 +0,0 @@ -package dlm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html -type LifecyclePolicy struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html#cfn-dlm-lifecyclepolicy-description - Description *types.Value `json:"Description,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html#cfn-dlm-lifecyclepolicy-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // PolicyDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html#cfn-dlm-lifecyclepolicy-policydetails - PolicyDetails *LifecyclePolicy_PolicyDetails `json:"PolicyDetails,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html#cfn-dlm-lifecyclepolicy-state - State *types.Value `json:"State,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html#cfn-dlm-lifecyclepolicy-tags - Tags []cloudformation.Tag `json:"Tags,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 *LifecyclePolicy) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy" -} - -// 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 (r LifecyclePolicy) MarshalJSON() ([]byte, error) { - type Properties LifecyclePolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LifecyclePolicy) UnmarshalJSON(b []byte) error { - type Properties LifecyclePolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LifecyclePolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_action.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_action.go deleted file mode 100644 index a48d8cc30e..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_action.go +++ /dev/null @@ -1,42 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_Action AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html -type LifecyclePolicy_Action struct { - - // CrossRegionCopy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html#cfn-dlm-lifecyclepolicy-action-crossregioncopy - CrossRegionCopy []LifecyclePolicy_CrossRegionCopyAction `json:"CrossRegionCopy,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html#cfn-dlm-lifecyclepolicy-action-name - Name *types.Value `json:"Name,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 *LifecyclePolicy_Action) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.Action" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_createrule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_createrule.go deleted file mode 100644 index d2bb009400..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_createrule.go +++ /dev/null @@ -1,57 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_CreateRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.CreateRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html -type LifecyclePolicy_CreateRule struct { - - // CronExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-cronexpression - CronExpression *types.Value `json:"CronExpression,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-interval - Interval *types.Value `json:"Interval,omitempty"` - - // IntervalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-location - Location *types.Value `json:"Location,omitempty"` - - // Times AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html#cfn-dlm-lifecyclepolicy-createrule-times - Times *types.Value `json:"Times,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 *LifecyclePolicy_CreateRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.CreateRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyaction.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyaction.go deleted file mode 100644 index ad56f0ee64..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_CrossRegionCopyAction AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.CrossRegionCopyAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html -type LifecyclePolicy_CrossRegionCopyAction struct { - - // EncryptionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-encryptionconfiguration - EncryptionConfiguration *LifecyclePolicy_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // RetainRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-retainrule - RetainRule *LifecyclePolicy_CrossRegionCopyRetainRule `json:"RetainRule,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-target - Target *types.Value `json:"Target,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 *LifecyclePolicy_CrossRegionCopyAction) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.CrossRegionCopyAction" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopydeprecaterule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopydeprecaterule.go deleted file mode 100644 index 8549bc66f7..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopydeprecaterule.go +++ /dev/null @@ -1,42 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_CrossRegionCopyDeprecateRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html -type LifecyclePolicy_CrossRegionCopyDeprecateRule struct { - - // Interval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html#cfn-dlm-lifecyclepolicy-crossregioncopydeprecaterule-interval - Interval *types.Value `json:"Interval"` - - // IntervalUnit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html#cfn-dlm-lifecyclepolicy-crossregioncopydeprecaterule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,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 *LifecyclePolicy_CrossRegionCopyDeprecateRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyretainrule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyretainrule.go deleted file mode 100644 index 709d7187b9..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyretainrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_CrossRegionCopyRetainRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyretainrule.html -type LifecyclePolicy_CrossRegionCopyRetainRule struct { - - // Interval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyretainrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyretainrule-interval - Interval *types.Value `json:"Interval"` - - // IntervalUnit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyretainrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyretainrule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,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 *LifecyclePolicy_CrossRegionCopyRetainRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyrule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyrule.go deleted file mode 100644 index 274582c0d0..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_crossregioncopyrule.go +++ /dev/null @@ -1,67 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_CrossRegionCopyRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.CrossRegionCopyRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html -type LifecyclePolicy_CrossRegionCopyRule struct { - - // CmkArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-cmkarn - CmkArn *types.Value `json:"CmkArn,omitempty"` - - // CopyTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-copytags - CopyTags *types.Value `json:"CopyTags,omitempty"` - - // DeprecateRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-deprecaterule - DeprecateRule *LifecyclePolicy_CrossRegionCopyDeprecateRule `json:"DeprecateRule,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-encrypted - Encrypted *types.Value `json:"Encrypted"` - - // RetainRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-retainrule - RetainRule *LifecyclePolicy_CrossRegionCopyRetainRule `json:"RetainRule,omitempty"` - - // Target AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-target - Target *types.Value `json:"Target,omitempty"` - - // TargetRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html#cfn-dlm-lifecyclepolicy-crossregioncopyrule-targetregion - TargetRegion *types.Value `json:"TargetRegion,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 *LifecyclePolicy_CrossRegionCopyRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.CrossRegionCopyRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_deprecaterule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_deprecaterule.go deleted file mode 100644 index 5dab9ae6d5..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_deprecaterule.go +++ /dev/null @@ -1,47 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_DeprecateRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.DeprecateRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html -type LifecyclePolicy_DeprecateRule struct { - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-count - Count *types.Value `json:"Count,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-interval - Interval *types.Value `json:"Interval,omitempty"` - - // IntervalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html#cfn-dlm-lifecyclepolicy-deprecaterule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,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 *LifecyclePolicy_DeprecateRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.DeprecateRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_encryptionconfiguration.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_encryptionconfiguration.go deleted file mode 100644 index fdba029e85..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_encryptionconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_EncryptionConfiguration AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.EncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-encryptionconfiguration.html -type LifecyclePolicy_EncryptionConfiguration struct { - - // CmkArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-encryptionconfiguration.html#cfn-dlm-lifecyclepolicy-encryptionconfiguration-cmkarn - CmkArn *types.Value `json:"CmkArn,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-encryptionconfiguration.html#cfn-dlm-lifecyclepolicy-encryptionconfiguration-encrypted - Encrypted *types.Value `json:"Encrypted"` - - // 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 *LifecyclePolicy_EncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.EncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventparameters.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventparameters.go deleted file mode 100644 index ff5cdbc51a..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_EventParameters AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.EventParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html -type LifecyclePolicy_EventParameters struct { - - // DescriptionRegex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html#cfn-dlm-lifecyclepolicy-eventparameters-descriptionregex - DescriptionRegex *types.Value `json:"DescriptionRegex,omitempty"` - - // EventType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html#cfn-dlm-lifecyclepolicy-eventparameters-eventtype - EventType *types.Value `json:"EventType,omitempty"` - - // SnapshotOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html#cfn-dlm-lifecyclepolicy-eventparameters-snapshotowner - SnapshotOwner *types.Value `json:"SnapshotOwner,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 *LifecyclePolicy_EventParameters) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.EventParameters" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_fastrestorerule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_fastrestorerule.go deleted file mode 100644 index 19e28a197b..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_fastrestorerule.go +++ /dev/null @@ -1,52 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_FastRestoreRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.FastRestoreRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html -type LifecyclePolicy_FastRestoreRule struct { - - // AvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html#cfn-dlm-lifecyclepolicy-fastrestorerule-availabilityzones - AvailabilityZones *types.Value `json:"AvailabilityZones,omitempty"` - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html#cfn-dlm-lifecyclepolicy-fastrestorerule-count - Count *types.Value `json:"Count,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html#cfn-dlm-lifecyclepolicy-fastrestorerule-interval - Interval *types.Value `json:"Interval,omitempty"` - - // IntervalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html#cfn-dlm-lifecyclepolicy-fastrestorerule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,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 *LifecyclePolicy_FastRestoreRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.FastRestoreRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_parameters.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_parameters.go deleted file mode 100644 index 14855b9b57..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_parameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_Parameters AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.Parameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html -type LifecyclePolicy_Parameters struct { - - // ExcludeBootVolume AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html#cfn-dlm-lifecyclepolicy-parameters-excludebootvolume - ExcludeBootVolume *types.Value `json:"ExcludeBootVolume,omitempty"` - - // NoReboot AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html#cfn-dlm-lifecyclepolicy-parameters-noreboot - NoReboot *types.Value `json:"NoReboot,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 *LifecyclePolicy_Parameters) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.Parameters" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_policydetails.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_policydetails.go deleted file mode 100644 index 8c88ff5b93..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_policydetails.go +++ /dev/null @@ -1,73 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_PolicyDetails AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.PolicyDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html -type LifecyclePolicy_PolicyDetails struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-actions - Actions []LifecyclePolicy_Action `json:"Actions,omitempty"` - - // EventSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-eventsource - EventSource *LifecyclePolicy_EventSource `json:"EventSource,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-parameters - Parameters *LifecyclePolicy_Parameters `json:"Parameters,omitempty"` - - // PolicyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-policytype - PolicyType *types.Value `json:"PolicyType,omitempty"` - - // ResourceLocations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-resourcelocations - ResourceLocations *types.Value `json:"ResourceLocations,omitempty"` - - // ResourceTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-resourcetypes - ResourceTypes *types.Value `json:"ResourceTypes,omitempty"` - - // Schedules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-schedules - Schedules []LifecyclePolicy_Schedule `json:"Schedules,omitempty"` - - // TargetTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html#cfn-dlm-lifecyclepolicy-policydetails-targettags - TargetTags []cloudformation.Tag `json:"TargetTags,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 *LifecyclePolicy_PolicyDetails) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.PolicyDetails" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_retainrule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_retainrule.go deleted file mode 100644 index 2839f82e9a..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_retainrule.go +++ /dev/null @@ -1,47 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_RetainRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.RetainRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html -type LifecyclePolicy_RetainRule struct { - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-count - Count *types.Value `json:"Count,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-interval - Interval *types.Value `json:"Interval,omitempty"` - - // IntervalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html#cfn-dlm-lifecyclepolicy-retainrule-intervalunit - IntervalUnit *types.Value `json:"IntervalUnit,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 *LifecyclePolicy_RetainRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.RetainRule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_schedule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_schedule.go deleted file mode 100644 index cfc97e01ab..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_schedule.go +++ /dev/null @@ -1,83 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_Schedule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html -type LifecyclePolicy_Schedule struct { - - // CopyTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-copytags - CopyTags *types.Value `json:"CopyTags,omitempty"` - - // CreateRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-createrule - CreateRule *LifecyclePolicy_CreateRule `json:"CreateRule,omitempty"` - - // CrossRegionCopyRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-crossregioncopyrules - CrossRegionCopyRules []LifecyclePolicy_CrossRegionCopyRule `json:"CrossRegionCopyRules,omitempty"` - - // DeprecateRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-deprecaterule - DeprecateRule *LifecyclePolicy_DeprecateRule `json:"DeprecateRule,omitempty"` - - // FastRestoreRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-fastrestorerule - FastRestoreRule *LifecyclePolicy_FastRestoreRule `json:"FastRestoreRule,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-name - Name *types.Value `json:"Name,omitempty"` - - // RetainRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-retainrule - RetainRule *LifecyclePolicy_RetainRule `json:"RetainRule,omitempty"` - - // ShareRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-sharerules - ShareRules []LifecyclePolicy_ShareRule `json:"ShareRules,omitempty"` - - // TagsToAdd AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-tagstoadd - TagsToAdd []cloudformation.Tag `json:"TagsToAdd,omitempty"` - - // VariableTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html#cfn-dlm-lifecyclepolicy-schedule-variabletags - VariableTags []cloudformation.Tag `json:"VariableTags,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 *LifecyclePolicy_Schedule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.Schedule" -} diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_sharerule.go b/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_sharerule.go deleted file mode 100644 index de6f3e13cb..0000000000 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_sharerule.go +++ /dev/null @@ -1,47 +0,0 @@ -package dlm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LifecyclePolicy_ShareRule AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.ShareRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html -type LifecyclePolicy_ShareRule struct { - - // TargetAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html#cfn-dlm-lifecyclepolicy-sharerule-targetaccounts - TargetAccounts *types.Value `json:"TargetAccounts,omitempty"` - - // UnshareInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html#cfn-dlm-lifecyclepolicy-sharerule-unshareinterval - UnshareInterval *types.Value `json:"UnshareInterval,omitempty"` - - // UnshareIntervalUnit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html#cfn-dlm-lifecyclepolicy-sharerule-unshareintervalunit - UnshareIntervalUnit *types.Value `json:"UnshareIntervalUnit,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 *LifecyclePolicy_ShareRule) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.ShareRule" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-certificate.go b/pkg/goformation/cloudformation/dms/aws-dms-certificate.go deleted file mode 100644 index 5873511f3b..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-certificate.go +++ /dev/null @@ -1,118 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate AWS CloudFormation Resource (AWS::DMS::Certificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-certificate.html -type Certificate struct { - - // CertificateIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-certificate.html#cfn-dms-certificate-certificateidentifier - CertificateIdentifier *types.Value `json:"CertificateIdentifier,omitempty"` - - // CertificatePem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-certificate.html#cfn-dms-certificate-certificatepem - CertificatePem *types.Value `json:"CertificatePem,omitempty"` - - // CertificateWallet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-certificate.html#cfn-dms-certificate-certificatewallet - CertificateWallet *types.Value `json:"CertificateWallet,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 *Certificate) AWSCloudFormationType() string { - return "AWS::DMS::Certificate" -} - -// 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 (r Certificate) MarshalJSON() ([]byte, error) { - type Properties Certificate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Certificate) UnmarshalJSON(b []byte) error { - type Properties Certificate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Certificate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint.go deleted file mode 100644 index 7c15b2a8f4..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint.go +++ /dev/null @@ -1,254 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint AWS CloudFormation Resource (AWS::DMS::Endpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html -type Endpoint struct { - - // CertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DocDbSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-docdbsettings - DocDbSettings *Endpoint_DocDbSettings `json:"DocDbSettings,omitempty"` - - // DynamoDbSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-dynamodbsettings - DynamoDbSettings *Endpoint_DynamoDbSettings `json:"DynamoDbSettings,omitempty"` - - // ElasticsearchSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-elasticsearchsettings - ElasticsearchSettings *Endpoint_ElasticsearchSettings `json:"ElasticsearchSettings,omitempty"` - - // EndpointIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointidentifier - EndpointIdentifier *types.Value `json:"EndpointIdentifier,omitempty"` - - // EndpointType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // EngineName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-enginename - EngineName *types.Value `json:"EngineName,omitempty"` - - // ExtraConnectionAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-extraconnectionattributes - ExtraConnectionAttributes *types.Value `json:"ExtraConnectionAttributes,omitempty"` - - // IbmDb2Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-ibmdb2settings - IbmDb2Settings *Endpoint_IbmDb2Settings `json:"IbmDb2Settings,omitempty"` - - // KafkaSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kafkasettings - KafkaSettings *Endpoint_KafkaSettings `json:"KafkaSettings,omitempty"` - - // KinesisSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kinesissettings - KinesisSettings *Endpoint_KinesisSettings `json:"KinesisSettings,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MicrosoftSqlServerSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-microsoftsqlserversettings - MicrosoftSqlServerSettings *Endpoint_MicrosoftSqlServerSettings `json:"MicrosoftSqlServerSettings,omitempty"` - - // MongoDbSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-mongodbsettings - MongoDbSettings *Endpoint_MongoDbSettings `json:"MongoDbSettings,omitempty"` - - // MySqlSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-mysqlsettings - MySqlSettings *Endpoint_MySqlSettings `json:"MySqlSettings,omitempty"` - - // NeptuneSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-neptunesettings - NeptuneSettings *Endpoint_NeptuneSettings `json:"NeptuneSettings,omitempty"` - - // OracleSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-oraclesettings - OracleSettings *Endpoint_OracleSettings `json:"OracleSettings,omitempty"` - - // Password AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-password - Password *types.Value `json:"Password,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-port - Port *types.Value `json:"Port,omitempty"` - - // PostgreSqlSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-postgresqlsettings - PostgreSqlSettings *Endpoint_PostgreSqlSettings `json:"PostgreSqlSettings,omitempty"` - - // RedisSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-redissettings - RedisSettings *Endpoint_RedisSettings `json:"RedisSettings,omitempty"` - - // RedshiftSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-redshiftsettings - RedshiftSettings *Endpoint_RedshiftSettings `json:"RedshiftSettings,omitempty"` - - // ResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-resourceidentifier - ResourceIdentifier *types.Value `json:"ResourceIdentifier,omitempty"` - - // S3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-s3settings - S3Settings *Endpoint_S3Settings `json:"S3Settings,omitempty"` - - // ServerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-servername - ServerName *types.Value `json:"ServerName,omitempty"` - - // SslMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sslmode - SslMode *types.Value `json:"SslMode,omitempty"` - - // SybaseSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-sybasesettings - SybaseSettings *Endpoint_SybaseSettings `json:"SybaseSettings,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html#cfn-dms-endpoint-username - Username *types.Value `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 *Endpoint) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint" -} - -// 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 (r Endpoint) MarshalJSON() ([]byte, error) { - type Properties Endpoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Endpoint) UnmarshalJSON(b []byte) error { - type Properties Endpoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Endpoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_docdbsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_docdbsettings.go deleted file mode 100644 index 358e8f8a11..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_docdbsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_DocDbSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.DocDbSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-docdbsettings.html -type Endpoint_DocDbSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-docdbsettings.html#cfn-dms-endpoint-docdbsettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-docdbsettings.html#cfn-dms-endpoint-docdbsettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_DocDbSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.DocDbSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_dynamodbsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_dynamodbsettings.go deleted file mode 100644 index af84bd278d..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_dynamodbsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_DynamoDbSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.DynamoDbSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html -type Endpoint_DynamoDbSettings struct { - - // ServiceAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-dynamodbsettings.html#cfn-dms-endpoint-dynamodbsettings-serviceaccessrolearn - ServiceAccessRoleArn *types.Value `json:"ServiceAccessRoleArn,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 *Endpoint_DynamoDbSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.DynamoDbSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_elasticsearchsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_elasticsearchsettings.go deleted file mode 100644 index 5ad206e2c7..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_elasticsearchsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_ElasticsearchSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.ElasticsearchSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html -type Endpoint_ElasticsearchSettings struct { - - // EndpointUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html#cfn-dms-endpoint-elasticsearchsettings-endpointuri - EndpointUri *types.Value `json:"EndpointUri,omitempty"` - - // ErrorRetryDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html#cfn-dms-endpoint-elasticsearchsettings-errorretryduration - ErrorRetryDuration *types.Value `json:"ErrorRetryDuration,omitempty"` - - // FullLoadErrorPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html#cfn-dms-endpoint-elasticsearchsettings-fullloaderrorpercentage - FullLoadErrorPercentage *types.Value `json:"FullLoadErrorPercentage,omitempty"` - - // ServiceAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html#cfn-dms-endpoint-elasticsearchsettings-serviceaccessrolearn - ServiceAccessRoleArn *types.Value `json:"ServiceAccessRoleArn,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 *Endpoint_ElasticsearchSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.ElasticsearchSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_ibmdb2settings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_ibmdb2settings.go deleted file mode 100644 index 5f07854120..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_ibmdb2settings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_IbmDb2Settings AWS CloudFormation Resource (AWS::DMS::Endpoint.IbmDb2Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-ibmdb2settings.html -type Endpoint_IbmDb2Settings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-ibmdb2settings.html#cfn-dms-endpoint-ibmdb2settings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-ibmdb2settings.html#cfn-dms-endpoint-ibmdb2settings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_IbmDb2Settings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.IbmDb2Settings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kafkasettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kafkasettings.go deleted file mode 100644 index 7cbf2b5487..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kafkasettings.go +++ /dev/null @@ -1,107 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_KafkaSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.KafkaSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html -type Endpoint_KafkaSettings struct { - - // Broker AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-broker - Broker *types.Value `json:"Broker,omitempty"` - - // IncludeControlDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-includecontroldetails - IncludeControlDetails *types.Value `json:"IncludeControlDetails,omitempty"` - - // IncludeNullAndEmpty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-includenullandempty - IncludeNullAndEmpty *types.Value `json:"IncludeNullAndEmpty,omitempty"` - - // IncludeTableAlterOperations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-includetablealteroperations - IncludeTableAlterOperations *types.Value `json:"IncludeTableAlterOperations,omitempty"` - - // IncludeTransactionDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-includetransactiondetails - IncludeTransactionDetails *types.Value `json:"IncludeTransactionDetails,omitempty"` - - // NoHexPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-nohexprefix - NoHexPrefix *types.Value `json:"NoHexPrefix,omitempty"` - - // PartitionIncludeSchemaTable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-partitionincludeschematable - PartitionIncludeSchemaTable *types.Value `json:"PartitionIncludeSchemaTable,omitempty"` - - // SaslPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-saslpassword - SaslPassword *types.Value `json:"SaslPassword,omitempty"` - - // SaslUserName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-saslusername - SaslUserName *types.Value `json:"SaslUserName,omitempty"` - - // SecurityProtocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-securityprotocol - SecurityProtocol *types.Value `json:"SecurityProtocol,omitempty"` - - // SslCaCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-sslcacertificatearn - SslCaCertificateArn *types.Value `json:"SslCaCertificateArn,omitempty"` - - // SslClientCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-sslclientcertificatearn - SslClientCertificateArn *types.Value `json:"SslClientCertificateArn,omitempty"` - - // SslClientKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-sslclientkeyarn - SslClientKeyArn *types.Value `json:"SslClientKeyArn,omitempty"` - - // SslClientKeyPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-sslclientkeypassword - SslClientKeyPassword *types.Value `json:"SslClientKeyPassword,omitempty"` - - // Topic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kafkasettings.html#cfn-dms-endpoint-kafkasettings-topic - Topic *types.Value `json:"Topic,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 *Endpoint_KafkaSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.KafkaSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kinesissettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kinesissettings.go deleted file mode 100644 index 7d3d9bc184..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_kinesissettings.go +++ /dev/null @@ -1,77 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_KinesisSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.KinesisSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html -type Endpoint_KinesisSettings struct { - - // IncludeControlDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-includecontroldetails - IncludeControlDetails *types.Value `json:"IncludeControlDetails,omitempty"` - - // IncludeNullAndEmpty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-includenullandempty - IncludeNullAndEmpty *types.Value `json:"IncludeNullAndEmpty,omitempty"` - - // IncludeTableAlterOperations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-includetablealteroperations - IncludeTableAlterOperations *types.Value `json:"IncludeTableAlterOperations,omitempty"` - - // IncludeTransactionDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-includetransactiondetails - IncludeTransactionDetails *types.Value `json:"IncludeTransactionDetails,omitempty"` - - // MessageFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-messageformat - MessageFormat *types.Value `json:"MessageFormat,omitempty"` - - // NoHexPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-nohexprefix - NoHexPrefix *types.Value `json:"NoHexPrefix,omitempty"` - - // PartitionIncludeSchemaTable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-partitionincludeschematable - PartitionIncludeSchemaTable *types.Value `json:"PartitionIncludeSchemaTable,omitempty"` - - // ServiceAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-serviceaccessrolearn - ServiceAccessRoleArn *types.Value `json:"ServiceAccessRoleArn,omitempty"` - - // StreamArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-kinesissettings.html#cfn-dms-endpoint-kinesissettings-streamarn - StreamArn *types.Value `json:"StreamArn,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 *Endpoint_KinesisSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.KinesisSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_microsoftsqlserversettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_microsoftsqlserversettings.go deleted file mode 100644 index bcddff1bd0..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_microsoftsqlserversettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_MicrosoftSqlServerSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.MicrosoftSqlServerSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html -type Endpoint_MicrosoftSqlServerSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_MicrosoftSqlServerSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.MicrosoftSqlServerSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mongodbsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mongodbsettings.go deleted file mode 100644 index f85357281e..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mongodbsettings.go +++ /dev/null @@ -1,97 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_MongoDbSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.MongoDbSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html -type Endpoint_MongoDbSettings struct { - - // AuthMechanism AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-authmechanism - AuthMechanism *types.Value `json:"AuthMechanism,omitempty"` - - // AuthSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-authsource - AuthSource *types.Value `json:"AuthSource,omitempty"` - - // AuthType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-authtype - AuthType *types.Value `json:"AuthType,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DocsToInvestigate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-docstoinvestigate - DocsToInvestigate *types.Value `json:"DocsToInvestigate,omitempty"` - - // ExtractDocId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-extractdocid - ExtractDocId *types.Value `json:"ExtractDocId,omitempty"` - - // NestingLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-nestinglevel - NestingLevel *types.Value `json:"NestingLevel,omitempty"` - - // Password AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-password - Password *types.Value `json:"Password,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-port - Port *types.Value `json:"Port,omitempty"` - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,omitempty"` - - // ServerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-servername - ServerName *types.Value `json:"ServerName,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mongodbsettings.html#cfn-dms-endpoint-mongodbsettings-username - Username *types.Value `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 *Endpoint_MongoDbSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.MongoDbSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mysqlsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mysqlsettings.go deleted file mode 100644 index 5e321df58c..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_mysqlsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_MySqlSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.MySqlSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mysqlsettings.html -type Endpoint_MySqlSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mysqlsettings.html#cfn-dms-endpoint-mysqlsettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mysqlsettings.html#cfn-dms-endpoint-mysqlsettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_MySqlSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.MySqlSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_neptunesettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_neptunesettings.go deleted file mode 100644 index f795551cdb..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_neptunesettings.go +++ /dev/null @@ -1,67 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_NeptuneSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.NeptuneSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html -type Endpoint_NeptuneSettings struct { - - // ErrorRetryDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-errorretryduration - ErrorRetryDuration *types.Value `json:"ErrorRetryDuration,omitempty"` - - // IamAuthEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-iamauthenabled - IamAuthEnabled *types.Value `json:"IamAuthEnabled,omitempty"` - - // MaxFileSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-maxfilesize - MaxFileSize *types.Value `json:"MaxFileSize,omitempty"` - - // MaxRetryCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-maxretrycount - MaxRetryCount *types.Value `json:"MaxRetryCount,omitempty"` - - // S3BucketFolder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-s3bucketfolder - S3BucketFolder *types.Value `json:"S3BucketFolder,omitempty"` - - // S3BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-s3bucketname - S3BucketName *types.Value `json:"S3BucketName,omitempty"` - - // ServiceAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-neptunesettings.html#cfn-dms-endpoint-neptunesettings-serviceaccessrolearn - ServiceAccessRoleArn *types.Value `json:"ServiceAccessRoleArn,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 *Endpoint_NeptuneSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.NeptuneSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_oraclesettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_oraclesettings.go deleted file mode 100644 index 3660c2358e..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_oraclesettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_OracleSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.OracleSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html -type Endpoint_OracleSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerOracleAsmAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanageroracleasmaccessrolearn - SecretsManagerOracleAsmAccessRoleArn *types.Value `json:"SecretsManagerOracleAsmAccessRoleArn,omitempty"` - - // SecretsManagerOracleAsmSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanageroracleasmsecretid - SecretsManagerOracleAsmSecretId *types.Value `json:"SecretsManagerOracleAsmSecretId,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_OracleSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.OracleSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go deleted file mode 100644 index cc42f882b3..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_PostgreSqlSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.PostgreSqlSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html -type Endpoint_PostgreSqlSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_PostgreSqlSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.PostgreSqlSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redissettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redissettings.go deleted file mode 100644 index 10d563deff..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redissettings.go +++ /dev/null @@ -1,67 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_RedisSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.RedisSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html -type Endpoint_RedisSettings struct { - - // AuthPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authpassword - AuthPassword *types.Value `json:"AuthPassword,omitempty"` - - // AuthType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authtype - AuthType *types.Value `json:"AuthType,omitempty"` - - // AuthUserName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-authusername - AuthUserName *types.Value `json:"AuthUserName,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-port - Port *types.Value `json:"Port,omitempty"` - - // ServerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-servername - ServerName *types.Value `json:"ServerName,omitempty"` - - // SslCaCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-sslcacertificatearn - SslCaCertificateArn *types.Value `json:"SslCaCertificateArn,omitempty"` - - // SslSecurityProtocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redissettings.html#cfn-dms-endpoint-redissettings-sslsecurityprotocol - SslSecurityProtocol *types.Value `json:"SslSecurityProtocol,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 *Endpoint_RedisSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.RedisSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redshiftsettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redshiftsettings.go deleted file mode 100644 index aaf7bf2517..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_redshiftsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_RedshiftSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.RedshiftSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redshiftsettings.html -type Endpoint_RedshiftSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redshiftsettings.html#cfn-dms-endpoint-redshiftsettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-redshiftsettings.html#cfn-dms-endpoint-redshiftsettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_RedshiftSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.RedshiftSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_s3settings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_s3settings.go deleted file mode 100644 index 800d7b0354..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_s3settings.go +++ /dev/null @@ -1,67 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_S3Settings AWS CloudFormation Resource (AWS::DMS::Endpoint.S3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html -type Endpoint_S3Settings struct { - - // BucketFolder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-bucketfolder - BucketFolder *types.Value `json:"BucketFolder,omitempty"` - - // BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // CompressionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-compressiontype - CompressionType *types.Value `json:"CompressionType,omitempty"` - - // CsvDelimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-csvdelimiter - CsvDelimiter *types.Value `json:"CsvDelimiter,omitempty"` - - // CsvRowDelimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-csvrowdelimiter - CsvRowDelimiter *types.Value `json:"CsvRowDelimiter,omitempty"` - - // ExternalTableDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-externaltabledefinition - ExternalTableDefinition *types.Value `json:"ExternalTableDefinition,omitempty"` - - // ServiceAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-s3settings.html#cfn-dms-endpoint-s3settings-serviceaccessrolearn - ServiceAccessRoleArn *types.Value `json:"ServiceAccessRoleArn,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 *Endpoint_S3Settings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.S3Settings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_sybasesettings.go b/pkg/goformation/cloudformation/dms/aws-dms-endpoint_sybasesettings.go deleted file mode 100644 index 7058d7818d..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-endpoint_sybasesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_SybaseSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.SybaseSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-sybasesettings.html -type Endpoint_SybaseSettings struct { - - // SecretsManagerAccessRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-sybasesettings.html#cfn-dms-endpoint-sybasesettings-secretsmanageraccessrolearn - SecretsManagerAccessRoleArn *types.Value `json:"SecretsManagerAccessRoleArn,omitempty"` - - // SecretsManagerSecretId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-sybasesettings.html#cfn-dms-endpoint-sybasesettings-secretsmanagersecretid - SecretsManagerSecretId *types.Value `json:"SecretsManagerSecretId,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 *Endpoint_SybaseSettings) AWSCloudFormationType() string { - return "AWS::DMS::Endpoint.SybaseSettings" -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-eventsubscription.go b/pkg/goformation/cloudformation/dms/aws-dms-eventsubscription.go deleted file mode 100644 index a50803fc2b..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-eventsubscription.go +++ /dev/null @@ -1,139 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventSubscription AWS CloudFormation Resource (AWS::DMS::EventSubscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html -type EventSubscription struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // EventCategories AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-eventcategories - EventCategories *types.Value `json:"EventCategories,omitempty"` - - // SnsTopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,omitempty"` - - // SourceIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-sourceids - SourceIds *types.Value `json:"SourceIds,omitempty"` - - // SourceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-sourcetype - SourceType *types.Value `json:"SourceType,omitempty"` - - // SubscriptionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-subscriptionname - SubscriptionName *types.Value `json:"SubscriptionName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-tags - Tags []cloudformation.Tag `json:"Tags,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 *EventSubscription) AWSCloudFormationType() string { - return "AWS::DMS::EventSubscription" -} - -// 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 (r EventSubscription) MarshalJSON() ([]byte, error) { - type Properties EventSubscription - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EventSubscription) UnmarshalJSON(b []byte) error { - type Properties EventSubscription - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EventSubscription(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-replicationinstance.go b/pkg/goformation/cloudformation/dms/aws-dms-replicationinstance.go deleted file mode 100644 index f46e7491d4..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-replicationinstance.go +++ /dev/null @@ -1,179 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationInstance AWS CloudFormation Resource (AWS::DMS::ReplicationInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html -type ReplicationInstance struct { - - // AllocatedStorage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-allocatedstorage - AllocatedStorage *types.Value `json:"AllocatedStorage,omitempty"` - - // AllowMajorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-allowmajorversionupgrade - AllowMajorVersionUpgrade *types.Value `json:"AllowMajorVersionUpgrade,omitempty"` - - // AutoMinorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MultiAZ AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-multiaz - MultiAZ *types.Value `json:"MultiAZ,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // PubliclyAccessible AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-publiclyaccessible - PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` - - // ReplicationInstanceClass AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-replicationinstanceclass - ReplicationInstanceClass *types.Value `json:"ReplicationInstanceClass,omitempty"` - - // ReplicationInstanceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-replicationinstanceidentifier - ReplicationInstanceIdentifier *types.Value `json:"ReplicationInstanceIdentifier,omitempty"` - - // ReplicationSubnetGroupIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-replicationsubnetgroupidentifier - ReplicationSubnetGroupIdentifier *types.Value `json:"ReplicationSubnetGroupIdentifier,omitempty"` - - // ResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-resourceidentifier - ResourceIdentifier *types.Value `json:"ResourceIdentifier,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *ReplicationInstance) AWSCloudFormationType() string { - return "AWS::DMS::ReplicationInstance" -} - -// 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 (r ReplicationInstance) MarshalJSON() ([]byte, error) { - type Properties ReplicationInstance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReplicationInstance) UnmarshalJSON(b []byte) error { - type Properties ReplicationInstance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReplicationInstance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-replicationsubnetgroup.go b/pkg/goformation/cloudformation/dms/aws-dms-replicationsubnetgroup.go deleted file mode 100644 index d598dc7761..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-replicationsubnetgroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationSubnetGroup AWS CloudFormation Resource (AWS::DMS::ReplicationSubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html -type ReplicationSubnetGroup struct { - - // ReplicationSubnetGroupDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-replicationsubnetgroupdescription - ReplicationSubnetGroupDescription *types.Value `json:"ReplicationSubnetGroupDescription,omitempty"` - - // ReplicationSubnetGroupIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-replicationsubnetgroupidentifier - ReplicationSubnetGroupIdentifier *types.Value `json:"ReplicationSubnetGroupIdentifier,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html#cfn-dms-replicationsubnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ReplicationSubnetGroup) AWSCloudFormationType() string { - return "AWS::DMS::ReplicationSubnetGroup" -} - -// 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 (r ReplicationSubnetGroup) MarshalJSON() ([]byte, error) { - type Properties ReplicationSubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReplicationSubnetGroup) UnmarshalJSON(b []byte) error { - type Properties ReplicationSubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReplicationSubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dms/aws-dms-replicationtask.go b/pkg/goformation/cloudformation/dms/aws-dms-replicationtask.go deleted file mode 100644 index b22ad05a41..0000000000 --- a/pkg/goformation/cloudformation/dms/aws-dms-replicationtask.go +++ /dev/null @@ -1,169 +0,0 @@ -package dms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationTask AWS CloudFormation Resource (AWS::DMS::ReplicationTask) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html -type ReplicationTask struct { - - // CdcStartPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-cdcstartposition - CdcStartPosition *types.Value `json:"CdcStartPosition,omitempty"` - - // CdcStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-cdcstarttime - CdcStartTime *types.Value `json:"CdcStartTime,omitempty"` - - // CdcStopPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-cdcstopposition - CdcStopPosition *types.Value `json:"CdcStopPosition,omitempty"` - - // MigrationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-migrationtype - MigrationType *types.Value `json:"MigrationType,omitempty"` - - // ReplicationInstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-replicationinstancearn - ReplicationInstanceArn *types.Value `json:"ReplicationInstanceArn,omitempty"` - - // ReplicationTaskIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-replicationtaskidentifier - ReplicationTaskIdentifier *types.Value `json:"ReplicationTaskIdentifier,omitempty"` - - // ReplicationTaskSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-replicationtasksettings - ReplicationTaskSettings *types.Value `json:"ReplicationTaskSettings,omitempty"` - - // ResourceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-resourceidentifier - ResourceIdentifier *types.Value `json:"ResourceIdentifier,omitempty"` - - // SourceEndpointArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-sourceendpointarn - SourceEndpointArn *types.Value `json:"SourceEndpointArn,omitempty"` - - // TableMappings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-tablemappings - TableMappings *types.Value `json:"TableMappings,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetEndpointArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-targetendpointarn - TargetEndpointArn *types.Value `json:"TargetEndpointArn,omitempty"` - - // TaskData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html#cfn-dms-replicationtask-taskdata - TaskData *types.Value `json:"TaskData,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 *ReplicationTask) AWSCloudFormationType() string { - return "AWS::DMS::ReplicationTask" -} - -// 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 (r ReplicationTask) MarshalJSON() ([]byte, error) { - type Properties ReplicationTask - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReplicationTask) UnmarshalJSON(b []byte) error { - type Properties ReplicationTask - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReplicationTask(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/docdb/aws-docdb-dbcluster.go b/pkg/goformation/cloudformation/docdb/aws-docdb-dbcluster.go deleted file mode 100644 index 9fab4175af..0000000000 --- a/pkg/goformation/cloudformation/docdb/aws-docdb-dbcluster.go +++ /dev/null @@ -1,194 +0,0 @@ -package docdb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBCluster AWS CloudFormation Resource (AWS::DocDB::DBCluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html -type DBCluster struct { - - // AvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-availabilityzones - AvailabilityZones *types.Value `json:"AvailabilityZones,omitempty"` - - // BackupRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-backupretentionperiod - BackupRetentionPeriod *types.Value `json:"BackupRetentionPeriod,omitempty"` - - // DBClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-dbclusteridentifier - DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` - - // DBClusterParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-dbclusterparametergroupname - DBClusterParameterGroupName *types.Value `json:"DBClusterParameterGroupName,omitempty"` - - // DBSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-dbsubnetgroupname - DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` - - // DeletionProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-deletionprotection - DeletionProtection *types.Value `json:"DeletionProtection,omitempty"` - - // EnableCloudwatchLogsExports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-enablecloudwatchlogsexports - EnableCloudwatchLogsExports *types.Value `json:"EnableCloudwatchLogsExports,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MasterUserPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-masteruserpassword - MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` - - // MasterUsername AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-masterusername - MasterUsername *types.Value `json:"MasterUsername,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-port - Port *types.Value `json:"Port,omitempty"` - - // PreferredBackupWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-preferredbackupwindow - PreferredBackupWindow *types.Value `json:"PreferredBackupWindow,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // SnapshotIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-snapshotidentifier - SnapshotIdentifier *types.Value `json:"SnapshotIdentifier,omitempty"` - - // StorageEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-storageencrypted - StorageEncrypted *types.Value `json:"StorageEncrypted,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *DBCluster) AWSCloudFormationType() string { - return "AWS::DocDB::DBCluster" -} - -// 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 (r DBCluster) MarshalJSON() ([]byte, error) { - type Properties DBCluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBCluster) UnmarshalJSON(b []byte) error { - type Properties DBCluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBCluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/docdb/aws-docdb-dbclusterparametergroup.go b/pkg/goformation/cloudformation/docdb/aws-docdb-dbclusterparametergroup.go deleted file mode 100644 index 2b15c3b098..0000000000 --- a/pkg/goformation/cloudformation/docdb/aws-docdb-dbclusterparametergroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package docdb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBClusterParameterGroup AWS CloudFormation Resource (AWS::DocDB::DBClusterParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html -type DBClusterParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html#cfn-docdb-dbclusterparametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // Family AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html#cfn-docdb-dbclusterparametergroup-family - Family *types.Value `json:"Family,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html#cfn-docdb-dbclusterparametergroup-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html#cfn-docdb-dbclusterparametergroup-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbclusterparametergroup.html#cfn-docdb-dbclusterparametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBClusterParameterGroup) AWSCloudFormationType() string { - return "AWS::DocDB::DBClusterParameterGroup" -} - -// 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 (r DBClusterParameterGroup) MarshalJSON() ([]byte, error) { - type Properties DBClusterParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBClusterParameterGroup) UnmarshalJSON(b []byte) error { - type Properties DBClusterParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBClusterParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/docdb/aws-docdb-dbsubnetgroup.go b/pkg/goformation/cloudformation/docdb/aws-docdb-dbsubnetgroup.go deleted file mode 100644 index b30a895833..0000000000 --- a/pkg/goformation/cloudformation/docdb/aws-docdb-dbsubnetgroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package docdb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBSubnetGroup AWS CloudFormation Resource (AWS::DocDB::DBSubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html -type DBSubnetGroup struct { - - // DBSubnetGroupDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html#cfn-docdb-dbsubnetgroup-dbsubnetgroupdescription - DBSubnetGroupDescription *types.Value `json:"DBSubnetGroupDescription,omitempty"` - - // DBSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html#cfn-docdb-dbsubnetgroup-dbsubnetgroupname - DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html#cfn-docdb-dbsubnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbsubnetgroup.html#cfn-docdb-dbsubnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBSubnetGroup) AWSCloudFormationType() string { - return "AWS::DocDB::DBSubnetGroup" -} - -// 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 (r DBSubnetGroup) MarshalJSON() ([]byte, error) { - type Properties DBSubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBSubnetGroup) UnmarshalJSON(b []byte) error { - type Properties DBSubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBSubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable.go deleted file mode 100644 index 589f7eebc2..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable.go +++ /dev/null @@ -1,158 +0,0 @@ -package dynamodb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html -type GlobalTable struct { - - // AttributeDefinitions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-attributedefinitions - AttributeDefinitions []GlobalTable_AttributeDefinition `json:"AttributeDefinitions,omitempty"` - - // BillingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-billingmode - BillingMode *types.Value `json:"BillingMode,omitempty"` - - // GlobalSecondaryIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-globalsecondaryindexes - GlobalSecondaryIndexes []GlobalTable_GlobalSecondaryIndex `json:"GlobalSecondaryIndexes,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-keyschema - KeySchema []GlobalTable_KeySchema `json:"KeySchema,omitempty"` - - // LocalSecondaryIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-localsecondaryindexes - LocalSecondaryIndexes []GlobalTable_LocalSecondaryIndex `json:"LocalSecondaryIndexes,omitempty"` - - // Replicas AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas - Replicas []GlobalTable_ReplicaSpecification `json:"Replicas,omitempty"` - - // SSESpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-ssespecification - SSESpecification *GlobalTable_SSESpecification `json:"SSESpecification,omitempty"` - - // StreamSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-streamspecification - StreamSpecification *GlobalTable_StreamSpecification `json:"StreamSpecification,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // TimeToLiveSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-timetolivespecification - TimeToLiveSpecification *GlobalTable_TimeToLiveSpecification `json:"TimeToLiveSpecification,omitempty"` - - // WriteProvisionedThroughputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeprovisionedthroughputsettings - WriteProvisionedThroughputSettings *GlobalTable_WriteProvisionedThroughputSettings `json:"WriteProvisionedThroughputSettings,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 *GlobalTable) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable" -} - -// 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 (r GlobalTable) MarshalJSON() ([]byte, error) { - type Properties GlobalTable - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GlobalTable) UnmarshalJSON(b []byte) error { - type Properties GlobalTable - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GlobalTable(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_attributedefinition.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_attributedefinition.go deleted file mode 100644 index cc03f7999e..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_attributedefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_AttributeDefinition AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.AttributeDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-attributedefinition.html -type GlobalTable_AttributeDefinition struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-attributedefinition.html#cfn-dynamodb-globaltable-attributedefinition-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // AttributeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-attributedefinition.html#cfn-dynamodb-globaltable-attributedefinition-attributetype - AttributeType *types.Value `json:"AttributeType,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 *GlobalTable_AttributeDefinition) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.AttributeDefinition" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_capacityautoscalingsettings.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_capacityautoscalingsettings.go deleted file mode 100644 index 68e240e0e6..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_capacityautoscalingsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_CapacityAutoScalingSettings AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-capacityautoscalingsettings.html -type GlobalTable_CapacityAutoScalingSettings struct { - - // MaxCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-capacityautoscalingsettings.html#cfn-dynamodb-globaltable-capacityautoscalingsettings-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity"` - - // MinCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-capacityautoscalingsettings.html#cfn-dynamodb-globaltable-capacityautoscalingsettings-mincapacity - MinCapacity *types.Value `json:"MinCapacity"` - - // SeedCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-capacityautoscalingsettings.html#cfn-dynamodb-globaltable-capacityautoscalingsettings-seedcapacity - SeedCapacity *types.Value `json:"SeedCapacity,omitempty"` - - // TargetTrackingScalingPolicyConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-capacityautoscalingsettings.html#cfn-dynamodb-globaltable-capacityautoscalingsettings-targettrackingscalingpolicyconfiguration - TargetTrackingScalingPolicyConfiguration *GlobalTable_TargetTrackingScalingPolicyConfiguration `json:"TargetTrackingScalingPolicyConfiguration,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 *GlobalTable_CapacityAutoScalingSettings) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_contributorinsightsspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_contributorinsightsspecification.go deleted file mode 100644 index 35c09839af..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_contributorinsightsspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_ContributorInsightsSpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-contributorinsightsspecification.html -type GlobalTable_ContributorInsightsSpecification struct { - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-contributorinsightsspecification.html#cfn-dynamodb-globaltable-contributorinsightsspecification-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *GlobalTable_ContributorInsightsSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_globalsecondaryindex.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_globalsecondaryindex.go deleted file mode 100644 index 8269c49420..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_globalsecondaryindex.go +++ /dev/null @@ -1,52 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_GlobalSecondaryIndex AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html -type GlobalTable_GlobalSecondaryIndex struct { - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-keyschema - KeySchema []GlobalTable_KeySchema `json:"KeySchema,omitempty"` - - // Projection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-projection - Projection *GlobalTable_Projection `json:"Projection,omitempty"` - - // WriteProvisionedThroughputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-writeprovisionedthroughputsettings - WriteProvisionedThroughputSettings *GlobalTable_WriteProvisionedThroughputSettings `json:"WriteProvisionedThroughputSettings,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 *GlobalTable_GlobalSecondaryIndex) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_keyschema.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_keyschema.go deleted file mode 100644 index f03514bdbf..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_keyschema.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_KeySchema AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.KeySchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-keyschema.html -type GlobalTable_KeySchema struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-keyschema.html#cfn-dynamodb-globaltable-keyschema-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-keyschema.html#cfn-dynamodb-globaltable-keyschema-keytype - KeyType *types.Value `json:"KeyType,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 *GlobalTable_KeySchema) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.KeySchema" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_localsecondaryindex.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_localsecondaryindex.go deleted file mode 100644 index ee68755cff..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_localsecondaryindex.go +++ /dev/null @@ -1,47 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_LocalSecondaryIndex AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.LocalSecondaryIndex) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-localsecondaryindex.html -type GlobalTable_LocalSecondaryIndex struct { - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-localsecondaryindex.html#cfn-dynamodb-globaltable-localsecondaryindex-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-localsecondaryindex.html#cfn-dynamodb-globaltable-localsecondaryindex-keyschema - KeySchema []GlobalTable_KeySchema `json:"KeySchema,omitempty"` - - // Projection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-localsecondaryindex.html#cfn-dynamodb-globaltable-localsecondaryindex-projection - Projection *GlobalTable_Projection `json:"Projection,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 *GlobalTable_LocalSecondaryIndex) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.LocalSecondaryIndex" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_pointintimerecoveryspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_pointintimerecoveryspecification.go deleted file mode 100644 index 8e81138d81..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_pointintimerecoveryspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_PointInTimeRecoverySpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-pointintimerecoveryspecification.html -type GlobalTable_PointInTimeRecoverySpecification struct { - - // PointInTimeRecoveryEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-pointintimerecoveryspecification.html#cfn-dynamodb-globaltable-pointintimerecoveryspecification-pointintimerecoveryenabled - PointInTimeRecoveryEnabled *types.Value `json:"PointInTimeRecoveryEnabled,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 *GlobalTable_PointInTimeRecoverySpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_projection.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_projection.go deleted file mode 100644 index 3afdc241d5..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_projection.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_Projection AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.Projection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html -type GlobalTable_Projection struct { - - // NonKeyAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html#cfn-dynamodb-globaltable-projection-nonkeyattributes - NonKeyAttributes *types.Value `json:"NonKeyAttributes,omitempty"` - - // ProjectionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html#cfn-dynamodb-globaltable-projection-projectiontype - ProjectionType *types.Value `json:"ProjectionType,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 *GlobalTable_Projection) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.Projection" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_readprovisionedthroughputsettings.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_readprovisionedthroughputsettings.go deleted file mode 100644 index 8038e72496..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_readprovisionedthroughputsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_ReadProvisionedThroughputSettings AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readprovisionedthroughputsettings.html -type GlobalTable_ReadProvisionedThroughputSettings struct { - - // ReadCapacityAutoScalingSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readprovisionedthroughputsettings.html#cfn-dynamodb-globaltable-readprovisionedthroughputsettings-readcapacityautoscalingsettings - ReadCapacityAutoScalingSettings *GlobalTable_CapacityAutoScalingSettings `json:"ReadCapacityAutoScalingSettings,omitempty"` - - // ReadCapacityUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readprovisionedthroughputsettings.html#cfn-dynamodb-globaltable-readprovisionedthroughputsettings-readcapacityunits - ReadCapacityUnits *types.Value `json:"ReadCapacityUnits,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 *GlobalTable_ReadProvisionedThroughputSettings) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaglobalsecondaryindexspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaglobalsecondaryindexspecification.go deleted file mode 100644 index 0c5b395000..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaglobalsecondaryindexspecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_ReplicaGlobalSecondaryIndexSpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html -type GlobalTable_ReplicaGlobalSecondaryIndexSpecification struct { - - // ContributorInsightsSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-contributorinsightsspecification - ContributorInsightsSpecification *GlobalTable_ContributorInsightsSpecification `json:"ContributorInsightsSpecification,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // ReadProvisionedThroughputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readprovisionedthroughputsettings - ReadProvisionedThroughputSettings *GlobalTable_ReadProvisionedThroughputSettings `json:"ReadProvisionedThroughputSettings,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 *GlobalTable_ReplicaGlobalSecondaryIndexSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaspecification.go deleted file mode 100644 index 161aa5dabd..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicaspecification.go +++ /dev/null @@ -1,68 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_ReplicaSpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.ReplicaSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html -type GlobalTable_ReplicaSpecification struct { - - // ContributorInsightsSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-contributorinsightsspecification - ContributorInsightsSpecification *GlobalTable_ContributorInsightsSpecification `json:"ContributorInsightsSpecification,omitempty"` - - // GlobalSecondaryIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-globalsecondaryindexes - GlobalSecondaryIndexes []GlobalTable_ReplicaGlobalSecondaryIndexSpecification `json:"GlobalSecondaryIndexes,omitempty"` - - // PointInTimeRecoverySpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-pointintimerecoveryspecification - PointInTimeRecoverySpecification *GlobalTable_PointInTimeRecoverySpecification `json:"PointInTimeRecoverySpecification,omitempty"` - - // ReadProvisionedThroughputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-readprovisionedthroughputsettings - ReadProvisionedThroughputSettings *GlobalTable_ReadProvisionedThroughputSettings `json:"ReadProvisionedThroughputSettings,omitempty"` - - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-region - Region *types.Value `json:"Region,omitempty"` - - // SSESpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-ssespecification - SSESpecification *GlobalTable_ReplicaSSESpecification `json:"SSESpecification,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-tags - Tags []cloudformation.Tag `json:"Tags,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 *GlobalTable_ReplicaSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.ReplicaSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicassespecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicassespecification.go deleted file mode 100644 index b6970e0f62..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_replicassespecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_ReplicaSSESpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.ReplicaSSESpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicassespecification.html -type GlobalTable_ReplicaSSESpecification struct { - - // KMSMasterKeyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicassespecification.html#cfn-dynamodb-globaltable-replicassespecification-kmsmasterkeyid - KMSMasterKeyId *types.Value `json:"KMSMasterKeyId,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 *GlobalTable_ReplicaSSESpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_ssespecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_ssespecification.go deleted file mode 100644 index 72df0a9cdb..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_ssespecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_SSESpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.SSESpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-ssespecification.html -type GlobalTable_SSESpecification struct { - - // SSEEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-ssespecification.html#cfn-dynamodb-globaltable-ssespecification-sseenabled - SSEEnabled *types.Value `json:"SSEEnabled"` - - // SSEType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-ssespecification.html#cfn-dynamodb-globaltable-ssespecification-ssetype - SSEType *types.Value `json:"SSEType,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 *GlobalTable_SSESpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.SSESpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_streamspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_streamspecification.go deleted file mode 100644 index d4f6603653..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_streamspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_StreamSpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.StreamSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-streamspecification.html -type GlobalTable_StreamSpecification struct { - - // StreamViewType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-streamspecification.html#cfn-dynamodb-globaltable-streamspecification-streamviewtype - StreamViewType *types.Value `json:"StreamViewType,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 *GlobalTable_StreamSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.StreamSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_targettrackingscalingpolicyconfiguration.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_targettrackingscalingpolicyconfiguration.go deleted file mode 100644 index 906d7cacec..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_targettrackingscalingpolicyconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_TargetTrackingScalingPolicyConfiguration AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-targettrackingscalingpolicyconfiguration.html -type GlobalTable_TargetTrackingScalingPolicyConfiguration struct { - - // DisableScaleIn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-targettrackingscalingpolicyconfiguration.html#cfn-dynamodb-globaltable-targettrackingscalingpolicyconfiguration-disablescalein - DisableScaleIn *types.Value `json:"DisableScaleIn,omitempty"` - - // ScaleInCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-targettrackingscalingpolicyconfiguration.html#cfn-dynamodb-globaltable-targettrackingscalingpolicyconfiguration-scaleincooldown - ScaleInCooldown *types.Value `json:"ScaleInCooldown,omitempty"` - - // ScaleOutCooldown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-targettrackingscalingpolicyconfiguration.html#cfn-dynamodb-globaltable-targettrackingscalingpolicyconfiguration-scaleoutcooldown - ScaleOutCooldown *types.Value `json:"ScaleOutCooldown,omitempty"` - - // TargetValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-targettrackingscalingpolicyconfiguration.html#cfn-dynamodb-globaltable-targettrackingscalingpolicyconfiguration-targetvalue - TargetValue *types.Value `json:"TargetValue"` - - // 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 *GlobalTable_TargetTrackingScalingPolicyConfiguration) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_timetolivespecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_timetolivespecification.go deleted file mode 100644 index 493925fc7d..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_timetolivespecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_TimeToLiveSpecification AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.TimeToLiveSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-timetolivespecification.html -type GlobalTable_TimeToLiveSpecification struct { - - // AttributeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-timetolivespecification.html#cfn-dynamodb-globaltable-timetolivespecification-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-timetolivespecification.html#cfn-dynamodb-globaltable-timetolivespecification-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *GlobalTable_TimeToLiveSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.TimeToLiveSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_writeprovisionedthroughputsettings.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_writeprovisionedthroughputsettings.go deleted file mode 100644 index eb52ff7224..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-globaltable_writeprovisionedthroughputsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalTable_WriteProvisionedThroughputSettings AWS CloudFormation Resource (AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeprovisionedthroughputsettings.html -type GlobalTable_WriteProvisionedThroughputSettings struct { - - // WriteCapacityAutoScalingSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeprovisionedthroughputsettings.html#cfn-dynamodb-globaltable-writeprovisionedthroughputsettings-writecapacityautoscalingsettings - WriteCapacityAutoScalingSettings *GlobalTable_CapacityAutoScalingSettings `json:"WriteCapacityAutoScalingSettings,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 *GlobalTable_WriteProvisionedThroughputSettings) AWSCloudFormationType() string { - return "AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table.go deleted file mode 100644 index 88912418ae..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table.go +++ /dev/null @@ -1,179 +0,0 @@ -package dynamodb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table AWS CloudFormation Resource (AWS::DynamoDB::Table) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html -type Table struct { - - // AttributeDefinitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-attributedef - AttributeDefinitions []Table_AttributeDefinition `json:"AttributeDefinitions,omitempty"` - - // BillingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-billingmode - BillingMode *types.Value `json:"BillingMode,omitempty"` - - // ContributorInsightsSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-contributorinsightsspecification-enabled - ContributorInsightsSpecification *Table_ContributorInsightsSpecification `json:"ContributorInsightsSpecification,omitempty"` - - // GlobalSecondaryIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-gsi - GlobalSecondaryIndexes []Table_GlobalSecondaryIndex `json:"GlobalSecondaryIndexes,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-keyschema - KeySchema []Table_KeySchema `json:"KeySchema,omitempty"` - - // KinesisStreamSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-kinesisstreamspecification - KinesisStreamSpecification *Table_KinesisStreamSpecification `json:"KinesisStreamSpecification,omitempty"` - - // LocalSecondaryIndexes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-lsi - LocalSecondaryIndexes []Table_LocalSecondaryIndex `json:"LocalSecondaryIndexes,omitempty"` - - // PointInTimeRecoverySpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-pointintimerecoveryspecification - PointInTimeRecoverySpecification *Table_PointInTimeRecoverySpecification `json:"PointInTimeRecoverySpecification,omitempty"` - - // ProvisionedThroughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-provisionedthroughput - ProvisionedThroughput *Table_ProvisionedThroughput `json:"ProvisionedThroughput,omitempty"` - - // SSESpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ssespecification - SSESpecification *Table_SSESpecification `json:"SSESpecification,omitempty"` - - // StreamSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-streamspecification - StreamSpecification *Table_StreamSpecification `json:"StreamSpecification,omitempty"` - - // TableClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tableclass - TableClass *types.Value `json:"TableClass,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TimeToLiveSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-timetolivespecification - TimeToLiveSpecification *Table_TimeToLiveSpecification `json:"TimeToLiveSpecification,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 *Table) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table" -} - -// 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 (r Table) MarshalJSON() ([]byte, error) { - type Properties Table - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Table) UnmarshalJSON(b []byte) error { - type Properties Table - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Table(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_attributedefinition.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_attributedefinition.go deleted file mode 100644 index b81096c137..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_attributedefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_AttributeDefinition AWS CloudFormation Resource (AWS::DynamoDB::Table.AttributeDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-attributedef.html -type Table_AttributeDefinition struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-attributedef.html#cfn-dynamodb-attributedef-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // AttributeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-attributedef.html#cfn-dynamodb-attributedef-attributename-attributetype - AttributeType *types.Value `json:"AttributeType,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 *Table_AttributeDefinition) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.AttributeDefinition" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_contributorinsightsspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_contributorinsightsspecification.go deleted file mode 100644 index 1ee2b24061..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_contributorinsightsspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_ContributorInsightsSpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.ContributorInsightsSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-contributorinsightsspecification.html -type Table_ContributorInsightsSpecification struct { - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-contributorinsightsspecification.html#cfn-dynamodb-contributorinsightsspecification-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *Table_ContributorInsightsSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.ContributorInsightsSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_globalsecondaryindex.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_globalsecondaryindex.go deleted file mode 100644 index 664c458896..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_globalsecondaryindex.go +++ /dev/null @@ -1,57 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_GlobalSecondaryIndex AWS CloudFormation Resource (AWS::DynamoDB::Table.GlobalSecondaryIndex) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html -type Table_GlobalSecondaryIndex struct { - - // ContributorInsightsSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-contributorinsightsspecification-enabled - ContributorInsightsSpecification *Table_ContributorInsightsSpecification `json:"ContributorInsightsSpecification,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-keyschema - KeySchema []Table_KeySchema `json:"KeySchema,omitempty"` - - // Projection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-projection - Projection *Table_Projection `json:"Projection,omitempty"` - - // ProvisionedThroughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-provisionedthroughput - ProvisionedThroughput *Table_ProvisionedThroughput `json:"ProvisionedThroughput,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 *Table_GlobalSecondaryIndex) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.GlobalSecondaryIndex" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_keyschema.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_keyschema.go deleted file mode 100644 index c575a80b31..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_keyschema.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_KeySchema AWS CloudFormation Resource (AWS::DynamoDB::Table.KeySchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html -type Table_KeySchema struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html#aws-properties-dynamodb-keyschema-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html#aws-properties-dynamodb-keyschema-keytype - KeyType *types.Value `json:"KeyType,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 *Table_KeySchema) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.KeySchema" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_kinesisstreamspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_kinesisstreamspecification.go deleted file mode 100644 index f9fbe972f6..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_kinesisstreamspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_KinesisStreamSpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.KinesisStreamSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-kinesisstreamspecification.html -type Table_KinesisStreamSpecification struct { - - // StreamArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-kinesisstreamspecification.html#cfn-dynamodb-kinesisstreamspecification-streamarn - StreamArn *types.Value `json:"StreamArn,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 *Table_KinesisStreamSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.KinesisStreamSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_localsecondaryindex.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_localsecondaryindex.go deleted file mode 100644 index fc2782801f..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_localsecondaryindex.go +++ /dev/null @@ -1,47 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_LocalSecondaryIndex AWS CloudFormation Resource (AWS::DynamoDB::Table.LocalSecondaryIndex) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-lsi.html -type Table_LocalSecondaryIndex struct { - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-lsi.html#cfn-dynamodb-lsi-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // KeySchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-lsi.html#cfn-dynamodb-lsi-keyschema - KeySchema []Table_KeySchema `json:"KeySchema,omitempty"` - - // Projection AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-lsi.html#cfn-dynamodb-lsi-projection - Projection *Table_Projection `json:"Projection,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 *Table_LocalSecondaryIndex) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.LocalSecondaryIndex" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_pointintimerecoveryspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_pointintimerecoveryspecification.go deleted file mode 100644 index a106545f2a..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_pointintimerecoveryspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_PointInTimeRecoverySpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.PointInTimeRecoverySpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-pointintimerecoveryspecification.html -type Table_PointInTimeRecoverySpecification struct { - - // PointInTimeRecoveryEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-pointintimerecoveryspecification.html#cfn-dynamodb-table-pointintimerecoveryspecification-pointintimerecoveryenabled - PointInTimeRecoveryEnabled *types.Value `json:"PointInTimeRecoveryEnabled,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 *Table_PointInTimeRecoverySpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.PointInTimeRecoverySpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_projection.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_projection.go deleted file mode 100644 index 887fb28f3a..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_projection.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_Projection AWS CloudFormation Resource (AWS::DynamoDB::Table.Projection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-projectionobject.html -type Table_Projection struct { - - // NonKeyAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-projectionobject.html#cfn-dynamodb-projectionobj-nonkeyatt - NonKeyAttributes *types.Value `json:"NonKeyAttributes,omitempty"` - - // ProjectionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-projectionobject.html#cfn-dynamodb-projectionobj-projtype - ProjectionType *types.Value `json:"ProjectionType,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 *Table_Projection) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.Projection" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_provisionedthroughput.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_provisionedthroughput.go deleted file mode 100644 index e0a34cbae6..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_provisionedthroughput.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_ProvisionedThroughput AWS CloudFormation Resource (AWS::DynamoDB::Table.ProvisionedThroughput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html -type Table_ProvisionedThroughput struct { - - // ReadCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html#cfn-dynamodb-provisionedthroughput-readcapacityunits - ReadCapacityUnits *types.Value `json:"ReadCapacityUnits"` - - // WriteCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html#cfn-dynamodb-provisionedthroughput-writecapacityunits - WriteCapacityUnits *types.Value `json:"WriteCapacityUnits"` - - // 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 *Table_ProvisionedThroughput) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.ProvisionedThroughput" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_ssespecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_ssespecification.go deleted file mode 100644 index f7f0372291..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_ssespecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_SSESpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.SSESpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html -type Table_SSESpecification struct { - - // KMSMasterKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html#cfn-dynamodb-table-ssespecification-kmsmasterkeyid - KMSMasterKeyId *types.Value `json:"KMSMasterKeyId,omitempty"` - - // SSEEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html#cfn-dynamodb-table-ssespecification-sseenabled - SSEEnabled *types.Value `json:"SSEEnabled"` - - // SSEType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ssespecification.html#cfn-dynamodb-table-ssespecification-ssetype - SSEType *types.Value `json:"SSEType,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 *Table_SSESpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.SSESpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_streamspecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_streamspecification.go deleted file mode 100644 index 0679199490..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_streamspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_StreamSpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.StreamSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-streamspecification.html -type Table_StreamSpecification struct { - - // StreamViewType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-streamspecification.html#cfn-dynamodb-streamspecification-streamviewtype - StreamViewType *types.Value `json:"StreamViewType,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 *Table_StreamSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.StreamSpecification" -} diff --git a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_timetolivespecification.go b/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_timetolivespecification.go deleted file mode 100644 index 6faefaf892..0000000000 --- a/pkg/goformation/cloudformation/dynamodb/aws-dynamodb-table_timetolivespecification.go +++ /dev/null @@ -1,42 +0,0 @@ -package dynamodb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_TimeToLiveSpecification AWS CloudFormation Resource (AWS::DynamoDB::Table.TimeToLiveSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-timetolivespecification.html -type Table_TimeToLiveSpecification struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-timetolivespecification.html#cfn-dynamodb-timetolivespecification-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-timetolivespecification.html#cfn-dynamodb-timetolivespecification-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *Table_TimeToLiveSpecification) AWSCloudFormationType() string { - return "AWS::DynamoDB::Table.TimeToLiveSpecification" -} diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-capacityreservation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-capacityreservation.go index 88524e64ae..3470a75e25 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-capacityreservation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-capacityreservation.go @@ -15,10 +15,15 @@ import ( type CapacityReservation struct { // AvailabilityZone AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` + // AvailabilityZoneId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-availabilityzoneid + AvailabilityZoneId *types.Value `json:"AvailabilityZoneId,omitempty"` + // EbsOptimized AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-ebsoptimized @@ -79,6 +84,11 @@ type CapacityReservation struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-tenancy Tenancy *types.Value `json:"Tenancy,omitempty"` + // UnusedReservationBillingOwnerId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html#cfn-ec2-capacityreservation-unusedreservationbillingownerid + UnusedReservationBillingOwnerId *types.Value `json:"UnusedReservationBillingOwnerId,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint.go b/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint.go index 2bf32b4231..cc4985f55a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint.go @@ -29,6 +29,11 @@ type ClientVpnEndpoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-clientconnectoptions ClientConnectOptions *ClientVpnEndpoint_ClientConnectOptions `json:"ClientConnectOptions,omitempty"` + // ClientLoginBannerOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-clientloginbanneroptions + ClientLoginBannerOptions *ClientVpnEndpoint_ClientLoginBannerOptions `json:"ClientLoginBannerOptions,omitempty"` + // ConnectionLogOptions AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-connectionlogoptions @@ -39,6 +44,11 @@ type ClientVpnEndpoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-description Description *types.Value `json:"Description,omitempty"` + // DisconnectOnSessionTimeout AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-disconnectonsessiontimeout + DisconnectOnSessionTimeout *types.Value `json:"DisconnectOnSessionTimeout,omitempty"` + // DnsServers AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-dnsservers @@ -59,6 +69,11 @@ type ClientVpnEndpoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-servercertificatearn ServerCertificateArn *types.Value `json:"ServerCertificateArn,omitempty"` + // SessionTimeoutHours AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-sessiontimeouthours + SessionTimeoutHours *types.Value `json:"SessionTimeoutHours,omitempty"` + // SplitTunnel AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html#cfn-ec2-clientvpnendpoint-splittunnel diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_s3.go b/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint_clientloginbanneroptions.go similarity index 63% rename from pkg/goformation/cloudformation/msk/aws-msk-cluster_s3.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint_clientloginbanneroptions.go index 0f8ac48a26..cc6d626118 100644 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_s3.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-clientvpnendpoint_clientloginbanneroptions.go @@ -1,4 +1,4 @@ -package msk +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,25 +6,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_S3 AWS CloudFormation Resource (AWS::MSK::Cluster.S3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html -type Cluster_S3 struct { +// ClientVpnEndpoint_ClientLoginBannerOptions AWS CloudFormation Resource (AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientloginbanneroptions.html +type ClientVpnEndpoint_ClientLoginBannerOptions struct { - // Bucket AWS CloudFormation Property + // BannerText AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-bucket - Bucket *types.Value `json:"Bucket,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientloginbanneroptions.html#cfn-ec2-clientvpnendpoint-clientloginbanneroptions-bannertext + BannerText *types.Value `json:"BannerText,omitempty"` // Enabled AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-enabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientloginbanneroptions.html#cfn-ec2-clientvpnendpoint-clientloginbanneroptions-enabled Enabled *types.Value `json:"Enabled"` - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-s3.html#cfn-msk-cluster-s3-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +37,6 @@ type Cluster_S3 struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_S3) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.S3" +func (r *ClientVpnEndpoint_ClientLoginBannerOptions) AWSCloudFormationType() string { + return "AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-customergateway.go b/pkg/goformation/cloudformation/ec2/aws-ec2-customergateway.go index 2567fa6a09..b6fdbda4a9 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-customergateway.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-customergateway.go @@ -12,27 +12,42 @@ import ( ) // CustomerGateway AWS CloudFormation Resource (AWS::EC2::CustomerGateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html type CustomerGateway struct { // BgpAsn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html#cfn-ec2-customergateway-bgpasn - BgpAsn *types.Value `json:"BgpAsn"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn + BgpAsn *types.Value `json:"BgpAsn,omitempty"` + + // BgpAsnExtended AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasnextended + BgpAsnExtended *types.Value `json:"BgpAsnExtended,omitempty"` + + // CertificateArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-certificatearn + CertificateArn *types.Value `json:"CertificateArn,omitempty"` + + // DeviceName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-devicename + DeviceName *types.Value `json:"DeviceName,omitempty"` // IpAddress AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html#cfn-ec2-customergateway-ipaddress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-ipaddress IpAddress *types.Value `json:"IpAddress,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html#cfn-ec2-customergateway-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // Type AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html#cfn-ec2-customergateway-type + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-type Type *types.Value `json:"Type,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-dhcpoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-dhcpoptions.go index 6f5574bbeb..52300c5082 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-dhcpoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-dhcpoptions.go @@ -25,6 +25,11 @@ type DHCPOptions struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-domainnameservers DomainNameServers *types.Value `json:"DomainNameServers,omitempty"` + // Ipv6AddressPreferredLeaseTime AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-ipv6addresspreferredleasetime + Ipv6AddressPreferredLeaseTime *types.Value `json:"Ipv6AddressPreferredLeaseTime,omitempty"` + // NetbiosNameServers AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-dhcpoptions.html#cfn-ec2-dhcpoptions-netbiosnameservers diff --git a/pkg/goformation/cloudformation/iot/aws-iot-thing_attributepayload.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_baselineperformancefactorsrequest.go similarity index 62% rename from pkg/goformation/cloudformation/iot/aws-iot-thing_attributepayload.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_baselineperformancefactorsrequest.go index a85771542a..1c6cceb124 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-thing_attributepayload.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_baselineperformancefactorsrequest.go @@ -1,19 +1,17 @@ -package iot +package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Thing_AttributePayload AWS CloudFormation Resource (AWS::IoT::Thing.AttributePayload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thing-attributepayload.html -type Thing_AttributePayload struct { +// EC2Fleet_BaselinePerformanceFactorsRequest AWS CloudFormation Resource (AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-baselineperformancefactorsrequest.html +type EC2Fleet_BaselinePerformanceFactorsRequest struct { - // Attributes AWS CloudFormation Property + // Cpu AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thing-attributepayload.html#cfn-iot-thing-attributepayload-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-baselineperformancefactorsrequest.html#cfn-ec2-ec2fleet-baselineperformancefactorsrequest-cpu + Cpu *EC2Fleet_CpuPerformanceFactorRequest `json:"Cpu,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type Thing_AttributePayload struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Thing_AttributePayload) AWSCloudFormationType() string { - return "AWS::IoT::Thing.AttributePayload" +func (r *EC2Fleet_BaselinePerformanceFactorsRequest) AWSCloudFormationType() string { + return "AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest" } diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfndatasourceconfigurations.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_cpuperformancefactorrequest.go similarity index 63% rename from pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfndatasourceconfigurations.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_cpuperformancefactorrequest.go index fe381bc388..3843619fd3 100644 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfndatasourceconfigurations.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_cpuperformancefactorrequest.go @@ -1,17 +1,17 @@ -package guardduty +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Detector_CFNDataSourceConfigurations AWS CloudFormation Resource (AWS::GuardDuty::Detector.CFNDataSourceConfigurations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-cfndatasourceconfigurations.html -type Detector_CFNDataSourceConfigurations struct { +// EC2Fleet_CpuPerformanceFactorRequest AWS CloudFormation Resource (AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-cpuperformancefactorrequest.html +type EC2Fleet_CpuPerformanceFactorRequest struct { - // S3Logs AWS CloudFormation Property + // References AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-cfndatasourceconfigurations.html#cfn-guardduty-detector-cfndatasourceconfigurations-s3logs - S3Logs *Detector_CFNS3LogsConfiguration `json:"S3Logs,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-cpuperformancefactorrequest.html#cfn-ec2-ec2fleet-cpuperformancefactorrequest-references + References []EC2Fleet_PerformanceFactorReferenceRequest `json:"References,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Detector_CFNDataSourceConfigurations struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Detector_CFNDataSourceConfigurations) AWSCloudFormationType() string { - return "AWS::GuardDuty::Detector.CFNDataSourceConfigurations" +func (r *EC2Fleet_CpuPerformanceFactorRequest) AWSCloudFormationType() string { + return "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_fleetlaunchtemplatespecificationrequest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_fleetlaunchtemplatespecificationrequest.go index eb52e700f4..40511e533c 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_fleetlaunchtemplatespecificationrequest.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_fleetlaunchtemplatespecificationrequest.go @@ -21,7 +21,7 @@ type EC2Fleet_FleetLaunchTemplateSpecificationRequest struct { LaunchTemplateName *types.Value `json:"LaunchTemplateName,omitempty"` // Version AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.html#cfn-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest-version Version *types.Value `json:"Version,omitempty"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_instancerequirementsrequest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_instancerequirementsrequest.go index 2358f7300c..5838037f0e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_instancerequirementsrequest.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_instancerequirementsrequest.go @@ -35,6 +35,11 @@ type EC2Fleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-acceleratortypes AcceleratorTypes *types.Value `json:"AcceleratorTypes,omitempty"` + // AllowedInstanceTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-allowedinstancetypes + AllowedInstanceTypes *types.Value `json:"AllowedInstanceTypes,omitempty"` + // BareMetal AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-baremetal @@ -45,6 +50,11 @@ type EC2Fleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-baselineebsbandwidthmbps BaselineEbsBandwidthMbps *EC2Fleet_BaselineEbsBandwidthMbpsRequest `json:"BaselineEbsBandwidthMbps,omitempty"` + // BaselinePerformanceFactors AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-baselineperformancefactors + BaselinePerformanceFactors *EC2Fleet_BaselinePerformanceFactorsRequest `json:"BaselinePerformanceFactors,omitempty"` + // BurstablePerformance AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-burstableperformance @@ -75,6 +85,11 @@ type EC2Fleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-localstoragetypes LocalStorageTypes *types.Value `json:"LocalStorageTypes,omitempty"` + // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-maxspotpriceaspercentageofoptimalondemandprice + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *types.Value `json:"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty"` + // MemoryGiBPerVCpu AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-memorygibpervcpu @@ -85,6 +100,11 @@ type EC2Fleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-memorymib MemoryMiB *EC2Fleet_MemoryMiBRequest `json:"MemoryMiB,omitempty"` + // NetworkBandwidthGbps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-networkbandwidthgbps + NetworkBandwidthGbps *EC2Fleet_NetworkBandwidthGbpsRequest `json:"NetworkBandwidthGbps,omitempty"` + // NetworkInterfaceCount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html#cfn-ec2-ec2fleet-instancerequirementsrequest-networkinterfacecount diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_visualreference.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_networkbandwidthgbpsrequest.go similarity index 62% rename from pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_visualreference.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_networkbandwidthgbpsrequest.go index f38cd4df21..d083529063 100644 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_visualreference.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_networkbandwidthgbpsrequest.go @@ -1,4 +1,4 @@ -package synthetics +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Canary_VisualReference AWS CloudFormation Resource (AWS::Synthetics::Canary.VisualReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-visualreference.html -type Canary_VisualReference struct { +// EC2Fleet_NetworkBandwidthGbpsRequest AWS CloudFormation Resource (AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-networkbandwidthgbpsrequest.html +type EC2Fleet_NetworkBandwidthGbpsRequest struct { - // BaseCanaryRunId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-visualreference.html#cfn-synthetics-canary-visualreference-basecanaryrunid - BaseCanaryRunId *types.Value `json:"BaseCanaryRunId,omitempty"` + // Max AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-networkbandwidthgbpsrequest.html#cfn-ec2-ec2fleet-networkbandwidthgbpsrequest-max + Max *types.Value `json:"Max,omitempty"` - // BaseScreenshots AWS CloudFormation Property + // Min AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-visualreference.html#cfn-synthetics-canary-visualreference-basescreenshots - BaseScreenshots []Canary_BaseScreenshot `json:"BaseScreenshots,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-networkbandwidthgbpsrequest.html#cfn-ec2-ec2fleet-networkbandwidthgbpsrequest-min + Min *types.Value `json:"Min,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Canary_VisualReference struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Canary_VisualReference) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.VisualReference" +func (r *EC2Fleet_NetworkBandwidthGbpsRequest) AWSCloudFormationType() string { + return "AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_constraintsresource.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_performancefactorreferencerequest.go similarity index 64% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_constraintsresource.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_performancefactorreferencerequest.go index 46be2424cd..ba1fd39114 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_constraintsresource.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ec2fleet_performancefactorreferencerequest.go @@ -1,4 +1,4 @@ -package sagemaker +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ModelBiasJobDefinition_ConstraintsResource AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-constraintsresource.html -type ModelBiasJobDefinition_ConstraintsResource struct { +// EC2Fleet_PerformanceFactorReferenceRequest AWS CloudFormation Resource (AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-performancefactorreferencerequest.html +type EC2Fleet_PerformanceFactorReferenceRequest struct { - // S3Uri AWS CloudFormation Property + // InstanceFamily AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-constraintsresource.html#cfn-sagemaker-modelbiasjobdefinition-constraintsresource-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-performancefactorreferencerequest.html#cfn-ec2-ec2fleet-performancefactorreferencerequest-instancefamily + InstanceFamily *types.Value `json:"InstanceFamily,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type ModelBiasJobDefinition_ConstraintsResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ModelBiasJobDefinition_ConstraintsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource" +func (r *EC2Fleet_PerformanceFactorReferenceRequest) AWSCloudFormationType() string { + return "AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-eip.go b/pkg/goformation/cloudformation/ec2/aws-ec2-eip.go index 5eefdffcec..6547c9558f 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-eip.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-eip.go @@ -12,29 +12,49 @@ import ( ) // EIP AWS CloudFormation Resource (AWS::EC2::EIP) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html type EIP struct { + // Address AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-address + Address *types.Value `json:"Address,omitempty"` + // Domain AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html#cfn-ec2-eip-domain + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-domain Domain *types.Value `json:"Domain,omitempty"` // InstanceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html#cfn-ec2-eip-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` + // IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-ipampoolid + IpamPoolId *types.Value `json:"IpamPoolId,omitempty"` + + // NetworkBorderGroup AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-networkbordergroup + NetworkBorderGroup *types.Value `json:"NetworkBorderGroup,omitempty"` + // PublicIpv4Pool AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html#cfn-ec2-eip-publicipv4pool + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-publicipv4pool PublicIpv4Pool *types.Value `json:"PublicIpv4Pool,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html#cfn-ec2-eip-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` + // TransferAddress AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html#cfn-ec2-eip-transferaddress + TransferAddress *types.Value `json:"TransferAddress,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-eipassociation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-eipassociation.go index 77125c8e39..54b5b2cb02 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-eipassociation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-eipassociation.go @@ -11,32 +11,27 @@ import ( ) // EIPAssociation AWS CloudFormation Resource (AWS::EC2::EIPAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html type EIPAssociation struct { // AllocationId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html#cfn-ec2-eipassociation-allocationid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html#cfn-ec2-eipassociation-allocationid AllocationId *types.Value `json:"AllocationId,omitempty"` - // EIP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html#cfn-ec2-eipassociation-eip - EIP *types.Value `json:"EIP,omitempty"` - // InstanceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html#cfn-ec2-eipassociation-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html#cfn-ec2-eipassociation-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` // NetworkInterfaceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html#cfn-ec2-eipassociation-networkinterfaceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html#cfn-ec2-eipassociation-networkinterfaceid NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` // PrivateIpAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html#cfn-ec2-eipassociation-PrivateIpAddress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eipassociation.html#cfn-ec2-eipassociation-privateipaddress PrivateIpAddress *types.Value `json:"PrivateIpAddress,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog.go b/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog.go index b0110bc8b4..f3272ebf8a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog.go @@ -15,11 +15,21 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html type FlowLog struct { + // DeliverCrossAccountRole AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-delivercrossaccountrole + DeliverCrossAccountRole *types.Value `json:"DeliverCrossAccountRole,omitempty"` + // DeliverLogsPermissionArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-deliverlogspermissionarn DeliverLogsPermissionArn *types.Value `json:"DeliverLogsPermissionArn,omitempty"` + // DestinationOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-destinationoptions + DestinationOptions *FlowLog_DestinationOptions `json:"DestinationOptions,omitempty"` + // LogDestination AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logdestination @@ -61,7 +71,7 @@ type FlowLog struct { Tags []cloudformation.Tag `json:"Tags,omitempty"` // TrafficType AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-traffictype TrafficType *types.Value `json:"TrafficType,omitempty"` diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup_keygroupconfig.go b/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog_destinationoptions.go similarity index 58% rename from pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup_keygroupconfig.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-flowlog_destinationoptions.go index 8075cdcc78..f17e6e0154 100644 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-keygroup_keygroupconfig.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-flowlog_destinationoptions.go @@ -1,4 +1,4 @@ -package cloudfront +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// KeyGroup_KeyGroupConfig AWS CloudFormation Resource (AWS::CloudFront::KeyGroup.KeyGroupConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keygroup-keygroupconfig.html -type KeyGroup_KeyGroupConfig struct { +// FlowLog_DestinationOptions AWS CloudFormation Resource (AWS::EC2::FlowLog.DestinationOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-flowlog-destinationoptions.html +type FlowLog_DestinationOptions struct { - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keygroup-keygroupconfig.html#cfn-cloudfront-keygroup-keygroupconfig-comment - Comment *types.Value `json:"Comment,omitempty"` + // FileFormat AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-flowlog-destinationoptions.html#cfn-ec2-flowlog-destinationoptions-fileformat + FileFormat *types.Value `json:"FileFormat,omitempty"` - // Items AWS CloudFormation Property + // HiveCompatiblePartitions AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keygroup-keygroupconfig.html#cfn-cloudfront-keygroup-keygroupconfig-items - Items *types.Value `json:"Items,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-flowlog-destinationoptions.html#cfn-ec2-flowlog-destinationoptions-hivecompatiblepartitions + HiveCompatiblePartitions *types.Value `json:"HiveCompatiblePartitions"` - // Name AWS CloudFormation Property + // PerHourPartition AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keygroup-keygroupconfig.html#cfn-cloudfront-keygroup-keygroupconfig-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-flowlog-destinationoptions.html#cfn-ec2-flowlog-destinationoptions-perhourpartition + PerHourPartition *types.Value `json:"PerHourPartition"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type KeyGroup_KeyGroupConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *KeyGroup_KeyGroupConfig) AWSCloudFormationType() string { - return "AWS::CloudFront::KeyGroup.KeyGroupConfig" +func (r *FlowLog_DestinationOptions) AWSCloudFormationType() string { + return "AWS::EC2::FlowLog.DestinationOptions" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-host.go b/pkg/goformation/cloudformation/ec2/aws-ec2-host.go index 5a20694258..96636cc05e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-host.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-host.go @@ -14,6 +14,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html type Host struct { + // AssetId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-assetid + AssetId *types.Value `json:"AssetId,omitempty"` + // AutoPlacement AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-autoplacement @@ -24,16 +29,31 @@ type Host struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` + // HostMaintenance AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-hostmaintenance + HostMaintenance *types.Value `json:"HostMaintenance,omitempty"` + // HostRecovery AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-hostrecovery HostRecovery *types.Value `json:"HostRecovery,omitempty"` + // InstanceFamily AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-instancefamily + InstanceFamily *types.Value `json:"InstanceFamily,omitempty"` + // InstanceType AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-instancetype InstanceType *types.Value `json:"InstanceType,omitempty"` + // OutpostArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-outpostarn + OutpostArn *types.Value `json:"OutpostArn,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance.go index 1a75e797d7..93ea90f602 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance.go @@ -12,202 +12,207 @@ import ( ) // Instance AWS CloudFormation Resource (AWS::EC2::Instance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html type Instance struct { // AdditionalInfo AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-additionalinfo + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-additionalinfo AdditionalInfo *types.Value `json:"AdditionalInfo,omitempty"` // Affinity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-affinity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-affinity Affinity *types.Value `json:"Affinity,omitempty"` // AvailabilityZone AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-availabilityzone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` // BlockDeviceMappings AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-blockdevicemappings + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-blockdevicemappings BlockDeviceMappings []Instance_BlockDeviceMapping `json:"BlockDeviceMappings,omitempty"` // CpuOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-cpuoptions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-cpuoptions CpuOptions *Instance_CpuOptions `json:"CpuOptions,omitempty"` // CreditSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-creditspecification + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-creditspecification CreditSpecification *Instance_CreditSpecification `json:"CreditSpecification,omitempty"` // DisableApiTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-disableapitermination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-disableapitermination DisableApiTermination *types.Value `json:"DisableApiTermination,omitempty"` // EbsOptimized AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ebsoptimized + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-ebsoptimized EbsOptimized *types.Value `json:"EbsOptimized,omitempty"` // ElasticGpuSpecifications AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-elasticgpuspecifications + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-elasticgpuspecifications ElasticGpuSpecifications []Instance_ElasticGpuSpecification `json:"ElasticGpuSpecifications,omitempty"` // ElasticInferenceAccelerators AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-elasticinferenceaccelerators + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-elasticinferenceaccelerators ElasticInferenceAccelerators []Instance_ElasticInferenceAccelerator `json:"ElasticInferenceAccelerators,omitempty"` // EnclaveOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-enclaveoptions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-enclaveoptions EnclaveOptions *Instance_EnclaveOptions `json:"EnclaveOptions,omitempty"` // HibernationOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-hibernationoptions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-hibernationoptions HibernationOptions *Instance_HibernationOptions `json:"HibernationOptions,omitempty"` // HostId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-hostid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-hostid HostId *types.Value `json:"HostId,omitempty"` // HostResourceGroupArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-hostresourcegrouparn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-hostresourcegrouparn HostResourceGroupArn *types.Value `json:"HostResourceGroupArn,omitempty"` // IamInstanceProfile AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-iaminstanceprofile + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-iaminstanceprofile IamInstanceProfile *types.Value `json:"IamInstanceProfile,omitempty"` // ImageId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-imageid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-imageid ImageId *types.Value `json:"ImageId,omitempty"` // InstanceInitiatedShutdownBehavior AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-instanceinitiatedshutdownbehavior + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-instanceinitiatedshutdownbehavior InstanceInitiatedShutdownBehavior *types.Value `json:"InstanceInitiatedShutdownBehavior,omitempty"` // InstanceType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-instancetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-instancetype InstanceType *types.Value `json:"InstanceType,omitempty"` // Ipv6AddressCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ipv6addresscount + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-ipv6addresscount Ipv6AddressCount *types.Value `json:"Ipv6AddressCount,omitempty"` // Ipv6Addresses AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ipv6addresses + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-ipv6addresses Ipv6Addresses []Instance_InstanceIpv6Address `json:"Ipv6Addresses,omitempty"` // KernelId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-kernelid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-kernelid KernelId *types.Value `json:"KernelId,omitempty"` // KeyName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-keyname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-keyname KeyName *types.Value `json:"KeyName,omitempty"` // LaunchTemplate AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-launchtemplate + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-launchtemplate LaunchTemplate *Instance_LaunchTemplateSpecification `json:"LaunchTemplate,omitempty"` // LicenseSpecifications AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-licensespecifications + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-licensespecifications LicenseSpecifications []Instance_LicenseSpecification `json:"LicenseSpecifications,omitempty"` // Monitoring AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-monitoring + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-monitoring Monitoring *types.Value `json:"Monitoring,omitempty"` // NetworkInterfaces AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-networkinterfaces + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-networkinterfaces NetworkInterfaces []Instance_NetworkInterface `json:"NetworkInterfaces,omitempty"` // PlacementGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-placementgroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-placementgroupname PlacementGroupName *types.Value `json:"PlacementGroupName,omitempty"` + // PrivateDnsNameOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-privatednsnameoptions + PrivateDnsNameOptions *Instance_PrivateDnsNameOptions `json:"PrivateDnsNameOptions,omitempty"` + // PrivateIpAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-privateipaddress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-privateipaddress PrivateIpAddress *types.Value `json:"PrivateIpAddress,omitempty"` // PropagateTagsToVolumeOnCreation AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-propagatetagstovolumeoncreation + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-propagatetagstovolumeoncreation PropagateTagsToVolumeOnCreation *types.Value `json:"PropagateTagsToVolumeOnCreation,omitempty"` // RamdiskId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ramdiskid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-ramdiskid RamdiskId *types.Value `json:"RamdiskId,omitempty"` // SecurityGroupIds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-securitygroupids + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-securitygroupids SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` // SecurityGroups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-securitygroups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-securitygroups SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` // SourceDestCheck AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-sourcedestcheck + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-sourcedestcheck SourceDestCheck *types.Value `json:"SourceDestCheck,omitempty"` // SsmAssociations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-ssmassociations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-ssmassociations SsmAssociations []Instance_SsmAssociation `json:"SsmAssociations,omitempty"` // SubnetId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-subnetid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-subnetid SubnetId *types.Value `json:"SubnetId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // Tenancy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-tenancy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-tenancy Tenancy *types.Value `json:"Tenancy,omitempty"` // UserData AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-userdata + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-userdata UserData *types.Value `json:"UserData,omitempty"` // Volumes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html#cfn-ec2-instance-volumes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-volumes Volumes []Instance_Volume `json:"Volumes,omitempty"` // AWSCloudFormationCreationPolicy represents a CloudFormation CreationPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_associationparameter.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_associationparameter.go index 103714d973..08118efebb 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_associationparameter.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_associationparameter.go @@ -7,17 +7,17 @@ import ( ) // Instance_AssociationParameter AWS CloudFormation Resource (AWS::EC2::Instance.AssociationParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-associationparameter.html type Instance_AssociationParameter struct { // Key AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html#cfn-ec2-instance-ssmassociations-associationparameters-key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-associationparameter.html#cfn-ec2-instance-associationparameter-key Key *types.Value `json:"Key,omitempty"` // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html#cfn-ec2-instance-ssmassociations-associationparameters-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-associationparameter.html#cfn-ec2-instance-associationparameter-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_blockdevicemapping.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_blockdevicemapping.go index c0555e029a..13a296c981 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_blockdevicemapping.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_blockdevicemapping.go @@ -7,27 +7,27 @@ import ( ) // Instance_BlockDeviceMapping AWS CloudFormation Resource (AWS::EC2::Instance.BlockDeviceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html type Instance_BlockDeviceMapping struct { // DeviceName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html#cfn-ec2-blockdev-mapping-devicename + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html#cfn-ec2-instance-blockdevicemapping-devicename DeviceName *types.Value `json:"DeviceName,omitempty"` // Ebs AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html#cfn-ec2-blockdev-mapping-ebs + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html#cfn-ec2-instance-blockdevicemapping-ebs Ebs *Instance_Ebs `json:"Ebs,omitempty"` // NoDevice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html#cfn-ec2-blockdev-mapping-nodevice - NoDevice *Instance_NoDevice `json:"NoDevice,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html#cfn-ec2-instance-blockdevicemapping-nodevice + NoDevice interface{} `json:"NoDevice,omitempty"` // VirtualName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html#cfn-ec2-blockdev-mapping-virtualname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html#cfn-ec2-instance-blockdevicemapping-virtualname VirtualName *types.Value `json:"VirtualName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ebs.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ebs.go index c39e755853..8f5c600902 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ebs.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ebs.go @@ -7,42 +7,42 @@ import ( ) // Instance_Ebs AWS CloudFormation Resource (AWS::EC2::Instance.Ebs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html type Instance_Ebs struct { // DeleteOnTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-deleteontermination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-deleteontermination DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` // Encrypted AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-encrypted + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-encrypted Encrypted *types.Value `json:"Encrypted,omitempty"` // Iops AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-iops + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-iops Iops *types.Value `json:"Iops,omitempty"` // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-instance-ebs-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` // SnapshotId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-snapshotid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-snapshotid SnapshotId *types.Value `json:"SnapshotId,omitempty"` // VolumeSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-volumesize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-volumesize VolumeSize *types.Value `json:"VolumeSize,omitempty"` // VolumeType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-template.html#cfn-ec2-blockdev-template-volumetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ebs.html#cfn-ec2-instance-ebs-volumetype VolumeType *types.Value `json:"VolumeType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_networkinterface.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_networkinterface.go index b546d0ed9f..137b0b99d7 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_networkinterface.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_networkinterface.go @@ -7,67 +7,72 @@ import ( ) // Instance_NetworkInterface AWS CloudFormation Resource (AWS::EC2::Instance.NetworkInterface) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html type Instance_NetworkInterface struct { + // AssociateCarrierIpAddress AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-associatecarrieripaddress + AssociateCarrierIpAddress *types.Value `json:"AssociateCarrierIpAddress,omitempty"` + // AssociatePublicIpAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-associatepubip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-associatepublicipaddress AssociatePublicIpAddress *types.Value `json:"AssociatePublicIpAddress,omitempty"` // DeleteOnTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-delete + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-deleteontermination DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-description Description *types.Value `json:"Description,omitempty"` // DeviceIndex AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-deviceindex + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-deviceindex DeviceIndex *types.Value `json:"DeviceIndex,omitempty"` // GroupSet AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-groupset + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-groupset GroupSet *types.Value `json:"GroupSet,omitempty"` // Ipv6AddressCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#cfn-ec2-instance-networkinterface-ipv6addresscount + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-ipv6addresscount Ipv6AddressCount *types.Value `json:"Ipv6AddressCount,omitempty"` // Ipv6Addresses AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#cfn-ec2-instance-networkinterface-ipv6addresses + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-ipv6addresses Ipv6Addresses []Instance_InstanceIpv6Address `json:"Ipv6Addresses,omitempty"` // NetworkInterfaceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-network-iface + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-networkinterfaceid NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` // PrivateIpAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-privateipaddress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-privateipaddress PrivateIpAddress *types.Value `json:"PrivateIpAddress,omitempty"` // PrivateIpAddresses AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-privateipaddresses + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-privateipaddresses PrivateIpAddresses []Instance_PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty"` // SecondaryPrivateIpAddressCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-secondprivateip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-secondaryprivateipaddresscount SecondaryPrivateIpAddressCount *types.Value `json:"SecondaryPrivateIpAddressCount,omitempty"` // SubnetId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-subnetid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html#cfn-ec2-instance-networkinterface-subnetid SubnetId *types.Value `json:"SubnetId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_nodevice.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_nodevice.go deleted file mode 100644 index b60e793210..0000000000 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_nodevice.go +++ /dev/null @@ -1,30 +0,0 @@ -package ec2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_NoDevice AWS CloudFormation Resource (AWS::EC2::Instance.NoDevice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-nodevice.html -type Instance_NoDevice struct { - - // 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 *Instance_NoDevice) AWSCloudFormationType() string { - return "AWS::EC2::Instance.NoDevice" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionlanguagemapping.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privatednsnameoptions.go similarity index 54% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionlanguagemapping.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-instance_privatednsnameoptions.go index 3169716cc4..3b3eb01095 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionlanguagemapping.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privatednsnameoptions.go @@ -1,4 +1,4 @@ -package medialive +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_CaptionLanguageMapping AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionLanguageMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionlanguagemapping.html -type Channel_CaptionLanguageMapping struct { +// Instance_PrivateDnsNameOptions AWS CloudFormation Resource (AWS::EC2::Instance.PrivateDnsNameOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privatednsnameoptions.html +type Instance_PrivateDnsNameOptions struct { - // CaptionChannel AWS CloudFormation Property + // EnableResourceNameDnsAAAARecord AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionlanguagemapping.html#cfn-medialive-channel-captionlanguagemapping-captionchannel - CaptionChannel *types.Value `json:"CaptionChannel,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privatednsnameoptions.html#cfn-ec2-instance-privatednsnameoptions-enableresourcenamednsaaaarecord + EnableResourceNameDnsAAAARecord *types.Value `json:"EnableResourceNameDnsAAAARecord,omitempty"` - // LanguageCode AWS CloudFormation Property + // EnableResourceNameDnsARecord AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionlanguagemapping.html#cfn-medialive-channel-captionlanguagemapping-languagecode - LanguageCode *types.Value `json:"LanguageCode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privatednsnameoptions.html#cfn-ec2-instance-privatednsnameoptions-enableresourcenamednsarecord + EnableResourceNameDnsARecord *types.Value `json:"EnableResourceNameDnsARecord,omitempty"` - // LanguageDescription AWS CloudFormation Property + // HostnameType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionlanguagemapping.html#cfn-medialive-channel-captionlanguagemapping-languagedescription - LanguageDescription *types.Value `json:"LanguageDescription,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privatednsnameoptions.html#cfn-ec2-instance-privatednsnameoptions-hostnametype + HostnameType *types.Value `json:"HostnameType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Channel_CaptionLanguageMapping struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_CaptionLanguageMapping) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionLanguageMapping" +func (r *Instance_PrivateDnsNameOptions) AWSCloudFormationType() string { + return "AWS::EC2::Instance.PrivateDnsNameOptions" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privateipaddressspecification.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privateipaddressspecification.go index 2418b24bec..453fe09d77 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privateipaddressspecification.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_privateipaddressspecification.go @@ -7,17 +7,17 @@ import ( ) // Instance_PrivateIpAddressSpecification AWS CloudFormation Resource (AWS::EC2::Instance.PrivateIpAddressSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privateipaddressspecification.html type Instance_PrivateIpAddressSpecification struct { // Primary AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html#cfn-ec2-networkinterface-privateipspecification-primary + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privateipaddressspecification.html#cfn-ec2-instance-privateipaddressspecification-primary Primary *types.Value `json:"Primary"` // PrivateIpAddress AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html#cfn-ec2-networkinterface-privateipspecification-privateipaddress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-privateipaddressspecification.html#cfn-ec2-instance-privateipaddressspecification-privateipaddress PrivateIpAddress *types.Value `json:"PrivateIpAddress,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ssmassociation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ssmassociation.go index 26e276a0c4..c30f4bbf57 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ssmassociation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_ssmassociation.go @@ -7,17 +7,17 @@ import ( ) // Instance_SsmAssociation AWS CloudFormation Resource (AWS::EC2::Instance.SsmAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html type Instance_SsmAssociation struct { // AssociationParameters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations.html#cfn-ec2-instance-ssmassociations-associationparameters + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html#cfn-ec2-instance-ssmassociation-associationparameters AssociationParameters []Instance_AssociationParameter `json:"AssociationParameters,omitempty"` // DocumentName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations.html#cfn-ec2-instance-ssmassociations-documentname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html#cfn-ec2-instance-ssmassociation-documentname DocumentName *types.Value `json:"DocumentName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_state.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_state.go similarity index 80% rename from pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_state.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-instance_state.go index f23789d94e..06fe9f05c9 100644 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_state.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_state.go @@ -1,4 +1,4 @@ -package lightsail +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Instance_State AWS CloudFormation Resource (AWS::Lightsail::Instance.State) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-state.html +// Instance_State AWS CloudFormation Resource (AWS::EC2::Instance.State) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html type Instance_State struct { // Code AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-state.html#cfn-lightsail-instance-state-code + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-code Code *types.Value `json:"Code,omitempty"` // Name AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-state.html#cfn-lightsail-instance-state-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-state.html#cfn-ec2-instance-state-name Name *types.Value `json:"Name,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -38,5 +38,5 @@ type Instance_State struct { // AWSCloudFormationType returns the AWS CloudFormation resource type func (r *Instance_State) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.State" + return "AWS::EC2::Instance.State" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_volume.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_volume.go index 66f0332dda..f60d6caaba 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-instance_volume.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instance_volume.go @@ -7,17 +7,17 @@ import ( ) // Instance_Volume AWS CloudFormation Resource (AWS::EC2::Instance.Volume) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html type Instance_Volume struct { // Device AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-device + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html#cfn-ec2-instance-volume-device Device *types.Value `json:"Device,omitempty"` // VolumeId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-volumeid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html#cfn-ec2-instance-volume-volumeid VolumeId *types.Value `json:"VolumeId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint.go b/pkg/goformation/cloudformation/ec2/aws-ec2-instanceconnectendpoint.go similarity index 74% rename from pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-instanceconnectendpoint.go index 449aee1640..b3c71a5dae 100644 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-instanceconnectendpoint.go @@ -1,4 +1,4 @@ -package route53resolver +package ec2 import ( "bytes" @@ -11,33 +11,33 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ResolverEndpoint AWS CloudFormation Resource (AWS::Route53Resolver::ResolverEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html -type ResolverEndpoint struct { +// InstanceConnectEndpoint AWS CloudFormation Resource (AWS::EC2::InstanceConnectEndpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html +type InstanceConnectEndpoint struct { - // Direction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-direction - Direction *types.Value `json:"Direction,omitempty"` - - // IpAddresses AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-ipaddresses - IpAddresses []ResolverEndpoint_IpAddressRequest `json:"IpAddresses,omitempty"` + // ClientToken AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-clienttoken + ClientToken *types.Value `json:"ClientToken,omitempty"` - // Name AWS CloudFormation Property + // PreserveClientIp AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-preserveclientip + PreserveClientIp *types.Value `json:"PreserveClientIp,omitempty"` // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-securitygroupids + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-securitygroupids SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` + // SubnetId AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-subnetid + SubnetId *types.Value `json:"SubnetId,omitempty"` + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html#cfn-route53resolver-resolverendpoint-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html#cfn-ec2-instanceconnectendpoint-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -57,14 +57,14 @@ type ResolverEndpoint struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ResolverEndpoint) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverEndpoint" +func (r *InstanceConnectEndpoint) AWSCloudFormationType() string { + return "AWS::EC2::InstanceConnectEndpoint" } // 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 (r ResolverEndpoint) MarshalJSON() ([]byte, error) { - type Properties ResolverEndpoint +func (r InstanceConnectEndpoint) MarshalJSON() ([]byte, error) { + type Properties InstanceConnectEndpoint return json.Marshal(&struct { Type string Properties Properties @@ -86,8 +86,8 @@ func (r ResolverEndpoint) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverEndpoint) UnmarshalJSON(b []byte) error { - type Properties ResolverEndpoint +func (r *InstanceConnectEndpoint) UnmarshalJSON(b []byte) error { + type Properties InstanceConnectEndpoint res := &struct { Type string Properties *Properties @@ -108,7 +108,7 @@ func (r *ResolverEndpoint) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ResolverEndpoint(*res.Properties) + *r = InstanceConnectEndpoint(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-ipam.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipam.go index 1ec2adbf3a..513e2472ec 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-ipam.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipam.go @@ -15,11 +15,21 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html type IPAM struct { + // DefaultResourceDiscoveryOrganizationalUnitExclusions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-defaultresourcediscoveryorganizationalunitexclusions + DefaultResourceDiscoveryOrganizationalUnitExclusions []IPAM_IpamOrganizationalUnitExclusion `json:"DefaultResourceDiscoveryOrganizationalUnitExclusions,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-description Description *types.Value `json:"Description,omitempty"` + // EnablePrivateGua AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-enableprivategua + EnablePrivateGua *types.Value `json:"EnablePrivateGua,omitempty"` + // OperatingRegions AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-operatingregions @@ -30,6 +40,11 @@ type IPAM struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` + // Tier AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipam.html#cfn-ec2-ipam-tier + Tier *types.Value `json:"Tier,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation_associationdata.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipam_ipamorganizationalunitexclusion.go similarity index 64% rename from pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation_associationdata.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipam_ipamorganizationalunitexclusion.go index 2bb47be64d..af9ef56198 100644 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation_associationdata.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipam_ipamorganizationalunitexclusion.go @@ -1,4 +1,4 @@ -package wisdom +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AssistantAssociation_AssociationData AWS CloudFormation Resource (AWS::Wisdom::AssistantAssociation.AssociationData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistantassociation-associationdata.html -type AssistantAssociation_AssociationData struct { +// IPAM_IpamOrganizationalUnitExclusion AWS CloudFormation Resource (AWS::EC2::IPAM.IpamOrganizationalUnitExclusion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipam-ipamorganizationalunitexclusion.html +type IPAM_IpamOrganizationalUnitExclusion struct { - // KnowledgeBaseId AWS CloudFormation Property + // OrganizationsEntityPath AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistantassociation-associationdata.html#cfn-wisdom-assistantassociation-associationdata-knowledgebaseid - KnowledgeBaseId *types.Value `json:"KnowledgeBaseId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipam-ipamorganizationalunitexclusion.html#cfn-ec2-ipam-ipamorganizationalunitexclusion-organizationsentitypath + OrganizationsEntityPath *types.Value `json:"OrganizationsEntityPath,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type AssistantAssociation_AssociationData struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AssistantAssociation_AssociationData) AWSCloudFormationType() string { - return "AWS::Wisdom::AssistantAssociation.AssociationData" +func (r *IPAM_IpamOrganizationalUnitExclusion) AWSCloudFormationType() string { + return "AWS::EC2::IPAM.IpamOrganizationalUnitExclusion" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool.go index 78d5528fe7..1959a4f2a4 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool.go @@ -45,6 +45,11 @@ type IPAMPool struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-autoimport AutoImport *types.Value `json:"AutoImport,omitempty"` + // AwsService AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-awsservice + AwsService *types.Value `json:"AwsService,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-description @@ -65,6 +70,11 @@ type IPAMPool struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-provisionedcidrs ProvisionedCidrs []IPAMPool_ProvisionedCidr `json:"ProvisionedCidrs,omitempty"` + // PublicIpSource AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-publicipsource + PublicIpSource *types.Value `json:"PublicIpSource,omitempty"` + // PubliclyAdvertisable AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-publiclyadvertisable @@ -75,6 +85,11 @@ type IPAMPool struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-sourceipampoolid SourceIpamPoolId *types.Value `json:"SourceIpamPoolId,omitempty"` + // SourceResource AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-sourceresource + SourceResource *IPAMPool_SourceResource `json:"SourceResource,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-tags diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_customsql.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool_sourceresource.go similarity index 55% rename from pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_customsql.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipampool_sourceresource.go index f9a20fac7c..e34ae85cfa 100644 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_customsql.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampool_sourceresource.go @@ -1,4 +1,4 @@ -package quicksight +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataSet_CustomSql AWS CloudFormation Resource (AWS::QuickSight::DataSet.CustomSql) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-customsql.html -type DataSet_CustomSql struct { +// IPAMPool_SourceResource AWS CloudFormation Resource (AWS::EC2::IPAMPool.SourceResource) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipampool-sourceresource.html +type IPAMPool_SourceResource struct { - // Columns AWS CloudFormation Property + // ResourceId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-customsql.html#cfn-quicksight-dataset-customsql-columns - Columns []DataSet_InputColumn `json:"Columns,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipampool-sourceresource.html#cfn-ec2-ipampool-sourceresource-resourceid + ResourceId *types.Value `json:"ResourceId,omitempty"` - // DataSourceArn AWS CloudFormation Property + // ResourceOwner AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-customsql.html#cfn-quicksight-dataset-customsql-datasourcearn - DataSourceArn *types.Value `json:"DataSourceArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipampool-sourceresource.html#cfn-ec2-ipampool-sourceresource-resourceowner + ResourceOwner *types.Value `json:"ResourceOwner,omitempty"` - // Name AWS CloudFormation Property + // ResourceRegion AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-customsql.html#cfn-quicksight-dataset-customsql-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipampool-sourceresource.html#cfn-ec2-ipampool-sourceresource-resourceregion + ResourceRegion *types.Value `json:"ResourceRegion,omitempty"` - // SqlQuery AWS CloudFormation Property + // ResourceType AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-customsql.html#cfn-quicksight-dataset-customsql-sqlquery - SqlQuery *types.Value `json:"SqlQuery,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipampool-sourceresource.html#cfn-ec2-ipampool-sourceresource-resourcetype + ResourceType *types.Value `json:"ResourceType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type DataSet_CustomSql struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataSet_CustomSql) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.CustomSql" +func (r *IPAMPool_SourceResource) AWSCloudFormationType() string { + return "AWS::EC2::IPAMPool.SourceResource" } diff --git a/pkg/goformation/cloudformation/glue/aws-glue-registry.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampoolcidr.go similarity index 79% rename from pkg/goformation/cloudformation/glue/aws-glue-registry.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipampoolcidr.go index e89a1d6537..a25f67666f 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-registry.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipampoolcidr.go @@ -1,4 +1,4 @@ -package glue +package ec2 import ( "bytes" @@ -7,28 +7,27 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Registry AWS CloudFormation Resource (AWS::Glue::Registry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html -type Registry struct { +// IPAMPoolCidr AWS CloudFormation Resource (AWS::EC2::IPAMPoolCidr) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html +type IPAMPoolCidr struct { - // Description AWS CloudFormation Property + // Cidr AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html#cfn-glue-registry-description - Description *types.Value `json:"Description,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html#cfn-ec2-ipampoolcidr-cidr + Cidr *types.Value `json:"Cidr,omitempty"` - // Name AWS CloudFormation Property + // IpamPoolId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html#cfn-glue-registry-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html#cfn-ec2-ipampoolcidr-ipampoolid + IpamPoolId *types.Value `json:"IpamPoolId,omitempty"` - // Tags AWS CloudFormation Property + // NetmaskLength AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-registry.html#cfn-glue-registry-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampoolcidr.html#cfn-ec2-ipampoolcidr-netmasklength + NetmaskLength *types.Value `json:"NetmaskLength,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,14 +46,14 @@ type Registry struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Registry) AWSCloudFormationType() string { - return "AWS::Glue::Registry" +func (r *IPAMPoolCidr) AWSCloudFormationType() string { + return "AWS::EC2::IPAMPoolCidr" } // 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 (r Registry) MarshalJSON() ([]byte, error) { - type Properties Registry +func (r IPAMPoolCidr) MarshalJSON() ([]byte, error) { + type Properties IPAMPoolCidr return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +75,8 @@ func (r Registry) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Registry) UnmarshalJSON(b []byte) error { - type Properties Registry +func (r *IPAMPoolCidr) UnmarshalJSON(b []byte) error { + type Properties IPAMPoolCidr res := &struct { Type string Properties *Properties @@ -98,7 +97,7 @@ func (r *Registry) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Registry(*res.Properties) + *r = IPAMPoolCidr(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ses/aws-ses-contactlist.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery.go similarity index 75% rename from pkg/goformation/cloudformation/ses/aws-ses-contactlist.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery.go index 39c5bb38d5..3f7a00dc63 100644 --- a/pkg/goformation/cloudformation/ses/aws-ses-contactlist.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery.go @@ -1,4 +1,4 @@ -package ses +package ec2 import ( "bytes" @@ -11,29 +11,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ContactList AWS CloudFormation Resource (AWS::SES::ContactList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html -type ContactList struct { - - // ContactListName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-contactlistname - ContactListName *types.Value `json:"ContactListName,omitempty"` +// IPAMResourceDiscovery AWS CloudFormation Resource (AWS::EC2::IPAMResourceDiscovery) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html +type IPAMResourceDiscovery struct { // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html#cfn-ec2-ipamresourcediscovery-description Description *types.Value `json:"Description,omitempty"` - // Tags AWS CloudFormation Property + // OperatingRegions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html#cfn-ec2-ipamresourcediscovery-operatingregions + OperatingRegions []IPAMResourceDiscovery_IpamOperatingRegion `json:"OperatingRegions,omitempty"` - // Topics AWS CloudFormation Property + // OrganizationalUnitExclusions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-contactlist.html#cfn-ses-contactlist-topics - Topics []ContactList_Topic `json:"Topics,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html#cfn-ec2-ipamresourcediscovery-organizationalunitexclusions + OrganizationalUnitExclusions []IPAMResourceDiscovery_IpamResourceDiscoveryOrganizationalUnitExclusion `json:"OrganizationalUnitExclusions,omitempty"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscovery.html#cfn-ec2-ipamresourcediscovery-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,14 +52,14 @@ type ContactList struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ContactList) AWSCloudFormationType() string { - return "AWS::SES::ContactList" +func (r *IPAMResourceDiscovery) AWSCloudFormationType() string { + return "AWS::EC2::IPAMResourceDiscovery" } // 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 (r ContactList) MarshalJSON() ([]byte, error) { - type Properties ContactList +func (r IPAMResourceDiscovery) MarshalJSON() ([]byte, error) { + type Properties IPAMResourceDiscovery return json.Marshal(&struct { Type string Properties Properties @@ -81,8 +81,8 @@ func (r ContactList) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ContactList) UnmarshalJSON(b []byte) error { - type Properties ContactList +func (r *IPAMResourceDiscovery) UnmarshalJSON(b []byte) error { + type Properties IPAMResourceDiscovery res := &struct { Type string Properties *Properties @@ -103,7 +103,7 @@ func (r *ContactList) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ContactList(*res.Properties) + *r = IPAMResourceDiscovery(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodegrpcconnectionpool.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamoperatingregion.go similarity index 64% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodegrpcconnectionpool.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamoperatingregion.go index 4eb9a703e9..cf931323bb 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodegrpcconnectionpool.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamoperatingregion.go @@ -1,4 +1,4 @@ -package appmesh +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_VirtualNodeGrpcConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodegrpcconnectionpool.html -type VirtualNode_VirtualNodeGrpcConnectionPool struct { +// IPAMResourceDiscovery_IpamOperatingRegion AWS CloudFormation Resource (AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamoperatingregion.html +type IPAMResourceDiscovery_IpamOperatingRegion struct { - // MaxRequests AWS CloudFormation Property + // RegionName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodegrpcconnectionpool.html#cfn-appmesh-virtualnode-virtualnodegrpcconnectionpool-maxrequests - MaxRequests *types.Value `json:"MaxRequests"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamoperatingregion.html#cfn-ec2-ipamresourcediscovery-ipamoperatingregion-regionname + RegionName *types.Value `json:"RegionName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type VirtualNode_VirtualNodeGrpcConnectionPool struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_VirtualNodeGrpcConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool" +func (r *IPAMResourceDiscovery_IpamOperatingRegion) AWSCloudFormationType() string { + return "AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion" } diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectsourceversion.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamresourcediscoveryorganizationalunitexclusion.go similarity index 58% rename from pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectsourceversion.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamresourcediscoveryorganizationalunitexclusion.go index 30116f2c2b..e633b45756 100644 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-project_projectsourceversion.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscovery_ipamresourcediscoveryorganizationalunitexclusion.go @@ -1,4 +1,4 @@ -package codebuild +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Project_ProjectSourceVersion AWS CloudFormation Resource (AWS::CodeBuild::Project.ProjectSourceVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html -type Project_ProjectSourceVersion struct { +// IPAMResourceDiscovery_IpamResourceDiscoveryOrganizationalUnitExclusion AWS CloudFormation Resource (AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion.html +type IPAMResourceDiscovery_IpamResourceDiscoveryOrganizationalUnitExclusion struct { - // SourceIdentifier AWS CloudFormation Property + // OrganizationsEntityPath AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html#cfn-codebuild-project-projectsourceversion-sourceidentifier - SourceIdentifier *types.Value `json:"SourceIdentifier,omitempty"` - - // SourceVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html#cfn-codebuild-project-projectsourceversion-sourceversion - SourceVersion *types.Value `json:"SourceVersion,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion.html#cfn-ec2-ipamresourcediscovery-ipamresourcediscoveryorganizationalunitexclusion-organizationsentitypath + OrganizationsEntityPath *types.Value `json:"OrganizationsEntityPath,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +32,6 @@ type Project_ProjectSourceVersion struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Project_ProjectSourceVersion) AWSCloudFormationType() string { - return "AWS::CodeBuild::Project.ProjectSourceVersion" +func (r *IPAMResourceDiscovery_IpamResourceDiscoveryOrganizationalUnitExclusion) AWSCloudFormationType() string { + return "AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion" } diff --git a/pkg/goformation/cloudformation/config/aws-config-aggregationauthorization.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscoveryassociation.go similarity index 75% rename from pkg/goformation/cloudformation/config/aws-config-aggregationauthorization.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscoveryassociation.go index d5a4be7dfc..14fda96b2b 100644 --- a/pkg/goformation/cloudformation/config/aws-config-aggregationauthorization.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamresourcediscoveryassociation.go @@ -1,4 +1,4 @@ -package config +package ec2 import ( "bytes" @@ -11,23 +11,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AggregationAuthorization AWS CloudFormation Resource (AWS::Config::AggregationAuthorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-aggregationauthorization.html -type AggregationAuthorization struct { +// IPAMResourceDiscoveryAssociation AWS CloudFormation Resource (AWS::EC2::IPAMResourceDiscoveryAssociation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscoveryassociation.html +type IPAMResourceDiscoveryAssociation struct { - // AuthorizedAccountId AWS CloudFormation Property + // IpamId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-aggregationauthorization.html#cfn-config-aggregationauthorization-authorizedaccountid - AuthorizedAccountId *types.Value `json:"AuthorizedAccountId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscoveryassociation.html#cfn-ec2-ipamresourcediscoveryassociation-ipamid + IpamId *types.Value `json:"IpamId,omitempty"` - // AuthorizedAwsRegion AWS CloudFormation Property + // IpamResourceDiscoveryId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-aggregationauthorization.html#cfn-config-aggregationauthorization-authorizedawsregion - AuthorizedAwsRegion *types.Value `json:"AuthorizedAwsRegion,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscoveryassociation.html#cfn-ec2-ipamresourcediscoveryassociation-ipamresourcediscoveryid + IpamResourceDiscoveryId *types.Value `json:"IpamResourceDiscoveryId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-aggregationauthorization.html#cfn-config-aggregationauthorization-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamresourcediscoveryassociation.html#cfn-ec2-ipamresourcediscoveryassociation-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -47,14 +47,14 @@ type AggregationAuthorization struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AggregationAuthorization) AWSCloudFormationType() string { - return "AWS::Config::AggregationAuthorization" +func (r *IPAMResourceDiscoveryAssociation) AWSCloudFormationType() string { + return "AWS::EC2::IPAMResourceDiscoveryAssociation" } // 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 (r AggregationAuthorization) MarshalJSON() ([]byte, error) { - type Properties AggregationAuthorization +func (r IPAMResourceDiscoveryAssociation) MarshalJSON() ([]byte, error) { + type Properties IPAMResourceDiscoveryAssociation return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +76,8 @@ func (r AggregationAuthorization) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AggregationAuthorization) UnmarshalJSON(b []byte) error { - type Properties AggregationAuthorization +func (r *IPAMResourceDiscoveryAssociation) UnmarshalJSON(b []byte) error { + type Properties IPAMResourceDiscoveryAssociation res := &struct { Type string Properties *Properties @@ -98,7 +98,7 @@ func (r *AggregationAuthorization) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = AggregationAuthorization(*res.Properties) + *r = IPAMResourceDiscoveryAssociation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-ipamscope.go b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamscope.go index f9c1240b56..4915a2506c 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-ipamscope.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-ipamscope.go @@ -25,11 +25,6 @@ type IPAMScope struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamscope.html#cfn-ec2-ipamscope-ipamid IpamId *types.Value `json:"IpamId,omitempty"` - // IpamScopeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamscope.html#cfn-ec2-ipamscope-ipamscopetype - IpamScopeType *types.Value `json:"IpamScopeType,omitempty"` - // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipamscope.html#cfn-ec2-ipamscope-tags diff --git a/pkg/goformation/cloudformation/qldb/aws-qldb-ledger.go b/pkg/goformation/cloudformation/ec2/aws-ec2-keypair.go similarity index 78% rename from pkg/goformation/cloudformation/qldb/aws-qldb-ledger.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-keypair.go index d900446174..a7200e02a0 100644 --- a/pkg/goformation/cloudformation/qldb/aws-qldb-ledger.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-keypair.go @@ -1,4 +1,4 @@ -package qldb +package ec2 import ( "bytes" @@ -11,33 +11,33 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Ledger AWS CloudFormation Resource (AWS::QLDB::Ledger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html -type Ledger struct { +// KeyPair AWS CloudFormation Resource (AWS::EC2::KeyPair) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html +type KeyPair struct { - // DeletionProtection AWS CloudFormation Property + // KeyFormat AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-deletionprotection - DeletionProtection *types.Value `json:"DeletionProtection,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#cfn-ec2-keypair-keyformat + KeyFormat *types.Value `json:"KeyFormat,omitempty"` - // KmsKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-kmskey - KmsKey *types.Value `json:"KmsKey,omitempty"` + // KeyName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#cfn-ec2-keypair-keyname + KeyName *types.Value `json:"KeyName,omitempty"` - // Name AWS CloudFormation Property + // KeyType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#cfn-ec2-keypair-keytype + KeyType *types.Value `json:"KeyType,omitempty"` - // PermissionsMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-permissionsmode - PermissionsMode *types.Value `json:"PermissionsMode,omitempty"` + // PublicKeyMaterial AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#cfn-ec2-keypair-publickeymaterial + PublicKeyMaterial *types.Value `json:"PublicKeyMaterial,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#cfn-ec2-keypair-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -57,14 +57,14 @@ type Ledger struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Ledger) AWSCloudFormationType() string { - return "AWS::QLDB::Ledger" +func (r *KeyPair) AWSCloudFormationType() string { + return "AWS::EC2::KeyPair" } // 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 (r Ledger) MarshalJSON() ([]byte, error) { - type Properties Ledger +func (r KeyPair) MarshalJSON() ([]byte, error) { + type Properties KeyPair return json.Marshal(&struct { Type string Properties Properties @@ -86,8 +86,8 @@ func (r Ledger) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Ledger) UnmarshalJSON(b []byte) error { - type Properties Ledger +func (r *KeyPair) UnmarshalJSON(b []byte) error { + type Properties KeyPair res := &struct { Type string Properties *Properties @@ -108,7 +108,7 @@ func (r *Ledger) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Ledger(*res.Properties) + *r = KeyPair(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate.go index f1edc5d2ba..314e22fc12 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate.go @@ -15,7 +15,7 @@ import ( type LaunchTemplate struct { // LaunchTemplateData AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-launchtemplatedata LaunchTemplateData *LaunchTemplate_LaunchTemplateData `json:"LaunchTemplateData,omitempty"` @@ -29,6 +29,11 @@ type LaunchTemplate struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications TagSpecifications []LaunchTemplate_LaunchTemplateTagSpecification `json:"TagSpecifications,omitempty"` + // VersionDescription AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-versiondescription + VersionDescription *types.Value `json:"VersionDescription,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-carriergateway_tags.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_baselineperformancefactors.go similarity index 64% rename from pkg/goformation/cloudformation/ec2/aws-ec2-carriergateway_tags.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_baselineperformancefactors.go index a18cd1e369..d8edf6b2d1 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-carriergateway_tags.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_baselineperformancefactors.go @@ -1,18 +1,17 @@ package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// CarrierGateway_Tags AWS CloudFormation Resource (AWS::EC2::CarrierGateway.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-carriergateway-tags.html -type CarrierGateway_Tags struct { +// LaunchTemplate_BaselinePerformanceFactors AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.BaselinePerformanceFactors) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-baselineperformancefactors.html +type LaunchTemplate_BaselinePerformanceFactors struct { - // Tags AWS CloudFormation Property + // Cpu AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-carriergateway-tags.html#cfn-ec2-carriergateway-tags-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-baselineperformancefactors.html#cfn-ec2-launchtemplate-baselineperformancefactors-cpu + Cpu *LaunchTemplate_Cpu `json:"Cpu,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -31,6 +30,6 @@ type CarrierGateway_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *CarrierGateway_Tags) AWSCloudFormationType() string { - return "AWS::EC2::CarrierGateway.Tags" +func (r *LaunchTemplate_BaselinePerformanceFactors) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.BaselinePerformanceFactors" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_capacityreservationspecification.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_capacityreservationspecification.go index 48be2cdc0f..84e2f6b5bf 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_capacityreservationspecification.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_capacityreservationspecification.go @@ -7,17 +7,17 @@ import ( ) // LaunchTemplate_CapacityReservationSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.CapacityReservationSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-capacityreservationspecification.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html type LaunchTemplate_CapacityReservationSpecification struct { // CapacityReservationPreference AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-capacityreservationspecification.html#cfn-ec2-launchtemplate-launchtemplatedata-capacityreservationspecification-capacityreservationpreference + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html#cfn-ec2-launchtemplate-capacityreservationspecification-capacityreservationpreference CapacityReservationPreference *types.Value `json:"CapacityReservationPreference,omitempty"` // CapacityReservationTarget AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-capacityreservationspecification.html#cfn-ec2-launchtemplate-launchtemplatedata-capacityreservationspecification-capacityreservationtarget + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-capacityreservationspecification.html#cfn-ec2-launchtemplate-capacityreservationspecification-capacityreservationtarget CapacityReservationTarget *LaunchTemplate_CapacityReservationTarget `json:"CapacityReservationTarget,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_launchtemplatespecification.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_connectiontrackingspecification.go similarity index 53% rename from pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_launchtemplatespecification.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_connectiontrackingspecification.go index 27a143b75a..6884bc45e1 100644 --- a/pkg/goformation/cloudformation/batch/aws-batch-computeenvironment_launchtemplatespecification.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_connectiontrackingspecification.go @@ -1,4 +1,4 @@ -package batch +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ComputeEnvironment_LaunchTemplateSpecification AWS CloudFormation Resource (AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html -type ComputeEnvironment_LaunchTemplateSpecification struct { +// LaunchTemplate_ConnectionTrackingSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html +type LaunchTemplate_ConnectionTrackingSpecification struct { - // LaunchTemplateId AWS CloudFormation Property + // TcpEstablishedTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-launchtemplateid - LaunchTemplateId *types.Value `json:"LaunchTemplateId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-tcpestablishedtimeout + TcpEstablishedTimeout *types.Value `json:"TcpEstablishedTimeout,omitempty"` - // LaunchTemplateName AWS CloudFormation Property + // UdpStreamTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-launchtemplatename - LaunchTemplateName *types.Value `json:"LaunchTemplateName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-udpstreamtimeout + UdpStreamTimeout *types.Value `json:"UdpStreamTimeout,omitempty"` - // Version AWS CloudFormation Property + // UdpTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-version - Version *types.Value `json:"Version,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-connectiontrackingspecification.html#cfn-ec2-launchtemplate-connectiontrackingspecification-udptimeout + UdpTimeout *types.Value `json:"UdpTimeout,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type ComputeEnvironment_LaunchTemplateSpecification struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ComputeEnvironment_LaunchTemplateSpecification) AWSCloudFormationType() string { - return "AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification" +func (r *LaunchTemplate_ConnectionTrackingSpecification) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification" } diff --git a/pkg/goformation/cloudformation/ask/alexa-ask-skill_overrides.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpu.go similarity index 69% rename from pkg/goformation/cloudformation/ask/alexa-ask-skill_overrides.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpu.go index 6435e39d89..fc80d8c261 100644 --- a/pkg/goformation/cloudformation/ask/alexa-ask-skill_overrides.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpu.go @@ -1,17 +1,17 @@ -package ask +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Skill_Overrides AWS CloudFormation Resource (Alexa::ASK::Skill.Overrides) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html -type Skill_Overrides struct { +// LaunchTemplate_Cpu AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Cpu) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpu.html +type LaunchTemplate_Cpu struct { - // Manifest AWS CloudFormation Property + // References AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html#cfn-ask-skill-overrides-manifest - Manifest interface{} `json:"Manifest,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpu.html#cfn-ec2-launchtemplate-cpu-references + References []LaunchTemplate_Reference `json:"References,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Skill_Overrides struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Skill_Overrides) AWSCloudFormationType() string { - return "Alexa::ASK::Skill.Overrides" +func (r *LaunchTemplate_Cpu) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.Cpu" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpuoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpuoptions.go index a02648ce2e..ddaeb5a810 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpuoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_cpuoptions.go @@ -7,17 +7,22 @@ import ( ) // LaunchTemplate_CpuOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.CpuOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-cpuoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html type LaunchTemplate_CpuOptions struct { + // AmdSevSnp AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-amdsevsnp + AmdSevSnp *types.Value `json:"AmdSevSnp,omitempty"` + // CoreCount AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-cpuoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-cpuoptions-corecount + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-corecount CoreCount *types.Value `json:"CoreCount,omitempty"` // ThreadsPerCore AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-cpuoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-cpuoptions-threadspercore + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-threadspercore ThreadsPerCore *types.Value `json:"ThreadsPerCore,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_creditspecification.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_creditspecification.go index 5541904896..ac59cbcceb 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_creditspecification.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_creditspecification.go @@ -7,12 +7,12 @@ import ( ) // LaunchTemplate_CreditSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.CreditSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-creditspecification.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-creditspecification.html type LaunchTemplate_CreditSpecification struct { // CpuCredits AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-creditspecification.html#cfn-ec2-launchtemplate-launchtemplatedata-creditspecification-cpucredits + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-creditspecification.html#cfn-ec2-launchtemplate-creditspecification-cpucredits CpuCredits *types.Value `json:"CpuCredits,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ebs.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ebs.go index 9db15a5884..45cdadedf0 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ebs.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ebs.go @@ -7,47 +7,47 @@ import ( ) // LaunchTemplate_Ebs AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Ebs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html type LaunchTemplate_Ebs struct { // DeleteOnTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-deleteontermination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-deleteontermination DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` // Encrypted AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-encrypted + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-encrypted Encrypted *types.Value `json:"Encrypted,omitempty"` // Iops AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-iops + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-iops Iops *types.Value `json:"Iops,omitempty"` // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` // SnapshotId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-snapshotid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-snapshotid SnapshotId *types.Value `json:"SnapshotId,omitempty"` // Throughput AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-throughput + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-throughput Throughput *types.Value `json:"Throughput,omitempty"` // VolumeSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-volumesize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-volumesize VolumeSize *types.Value `json:"VolumeSize,omitempty"` // VolumeType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping-ebs.html#cfn-ec2-launchtemplate-blockdevicemapping-ebs-volumetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ebs.html#cfn-ec2-launchtemplate-ebs-volumetype VolumeType *types.Value `json:"VolumeType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiohlsrenditionselection.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdspecification.go similarity index 59% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiohlsrenditionselection.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdspecification.go index bc82cea124..71b8814d36 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiohlsrenditionselection.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdspecification.go @@ -1,4 +1,4 @@ -package medialive +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_AudioHlsRenditionSelection AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioHlsRenditionSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiohlsrenditionselection.html -type Channel_AudioHlsRenditionSelection struct { +// LaunchTemplate_EnaSrdSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.EnaSrdSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enasrdspecification.html +type LaunchTemplate_EnaSrdSpecification struct { - // GroupId AWS CloudFormation Property + // EnaSrdEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiohlsrenditionselection.html#cfn-medialive-channel-audiohlsrenditionselection-groupid - GroupId *types.Value `json:"GroupId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enasrdspecification.html#cfn-ec2-launchtemplate-enasrdspecification-enasrdenabled + EnaSrdEnabled *types.Value `json:"EnaSrdEnabled,omitempty"` - // Name AWS CloudFormation Property + // EnaSrdUdpSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiohlsrenditionselection.html#cfn-medialive-channel-audiohlsrenditionselection-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enasrdspecification.html#cfn-ec2-launchtemplate-enasrdspecification-enasrdudpspecification + EnaSrdUdpSpecification *LaunchTemplate_EnaSrdUdpSpecification `json:"EnaSrdUdpSpecification,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Channel_AudioHlsRenditionSelection struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_AudioHlsRenditionSelection) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioHlsRenditionSelection" +func (r *LaunchTemplate_EnaSrdSpecification) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.EnaSrdSpecification" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_statisticsresource.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdudpspecification.go similarity index 65% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_statisticsresource.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdudpspecification.go index 82aa5fdbfd..73184eaca8 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_statisticsresource.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enasrdudpspecification.go @@ -1,4 +1,4 @@ -package sagemaker +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// MonitoringSchedule_StatisticsResource AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.StatisticsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-statisticsresource.html -type MonitoringSchedule_StatisticsResource struct { +// LaunchTemplate_EnaSrdUdpSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enasrdudpspecification.html +type LaunchTemplate_EnaSrdUdpSpecification struct { - // S3Uri AWS CloudFormation Property + // EnaSrdUdpEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-statisticsresource.html#cfn-sagemaker-monitoringschedule-statisticsresource-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enasrdudpspecification.html#cfn-ec2-launchtemplate-enasrdudpspecification-enasrdudpenabled + EnaSrdUdpEnabled *types.Value `json:"EnaSrdUdpEnabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type MonitoringSchedule_StatisticsResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *MonitoringSchedule_StatisticsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.StatisticsResource" +func (r *LaunchTemplate_EnaSrdUdpSpecification) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enclaveoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enclaveoptions.go index ba87e91cd3..750fb5f5b2 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enclaveoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_enclaveoptions.go @@ -7,12 +7,12 @@ import ( ) // LaunchTemplate_EnclaveOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.EnclaveOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-enclaveoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enclaveoptions.html type LaunchTemplate_EnclaveOptions struct { // Enabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-enclaveoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-enclaveoptions-enabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-enclaveoptions.html#cfn-ec2-launchtemplate-enclaveoptions-enabled Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_hibernationoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_hibernationoptions.go index 36fccb3601..dc6b3db828 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_hibernationoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_hibernationoptions.go @@ -7,12 +7,12 @@ import ( ) // LaunchTemplate_HibernationOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.HibernationOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-hibernationoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-hibernationoptions.html type LaunchTemplate_HibernationOptions struct { // Configured AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-hibernationoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-hibernationoptions-configured + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-hibernationoptions.html#cfn-ec2-launchtemplate-hibernationoptions-configured Configured *types.Value `json:"Configured,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_iaminstanceprofile.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_iaminstanceprofile.go index 0016c8f596..f10cac9d65 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_iaminstanceprofile.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_iaminstanceprofile.go @@ -7,17 +7,17 @@ import ( ) // LaunchTemplate_IamInstanceProfile AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.IamInstanceProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-iaminstanceprofile.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-iaminstanceprofile.html type LaunchTemplate_IamInstanceProfile struct { // Arn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-iaminstanceprofile.html#cfn-ec2-launchtemplate-launchtemplatedata-iaminstanceprofile-arn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-iaminstanceprofile.html#cfn-ec2-launchtemplate-iaminstanceprofile-arn Arn *types.Value `json:"Arn,omitempty"` // Name AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-iaminstanceprofile.html#cfn-ec2-launchtemplate-launchtemplatedata-iaminstanceprofile-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-iaminstanceprofile.html#cfn-ec2-launchtemplate-iaminstanceprofile-name Name *types.Value `json:"Name,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancemarketoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancemarketoptions.go index 771d09af7e..fbff002a2d 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancemarketoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancemarketoptions.go @@ -7,17 +7,17 @@ import ( ) // LaunchTemplate_InstanceMarketOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.InstanceMarketOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancemarketoptions.html type LaunchTemplate_InstanceMarketOptions struct { // MarketType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-markettype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancemarketoptions.html#cfn-ec2-launchtemplate-instancemarketoptions-markettype MarketType *types.Value `json:"MarketType,omitempty"` // SpotOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancemarketoptions.html#cfn-ec2-launchtemplate-instancemarketoptions-spotoptions SpotOptions *LaunchTemplate_SpotOptions `json:"SpotOptions,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancerequirements.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancerequirements.go new file mode 100644 index 0000000000..5f0a2e3388 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_instancerequirements.go @@ -0,0 +1,157 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// LaunchTemplate_InstanceRequirements AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.InstanceRequirements) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html +type LaunchTemplate_InstanceRequirements struct { + + // AcceleratorCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-acceleratorcount + AcceleratorCount *LaunchTemplate_AcceleratorCount `json:"AcceleratorCount,omitempty"` + + // AcceleratorManufacturers AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-acceleratormanufacturers + AcceleratorManufacturers *types.Value `json:"AcceleratorManufacturers,omitempty"` + + // AcceleratorNames AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-acceleratornames + AcceleratorNames *types.Value `json:"AcceleratorNames,omitempty"` + + // AcceleratorTotalMemoryMiB AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-acceleratortotalmemorymib + AcceleratorTotalMemoryMiB *LaunchTemplate_AcceleratorTotalMemoryMiB `json:"AcceleratorTotalMemoryMiB,omitempty"` + + // AcceleratorTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-acceleratortypes + AcceleratorTypes *types.Value `json:"AcceleratorTypes,omitempty"` + + // AllowedInstanceTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-allowedinstancetypes + AllowedInstanceTypes *types.Value `json:"AllowedInstanceTypes,omitempty"` + + // BareMetal AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-baremetal + BareMetal *types.Value `json:"BareMetal,omitempty"` + + // BaselineEbsBandwidthMbps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-baselineebsbandwidthmbps + BaselineEbsBandwidthMbps *LaunchTemplate_BaselineEbsBandwidthMbps `json:"BaselineEbsBandwidthMbps,omitempty"` + + // BaselinePerformanceFactors AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-baselineperformancefactors + BaselinePerformanceFactors *LaunchTemplate_BaselinePerformanceFactors `json:"BaselinePerformanceFactors,omitempty"` + + // BurstablePerformance AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-burstableperformance + BurstablePerformance *types.Value `json:"BurstablePerformance,omitempty"` + + // CpuManufacturers AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-cpumanufacturers + CpuManufacturers *types.Value `json:"CpuManufacturers,omitempty"` + + // ExcludedInstanceTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-excludedinstancetypes + ExcludedInstanceTypes *types.Value `json:"ExcludedInstanceTypes,omitempty"` + + // InstanceGenerations AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-instancegenerations + InstanceGenerations *types.Value `json:"InstanceGenerations,omitempty"` + + // LocalStorage AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-localstorage + LocalStorage *types.Value `json:"LocalStorage,omitempty"` + + // LocalStorageTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-localstoragetypes + LocalStorageTypes *types.Value `json:"LocalStorageTypes,omitempty"` + + // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-maxspotpriceaspercentageofoptimalondemandprice + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *types.Value `json:"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty"` + + // MemoryGiBPerVCpu AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-memorygibpervcpu + MemoryGiBPerVCpu *LaunchTemplate_MemoryGiBPerVCpu `json:"MemoryGiBPerVCpu,omitempty"` + + // MemoryMiB AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-memorymib + MemoryMiB *LaunchTemplate_MemoryMiB `json:"MemoryMiB,omitempty"` + + // NetworkBandwidthGbps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-networkbandwidthgbps + NetworkBandwidthGbps *LaunchTemplate_NetworkBandwidthGbps `json:"NetworkBandwidthGbps,omitempty"` + + // NetworkInterfaceCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-networkinterfacecount + NetworkInterfaceCount *LaunchTemplate_NetworkInterfaceCount `json:"NetworkInterfaceCount,omitempty"` + + // OnDemandMaxPricePercentageOverLowestPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-ondemandmaxpricepercentageoverlowestprice + OnDemandMaxPricePercentageOverLowestPrice *types.Value `json:"OnDemandMaxPricePercentageOverLowestPrice,omitempty"` + + // RequireHibernateSupport AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-requirehibernatesupport + RequireHibernateSupport *types.Value `json:"RequireHibernateSupport,omitempty"` + + // SpotMaxPricePercentageOverLowestPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-spotmaxpricepercentageoverlowestprice + SpotMaxPricePercentageOverLowestPrice *types.Value `json:"SpotMaxPricePercentageOverLowestPrice,omitempty"` + + // TotalLocalStorageGB AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-totallocalstoragegb + TotalLocalStorageGB *LaunchTemplate_TotalLocalStorageGB `json:"TotalLocalStorageGB,omitempty"` + + // VCpuCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-instancerequirements.html#cfn-ec2-launchtemplate-instancerequirements-vcpucount + VCpuCount *LaunchTemplate_VCpuCount `json:"VCpuCount,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 *LaunchTemplate_InstanceRequirements) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.InstanceRequirements" +} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_constraintsresource.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv4prefixspecification.go similarity index 65% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_constraintsresource.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv4prefixspecification.go index 4b961910f9..0f053bbd1f 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_constraintsresource.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv4prefixspecification.go @@ -1,4 +1,4 @@ -package sagemaker +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// MonitoringSchedule_ConstraintsResource AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.ConstraintsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-constraintsresource.html -type MonitoringSchedule_ConstraintsResource struct { +// LaunchTemplate_Ipv4PrefixSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ipv4prefixspecification.html +type LaunchTemplate_Ipv4PrefixSpecification struct { - // S3Uri AWS CloudFormation Property + // Ipv4Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-constraintsresource.html#cfn-sagemaker-monitoringschedule-constraintsresource-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ipv4prefixspecification.html#cfn-ec2-launchtemplate-ipv4prefixspecification-ipv4prefix + Ipv4Prefix *types.Value `json:"Ipv4Prefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type MonitoringSchedule_ConstraintsResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *MonitoringSchedule_ConstraintsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.ConstraintsResource" +func (r *LaunchTemplate_Ipv4PrefixSpecification) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification" } diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_targetgroupinfo.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv6prefixspecification.go similarity index 65% rename from pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_targetgroupinfo.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv6prefixspecification.go index 84b2b26398..d2ac302c12 100644 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-deploymentgroup_targetgroupinfo.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_ipv6prefixspecification.go @@ -1,4 +1,4 @@ -package codedeploy +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DeploymentGroup_TargetGroupInfo AWS CloudFormation Resource (AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgroupinfo.html -type DeploymentGroup_TargetGroupInfo struct { +// LaunchTemplate_Ipv6PrefixSpecification AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ipv6prefixspecification.html +type LaunchTemplate_Ipv6PrefixSpecification struct { - // Name AWS CloudFormation Property + // Ipv6Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-targetgroupinfo.html#cfn-codedeploy-deploymentgroup-targetgroupinfo-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-ipv6prefixspecification.html#cfn-ec2-launchtemplate-ipv6prefixspecification-ipv6prefix + Ipv6Prefix *types.Value `json:"Ipv6Prefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type DeploymentGroup_TargetGroupInfo struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DeploymentGroup_TargetGroupInfo) AWSCloudFormationType() string { - return "AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo" +func (r *LaunchTemplate_Ipv6PrefixSpecification) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_launchtemplatedata.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_launchtemplatedata.go index d0426a3963..1467353780 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_launchtemplatedata.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_launchtemplatedata.go @@ -30,6 +30,11 @@ type LaunchTemplate_LaunchTemplateData struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-creditspecification CreditSpecification *LaunchTemplate_CreditSpecification `json:"CreditSpecification,omitempty"` + // DisableApiStop AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-disableapistop + DisableApiStop *types.Value `json:"DisableApiStop,omitempty"` + // DisableApiTermination AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-disableapitermination @@ -80,6 +85,11 @@ type LaunchTemplate_LaunchTemplateData struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions InstanceMarketOptions *LaunchTemplate_InstanceMarketOptions `json:"InstanceMarketOptions,omitempty"` + // InstanceRequirements AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-instancerequirements + InstanceRequirements *LaunchTemplate_InstanceRequirements `json:"InstanceRequirements,omitempty"` + // InstanceType AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-instancetype @@ -100,6 +110,11 @@ type LaunchTemplate_LaunchTemplateData struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-licensespecifications LicenseSpecifications []LaunchTemplate_LicenseSpecification `json:"LicenseSpecifications,omitempty"` + // MaintenanceOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-maintenanceoptions + MaintenanceOptions *LaunchTemplate_MaintenanceOptions `json:"MaintenanceOptions,omitempty"` + // MetadataOptions AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions @@ -115,11 +130,21 @@ type LaunchTemplate_LaunchTemplateData struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-networkinterfaces NetworkInterfaces []LaunchTemplate_NetworkInterface `json:"NetworkInterfaces,omitempty"` + // NetworkPerformanceOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-networkperformanceoptions + NetworkPerformanceOptions interface{} `json:"NetworkPerformanceOptions,omitempty"` + // Placement AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-placement Placement *LaunchTemplate_Placement `json:"Placement,omitempty"` + // PrivateDnsNameOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-privatednsnameoptions + PrivateDnsNameOptions *LaunchTemplate_PrivateDnsNameOptions `json:"PrivateDnsNameOptions,omitempty"` + // RamDiskId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-ramdiskid diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_aggregationconfig.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_maintenanceoptions.go similarity index 66% rename from pkg/goformation/cloudformation/appflow/aws-appflow-flow_aggregationconfig.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_maintenanceoptions.go index cf3528326f..a169738852 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_aggregationconfig.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_maintenanceoptions.go @@ -1,4 +1,4 @@ -package appflow +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Flow_AggregationConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.AggregationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-aggregationconfig.html -type Flow_AggregationConfig struct { +// LaunchTemplate_MaintenanceOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.MaintenanceOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-maintenanceoptions.html +type LaunchTemplate_MaintenanceOptions struct { - // AggregationType AWS CloudFormation Property + // AutoRecovery AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-aggregationconfig.html#cfn-appflow-flow-aggregationconfig-aggregationtype - AggregationType *types.Value `json:"AggregationType,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-maintenanceoptions.html#cfn-ec2-launchtemplate-maintenanceoptions-autorecovery + AutoRecovery *types.Value `json:"AutoRecovery,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Flow_AggregationConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Flow_AggregationConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.AggregationConfig" +func (r *LaunchTemplate_MaintenanceOptions) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.MaintenanceOptions" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_metadataoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_metadataoptions.go index 57d1b4aee5..8cb0a2602a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_metadataoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_metadataoptions.go @@ -7,29 +7,34 @@ import ( ) // LaunchTemplate_MetadataOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.MetadataOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html type LaunchTemplate_MetadataOptions struct { // HttpEndpoint AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httpendpoint + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html#cfn-ec2-launchtemplate-metadataoptions-httpendpoint HttpEndpoint *types.Value `json:"HttpEndpoint,omitempty"` // HttpProtocolIpv6 AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httpprotocolipv6 + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html#cfn-ec2-launchtemplate-metadataoptions-httpprotocolipv6 HttpProtocolIpv6 *types.Value `json:"HttpProtocolIpv6,omitempty"` // HttpPutResponseHopLimit AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httpputresponsehoplimit + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html#cfn-ec2-launchtemplate-metadataoptions-httpputresponsehoplimit HttpPutResponseHopLimit *types.Value `json:"HttpPutResponseHopLimit,omitempty"` // HttpTokens AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-metadataoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-metadataoptions-httptokens + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html#cfn-ec2-launchtemplate-metadataoptions-httptokens HttpTokens *types.Value `json:"HttpTokens,omitempty"` + // InstanceMetadataTags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html#cfn-ec2-launchtemplate-metadataoptions-instancemetadatatags + InstanceMetadataTags *types.Value `json:"InstanceMetadataTags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_monitoring.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_monitoring.go index 144273e242..ed20092267 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_monitoring.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_monitoring.go @@ -7,12 +7,12 @@ import ( ) // LaunchTemplate_Monitoring AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Monitoring) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-monitoring.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-monitoring.html type LaunchTemplate_Monitoring struct { // Enabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-monitoring.html#cfn-ec2-launchtemplate-launchtemplatedata-monitoring-enabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-monitoring.html#cfn-ec2-launchtemplate-monitoring-enabled Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequencybandwidth.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkbandwidthgbps.go similarity index 62% rename from pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequencybandwidth.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkbandwidthgbps.go index a4fd182da7..955216b6ad 100644 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequencybandwidth.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkbandwidthgbps.go @@ -1,4 +1,4 @@ -package groundstation +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Config_FrequencyBandwidth AWS CloudFormation Resource (AWS::GroundStation::Config.FrequencyBandwidth) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html -type Config_FrequencyBandwidth struct { +// LaunchTemplate_NetworkBandwidthGbps AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.NetworkBandwidthGbps) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkbandwidthgbps.html +type LaunchTemplate_NetworkBandwidthGbps struct { - // Units AWS CloudFormation Property + // Max AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html#cfn-groundstation-config-frequencybandwidth-units - Units *types.Value `json:"Units,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkbandwidthgbps.html#cfn-ec2-launchtemplate-networkbandwidthgbps-max + Max *types.Value `json:"Max,omitempty"` - // Value AWS CloudFormation Property + // Min AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequencybandwidth.html#cfn-groundstation-config-frequencybandwidth-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkbandwidthgbps.html#cfn-ec2-launchtemplate-networkbandwidthgbps-min + Min *types.Value `json:"Min,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Config_FrequencyBandwidth struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Config_FrequencyBandwidth) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.FrequencyBandwidth" +func (r *LaunchTemplate_NetworkBandwidthGbps) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.NetworkBandwidthGbps" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkinterface.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkinterface.go index 682fce8eca..5c9bf2b53a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkinterface.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_networkinterface.go @@ -20,6 +20,11 @@ type LaunchTemplate_NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-associatepublicipaddress AssociatePublicIpAddress *types.Value `json:"AssociatePublicIpAddress,omitempty"` + // ConnectionTrackingSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-connectiontrackingspecification + ConnectionTrackingSpecification *LaunchTemplate_ConnectionTrackingSpecification `json:"ConnectionTrackingSpecification,omitempty"` + // DeleteOnTermination AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-deleteontermination @@ -35,6 +40,11 @@ type LaunchTemplate_NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-deviceindex DeviceIndex *types.Value `json:"DeviceIndex,omitempty"` + // EnaSrdSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-enasrdspecification + EnaSrdSpecification *LaunchTemplate_EnaSrdSpecification `json:"EnaSrdSpecification,omitempty"` + // Groups AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-groups @@ -45,6 +55,16 @@ type LaunchTemplate_NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-interfacetype InterfaceType *types.Value `json:"InterfaceType,omitempty"` + // Ipv4PrefixCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv4prefixcount + Ipv4PrefixCount *types.Value `json:"Ipv4PrefixCount,omitempty"` + + // Ipv4Prefixes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv4prefixes + Ipv4Prefixes []LaunchTemplate_Ipv4PrefixSpecification `json:"Ipv4Prefixes,omitempty"` + // Ipv6AddressCount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv6addresscount @@ -55,6 +75,16 @@ type LaunchTemplate_NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv6addresses Ipv6Addresses []LaunchTemplate_Ipv6Add `json:"Ipv6Addresses,omitempty"` + // Ipv6PrefixCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv6prefixcount + Ipv6PrefixCount *types.Value `json:"Ipv6PrefixCount,omitempty"` + + // Ipv6Prefixes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-ipv6prefixes + Ipv6Prefixes []LaunchTemplate_Ipv6PrefixSpecification `json:"Ipv6Prefixes,omitempty"` + // NetworkCardIndex AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-networkcardindex @@ -65,6 +95,11 @@ type LaunchTemplate_NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-networkinterfaceid NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` + // PrimaryIpv6 AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-primaryipv6 + PrimaryIpv6 *types.Value `json:"PrimaryIpv6,omitempty"` + // PrivateIpAddress AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-privateipaddress diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_placement.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_placement.go index acdeb6922a..c7e6084deb 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_placement.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_placement.go @@ -7,47 +7,52 @@ import ( ) // LaunchTemplate_Placement AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Placement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html type LaunchTemplate_Placement struct { // Affinity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-affinity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-affinity Affinity *types.Value `json:"Affinity,omitempty"` // AvailabilityZone AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-availabilityzone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` + // GroupId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-groupid + GroupId *types.Value `json:"GroupId,omitempty"` + // GroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-groupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-groupname GroupName *types.Value `json:"GroupName,omitempty"` // HostId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-hostid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-hostid HostId *types.Value `json:"HostId,omitempty"` // HostResourceGroupArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-hostresourcegrouparn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-hostresourcegrouparn HostResourceGroupArn *types.Value `json:"HostResourceGroupArn,omitempty"` // PartitionNumber AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-partitionnumber + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-partitionnumber PartitionNumber *types.Value `json:"PartitionNumber,omitempty"` // SpreadDomain AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-spreaddomain + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-spreaddomain SpreadDomain *types.Value `json:"SpreadDomain,omitempty"` // Tenancy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-placement.html#cfn-ec2-launchtemplate-launchtemplatedata-placement-tenancy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-tenancy Tenancy *types.Value `json:"Tenancy,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_masteruseroptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_privatednsnameoptions.go similarity index 54% rename from pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_masteruseroptions.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_privatednsnameoptions.go index 16433c1db4..85b6412e3b 100644 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_masteruseroptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_privatednsnameoptions.go @@ -1,4 +1,4 @@ -package elasticsearch +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Domain_MasterUserOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.MasterUserOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html -type Domain_MasterUserOptions struct { +// LaunchTemplate_PrivateDnsNameOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.PrivateDnsNameOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-privatednsnameoptions.html +type LaunchTemplate_PrivateDnsNameOptions struct { - // MasterUserARN AWS CloudFormation Property + // EnableResourceNameDnsAAAARecord AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masteruserarn - MasterUserARN *types.Value `json:"MasterUserARN,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-privatednsnameoptions.html#cfn-ec2-launchtemplate-privatednsnameoptions-enableresourcenamednsaaaarecord + EnableResourceNameDnsAAAARecord *types.Value `json:"EnableResourceNameDnsAAAARecord,omitempty"` - // MasterUserName AWS CloudFormation Property + // EnableResourceNameDnsARecord AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masterusername - MasterUserName *types.Value `json:"MasterUserName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-privatednsnameoptions.html#cfn-ec2-launchtemplate-privatednsnameoptions-enableresourcenamednsarecord + EnableResourceNameDnsARecord *types.Value `json:"EnableResourceNameDnsARecord,omitempty"` - // MasterUserPassword AWS CloudFormation Property + // HostnameType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masteruserpassword - MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-privatednsnameoptions.html#cfn-ec2-launchtemplate-privatednsnameoptions-hostnametype + HostnameType *types.Value `json:"HostnameType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Domain_MasterUserOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Domain_MasterUserOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.MasterUserOptions" +func (r *LaunchTemplate_PrivateDnsNameOptions) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.PrivateDnsNameOptions" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicerequest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_reference.go similarity index 69% rename from pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicerequest.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_reference.go index 5a94701936..98d071d017 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicerequest.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_reference.go @@ -1,4 +1,4 @@ -package medialive +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Input_InputDeviceRequest AWS CloudFormation Resource (AWS::MediaLive::Input.InputDeviceRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdevicerequest.html -type Input_InputDeviceRequest struct { +// LaunchTemplate_Reference AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.Reference) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-reference.html +type LaunchTemplate_Reference struct { - // Id AWS CloudFormation Property + // InstanceFamily AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdevicerequest.html#cfn-medialive-input-inputdevicerequest-id - Id *types.Value `json:"Id,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-reference.html#cfn-ec2-launchtemplate-reference-instancefamily + InstanceFamily *types.Value `json:"InstanceFamily,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Input_InputDeviceRequest struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Input_InputDeviceRequest) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.InputDeviceRequest" +func (r *LaunchTemplate_Reference) AWSCloudFormationType() string { + return "AWS::EC2::LaunchTemplate.Reference" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_spotoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_spotoptions.go index f21f08e102..6f69bb89e7 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_spotoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-launchtemplate_spotoptions.go @@ -7,32 +7,32 @@ import ( ) // LaunchTemplate_SpotOptions AWS CloudFormation Resource (AWS::EC2::LaunchTemplate.SpotOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html type LaunchTemplate_SpotOptions struct { // BlockDurationMinutes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions-blockdurationminutes + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html#cfn-ec2-launchtemplate-spotoptions-blockdurationminutes BlockDurationMinutes *types.Value `json:"BlockDurationMinutes,omitempty"` // InstanceInterruptionBehavior AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions-instanceinterruptionbehavior + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html#cfn-ec2-launchtemplate-spotoptions-instanceinterruptionbehavior InstanceInterruptionBehavior *types.Value `json:"InstanceInterruptionBehavior,omitempty"` // MaxPrice AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions-maxprice + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html#cfn-ec2-launchtemplate-spotoptions-maxprice MaxPrice *types.Value `json:"MaxPrice,omitempty"` // SpotInstanceType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions-spotinstancetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html#cfn-ec2-launchtemplate-spotoptions-spotinstancetype SpotInstanceType *types.Value `json:"SpotInstanceType,omitempty"` // ValidUntil AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions.html#cfn-ec2-launchtemplate-launchtemplatedata-instancemarketoptions-spotoptions-validuntil + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-spotoptions.html#cfn-ec2-launchtemplate-spotoptions-validuntil ValidUntil *types.Value `json:"ValidUntil,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroute.go b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroute.go index 073c95b107..7a88e44fb5 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroute.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroute.go @@ -25,10 +25,15 @@ type LocalGatewayRoute struct { LocalGatewayRouteTableId *types.Value `json:"LocalGatewayRouteTableId,omitempty"` // LocalGatewayVirtualInterfaceGroupId AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-localgatewayvirtualinterfacegroupid LocalGatewayVirtualInterfaceGroupId *types.Value `json:"LocalGatewayVirtualInterfaceGroupId,omitempty"` + // NetworkInterfaceId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroute.html#cfn-ec2-localgatewayroute-networkinterfaceid + NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/iot/aws-iot-dimension.go b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetable.go similarity index 78% rename from pkg/goformation/cloudformation/iot/aws-iot-dimension.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetable.go index 9a6ea023da..88d39cc0e9 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-dimension.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetable.go @@ -1,4 +1,4 @@ -package iot +package ec2 import ( "bytes" @@ -11,30 +11,25 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Dimension AWS CloudFormation Resource (AWS::IoT::Dimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html -type Dimension struct { +// LocalGatewayRouteTable AWS CloudFormation Resource (AWS::EC2::LocalGatewayRouteTable) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetable.html +type LocalGatewayRouteTable struct { - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-name - Name *types.Value `json:"Name,omitempty"` - - // StringValues AWS CloudFormation Property + // LocalGatewayId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-stringvalues - StringValues *types.Value `json:"StringValues,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetable.html#cfn-ec2-localgatewayroutetable-localgatewayid + LocalGatewayId *types.Value `json:"LocalGatewayId,omitempty"` + + // Mode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetable.html#cfn-ec2-localgatewayroutetable-mode + Mode *types.Value `json:"Mode,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetable.html#cfn-ec2-localgatewayroutetable-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-type - Type *types.Value `json:"Type,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,14 +47,14 @@ type Dimension struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Dimension) AWSCloudFormationType() string { - return "AWS::IoT::Dimension" +func (r *LocalGatewayRouteTable) AWSCloudFormationType() string { + return "AWS::EC2::LocalGatewayRouteTable" } // 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 (r Dimension) MarshalJSON() ([]byte, error) { - type Properties Dimension +func (r LocalGatewayRouteTable) MarshalJSON() ([]byte, error) { + type Properties LocalGatewayRouteTable return json.Marshal(&struct { Type string Properties Properties @@ -81,8 +76,8 @@ func (r Dimension) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Dimension) UnmarshalJSON(b []byte) error { - type Properties Dimension +func (r *LocalGatewayRouteTable) UnmarshalJSON(b []byte) error { + type Properties LocalGatewayRouteTable res := &struct { Type string Properties *Properties @@ -103,7 +98,7 @@ func (r *Dimension) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Dimension(*res.Properties) + *r = LocalGatewayRouteTable(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration.go b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.go similarity index 69% rename from pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.go index 6927de020c..944e538153 100644 --- a/pkg/goformation/cloudformation/customerprofiles/aws-customerprofiles-integration.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevirtualinterfacegroupassociation.go @@ -1,4 +1,4 @@ -package customerprofiles +package ec2 import ( "bytes" @@ -11,35 +11,25 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Integration AWS CloudFormation Resource (AWS::CustomerProfiles::Integration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html -type Integration struct { +// LocalGatewayRouteTableVirtualInterfaceGroupAssociation AWS CloudFormation Resource (AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetablevirtualinterfacegroupassociation.html +type LocalGatewayRouteTableVirtualInterfaceGroupAssociation struct { - // DomainName AWS CloudFormation Property + // LocalGatewayRouteTableId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-domainname - DomainName *types.Value `json:"DomainName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetablevirtualinterfacegroupassociation.html#cfn-ec2-localgatewayroutetablevirtualinterfacegroupassociation-localgatewayroutetableid + LocalGatewayRouteTableId *types.Value `json:"LocalGatewayRouteTableId,omitempty"` - // FlowDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-flowdefinition - FlowDefinition *Integration_FlowDefinition `json:"FlowDefinition,omitempty"` - - // ObjectTypeName AWS CloudFormation Property + // LocalGatewayVirtualInterfaceGroupId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-objecttypename - ObjectTypeName *types.Value `json:"ObjectTypeName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetablevirtualinterfacegroupassociation.html#cfn-ec2-localgatewayroutetablevirtualinterfacegroupassociation-localgatewayvirtualinterfacegroupid + LocalGatewayVirtualInterfaceGroupId *types.Value `json:"LocalGatewayVirtualInterfaceGroupId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-localgatewayroutetablevirtualinterfacegroupassociation.html#cfn-ec2-localgatewayroutetablevirtualinterfacegroupassociation-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-uri - Uri *types.Value `json:"Uri,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -57,14 +47,14 @@ type Integration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Integration) AWSCloudFormationType() string { - return "AWS::CustomerProfiles::Integration" +func (r *LocalGatewayRouteTableVirtualInterfaceGroupAssociation) AWSCloudFormationType() string { + return "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" } // 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 (r Integration) MarshalJSON() ([]byte, error) { - type Properties Integration +func (r LocalGatewayRouteTableVirtualInterfaceGroupAssociation) MarshalJSON() ([]byte, error) { + type Properties LocalGatewayRouteTableVirtualInterfaceGroupAssociation return json.Marshal(&struct { Type string Properties Properties @@ -86,8 +76,8 @@ func (r Integration) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Integration) UnmarshalJSON(b []byte) error { - type Properties Integration +func (r *LocalGatewayRouteTableVirtualInterfaceGroupAssociation) UnmarshalJSON(b []byte) error { + type Properties LocalGatewayRouteTableVirtualInterfaceGroupAssociation res := &struct { Type string Properties *Properties @@ -108,7 +98,7 @@ func (r *Integration) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Integration(*res.Properties) + *r = LocalGatewayRouteTableVirtualInterfaceGroupAssociation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-natgateway.go b/pkg/goformation/cloudformation/ec2/aws-ec2-natgateway.go index 50e3d1ce26..fd8eed57ab 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-natgateway.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-natgateway.go @@ -25,6 +25,31 @@ type NatGateway struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-connectivitytype ConnectivityType *types.Value `json:"ConnectivityType,omitempty"` + // MaxDrainDurationSeconds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-maxdraindurationseconds + MaxDrainDurationSeconds *types.Value `json:"MaxDrainDurationSeconds,omitempty"` + + // PrivateIpAddress AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-privateipaddress + PrivateIpAddress *types.Value `json:"PrivateIpAddress,omitempty"` + + // SecondaryAllocationIds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-secondaryallocationids + SecondaryAllocationIds *types.Value `json:"SecondaryAllocationIds,omitempty"` + + // SecondaryPrivateIpAddressCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-secondaryprivateipaddresscount + SecondaryPrivateIpAddressCount *types.Value `json:"SecondaryPrivateIpAddressCount,omitempty"` + + // SecondaryPrivateIpAddresses AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-secondaryprivateipaddresses + SecondaryPrivateIpAddresses *types.Value `json:"SecondaryPrivateIpAddresses,omitempty"` + // SubnetId AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-natgateway.html#cfn-ec2-natgateway-subnetid diff --git a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-application.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope.go similarity index 75% rename from pkg/goformation/cloudformation/codedeploy/aws-codedeploy-application.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope.go index a7a22c60c2..391ad7cc49 100644 --- a/pkg/goformation/cloudformation/codedeploy/aws-codedeploy-application.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope.go @@ -1,33 +1,31 @@ -package codedeploy +package ec2 import ( "bytes" "encoding/json" "fmt" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Application AWS CloudFormation Resource (AWS::CodeDeploy::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-application.html -type Application struct { +// NetworkInsightsAccessScope AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html +type NetworkInsightsAccessScope struct { - // ApplicationName AWS CloudFormation Property + // ExcludePaths AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-application.html#cfn-codedeploy-application-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-excludepaths + ExcludePaths []NetworkInsightsAccessScope_AccessScopePathRequest `json:"ExcludePaths,omitempty"` - // ComputePlatform AWS CloudFormation Property + // MatchPaths AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-application.html#cfn-codedeploy-application-computeplatform - ComputePlatform *types.Value `json:"ComputePlatform,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-matchpaths + MatchPaths []NetworkInsightsAccessScope_AccessScopePathRequest `json:"MatchPaths,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codedeploy-application.html#cfn-codedeploy-application-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscope.html#cfn-ec2-networkinsightsaccessscope-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -47,14 +45,14 @@ type Application struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Application) AWSCloudFormationType() string { - return "AWS::CodeDeploy::Application" +func (r *NetworkInsightsAccessScope) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope" } // 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application +func (r NetworkInsightsAccessScope) MarshalJSON() ([]byte, error) { + type Properties NetworkInsightsAccessScope return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +74,8 @@ func (r Application) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application +func (r *NetworkInsightsAccessScope) UnmarshalJSON(b []byte) error { + type Properties NetworkInsightsAccessScope res := &struct { Type string Properties *Properties @@ -98,7 +96,7 @@ func (r *Application) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Application(*res.Properties) + *r = NetworkInsightsAccessScope(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivegroupsettings.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_accessscopepathrequest.go similarity index 50% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivegroupsettings.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_accessscopepathrequest.go index 81f5f28a10..e400b5fcf9 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivegroupsettings.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_accessscopepathrequest.go @@ -1,29 +1,27 @@ -package medialive +package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_ArchiveGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.ArchiveGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivegroupsettings.html -type Channel_ArchiveGroupSettings struct { +// NetworkInsightsAccessScope_AccessScopePathRequest AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-accessscopepathrequest.html +type NetworkInsightsAccessScope_AccessScopePathRequest struct { - // ArchiveCdnSettings AWS CloudFormation Property + // Destination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivegroupsettings.html#cfn-medialive-channel-archivegroupsettings-archivecdnsettings - ArchiveCdnSettings *Channel_ArchiveCdnSettings `json:"ArchiveCdnSettings,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-accessscopepathrequest.html#cfn-ec2-networkinsightsaccessscope-accessscopepathrequest-destination + Destination *NetworkInsightsAccessScope_PathStatementRequest `json:"Destination,omitempty"` - // Destination AWS CloudFormation Property + // Source AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivegroupsettings.html#cfn-medialive-channel-archivegroupsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-accessscopepathrequest.html#cfn-ec2-networkinsightsaccessscope-accessscopepathrequest-source + Source *NetworkInsightsAccessScope_PathStatementRequest `json:"Source,omitempty"` - // RolloverInterval AWS CloudFormation Property + // ThroughResources AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivegroupsettings.html#cfn-medialive-channel-archivegroupsettings-rolloverinterval - RolloverInterval *types.Value `json:"RolloverInterval,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-accessscopepathrequest.html#cfn-ec2-networkinsightsaccessscope-accessscopepathrequest-throughresources + ThroughResources []NetworkInsightsAccessScope_ThroughResourcesStatementRequest `json:"ThroughResources,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +40,6 @@ type Channel_ArchiveGroupSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_ArchiveGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ArchiveGroupSettings" +func (r *NetworkInsightsAccessScope_AccessScopePathRequest) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_packetheaderstatementrequest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_packetheaderstatementrequest.go new file mode 100644 index 0000000000..9ed9fcc4e5 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_packetheaderstatementrequest.go @@ -0,0 +1,67 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// NetworkInsightsAccessScope_PacketHeaderStatementRequest AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html +type NetworkInsightsAccessScope_PacketHeaderStatementRequest struct { + + // DestinationAddresses AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-destinationaddresses + DestinationAddresses *types.Value `json:"DestinationAddresses,omitempty"` + + // DestinationPorts AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-destinationports + DestinationPorts *types.Value `json:"DestinationPorts,omitempty"` + + // DestinationPrefixLists AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-destinationprefixlists + DestinationPrefixLists *types.Value `json:"DestinationPrefixLists,omitempty"` + + // Protocols AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-protocols + Protocols *types.Value `json:"Protocols,omitempty"` + + // SourceAddresses AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-sourceaddresses + SourceAddresses *types.Value `json:"SourceAddresses,omitempty"` + + // SourcePorts AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-sourceports + SourcePorts *types.Value `json:"SourcePorts,omitempty"` + + // SourcePrefixLists AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-packetheaderstatementrequest.html#cfn-ec2-networkinsightsaccessscope-packetheaderstatementrequest-sourceprefixlists + SourcePrefixLists *types.Value `json:"SourcePrefixLists,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 *NetworkInsightsAccessScope_PacketHeaderStatementRequest) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest" +} diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_action.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_pathstatementrequest.go similarity index 53% rename from pkg/goformation/cloudformation/databrew/aws-databrew-recipe_action.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_pathstatementrequest.go index 51a76b817f..c1d0a3c935 100644 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-recipe_action.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_pathstatementrequest.go @@ -1,24 +1,22 @@ -package databrew +package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Recipe_Action AWS CloudFormation Resource (AWS::DataBrew::Recipe.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-action.html -type Recipe_Action struct { +// NetworkInsightsAccessScope_PathStatementRequest AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-pathstatementrequest.html +type NetworkInsightsAccessScope_PathStatementRequest struct { - // Operation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-action.html#cfn-databrew-recipe-action-operation - Operation *types.Value `json:"Operation,omitempty"` + // PacketHeaderStatement AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-pathstatementrequest.html#cfn-ec2-networkinsightsaccessscope-pathstatementrequest-packetheaderstatement + PacketHeaderStatement *NetworkInsightsAccessScope_PacketHeaderStatementRequest `json:"PacketHeaderStatement,omitempty"` - // Parameters AWS CloudFormation Property + // ResourceStatement AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-recipe-action.html#cfn-databrew-recipe-action-parameters - Parameters *Recipe_ParameterMap `json:"Parameters,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-pathstatementrequest.html#cfn-ec2-networkinsightsaccessscope-pathstatementrequest-resourcestatement + ResourceStatement *NetworkInsightsAccessScope_ResourceStatementRequest `json:"ResourceStatement,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +35,6 @@ type Recipe_Action struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Recipe_Action) AWSCloudFormationType() string { - return "AWS::DataBrew::Recipe.Action" +func (r *NetworkInsightsAccessScope_PathStatementRequest) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" } diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_diskiopsconfiguration.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_resourcestatementrequest.go similarity index 56% rename from pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_diskiopsconfiguration.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_resourcestatementrequest.go index b629a5cc2d..cf6426b7dd 100644 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_diskiopsconfiguration.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_resourcestatementrequest.go @@ -1,4 +1,4 @@ -package fsx +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// FileSystem_DiskIopsConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.DiskIopsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration.html -type FileSystem_DiskIopsConfiguration struct { +// NetworkInsightsAccessScope_ResourceStatementRequest AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-resourcestatementrequest.html +type NetworkInsightsAccessScope_ResourceStatementRequest struct { - // Iops AWS CloudFormation Property + // ResourceTypes AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration-iops - Iops *types.Value `json:"Iops,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-resourcestatementrequest.html#cfn-ec2-networkinsightsaccessscope-resourcestatementrequest-resourcetypes + ResourceTypes *types.Value `json:"ResourceTypes,omitempty"` - // Mode AWS CloudFormation Property + // Resources AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration-mode - Mode *types.Value `json:"Mode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-resourcestatementrequest.html#cfn-ec2-networkinsightsaccessscope-resourcestatementrequest-resources + Resources *types.Value `json:"Resources,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type FileSystem_DiskIopsConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *FileSystem_DiskIopsConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.DiskIopsConfiguration" +func (r *NetworkInsightsAccessScope_ResourceStatementRequest) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevpcassociation_tags.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_throughresourcesstatementrequest.go similarity index 56% rename from pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevpcassociation_tags.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_throughresourcesstatementrequest.go index ff761035a9..85bd658187 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-localgatewayroutetablevpcassociation_tags.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscope_throughresourcesstatementrequest.go @@ -1,18 +1,17 @@ package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LocalGatewayRouteTableVPCAssociation_Tags AWS CloudFormation Resource (AWS::EC2::LocalGatewayRouteTableVPCAssociation.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-localgatewayroutetablevpcassociation-tags.html -type LocalGatewayRouteTableVPCAssociation_Tags struct { +// NetworkInsightsAccessScope_ThroughResourcesStatementRequest AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-throughresourcesstatementrequest.html +type NetworkInsightsAccessScope_ThroughResourcesStatementRequest struct { - // Tags AWS CloudFormation Property + // ResourceStatement AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-localgatewayroutetablevpcassociation-tags.html#cfn-ec2-localgatewayroutetablevpcassociation-tags-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsaccessscope-throughresourcesstatementrequest.html#cfn-ec2-networkinsightsaccessscope-throughresourcesstatementrequest-resourcestatement + ResourceStatement *NetworkInsightsAccessScope_ResourceStatementRequest `json:"ResourceStatement,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -31,6 +30,6 @@ type LocalGatewayRouteTableVPCAssociation_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LocalGatewayRouteTableVPCAssociation_Tags) AWSCloudFormationType() string { - return "AWS::EC2::LocalGatewayRouteTableVPCAssociation.Tags" +func (r *NetworkInsightsAccessScope_ThroughResourcesStatementRequest) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest" } diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-entitytype.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscopeanalysis.go similarity index 77% rename from pkg/goformation/cloudformation/frauddetector/aws-frauddetector-entitytype.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscopeanalysis.go index f034b8c355..d7b1f0fd7a 100644 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-entitytype.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsaccessscopeanalysis.go @@ -1,4 +1,4 @@ -package frauddetector +package ec2 import ( "bytes" @@ -11,23 +11,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// EntityType AWS CloudFormation Resource (AWS::FraudDetector::EntityType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-entitytype.html -type EntityType struct { +// NetworkInsightsAccessScopeAnalysis AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAccessScopeAnalysis) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscopeanalysis.html +type NetworkInsightsAccessScopeAnalysis struct { - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-entitytype.html#cfn-frauddetector-entitytype-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property + // NetworkInsightsAccessScopeId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-entitytype.html#cfn-frauddetector-entitytype-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscopeanalysis.html#cfn-ec2-networkinsightsaccessscopeanalysis-networkinsightsaccessscopeid + NetworkInsightsAccessScopeId *types.Value `json:"NetworkInsightsAccessScopeId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-entitytype.html#cfn-frauddetector-entitytype-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsaccessscopeanalysis.html#cfn-ec2-networkinsightsaccessscopeanalysis-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -47,14 +42,14 @@ type EntityType struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *EntityType) AWSCloudFormationType() string { - return "AWS::FraudDetector::EntityType" +func (r *NetworkInsightsAccessScopeAnalysis) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAccessScopeAnalysis" } // 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 (r EntityType) MarshalJSON() ([]byte, error) { - type Properties EntityType +func (r NetworkInsightsAccessScopeAnalysis) MarshalJSON() ([]byte, error) { + type Properties NetworkInsightsAccessScopeAnalysis return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +71,8 @@ func (r EntityType) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EntityType) UnmarshalJSON(b []byte) error { - type Properties EntityType +func (r *NetworkInsightsAccessScopeAnalysis) UnmarshalJSON(b []byte) error { + type Properties NetworkInsightsAccessScopeAnalysis res := &struct { Type string Properties *Properties @@ -98,7 +93,7 @@ func (r *EntityType) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = EntityType(*res.Properties) + *r = NetworkInsightsAccessScopeAnalysis(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis.go index fd88aa6ddb..739d312a03 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html type NetworkInsightsAnalysis struct { + // AdditionalAccounts AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-additionalaccounts + AdditionalAccounts *types.Value `json:"AdditionalAccounts,omitempty"` + // FilterInArns AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-filterinarns diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsdtsettings.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_additionaldetail.go similarity index 53% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsdtsettings.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_additionaldetail.go index 55f5f06bef..3869b5782a 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsdtsettings.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_additionaldetail.go @@ -1,4 +1,4 @@ -package medialive +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_DvbSdtSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.DvbSdtSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsdtsettings.html -type Channel_DvbSdtSettings struct { +// NetworkInsightsAnalysis_AdditionalDetail AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html +type NetworkInsightsAnalysis_AdditionalDetail struct { - // OutputSdt AWS CloudFormation Property + // AdditionalDetailType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsdtsettings.html#cfn-medialive-channel-dvbsdtsettings-outputsdt - OutputSdt *types.Value `json:"OutputSdt,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-additionaldetailtype + AdditionalDetailType *types.Value `json:"AdditionalDetailType,omitempty"` - // RepInterval AWS CloudFormation Property + // Component AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsdtsettings.html#cfn-medialive-channel-dvbsdtsettings-repinterval - RepInterval *types.Value `json:"RepInterval,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-component + Component *NetworkInsightsAnalysis_AnalysisComponent `json:"Component,omitempty"` - // ServiceName AWS CloudFormation Property + // LoadBalancers AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsdtsettings.html#cfn-medialive-channel-dvbsdtsettings-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-loadbalancers + LoadBalancers []NetworkInsightsAnalysis_AnalysisComponent `json:"LoadBalancers,omitempty"` - // ServiceProviderName AWS CloudFormation Property + // ServiceName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsdtsettings.html#cfn-medialive-channel-dvbsdtsettings-serviceprovidername - ServiceProviderName *types.Value `json:"ServiceProviderName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-additionaldetail.html#cfn-ec2-networkinsightsanalysis-additionaldetail-servicename + ServiceName *types.Value `json:"ServiceName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Channel_DvbSdtSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_DvbSdtSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.DvbSdtSettings" +func (r *NetworkInsightsAnalysis_AdditionalDetail) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_analysisroutetableroute.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_analysisroutetableroute.go index 6d7f79494a..0e2c1ef292 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_analysisroutetableroute.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_analysisroutetableroute.go @@ -25,6 +25,11 @@ type NetworkInsightsAnalysis_AnalysisRouteTableRoute struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-origin Origin *types.Value `json:"Origin,omitempty"` + // State AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-state + State *types.Value `json:"State,omitempty"` + // TransitGatewayId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-analysisroutetableroute.html#cfn-ec2-networkinsightsanalysis-analysisroutetableroute-transitgatewayid diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_explanation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_explanation.go index c97201d6e5..f2ccd180e0 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_explanation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_explanation.go @@ -55,6 +55,16 @@ type NetworkInsightsAnalysis_Explanation struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-component Component *NetworkInsightsAnalysis_AnalysisComponent `json:"Component,omitempty"` + // ComponentAccount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-componentaccount + ComponentAccount *types.Value `json:"ComponentAccount,omitempty"` + + // ComponentRegion AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-componentregion + ComponentRegion *types.Value `json:"ComponentRegion,omitempty"` + // CustomerGateway AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-customergateway @@ -210,6 +220,26 @@ type NetworkInsightsAnalysis_Explanation struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-subnetroutetable SubnetRouteTable *NetworkInsightsAnalysis_AnalysisComponent `json:"SubnetRouteTable,omitempty"` + // TransitGateway AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgateway + TransitGateway *NetworkInsightsAnalysis_AnalysisComponent `json:"TransitGateway,omitempty"` + + // TransitGatewayAttachment AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayattachment + TransitGatewayAttachment *NetworkInsightsAnalysis_AnalysisComponent `json:"TransitGatewayAttachment,omitempty"` + + // TransitGatewayRouteTable AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayroutetable + TransitGatewayRouteTable *NetworkInsightsAnalysis_AnalysisComponent `json:"TransitGatewayRouteTable,omitempty"` + + // TransitGatewayRouteTableRoute AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-transitgatewayroutetableroute + TransitGatewayRouteTableRoute *NetworkInsightsAnalysis_TransitGatewayRouteTableRoute `json:"TransitGatewayRouteTableRoute,omitempty"` + // Vpc AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-explanation.html#cfn-ec2-networkinsightsanalysis-explanation-vpc diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_pathcomponent.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_pathcomponent.go index 9740afb8ff..67a099ad25 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_pathcomponent.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_pathcomponent.go @@ -15,6 +15,11 @@ type NetworkInsightsAnalysis_PathComponent struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-aclrule AclRule *NetworkInsightsAnalysis_AnalysisAclRule `json:"AclRule,omitempty"` + // AdditionalDetails AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-additionaldetails + AdditionalDetails []NetworkInsightsAnalysis_AdditionalDetail `json:"AdditionalDetails,omitempty"` + // Component AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-component @@ -25,6 +30,16 @@ type NetworkInsightsAnalysis_PathComponent struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-destinationvpc DestinationVpc *NetworkInsightsAnalysis_AnalysisComponent `json:"DestinationVpc,omitempty"` + // ElasticLoadBalancerListener AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-elasticloadbalancerlistener + ElasticLoadBalancerListener *NetworkInsightsAnalysis_AnalysisComponent `json:"ElasticLoadBalancerListener,omitempty"` + + // Explanations AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-explanations + Explanations []NetworkInsightsAnalysis_Explanation `json:"Explanations,omitempty"` + // InboundHeader AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-inboundheader @@ -50,6 +65,11 @@ type NetworkInsightsAnalysis_PathComponent struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-sequencenumber SequenceNumber *types.Value `json:"SequenceNumber,omitempty"` + // ServiceName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-servicename + ServiceName *types.Value `json:"ServiceName,omitempty"` + // SourceVpc AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-sourcevpc @@ -60,6 +80,16 @@ type NetworkInsightsAnalysis_PathComponent struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-subnet Subnet *NetworkInsightsAnalysis_AnalysisComponent `json:"Subnet,omitempty"` + // TransitGateway AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-transitgateway + TransitGateway *NetworkInsightsAnalysis_AnalysisComponent `json:"TransitGateway,omitempty"` + + // TransitGatewayRouteTableRoute AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-transitgatewayroutetableroute + TransitGatewayRouteTableRoute *NetworkInsightsAnalysis_TransitGatewayRouteTableRoute `json:"TransitGatewayRouteTableRoute,omitempty"` + // Vpc AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-pathcomponent.html#cfn-ec2-networkinsightsanalysis-pathcomponent-vpc diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_transitgatewayroutetableroute.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_transitgatewayroutetableroute.go new file mode 100644 index 0000000000..cf8b4672d2 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightsanalysis_transitgatewayroutetableroute.go @@ -0,0 +1,67 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// NetworkInsightsAnalysis_TransitGatewayRouteTableRoute AWS CloudFormation Resource (AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html +type NetworkInsightsAnalysis_TransitGatewayRouteTableRoute struct { + + // AttachmentId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-attachmentid + AttachmentId *types.Value `json:"AttachmentId,omitempty"` + + // DestinationCidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-destinationcidr + DestinationCidr *types.Value `json:"DestinationCidr,omitempty"` + + // PrefixListId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-prefixlistid + PrefixListId *types.Value `json:"PrefixListId,omitempty"` + + // ResourceId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourceid + ResourceId *types.Value `json:"ResourceId,omitempty"` + + // ResourceType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-resourcetype + ResourceType *types.Value `json:"ResourceType,omitempty"` + + // RouteOrigin AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-routeorigin + RouteOrigin *types.Value `json:"RouteOrigin,omitempty"` + + // State AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightsanalysis-transitgatewayroutetableroute.html#cfn-ec2-networkinsightsanalysis-transitgatewayroutetableroute-state + State *types.Value `json:"State,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 *NetworkInsightsAnalysis_TransitGatewayRouteTableRoute) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" +} diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath.go index a8737bebea..0830f7cdc6 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath.go @@ -16,7 +16,7 @@ import ( type NetworkInsightsPath struct { // Destination AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-destination Destination *types.Value `json:"Destination,omitempty"` @@ -30,6 +30,16 @@ type NetworkInsightsPath struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-destinationport DestinationPort *types.Value `json:"DestinationPort,omitempty"` + // FilterAtDestination AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-filteratdestination + FilterAtDestination *NetworkInsightsPath_PathFilter `json:"FilterAtDestination,omitempty"` + + // FilterAtSource AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-filteratsource + FilterAtSource *NetworkInsightsPath_PathFilter `json:"FilterAtSource,omitempty"` + // Protocol AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html#cfn-ec2-networkinsightspath-protocol diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portrange.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_filterportrange.go similarity index 63% rename from pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portrange.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_filterportrange.go index 8f46d001ba..cacbfa393e 100644 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portrange.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_filterportrange.go @@ -1,4 +1,4 @@ -package networkfirewall +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup_PortRange AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.PortRange) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-portrange.html -type RuleGroup_PortRange struct { +// NetworkInsightsPath_FilterPortRange AWS CloudFormation Resource (AWS::EC2::NetworkInsightsPath.FilterPortRange) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-filterportrange.html +type NetworkInsightsPath_FilterPortRange struct { // FromPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-portrange.html#cfn-networkfirewall-rulegroup-portrange-fromport - FromPort *types.Value `json:"FromPort"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-filterportrange.html#cfn-ec2-networkinsightspath-filterportrange-fromport + FromPort *types.Value `json:"FromPort,omitempty"` // ToPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-portrange.html#cfn-networkfirewall-rulegroup-portrange-toport - ToPort *types.Value `json:"ToPort"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-filterportrange.html#cfn-ec2-networkinsightspath-filterportrange-toport + ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type RuleGroup_PortRange struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup_PortRange) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.PortRange" +func (r *NetworkInsightsPath_FilterPortRange) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsPath.FilterPortRange" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archiveoutputsettings.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_pathfilter.go similarity index 55% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_archiveoutputsettings.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_pathfilter.go index 1fcb34320f..a95103c2b2 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archiveoutputsettings.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinsightspath_pathfilter.go @@ -1,4 +1,4 @@ -package medialive +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_ArchiveOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.ArchiveOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archiveoutputsettings.html -type Channel_ArchiveOutputSettings struct { +// NetworkInsightsPath_PathFilter AWS CloudFormation Resource (AWS::EC2::NetworkInsightsPath.PathFilter) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-pathfilter.html +type NetworkInsightsPath_PathFilter struct { - // ContainerSettings AWS CloudFormation Property + // DestinationAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archiveoutputsettings.html#cfn-medialive-channel-archiveoutputsettings-containersettings - ContainerSettings *Channel_ArchiveContainerSettings `json:"ContainerSettings,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-pathfilter.html#cfn-ec2-networkinsightspath-pathfilter-destinationaddress + DestinationAddress *types.Value `json:"DestinationAddress,omitempty"` - // Extension AWS CloudFormation Property + // DestinationPortRange AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archiveoutputsettings.html#cfn-medialive-channel-archiveoutputsettings-extension - Extension *types.Value `json:"Extension,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-pathfilter.html#cfn-ec2-networkinsightspath-pathfilter-destinationportrange + DestinationPortRange *NetworkInsightsPath_FilterPortRange `json:"DestinationPortRange,omitempty"` - // NameModifier AWS CloudFormation Property + // SourceAddress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archiveoutputsettings.html#cfn-medialive-channel-archiveoutputsettings-namemodifier - NameModifier *types.Value `json:"NameModifier,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-pathfilter.html#cfn-ec2-networkinsightspath-pathfilter-sourceaddress + SourceAddress *types.Value `json:"SourceAddress,omitempty"` + + // SourcePortRange AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinsightspath-pathfilter.html#cfn-ec2-networkinsightspath-pathfilter-sourceportrange + SourcePortRange *NetworkInsightsPath_FilterPortRange `json:"SourcePortRange,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +47,6 @@ type Channel_ArchiveOutputSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_ArchiveOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ArchiveOutputSettings" +func (r *NetworkInsightsPath_PathFilter) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInsightsPath.PathFilter" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface.go index 76c21062a4..efea425d1a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html type NetworkInterface struct { + // ConnectionTrackingSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-connectiontrackingspecification + ConnectionTrackingSpecification *NetworkInterface_ConnectionTrackingSpecification `json:"ConnectionTrackingSpecification,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-description @@ -30,6 +35,16 @@ type NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-interfacetype InterfaceType *types.Value `json:"InterfaceType,omitempty"` + // Ipv4PrefixCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv4prefixcount + Ipv4PrefixCount *types.Value `json:"Ipv4PrefixCount,omitempty"` + + // Ipv4Prefixes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv4prefixes + Ipv4Prefixes []NetworkInterface_Ipv4PrefixSpecification `json:"Ipv4Prefixes,omitempty"` + // Ipv6AddressCount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv6addresscount @@ -40,6 +55,16 @@ type NetworkInterface struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv6addresses Ipv6Addresses []NetworkInterface_InstanceIpv6Address `json:"Ipv6Addresses,omitempty"` + // Ipv6PrefixCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv6prefixcount + Ipv6PrefixCount *types.Value `json:"Ipv6PrefixCount,omitempty"` + + // Ipv6Prefixes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-ipv6prefixes + Ipv6Prefixes []NetworkInterface_Ipv6PrefixSpecification `json:"Ipv6Prefixes,omitempty"` + // PrivateIpAddress AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterface.html#cfn-ec2-networkinterface-privateipaddress diff --git a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate_domainvalidationoption.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_connectiontrackingspecification.go similarity index 53% rename from pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate_domainvalidationoption.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_connectiontrackingspecification.go index 9aff1cb87a..8dc2de5356 100644 --- a/pkg/goformation/cloudformation/certificatemanager/aws-certificatemanager-certificate_domainvalidationoption.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_connectiontrackingspecification.go @@ -1,4 +1,4 @@ -package certificatemanager +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Certificate_DomainValidationOption AWS CloudFormation Resource (AWS::CertificateManager::Certificate.DomainValidationOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html -type Certificate_DomainValidationOption struct { +// NetworkInterface_ConnectionTrackingSpecification AWS CloudFormation Resource (AWS::EC2::NetworkInterface.ConnectionTrackingSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-connectiontrackingspecification.html +type NetworkInterface_ConnectionTrackingSpecification struct { - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoptions-domainname - DomainName *types.Value `json:"DomainName,omitempty"` + // TcpEstablishedTimeout AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-connectiontrackingspecification.html#cfn-ec2-networkinterface-connectiontrackingspecification-tcpestablishedtimeout + TcpEstablishedTimeout *types.Value `json:"TcpEstablishedTimeout,omitempty"` - // HostedZoneId AWS CloudFormation Property + // UdpStreamTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-hostedzoneid - HostedZoneId *types.Value `json:"HostedZoneId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-connectiontrackingspecification.html#cfn-ec2-networkinterface-connectiontrackingspecification-udpstreamtimeout + UdpStreamTimeout *types.Value `json:"UdpStreamTimeout,omitempty"` - // ValidationDomain AWS CloudFormation Property + // UdpTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-certificate-domainvalidationoption.html#cfn-certificatemanager-certificate-domainvalidationoption-validationdomain - ValidationDomain *types.Value `json:"ValidationDomain,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-connectiontrackingspecification.html#cfn-ec2-networkinterface-connectiontrackingspecification-udptimeout + UdpTimeout *types.Value `json:"UdpTimeout,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Certificate_DomainValidationOption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Certificate_DomainValidationOption) AWSCloudFormationType() string { - return "AWS::CertificateManager::Certificate.DomainValidationOption" +func (r *NetworkInterface_ConnectionTrackingSpecification) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInterface.ConnectionTrackingSpecification" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextsdstrust.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv4prefixspecification.go similarity index 64% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextsdstrust.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv4prefixspecification.go index 250d772fd0..e6004bff75 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_tlsvalidationcontextsdstrust.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv4prefixspecification.go @@ -1,4 +1,4 @@ -package appmesh +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_TlsValidationContextSdsTrust AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextsdstrust.html -type VirtualNode_TlsValidationContextSdsTrust struct { +// NetworkInterface_Ipv4PrefixSpecification AWS CloudFormation Resource (AWS::EC2::NetworkInterface.Ipv4PrefixSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-ipv4prefixspecification.html +type NetworkInterface_Ipv4PrefixSpecification struct { - // SecretName AWS CloudFormation Property + // Ipv4Prefix AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-tlsvalidationcontextsdstrust.html#cfn-appmesh-virtualnode-tlsvalidationcontextsdstrust-secretname - SecretName *types.Value `json:"SecretName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-ipv4prefixspecification.html#cfn-ec2-networkinterface-ipv4prefixspecification-ipv4prefix + Ipv4Prefix *types.Value `json:"Ipv4Prefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type VirtualNode_TlsValidationContextSdsTrust struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_TlsValidationContextSdsTrust) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" +func (r *NetworkInterface_Ipv4PrefixSpecification) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInterface.Ipv4PrefixSpecification" } diff --git a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contenttypeoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv6prefixspecification.go similarity index 64% rename from pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contenttypeoptions.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv6prefixspecification.go index 21452c6a2e..e37081a34e 100644 --- a/pkg/goformation/cloudformation/cloudfront/aws-cloudfront-responseheaderspolicy_contenttypeoptions.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterface_ipv6prefixspecification.go @@ -1,4 +1,4 @@ -package cloudfront +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ResponseHeadersPolicy_ContentTypeOptions AWS CloudFormation Resource (AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contenttypeoptions.html -type ResponseHeadersPolicy_ContentTypeOptions struct { +// NetworkInterface_Ipv6PrefixSpecification AWS CloudFormation Resource (AWS::EC2::NetworkInterface.Ipv6PrefixSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-ipv6prefixspecification.html +type NetworkInterface_Ipv6PrefixSpecification struct { - // Override AWS CloudFormation Property + // Ipv6Prefix AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contenttypeoptions.html#cfn-cloudfront-responseheaderspolicy-contenttypeoptions-override - Override *types.Value `json:"Override"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-ipv6prefixspecification.html#cfn-ec2-networkinterface-ipv6prefixspecification-ipv6prefix + Ipv6Prefix *types.Value `json:"Ipv6Prefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type ResponseHeadersPolicy_ContentTypeOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ResponseHeadersPolicy_ContentTypeOptions) AWSCloudFormationType() string { - return "AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions" +func (r *NetworkInterface_Ipv6PrefixSpecification) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInterface.Ipv6PrefixSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment.go index 07e9c1a135..c276d66a48 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment.go @@ -11,27 +11,32 @@ import ( ) // NetworkInterfaceAttachment AWS CloudFormation Resource (AWS::EC2::NetworkInterfaceAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html type NetworkInterfaceAttachment struct { // DeleteOnTermination AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deleteonterm + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-deleteontermination DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` // DeviceIndex AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deviceindex + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-deviceindex DeviceIndex *types.Value `json:"DeviceIndex,omitempty"` + // EnaSrdSpecification AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-enasrdspecification + EnaSrdSpecification *NetworkInterfaceAttachment_EnaSrdSpecification `json:"EnaSrdSpecification,omitempty"` + // InstanceId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` // NetworkInterfaceId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-networkinterfaceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfaceattachment.html#cfn-ec2-networkinterfaceattachment-networkinterfaceid NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_encryptionatrest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdspecification.go similarity index 56% rename from pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_encryptionatrest.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdspecification.go index 94c01319c4..3fc8b7199e 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_encryptionatrest.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdspecification.go @@ -1,4 +1,4 @@ -package glue +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataCatalogEncryptionSettings_EncryptionAtRest AWS CloudFormation Resource (AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-encryptionatrest.html -type DataCatalogEncryptionSettings_EncryptionAtRest struct { +// NetworkInterfaceAttachment_EnaSrdSpecification AWS CloudFormation Resource (AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdspecification.html +type NetworkInterfaceAttachment_EnaSrdSpecification struct { - // CatalogEncryptionMode AWS CloudFormation Property + // EnaSrdEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-encryptionatrest.html#cfn-glue-datacatalogencryptionsettings-encryptionatrest-catalogencryptionmode - CatalogEncryptionMode *types.Value `json:"CatalogEncryptionMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdspecification.html#cfn-ec2-networkinterfaceattachment-enasrdspecification-enasrdenabled + EnaSrdEnabled *types.Value `json:"EnaSrdEnabled,omitempty"` - // SseAwsKmsKeyId AWS CloudFormation Property + // EnaSrdUdpSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-encryptionatrest.html#cfn-glue-datacatalogencryptionsettings-encryptionatrest-sseawskmskeyid - SseAwsKmsKeyId *types.Value `json:"SseAwsKmsKeyId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdspecification.html#cfn-ec2-networkinterfaceattachment-enasrdspecification-enasrdudpspecification + EnaSrdUdpSpecification *NetworkInterfaceAttachment_EnaSrdUdpSpecification `json:"EnaSrdUdpSpecification,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type DataCatalogEncryptionSettings_EncryptionAtRest struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataCatalogEncryptionSettings_EncryptionAtRest) AWSCloudFormationType() string { - return "AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest" +func (r *NetworkInterfaceAttachment_EnaSrdSpecification) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification" } diff --git a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfiguration.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdudpspecification.go similarity index 63% rename from pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfiguration.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdudpspecification.go index ee1bd1f012..d5ff4d2297 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfiguration.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkinterfaceattachment_enasrdudpspecification.go @@ -1,4 +1,4 @@ -package iot +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AccountAuditConfiguration_AuditCheckConfiguration AWS CloudFormation Resource (AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfiguration.html -type AccountAuditConfiguration_AuditCheckConfiguration struct { +// NetworkInterfaceAttachment_EnaSrdUdpSpecification AWS CloudFormation Resource (AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdudpspecification.html +type NetworkInterfaceAttachment_EnaSrdUdpSpecification struct { - // Enabled AWS CloudFormation Property + // EnaSrdUdpEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfiguration.html#cfn-iot-accountauditconfiguration-auditcheckconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdudpspecification.html#cfn-ec2-networkinterfaceattachment-enasrdudpspecification-enasrdudpenabled + EnaSrdUdpEnabled *types.Value `json:"EnaSrdUdpEnabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type AccountAuditConfiguration_AuditCheckConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AccountAuditConfiguration_AuditCheckConfiguration) AWSCloudFormationType() string { - return "AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" +func (r *NetworkInterfaceAttachment_EnaSrdUdpSpecification) AWSCloudFormationType() string { + return "AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification" } diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert.go b/pkg/goformation/cloudformation/ec2/aws-ec2-networkperformancemetricsubscription.go similarity index 70% rename from pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-networkperformancemetricsubscription.go index 6c89b7d6a2..7c1b92d538 100644 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-networkperformancemetricsubscription.go @@ -1,4 +1,4 @@ -package lookoutmetrics +package ec2 import ( "bytes" @@ -10,34 +10,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Alert AWS CloudFormation Resource (AWS::LookoutMetrics::Alert) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html -type Alert struct { +// NetworkPerformanceMetricSubscription AWS CloudFormation Resource (AWS::EC2::NetworkPerformanceMetricSubscription) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html +type NetworkPerformanceMetricSubscription struct { - // Action AWS CloudFormation Property + // Destination AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-action - Action *Alert_Action `json:"Action,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-destination + Destination *types.Value `json:"Destination,omitempty"` - // AlertDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertdescription - AlertDescription *types.Value `json:"AlertDescription,omitempty"` - - // AlertName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertname - AlertName *types.Value `json:"AlertName,omitempty"` + // Metric AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-metric + Metric *types.Value `json:"Metric,omitempty"` - // AlertSensitivityThreshold AWS CloudFormation Property + // Source AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertsensitivitythreshold - AlertSensitivityThreshold *types.Value `json:"AlertSensitivityThreshold"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-source + Source *types.Value `json:"Source,omitempty"` - // AnomalyDetectorArn AWS CloudFormation Property + // Statistic AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-anomalydetectorarn - AnomalyDetectorArn *types.Value `json:"AnomalyDetectorArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-statistic + Statistic *types.Value `json:"Statistic,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -56,14 +51,14 @@ type Alert struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Alert) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::Alert" +func (r *NetworkPerformanceMetricSubscription) AWSCloudFormationType() string { + return "AWS::EC2::NetworkPerformanceMetricSubscription" } // 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 (r Alert) MarshalJSON() ([]byte, error) { - type Properties Alert +func (r NetworkPerformanceMetricSubscription) MarshalJSON() ([]byte, error) { + type Properties NetworkPerformanceMetricSubscription return json.Marshal(&struct { Type string Properties Properties @@ -85,8 +80,8 @@ func (r Alert) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Alert) UnmarshalJSON(b []byte) error { - type Properties Alert +func (r *NetworkPerformanceMetricSubscription) UnmarshalJSON(b []byte) error { + type Properties NetworkPerformanceMetricSubscription res := &struct { Type string Properties *Properties @@ -107,7 +102,7 @@ func (r *Alert) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Alert(*res.Properties) + *r = NetworkPerformanceMetricSubscription(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-placementgroup.go b/pkg/goformation/cloudformation/ec2/aws-ec2-placementgroup.go index 7d84d9c9b6..def841a18b 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-placementgroup.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-placementgroup.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -14,11 +15,26 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html type PlacementGroup struct { + // PartitionCount AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-partitioncount + PartitionCount *types.Value `json:"PartitionCount,omitempty"` + + // SpreadLevel AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-spreadlevel + SpreadLevel *types.Value `json:"SpreadLevel,omitempty"` + // Strategy AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-strategy Strategy *types.Value `json:"Strategy,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-prefixlist.go b/pkg/goformation/cloudformation/ec2/aws-ec2-prefixlist.go index b120ef8473..b71a7fab7c 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-prefixlist.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-prefixlist.go @@ -26,9 +26,9 @@ type PrefixList struct { Entries []PrefixList_Entry `json:"Entries,omitempty"` // MaxEntries AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html#cfn-ec2-prefixlist-maxentries - MaxEntries *types.Value `json:"MaxEntries"` + MaxEntries *types.Value `json:"MaxEntries,omitempty"` // PrefixListName AWS CloudFormation Property // Required: true diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-route.go b/pkg/goformation/cloudformation/ec2/aws-ec2-route.go index bdb4b105a0..718b10459a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-route.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-route.go @@ -19,6 +19,11 @@ type Route struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-carriergatewayid CarrierGatewayId *types.Value `json:"CarrierGatewayId,omitempty"` + // CoreNetworkArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-corenetworkarn + CoreNetworkArn *types.Value `json:"CoreNetworkArn,omitempty"` + // DestinationCidrBlock AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationcidrblock @@ -29,6 +34,11 @@ type Route struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationipv6cidrblock DestinationIpv6CidrBlock *types.Value `json:"DestinationIpv6CidrBlock,omitempty"` + // DestinationPrefixListId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationprefixlistid + DestinationPrefixListId *types.Value `json:"DestinationPrefixListId,omitempty"` + // EgressOnlyInternetGatewayId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-egressonlyinternetgatewayid diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup.go index a72cdeae0f..0d70c8cac5 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup.go @@ -12,37 +12,37 @@ import ( ) // SecurityGroup AWS CloudFormation Resource (AWS::EC2::SecurityGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html type SecurityGroup struct { // GroupDescription AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-groupdescription + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-groupdescription GroupDescription *types.Value `json:"GroupDescription,omitempty"` // GroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-groupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-groupname GroupName *types.Value `json:"GroupName,omitempty"` // SecurityGroupEgress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-securitygroupegress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-securitygroupegress SecurityGroupEgress []SecurityGroup_Egress `json:"SecurityGroupEgress,omitempty"` // SecurityGroupIngress AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-securitygroupingress + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-securitygroupingress SecurityGroupIngress []SecurityGroup_Ingress `json:"SecurityGroupIngress,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // VpcId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html#cfn-ec2-securitygroup-vpcid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.html#cfn-ec2-securitygroup-vpcid VpcId *types.Value `json:"VpcId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_egress.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_egress.go index 016516d1e0..4264ce46f0 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_egress.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_egress.go @@ -7,47 +7,47 @@ import ( ) // SecurityGroup_Egress AWS CloudFormation Resource (AWS::EC2::SecurityGroup.Egress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html type SecurityGroup_Egress struct { // CidrIp AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-cidrip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-cidrip CidrIp *types.Value `json:"CidrIp,omitempty"` // CidrIpv6 AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-cidripv6 + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-cidripv6 CidrIpv6 *types.Value `json:"CidrIpv6,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-description Description *types.Value `json:"Description,omitempty"` // DestinationPrefixListId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-destinationprefixlistid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-destinationprefixlistid DestinationPrefixListId *types.Value `json:"DestinationPrefixListId,omitempty"` // DestinationSecurityGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-destsecgroupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-destinationsecuritygroupid DestinationSecurityGroupId *types.Value `json:"DestinationSecurityGroupId,omitempty"` // FromPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-fromport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-fromport FromPort *types.Value `json:"FromPort,omitempty"` // IpProtocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-ipprotocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-ipprotocol IpProtocol *types.Value `json:"IpProtocol,omitempty"` // ToPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-toport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-egress.html#cfn-ec2-securitygroup-egress-toport ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_ingress.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_ingress.go index 337b747cce..5110c99cda 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_ingress.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroup_ingress.go @@ -7,57 +7,57 @@ import ( ) // SecurityGroup_Ingress AWS CloudFormation Resource (AWS::EC2::SecurityGroup.Ingress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html type SecurityGroup_Ingress struct { // CidrIp AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-cidrip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-cidrip CidrIp *types.Value `json:"CidrIp,omitempty"` // CidrIpv6 AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-cidripv6 + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-cidripv6 CidrIpv6 *types.Value `json:"CidrIpv6,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-description Description *types.Value `json:"Description,omitempty"` // FromPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-fromport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-fromport FromPort *types.Value `json:"FromPort,omitempty"` // IpProtocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-ipprotocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-ipprotocol IpProtocol *types.Value `json:"IpProtocol,omitempty"` // SourcePrefixListId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-securitygroup-ingress-sourceprefixlistid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-sourceprefixlistid SourcePrefixListId *types.Value `json:"SourcePrefixListId,omitempty"` // SourceSecurityGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-sourcesecuritygroupid SourceSecurityGroupId *types.Value `json:"SourceSecurityGroupId,omitempty"` // SourceSecurityGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-sourcesecuritygroupname SourceSecurityGroupName *types.Value `json:"SourceSecurityGroupName,omitempty"` // SourceSecurityGroupOwnerId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupownerid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-sourcesecuritygroupownerid SourceSecurityGroupOwnerId *types.Value `json:"SourceSecurityGroupOwnerId,omitempty"` // ToPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-toport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroup-ingress.html#cfn-ec2-securitygroup-ingress-toport ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupegress.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupegress.go index c1cb6cad4c..9236fa9386 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupegress.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupegress.go @@ -11,52 +11,52 @@ import ( ) // SecurityGroupEgress AWS CloudFormation Resource (AWS::EC2::SecurityGroupEgress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html type SecurityGroupEgress struct { // CidrIp AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-cidrip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-cidrip CidrIp *types.Value `json:"CidrIp,omitempty"` // CidrIpv6 AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-cidripv6 + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-cidripv6 CidrIpv6 *types.Value `json:"CidrIpv6,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-description Description *types.Value `json:"Description,omitempty"` // DestinationPrefixListId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-destinationprefixlistid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-destinationprefixlistid DestinationPrefixListId *types.Value `json:"DestinationPrefixListId,omitempty"` // DestinationSecurityGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-destinationsecuritygroupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-destinationsecuritygroupid DestinationSecurityGroupId *types.Value `json:"DestinationSecurityGroupId,omitempty"` // FromPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-fromport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-fromport FromPort *types.Value `json:"FromPort,omitempty"` // GroupId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-groupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-groupid GroupId *types.Value `json:"GroupId,omitempty"` // IpProtocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-ipprotocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-ipprotocol IpProtocol *types.Value `json:"IpProtocol,omitempty"` // ToPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html#cfn-ec2-securitygroupegress-toport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupegress.html#cfn-ec2-securitygroupegress-toport ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupingress.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupingress.go index 94f9283afb..85b4a1a274 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupingress.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupingress.go @@ -11,67 +11,67 @@ import ( ) // SecurityGroupIngress AWS CloudFormation Resource (AWS::EC2::SecurityGroupIngress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html type SecurityGroupIngress struct { // CidrIp AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-cidrip + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-cidrip CidrIp *types.Value `json:"CidrIp,omitempty"` // CidrIpv6 AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-cidripv6 + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-cidripv6 CidrIpv6 *types.Value `json:"CidrIpv6,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-description Description *types.Value `json:"Description,omitempty"` // FromPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-fromport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-fromport FromPort *types.Value `json:"FromPort,omitempty"` // GroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-groupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-groupid GroupId *types.Value `json:"GroupId,omitempty"` // GroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-groupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-groupname GroupName *types.Value `json:"GroupName,omitempty"` // IpProtocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-ipprotocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-ipprotocol IpProtocol *types.Value `json:"IpProtocol,omitempty"` // SourcePrefixListId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-securitygroupingress-sourceprefixlistid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-sourceprefixlistid SourcePrefixListId *types.Value `json:"SourcePrefixListId,omitempty"` // SourceSecurityGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-sourcesecuritygroupid SourceSecurityGroupId *types.Value `json:"SourceSecurityGroupId,omitempty"` // SourceSecurityGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-sourcesecuritygroupname SourceSecurityGroupName *types.Value `json:"SourceSecurityGroupName,omitempty"` // SourceSecurityGroupOwnerId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-sourcesecuritygroupownerid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-sourcesecuritygroupownerid SourceSecurityGroupOwnerId *types.Value `json:"SourceSecurityGroupOwnerId,omitempty"` // ToPort AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-ingress.html#cfn-ec2-security-group-ingress-toport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#cfn-ec2-securitygroupingress-toport ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/fms/aws-fms-notificationchannel.go b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupvpcassociation.go similarity index 78% rename from pkg/goformation/cloudformation/fms/aws-fms-notificationchannel.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupvpcassociation.go index 1192738bab..b36e3cc53d 100644 --- a/pkg/goformation/cloudformation/fms/aws-fms-notificationchannel.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-securitygroupvpcassociation.go @@ -1,4 +1,4 @@ -package fms +package ec2 import ( "bytes" @@ -10,19 +10,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// NotificationChannel AWS CloudFormation Resource (AWS::FMS::NotificationChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-notificationchannel.html -type NotificationChannel struct { +// SecurityGroupVpcAssociation AWS CloudFormation Resource (AWS::EC2::SecurityGroupVpcAssociation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html +type SecurityGroupVpcAssociation struct { - // SnsRoleName AWS CloudFormation Property + // GroupId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-notificationchannel.html#cfn-fms-notificationchannel-snsrolename - SnsRoleName *types.Value `json:"SnsRoleName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-groupid + GroupId *types.Value `json:"GroupId,omitempty"` - // SnsTopicArn AWS CloudFormation Property + // VpcId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-notificationchannel.html#cfn-fms-notificationchannel-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#cfn-ec2-securitygroupvpcassociation-vpcid + VpcId *types.Value `json:"VpcId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -41,14 +41,14 @@ type NotificationChannel struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *NotificationChannel) AWSCloudFormationType() string { - return "AWS::FMS::NotificationChannel" +func (r *SecurityGroupVpcAssociation) AWSCloudFormationType() string { + return "AWS::EC2::SecurityGroupVpcAssociation" } // 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 (r NotificationChannel) MarshalJSON() ([]byte, error) { - type Properties NotificationChannel +func (r SecurityGroupVpcAssociation) MarshalJSON() ([]byte, error) { + type Properties SecurityGroupVpcAssociation return json.Marshal(&struct { Type string Properties Properties @@ -70,8 +70,8 @@ func (r NotificationChannel) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NotificationChannel) UnmarshalJSON(b []byte) error { - type Properties NotificationChannel +func (r *SecurityGroupVpcAssociation) UnmarshalJSON(b []byte) error { + type Properties SecurityGroupVpcAssociation res := &struct { Type string Properties *Properties @@ -92,7 +92,7 @@ func (r *NotificationChannel) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = NotificationChannel(*res.Properties) + *r = SecurityGroupVpcAssociation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/rekognition/aws-rekognition-project.go b/pkg/goformation/cloudformation/ec2/aws-ec2-snapshotblockpublicaccess.go similarity index 81% rename from pkg/goformation/cloudformation/rekognition/aws-rekognition-project.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-snapshotblockpublicaccess.go index 4bb07ed5f2..bfc962dc2a 100644 --- a/pkg/goformation/cloudformation/rekognition/aws-rekognition-project.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-snapshotblockpublicaccess.go @@ -1,4 +1,4 @@ -package rekognition +package ec2 import ( "bytes" @@ -10,14 +10,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Project AWS CloudFormation Resource (AWS::Rekognition::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-project.html -type Project struct { +// SnapshotBlockPublicAccess AWS CloudFormation Resource (AWS::EC2::SnapshotBlockPublicAccess) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-snapshotblockpublicaccess.html +type SnapshotBlockPublicAccess struct { - // ProjectName AWS CloudFormation Property + // State AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-project.html#cfn-rekognition-project-projectname - ProjectName *types.Value `json:"ProjectName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-snapshotblockpublicaccess.html#cfn-ec2-snapshotblockpublicaccess-state + State *types.Value `json:"State,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -36,14 +36,14 @@ type Project struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Project) AWSCloudFormationType() string { - return "AWS::Rekognition::Project" +func (r *SnapshotBlockPublicAccess) AWSCloudFormationType() string { + return "AWS::EC2::SnapshotBlockPublicAccess" } // 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project +func (r SnapshotBlockPublicAccess) MarshalJSON() ([]byte, error) { + type Properties SnapshotBlockPublicAccess return json.Marshal(&struct { Type string Properties Properties @@ -65,8 +65,8 @@ func (r Project) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project +func (r *SnapshotBlockPublicAccess) UnmarshalJSON(b []byte) error { + type Properties SnapshotBlockPublicAccess res := &struct { Type string Properties *Properties @@ -87,7 +87,7 @@ func (r *Project) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Project(*res.Properties) + *r = SnapshotBlockPublicAccess(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_incrementalpullconfig.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_baselineperformancefactorsrequest.go similarity index 64% rename from pkg/goformation/cloudformation/appflow/aws-appflow-flow_incrementalpullconfig.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_baselineperformancefactorsrequest.go index c6a1834500..d8501a2b60 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_incrementalpullconfig.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_baselineperformancefactorsrequest.go @@ -1,19 +1,17 @@ -package appflow +package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Flow_IncrementalPullConfig AWS CloudFormation Resource (AWS::AppFlow::Flow.IncrementalPullConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-incrementalpullconfig.html -type Flow_IncrementalPullConfig struct { +// SpotFleet_BaselinePerformanceFactorsRequest AWS CloudFormation Resource (AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-baselineperformancefactorsrequest.html +type SpotFleet_BaselinePerformanceFactorsRequest struct { - // DatetimeTypeFieldName AWS CloudFormation Property + // Cpu AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-incrementalpullconfig.html#cfn-appflow-flow-incrementalpullconfig-datetimetypefieldname - DatetimeTypeFieldName *types.Value `json:"DatetimeTypeFieldName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-baselineperformancefactorsrequest.html#cfn-ec2-spotfleet-baselineperformancefactorsrequest-cpu + Cpu *SpotFleet_CpuPerformanceFactorRequest `json:"Cpu,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type Flow_IncrementalPullConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Flow_IncrementalPullConfig) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.IncrementalPullConfig" +func (r *SpotFleet_BaselinePerformanceFactorsRequest) AWSCloudFormationType() string { + return "AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualservicespec.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_cpuperformancefactorrequest.go similarity index 63% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualservicespec.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_cpuperformancefactorrequest.go index 2454193345..f572d2cfe7 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualservice_virtualservicespec.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_cpuperformancefactorrequest.go @@ -1,17 +1,17 @@ -package appmesh +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualService_VirtualServiceSpec AWS CloudFormation Resource (AWS::AppMesh::VirtualService.VirtualServiceSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualservicespec.html -type VirtualService_VirtualServiceSpec struct { +// SpotFleet_CpuPerformanceFactorRequest AWS CloudFormation Resource (AWS::EC2::SpotFleet.CpuPerformanceFactorRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-cpuperformancefactorrequest.html +type SpotFleet_CpuPerformanceFactorRequest struct { - // Provider AWS CloudFormation Property + // References AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualservice-virtualservicespec.html#cfn-appmesh-virtualservice-virtualservicespec-provider - Provider *VirtualService_VirtualServiceProvider `json:"Provider,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-cpuperformancefactorrequest.html#cfn-ec2-spotfleet-cpuperformancefactorrequest-references + References []SpotFleet_PerformanceFactorReferenceRequest `json:"References,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type VirtualService_VirtualServiceSpec struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualService_VirtualServiceSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualService.VirtualServiceSpec" +func (r *SpotFleet_CpuPerformanceFactorRequest) AWSCloudFormationType() string { + return "AWS::EC2::SpotFleet.CpuPerformanceFactorRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_instancerequirementsrequest.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_instancerequirementsrequest.go index 1d93050e46..97dfa7e700 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_instancerequirementsrequest.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_instancerequirementsrequest.go @@ -35,6 +35,11 @@ type SpotFleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-acceleratortypes AcceleratorTypes *types.Value `json:"AcceleratorTypes,omitempty"` + // AllowedInstanceTypes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-allowedinstancetypes + AllowedInstanceTypes *types.Value `json:"AllowedInstanceTypes,omitempty"` + // BareMetal AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-baremetal @@ -45,6 +50,11 @@ type SpotFleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-baselineebsbandwidthmbps BaselineEbsBandwidthMbps *SpotFleet_BaselineEbsBandwidthMbpsRequest `json:"BaselineEbsBandwidthMbps,omitempty"` + // BaselinePerformanceFactors AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-baselineperformancefactors + BaselinePerformanceFactors *SpotFleet_BaselinePerformanceFactorsRequest `json:"BaselinePerformanceFactors,omitempty"` + // BurstablePerformance AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-burstableperformance @@ -75,6 +85,11 @@ type SpotFleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-localstoragetypes LocalStorageTypes *types.Value `json:"LocalStorageTypes,omitempty"` + // MaxSpotPriceAsPercentageOfOptimalOnDemandPrice AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-maxspotpriceaspercentageofoptimalondemandprice + MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *types.Value `json:"MaxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty"` + // MemoryGiBPerVCpu AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-memorygibpervcpu @@ -85,6 +100,11 @@ type SpotFleet_InstanceRequirementsRequest struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-memorymib MemoryMiB *SpotFleet_MemoryMiBRequest `json:"MemoryMiB,omitempty"` + // NetworkBandwidthGbps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-networkbandwidthgbps + NetworkBandwidthGbps *SpotFleet_NetworkBandwidthGbpsRequest `json:"NetworkBandwidthGbps,omitempty"` + // NetworkInterfaceCount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instancerequirementsrequest.html#cfn-ec2-spotfleet-instancerequirementsrequest-networkinterfacecount diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_launchtemplateoverrides.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_launchtemplateoverrides.go index 3fe8d11008..02f76a1882 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_launchtemplateoverrides.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_launchtemplateoverrides.go @@ -25,6 +25,11 @@ type SpotFleet_LaunchTemplateOverrides struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-instancetype InstanceType *types.Value `json:"InstanceType,omitempty"` + // Priority AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-priority + Priority *types.Value `json:"Priority,omitempty"` + // SpotPrice AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-launchtemplateoverrides.html#cfn-ec2-spotfleet-launchtemplateoverrides-spotprice diff --git a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingsfilterlistitem.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_networkbandwidthgbpsrequest.go similarity index 61% rename from pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingsfilterlistitem.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_networkbandwidthgbpsrequest.go index 11fdb4f135..7c3da83440 100644 --- a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingsfilterlistitem.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_networkbandwidthgbpsrequest.go @@ -1,4 +1,4 @@ -package macie +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// FindingsFilter_FindingsFilterListItem AWS CloudFormation Resource (AWS::Macie::FindingsFilter.FindingsFilterListItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-findingsfilterlistitem.html -type FindingsFilter_FindingsFilterListItem struct { +// SpotFleet_NetworkBandwidthGbpsRequest AWS CloudFormation Resource (AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-networkbandwidthgbpsrequest.html +type SpotFleet_NetworkBandwidthGbpsRequest struct { - // Id AWS CloudFormation Property + // Max AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-findingsfilterlistitem.html#cfn-macie-findingsfilter-findingsfilterlistitem-id - Id *types.Value `json:"Id,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-networkbandwidthgbpsrequest.html#cfn-ec2-spotfleet-networkbandwidthgbpsrequest-max + Max *types.Value `json:"Max,omitempty"` - // Name AWS CloudFormation Property + // Min AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-findingsfilterlistitem.html#cfn-macie-findingsfilter-findingsfilterlistitem-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-networkbandwidthgbpsrequest.html#cfn-ec2-spotfleet-networkbandwidthgbpsrequest-min + Min *types.Value `json:"Min,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type FindingsFilter_FindingsFilterListItem struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *FindingsFilter_FindingsFilterListItem) AWSCloudFormationType() string { - return "AWS::Macie::FindingsFilter.FindingsFilterListItem" +func (r *SpotFleet_NetworkBandwidthGbpsRequest) AWSCloudFormationType() string { + return "AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_statisticsresource.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_performancefactorreferencerequest.go similarity index 64% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_statisticsresource.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_performancefactorreferencerequest.go index 250141f3c6..f2dc81be7a 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_statisticsresource.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_performancefactorreferencerequest.go @@ -1,4 +1,4 @@ -package sagemaker +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataQualityJobDefinition_StatisticsResource AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.StatisticsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-statisticsresource.html -type DataQualityJobDefinition_StatisticsResource struct { +// SpotFleet_PerformanceFactorReferenceRequest AWS CloudFormation Resource (AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-performancefactorreferencerequest.html +type SpotFleet_PerformanceFactorReferenceRequest struct { - // S3Uri AWS CloudFormation Property + // InstanceFamily AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-statisticsresource.html#cfn-sagemaker-dataqualityjobdefinition-statisticsresource-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-performancefactorreferencerequest.html#cfn-ec2-spotfleet-performancefactorreferencerequest-instancefamily + InstanceFamily *types.Value `json:"InstanceFamily,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type DataQualityJobDefinition_StatisticsResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataQualityJobDefinition_StatisticsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.StatisticsResource" +func (r *SpotFleet_PerformanceFactorReferenceRequest) AWSCloudFormationType() string { + return "AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_spotfleetrequestconfigdata.go b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_spotfleetrequestconfigdata.go index daee8782a8..f7092eeb3a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_spotfleetrequestconfigdata.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-spotfleet_spotfleetrequestconfigdata.go @@ -90,6 +90,11 @@ type SpotFleet_SpotFleetRequestConfigData struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html#cfn-ec2-spotfleet-spotfleetrequestconfigdata-spotprice SpotPrice *types.Value `json:"SpotPrice,omitempty"` + // TagSpecifications AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html#cfn-ec2-spotfleet-spotfleetrequestconfigdata-tagspecifications + TagSpecifications []SpotFleet_SpotFleetTagSpecification `json:"TagSpecifications,omitempty"` + // TargetCapacity AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata.html#cfn-ec2-spotfleet-spotfleetrequestconfigdata-targetcapacity diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-subnet.go b/pkg/goformation/cloudformation/ec2/aws-ec2-subnet.go index f78ba80717..fb29edfde5 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-subnet.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-subnet.go @@ -40,16 +40,41 @@ type Subnet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-enabledns64 EnableDns64 *types.Value `json:"EnableDns64,omitempty"` + // EnableLniAtDeviceIndex AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-enablelniatdeviceindex + EnableLniAtDeviceIndex *types.Value `json:"EnableLniAtDeviceIndex,omitempty"` + + // Ipv4IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv4ipampoolid + Ipv4IpamPoolId *types.Value `json:"Ipv4IpamPoolId,omitempty"` + + // Ipv4NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv4netmasklength + Ipv4NetmaskLength *types.Value `json:"Ipv4NetmaskLength,omitempty"` + // Ipv6CidrBlock AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6cidrblock Ipv6CidrBlock *types.Value `json:"Ipv6CidrBlock,omitempty"` + // Ipv6IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6ipampoolid + Ipv6IpamPoolId *types.Value `json:"Ipv6IpamPoolId,omitempty"` + // Ipv6Native AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6native Ipv6Native *types.Value `json:"Ipv6Native,omitempty"` + // Ipv6NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-ipv6netmasklength + Ipv6NetmaskLength *types.Value `json:"Ipv6NetmaskLength,omitempty"` + // MapPublicIpOnLaunch AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#cfn-ec2-subnet-mappubliciponlaunch diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-subnetcidrblock.go b/pkg/goformation/cloudformation/ec2/aws-ec2-subnetcidrblock.go index 0e522a47bb..0df5592314 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-subnetcidrblock.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-subnetcidrblock.go @@ -15,10 +15,20 @@ import ( type SubnetCidrBlock struct { // Ipv6CidrBlock AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6cidrblock Ipv6CidrBlock *types.Value `json:"Ipv6CidrBlock,omitempty"` + // Ipv6IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6ipampoolid + Ipv6IpamPoolId *types.Value `json:"Ipv6IpamPoolId,omitempty"` + + // Ipv6NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6netmasklength + Ipv6NetmaskLength *types.Value `json:"Ipv6NetmaskLength,omitempty"` + // SubnetId AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-subnetid diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-subnetnetworkaclassociation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-subnetnetworkaclassociation.go index 25225579f8..e8dfb880b2 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-subnetnetworkaclassociation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-subnetnetworkaclassociation.go @@ -11,17 +11,17 @@ import ( ) // SubnetNetworkAclAssociation AWS CloudFormation Resource (AWS::EC2::SubnetNetworkAclAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetnetworkaclassociation.html type SubnetNetworkAclAssociation struct { // NetworkAclId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.html#cfn-ec2-subnetnetworkaclassociation-networkaclid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetnetworkaclassociation.html#cfn-ec2-subnetnetworkaclassociation-networkaclid NetworkAclId *types.Value `json:"NetworkAclId,omitempty"` // SubnetId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet-network-acl-assoc.html#cfn-ec2-subnetnetworkaclassociation-associationid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetnetworkaclassociation.html#cfn-ec2-subnetnetworkaclassociation-subnetid SubnetId *types.Value `json:"SubnetId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrorfilterrule.go b/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrorfilterrule.go index 65e4f379ac..55dfe4d9c0 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrorfilterrule.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrorfilterrule.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -54,6 +55,11 @@ type TrafficMirrorFilterRule struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-sourceportrange SourcePortRange *TrafficMirrorFilterRule_TrafficMirrorPortRange `json:"SourcePortRange,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // TrafficDirection AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilterrule.html#cfn-ec2-trafficmirrorfilterrule-trafficdirection diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrortarget.go b/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrortarget.go index 78225618c2..ebbd24f604 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrortarget.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-trafficmirrortarget.go @@ -20,6 +20,11 @@ type TrafficMirrorTarget struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-description Description *types.Value `json:"Description,omitempty"` + // GatewayLoadBalancerEndpointId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-gatewayloadbalancerendpointid + GatewayLoadBalancerEndpointId *types.Value `json:"GatewayLoadBalancerEndpointId,omitempty"` + // NetworkInterfaceId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrortarget.html#cfn-ec2-trafficmirrortarget-networkinterfaceid diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgateway.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgateway.go index 9a857402e2..fe9b20e43e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgateway.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgateway.go @@ -60,6 +60,11 @@ type TransitGateway struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-propagationdefaultroutetableid PropagationDefaultRouteTableId *types.Value `json:"PropagationDefaultRouteTableId,omitempty"` + // SecurityGroupReferencingSupport AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-securitygroupreferencingsupport + SecurityGroupReferencingSupport *types.Value `json:"SecurityGroupReferencingSupport,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgateway.html#cfn-ec2-transitgateway-tags diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment.go index e6572a34c2..3f82a3f81e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.html type TransitGatewayAttachment struct { + // Options AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.html#cfn-ec2-transitgatewayattachment-options + Options *TransitGatewayAttachment_Options `json:"Options,omitempty"` + // SubnetIds AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.html#cfn-ec2-transitgatewayattachment-subnetids diff --git a/pkg/goformation/cloudformation/config/aws-config-configrule_scope.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment_options.go similarity index 51% rename from pkg/goformation/cloudformation/config/aws-config-configrule_scope.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment_options.go index 000c9f5aaf..0f4ac2b5b8 100644 --- a/pkg/goformation/cloudformation/config/aws-config-configrule_scope.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayattachment_options.go @@ -1,4 +1,4 @@ -package config +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ConfigRule_Scope AWS CloudFormation Resource (AWS::Config::ConfigRule.Scope) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html -type ConfigRule_Scope struct { +// TransitGatewayAttachment_Options AWS CloudFormation Resource (AWS::EC2::TransitGatewayAttachment.Options) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayattachment-options.html +type TransitGatewayAttachment_Options struct { - // ComplianceResourceId AWS CloudFormation Property + // ApplianceModeSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-complianceresourceid - ComplianceResourceId *types.Value `json:"ComplianceResourceId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayattachment-options.html#cfn-ec2-transitgatewayattachment-options-appliancemodesupport + ApplianceModeSupport *types.Value `json:"ApplianceModeSupport,omitempty"` - // ComplianceResourceTypes AWS CloudFormation Property + // DnsSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-complianceresourcetypes - ComplianceResourceTypes *types.Value `json:"ComplianceResourceTypes,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayattachment-options.html#cfn-ec2-transitgatewayattachment-options-dnssupport + DnsSupport *types.Value `json:"DnsSupport,omitempty"` - // TagKey AWS CloudFormation Property + // Ipv6Support AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-tagkey - TagKey *types.Value `json:"TagKey,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayattachment-options.html#cfn-ec2-transitgatewayattachment-options-ipv6support + Ipv6Support *types.Value `json:"Ipv6Support,omitempty"` - // TagValue AWS CloudFormation Property + // SecurityGroupReferencingSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-tagvalue - TagValue *types.Value `json:"TagValue,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayattachment-options.html#cfn-ec2-transitgatewayattachment-options-securitygroupreferencingsupport + SecurityGroupReferencingSupport *types.Value `json:"SecurityGroupReferencingSupport,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type ConfigRule_Scope struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ConfigRule_Scope) AWSCloudFormationType() string { - return "AWS::Config::ConfigRule.Scope" +func (r *TransitGatewayAttachment_Options) AWSCloudFormationType() string { + return "AWS::EC2::TransitGatewayAttachment.Options" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain.go index 620ae8ae77..da4b30e186 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain.go @@ -18,7 +18,7 @@ type TransitGatewayMulticastDomain struct { // Options AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastdomain.html#cfn-ec2-transitgatewaymulticastdomain-options - Options interface{} `json:"Options,omitempty"` + Options *TransitGatewayMulticastDomain_Options `json:"Options,omitempty"` // Tags AWS CloudFormation Property // Required: false diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_skewedinfo.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain_options.go similarity index 55% rename from pkg/goformation/cloudformation/glue/aws-glue-table_skewedinfo.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain_options.go index 5d33e43ff7..0694cb12ac 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_skewedinfo.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaymulticastdomain_options.go @@ -1,4 +1,4 @@ -package glue +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Table_SkewedInfo AWS CloudFormation Resource (AWS::Glue::Table.SkewedInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-skewedinfo.html -type Table_SkewedInfo struct { +// TransitGatewayMulticastDomain_Options AWS CloudFormation Resource (AWS::EC2::TransitGatewayMulticastDomain.Options) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaymulticastdomain-options.html +type TransitGatewayMulticastDomain_Options struct { - // SkewedColumnNames AWS CloudFormation Property + // AutoAcceptSharedAssociations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-skewedinfo.html#cfn-glue-table-skewedinfo-skewedcolumnnames - SkewedColumnNames *types.Value `json:"SkewedColumnNames,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaymulticastdomain-options.html#cfn-ec2-transitgatewaymulticastdomain-options-autoacceptsharedassociations + AutoAcceptSharedAssociations *types.Value `json:"AutoAcceptSharedAssociations,omitempty"` - // SkewedColumnValueLocationMaps AWS CloudFormation Property + // Igmpv2Support AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-skewedinfo.html#cfn-glue-table-skewedinfo-skewedcolumnvaluelocationmaps - SkewedColumnValueLocationMaps interface{} `json:"SkewedColumnValueLocationMaps,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaymulticastdomain-options.html#cfn-ec2-transitgatewaymulticastdomain-options-igmpv2support + Igmpv2Support *types.Value `json:"Igmpv2Support,omitempty"` - // SkewedColumnValues AWS CloudFormation Property + // StaticSourcesSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-skewedinfo.html#cfn-glue-table-skewedinfo-skewedcolumnvalues - SkewedColumnValues *types.Value `json:"SkewedColumnValues,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaymulticastdomain-options.html#cfn-ec2-transitgatewaymulticastdomain-options-staticsourcessupport + StaticSourcesSupport *types.Value `json:"StaticSourcesSupport,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Table_SkewedInfo struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Table_SkewedInfo) AWSCloudFormationType() string { - return "AWS::Glue::Table.SkewedInfo" +func (r *TransitGatewayMulticastDomain_Options) AWSCloudFormationType() string { + return "AWS::EC2::TransitGatewayMulticastDomain.Options" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment.go index 67dd80b0b2..262b69995e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment.go @@ -15,11 +15,6 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html type TransitGatewayPeeringAttachment struct { - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-options - Options *TransitGatewayPeeringAttachment_TransitGatewayPeeringAttachmentOptions `json:"Options,omitempty"` - // PeerAccountId AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypeeringattachment.html#cfn-ec2-transitgatewaypeeringattachment-peeraccountid diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceerrorinfo.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_peeringattachmentstatus.go similarity index 60% rename from pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceerrorinfo.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_peeringattachmentstatus.go index eb7649c46a..7fd3b90d6b 100644 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceerrorinfo.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_peeringattachmentstatus.go @@ -1,4 +1,4 @@ -package quicksight +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataSource_DataSourceErrorInfo AWS CloudFormation Resource (AWS::QuickSight::DataSource.DataSourceErrorInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceerrorinfo.html -type DataSource_DataSourceErrorInfo struct { +// TransitGatewayPeeringAttachment_PeeringAttachmentStatus AWS CloudFormation Resource (AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-peeringattachmentstatus.html +type TransitGatewayPeeringAttachment_PeeringAttachmentStatus struct { - // Message AWS CloudFormation Property + // Code AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceerrorinfo.html#cfn-quicksight-datasource-datasourceerrorinfo-message - Message *types.Value `json:"Message,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-peeringattachmentstatus.html#cfn-ec2-transitgatewaypeeringattachment-peeringattachmentstatus-code + Code *types.Value `json:"Code,omitempty"` - // Type AWS CloudFormation Property + // Message AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceerrorinfo.html#cfn-quicksight-datasource-datasourceerrorinfo-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-peeringattachmentstatus.html#cfn-ec2-transitgatewaypeeringattachment-peeringattachmentstatus-message + Message *types.Value `json:"Message,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type DataSource_DataSourceErrorInfo struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataSource_DataSourceErrorInfo) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.DataSourceErrorInfo" +func (r *TransitGatewayPeeringAttachment_PeeringAttachmentStatus) AWSCloudFormationType() string { + return "AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_transitgatewaypeeringattachmentoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_transitgatewaypeeringattachmentoptions.go deleted file mode 100644 index 8be896aec9..0000000000 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewaypeeringattachment_transitgatewaypeeringattachmentoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package ec2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TransitGatewayPeeringAttachment_TransitGatewayPeeringAttachmentOptions AWS CloudFormation Resource (AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-transitgatewaypeeringattachmentoptions.html -type TransitGatewayPeeringAttachment_TransitGatewayPeeringAttachmentOptions struct { - - // DynamicRouting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-transitgatewaypeeringattachmentoptions.html#cfn-ec2-transitgatewaypeeringattachment-transitgatewaypeeringattachmentoptions-dynamicrouting - DynamicRouting *types.Value `json:"DynamicRouting,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 *TransitGatewayPeeringAttachment_TransitGatewayPeeringAttachmentOptions) AWSCloudFormationType() string { - return "AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions" -} diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayroute.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayroute.go index 35ba0ad7f7..0f290bd88e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayroute.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayroute.go @@ -20,7 +20,7 @@ type TransitGatewayRoute struct { Blackhole *types.Value `json:"Blackhole,omitempty"` // DestinationCidrBlock AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroute.html#cfn-ec2-transitgatewayroute-destinationcidrblock DestinationCidrBlock *types.Value `json:"DestinationCidrBlock,omitempty"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment.go index 973473f846..35f514ec3f 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment.go @@ -23,7 +23,7 @@ type TransitGatewayVpcAttachment struct { // Options AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-options - Options interface{} `json:"Options,omitempty"` + Options *TransitGatewayVpcAttachment_Options `json:"Options,omitempty"` // RemoveSubnetIds AWS CloudFormation Property // Required: false @@ -31,7 +31,7 @@ type TransitGatewayVpcAttachment struct { RemoveSubnetIds *types.Value `json:"RemoveSubnetIds,omitempty"` // SubnetIds AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-subnetids SubnetIds *types.Value `json:"SubnetIds,omitempty"` @@ -41,12 +41,12 @@ type TransitGatewayVpcAttachment struct { Tags []cloudformation.Tag `json:"Tags,omitempty"` // TransitGatewayId AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-transitgatewayid TransitGatewayId *types.Value `json:"TransitGatewayId,omitempty"` // VpcId AWS CloudFormation Property - // Required: false + // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayvpcattachment.html#cfn-ec2-transitgatewayvpcattachment-vpcid VpcId *types.Value `json:"VpcId,omitempty"` diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tableresource.go b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment_options.go similarity index 51% rename from pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tableresource.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment_options.go index 28bfb59a76..0e18be0a72 100644 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tableresource.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-transitgatewayvpcattachment_options.go @@ -1,4 +1,4 @@ -package lakeformation +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Permissions_TableResource AWS CloudFormation Resource (AWS::LakeFormation::Permissions.TableResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tableresource.html -type Permissions_TableResource struct { +// TransitGatewayVpcAttachment_Options AWS CloudFormation Resource (AWS::EC2::TransitGatewayVpcAttachment.Options) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayvpcattachment-options.html +type TransitGatewayVpcAttachment_Options struct { - // CatalogId AWS CloudFormation Property + // ApplianceModeSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tableresource.html#cfn-lakeformation-permissions-tableresource-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayvpcattachment-options.html#cfn-ec2-transitgatewayvpcattachment-options-appliancemodesupport + ApplianceModeSupport *types.Value `json:"ApplianceModeSupport,omitempty"` - // DatabaseName AWS CloudFormation Property + // DnsSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tableresource.html#cfn-lakeformation-permissions-tableresource-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayvpcattachment-options.html#cfn-ec2-transitgatewayvpcattachment-options-dnssupport + DnsSupport *types.Value `json:"DnsSupport,omitempty"` - // Name AWS CloudFormation Property + // Ipv6Support AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tableresource.html#cfn-lakeformation-permissions-tableresource-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayvpcattachment-options.html#cfn-ec2-transitgatewayvpcattachment-options-ipv6support + Ipv6Support *types.Value `json:"Ipv6Support,omitempty"` - // TableWildcard AWS CloudFormation Property + // SecurityGroupReferencingSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tableresource.html#cfn-lakeformation-permissions-tableresource-tablewildcard - TableWildcard *Permissions_TableWildcard `json:"TableWildcard,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayvpcattachment-options.html#cfn-ec2-transitgatewayvpcattachment-options-securitygroupreferencingsupport + SecurityGroupReferencingSupport *types.Value `json:"SecurityGroupReferencingSupport,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Permissions_TableResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Permissions_TableResource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.TableResource" +func (r *TransitGatewayVpcAttachment_Options) AWSCloudFormationType() string { + return "AWS::EC2::TransitGatewayVpcAttachment.Options" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstance.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint.go similarity index 55% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstance.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint.go index a3a43467c3..f32b36ede9 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstance.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint.go @@ -1,4 +1,4 @@ -package sagemaker +package ec2 import ( "bytes" @@ -11,84 +11,89 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// NotebookInstance AWS CloudFormation Resource (AWS::SageMaker::NotebookInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html -type NotebookInstance struct { +// VerifiedAccessEndpoint AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html +type VerifiedAccessEndpoint struct { - // AcceleratorTypes AWS CloudFormation Property + // ApplicationDomain AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-acceleratortypes - AcceleratorTypes *types.Value `json:"AcceleratorTypes,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-applicationdomain + ApplicationDomain *types.Value `json:"ApplicationDomain,omitempty"` - // AdditionalCodeRepositories AWS CloudFormation Property + // AttachmentType AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-attachmenttype + AttachmentType *types.Value `json:"AttachmentType,omitempty"` + + // CidrOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-cidroptions + CidrOptions *VerifiedAccessEndpoint_CidrOptions `json:"CidrOptions,omitempty"` + + // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-additionalcoderepositories - AdditionalCodeRepositories *types.Value `json:"AdditionalCodeRepositories,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-description + Description *types.Value `json:"Description,omitempty"` - // DefaultCodeRepository AWS CloudFormation Property + // DomainCertificateArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-defaultcoderepository - DefaultCodeRepository *types.Value `json:"DefaultCodeRepository,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-domaincertificatearn + DomainCertificateArn *types.Value `json:"DomainCertificateArn,omitempty"` - // DirectInternetAccess AWS CloudFormation Property + // EndpointDomainPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-directinternetaccess - DirectInternetAccess *types.Value `json:"DirectInternetAccess,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-endpointdomainprefix + EndpointDomainPrefix *types.Value `json:"EndpointDomainPrefix,omitempty"` - // InstanceType AWS CloudFormation Property + // EndpointType AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-endpointtype + EndpointType *types.Value `json:"EndpointType,omitempty"` - // KmsKeyId AWS CloudFormation Property + // LoadBalancerOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions + LoadBalancerOptions *VerifiedAccessEndpoint_LoadBalancerOptions `json:"LoadBalancerOptions,omitempty"` - // LifecycleConfigName AWS CloudFormation Property + // NetworkInterfaceOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-lifecycleconfigname - LifecycleConfigName *types.Value `json:"LifecycleConfigName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions + NetworkInterfaceOptions *VerifiedAccessEndpoint_NetworkInterfaceOptions `json:"NetworkInterfaceOptions,omitempty"` - // NotebookInstanceName AWS CloudFormation Property + // PolicyDocument AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-notebookinstancename - NotebookInstanceName *types.Value `json:"NotebookInstanceName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-policydocument + PolicyDocument *types.Value `json:"PolicyDocument,omitempty"` - // PlatformIdentifier AWS CloudFormation Property + // PolicyEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-platformidentifier - PlatformIdentifier *types.Value `json:"PlatformIdentifier,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-policyenabled + PolicyEnabled *types.Value `json:"PolicyEnabled,omitempty"` - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // RootAccess AWS CloudFormation Property + // RdsOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rootaccess - RootAccess *types.Value `json:"RootAccess,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-rdsoptions + RdsOptions *VerifiedAccessEndpoint_RdsOptions `json:"RdsOptions,omitempty"` // SecurityGroupIds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-securitygroupids + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-securitygroupids SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - // SubnetId AWS CloudFormation Property + // SseSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-subnetid - SubnetId *types.Value `json:"SubnetId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-ssespecification + SseSpecification *VerifiedAccessEndpoint_SseSpecification `json:"SseSpecification,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // VolumeSizeInGB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB,omitempty"` + // VerifiedAccessGroupId AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessendpoint.html#cfn-ec2-verifiedaccessendpoint-verifiedaccessgroupid + VerifiedAccessGroupId *types.Value `json:"VerifiedAccessGroupId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -107,14 +112,14 @@ type NotebookInstance struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *NotebookInstance) AWSCloudFormationType() string { - return "AWS::SageMaker::NotebookInstance" +func (r *VerifiedAccessEndpoint) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint" } // 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 (r NotebookInstance) MarshalJSON() ([]byte, error) { - type Properties NotebookInstance +func (r VerifiedAccessEndpoint) MarshalJSON() ([]byte, error) { + type Properties VerifiedAccessEndpoint return json.Marshal(&struct { Type string Properties Properties @@ -136,8 +141,8 @@ func (r NotebookInstance) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NotebookInstance) UnmarshalJSON(b []byte) error { - type Properties NotebookInstance +func (r *VerifiedAccessEndpoint) UnmarshalJSON(b []byte) error { + type Properties VerifiedAccessEndpoint res := &struct { Type string Properties *Properties @@ -158,7 +163,7 @@ func (r *NotebookInstance) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = NotebookInstance(*res.Properties) + *r = VerifiedAccessEndpoint(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_vpcdestinationproperties.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_cidroptions.go similarity index 54% rename from pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_vpcdestinationproperties.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_cidroptions.go index 1362967383..3f2fe79e29 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_vpcdestinationproperties.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_cidroptions.go @@ -1,4 +1,4 @@ -package iot +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TopicRuleDestination_VpcDestinationProperties AWS CloudFormation Resource (AWS::IoT::TopicRuleDestination.VpcDestinationProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-vpcdestinationproperties.html -type TopicRuleDestination_VpcDestinationProperties struct { +// VerifiedAccessEndpoint_CidrOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.CidrOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html +type VerifiedAccessEndpoint_CidrOptions struct { - // RoleArn AWS CloudFormation Property + // Cidr AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-vpcdestinationproperties.html#cfn-iot-topicruledestination-vpcdestinationproperties-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-cidr + Cidr *types.Value `json:"Cidr,omitempty"` - // SecurityGroups AWS CloudFormation Property + // PortRanges AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-vpcdestinationproperties.html#cfn-iot-topicruledestination-vpcdestinationproperties-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-portranges + PortRanges []VerifiedAccessEndpoint_PortRange `json:"PortRanges,omitempty"` - // SubnetIds AWS CloudFormation Property + // Protocol AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-vpcdestinationproperties.html#cfn-iot-topicruledestination-vpcdestinationproperties-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-protocol + Protocol *types.Value `json:"Protocol,omitempty"` - // VpcId AWS CloudFormation Property + // SubnetIds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-vpcdestinationproperties.html#cfn-iot-topicruledestination-vpcdestinationproperties-vpcid - VpcId *types.Value `json:"VpcId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-cidroptions.html#cfn-ec2-verifiedaccessendpoint-cidroptions-subnetids + SubnetIds *types.Value `json:"SubnetIds,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type TopicRuleDestination_VpcDestinationProperties struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TopicRuleDestination_VpcDestinationProperties) AWSCloudFormationType() string { - return "AWS::IoT::TopicRuleDestination.VpcDestinationProperties" +func (r *VerifiedAccessEndpoint_CidrOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.CidrOptions" } diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_endpointdetails.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_loadbalanceroptions.go similarity index 51% rename from pkg/goformation/cloudformation/transfer/aws-transfer-server_endpointdetails.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_loadbalanceroptions.go index 7cf252584f..66d110fe39 100644 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_endpointdetails.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_loadbalanceroptions.go @@ -1,4 +1,4 @@ -package transfer +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,34 +6,34 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Server_EndpointDetails AWS CloudFormation Resource (AWS::Transfer::Server.EndpointDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html -type Server_EndpointDetails struct { +// VerifiedAccessEndpoint_LoadBalancerOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html +type VerifiedAccessEndpoint_LoadBalancerOptions struct { - // AddressAllocationIds AWS CloudFormation Property + // LoadBalancerArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html#cfn-transfer-server-endpointdetails-addressallocationids - AddressAllocationIds *types.Value `json:"AddressAllocationIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-loadbalancerarn + LoadBalancerArn *types.Value `json:"LoadBalancerArn,omitempty"` - // SecurityGroupIds AWS CloudFormation Property + // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html#cfn-transfer-server-endpointdetails-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-port + Port *types.Value `json:"Port,omitempty"` - // SubnetIds AWS CloudFormation Property + // PortRanges AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html#cfn-transfer-server-endpointdetails-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-portranges + PortRanges []VerifiedAccessEndpoint_PortRange `json:"PortRanges,omitempty"` - // VpcEndpointId AWS CloudFormation Property + // Protocol AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html#cfn-transfer-server-endpointdetails-vpcendpointid - VpcEndpointId *types.Value `json:"VpcEndpointId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-protocol + Protocol *types.Value `json:"Protocol,omitempty"` - // VpcId AWS CloudFormation Property + // SubnetIds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html#cfn-transfer-server-endpointdetails-vpcid - VpcId *types.Value `json:"VpcId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-loadbalanceroptions.html#cfn-ec2-verifiedaccessendpoint-loadbalanceroptions-subnetids + SubnetIds *types.Value `json:"SubnetIds,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,6 +52,6 @@ type Server_EndpointDetails struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Server_EndpointDetails) AWSCloudFormationType() string { - return "AWS::Transfer::Server.EndpointDetails" +func (r *VerifiedAccessEndpoint_LoadBalancerOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_serviceregistry.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_networkinterfaceoptions.go similarity index 52% rename from pkg/goformation/cloudformation/ecs/aws-ecs-taskset_serviceregistry.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_networkinterfaceoptions.go index 1ea187e6d6..6ada53e735 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_serviceregistry.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_networkinterfaceoptions.go @@ -1,4 +1,4 @@ -package ecs +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TaskSet_ServiceRegistry AWS CloudFormation Resource (AWS::ECS::TaskSet.ServiceRegistry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-serviceregistry.html -type TaskSet_ServiceRegistry struct { +// VerifiedAccessEndpoint_NetworkInterfaceOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html +type VerifiedAccessEndpoint_NetworkInterfaceOptions struct { - // ContainerName AWS CloudFormation Property + // NetworkInterfaceId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-serviceregistry.html#cfn-ecs-taskset-serviceregistry-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` - - // ContainerPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-serviceregistry.html#cfn-ecs-taskset-serviceregistry-containerport - ContainerPort *types.Value `json:"ContainerPort,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-networkinterfaceid + NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,omitempty"` // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-serviceregistry.html#cfn-ecs-taskset-serviceregistry-port + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-port Port *types.Value `json:"Port,omitempty"` - // RegistryArn AWS CloudFormation Property + // PortRanges AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-portranges + PortRanges []VerifiedAccessEndpoint_PortRange `json:"PortRanges,omitempty"` + + // Protocol AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-serviceregistry.html#cfn-ecs-taskset-serviceregistry-registryarn - RegistryArn *types.Value `json:"RegistryArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-networkinterfaceoptions.html#cfn-ec2-verifiedaccessendpoint-networkinterfaceoptions-protocol + Protocol *types.Value `json:"Protocol,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type TaskSet_ServiceRegistry struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TaskSet_ServiceRegistry) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet.ServiceRegistry" +func (r *VerifiedAccessEndpoint_NetworkInterfaceOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions" } diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener_portrange.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_portrange.go similarity index 64% rename from pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener_portrange.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_portrange.go index 374b5848f0..74a93fd70a 100644 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener_portrange.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_portrange.go @@ -1,4 +1,4 @@ -package globalaccelerator +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Listener_PortRange AWS CloudFormation Resource (AWS::GlobalAccelerator::Listener.PortRange) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-listener-portrange.html -type Listener_PortRange struct { +// VerifiedAccessEndpoint_PortRange AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.PortRange) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html +type VerifiedAccessEndpoint_PortRange struct { // FromPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-listener-portrange.html#cfn-globalaccelerator-listener-portrange-fromport - FromPort *types.Value `json:"FromPort"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-fromport + FromPort *types.Value `json:"FromPort,omitempty"` // ToPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-listener-portrange.html#cfn-globalaccelerator-listener-portrange-toport - ToPort *types.Value `json:"ToPort"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-portrange.html#cfn-ec2-verifiedaccessendpoint-portrange-toport + ToPort *types.Value `json:"ToPort,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Listener_PortRange struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Listener_PortRange) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::Listener.PortRange" +func (r *VerifiedAccessEndpoint_PortRange) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.PortRange" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_rdsoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_rdsoptions.go new file mode 100644 index 0000000000..f3ec0e6215 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_rdsoptions.go @@ -0,0 +1,67 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VerifiedAccessEndpoint_RdsOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.RdsOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html +type VerifiedAccessEndpoint_RdsOptions struct { + + // Port AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-port + Port *types.Value `json:"Port,omitempty"` + + // Protocol AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-protocol + Protocol *types.Value `json:"Protocol,omitempty"` + + // RdsDbClusterArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbclusterarn + RdsDbClusterArn *types.Value `json:"RdsDbClusterArn,omitempty"` + + // RdsDbInstanceArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbinstancearn + RdsDbInstanceArn *types.Value `json:"RdsDbInstanceArn,omitempty"` + + // RdsDbProxyArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsdbproxyarn + RdsDbProxyArn *types.Value `json:"RdsDbProxyArn,omitempty"` + + // RdsEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-rdsendpoint + RdsEndpoint *types.Value `json:"RdsEndpoint,omitempty"` + + // SubnetIds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-rdsoptions.html#cfn-ec2-verifiedaccessendpoint-rdsoptions-subnetids + SubnetIds *types.Value `json:"SubnetIds,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 *VerifiedAccessEndpoint_RdsOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.RdsOptions" +} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_s3encryption.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_ssespecification.go similarity index 62% rename from pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_s3encryption.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_ssespecification.go index adfd707871..f837f15ffe 100644 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_s3encryption.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessendpoint_ssespecification.go @@ -1,4 +1,4 @@ -package synthetics +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Canary_S3Encryption AWS CloudFormation Resource (AWS::Synthetics::Canary.S3Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-s3encryption.html -type Canary_S3Encryption struct { +// VerifiedAccessEndpoint_SseSpecification AWS CloudFormation Resource (AWS::EC2::VerifiedAccessEndpoint.SseSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-ssespecification.html +type VerifiedAccessEndpoint_SseSpecification struct { - // EncryptionMode AWS CloudFormation Property + // CustomerManagedKeyEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-s3encryption.html#cfn-synthetics-canary-s3encryption-encryptionmode - EncryptionMode *types.Value `json:"EncryptionMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-ssespecification.html#cfn-ec2-verifiedaccessendpoint-ssespecification-customermanagedkeyenabled + CustomerManagedKeyEnabled *types.Value `json:"CustomerManagedKeyEnabled,omitempty"` // KmsKeyArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-s3encryption.html#cfn-synthetics-canary-s3encryption-kmskeyarn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessendpoint-ssespecification.html#cfn-ec2-verifiedaccessendpoint-ssespecification-kmskeyarn KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type Canary_S3Encryption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Canary_S3Encryption) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.S3Encryption" +func (r *VerifiedAccessEndpoint_SseSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessEndpoint.SseSpecification" } diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup.go similarity index 72% rename from pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup.go index 650bdd1677..fe1d06ce2b 100644 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup.go @@ -1,4 +1,4 @@ -package iotwireless +package ec2 import ( "bytes" @@ -11,40 +11,40 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// MulticastGroup AWS CloudFormation Resource (AWS::IoTWireless::MulticastGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html -type MulticastGroup struct { - - // AssociateWirelessDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-associatewirelessdevice - AssociateWirelessDevice *types.Value `json:"AssociateWirelessDevice,omitempty"` +// VerifiedAccessGroup AWS CloudFormation Resource (AWS::EC2::VerifiedAccessGroup) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html +type VerifiedAccessGroup struct { // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-description Description *types.Value `json:"Description,omitempty"` - // DisassociateWirelessDevice AWS CloudFormation Property + // PolicyDocument AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-disassociatewirelessdevice - DisassociateWirelessDevice *types.Value `json:"DisassociateWirelessDevice,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-policydocument + PolicyDocument *types.Value `json:"PolicyDocument,omitempty"` - // LoRaWAN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-lorawan - LoRaWAN *MulticastGroup_LoRaWAN `json:"LoRaWAN,omitempty"` + // PolicyEnabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-policyenabled + PolicyEnabled *types.Value `json:"PolicyEnabled,omitempty"` - // Name AWS CloudFormation Property + // SseSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-ssespecification + SseSpecification *VerifiedAccessGroup_SseSpecification `json:"SseSpecification,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-multicastgroup.html#cfn-iotwireless-multicastgroup-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` + // VerifiedAccessInstanceId AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html#cfn-ec2-verifiedaccessgroup-verifiedaccessinstanceid + VerifiedAccessInstanceId *types.Value `json:"VerifiedAccessInstanceId,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -62,14 +62,14 @@ type MulticastGroup struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *MulticastGroup) AWSCloudFormationType() string { - return "AWS::IoTWireless::MulticastGroup" +func (r *VerifiedAccessGroup) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessGroup" } // 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 (r MulticastGroup) MarshalJSON() ([]byte, error) { - type Properties MulticastGroup +func (r VerifiedAccessGroup) MarshalJSON() ([]byte, error) { + type Properties VerifiedAccessGroup return json.Marshal(&struct { Type string Properties Properties @@ -91,8 +91,8 @@ func (r MulticastGroup) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MulticastGroup) UnmarshalJSON(b []byte) error { - type Properties MulticastGroup +func (r *VerifiedAccessGroup) UnmarshalJSON(b []byte) error { + type Properties VerifiedAccessGroup res := &struct { Type string Properties *Properties @@ -113,7 +113,7 @@ func (r *MulticastGroup) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = MulticastGroup(*res.Properties) + *r = VerifiedAccessGroup(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryption.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup_ssespecification.go similarity index 63% rename from pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryption.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup_ssespecification.go index e1b9a153df..dd68203a23 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryption.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessgroup_ssespecification.go @@ -1,4 +1,4 @@ -package glue +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SecurityConfiguration_S3Encryption AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration.S3Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html -type SecurityConfiguration_S3Encryption struct { +// VerifiedAccessGroup_SseSpecification AWS CloudFormation Resource (AWS::EC2::VerifiedAccessGroup.SseSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html +type VerifiedAccessGroup_SseSpecification struct { - // KmsKeyArn AWS CloudFormation Property + // CustomerManagedKeyEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html#cfn-glue-securityconfiguration-s3encryption-kmskeyarn - KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html#cfn-ec2-verifiedaccessgroup-ssespecification-customermanagedkeyenabled + CustomerManagedKeyEnabled *types.Value `json:"CustomerManagedKeyEnabled,omitempty"` - // S3EncryptionMode AWS CloudFormation Property + // KmsKeyArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryption.html#cfn-glue-securityconfiguration-s3encryption-s3encryptionmode - S3EncryptionMode *types.Value `json:"S3EncryptionMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html#cfn-ec2-verifiedaccessgroup-ssespecification-kmskeyarn + KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type SecurityConfiguration_S3Encryption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SecurityConfiguration_S3Encryption) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration.S3Encryption" +func (r *VerifiedAccessGroup_SseSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessGroup.SseSpecification" } diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance.go similarity index 67% rename from pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance.go index bf35ed5e13..b47ccc2fed 100644 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance.go @@ -1,4 +1,4 @@ -package apigateway +package ec2 import ( "bytes" @@ -11,49 +11,44 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ApiKey AWS CloudFormation Resource (AWS::ApiGateway::ApiKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html -type ApiKey struct { +// VerifiedAccessInstance AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html +type VerifiedAccessInstance struct { - // CustomerId AWS CloudFormation Property + // CidrEndpointsCustomSubDomain AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-customerid - CustomerId *types.Value `json:"CustomerId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-cidrendpointscustomsubdomain + CidrEndpointsCustomSubDomain *types.Value `json:"CidrEndpointsCustomSubDomain,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-description Description *types.Value `json:"Description,omitempty"` - // Enabled AWS CloudFormation Property + // FipsEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-enabled - Enabled *types.Value `json:"Enabled,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-fipsenabled + FipsEnabled *types.Value `json:"FipsEnabled,omitempty"` - // GenerateDistinctId AWS CloudFormation Property + // LoggingConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-generatedistinctid - GenerateDistinctId *types.Value `json:"GenerateDistinctId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-name - Name *types.Value `json:"Name,omitempty"` - - // StageKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-stagekeys - StageKeys []ApiKey_StageKey `json:"StageKeys,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-loggingconfigurations + LoggingConfigurations *VerifiedAccessInstance_VerifiedAccessLogs `json:"LoggingConfigurations,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // Value AWS CloudFormation Property + // VerifiedAccessTrustProviderIds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustproviderids + VerifiedAccessTrustProviderIds *types.Value `json:"VerifiedAccessTrustProviderIds,omitempty"` + + // VerifiedAccessTrustProviders AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html#cfn-apigateway-apikey-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessinstance.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustproviders + VerifiedAccessTrustProviders []VerifiedAccessInstance_VerifiedAccessTrustProvider `json:"VerifiedAccessTrustProviders,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -72,14 +67,14 @@ type ApiKey struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ApiKey) AWSCloudFormationType() string { - return "AWS::ApiGateway::ApiKey" +func (r *VerifiedAccessInstance) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance" } // 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 (r ApiKey) MarshalJSON() ([]byte, error) { - type Properties ApiKey +func (r VerifiedAccessInstance) MarshalJSON() ([]byte, error) { + type Properties VerifiedAccessInstance return json.Marshal(&struct { Type string Properties Properties @@ -101,8 +96,8 @@ func (r ApiKey) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApiKey) UnmarshalJSON(b []byte) error { - type Properties ApiKey +func (r *VerifiedAccessInstance) UnmarshalJSON(b []byte) error { + type Properties VerifiedAccessInstance res := &struct { Type string Properties *Properties @@ -123,7 +118,7 @@ func (r *ApiKey) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ApiKey(*res.Properties) + *r = VerifiedAccessInstance(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_cloudwatchlogs.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_cloudwatchlogs.go similarity index 65% rename from pkg/goformation/cloudformation/msk/aws-msk-cluster_cloudwatchlogs.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_cloudwatchlogs.go index d96b3ee723..8c9b257c4c 100644 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_cloudwatchlogs.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_cloudwatchlogs.go @@ -1,4 +1,4 @@ -package msk +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_CloudWatchLogs AWS CloudFormation Resource (AWS::MSK::Cluster.CloudWatchLogs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html -type Cluster_CloudWatchLogs struct { +// VerifiedAccessInstance_CloudWatchLogs AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance.CloudWatchLogs) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-cloudwatchlogs.html +type VerifiedAccessInstance_CloudWatchLogs struct { // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html#cfn-msk-cluster-cloudwatchlogs-enabled - Enabled *types.Value `json:"Enabled"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-cloudwatchlogs.html#cfn-ec2-verifiedaccessinstance-cloudwatchlogs-enabled + Enabled *types.Value `json:"Enabled,omitempty"` // LogGroup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-cloudwatchlogs.html#cfn-msk-cluster-cloudwatchlogs-loggroup + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-cloudwatchlogs.html#cfn-ec2-verifiedaccessinstance-cloudwatchlogs-loggroup LogGroup *types.Value `json:"LogGroup,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type Cluster_CloudWatchLogs struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_CloudWatchLogs) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.CloudWatchLogs" +func (r *VerifiedAccessInstance_CloudWatchLogs) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance.CloudWatchLogs" } diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_firehose.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_kinesisdatafirehose.go similarity index 64% rename from pkg/goformation/cloudformation/msk/aws-msk-cluster_firehose.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_kinesisdatafirehose.go index 76891e36c8..c6024f7366 100644 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_firehose.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_kinesisdatafirehose.go @@ -1,4 +1,4 @@ -package msk +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_Firehose AWS CloudFormation Resource (AWS::MSK::Cluster.Firehose) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html -type Cluster_Firehose struct { +// VerifiedAccessInstance_KinesisDataFirehose AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-kinesisdatafirehose.html +type VerifiedAccessInstance_KinesisDataFirehose struct { // DeliveryStream AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-deliverystream + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-kinesisdatafirehose.html#cfn-ec2-verifiedaccessinstance-kinesisdatafirehose-deliverystream DeliveryStream *types.Value `json:"DeliveryStream,omitempty"` // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-firehose.html#cfn-msk-cluster-firehose-enabled - Enabled *types.Value `json:"Enabled"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-kinesisdatafirehose.html#cfn-ec2-verifiedaccessinstance-kinesisdatafirehose-enabled + Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Cluster_Firehose struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_Firehose) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Firehose" +func (r *VerifiedAccessInstance_KinesisDataFirehose) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose" } diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_s3action.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_s3.go similarity index 59% rename from pkg/goformation/cloudformation/ses/aws-ses-receiptrule_s3action.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_s3.go index 4827cbeb99..3b7f0ec4be 100644 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_s3action.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_s3.go @@ -1,4 +1,4 @@ -package ses +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ReceiptRule_S3Action AWS CloudFormation Resource (AWS::SES::ReceiptRule.S3Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html -type ReceiptRule_S3Action struct { +// VerifiedAccessInstance_S3 AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance.S3) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-s3.html +type VerifiedAccessInstance_S3 struct { // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-bucketname + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-s3.html#cfn-ec2-verifiedaccessinstance-s3-bucketname BucketName *types.Value `json:"BucketName,omitempty"` - // KmsKeyArn AWS CloudFormation Property + // BucketOwner AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-kmskeyarn - KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-s3.html#cfn-ec2-verifiedaccessinstance-s3-bucketowner + BucketOwner *types.Value `json:"BucketOwner,omitempty"` - // ObjectKeyPrefix AWS CloudFormation Property + // Enabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-objectkeyprefix - ObjectKeyPrefix *types.Value `json:"ObjectKeyPrefix,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-s3.html#cfn-ec2-verifiedaccessinstance-s3-enabled + Enabled *types.Value `json:"Enabled,omitempty"` - // TopicArn AWS CloudFormation Property + // Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-s3action.html#cfn-ses-receiptrule-s3action-topicarn - TopicArn *types.Value `json:"TopicArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-s3.html#cfn-ec2-verifiedaccessinstance-s3-prefix + Prefix *types.Value `json:"Prefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type ReceiptRule_S3Action struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ReceiptRule_S3Action) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.S3Action" +func (r *VerifiedAccessInstance_S3) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance.S3" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesslogs.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesslogs.go new file mode 100644 index 0000000000..7a994af432 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesslogs.go @@ -0,0 +1,57 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VerifiedAccessInstance_VerifiedAccessLogs AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html +type VerifiedAccessInstance_VerifiedAccessLogs struct { + + // CloudWatchLogs AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html#cfn-ec2-verifiedaccessinstance-verifiedaccesslogs-cloudwatchlogs + CloudWatchLogs *VerifiedAccessInstance_CloudWatchLogs `json:"CloudWatchLogs,omitempty"` + + // IncludeTrustContext AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html#cfn-ec2-verifiedaccessinstance-verifiedaccesslogs-includetrustcontext + IncludeTrustContext *types.Value `json:"IncludeTrustContext,omitempty"` + + // KinesisDataFirehose AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html#cfn-ec2-verifiedaccessinstance-verifiedaccesslogs-kinesisdatafirehose + KinesisDataFirehose *VerifiedAccessInstance_KinesisDataFirehose `json:"KinesisDataFirehose,omitempty"` + + // LogVersion AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html#cfn-ec2-verifiedaccessinstance-verifiedaccesslogs-logversion + LogVersion *types.Value `json:"LogVersion,omitempty"` + + // S3 AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesslogs.html#cfn-ec2-verifiedaccessinstance-verifiedaccesslogs-s3 + S3 *VerifiedAccessInstance_S3 `json:"S3,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 *VerifiedAccessInstance_VerifiedAccessLogs) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs" +} diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesstrustprovider.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesstrustprovider.go new file mode 100644 index 0000000000..fe6f1bb11d --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccessinstance_verifiedaccesstrustprovider.go @@ -0,0 +1,57 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VerifiedAccessInstance_VerifiedAccessTrustProvider AWS CloudFormation Resource (AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html +type VerifiedAccessInstance_VerifiedAccessTrustProvider struct { + + // Description AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustprovider-description + Description *types.Value `json:"Description,omitempty"` + + // DeviceTrustProviderType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustprovider-devicetrustprovidertype + DeviceTrustProviderType *types.Value `json:"DeviceTrustProviderType,omitempty"` + + // TrustProviderType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustprovider-trustprovidertype + TrustProviderType *types.Value `json:"TrustProviderType,omitempty"` + + // UserTrustProviderType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustprovider-usertrustprovidertype + UserTrustProviderType *types.Value `json:"UserTrustProviderType,omitempty"` + + // VerifiedAccessTrustProviderId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessinstance-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccessinstance-verifiedaccesstrustprovider-verifiedaccesstrustproviderid + VerifiedAccessTrustProviderId *types.Value `json:"VerifiedAccessTrustProviderId,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 *VerifiedAccessInstance_VerifiedAccessTrustProvider) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider" +} diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-branch.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider.go similarity index 61% rename from pkg/goformation/cloudformation/amplify/aws-amplify-branch.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider.go index 0ef9ea0d9d..bd5ed2e3a8 100644 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-branch.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider.go @@ -1,4 +1,4 @@ -package amplify +package ec2 import ( "bytes" @@ -11,70 +11,60 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Branch AWS CloudFormation Resource (AWS::Amplify::Branch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html -type Branch struct { - - // AppId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-appid - AppId *types.Value `json:"AppId,omitempty"` - - // BasicAuthConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-basicauthconfig - BasicAuthConfig *Branch_BasicAuthConfig `json:"BasicAuthConfig,omitempty"` - - // BranchName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-branchname - BranchName *types.Value `json:"BranchName,omitempty"` - - // BuildSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-buildspec - BuildSpec *types.Value `json:"BuildSpec,omitempty"` +// VerifiedAccessTrustProvider AWS CloudFormation Resource (AWS::EC2::VerifiedAccessTrustProvider) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html +type VerifiedAccessTrustProvider struct { // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-description Description *types.Value `json:"Description,omitempty"` - // EnableAutoBuild AWS CloudFormation Property + // DeviceOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enableautobuild - EnableAutoBuild *types.Value `json:"EnableAutoBuild,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-deviceoptions + DeviceOptions *VerifiedAccessTrustProvider_DeviceOptions `json:"DeviceOptions,omitempty"` - // EnablePerformanceMode AWS CloudFormation Property + // DeviceTrustProviderType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enableperformancemode - EnablePerformanceMode *types.Value `json:"EnablePerformanceMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-devicetrustprovidertype + DeviceTrustProviderType *types.Value `json:"DeviceTrustProviderType,omitempty"` - // EnablePullRequestPreview AWS CloudFormation Property + // NativeApplicationOidcOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-enablepullrequestpreview - EnablePullRequestPreview *types.Value `json:"EnablePullRequestPreview,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions + NativeApplicationOidcOptions *VerifiedAccessTrustProvider_NativeApplicationOidcOptions `json:"NativeApplicationOidcOptions,omitempty"` - // EnvironmentVariables AWS CloudFormation Property + // OidcOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-environmentvariables - EnvironmentVariables []Branch_EnvironmentVariable `json:"EnvironmentVariables,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions + OidcOptions *VerifiedAccessTrustProvider_OidcOptions `json:"OidcOptions,omitempty"` - // PullRequestEnvironmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-pullrequestenvironmentname - PullRequestEnvironmentName *types.Value `json:"PullRequestEnvironmentName,omitempty"` + // PolicyReferenceName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-policyreferencename + PolicyReferenceName *types.Value `json:"PolicyReferenceName,omitempty"` - // Stage AWS CloudFormation Property + // SseSpecification AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-stage - Stage *types.Value `json:"Stage,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-ssespecification + SseSpecification *VerifiedAccessTrustProvider_SseSpecification `json:"SseSpecification,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-branch.html#cfn-amplify-branch-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` + // TrustProviderType AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-trustprovidertype + TrustProviderType *types.Value `json:"TrustProviderType,omitempty"` + + // UserTrustProviderType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccesstrustprovider.html#cfn-ec2-verifiedaccesstrustprovider-usertrustprovidertype + UserTrustProviderType *types.Value `json:"UserTrustProviderType,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -92,14 +82,14 @@ type Branch struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Branch) AWSCloudFormationType() string { - return "AWS::Amplify::Branch" +func (r *VerifiedAccessTrustProvider) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessTrustProvider" } // 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 (r Branch) MarshalJSON() ([]byte, error) { - type Properties Branch +func (r VerifiedAccessTrustProvider) MarshalJSON() ([]byte, error) { + type Properties VerifiedAccessTrustProvider return json.Marshal(&struct { Type string Properties Properties @@ -121,8 +111,8 @@ func (r Branch) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Branch) UnmarshalJSON(b []byte) error { - type Properties Branch +func (r *VerifiedAccessTrustProvider) UnmarshalJSON(b []byte) error { + type Properties VerifiedAccessTrustProvider res := &struct { Type string Properties *Properties @@ -143,7 +133,7 @@ func (r *Branch) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Branch(*res.Properties) + *r = VerifiedAccessTrustProvider(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamematch.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_deviceoptions.go similarity index 60% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamematch.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_deviceoptions.go index 758b768231..3e75c6f4d6 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-gatewayroute_gatewayroutehostnamematch.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_deviceoptions.go @@ -1,4 +1,4 @@ -package appmesh +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// GatewayRoute_GatewayRouteHostnameMatch AWS CloudFormation Resource (AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamematch.html -type GatewayRoute_GatewayRouteHostnameMatch struct { +// VerifiedAccessTrustProvider_DeviceOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-deviceoptions.html +type VerifiedAccessTrustProvider_DeviceOptions struct { - // Exact AWS CloudFormation Property + // PublicSigningKeyUrl AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamematch.html#cfn-appmesh-gatewayroute-gatewayroutehostnamematch-exact - Exact *types.Value `json:"Exact,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-deviceoptions.html#cfn-ec2-verifiedaccesstrustprovider-deviceoptions-publicsigningkeyurl + PublicSigningKeyUrl *types.Value `json:"PublicSigningKeyUrl,omitempty"` - // Suffix AWS CloudFormation Property + // TenantId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamematch.html#cfn-appmesh-gatewayroute-gatewayroutehostnamematch-suffix - Suffix *types.Value `json:"Suffix,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-deviceoptions.html#cfn-ec2-verifiedaccesstrustprovider-deviceoptions-tenantid + TenantId *types.Value `json:"TenantId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type GatewayRoute_GatewayRouteHostnameMatch struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *GatewayRoute_GatewayRouteHostnameMatch) AWSCloudFormationType() string { - return "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" +func (r *VerifiedAccessTrustProvider_DeviceOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_nativeapplicationoidcoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_nativeapplicationoidcoptions.go new file mode 100644 index 0000000000..53dc6486a2 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_nativeapplicationoidcoptions.go @@ -0,0 +1,72 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VerifiedAccessTrustProvider_NativeApplicationOidcOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html +type VerifiedAccessTrustProvider_NativeApplicationOidcOptions struct { + + // AuthorizationEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-authorizationendpoint + AuthorizationEndpoint *types.Value `json:"AuthorizationEndpoint,omitempty"` + + // ClientId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-clientid + ClientId *types.Value `json:"ClientId,omitempty"` + + // ClientSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-clientsecret + ClientSecret *types.Value `json:"ClientSecret,omitempty"` + + // Issuer AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-issuer + Issuer *types.Value `json:"Issuer,omitempty"` + + // PublicSigningKeyEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-publicsigningkeyendpoint + PublicSigningKeyEndpoint *types.Value `json:"PublicSigningKeyEndpoint,omitempty"` + + // Scope AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-scope + Scope *types.Value `json:"Scope,omitempty"` + + // TokenEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-tokenendpoint + TokenEndpoint *types.Value `json:"TokenEndpoint,omitempty"` + + // UserInfoEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-nativeapplicationoidcoptions-userinfoendpoint + UserInfoEndpoint *types.Value `json:"UserInfoEndpoint,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 *VerifiedAccessTrustProvider_NativeApplicationOidcOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions" +} diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_oidcoptions.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_oidcoptions.go new file mode 100644 index 0000000000..35d5c1225f --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_oidcoptions.go @@ -0,0 +1,67 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VerifiedAccessTrustProvider_OidcOptions AWS CloudFormation Resource (AWS::EC2::VerifiedAccessTrustProvider.OidcOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html +type VerifiedAccessTrustProvider_OidcOptions struct { + + // AuthorizationEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-authorizationendpoint + AuthorizationEndpoint *types.Value `json:"AuthorizationEndpoint,omitempty"` + + // ClientId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-clientid + ClientId *types.Value `json:"ClientId,omitempty"` + + // ClientSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-clientsecret + ClientSecret *types.Value `json:"ClientSecret,omitempty"` + + // Issuer AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-issuer + Issuer *types.Value `json:"Issuer,omitempty"` + + // Scope AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-scope + Scope *types.Value `json:"Scope,omitempty"` + + // TokenEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-tokenendpoint + TokenEndpoint *types.Value `json:"TokenEndpoint,omitempty"` + + // UserInfoEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-userinfoendpoint + UserInfoEndpoint *types.Value `json:"UserInfoEndpoint,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 *VerifiedAccessTrustProvider_OidcOptions) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessTrustProvider.OidcOptions" +} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_jobbookmarksencryption.go b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_ssespecification.go similarity index 61% rename from pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_jobbookmarksencryption.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_ssespecification.go index 4074eab48c..2772defcfd 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_jobbookmarksencryption.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-verifiedaccesstrustprovider_ssespecification.go @@ -1,4 +1,4 @@ -package glue +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SecurityConfiguration_JobBookmarksEncryption AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration.JobBookmarksEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html -type SecurityConfiguration_JobBookmarksEncryption struct { +// VerifiedAccessTrustProvider_SseSpecification AWS CloudFormation Resource (AWS::EC2::VerifiedAccessTrustProvider.SseSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-ssespecification.html +type VerifiedAccessTrustProvider_SseSpecification struct { - // JobBookmarksEncryptionMode AWS CloudFormation Property + // CustomerManagedKeyEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html#cfn-glue-securityconfiguration-jobbookmarksencryption-jobbookmarksencryptionmode - JobBookmarksEncryptionMode *types.Value `json:"JobBookmarksEncryptionMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-ssespecification.html#cfn-ec2-verifiedaccesstrustprovider-ssespecification-customermanagedkeyenabled + CustomerManagedKeyEnabled *types.Value `json:"CustomerManagedKeyEnabled,omitempty"` // KmsKeyArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-jobbookmarksencryption.html#cfn-glue-securityconfiguration-jobbookmarksencryption-kmskeyarn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-ssespecification.html#cfn-ec2-verifiedaccesstrustprovider-ssespecification-kmskeyarn KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type SecurityConfiguration_JobBookmarksEncryption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SecurityConfiguration_JobBookmarksEncryption) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration.JobBookmarksEncryption" +func (r *VerifiedAccessTrustProvider_SseSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VerifiedAccessTrustProvider.SseSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-volume.go b/pkg/goformation/cloudformation/ec2/aws-ec2-volume.go index bec366c008..d1a7a44fa4 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-volume.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-volume.go @@ -12,67 +12,67 @@ import ( ) // Volume AWS CloudFormation Resource (AWS::EC2::Volume) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html type Volume struct { // AutoEnableIO AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-autoenableio + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-autoenableio AutoEnableIO *types.Value `json:"AutoEnableIO,omitempty"` // AvailabilityZone AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-availabilityzone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` // Encrypted AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-encrypted + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-encrypted Encrypted *types.Value `json:"Encrypted,omitempty"` // Iops AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-iops + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-iops Iops *types.Value `json:"Iops,omitempty"` // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` // MultiAttachEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-multiattachenabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-multiattachenabled MultiAttachEnabled *types.Value `json:"MultiAttachEnabled,omitempty"` // OutpostArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-outpostarn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-outpostarn OutpostArn *types.Value `json:"OutpostArn,omitempty"` // Size AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-size + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-size Size *types.Value `json:"Size,omitempty"` // SnapshotId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-snapshotid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-snapshotid SnapshotId *types.Value `json:"SnapshotId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // Throughput AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-throughput + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-throughput Throughput *types.Value `json:"Throughput,omitempty"` // VolumeType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-volumetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-volumetype VolumeType *types.Value `json:"VolumeType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-volumeattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-volumeattachment.go index e83d19445c..8adefee9bf 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-volumeattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-volumeattachment.go @@ -11,22 +11,22 @@ import ( ) // VolumeAttachment AWS CloudFormation Resource (AWS::EC2::VolumeAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html type VolumeAttachment struct { // Device AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-device + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html#cfn-ec2-volumeattachment-device Device *types.Value `json:"Device,omitempty"` // InstanceId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-instanceid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html#cfn-ec2-volumeattachment-instanceid InstanceId *types.Value `json:"InstanceId,omitempty"` // VolumeId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-volumeid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html#cfn-ec2-volumeattachment-volumeid VolumeId *types.Value `json:"VolumeId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpc.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpc.go index bc2c2070a4..8880967fe9 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpc.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpc.go @@ -16,28 +16,38 @@ import ( type VPC struct { // CidrBlock AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-cidrblock + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-cidrblock CidrBlock *types.Value `json:"CidrBlock,omitempty"` // EnableDnsHostnames AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-EnableDnsHostnames + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-enablednshostnames EnableDnsHostnames *types.Value `json:"EnableDnsHostnames,omitempty"` // EnableDnsSupport AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-EnableDnsSupport + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-enablednssupport EnableDnsSupport *types.Value `json:"EnableDnsSupport,omitempty"` // InstanceTenancy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-instancetenancy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-instancetenancy InstanceTenancy *types.Value `json:"InstanceTenancy,omitempty"` + // Ipv4IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-ipv4ipampoolid + Ipv4IpamPoolId *types.Value `json:"Ipv4IpamPoolId,omitempty"` + + // Ipv4NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-ipv4netmasklength + Ipv4NetmaskLength *types.Value `json:"Ipv4NetmaskLength,omitempty"` + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-ec2-vpc-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessexclusion.go similarity index 73% rename from pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessexclusion.go index 5149146b0c..2e59c306e5 100644 --- a/pkg/goformation/cloudformation/accessanalyzer/aws-accessanalyzer-analyzer.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessexclusion.go @@ -1,4 +1,4 @@ -package accessanalyzer +package ec2 import ( "bytes" @@ -11,29 +11,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Analyzer AWS CloudFormation Resource (AWS::AccessAnalyzer::Analyzer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html -type Analyzer struct { +// VPCBlockPublicAccessExclusion AWS CloudFormation Resource (AWS::EC2::VPCBlockPublicAccessExclusion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html +type VPCBlockPublicAccessExclusion struct { - // AnalyzerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-analyzername - AnalyzerName *types.Value `json:"AnalyzerName,omitempty"` + // InternetGatewayExclusionMode AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-internetgatewayexclusionmode + InternetGatewayExclusionMode *types.Value `json:"InternetGatewayExclusionMode,omitempty"` - // ArchiveRules AWS CloudFormation Property + // SubnetId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-archiverules - ArchiveRules []Analyzer_ArchiveRule `json:"ArchiveRules,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-subnetid + SubnetId *types.Value `json:"SubnetId,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-type - Type *types.Value `json:"Type,omitempty"` + // VpcId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.html#cfn-ec2-vpcblockpublicaccessexclusion-vpcid + VpcId *types.Value `json:"VpcId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,14 +52,14 @@ type Analyzer struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Analyzer) AWSCloudFormationType() string { - return "AWS::AccessAnalyzer::Analyzer" +func (r *VPCBlockPublicAccessExclusion) AWSCloudFormationType() string { + return "AWS::EC2::VPCBlockPublicAccessExclusion" } // 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 (r Analyzer) MarshalJSON() ([]byte, error) { - type Properties Analyzer +func (r VPCBlockPublicAccessExclusion) MarshalJSON() ([]byte, error) { + type Properties VPCBlockPublicAccessExclusion return json.Marshal(&struct { Type string Properties Properties @@ -81,8 +81,8 @@ func (r Analyzer) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Analyzer) UnmarshalJSON(b []byte) error { - type Properties Analyzer +func (r *VPCBlockPublicAccessExclusion) UnmarshalJSON(b []byte) error { + type Properties VPCBlockPublicAccessExclusion res := &struct { Type string Properties *Properties @@ -103,7 +103,7 @@ func (r *Analyzer) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Analyzer(*res.Properties) + *r = VPCBlockPublicAccessExclusion(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/sdb/aws-sdb-domain.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessoptions.go similarity index 80% rename from pkg/goformation/cloudformation/sdb/aws-sdb-domain.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessoptions.go index a1ce19ec66..b59546a84c 100644 --- a/pkg/goformation/cloudformation/sdb/aws-sdb-domain.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcblockpublicaccessoptions.go @@ -1,4 +1,4 @@ -package sdb +package ec2 import ( "bytes" @@ -10,14 +10,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Domain AWS CloudFormation Resource (AWS::SDB::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html -type Domain struct { +// VPCBlockPublicAccessOptions AWS CloudFormation Resource (AWS::EC2::VPCBlockPublicAccessOptions) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html +type VPCBlockPublicAccessOptions struct { - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-simpledb.html#cfn-sdb-domain-description - Description *types.Value `json:"Description,omitempty"` + // InternetGatewayBlockMode AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessoptions.html#cfn-ec2-vpcblockpublicaccessoptions-internetgatewayblockmode + InternetGatewayBlockMode *types.Value `json:"InternetGatewayBlockMode,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -36,14 +36,14 @@ type Domain struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Domain) AWSCloudFormationType() string { - return "AWS::SDB::Domain" +func (r *VPCBlockPublicAccessOptions) AWSCloudFormationType() string { + return "AWS::EC2::VPCBlockPublicAccessOptions" } // 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain +func (r VPCBlockPublicAccessOptions) MarshalJSON() ([]byte, error) { + type Properties VPCBlockPublicAccessOptions return json.Marshal(&struct { Type string Properties Properties @@ -65,8 +65,8 @@ func (r Domain) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain +func (r *VPCBlockPublicAccessOptions) UnmarshalJSON(b []byte) error { + type Properties VPCBlockPublicAccessOptions res := &struct { Type string Properties *Properties @@ -87,7 +87,7 @@ func (r *Domain) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Domain(*res.Properties) + *r = VPCBlockPublicAccessOptions(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpccidrblock.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpccidrblock.go index 49d2f5e1ee..afef9af09a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpccidrblock.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpccidrblock.go @@ -24,11 +24,36 @@ type VPCCidrBlock struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-cidrblock CidrBlock *types.Value `json:"CidrBlock,omitempty"` + // Ipv4IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv4ipampoolid + Ipv4IpamPoolId *types.Value `json:"Ipv4IpamPoolId,omitempty"` + + // Ipv4NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv4netmasklength + Ipv4NetmaskLength *types.Value `json:"Ipv4NetmaskLength,omitempty"` + // Ipv6CidrBlock AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6cidrblock Ipv6CidrBlock *types.Value `json:"Ipv6CidrBlock,omitempty"` + // Ipv6CidrBlockNetworkBorderGroup AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6cidrblocknetworkbordergroup + Ipv6CidrBlockNetworkBorderGroup *types.Value `json:"Ipv6CidrBlockNetworkBorderGroup,omitempty"` + + // Ipv6IpamPoolId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6ipampoolid + Ipv6IpamPoolId *types.Value `json:"Ipv6IpamPoolId,omitempty"` + + // Ipv6NetmaskLength AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6netmasklength + Ipv6NetmaskLength *types.Value `json:"Ipv6NetmaskLength,omitempty"` + // Ipv6Pool AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html#cfn-ec2-vpccidrblock-ipv6pool diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint.go index 3b9f093468..940b1286ce 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -14,6 +15,16 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html type VPCEndpoint struct { + // DnsOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-dnsoptions + DnsOptions *VPCEndpoint_DnsOptionsSpecification `json:"DnsOptions,omitempty"` + + // IpAddressType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-ipaddresstype + IpAddressType *types.Value `json:"IpAddressType,omitempty"` + // PolicyDocument AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-policydocument @@ -24,6 +35,11 @@ type VPCEndpoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-privatednsenabled PrivateDnsEnabled *types.Value `json:"PrivateDnsEnabled,omitempty"` + // ResourceConfigurationArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-resourceconfigurationarn + ResourceConfigurationArn *types.Value `json:"ResourceConfigurationArn,omitempty"` + // RouteTableIds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-routetableids @@ -35,15 +51,25 @@ type VPCEndpoint struct { SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` // ServiceName AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-servicename ServiceName *types.Value `json:"ServiceName,omitempty"` + // ServiceNetworkArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-servicenetworkarn + ServiceNetworkArn *types.Value `json:"ServiceNetworkArn,omitempty"` + // SubnetIds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-subnetids SubnetIds *types.Value `json:"SubnetIds,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // VpcEndpointType AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-vpcendpointtype diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_stringparameter.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint_dnsoptionsspecification.go similarity index 57% rename from pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_stringparameter.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint_dnsoptionsspecification.go index 6e0eba486b..db674aaca9 100644 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_stringparameter.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpoint_dnsoptionsspecification.go @@ -1,4 +1,4 @@ -package quicksight +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Analysis_StringParameter AWS CloudFormation Resource (AWS::QuickSight::Analysis.StringParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-stringparameter.html -type Analysis_StringParameter struct { +// VPCEndpoint_DnsOptionsSpecification AWS CloudFormation Resource (AWS::EC2::VPCEndpoint.DnsOptionsSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpcendpoint-dnsoptionsspecification.html +type VPCEndpoint_DnsOptionsSpecification struct { - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-stringparameter.html#cfn-quicksight-analysis-stringparameter-name - Name *types.Value `json:"Name,omitempty"` + // DnsRecordIpType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpcendpoint-dnsoptionsspecification.html#cfn-ec2-vpcendpoint-dnsoptionsspecification-dnsrecordiptype + DnsRecordIpType *types.Value `json:"DnsRecordIpType,omitempty"` - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-stringparameter.html#cfn-quicksight-analysis-stringparameter-values - Values *types.Value `json:"Values,omitempty"` + // PrivateDnsOnlyForInboundResolverEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpcendpoint-dnsoptionsspecification.html#cfn-ec2-vpcendpoint-dnsoptionsspecification-privatednsonlyforinboundresolverendpoint + PrivateDnsOnlyForInboundResolverEndpoint *types.Value `json:"PrivateDnsOnlyForInboundResolverEndpoint,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Analysis_StringParameter struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Analysis_StringParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.StringParameter" +func (r *VPCEndpoint_DnsOptionsSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VPCEndpoint.DnsOptionsSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpointservice.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpointservice.go index f5099a21f5..29bf6c42ca 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpointservice.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcendpointservice.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -19,6 +20,11 @@ type VPCEndpointService struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-acceptancerequired AcceptanceRequired *types.Value `json:"AcceptanceRequired,omitempty"` + // ContributorInsightsEnabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-contributorinsightsenabled + ContributorInsightsEnabled *types.Value `json:"ContributorInsightsEnabled,omitempty"` + // GatewayLoadBalancerArns AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-gatewayloadbalancerarns @@ -29,6 +35,16 @@ type VPCEndpointService struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-networkloadbalancerarns NetworkLoadBalancerArns *types.Value `json:"NetworkLoadBalancerArns,omitempty"` + // PayerResponsibility AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-payerresponsibility + PayerResponsibility *types.Value `json:"PayerResponsibility,omitempty"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcgatewayattachment.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcgatewayattachment.go index 77a53090b3..5b839fad58 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpcgatewayattachment.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpcgatewayattachment.go @@ -11,22 +11,22 @@ import ( ) // VPCGatewayAttachment AWS CloudFormation Resource (AWS::EC2::VPCGatewayAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html type VPCGatewayAttachment struct { // InternetGatewayId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-internetgatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-internetgatewayid InternetGatewayId *types.Value `json:"InternetGatewayId,omitempty"` // VpcId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpcid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-vpcid VpcId *types.Value `json:"VpcId,omitempty"` // VpnGatewayId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpngatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-vpngatewayid VpnGatewayId *types.Value `json:"VpnGatewayId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection.go index 460bb83d81..989decf725 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection.go @@ -12,42 +12,82 @@ import ( ) // VPNConnection AWS CloudFormation Resource (AWS::EC2::VPNConnection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html type VPNConnection struct { // CustomerGatewayId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-customergatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-customergatewayid CustomerGatewayId *types.Value `json:"CustomerGatewayId,omitempty"` + // EnableAcceleration AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-enableacceleration + EnableAcceleration *types.Value `json:"EnableAcceleration,omitempty"` + + // LocalIpv4NetworkCidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-localipv4networkcidr + LocalIpv4NetworkCidr *types.Value `json:"LocalIpv4NetworkCidr,omitempty"` + + // LocalIpv6NetworkCidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-localipv6networkcidr + LocalIpv6NetworkCidr *types.Value `json:"LocalIpv6NetworkCidr,omitempty"` + + // OutsideIpAddressType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-outsideipaddresstype + OutsideIpAddressType *types.Value `json:"OutsideIpAddressType,omitempty"` + + // RemoteIpv4NetworkCidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-remoteipv4networkcidr + RemoteIpv4NetworkCidr *types.Value `json:"RemoteIpv4NetworkCidr,omitempty"` + + // RemoteIpv6NetworkCidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-remoteipv6networkcidr + RemoteIpv6NetworkCidr *types.Value `json:"RemoteIpv6NetworkCidr,omitempty"` + // StaticRoutesOnly AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-StaticRoutesOnly + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-staticroutesonly StaticRoutesOnly *types.Value `json:"StaticRoutesOnly,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // TransitGatewayId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-transitgatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-transitgatewayid TransitGatewayId *types.Value `json:"TransitGatewayId,omitempty"` + // TransportTransitGatewayAttachmentId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-transporttransitgatewayattachmentid + TransportTransitGatewayAttachmentId *types.Value `json:"TransportTransitGatewayAttachmentId,omitempty"` + + // TunnelInsideIpVersion AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-tunnelinsideipversion + TunnelInsideIpVersion *types.Value `json:"TunnelInsideIpVersion,omitempty"` + // Type AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-type + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-type Type *types.Value `json:"Type,omitempty"` // VpnGatewayId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-vpngatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-vpngatewayid VpnGatewayId *types.Value `json:"VpnGatewayId,omitempty"` // VpnTunnelOptionsSpecifications AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-vpntunneloptionsspecifications + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnection.html#cfn-ec2-vpnconnection-vpntunneloptionsspecifications VpnTunnelOptionsSpecifications []VPNConnection_VpnTunnelOptionsSpecification `json:"VpnTunnelOptionsSpecifications,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxcountrule.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_cloudwatchlogoptionsspecification.go similarity index 54% rename from pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxcountrule.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_cloudwatchlogoptionsspecification.go index 5a50ee2ec6..b13ea70eb2 100644 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxcountrule.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_cloudwatchlogoptionsspecification.go @@ -1,4 +1,4 @@ -package elasticbeanstalk +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Application_MaxCountRule AWS CloudFormation Resource (AWS::ElasticBeanstalk::Application.MaxCountRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html -type Application_MaxCountRule struct { +// VPNConnection_CloudwatchLogOptionsSpecification AWS CloudFormation Resource (AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html +type VPNConnection_CloudwatchLogOptionsSpecification struct { - // DeleteSourceFromS3 AWS CloudFormation Property + // LogEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-deletesourcefroms3 - DeleteSourceFromS3 *types.Value `json:"DeleteSourceFromS3,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-logenabled + LogEnabled *types.Value `json:"LogEnabled,omitempty"` - // Enabled AWS CloudFormation Property + // LogGroupArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-enabled - Enabled *types.Value `json:"Enabled,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-loggrouparn + LogGroupArn *types.Value `json:"LogGroupArn,omitempty"` - // MaxCount AWS CloudFormation Property + // LogOutputFormat AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxcountrule.html#cfn-elasticbeanstalk-application-maxcountrule-maxcount - MaxCount *types.Value `json:"MaxCount,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html#cfn-ec2-vpnconnection-cloudwatchlogoptionsspecification-logoutputformat + LogOutputFormat *types.Value `json:"LogOutputFormat,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type Application_MaxCountRule struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Application_MaxCountRule) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Application.MaxCountRule" +func (r *VPNConnection_CloudwatchLogOptionsSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification" } diff --git a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_resourcevalue.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_ikeversionsrequestlistvalue.go similarity index 70% rename from pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_resourcevalue.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_ikeversionsrequestlistvalue.go index 1c6401791c..6a2327d024 100644 --- a/pkg/goformation/cloudformation/config/aws-config-remediationconfiguration_resourcevalue.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_ikeversionsrequestlistvalue.go @@ -1,4 +1,4 @@ -package config +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,13 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RemediationConfiguration_ResourceValue AWS CloudFormation Resource (AWS::Config::RemediationConfiguration.ResourceValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-resourcevalue.html -type RemediationConfiguration_ResourceValue struct { +// VPNConnection_IKEVersionsRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.IKEVersionsRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-ikeversionsrequestlistvalue.html +type VPNConnection_IKEVersionsRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-resourcevalue.html#cfn-config-remediationconfiguration-resourcevalue-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-ikeversionsrequestlistvalue.html#cfn-ec2-vpnconnection-ikeversionsrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -32,6 +32,6 @@ type RemediationConfiguration_ResourceValue struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RemediationConfiguration_ResourceValue) AWSCloudFormationType() string { - return "AWS::Config::RemediationConfiguration.ResourceValue" +func (r *VPNConnection_IKEVersionsRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.IKEVersionsRequestListValue" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_scale.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1dhgroupnumbersrequestlistvalue.go similarity index 67% rename from pkg/goformation/cloudformation/ecs/aws-ecs-taskset_scale.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1dhgroupnumbersrequestlistvalue.go index d4e42b5cb1..fca3d61fbc 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_scale.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1dhgroupnumbersrequestlistvalue.go @@ -1,4 +1,4 @@ -package ecs +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TaskSet_Scale AWS CloudFormation Resource (AWS::ECS::TaskSet.Scale) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-scale.html -type TaskSet_Scale struct { - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-scale.html#cfn-ecs-taskset-scale-unit - Unit *types.Value `json:"Unit,omitempty"` +// VPNConnection_Phase1DHGroupNumbersRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue.html +type VPNConnection_Phase1DHGroupNumbersRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-scale.html#cfn-ecs-taskset-scale-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue.html#cfn-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +32,6 @@ type TaskSet_Scale struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TaskSet_Scale) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet.Scale" +func (r *VPNConnection_Phase1DHGroupNumbersRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue" } diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment_tags.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1encryptionalgorithmsrequestlistvalue.go similarity index 65% rename from pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment_tags.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1encryptionalgorithmsrequestlistvalue.go index b90113a2fc..813dfb950e 100644 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-deployment_tags.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1encryptionalgorithmsrequestlistvalue.go @@ -1,4 +1,4 @@ -package appconfig +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Deployment_Tags AWS CloudFormation Resource (AWS::AppConfig::Deployment.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deployment-tags.html -type Deployment_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deployment-tags.html#cfn-appconfig-deployment-tags-key - Key *types.Value `json:"Key,omitempty"` +// VPNConnection_Phase1EncryptionAlgorithmsRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1encryptionalgorithmsrequestlistvalue.html +type VPNConnection_Phase1EncryptionAlgorithmsRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deployment-tags.html#cfn-appconfig-deployment-tags-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1encryptionalgorithmsrequestlistvalue.html#cfn-ec2-vpnconnection-phase1encryptionalgorithmsrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +32,6 @@ type Deployment_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Deployment_Tags) AWSCloudFormationType() string { - return "AWS::AppConfig::Deployment.Tags" +func (r *VPNConnection_Phase1EncryptionAlgorithmsRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue" } diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-application_tags.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1integrityalgorithmsrequestlistvalue.go similarity index 65% rename from pkg/goformation/cloudformation/appconfig/aws-appconfig-application_tags.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1integrityalgorithmsrequestlistvalue.go index e407a55b3a..6dc8430670 100644 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-application_tags.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase1integrityalgorithmsrequestlistvalue.go @@ -1,4 +1,4 @@ -package appconfig +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Application_Tags AWS CloudFormation Resource (AWS::AppConfig::Application.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html -type Application_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html#cfn-appconfig-application-tags-key - Key *types.Value `json:"Key,omitempty"` +// VPNConnection_Phase1IntegrityAlgorithmsRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1integrityalgorithmsrequestlistvalue.html +type VPNConnection_Phase1IntegrityAlgorithmsRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html#cfn-appconfig-application-tags-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1integrityalgorithmsrequestlistvalue.html#cfn-ec2-vpnconnection-phase1integrityalgorithmsrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +32,6 @@ type Application_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Application_Tags) AWSCloudFormationType() string { - return "AWS::AppConfig::Application.Tags" +func (r *VPNConnection_Phase1IntegrityAlgorithmsRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue" } diff --git a/pkg/goformation/cloudformation/fms/aws-fms-policy_resourcetag.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2dhgroupnumbersrequestlistvalue.go similarity index 67% rename from pkg/goformation/cloudformation/fms/aws-fms-policy_resourcetag.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2dhgroupnumbersrequestlistvalue.go index 39ec01df6b..853c9989a5 100644 --- a/pkg/goformation/cloudformation/fms/aws-fms-policy_resourcetag.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2dhgroupnumbersrequestlistvalue.go @@ -1,4 +1,4 @@ -package fms +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Policy_ResourceTag AWS CloudFormation Resource (AWS::FMS::Policy.ResourceTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html -type Policy_ResourceTag struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html#cfn-fms-policy-resourcetag-key - Key *types.Value `json:"Key,omitempty"` +// VPNConnection_Phase2DHGroupNumbersRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2dhgroupnumbersrequestlistvalue.html +type VPNConnection_Phase2DHGroupNumbersRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-resourcetag.html#cfn-fms-policy-resourcetag-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2dhgroupnumbersrequestlistvalue.html#cfn-ec2-vpnconnection-phase2dhgroupnumbersrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +32,6 @@ type Policy_ResourceTag struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Policy_ResourceTag) AWSCloudFormationType() string { - return "AWS::FMS::Policy.ResourceTag" +func (r *VPNConnection_Phase2DHGroupNumbersRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2encryptionalgorithmsrequestlistvalue.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2encryptionalgorithmsrequestlistvalue.go new file mode 100644 index 0000000000..28b8782401 --- /dev/null +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2encryptionalgorithmsrequestlistvalue.go @@ -0,0 +1,37 @@ +package ec2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// VPNConnection_Phase2EncryptionAlgorithmsRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2encryptionalgorithmsrequestlistvalue.html +type VPNConnection_Phase2EncryptionAlgorithmsRequestListValue struct { + + // Value AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2encryptionalgorithmsrequestlistvalue.html#cfn-ec2-vpnconnection-phase2encryptionalgorithmsrequestlistvalue-value + Value *types.Value `json:"Value,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 *VPNConnection_Phase2EncryptionAlgorithmsRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue" +} diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_tags.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2integrityalgorithmsrequestlistvalue.go similarity index 65% rename from pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_tags.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2integrityalgorithmsrequestlistvalue.go index 23e73462a9..df783874e7 100644 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-environment_tags.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_phase2integrityalgorithmsrequestlistvalue.go @@ -1,4 +1,4 @@ -package appconfig +package ec2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Environment_Tags AWS CloudFormation Resource (AWS::AppConfig::Environment.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-tags.html -type Environment_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-tags.html#cfn-appconfig-environment-tags-key - Key *types.Value `json:"Key,omitempty"` +// VPNConnection_Phase2IntegrityAlgorithmsRequestListValue AWS CloudFormation Resource (AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2integrityalgorithmsrequestlistvalue.html +type VPNConnection_Phase2IntegrityAlgorithmsRequestListValue struct { // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-tags.html#cfn-appconfig-environment-tags-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2integrityalgorithmsrequestlistvalue.html#cfn-ec2-vpnconnection-phase2integrityalgorithmsrequestlistvalue-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +32,6 @@ type Environment_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Environment_Tags) AWSCloudFormationType() string { - return "AWS::AppConfig::Environment.Tags" +func (r *VPNConnection_Phase2IntegrityAlgorithmsRequestListValue) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue" } diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_machinelearningdetectionconfig.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunnellogoptionsspecification.go similarity index 59% rename from pkg/goformation/cloudformation/iot/aws-iot-securityprofile_machinelearningdetectionconfig.go rename to pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunnellogoptionsspecification.go index 0924cc85e8..881ec8b753 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_machinelearningdetectionconfig.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunnellogoptionsspecification.go @@ -1,19 +1,17 @@ -package iot +package ec2 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SecurityProfile_MachineLearningDetectionConfig AWS CloudFormation Resource (AWS::IoT::SecurityProfile.MachineLearningDetectionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-machinelearningdetectionconfig.html -type SecurityProfile_MachineLearningDetectionConfig struct { +// VPNConnection_VpnTunnelLogOptionsSpecification AWS CloudFormation Resource (AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunnellogoptionsspecification.html +type VPNConnection_VpnTunnelLogOptionsSpecification struct { - // ConfidenceLevel AWS CloudFormation Property + // CloudwatchLogOptions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-machinelearningdetectionconfig.html#cfn-iot-securityprofile-machinelearningdetectionconfig-confidencelevel - ConfidenceLevel *types.Value `json:"ConfidenceLevel,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunnellogoptionsspecification.html#cfn-ec2-vpnconnection-vpntunnellogoptionsspecification-cloudwatchlogoptions + CloudwatchLogOptions *VPNConnection_CloudwatchLogOptionsSpecification `json:"CloudwatchLogOptions,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type SecurityProfile_MachineLearningDetectionConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SecurityProfile_MachineLearningDetectionConfig) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.MachineLearningDetectionConfig" +func (r *VPNConnection_VpnTunnelLogOptionsSpecification) AWSCloudFormationType() string { + return "AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification" } diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunneloptionsspecification.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunneloptionsspecification.go index e4d78628a2..27febc7d5e 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunneloptionsspecification.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnection_vpntunneloptionsspecification.go @@ -10,16 +10,106 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html type VPNConnection_VpnTunnelOptionsSpecification struct { + // DPDTimeoutAction AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-dpdtimeoutaction + DPDTimeoutAction *types.Value `json:"DPDTimeoutAction,omitempty"` + + // DPDTimeoutSeconds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-dpdtimeoutseconds + DPDTimeoutSeconds *types.Value `json:"DPDTimeoutSeconds,omitempty"` + + // EnableTunnelLifecycleControl AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-enabletunnellifecyclecontrol + EnableTunnelLifecycleControl *types.Value `json:"EnableTunnelLifecycleControl,omitempty"` + + // IKEVersions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-ikeversions + IKEVersions []VPNConnection_IKEVersionsRequestListValue `json:"IKEVersions,omitempty"` + + // LogOptions AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-logoptions + LogOptions *VPNConnection_VpnTunnelLogOptionsSpecification `json:"LogOptions,omitempty"` + + // Phase1DHGroupNumbers AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase1dhgroupnumbers + Phase1DHGroupNumbers []VPNConnection_Phase1DHGroupNumbersRequestListValue `json:"Phase1DHGroupNumbers,omitempty"` + + // Phase1EncryptionAlgorithms AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase1encryptionalgorithms + Phase1EncryptionAlgorithms []VPNConnection_Phase1EncryptionAlgorithmsRequestListValue `json:"Phase1EncryptionAlgorithms,omitempty"` + + // Phase1IntegrityAlgorithms AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase1integrityalgorithms + Phase1IntegrityAlgorithms []VPNConnection_Phase1IntegrityAlgorithmsRequestListValue `json:"Phase1IntegrityAlgorithms,omitempty"` + + // Phase1LifetimeSeconds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase1lifetimeseconds + Phase1LifetimeSeconds *types.Value `json:"Phase1LifetimeSeconds,omitempty"` + + // Phase2DHGroupNumbers AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase2dhgroupnumbers + Phase2DHGroupNumbers []VPNConnection_Phase2DHGroupNumbersRequestListValue `json:"Phase2DHGroupNumbers,omitempty"` + + // Phase2EncryptionAlgorithms AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase2encryptionalgorithms + Phase2EncryptionAlgorithms []VPNConnection_Phase2EncryptionAlgorithmsRequestListValue `json:"Phase2EncryptionAlgorithms,omitempty"` + + // Phase2IntegrityAlgorithms AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase2integrityalgorithms + Phase2IntegrityAlgorithms []VPNConnection_Phase2IntegrityAlgorithmsRequestListValue `json:"Phase2IntegrityAlgorithms,omitempty"` + + // Phase2LifetimeSeconds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-phase2lifetimeseconds + Phase2LifetimeSeconds *types.Value `json:"Phase2LifetimeSeconds,omitempty"` + // PreSharedKey AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-presharedkey PreSharedKey *types.Value `json:"PreSharedKey,omitempty"` + // RekeyFuzzPercentage AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-rekeyfuzzpercentage + RekeyFuzzPercentage *types.Value `json:"RekeyFuzzPercentage,omitempty"` + + // RekeyMarginTimeSeconds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-rekeymargintimeseconds + RekeyMarginTimeSeconds *types.Value `json:"RekeyMarginTimeSeconds,omitempty"` + + // ReplayWindowSize AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-replaywindowsize + ReplayWindowSize *types.Value `json:"ReplayWindowSize,omitempty"` + + // StartupAction AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-startupaction + StartupAction *types.Value `json:"StartupAction,omitempty"` + // TunnelInsideCidr AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-tunnelinsidecidr TunnelInsideCidr *types.Value `json:"TunnelInsideCidr,omitempty"` + // TunnelInsideIpv6Cidr AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html#cfn-ec2-vpnconnection-vpntunneloptionsspecification-tunnelinsideipv6cidr + TunnelInsideIpv6Cidr *types.Value `json:"TunnelInsideIpv6Cidr,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnectionroute.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnectionroute.go index bea1855052..cbb28446b3 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnectionroute.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpnconnectionroute.go @@ -11,17 +11,17 @@ import ( ) // VPNConnectionRoute AWS CloudFormation Resource (AWS::EC2::VPNConnectionRoute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection-route.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html type VPNConnectionRoute struct { // DestinationCidrBlock AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection-route.html#cfn-ec2-vpnconnectionroute-cidrblock + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-destinationcidrblock DestinationCidrBlock *types.Value `json:"DestinationCidrBlock,omitempty"` // VpnConnectionId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection-route.html#cfn-ec2-vpnconnectionroute-connectionid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-vpnconnectionid VpnConnectionId *types.Value `json:"VpnConnectionId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpngateway.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpngateway.go index 583eb25b74..a0bb8aa28a 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpngateway.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpngateway.go @@ -12,22 +12,22 @@ import ( ) // VPNGateway AWS CloudFormation Resource (AWS::EC2::VPNGateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html type VPNGateway struct { // AmazonSideAsn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-amazonsideasn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html#cfn-ec2-vpngateway-amazonsideasn AmazonSideAsn *types.Value `json:"AmazonSideAsn,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html#cfn-ec2-vpngateway-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // Type AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gateway.html#cfn-ec2-vpngateway-type + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngateway.html#cfn-ec2-vpngateway-type Type *types.Value `json:"Type,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ec2/aws-ec2-vpngatewayroutepropagation.go b/pkg/goformation/cloudformation/ec2/aws-ec2-vpngatewayroutepropagation.go index 7f30b1ae14..e1045c6a47 100644 --- a/pkg/goformation/cloudformation/ec2/aws-ec2-vpngatewayroutepropagation.go +++ b/pkg/goformation/cloudformation/ec2/aws-ec2-vpngatewayroutepropagation.go @@ -11,17 +11,17 @@ import ( ) // VPNGatewayRoutePropagation AWS CloudFormation Resource (AWS::EC2::VPNGatewayRoutePropagation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gatewayrouteprop.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngatewayroutepropagation.html type VPNGatewayRoutePropagation struct { // RouteTableIds AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gatewayrouteprop.html#cfn-ec2-vpngatewayrouteprop-routetableids + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngatewayroutepropagation.html#cfn-ec2-vpngatewayroutepropagation-routetableids RouteTableIds *types.Value `json:"RouteTableIds,omitempty"` // VpnGatewayId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gatewayrouteprop.html#cfn-ec2-vpngatewayrouteprop-vpngatewayid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpngatewayroutepropagation.html#cfn-ec2-vpngatewayroutepropagation-vpngatewayid VpnGatewayId *types.Value `json:"VpnGatewayId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository.go b/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository.go index cee29d22fc..fdbcf97113 100644 --- a/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository.go +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository.go @@ -18,7 +18,7 @@ type PublicRepository struct { // RepositoryCatalogData AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorycatalogdata - RepositoryCatalogData interface{} `json:"RepositoryCatalogData,omitempty"` + RepositoryCatalogData *PublicRepository_RepositoryCatalogData `json:"RepositoryCatalogData,omitempty"` // RepositoryName AWS CloudFormation Property // Required: false diff --git a/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository_repositorycatalogdata.go b/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository_repositorycatalogdata.go new file mode 100644 index 0000000000..09ea260d62 --- /dev/null +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-publicrepository_repositorycatalogdata.go @@ -0,0 +1,57 @@ +package ecr + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// PublicRepository_RepositoryCatalogData AWS CloudFormation Resource (AWS::ECR::PublicRepository.RepositoryCatalogData) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html +type PublicRepository_RepositoryCatalogData struct { + + // AboutText AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html#cfn-ecr-publicrepository-repositorycatalogdata-abouttext + AboutText *types.Value `json:"AboutText,omitempty"` + + // Architectures AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html#cfn-ecr-publicrepository-repositorycatalogdata-architectures + Architectures *types.Value `json:"Architectures,omitempty"` + + // OperatingSystems AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html#cfn-ecr-publicrepository-repositorycatalogdata-operatingsystems + OperatingSystems *types.Value `json:"OperatingSystems,omitempty"` + + // RepositoryDescription AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html#cfn-ecr-publicrepository-repositorycatalogdata-repositorydescription + RepositoryDescription *types.Value `json:"RepositoryDescription,omitempty"` + + // UsageText AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-publicrepository-repositorycatalogdata.html#cfn-ecr-publicrepository-repositorycatalogdata-usagetext + UsageText *types.Value `json:"UsageText,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 *PublicRepository_RepositoryCatalogData) AWSCloudFormationType() string { + return "AWS::ECR::PublicRepository.RepositoryCatalogData" +} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-group.go b/pkg/goformation/cloudformation/ecr/aws-ecr-pullthroughcacherule.go similarity index 72% rename from pkg/goformation/cloudformation/xray/aws-xray-group.go rename to pkg/goformation/cloudformation/ecr/aws-ecr-pullthroughcacherule.go index 1d266ba4c3..c2caa0346f 100644 --- a/pkg/goformation/cloudformation/xray/aws-xray-group.go +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-pullthroughcacherule.go @@ -1,4 +1,4 @@ -package xray +package ecr import ( "bytes" @@ -10,29 +10,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Group AWS CloudFormation Resource (AWS::XRay::Group) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html -type Group struct { +// PullThroughCacheRule AWS CloudFormation Resource (AWS::ECR::PullThroughCacheRule) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-pullthroughcacherule.html +type PullThroughCacheRule struct { - // FilterExpression AWS CloudFormation Property + // CredentialArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-filterexpression - FilterExpression *types.Value `json:"FilterExpression,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-pullthroughcacherule.html#cfn-ecr-pullthroughcacherule-credentialarn + CredentialArn *types.Value `json:"CredentialArn,omitempty"` - // GroupName AWS CloudFormation Property + // EcrRepositoryPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-groupname - GroupName *types.Value `json:"GroupName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-pullthroughcacherule.html#cfn-ecr-pullthroughcacherule-ecrrepositoryprefix + EcrRepositoryPrefix *types.Value `json:"EcrRepositoryPrefix,omitempty"` - // InsightsConfiguration AWS CloudFormation Property + // UpstreamRegistry AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-insightsconfiguration - InsightsConfiguration *Group_InsightsConfiguration `json:"InsightsConfiguration,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-pullthroughcacherule.html#cfn-ecr-pullthroughcacherule-upstreamregistry + UpstreamRegistry *types.Value `json:"UpstreamRegistry,omitempty"` - // Tags AWS CloudFormation Property + // UpstreamRegistryUrl AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-group.html#cfn-xray-group-tags - Tags []interface{} `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-pullthroughcacherule.html#cfn-ecr-pullthroughcacherule-upstreamregistryurl + UpstreamRegistryUrl *types.Value `json:"UpstreamRegistryUrl,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -51,14 +51,14 @@ type Group struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Group) AWSCloudFormationType() string { - return "AWS::XRay::Group" +func (r *PullThroughCacheRule) AWSCloudFormationType() string { + return "AWS::ECR::PullThroughCacheRule" } // 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 (r Group) MarshalJSON() ([]byte, error) { - type Properties Group +func (r PullThroughCacheRule) MarshalJSON() ([]byte, error) { + type Properties PullThroughCacheRule return json.Marshal(&struct { Type string Properties Properties @@ -80,8 +80,8 @@ func (r Group) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Group) UnmarshalJSON(b []byte) error { - type Properties Group +func (r *PullThroughCacheRule) UnmarshalJSON(b []byte) error { + type Properties PullThroughCacheRule res := &struct { Type string Properties *Properties @@ -102,7 +102,7 @@ func (r *Group) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Group(*res.Properties) + *r = PullThroughCacheRule(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ecr/aws-ecr-repository.go b/pkg/goformation/cloudformation/ecr/aws-ecr-repository.go index 1e051b7a8b..6d025811ed 100644 --- a/pkg/goformation/cloudformation/ecr/aws-ecr-repository.go +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-repository.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html type Repository struct { + // EmptyOnDelete AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-emptyondelete + EmptyOnDelete *types.Value `json:"EmptyOnDelete,omitempty"` + // EncryptionConfiguration AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-encryptionconfiguration diff --git a/pkg/goformation/cloudformation/iot/aws-iot-jobtemplate.go b/pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate.go similarity index 63% rename from pkg/goformation/cloudformation/iot/aws-iot-jobtemplate.go rename to pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate.go index 94d431ce22..bb2bade0e0 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-jobtemplate.go +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate.go @@ -1,4 +1,4 @@ -package iot +package ecr import ( "bytes" @@ -11,59 +11,54 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// JobTemplate AWS CloudFormation Resource (AWS::IoT::JobTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html -type JobTemplate struct { +// RepositoryCreationTemplate AWS CloudFormation Resource (AWS::ECR::RepositoryCreationTemplate) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html +type RepositoryCreationTemplate struct { - // AbortConfig AWS CloudFormation Property + // AppliedFor AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-appliedfor + AppliedFor *types.Value `json:"AppliedFor,omitempty"` + + // CustomRoleArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-abortconfig - AbortConfig interface{} `json:"AbortConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-customrolearn + CustomRoleArn *types.Value `json:"CustomRoleArn,omitempty"` // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-description - Description *types.Value `json:"Description,omitempty"` - - // Document AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-document - Document *types.Value `json:"Document,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-description + Description *types.Value `json:"Description,omitempty"` - // DocumentSource AWS CloudFormation Property + // EncryptionConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-documentsource - DocumentSource *types.Value `json:"DocumentSource,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-encryptionconfiguration + EncryptionConfiguration *RepositoryCreationTemplate_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - // JobArn AWS CloudFormation Property + // ImageTagMutability AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobarn - JobArn *types.Value `json:"JobArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-imagetagmutability + ImageTagMutability *types.Value `json:"ImageTagMutability,omitempty"` - // JobExecutionsRolloutConfig AWS CloudFormation Property + // LifecyclePolicy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobexecutionsrolloutconfig - JobExecutionsRolloutConfig interface{} `json:"JobExecutionsRolloutConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-lifecyclepolicy + LifecyclePolicy *types.Value `json:"LifecyclePolicy,omitempty"` - // JobTemplateId AWS CloudFormation Property + // Prefix AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-jobtemplateid - JobTemplateId *types.Value `json:"JobTemplateId,omitempty"` - - // PresignedUrlConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-presignedurlconfig - PresignedUrlConfig interface{} `json:"PresignedUrlConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-prefix + Prefix *types.Value `json:"Prefix,omitempty"` - // Tags AWS CloudFormation Property + // RepositoryPolicy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-repositorypolicy + RepositoryPolicy *types.Value `json:"RepositoryPolicy,omitempty"` - // TimeoutConfig AWS CloudFormation Property + // ResourceTags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-jobtemplate.html#cfn-iot-jobtemplate-timeoutconfig - TimeoutConfig interface{} `json:"TimeoutConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repositorycreationtemplate.html#cfn-ecr-repositorycreationtemplate-resourcetags + ResourceTags []cloudformation.Tag `json:"ResourceTags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -82,14 +77,14 @@ type JobTemplate struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *JobTemplate) AWSCloudFormationType() string { - return "AWS::IoT::JobTemplate" +func (r *RepositoryCreationTemplate) AWSCloudFormationType() string { + return "AWS::ECR::RepositoryCreationTemplate" } // 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 (r JobTemplate) MarshalJSON() ([]byte, error) { - type Properties JobTemplate +func (r RepositoryCreationTemplate) MarshalJSON() ([]byte, error) { + type Properties RepositoryCreationTemplate return json.Marshal(&struct { Type string Properties Properties @@ -111,8 +106,8 @@ func (r JobTemplate) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *JobTemplate) UnmarshalJSON(b []byte) error { - type Properties JobTemplate +func (r *RepositoryCreationTemplate) UnmarshalJSON(b []byte) error { + type Properties RepositoryCreationTemplate res := &struct { Type string Properties *Properties @@ -133,7 +128,7 @@ func (r *JobTemplate) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = JobTemplate(*res.Properties) + *r = RepositoryCreationTemplate(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_encryptionspecification.go b/pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate_encryptionconfiguration.go similarity index 61% rename from pkg/goformation/cloudformation/cassandra/aws-cassandra-table_encryptionspecification.go rename to pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate_encryptionconfiguration.go index f699cfbcf3..24675c86a2 100644 --- a/pkg/goformation/cloudformation/cassandra/aws-cassandra-table_encryptionspecification.go +++ b/pkg/goformation/cloudformation/ecr/aws-ecr-repositorycreationtemplate_encryptionconfiguration.go @@ -1,4 +1,4 @@ -package cassandra +package ecr import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Table_EncryptionSpecification AWS CloudFormation Resource (AWS::Cassandra::Table.EncryptionSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-encryptionspecification.html -type Table_EncryptionSpecification struct { +// RepositoryCreationTemplate_EncryptionConfiguration AWS CloudFormation Resource (AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptionconfiguration.html +type RepositoryCreationTemplate_EncryptionConfiguration struct { // EncryptionType AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-encryptionspecification.html#cfn-cassandra-table-encryptionspecification-encryptiontype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptionconfiguration.html#cfn-ecr-repositorycreationtemplate-encryptionconfiguration-encryptiontype EncryptionType *types.Value `json:"EncryptionType,omitempty"` - // KmsKeyIdentifier AWS CloudFormation Property + // KmsKey AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-encryptionspecification.html#cfn-cassandra-table-encryptionspecification-kmskeyidentifier - KmsKeyIdentifier *types.Value `json:"KmsKeyIdentifier,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-encryptionconfiguration.html#cfn-ecr-repositorycreationtemplate-encryptionconfiguration-kmskey + KmsKey *types.Value `json:"KmsKey,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Table_EncryptionSpecification struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Table_EncryptionSpecification) AWSCloudFormationType() string { - return "AWS::Cassandra::Table.EncryptionSpecification" +func (r *RepositoryCreationTemplate_EncryptionConfiguration) AWSCloudFormationType() string { + return "AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider.go b/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider.go deleted file mode 100644 index bfd04c9563..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider.go +++ /dev/null @@ -1,119 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CapacityProvider AWS CloudFormation Resource (AWS::ECS::CapacityProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html -type CapacityProvider struct { - - // AutoScalingGroupProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider - AutoScalingGroupProvider *CapacityProvider_AutoScalingGroupProvider `json:"AutoScalingGroupProvider,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-capacityprovider.html#cfn-ecs-capacityprovider-tags - Tags []cloudformation.Tag `json:"Tags,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 *CapacityProvider) AWSCloudFormationType() string { - return "AWS::ECS::CapacityProvider" -} - -// 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 (r CapacityProvider) MarshalJSON() ([]byte, error) { - type Properties CapacityProvider - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CapacityProvider) UnmarshalJSON(b []byte) error { - type Properties CapacityProvider - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CapacityProvider(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_autoscalinggroupprovider.go b/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_autoscalinggroupprovider.go deleted file mode 100644 index 492f05ff9a..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_autoscalinggroupprovider.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CapacityProvider_AutoScalingGroupProvider AWS CloudFormation Resource (AWS::ECS::CapacityProvider.AutoScalingGroupProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html -type CapacityProvider_AutoScalingGroupProvider struct { - - // AutoScalingGroupArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider-autoscalinggrouparn - AutoScalingGroupArn *types.Value `json:"AutoScalingGroupArn,omitempty"` - - // ManagedScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider-managedscaling - ManagedScaling *CapacityProvider_ManagedScaling `json:"ManagedScaling,omitempty"` - - // ManagedTerminationProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autoscalinggroupprovider.html#cfn-ecs-capacityprovider-autoscalinggroupprovider-managedterminationprotection - ManagedTerminationProtection *types.Value `json:"ManagedTerminationProtection,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 *CapacityProvider_AutoScalingGroupProvider) AWSCloudFormationType() string { - return "AWS::ECS::CapacityProvider.AutoScalingGroupProvider" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_managedscaling.go b/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_managedscaling.go deleted file mode 100644 index 4783586c3d..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-capacityprovider_managedscaling.go +++ /dev/null @@ -1,57 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CapacityProvider_ManagedScaling AWS CloudFormation Resource (AWS::ECS::CapacityProvider.ManagedScaling) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html -type CapacityProvider_ManagedScaling struct { - - // InstanceWarmupPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-instancewarmupperiod - InstanceWarmupPeriod *types.Value `json:"InstanceWarmupPeriod,omitempty"` - - // MaximumScalingStepSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-maximumscalingstepsize - MaximumScalingStepSize *types.Value `json:"MaximumScalingStepSize,omitempty"` - - // MinimumScalingStepSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-minimumscalingstepsize - MinimumScalingStepSize *types.Value `json:"MinimumScalingStepSize,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-status - Status *types.Value `json:"Status,omitempty"` - - // TargetCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-targetcapacity - TargetCapacity *types.Value `json:"TargetCapacity,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 *CapacityProvider_ManagedScaling) AWSCloudFormationType() string { - return "AWS::ECS::CapacityProvider.ManagedScaling" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster.go deleted file mode 100644 index ca11ddc3de..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster.go +++ /dev/null @@ -1,134 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::ECS::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html -type Cluster struct { - - // CapacityProviders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-capacityproviders - CapacityProviders *types.Value `json:"CapacityProviders,omitempty"` - - // ClusterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // ClusterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-clustersettings - ClusterSettings []Cluster_ClusterSettings `json:"ClusterSettings,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-configuration - Configuration *Cluster_ClusterConfiguration `json:"Configuration,omitempty"` - - // DefaultCapacityProviderStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-defaultcapacityproviderstrategy - DefaultCapacityProviderStrategy []Cluster_CapacityProviderStrategyItem `json:"DefaultCapacityProviderStrategy,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-cluster.html#cfn-ecs-cluster-tags - Tags []cloudformation.Tag `json:"Tags,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 *Cluster) AWSCloudFormationType() string { - return "AWS::ECS::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_capacityproviderstrategyitem.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_capacityproviderstrategyitem.go deleted file mode 100644 index 7308cf1c98..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_capacityproviderstrategyitem.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_CapacityProviderStrategyItem AWS CloudFormation Resource (AWS::ECS::Cluster.CapacityProviderStrategyItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-capacityproviderstrategyitem.html -type Cluster_CapacityProviderStrategyItem struct { - - // Base AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-capacityproviderstrategyitem.html#cfn-ecs-cluster-capacityproviderstrategyitem-base - Base *types.Value `json:"Base,omitempty"` - - // CapacityProvider AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-capacityproviderstrategyitem.html#cfn-ecs-cluster-capacityproviderstrategyitem-capacityprovider - CapacityProvider *types.Value `json:"CapacityProvider,omitempty"` - - // Weight AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-capacityproviderstrategyitem.html#cfn-ecs-cluster-capacityproviderstrategyitem-weight - Weight *types.Value `json:"Weight,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 *Cluster_CapacityProviderStrategyItem) AWSCloudFormationType() string { - return "AWS::ECS::Cluster.CapacityProviderStrategyItem" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clusterconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clusterconfiguration.go deleted file mode 100644 index cfc615994e..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clusterconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ClusterConfiguration AWS CloudFormation Resource (AWS::ECS::Cluster.ClusterConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html -type Cluster_ClusterConfiguration struct { - - // ExecuteCommandConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clusterconfiguration.html#cfn-ecs-cluster-clusterconfiguration-executecommandconfiguration - ExecuteCommandConfiguration *Cluster_ExecuteCommandConfiguration `json:"ExecuteCommandConfiguration,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 *Cluster_ClusterConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Cluster.ClusterConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clustersettings.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clustersettings.go deleted file mode 100644 index 9c0a15568b..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_clustersettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ClusterSettings AWS CloudFormation Resource (AWS::ECS::Cluster.ClusterSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html -type Cluster_ClusterSettings struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html#cfn-ecs-cluster-clustersettings-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-clustersettings.html#cfn-ecs-cluster-clustersettings-value - Value *types.Value `json:"Value,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 *Cluster_ClusterSettings) AWSCloudFormationType() string { - return "AWS::ECS::Cluster.ClusterSettings" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandconfiguration.go deleted file mode 100644 index ac749a8388..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ExecuteCommandConfiguration AWS CloudFormation Resource (AWS::ECS::Cluster.ExecuteCommandConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html -type Cluster_ExecuteCommandConfiguration struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-logconfiguration - LogConfiguration *Cluster_ExecuteCommandLogConfiguration `json:"LogConfiguration,omitempty"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandconfiguration.html#cfn-ecs-cluster-executecommandconfiguration-logging - Logging *types.Value `json:"Logging,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 *Cluster_ExecuteCommandConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Cluster.ExecuteCommandConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandlogconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandlogconfiguration.go deleted file mode 100644 index e6578ecc39..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-cluster_executecommandlogconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ExecuteCommandLogConfiguration AWS CloudFormation Resource (AWS::ECS::Cluster.ExecuteCommandLogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html -type Cluster_ExecuteCommandLogConfiguration struct { - - // CloudWatchEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-cloudwatchencryptionenabled - CloudWatchEncryptionEnabled *types.Value `json:"CloudWatchEncryptionEnabled,omitempty"` - - // CloudWatchLogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-cloudwatchloggroupname - CloudWatchLogGroupName *types.Value `json:"CloudWatchLogGroupName,omitempty"` - - // S3BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3bucketname - S3BucketName *types.Value `json:"S3BucketName,omitempty"` - - // S3EncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3encryptionenabled - S3EncryptionEnabled *types.Value `json:"S3EncryptionEnabled,omitempty"` - - // S3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-executecommandlogconfiguration.html#cfn-ecs-cluster-executecommandlogconfiguration-s3keyprefix - S3KeyPrefix *types.Value `json:"S3KeyPrefix,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 *Cluster_ExecuteCommandLogConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Cluster.ExecuteCommandLogConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations.go b/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations.go deleted file mode 100644 index 0b4721907b..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations.go +++ /dev/null @@ -1,118 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterCapacityProviderAssociations AWS CloudFormation Resource (AWS::ECS::ClusterCapacityProviderAssociations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html -type ClusterCapacityProviderAssociations struct { - - // CapacityProviders AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html#cfn-ecs-clustercapacityproviderassociations-capacityproviders - CapacityProviders *types.Value `json:"CapacityProviders,omitempty"` - - // Cluster AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html#cfn-ecs-clustercapacityproviderassociations-cluster - Cluster *types.Value `json:"Cluster,omitempty"` - - // DefaultCapacityProviderStrategy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-clustercapacityproviderassociations.html#cfn-ecs-clustercapacityproviderassociations-defaultcapacityproviderstrategy - DefaultCapacityProviderStrategy []ClusterCapacityProviderAssociations_CapacityProviderStrategy `json:"DefaultCapacityProviderStrategy,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 *ClusterCapacityProviderAssociations) AWSCloudFormationType() string { - return "AWS::ECS::ClusterCapacityProviderAssociations" -} - -// 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 (r ClusterCapacityProviderAssociations) MarshalJSON() ([]byte, error) { - type Properties ClusterCapacityProviderAssociations - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClusterCapacityProviderAssociations) UnmarshalJSON(b []byte) error { - type Properties ClusterCapacityProviderAssociations - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClusterCapacityProviderAssociations(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations_capacityproviderstrategy.go b/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations_capacityproviderstrategy.go deleted file mode 100644 index 7406610b80..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-clustercapacityproviderassociations_capacityproviderstrategy.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterCapacityProviderAssociations_CapacityProviderStrategy AWS CloudFormation Resource (AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-clustercapacityproviderassociations-capacityproviderstrategy.html -type ClusterCapacityProviderAssociations_CapacityProviderStrategy struct { - - // Base AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-clustercapacityproviderassociations-capacityproviderstrategy.html#cfn-ecs-clustercapacityproviderassociations-capacityproviderstrategy-base - Base *types.Value `json:"Base,omitempty"` - - // CapacityProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-clustercapacityproviderassociations-capacityproviderstrategy.html#cfn-ecs-clustercapacityproviderassociations-capacityproviderstrategy-capacityprovider - CapacityProvider *types.Value `json:"CapacityProvider,omitempty"` - - // Weight AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-clustercapacityproviderassociations-capacityproviderstrategy.html#cfn-ecs-clustercapacityproviderassociations-capacityproviderstrategy-weight - Weight *types.Value `json:"Weight,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 *ClusterCapacityProviderAssociations_CapacityProviderStrategy) AWSCloudFormationType() string { - return "AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-primarytaskset.go b/pkg/goformation/cloudformation/ecs/aws-ecs-primarytaskset.go deleted file mode 100644 index f7879ff807..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-primarytaskset.go +++ /dev/null @@ -1,118 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PrimaryTaskSet AWS CloudFormation Resource (AWS::ECS::PrimaryTaskSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html -type PrimaryTaskSet struct { - - // Cluster AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-cluster - Cluster *types.Value `json:"Cluster,omitempty"` - - // Service AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-service - Service *types.Value `json:"Service,omitempty"` - - // TaskSetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html#cfn-ecs-primarytaskset-tasksetid - TaskSetId *types.Value `json:"TaskSetId,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 *PrimaryTaskSet) AWSCloudFormationType() string { - return "AWS::ECS::PrimaryTaskSet" -} - -// 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 (r PrimaryTaskSet) MarshalJSON() ([]byte, error) { - type Properties PrimaryTaskSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PrimaryTaskSet) UnmarshalJSON(b []byte) error { - type Properties PrimaryTaskSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PrimaryTaskSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service.go deleted file mode 100644 index 40922b7a2b..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service.go +++ /dev/null @@ -1,209 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service AWS CloudFormation Resource (AWS::ECS::Service) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html -type Service struct { - - // CapacityProviderStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-capacityproviderstrategy - CapacityProviderStrategy []Service_CapacityProviderStrategyItem `json:"CapacityProviderStrategy,omitempty"` - - // Cluster AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-cluster - Cluster *types.Value `json:"Cluster,omitempty"` - - // DeploymentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-deploymentconfiguration - DeploymentConfiguration *Service_DeploymentConfiguration `json:"DeploymentConfiguration,omitempty"` - - // DeploymentController AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-deploymentcontroller - DeploymentController *Service_DeploymentController `json:"DeploymentController,omitempty"` - - // DesiredCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-desiredcount - DesiredCount *types.Value `json:"DesiredCount,omitempty"` - - // EnableECSManagedTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-enableecsmanagedtags - EnableECSManagedTags *types.Value `json:"EnableECSManagedTags,omitempty"` - - // EnableExecuteCommand AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-enableexecutecommand - EnableExecuteCommand *types.Value `json:"EnableExecuteCommand,omitempty"` - - // HealthCheckGracePeriodSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds - HealthCheckGracePeriodSeconds *types.Value `json:"HealthCheckGracePeriodSeconds,omitempty"` - - // LaunchType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-launchtype - LaunchType *types.Value `json:"LaunchType,omitempty"` - - // LoadBalancers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-loadbalancers - LoadBalancers []Service_LoadBalancer `json:"LoadBalancers,omitempty"` - - // NetworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-networkconfiguration - NetworkConfiguration *Service_NetworkConfiguration `json:"NetworkConfiguration,omitempty"` - - // PlacementConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementconstraints - PlacementConstraints []Service_PlacementConstraint `json:"PlacementConstraints,omitempty"` - - // PlacementStrategies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementstrategies - PlacementStrategies []Service_PlacementStrategy `json:"PlacementStrategies,omitempty"` - - // PlatformVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-platformversion - PlatformVersion *types.Value `json:"PlatformVersion,omitempty"` - - // PropagateTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-propagatetags - PropagateTags *types.Value `json:"PropagateTags,omitempty"` - - // Role AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-role - Role *types.Value `json:"Role,omitempty"` - - // SchedulingStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-schedulingstrategy - SchedulingStrategy *types.Value `json:"SchedulingStrategy,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` - - // ServiceRegistries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-serviceregistries - ServiceRegistries []Service_ServiceRegistry `json:"ServiceRegistries,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TaskDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-taskdefinition - TaskDefinition *types.Value `json:"TaskDefinition,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 *Service) AWSCloudFormationType() string { - return "AWS::ECS::Service" -} - -// 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 (r Service) MarshalJSON() ([]byte, error) { - type Properties Service - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Service) UnmarshalJSON(b []byte) error { - type Properties Service - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Service(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_awsvpcconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_awsvpcconfiguration.go deleted file mode 100644 index 6b80d8f27d..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_awsvpcconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_AwsVpcConfiguration AWS CloudFormation Resource (AWS::ECS::Service.AwsVpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html -type Service_AwsVpcConfiguration struct { - - // AssignPublicIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html#cfn-ecs-service-awsvpcconfiguration-assignpublicip - AssignPublicIp *types.Value `json:"AssignPublicIp,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html#cfn-ecs-service-awsvpcconfiguration-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html#cfn-ecs-service-awsvpcconfiguration-subnets - Subnets *types.Value `json:"Subnets,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 *Service_AwsVpcConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Service.AwsVpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_capacityproviderstrategyitem.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_capacityproviderstrategyitem.go deleted file mode 100644 index a66e284b28..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_capacityproviderstrategyitem.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_CapacityProviderStrategyItem AWS CloudFormation Resource (AWS::ECS::Service.CapacityProviderStrategyItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-capacityproviderstrategyitem.html -type Service_CapacityProviderStrategyItem struct { - - // Base AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-capacityproviderstrategyitem.html#cfn-ecs-service-capacityproviderstrategyitem-base - Base *types.Value `json:"Base,omitempty"` - - // CapacityProvider AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-capacityproviderstrategyitem.html#cfn-ecs-service-capacityproviderstrategyitem-capacityprovider - CapacityProvider *types.Value `json:"CapacityProvider,omitempty"` - - // Weight AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-capacityproviderstrategyitem.html#cfn-ecs-service-capacityproviderstrategyitem-weight - Weight *types.Value `json:"Weight,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 *Service_CapacityProviderStrategyItem) AWSCloudFormationType() string { - return "AWS::ECS::Service.CapacityProviderStrategyItem" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcircuitbreaker.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcircuitbreaker.go deleted file mode 100644 index 046873ff0d..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcircuitbreaker.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_DeploymentCircuitBreaker AWS CloudFormation Resource (AWS::ECS::Service.DeploymentCircuitBreaker) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcircuitbreaker.html -type Service_DeploymentCircuitBreaker struct { - - // Enable AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcircuitbreaker.html#cfn-ecs-service-deploymentcircuitbreaker-enable - Enable *types.Value `json:"Enable"` - - // Rollback AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcircuitbreaker.html#cfn-ecs-service-deploymentcircuitbreaker-rollback - Rollback *types.Value `json:"Rollback"` - - // 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 *Service_DeploymentCircuitBreaker) AWSCloudFormationType() string { - return "AWS::ECS::Service.DeploymentCircuitBreaker" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentconfiguration.go deleted file mode 100644 index 2984a51e32..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_DeploymentConfiguration AWS CloudFormation Resource (AWS::ECS::Service.DeploymentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html -type Service_DeploymentConfiguration struct { - - // DeploymentCircuitBreaker AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-deploymentcircuitbreaker - DeploymentCircuitBreaker *Service_DeploymentCircuitBreaker `json:"DeploymentCircuitBreaker,omitempty"` - - // MaximumPercent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-maximumpercent - MaximumPercent *types.Value `json:"MaximumPercent,omitempty"` - - // MinimumHealthyPercent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-minimumhealthypercent - MinimumHealthyPercent *types.Value `json:"MinimumHealthyPercent,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 *Service_DeploymentConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Service.DeploymentConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_loadbalancer.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_loadbalancer.go deleted file mode 100644 index d45935344d..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_loadbalancer.go +++ /dev/null @@ -1,52 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_LoadBalancer AWS CloudFormation Resource (AWS::ECS::Service.LoadBalancer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html -type Service_LoadBalancer struct { - - // ContainerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html#cfn-ecs-service-loadbalancer-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` - - // ContainerPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html#cfn-ecs-service-loadbalancer-containerport - ContainerPort *types.Value `json:"ContainerPort,omitempty"` - - // LoadBalancerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html#cfn-ecs-service-loadbalancer-loadbalancername - LoadBalancerName *types.Value `json:"LoadBalancerName,omitempty"` - - // TargetGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html#cfn-ecs-service-loadbalancer-targetgrouparn - TargetGroupArn *types.Value `json:"TargetGroupArn,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 *Service_LoadBalancer) AWSCloudFormationType() string { - return "AWS::ECS::Service.LoadBalancer" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_networkconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_networkconfiguration.go deleted file mode 100644 index 9d09bfe9b6..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_networkconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_NetworkConfiguration AWS CloudFormation Resource (AWS::ECS::Service.NetworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-networkconfiguration.html -type Service_NetworkConfiguration struct { - - // AwsvpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-networkconfiguration.html#cfn-ecs-service-networkconfiguration-awsvpcconfiguration - AwsvpcConfiguration *Service_AwsVpcConfiguration `json:"AwsvpcConfiguration,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 *Service_NetworkConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::Service.NetworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_placementconstraint.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_placementconstraint.go deleted file mode 100644 index 0b5907e979..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_placementconstraint.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_PlacementConstraint AWS CloudFormation Resource (AWS::ECS::Service.PlacementConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html -type Service_PlacementConstraint struct { - - // Expression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html#cfn-ecs-service-placementconstraint-expression - Expression *types.Value `json:"Expression,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html#cfn-ecs-service-placementconstraint-type - Type *types.Value `json:"Type,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 *Service_PlacementConstraint) AWSCloudFormationType() string { - return "AWS::ECS::Service.PlacementConstraint" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_serviceregistry.go b/pkg/goformation/cloudformation/ecs/aws-ecs-service_serviceregistry.go deleted file mode 100644 index b1ffd03b3e..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_serviceregistry.go +++ /dev/null @@ -1,52 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_ServiceRegistry AWS CloudFormation Resource (AWS::ECS::Service.ServiceRegistry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html -type Service_ServiceRegistry struct { - - // ContainerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html#cfn-ecs-service-serviceregistry-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` - - // ContainerPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html#cfn-ecs-service-serviceregistry-containerport - ContainerPort *types.Value `json:"ContainerPort,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html#cfn-ecs-service-serviceregistry-port - Port *types.Value `json:"Port,omitempty"` - - // RegistryArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceregistry.html#cfn-ecs-service-serviceregistry-registryarn - RegistryArn *types.Value `json:"RegistryArn,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 *Service_ServiceRegistry) AWSCloudFormationType() string { - return "AWS::ECS::Service.ServiceRegistry" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition.go deleted file mode 100644 index 9a3644cea0..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition.go +++ /dev/null @@ -1,189 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition AWS CloudFormation Resource (AWS::ECS::TaskDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html -type TaskDefinition struct { - - // ContainerDefinitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-containerdefinitions - ContainerDefinitions []TaskDefinition_ContainerDefinition `json:"ContainerDefinitions,omitempty"` - - // Cpu AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-cpu - Cpu *types.Value `json:"Cpu,omitempty"` - - // EphemeralStorage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-ephemeralstorage - EphemeralStorage *TaskDefinition_EphemeralStorage `json:"EphemeralStorage,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // Family AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-family - Family *types.Value `json:"Family,omitempty"` - - // InferenceAccelerators AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-inferenceaccelerators - InferenceAccelerators []TaskDefinition_InferenceAccelerator `json:"InferenceAccelerators,omitempty"` - - // IpcMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-ipcmode - IpcMode *types.Value `json:"IpcMode,omitempty"` - - // Memory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-memory - Memory *types.Value `json:"Memory,omitempty"` - - // NetworkMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-networkmode - NetworkMode *types.Value `json:"NetworkMode,omitempty"` - - // PidMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-pidmode - PidMode *types.Value `json:"PidMode,omitempty"` - - // PlacementConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-placementconstraints - PlacementConstraints []TaskDefinition_TaskDefinitionPlacementConstraint `json:"PlacementConstraints,omitempty"` - - // ProxyConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-proxyconfiguration - ProxyConfiguration *TaskDefinition_ProxyConfiguration `json:"ProxyConfiguration,omitempty"` - - // RequiresCompatibilities AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-requirescompatibilities - RequiresCompatibilities *types.Value `json:"RequiresCompatibilities,omitempty"` - - // RuntimePlatform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-runtimeplatform - RuntimePlatform *TaskDefinition_RuntimePlatform `json:"RuntimePlatform,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TaskRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-taskrolearn - TaskRoleArn *types.Value `json:"TaskRoleArn,omitempty"` - - // Volumes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-volumes - Volumes []TaskDefinition_Volume `json:"Volumes,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 *TaskDefinition) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition" -} - -// 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 (r TaskDefinition) MarshalJSON() ([]byte, error) { - type Properties TaskDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TaskDefinition) UnmarshalJSON(b []byte) error { - type Properties TaskDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TaskDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_authorizationconfig.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_authorizationconfig.go deleted file mode 100644 index bb4a9cf79e..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_authorizationconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_AuthorizationConfig AWS CloudFormation Resource (AWS::ECS::TaskDefinition.AuthorizationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html -type TaskDefinition_AuthorizationConfig struct { - - // AccessPointId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html#cfn-ecs-taskdefinition-authorizationconfig-accesspointid - AccessPointId *types.Value `json:"AccessPointId,omitempty"` - - // IAM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-authorizationconfig.html#cfn-ecs-taskdefinition-authorizationconfig-iam - IAM *types.Value `json:"IAM,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 *TaskDefinition_AuthorizationConfig) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.AuthorizationConfig" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdefinition.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdefinition.go deleted file mode 100644 index d73410d2c1..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdefinition.go +++ /dev/null @@ -1,227 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_ContainerDefinition AWS CloudFormation Resource (AWS::ECS::TaskDefinition.ContainerDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html -type TaskDefinition_ContainerDefinition struct { - - // Command AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-command - Command *types.Value `json:"Command,omitempty"` - - // Cpu AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-cpu - Cpu *types.Value `json:"Cpu,omitempty"` - - // DependsOn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dependson - DependsOnProp []TaskDefinition_ContainerDependency `json:"DependsOn,omitempty"` - - // DisableNetworking AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-disablenetworking - DisableNetworking *types.Value `json:"DisableNetworking,omitempty"` - - // DnsSearchDomains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnssearchdomains - DnsSearchDomains *types.Value `json:"DnsSearchDomains,omitempty"` - - // DnsServers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnsservers - DnsServers *types.Value `json:"DnsServers,omitempty"` - - // DockerLabels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockerlabels - DockerLabels map[string]*types.Value `json:"DockerLabels,omitempty"` - - // DockerSecurityOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockersecurityoptions - DockerSecurityOptions *types.Value `json:"DockerSecurityOptions,omitempty"` - - // EntryPoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-entrypoint - EntryPoint *types.Value `json:"EntryPoint,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-environment - Environment []TaskDefinition_KeyValuePair `json:"Environment,omitempty"` - - // EnvironmentFiles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-environmentfiles - EnvironmentFiles []TaskDefinition_EnvironmentFile `json:"EnvironmentFiles,omitempty"` - - // Essential AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-essential - Essential *types.Value `json:"Essential,omitempty"` - - // ExtraHosts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-extrahosts - ExtraHosts []TaskDefinition_HostEntry `json:"ExtraHosts,omitempty"` - - // FirelensConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-firelensconfiguration - FirelensConfiguration *TaskDefinition_FirelensConfiguration `json:"FirelensConfiguration,omitempty"` - - // HealthCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-healthcheck - HealthCheck *TaskDefinition_HealthCheck `json:"HealthCheck,omitempty"` - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-hostname - Hostname *types.Value `json:"Hostname,omitempty"` - - // Image AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-image - Image *types.Value `json:"Image,omitempty"` - - // Interactive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-interactive - Interactive *types.Value `json:"Interactive,omitempty"` - - // Links AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-links - Links *types.Value `json:"Links,omitempty"` - - // LinuxParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-linuxparameters - LinuxParameters *TaskDefinition_LinuxParameters `json:"LinuxParameters,omitempty"` - - // LogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration - LogConfiguration *TaskDefinition_LogConfiguration `json:"LogConfiguration,omitempty"` - - // Memory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memory - Memory *types.Value `json:"Memory,omitempty"` - - // MemoryReservation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memoryreservation - MemoryReservation *types.Value `json:"MemoryReservation,omitempty"` - - // MountPoints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints - MountPoints []TaskDefinition_MountPoint `json:"MountPoints,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-name - Name *types.Value `json:"Name,omitempty"` - - // PortMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-portmappings - PortMappings []TaskDefinition_PortMapping `json:"PortMappings,omitempty"` - - // Privileged AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-privileged - Privileged *types.Value `json:"Privileged,omitempty"` - - // PseudoTerminal AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-pseudoterminal - PseudoTerminal *types.Value `json:"PseudoTerminal,omitempty"` - - // ReadonlyRootFilesystem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-readonlyrootfilesystem - ReadonlyRootFilesystem *types.Value `json:"ReadonlyRootFilesystem,omitempty"` - - // RepositoryCredentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-repositorycredentials - RepositoryCredentials *TaskDefinition_RepositoryCredentials `json:"RepositoryCredentials,omitempty"` - - // ResourceRequirements AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-resourcerequirements - ResourceRequirements []TaskDefinition_ResourceRequirement `json:"ResourceRequirements,omitempty"` - - // Secrets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-secrets - Secrets []TaskDefinition_Secret `json:"Secrets,omitempty"` - - // StartTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-starttimeout - StartTimeout *types.Value `json:"StartTimeout,omitempty"` - - // StopTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-stoptimeout - StopTimeout *types.Value `json:"StopTimeout,omitempty"` - - // SystemControls AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-systemcontrols - SystemControls []TaskDefinition_SystemControl `json:"SystemControls,omitempty"` - - // Ulimits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-ulimits - Ulimits []TaskDefinition_Ulimit `json:"Ulimits,omitempty"` - - // User AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-user - User *types.Value `json:"User,omitempty"` - - // VolumesFrom AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom - VolumesFrom []TaskDefinition_VolumeFrom `json:"VolumesFrom,omitempty"` - - // WorkingDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-workingdirectory - WorkingDirectory *types.Value `json:"WorkingDirectory,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 *TaskDefinition_ContainerDefinition) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.ContainerDefinition" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdependency.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdependency.go deleted file mode 100644 index af3306f1c0..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_containerdependency.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_ContainerDependency AWS CloudFormation Resource (AWS::ECS::TaskDefinition.ContainerDependency) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html -type TaskDefinition_ContainerDependency struct { - - // Condition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html#cfn-ecs-taskdefinition-containerdependency-condition - Condition *types.Value `json:"Condition,omitempty"` - - // ContainerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdependency.html#cfn-ecs-taskdefinition-containerdependency-containername - ContainerName *types.Value `json:"ContainerName,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 *TaskDefinition_ContainerDependency) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.ContainerDependency" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_device.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_device.go deleted file mode 100644 index 41c0ea3339..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_device.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_Device AWS CloudFormation Resource (AWS::ECS::TaskDefinition.Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html -type TaskDefinition_Device struct { - - // ContainerPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // HostPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-hostpath - HostPath *types.Value `json:"HostPath,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-device.html#cfn-ecs-taskdefinition-device-permissions - Permissions *types.Value `json:"Permissions,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 *TaskDefinition_Device) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.Device" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_dockervolumeconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_dockervolumeconfiguration.go deleted file mode 100644 index ce09ba7890..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_dockervolumeconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_DockerVolumeConfiguration AWS CloudFormation Resource (AWS::ECS::TaskDefinition.DockerVolumeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html -type TaskDefinition_DockerVolumeConfiguration struct { - - // Autoprovision AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-autoprovision - Autoprovision *types.Value `json:"Autoprovision,omitempty"` - - // Driver AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driver - Driver *types.Value `json:"Driver,omitempty"` - - // DriverOpts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driveropts - DriverOpts map[string]*types.Value `json:"DriverOpts,omitempty"` - - // Labels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-labels - Labels map[string]*types.Value `json:"Labels,omitempty"` - - // Scope AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-scope - Scope *types.Value `json:"Scope,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 *TaskDefinition_DockerVolumeConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.DockerVolumeConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_efsvolumeconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_efsvolumeconfiguration.go deleted file mode 100644 index 1a0e5b2273..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_efsvolumeconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_EFSVolumeConfiguration AWS CloudFormation Resource (AWS::ECS::TaskDefinition.EFSVolumeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html -type TaskDefinition_EFSVolumeConfiguration struct { - - // AuthorizationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-authorizationconfig - AuthorizationConfig interface{} `json:"AuthorizationConfig,omitempty"` - - // FilesystemId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-filesystemid - FilesystemId *types.Value `json:"FilesystemId,omitempty"` - - // RootDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-rootdirectory - RootDirectory *types.Value `json:"RootDirectory,omitempty"` - - // TransitEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-transitencryption - TransitEncryption *types.Value `json:"TransitEncryption,omitempty"` - - // TransitEncryptionPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-efsvolumeconfiguration.html#cfn-ecs-taskdefinition-efsvolumeconfiguration-transitencryptionport - TransitEncryptionPort *types.Value `json:"TransitEncryptionPort,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 *TaskDefinition_EFSVolumeConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.EFSVolumeConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_environmentfile.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_environmentfile.go deleted file mode 100644 index ed9ddd7f48..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_environmentfile.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_EnvironmentFile AWS CloudFormation Resource (AWS::ECS::TaskDefinition.EnvironmentFile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html -type TaskDefinition_EnvironmentFile struct { - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html#cfn-ecs-taskdefinition-environmentfile-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-environmentfile.html#cfn-ecs-taskdefinition-environmentfile-value - Value *types.Value `json:"Value,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 *TaskDefinition_EnvironmentFile) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.EnvironmentFile" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ephemeralstorage.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ephemeralstorage.go deleted file mode 100644 index 15b34c65aa..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ephemeralstorage.go +++ /dev/null @@ -1,37 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_EphemeralStorage AWS CloudFormation Resource (AWS::ECS::TaskDefinition.EphemeralStorage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html -type TaskDefinition_EphemeralStorage struct { - - // SizeInGiB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-ephemeralstorage.html#cfn-ecs-taskdefinition-ephemeralstorage-sizeingib - SizeInGiB *types.Value `json:"SizeInGiB,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 *TaskDefinition_EphemeralStorage) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.EphemeralStorage" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_firelensconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_firelensconfiguration.go deleted file mode 100644 index b9874b48ce..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_firelensconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_FirelensConfiguration AWS CloudFormation Resource (AWS::ECS::TaskDefinition.FirelensConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html -type TaskDefinition_FirelensConfiguration struct { - - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-options - Options map[string]*types.Value `json:"Options,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-firelensconfiguration.html#cfn-ecs-taskdefinition-firelensconfiguration-type - Type *types.Value `json:"Type,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 *TaskDefinition_FirelensConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.FirelensConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_healthcheck.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_healthcheck.go deleted file mode 100644 index b7c540b1fb..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_healthcheck.go +++ /dev/null @@ -1,57 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_HealthCheck AWS CloudFormation Resource (AWS::ECS::TaskDefinition.HealthCheck) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html -type TaskDefinition_HealthCheck struct { - - // Command AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-command - Command *types.Value `json:"Command,omitempty"` - - // Interval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-interval - Interval *types.Value `json:"Interval,omitempty"` - - // Retries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-retries - Retries *types.Value `json:"Retries,omitempty"` - - // StartPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-startperiod - StartPeriod *types.Value `json:"StartPeriod,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-timeout - Timeout *types.Value `json:"Timeout,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 *TaskDefinition_HealthCheck) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.HealthCheck" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostentry.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostentry.go deleted file mode 100644 index 8ef6fedf0e..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_HostEntry AWS CloudFormation Resource (AWS::ECS::TaskDefinition.HostEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html -type TaskDefinition_HostEntry struct { - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html#cfn-ecs-taskdefinition-containerdefinition-hostentry-hostname - Hostname *types.Value `json:"Hostname,omitempty"` - - // IpAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-hostentry.html#cfn-ecs-taskdefinition-containerdefinition-hostentry-ipaddress - IpAddress *types.Value `json:"IpAddress,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 *TaskDefinition_HostEntry) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.HostEntry" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostvolumeproperties.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostvolumeproperties.go deleted file mode 100644 index f0c66c9d1e..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_hostvolumeproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_HostVolumeProperties AWS CloudFormation Resource (AWS::ECS::TaskDefinition.HostVolumeProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html -type TaskDefinition_HostVolumeProperties struct { - - // SourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html#cfn-ecs-taskdefinition-volumes-host-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *TaskDefinition_HostVolumeProperties) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.HostVolumeProperties" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_inferenceaccelerator.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_inferenceaccelerator.go deleted file mode 100644 index 991fc91e3b..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_inferenceaccelerator.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_InferenceAccelerator AWS CloudFormation Resource (AWS::ECS::TaskDefinition.InferenceAccelerator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html -type TaskDefinition_InferenceAccelerator struct { - - // DeviceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicename - DeviceName *types.Value `json:"DeviceName,omitempty"` - - // DeviceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html#cfn-ecs-taskdefinition-inferenceaccelerator-devicetype - DeviceType *types.Value `json:"DeviceType,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 *TaskDefinition_InferenceAccelerator) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.InferenceAccelerator" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_kernelcapabilities.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_kernelcapabilities.go deleted file mode 100644 index 69256323a9..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_kernelcapabilities.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_KernelCapabilities AWS CloudFormation Resource (AWS::ECS::TaskDefinition.KernelCapabilities) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html -type TaskDefinition_KernelCapabilities struct { - - // Add AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html#cfn-ecs-taskdefinition-kernelcapabilities-add - Add *types.Value `json:"Add,omitempty"` - - // Drop AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html#cfn-ecs-taskdefinition-kernelcapabilities-drop - Drop *types.Value `json:"Drop,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 *TaskDefinition_KernelCapabilities) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.KernelCapabilities" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_keyvaluepair.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_keyvaluepair.go deleted file mode 100644 index 1e9a2a551b..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_keyvaluepair.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_KeyValuePair AWS CloudFormation Resource (AWS::ECS::TaskDefinition.KeyValuePair) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html -type TaskDefinition_KeyValuePair struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html#cfn-ecs-taskdefinition-containerdefinition-environment-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-environment.html#cfn-ecs-taskdefinition-containerdefinition-environment-value - Value *types.Value `json:"Value,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 *TaskDefinition_KeyValuePair) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.KeyValuePair" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_linuxparameters.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_linuxparameters.go deleted file mode 100644 index 4c3687d5a5..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_linuxparameters.go +++ /dev/null @@ -1,67 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_LinuxParameters AWS CloudFormation Resource (AWS::ECS::TaskDefinition.LinuxParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html -type TaskDefinition_LinuxParameters struct { - - // Capabilities AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-capabilities - Capabilities *TaskDefinition_KernelCapabilities `json:"Capabilities,omitempty"` - - // Devices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-devices - Devices []TaskDefinition_Device `json:"Devices,omitempty"` - - // InitProcessEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-initprocessenabled - InitProcessEnabled *types.Value `json:"InitProcessEnabled,omitempty"` - - // MaxSwap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-maxswap - MaxSwap *types.Value `json:"MaxSwap,omitempty"` - - // SharedMemorySize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-sharedmemorysize - SharedMemorySize *types.Value `json:"SharedMemorySize,omitempty"` - - // Swappiness AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-swappiness - Swappiness *types.Value `json:"Swappiness,omitempty"` - - // Tmpfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-tmpfs - Tmpfs []TaskDefinition_Tmpfs `json:"Tmpfs,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 *TaskDefinition_LinuxParameters) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.LinuxParameters" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_logconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_logconfiguration.go deleted file mode 100644 index 57ef080934..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_logconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_LogConfiguration AWS CloudFormation Resource (AWS::ECS::TaskDefinition.LogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html -type TaskDefinition_LogConfiguration struct { - - // LogDriver AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-logdriver - LogDriver *types.Value `json:"LogDriver,omitempty"` - - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-options - Options map[string]*types.Value `json:"Options,omitempty"` - - // SecretOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-logconfiguration-secretoptions - SecretOptions []TaskDefinition_Secret `json:"SecretOptions,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 *TaskDefinition_LogConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.LogConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_mountpoint.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_mountpoint.go deleted file mode 100644 index 861e0a8996..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_mountpoint.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_MountPoint AWS CloudFormation Resource (AWS::ECS::TaskDefinition.MountPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html -type TaskDefinition_MountPoint struct { - - // ContainerPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // ReadOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-readonly - ReadOnly *types.Value `json:"ReadOnly,omitempty"` - - // SourceVolume AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-mountpoints.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints-sourcevolume - SourceVolume *types.Value `json:"SourceVolume,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 *TaskDefinition_MountPoint) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.MountPoint" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_portmapping.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_portmapping.go deleted file mode 100644 index 1fa552cb71..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_portmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_PortMapping AWS CloudFormation Resource (AWS::ECS::TaskDefinition.PortMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html -type TaskDefinition_PortMapping struct { - - // ContainerPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-containerport - ContainerPort *types.Value `json:"ContainerPort,omitempty"` - - // HostPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-readonly - HostPort *types.Value `json:"HostPort,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-sourcevolume - Protocol *types.Value `json:"Protocol,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 *TaskDefinition_PortMapping) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.PortMapping" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_proxyconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_proxyconfiguration.go deleted file mode 100644 index 8e3a7881e3..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_proxyconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_ProxyConfiguration AWS CloudFormation Resource (AWS::ECS::TaskDefinition.ProxyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html -type TaskDefinition_ProxyConfiguration struct { - - // ContainerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` - - // ProxyConfigurationProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-proxyconfigurationproperties - ProxyConfigurationProperties []TaskDefinition_KeyValuePair `json:"ProxyConfigurationProperties,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html#cfn-ecs-taskdefinition-proxyconfiguration-type - Type *types.Value `json:"Type,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 *TaskDefinition_ProxyConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.ProxyConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_repositorycredentials.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_repositorycredentials.go deleted file mode 100644 index ee55231d3c..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_repositorycredentials.go +++ /dev/null @@ -1,37 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_RepositoryCredentials AWS CloudFormation Resource (AWS::ECS::TaskDefinition.RepositoryCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-repositorycredentials.html -type TaskDefinition_RepositoryCredentials struct { - - // CredentialsParameter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-repositorycredentials.html#cfn-ecs-taskdefinition-repositorycredentials-credentialsparameter - CredentialsParameter *types.Value `json:"CredentialsParameter,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 *TaskDefinition_RepositoryCredentials) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.RepositoryCredentials" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_resourcerequirement.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_resourcerequirement.go deleted file mode 100644 index 3e623a0cec..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_resourcerequirement.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_ResourceRequirement AWS CloudFormation Resource (AWS::ECS::TaskDefinition.ResourceRequirement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html -type TaskDefinition_ResourceRequirement struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-resourcerequirement.html#cfn-ecs-taskdefinition-resourcerequirement-value - Value *types.Value `json:"Value,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 *TaskDefinition_ResourceRequirement) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.ResourceRequirement" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_runtimeplatform.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_runtimeplatform.go deleted file mode 100644 index 4f73fc2936..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_runtimeplatform.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_RuntimePlatform AWS CloudFormation Resource (AWS::ECS::TaskDefinition.RuntimePlatform) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html -type TaskDefinition_RuntimePlatform struct { - - // CpuArchitecture AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html#cfn-ecs-taskdefinition-runtimeplatform-cpuarchitecture - CpuArchitecture *types.Value `json:"CpuArchitecture,omitempty"` - - // OperatingSystemFamily AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html#cfn-ecs-taskdefinition-runtimeplatform-operatingsystemfamily - OperatingSystemFamily *types.Value `json:"OperatingSystemFamily,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 *TaskDefinition_RuntimePlatform) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.RuntimePlatform" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_secret.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_secret.go deleted file mode 100644 index b490094424..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_secret.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_Secret AWS CloudFormation Resource (AWS::ECS::TaskDefinition.Secret) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html -type TaskDefinition_Secret struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html#cfn-ecs-taskdefinition-secret-name - Name *types.Value `json:"Name,omitempty"` - - // ValueFrom AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-secret.html#cfn-ecs-taskdefinition-secret-valuefrom - ValueFrom *types.Value `json:"ValueFrom,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 *TaskDefinition_Secret) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.Secret" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_taskdefinitionplacementconstraint.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_taskdefinitionplacementconstraint.go deleted file mode 100644 index eed79d1fa7..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_taskdefinitionplacementconstraint.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_TaskDefinitionPlacementConstraint AWS CloudFormation Resource (AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html -type TaskDefinition_TaskDefinitionPlacementConstraint struct { - - // Expression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-expression - Expression *types.Value `json:"Expression,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-type - Type *types.Value `json:"Type,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 *TaskDefinition_TaskDefinitionPlacementConstraint) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_tmpfs.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_tmpfs.go deleted file mode 100644 index 750cfd03a1..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_tmpfs.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_Tmpfs AWS CloudFormation Resource (AWS::ECS::TaskDefinition.Tmpfs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html -type TaskDefinition_Tmpfs struct { - - // ContainerPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-containerpath - ContainerPath *types.Value `json:"ContainerPath,omitempty"` - - // MountOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-mountoptions - MountOptions *types.Value `json:"MountOptions,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html#cfn-ecs-taskdefinition-tmpfs-size - Size *types.Value `json:"Size"` - - // 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 *TaskDefinition_Tmpfs) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.Tmpfs" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ulimit.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ulimit.go deleted file mode 100644 index c71213ca6f..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_ulimit.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_Ulimit AWS CloudFormation Resource (AWS::ECS::TaskDefinition.Ulimit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html -type TaskDefinition_Ulimit struct { - - // HardLimit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-hardlimit - HardLimit *types.Value `json:"HardLimit"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-name - Name *types.Value `json:"Name,omitempty"` - - // SoftLimit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-ulimit.html#cfn-ecs-taskdefinition-containerdefinition-ulimit-softlimit - SoftLimit *types.Value `json:"SoftLimit"` - - // 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 *TaskDefinition_Ulimit) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.Ulimit" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volumefrom.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volumefrom.go deleted file mode 100644 index 7cac588225..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_volumefrom.go +++ /dev/null @@ -1,42 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_VolumeFrom AWS CloudFormation Resource (AWS::ECS::TaskDefinition.VolumeFrom) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html -type TaskDefinition_VolumeFrom struct { - - // ReadOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-readonly - ReadOnly *types.Value `json:"ReadOnly,omitempty"` - - // SourceContainer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-sourcecontainer - SourceContainer *types.Value `json:"SourceContainer,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 *TaskDefinition_VolumeFrom) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.VolumeFrom" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskset.go deleted file mode 100644 index d9b3245f04..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset.go +++ /dev/null @@ -1,153 +0,0 @@ -package ecs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskSet AWS CloudFormation Resource (AWS::ECS::TaskSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html -type TaskSet struct { - - // Cluster AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-cluster - Cluster *types.Value `json:"Cluster,omitempty"` - - // ExternalId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-externalid - ExternalId *types.Value `json:"ExternalId,omitempty"` - - // LaunchType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-launchtype - LaunchType *types.Value `json:"LaunchType,omitempty"` - - // LoadBalancers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-loadbalancers - LoadBalancers []TaskSet_LoadBalancer `json:"LoadBalancers,omitempty"` - - // NetworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-networkconfiguration - NetworkConfiguration *TaskSet_NetworkConfiguration `json:"NetworkConfiguration,omitempty"` - - // PlatformVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-platformversion - PlatformVersion *types.Value `json:"PlatformVersion,omitempty"` - - // Scale AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-scale - Scale *TaskSet_Scale `json:"Scale,omitempty"` - - // Service AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-service - Service *types.Value `json:"Service,omitempty"` - - // ServiceRegistries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-serviceregistries - ServiceRegistries []TaskSet_ServiceRegistry `json:"ServiceRegistries,omitempty"` - - // TaskDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html#cfn-ecs-taskset-taskdefinition - TaskDefinition *types.Value `json:"TaskDefinition,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 *TaskSet) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet" -} - -// 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 (r TaskSet) MarshalJSON() ([]byte, error) { - type Properties TaskSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TaskSet) UnmarshalJSON(b []byte) error { - type Properties TaskSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TaskSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_awsvpcconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_awsvpcconfiguration.go deleted file mode 100644 index 511fc1cebf..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_awsvpcconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskSet_AwsVpcConfiguration AWS CloudFormation Resource (AWS::ECS::TaskSet.AwsVpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html -type TaskSet_AwsVpcConfiguration struct { - - // AssignPublicIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html#cfn-ecs-taskset-awsvpcconfiguration-assignpublicip - AssignPublicIp *types.Value `json:"AssignPublicIp,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html#cfn-ecs-taskset-awsvpcconfiguration-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html#cfn-ecs-taskset-awsvpcconfiguration-subnets - Subnets *types.Value `json:"Subnets,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 *TaskSet_AwsVpcConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet.AwsVpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_networkconfiguration.go b/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_networkconfiguration.go deleted file mode 100644 index fbd3a280d0..0000000000 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_networkconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package ecs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskSet_NetworkConfiguration AWS CloudFormation Resource (AWS::ECS::TaskSet.NetworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-networkconfiguration.html -type TaskSet_NetworkConfiguration struct { - - // AwsVpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-networkconfiguration.html#cfn-ecs-taskset-networkconfiguration-awsvpcconfiguration - AwsVpcConfiguration *TaskSet_AwsVpcConfiguration `json:"AwsVpcConfiguration,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 *TaskSet_NetworkConfiguration) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet.NetworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint.go b/pkg/goformation/cloudformation/efs/aws-efs-accesspoint.go deleted file mode 100644 index 405b5951d8..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint.go +++ /dev/null @@ -1,128 +0,0 @@ -package efs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint AWS CloudFormation Resource (AWS::EFS::AccessPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html -type AccessPoint struct { - - // AccessPointTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-accesspointtags - AccessPointTags []AccessPoint_AccessPointTag `json:"AccessPointTags,omitempty"` - - // ClientToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-clienttoken - ClientToken *types.Value `json:"ClientToken,omitempty"` - - // FileSystemId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-filesystemid - FileSystemId *types.Value `json:"FileSystemId,omitempty"` - - // PosixUser AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-posixuser - PosixUser *AccessPoint_PosixUser `json:"PosixUser,omitempty"` - - // RootDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-accesspoint.html#cfn-efs-accesspoint-rootdirectory - RootDirectory *AccessPoint_RootDirectory `json:"RootDirectory,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 *AccessPoint) AWSCloudFormationType() string { - return "AWS::EFS::AccessPoint" -} - -// 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 (r AccessPoint) MarshalJSON() ([]byte, error) { - type Properties AccessPoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccessPoint) UnmarshalJSON(b []byte) error { - type Properties AccessPoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AccessPoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_creationinfo.go b/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_creationinfo.go deleted file mode 100644 index 680e669328..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_creationinfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package efs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_CreationInfo AWS CloudFormation Resource (AWS::EFS::AccessPoint.CreationInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-creationinfo.html -type AccessPoint_CreationInfo struct { - - // OwnerGid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-creationinfo.html#cfn-efs-accesspoint-creationinfo-ownergid - OwnerGid *types.Value `json:"OwnerGid,omitempty"` - - // OwnerUid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-creationinfo.html#cfn-efs-accesspoint-creationinfo-owneruid - OwnerUid *types.Value `json:"OwnerUid,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-creationinfo.html#cfn-efs-accesspoint-creationinfo-permissions - Permissions *types.Value `json:"Permissions,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 *AccessPoint_CreationInfo) AWSCloudFormationType() string { - return "AWS::EFS::AccessPoint.CreationInfo" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_posixuser.go b/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_posixuser.go deleted file mode 100644 index 8926b7d79d..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_posixuser.go +++ /dev/null @@ -1,47 +0,0 @@ -package efs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_PosixUser AWS CloudFormation Resource (AWS::EFS::AccessPoint.PosixUser) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-posixuser.html -type AccessPoint_PosixUser struct { - - // Gid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-posixuser.html#cfn-efs-accesspoint-posixuser-gid - Gid *types.Value `json:"Gid,omitempty"` - - // SecondaryGids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-posixuser.html#cfn-efs-accesspoint-posixuser-secondarygids - SecondaryGids *types.Value `json:"SecondaryGids,omitempty"` - - // Uid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-posixuser.html#cfn-efs-accesspoint-posixuser-uid - Uid *types.Value `json:"Uid,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 *AccessPoint_PosixUser) AWSCloudFormationType() string { - return "AWS::EFS::AccessPoint.PosixUser" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_rootdirectory.go b/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_rootdirectory.go deleted file mode 100644 index 7d397f89d5..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_rootdirectory.go +++ /dev/null @@ -1,42 +0,0 @@ -package efs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_RootDirectory AWS CloudFormation Resource (AWS::EFS::AccessPoint.RootDirectory) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-rootdirectory.html -type AccessPoint_RootDirectory struct { - - // CreationInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-rootdirectory.html#cfn-efs-accesspoint-rootdirectory-creationinfo - CreationInfo *AccessPoint_CreationInfo `json:"CreationInfo,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-rootdirectory.html#cfn-efs-accesspoint-rootdirectory-path - Path *types.Value `json:"Path,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 *AccessPoint_RootDirectory) AWSCloudFormationType() string { - return "AWS::EFS::AccessPoint.RootDirectory" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-filesystem.go b/pkg/goformation/cloudformation/efs/aws-efs-filesystem.go deleted file mode 100644 index 47e0bc3b9b..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-filesystem.go +++ /dev/null @@ -1,158 +0,0 @@ -package efs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem AWS CloudFormation Resource (AWS::EFS::FileSystem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html -type FileSystem struct { - - // AvailabilityZoneName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-availabilityzonename - AvailabilityZoneName *types.Value `json:"AvailabilityZoneName,omitempty"` - - // BackupPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-backuppolicy - BackupPolicy *FileSystem_BackupPolicy `json:"BackupPolicy,omitempty"` - - // BypassPolicyLockoutSafetyCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-bypasspolicylockoutsafetycheck - BypassPolicyLockoutSafetyCheck *types.Value `json:"BypassPolicyLockoutSafetyCheck,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-encrypted - Encrypted *types.Value `json:"Encrypted,omitempty"` - - // FileSystemPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-filesystempolicy - FileSystemPolicy interface{} `json:"FileSystemPolicy,omitempty"` - - // FileSystemTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-filesystemtags - FileSystemTags []FileSystem_ElasticFileSystemTag `json:"FileSystemTags,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LifecyclePolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-lifecyclepolicies - LifecyclePolicies []FileSystem_LifecyclePolicy `json:"LifecyclePolicies,omitempty"` - - // PerformanceMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-performancemode - PerformanceMode *types.Value `json:"PerformanceMode,omitempty"` - - // ProvisionedThroughputInMibps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-provisionedthroughputinmibps - ProvisionedThroughputInMibps *types.Value `json:"ProvisionedThroughputInMibps,omitempty"` - - // ThroughputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-throughputmode - ThroughputMode *types.Value `json:"ThroughputMode,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 *FileSystem) AWSCloudFormationType() string { - return "AWS::EFS::FileSystem" -} - -// 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 (r FileSystem) MarshalJSON() ([]byte, error) { - type Properties FileSystem - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FileSystem) UnmarshalJSON(b []byte) error { - type Properties FileSystem - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FileSystem(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_elasticfilesystemtag.go b/pkg/goformation/cloudformation/efs/aws-efs-filesystem_elasticfilesystemtag.go deleted file mode 100644 index f6064f7e44..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_elasticfilesystemtag.go +++ /dev/null @@ -1,42 +0,0 @@ -package efs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_ElasticFileSystemTag AWS CloudFormation Resource (AWS::EFS::FileSystem.ElasticFileSystemTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-elasticfilesystemtag.html -type FileSystem_ElasticFileSystemTag struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-elasticfilesystemtag.html#cfn-efs-filesystem-elasticfilesystemtag-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-elasticfilesystemtag.html#cfn-efs-filesystem-elasticfilesystemtag-value - Value *types.Value `json:"Value,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 *FileSystem_ElasticFileSystemTag) AWSCloudFormationType() string { - return "AWS::EFS::FileSystem.ElasticFileSystemTag" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_lifecyclepolicy.go b/pkg/goformation/cloudformation/efs/aws-efs-filesystem_lifecyclepolicy.go deleted file mode 100644 index a7b0e987d3..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_lifecyclepolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package efs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_LifecyclePolicy AWS CloudFormation Resource (AWS::EFS::FileSystem.LifecyclePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html -type FileSystem_LifecyclePolicy struct { - - // TransitionToIA AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html#cfn-efs-filesystem-lifecyclepolicy-transitiontoia - TransitionToIA *types.Value `json:"TransitionToIA,omitempty"` - - // TransitionToPrimaryStorageClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-lifecyclepolicy.html#cfn-efs-filesystem-lifecyclepolicy-transitiontoprimarystorageclass - TransitionToPrimaryStorageClass *types.Value `json:"TransitionToPrimaryStorageClass,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 *FileSystem_LifecyclePolicy) AWSCloudFormationType() string { - return "AWS::EFS::FileSystem.LifecyclePolicy" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-mounttarget.go b/pkg/goformation/cloudformation/efs/aws-efs-mounttarget.go deleted file mode 100644 index 94f079944d..0000000000 --- a/pkg/goformation/cloudformation/efs/aws-efs-mounttarget.go +++ /dev/null @@ -1,123 +0,0 @@ -package efs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MountTarget AWS CloudFormation Resource (AWS::EFS::MountTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html -type MountTarget struct { - - // FileSystemId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-filesystemid - FileSystemId *types.Value `json:"FileSystemId,omitempty"` - - // IpAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-ipaddress - IpAddress *types.Value `json:"IpAddress,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html#cfn-efs-mounttarget-subnetid - SubnetId *types.Value `json:"SubnetId,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 *MountTarget) AWSCloudFormationType() string { - return "AWS::EFS::MountTarget" -} - -// 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 (r MountTarget) MarshalJSON() ([]byte, error) { - type Properties MountTarget - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MountTarget) UnmarshalJSON(b []byte) error { - type Properties MountTarget - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MountTarget(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/eks/aws-eks-access-config.go b/pkg/goformation/cloudformation/eks/aws-eks-access-config.go deleted file mode 100644 index 93a0b742c7..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-access-config.go +++ /dev/null @@ -1,21 +0,0 @@ -package eks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" -) - -// Cluster_AccessConfig describes the access configuration for the cluster. -type Cluster_AccessConfig struct { - - // AuthenticationMode specifies the desired authentication mode for the cluster. - AuthenticationMode *types.Value - - // BootstrapClusterCreatorAdminPermissions specifies whether the cluster creator IAM principal was set as a cluster - // admin access entry during cluster creation time. - BootstrapClusterCreatorAdminPermissions *types.Value -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_AccessConfig) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.AccessConfig" -} diff --git a/pkg/goformation/cloudformation/eks/aws-eks-access-entry_access_scope.go b/pkg/goformation/cloudformation/eks/aws-eks-access-entry_access_scope.go deleted file mode 100644 index e0c17a8fd4..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-access-entry_access_scope.go +++ /dev/null @@ -1,20 +0,0 @@ -package eks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" -) - -type AccessEntry_AccessScope struct { - - // Effect AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-taint.html#cfn-eks-nodegroup-taint-effect - Type *types.Value `json:"Type,omitempty"` - - Namespaces *types.Value `json:"Namespaces,omitempty"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AccessEntry_AccessScope) AWSCloudFormationType() string { - return "AWS::EKS::AccessEntry.AccessScope" -} diff --git a/pkg/goformation/cloudformation/eks/aws-eks-access-entry.go b/pkg/goformation/cloudformation/eks/aws-eks-accessentry.go similarity index 74% rename from pkg/goformation/cloudformation/eks/aws-eks-access-entry.go rename to pkg/goformation/cloudformation/eks/aws-eks-accessentry.go index e9e92b73c8..9086381f5e 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-access-entry.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-accessentry.go @@ -11,24 +11,44 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) +// AccessEntry AWS CloudFormation Resource (AWS::EKS::AccessEntry) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html type AccessEntry struct { - PrincipalArn *types.Value `json:"PrincipalArn,omitempty"` + + // AccessPolicies AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-accesspolicies + AccessPolicies []AccessEntry_AccessPolicy `json:"AccessPolicies,omitempty"` // ClusterName AWS CloudFormation Property // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-clustername ClusterName *types.Value `json:"ClusterName,omitempty"` + // KubernetesGroups AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-kubernetesgroups KubernetesGroups *types.Value `json:"KubernetesGroups,omitempty"` - Username *types.Value `json:"Username,omitempty"` + // PrincipalArn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-principalarn + PrincipalArn *types.Value `json:"PrincipalArn,omitempty"` - AccessPolicies []AccessEntry_AccessPolicy `json:"AccessPolicies,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // Type AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-type Type *types.Value `json:"Type,omitempty"` - // Tags AWS CloudFormation Property + // Username AWS CloudFormation Property // Required: false - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-username + Username *types.Value `json:"Username,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/eks/aws-eks-access-entry_policy.go b/pkg/goformation/cloudformation/eks/aws-eks-accessentry_accesspolicy.go similarity index 66% rename from pkg/goformation/cloudformation/eks/aws-eks-access-entry_policy.go rename to pkg/goformation/cloudformation/eks/aws-eks-accessentry_accesspolicy.go index 4025f7a9b4..da72a44a6e 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-access-entry_policy.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-accessentry_accesspolicy.go @@ -6,11 +6,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) +// AccessEntry_AccessPolicy AWS CloudFormation Resource (AWS::EKS::AccessEntry.AccessPolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accesspolicy.html type AccessEntry_AccessPolicy struct { - PolicyArn *types.Value `json:"PolicyArn,omitempty"` + // AccessScope AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accesspolicy.html#cfn-eks-accessentry-accesspolicy-accessscope AccessScope *AccessEntry_AccessScope `json:"AccessScope,omitempty"` + // PolicyArn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accesspolicy.html#cfn-eks-accessentry-accesspolicy-policyarn + PolicyArn *types.Value `json:"PolicyArn,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_placementstrategy.go b/pkg/goformation/cloudformation/eks/aws-eks-accessentry_accessscope.go similarity index 69% rename from pkg/goformation/cloudformation/ecs/aws-ecs-service_placementstrategy.go rename to pkg/goformation/cloudformation/eks/aws-eks-accessentry_accessscope.go index 1403329a77..387b400891 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_placementstrategy.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-accessentry_accessscope.go @@ -1,4 +1,4 @@ -package ecs +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Service_PlacementStrategy AWS CloudFormation Resource (AWS::ECS::Service.PlacementStrategy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html -type Service_PlacementStrategy struct { +// AccessEntry_AccessScope AWS CloudFormation Resource (AWS::EKS::AccessEntry.AccessScope) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accessscope.html +type AccessEntry_AccessScope struct { - // Field AWS CloudFormation Property + // Namespaces AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html#cfn-ecs-service-placementstrategy-field - Field *types.Value `json:"Field,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accessscope.html#cfn-eks-accessentry-accessscope-namespaces + Namespaces *types.Value `json:"Namespaces,omitempty"` // Type AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html#cfn-ecs-service-placementstrategy-type + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-accessentry-accessscope.html#cfn-eks-accessentry-accessscope-type Type *types.Value `json:"Type,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type Service_PlacementStrategy struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Service_PlacementStrategy) AWSCloudFormationType() string { - return "AWS::ECS::Service.PlacementStrategy" +func (r *AccessEntry_AccessScope) AWSCloudFormationType() string { + return "AWS::EKS::AccessEntry.AccessScope" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-addon.go b/pkg/goformation/cloudformation/eks/aws-eks-addon.go index 32a3a3fdb7..b1445a50e6 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-addon.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-addon.go @@ -30,6 +30,21 @@ type Addon struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-clustername ClusterName *types.Value `json:"ClusterName,omitempty"` + // ConfigurationValues AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-configurationvalues + ConfigurationValues *types.Value `json:"ConfigurationValues,omitempty"` + + // PodIdentityAssociations AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-podidentityassociations + PodIdentityAssociations []Addon_PodIdentityAssociation `json:"PodIdentityAssociations,omitempty"` + + // PreserveOnDelete AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-preserveondelete + PreserveOnDelete *types.Value `json:"PreserveOnDelete,omitempty"` + // ResolveConflicts AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-resolveconflicts diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_alerttarget.go b/pkg/goformation/cloudformation/eks/aws-eks-addon_podidentityassociation.go similarity index 66% rename from pkg/goformation/cloudformation/iot/aws-iot-securityprofile_alerttarget.go rename to pkg/goformation/cloudformation/eks/aws-eks-addon_podidentityassociation.go index 638a215eb0..fc6d55c85c 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_alerttarget.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-addon_podidentityassociation.go @@ -1,4 +1,4 @@ -package iot +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,20 +6,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SecurityProfile_AlertTarget AWS CloudFormation Resource (AWS::IoT::SecurityProfile.AlertTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-alerttarget.html -type SecurityProfile_AlertTarget struct { - - // AlertTargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-alerttarget.html#cfn-iot-securityprofile-alerttarget-alerttargetarn - AlertTargetArn *types.Value `json:"AlertTargetArn,omitempty"` +// Addon_PodIdentityAssociation AWS CloudFormation Resource (AWS::EKS::Addon.PodIdentityAssociation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-addon-podidentityassociation.html +type Addon_PodIdentityAssociation struct { // RoleArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-alerttarget.html#cfn-iot-securityprofile-alerttarget-rolearn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-addon-podidentityassociation.html#cfn-eks-addon-podidentityassociation-rolearn RoleArn *types.Value `json:"RoleArn,omitempty"` + // ServiceAccount AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-addon-podidentityassociation.html#cfn-eks-addon-podidentityassociation-serviceaccount + ServiceAccount *types.Value `json:"ServiceAccount,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type SecurityProfile_AlertTarget struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SecurityProfile_AlertTarget) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.AlertTarget" +func (r *Addon_PodIdentityAssociation) AWSCloudFormationType() string { + return "AWS::EKS::Addon.PodIdentityAssociation" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster.go index 6c01f348e8..17c0c9ec63 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster.go @@ -15,15 +15,26 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html type Cluster struct { - // EncryptionConfig AWS CloudFormation Property + // AccessConfig AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-encryptionconfig - EncryptionConfig []Cluster_EncryptionConfig `json:"EncryptionConfig,omitempty"` - + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-accessconfig AccessConfig *Cluster_AccessConfig `json:"AccessConfig,omitempty"` + // BootstrapSelfManagedAddons AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-bootstrapselfmanagedaddons BootstrapSelfManagedAddons *types.Value `json:"BootstrapSelfManagedAddons,omitempty"` + // ComputeConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-computeconfig + ComputeConfig *Cluster_ComputeConfig `json:"ComputeConfig,omitempty"` + + // EncryptionConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-encryptionconfig + EncryptionConfig []Cluster_EncryptionConfig `json:"EncryptionConfig,omitempty"` + // KubernetesNetworkConfig AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-kubernetesnetworkconfig @@ -34,10 +45,6 @@ type Cluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-logging Logging *Cluster_Logging `json:"Logging,omitempty"` - ComputeConfig *Cluster_ComputeConfig `json:"ComputeConfig,omitempty"` - - StorageConfig *Cluster_StorageConfig `json:"StorageConfig,omitempty"` - // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-name @@ -48,6 +55,11 @@ type Cluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-outpostconfig OutpostConfig *Cluster_OutpostConfig `json:"OutpostConfig,omitempty"` + // RemoteNetworkConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-remotenetworkconfig + RemoteNetworkConfig *Cluster_RemoteNetworkConfig `json:"RemoteNetworkConfig,omitempty"` + // ResourcesVpcConfig AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-resourcesvpcconfig @@ -58,22 +70,30 @@ type Cluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-rolearn RoleArn *types.Value `json:"RoleArn,omitempty"` - // RemoteNetworkConfig AWS CloudFormation Property + // StorageConfig AWS CloudFormation Property // Required: false - // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html - RemoteNetworkConfig *Cluster_RemoteNetworkConfig `json:"RemoteNetworkConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-storageconfig + StorageConfig *Cluster_StorageConfig `json:"StorageConfig,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` + // UpgradePolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-upgradepolicy + UpgradePolicy *Cluster_UpgradePolicy `json:"UpgradePolicy,omitempty"` + // Version AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-version Version *types.Value `json:"Version,omitempty"` - ZonalShiftConfig *Cluster_ZonalShift `json:"ZonalShiftConfig,omitempty"` + // ZonalShiftConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-zonalshiftconfig + ZonalShiftConfig *Cluster_ZonalShiftConfig `json:"ZonalShiftConfig,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_logpublishingoption.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_accessconfig.go similarity index 61% rename from pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_logpublishingoption.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_accessconfig.go index 19ba98603f..1928a3d3f6 100644 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_logpublishingoption.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_accessconfig.go @@ -1,4 +1,4 @@ -package opensearchservice +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Domain_LogPublishingOption AWS CloudFormation Resource (AWS::OpenSearchService::Domain.LogPublishingOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-logpublishingoption.html -type Domain_LogPublishingOption struct { +// Cluster_AccessConfig AWS CloudFormation Resource (AWS::EKS::Cluster.AccessConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-accessconfig.html +type Cluster_AccessConfig struct { - // CloudWatchLogsLogGroupArn AWS CloudFormation Property + // AuthenticationMode AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-logpublishingoption.html#cfn-opensearchservice-domain-logpublishingoption-cloudwatchlogsloggrouparn - CloudWatchLogsLogGroupArn *types.Value `json:"CloudWatchLogsLogGroupArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-accessconfig.html#cfn-eks-cluster-accessconfig-authenticationmode + AuthenticationMode *types.Value `json:"AuthenticationMode,omitempty"` - // Enabled AWS CloudFormation Property + // BootstrapClusterCreatorAdminPermissions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-logpublishingoption.html#cfn-opensearchservice-domain-logpublishingoption-enabled - Enabled *types.Value `json:"Enabled,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-accessconfig.html#cfn-eks-cluster-accessconfig-bootstrapclustercreatoradminpermissions + BootstrapClusterCreatorAdminPermissions *types.Value `json:"BootstrapClusterCreatorAdminPermissions,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Domain_LogPublishingOption struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Domain_LogPublishingOption) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.LogPublishingOption" +func (r *Cluster_AccessConfig) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.AccessConfig" } diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_scram.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_blockstorage.go similarity index 72% rename from pkg/goformation/cloudformation/msk/aws-msk-cluster_scram.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_blockstorage.go index baed4b1a8f..f69bc5e3c3 100644 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_scram.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_blockstorage.go @@ -1,4 +1,4 @@ -package msk +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_Scram AWS CloudFormation Resource (AWS::MSK::Cluster.Scram) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-scram.html -type Cluster_Scram struct { +// Cluster_BlockStorage AWS CloudFormation Resource (AWS::EKS::Cluster.BlockStorage) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-blockstorage.html +type Cluster_BlockStorage struct { // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-scram.html#cfn-msk-cluster-scram-enabled - Enabled *types.Value `json:"Enabled"` + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-blockstorage.html#cfn-eks-cluster-blockstorage-enabled + Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Cluster_Scram struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_Scram) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Scram" +func (r *Cluster_BlockStorage) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.BlockStorage" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_compute_config.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_compute_config.go deleted file mode 100644 index 19cf73985a..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_compute_config.go +++ /dev/null @@ -1,37 +0,0 @@ -package eks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -type Cluster_ComputeConfig struct { - Enabled *types.Value `json:"Enabled,omitempty"` - - NodeRoleArn *types.Value `json:"NodeRoleArn,omitempty"` - - ControllerRoleARN *types.Value `json:"ControllerRoleArn,omitempty"` - - NodePools *types.Value `json:"NodePools,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 *Cluster_ComputeConfig) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.ComputeConfig" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_encryptionatrestoptions.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_computeconfig.go similarity index 61% rename from pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_encryptionatrestoptions.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_computeconfig.go index 2dc4a2833f..3a834cda8b 100644 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_encryptionatrestoptions.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_computeconfig.go @@ -1,4 +1,4 @@ -package elasticsearch +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Domain_EncryptionAtRestOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.EncryptionAtRestOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html -type Domain_EncryptionAtRestOptions struct { +// Cluster_ComputeConfig AWS CloudFormation Resource (AWS::EKS::Cluster.ComputeConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html +type Cluster_ComputeConfig struct { // Enabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html#cfn-elasticsearch-domain-encryptionatrestoptions-enabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-enabled Enabled *types.Value `json:"Enabled,omitempty"` - // KmsKeyId AWS CloudFormation Property + // NodePools AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-encryptionatrestoptions.html#cfn-elasticsearch-domain-encryptionatrestoptions-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-nodepools + NodePools *types.Value `json:"NodePools,omitempty"` + + // NodeRoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-computeconfig.html#cfn-eks-cluster-computeconfig-noderolearn + NodeRoleArn *types.Value `json:"NodeRoleArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +42,6 @@ type Domain_EncryptionAtRestOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Domain_EncryptionAtRestOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.EncryptionAtRestOptions" +func (r *Cluster_ComputeConfig) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.ComputeConfig" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_elastic_loadbalancing.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_elasticloadbalancing.go similarity index 73% rename from pkg/goformation/cloudformation/eks/aws-eks-cluster_elastic_loadbalancing.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_elasticloadbalancing.go index b2843d0b2f..d4efbf2f7c 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_elastic_loadbalancing.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_elasticloadbalancing.go @@ -6,7 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) +// Cluster_ElasticLoadBalancing AWS CloudFormation Resource (AWS::EKS::Cluster.ElasticLoadBalancing) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-elasticloadbalancing.html type Cluster_ElasticLoadBalancing struct { + + // Enabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-elasticloadbalancing.html#cfn-eks-cluster-elasticloadbalancing-enabled Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_kubernetesnetworkconfig.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_kubernetesnetworkconfig.go index 4494e1307e..333e1d41d7 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_kubernetesnetworkconfig.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_kubernetesnetworkconfig.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html type Cluster_KubernetesNetworkConfig struct { + // ElasticLoadBalancing AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html#cfn-eks-cluster-kubernetesnetworkconfig-elasticloadbalancing + ElasticLoadBalancing *Cluster_ElasticLoadBalancing `json:"ElasticLoadBalancing,omitempty"` + // IpFamily AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html#cfn-eks-cluster-kubernetesnetworkconfig-ipfamily @@ -25,8 +30,6 @@ type Cluster_KubernetesNetworkConfig struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-kubernetesnetworkconfig.html#cfn-eks-cluster-kubernetesnetworkconfig-serviceipv6cidr ServiceIpv6Cidr *types.Value `json:"ServiceIpv6Cidr,omitempty"` - ElasticLoadBalancing *Cluster_ElasticLoadBalancing `json:"ElasticLoadBalancing,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterobject.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworkconfig.go similarity index 59% rename from pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterobject.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworkconfig.go index 535ce99f67..169279fd8c 100644 --- a/pkg/goformation/cloudformation/datapipeline/aws-datapipeline-pipeline_parameterobject.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworkconfig.go @@ -1,24 +1,22 @@ -package datapipeline +package eks import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Pipeline_ParameterObject AWS CloudFormation Resource (AWS::DataPipeline::Pipeline.ParameterObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects.html -type Pipeline_ParameterObject struct { +// Cluster_RemoteNetworkConfig AWS CloudFormation Resource (AWS::EKS::Cluster.RemoteNetworkConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html +type Cluster_RemoteNetworkConfig struct { - // Attributes AWS CloudFormation Property + // RemoteNodeNetworks AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects.html#cfn-datapipeline-pipeline-parameterobjects-attributes - Attributes []Pipeline_ParameterAttribute `json:"Attributes,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html#cfn-eks-cluster-remotenetworkconfig-remotenodenetworks + RemoteNodeNetworks []Cluster_RemoteNodeNetwork `json:"RemoteNodeNetworks,omitempty"` - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-parameterobjects.html#cfn-datapipeline-pipeline-parameterobjects-id - Id *types.Value `json:"Id,omitempty"` + // RemotePodNetworks AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenetworkconfig.html#cfn-eks-cluster-remotenetworkconfig-remotepodnetworks + RemotePodNetworks []Cluster_RemotePodNetwork `json:"RemotePodNetworks,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +35,6 @@ type Pipeline_ParameterObject struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Pipeline_ParameterObject) AWSCloudFormationType() string { - return "AWS::DataPipeline::Pipeline.ParameterObject" +func (r *Cluster_RemoteNetworkConfig) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.RemoteNetworkConfig" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworks.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworks.go deleted file mode 100644 index bfdfb79e75..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenetworks.go +++ /dev/null @@ -1,17 +0,0 @@ -package eks - -import "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - -type Cluster_RemoteNetworkConfig struct { - RemotePodNetworks []RemoteNetworks `json:"RemotePodNetworks,omitempty"` - RemoteNodeNetworks []RemoteNetworks `json:"RemoteNodeNetworks,omitempty"` -} - -type RemoteNetworks struct { - CIDRs *types.Value `json:"Cidrs"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_RemoteNetworkConfig) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.RemoteNetworkConfig" -} diff --git a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_backuppolicy.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenodenetwork.go similarity index 70% rename from pkg/goformation/cloudformation/efs/aws-efs-filesystem_backuppolicy.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenodenetwork.go index c1bd52358f..5883b947ec 100644 --- a/pkg/goformation/cloudformation/efs/aws-efs-filesystem_backuppolicy.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotenodenetwork.go @@ -1,4 +1,4 @@ -package efs +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// FileSystem_BackupPolicy AWS CloudFormation Resource (AWS::EFS::FileSystem.BackupPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-backuppolicy.html -type FileSystem_BackupPolicy struct { +// Cluster_RemoteNodeNetwork AWS CloudFormation Resource (AWS::EKS::Cluster.RemoteNodeNetwork) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenodenetwork.html +type Cluster_RemoteNodeNetwork struct { - // Status AWS CloudFormation Property + // Cidrs AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-backuppolicy.html#cfn-efs-filesystem-backuppolicy-status - Status *types.Value `json:"Status,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotenodenetwork.html#cfn-eks-cluster-remotenodenetwork-cidrs + Cidrs *types.Value `json:"Cidrs,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type FileSystem_BackupPolicy struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *FileSystem_BackupPolicy) AWSCloudFormationType() string { - return "AWS::EFS::FileSystem.BackupPolicy" +func (r *Cluster_RemoteNodeNetwork) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.RemoteNodeNetwork" } diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_qualifier.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotepodnetwork.go similarity index 70% rename from pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_qualifier.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_remotepodnetwork.go index 28073e775c..ea679bb7b4 100644 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_qualifier.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_remotepodnetwork.go @@ -1,4 +1,4 @@ -package acmpca +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Certificate_Qualifier AWS CloudFormation Resource (AWS::ACMPCA::Certificate.Qualifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-qualifier.html -type Certificate_Qualifier struct { +// Cluster_RemotePodNetwork AWS CloudFormation Resource (AWS::EKS::Cluster.RemotePodNetwork) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotepodnetwork.html +type Cluster_RemotePodNetwork struct { - // CpsUri AWS CloudFormation Property + // Cidrs AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-qualifier.html#cfn-acmpca-certificate-qualifier-cpsuri - CpsUri *types.Value `json:"CpsUri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-remotepodnetwork.html#cfn-eks-cluster-remotepodnetwork-cidrs + Cidrs *types.Value `json:"Cidrs,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Certificate_Qualifier struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Certificate_Qualifier) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.Qualifier" +func (r *Cluster_RemotePodNetwork) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.RemotePodNetwork" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_storage_config.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_storage_config.go deleted file mode 100644 index 18a5c98b58..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_storage_config.go +++ /dev/null @@ -1,55 +0,0 @@ -package eks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -type Cluster_StorageConfig struct { - BlockStorage *Cluster_BlockStorage `json:"BlockStorage,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 *Cluster_StorageConfig) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.StorageConfig" -} - -type Cluster_BlockStorage struct { - Enabled *types.Value `json:"Enabled,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 *Cluster_BlockStorage) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.BlockStorage" -} diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_accesslog.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_storageconfig.go similarity index 68% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_accesslog.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_storageconfig.go index d8f4af7db2..e5326cd46f 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_accesslog.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_storageconfig.go @@ -1,17 +1,17 @@ -package appmesh +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_AccessLog AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.AccessLog) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-accesslog.html -type VirtualNode_AccessLog struct { +// Cluster_StorageConfig AWS CloudFormation Resource (AWS::EKS::Cluster.StorageConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-storageconfig.html +type Cluster_StorageConfig struct { - // File AWS CloudFormation Property + // BlockStorage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-accesslog.html#cfn-appmesh-virtualnode-accesslog-file - File *VirtualNode_FileAccessLog `json:"File,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-storageconfig.html#cfn-eks-cluster-storageconfig-blockstorage + BlockStorage *Cluster_BlockStorage `json:"BlockStorage,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type VirtualNode_AccessLog struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_AccessLog) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.AccessLog" +func (r *Cluster_StorageConfig) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.StorageConfig" } diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_dynamodbtarget.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_upgradepolicy.go similarity index 70% rename from pkg/goformation/cloudformation/glue/aws-glue-crawler_dynamodbtarget.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_upgradepolicy.go index a6391569c4..eccc6f6f9c 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_dynamodbtarget.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_upgradepolicy.go @@ -1,4 +1,4 @@ -package glue +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Crawler_DynamoDBTarget AWS CloudFormation Resource (AWS::Glue::Crawler.DynamoDBTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html -type Crawler_DynamoDBTarget struct { +// Cluster_UpgradePolicy AWS CloudFormation Resource (AWS::EKS::Cluster.UpgradePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-upgradepolicy.html +type Cluster_UpgradePolicy struct { - // Path AWS CloudFormation Property + // SupportType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html#cfn-glue-crawler-dynamodbtarget-path - Path *types.Value `json:"Path,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-upgradepolicy.html#cfn-eks-cluster-upgradepolicy-supporttype + SupportType *types.Value `json:"SupportType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Crawler_DynamoDBTarget struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Crawler_DynamoDBTarget) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.DynamoDBTarget" +func (r *Cluster_UpgradePolicy) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.UpgradePolicy" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-cluster_zonal-shift.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_zonal-shift.go deleted file mode 100644 index 532a860565..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-cluster_zonal-shift.go +++ /dev/null @@ -1,31 +0,0 @@ -package eks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -type Cluster_ZonalShift struct { - Enabled *types.Value `json:"Enabled,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 (*Cluster_ZonalShift) AWSCloudFormationType() string { - return "AWS::EKS::Cluster.ZonalShift" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_coldstorageoptions.go b/pkg/goformation/cloudformation/eks/aws-eks-cluster_zonalshiftconfig.go similarity index 72% rename from pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_coldstorageoptions.go rename to pkg/goformation/cloudformation/eks/aws-eks-cluster_zonalshiftconfig.go index 4c2c0b33eb..9bb36e50d5 100644 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_coldstorageoptions.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-cluster_zonalshiftconfig.go @@ -1,4 +1,4 @@ -package elasticsearch +package eks import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,13 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Domain_ColdStorageOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.ColdStorageOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-coldstorageoptions.html -type Domain_ColdStorageOptions struct { +// Cluster_ZonalShiftConfig AWS CloudFormation Resource (AWS::EKS::Cluster.ZonalShiftConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-zonalshiftconfig.html +type Cluster_ZonalShiftConfig struct { // Enabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-coldstorageoptions.html#cfn-elasticsearch-domain-coldstorageoptions-enabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-zonalshiftconfig.html#cfn-eks-cluster-zonalshiftconfig-enabled Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -32,6 +32,6 @@ type Domain_ColdStorageOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Domain_ColdStorageOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.ColdStorageOptions" +func (r *Cluster_ZonalShiftConfig) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.ZonalShiftConfig" } diff --git a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup.go b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup.go index bec8aeb148..2d2ebf41cf 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup.go @@ -47,7 +47,7 @@ type Nodegroup struct { // Labels AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-labels - Labels interface{} `json:"Labels,omitempty"` + Labels map[string]*types.Value `json:"Labels,omitempty"` // LaunchTemplate AWS CloudFormation Property // Required: false @@ -92,7 +92,7 @@ type Nodegroup struct { // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-tags - Tags interface{} `json:"Tags,omitempty"` + Tags map[string]*types.Value `json:"Tags,omitempty"` // Taints AWS CloudFormation Property // Required: false diff --git a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_noderepairconfig.go b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_noderepairconfig.go index f2397ce248..e64996f12f 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_noderepairconfig.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_noderepairconfig.go @@ -7,7 +7,12 @@ import ( ) // Nodegroup_NodeRepairConfig AWS CloudFormation Resource (AWS::EKS::Nodegroup.NodeRepairConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-noderepairconfig.html type Nodegroup_NodeRepairConfig struct { + + // Enabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-noderepairconfig.html#cfn-eks-nodegroup-noderepairconfig-enabled Enabled *types.Value `json:"Enabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_taints.go b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_taints.go deleted file mode 100644 index 71b55bca90..0000000000 --- a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_taints.go +++ /dev/null @@ -1,12 +0,0 @@ -package eks - -import "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - -// Nodegroup_Taints AWS CloudFormation Resource (AWS::EKS::Nodegroup.Taints) -// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-taint.html -type Nodegroup_Taints struct { - // TODO documentation - Key *types.Value `json:"Key,omitempty"` - Value *types.Value `json:"Value,omitempty"` - Effect *types.Value `json:"Effect,omitempty"` -} diff --git a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_updateconfig.go b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_updateconfig.go index 5f4c75f3e6..a4717be92f 100644 --- a/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_updateconfig.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-nodegroup_updateconfig.go @@ -20,6 +20,11 @@ type Nodegroup_UpdateConfig struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-maxunavailablepercentage MaxUnavailablePercentage *types.Value `json:"MaxUnavailablePercentage,omitempty"` + // UpdateStrategy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-updatestrategy + UpdateStrategy *types.Value `json:"UpdateStrategy,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet.go b/pkg/goformation/cloudformation/eks/aws-eks-podidentityassociation.go similarity index 75% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet.go rename to pkg/goformation/cloudformation/eks/aws-eks-podidentityassociation.go index 380c7aed5c..6ab21dc6bf 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet.go +++ b/pkg/goformation/cloudformation/eks/aws-eks-podidentityassociation.go @@ -1,4 +1,4 @@ -package sagemaker +package eks import ( "bytes" @@ -11,33 +11,33 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DeviceFleet AWS CloudFormation Resource (AWS::SageMaker::DeviceFleet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html -type DeviceFleet struct { +// PodIdentityAssociation AWS CloudFormation Resource (AWS::EKS::PodIdentityAssociation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html +type PodIdentityAssociation struct { - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html#cfn-sagemaker-devicefleet-description - Description *types.Value `json:"Description,omitempty"` - - // DeviceFleetName AWS CloudFormation Property + // ClusterName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html#cfn-sagemaker-devicefleet-devicefleetname - DeviceFleetName *types.Value `json:"DeviceFleetName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-clustername + ClusterName *types.Value `json:"ClusterName,omitempty"` - // OutputConfig AWS CloudFormation Property + // Namespace AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html#cfn-sagemaker-devicefleet-outputconfig - OutputConfig *DeviceFleet_EdgeOutputConfig `json:"OutputConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-namespace + Namespace *types.Value `json:"Namespace,omitempty"` // RoleArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html#cfn-sagemaker-devicefleet-rolearn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-rolearn RoleArn *types.Value `json:"RoleArn,omitempty"` + // ServiceAccount AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-serviceaccount + ServiceAccount *types.Value `json:"ServiceAccount,omitempty"` + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html#cfn-sagemaker-devicefleet-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-podidentityassociation.html#cfn-eks-podidentityassociation-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -57,14 +57,14 @@ type DeviceFleet struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DeviceFleet) AWSCloudFormationType() string { - return "AWS::SageMaker::DeviceFleet" +func (r *PodIdentityAssociation) AWSCloudFormationType() string { + return "AWS::EKS::PodIdentityAssociation" } // 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 (r DeviceFleet) MarshalJSON() ([]byte, error) { - type Properties DeviceFleet +func (r PodIdentityAssociation) MarshalJSON() ([]byte, error) { + type Properties PodIdentityAssociation return json.Marshal(&struct { Type string Properties Properties @@ -86,8 +86,8 @@ func (r DeviceFleet) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeviceFleet) UnmarshalJSON(b []byte) error { - type Properties DeviceFleet +func (r *PodIdentityAssociation) UnmarshalJSON(b []byte) error { + type Properties PodIdentityAssociation res := &struct { Type string Properties *Properties @@ -108,7 +108,7 @@ func (r *DeviceFleet) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = DeviceFleet(*res.Properties) + *r = PodIdentityAssociation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster.go deleted file mode 100644 index bd949f64b7..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster.go +++ /dev/null @@ -1,214 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CacheCluster AWS CloudFormation Resource (AWS::ElastiCache::CacheCluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html -type CacheCluster struct { - - // AZMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-azmode - AZMode *types.Value `json:"AZMode,omitempty"` - - // AutoMinorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // CacheNodeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachenodetype - CacheNodeType *types.Value `json:"CacheNodeType,omitempty"` - - // CacheParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cacheparametergroupname - CacheParameterGroupName *types.Value `json:"CacheParameterGroupName,omitempty"` - - // CacheSecurityGroupNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesecuritygroupnames - CacheSecurityGroupNames *types.Value `json:"CacheSecurityGroupNames,omitempty"` - - // CacheSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-cachesubnetgroupname - CacheSubnetGroupName *types.Value `json:"CacheSubnetGroupName,omitempty"` - - // ClusterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // Engine AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engine - Engine *types.Value `json:"Engine,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // LogDeliveryConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-logdeliveryconfigurations - LogDeliveryConfigurations []CacheCluster_LogDeliveryConfigurationRequest `json:"LogDeliveryConfigurations,omitempty"` - - // NotificationTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-notificationtopicarn - NotificationTopicArn *types.Value `json:"NotificationTopicArn,omitempty"` - - // NumCacheNodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-numcachenodes - NumCacheNodes *types.Value `json:"NumCacheNodes"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-port - Port *types.Value `json:"Port,omitempty"` - - // PreferredAvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzone - PreferredAvailabilityZone *types.Value `json:"PreferredAvailabilityZone,omitempty"` - - // PreferredAvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredavailabilityzones - PreferredAvailabilityZones *types.Value `json:"PreferredAvailabilityZones,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // SnapshotArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotarns - SnapshotArns *types.Value `json:"SnapshotArns,omitempty"` - - // SnapshotName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotname - SnapshotName *types.Value `json:"SnapshotName,omitempty"` - - // SnapshotRetentionLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotretentionlimit - SnapshotRetentionLimit *types.Value `json:"SnapshotRetentionLimit,omitempty"` - - // SnapshotWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-snapshotwindow - SnapshotWindow *types.Value `json:"SnapshotWindow,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cache-cluster.html#cfn-elasticache-cachecluster-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *CacheCluster) AWSCloudFormationType() string { - return "AWS::ElastiCache::CacheCluster" -} - -// 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 (r CacheCluster) MarshalJSON() ([]byte, error) { - type Properties CacheCluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CacheCluster) UnmarshalJSON(b []byte) error { - type Properties CacheCluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CacheCluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_cloudwatchlogsdestinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_cloudwatchlogsdestinationdetails.go deleted file mode 100644 index 227c0506f7..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_cloudwatchlogsdestinationdetails.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CacheCluster_CloudWatchLogsDestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-cloudwatchlogsdestinationdetails.html -type CacheCluster_CloudWatchLogsDestinationDetails struct { - - // LogGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-cloudwatchlogsdestinationdetails.html#cfn-elasticache-cachecluster-cloudwatchlogsdestinationdetails-loggroup - LogGroup *types.Value `json:"LogGroup,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 *CacheCluster_CloudWatchLogsDestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_destinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_destinationdetails.go deleted file mode 100644 index 3b6e2ea483..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_destinationdetails.go +++ /dev/null @@ -1,40 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CacheCluster_DestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::CacheCluster.DestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-destinationdetails.html -type CacheCluster_DestinationDetails struct { - - // CloudWatchLogsDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-destinationdetails.html#cfn-elasticache-cachecluster-destinationdetails-cloudwatchlogsdetails - CloudWatchLogsDetails *CacheCluster_CloudWatchLogsDestinationDetails `json:"CloudWatchLogsDetails,omitempty"` - - // KinesisFirehoseDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-destinationdetails.html#cfn-elasticache-cachecluster-destinationdetails-kinesisfirehosedetails - KinesisFirehoseDetails *CacheCluster_KinesisFirehoseDestinationDetails `json:"KinesisFirehoseDetails,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 *CacheCluster_DestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::CacheCluster.DestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_kinesisfirehosedestinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_kinesisfirehosedestinationdetails.go deleted file mode 100644 index 2ee380fa49..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_kinesisfirehosedestinationdetails.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CacheCluster_KinesisFirehoseDestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-kinesisfirehosedestinationdetails.html -type CacheCluster_KinesisFirehoseDestinationDetails struct { - - // DeliveryStream AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-kinesisfirehosedestinationdetails.html#cfn-elasticache-cachecluster-kinesisfirehosedestinationdetails-deliverystream - DeliveryStream *types.Value `json:"DeliveryStream,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 *CacheCluster_KinesisFirehoseDestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_logdeliveryconfigurationrequest.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_logdeliveryconfigurationrequest.go deleted file mode 100644 index 893ba93e40..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-cachecluster_logdeliveryconfigurationrequest.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CacheCluster_LogDeliveryConfigurationRequest AWS CloudFormation Resource (AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-logdeliveryconfigurationrequest.html -type CacheCluster_LogDeliveryConfigurationRequest struct { - - // DestinationDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-logdeliveryconfigurationrequest.html#cfn-elasticache-cachecluster-logdeliveryconfigurationrequest-destinationdetails - DestinationDetails *CacheCluster_DestinationDetails `json:"DestinationDetails,omitempty"` - - // DestinationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-logdeliveryconfigurationrequest.html#cfn-elasticache-cachecluster-logdeliveryconfigurationrequest-destinationtype - DestinationType *types.Value `json:"DestinationType,omitempty"` - - // LogFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-logdeliveryconfigurationrequest.html#cfn-elasticache-cachecluster-logdeliveryconfigurationrequest-logformat - LogFormat *types.Value `json:"LogFormat,omitempty"` - - // LogType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-cachecluster-logdeliveryconfigurationrequest.html#cfn-elasticache-cachecluster-logdeliveryconfigurationrequest-logtype - LogType *types.Value `json:"LogType,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 *CacheCluster_LogDeliveryConfigurationRequest) AWSCloudFormationType() string { - return "AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup.go deleted file mode 100644 index 9003d6a955..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup.go +++ /dev/null @@ -1,148 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalReplicationGroup AWS CloudFormation Resource (AWS::ElastiCache::GlobalReplicationGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html -type GlobalReplicationGroup struct { - - // AutomaticFailoverEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-automaticfailoverenabled - AutomaticFailoverEnabled *types.Value `json:"AutomaticFailoverEnabled,omitempty"` - - // CacheNodeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-cachenodetype - CacheNodeType *types.Value `json:"CacheNodeType,omitempty"` - - // CacheParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-cacheparametergroupname - CacheParameterGroupName *types.Value `json:"CacheParameterGroupName,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // GlobalNodeGroupCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalnodegroupcount - GlobalNodeGroupCount *types.Value `json:"GlobalNodeGroupCount,omitempty"` - - // GlobalReplicationGroupDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupdescription - GlobalReplicationGroupDescription *types.Value `json:"GlobalReplicationGroupDescription,omitempty"` - - // GlobalReplicationGroupIdSuffix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupidsuffix - GlobalReplicationGroupIdSuffix *types.Value `json:"GlobalReplicationGroupIdSuffix,omitempty"` - - // Members AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-members - Members []GlobalReplicationGroup_GlobalReplicationGroupMember `json:"Members,omitempty"` - - // RegionalConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-globalreplicationgroup.html#cfn-elasticache-globalreplicationgroup-regionalconfigurations - RegionalConfigurations []GlobalReplicationGroup_RegionalConfiguration `json:"RegionalConfigurations,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 *GlobalReplicationGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::GlobalReplicationGroup" -} - -// 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 (r GlobalReplicationGroup) MarshalJSON() ([]byte, error) { - type Properties GlobalReplicationGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GlobalReplicationGroup) UnmarshalJSON(b []byte) error { - type Properties GlobalReplicationGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GlobalReplicationGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_globalreplicationgroupmember.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_globalreplicationgroupmember.go deleted file mode 100644 index 591c535b4a..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_globalreplicationgroupmember.go +++ /dev/null @@ -1,47 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalReplicationGroup_GlobalReplicationGroupMember AWS CloudFormation Resource (AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-globalreplicationgroupmember.html -type GlobalReplicationGroup_GlobalReplicationGroupMember struct { - - // ReplicationGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-globalreplicationgroupmember.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupmember-replicationgroupid - ReplicationGroupId *types.Value `json:"ReplicationGroupId,omitempty"` - - // ReplicationGroupRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-globalreplicationgroupmember.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupmember-replicationgroupregion - ReplicationGroupRegion *types.Value `json:"ReplicationGroupRegion,omitempty"` - - // Role AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-globalreplicationgroupmember.html#cfn-elasticache-globalreplicationgroup-globalreplicationgroupmember-role - Role *types.Value `json:"Role,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 *GlobalReplicationGroup_GlobalReplicationGroupMember) AWSCloudFormationType() string { - return "AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_regionalconfiguration.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_regionalconfiguration.go deleted file mode 100644 index 6f368d4299..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_regionalconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalReplicationGroup_RegionalConfiguration AWS CloudFormation Resource (AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-regionalconfiguration.html -type GlobalReplicationGroup_RegionalConfiguration struct { - - // ReplicationGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-regionalconfiguration.html#cfn-elasticache-globalreplicationgroup-regionalconfiguration-replicationgroupid - ReplicationGroupId *types.Value `json:"ReplicationGroupId,omitempty"` - - // ReplicationGroupRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-regionalconfiguration.html#cfn-elasticache-globalreplicationgroup-regionalconfiguration-replicationgroupregion - ReplicationGroupRegion *types.Value `json:"ReplicationGroupRegion,omitempty"` - - // ReshardingConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-regionalconfiguration.html#cfn-elasticache-globalreplicationgroup-regionalconfiguration-reshardingconfigurations - ReshardingConfigurations []GlobalReplicationGroup_ReshardingConfiguration `json:"ReshardingConfigurations,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 *GlobalReplicationGroup_RegionalConfiguration) AWSCloudFormationType() string { - return "AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_reshardingconfiguration.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_reshardingconfiguration.go deleted file mode 100644 index b25b7d931e..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-globalreplicationgroup_reshardingconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalReplicationGroup_ReshardingConfiguration AWS CloudFormation Resource (AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-reshardingconfiguration.html -type GlobalReplicationGroup_ReshardingConfiguration struct { - - // NodeGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-reshardingconfiguration.html#cfn-elasticache-globalreplicationgroup-reshardingconfiguration-nodegroupid - NodeGroupId *types.Value `json:"NodeGroupId,omitempty"` - - // PreferredAvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-globalreplicationgroup-reshardingconfiguration.html#cfn-elasticache-globalreplicationgroup-reshardingconfiguration-preferredavailabilityzones - PreferredAvailabilityZones *types.Value `json:"PreferredAvailabilityZones,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 *GlobalReplicationGroup_ReshardingConfiguration) AWSCloudFormationType() string { - return "AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-parametergroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-parametergroup.go deleted file mode 100644 index 08018bd8b6..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-parametergroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ParameterGroup AWS CloudFormation Resource (AWS::ElastiCache::ParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-parameter-group.html -type ParameterGroup struct { - - // CacheParameterGroupFamily AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-parameter-group.html#cfn-elasticache-parametergroup-cacheparametergroupfamily - CacheParameterGroupFamily *types.Value `json:"CacheParameterGroupFamily,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-parameter-group.html#cfn-elasticache-parametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // Properties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-parameter-group.html#cfn-elasticache-parametergroup-properties - Properties map[string]*types.Value `json:"Properties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-parameter-group.html#cfn-elasticache-parametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ParameterGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::ParameterGroup" -} - -// 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 (r ParameterGroup) MarshalJSON() ([]byte, error) { - type Properties ParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ParameterGroup) UnmarshalJSON(b []byte) error { - type Properties ParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup.go deleted file mode 100644 index e9c37fdfc4..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup.go +++ /dev/null @@ -1,279 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html -type ReplicationGroup struct { - - // AtRestEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-atrestencryptionenabled - AtRestEncryptionEnabled *types.Value `json:"AtRestEncryptionEnabled,omitempty"` - - // AuthToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-authtoken - AuthToken *types.Value `json:"AuthToken,omitempty"` - - // AutoMinorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // AutomaticFailoverEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-automaticfailoverenabled - AutomaticFailoverEnabled *types.Value `json:"AutomaticFailoverEnabled,omitempty"` - - // CacheNodeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-cachenodetype - CacheNodeType *types.Value `json:"CacheNodeType,omitempty"` - - // CacheParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-cacheparametergroupname - CacheParameterGroupName *types.Value `json:"CacheParameterGroupName,omitempty"` - - // CacheSecurityGroupNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-cachesecuritygroupnames - CacheSecurityGroupNames *types.Value `json:"CacheSecurityGroupNames,omitempty"` - - // CacheSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-cachesubnetgroupname - CacheSubnetGroupName *types.Value `json:"CacheSubnetGroupName,omitempty"` - - // DataTieringEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-datatieringenabled - DataTieringEnabled *types.Value `json:"DataTieringEnabled,omitempty"` - - // Engine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-engine - Engine *types.Value `json:"Engine,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // GlobalReplicationGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-globalreplicationgroupid - GlobalReplicationGroupId *types.Value `json:"GlobalReplicationGroupId,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LogDeliveryConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-logdeliveryconfigurations - LogDeliveryConfigurations []ReplicationGroup_LogDeliveryConfigurationRequest `json:"LogDeliveryConfigurations,omitempty"` - - // MultiAZEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-multiazenabled - MultiAZEnabled *types.Value `json:"MultiAZEnabled,omitempty"` - - // NodeGroupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-nodegroupconfiguration - NodeGroupConfiguration []ReplicationGroup_NodeGroupConfiguration `json:"NodeGroupConfiguration,omitempty"` - - // NotificationTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-notificationtopicarn - NotificationTopicArn *types.Value `json:"NotificationTopicArn,omitempty"` - - // NumCacheClusters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-numcacheclusters - NumCacheClusters *types.Value `json:"NumCacheClusters,omitempty"` - - // NumNodeGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-numnodegroups - NumNodeGroups *types.Value `json:"NumNodeGroups,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-port - Port *types.Value `json:"Port,omitempty"` - - // PreferredCacheClusterAZs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-preferredcacheclusterazs - PreferredCacheClusterAZs *types.Value `json:"PreferredCacheClusterAZs,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // PrimaryClusterId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-primaryclusterid - PrimaryClusterId *types.Value `json:"PrimaryClusterId,omitempty"` - - // ReplicasPerNodeGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-replicaspernodegroup - ReplicasPerNodeGroup *types.Value `json:"ReplicasPerNodeGroup,omitempty"` - - // ReplicationGroupDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-replicationgroupdescription - ReplicationGroupDescription *types.Value `json:"ReplicationGroupDescription,omitempty"` - - // ReplicationGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-replicationgroupid - ReplicationGroupId *types.Value `json:"ReplicationGroupId,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SnapshotArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshotarns - SnapshotArns *types.Value `json:"SnapshotArns,omitempty"` - - // SnapshotName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshotname - SnapshotName *types.Value `json:"SnapshotName,omitempty"` - - // SnapshotRetentionLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshotretentionlimit - SnapshotRetentionLimit *types.Value `json:"SnapshotRetentionLimit,omitempty"` - - // SnapshotWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshotwindow - SnapshotWindow *types.Value `json:"SnapshotWindow,omitempty"` - - // SnapshottingClusterId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-snapshottingclusterid - SnapshottingClusterId *types.Value `json:"SnapshottingClusterId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TransitEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-transitencryptionenabled - TransitEncryptionEnabled *types.Value `json:"TransitEncryptionEnabled,omitempty"` - - // UserGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-replicationgroup.html#cfn-elasticache-replicationgroup-usergroupids - UserGroupIds *types.Value `json:"UserGroupIds,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 *ReplicationGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup" -} - -// 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 (r ReplicationGroup) MarshalJSON() ([]byte, error) { - type Properties ReplicationGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReplicationGroup) UnmarshalJSON(b []byte) error { - type Properties ReplicationGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReplicationGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_cloudwatchlogsdestinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_cloudwatchlogsdestinationdetails.go deleted file mode 100644 index 86b8abf9a9..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_cloudwatchlogsdestinationdetails.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup_CloudWatchLogsDestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-cloudwatchlogsdestinationdetails.html -type ReplicationGroup_CloudWatchLogsDestinationDetails struct { - - // LogGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-cloudwatchlogsdestinationdetails.html#cfn-elasticache-replicationgroup-cloudwatchlogsdestinationdetails-loggroup - LogGroup *types.Value `json:"LogGroup,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 *ReplicationGroup_CloudWatchLogsDestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_destinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_destinationdetails.go deleted file mode 100644 index 9034c35302..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_destinationdetails.go +++ /dev/null @@ -1,40 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup_DestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup.DestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-destinationdetails.html -type ReplicationGroup_DestinationDetails struct { - - // CloudWatchLogsDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-destinationdetails.html#cfn-elasticache-replicationgroup-destinationdetails-cloudwatchlogsdetails - CloudWatchLogsDetails *ReplicationGroup_CloudWatchLogsDestinationDetails `json:"CloudWatchLogsDetails,omitempty"` - - // KinesisFirehoseDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-destinationdetails.html#cfn-elasticache-replicationgroup-destinationdetails-kinesisfirehosedetails - KinesisFirehoseDetails *ReplicationGroup_KinesisFirehoseDestinationDetails `json:"KinesisFirehoseDetails,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 *ReplicationGroup_DestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup.DestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_kinesisfirehosedestinationdetails.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_kinesisfirehosedestinationdetails.go deleted file mode 100644 index 16b01b820e..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_kinesisfirehosedestinationdetails.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup_KinesisFirehoseDestinationDetails AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-kinesisfirehosedestinationdetails.html -type ReplicationGroup_KinesisFirehoseDestinationDetails struct { - - // DeliveryStream AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-kinesisfirehosedestinationdetails.html#cfn-elasticache-replicationgroup-kinesisfirehosedestinationdetails-deliverystream - DeliveryStream *types.Value `json:"DeliveryStream,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 *ReplicationGroup_KinesisFirehoseDestinationDetails) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_logdeliveryconfigurationrequest.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_logdeliveryconfigurationrequest.go deleted file mode 100644 index fb8a50bf0c..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_logdeliveryconfigurationrequest.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup_LogDeliveryConfigurationRequest AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-logdeliveryconfigurationrequest.html -type ReplicationGroup_LogDeliveryConfigurationRequest struct { - - // DestinationDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-logdeliveryconfigurationrequest.html#cfn-elasticache-replicationgroup-logdeliveryconfigurationrequest-destinationdetails - DestinationDetails *ReplicationGroup_DestinationDetails `json:"DestinationDetails,omitempty"` - - // DestinationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-logdeliveryconfigurationrequest.html#cfn-elasticache-replicationgroup-logdeliveryconfigurationrequest-destinationtype - DestinationType *types.Value `json:"DestinationType,omitempty"` - - // LogFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-logdeliveryconfigurationrequest.html#cfn-elasticache-replicationgroup-logdeliveryconfigurationrequest-logformat - LogFormat *types.Value `json:"LogFormat,omitempty"` - - // LogType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-logdeliveryconfigurationrequest.html#cfn-elasticache-replicationgroup-logdeliveryconfigurationrequest-logtype - LogType *types.Value `json:"LogType,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 *ReplicationGroup_LogDeliveryConfigurationRequest) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_nodegroupconfiguration.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_nodegroupconfiguration.go deleted file mode 100644 index 718a9232b0..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-replicationgroup_nodegroupconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package elasticache - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationGroup_NodeGroupConfiguration AWS CloudFormation Resource (AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html -type ReplicationGroup_NodeGroupConfiguration struct { - - // NodeGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-nodegroupid - NodeGroupId *types.Value `json:"NodeGroupId,omitempty"` - - // PrimaryAvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-primaryavailabilityzone - PrimaryAvailabilityZone *types.Value `json:"PrimaryAvailabilityZone,omitempty"` - - // ReplicaAvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-replicaavailabilityzones - ReplicaAvailabilityZones *types.Value `json:"ReplicaAvailabilityZones,omitempty"` - - // ReplicaCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-replicacount - ReplicaCount *types.Value `json:"ReplicaCount,omitempty"` - - // Slots AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-slots - Slots *types.Value `json:"Slots,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 *ReplicationGroup_NodeGroupConfiguration) AWSCloudFormationType() string { - return "AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration" -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroup.go deleted file mode 100644 index b32dc4461c..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroup.go +++ /dev/null @@ -1,114 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityGroup AWS CloudFormation Resource (AWS::ElastiCache::SecurityGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html -type SecurityGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html#cfn-elasticache-securitygroup-description - Description *types.Value `json:"Description,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group.html#cfn-elasticache-securitygroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *SecurityGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::SecurityGroup" -} - -// 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 (r SecurityGroup) MarshalJSON() ([]byte, error) { - type Properties SecurityGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecurityGroup) UnmarshalJSON(b []byte) error { - type Properties SecurityGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecurityGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroupingress.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroupingress.go deleted file mode 100644 index 17e7932b1e..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-securitygroupingress.go +++ /dev/null @@ -1,118 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityGroupIngress AWS CloudFormation Resource (AWS::ElastiCache::SecurityGroupIngress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html -type SecurityGroupIngress struct { - - // CacheSecurityGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-cachesecuritygroupname - CacheSecurityGroupName *types.Value `json:"CacheSecurityGroupName,omitempty"` - - // EC2SecurityGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupname - EC2SecurityGroupName *types.Value `json:"EC2SecurityGroupName,omitempty"` - - // EC2SecurityGroupOwnerId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-security-group-ingress.html#cfn-elasticache-securitygroupingress-ec2securitygroupownerid - EC2SecurityGroupOwnerId *types.Value `json:"EC2SecurityGroupOwnerId,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 *SecurityGroupIngress) AWSCloudFormationType() string { - return "AWS::ElastiCache::SecurityGroupIngress" -} - -// 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 (r SecurityGroupIngress) MarshalJSON() ([]byte, error) { - type Properties SecurityGroupIngress - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecurityGroupIngress) UnmarshalJSON(b []byte) error { - type Properties SecurityGroupIngress - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecurityGroupIngress(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-subnetgroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-subnetgroup.go deleted file mode 100644 index e78d72d789..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-subnetgroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubnetGroup AWS CloudFormation Resource (AWS::ElastiCache::SubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html -type SubnetGroup struct { - - // CacheSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-cachesubnetgroupname - CacheSubnetGroupName *types.Value `json:"CacheSubnetGroupName,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-description - Description *types.Value `json:"Description,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *SubnetGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::SubnetGroup" -} - -// 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 (r SubnetGroup) MarshalJSON() ([]byte, error) { - type Properties SubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubnetGroup) UnmarshalJSON(b []byte) error { - type Properties SubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-user.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-user.go deleted file mode 100644 index 18baa23713..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-user.go +++ /dev/null @@ -1,133 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User AWS CloudFormation Resource (AWS::ElastiCache::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html -type User struct { - - // AccessString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-accessstring - AccessString *types.Value `json:"AccessString,omitempty"` - - // Engine AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-engine - Engine *types.Value `json:"Engine,omitempty"` - - // NoPasswordRequired AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-nopasswordrequired - NoPasswordRequired *types.Value `json:"NoPasswordRequired,omitempty"` - - // Passwords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-passwords - Passwords *types.Value `json:"Passwords,omitempty"` - - // UserId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-userid - UserId *types.Value `json:"UserId,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html#cfn-elasticache-user-username - UserName *types.Value `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 *User) AWSCloudFormationType() string { - return "AWS::ElastiCache::User" -} - -// 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 (r User) MarshalJSON() ([]byte, error) { - type Properties User - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *User) UnmarshalJSON(b []byte) error { - type Properties User - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = User(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticache/aws-elasticache-usergroup.go b/pkg/goformation/cloudformation/elasticache/aws-elasticache-usergroup.go deleted file mode 100644 index c181b0565e..0000000000 --- a/pkg/goformation/cloudformation/elasticache/aws-elasticache-usergroup.go +++ /dev/null @@ -1,118 +0,0 @@ -package elasticache - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserGroup AWS CloudFormation Resource (AWS::ElastiCache::UserGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html -type UserGroup struct { - - // Engine AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-engine - Engine *types.Value `json:"Engine,omitempty"` - - // UserGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-usergroupid - UserGroupId *types.Value `json:"UserGroupId,omitempty"` - - // UserIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-usergroup.html#cfn-elasticache-usergroup-userids - UserIds *types.Value `json:"UserIds,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 *UserGroup) AWSCloudFormationType() string { - return "AWS::ElastiCache::UserGroup" -} - -// 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 (r UserGroup) MarshalJSON() ([]byte, error) { - type Properties UserGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserGroup) UnmarshalJSON(b []byte) error { - type Properties UserGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application.go deleted file mode 100644 index d11b99eb59..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application.go +++ /dev/null @@ -1,118 +0,0 @@ -package elasticbeanstalk - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::ElasticBeanstalk::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html -type Application struct { - - // ApplicationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-name - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-description - Description *types.Value `json:"Description,omitempty"` - - // ResourceLifecycleConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk.html#cfn-elasticbeanstalk-application-resourcelifecycleconfig - ResourceLifecycleConfig *Application_ApplicationResourceLifecycleConfig `json:"ResourceLifecycleConfig,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 *Application) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationresourcelifecycleconfig.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationresourcelifecycleconfig.go deleted file mode 100644 index c9a8698272..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationresourcelifecycleconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApplicationResourceLifecycleConfig AWS CloudFormation Resource (AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html -type Application_ApplicationResourceLifecycleConfig struct { - - // ServiceRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html#cfn-elasticbeanstalk-application-applicationresourcelifecycleconfig-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // VersionLifecycleConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationresourcelifecycleconfig.html#cfn-elasticbeanstalk-application-applicationresourcelifecycleconfig-versionlifecycleconfig - VersionLifecycleConfig *Application_ApplicationVersionLifecycleConfig `json:"VersionLifecycleConfig,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 *Application_ApplicationResourceLifecycleConfig) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationversionlifecycleconfig.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationversionlifecycleconfig.go deleted file mode 100644 index 8c5584fd72..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_applicationversionlifecycleconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApplicationVersionLifecycleConfig AWS CloudFormation Resource (AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html -type Application_ApplicationVersionLifecycleConfig struct { - - // MaxAgeRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxagerule - MaxAgeRule *Application_MaxAgeRule `json:"MaxAgeRule,omitempty"` - - // MaxCountRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-applicationversionlifecycleconfig.html#cfn-elasticbeanstalk-application-applicationversionlifecycleconfig-maxcountrule - MaxCountRule *Application_MaxCountRule `json:"MaxCountRule,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 *Application_ApplicationVersionLifecycleConfig) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxagerule.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxagerule.go deleted file mode 100644 index b03118770c..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-application_maxagerule.go +++ /dev/null @@ -1,47 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_MaxAgeRule AWS CloudFormation Resource (AWS::ElasticBeanstalk::Application.MaxAgeRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html -type Application_MaxAgeRule struct { - - // DeleteSourceFromS3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-deletesourcefroms3 - DeleteSourceFromS3 *types.Value `json:"DeleteSourceFromS3,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // MaxAgeInDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-maxageindays - MaxAgeInDays *types.Value `json:"MaxAgeInDays,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 *Application_MaxAgeRule) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Application.MaxAgeRule" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion.go deleted file mode 100644 index 609d691e47..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion.go +++ /dev/null @@ -1,118 +0,0 @@ -package elasticbeanstalk - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationVersion AWS CloudFormation Resource (AWS::ElasticBeanstalk::ApplicationVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-version.html -type ApplicationVersion struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-version.html#cfn-elasticbeanstalk-applicationversion-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-version.html#cfn-elasticbeanstalk-applicationversion-description - Description *types.Value `json:"Description,omitempty"` - - // SourceBundle AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-version.html#cfn-elasticbeanstalk-applicationversion-sourcebundle - SourceBundle *ApplicationVersion_SourceBundle `json:"SourceBundle,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 *ApplicationVersion) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::ApplicationVersion" -} - -// 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 (r ApplicationVersion) MarshalJSON() ([]byte, error) { - type Properties ApplicationVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationVersion) UnmarshalJSON(b []byte) error { - type Properties ApplicationVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate.go deleted file mode 100644 index a3cb64314e..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate.go +++ /dev/null @@ -1,138 +0,0 @@ -package elasticbeanstalk - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationTemplate AWS CloudFormation Resource (AWS::ElasticBeanstalk::ConfigurationTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html -type ConfigurationTemplate struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-description - Description *types.Value `json:"Description,omitempty"` - - // EnvironmentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-environmentid - EnvironmentId *types.Value `json:"EnvironmentId,omitempty"` - - // OptionSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-optionsettings - OptionSettings []ConfigurationTemplate_ConfigurationOptionSetting `json:"OptionSettings,omitempty"` - - // PlatformArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-platformarn - PlatformArn *types.Value `json:"PlatformArn,omitempty"` - - // SolutionStackName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-solutionstackname - SolutionStackName *types.Value `json:"SolutionStackName,omitempty"` - - // SourceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-configurationtemplate.html#cfn-elasticbeanstalk-configurationtemplate-sourceconfiguration - SourceConfiguration *ConfigurationTemplate_SourceConfiguration `json:"SourceConfiguration,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 *ConfigurationTemplate) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::ConfigurationTemplate" -} - -// 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 (r ConfigurationTemplate) MarshalJSON() ([]byte, error) { - type Properties ConfigurationTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationTemplate) UnmarshalJSON(b []byte) error { - type Properties ConfigurationTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_configurationoptionsetting.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_configurationoptionsetting.go deleted file mode 100644 index 201df9ac59..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_configurationoptionsetting.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationTemplate_ConfigurationOptionSetting AWS CloudFormation Resource (AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-configurationoptionsetting.html -type ConfigurationTemplate_ConfigurationOptionSetting struct { - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-configurationoptionsetting.html#cfn-elasticbeanstalk-configurationtemplate-configurationoptionsetting-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // OptionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-configurationoptionsetting.html#cfn-elasticbeanstalk-configurationtemplate-configurationoptionsetting-optionname - OptionName *types.Value `json:"OptionName,omitempty"` - - // ResourceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-configurationoptionsetting.html#cfn-elasticbeanstalk-configurationtemplate-configurationoptionsetting-resourcename - ResourceName *types.Value `json:"ResourceName,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-configurationoptionsetting.html#cfn-elasticbeanstalk-configurationtemplate-configurationoptionsetting-value - Value *types.Value `json:"Value,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 *ConfigurationTemplate_ConfigurationOptionSetting) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_sourceconfiguration.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_sourceconfiguration.go deleted file mode 100644 index c66cde10b3..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-configurationtemplate_sourceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationTemplate_SourceConfiguration AWS CloudFormation Resource (AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-sourceconfiguration.html -type ConfigurationTemplate_SourceConfiguration struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-sourceconfiguration.html#cfn-elasticbeanstalk-configurationtemplate-sourceconfiguration-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-configurationtemplate-sourceconfiguration.html#cfn-elasticbeanstalk-configurationtemplate-sourceconfiguration-templatename - TemplateName *types.Value `json:"TemplateName,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 *ConfigurationTemplate_SourceConfiguration) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment.go deleted file mode 100644 index 7f1dc64703..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment.go +++ /dev/null @@ -1,164 +0,0 @@ -package elasticbeanstalk - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment AWS CloudFormation Resource (AWS::ElasticBeanstalk::Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html -type Environment struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // CNAMEPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-cnameprefix - CNAMEPrefix *types.Value `json:"CNAMEPrefix,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-description - Description *types.Value `json:"Description,omitempty"` - - // EnvironmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-name - EnvironmentName *types.Value `json:"EnvironmentName,omitempty"` - - // OperationsRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-operations-role - OperationsRole *types.Value `json:"OperationsRole,omitempty"` - - // OptionSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-optionsettings - OptionSettings []Environment_OptionSetting `json:"OptionSettings,omitempty"` - - // PlatformArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-platformarn - PlatformArn *types.Value `json:"PlatformArn,omitempty"` - - // SolutionStackName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-solutionstackname - SolutionStackName *types.Value `json:"SolutionStackName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-elasticbeanstalk-environment-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-templatename - TemplateName *types.Value `json:"TemplateName,omitempty"` - - // Tier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-tier - Tier *Environment_Tier `json:"Tier,omitempty"` - - // VersionLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment.html#cfn-beanstalk-environment-versionlabel - VersionLabel *types.Value `json:"VersionLabel,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 *Environment) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Environment" -} - -// 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 (r Environment) MarshalJSON() ([]byte, error) { - type Properties Environment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Environment) UnmarshalJSON(b []byte) error { - type Properties Environment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Environment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_optionsetting.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_optionsetting.go deleted file mode 100644 index dd19ffc11e..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_optionsetting.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_OptionSetting AWS CloudFormation Resource (AWS::ElasticBeanstalk::Environment.OptionSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html -type Environment_OptionSetting struct { - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // OptionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-optionname - OptionName *types.Value `json:"OptionName,omitempty"` - - // ResourceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-elasticbeanstalk-environment-optionsetting-resourcename - ResourceName *types.Value `json:"ResourceName,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-value - Value *types.Value `json:"Value,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 *Environment_OptionSetting) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Environment.OptionSetting" -} diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_tier.go b/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_tier.go deleted file mode 100644 index f4f598ad9a..0000000000 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-environment_tier.go +++ /dev/null @@ -1,47 +0,0 @@ -package elasticbeanstalk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_Tier AWS CloudFormation Resource (AWS::ElasticBeanstalk::Environment.Tier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html -type Environment_Tier struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type - Type *types.Value `json:"Type,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version - Version *types.Value `json:"Version,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 *Environment_Tier) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::Environment.Tier" -} diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener.go index 0aedbd7ea3..3b17eaa577 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener.go @@ -29,11 +29,21 @@ type Listener struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-defaultactions DefaultActions []Listener_Action `json:"DefaultActions,omitempty"` + // ListenerAttributes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-listenerattributes + ListenerAttributes []Listener_ListenerAttribute `json:"ListenerAttributes,omitempty"` + // LoadBalancerArn AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-loadbalancerarn LoadBalancerArn *types.Value `json:"LoadBalancerArn,omitempty"` + // MutualAuthentication AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-mutualauthentication + MutualAuthentication *Listener_MutualAuthentication `json:"MutualAuthentication,omitempty"` + // Port AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-port diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_authenticateoidcconfig.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_authenticateoidcconfig.go index 20efad57cc..7946f04c30 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_authenticateoidcconfig.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_authenticateoidcconfig.go @@ -26,7 +26,7 @@ type Listener_AuthenticateOidcConfig struct { ClientId *types.Value `json:"ClientId,omitempty"` // ClientSecret AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listener-authenticateoidcconfig-clientsecret ClientSecret *types.Value `json:"ClientSecret,omitempty"` @@ -60,6 +60,11 @@ type Listener_AuthenticateOidcConfig struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listener-authenticateoidcconfig-tokenendpoint TokenEndpoint *types.Value `json:"TokenEndpoint,omitempty"` + // UseExistingClientSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listener-authenticateoidcconfig-useexistingclientsecret + UseExistingClientSecret *types.Value `json:"UseExistingClientSecret,omitempty"` + // UserInfoEndpoint AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listener-authenticateoidcconfig-userinfoendpoint diff --git a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_accesspointtag.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_listenerattribute.go similarity index 68% rename from pkg/goformation/cloudformation/efs/aws-efs-accesspoint_accesspointtag.go rename to pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_listenerattribute.go index 476ef8eee0..28d7b9d8d1 100644 --- a/pkg/goformation/cloudformation/efs/aws-efs-accesspoint_accesspointtag.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_listenerattribute.go @@ -1,4 +1,4 @@ -package efs +package elasticloadbalancingv2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AccessPoint_AccessPointTag AWS CloudFormation Resource (AWS::EFS::AccessPoint.AccessPointTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-accesspointtag.html -type AccessPoint_AccessPointTag struct { +// Listener_ListenerAttribute AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html +type Listener_ListenerAttribute struct { // Key AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-accesspointtag.html#cfn-efs-accesspoint-accesspointtag-key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html#cfn-elasticloadbalancingv2-listener-listenerattribute-key Key *types.Value `json:"Key,omitempty"` // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-accesspoint-accesspointtag.html#cfn-efs-accesspoint-accesspointtag-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-listenerattribute.html#cfn-elasticloadbalancingv2-listener-listenerattribute-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type AccessPoint_AccessPointTag struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AccessPoint_AccessPointTag) AWSCloudFormationType() string { - return "AWS::EFS::AccessPoint.AccessPointTag" +func (r *Listener_ListenerAttribute) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute" } diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_mutualauthentication.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_mutualauthentication.go new file mode 100644 index 0000000000..bcec522502 --- /dev/null +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listener_mutualauthentication.go @@ -0,0 +1,52 @@ +package elasticloadbalancingv2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// Listener_MutualAuthentication AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html +type Listener_MutualAuthentication struct { + + // AdvertiseTrustStoreCaNames AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-advertisetruststorecanames + AdvertiseTrustStoreCaNames *types.Value `json:"AdvertiseTrustStoreCaNames,omitempty"` + + // IgnoreClientCertificateExpiry AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-ignoreclientcertificateexpiry + IgnoreClientCertificateExpiry *types.Value `json:"IgnoreClientCertificateExpiry,omitempty"` + + // Mode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-mode + Mode *types.Value `json:"Mode,omitempty"` + + // TrustStoreArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-truststorearn + TrustStoreArn *types.Value `json:"TrustStoreArn,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 *Listener_MutualAuthentication) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication" +} diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule.go index bde95b3cef..da2c7a191e 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule.go @@ -25,7 +25,7 @@ type ListenerRule struct { Conditions []ListenerRule_RuleCondition `json:"Conditions,omitempty"` // ListenerArn AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html#cfn-elasticloadbalancingv2-listenerrule-listenerarn ListenerArn *types.Value `json:"ListenerArn,omitempty"` diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule_authenticateoidcconfig.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule_authenticateoidcconfig.go index eefb07607b..5346d65c82 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule_authenticateoidcconfig.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-listenerrule_authenticateoidcconfig.go @@ -26,7 +26,7 @@ type ListenerRule_AuthenticateOidcConfig struct { ClientId *types.Value `json:"ClientId,omitempty"` // ClientSecret AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html#cfn-elasticloadbalancingv2-listenerrule-authenticateoidcconfig-clientsecret ClientSecret *types.Value `json:"ClientSecret,omitempty"` diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer.go index bd5e89e8fa..f291a997d2 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer.go @@ -15,6 +15,16 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html type LoadBalancer struct { + // EnablePrefixForIpv6SourceNat AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-enableprefixforipv6sourcenat + EnablePrefixForIpv6SourceNat *types.Value `json:"EnablePrefixForIpv6SourceNat,omitempty"` + + // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-enforcesecuritygroupinboundrulesonprivatelinktraffic + EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic *types.Value `json:"EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic,omitempty"` + // IpAddressType AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-ipaddresstype @@ -25,6 +35,11 @@ type LoadBalancer struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes LoadBalancerAttributes []LoadBalancer_LoadBalancerAttribute `json:"LoadBalancerAttributes,omitempty"` + // MinimumLoadBalancerCapacity AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-minimumloadbalancercapacity + MinimumLoadBalancerCapacity *LoadBalancer_MinimumLoadBalancerCapacity `json:"MinimumLoadBalancerCapacity,omitempty"` + // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2-loadbalancer-name diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_loadbalancerattribute.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_loadbalancerattribute.go index 6082c5500c..4e8f9fad72 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_loadbalancerattribute.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_loadbalancerattribute.go @@ -7,17 +7,17 @@ import ( ) // LoadBalancer_LoadBalancerAttribute AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html type LoadBalancer_LoadBalancerAttribute struct { // Key AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes-key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattribute-key Key *types.Value `json:"Key,omitempty"` // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattribute.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattribute-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodetcpconnectionpool.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_minimumloadbalancercapacity.go similarity index 61% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodetcpconnectionpool.go rename to pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_minimumloadbalancercapacity.go index 5ed143c5e1..7e25c5d706 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_virtualnodetcpconnectionpool.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_minimumloadbalancercapacity.go @@ -1,4 +1,4 @@ -package appmesh +package elasticloadbalancingv2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_VirtualNodeTcpConnectionPool AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodetcpconnectionpool.html -type VirtualNode_VirtualNodeTcpConnectionPool struct { +// LoadBalancer_MinimumLoadBalancerCapacity AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-minimumloadbalancercapacity.html +type LoadBalancer_MinimumLoadBalancerCapacity struct { - // MaxConnections AWS CloudFormation Property + // CapacityUnits AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualnodetcpconnectionpool.html#cfn-appmesh-virtualnode-virtualnodetcpconnectionpool-maxconnections - MaxConnections *types.Value `json:"MaxConnections"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-minimumloadbalancercapacity.html#cfn-elasticloadbalancingv2-loadbalancer-minimumloadbalancercapacity-capacityunits + CapacityUnits *types.Value `json:"CapacityUnits"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type VirtualNode_VirtualNodeTcpConnectionPool struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_VirtualNodeTcpConnectionPool) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool" +func (r *LoadBalancer_MinimumLoadBalancerCapacity) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity" } diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_subnetmapping.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_subnetmapping.go index a14a435d92..751f6d1489 100644 --- a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_subnetmapping.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-loadbalancer_subnetmapping.go @@ -25,6 +25,11 @@ type LoadBalancer_SubnetMapping struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html#cfn-elasticloadbalancingv2-loadbalancer-subnetmapping-privateipv4address PrivateIPv4Address *types.Value `json:"PrivateIPv4Address,omitempty"` + // SourceNatIpv6Prefix AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html#cfn-elasticloadbalancingv2-loadbalancer-subnetmapping-sourcenatipv6prefix + SourceNatIpv6Prefix *types.Value `json:"SourceNatIpv6Prefix,omitempty"` + // SubnetId AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-subnetmapping.html#cfn-elasticloadbalancingv2-loadbalancer-subnetmapping-subnetid diff --git a/pkg/goformation/cloudformation/ram/aws-ram-resourceshare.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststore.go similarity index 72% rename from pkg/goformation/cloudformation/ram/aws-ram-resourceshare.go rename to pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststore.go index f26acb27c3..f0fc01c0e8 100644 --- a/pkg/goformation/cloudformation/ram/aws-ram-resourceshare.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststore.go @@ -1,4 +1,4 @@ -package ram +package elasticloadbalancingv2 import ( "bytes" @@ -11,38 +11,33 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ResourceShare AWS CloudFormation Resource (AWS::RAM::ResourceShare) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html -type ResourceShare struct { +// TrustStore AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::TrustStore) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html +type TrustStore struct { - // AllowExternalPrincipals AWS CloudFormation Property + // CaCertificatesBundleS3Bucket AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-allowexternalprincipals - AllowExternalPrincipals *types.Value `json:"AllowExternalPrincipals,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html#cfn-elasticloadbalancingv2-truststore-cacertificatesbundles3bucket + CaCertificatesBundleS3Bucket *types.Value `json:"CaCertificatesBundleS3Bucket,omitempty"` - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-name - Name *types.Value `json:"Name,omitempty"` - - // PermissionArns AWS CloudFormation Property + // CaCertificatesBundleS3Key AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-permissionarns - PermissionArns *types.Value `json:"PermissionArns,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html#cfn-elasticloadbalancingv2-truststore-cacertificatesbundles3key + CaCertificatesBundleS3Key *types.Value `json:"CaCertificatesBundleS3Key,omitempty"` - // Principals AWS CloudFormation Property + // CaCertificatesBundleS3ObjectVersion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-principals - Principals *types.Value `json:"Principals,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html#cfn-elasticloadbalancingv2-truststore-cacertificatesbundles3objectversion + CaCertificatesBundleS3ObjectVersion *types.Value `json:"CaCertificatesBundleS3ObjectVersion,omitempty"` - // ResourceArns AWS CloudFormation Property + // Name AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-resourcearns - ResourceArns *types.Value `json:"ResourceArns,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html#cfn-elasticloadbalancingv2-truststore-name + Name *types.Value `json:"Name,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststore.html#cfn-elasticloadbalancingv2-truststore-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -62,14 +57,14 @@ type ResourceShare struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ResourceShare) AWSCloudFormationType() string { - return "AWS::RAM::ResourceShare" +func (r *TrustStore) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::TrustStore" } // 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 (r ResourceShare) MarshalJSON() ([]byte, error) { - type Properties ResourceShare +func (r TrustStore) MarshalJSON() ([]byte, error) { + type Properties TrustStore return json.Marshal(&struct { Type string Properties Properties @@ -91,8 +86,8 @@ func (r ResourceShare) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceShare) UnmarshalJSON(b []byte) error { - type Properties ResourceShare +func (r *TrustStore) UnmarshalJSON(b []byte) error { + type Properties TrustStore res := &struct { Type string Properties *Properties @@ -113,7 +108,7 @@ func (r *ResourceShare) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ResourceShare(*res.Properties) + *r = TrustStore(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-deployment.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation.go similarity index 75% rename from pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-deployment.go rename to pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation.go index f6bb954009..d10ca110b8 100644 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-deployment.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation.go @@ -1,4 +1,4 @@ -package apigatewayv2 +package elasticloadbalancingv2 import ( "bytes" @@ -10,24 +10,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Deployment AWS CloudFormation Resource (AWS::ApiGatewayV2::Deployment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html -type Deployment struct { +// TrustStoreRevocation AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::TrustStoreRevocation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststorerevocation.html +type TrustStoreRevocation struct { - // ApiId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-apiid - ApiId *types.Value `json:"ApiId,omitempty"` - - // Description AWS CloudFormation Property + // RevocationContents AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-description - Description *types.Value `json:"Description,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-revocationcontents + RevocationContents []TrustStoreRevocation_RevocationContent `json:"RevocationContents,omitempty"` - // StageName AWS CloudFormation Property + // TrustStoreArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html#cfn-apigatewayv2-deployment-stagename - StageName *types.Value `json:"StageName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-truststorearn + TrustStoreArn *types.Value `json:"TrustStoreArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -46,14 +41,14 @@ type Deployment struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Deployment) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Deployment" +func (r *TrustStoreRevocation) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::TrustStoreRevocation" } // 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 (r Deployment) MarshalJSON() ([]byte, error) { - type Properties Deployment +func (r TrustStoreRevocation) MarshalJSON() ([]byte, error) { + type Properties TrustStoreRevocation return json.Marshal(&struct { Type string Properties Properties @@ -75,8 +70,8 @@ func (r Deployment) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Deployment) UnmarshalJSON(b []byte) error { - type Properties Deployment +func (r *TrustStoreRevocation) UnmarshalJSON(b []byte) error { + type Properties TrustStoreRevocation res := &struct { Type string Properties *Properties @@ -97,7 +92,7 @@ func (r *Deployment) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Deployment(*res.Properties) + *r = TrustStoreRevocation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_code.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_revocationcontent.go similarity index 57% rename from pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_code.go rename to pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_revocationcontent.go index 2a9342bb99..346897da09 100644 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_code.go +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_revocationcontent.go @@ -1,4 +1,4 @@ -package synthetics +package elasticloadbalancingv2 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,35 +6,30 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Canary_Code AWS CloudFormation Resource (AWS::Synthetics::Canary.Code) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html -type Canary_Code struct { +// TrustStoreRevocation_RevocationContent AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-revocationcontent.html +type TrustStoreRevocation_RevocationContent struct { - // Handler AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-handler - Handler *types.Value `json:"Handler,omitempty"` + // RevocationType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-revocationcontent.html#cfn-elasticloadbalancingv2-truststorerevocation-revocationcontent-revocationtype + RevocationType *types.Value `json:"RevocationType,omitempty"` // S3Bucket AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-s3bucket + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-revocationcontent.html#cfn-elasticloadbalancingv2-truststorerevocation-revocationcontent-s3bucket S3Bucket *types.Value `json:"S3Bucket,omitempty"` // S3Key AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-s3key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-revocationcontent.html#cfn-elasticloadbalancingv2-truststorerevocation-revocationcontent-s3key S3Key *types.Value `json:"S3Key,omitempty"` // S3ObjectVersion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-s3objectversion + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-revocationcontent.html#cfn-elasticloadbalancingv2-truststorerevocation-revocationcontent-s3objectversion S3ObjectVersion *types.Value `json:"S3ObjectVersion,omitempty"` - // Script AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-code.html#cfn-synthetics-canary-code-script - Script *types.Value `json:"Script,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,6 +47,6 @@ type Canary_Code struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Canary_Code) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.Code" +func (r *TrustStoreRevocation_RevocationContent) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent" } diff --git a/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_truststorerevocation.go b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_truststorerevocation.go new file mode 100644 index 0000000000..87ea9fe32f --- /dev/null +++ b/pkg/goformation/cloudformation/elasticloadbalancingv2/aws-elasticloadbalancingv2-truststorerevocation_truststorerevocation.go @@ -0,0 +1,52 @@ +package elasticloadbalancingv2 + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// TrustStoreRevocation_TrustStoreRevocation AWS CloudFormation Resource (AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-truststorerevocation.html +type TrustStoreRevocation_TrustStoreRevocation struct { + + // NumberOfRevokedEntries AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-truststorerevocation-numberofrevokedentries + NumberOfRevokedEntries *types.Value `json:"NumberOfRevokedEntries,omitempty"` + + // RevocationId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-truststorerevocation-revocationid + RevocationId *types.Value `json:"RevocationId,omitempty"` + + // RevocationType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-truststorerevocation-revocationtype + RevocationType *types.Value `json:"RevocationType,omitempty"` + + // TrustStoreArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-truststorerevocation-truststorerevocation.html#cfn-elasticloadbalancingv2-truststorerevocation-truststorerevocation-truststorearn + TrustStoreArn *types.Value `json:"TrustStoreArn,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 *TrustStoreRevocation_TrustStoreRevocation) AWSCloudFormationType() string { + return "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation" +} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain.go deleted file mode 100644 index e6a6ff2350..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain.go +++ /dev/null @@ -1,179 +0,0 @@ -package elasticsearch - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::Elasticsearch::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html -type Domain struct { - - // AccessPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-accesspolicies - AccessPolicies interface{} `json:"AccessPolicies,omitempty"` - - // AdvancedOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-advancedoptions - AdvancedOptions map[string]*types.Value `json:"AdvancedOptions,omitempty"` - - // AdvancedSecurityOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-advancedsecurityoptions - AdvancedSecurityOptions *Domain_AdvancedSecurityOptionsInput `json:"AdvancedSecurityOptions,omitempty"` - - // CognitoOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-cognitooptions - CognitoOptions *Domain_CognitoOptions `json:"CognitoOptions,omitempty"` - - // DomainEndpointOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-domainendpointoptions - DomainEndpointOptions *Domain_DomainEndpointOptions `json:"DomainEndpointOptions,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // EBSOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-ebsoptions - EBSOptions *Domain_EBSOptions `json:"EBSOptions,omitempty"` - - // ElasticsearchClusterConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-elasticsearchclusterconfig - ElasticsearchClusterConfig *Domain_ElasticsearchClusterConfig `json:"ElasticsearchClusterConfig,omitempty"` - - // ElasticsearchVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-elasticsearchversion - ElasticsearchVersion *types.Value `json:"ElasticsearchVersion,omitempty"` - - // EncryptionAtRestOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-encryptionatrestoptions - EncryptionAtRestOptions *Domain_EncryptionAtRestOptions `json:"EncryptionAtRestOptions,omitempty"` - - // LogPublishingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-logpublishingoptions - LogPublishingOptions map[string]Domain_LogPublishingOption `json:"LogPublishingOptions,omitempty"` - - // NodeToNodeEncryptionOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-nodetonodeencryptionoptions - NodeToNodeEncryptionOptions *Domain_NodeToNodeEncryptionOptions `json:"NodeToNodeEncryptionOptions,omitempty"` - - // SnapshotOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-snapshotoptions - SnapshotOptions *Domain_SnapshotOptions `json:"SnapshotOptions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VPCOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-vpcoptions - VPCOptions *Domain_VPCOptions `json:"VPCOptions,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 *Domain) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_advancedsecurityoptionsinput.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_advancedsecurityoptionsinput.go deleted file mode 100644 index 551ec76eb3..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_advancedsecurityoptionsinput.go +++ /dev/null @@ -1,47 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_AdvancedSecurityOptionsInput AWS CloudFormation Resource (AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-advancedsecurityoptionsinput.html -type Domain_AdvancedSecurityOptionsInput struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-advancedsecurityoptionsinput.html#cfn-elasticsearch-domain-advancedsecurityoptionsinput-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // InternalUserDatabaseEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-advancedsecurityoptionsinput.html#cfn-elasticsearch-domain-advancedsecurityoptionsinput-internaluserdatabaseenabled - InternalUserDatabaseEnabled *types.Value `json:"InternalUserDatabaseEnabled,omitempty"` - - // MasterUserOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-advancedsecurityoptionsinput.html#cfn-elasticsearch-domain-advancedsecurityoptionsinput-masteruseroptions - MasterUserOptions *Domain_MasterUserOptions `json:"MasterUserOptions,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 *Domain_AdvancedSecurityOptionsInput) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_cognitooptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_cognitooptions.go deleted file mode 100644 index dcf0064403..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_cognitooptions.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_CognitoOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.CognitoOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html -type Domain_CognitoOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html#cfn-elasticsearch-domain-cognitooptions-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // IdentityPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html#cfn-elasticsearch-domain-cognitooptions-identitypoolid - IdentityPoolId *types.Value `json:"IdentityPoolId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html#cfn-elasticsearch-domain-cognitooptions-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-cognitooptions.html#cfn-elasticsearch-domain-cognitooptions-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *Domain_CognitoOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.CognitoOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_domainendpointoptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_domainendpointoptions.go deleted file mode 100644 index 6140304b0a..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_domainendpointoptions.go +++ /dev/null @@ -1,57 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_DomainEndpointOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.DomainEndpointOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html -type Domain_DomainEndpointOptions struct { - - // CustomEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html#cfn-elasticsearch-domain-domainendpointoptions-customendpoint - CustomEndpoint *types.Value `json:"CustomEndpoint,omitempty"` - - // CustomEndpointCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html#cfn-elasticsearch-domain-domainendpointoptions-customendpointcertificatearn - CustomEndpointCertificateArn *types.Value `json:"CustomEndpointCertificateArn,omitempty"` - - // CustomEndpointEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html#cfn-elasticsearch-domain-domainendpointoptions-customendpointenabled - CustomEndpointEnabled *types.Value `json:"CustomEndpointEnabled,omitempty"` - - // EnforceHTTPS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html#cfn-elasticsearch-domain-domainendpointoptions-enforcehttps - EnforceHTTPS *types.Value `json:"EnforceHTTPS,omitempty"` - - // TLSSecurityPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-domainendpointoptions.html#cfn-elasticsearch-domain-domainendpointoptions-tlssecuritypolicy - TLSSecurityPolicy *types.Value `json:"TLSSecurityPolicy,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 *Domain_DomainEndpointOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.DomainEndpointOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_ebsoptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_ebsoptions.go deleted file mode 100644 index d4a73d30e3..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_ebsoptions.go +++ /dev/null @@ -1,52 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_EBSOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.EBSOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html -type Domain_EBSOptions struct { - - // EBSEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-ebsenabled - EBSEnabled *types.Value `json:"EBSEnabled,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-iops - Iops *types.Value `json:"Iops,omitempty"` - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumesize - VolumeSize *types.Value `json:"VolumeSize,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumetype - VolumeType *types.Value `json:"VolumeType,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 *Domain_EBSOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.EBSOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_elasticsearchclusterconfig.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_elasticsearchclusterconfig.go deleted file mode 100644 index 1f0688e7d8..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_elasticsearchclusterconfig.go +++ /dev/null @@ -1,87 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_ElasticsearchClusterConfig AWS CloudFormation Resource (AWS::Elasticsearch::Domain.ElasticsearchClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html -type Domain_ElasticsearchClusterConfig struct { - - // ColdStorageOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticsearchclusterconfig-coldstorageoptions - ColdStorageOptions *Domain_ColdStorageOptions `json:"ColdStorageOptions,omitempty"` - - // DedicatedMasterCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastercount - DedicatedMasterCount *types.Value `json:"DedicatedMasterCount,omitempty"` - - // DedicatedMasterEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmasterenabled - DedicatedMasterEnabled *types.Value `json:"DedicatedMasterEnabled,omitempty"` - - // DedicatedMasterType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastertype - DedicatedMasterType *types.Value `json:"DedicatedMasterType,omitempty"` - - // InstanceCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instnacetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // WarmCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticsearchclusterconfig-warmcount - WarmCount *types.Value `json:"WarmCount,omitempty"` - - // WarmEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticsearchclusterconfig-warmenabled - WarmEnabled *types.Value `json:"WarmEnabled,omitempty"` - - // WarmType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticsearchclusterconfig-warmtype - WarmType *types.Value `json:"WarmType,omitempty"` - - // ZoneAwarenessConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticsearchclusterconfig-zoneawarenessconfig - ZoneAwarenessConfig *Domain_ZoneAwarenessConfig `json:"ZoneAwarenessConfig,omitempty"` - - // ZoneAwarenessEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-zoneawarenessenabled - ZoneAwarenessEnabled *types.Value `json:"ZoneAwarenessEnabled,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 *Domain_ElasticsearchClusterConfig) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.ElasticsearchClusterConfig" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_logpublishingoption.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_logpublishingoption.go deleted file mode 100644 index 5c0490920f..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_logpublishingoption.go +++ /dev/null @@ -1,42 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_LogPublishingOption AWS CloudFormation Resource (AWS::Elasticsearch::Domain.LogPublishingOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-logpublishingoption.html -type Domain_LogPublishingOption struct { - - // CloudWatchLogsLogGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-logpublishingoption.html#cfn-elasticsearch-domain-logpublishingoption-cloudwatchlogsloggrouparn - CloudWatchLogsLogGroupArn *types.Value `json:"CloudWatchLogsLogGroupArn,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-logpublishingoption.html#cfn-elasticsearch-domain-logpublishingoption-enabled - Enabled *types.Value `json:"Enabled,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 *Domain_LogPublishingOption) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.LogPublishingOption" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_nodetonodeencryptionoptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_nodetonodeencryptionoptions.go deleted file mode 100644 index 4c4800a419..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_nodetonodeencryptionoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_NodeToNodeEncryptionOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-nodetonodeencryptionoptions.html -type Domain_NodeToNodeEncryptionOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-nodetonodeencryptionoptions.html#cfn-elasticsearch-domain-nodetonodeencryptionoptions-enabled - Enabled *types.Value `json:"Enabled,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 *Domain_NodeToNodeEncryptionOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_snapshotoptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_snapshotoptions.go deleted file mode 100644 index 5c965091f7..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_snapshotoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_SnapshotOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.SnapshotOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-snapshotoptions.html -type Domain_SnapshotOptions struct { - - // AutomatedSnapshotStartHour AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-snapshotoptions.html#cfn-elasticsearch-domain-snapshotoptions-automatedsnapshotstarthour - AutomatedSnapshotStartHour *types.Value `json:"AutomatedSnapshotStartHour,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 *Domain_SnapshotOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.SnapshotOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_vpcoptions.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_vpcoptions.go deleted file mode 100644 index 4953f7e00a..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_vpcoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_VPCOptions AWS CloudFormation Resource (AWS::Elasticsearch::Domain.VPCOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html -type Domain_VPCOptions struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html#cfn-elasticsearch-domain-vpcoptions-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-vpcoptions.html#cfn-elasticsearch-domain-vpcoptions-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *Domain_VPCOptions) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.VPCOptions" -} diff --git a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_zoneawarenessconfig.go b/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_zoneawarenessconfig.go deleted file mode 100644 index c986c21294..0000000000 --- a/pkg/goformation/cloudformation/elasticsearch/aws-elasticsearch-domain_zoneawarenessconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package elasticsearch - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_ZoneAwarenessConfig AWS CloudFormation Resource (AWS::Elasticsearch::Domain.ZoneAwarenessConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-zoneawarenessconfig.html -type Domain_ZoneAwarenessConfig struct { - - // AvailabilityZoneCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-zoneawarenessconfig.html#cfn-elasticsearch-domain-zoneawarenessconfig-availabilityzonecount - AvailabilityZoneCount *types.Value `json:"AvailabilityZoneCount,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 *Domain_ZoneAwarenessConfig) AWSCloudFormationType() string { - return "AWS::Elasticsearch::Domain.ZoneAwarenessConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster.go deleted file mode 100644 index f0438aa6e6..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster.go +++ /dev/null @@ -1,214 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::EMR::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html -type Cluster struct { - - // AdditionalInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-additionalinfo - AdditionalInfo interface{} `json:"AdditionalInfo,omitempty"` - - // Applications AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-applications - Applications []Cluster_Application `json:"Applications,omitempty"` - - // AutoScalingRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-autoscalingrole - AutoScalingRole *types.Value `json:"AutoScalingRole,omitempty"` - - // BootstrapActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-bootstrapactions - BootstrapActions []Cluster_BootstrapActionConfig `json:"BootstrapActions,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-configurations - Configurations []Cluster_Configuration `json:"Configurations,omitempty"` - - // CustomAmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-customamiid - CustomAmiId *types.Value `json:"CustomAmiId,omitempty"` - - // EbsRootVolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-ebsrootvolumesize - EbsRootVolumeSize *types.Value `json:"EbsRootVolumeSize,omitempty"` - - // Instances AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-instances - Instances *Cluster_JobFlowInstancesConfig `json:"Instances,omitempty"` - - // JobFlowRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-jobflowrole - JobFlowRole *types.Value `json:"JobFlowRole,omitempty"` - - // KerberosAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-kerberosattributes - KerberosAttributes *Cluster_KerberosAttributes `json:"KerberosAttributes,omitempty"` - - // LogEncryptionKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-logencryptionkmskeyid - LogEncryptionKmsKeyId *types.Value `json:"LogEncryptionKmsKeyId,omitempty"` - - // LogUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-loguri - LogUri *types.Value `json:"LogUri,omitempty"` - - // ManagedScalingPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-managedscalingpolicy - ManagedScalingPolicy *Cluster_ManagedScalingPolicy `json:"ManagedScalingPolicy,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-name - Name *types.Value `json:"Name,omitempty"` - - // ReleaseLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-releaselabel - ReleaseLabel *types.Value `json:"ReleaseLabel,omitempty"` - - // ScaleDownBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-scaledownbehavior - ScaleDownBehavior *types.Value `json:"ScaleDownBehavior,omitempty"` - - // SecurityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-securityconfiguration - SecurityConfiguration *types.Value `json:"SecurityConfiguration,omitempty"` - - // ServiceRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // StepConcurrencyLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-stepconcurrencylevel - StepConcurrencyLevel *types.Value `json:"StepConcurrencyLevel,omitempty"` - - // Steps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-steps - Steps []Cluster_StepConfig `json:"Steps,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VisibleToAllUsers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html#cfn-elasticmapreduce-cluster-visibletoallusers - VisibleToAllUsers *types.Value `json:"VisibleToAllUsers,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 *Cluster) AWSCloudFormationType() string { - return "AWS::EMR::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_application.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_application.go deleted file mode 100644 index 8ff4a4cbce..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_application.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Application AWS CloudFormation Resource (AWS::EMR::Cluster.Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html -type Cluster_Application struct { - - // AdditionalInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-additionalinfo - AdditionalInfo map[string]*types.Value `json:"AdditionalInfo,omitempty"` - - // Args AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-args - Args *types.Value `json:"Args,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-application.html#cfn-elasticmapreduce-cluster-application-version - Version *types.Value `json:"Version,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 *Cluster_Application) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.Application" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_autoscalingpolicy.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_autoscalingpolicy.go deleted file mode 100644 index 1f3a08a3d8..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_autoscalingpolicy.go +++ /dev/null @@ -1,40 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_AutoScalingPolicy AWS CloudFormation Resource (AWS::EMR::Cluster.AutoScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html -type Cluster_AutoScalingPolicy struct { - - // Constraints AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-constraints - Constraints *Cluster_ScalingConstraints `json:"Constraints,omitempty"` - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-rules - Rules []Cluster_ScalingRule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_AutoScalingPolicy) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.AutoScalingPolicy" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_bootstrapactionconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_bootstrapactionconfig.go deleted file mode 100644 index 706d5ebf52..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_bootstrapactionconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_BootstrapActionConfig AWS CloudFormation Resource (AWS::EMR::Cluster.BootstrapActionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html -type Cluster_BootstrapActionConfig struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html#cfn-elasticmapreduce-cluster-bootstrapactionconfig-name - Name *types.Value `json:"Name,omitempty"` - - // ScriptBootstrapAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-bootstrapactionconfig.html#cfn-elasticmapreduce-cluster-bootstrapactionconfig-scriptbootstrapaction - ScriptBootstrapAction *Cluster_ScriptBootstrapActionConfig `json:"ScriptBootstrapAction,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 *Cluster_BootstrapActionConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.BootstrapActionConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_cloudwatchalarmdefinition.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_cloudwatchalarmdefinition.go deleted file mode 100644 index ac0df4fb07..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_cloudwatchalarmdefinition.go +++ /dev/null @@ -1,77 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_CloudWatchAlarmDefinition AWS CloudFormation Resource (AWS::EMR::Cluster.CloudWatchAlarmDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html -type Cluster_CloudWatchAlarmDefinition struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-dimensions - Dimensions []Cluster_MetricDimension `json:"Dimensions,omitempty"` - - // EvaluationPeriods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-evaluationperiods - EvaluationPeriods *types.Value `json:"EvaluationPeriods,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // Period AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-period - Period *types.Value `json:"Period"` - - // Statistic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-statistic - Statistic *types.Value `json:"Statistic,omitempty"` - - // Threshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-threshold - Threshold *types.Value `json:"Threshold"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-unit - Unit *types.Value `json:"Unit,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 *Cluster_CloudWatchAlarmDefinition) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.CloudWatchAlarmDefinition" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_computelimits.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_computelimits.go deleted file mode 100644 index f87af47c18..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_computelimits.go +++ /dev/null @@ -1,57 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ComputeLimits AWS CloudFormation Resource (AWS::EMR::Cluster.ComputeLimits) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html -type Cluster_ComputeLimits struct { - - // MaximumCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumcapacityunits - MaximumCapacityUnits *types.Value `json:"MaximumCapacityUnits"` - - // MaximumCoreCapacityUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumcorecapacityunits - MaximumCoreCapacityUnits *types.Value `json:"MaximumCoreCapacityUnits,omitempty"` - - // MaximumOnDemandCapacityUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-maximumondemandcapacityunits - MaximumOnDemandCapacityUnits *types.Value `json:"MaximumOnDemandCapacityUnits,omitempty"` - - // MinimumCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-minimumcapacityunits - MinimumCapacityUnits *types.Value `json:"MinimumCapacityUnits"` - - // UnitType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-computelimits.html#cfn-elasticmapreduce-cluster-computelimits-unittype - UnitType *types.Value `json:"UnitType,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 *Cluster_ComputeLimits) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ComputeLimits" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_configuration.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_configuration.go deleted file mode 100644 index 53a7fbd2f3..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_configuration.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Configuration AWS CloudFormation Resource (AWS::EMR::Cluster.Configuration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html -type Cluster_Configuration struct { - - // Classification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-classification - Classification *types.Value `json:"Classification,omitempty"` - - // ConfigurationProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-configurationproperties - ConfigurationProperties map[string]*types.Value `json:"ConfigurationProperties,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-configuration.html#cfn-elasticmapreduce-cluster-configuration-configurations - Configurations []Cluster_Configuration `json:"Configurations,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 *Cluster_Configuration) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.Configuration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsblockdeviceconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsblockdeviceconfig.go deleted file mode 100644 index 2286fed870..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsblockdeviceconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EbsBlockDeviceConfig AWS CloudFormation Resource (AWS::EMR::Cluster.EbsBlockDeviceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html -type Cluster_EbsBlockDeviceConfig struct { - - // VolumeSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html#cfn-elasticmapreduce-cluster-ebsblockdeviceconfig-volumespecification - VolumeSpecification *Cluster_VolumeSpecification `json:"VolumeSpecification,omitempty"` - - // VolumesPerInstance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsblockdeviceconfig.html#cfn-elasticmapreduce-cluster-ebsblockdeviceconfig-volumesperinstance - VolumesPerInstance *types.Value `json:"VolumesPerInstance,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 *Cluster_EbsBlockDeviceConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.EbsBlockDeviceConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsconfiguration.go deleted file mode 100644 index 783d59f8b6..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ebsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EbsConfiguration AWS CloudFormation Resource (AWS::EMR::Cluster.EbsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html -type Cluster_EbsConfiguration struct { - - // EbsBlockDeviceConfigs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html#cfn-elasticmapreduce-cluster-ebsconfiguration-ebsblockdeviceconfigs - EbsBlockDeviceConfigs []Cluster_EbsBlockDeviceConfig `json:"EbsBlockDeviceConfigs,omitempty"` - - // EbsOptimized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ebsconfiguration.html#cfn-elasticmapreduce-cluster-ebsconfiguration-ebsoptimized - EbsOptimized *types.Value `json:"EbsOptimized,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 *Cluster_EbsConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.EbsConfiguration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_hadoopjarstepconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_hadoopjarstepconfig.go deleted file mode 100644 index 656806ea49..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_hadoopjarstepconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_HadoopJarStepConfig AWS CloudFormation Resource (AWS::EMR::Cluster.HadoopJarStepConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html -type Cluster_HadoopJarStepConfig struct { - - // Args AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-args - Args *types.Value `json:"Args,omitempty"` - - // Jar AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-jar - Jar *types.Value `json:"Jar,omitempty"` - - // MainClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-mainclass - MainClass *types.Value `json:"MainClass,omitempty"` - - // StepProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-hadoopjarstepconfig.html#cfn-elasticmapreduce-cluster-hadoopjarstepconfig-stepproperties - StepProperties []Cluster_KeyValue `json:"StepProperties,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 *Cluster_HadoopJarStepConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.HadoopJarStepConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetconfig.go deleted file mode 100644 index 4194414ff9..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetconfig.go +++ /dev/null @@ -1,57 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_InstanceFleetConfig AWS CloudFormation Resource (AWS::EMR::Cluster.InstanceFleetConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html -type Cluster_InstanceFleetConfig struct { - - // InstanceTypeConfigs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-instancetypeconfigs - InstanceTypeConfigs []Cluster_InstanceTypeConfig `json:"InstanceTypeConfigs,omitempty"` - - // LaunchSpecifications AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-launchspecifications - LaunchSpecifications *Cluster_InstanceFleetProvisioningSpecifications `json:"LaunchSpecifications,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-name - Name *types.Value `json:"Name,omitempty"` - - // TargetOnDemandCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-targetondemandcapacity - TargetOnDemandCapacity *types.Value `json:"TargetOnDemandCapacity,omitempty"` - - // TargetSpotCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetconfig.html#cfn-elasticmapreduce-cluster-instancefleetconfig-targetspotcapacity - TargetSpotCapacity *types.Value `json:"TargetSpotCapacity,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 *Cluster_InstanceFleetConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.InstanceFleetConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetprovisioningspecifications.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetprovisioningspecifications.go deleted file mode 100644 index 0b60a9febf..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancefleetprovisioningspecifications.go +++ /dev/null @@ -1,40 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_InstanceFleetProvisioningSpecifications AWS CloudFormation Resource (AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html -type Cluster_InstanceFleetProvisioningSpecifications struct { - - // OnDemandSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-cluster-instancefleetprovisioningspecifications-ondemandspecification - OnDemandSpecification *Cluster_OnDemandProvisioningSpecification `json:"OnDemandSpecification,omitempty"` - - // SpotSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-cluster-instancefleetprovisioningspecifications-spotspecification - SpotSpecification *Cluster_SpotProvisioningSpecification `json:"SpotSpecification,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 *Cluster_InstanceFleetProvisioningSpecifications) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancegroupconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancegroupconfig.go deleted file mode 100644 index 132848e041..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancegroupconfig.go +++ /dev/null @@ -1,77 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_InstanceGroupConfig AWS CloudFormation Resource (AWS::EMR::Cluster.InstanceGroupConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html -type Cluster_InstanceGroupConfig struct { - - // AutoScalingPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-autoscalingpolicy - AutoScalingPolicy *Cluster_AutoScalingPolicy `json:"AutoScalingPolicy,omitempty"` - - // BidPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-bidprice - BidPrice *types.Value `json:"BidPrice,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-configurations - Configurations []Cluster_Configuration `json:"Configurations,omitempty"` - - // CustomAmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-customamiid - CustomAmiId *types.Value `json:"CustomAmiId,omitempty"` - - // EbsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-ebsconfiguration - EbsConfiguration *Cluster_EbsConfiguration `json:"EbsConfiguration,omitempty"` - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // Market AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-market - Market *types.Value `json:"Market,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancegroupconfig.html#cfn-elasticmapreduce-cluster-instancegroupconfig-name - Name *types.Value `json:"Name,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 *Cluster_InstanceGroupConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.InstanceGroupConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancetypeconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancetypeconfig.go deleted file mode 100644 index 212d7e9dd5..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_instancetypeconfig.go +++ /dev/null @@ -1,67 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_InstanceTypeConfig AWS CloudFormation Resource (AWS::EMR::Cluster.InstanceTypeConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html -type Cluster_InstanceTypeConfig struct { - - // BidPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-bidprice - BidPrice *types.Value `json:"BidPrice,omitempty"` - - // BidPriceAsPercentageOfOnDemandPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-bidpriceaspercentageofondemandprice - BidPriceAsPercentageOfOnDemandPrice *types.Value `json:"BidPriceAsPercentageOfOnDemandPrice,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-configurations - Configurations []Cluster_Configuration `json:"Configurations,omitempty"` - - // CustomAmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-customamiid - CustomAmiId *types.Value `json:"CustomAmiId,omitempty"` - - // EbsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-ebsconfiguration - EbsConfiguration *Cluster_EbsConfiguration `json:"EbsConfiguration,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // WeightedCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-instancetypeconfig.html#cfn-elasticmapreduce-cluster-instancetypeconfig-weightedcapacity - WeightedCapacity *types.Value `json:"WeightedCapacity,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 *Cluster_InstanceTypeConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.InstanceTypeConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_jobflowinstancesconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_jobflowinstancesconfig.go deleted file mode 100644 index df6393ae96..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_jobflowinstancesconfig.go +++ /dev/null @@ -1,112 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_JobFlowInstancesConfig AWS CloudFormation Resource (AWS::EMR::Cluster.JobFlowInstancesConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html -type Cluster_JobFlowInstancesConfig struct { - - // AdditionalMasterSecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-additionalmastersecuritygroups - AdditionalMasterSecurityGroups *types.Value `json:"AdditionalMasterSecurityGroups,omitempty"` - - // AdditionalSlaveSecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-additionalslavesecuritygroups - AdditionalSlaveSecurityGroups *types.Value `json:"AdditionalSlaveSecurityGroups,omitempty"` - - // CoreInstanceFleet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-coreinstancefleet - CoreInstanceFleet *Cluster_InstanceFleetConfig `json:"CoreInstanceFleet,omitempty"` - - // CoreInstanceGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-coreinstancegroup - CoreInstanceGroup *Cluster_InstanceGroupConfig `json:"CoreInstanceGroup,omitempty"` - - // Ec2KeyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2keyname - Ec2KeyName *types.Value `json:"Ec2KeyName,omitempty"` - - // Ec2SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2subnetid - Ec2SubnetId *types.Value `json:"Ec2SubnetId,omitempty"` - - // Ec2SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-ec2subnetids - Ec2SubnetIds *types.Value `json:"Ec2SubnetIds,omitempty"` - - // EmrManagedMasterSecurityGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-emrmanagedmastersecuritygroup - EmrManagedMasterSecurityGroup *types.Value `json:"EmrManagedMasterSecurityGroup,omitempty"` - - // EmrManagedSlaveSecurityGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-emrmanagedslavesecuritygroup - EmrManagedSlaveSecurityGroup *types.Value `json:"EmrManagedSlaveSecurityGroup,omitempty"` - - // HadoopVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-hadoopversion - HadoopVersion *types.Value `json:"HadoopVersion,omitempty"` - - // KeepJobFlowAliveWhenNoSteps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-keepjobflowalivewhennosteps - KeepJobFlowAliveWhenNoSteps *types.Value `json:"KeepJobFlowAliveWhenNoSteps,omitempty"` - - // MasterInstanceFleet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-masterinstancefleet - MasterInstanceFleet *Cluster_InstanceFleetConfig `json:"MasterInstanceFleet,omitempty"` - - // MasterInstanceGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-masterinstancegroup - MasterInstanceGroup *Cluster_InstanceGroupConfig `json:"MasterInstanceGroup,omitempty"` - - // Placement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-placement - Placement *Cluster_PlacementType `json:"Placement,omitempty"` - - // ServiceAccessSecurityGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-serviceaccesssecuritygroup - ServiceAccessSecurityGroup *types.Value `json:"ServiceAccessSecurityGroup,omitempty"` - - // TerminationProtected AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-jobflowinstancesconfig.html#cfn-elasticmapreduce-cluster-jobflowinstancesconfig-terminationprotected - TerminationProtected *types.Value `json:"TerminationProtected,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 *Cluster_JobFlowInstancesConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.JobFlowInstancesConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_kerberosattributes.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_kerberosattributes.go deleted file mode 100644 index d6bf4787bc..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_kerberosattributes.go +++ /dev/null @@ -1,57 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_KerberosAttributes AWS CloudFormation Resource (AWS::EMR::Cluster.KerberosAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html -type Cluster_KerberosAttributes struct { - - // ADDomainJoinPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-addomainjoinpassword - ADDomainJoinPassword *types.Value `json:"ADDomainJoinPassword,omitempty"` - - // ADDomainJoinUser AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-addomainjoinuser - ADDomainJoinUser *types.Value `json:"ADDomainJoinUser,omitempty"` - - // CrossRealmTrustPrincipalPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-crossrealmtrustprincipalpassword - CrossRealmTrustPrincipalPassword *types.Value `json:"CrossRealmTrustPrincipalPassword,omitempty"` - - // KdcAdminPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-kdcadminpassword - KdcAdminPassword *types.Value `json:"KdcAdminPassword,omitempty"` - - // Realm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-kerberosattributes.html#cfn-elasticmapreduce-cluster-kerberosattributes-realm - Realm *types.Value `json:"Realm,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 *Cluster_KerberosAttributes) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.KerberosAttributes" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_keyvalue.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_keyvalue.go deleted file mode 100644 index 0f585e3355..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_keyvalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_KeyValue AWS CloudFormation Resource (AWS::EMR::Cluster.KeyValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html -type Cluster_KeyValue struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html#cfn-elasticmapreduce-cluster-keyvalue-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-keyvalue.html#cfn-elasticmapreduce-cluster-keyvalue-value - Value *types.Value `json:"Value,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 *Cluster_KeyValue) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.KeyValue" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_managedscalingpolicy.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_managedscalingpolicy.go deleted file mode 100644 index 83b9d4aa4c..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_managedscalingpolicy.go +++ /dev/null @@ -1,35 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ManagedScalingPolicy AWS CloudFormation Resource (AWS::EMR::Cluster.ManagedScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-managedscalingpolicy.html -type Cluster_ManagedScalingPolicy struct { - - // ComputeLimits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-managedscalingpolicy.html#cfn-elasticmapreduce-cluster-managedscalingpolicy-computelimits - ComputeLimits *Cluster_ComputeLimits `json:"ComputeLimits,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 *Cluster_ManagedScalingPolicy) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ManagedScalingPolicy" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_metricdimension.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_metricdimension.go deleted file mode 100644 index 28db034f17..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_metricdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_MetricDimension AWS CloudFormation Resource (AWS::EMR::Cluster.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html -type Cluster_MetricDimension struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-value - Value *types.Value `json:"Value,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 *Cluster_MetricDimension) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.MetricDimension" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ondemandprovisioningspecification.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_ondemandprovisioningspecification.go deleted file mode 100644 index d4bd02866b..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_ondemandprovisioningspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_OnDemandProvisioningSpecification AWS CloudFormation Resource (AWS::EMR::Cluster.OnDemandProvisioningSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ondemandprovisioningspecification.html -type Cluster_OnDemandProvisioningSpecification struct { - - // AllocationStrategy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-ondemandprovisioningspecification.html#cfn-elasticmapreduce-cluster-ondemandprovisioningspecification-allocationstrategy - AllocationStrategy *types.Value `json:"AllocationStrategy,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 *Cluster_OnDemandProvisioningSpecification) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.OnDemandProvisioningSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_placementtype.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_placementtype.go deleted file mode 100644 index 25d6ee6371..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_placementtype.go +++ /dev/null @@ -1,37 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_PlacementType AWS CloudFormation Resource (AWS::EMR::Cluster.PlacementType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-placementtype.html -type Cluster_PlacementType struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-placementtype.html#cfn-elasticmapreduce-cluster-placementtype-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,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 *Cluster_PlacementType) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.PlacementType" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingaction.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingaction.go deleted file mode 100644 index 525b64d152..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ScalingAction AWS CloudFormation Resource (AWS::EMR::Cluster.ScalingAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html -type Cluster_ScalingAction struct { - - // Market AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-market - Market *types.Value `json:"Market,omitempty"` - - // SimpleScalingPolicyConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-simplescalingpolicyconfiguration - SimpleScalingPolicyConfiguration *Cluster_SimpleScalingPolicyConfiguration `json:"SimpleScalingPolicyConfiguration,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 *Cluster_ScalingAction) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ScalingAction" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingconstraints.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingconstraints.go deleted file mode 100644 index 8644449276..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingconstraints.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ScalingConstraints AWS CloudFormation Resource (AWS::EMR::Cluster.ScalingConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html -type Cluster_ScalingConstraints struct { - - // MaxCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html#cfn-elasticmapreduce-cluster-scalingconstraints-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity"` - - // MinCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingconstraints.html#cfn-elasticmapreduce-cluster-scalingconstraints-mincapacity - MinCapacity *types.Value `json:"MinCapacity"` - - // 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 *Cluster_ScalingConstraints) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ScalingConstraints" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingrule.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingrule.go deleted file mode 100644 index 3405981673..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingrule.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ScalingRule AWS CloudFormation Resource (AWS::EMR::Cluster.ScalingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html -type Cluster_ScalingRule struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-action - Action *Cluster_ScalingAction `json:"Action,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-name - Name *types.Value `json:"Name,omitempty"` - - // Trigger AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-trigger - Trigger *Cluster_ScalingTrigger `json:"Trigger,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 *Cluster_ScalingRule) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ScalingRule" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingtrigger.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingtrigger.go deleted file mode 100644 index f281d46e7f..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scalingtrigger.go +++ /dev/null @@ -1,35 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ScalingTrigger AWS CloudFormation Resource (AWS::EMR::Cluster.ScalingTrigger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html -type Cluster_ScalingTrigger struct { - - // CloudWatchAlarmDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html#cfn-elasticmapreduce-cluster-scalingtrigger-cloudwatchalarmdefinition - CloudWatchAlarmDefinition *Cluster_CloudWatchAlarmDefinition `json:"CloudWatchAlarmDefinition,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 *Cluster_ScalingTrigger) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ScalingTrigger" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scriptbootstrapactionconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_scriptbootstrapactionconfig.go deleted file mode 100644 index c76a9755da..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_scriptbootstrapactionconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ScriptBootstrapActionConfig AWS CloudFormation Resource (AWS::EMR::Cluster.ScriptBootstrapActionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html -type Cluster_ScriptBootstrapActionConfig struct { - - // Args AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html#cfn-elasticmapreduce-cluster-scriptbootstrapactionconfig-args - Args *types.Value `json:"Args,omitempty"` - - // Path AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scriptbootstrapactionconfig.html#cfn-elasticmapreduce-cluster-scriptbootstrapactionconfig-path - Path *types.Value `json:"Path,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 *Cluster_ScriptBootstrapActionConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.ScriptBootstrapActionConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_simplescalingpolicyconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_simplescalingpolicyconfiguration.go deleted file mode 100644 index 05274b3fa6..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_simplescalingpolicyconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_SimpleScalingPolicyConfiguration AWS CloudFormation Resource (AWS::EMR::Cluster.SimpleScalingPolicyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html -type Cluster_SimpleScalingPolicyConfiguration struct { - - // AdjustmentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-adjustmenttype - AdjustmentType *types.Value `json:"AdjustmentType,omitempty"` - - // CoolDown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-cooldown - CoolDown *types.Value `json:"CoolDown,omitempty"` - - // ScalingAdjustment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-scalingadjustment - ScalingAdjustment *types.Value `json:"ScalingAdjustment"` - - // 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 *Cluster_SimpleScalingPolicyConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.SimpleScalingPolicyConfiguration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_spotprovisioningspecification.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_spotprovisioningspecification.go deleted file mode 100644 index 9424946dbb..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_spotprovisioningspecification.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_SpotProvisioningSpecification AWS CloudFormation Resource (AWS::EMR::Cluster.SpotProvisioningSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html -type Cluster_SpotProvisioningSpecification struct { - - // AllocationStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-allocationstrategy - AllocationStrategy *types.Value `json:"AllocationStrategy,omitempty"` - - // BlockDurationMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-blockdurationminutes - BlockDurationMinutes *types.Value `json:"BlockDurationMinutes,omitempty"` - - // TimeoutAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-timeoutaction - TimeoutAction *types.Value `json:"TimeoutAction,omitempty"` - - // TimeoutDurationMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-spotprovisioningspecification.html#cfn-elasticmapreduce-cluster-spotprovisioningspecification-timeoutdurationminutes - TimeoutDurationMinutes *types.Value `json:"TimeoutDurationMinutes"` - - // 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 *Cluster_SpotProvisioningSpecification) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.SpotProvisioningSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_stepconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_stepconfig.go deleted file mode 100644 index 6384618f72..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_stepconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_StepConfig AWS CloudFormation Resource (AWS::EMR::Cluster.StepConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html -type Cluster_StepConfig struct { - - // ActionOnFailure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-actiononfailure - ActionOnFailure *types.Value `json:"ActionOnFailure,omitempty"` - - // HadoopJarStep AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-hadoopjarstep - HadoopJarStep *Cluster_HadoopJarStepConfig `json:"HadoopJarStep,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-name - Name *types.Value `json:"Name,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 *Cluster_StepConfig) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.StepConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-cluster_volumespecification.go b/pkg/goformation/cloudformation/emr/aws-emr-cluster_volumespecification.go deleted file mode 100644 index 754e259141..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-cluster_volumespecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_VolumeSpecification AWS CloudFormation Resource (AWS::EMR::Cluster.VolumeSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html -type Cluster_VolumeSpecification struct { - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-iops - Iops *types.Value `json:"Iops,omitempty"` - - // SizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-sizeingb - SizeInGB *types.Value `json:"SizeInGB"` - - // VolumeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-volumespecification.html#cfn-elasticmapreduce-cluster-volumespecification-volumetype - VolumeType *types.Value `json:"VolumeType,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 *Cluster_VolumeSpecification) AWSCloudFormationType() string { - return "AWS::EMR::Cluster.VolumeSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig.go deleted file mode 100644 index 40701f67d4..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig.go +++ /dev/null @@ -1,138 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html -type InstanceFleetConfig struct { - - // ClusterId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-clusterid - ClusterId *types.Value `json:"ClusterId,omitempty"` - - // InstanceFleetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancefleettype - InstanceFleetType *types.Value `json:"InstanceFleetType,omitempty"` - - // InstanceTypeConfigs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfigs - InstanceTypeConfigs []InstanceFleetConfig_InstanceTypeConfig `json:"InstanceTypeConfigs,omitempty"` - - // LaunchSpecifications AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-launchspecifications - LaunchSpecifications *InstanceFleetConfig_InstanceFleetProvisioningSpecifications `json:"LaunchSpecifications,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-name - Name *types.Value `json:"Name,omitempty"` - - // TargetOnDemandCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-targetondemandcapacity - TargetOnDemandCapacity *types.Value `json:"TargetOnDemandCapacity,omitempty"` - - // TargetSpotCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-instancefleetconfig.html#cfn-elasticmapreduce-instancefleetconfig-targetspotcapacity - TargetSpotCapacity *types.Value `json:"TargetSpotCapacity,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 *InstanceFleetConfig) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig" -} - -// 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 (r InstanceFleetConfig) MarshalJSON() ([]byte, error) { - type Properties InstanceFleetConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InstanceFleetConfig) UnmarshalJSON(b []byte) error { - type Properties InstanceFleetConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InstanceFleetConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_configuration.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_configuration.go deleted file mode 100644 index b5bfb11b45..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_configuration.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_Configuration AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.Configuration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html -type InstanceFleetConfig_Configuration struct { - - // Classification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-classification - Classification *types.Value `json:"Classification,omitempty"` - - // ConfigurationProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurationproperties - ConfigurationProperties map[string]*types.Value `json:"ConfigurationProperties,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-configuration.html#cfn-elasticmapreduce-instancefleetconfig-configuration-configurations - Configurations []InstanceFleetConfig_Configuration `json:"Configurations,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 *InstanceFleetConfig_Configuration) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.Configuration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsblockdeviceconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsblockdeviceconfig.go deleted file mode 100644 index 211bb87de9..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsblockdeviceconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_EbsBlockDeviceConfig AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsblockdeviceconfig.html -type InstanceFleetConfig_EbsBlockDeviceConfig struct { - - // VolumeSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsblockdeviceconfig.html#cfn-elasticmapreduce-instancefleetconfig-ebsblockdeviceconfig-volumespecification - VolumeSpecification *InstanceFleetConfig_VolumeSpecification `json:"VolumeSpecification,omitempty"` - - // VolumesPerInstance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsblockdeviceconfig.html#cfn-elasticmapreduce-instancefleetconfig-ebsblockdeviceconfig-volumesperinstance - VolumesPerInstance *types.Value `json:"VolumesPerInstance,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 *InstanceFleetConfig_EbsBlockDeviceConfig) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsconfiguration.go deleted file mode 100644 index 77d6517525..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ebsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_EbsConfiguration AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.EbsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsconfiguration.html -type InstanceFleetConfig_EbsConfiguration struct { - - // EbsBlockDeviceConfigs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsconfiguration.html#cfn-elasticmapreduce-instancefleetconfig-ebsconfiguration-ebsblockdeviceconfigs - EbsBlockDeviceConfigs []InstanceFleetConfig_EbsBlockDeviceConfig `json:"EbsBlockDeviceConfigs,omitempty"` - - // EbsOptimized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsconfiguration.html#cfn-elasticmapreduce-instancefleetconfig-ebsconfiguration-ebsoptimized - EbsOptimized *types.Value `json:"EbsOptimized,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 *InstanceFleetConfig_EbsConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.EbsConfiguration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancefleetprovisioningspecifications.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancefleetprovisioningspecifications.go deleted file mode 100644 index e185dd7997..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancefleetprovisioningspecifications.go +++ /dev/null @@ -1,40 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_InstanceFleetProvisioningSpecifications AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancefleetprovisioningspecifications.html -type InstanceFleetConfig_InstanceFleetProvisioningSpecifications struct { - - // OnDemandSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-instancefleetconfig-instancefleetprovisioningspecifications-ondemandspecification - OnDemandSpecification *InstanceFleetConfig_OnDemandProvisioningSpecification `json:"OnDemandSpecification,omitempty"` - - // SpotSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancefleetprovisioningspecifications.html#cfn-elasticmapreduce-instancefleetconfig-instancefleetprovisioningspecifications-spotspecification - SpotSpecification *InstanceFleetConfig_SpotProvisioningSpecification `json:"SpotSpecification,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 *InstanceFleetConfig_InstanceFleetProvisioningSpecifications) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancetypeconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancetypeconfig.go deleted file mode 100644 index 9289456fe8..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_instancetypeconfig.go +++ /dev/null @@ -1,67 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_InstanceTypeConfig AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.InstanceTypeConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html -type InstanceFleetConfig_InstanceTypeConfig struct { - - // BidPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-bidprice - BidPrice *types.Value `json:"BidPrice,omitempty"` - - // BidPriceAsPercentageOfOnDemandPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-bidpriceaspercentageofondemandprice - BidPriceAsPercentageOfOnDemandPrice *types.Value `json:"BidPriceAsPercentageOfOnDemandPrice,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-configurations - Configurations []InstanceFleetConfig_Configuration `json:"Configurations,omitempty"` - - // CustomAmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-customamiid - CustomAmiId *types.Value `json:"CustomAmiId,omitempty"` - - // EbsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-ebsconfiguration - EbsConfiguration *InstanceFleetConfig_EbsConfiguration `json:"EbsConfiguration,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // WeightedCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-instancetypeconfig.html#cfn-elasticmapreduce-instancefleetconfig-instancetypeconfig-weightedcapacity - WeightedCapacity *types.Value `json:"WeightedCapacity,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 *InstanceFleetConfig_InstanceTypeConfig) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.InstanceTypeConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ondemandprovisioningspecification.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ondemandprovisioningspecification.go deleted file mode 100644 index 8c2ca35995..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_ondemandprovisioningspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_OnDemandProvisioningSpecification AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ondemandprovisioningspecification.html -type InstanceFleetConfig_OnDemandProvisioningSpecification struct { - - // AllocationStrategy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ondemandprovisioningspecification.html#cfn-elasticmapreduce-instancefleetconfig-ondemandprovisioningspecification-allocationstrategy - AllocationStrategy *types.Value `json:"AllocationStrategy,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 *InstanceFleetConfig_OnDemandProvisioningSpecification) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_spotprovisioningspecification.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_spotprovisioningspecification.go deleted file mode 100644 index 762728cf49..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_spotprovisioningspecification.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_SpotProvisioningSpecification AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-spotprovisioningspecification.html -type InstanceFleetConfig_SpotProvisioningSpecification struct { - - // AllocationStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-spotprovisioningspecification.html#cfn-elasticmapreduce-instancefleetconfig-spotprovisioningspecification-allocationstrategy - AllocationStrategy *types.Value `json:"AllocationStrategy,omitempty"` - - // BlockDurationMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-spotprovisioningspecification.html#cfn-elasticmapreduce-instancefleetconfig-spotprovisioningspecification-blockdurationminutes - BlockDurationMinutes *types.Value `json:"BlockDurationMinutes,omitempty"` - - // TimeoutAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-spotprovisioningspecification.html#cfn-elasticmapreduce-instancefleetconfig-spotprovisioningspecification-timeoutaction - TimeoutAction *types.Value `json:"TimeoutAction,omitempty"` - - // TimeoutDurationMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-spotprovisioningspecification.html#cfn-elasticmapreduce-instancefleetconfig-spotprovisioningspecification-timeoutdurationminutes - TimeoutDurationMinutes *types.Value `json:"TimeoutDurationMinutes"` - - // 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 *InstanceFleetConfig_SpotProvisioningSpecification) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_volumespecification.go b/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_volumespecification.go deleted file mode 100644 index adac9ed083..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancefleetconfig_volumespecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceFleetConfig_VolumeSpecification AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.VolumeSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-volumespecification.html -type InstanceFleetConfig_VolumeSpecification struct { - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-volumespecification.html#cfn-elasticmapreduce-instancefleetconfig-volumespecification-iops - Iops *types.Value `json:"Iops,omitempty"` - - // SizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-volumespecification.html#cfn-elasticmapreduce-instancefleetconfig-volumespecification-sizeingb - SizeInGB *types.Value `json:"SizeInGB"` - - // VolumeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-volumespecification.html#cfn-elasticmapreduce-instancefleetconfig-volumespecification-volumetype - VolumeType *types.Value `json:"VolumeType,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 *InstanceFleetConfig_VolumeSpecification) AWSCloudFormationType() string { - return "AWS::EMR::InstanceFleetConfig.VolumeSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig.go deleted file mode 100644 index 9cf68b87f4..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig.go +++ /dev/null @@ -1,158 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html -type InstanceGroupConfig struct { - - // AutoScalingPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-elasticmapreduce-instancegroupconfig-autoscalingpolicy - AutoScalingPolicy *InstanceGroupConfig_AutoScalingPolicy `json:"AutoScalingPolicy,omitempty"` - - // BidPrice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-bidprice - BidPrice *types.Value `json:"BidPrice,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-configurations - Configurations []InstanceGroupConfig_Configuration `json:"Configurations,omitempty"` - - // CustomAmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-customamiid - CustomAmiId *types.Value `json:"CustomAmiId,omitempty"` - - // EbsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-ebsconfiguration - EbsConfiguration *InstanceGroupConfig_EbsConfiguration `json:"EbsConfiguration,omitempty"` - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfiginstancecount- - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-instancerole - InstanceRole *types.Value `json:"InstanceRole,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // JobFlowId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-jobflowid - JobFlowId *types.Value `json:"JobFlowId,omitempty"` - - // Market AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-market - Market *types.Value `json:"Market,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-instancegroupconfig.html#cfn-emr-instancegroupconfig-name - Name *types.Value `json:"Name,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 *InstanceGroupConfig) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig" -} - -// 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 (r InstanceGroupConfig) MarshalJSON() ([]byte, error) { - type Properties InstanceGroupConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InstanceGroupConfig) UnmarshalJSON(b []byte) error { - type Properties InstanceGroupConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InstanceGroupConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_autoscalingpolicy.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_autoscalingpolicy.go deleted file mode 100644 index b84ba34fd7..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_autoscalingpolicy.go +++ /dev/null @@ -1,40 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_AutoScalingPolicy AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.AutoScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html -type InstanceGroupConfig_AutoScalingPolicy struct { - - // Constraints AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html#cfn-elasticmapreduce-instancegroupconfig-autoscalingpolicy-constraints - Constraints *InstanceGroupConfig_ScalingConstraints `json:"Constraints,omitempty"` - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html#cfn-elasticmapreduce-instancegroupconfig-autoscalingpolicy-rules - Rules []InstanceGroupConfig_ScalingRule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *InstanceGroupConfig_AutoScalingPolicy) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.AutoScalingPolicy" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_cloudwatchalarmdefinition.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_cloudwatchalarmdefinition.go deleted file mode 100644 index 3f036feaa7..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_cloudwatchalarmdefinition.go +++ /dev/null @@ -1,77 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_CloudWatchAlarmDefinition AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html -type InstanceGroupConfig_CloudWatchAlarmDefinition struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-dimensions - Dimensions []InstanceGroupConfig_MetricDimension `json:"Dimensions,omitempty"` - - // EvaluationPeriods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-evaluationperiods - EvaluationPeriods *types.Value `json:"EvaluationPeriods,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // Period AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-period - Period *types.Value `json:"Period"` - - // Statistic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-statistic - Statistic *types.Value `json:"Statistic,omitempty"` - - // Threshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-threshold - Threshold *types.Value `json:"Threshold"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-unit - Unit *types.Value `json:"Unit,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 *InstanceGroupConfig_CloudWatchAlarmDefinition) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_configuration.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_configuration.go deleted file mode 100644 index 183eb28508..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_configuration.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_Configuration AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.Configuration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html -type InstanceGroupConfig_Configuration struct { - - // Classification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-classification - Classification *types.Value `json:"Classification,omitempty"` - - // ConfigurationProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-configurationproperties - ConfigurationProperties map[string]*types.Value `json:"ConfigurationProperties,omitempty"` - - // Configurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-configurations - Configurations []InstanceGroupConfig_Configuration `json:"Configurations,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 *InstanceGroupConfig_Configuration) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.Configuration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsblockdeviceconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsblockdeviceconfig.go deleted file mode 100644 index d2d923eb50..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsblockdeviceconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_EbsBlockDeviceConfig AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html -type InstanceGroupConfig_EbsBlockDeviceConfig struct { - - // VolumeSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification - VolumeSpecification *InstanceGroupConfig_VolumeSpecification `json:"VolumeSpecification,omitempty"` - - // VolumesPerInstance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumesperinstance - VolumesPerInstance *types.Value `json:"VolumesPerInstance,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 *InstanceGroupConfig_EbsBlockDeviceConfig) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsconfiguration.go deleted file mode 100644 index 9c9c37ec77..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_ebsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_EbsConfiguration AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.EbsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html -type InstanceGroupConfig_EbsConfiguration struct { - - // EbsBlockDeviceConfigs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfigs - EbsBlockDeviceConfigs []InstanceGroupConfig_EbsBlockDeviceConfig `json:"EbsBlockDeviceConfigs,omitempty"` - - // EbsOptimized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsoptimized - EbsOptimized *types.Value `json:"EbsOptimized,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 *InstanceGroupConfig_EbsConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.EbsConfiguration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_metricdimension.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_metricdimension.go deleted file mode 100644 index b03acd8d7c..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_metricdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_MetricDimension AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html -type InstanceGroupConfig_MetricDimension struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html#cfn-elasticmapreduce-instancegroupconfig-metricdimension-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html#cfn-elasticmapreduce-instancegroupconfig-metricdimension-value - Value *types.Value `json:"Value,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 *InstanceGroupConfig_MetricDimension) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.MetricDimension" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingaction.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingaction.go deleted file mode 100644 index b008798d64..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_ScalingAction AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.ScalingAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html -type InstanceGroupConfig_ScalingAction struct { - - // Market AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html#cfn-elasticmapreduce-instancegroupconfig-scalingaction-market - Market *types.Value `json:"Market,omitempty"` - - // SimpleScalingPolicyConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html#cfn-elasticmapreduce-instancegroupconfig-scalingaction-simplescalingpolicyconfiguration - SimpleScalingPolicyConfiguration *InstanceGroupConfig_SimpleScalingPolicyConfiguration `json:"SimpleScalingPolicyConfiguration,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 *InstanceGroupConfig_ScalingAction) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.ScalingAction" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingconstraints.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingconstraints.go deleted file mode 100644 index c0df17801e..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingconstraints.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_ScalingConstraints AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.ScalingConstraints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingconstraints.html -type InstanceGroupConfig_ScalingConstraints struct { - - // MaxCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingconstraints.html#cfn-elasticmapreduce-instancegroupconfig-scalingconstraints-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity"` - - // MinCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingconstraints.html#cfn-elasticmapreduce-instancegroupconfig-scalingconstraints-mincapacity - MinCapacity *types.Value `json:"MinCapacity"` - - // 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 *InstanceGroupConfig_ScalingConstraints) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.ScalingConstraints" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingrule.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingrule.go deleted file mode 100644 index ecc127278b..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingrule.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_ScalingRule AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.ScalingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html -type InstanceGroupConfig_ScalingRule struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-action - Action *InstanceGroupConfig_ScalingAction `json:"Action,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-name - Name *types.Value `json:"Name,omitempty"` - - // Trigger AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-trigger - Trigger *InstanceGroupConfig_ScalingTrigger `json:"Trigger,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 *InstanceGroupConfig_ScalingRule) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.ScalingRule" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingtrigger.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingtrigger.go deleted file mode 100644 index fe8d0c0608..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_scalingtrigger.go +++ /dev/null @@ -1,35 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_ScalingTrigger AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.ScalingTrigger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.html -type InstanceGroupConfig_ScalingTrigger struct { - - // CloudWatchAlarmDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.html#cfn-elasticmapreduce-instancegroupconfig-scalingtrigger-cloudwatchalarmdefinition - CloudWatchAlarmDefinition *InstanceGroupConfig_CloudWatchAlarmDefinition `json:"CloudWatchAlarmDefinition,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 *InstanceGroupConfig_ScalingTrigger) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.ScalingTrigger" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_simplescalingpolicyconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_simplescalingpolicyconfiguration.go deleted file mode 100644 index d386693514..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_simplescalingpolicyconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_SimpleScalingPolicyConfiguration AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration.html -type InstanceGroupConfig_SimpleScalingPolicyConfiguration struct { - - // AdjustmentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration-adjustmenttype - AdjustmentType *types.Value `json:"AdjustmentType,omitempty"` - - // CoolDown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration-cooldown - CoolDown *types.Value `json:"CoolDown,omitempty"` - - // ScalingAdjustment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-instancegroupconfig-simplescalingpolicyconfiguration-scalingadjustment - ScalingAdjustment *types.Value `json:"ScalingAdjustment"` - - // 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 *InstanceGroupConfig_SimpleScalingPolicyConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_volumespecification.go b/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_volumespecification.go deleted file mode 100644 index eb08fb8071..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-instancegroupconfig_volumespecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceGroupConfig_VolumeSpecification AWS CloudFormation Resource (AWS::EMR::InstanceGroupConfig.VolumeSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html -type InstanceGroupConfig_VolumeSpecification struct { - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-iops - Iops *types.Value `json:"Iops,omitempty"` - - // SizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-sizeingb - SizeInGB *types.Value `json:"SizeInGB"` - - // VolumeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-volumetype - VolumeType *types.Value `json:"VolumeType,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 *InstanceGroupConfig_VolumeSpecification) AWSCloudFormationType() string { - return "AWS::EMR::InstanceGroupConfig.VolumeSpecification" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-securityconfiguration.go b/pkg/goformation/cloudformation/emr/aws-emr-securityconfiguration.go deleted file mode 100644 index 2c1d6ac99e..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-securityconfiguration.go +++ /dev/null @@ -1,113 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityConfiguration AWS CloudFormation Resource (AWS::EMR::SecurityConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html -type SecurityConfiguration struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html#cfn-emr-securityconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // SecurityConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html#cfn-emr-securityconfiguration-securityconfiguration - SecurityConfiguration interface{} `json:"SecurityConfiguration,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 *SecurityConfiguration) AWSCloudFormationType() string { - return "AWS::EMR::SecurityConfiguration" -} - -// 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 (r SecurityConfiguration) MarshalJSON() ([]byte, error) { - type Properties SecurityConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecurityConfiguration) UnmarshalJSON(b []byte) error { - type Properties SecurityConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecurityConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-step.go b/pkg/goformation/cloudformation/emr/aws-emr-step.go deleted file mode 100644 index 104acd104a..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-step.go +++ /dev/null @@ -1,123 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Step AWS CloudFormation Resource (AWS::EMR::Step) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html -type Step struct { - - // ActionOnFailure AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-actiononfailure - ActionOnFailure *types.Value `json:"ActionOnFailure,omitempty"` - - // HadoopJarStep AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-hadoopjarstep - HadoopJarStep *Step_HadoopJarStepConfig `json:"HadoopJarStep,omitempty"` - - // JobFlowId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-jobflowid - JobFlowId *types.Value `json:"JobFlowId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-name - Name *types.Value `json:"Name,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 *Step) AWSCloudFormationType() string { - return "AWS::EMR::Step" -} - -// 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 (r Step) MarshalJSON() ([]byte, error) { - type Properties Step - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Step) UnmarshalJSON(b []byte) error { - type Properties Step - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Step(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-step_hadoopjarstepconfig.go b/pkg/goformation/cloudformation/emr/aws-emr-step_hadoopjarstepconfig.go deleted file mode 100644 index c2f2455c48..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-step_hadoopjarstepconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Step_HadoopJarStepConfig AWS CloudFormation Resource (AWS::EMR::Step.HadoopJarStepConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html -type Step_HadoopJarStepConfig struct { - - // Args AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-args - Args *types.Value `json:"Args,omitempty"` - - // Jar AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-jar - Jar *types.Value `json:"Jar,omitempty"` - - // MainClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-mainclass - MainClass *types.Value `json:"MainClass,omitempty"` - - // StepProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-stepproperties - StepProperties []Step_KeyValue `json:"StepProperties,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 *Step_HadoopJarStepConfig) AWSCloudFormationType() string { - return "AWS::EMR::Step.HadoopJarStepConfig" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-step_keyvalue.go b/pkg/goformation/cloudformation/emr/aws-emr-step_keyvalue.go deleted file mode 100644 index e7f1be9b10..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-step_keyvalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package emr - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Step_KeyValue AWS CloudFormation Resource (AWS::EMR::Step.KeyValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html -type Step_KeyValue struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html#cfn-elasticmapreduce-step-keyvalue-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html#cfn-elasticmapreduce-step-keyvalue-value - Value *types.Value `json:"Value,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 *Step_KeyValue) AWSCloudFormationType() string { - return "AWS::EMR::Step.KeyValue" -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-studio.go b/pkg/goformation/cloudformation/emr/aws-emr-studio.go deleted file mode 100644 index 1660e671e4..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-studio.go +++ /dev/null @@ -1,169 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Studio AWS CloudFormation Resource (AWS::EMR::Studio) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html -type Studio struct { - - // AuthMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-authmode - AuthMode *types.Value `json:"AuthMode,omitempty"` - - // DefaultS3Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-defaults3location - DefaultS3Location *types.Value `json:"DefaultS3Location,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-description - Description *types.Value `json:"Description,omitempty"` - - // EngineSecurityGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-enginesecuritygroupid - EngineSecurityGroupId *types.Value `json:"EngineSecurityGroupId,omitempty"` - - // IdpAuthUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-idpauthurl - IdpAuthUrl *types.Value `json:"IdpAuthUrl,omitempty"` - - // IdpRelayStateParameterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-idprelaystateparametername - IdpRelayStateParameterName *types.Value `json:"IdpRelayStateParameterName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-name - Name *types.Value `json:"Name,omitempty"` - - // ServiceRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-servicerole - ServiceRole *types.Value `json:"ServiceRole,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-userrole - UserRole *types.Value `json:"UserRole,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-vpcid - VpcId *types.Value `json:"VpcId,omitempty"` - - // WorkspaceSecurityGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studio.html#cfn-emr-studio-workspacesecuritygroupid - WorkspaceSecurityGroupId *types.Value `json:"WorkspaceSecurityGroupId,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 *Studio) AWSCloudFormationType() string { - return "AWS::EMR::Studio" -} - -// 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 (r Studio) MarshalJSON() ([]byte, error) { - type Properties Studio - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Studio) UnmarshalJSON(b []byte) error { - type Properties Studio - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Studio(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emr/aws-emr-studiosessionmapping.go b/pkg/goformation/cloudformation/emr/aws-emr-studiosessionmapping.go deleted file mode 100644 index 95e9ed4184..0000000000 --- a/pkg/goformation/cloudformation/emr/aws-emr-studiosessionmapping.go +++ /dev/null @@ -1,123 +0,0 @@ -package emr - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioSessionMapping AWS CloudFormation Resource (AWS::EMR::StudioSessionMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html -type StudioSessionMapping struct { - - // IdentityName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-identityname - IdentityName *types.Value `json:"IdentityName,omitempty"` - - // IdentityType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-identitytype - IdentityType *types.Value `json:"IdentityType,omitempty"` - - // SessionPolicyArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-sessionpolicyarn - SessionPolicyArn *types.Value `json:"SessionPolicyArn,omitempty"` - - // StudioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-studiosessionmapping.html#cfn-emr-studiosessionmapping-studioid - StudioId *types.Value `json:"StudioId,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 *StudioSessionMapping) AWSCloudFormationType() string { - return "AWS::EMR::StudioSessionMapping" -} - -// 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 (r StudioSessionMapping) MarshalJSON() ([]byte, error) { - type Properties StudioSessionMapping - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StudioSessionMapping) UnmarshalJSON(b []byte) error { - type Properties StudioSessionMapping - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StudioSessionMapping(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster.go b/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster.go deleted file mode 100644 index d960e562ac..0000000000 --- a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster.go +++ /dev/null @@ -1,119 +0,0 @@ -package emrcontainers - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualCluster AWS CloudFormation Resource (AWS::EMRContainers::VirtualCluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html -type VirtualCluster struct { - - // ContainerProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-containerprovider - ContainerProvider *VirtualCluster_ContainerProvider `json:"ContainerProvider,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-tags - Tags []cloudformation.Tag `json:"Tags,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 *VirtualCluster) AWSCloudFormationType() string { - return "AWS::EMRContainers::VirtualCluster" -} - -// 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 (r VirtualCluster) MarshalJSON() ([]byte, error) { - type Properties VirtualCluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VirtualCluster) UnmarshalJSON(b []byte) error { - type Properties VirtualCluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VirtualCluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerinfo.go b/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerinfo.go deleted file mode 100644 index 4ab5027d26..0000000000 --- a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerinfo.go +++ /dev/null @@ -1,35 +0,0 @@ -package emrcontainers - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualCluster_ContainerInfo AWS CloudFormation Resource (AWS::EMRContainers::VirtualCluster.ContainerInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerinfo.html -type VirtualCluster_ContainerInfo struct { - - // EksInfo AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerinfo.html#cfn-emrcontainers-virtualcluster-containerinfo-eksinfo - EksInfo *VirtualCluster_EksInfo `json:"EksInfo,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 *VirtualCluster_ContainerInfo) AWSCloudFormationType() string { - return "AWS::EMRContainers::VirtualCluster.ContainerInfo" -} diff --git a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerprovider.go b/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerprovider.go deleted file mode 100644 index 8714823e8f..0000000000 --- a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_containerprovider.go +++ /dev/null @@ -1,47 +0,0 @@ -package emrcontainers - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualCluster_ContainerProvider AWS CloudFormation Resource (AWS::EMRContainers::VirtualCluster.ContainerProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerprovider.html -type VirtualCluster_ContainerProvider struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerprovider.html#cfn-emrcontainers-virtualcluster-containerprovider-id - Id *types.Value `json:"Id,omitempty"` - - // Info AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerprovider.html#cfn-emrcontainers-virtualcluster-containerprovider-info - Info *VirtualCluster_ContainerInfo `json:"Info,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-containerprovider.html#cfn-emrcontainers-virtualcluster-containerprovider-type - Type *types.Value `json:"Type,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 *VirtualCluster_ContainerProvider) AWSCloudFormationType() string { - return "AWS::EMRContainers::VirtualCluster.ContainerProvider" -} diff --git a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_eksinfo.go b/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_eksinfo.go deleted file mode 100644 index 865a9ceb1c..0000000000 --- a/pkg/goformation/cloudformation/emrcontainers/aws-emrcontainers-virtualcluster_eksinfo.go +++ /dev/null @@ -1,37 +0,0 @@ -package emrcontainers - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VirtualCluster_EksInfo AWS CloudFormation Resource (AWS::EMRContainers::VirtualCluster.EksInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-eksinfo.html -type VirtualCluster_EksInfo struct { - - // Namespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrcontainers-virtualcluster-eksinfo.html#cfn-emrcontainers-virtualcluster-eksinfo-namespace - Namespace *types.Value `json:"Namespace,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 *VirtualCluster_EksInfo) AWSCloudFormationType() string { - return "AWS::EMRContainers::VirtualCluster.EksInfo" -} diff --git a/pkg/goformation/cloudformation/events/aws-events-connection.go b/pkg/goformation/cloudformation/events/aws-events-connection.go index 48998aaa2c..c1b8e8073a 100644 --- a/pkg/goformation/cloudformation/events/aws-events-connection.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection.go @@ -15,12 +15,12 @@ import ( type Connection struct { // AuthParameters AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authparameters - AuthParameters interface{} `json:"AuthParameters,omitempty"` + AuthParameters *Connection_AuthParameters `json:"AuthParameters,omitempty"` // AuthorizationType AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authorizationtype AuthorizationType *types.Value `json:"AuthorizationType,omitempty"` @@ -29,6 +29,11 @@ type Connection struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-description Description *types.Value `json:"Description,omitempty"` + // InvocationConnectivityParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-invocationconnectivityparameters + InvocationConnectivityParameters *Connection_InvocationConnectivityParameters `json:"InvocationConnectivityParameters,omitempty"` + // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-name diff --git a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion_sourcebundle.go b/pkg/goformation/cloudformation/events/aws-events-connection_apikeyauthparameters.go similarity index 61% rename from pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion_sourcebundle.go rename to pkg/goformation/cloudformation/events/aws-events-connection_apikeyauthparameters.go index 9b3c8620e5..9fb81ac7e7 100644 --- a/pkg/goformation/cloudformation/elasticbeanstalk/aws-elasticbeanstalk-applicationversion_sourcebundle.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_apikeyauthparameters.go @@ -1,4 +1,4 @@ -package elasticbeanstalk +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ApplicationVersion_SourceBundle AWS CloudFormation Resource (AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-sourcebundle.html -type ApplicationVersion_SourceBundle struct { +// Connection_ApiKeyAuthParameters AWS CloudFormation Resource (AWS::Events::Connection.ApiKeyAuthParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html +type Connection_ApiKeyAuthParameters struct { - // S3Bucket AWS CloudFormation Property + // ApiKeyName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-sourcebundle.html#cfn-beanstalk-sourcebundle-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html#cfn-events-connection-apikeyauthparameters-apikeyname + ApiKeyName *types.Value `json:"ApiKeyName,omitempty"` - // S3Key AWS CloudFormation Property + // ApiKeyValue AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-sourcebundle.html#cfn-beanstalk-sourcebundle-s3key - S3Key *types.Value `json:"S3Key,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-apikeyauthparameters.html#cfn-events-connection-apikeyauthparameters-apikeyvalue + ApiKeyValue *types.Value `json:"ApiKeyValue,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type ApplicationVersion_SourceBundle struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ApplicationVersion_SourceBundle) AWSCloudFormationType() string { - return "AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle" +func (r *Connection_ApiKeyAuthParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.ApiKeyAuthParameters" } diff --git a/pkg/goformation/cloudformation/events/aws-events-connection_authparameters.go b/pkg/goformation/cloudformation/events/aws-events-connection_authparameters.go new file mode 100644 index 0000000000..491b8a7e5d --- /dev/null +++ b/pkg/goformation/cloudformation/events/aws-events-connection_authparameters.go @@ -0,0 +1,55 @@ +package events + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// Connection_AuthParameters AWS CloudFormation Resource (AWS::Events::Connection.AuthParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html +type Connection_AuthParameters struct { + + // ApiKeyAuthParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-apikeyauthparameters + ApiKeyAuthParameters *Connection_ApiKeyAuthParameters `json:"ApiKeyAuthParameters,omitempty"` + + // BasicAuthParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-basicauthparameters + BasicAuthParameters *Connection_BasicAuthParameters `json:"BasicAuthParameters,omitempty"` + + // ConnectivityParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-connectivityparameters + ConnectivityParameters *Connection_ConnectivityParameters `json:"ConnectivityParameters,omitempty"` + + // InvocationHttpParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-invocationhttpparameters + InvocationHttpParameters *Connection_ConnectionHttpParameters `json:"InvocationHttpParameters,omitempty"` + + // OAuthParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-oauthparameters + OAuthParameters *Connection_OAuthParameters `json:"OAuthParameters,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 *Connection_AuthParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.AuthParameters" +} diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofilecredentials.go b/pkg/goformation/cloudformation/events/aws-events-connection_basicauthparameters.go similarity index 64% rename from pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofilecredentials.go rename to pkg/goformation/cloudformation/events/aws-events-connection_basicauthparameters.go index 9ebf122375..c795f747b7 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-connectorprofile_veevaconnectorprofilecredentials.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_basicauthparameters.go @@ -1,4 +1,4 @@ -package appflow +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ConnectorProfile_VeevaConnectorProfileCredentials AWS CloudFormation Resource (AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-veevaconnectorprofilecredentials.html -type ConnectorProfile_VeevaConnectorProfileCredentials struct { +// Connection_BasicAuthParameters AWS CloudFormation Resource (AWS::Events::Connection.BasicAuthParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html +type Connection_BasicAuthParameters struct { // Password AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-veevaconnectorprofilecredentials.html#cfn-appflow-connectorprofile-veevaconnectorprofilecredentials-password + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html#cfn-events-connection-basicauthparameters-password Password *types.Value `json:"Password,omitempty"` // Username AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-veevaconnectorprofilecredentials.html#cfn-appflow-connectorprofile-veevaconnectorprofilecredentials-username + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-basicauthparameters.html#cfn-events-connection-basicauthparameters-username Username *types.Value `json:"Username,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type ConnectorProfile_VeevaConnectorProfileCredentials struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ConnectorProfile_VeevaConnectorProfileCredentials) AWSCloudFormationType() string { - return "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials" +func (r *Connection_BasicAuthParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.BasicAuthParameters" } diff --git a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_blockerdeclaration.go b/pkg/goformation/cloudformation/events/aws-events-connection_clientparameters.go similarity index 62% rename from pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_blockerdeclaration.go rename to pkg/goformation/cloudformation/events/aws-events-connection_clientparameters.go index bb58283bf5..0e86100205 100644 --- a/pkg/goformation/cloudformation/codepipeline/aws-codepipeline-pipeline_blockerdeclaration.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_clientparameters.go @@ -1,4 +1,4 @@ -package codepipeline +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Pipeline_BlockerDeclaration AWS CloudFormation Resource (AWS::CodePipeline::Pipeline.BlockerDeclaration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html -type Pipeline_BlockerDeclaration struct { +// Connection_ClientParameters AWS CloudFormation Resource (AWS::Events::Connection.ClientParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html +type Connection_ClientParameters struct { - // Name AWS CloudFormation Property + // ClientID AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html#cfn-codepipeline-pipeline-stages-blockers-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html#cfn-events-connection-clientparameters-clientid + ClientID *types.Value `json:"ClientID,omitempty"` - // Type AWS CloudFormation Property + // ClientSecret AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html#cfn-codepipeline-pipeline-stages-blockers-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-clientparameters.html#cfn-events-connection-clientparameters-clientsecret + ClientSecret *types.Value `json:"ClientSecret,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Pipeline_BlockerDeclaration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Pipeline_BlockerDeclaration) AWSCloudFormationType() string { - return "AWS::CodePipeline::Pipeline.BlockerDeclaration" +func (r *Connection_ClientParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.ClientParameters" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_s3output.go b/pkg/goformation/cloudformation/events/aws-events-connection_connectionhttpparameters.go similarity index 52% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_s3output.go rename to pkg/goformation/cloudformation/events/aws-events-connection_connectionhttpparameters.go index 5c6b688b15..6d721a68cb 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_s3output.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_connectionhttpparameters.go @@ -1,29 +1,27 @@ -package sagemaker +package events import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// MonitoringSchedule_S3Output AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.S3Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-s3output.html -type MonitoringSchedule_S3Output struct { +// Connection_ConnectionHttpParameters AWS CloudFormation Resource (AWS::Events::Connection.ConnectionHttpParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html +type Connection_ConnectionHttpParameters struct { - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-s3output.html#cfn-sagemaker-monitoringschedule-s3output-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` + // BodyParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-bodyparameters + BodyParameters []Connection_Parameter `json:"BodyParameters,omitempty"` - // S3UploadMode AWS CloudFormation Property + // HeaderParameters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-s3output.html#cfn-sagemaker-monitoringschedule-s3output-s3uploadmode - S3UploadMode *types.Value `json:"S3UploadMode,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-headerparameters + HeaderParameters []Connection_Parameter `json:"HeaderParameters,omitempty"` - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-s3output.html#cfn-sagemaker-monitoringschedule-s3output-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // QueryStringParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-querystringparameters + QueryStringParameters []Connection_Parameter `json:"QueryStringParameters,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +40,6 @@ type MonitoringSchedule_S3Output struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *MonitoringSchedule_S3Output) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.S3Output" +func (r *Connection_ConnectionHttpParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.ConnectionHttpParameters" } diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatement.go b/pkg/goformation/cloudformation/events/aws-events-connection_connectivityparameters.go similarity index 66% rename from pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatement.go rename to pkg/goformation/cloudformation/events/aws-events-connection_connectivityparameters.go index 44e2f1b22a..597a7c8121 100644 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatement.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_connectivityparameters.go @@ -1,17 +1,17 @@ -package wafv2 +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// WebACL_NotStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.NotStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatement.html -type WebACL_NotStatement struct { +// Connection_ConnectivityParameters AWS CloudFormation Resource (AWS::Events::Connection.ConnectivityParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html +type Connection_ConnectivityParameters struct { - // Statement AWS CloudFormation Property + // ResourceParameters AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatement.html#cfn-wafv2-webacl-notstatement-statement - Statement *WebACL_Statement `json:"Statement,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html#cfn-events-connection-connectivityparameters-resourceparameters + ResourceParameters *Connection_ResourceParameters `json:"ResourceParameters,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type WebACL_NotStatement struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *WebACL_NotStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.NotStatement" +func (r *Connection_ConnectivityParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.ConnectivityParameters" } diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_jsonmappingparameters.go b/pkg/goformation/cloudformation/events/aws-events-connection_invocationconnectivityparameters.go similarity index 60% rename from pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_jsonmappingparameters.go rename to pkg/goformation/cloudformation/events/aws-events-connection_invocationconnectivityparameters.go index ed9877bf7e..471042e3fd 100644 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_jsonmappingparameters.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_invocationconnectivityparameters.go @@ -1,19 +1,17 @@ -package kinesisanalytics +package events import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Application_JSONMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.JSONMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-jsonmappingparameters.html -type Application_JSONMappingParameters struct { +// Connection_InvocationConnectivityParameters AWS CloudFormation Resource (AWS::Events::Connection.InvocationConnectivityParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html +type Connection_InvocationConnectivityParameters struct { - // RecordRowPath AWS CloudFormation Property + // ResourceParameters AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-jsonmappingparameters.html#cfn-kinesisanalytics-application-jsonmappingparameters-recordrowpath - RecordRowPath *types.Value `json:"RecordRowPath,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html#cfn-events-connection-invocationconnectivityparameters-resourceparameters + ResourceParameters *Connection_ResourceParameters `json:"ResourceParameters,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type Application_JSONMappingParameters struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Application_JSONMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.JSONMappingParameters" +func (r *Connection_InvocationConnectivityParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.InvocationConnectivityParameters" } diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmentobject.go b/pkg/goformation/cloudformation/events/aws-events-connection_oauthparameters.go similarity index 52% rename from pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmentobject.go rename to pkg/goformation/cloudformation/events/aws-events-connection_oauthparameters.go index 758876fffe..cdc6a4133f 100644 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmentobject.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_oauthparameters.go @@ -1,4 +1,4 @@ -package evidently +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Experiment_TreatmentObject AWS CloudFormation Resource (AWS::Evidently::Experiment.TreatmentObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html -type Experiment_TreatmentObject struct { +// Connection_OAuthParameters AWS CloudFormation Resource (AWS::Events::Connection.OAuthParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html +type Connection_OAuthParameters struct { - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html#cfn-evidently-experiment-treatmentobject-description - Description *types.Value `json:"Description,omitempty"` - - // Feature AWS CloudFormation Property + // AuthorizationEndpoint AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html#cfn-evidently-experiment-treatmentobject-feature - Feature *types.Value `json:"Feature,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-authorizationendpoint + AuthorizationEndpoint *types.Value `json:"AuthorizationEndpoint,omitempty"` - // TreatmentName AWS CloudFormation Property + // ClientParameters AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html#cfn-evidently-experiment-treatmentobject-treatmentname - TreatmentName *types.Value `json:"TreatmentName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-clientparameters + ClientParameters *Connection_ClientParameters `json:"ClientParameters,omitempty"` - // Variation AWS CloudFormation Property + // HttpMethod AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmentobject.html#cfn-evidently-experiment-treatmentobject-variation - Variation *types.Value `json:"Variation,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-httpmethod + HttpMethod *types.Value `json:"HttpMethod,omitempty"` + + // OAuthHttpParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-oauthhttpparameters + OAuthHttpParameters *Connection_ConnectionHttpParameters `json:"OAuthHttpParameters,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Experiment_TreatmentObject struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Experiment_TreatmentObject) AWSCloudFormationType() string { - return "AWS::Evidently::Experiment.TreatmentObject" +func (r *Connection_OAuthParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.OAuthParameters" } diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_environmentvariable.go b/pkg/goformation/cloudformation/events/aws-events-connection_parameter.go similarity index 68% rename from pkg/goformation/cloudformation/opsworks/aws-opsworks-app_environmentvariable.go rename to pkg/goformation/cloudformation/events/aws-events-connection_parameter.go index 35c43904db..23820f5f8a 100644 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_environmentvariable.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_parameter.go @@ -1,4 +1,4 @@ -package opsworks +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,23 +6,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// App_EnvironmentVariable AWS CloudFormation Resource (AWS::OpsWorks::App.EnvironmentVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environment.html -type App_EnvironmentVariable struct { +// Connection_Parameter AWS CloudFormation Resource (AWS::Events::Connection.Parameter) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html +type Connection_Parameter struct { + + // IsValueSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-isvaluesecret + IsValueSecret *types.Value `json:"IsValueSecret,omitempty"` // Key AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environment.html#cfn-opsworks-app-environment-key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-key Key *types.Value `json:"Key,omitempty"` - // Secure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environment.html#cfn-opsworks-app-environment-secure - Secure *types.Value `json:"Secure,omitempty"` - // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-environment.html#value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-parameter.html#cfn-events-connection-parameter-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -42,6 +42,6 @@ type App_EnvironmentVariable struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *App_EnvironmentVariable) AWSCloudFormationType() string { - return "AWS::OpsWorks::App.EnvironmentVariable" +func (r *Connection_Parameter) AWSCloudFormationType() string { + return "AWS::Events::Connection.Parameter" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsfilecertificate.go b/pkg/goformation/cloudformation/events/aws-events-connection_resourceparameters.go similarity index 59% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsfilecertificate.go rename to pkg/goformation/cloudformation/events/aws-events-connection_resourceparameters.go index f136eebd4f..dbbd88227b 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_listenertlsfilecertificate.go +++ b/pkg/goformation/cloudformation/events/aws-events-connection_resourceparameters.go @@ -1,4 +1,4 @@ -package appmesh +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_ListenerTlsFileCertificate AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html -type VirtualNode_ListenerTlsFileCertificate struct { +// Connection_ResourceParameters AWS CloudFormation Resource (AWS::Events::Connection.ResourceParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html +type Connection_ResourceParameters struct { - // CertificateChain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html#cfn-appmesh-virtualnode-listenertlsfilecertificate-certificatechain - CertificateChain *types.Value `json:"CertificateChain,omitempty"` + // ResourceAssociationArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceassociationarn + ResourceAssociationArn *types.Value `json:"ResourceAssociationArn,omitempty"` - // PrivateKey AWS CloudFormation Property + // ResourceConfigurationArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-listenertlsfilecertificate.html#cfn-appmesh-virtualnode-listenertlsfilecertificate-privatekey - PrivateKey *types.Value `json:"PrivateKey,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceconfigurationarn + ResourceConfigurationArn *types.Value `json:"ResourceConfigurationArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type VirtualNode_ListenerTlsFileCertificate struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_ListenerTlsFileCertificate) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" +func (r *Connection_ResourceParameters) AWSCloudFormationType() string { + return "AWS::Events::Connection.ResourceParameters" } diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-faq.go b/pkg/goformation/cloudformation/events/aws-events-endpoint.go similarity index 75% rename from pkg/goformation/cloudformation/kendra/aws-kendra-faq.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint.go index 1ca2e221e2..503c042704 100644 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-faq.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint.go @@ -1,4 +1,4 @@ -package kendra +package events import ( "bytes" @@ -7,48 +7,42 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Faq AWS CloudFormation Resource (AWS::Kendra::Faq) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html -type Faq struct { +// Endpoint AWS CloudFormation Resource (AWS::Events::Endpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html +type Endpoint struct { // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-description Description *types.Value `json:"Description,omitempty"` - // FileFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-fileformat - FileFormat *types.Value `json:"FileFormat,omitempty"` - - // IndexId AWS CloudFormation Property + // EventBuses AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-indexid - IndexId *types.Value `json:"IndexId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-eventbuses + EventBuses []Endpoint_EndpointEventBus `json:"EventBuses,omitempty"` // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-name + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-name Name *types.Value `json:"Name,omitempty"` + // ReplicationConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-replicationconfig + ReplicationConfig *Endpoint_ReplicationConfig `json:"ReplicationConfig,omitempty"` + // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-rolearn + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-rolearn RoleArn *types.Value `json:"RoleArn,omitempty"` - // S3Path AWS CloudFormation Property + // RoutingConfig AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-s3path - S3Path *Faq_S3Path `json:"S3Path,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-faq.html#cfn-kendra-faq-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-routingconfig + RoutingConfig *Endpoint_RoutingConfig `json:"RoutingConfig,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -67,14 +61,14 @@ type Faq struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Faq) AWSCloudFormationType() string { - return "AWS::Kendra::Faq" +func (r *Endpoint) AWSCloudFormationType() string { + return "AWS::Events::Endpoint" } // 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 (r Faq) MarshalJSON() ([]byte, error) { - type Properties Faq +func (r Endpoint) MarshalJSON() ([]byte, error) { + type Properties Endpoint return json.Marshal(&struct { Type string Properties Properties @@ -96,8 +90,8 @@ func (r Faq) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Faq) UnmarshalJSON(b []byte) error { - type Properties Faq +func (r *Endpoint) UnmarshalJSON(b []byte) error { + type Properties Endpoint res := &struct { Type string Properties *Properties @@ -118,7 +112,7 @@ func (r *Faq) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Faq(*res.Properties) + *r = Endpoint(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_fileaccesslog.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_endpointeventbus.go similarity index 68% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_fileaccesslog.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_endpointeventbus.go index 354412e9d8..37a667a33c 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualnode_fileaccesslog.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_endpointeventbus.go @@ -1,4 +1,4 @@ -package appmesh +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualNode_FileAccessLog AWS CloudFormation Resource (AWS::AppMesh::VirtualNode.FileAccessLog) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-fileaccesslog.html -type VirtualNode_FileAccessLog struct { +// Endpoint_EndpointEventBus AWS CloudFormation Resource (AWS::Events::Endpoint.EndpointEventBus) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html +type Endpoint_EndpointEventBus struct { - // Path AWS CloudFormation Property + // EventBusArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-fileaccesslog.html#cfn-appmesh-virtualnode-fileaccesslog-path - Path *types.Value `json:"Path,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html#cfn-events-endpoint-endpointeventbus-eventbusarn + EventBusArn *types.Value `json:"EventBusArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type VirtualNode_FileAccessLog struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualNode_FileAccessLog) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualNode.FileAccessLog" +func (r *Endpoint_EndpointEventBus) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.EndpointEventBus" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_duration.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_failoverconfig.go similarity index 62% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-route_duration.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_failoverconfig.go index bc383a1986..355b0c3fc8 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_duration.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_failoverconfig.go @@ -1,24 +1,22 @@ -package appmesh +package events import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Route_Duration AWS CloudFormation Resource (AWS::AppMesh::Route.Duration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-duration.html -type Route_Duration struct { +// Endpoint_FailoverConfig AWS CloudFormation Resource (AWS::Events::Endpoint.FailoverConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html +type Endpoint_FailoverConfig struct { - // Unit AWS CloudFormation Property + // Primary AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-duration.html#cfn-appmesh-route-duration-unit - Unit *types.Value `json:"Unit,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-primary + Primary *Endpoint_Primary `json:"Primary,omitempty"` - // Value AWS CloudFormation Property + // Secondary AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-duration.html#cfn-appmesh-route-duration-value - Value *types.Value `json:"Value"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-secondary + Secondary *Endpoint_Secondary `json:"Secondary,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +35,6 @@ type Route_Duration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Route_Duration) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.Duration" +func (r *Endpoint_FailoverConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.FailoverConfig" } diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input_attribute.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_primary.go similarity index 71% rename from pkg/goformation/cloudformation/iotevents/aws-iotevents-input_attribute.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_primary.go index 5b451cc893..4e50953a30 100644 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input_attribute.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_primary.go @@ -1,4 +1,4 @@ -package iotevents +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Input_Attribute AWS CloudFormation Resource (AWS::IoTEvents::Input.Attribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-input-attribute.html -type Input_Attribute struct { +// Endpoint_Primary AWS CloudFormation Resource (AWS::Events::Endpoint.Primary) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html +type Endpoint_Primary struct { - // JsonPath AWS CloudFormation Property + // HealthCheck AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-input-attribute.html#cfn-iotevents-input-attribute-jsonpath - JsonPath *types.Value `json:"JsonPath,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html#cfn-events-endpoint-primary-healthcheck + HealthCheck *types.Value `json:"HealthCheck,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Input_Attribute struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Input_Attribute) AWSCloudFormationType() string { - return "AWS::IoTEvents::Input.Attribute" +func (r *Endpoint_Primary) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.Primary" } diff --git a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_lambdaconfig.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_replicationconfig.go similarity index 69% rename from pkg/goformation/cloudformation/appsync/aws-appsync-datasource_lambdaconfig.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_replicationconfig.go index 71a4f411f8..c5bd2fcf18 100644 --- a/pkg/goformation/cloudformation/appsync/aws-appsync-datasource_lambdaconfig.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_replicationconfig.go @@ -1,4 +1,4 @@ -package appsync +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataSource_LambdaConfig AWS CloudFormation Resource (AWS::AppSync::DataSource.LambdaConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-lambdaconfig.html -type DataSource_LambdaConfig struct { +// Endpoint_ReplicationConfig AWS CloudFormation Resource (AWS::Events::Endpoint.ReplicationConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html +type Endpoint_ReplicationConfig struct { - // LambdaFunctionArn AWS CloudFormation Property + // State AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-lambdaconfig.html#cfn-appsync-datasource-lambdaconfig-lambdafunctionarn - LambdaFunctionArn *types.Value `json:"LambdaFunctionArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html#cfn-events-endpoint-replicationconfig-state + State *types.Value `json:"State,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type DataSource_LambdaConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataSource_LambdaConfig) AWSCloudFormationType() string { - return "AWS::AppSync::DataSource.LambdaConfig" +func (r *Endpoint_ReplicationConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.ReplicationConfig" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcprouteaction.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_routingconfig.go similarity index 67% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcprouteaction.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_routingconfig.go index 3581b16fcf..313ac77cdc 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-route_tcprouteaction.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_routingconfig.go @@ -1,17 +1,17 @@ -package appmesh +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Route_TcpRouteAction AWS CloudFormation Resource (AWS::AppMesh::Route.TcpRouteAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcprouteaction.html -type Route_TcpRouteAction struct { +// Endpoint_RoutingConfig AWS CloudFormation Resource (AWS::Events::Endpoint.RoutingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html +type Endpoint_RoutingConfig struct { - // WeightedTargets AWS CloudFormation Property + // FailoverConfig AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-route-tcprouteaction.html#cfn-appmesh-route-tcprouteaction-weightedtargets - WeightedTargets []Route_WeightedTarget `json:"WeightedTargets,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html#cfn-events-endpoint-routingconfig-failoverconfig + FailoverConfig *Endpoint_FailoverConfig `json:"FailoverConfig,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Route_TcpRouteAction struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Route_TcpRouteAction) AWSCloudFormationType() string { - return "AWS::AppMesh::Route.TcpRouteAction" +func (r *Endpoint_RoutingConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.RoutingConfig" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_egressfilter.go b/pkg/goformation/cloudformation/events/aws-events-endpoint_secondary.go similarity index 71% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_egressfilter.go rename to pkg/goformation/cloudformation/events/aws-events-endpoint_secondary.go index 237721b98b..418edea99c 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_egressfilter.go +++ b/pkg/goformation/cloudformation/events/aws-events-endpoint_secondary.go @@ -1,4 +1,4 @@ -package appmesh +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Mesh_EgressFilter AWS CloudFormation Resource (AWS::AppMesh::Mesh.EgressFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-mesh-egressfilter.html -type Mesh_EgressFilter struct { +// Endpoint_Secondary AWS CloudFormation Resource (AWS::Events::Endpoint.Secondary) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html +type Endpoint_Secondary struct { - // Type AWS CloudFormation Property + // Route AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-mesh-egressfilter.html#cfn-appmesh-mesh-egressfilter-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html#cfn-events-endpoint-secondary-route + Route *types.Value `json:"Route,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Mesh_EgressFilter struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Mesh_EgressFilter) AWSCloudFormationType() string { - return "AWS::AppMesh::Mesh.EgressFilter" +func (r *Endpoint_Secondary) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.Secondary" } diff --git a/pkg/goformation/cloudformation/events/aws-events-eventbus.go b/pkg/goformation/cloudformation/events/aws-events-eventbus.go index 7cf91c9100..0913d513dd 100644 --- a/pkg/goformation/cloudformation/events/aws-events-eventbus.go +++ b/pkg/goformation/cloudformation/events/aws-events-eventbus.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -14,16 +15,41 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html type EventBus struct { + // DeadLetterConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-deadletterconfig + DeadLetterConfig *EventBus_DeadLetterConfig `json:"DeadLetterConfig,omitempty"` + + // Description AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-description + Description *types.Value `json:"Description,omitempty"` + // EventSourceName AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename EventSourceName *types.Value `json:"EventSourceName,omitempty"` + // KmsKeyIdentifier AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-kmskeyidentifier + KmsKeyIdentifier *types.Value `json:"KmsKeyIdentifier,omitempty"` + // Name AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name Name *types.Value `json:"Name,omitempty"` + // Policy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-policy + Policy interface{} `json:"Policy,omitempty"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_model.go b/pkg/goformation/cloudformation/events/aws-events-eventbus_deadletterconfig.go similarity index 74% rename from pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_model.go rename to pkg/goformation/cloudformation/events/aws-events-eventbus_deadletterconfig.go index 419ccbf58d..985e8ac93d 100644 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_model.go +++ b/pkg/goformation/cloudformation/events/aws-events-eventbus_deadletterconfig.go @@ -1,4 +1,4 @@ -package frauddetector +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,13 +6,13 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Detector_Model AWS CloudFormation Resource (AWS::FraudDetector::Detector.Model) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-model.html -type Detector_Model struct { +// EventBus_DeadLetterConfig AWS CloudFormation Resource (AWS::Events::EventBus.DeadLetterConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-deadletterconfig.html +type EventBus_DeadLetterConfig struct { // Arn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-model.html#cfn-frauddetector-detector-model-arn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-deadletterconfig.html#cfn-events-eventbus-deadletterconfig-arn Arn *types.Value `json:"Arn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -32,6 +32,6 @@ type Detector_Model struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Detector_Model) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.Model" +func (r *EventBus_DeadLetterConfig) AWSCloudFormationType() string { + return "AWS::Events::EventBus.DeadLetterConfig" } diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_slacksourceproperties.go b/pkg/goformation/cloudformation/events/aws-events-rule_appsyncparameters.go similarity index 68% rename from pkg/goformation/cloudformation/appflow/aws-appflow-flow_slacksourceproperties.go rename to pkg/goformation/cloudformation/events/aws-events-rule_appsyncparameters.go index c82441e329..78dcb8d7bc 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_slacksourceproperties.go +++ b/pkg/goformation/cloudformation/events/aws-events-rule_appsyncparameters.go @@ -1,4 +1,4 @@ -package appflow +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Flow_SlackSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.SlackSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-slacksourceproperties.html -type Flow_SlackSourceProperties struct { +// Rule_AppSyncParameters AWS CloudFormation Resource (AWS::Events::Rule.AppSyncParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-appsyncparameters.html +type Rule_AppSyncParameters struct { - // Object AWS CloudFormation Property + // GraphQLOperation AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-slacksourceproperties.html#cfn-appflow-flow-slacksourceproperties-object - Object *types.Value `json:"Object,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-appsyncparameters.html#cfn-events-rule-appsyncparameters-graphqloperation + GraphQLOperation *types.Value `json:"GraphQLOperation,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Flow_SlackSourceProperties struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Flow_SlackSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.SlackSourceProperties" +func (r *Rule_AppSyncParameters) AWSCloudFormationType() string { + return "AWS::Events::Rule.AppSyncParameters" } diff --git a/pkg/goformation/cloudformation/events/aws-events-rule_redshiftdataparameters.go b/pkg/goformation/cloudformation/events/aws-events-rule_redshiftdataparameters.go index 66b961d550..4f237fe260 100644 --- a/pkg/goformation/cloudformation/events/aws-events-rule_redshiftdataparameters.go +++ b/pkg/goformation/cloudformation/events/aws-events-rule_redshiftdataparameters.go @@ -26,10 +26,15 @@ type Rule_RedshiftDataParameters struct { SecretManagerArn *types.Value `json:"SecretManagerArn,omitempty"` // Sql AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-sql Sql *types.Value `json:"Sql,omitempty"` + // Sqls AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-sqls + Sqls *types.Value `json:"Sqls,omitempty"` + // StatementName AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-redshiftdataparameters.html#cfn-events-rule-redshiftdataparameters-statementname diff --git a/pkg/goformation/cloudformation/amplify/aws-amplify-app_environmentvariable.go b/pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameter.go similarity index 70% rename from pkg/goformation/cloudformation/amplify/aws-amplify-app_environmentvariable.go rename to pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameter.go index 83327f08b5..01aa0bf0a8 100644 --- a/pkg/goformation/cloudformation/amplify/aws-amplify-app_environmentvariable.go +++ b/pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameter.go @@ -1,4 +1,4 @@ -package amplify +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// App_EnvironmentVariable AWS CloudFormation Resource (AWS::Amplify::App.EnvironmentVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-environmentvariable.html -type App_EnvironmentVariable struct { +// Rule_SageMakerPipelineParameter AWS CloudFormation Resource (AWS::Events::Rule.SageMakerPipelineParameter) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html +type Rule_SageMakerPipelineParameter struct { // Name AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-environmentvariable.html#cfn-amplify-app-environmentvariable-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html#cfn-events-rule-sagemakerpipelineparameter-name Name *types.Value `json:"Name,omitempty"` // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-environmentvariable.html#cfn-amplify-app-environmentvariable-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameter.html#cfn-events-rule-sagemakerpipelineparameter-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type App_EnvironmentVariable struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *App_EnvironmentVariable) AWSCloudFormationType() string { - return "AWS::Amplify::App.EnvironmentVariable" +func (r *Rule_SageMakerPipelineParameter) AWSCloudFormationType() string { + return "AWS::Events::Rule.SageMakerPipelineParameter" } diff --git a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_accountrecoverysetting.go b/pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameters.go similarity index 62% rename from pkg/goformation/cloudformation/cognito/aws-cognito-userpool_accountrecoverysetting.go rename to pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameters.go index 572737327e..7ee9947cd5 100644 --- a/pkg/goformation/cloudformation/cognito/aws-cognito-userpool_accountrecoverysetting.go +++ b/pkg/goformation/cloudformation/events/aws-events-rule_sagemakerpipelineparameters.go @@ -1,17 +1,17 @@ -package cognito +package events import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// UserPool_AccountRecoverySetting AWS CloudFormation Resource (AWS::Cognito::UserPool.AccountRecoverySetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html -type UserPool_AccountRecoverySetting struct { +// Rule_SageMakerPipelineParameters AWS CloudFormation Resource (AWS::Events::Rule.SageMakerPipelineParameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameters.html +type Rule_SageMakerPipelineParameters struct { - // RecoveryMechanisms AWS CloudFormation Property + // PipelineParameterList AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-accountrecoverysetting.html#cfn-cognito-userpool-accountrecoverysetting-recoverymechanisms - RecoveryMechanisms []UserPool_RecoveryOption `json:"RecoveryMechanisms,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-sagemakerpipelineparameters.html#cfn-events-rule-sagemakerpipelineparameters-pipelineparameterlist + PipelineParameterList []Rule_SageMakerPipelineParameter `json:"PipelineParameterList,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type UserPool_AccountRecoverySetting struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *UserPool_AccountRecoverySetting) AWSCloudFormationType() string { - return "AWS::Cognito::UserPool.AccountRecoverySetting" +func (r *Rule_SageMakerPipelineParameters) AWSCloudFormationType() string { + return "AWS::Events::Rule.SageMakerPipelineParameters" } diff --git a/pkg/goformation/cloudformation/events/aws-events-rule_tag.go b/pkg/goformation/cloudformation/events/aws-events-rule_tag.go deleted file mode 100644 index f6b5a621b5..0000000000 --- a/pkg/goformation/cloudformation/events/aws-events-rule_tag.go +++ /dev/null @@ -1,42 +0,0 @@ -package events - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Rule_Tag AWS CloudFormation Resource (AWS::Events::Rule.Tag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html -type Rule_Tag struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-value - Value *types.Value `json:"Value,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 *Rule_Tag) AWSCloudFormationType() string { - return "AWS::Events::Rule.Tag" -} diff --git a/pkg/goformation/cloudformation/events/aws-events-rule_target.go b/pkg/goformation/cloudformation/events/aws-events-rule_target.go index 9f35a4a0b9..ca7f0ee9cb 100644 --- a/pkg/goformation/cloudformation/events/aws-events-rule_target.go +++ b/pkg/goformation/cloudformation/events/aws-events-rule_target.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html type Rule_Target struct { + // AppSyncParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-appsyncparameters + AppSyncParameters *Rule_AppSyncParameters `json:"AppSyncParameters,omitempty"` + // Arn AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-arn @@ -80,6 +85,11 @@ type Rule_Target struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-runcommandparameters RunCommandParameters *Rule_RunCommandParameters `json:"RunCommandParameters,omitempty"` + // SageMakerPipelineParameters AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-sagemakerpipelineparameters + SageMakerPipelineParameters *Rule_SageMakerPipelineParameters `json:"SageMakerPipelineParameters,omitempty"` + // SqsParameters AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-sqsparameters diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer.go deleted file mode 100644 index b71c343779..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer.go +++ /dev/null @@ -1,123 +0,0 @@ -package eventschemas - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Discoverer AWS CloudFormation Resource (AWS::EventSchemas::Discoverer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html -type Discoverer struct { - - // CrossAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-crossaccount - CrossAccount *types.Value `json:"CrossAccount,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-description - Description *types.Value `json:"Description,omitempty"` - - // SourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-sourcearn - SourceArn *types.Value `json:"SourceArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-discoverer.html#cfn-eventschemas-discoverer-tags - Tags []Discoverer_TagsEntry `json:"Tags,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 *Discoverer) AWSCloudFormationType() string { - return "AWS::EventSchemas::Discoverer" -} - -// 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 (r Discoverer) MarshalJSON() ([]byte, error) { - type Properties Discoverer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Discoverer) UnmarshalJSON(b []byte) error { - type Properties Discoverer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Discoverer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer_tagsentry.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer_tagsentry.go deleted file mode 100644 index fdaa4c6ca0..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-discoverer_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package eventschemas - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Discoverer_TagsEntry AWS CloudFormation Resource (AWS::EventSchemas::Discoverer.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-discoverer-tagsentry.html -type Discoverer_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-discoverer-tagsentry.html#cfn-eventschemas-discoverer-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-discoverer-tagsentry.html#cfn-eventschemas-discoverer-tagsentry-value - Value *types.Value `json:"Value,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 *Discoverer_TagsEntry) AWSCloudFormationType() string { - return "AWS::EventSchemas::Discoverer.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry.go deleted file mode 100644 index 7c86bf05af..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry.go +++ /dev/null @@ -1,118 +0,0 @@ -package eventschemas - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Registry AWS CloudFormation Resource (AWS::EventSchemas::Registry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registry.html -type Registry struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registry.html#cfn-eventschemas-registry-description - Description *types.Value `json:"Description,omitempty"` - - // RegistryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registry.html#cfn-eventschemas-registry-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registry.html#cfn-eventschemas-registry-tags - Tags []Registry_TagsEntry `json:"Tags,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 *Registry) AWSCloudFormationType() string { - return "AWS::EventSchemas::Registry" -} - -// 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 (r Registry) MarshalJSON() ([]byte, error) { - type Properties Registry - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Registry) UnmarshalJSON(b []byte) error { - type Properties Registry - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Registry(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry_tagsentry.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry_tagsentry.go deleted file mode 100644 index 17b463901d..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registry_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package eventschemas - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Registry_TagsEntry AWS CloudFormation Resource (AWS::EventSchemas::Registry.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-registry-tagsentry.html -type Registry_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-registry-tagsentry.html#cfn-eventschemas-registry-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-registry-tagsentry.html#cfn-eventschemas-registry-tagsentry-value - Value *types.Value `json:"Value,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 *Registry_TagsEntry) AWSCloudFormationType() string { - return "AWS::EventSchemas::Registry.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registrypolicy.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registrypolicy.go deleted file mode 100644 index 5d0631e772..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-registrypolicy.go +++ /dev/null @@ -1,118 +0,0 @@ -package eventschemas - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RegistryPolicy AWS CloudFormation Resource (AWS::EventSchemas::RegistryPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html -type RegistryPolicy struct { - - // Policy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html#cfn-eventschemas-registrypolicy-policy - Policy interface{} `json:"Policy,omitempty"` - - // RegistryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html#cfn-eventschemas-registrypolicy-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // RevisionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html#cfn-eventschemas-registrypolicy-revisionid - RevisionId *types.Value `json:"RevisionId,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 *RegistryPolicy) AWSCloudFormationType() string { - return "AWS::EventSchemas::RegistryPolicy" -} - -// 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 (r RegistryPolicy) MarshalJSON() ([]byte, error) { - type Properties RegistryPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RegistryPolicy) UnmarshalJSON(b []byte) error { - type Properties RegistryPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RegistryPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema.go deleted file mode 100644 index a10f7a0f55..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema.go +++ /dev/null @@ -1,133 +0,0 @@ -package eventschemas - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schema AWS CloudFormation Resource (AWS::EventSchemas::Schema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html -type Schema struct { - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-content - Content *types.Value `json:"Content,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-description - Description *types.Value `json:"Description,omitempty"` - - // RegistryName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // SchemaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-schemaname - SchemaName *types.Value `json:"SchemaName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-tags - Tags []Schema_TagsEntry `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-schema.html#cfn-eventschemas-schema-type - Type *types.Value `json:"Type,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 *Schema) AWSCloudFormationType() string { - return "AWS::EventSchemas::Schema" -} - -// 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 (r Schema) MarshalJSON() ([]byte, error) { - type Properties Schema - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Schema) UnmarshalJSON(b []byte) error { - type Properties Schema - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Schema(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema_tagsentry.go b/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema_tagsentry.go deleted file mode 100644 index 82cf6f3e38..0000000000 --- a/pkg/goformation/cloudformation/eventschemas/aws-eventschemas-schema_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package eventschemas - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schema_TagsEntry AWS CloudFormation Resource (AWS::EventSchemas::Schema.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-schema-tagsentry.html -type Schema_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-schema-tagsentry.html#cfn-eventschemas-schema-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eventschemas-schema-tagsentry.html#cfn-eventschemas-schema-tagsentry-value - Value *types.Value `json:"Value,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 *Schema_TagsEntry) AWSCloudFormationType() string { - return "AWS::EventSchemas::Schema.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment.go b/pkg/goformation/cloudformation/evidently/aws-evidently-experiment.go deleted file mode 100644 index ba101aea7b..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment.go +++ /dev/null @@ -1,149 +0,0 @@ -package evidently - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Experiment AWS CloudFormation Resource (AWS::Evidently::Experiment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html -type Experiment struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-description - Description *types.Value `json:"Description,omitempty"` - - // MetricGoals AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-metricgoals - MetricGoals []Experiment_MetricGoalObject `json:"MetricGoals,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-name - Name *types.Value `json:"Name,omitempty"` - - // OnlineAbConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-onlineabconfig - OnlineAbConfig *Experiment_OnlineAbConfigObject `json:"OnlineAbConfig,omitempty"` - - // Project AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-project - Project *types.Value `json:"Project,omitempty"` - - // RandomizationSalt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-randomizationsalt - RandomizationSalt *types.Value `json:"RandomizationSalt,omitempty"` - - // SamplingRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-samplingrate - SamplingRate *types.Value `json:"SamplingRate,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Treatments AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-treatments - Treatments []Experiment_TreatmentObject `json:"Treatments,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 *Experiment) AWSCloudFormationType() string { - return "AWS::Evidently::Experiment" -} - -// 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 (r Experiment) MarshalJSON() ([]byte, error) { - type Properties Experiment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Experiment) UnmarshalJSON(b []byte) error { - type Properties Experiment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Experiment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_metricgoalobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_metricgoalobject.go deleted file mode 100644 index 5cb4b6426c..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_metricgoalobject.go +++ /dev/null @@ -1,62 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Experiment_MetricGoalObject AWS CloudFormation Resource (AWS::Evidently::Experiment.MetricGoalObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html -type Experiment_MetricGoalObject struct { - - // DesiredChange AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-desiredchange - DesiredChange *types.Value `json:"DesiredChange,omitempty"` - - // EntityIdKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-entityidkey - EntityIdKey *types.Value `json:"EntityIdKey,omitempty"` - - // EventPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-eventpattern - EventPattern *types.Value `json:"EventPattern,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // UnitLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-unitlabel - UnitLabel *types.Value `json:"UnitLabel,omitempty"` - - // ValueKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-metricgoalobject.html#cfn-evidently-experiment-metricgoalobject-valuekey - ValueKey *types.Value `json:"ValueKey,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 *Experiment_MetricGoalObject) AWSCloudFormationType() string { - return "AWS::Evidently::Experiment.MetricGoalObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_onlineabconfigobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_onlineabconfigobject.go deleted file mode 100644 index c8d0400b43..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_onlineabconfigobject.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Experiment_OnlineAbConfigObject AWS CloudFormation Resource (AWS::Evidently::Experiment.OnlineAbConfigObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-onlineabconfigobject.html -type Experiment_OnlineAbConfigObject struct { - - // ControlTreatmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-onlineabconfigobject.html#cfn-evidently-experiment-onlineabconfigobject-controltreatmentname - ControlTreatmentName *types.Value `json:"ControlTreatmentName,omitempty"` - - // TreatmentWeights AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-onlineabconfigobject.html#cfn-evidently-experiment-onlineabconfigobject-treatmentweights - TreatmentWeights []Experiment_TreatmentToWeight `json:"TreatmentWeights,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 *Experiment_OnlineAbConfigObject) AWSCloudFormationType() string { - return "AWS::Evidently::Experiment.OnlineAbConfigObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmenttoweight.go b/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmenttoweight.go deleted file mode 100644 index 605fc425de..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-experiment_treatmenttoweight.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Experiment_TreatmentToWeight AWS CloudFormation Resource (AWS::Evidently::Experiment.TreatmentToWeight) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmenttoweight.html -type Experiment_TreatmentToWeight struct { - - // SplitWeight AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmenttoweight.html#cfn-evidently-experiment-treatmenttoweight-splitweight - SplitWeight *types.Value `json:"SplitWeight"` - - // Treatment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-experiment-treatmenttoweight.html#cfn-evidently-experiment-treatmenttoweight-treatment - Treatment *types.Value `json:"Treatment,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 *Experiment_TreatmentToWeight) AWSCloudFormationType() string { - return "AWS::Evidently::Experiment.TreatmentToWeight" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-feature.go b/pkg/goformation/cloudformation/evidently/aws-evidently-feature.go deleted file mode 100644 index 70e2e6ba97..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-feature.go +++ /dev/null @@ -1,144 +0,0 @@ -package evidently - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Feature AWS CloudFormation Resource (AWS::Evidently::Feature) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html -type Feature struct { - - // DefaultVariation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-defaultvariation - DefaultVariation *types.Value `json:"DefaultVariation,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-description - Description *types.Value `json:"Description,omitempty"` - - // EntityOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-entityoverrides - EntityOverrides []Feature_EntityOverride `json:"EntityOverrides,omitempty"` - - // EvaluationStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-evaluationstrategy - EvaluationStrategy *types.Value `json:"EvaluationStrategy,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-name - Name *types.Value `json:"Name,omitempty"` - - // Project AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-project - Project *types.Value `json:"Project,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Variations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-variations - Variations []Feature_VariationObject `json:"Variations,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 *Feature) AWSCloudFormationType() string { - return "AWS::Evidently::Feature" -} - -// 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 (r Feature) MarshalJSON() ([]byte, error) { - type Properties Feature - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Feature) UnmarshalJSON(b []byte) error { - type Properties Feature - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Feature(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-feature_entityoverride.go b/pkg/goformation/cloudformation/evidently/aws-evidently-feature_entityoverride.go deleted file mode 100644 index db025f22e0..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-feature_entityoverride.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Feature_EntityOverride AWS CloudFormation Resource (AWS::Evidently::Feature.EntityOverride) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-entityoverride.html -type Feature_EntityOverride struct { - - // EntityId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-entityoverride.html#cfn-evidently-feature-entityoverride-entityid - EntityId *types.Value `json:"EntityId,omitempty"` - - // Variation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-entityoverride.html#cfn-evidently-feature-entityoverride-variation - Variation *types.Value `json:"Variation,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 *Feature_EntityOverride) AWSCloudFormationType() string { - return "AWS::Evidently::Feature.EntityOverride" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-feature_variationobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-feature_variationobject.go deleted file mode 100644 index da4228fb96..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-feature_variationobject.go +++ /dev/null @@ -1,57 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Feature_VariationObject AWS CloudFormation Resource (AWS::Evidently::Feature.VariationObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html -type Feature_VariationObject struct { - - // BooleanValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html#cfn-evidently-feature-variationobject-booleanvalue - BooleanValue *types.Value `json:"BooleanValue,omitempty"` - - // DoubleValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html#cfn-evidently-feature-variationobject-doublevalue - DoubleValue *types.Value `json:"DoubleValue,omitempty"` - - // LongValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html#cfn-evidently-feature-variationobject-longvalue - LongValue *types.Value `json:"LongValue,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html#cfn-evidently-feature-variationobject-stringvalue - StringValue *types.Value `json:"StringValue,omitempty"` - - // VariationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-feature-variationobject.html#cfn-evidently-feature-variationobject-variationname - VariationName *types.Value `json:"VariationName,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 *Feature_VariationObject) AWSCloudFormationType() string { - return "AWS::Evidently::Feature.VariationObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-launch.go b/pkg/goformation/cloudformation/evidently/aws-evidently-launch.go deleted file mode 100644 index 641fda9518..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-launch.go +++ /dev/null @@ -1,144 +0,0 @@ -package evidently - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Launch AWS CloudFormation Resource (AWS::Evidently::Launch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html -type Launch struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-description - Description *types.Value `json:"Description,omitempty"` - - // Groups AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-groups - Groups []Launch_LaunchGroupObject `json:"Groups,omitempty"` - - // MetricMonitors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-metricmonitors - MetricMonitors []Launch_MetricDefinitionObject `json:"MetricMonitors,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-name - Name *types.Value `json:"Name,omitempty"` - - // Project AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-project - Project *types.Value `json:"Project,omitempty"` - - // RandomizationSalt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-randomizationsalt - RandomizationSalt *types.Value `json:"RandomizationSalt,omitempty"` - - // ScheduledSplitsConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-scheduledsplitsconfig - ScheduledSplitsConfig []Launch_StepConfig `json:"ScheduledSplitsConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-tags - Tags []cloudformation.Tag `json:"Tags,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 *Launch) AWSCloudFormationType() string { - return "AWS::Evidently::Launch" -} - -// 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 (r Launch) MarshalJSON() ([]byte, error) { - type Properties Launch - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Launch) UnmarshalJSON(b []byte) error { - type Properties Launch - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Launch(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_grouptoweight.go b/pkg/goformation/cloudformation/evidently/aws-evidently-launch_grouptoweight.go deleted file mode 100644 index 573c261aa6..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_grouptoweight.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Launch_GroupToWeight AWS CloudFormation Resource (AWS::Evidently::Launch.GroupToWeight) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-grouptoweight.html -type Launch_GroupToWeight struct { - - // GroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-grouptoweight.html#cfn-evidently-launch-grouptoweight-groupname - GroupName *types.Value `json:"GroupName,omitempty"` - - // SplitWeight AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-grouptoweight.html#cfn-evidently-launch-grouptoweight-splitweight - SplitWeight *types.Value `json:"SplitWeight"` - - // 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 *Launch_GroupToWeight) AWSCloudFormationType() string { - return "AWS::Evidently::Launch.GroupToWeight" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_launchgroupobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-launch_launchgroupobject.go deleted file mode 100644 index b1284ffb8c..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_launchgroupobject.go +++ /dev/null @@ -1,52 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Launch_LaunchGroupObject AWS CloudFormation Resource (AWS::Evidently::Launch.LaunchGroupObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-launchgroupobject.html -type Launch_LaunchGroupObject struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-launchgroupobject.html#cfn-evidently-launch-launchgroupobject-description - Description *types.Value `json:"Description,omitempty"` - - // Feature AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-launchgroupobject.html#cfn-evidently-launch-launchgroupobject-feature - Feature *types.Value `json:"Feature,omitempty"` - - // GroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-launchgroupobject.html#cfn-evidently-launch-launchgroupobject-groupname - GroupName *types.Value `json:"GroupName,omitempty"` - - // Variation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-launchgroupobject.html#cfn-evidently-launch-launchgroupobject-variation - Variation *types.Value `json:"Variation,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 *Launch_LaunchGroupObject) AWSCloudFormationType() string { - return "AWS::Evidently::Launch.LaunchGroupObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_metricdefinitionobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-launch_metricdefinitionobject.go deleted file mode 100644 index 0c9aa7191f..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_metricdefinitionobject.go +++ /dev/null @@ -1,57 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Launch_MetricDefinitionObject AWS CloudFormation Resource (AWS::Evidently::Launch.MetricDefinitionObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html -type Launch_MetricDefinitionObject struct { - - // EntityIdKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html#cfn-evidently-launch-metricdefinitionobject-entityidkey - EntityIdKey *types.Value `json:"EntityIdKey,omitempty"` - - // EventPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html#cfn-evidently-launch-metricdefinitionobject-eventpattern - EventPattern *types.Value `json:"EventPattern,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html#cfn-evidently-launch-metricdefinitionobject-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // UnitLabel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html#cfn-evidently-launch-metricdefinitionobject-unitlabel - UnitLabel *types.Value `json:"UnitLabel,omitempty"` - - // ValueKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-metricdefinitionobject.html#cfn-evidently-launch-metricdefinitionobject-valuekey - ValueKey *types.Value `json:"ValueKey,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 *Launch_MetricDefinitionObject) AWSCloudFormationType() string { - return "AWS::Evidently::Launch.MetricDefinitionObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_stepconfig.go b/pkg/goformation/cloudformation/evidently/aws-evidently-launch_stepconfig.go deleted file mode 100644 index 4f7f964262..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-launch_stepconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Launch_StepConfig AWS CloudFormation Resource (AWS::Evidently::Launch.StepConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-stepconfig.html -type Launch_StepConfig struct { - - // GroupWeights AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-stepconfig.html#cfn-evidently-launch-stepconfig-groupweights - GroupWeights []Launch_GroupToWeight `json:"GroupWeights,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-stepconfig.html#cfn-evidently-launch-stepconfig-starttime - StartTime *types.Value `json:"StartTime,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 *Launch_StepConfig) AWSCloudFormationType() string { - return "AWS::Evidently::Launch.StepConfig" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-project.go b/pkg/goformation/cloudformation/evidently/aws-evidently-project.go deleted file mode 100644 index 33140076e2..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-project.go +++ /dev/null @@ -1,124 +0,0 @@ -package evidently - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::Evidently::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.html -type Project struct { - - // DataDelivery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.html#cfn-evidently-project-datadelivery - DataDelivery interface{} `json:"DataDelivery,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.html#cfn-evidently-project-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.html#cfn-evidently-project-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.html#cfn-evidently-project-tags - Tags []cloudformation.Tag `json:"Tags,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 *Project) AWSCloudFormationType() string { - return "AWS::Evidently::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-project_datadeliveryobject.go b/pkg/goformation/cloudformation/evidently/aws-evidently-project_datadeliveryobject.go deleted file mode 100644 index 37927ecd22..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-project_datadeliveryobject.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_DataDeliveryObject AWS CloudFormation Resource (AWS::Evidently::Project.DataDeliveryObject) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-datadeliveryobject.html -type Project_DataDeliveryObject struct { - - // LogGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-datadeliveryobject.html#cfn-evidently-project-datadeliveryobject-loggroup - LogGroup *types.Value `json:"LogGroup,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-datadeliveryobject.html#cfn-evidently-project-datadeliveryobject-s3 - S3 interface{} `json:"S3,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 *Project_DataDeliveryObject) AWSCloudFormationType() string { - return "AWS::Evidently::Project.DataDeliveryObject" -} diff --git a/pkg/goformation/cloudformation/evidently/aws-evidently-project_s3destination.go b/pkg/goformation/cloudformation/evidently/aws-evidently-project_s3destination.go deleted file mode 100644 index 5741608118..0000000000 --- a/pkg/goformation/cloudformation/evidently/aws-evidently-project_s3destination.go +++ /dev/null @@ -1,42 +0,0 @@ -package evidently - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_S3Destination AWS CloudFormation Resource (AWS::Evidently::Project.S3Destination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-s3destination.html -type Project_S3Destination struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-s3destination.html#cfn-evidently-project-s3destination-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-project-s3destination.html#cfn-evidently-project-s3destination-prefix - Prefix *types.Value `json:"Prefix,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 *Project_S3Destination) AWSCloudFormationType() string { - return "AWS::Evidently::Project.S3Destination" -} diff --git a/pkg/goformation/cloudformation/finspace/aws-finspace-environment.go b/pkg/goformation/cloudformation/finspace/aws-finspace-environment.go deleted file mode 100644 index 6d0426cbc9..0000000000 --- a/pkg/goformation/cloudformation/finspace/aws-finspace-environment.go +++ /dev/null @@ -1,138 +0,0 @@ -package finspace - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment AWS CloudFormation Resource (AWS::FinSpace::Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html -type Environment struct { - - // DataBundles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-databundles - DataBundles *types.Value `json:"DataBundles,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-description - Description *types.Value `json:"Description,omitempty"` - - // FederationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-federationmode - FederationMode *types.Value `json:"FederationMode,omitempty"` - - // FederationParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-federationparameters - FederationParameters *Environment_FederationParameters `json:"FederationParameters,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-name - Name *types.Value `json:"Name,omitempty"` - - // SuperuserParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-finspace-environment.html#cfn-finspace-environment-superuserparameters - SuperuserParameters *Environment_SuperuserParameters `json:"SuperuserParameters,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 *Environment) AWSCloudFormationType() string { - return "AWS::FinSpace::Environment" -} - -// 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 (r Environment) MarshalJSON() ([]byte, error) { - type Properties Environment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Environment) UnmarshalJSON(b []byte) error { - type Properties Environment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Environment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/finspace/aws-finspace-environment_federationparameters.go b/pkg/goformation/cloudformation/finspace/aws-finspace-environment_federationparameters.go deleted file mode 100644 index 74073aab4b..0000000000 --- a/pkg/goformation/cloudformation/finspace/aws-finspace-environment_federationparameters.go +++ /dev/null @@ -1,62 +0,0 @@ -package finspace - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_FederationParameters AWS CloudFormation Resource (AWS::FinSpace::Environment.FederationParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html -type Environment_FederationParameters struct { - - // ApplicationCallBackURL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-applicationcallbackurl - ApplicationCallBackURL *types.Value `json:"ApplicationCallBackURL,omitempty"` - - // AttributeMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-attributemap - AttributeMap interface{} `json:"AttributeMap,omitempty"` - - // FederationProviderName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-federationprovidername - FederationProviderName *types.Value `json:"FederationProviderName,omitempty"` - - // FederationURN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-federationurn - FederationURN *types.Value `json:"FederationURN,omitempty"` - - // SamlMetadataDocument AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-samlmetadatadocument - SamlMetadataDocument *types.Value `json:"SamlMetadataDocument,omitempty"` - - // SamlMetadataURL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-federationparameters.html#cfn-finspace-environment-federationparameters-samlmetadataurl - SamlMetadataURL *types.Value `json:"SamlMetadataURL,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 *Environment_FederationParameters) AWSCloudFormationType() string { - return "AWS::FinSpace::Environment.FederationParameters" -} diff --git a/pkg/goformation/cloudformation/finspace/aws-finspace-environment_superuserparameters.go b/pkg/goformation/cloudformation/finspace/aws-finspace-environment_superuserparameters.go deleted file mode 100644 index 284a256f33..0000000000 --- a/pkg/goformation/cloudformation/finspace/aws-finspace-environment_superuserparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package finspace - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_SuperuserParameters AWS CloudFormation Resource (AWS::FinSpace::Environment.SuperuserParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-superuserparameters.html -type Environment_SuperuserParameters struct { - - // EmailAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-superuserparameters.html#cfn-finspace-environment-superuserparameters-emailaddress - EmailAddress *types.Value `json:"EmailAddress,omitempty"` - - // FirstName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-superuserparameters.html#cfn-finspace-environment-superuserparameters-firstname - FirstName *types.Value `json:"FirstName,omitempty"` - - // LastName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-finspace-environment-superuserparameters.html#cfn-finspace-environment-superuserparameters-lastname - LastName *types.Value `json:"LastName,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 *Environment_SuperuserParameters) AWSCloudFormationType() string { - return "AWS::FinSpace::Environment.SuperuserParameters" -} diff --git a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate.go b/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate.go deleted file mode 100644 index 294f8da1b3..0000000000 --- a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate.go +++ /dev/null @@ -1,133 +0,0 @@ -package fis - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ExperimentTemplate AWS CloudFormation Resource (AWS::FIS::ExperimentTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html -type ExperimentTemplate struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-actions - Actions map[string]ExperimentTemplate_ExperimentTemplateAction `json:"Actions,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-description - Description *types.Value `json:"Description,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StopConditions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-stopconditions - StopConditions []ExperimentTemplate_ExperimentTemplateStopCondition `json:"StopConditions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Targets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fis-experimenttemplate.html#cfn-fis-experimenttemplate-targets - Targets map[string]ExperimentTemplate_ExperimentTemplateTarget `json:"Targets,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 *ExperimentTemplate) AWSCloudFormationType() string { - return "AWS::FIS::ExperimentTemplate" -} - -// 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 (r ExperimentTemplate) MarshalJSON() ([]byte, error) { - type Properties ExperimentTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ExperimentTemplate) UnmarshalJSON(b []byte) error { - type Properties ExperimentTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ExperimentTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplateaction.go b/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplateaction.go deleted file mode 100644 index ee7d8f7d24..0000000000 --- a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplateaction.go +++ /dev/null @@ -1,57 +0,0 @@ -package fis - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ExperimentTemplate_ExperimentTemplateAction AWS CloudFormation Resource (AWS::FIS::ExperimentTemplate.ExperimentTemplateAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html -type ExperimentTemplate_ExperimentTemplateAction struct { - - // ActionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-actionid - ActionId *types.Value `json:"ActionId,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-description - Description *types.Value `json:"Description,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-parameters - Parameters map[string]*types.Value `json:"Parameters,omitempty"` - - // StartAfter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-startafter - StartAfter *types.Value `json:"StartAfter,omitempty"` - - // Targets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html#cfn-fis-experimenttemplate-experimenttemplateaction-targets - Targets map[string]*types.Value `json:"Targets,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 *ExperimentTemplate_ExperimentTemplateAction) AWSCloudFormationType() string { - return "AWS::FIS::ExperimentTemplate.ExperimentTemplateAction" -} diff --git a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatestopcondition.go b/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatestopcondition.go deleted file mode 100644 index c41a504281..0000000000 --- a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatestopcondition.go +++ /dev/null @@ -1,42 +0,0 @@ -package fis - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ExperimentTemplate_ExperimentTemplateStopCondition AWS CloudFormation Resource (AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatestopcondition.html -type ExperimentTemplate_ExperimentTemplateStopCondition struct { - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatestopcondition.html#cfn-fis-experimenttemplate-experimenttemplatestopcondition-source - Source *types.Value `json:"Source,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatestopcondition.html#cfn-fis-experimenttemplate-experimenttemplatestopcondition-value - Value *types.Value `json:"Value,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 *ExperimentTemplate_ExperimentTemplateStopCondition) AWSCloudFormationType() string { - return "AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition" -} diff --git a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetarget.go b/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetarget.go deleted file mode 100644 index 753bcb490a..0000000000 --- a/pkg/goformation/cloudformation/fis/aws-fis-experimenttemplate_experimenttemplatetarget.go +++ /dev/null @@ -1,57 +0,0 @@ -package fis - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ExperimentTemplate_ExperimentTemplateTarget AWS CloudFormation Resource (AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html -type ExperimentTemplate_ExperimentTemplateTarget struct { - - // Filters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-filters - Filters []ExperimentTemplate_ExperimentTemplateTargetFilter `json:"Filters,omitempty"` - - // ResourceArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-resourcearns - ResourceArns *types.Value `json:"ResourceArns,omitempty"` - - // ResourceTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-resourcetags - ResourceTags map[string]*types.Value `json:"ResourceTags,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-resourcetype - ResourceType *types.Value `json:"ResourceType,omitempty"` - - // SelectionMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplatetarget.html#cfn-fis-experimenttemplate-experimenttemplatetarget-selectionmode - SelectionMode *types.Value `json:"SelectionMode,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 *ExperimentTemplate_ExperimentTemplateTarget) AWSCloudFormationType() string { - return "AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget" -} diff --git a/pkg/goformation/cloudformation/fms/aws-fms-policy.go b/pkg/goformation/cloudformation/fms/aws-fms-policy.go deleted file mode 100644 index b679ded83b..0000000000 --- a/pkg/goformation/cloudformation/fms/aws-fms-policy.go +++ /dev/null @@ -1,163 +0,0 @@ -package fms - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Policy AWS CloudFormation Resource (AWS::FMS::Policy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html -type Policy struct { - - // DeleteAllPolicyResources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-deleteallpolicyresources - DeleteAllPolicyResources *types.Value `json:"DeleteAllPolicyResources,omitempty"` - - // ExcludeMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-excludemap - ExcludeMap *Policy_IEMap `json:"ExcludeMap,omitempty"` - - // ExcludeResourceTags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-excluderesourcetags - ExcludeResourceTags *types.Value `json:"ExcludeResourceTags"` - - // IncludeMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-includemap - IncludeMap *Policy_IEMap `json:"IncludeMap,omitempty"` - - // PolicyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` - - // RemediationEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-remediationenabled - RemediationEnabled *types.Value `json:"RemediationEnabled"` - - // ResourceTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetags - ResourceTags []Policy_ResourceTag `json:"ResourceTags,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetype - ResourceType *types.Value `json:"ResourceType,omitempty"` - - // ResourceTypeList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetypelist - ResourceTypeList *types.Value `json:"ResourceTypeList,omitempty"` - - // ResourcesCleanUp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcescleanup - ResourcesCleanUp *types.Value `json:"ResourcesCleanUp,omitempty"` - - // SecurityServicePolicyData AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-securityservicepolicydata - SecurityServicePolicyData interface{} `json:"SecurityServicePolicyData,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-tags - Tags []Policy_PolicyTag `json:"Tags,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 *Policy) AWSCloudFormationType() string { - return "AWS::FMS::Policy" -} - -// 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 (r Policy) MarshalJSON() ([]byte, error) { - type Properties Policy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Policy) UnmarshalJSON(b []byte) error { - type Properties Policy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Policy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/fms/aws-fms-policy_iemap.go b/pkg/goformation/cloudformation/fms/aws-fms-policy_iemap.go deleted file mode 100644 index d9959593f4..0000000000 --- a/pkg/goformation/cloudformation/fms/aws-fms-policy_iemap.go +++ /dev/null @@ -1,42 +0,0 @@ -package fms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Policy_IEMap AWS CloudFormation Resource (AWS::FMS::Policy.IEMap) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html -type Policy_IEMap struct { - - // ACCOUNT AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html#cfn-fms-policy-iemap-account - ACCOUNT *types.Value `json:"ACCOUNT,omitempty"` - - // ORGUNIT AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-iemap.html#cfn-fms-policy-iemap-orgunit - ORGUNIT *types.Value `json:"ORGUNIT,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 *Policy_IEMap) AWSCloudFormationType() string { - return "AWS::FMS::Policy.IEMap" -} diff --git a/pkg/goformation/cloudformation/fms/aws-fms-policy_policytag.go b/pkg/goformation/cloudformation/fms/aws-fms-policy_policytag.go deleted file mode 100644 index 69dc2768bd..0000000000 --- a/pkg/goformation/cloudformation/fms/aws-fms-policy_policytag.go +++ /dev/null @@ -1,42 +0,0 @@ -package fms - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Policy_PolicyTag AWS CloudFormation Resource (AWS::FMS::Policy.PolicyTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html -type Policy_PolicyTag struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html#cfn-fms-policy-policytag-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-policytag.html#cfn-fms-policy-policytag-value - Value *types.Value `json:"Value,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 *Policy_PolicyTag) AWSCloudFormationType() string { - return "AWS::FMS::Policy.PolicyTag" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector.go deleted file mode 100644 index 0c75a19a7a..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector.go +++ /dev/null @@ -1,144 +0,0 @@ -package frauddetector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector AWS CloudFormation Resource (AWS::FraudDetector::Detector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html -type Detector struct { - - // AssociatedModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-associatedmodels - AssociatedModels []Detector_Model `json:"AssociatedModels,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-description - Description *types.Value `json:"Description,omitempty"` - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // DetectorVersionStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-detectorversionstatus - DetectorVersionStatus *types.Value `json:"DetectorVersionStatus,omitempty"` - - // EventType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-eventtype - EventType *Detector_EventType `json:"EventType,omitempty"` - - // RuleExecutionMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-ruleexecutionmode - RuleExecutionMode *types.Value `json:"RuleExecutionMode,omitempty"` - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-rules - Rules []Detector_Rule `json:"Rules,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-detector.html#cfn-frauddetector-detector-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector" -} - -// 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 (r Detector) MarshalJSON() ([]byte, error) { - type Properties Detector - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Detector) UnmarshalJSON(b []byte) error { - type Properties Detector - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Detector(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_entitytype.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_entitytype.go deleted file mode 100644 index d794828e2d..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_entitytype.go +++ /dev/null @@ -1,68 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_EntityType AWS CloudFormation Resource (AWS::FraudDetector::Detector.EntityType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html -type Detector_EntityType struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-entitytype.html#cfn-frauddetector-detector-entitytype-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector_EntityType) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.EntityType" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventtype.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventtype.go deleted file mode 100644 index 900a5b7225..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventtype.go +++ /dev/null @@ -1,83 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_EventType AWS CloudFormation Resource (AWS::FraudDetector::Detector.EventType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html -type Detector_EventType struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-description - Description *types.Value `json:"Description,omitempty"` - - // EntityTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-entitytypes - EntityTypes []Detector_EntityType `json:"EntityTypes,omitempty"` - - // EventVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-eventvariables - EventVariables []Detector_EventVariable `json:"EventVariables,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-inline - Inline *types.Value `json:"Inline,omitempty"` - - // Labels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-labels - Labels []Detector_Label `json:"Labels,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventtype.html#cfn-frauddetector-detector-eventtype-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector_EventType) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.EventType" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventvariable.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventvariable.go deleted file mode 100644 index 3a96237f6a..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_eventvariable.go +++ /dev/null @@ -1,88 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_EventVariable AWS CloudFormation Resource (AWS::FraudDetector::Detector.EventVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html -type Detector_EventVariable struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // DataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-datasource - DataSource *types.Value `json:"DataSource,omitempty"` - - // DataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VariableType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-eventvariable.html#cfn-frauddetector-detector-eventvariable-variabletype - VariableType *types.Value `json:"VariableType,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 *Detector_EventVariable) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.EventVariable" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_label.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_label.go deleted file mode 100644 index add83dd1b2..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_label.go +++ /dev/null @@ -1,68 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_Label AWS CloudFormation Resource (AWS::FraudDetector::Detector.Label) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html -type Detector_Label struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-label.html#cfn-frauddetector-detector-label-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector_Label) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.Label" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_outcome.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_outcome.go deleted file mode 100644 index f5e038ac0b..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_outcome.go +++ /dev/null @@ -1,68 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_Outcome AWS CloudFormation Resource (AWS::FraudDetector::Detector.Outcome) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html -type Detector_Outcome struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-outcome.html#cfn-frauddetector-detector-outcome-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector_Outcome) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.Outcome" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_rule.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_rule.go deleted file mode 100644 index f7a892ebfa..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-detector_rule.go +++ /dev/null @@ -1,88 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector_Rule AWS CloudFormation Resource (AWS::FraudDetector::Detector.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html -type Detector_Rule struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-description - Description *types.Value `json:"Description,omitempty"` - - // DetectorId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // Expression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-expression - Expression *types.Value `json:"Expression,omitempty"` - - // Language AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-language - Language *types.Value `json:"Language,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Outcomes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-outcomes - Outcomes []Detector_Outcome `json:"Outcomes,omitempty"` - - // RuleId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-ruleid - RuleId *types.Value `json:"RuleId,omitempty"` - - // RuleVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-ruleversion - RuleVersion *types.Value `json:"RuleVersion,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-detector-rule.html#cfn-frauddetector-detector-rule-tags - Tags []cloudformation.Tag `json:"Tags,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 *Detector_Rule) AWSCloudFormationType() string { - return "AWS::FraudDetector::Detector.Rule" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype.go deleted file mode 100644 index 7fe3f577bf..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype.go +++ /dev/null @@ -1,134 +0,0 @@ -package frauddetector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventType AWS CloudFormation Resource (AWS::FraudDetector::EventType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html -type EventType struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-description - Description *types.Value `json:"Description,omitempty"` - - // EntityTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-entitytypes - EntityTypes []EventType_EntityType `json:"EntityTypes,omitempty"` - - // EventVariables AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-eventvariables - EventVariables []EventType_EventVariable `json:"EventVariables,omitempty"` - - // Labels AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-labels - Labels []EventType_Label `json:"Labels,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-eventtype.html#cfn-frauddetector-eventtype-tags - Tags []cloudformation.Tag `json:"Tags,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 *EventType) AWSCloudFormationType() string { - return "AWS::FraudDetector::EventType" -} - -// 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 (r EventType) MarshalJSON() ([]byte, error) { - type Properties EventType - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EventType) UnmarshalJSON(b []byte) error { - type Properties EventType - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EventType(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_entitytype.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_entitytype.go deleted file mode 100644 index 9ae148ccc7..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_entitytype.go +++ /dev/null @@ -1,68 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventType_EntityType AWS CloudFormation Resource (AWS::FraudDetector::EventType.EntityType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html -type EventType_EntityType struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-entitytype.html#cfn-frauddetector-eventtype-entitytype-tags - Tags []cloudformation.Tag `json:"Tags,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 *EventType_EntityType) AWSCloudFormationType() string { - return "AWS::FraudDetector::EventType.EntityType" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_eventvariable.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_eventvariable.go deleted file mode 100644 index 4d44ccdc5f..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_eventvariable.go +++ /dev/null @@ -1,88 +0,0 @@ -package frauddetector - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventType_EventVariable AWS CloudFormation Resource (AWS::FraudDetector::EventType.EventVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html -type EventType_EventVariable struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-arn - Arn *types.Value `json:"Arn,omitempty"` - - // CreatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` - - // DataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-datasource - DataSource *types.Value `json:"DataSource,omitempty"` - - // DataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-description - Description *types.Value `json:"Description,omitempty"` - - // Inline AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-inline - Inline *types.Value `json:"Inline,omitempty"` - - // LastUpdatedTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VariableType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-eventvariable.html#cfn-frauddetector-eventtype-eventvariable-variabletype - VariableType *types.Value `json:"VariableType,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 *EventType_EventVariable) AWSCloudFormationType() string { - return "AWS::FraudDetector::EventType.EventVariable" -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-label.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-label.go deleted file mode 100644 index 9ab291a781..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-label.go +++ /dev/null @@ -1,119 +0,0 @@ -package frauddetector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Label AWS CloudFormation Resource (AWS::FraudDetector::Label) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-label.html -type Label struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-label.html#cfn-frauddetector-label-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-label.html#cfn-frauddetector-label-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-label.html#cfn-frauddetector-label-tags - Tags []cloudformation.Tag `json:"Tags,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 *Label) AWSCloudFormationType() string { - return "AWS::FraudDetector::Label" -} - -// 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 (r Label) MarshalJSON() ([]byte, error) { - type Properties Label - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Label) UnmarshalJSON(b []byte) error { - type Properties Label - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Label(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-outcome.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-outcome.go deleted file mode 100644 index 35575c68e1..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-outcome.go +++ /dev/null @@ -1,119 +0,0 @@ -package frauddetector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Outcome AWS CloudFormation Resource (AWS::FraudDetector::Outcome) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-outcome.html -type Outcome struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-outcome.html#cfn-frauddetector-outcome-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-outcome.html#cfn-frauddetector-outcome-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-outcome.html#cfn-frauddetector-outcome-tags - Tags []cloudformation.Tag `json:"Tags,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 *Outcome) AWSCloudFormationType() string { - return "AWS::FraudDetector::Outcome" -} - -// 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 (r Outcome) MarshalJSON() ([]byte, error) { - type Properties Outcome - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Outcome) UnmarshalJSON(b []byte) error { - type Properties Outcome - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Outcome(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-variable.go b/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-variable.go deleted file mode 100644 index 614eedd0a1..0000000000 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-variable.go +++ /dev/null @@ -1,139 +0,0 @@ -package frauddetector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Variable AWS CloudFormation Resource (AWS::FraudDetector::Variable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html -type Variable struct { - - // DataSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-datasource - DataSource *types.Value `json:"DataSource,omitempty"` - - // DataType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // DefaultValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VariableType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-frauddetector-variable.html#cfn-frauddetector-variable-variabletype - VariableType *types.Value `json:"VariableType,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 *Variable) AWSCloudFormationType() string { - return "AWS::FraudDetector::Variable" -} - -// 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 (r Variable) MarshalJSON() ([]byte, error) { - type Properties Variable - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Variable) UnmarshalJSON(b []byte) error { - type Properties Variable - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Variable(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem.go deleted file mode 100644 index 7d502db026..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem.go +++ /dev/null @@ -1,169 +0,0 @@ -package fsx - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem AWS CloudFormation Resource (AWS::FSx::FileSystem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html -type FileSystem struct { - - // BackupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-backupid - BackupId *types.Value `json:"BackupId,omitempty"` - - // FileSystemType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-filesystemtype - FileSystemType *types.Value `json:"FileSystemType,omitempty"` - - // FileSystemTypeVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-filesystemtypeversion - FileSystemTypeVersion *types.Value `json:"FileSystemTypeVersion,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LustreConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-lustreconfiguration - LustreConfiguration *FileSystem_LustreConfiguration `json:"LustreConfiguration,omitempty"` - - // OntapConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-ontapconfiguration - OntapConfiguration *FileSystem_OntapConfiguration `json:"OntapConfiguration,omitempty"` - - // OpenZFSConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-openzfsconfiguration - OpenZFSConfiguration *FileSystem_OpenZFSConfiguration `json:"OpenZFSConfiguration,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // StorageCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-storagecapacity - StorageCapacity *types.Value `json:"StorageCapacity,omitempty"` - - // StorageType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-storagetype - StorageType *types.Value `json:"StorageType,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // WindowsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filesystem.html#cfn-fsx-filesystem-windowsconfiguration - WindowsConfiguration *FileSystem_WindowsConfiguration `json:"WindowsConfiguration,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 *FileSystem) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem" -} - -// 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 (r FileSystem) MarshalJSON() ([]byte, error) { - type Properties FileSystem - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FileSystem) UnmarshalJSON(b []byte) error { - type Properties FileSystem - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FileSystem(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_auditlogconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_auditlogconfiguration.go deleted file mode 100644 index fa04db43c1..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_auditlogconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_AuditLogConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.AuditLogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-auditlogconfiguration.html -type FileSystem_AuditLogConfiguration struct { - - // AuditLogDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-auditlogconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-auditlogconfiguration-auditlogdestination - AuditLogDestination *types.Value `json:"AuditLogDestination,omitempty"` - - // FileAccessAuditLogLevel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-auditlogconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-auditlogconfiguration-fileaccessauditloglevel - FileAccessAuditLogLevel *types.Value `json:"FileAccessAuditLogLevel,omitempty"` - - // FileShareAccessAuditLogLevel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-auditlogconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-auditlogconfiguration-fileshareaccessauditloglevel - FileShareAccessAuditLogLevel *types.Value `json:"FileShareAccessAuditLogLevel,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 *FileSystem_AuditLogConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.AuditLogConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_clientconfigurations.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_clientconfigurations.go deleted file mode 100644 index 227b650a2a..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_clientconfigurations.go +++ /dev/null @@ -1,42 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_ClientConfigurations AWS CloudFormation Resource (AWS::FSx::FileSystem.ClientConfigurations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations.html -type FileSystem_ClientConfigurations struct { - - // Clients AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations-clients - Clients *types.Value `json:"Clients,omitempty"` - - // Options AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations-options - Options *types.Value `json:"Options,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 *FileSystem_ClientConfigurations) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.ClientConfigurations" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_lustreconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_lustreconfiguration.go deleted file mode 100644 index 22c5e5f398..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_lustreconfiguration.go +++ /dev/null @@ -1,92 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_LustreConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.LustreConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html -type FileSystem_LustreConfiguration struct { - - // AutoImportPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-autoimportpolicy - AutoImportPolicy *types.Value `json:"AutoImportPolicy,omitempty"` - - // AutomaticBackupRetentionDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-automaticbackupretentiondays - AutomaticBackupRetentionDays *types.Value `json:"AutomaticBackupRetentionDays,omitempty"` - - // CopyTagsToBackups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-copytagstobackups - CopyTagsToBackups *types.Value `json:"CopyTagsToBackups,omitempty"` - - // DailyAutomaticBackupStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-dailyautomaticbackupstarttime - DailyAutomaticBackupStartTime *types.Value `json:"DailyAutomaticBackupStartTime,omitempty"` - - // DataCompressionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-datacompressiontype - DataCompressionType *types.Value `json:"DataCompressionType,omitempty"` - - // DeploymentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-deploymenttype - DeploymentType *types.Value `json:"DeploymentType,omitempty"` - - // DriveCacheType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-drivecachetype - DriveCacheType *types.Value `json:"DriveCacheType,omitempty"` - - // ExportPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-exportpath - ExportPath *types.Value `json:"ExportPath,omitempty"` - - // ImportPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-importpath - ImportPath *types.Value `json:"ImportPath,omitempty"` - - // ImportedFileChunkSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-importedfilechunksize - ImportedFileChunkSize *types.Value `json:"ImportedFileChunkSize,omitempty"` - - // PerUnitStorageThroughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-perunitstoragethroughput - PerUnitStorageThroughput *types.Value `json:"PerUnitStorageThroughput,omitempty"` - - // WeeklyMaintenanceStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html#cfn-fsx-filesystem-lustreconfiguration-weeklymaintenancestarttime - WeeklyMaintenanceStartTime *types.Value `json:"WeeklyMaintenanceStartTime,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 *FileSystem_LustreConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.LustreConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_nfsexports.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_nfsexports.go deleted file mode 100644 index feceeb913b..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_nfsexports.go +++ /dev/null @@ -1,35 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_NfsExports AWS CloudFormation Resource (AWS::FSx::FileSystem.NfsExports) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports.html -type FileSystem_NfsExports struct { - - // ClientConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports-clientconfigurations - ClientConfigurations []FileSystem_ClientConfigurations `json:"ClientConfigurations,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 *FileSystem_NfsExports) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.NfsExports" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_ontapconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_ontapconfiguration.go deleted file mode 100644 index c6944879b0..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_ontapconfiguration.go +++ /dev/null @@ -1,82 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_OntapConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.OntapConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html -type FileSystem_OntapConfiguration struct { - - // AutomaticBackupRetentionDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-automaticbackupretentiondays - AutomaticBackupRetentionDays *types.Value `json:"AutomaticBackupRetentionDays,omitempty"` - - // DailyAutomaticBackupStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-dailyautomaticbackupstarttime - DailyAutomaticBackupStartTime *types.Value `json:"DailyAutomaticBackupStartTime,omitempty"` - - // DeploymentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-deploymenttype - DeploymentType *types.Value `json:"DeploymentType,omitempty"` - - // DiskIopsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-diskiopsconfiguration - DiskIopsConfiguration *FileSystem_DiskIopsConfiguration `json:"DiskIopsConfiguration,omitempty"` - - // EndpointIpAddressRange AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-endpointipaddressrange - EndpointIpAddressRange *types.Value `json:"EndpointIpAddressRange,omitempty"` - - // FsxAdminPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-fsxadminpassword - FsxAdminPassword *types.Value `json:"FsxAdminPassword,omitempty"` - - // PreferredSubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-preferredsubnetid - PreferredSubnetId *types.Value `json:"PreferredSubnetId,omitempty"` - - // RouteTableIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-routetableids - RouteTableIds *types.Value `json:"RouteTableIds,omitempty"` - - // ThroughputCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-throughputcapacity - ThroughputCapacity *types.Value `json:"ThroughputCapacity,omitempty"` - - // WeeklyMaintenanceStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html#cfn-fsx-filesystem-ontapconfiguration-weeklymaintenancestarttime - WeeklyMaintenanceStartTime *types.Value `json:"WeeklyMaintenanceStartTime,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 *FileSystem_OntapConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.OntapConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_openzfsconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_openzfsconfiguration.go deleted file mode 100644 index 8198d3cfcb..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_openzfsconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_OpenZFSConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.OpenZFSConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html -type FileSystem_OpenZFSConfiguration struct { - - // AutomaticBackupRetentionDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-automaticbackupretentiondays - AutomaticBackupRetentionDays *types.Value `json:"AutomaticBackupRetentionDays,omitempty"` - - // CopyTagsToBackups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-copytagstobackups - CopyTagsToBackups *types.Value `json:"CopyTagsToBackups,omitempty"` - - // CopyTagsToVolumes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-copytagstovolumes - CopyTagsToVolumes *types.Value `json:"CopyTagsToVolumes,omitempty"` - - // DailyAutomaticBackupStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-dailyautomaticbackupstarttime - DailyAutomaticBackupStartTime *types.Value `json:"DailyAutomaticBackupStartTime,omitempty"` - - // DeploymentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-deploymenttype - DeploymentType *types.Value `json:"DeploymentType,omitempty"` - - // DiskIopsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-diskiopsconfiguration - DiskIopsConfiguration *FileSystem_DiskIopsConfiguration `json:"DiskIopsConfiguration,omitempty"` - - // RootVolumeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration - RootVolumeConfiguration *FileSystem_RootVolumeConfiguration `json:"RootVolumeConfiguration,omitempty"` - - // ThroughputCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-throughputcapacity - ThroughputCapacity *types.Value `json:"ThroughputCapacity,omitempty"` - - // WeeklyMaintenanceStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-weeklymaintenancestarttime - WeeklyMaintenanceStartTime *types.Value `json:"WeeklyMaintenanceStartTime,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 *FileSystem_OpenZFSConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.OpenZFSConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_rootvolumeconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_rootvolumeconfiguration.go deleted file mode 100644 index 323d0b95ee..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_rootvolumeconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_RootVolumeConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.RootVolumeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html -type FileSystem_RootVolumeConfiguration struct { - - // CopyTagsToSnapshots AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-copytagstosnapshots - CopyTagsToSnapshots *types.Value `json:"CopyTagsToSnapshots,omitempty"` - - // DataCompressionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-datacompressiontype - DataCompressionType *types.Value `json:"DataCompressionType,omitempty"` - - // NfsExports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports - NfsExports []FileSystem_NfsExports `json:"NfsExports,omitempty"` - - // ReadOnly AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-readonly - ReadOnly *types.Value `json:"ReadOnly,omitempty"` - - // UserAndGroupQuotas AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas - UserAndGroupQuotas []FileSystem_UserAndGroupQuotas `json:"UserAndGroupQuotas,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 *FileSystem_RootVolumeConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.RootVolumeConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_selfmanagedactivedirectoryconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_selfmanagedactivedirectoryconfiguration.go deleted file mode 100644 index 158ac5262e..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_selfmanagedactivedirectoryconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_SelfManagedActiveDirectoryConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html -type FileSystem_SelfManagedActiveDirectoryConfiguration struct { - - // DnsIps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-dnsips - DnsIps *types.Value `json:"DnsIps,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // FileSystemAdministratorsGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-filesystemadministratorsgroup - FileSystemAdministratorsGroup *types.Value `json:"FileSystemAdministratorsGroup,omitempty"` - - // OrganizationalUnitDistinguishedName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-organizationalunitdistinguishedname - OrganizationalUnitDistinguishedName *types.Value `json:"OrganizationalUnitDistinguishedName,omitempty"` - - // Password AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-password - Password *types.Value `json:"Password,omitempty"` - - // UserName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration-username - UserName *types.Value `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 *FileSystem_SelfManagedActiveDirectoryConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_userandgroupquotas.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_userandgroupquotas.go deleted file mode 100644 index 2c59694715..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_userandgroupquotas.go +++ /dev/null @@ -1,47 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_UserAndGroupQuotas AWS CloudFormation Resource (AWS::FSx::FileSystem.UserAndGroupQuotas) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas.html -type FileSystem_UserAndGroupQuotas struct { - - // Id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas-id - Id *types.Value `json:"Id,omitempty"` - - // StorageCapacityQuotaGiB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas-storagecapacityquotagib - StorageCapacityQuotaGiB *types.Value `json:"StorageCapacityQuotaGiB,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas-type - Type *types.Value `json:"Type,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 *FileSystem_UserAndGroupQuotas) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.UserAndGroupQuotas" -} diff --git a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_windowsconfiguration.go b/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_windowsconfiguration.go deleted file mode 100644 index d4421bf15b..0000000000 --- a/pkg/goformation/cloudformation/fsx/aws-fsx-filesystem_windowsconfiguration.go +++ /dev/null @@ -1,87 +0,0 @@ -package fsx - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FileSystem_WindowsConfiguration AWS CloudFormation Resource (AWS::FSx::FileSystem.WindowsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html -type FileSystem_WindowsConfiguration struct { - - // ActiveDirectoryId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-activedirectoryid - ActiveDirectoryId *types.Value `json:"ActiveDirectoryId,omitempty"` - - // Aliases AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-aliases - Aliases *types.Value `json:"Aliases,omitempty"` - - // AuditLogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-auditlogconfiguration - AuditLogConfiguration *FileSystem_AuditLogConfiguration `json:"AuditLogConfiguration,omitempty"` - - // AutomaticBackupRetentionDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-automaticbackupretentiondays - AutomaticBackupRetentionDays *types.Value `json:"AutomaticBackupRetentionDays,omitempty"` - - // CopyTagsToBackups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-copytagstobackups - CopyTagsToBackups *types.Value `json:"CopyTagsToBackups,omitempty"` - - // DailyAutomaticBackupStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-dailyautomaticbackupstarttime - DailyAutomaticBackupStartTime *types.Value `json:"DailyAutomaticBackupStartTime,omitempty"` - - // DeploymentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-deploymenttype - DeploymentType *types.Value `json:"DeploymentType,omitempty"` - - // PreferredSubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-preferredsubnetid - PreferredSubnetId *types.Value `json:"PreferredSubnetId,omitempty"` - - // SelfManagedActiveDirectoryConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-selfmanagedactivedirectoryconfiguration - SelfManagedActiveDirectoryConfiguration *FileSystem_SelfManagedActiveDirectoryConfiguration `json:"SelfManagedActiveDirectoryConfiguration,omitempty"` - - // ThroughputCapacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-throughputcapacity - ThroughputCapacity *types.Value `json:"ThroughputCapacity"` - - // WeeklyMaintenanceStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-weeklymaintenancestarttime - WeeklyMaintenanceStartTime *types.Value `json:"WeeklyMaintenanceStartTime,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 *FileSystem_WindowsConfiguration) AWSCloudFormationType() string { - return "AWS::FSx::FileSystem.WindowsConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias.go deleted file mode 100644 index f57a996d4a..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias.go +++ /dev/null @@ -1,118 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Alias AWS CloudFormation Resource (AWS::GameLift::Alias) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html -type Alias struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-name - Name *types.Value `json:"Name,omitempty"` - - // RoutingStrategy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-routingstrategy - RoutingStrategy *Alias_RoutingStrategy `json:"RoutingStrategy,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 *Alias) AWSCloudFormationType() string { - return "AWS::GameLift::Alias" -} - -// 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 (r Alias) MarshalJSON() ([]byte, error) { - type Properties Alias - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Alias) UnmarshalJSON(b []byte) error { - type Properties Alias - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Alias(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias_routingstrategy.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias_routingstrategy.go deleted file mode 100644 index bcad9a3a84..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-alias_routingstrategy.go +++ /dev/null @@ -1,47 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Alias_RoutingStrategy AWS CloudFormation Resource (AWS::GameLift::Alias.RoutingStrategy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html -type Alias_RoutingStrategy struct { - - // FleetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-fleetid - FleetId *types.Value `json:"FleetId,omitempty"` - - // Message AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-message - Message *types.Value `json:"Message,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-alias-routingstrategy.html#cfn-gamelift-alias-routingstrategy-type - Type *types.Value `json:"Type,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 *Alias_RoutingStrategy) AWSCloudFormationType() string { - return "AWS::GameLift::Alias.RoutingStrategy" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-build.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-build.go deleted file mode 100644 index b110782d1f..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-build.go +++ /dev/null @@ -1,123 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Build AWS CloudFormation Resource (AWS::GameLift::Build) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html -type Build struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-name - Name *types.Value `json:"Name,omitempty"` - - // OperatingSystem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem - OperatingSystem *types.Value `json:"OperatingSystem,omitempty"` - - // StorageLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-storagelocation - StorageLocation *Build_S3Location `json:"StorageLocation,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-version - Version *types.Value `json:"Version,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 *Build) AWSCloudFormationType() string { - return "AWS::GameLift::Build" -} - -// 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 (r Build) MarshalJSON() ([]byte, error) { - type Properties Build - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Build) UnmarshalJSON(b []byte) error { - type Properties Build - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Build(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-build_s3location.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-build_s3location.go deleted file mode 100644 index aac199bc3b..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-build_s3location.go +++ /dev/null @@ -1,52 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Build_S3Location AWS CloudFormation Resource (AWS::GameLift::Build.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html -type Build_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-key - Key *types.Value `json:"Key,omitempty"` - - // ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-object-verison - ObjectVersion *types.Value `json:"ObjectVersion,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Build_S3Location) AWSCloudFormationType() string { - return "AWS::GameLift::Build.S3Location" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet.go deleted file mode 100644 index aeaca026af..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet.go +++ /dev/null @@ -1,198 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet AWS CloudFormation Resource (AWS::GameLift::Fleet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html -type Fleet struct { - - // BuildId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-buildid - BuildId *types.Value `json:"BuildId,omitempty"` - - // CertificateConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-certificateconfiguration - CertificateConfiguration *Fleet_CertificateConfiguration `json:"CertificateConfiguration,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-description - Description *types.Value `json:"Description,omitempty"` - - // DesiredEC2Instances AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-desiredec2instances - DesiredEC2Instances *types.Value `json:"DesiredEC2Instances,omitempty"` - - // EC2InboundPermissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2inboundpermissions - EC2InboundPermissions []Fleet_IpPermission `json:"EC2InboundPermissions,omitempty"` - - // EC2InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-ec2instancetype - EC2InstanceType *types.Value `json:"EC2InstanceType,omitempty"` - - // FleetType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-fleettype - FleetType *types.Value `json:"FleetType,omitempty"` - - // InstanceRoleARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-instancerolearn - InstanceRoleARN *types.Value `json:"InstanceRoleARN,omitempty"` - - // Locations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-locations - Locations []Fleet_LocationConfiguration `json:"Locations,omitempty"` - - // MaxSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-maxsize - MaxSize *types.Value `json:"MaxSize,omitempty"` - - // MetricGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-metricgroups - MetricGroups *types.Value `json:"MetricGroups,omitempty"` - - // MinSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-minsize - MinSize *types.Value `json:"MinSize,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-name - Name *types.Value `json:"Name,omitempty"` - - // NewGameSessionProtectionPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-newgamesessionprotectionpolicy - NewGameSessionProtectionPolicy *types.Value `json:"NewGameSessionProtectionPolicy,omitempty"` - - // PeerVpcAwsAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-peervpcawsaccountid - PeerVpcAwsAccountId *types.Value `json:"PeerVpcAwsAccountId,omitempty"` - - // PeerVpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-peervpcid - PeerVpcId *types.Value `json:"PeerVpcId,omitempty"` - - // ResourceCreationLimitPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-resourcecreationlimitpolicy - ResourceCreationLimitPolicy *Fleet_ResourceCreationLimitPolicy `json:"ResourceCreationLimitPolicy,omitempty"` - - // RuntimeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-runtimeconfiguration - RuntimeConfiguration *Fleet_RuntimeConfiguration `json:"RuntimeConfiguration,omitempty"` - - // ScriptId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-scriptid - ScriptId *types.Value `json:"ScriptId,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 *Fleet) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet" -} - -// 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 (r Fleet) MarshalJSON() ([]byte, error) { - type Properties Fleet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Fleet) UnmarshalJSON(b []byte) error { - type Properties Fleet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Fleet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_certificateconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_certificateconfiguration.go deleted file mode 100644 index df80076ba4..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_certificateconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_CertificateConfiguration AWS CloudFormation Resource (AWS::GameLift::Fleet.CertificateConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-certificateconfiguration.html -type Fleet_CertificateConfiguration struct { - - // CertificateType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-certificateconfiguration.html#cfn-gamelift-fleet-certificateconfiguration-certificatetype - CertificateType *types.Value `json:"CertificateType,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 *Fleet_CertificateConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.CertificateConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationcapacity.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationcapacity.go deleted file mode 100644 index 748cad90d2..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationcapacity.go +++ /dev/null @@ -1,47 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_LocationCapacity AWS CloudFormation Resource (AWS::GameLift::Fleet.LocationCapacity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html -type Fleet_LocationCapacity struct { - - // DesiredEC2Instances AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-desiredec2instances - DesiredEC2Instances *types.Value `json:"DesiredEC2Instances"` - - // MaxSize AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-maxsize - MaxSize *types.Value `json:"MaxSize"` - - // MinSize AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-minsize - MinSize *types.Value `json:"MinSize"` - - // 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 *Fleet_LocationCapacity) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.LocationCapacity" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationconfiguration.go deleted file mode 100644 index 75a984df9c..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_locationconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_LocationConfiguration AWS CloudFormation Resource (AWS::GameLift::Fleet.LocationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html -type Fleet_LocationConfiguration struct { - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html#cfn-gamelift-fleet-locationconfiguration-location - Location *types.Value `json:"Location,omitempty"` - - // LocationCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationconfiguration.html#cfn-gamelift-fleet-locationconfiguration-locationcapacity - LocationCapacity *Fleet_LocationCapacity `json:"LocationCapacity,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 *Fleet_LocationConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.LocationConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_resourcecreationlimitpolicy.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_resourcecreationlimitpolicy.go deleted file mode 100644 index 470d7e927d..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_resourcecreationlimitpolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_ResourceCreationLimitPolicy AWS CloudFormation Resource (AWS::GameLift::Fleet.ResourceCreationLimitPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-resourcecreationlimitpolicy.html -type Fleet_ResourceCreationLimitPolicy struct { - - // NewGameSessionsPerCreator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-resourcecreationlimitpolicy.html#cfn-gamelift-fleet-resourcecreationlimitpolicy-newgamesessionspercreator - NewGameSessionsPerCreator *types.Value `json:"NewGameSessionsPerCreator,omitempty"` - - // PolicyPeriodInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-resourcecreationlimitpolicy.html#cfn-gamelift-fleet-resourcecreationlimitpolicy-policyperiodinminutes - PolicyPeriodInMinutes *types.Value `json:"PolicyPeriodInMinutes,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 *Fleet_ResourceCreationLimitPolicy) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.ResourceCreationLimitPolicy" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_runtimeconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_runtimeconfiguration.go deleted file mode 100644 index 4ca55df5fa..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_runtimeconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_RuntimeConfiguration AWS CloudFormation Resource (AWS::GameLift::Fleet.RuntimeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html -type Fleet_RuntimeConfiguration struct { - - // GameSessionActivationTimeoutSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html#cfn-gamelift-fleet-runtimeconfiguration-gamesessionactivationtimeoutseconds - GameSessionActivationTimeoutSeconds *types.Value `json:"GameSessionActivationTimeoutSeconds,omitempty"` - - // MaxConcurrentGameSessionActivations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html#cfn-gamelift-fleet-runtimeconfiguration-maxconcurrentgamesessionactivations - MaxConcurrentGameSessionActivations *types.Value `json:"MaxConcurrentGameSessionActivations,omitempty"` - - // ServerProcesses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-runtimeconfiguration.html#cfn-gamelift-fleet-runtimeconfiguration-serverprocesses - ServerProcesses []Fleet_ServerProcess `json:"ServerProcesses,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 *Fleet_RuntimeConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.RuntimeConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_serverprocess.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_serverprocess.go deleted file mode 100644 index c4f6e87a74..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_serverprocess.go +++ /dev/null @@ -1,47 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet_ServerProcess AWS CloudFormation Resource (AWS::GameLift::Fleet.ServerProcess) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html -type Fleet_ServerProcess struct { - - // ConcurrentExecutions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-concurrentexecutions - ConcurrentExecutions *types.Value `json:"ConcurrentExecutions"` - - // LaunchPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-launchpath - LaunchPath *types.Value `json:"LaunchPath,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-serverprocess.html#cfn-gamelift-fleet-serverprocess-parameters - Parameters *types.Value `json:"Parameters,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 *Fleet_ServerProcess) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.ServerProcess" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup.go deleted file mode 100644 index 63982f2f1d..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup.go +++ /dev/null @@ -1,164 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup AWS CloudFormation Resource (AWS::GameLift::GameServerGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html -type GameServerGroup struct { - - // AutoScalingPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-autoscalingpolicy - AutoScalingPolicy *GameServerGroup_AutoScalingPolicy `json:"AutoScalingPolicy,omitempty"` - - // BalancingStrategy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-balancingstrategy - BalancingStrategy *types.Value `json:"BalancingStrategy,omitempty"` - - // DeleteOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-deleteoption - DeleteOption *types.Value `json:"DeleteOption,omitempty"` - - // GameServerGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-gameservergroupname - GameServerGroupName *types.Value `json:"GameServerGroupName,omitempty"` - - // GameServerProtectionPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-gameserverprotectionpolicy - GameServerProtectionPolicy *types.Value `json:"GameServerProtectionPolicy,omitempty"` - - // InstanceDefinitions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-instancedefinitions - InstanceDefinitions []GameServerGroup_InstanceDefinition `json:"InstanceDefinitions,omitempty"` - - // LaunchTemplate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-launchtemplate - LaunchTemplate *GameServerGroup_LaunchTemplate `json:"LaunchTemplate,omitempty"` - - // MaxSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-maxsize - MaxSize *types.Value `json:"MaxSize,omitempty"` - - // MinSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-minsize - MinSize *types.Value `json:"MinSize,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcSubnets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html#cfn-gamelift-gameservergroup-vpcsubnets - VpcSubnets *types.Value `json:"VpcSubnets,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 *GameServerGroup) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup" -} - -// 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 (r GameServerGroup) MarshalJSON() ([]byte, error) { - type Properties GameServerGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GameServerGroup) UnmarshalJSON(b []byte) error { - type Properties GameServerGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GameServerGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_autoscalingpolicy.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_autoscalingpolicy.go deleted file mode 100644 index cc5513ddfa..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_autoscalingpolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_AutoScalingPolicy AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.AutoScalingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html -type GameServerGroup_AutoScalingPolicy struct { - - // EstimatedInstanceWarmup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html#cfn-gamelift-gameservergroup-autoscalingpolicy-estimatedinstancewarmup - EstimatedInstanceWarmup *types.Value `json:"EstimatedInstanceWarmup,omitempty"` - - // TargetTrackingConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-autoscalingpolicy.html#cfn-gamelift-gameservergroup-autoscalingpolicy-targettrackingconfiguration - TargetTrackingConfiguration *GameServerGroup_TargetTrackingConfiguration `json:"TargetTrackingConfiguration,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 *GameServerGroup_AutoScalingPolicy) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.AutoScalingPolicy" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinition.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinition.go deleted file mode 100644 index 44471e465a..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_InstanceDefinition AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.InstanceDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html -type GameServerGroup_InstanceDefinition struct { - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html#cfn-gamelift-gameservergroup-instancedefinition-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // WeightedCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinition.html#cfn-gamelift-gameservergroup-instancedefinition-weightedcapacity - WeightedCapacity *types.Value `json:"WeightedCapacity,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 *GameServerGroup_InstanceDefinition) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.InstanceDefinition" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinitions.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinitions.go deleted file mode 100644 index 5b8ffcf18b..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_instancedefinitions.go +++ /dev/null @@ -1,35 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_InstanceDefinitions AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.InstanceDefinitions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinitions.html -type GameServerGroup_InstanceDefinitions struct { - - // InstanceDefinitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-instancedefinitions.html#cfn-gamelift-gameservergroup-instancedefinitions-instancedefinitions - InstanceDefinitions []GameServerGroup_InstanceDefinition `json:"InstanceDefinitions,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 *GameServerGroup_InstanceDefinitions) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.InstanceDefinitions" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_launchtemplate.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_launchtemplate.go deleted file mode 100644 index 37a073e5d8..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_launchtemplate.go +++ /dev/null @@ -1,47 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_LaunchTemplate AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.LaunchTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-launchtemplate.html -type GameServerGroup_LaunchTemplate struct { - - // LaunchTemplateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-launchtemplate.html#cfn-gamelift-gameservergroup-launchtemplate-launchtemplateid - LaunchTemplateId *types.Value `json:"LaunchTemplateId,omitempty"` - - // LaunchTemplateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-launchtemplate.html#cfn-gamelift-gameservergroup-launchtemplate-launchtemplatename - LaunchTemplateName *types.Value `json:"LaunchTemplateName,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-launchtemplate.html#cfn-gamelift-gameservergroup-launchtemplate-version - Version *types.Value `json:"Version,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 *GameServerGroup_LaunchTemplate) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.LaunchTemplate" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_tags.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_tags.go deleted file mode 100644 index 181d7e5d38..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_tags.go +++ /dev/null @@ -1,36 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_Tags AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-tags.html -type GameServerGroup_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-tags.html#cfn-gamelift-gameservergroup-tags-tags - Tags []cloudformation.Tag `json:"Tags,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 *GameServerGroup_Tags) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.Tags" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_targettrackingconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_targettrackingconfiguration.go deleted file mode 100644 index f2fe376de5..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_targettrackingconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_TargetTrackingConfiguration AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.TargetTrackingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-targettrackingconfiguration.html -type GameServerGroup_TargetTrackingConfiguration struct { - - // TargetValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-targettrackingconfiguration.html#cfn-gamelift-gameservergroup-targettrackingconfiguration-targetvalue - TargetValue *types.Value `json:"TargetValue"` - - // 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 *GameServerGroup_TargetTrackingConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.TargetTrackingConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_vpcsubnets.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_vpcsubnets.go deleted file mode 100644 index f689878dbd..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gameservergroup_vpcsubnets.go +++ /dev/null @@ -1,37 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameServerGroup_VpcSubnets AWS CloudFormation Resource (AWS::GameLift::GameServerGroup.VpcSubnets) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-vpcsubnets.html -type GameServerGroup_VpcSubnets struct { - - // VpcSubnets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gameservergroup-vpcsubnets.html#cfn-gamelift-gameservergroup-vpcsubnets-vpcsubnets - VpcSubnets *types.Value `json:"VpcSubnets,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 *GameServerGroup_VpcSubnets) AWSCloudFormationType() string { - return "AWS::GameLift::GameServerGroup.VpcSubnets" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue.go deleted file mode 100644 index 76c8a6df5e..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue.go +++ /dev/null @@ -1,143 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameSessionQueue AWS CloudFormation Resource (AWS::GameLift::GameSessionQueue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html -type GameSessionQueue struct { - - // CustomEventData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-customeventdata - CustomEventData *types.Value `json:"CustomEventData,omitempty"` - - // Destinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-destinations - Destinations []GameSessionQueue_Destination `json:"Destinations,omitempty"` - - // FilterConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-filterconfiguration - FilterConfiguration *GameSessionQueue_FilterConfiguration `json:"FilterConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-name - Name *types.Value `json:"Name,omitempty"` - - // NotificationTarget AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-notificationtarget - NotificationTarget *types.Value `json:"NotificationTarget,omitempty"` - - // PlayerLatencyPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-playerlatencypolicies - PlayerLatencyPolicies []GameSessionQueue_PlayerLatencyPolicy `json:"PlayerLatencyPolicies,omitempty"` - - // PriorityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-priorityconfiguration - PriorityConfiguration *GameSessionQueue_PriorityConfiguration `json:"PriorityConfiguration,omitempty"` - - // TimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gamesessionqueue.html#cfn-gamelift-gamesessionqueue-timeoutinseconds - TimeoutInSeconds *types.Value `json:"TimeoutInSeconds,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 *GameSessionQueue) AWSCloudFormationType() string { - return "AWS::GameLift::GameSessionQueue" -} - -// 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 (r GameSessionQueue) MarshalJSON() ([]byte, error) { - type Properties GameSessionQueue - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GameSessionQueue) UnmarshalJSON(b []byte) error { - type Properties GameSessionQueue - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GameSessionQueue(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_filterconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_filterconfiguration.go deleted file mode 100644 index 015c24ed64..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_filterconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameSessionQueue_FilterConfiguration AWS CloudFormation Resource (AWS::GameLift::GameSessionQueue.FilterConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-filterconfiguration.html -type GameSessionQueue_FilterConfiguration struct { - - // AllowedLocations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-filterconfiguration.html#cfn-gamelift-gamesessionqueue-filterconfiguration-allowedlocations - AllowedLocations *types.Value `json:"AllowedLocations,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 *GameSessionQueue_FilterConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::GameSessionQueue.FilterConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_playerlatencypolicy.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_playerlatencypolicy.go deleted file mode 100644 index 52ab7e8ab4..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_playerlatencypolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameSessionQueue_PlayerLatencyPolicy AWS CloudFormation Resource (AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-playerlatencypolicy.html -type GameSessionQueue_PlayerLatencyPolicy struct { - - // MaximumIndividualPlayerLatencyMilliseconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-playerlatencypolicy.html#cfn-gamelift-gamesessionqueue-playerlatencypolicy-maximumindividualplayerlatencymilliseconds - MaximumIndividualPlayerLatencyMilliseconds *types.Value `json:"MaximumIndividualPlayerLatencyMilliseconds,omitempty"` - - // PolicyDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-playerlatencypolicy.html#cfn-gamelift-gamesessionqueue-playerlatencypolicy-policydurationseconds - PolicyDurationSeconds *types.Value `json:"PolicyDurationSeconds,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 *GameSessionQueue_PlayerLatencyPolicy) AWSCloudFormationType() string { - return "AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_priorityconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_priorityconfiguration.go deleted file mode 100644 index 179ca57d81..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-gamesessionqueue_priorityconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GameSessionQueue_PriorityConfiguration AWS CloudFormation Resource (AWS::GameLift::GameSessionQueue.PriorityConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html -type GameSessionQueue_PriorityConfiguration struct { - - // LocationOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-locationorder - LocationOrder *types.Value `json:"LocationOrder,omitempty"` - - // PriorityOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-priorityorder - PriorityOrder *types.Value `json:"PriorityOrder,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 *GameSessionQueue_PriorityConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::GameSessionQueue.PriorityConfiguration" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration.go deleted file mode 100644 index 8479f361eb..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration.go +++ /dev/null @@ -1,173 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MatchmakingConfiguration AWS CloudFormation Resource (AWS::GameLift::MatchmakingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html -type MatchmakingConfiguration struct { - - // AcceptanceRequired AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-acceptancerequired - AcceptanceRequired *types.Value `json:"AcceptanceRequired"` - - // AcceptanceTimeoutSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-acceptancetimeoutseconds - AcceptanceTimeoutSeconds *types.Value `json:"AcceptanceTimeoutSeconds,omitempty"` - - // AdditionalPlayerCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-additionalplayercount - AdditionalPlayerCount *types.Value `json:"AdditionalPlayerCount,omitempty"` - - // BackfillMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-backfillmode - BackfillMode *types.Value `json:"BackfillMode,omitempty"` - - // CustomEventData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-customeventdata - CustomEventData *types.Value `json:"CustomEventData,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // FlexMatchMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-flexmatchmode - FlexMatchMode *types.Value `json:"FlexMatchMode,omitempty"` - - // GameProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-gameproperties - GameProperties []MatchmakingConfiguration_GameProperty `json:"GameProperties,omitempty"` - - // GameSessionData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-gamesessiondata - GameSessionData *types.Value `json:"GameSessionData,omitempty"` - - // GameSessionQueueArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-gamesessionqueuearns - GameSessionQueueArns *types.Value `json:"GameSessionQueueArns,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // NotificationTarget AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-notificationtarget - NotificationTarget *types.Value `json:"NotificationTarget,omitempty"` - - // RequestTimeoutSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-requesttimeoutseconds - RequestTimeoutSeconds *types.Value `json:"RequestTimeoutSeconds"` - - // RuleSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html#cfn-gamelift-matchmakingconfiguration-rulesetname - RuleSetName *types.Value `json:"RuleSetName,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 *MatchmakingConfiguration) AWSCloudFormationType() string { - return "AWS::GameLift::MatchmakingConfiguration" -} - -// 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 (r MatchmakingConfiguration) MarshalJSON() ([]byte, error) { - type Properties MatchmakingConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MatchmakingConfiguration) UnmarshalJSON(b []byte) error { - type Properties MatchmakingConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MatchmakingConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration_gameproperty.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration_gameproperty.go deleted file mode 100644 index cf30cad877..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingconfiguration_gameproperty.go +++ /dev/null @@ -1,42 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MatchmakingConfiguration_GameProperty AWS CloudFormation Resource (AWS::GameLift::MatchmakingConfiguration.GameProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.html -type MatchmakingConfiguration_GameProperty struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.html#cfn-gamelift-matchmakingconfiguration-gameproperty-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-matchmakingconfiguration-gameproperty.html#cfn-gamelift-matchmakingconfiguration-gameproperty-value - Value *types.Value `json:"Value,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 *MatchmakingConfiguration_GameProperty) AWSCloudFormationType() string { - return "AWS::GameLift::MatchmakingConfiguration.GameProperty" -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingruleset.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingruleset.go deleted file mode 100644 index 99801c2cf8..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-matchmakingruleset.go +++ /dev/null @@ -1,113 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MatchmakingRuleSet AWS CloudFormation Resource (AWS::GameLift::MatchmakingRuleSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingruleset.html -type MatchmakingRuleSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingruleset.html#cfn-gamelift-matchmakingruleset-name - Name *types.Value `json:"Name,omitempty"` - - // RuleSetBody AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingruleset.html#cfn-gamelift-matchmakingruleset-rulesetbody - RuleSetBody *types.Value `json:"RuleSetBody,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 *MatchmakingRuleSet) AWSCloudFormationType() string { - return "AWS::GameLift::MatchmakingRuleSet" -} - -// 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 (r MatchmakingRuleSet) MarshalJSON() ([]byte, error) { - type Properties MatchmakingRuleSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MatchmakingRuleSet) UnmarshalJSON(b []byte) error { - type Properties MatchmakingRuleSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MatchmakingRuleSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-script.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-script.go deleted file mode 100644 index c0d31772fd..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-script.go +++ /dev/null @@ -1,118 +0,0 @@ -package gamelift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Script AWS CloudFormation Resource (AWS::GameLift::Script) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html -type Script struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-name - Name *types.Value `json:"Name,omitempty"` - - // StorageLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-storagelocation - StorageLocation *Script_S3Location `json:"StorageLocation,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-script.html#cfn-gamelift-script-version - Version *types.Value `json:"Version,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 *Script) AWSCloudFormationType() string { - return "AWS::GameLift::Script" -} - -// 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 (r Script) MarshalJSON() ([]byte, error) { - type Properties Script - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Script) UnmarshalJSON(b []byte) error { - type Properties Script - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Script(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-script_s3location.go b/pkg/goformation/cloudformation/gamelift/aws-gamelift-script_s3location.go deleted file mode 100644 index e2477281d8..0000000000 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-script_s3location.go +++ /dev/null @@ -1,52 +0,0 @@ -package gamelift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Script_S3Location AWS CloudFormation Resource (AWS::GameLift::Script.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html -type Script_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-key - Key *types.Value `json:"Key,omitempty"` - - // ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-objectversion - ObjectVersion *types.Value `json:"ObjectVersion,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-script-s3location.html#cfn-gamelift-script-s3location-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Script_S3Location) AWSCloudFormationType() string { - return "AWS::GameLift::Script.S3Location" -} diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-accelerator.go b/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-accelerator.go deleted file mode 100644 index e2c6ae21ab..0000000000 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-accelerator.go +++ /dev/null @@ -1,129 +0,0 @@ -package globalaccelerator - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Accelerator AWS CloudFormation Resource (AWS::GlobalAccelerator::Accelerator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html -type Accelerator struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html#cfn-globalaccelerator-accelerator-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // IpAddressType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html#cfn-globalaccelerator-accelerator-ipaddresstype - IpAddressType *types.Value `json:"IpAddressType,omitempty"` - - // IpAddresses AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html#cfn-globalaccelerator-accelerator-ipaddresses - IpAddresses *types.Value `json:"IpAddresses,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html#cfn-globalaccelerator-accelerator-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-accelerator.html#cfn-globalaccelerator-accelerator-tags - Tags []cloudformation.Tag `json:"Tags,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 *Accelerator) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::Accelerator" -} - -// 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 (r Accelerator) MarshalJSON() ([]byte, error) { - type Properties Accelerator - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Accelerator) UnmarshalJSON(b []byte) error { - type Properties Accelerator - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Accelerator(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup.go b/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup.go deleted file mode 100644 index 8b923e8e53..0000000000 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup.go +++ /dev/null @@ -1,153 +0,0 @@ -package globalaccelerator - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointGroup AWS CloudFormation Resource (AWS::GlobalAccelerator::EndpointGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html -type EndpointGroup struct { - - // EndpointConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-endpointconfigurations - EndpointConfigurations []EndpointGroup_EndpointConfiguration `json:"EndpointConfigurations,omitempty"` - - // EndpointGroupRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-endpointgroupregion - EndpointGroupRegion *types.Value `json:"EndpointGroupRegion,omitempty"` - - // HealthCheckIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-healthcheckintervalseconds - HealthCheckIntervalSeconds *types.Value `json:"HealthCheckIntervalSeconds,omitempty"` - - // HealthCheckPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-healthcheckpath - HealthCheckPath *types.Value `json:"HealthCheckPath,omitempty"` - - // HealthCheckPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-healthcheckport - HealthCheckPort *types.Value `json:"HealthCheckPort,omitempty"` - - // HealthCheckProtocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-healthcheckprotocol - HealthCheckProtocol *types.Value `json:"HealthCheckProtocol,omitempty"` - - // ListenerArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-listenerarn - ListenerArn *types.Value `json:"ListenerArn,omitempty"` - - // PortOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-portoverrides - PortOverrides []EndpointGroup_PortOverride `json:"PortOverrides,omitempty"` - - // ThresholdCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-thresholdcount - ThresholdCount *types.Value `json:"ThresholdCount,omitempty"` - - // TrafficDialPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-endpointgroup.html#cfn-globalaccelerator-endpointgroup-trafficdialpercentage - TrafficDialPercentage *types.Value `json:"TrafficDialPercentage,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 *EndpointGroup) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::EndpointGroup" -} - -// 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 (r EndpointGroup) MarshalJSON() ([]byte, error) { - type Properties EndpointGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EndpointGroup) UnmarshalJSON(b []byte) error { - type Properties EndpointGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EndpointGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_endpointconfiguration.go b/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_endpointconfiguration.go deleted file mode 100644 index 04d6763b8c..0000000000 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_endpointconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package globalaccelerator - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointGroup_EndpointConfiguration AWS CloudFormation Resource (AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html -type EndpointGroup_EndpointConfiguration struct { - - // ClientIPPreservationEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-clientippreservationenabled - ClientIPPreservationEnabled *types.Value `json:"ClientIPPreservationEnabled,omitempty"` - - // EndpointId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-endpointid - EndpointId *types.Value `json:"EndpointId,omitempty"` - - // Weight AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-endpointconfiguration.html#cfn-globalaccelerator-endpointgroup-endpointconfiguration-weight - Weight *types.Value `json:"Weight,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 *EndpointGroup_EndpointConfiguration) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration" -} diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_portoverride.go b/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_portoverride.go deleted file mode 100644 index 7939899b0b..0000000000 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-endpointgroup_portoverride.go +++ /dev/null @@ -1,42 +0,0 @@ -package globalaccelerator - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointGroup_PortOverride AWS CloudFormation Resource (AWS::GlobalAccelerator::EndpointGroup.PortOverride) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html -type EndpointGroup_PortOverride struct { - - // EndpointPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html#cfn-globalaccelerator-endpointgroup-portoverride-endpointport - EndpointPort *types.Value `json:"EndpointPort"` - - // ListenerPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-globalaccelerator-endpointgroup-portoverride.html#cfn-globalaccelerator-endpointgroup-portoverride-listenerport - ListenerPort *types.Value `json:"ListenerPort"` - - // 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 *EndpointGroup_PortOverride) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::EndpointGroup.PortOverride" -} diff --git a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener.go b/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener.go deleted file mode 100644 index de01835df5..0000000000 --- a/pkg/goformation/cloudformation/globalaccelerator/aws-globalaccelerator-listener.go +++ /dev/null @@ -1,123 +0,0 @@ -package globalaccelerator - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Listener AWS CloudFormation Resource (AWS::GlobalAccelerator::Listener) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-listener.html -type Listener struct { - - // AcceleratorArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-listener.html#cfn-globalaccelerator-listener-acceleratorarn - AcceleratorArn *types.Value `json:"AcceleratorArn,omitempty"` - - // ClientAffinity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-listener.html#cfn-globalaccelerator-listener-clientaffinity - ClientAffinity *types.Value `json:"ClientAffinity,omitempty"` - - // PortRanges AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-listener.html#cfn-globalaccelerator-listener-portranges - PortRanges []Listener_PortRange `json:"PortRanges,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-globalaccelerator-listener.html#cfn-globalaccelerator-listener-protocol - Protocol *types.Value `json:"Protocol,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 *Listener) AWSCloudFormationType() string { - return "AWS::GlobalAccelerator::Listener" -} - -// 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 (r Listener) MarshalJSON() ([]byte, error) { - type Properties Listener - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Listener) UnmarshalJSON(b []byte) error { - type Properties Listener - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Listener(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-classifier.go b/pkg/goformation/cloudformation/glue/aws-glue-classifier.go deleted file mode 100644 index aa4312f3df..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-classifier.go +++ /dev/null @@ -1,121 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Classifier AWS CloudFormation Resource (AWS::Glue::Classifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html -type Classifier struct { - - // CsvClassifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-csvclassifier - CsvClassifier *Classifier_CsvClassifier `json:"CsvClassifier,omitempty"` - - // GrokClassifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-grokclassifier - GrokClassifier *Classifier_GrokClassifier `json:"GrokClassifier,omitempty"` - - // JsonClassifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-jsonclassifier - JsonClassifier *Classifier_JsonClassifier `json:"JsonClassifier,omitempty"` - - // XMLClassifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-classifier.html#cfn-glue-classifier-xmlclassifier - XMLClassifier *Classifier_XMLClassifier `json:"XMLClassifier,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 *Classifier) AWSCloudFormationType() string { - return "AWS::Glue::Classifier" -} - -// 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 (r Classifier) MarshalJSON() ([]byte, error) { - type Properties Classifier - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Classifier) UnmarshalJSON(b []byte) error { - type Properties Classifier - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Classifier(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-classifier_csvclassifier.go b/pkg/goformation/cloudformation/glue/aws-glue-classifier_csvclassifier.go deleted file mode 100644 index 16aa346668..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-classifier_csvclassifier.go +++ /dev/null @@ -1,67 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Classifier_CsvClassifier AWS CloudFormation Resource (AWS::Glue::Classifier.CsvClassifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html -type Classifier_CsvClassifier struct { - - // AllowSingleColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-allowsinglecolumn - AllowSingleColumn *types.Value `json:"AllowSingleColumn,omitempty"` - - // ContainsHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-containsheader - ContainsHeader *types.Value `json:"ContainsHeader,omitempty"` - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-delimiter - Delimiter *types.Value `json:"Delimiter,omitempty"` - - // DisableValueTrimming AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-disablevaluetrimming - DisableValueTrimming *types.Value `json:"DisableValueTrimming,omitempty"` - - // Header AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-header - Header *types.Value `json:"Header,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-name - Name *types.Value `json:"Name,omitempty"` - - // QuoteSymbol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-csvclassifier.html#cfn-glue-classifier-csvclassifier-quotesymbol - QuoteSymbol *types.Value `json:"QuoteSymbol,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 *Classifier_CsvClassifier) AWSCloudFormationType() string { - return "AWS::Glue::Classifier.CsvClassifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-classifier_grokclassifier.go b/pkg/goformation/cloudformation/glue/aws-glue-classifier_grokclassifier.go deleted file mode 100644 index 03ab5d2816..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-classifier_grokclassifier.go +++ /dev/null @@ -1,52 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Classifier_GrokClassifier AWS CloudFormation Resource (AWS::Glue::Classifier.GrokClassifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-grokclassifier.html -type Classifier_GrokClassifier struct { - - // Classification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-grokclassifier.html#cfn-glue-classifier-grokclassifier-classification - Classification *types.Value `json:"Classification,omitempty"` - - // CustomPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-grokclassifier.html#cfn-glue-classifier-grokclassifier-custompatterns - CustomPatterns *types.Value `json:"CustomPatterns,omitempty"` - - // GrokPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-grokclassifier.html#cfn-glue-classifier-grokclassifier-grokpattern - GrokPattern *types.Value `json:"GrokPattern,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-grokclassifier.html#cfn-glue-classifier-grokclassifier-name - Name *types.Value `json:"Name,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 *Classifier_GrokClassifier) AWSCloudFormationType() string { - return "AWS::Glue::Classifier.GrokClassifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-classifier_jsonclassifier.go b/pkg/goformation/cloudformation/glue/aws-glue-classifier_jsonclassifier.go deleted file mode 100644 index 1e4ebe126b..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-classifier_jsonclassifier.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Classifier_JsonClassifier AWS CloudFormation Resource (AWS::Glue::Classifier.JsonClassifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-jsonclassifier.html -type Classifier_JsonClassifier struct { - - // JsonPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-jsonclassifier.html#cfn-glue-classifier-jsonclassifier-jsonpath - JsonPath *types.Value `json:"JsonPath,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-jsonclassifier.html#cfn-glue-classifier-jsonclassifier-name - Name *types.Value `json:"Name,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 *Classifier_JsonClassifier) AWSCloudFormationType() string { - return "AWS::Glue::Classifier.JsonClassifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-classifier_xmlclassifier.go b/pkg/goformation/cloudformation/glue/aws-glue-classifier_xmlclassifier.go deleted file mode 100644 index 5b53936a5a..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-classifier_xmlclassifier.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Classifier_XMLClassifier AWS CloudFormation Resource (AWS::Glue::Classifier.XMLClassifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-xmlclassifier.html -type Classifier_XMLClassifier struct { - - // Classification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-xmlclassifier.html#cfn-glue-classifier-xmlclassifier-classification - Classification *types.Value `json:"Classification,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-xmlclassifier.html#cfn-glue-classifier-xmlclassifier-name - Name *types.Value `json:"Name,omitempty"` - - // RowTag AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-classifier-xmlclassifier.html#cfn-glue-classifier-xmlclassifier-rowtag - RowTag *types.Value `json:"RowTag,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 *Classifier_XMLClassifier) AWSCloudFormationType() string { - return "AWS::Glue::Classifier.XMLClassifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-connection.go b/pkg/goformation/cloudformation/glue/aws-glue-connection.go deleted file mode 100644 index df608272a3..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-connection.go +++ /dev/null @@ -1,113 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Connection AWS CloudFormation Resource (AWS::Glue::Connection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html -type Connection struct { - - // CatalogId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html#cfn-glue-connection-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // ConnectionInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-connection.html#cfn-glue-connection-connectioninput - ConnectionInput *Connection_ConnectionInput `json:"ConnectionInput,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 *Connection) AWSCloudFormationType() string { - return "AWS::Glue::Connection" -} - -// 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 (r Connection) MarshalJSON() ([]byte, error) { - type Properties Connection - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Connection) UnmarshalJSON(b []byte) error { - type Properties Connection - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Connection(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-connection_connectioninput.go b/pkg/goformation/cloudformation/glue/aws-glue-connection_connectioninput.go deleted file mode 100644 index b4e055a71e..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-connection_connectioninput.go +++ /dev/null @@ -1,62 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Connection_ConnectionInput AWS CloudFormation Resource (AWS::Glue::Connection.ConnectionInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html -type Connection_ConnectionInput struct { - - // ConnectionProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-connectionproperties - ConnectionProperties interface{} `json:"ConnectionProperties,omitempty"` - - // ConnectionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-connectiontype - ConnectionType *types.Value `json:"ConnectionType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-description - Description *types.Value `json:"Description,omitempty"` - - // MatchCriteria AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-matchcriteria - MatchCriteria *types.Value `json:"MatchCriteria,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-name - Name *types.Value `json:"Name,omitempty"` - - // PhysicalConnectionRequirements AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-physicalconnectionrequirements - PhysicalConnectionRequirements *Connection_PhysicalConnectionRequirements `json:"PhysicalConnectionRequirements,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 *Connection_ConnectionInput) AWSCloudFormationType() string { - return "AWS::Glue::Connection.ConnectionInput" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-connection_physicalconnectionrequirements.go b/pkg/goformation/cloudformation/glue/aws-glue-connection_physicalconnectionrequirements.go deleted file mode 100644 index fdf8624ff6..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-connection_physicalconnectionrequirements.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Connection_PhysicalConnectionRequirements AWS CloudFormation Resource (AWS::Glue::Connection.PhysicalConnectionRequirements) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-physicalconnectionrequirements.html -type Connection_PhysicalConnectionRequirements struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-physicalconnectionrequirements.html#cfn-glue-connection-physicalconnectionrequirements-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // SecurityGroupIdList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-physicalconnectionrequirements.html#cfn-glue-connection-physicalconnectionrequirements-securitygroupidlist - SecurityGroupIdList *types.Value `json:"SecurityGroupIdList,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-physicalconnectionrequirements.html#cfn-glue-connection-physicalconnectionrequirements-subnetid - SubnetId *types.Value `json:"SubnetId,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 *Connection_PhysicalConnectionRequirements) AWSCloudFormationType() string { - return "AWS::Glue::Connection.PhysicalConnectionRequirements" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler.go deleted file mode 100644 index 9a8a4f0ccf..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler.go +++ /dev/null @@ -1,168 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler AWS CloudFormation Resource (AWS::Glue::Crawler) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html -type Crawler struct { - - // Classifiers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-classifiers - Classifiers *types.Value `json:"Classifiers,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-configuration - Configuration *types.Value `json:"Configuration,omitempty"` - - // CrawlerSecurityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-crawlersecurityconfiguration - CrawlerSecurityConfiguration *types.Value `json:"CrawlerSecurityConfiguration,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-name - Name *types.Value `json:"Name,omitempty"` - - // RecrawlPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-recrawlpolicy - RecrawlPolicy *Crawler_RecrawlPolicy `json:"RecrawlPolicy,omitempty"` - - // Role AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-role - Role *types.Value `json:"Role,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-schedule - Schedule *Crawler_Schedule `json:"Schedule,omitempty"` - - // SchemaChangePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-schemachangepolicy - SchemaChangePolicy *Crawler_SchemaChangePolicy `json:"SchemaChangePolicy,omitempty"` - - // TablePrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-tableprefix - TablePrefix *types.Value `json:"TablePrefix,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-tags - Tags interface{} `json:"Tags,omitempty"` - - // Targets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#cfn-glue-crawler-targets - Targets *Crawler_Targets `json:"Targets,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 *Crawler) AWSCloudFormationType() string { - return "AWS::Glue::Crawler" -} - -// 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 (r Crawler) MarshalJSON() ([]byte, error) { - type Properties Crawler - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Crawler) UnmarshalJSON(b []byte) error { - type Properties Crawler - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Crawler(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_jdbctarget.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_jdbctarget.go deleted file mode 100644 index 08df707ccc..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_jdbctarget.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_JdbcTarget AWS CloudFormation Resource (AWS::Glue::Crawler.JdbcTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html -type Crawler_JdbcTarget struct { - - // ConnectionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html#cfn-glue-crawler-jdbctarget-connectionname - ConnectionName *types.Value `json:"ConnectionName,omitempty"` - - // Exclusions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html#cfn-glue-crawler-jdbctarget-exclusions - Exclusions *types.Value `json:"Exclusions,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html#cfn-glue-crawler-jdbctarget-path - Path *types.Value `json:"Path,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 *Crawler_JdbcTarget) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.JdbcTarget" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_recrawlpolicy.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_recrawlpolicy.go deleted file mode 100644 index 4f4376e5f7..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_recrawlpolicy.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_RecrawlPolicy AWS CloudFormation Resource (AWS::Glue::Crawler.RecrawlPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-recrawlpolicy.html -type Crawler_RecrawlPolicy struct { - - // RecrawlBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-recrawlpolicy.html#cfn-glue-crawler-recrawlpolicy-recrawlbehavior - RecrawlBehavior *types.Value `json:"RecrawlBehavior,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 *Crawler_RecrawlPolicy) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.RecrawlPolicy" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_s3target.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_s3target.go deleted file mode 100644 index d5ce8177bf..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_s3target.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_S3Target AWS CloudFormation Resource (AWS::Glue::Crawler.S3Target) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-s3target.html -type Crawler_S3Target struct { - - // ConnectionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-s3target.html#cfn-glue-crawler-s3target-connectionname - ConnectionName *types.Value `json:"ConnectionName,omitempty"` - - // Exclusions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-s3target.html#cfn-glue-crawler-s3target-exclusions - Exclusions *types.Value `json:"Exclusions,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-s3target.html#cfn-glue-crawler-s3target-path - Path *types.Value `json:"Path,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 *Crawler_S3Target) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.S3Target" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_schedule.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_schedule.go deleted file mode 100644 index c54c2e17da..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_schedule.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_Schedule AWS CloudFormation Resource (AWS::Glue::Crawler.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schedule.html -type Crawler_Schedule struct { - - // ScheduleExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schedule.html#cfn-glue-crawler-schedule-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *Crawler_Schedule) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.Schedule" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_schemachangepolicy.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_schemachangepolicy.go deleted file mode 100644 index 608b6f6199..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_schemachangepolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_SchemaChangePolicy AWS CloudFormation Resource (AWS::Glue::Crawler.SchemaChangePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html -type Crawler_SchemaChangePolicy struct { - - // DeleteBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-deletebehavior - DeleteBehavior *types.Value `json:"DeleteBehavior,omitempty"` - - // UpdateBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html#cfn-glue-crawler-schemachangepolicy-updatebehavior - UpdateBehavior *types.Value `json:"UpdateBehavior,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 *Crawler_SchemaChangePolicy) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.SchemaChangePolicy" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-crawler_targets.go b/pkg/goformation/cloudformation/glue/aws-glue-crawler_targets.go deleted file mode 100644 index 809cac9f27..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-crawler_targets.go +++ /dev/null @@ -1,50 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Crawler_Targets AWS CloudFormation Resource (AWS::Glue::Crawler.Targets) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html -type Crawler_Targets struct { - - // CatalogTargets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html#cfn-glue-crawler-targets-catalogtargets - CatalogTargets []Crawler_CatalogTarget `json:"CatalogTargets,omitempty"` - - // DynamoDBTargets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html#cfn-glue-crawler-targets-dynamodbtargets - DynamoDBTargets []Crawler_DynamoDBTarget `json:"DynamoDBTargets,omitempty"` - - // JdbcTargets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html#cfn-glue-crawler-targets-jdbctargets - JdbcTargets []Crawler_JdbcTarget `json:"JdbcTargets,omitempty"` - - // S3Targets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html#cfn-glue-crawler-targets-s3targets - S3Targets []Crawler_S3Target `json:"S3Targets,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 *Crawler_Targets) AWSCloudFormationType() string { - return "AWS::Glue::Crawler.Targets" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-database.go b/pkg/goformation/cloudformation/glue/aws-glue-database.go deleted file mode 100644 index 73198cb795..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-database.go +++ /dev/null @@ -1,113 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database AWS CloudFormation Resource (AWS::Glue::Database) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html -type Database struct { - - // CatalogId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html#cfn-glue-database-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html#cfn-glue-database-databaseinput - DatabaseInput *Database_DatabaseInput `json:"DatabaseInput,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 *Database) AWSCloudFormationType() string { - return "AWS::Glue::Database" -} - -// 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 (r Database) MarshalJSON() ([]byte, error) { - type Properties Database - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Database) UnmarshalJSON(b []byte) error { - type Properties Database - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Database(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-database_databaseidentifier.go b/pkg/goformation/cloudformation/glue/aws-glue-database_databaseidentifier.go deleted file mode 100644 index 105fffcdc0..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-database_databaseidentifier.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database_DatabaseIdentifier AWS CloudFormation Resource (AWS::Glue::Database.DatabaseIdentifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html -type Database_DatabaseIdentifier struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html#cfn-glue-database-databaseidentifier-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseidentifier.html#cfn-glue-database-databaseidentifier-databasename - DatabaseName *types.Value `json:"DatabaseName,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 *Database_DatabaseIdentifier) AWSCloudFormationType() string { - return "AWS::Glue::Database.DatabaseIdentifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-database_databaseinput.go b/pkg/goformation/cloudformation/glue/aws-glue-database_databaseinput.go deleted file mode 100644 index f745e8b807..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-database_databaseinput.go +++ /dev/null @@ -1,62 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database_DatabaseInput AWS CloudFormation Resource (AWS::Glue::Database.DatabaseInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html -type Database_DatabaseInput struct { - - // CreateTableDefaultPermissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-createtabledefaultpermissions - CreateTableDefaultPermissions []Database_PrincipalPrivileges `json:"CreateTableDefaultPermissions,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-description - Description *types.Value `json:"Description,omitempty"` - - // LocationUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-locationuri - LocationUri *types.Value `json:"LocationUri,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // TargetDatabase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-targetdatabase - TargetDatabase *Database_DatabaseIdentifier `json:"TargetDatabase,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 *Database_DatabaseInput) AWSCloudFormationType() string { - return "AWS::Glue::Database.DatabaseInput" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-database_datalakeprincipal.go b/pkg/goformation/cloudformation/glue/aws-glue-database_datalakeprincipal.go deleted file mode 100644 index fdcff7c42c..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-database_datalakeprincipal.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database_DataLakePrincipal AWS CloudFormation Resource (AWS::Glue::Database.DataLakePrincipal) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-datalakeprincipal.html -type Database_DataLakePrincipal struct { - - // DataLakePrincipalIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-datalakeprincipal.html#cfn-glue-database-datalakeprincipal-datalakeprincipalidentifier - DataLakePrincipalIdentifier *types.Value `json:"DataLakePrincipalIdentifier,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 *Database_DataLakePrincipal) AWSCloudFormationType() string { - return "AWS::Glue::Database.DataLakePrincipal" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-database_principalprivileges.go b/pkg/goformation/cloudformation/glue/aws-glue-database_principalprivileges.go deleted file mode 100644 index 58bd305487..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-database_principalprivileges.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database_PrincipalPrivileges AWS CloudFormation Resource (AWS::Glue::Database.PrincipalPrivileges) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html -type Database_PrincipalPrivileges struct { - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html#cfn-glue-database-principalprivileges-permissions - Permissions *types.Value `json:"Permissions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-principalprivileges.html#cfn-glue-database-principalprivileges-principal - Principal *Database_DataLakePrincipal `json:"Principal,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 *Database_PrincipalPrivileges) AWSCloudFormationType() string { - return "AWS::Glue::Database.PrincipalPrivileges" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings.go b/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings.go deleted file mode 100644 index 9661777777..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings.go +++ /dev/null @@ -1,113 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataCatalogEncryptionSettings AWS CloudFormation Resource (AWS::Glue::DataCatalogEncryptionSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-datacatalogencryptionsettings.html -type DataCatalogEncryptionSettings struct { - - // CatalogId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-datacatalogencryptionsettings.html#cfn-glue-datacatalogencryptionsettings-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DataCatalogEncryptionSettings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-datacatalogencryptionsettings.html#cfn-glue-datacatalogencryptionsettings-datacatalogencryptionsettings - DataCatalogEncryptionSettings *DataCatalogEncryptionSettings_DataCatalogEncryptionSettings `json:"DataCatalogEncryptionSettings,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 *DataCatalogEncryptionSettings) AWSCloudFormationType() string { - return "AWS::Glue::DataCatalogEncryptionSettings" -} - -// 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 (r DataCatalogEncryptionSettings) MarshalJSON() ([]byte, error) { - type Properties DataCatalogEncryptionSettings - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataCatalogEncryptionSettings) UnmarshalJSON(b []byte) error { - type Properties DataCatalogEncryptionSettings - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataCatalogEncryptionSettings(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_connectionpasswordencryption.go b/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_connectionpasswordencryption.go deleted file mode 100644 index c929b740bf..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_connectionpasswordencryption.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataCatalogEncryptionSettings_ConnectionPasswordEncryption AWS CloudFormation Resource (AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-connectionpasswordencryption.html -type DataCatalogEncryptionSettings_ConnectionPasswordEncryption struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-connectionpasswordencryption.html#cfn-glue-datacatalogencryptionsettings-connectionpasswordencryption-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // ReturnConnectionPasswordEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-connectionpasswordencryption.html#cfn-glue-datacatalogencryptionsettings-connectionpasswordencryption-returnconnectionpasswordencrypted - ReturnConnectionPasswordEncrypted *types.Value `json:"ReturnConnectionPasswordEncrypted,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 *DataCatalogEncryptionSettings_ConnectionPasswordEncryption) AWSCloudFormationType() string { - return "AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_datacatalogencryptionsettings.go b/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_datacatalogencryptionsettings.go deleted file mode 100644 index e36b3b4604..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-datacatalogencryptionsettings_datacatalogencryptionsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataCatalogEncryptionSettings_DataCatalogEncryptionSettings AWS CloudFormation Resource (AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-datacatalogencryptionsettings.html -type DataCatalogEncryptionSettings_DataCatalogEncryptionSettings struct { - - // ConnectionPasswordEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-datacatalogencryptionsettings.html#cfn-glue-datacatalogencryptionsettings-datacatalogencryptionsettings-connectionpasswordencryption - ConnectionPasswordEncryption *DataCatalogEncryptionSettings_ConnectionPasswordEncryption `json:"ConnectionPasswordEncryption,omitempty"` - - // EncryptionAtRest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-datacatalogencryptionsettings.html#cfn-glue-datacatalogencryptionsettings-datacatalogencryptionsettings-encryptionatrest - EncryptionAtRest *DataCatalogEncryptionSettings_EncryptionAtRest `json:"EncryptionAtRest,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 *DataCatalogEncryptionSettings_DataCatalogEncryptionSettings) AWSCloudFormationType() string { - return "AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-devendpoint.go b/pkg/goformation/cloudformation/glue/aws-glue-devendpoint.go deleted file mode 100644 index 09af8adab8..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-devendpoint.go +++ /dev/null @@ -1,178 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DevEndpoint AWS CloudFormation Resource (AWS::Glue::DevEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html -type DevEndpoint struct { - - // Arguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-arguments - Arguments interface{} `json:"Arguments,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // ExtraJarsS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-extrajarss3path - ExtraJarsS3Path *types.Value `json:"ExtraJarsS3Path,omitempty"` - - // ExtraPythonLibsS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-extrapythonlibss3path - ExtraPythonLibsS3Path *types.Value `json:"ExtraPythonLibsS3Path,omitempty"` - - // GlueVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-glueversion - GlueVersion *types.Value `json:"GlueVersion,omitempty"` - - // NumberOfNodes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-numberofnodes - NumberOfNodes *types.Value `json:"NumberOfNodes,omitempty"` - - // NumberOfWorkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-numberofworkers - NumberOfWorkers *types.Value `json:"NumberOfWorkers,omitempty"` - - // PublicKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-publickey - PublicKey *types.Value `json:"PublicKey,omitempty"` - - // PublicKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-publickeys - PublicKeys *types.Value `json:"PublicKeys,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecurityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-securityconfiguration - SecurityConfiguration *types.Value `json:"SecurityConfiguration,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-subnetid - SubnetId *types.Value `json:"SubnetId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-tags - Tags interface{} `json:"Tags,omitempty"` - - // WorkerType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html#cfn-glue-devendpoint-workertype - WorkerType *types.Value `json:"WorkerType,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 *DevEndpoint) AWSCloudFormationType() string { - return "AWS::Glue::DevEndpoint" -} - -// 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 (r DevEndpoint) MarshalJSON() ([]byte, error) { - type Properties DevEndpoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DevEndpoint) UnmarshalJSON(b []byte) error { - type Properties DevEndpoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DevEndpoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-job.go b/pkg/goformation/cloudformation/glue/aws-glue-job.go deleted file mode 100644 index 4b9a5aafe2..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-job.go +++ /dev/null @@ -1,193 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job AWS CloudFormation Resource (AWS::Glue::Job) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html -type Job struct { - - // AllocatedCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-allocatedcapacity - AllocatedCapacity *types.Value `json:"AllocatedCapacity,omitempty"` - - // Command AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-command - Command *Job_JobCommand `json:"Command,omitempty"` - - // Connections AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-connections - Connections *Job_ConnectionsList `json:"Connections,omitempty"` - - // DefaultArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-defaultarguments - DefaultArguments interface{} `json:"DefaultArguments,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-description - Description *types.Value `json:"Description,omitempty"` - - // ExecutionProperty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-executionproperty - ExecutionProperty *Job_ExecutionProperty `json:"ExecutionProperty,omitempty"` - - // GlueVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-glueversion - GlueVersion *types.Value `json:"GlueVersion,omitempty"` - - // LogUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-loguri - LogUri *types.Value `json:"LogUri,omitempty"` - - // MaxCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity,omitempty"` - - // MaxRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maxretries - MaxRetries *types.Value `json:"MaxRetries,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-name - Name *types.Value `json:"Name,omitempty"` - - // NotificationProperty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-notificationproperty - NotificationProperty *Job_NotificationProperty `json:"NotificationProperty,omitempty"` - - // NumberOfWorkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-numberofworkers - NumberOfWorkers *types.Value `json:"NumberOfWorkers,omitempty"` - - // Role AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-role - Role *types.Value `json:"Role,omitempty"` - - // SecurityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-securityconfiguration - SecurityConfiguration *types.Value `json:"SecurityConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-tags - Tags interface{} `json:"Tags,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-timeout - Timeout *types.Value `json:"Timeout,omitempty"` - - // WorkerType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-workertype - WorkerType *types.Value `json:"WorkerType,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 *Job) AWSCloudFormationType() string { - return "AWS::Glue::Job" -} - -// 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 (r Job) MarshalJSON() ([]byte, error) { - type Properties Job - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Job) UnmarshalJSON(b []byte) error { - type Properties Job - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Job(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-job_connectionslist.go b/pkg/goformation/cloudformation/glue/aws-glue-job_connectionslist.go deleted file mode 100644 index 1b050cb002..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-job_connectionslist.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ConnectionsList AWS CloudFormation Resource (AWS::Glue::Job.ConnectionsList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html -type Job_ConnectionsList struct { - - // Connections AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html#cfn-glue-job-connectionslist-connections - Connections *types.Value `json:"Connections,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 *Job_ConnectionsList) AWSCloudFormationType() string { - return "AWS::Glue::Job.ConnectionsList" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-job_executionproperty.go b/pkg/goformation/cloudformation/glue/aws-glue-job_executionproperty.go deleted file mode 100644 index 6e9d4e183b..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-job_executionproperty.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_ExecutionProperty AWS CloudFormation Resource (AWS::Glue::Job.ExecutionProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-executionproperty.html -type Job_ExecutionProperty struct { - - // MaxConcurrentRuns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-executionproperty.html#cfn-glue-job-executionproperty-maxconcurrentruns - MaxConcurrentRuns *types.Value `json:"MaxConcurrentRuns,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 *Job_ExecutionProperty) AWSCloudFormationType() string { - return "AWS::Glue::Job.ExecutionProperty" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-job_jobcommand.go b/pkg/goformation/cloudformation/glue/aws-glue-job_jobcommand.go deleted file mode 100644 index d9dc98a3d0..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-job_jobcommand.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_JobCommand AWS CloudFormation Resource (AWS::Glue::Job.JobCommand) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html -type Job_JobCommand struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-name - Name *types.Value `json:"Name,omitempty"` - - // PythonVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-pythonversion - PythonVersion *types.Value `json:"PythonVersion,omitempty"` - - // ScriptLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-jobcommand.html#cfn-glue-job-jobcommand-scriptlocation - ScriptLocation *types.Value `json:"ScriptLocation,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 *Job_JobCommand) AWSCloudFormationType() string { - return "AWS::Glue::Job.JobCommand" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-job_notificationproperty.go b/pkg/goformation/cloudformation/glue/aws-glue-job_notificationproperty.go deleted file mode 100644 index efc3d3c762..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-job_notificationproperty.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Job_NotificationProperty AWS CloudFormation Resource (AWS::Glue::Job.NotificationProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-notificationproperty.html -type Job_NotificationProperty struct { - - // NotifyDelayAfter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-notificationproperty.html#cfn-glue-job-notificationproperty-notifydelayafter - NotifyDelayAfter *types.Value `json:"NotifyDelayAfter,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 *Job_NotificationProperty) AWSCloudFormationType() string { - return "AWS::Glue::Job.NotificationProperty" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform.go deleted file mode 100644 index c22213b4a7..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform.go +++ /dev/null @@ -1,168 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform AWS CloudFormation Resource (AWS::Glue::MLTransform) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html -type MLTransform struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-description - Description *types.Value `json:"Description,omitempty"` - - // GlueVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-glueversion - GlueVersion *types.Value `json:"GlueVersion,omitempty"` - - // InputRecordTables AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-inputrecordtables - InputRecordTables *MLTransform_InputRecordTables `json:"InputRecordTables,omitempty"` - - // MaxCapacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-maxcapacity - MaxCapacity *types.Value `json:"MaxCapacity,omitempty"` - - // MaxRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-maxretries - MaxRetries *types.Value `json:"MaxRetries,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-name - Name *types.Value `json:"Name,omitempty"` - - // NumberOfWorkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-numberofworkers - NumberOfWorkers *types.Value `json:"NumberOfWorkers,omitempty"` - - // Role AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-role - Role *types.Value `json:"Role,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-tags - Tags interface{} `json:"Tags,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-timeout - Timeout *types.Value `json:"Timeout,omitempty"` - - // TransformEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-transformencryption - TransformEncryption *MLTransform_TransformEncryption `json:"TransformEncryption,omitempty"` - - // TransformParameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-transformparameters - TransformParameters *MLTransform_TransformParameters `json:"TransformParameters,omitempty"` - - // WorkerType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-mltransform.html#cfn-glue-mltransform-workertype - WorkerType *types.Value `json:"WorkerType,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 *MLTransform) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform" -} - -// 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 (r MLTransform) MarshalJSON() ([]byte, error) { - type Properties MLTransform - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MLTransform) UnmarshalJSON(b []byte) error { - type Properties MLTransform - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MLTransform(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_findmatchesparameters.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform_findmatchesparameters.go deleted file mode 100644 index cf1db03fa2..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_findmatchesparameters.go +++ /dev/null @@ -1,52 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform_FindMatchesParameters AWS CloudFormation Resource (AWS::Glue::MLTransform.FindMatchesParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters-findmatchesparameters.html -type MLTransform_FindMatchesParameters struct { - - // AccuracyCostTradeoff AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters-findmatchesparameters.html#cfn-glue-mltransform-transformparameters-findmatchesparameters-accuracycosttradeoff - AccuracyCostTradeoff *types.Value `json:"AccuracyCostTradeoff,omitempty"` - - // EnforceProvidedLabels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters-findmatchesparameters.html#cfn-glue-mltransform-transformparameters-findmatchesparameters-enforceprovidedlabels - EnforceProvidedLabels *types.Value `json:"EnforceProvidedLabels,omitempty"` - - // PrecisionRecallTradeoff AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters-findmatchesparameters.html#cfn-glue-mltransform-transformparameters-findmatchesparameters-precisionrecalltradeoff - PrecisionRecallTradeoff *types.Value `json:"PrecisionRecallTradeoff,omitempty"` - - // PrimaryKeyColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters-findmatchesparameters.html#cfn-glue-mltransform-transformparameters-findmatchesparameters-primarykeycolumnname - PrimaryKeyColumnName *types.Value `json:"PrimaryKeyColumnName,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 *MLTransform_FindMatchesParameters) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.FindMatchesParameters" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_inputrecordtables.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform_inputrecordtables.go deleted file mode 100644 index d3077c98d0..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_inputrecordtables.go +++ /dev/null @@ -1,35 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform_InputRecordTables AWS CloudFormation Resource (AWS::Glue::MLTransform.InputRecordTables) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables.html -type MLTransform_InputRecordTables struct { - - // GlueTables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables.html#cfn-glue-mltransform-inputrecordtables-gluetables - GlueTables []MLTransform_GlueTables `json:"GlueTables,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 *MLTransform_InputRecordTables) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.InputRecordTables" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_mluserdataencryption.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform_mluserdataencryption.go deleted file mode 100644 index 33f536d3b7..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_mluserdataencryption.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform_MLUserDataEncryption AWS CloudFormation Resource (AWS::Glue::MLTransform.MLUserDataEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption-mluserdataencryption.html -type MLTransform_MLUserDataEncryption struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption-mluserdataencryption.html#cfn-glue-mltransform-transformencryption-mluserdataencryption-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MLUserDataEncryptionMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption-mluserdataencryption.html#cfn-glue-mltransform-transformencryption-mluserdataencryption-mluserdataencryptionmode - MLUserDataEncryptionMode *types.Value `json:"MLUserDataEncryptionMode,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 *MLTransform_MLUserDataEncryption) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.MLUserDataEncryption" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformencryption.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformencryption.go deleted file mode 100644 index 548aab45ce..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformencryption.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform_TransformEncryption AWS CloudFormation Resource (AWS::Glue::MLTransform.TransformEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption.html -type MLTransform_TransformEncryption struct { - - // MLUserDataEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption.html#cfn-glue-mltransform-transformencryption-mluserdataencryption - MLUserDataEncryption *MLTransform_MLUserDataEncryption `json:"MLUserDataEncryption,omitempty"` - - // TaskRunSecurityConfigurationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformencryption.html#cfn-glue-mltransform-transformencryption-taskrunsecurityconfigurationname - TaskRunSecurityConfigurationName *types.Value `json:"TaskRunSecurityConfigurationName,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 *MLTransform_TransformEncryption) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.TransformEncryption" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformparameters.go b/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformparameters.go deleted file mode 100644 index 86d5d89a38..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_transformparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MLTransform_TransformParameters AWS CloudFormation Resource (AWS::Glue::MLTransform.TransformParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters.html -type MLTransform_TransformParameters struct { - - // FindMatchesParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters.html#cfn-glue-mltransform-transformparameters-findmatchesparameters - FindMatchesParameters *MLTransform_FindMatchesParameters `json:"FindMatchesParameters,omitempty"` - - // TransformType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-transformparameters.html#cfn-glue-mltransform-transformparameters-transformtype - TransformType *types.Value `json:"TransformType,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 *MLTransform_TransformParameters) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.TransformParameters" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition.go b/pkg/goformation/cloudformation/glue/aws-glue-partition.go deleted file mode 100644 index dc158ee1b0..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition.go +++ /dev/null @@ -1,123 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition AWS CloudFormation Resource (AWS::Glue::Partition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html -type Partition struct { - - // CatalogId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html#cfn-glue-partition-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html#cfn-glue-partition-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // PartitionInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html#cfn-glue-partition-partitioninput - PartitionInput *Partition_PartitionInput `json:"PartitionInput,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.html#cfn-glue-partition-tablename - TableName *types.Value `json:"TableName,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 *Partition) AWSCloudFormationType() string { - return "AWS::Glue::Partition" -} - -// 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 (r Partition) MarshalJSON() ([]byte, error) { - type Properties Partition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Partition) UnmarshalJSON(b []byte) error { - type Properties Partition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Partition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_column.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_column.go deleted file mode 100644 index 371e463a79..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_column.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_Column AWS CloudFormation Resource (AWS::Glue::Partition.Column) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-column.html -type Partition_Column struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-column.html#cfn-glue-partition-column-comment - Comment *types.Value `json:"Comment,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-column.html#cfn-glue-partition-column-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-column.html#cfn-glue-partition-column-type - Type *types.Value `json:"Type,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 *Partition_Column) AWSCloudFormationType() string { - return "AWS::Glue::Partition.Column" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_order.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_order.go deleted file mode 100644 index 12b05d58cf..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_order.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_Order AWS CloudFormation Resource (AWS::Glue::Partition.Order) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-order.html -type Partition_Order struct { - - // Column AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-order.html#cfn-glue-partition-order-column - Column *types.Value `json:"Column,omitempty"` - - // SortOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-order.html#cfn-glue-partition-order-sortorder - SortOrder *types.Value `json:"SortOrder,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 *Partition_Order) AWSCloudFormationType() string { - return "AWS::Glue::Partition.Order" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_partitioninput.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_partitioninput.go deleted file mode 100644 index 438dbe0b73..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_partitioninput.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_PartitionInput AWS CloudFormation Resource (AWS::Glue::Partition.PartitionInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-partitioninput.html -type Partition_PartitionInput struct { - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-partitioninput.html#cfn-glue-partition-partitioninput-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // StorageDescriptor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-partitioninput.html#cfn-glue-partition-partitioninput-storagedescriptor - StorageDescriptor *Partition_StorageDescriptor `json:"StorageDescriptor,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-partitioninput.html#cfn-glue-partition-partitioninput-values - Values *types.Value `json:"Values,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 *Partition_PartitionInput) AWSCloudFormationType() string { - return "AWS::Glue::Partition.PartitionInput" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_schemaid.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_schemaid.go deleted file mode 100644 index cf711a9de1..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_schemaid.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_SchemaId AWS CloudFormation Resource (AWS::Glue::Partition.SchemaId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemaid.html -type Partition_SchemaId struct { - - // RegistryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemaid.html#cfn-glue-partition-schemaid-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // SchemaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemaid.html#cfn-glue-partition-schemaid-schemaarn - SchemaArn *types.Value `json:"SchemaArn,omitempty"` - - // SchemaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemaid.html#cfn-glue-partition-schemaid-schemaname - SchemaName *types.Value `json:"SchemaName,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 *Partition_SchemaId) AWSCloudFormationType() string { - return "AWS::Glue::Partition.SchemaId" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_schemareference.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_schemareference.go deleted file mode 100644 index 25ac60eae0..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_schemareference.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_SchemaReference AWS CloudFormation Resource (AWS::Glue::Partition.SchemaReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemareference.html -type Partition_SchemaReference struct { - - // SchemaId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemareference.html#cfn-glue-partition-schemareference-schemaid - SchemaId *Partition_SchemaId `json:"SchemaId,omitempty"` - - // SchemaVersionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemareference.html#cfn-glue-partition-schemareference-schemaversionid - SchemaVersionId *types.Value `json:"SchemaVersionId,omitempty"` - - // SchemaVersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-schemareference.html#cfn-glue-partition-schemareference-schemaversionnumber - SchemaVersionNumber *types.Value `json:"SchemaVersionNumber,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 *Partition_SchemaReference) AWSCloudFormationType() string { - return "AWS::Glue::Partition.SchemaReference" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_serdeinfo.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_serdeinfo.go deleted file mode 100644 index 268e474997..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_serdeinfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_SerdeInfo AWS CloudFormation Resource (AWS::Glue::Partition.SerdeInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-serdeinfo.html -type Partition_SerdeInfo struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-serdeinfo.html#cfn-glue-partition-serdeinfo-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-serdeinfo.html#cfn-glue-partition-serdeinfo-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // SerializationLibrary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-serdeinfo.html#cfn-glue-partition-serdeinfo-serializationlibrary - SerializationLibrary *types.Value `json:"SerializationLibrary,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 *Partition_SerdeInfo) AWSCloudFormationType() string { - return "AWS::Glue::Partition.SerdeInfo" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_skewedinfo.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_skewedinfo.go deleted file mode 100644 index 802deda8c2..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_skewedinfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_SkewedInfo AWS CloudFormation Resource (AWS::Glue::Partition.SkewedInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-skewedinfo.html -type Partition_SkewedInfo struct { - - // SkewedColumnNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-skewedinfo.html#cfn-glue-partition-skewedinfo-skewedcolumnnames - SkewedColumnNames *types.Value `json:"SkewedColumnNames,omitempty"` - - // SkewedColumnValueLocationMaps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-skewedinfo.html#cfn-glue-partition-skewedinfo-skewedcolumnvaluelocationmaps - SkewedColumnValueLocationMaps interface{} `json:"SkewedColumnValueLocationMaps,omitempty"` - - // SkewedColumnValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-skewedinfo.html#cfn-glue-partition-skewedinfo-skewedcolumnvalues - SkewedColumnValues *types.Value `json:"SkewedColumnValues,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 *Partition_SkewedInfo) AWSCloudFormationType() string { - return "AWS::Glue::Partition.SkewedInfo" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-partition_storagedescriptor.go b/pkg/goformation/cloudformation/glue/aws-glue-partition_storagedescriptor.go deleted file mode 100644 index cd3ebfacfa..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-partition_storagedescriptor.go +++ /dev/null @@ -1,97 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Partition_StorageDescriptor AWS CloudFormation Resource (AWS::Glue::Partition.StorageDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html -type Partition_StorageDescriptor struct { - - // BucketColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-bucketcolumns - BucketColumns *types.Value `json:"BucketColumns,omitempty"` - - // Columns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-columns - Columns []Partition_Column `json:"Columns,omitempty"` - - // Compressed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-compressed - Compressed *types.Value `json:"Compressed,omitempty"` - - // InputFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-inputformat - InputFormat *types.Value `json:"InputFormat,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-location - Location *types.Value `json:"Location,omitempty"` - - // NumberOfBuckets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-numberofbuckets - NumberOfBuckets *types.Value `json:"NumberOfBuckets,omitempty"` - - // OutputFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-outputformat - OutputFormat *types.Value `json:"OutputFormat,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // SchemaReference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-schemareference - SchemaReference *Partition_SchemaReference `json:"SchemaReference,omitempty"` - - // SerdeInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-serdeinfo - SerdeInfo *Partition_SerdeInfo `json:"SerdeInfo,omitempty"` - - // SkewedInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-skewedinfo - SkewedInfo *Partition_SkewedInfo `json:"SkewedInfo,omitempty"` - - // SortColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-sortcolumns - SortColumns []Partition_Order `json:"SortColumns,omitempty"` - - // StoredAsSubDirectories AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-partition-storagedescriptor.html#cfn-glue-partition-storagedescriptor-storedassubdirectories - StoredAsSubDirectories *types.Value `json:"StoredAsSubDirectories,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 *Partition_StorageDescriptor) AWSCloudFormationType() string { - return "AWS::Glue::Partition.StorageDescriptor" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schema.go b/pkg/goformation/cloudformation/glue/aws-glue-schema.go deleted file mode 100644 index bb004b666e..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schema.go +++ /dev/null @@ -1,144 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schema AWS CloudFormation Resource (AWS::Glue::Schema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html -type Schema struct { - - // CheckpointVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-checkpointversion - CheckpointVersion *Schema_SchemaVersion `json:"CheckpointVersion,omitempty"` - - // Compatibility AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-compatibility - Compatibility *types.Value `json:"Compatibility,omitempty"` - - // DataFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-dataformat - DataFormat *types.Value `json:"DataFormat,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-name - Name *types.Value `json:"Name,omitempty"` - - // Registry AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-registry - Registry *Schema_Registry `json:"Registry,omitempty"` - - // SchemaDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-schemadefinition - SchemaDefinition *types.Value `json:"SchemaDefinition,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schema.html#cfn-glue-schema-tags - Tags []cloudformation.Tag `json:"Tags,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 *Schema) AWSCloudFormationType() string { - return "AWS::Glue::Schema" -} - -// 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 (r Schema) MarshalJSON() ([]byte, error) { - type Properties Schema - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Schema) UnmarshalJSON(b []byte) error { - type Properties Schema - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Schema(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schema_registry.go b/pkg/goformation/cloudformation/glue/aws-glue-schema_registry.go deleted file mode 100644 index 81d213f7ea..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schema_registry.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schema_Registry AWS CloudFormation Resource (AWS::Glue::Schema.Registry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-registry.html -type Schema_Registry struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-registry.html#cfn-glue-schema-registry-arn - Arn *types.Value `json:"Arn,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-registry.html#cfn-glue-schema-registry-name - Name *types.Value `json:"Name,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 *Schema_Registry) AWSCloudFormationType() string { - return "AWS::Glue::Schema.Registry" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schema_schemaversion.go b/pkg/goformation/cloudformation/glue/aws-glue-schema_schemaversion.go deleted file mode 100644 index d21dc9abdc..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schema_schemaversion.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Schema_SchemaVersion AWS CloudFormation Resource (AWS::Glue::Schema.SchemaVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-schemaversion.html -type Schema_SchemaVersion struct { - - // IsLatest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-schemaversion.html#cfn-glue-schema-schemaversion-islatest - IsLatest *types.Value `json:"IsLatest,omitempty"` - - // VersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schema-schemaversion.html#cfn-glue-schema-schemaversion-versionnumber - VersionNumber *types.Value `json:"VersionNumber,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 *Schema_SchemaVersion) AWSCloudFormationType() string { - return "AWS::Glue::Schema.SchemaVersion" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schemaversion.go b/pkg/goformation/cloudformation/glue/aws-glue-schemaversion.go deleted file mode 100644 index 932c04dcde..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schemaversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchemaVersion AWS CloudFormation Resource (AWS::Glue::SchemaVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversion.html -type SchemaVersion struct { - - // Schema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversion.html#cfn-glue-schemaversion-schema - Schema *SchemaVersion_Schema `json:"Schema,omitempty"` - - // SchemaDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversion.html#cfn-glue-schemaversion-schemadefinition - SchemaDefinition *types.Value `json:"SchemaDefinition,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 *SchemaVersion) AWSCloudFormationType() string { - return "AWS::Glue::SchemaVersion" -} - -// 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 (r SchemaVersion) MarshalJSON() ([]byte, error) { - type Properties SchemaVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SchemaVersion) UnmarshalJSON(b []byte) error { - type Properties SchemaVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SchemaVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schemaversion_schema.go b/pkg/goformation/cloudformation/glue/aws-glue-schemaversion_schema.go deleted file mode 100644 index 4d56fbdb8b..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schemaversion_schema.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchemaVersion_Schema AWS CloudFormation Resource (AWS::Glue::SchemaVersion.Schema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schemaversion-schema.html -type SchemaVersion_Schema struct { - - // RegistryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schemaversion-schema.html#cfn-glue-schemaversion-schema-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // SchemaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schemaversion-schema.html#cfn-glue-schemaversion-schema-schemaarn - SchemaArn *types.Value `json:"SchemaArn,omitempty"` - - // SchemaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-schemaversion-schema.html#cfn-glue-schemaversion-schema-schemaname - SchemaName *types.Value `json:"SchemaName,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 *SchemaVersion_Schema) AWSCloudFormationType() string { - return "AWS::Glue::SchemaVersion.Schema" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-schemaversionmetadata.go b/pkg/goformation/cloudformation/glue/aws-glue-schemaversionmetadata.go deleted file mode 100644 index c14b320340..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-schemaversionmetadata.go +++ /dev/null @@ -1,118 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SchemaVersionMetadata AWS CloudFormation Resource (AWS::Glue::SchemaVersionMetadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversionmetadata.html -type SchemaVersionMetadata struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversionmetadata.html#cfn-glue-schemaversionmetadata-key - Key *types.Value `json:"Key,omitempty"` - - // SchemaVersionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversionmetadata.html#cfn-glue-schemaversionmetadata-schemaversionid - SchemaVersionId *types.Value `json:"SchemaVersionId,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-schemaversionmetadata.html#cfn-glue-schemaversionmetadata-value - Value *types.Value `json:"Value,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 *SchemaVersionMetadata) AWSCloudFormationType() string { - return "AWS::Glue::SchemaVersionMetadata" -} - -// 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 (r SchemaVersionMetadata) MarshalJSON() ([]byte, error) { - type Properties SchemaVersionMetadata - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SchemaVersionMetadata) UnmarshalJSON(b []byte) error { - type Properties SchemaVersionMetadata - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SchemaVersionMetadata(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration.go b/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration.go deleted file mode 100644 index 454ab005da..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration.go +++ /dev/null @@ -1,113 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityConfiguration AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-securityconfiguration.html -type SecurityConfiguration struct { - - // EncryptionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-securityconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration - EncryptionConfiguration *SecurityConfiguration_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-securityconfiguration.html#cfn-glue-securityconfiguration-name - Name *types.Value `json:"Name,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 *SecurityConfiguration) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration" -} - -// 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 (r SecurityConfiguration) MarshalJSON() ([]byte, error) { - type Properties SecurityConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecurityConfiguration) UnmarshalJSON(b []byte) error { - type Properties SecurityConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecurityConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_cloudwatchencryption.go b/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_cloudwatchencryption.go deleted file mode 100644 index f99439c5b9..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_cloudwatchencryption.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityConfiguration_CloudWatchEncryption AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration.CloudWatchEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html -type SecurityConfiguration_CloudWatchEncryption struct { - - // CloudWatchEncryptionMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html#cfn-glue-securityconfiguration-cloudwatchencryption-cloudwatchencryptionmode - CloudWatchEncryptionMode *types.Value `json:"CloudWatchEncryptionMode,omitempty"` - - // KmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-cloudwatchencryption.html#cfn-glue-securityconfiguration-cloudwatchencryption-kmskeyarn - KmsKeyArn *types.Value `json:"KmsKeyArn,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 *SecurityConfiguration_CloudWatchEncryption) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration.CloudWatchEncryption" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_encryptionconfiguration.go b/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_encryptionconfiguration.go deleted file mode 100644 index 7408bf04b3..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_encryptionconfiguration.go +++ /dev/null @@ -1,45 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityConfiguration_EncryptionConfiguration AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration.EncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html -type SecurityConfiguration_EncryptionConfiguration struct { - - // CloudWatchEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-cloudwatchencryption - CloudWatchEncryption *SecurityConfiguration_CloudWatchEncryption `json:"CloudWatchEncryption,omitempty"` - - // JobBookmarksEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-jobbookmarksencryption - JobBookmarksEncryption *SecurityConfiguration_JobBookmarksEncryption `json:"JobBookmarksEncryption,omitempty"` - - // S3Encryptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-encryptionconfiguration.html#cfn-glue-securityconfiguration-encryptionconfiguration-s3encryptions - S3Encryptions *SecurityConfiguration_S3Encryptions `json:"S3Encryptions,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 *SecurityConfiguration_EncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration.EncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryptions.go b/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryptions.go deleted file mode 100644 index c7bce7e874..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-securityconfiguration_s3encryptions.go +++ /dev/null @@ -1,30 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityConfiguration_S3Encryptions AWS CloudFormation Resource (AWS::Glue::SecurityConfiguration.S3Encryptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-securityconfiguration-s3encryptions.html -type SecurityConfiguration_S3Encryptions struct { - - // 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 *SecurityConfiguration_S3Encryptions) AWSCloudFormationType() string { - return "AWS::Glue::SecurityConfiguration.S3Encryptions" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table.go b/pkg/goformation/cloudformation/glue/aws-glue-table.go deleted file mode 100644 index 8d2934c8a9..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table.go +++ /dev/null @@ -1,118 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table AWS CloudFormation Resource (AWS::Glue::Table) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html -type Table struct { - - // CatalogId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html#cfn-glue-table-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html#cfn-glue-table-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // TableInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html#cfn-glue-table-tableinput - TableInput *Table_TableInput `json:"TableInput,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 *Table) AWSCloudFormationType() string { - return "AWS::Glue::Table" -} - -// 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 (r Table) MarshalJSON() ([]byte, error) { - type Properties Table - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Table) UnmarshalJSON(b []byte) error { - type Properties Table - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Table(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_column.go b/pkg/goformation/cloudformation/glue/aws-glue-table_column.go deleted file mode 100644 index 33ffac2e15..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_column.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_Column AWS CloudFormation Resource (AWS::Glue::Table.Column) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-column.html -type Table_Column struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-column.html#cfn-glue-table-column-comment - Comment *types.Value `json:"Comment,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-column.html#cfn-glue-table-column-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-column.html#cfn-glue-table-column-type - Type *types.Value `json:"Type,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 *Table_Column) AWSCloudFormationType() string { - return "AWS::Glue::Table.Column" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_order.go b/pkg/goformation/cloudformation/glue/aws-glue-table_order.go deleted file mode 100644 index 5649ceb54c..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_order.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_Order AWS CloudFormation Resource (AWS::Glue::Table.Order) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-order.html -type Table_Order struct { - - // Column AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-order.html#cfn-glue-table-order-column - Column *types.Value `json:"Column,omitempty"` - - // SortOrder AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-order.html#cfn-glue-table-order-sortorder - SortOrder *types.Value `json:"SortOrder"` - - // 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 *Table_Order) AWSCloudFormationType() string { - return "AWS::Glue::Table.Order" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_schemaid.go b/pkg/goformation/cloudformation/glue/aws-glue-table_schemaid.go deleted file mode 100644 index 4d5278ebed..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_schemaid.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_SchemaId AWS CloudFormation Resource (AWS::Glue::Table.SchemaId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemaid.html -type Table_SchemaId struct { - - // RegistryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemaid.html#cfn-glue-table-schemaid-registryname - RegistryName *types.Value `json:"RegistryName,omitempty"` - - // SchemaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemaid.html#cfn-glue-table-schemaid-schemaarn - SchemaArn *types.Value `json:"SchemaArn,omitempty"` - - // SchemaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemaid.html#cfn-glue-table-schemaid-schemaname - SchemaName *types.Value `json:"SchemaName,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 *Table_SchemaId) AWSCloudFormationType() string { - return "AWS::Glue::Table.SchemaId" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_schemareference.go b/pkg/goformation/cloudformation/glue/aws-glue-table_schemareference.go deleted file mode 100644 index ff4d6cb2b9..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_schemareference.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_SchemaReference AWS CloudFormation Resource (AWS::Glue::Table.SchemaReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html -type Table_SchemaReference struct { - - // SchemaId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaid - SchemaId *Table_SchemaId `json:"SchemaId,omitempty"` - - // SchemaVersionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaversionid - SchemaVersionId *types.Value `json:"SchemaVersionId,omitempty"` - - // SchemaVersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-schemareference.html#cfn-glue-table-schemareference-schemaversionnumber - SchemaVersionNumber *types.Value `json:"SchemaVersionNumber,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 *Table_SchemaReference) AWSCloudFormationType() string { - return "AWS::Glue::Table.SchemaReference" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_serdeinfo.go b/pkg/goformation/cloudformation/glue/aws-glue-table_serdeinfo.go deleted file mode 100644 index 780c88f4cd..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_serdeinfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_SerdeInfo AWS CloudFormation Resource (AWS::Glue::Table.SerdeInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-serdeinfo.html -type Table_SerdeInfo struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-serdeinfo.html#cfn-glue-table-serdeinfo-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-serdeinfo.html#cfn-glue-table-serdeinfo-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // SerializationLibrary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-serdeinfo.html#cfn-glue-table-serdeinfo-serializationlibrary - SerializationLibrary *types.Value `json:"SerializationLibrary,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 *Table_SerdeInfo) AWSCloudFormationType() string { - return "AWS::Glue::Table.SerdeInfo" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_storagedescriptor.go b/pkg/goformation/cloudformation/glue/aws-glue-table_storagedescriptor.go deleted file mode 100644 index ae9bb3f289..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_storagedescriptor.go +++ /dev/null @@ -1,97 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_StorageDescriptor AWS CloudFormation Resource (AWS::Glue::Table.StorageDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html -type Table_StorageDescriptor struct { - - // BucketColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-bucketcolumns - BucketColumns *types.Value `json:"BucketColumns,omitempty"` - - // Columns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-columns - Columns []Table_Column `json:"Columns,omitempty"` - - // Compressed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-compressed - Compressed *types.Value `json:"Compressed,omitempty"` - - // InputFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-inputformat - InputFormat *types.Value `json:"InputFormat,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-location - Location *types.Value `json:"Location,omitempty"` - - // NumberOfBuckets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-numberofbuckets - NumberOfBuckets *types.Value `json:"NumberOfBuckets,omitempty"` - - // OutputFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-outputformat - OutputFormat *types.Value `json:"OutputFormat,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // SchemaReference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-schemareference - SchemaReference *Table_SchemaReference `json:"SchemaReference,omitempty"` - - // SerdeInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-serdeinfo - SerdeInfo *Table_SerdeInfo `json:"SerdeInfo,omitempty"` - - // SkewedInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-skewedinfo - SkewedInfo *Table_SkewedInfo `json:"SkewedInfo,omitempty"` - - // SortColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-sortcolumns - SortColumns []Table_Order `json:"SortColumns,omitempty"` - - // StoredAsSubDirectories AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-storagedescriptor.html#cfn-glue-table-storagedescriptor-storedassubdirectories - StoredAsSubDirectories *types.Value `json:"StoredAsSubDirectories,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 *Table_StorageDescriptor) AWSCloudFormationType() string { - return "AWS::Glue::Table.StorageDescriptor" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_tableidentifier.go b/pkg/goformation/cloudformation/glue/aws-glue-table_tableidentifier.go deleted file mode 100644 index d5f7dea99f..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_tableidentifier.go +++ /dev/null @@ -1,47 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_TableIdentifier AWS CloudFormation Resource (AWS::Glue::Table.TableIdentifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html -type Table_TableIdentifier struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html#cfn-glue-table-tableidentifier-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html#cfn-glue-table-tableidentifier-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableidentifier.html#cfn-glue-table-tableidentifier-name - Name *types.Value `json:"Name,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 *Table_TableIdentifier) AWSCloudFormationType() string { - return "AWS::Glue::Table.TableIdentifier" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-table_tableinput.go b/pkg/goformation/cloudformation/glue/aws-glue-table_tableinput.go deleted file mode 100644 index d842106a5f..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-table_tableinput.go +++ /dev/null @@ -1,87 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table_TableInput AWS CloudFormation Resource (AWS::Glue::Table.TableInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html -type Table_TableInput struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-name - Name *types.Value `json:"Name,omitempty"` - - // Owner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-owner - Owner *types.Value `json:"Owner,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // PartitionKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-partitionkeys - PartitionKeys []Table_Column `json:"PartitionKeys,omitempty"` - - // Retention AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-retention - Retention *types.Value `json:"Retention,omitempty"` - - // StorageDescriptor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-storagedescriptor - StorageDescriptor *Table_StorageDescriptor `json:"StorageDescriptor,omitempty"` - - // TableType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-tabletype - TableType *types.Value `json:"TableType,omitempty"` - - // TargetTable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-targettable - TargetTable *Table_TableIdentifier `json:"TargetTable,omitempty"` - - // ViewExpandedText AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-viewexpandedtext - ViewExpandedText *types.Value `json:"ViewExpandedText,omitempty"` - - // ViewOriginalText AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-tableinput.html#cfn-glue-table-tableinput-vieworiginaltext - ViewOriginalText *types.Value `json:"ViewOriginalText,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 *Table_TableInput) AWSCloudFormationType() string { - return "AWS::Glue::Table.TableInput" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-trigger.go b/pkg/goformation/cloudformation/glue/aws-glue-trigger.go deleted file mode 100644 index 119bbdf8c5..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-trigger.go +++ /dev/null @@ -1,148 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trigger AWS CloudFormation Resource (AWS::Glue::Trigger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html -type Trigger struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-actions - Actions []Trigger_Action `json:"Actions,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-name - Name *types.Value `json:"Name,omitempty"` - - // Predicate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-predicate - Predicate *Trigger_Predicate `json:"Predicate,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-schedule - Schedule *types.Value `json:"Schedule,omitempty"` - - // StartOnCreation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-startoncreation - StartOnCreation *types.Value `json:"StartOnCreation,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-tags - Tags interface{} `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-type - Type *types.Value `json:"Type,omitempty"` - - // WorkflowName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html#cfn-glue-trigger-workflowname - WorkflowName *types.Value `json:"WorkflowName,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 *Trigger) AWSCloudFormationType() string { - return "AWS::Glue::Trigger" -} - -// 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 (r Trigger) MarshalJSON() ([]byte, error) { - type Properties Trigger - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Trigger) UnmarshalJSON(b []byte) error { - type Properties Trigger - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Trigger(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-trigger_action.go b/pkg/goformation/cloudformation/glue/aws-glue-trigger_action.go deleted file mode 100644 index 52f393566f..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-trigger_action.go +++ /dev/null @@ -1,62 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trigger_Action AWS CloudFormation Resource (AWS::Glue::Trigger.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html -type Trigger_Action struct { - - // Arguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-arguments - Arguments interface{} `json:"Arguments,omitempty"` - - // CrawlerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-crawlername - CrawlerName *types.Value `json:"CrawlerName,omitempty"` - - // JobName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-jobname - JobName *types.Value `json:"JobName,omitempty"` - - // NotificationProperty AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-notificationproperty - NotificationProperty *Trigger_NotificationProperty `json:"NotificationProperty,omitempty"` - - // SecurityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-securityconfiguration - SecurityConfiguration *types.Value `json:"SecurityConfiguration,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html#cfn-glue-trigger-action-timeout - Timeout *types.Value `json:"Timeout,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 *Trigger_Action) AWSCloudFormationType() string { - return "AWS::Glue::Trigger.Action" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-trigger_notificationproperty.go b/pkg/goformation/cloudformation/glue/aws-glue-trigger_notificationproperty.go deleted file mode 100644 index 7e4faa473d..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-trigger_notificationproperty.go +++ /dev/null @@ -1,37 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trigger_NotificationProperty AWS CloudFormation Resource (AWS::Glue::Trigger.NotificationProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-notificationproperty.html -type Trigger_NotificationProperty struct { - - // NotifyDelayAfter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-notificationproperty.html#cfn-glue-trigger-notificationproperty-notifydelayafter - NotifyDelayAfter *types.Value `json:"NotifyDelayAfter,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 *Trigger_NotificationProperty) AWSCloudFormationType() string { - return "AWS::Glue::Trigger.NotificationProperty" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-trigger_predicate.go b/pkg/goformation/cloudformation/glue/aws-glue-trigger_predicate.go deleted file mode 100644 index c54355715e..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-trigger_predicate.go +++ /dev/null @@ -1,42 +0,0 @@ -package glue - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Trigger_Predicate AWS CloudFormation Resource (AWS::Glue::Trigger.Predicate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html -type Trigger_Predicate struct { - - // Conditions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html#cfn-glue-trigger-predicate-conditions - Conditions []Trigger_Condition `json:"Conditions,omitempty"` - - // Logical AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html#cfn-glue-trigger-predicate-logical - Logical *types.Value `json:"Logical,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 *Trigger_Predicate) AWSCloudFormationType() string { - return "AWS::Glue::Trigger.Predicate" -} diff --git a/pkg/goformation/cloudformation/glue/aws-glue-workflow.go b/pkg/goformation/cloudformation/glue/aws-glue-workflow.go deleted file mode 100644 index 59b989eabc..0000000000 --- a/pkg/goformation/cloudformation/glue/aws-glue-workflow.go +++ /dev/null @@ -1,123 +0,0 @@ -package glue - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workflow AWS CloudFormation Resource (AWS::Glue::Workflow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-workflow.html -type Workflow struct { - - // DefaultRunProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-workflow.html#cfn-glue-workflow-defaultrunproperties - DefaultRunProperties interface{} `json:"DefaultRunProperties,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-workflow.html#cfn-glue-workflow-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-workflow.html#cfn-glue-workflow-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-workflow.html#cfn-glue-workflow-tags - Tags interface{} `json:"Tags,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 *Workflow) AWSCloudFormationType() string { - return "AWS::Glue::Workflow" -} - -// 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 (r Workflow) MarshalJSON() ([]byte, error) { - type Properties Workflow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Workflow) UnmarshalJSON(b []byte) error { - type Properties Workflow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Workflow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition.go deleted file mode 100644 index 4f914d4e48..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorDefinition AWS CloudFormation Resource (AWS::Greengrass::ConnectorDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinition.html -type ConnectorDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinition.html#cfn-greengrass-connectordefinition-initialversion - InitialVersion *ConnectorDefinition_ConnectorDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinition.html#cfn-greengrass-connectordefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinition.html#cfn-greengrass-connectordefinition-tags - Tags interface{} `json:"Tags,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 *ConnectorDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::ConnectorDefinition" -} - -// 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 (r ConnectorDefinition) MarshalJSON() ([]byte, error) { - type Properties ConnectorDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConnectorDefinition) UnmarshalJSON(b []byte) error { - type Properties ConnectorDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConnectorDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connector.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connector.go deleted file mode 100644 index cac3f103ab..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connector.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorDefinition_Connector AWS CloudFormation Resource (AWS::Greengrass::ConnectorDefinition.Connector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html -type ConnectorDefinition_Connector struct { - - // ConnectorArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html#cfn-greengrass-connectordefinition-connector-connectorarn - ConnectorArn *types.Value `json:"ConnectorArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html#cfn-greengrass-connectordefinition-connector-id - Id *types.Value `json:"Id,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connector.html#cfn-greengrass-connectordefinition-connector-parameters - Parameters interface{} `json:"Parameters,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 *ConnectorDefinition_Connector) AWSCloudFormationType() string { - return "AWS::Greengrass::ConnectorDefinition.Connector" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connectordefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connectordefinitionversion.go deleted file mode 100644 index e660332d12..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinition_connectordefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorDefinition_ConnectorDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connectordefinitionversion.html -type ConnectorDefinition_ConnectorDefinitionVersion struct { - - // Connectors AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinition-connectordefinitionversion.html#cfn-greengrass-connectordefinition-connectordefinitionversion-connectors - Connectors []ConnectorDefinition_Connector `json:"Connectors,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 *ConnectorDefinition_ConnectorDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion.go deleted file mode 100644 index fe674dfa81..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::ConnectorDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinitionversion.html -type ConnectorDefinitionVersion struct { - - // ConnectorDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinitionversion.html#cfn-greengrass-connectordefinitionversion-connectordefinitionid - ConnectorDefinitionId *types.Value `json:"ConnectorDefinitionId,omitempty"` - - // Connectors AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-connectordefinitionversion.html#cfn-greengrass-connectordefinitionversion-connectors - Connectors []ConnectorDefinitionVersion_Connector `json:"Connectors,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 *ConnectorDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::ConnectorDefinitionVersion" -} - -// 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 (r ConnectorDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties ConnectorDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConnectorDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties ConnectorDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConnectorDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion_connector.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion_connector.go deleted file mode 100644 index 3fe451baad..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-connectordefinitionversion_connector.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectorDefinitionVersion_Connector AWS CloudFormation Resource (AWS::Greengrass::ConnectorDefinitionVersion.Connector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinitionversion-connector.html -type ConnectorDefinitionVersion_Connector struct { - - // ConnectorArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinitionversion-connector.html#cfn-greengrass-connectordefinitionversion-connector-connectorarn - ConnectorArn *types.Value `json:"ConnectorArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinitionversion-connector.html#cfn-greengrass-connectordefinitionversion-connector-id - Id *types.Value `json:"Id,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-connectordefinitionversion-connector.html#cfn-greengrass-connectordefinitionversion-connector-parameters - Parameters interface{} `json:"Parameters,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 *ConnectorDefinitionVersion_Connector) AWSCloudFormationType() string { - return "AWS::Greengrass::ConnectorDefinitionVersion.Connector" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition.go deleted file mode 100644 index 6ce532c945..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CoreDefinition AWS CloudFormation Resource (AWS::Greengrass::CoreDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html -type CoreDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html#cfn-greengrass-coredefinition-initialversion - InitialVersion *CoreDefinition_CoreDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html#cfn-greengrass-coredefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html#cfn-greengrass-coredefinition-tags - Tags interface{} `json:"Tags,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 *CoreDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::CoreDefinition" -} - -// 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 (r CoreDefinition) MarshalJSON() ([]byte, error) { - type Properties CoreDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CoreDefinition) UnmarshalJSON(b []byte) error { - type Properties CoreDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CoreDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_core.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_core.go deleted file mode 100644 index b7bc98db43..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_core.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CoreDefinition_Core AWS CloudFormation Resource (AWS::Greengrass::CoreDefinition.Core) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html -type CoreDefinition_Core struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html#cfn-greengrass-coredefinition-core-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html#cfn-greengrass-coredefinition-core-id - Id *types.Value `json:"Id,omitempty"` - - // SyncShadow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html#cfn-greengrass-coredefinition-core-syncshadow - SyncShadow *types.Value `json:"SyncShadow,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-core.html#cfn-greengrass-coredefinition-core-thingarn - ThingArn *types.Value `json:"ThingArn,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 *CoreDefinition_Core) AWSCloudFormationType() string { - return "AWS::Greengrass::CoreDefinition.Core" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_coredefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_coredefinitionversion.go deleted file mode 100644 index b1aa00d8a7..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinition_coredefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CoreDefinition_CoreDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::CoreDefinition.CoreDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-coredefinitionversion.html -type CoreDefinition_CoreDefinitionVersion struct { - - // Cores AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinition-coredefinitionversion.html#cfn-greengrass-coredefinition-coredefinitionversion-cores - Cores []CoreDefinition_Core `json:"Cores,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 *CoreDefinition_CoreDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::CoreDefinition.CoreDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion.go deleted file mode 100644 index d4ed317773..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CoreDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::CoreDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinitionversion.html -type CoreDefinitionVersion struct { - - // CoreDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinitionversion.html#cfn-greengrass-coredefinitionversion-coredefinitionid - CoreDefinitionId *types.Value `json:"CoreDefinitionId,omitempty"` - - // Cores AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinitionversion.html#cfn-greengrass-coredefinitionversion-cores - Cores []CoreDefinitionVersion_Core `json:"Cores,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 *CoreDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::CoreDefinitionVersion" -} - -// 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 (r CoreDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties CoreDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CoreDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties CoreDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CoreDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion_core.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion_core.go deleted file mode 100644 index 504bfb40ea..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-coredefinitionversion_core.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CoreDefinitionVersion_Core AWS CloudFormation Resource (AWS::Greengrass::CoreDefinitionVersion.Core) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinitionversion-core.html -type CoreDefinitionVersion_Core struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinitionversion-core.html#cfn-greengrass-coredefinitionversion-core-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinitionversion-core.html#cfn-greengrass-coredefinitionversion-core-id - Id *types.Value `json:"Id,omitempty"` - - // SyncShadow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinitionversion-core.html#cfn-greengrass-coredefinitionversion-core-syncshadow - SyncShadow *types.Value `json:"SyncShadow,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-coredefinitionversion-core.html#cfn-greengrass-coredefinitionversion-core-thingarn - ThingArn *types.Value `json:"ThingArn,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 *CoreDefinitionVersion_Core) AWSCloudFormationType() string { - return "AWS::Greengrass::CoreDefinitionVersion.Core" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition.go deleted file mode 100644 index 6e1c0a251c..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceDefinition AWS CloudFormation Resource (AWS::Greengrass::DeviceDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html -type DeviceDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-initialversion - InitialVersion *DeviceDefinition_DeviceDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinition.html#cfn-greengrass-devicedefinition-tags - Tags interface{} `json:"Tags,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 *DeviceDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::DeviceDefinition" -} - -// 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 (r DeviceDefinition) MarshalJSON() ([]byte, error) { - type Properties DeviceDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeviceDefinition) UnmarshalJSON(b []byte) error { - type Properties DeviceDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeviceDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_device.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_device.go deleted file mode 100644 index c0e64d2a9c..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_device.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceDefinition_Device AWS CloudFormation Resource (AWS::Greengrass::DeviceDefinition.Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html -type DeviceDefinition_Device struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html#cfn-greengrass-devicedefinition-device-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html#cfn-greengrass-devicedefinition-device-id - Id *types.Value `json:"Id,omitempty"` - - // SyncShadow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html#cfn-greengrass-devicedefinition-device-syncshadow - SyncShadow *types.Value `json:"SyncShadow,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-device.html#cfn-greengrass-devicedefinition-device-thingarn - ThingArn *types.Value `json:"ThingArn,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 *DeviceDefinition_Device) AWSCloudFormationType() string { - return "AWS::Greengrass::DeviceDefinition.Device" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_devicedefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_devicedefinitionversion.go deleted file mode 100644 index b42733b1af..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinition_devicedefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceDefinition_DeviceDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-devicedefinitionversion.html -type DeviceDefinition_DeviceDefinitionVersion struct { - - // Devices AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinition-devicedefinitionversion.html#cfn-greengrass-devicedefinition-devicedefinitionversion-devices - Devices []DeviceDefinition_Device `json:"Devices,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 *DeviceDefinition_DeviceDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion.go deleted file mode 100644 index fbbcbdb52e..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::DeviceDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html -type DeviceDefinitionVersion struct { - - // DeviceDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html#cfn-greengrass-devicedefinitionversion-devicedefinitionid - DeviceDefinitionId *types.Value `json:"DeviceDefinitionId,omitempty"` - - // Devices AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-devicedefinitionversion.html#cfn-greengrass-devicedefinitionversion-devices - Devices []DeviceDefinitionVersion_Device `json:"Devices,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 *DeviceDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::DeviceDefinitionVersion" -} - -// 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 (r DeviceDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties DeviceDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeviceDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties DeviceDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeviceDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion_device.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion_device.go deleted file mode 100644 index 6d50820658..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-devicedefinitionversion_device.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceDefinitionVersion_Device AWS CloudFormation Resource (AWS::Greengrass::DeviceDefinitionVersion.Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html -type DeviceDefinitionVersion_Device struct { - - // CertificateArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-id - Id *types.Value `json:"Id,omitempty"` - - // SyncShadow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-syncshadow - SyncShadow *types.Value `json:"SyncShadow,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-devicedefinitionversion-device.html#cfn-greengrass-devicedefinitionversion-device-thingarn - ThingArn *types.Value `json:"ThingArn,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 *DeviceDefinitionVersion_Device) AWSCloudFormationType() string { - return "AWS::Greengrass::DeviceDefinitionVersion.Device" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition.go deleted file mode 100644 index 15c34f4faf..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinition.html -type FunctionDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinition.html#cfn-greengrass-functiondefinition-initialversion - InitialVersion *FunctionDefinition_FunctionDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinition.html#cfn-greengrass-functiondefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinition.html#cfn-greengrass-functiondefinition-tags - Tags interface{} `json:"Tags,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 *FunctionDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition" -} - -// 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 (r FunctionDefinition) MarshalJSON() ([]byte, error) { - type Properties FunctionDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FunctionDefinition) UnmarshalJSON(b []byte) error { - type Properties FunctionDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FunctionDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_defaultconfig.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_defaultconfig.go deleted file mode 100644 index 9c5b4ece0d..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_defaultconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_DefaultConfig AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.DefaultConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-defaultconfig.html -type FunctionDefinition_DefaultConfig struct { - - // Execution AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-defaultconfig.html#cfn-greengrass-functiondefinition-defaultconfig-execution - Execution *FunctionDefinition_Execution `json:"Execution,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 *FunctionDefinition_DefaultConfig) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.DefaultConfig" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_environment.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_environment.go deleted file mode 100644 index 03884c5d77..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_environment.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_Environment AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-environment.html -type FunctionDefinition_Environment struct { - - // AccessSysfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-environment.html#cfn-greengrass-functiondefinition-environment-accesssysfs - AccessSysfs *types.Value `json:"AccessSysfs,omitempty"` - - // Execution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-environment.html#cfn-greengrass-functiondefinition-environment-execution - Execution *FunctionDefinition_Execution `json:"Execution,omitempty"` - - // ResourceAccessPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-environment.html#cfn-greengrass-functiondefinition-environment-resourceaccesspolicies - ResourceAccessPolicies []FunctionDefinition_ResourceAccessPolicy `json:"ResourceAccessPolicies,omitempty"` - - // Variables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-environment.html#cfn-greengrass-functiondefinition-environment-variables - Variables interface{} `json:"Variables,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 *FunctionDefinition_Environment) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.Environment" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_execution.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_execution.go deleted file mode 100644 index 16284ca8e0..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_execution.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_Execution AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.Execution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-execution.html -type FunctionDefinition_Execution struct { - - // IsolationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-execution.html#cfn-greengrass-functiondefinition-execution-isolationmode - IsolationMode *types.Value `json:"IsolationMode,omitempty"` - - // RunAs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-execution.html#cfn-greengrass-functiondefinition-execution-runas - RunAs *FunctionDefinition_RunAs `json:"RunAs,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 *FunctionDefinition_Execution) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.Execution" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_function.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_function.go deleted file mode 100644 index e46831c83c..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_function.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_Function AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.Function) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-function.html -type FunctionDefinition_Function struct { - - // FunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-function.html#cfn-greengrass-functiondefinition-function-functionarn - FunctionArn *types.Value `json:"FunctionArn,omitempty"` - - // FunctionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-function.html#cfn-greengrass-functiondefinition-function-functionconfiguration - FunctionConfiguration *FunctionDefinition_FunctionConfiguration `json:"FunctionConfiguration,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-function.html#cfn-greengrass-functiondefinition-function-id - Id *types.Value `json:"Id,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 *FunctionDefinition_Function) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.Function" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functionconfiguration.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functionconfiguration.go deleted file mode 100644 index 44be078831..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functionconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_FunctionConfiguration AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.FunctionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html -type FunctionDefinition_FunctionConfiguration struct { - - // EncodingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-encodingtype - EncodingType *types.Value `json:"EncodingType,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-environment - Environment *FunctionDefinition_Environment `json:"Environment,omitempty"` - - // ExecArgs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-execargs - ExecArgs *types.Value `json:"ExecArgs,omitempty"` - - // Executable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-executable - Executable *types.Value `json:"Executable,omitempty"` - - // MemorySize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-memorysize - MemorySize *types.Value `json:"MemorySize,omitempty"` - - // Pinned AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-pinned - Pinned *types.Value `json:"Pinned,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functionconfiguration.html#cfn-greengrass-functiondefinition-functionconfiguration-timeout - Timeout *types.Value `json:"Timeout,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 *FunctionDefinition_FunctionConfiguration) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.FunctionConfiguration" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functiondefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functiondefinitionversion.go deleted file mode 100644 index fc614df098..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_functiondefinitionversion.go +++ /dev/null @@ -1,40 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_FunctionDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functiondefinitionversion.html -type FunctionDefinition_FunctionDefinitionVersion struct { - - // DefaultConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functiondefinitionversion.html#cfn-greengrass-functiondefinition-functiondefinitionversion-defaultconfig - DefaultConfig *FunctionDefinition_DefaultConfig `json:"DefaultConfig,omitempty"` - - // Functions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-functiondefinitionversion.html#cfn-greengrass-functiondefinition-functiondefinitionversion-functions - Functions []FunctionDefinition_Function `json:"Functions,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 *FunctionDefinition_FunctionDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_resourceaccesspolicy.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_resourceaccesspolicy.go deleted file mode 100644 index 26ee79ccf2..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_resourceaccesspolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_ResourceAccessPolicy AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html -type FunctionDefinition_ResourceAccessPolicy struct { - - // Permission AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html#cfn-greengrass-functiondefinition-resourceaccesspolicy-permission - Permission *types.Value `json:"Permission,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html#cfn-greengrass-functiondefinition-resourceaccesspolicy-resourceid - ResourceId *types.Value `json:"ResourceId,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 *FunctionDefinition_ResourceAccessPolicy) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_runas.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_runas.go deleted file mode 100644 index 0a0e4091c6..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinition_runas.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinition_RunAs AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinition.RunAs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-runas.html -type FunctionDefinition_RunAs struct { - - // Gid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-runas.html#cfn-greengrass-functiondefinition-runas-gid - Gid *types.Value `json:"Gid,omitempty"` - - // Uid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-runas.html#cfn-greengrass-functiondefinition-runas-uid - Uid *types.Value `json:"Uid,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 *FunctionDefinition_RunAs) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinition.RunAs" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion.go deleted file mode 100644 index 80c5a3a069..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinitionversion.html -type FunctionDefinitionVersion struct { - - // DefaultConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinitionversion.html#cfn-greengrass-functiondefinitionversion-defaultconfig - DefaultConfig *FunctionDefinitionVersion_DefaultConfig `json:"DefaultConfig,omitempty"` - - // FunctionDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinitionversion.html#cfn-greengrass-functiondefinitionversion-functiondefinitionid - FunctionDefinitionId *types.Value `json:"FunctionDefinitionId,omitempty"` - - // Functions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-functiondefinitionversion.html#cfn-greengrass-functiondefinitionversion-functions - Functions []FunctionDefinitionVersion_Function `json:"Functions,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 *FunctionDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion" -} - -// 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 (r FunctionDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties FunctionDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FunctionDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties FunctionDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FunctionDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_defaultconfig.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_defaultconfig.go deleted file mode 100644 index 232a1fce17..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_defaultconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_DefaultConfig AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-defaultconfig.html -type FunctionDefinitionVersion_DefaultConfig struct { - - // Execution AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-defaultconfig.html#cfn-greengrass-functiondefinitionversion-defaultconfig-execution - Execution *FunctionDefinitionVersion_Execution `json:"Execution,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 *FunctionDefinitionVersion_DefaultConfig) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_environment.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_environment.go deleted file mode 100644 index 1ba0bf883e..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_environment.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_Environment AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html -type FunctionDefinitionVersion_Environment struct { - - // AccessSysfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-accesssysfs - AccessSysfs *types.Value `json:"AccessSysfs,omitempty"` - - // Execution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-execution - Execution *FunctionDefinitionVersion_Execution `json:"Execution,omitempty"` - - // ResourceAccessPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-resourceaccesspolicies - ResourceAccessPolicies []FunctionDefinitionVersion_ResourceAccessPolicy `json:"ResourceAccessPolicies,omitempty"` - - // Variables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html#cfn-greengrass-functiondefinitionversion-environment-variables - Variables interface{} `json:"Variables,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 *FunctionDefinitionVersion_Environment) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.Environment" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_execution.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_execution.go deleted file mode 100644 index efc4bb06d6..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_execution.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_Execution AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.Execution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-execution.html -type FunctionDefinitionVersion_Execution struct { - - // IsolationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-execution.html#cfn-greengrass-functiondefinitionversion-execution-isolationmode - IsolationMode *types.Value `json:"IsolationMode,omitempty"` - - // RunAs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-execution.html#cfn-greengrass-functiondefinitionversion-execution-runas - RunAs *FunctionDefinitionVersion_RunAs `json:"RunAs,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 *FunctionDefinitionVersion_Execution) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.Execution" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_function.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_function.go deleted file mode 100644 index 6dfd15ad11..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_function.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_Function AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.Function) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html -type FunctionDefinitionVersion_Function struct { - - // FunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-functionarn - FunctionArn *types.Value `json:"FunctionArn,omitempty"` - - // FunctionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-functionconfiguration - FunctionConfiguration *FunctionDefinitionVersion_FunctionConfiguration `json:"FunctionConfiguration,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-function.html#cfn-greengrass-functiondefinitionversion-function-id - Id *types.Value `json:"Id,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 *FunctionDefinitionVersion_Function) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.Function" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_functionconfiguration.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_functionconfiguration.go deleted file mode 100644 index 958c02e04b..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_functionconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_FunctionConfiguration AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html -type FunctionDefinitionVersion_FunctionConfiguration struct { - - // EncodingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-encodingtype - EncodingType *types.Value `json:"EncodingType,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-environment - Environment *FunctionDefinitionVersion_Environment `json:"Environment,omitempty"` - - // ExecArgs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-execargs - ExecArgs *types.Value `json:"ExecArgs,omitempty"` - - // Executable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-executable - Executable *types.Value `json:"Executable,omitempty"` - - // MemorySize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-memorysize - MemorySize *types.Value `json:"MemorySize,omitempty"` - - // Pinned AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-pinned - Pinned *types.Value `json:"Pinned,omitempty"` - - // Timeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-functionconfiguration.html#cfn-greengrass-functiondefinitionversion-functionconfiguration-timeout - Timeout *types.Value `json:"Timeout,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 *FunctionDefinitionVersion_FunctionConfiguration) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_resourceaccesspolicy.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_resourceaccesspolicy.go deleted file mode 100644 index 512869eb11..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_resourceaccesspolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FunctionDefinitionVersion_ResourceAccessPolicy AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-resourceaccesspolicy.html -type FunctionDefinitionVersion_ResourceAccessPolicy struct { - - // Permission AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-resourceaccesspolicy.html#cfn-greengrass-functiondefinitionversion-resourceaccesspolicy-permission - Permission *types.Value `json:"Permission,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-resourceaccesspolicy.html#cfn-greengrass-functiondefinitionversion-resourceaccesspolicy-resourceid - ResourceId *types.Value `json:"ResourceId,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 *FunctionDefinitionVersion_ResourceAccessPolicy) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-group.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-group.go deleted file mode 100644 index 7b44f41308..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-group.go +++ /dev/null @@ -1,123 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group AWS CloudFormation Resource (AWS::Greengrass::Group) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html -type Group struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-initialversion - InitialVersion *Group_GroupVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html#cfn-greengrass-group-tags - Tags interface{} `json:"Tags,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 *Group) AWSCloudFormationType() string { - return "AWS::Greengrass::Group" -} - -// 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 (r Group) MarshalJSON() ([]byte, error) { - type Properties Group - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Group) UnmarshalJSON(b []byte) error { - type Properties Group - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Group(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-group_groupversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-group_groupversion.go deleted file mode 100644 index e765789071..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-group_groupversion.go +++ /dev/null @@ -1,67 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_GroupVersion AWS CloudFormation Resource (AWS::Greengrass::Group.GroupVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html -type Group_GroupVersion struct { - - // ConnectorDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-connectordefinitionversionarn - ConnectorDefinitionVersionArn *types.Value `json:"ConnectorDefinitionVersionArn,omitempty"` - - // CoreDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-coredefinitionversionarn - CoreDefinitionVersionArn *types.Value `json:"CoreDefinitionVersionArn,omitempty"` - - // DeviceDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-devicedefinitionversionarn - DeviceDefinitionVersionArn *types.Value `json:"DeviceDefinitionVersionArn,omitempty"` - - // FunctionDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-functiondefinitionversionarn - FunctionDefinitionVersionArn *types.Value `json:"FunctionDefinitionVersionArn,omitempty"` - - // LoggerDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-loggerdefinitionversionarn - LoggerDefinitionVersionArn *types.Value `json:"LoggerDefinitionVersionArn,omitempty"` - - // ResourceDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-resourcedefinitionversionarn - ResourceDefinitionVersionArn *types.Value `json:"ResourceDefinitionVersionArn,omitempty"` - - // SubscriptionDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-group-groupversion.html#cfn-greengrass-group-groupversion-subscriptiondefinitionversionarn - SubscriptionDefinitionVersionArn *types.Value `json:"SubscriptionDefinitionVersionArn,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 *Group_GroupVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::Group.GroupVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-groupversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-groupversion.go deleted file mode 100644 index 52c3f56731..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-groupversion.go +++ /dev/null @@ -1,143 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GroupVersion AWS CloudFormation Resource (AWS::Greengrass::GroupVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html -type GroupVersion struct { - - // ConnectorDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-connectordefinitionversionarn - ConnectorDefinitionVersionArn *types.Value `json:"ConnectorDefinitionVersionArn,omitempty"` - - // CoreDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-coredefinitionversionarn - CoreDefinitionVersionArn *types.Value `json:"CoreDefinitionVersionArn,omitempty"` - - // DeviceDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-devicedefinitionversionarn - DeviceDefinitionVersionArn *types.Value `json:"DeviceDefinitionVersionArn,omitempty"` - - // FunctionDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-functiondefinitionversionarn - FunctionDefinitionVersionArn *types.Value `json:"FunctionDefinitionVersionArn,omitempty"` - - // GroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-groupid - GroupId *types.Value `json:"GroupId,omitempty"` - - // LoggerDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-loggerdefinitionversionarn - LoggerDefinitionVersionArn *types.Value `json:"LoggerDefinitionVersionArn,omitempty"` - - // ResourceDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-resourcedefinitionversionarn - ResourceDefinitionVersionArn *types.Value `json:"ResourceDefinitionVersionArn,omitempty"` - - // SubscriptionDefinitionVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-groupversion.html#cfn-greengrass-groupversion-subscriptiondefinitionversionarn - SubscriptionDefinitionVersionArn *types.Value `json:"SubscriptionDefinitionVersionArn,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 *GroupVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::GroupVersion" -} - -// 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 (r GroupVersion) MarshalJSON() ([]byte, error) { - type Properties GroupVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GroupVersion) UnmarshalJSON(b []byte) error { - type Properties GroupVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GroupVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition.go deleted file mode 100644 index 8fc39dfd3d..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggerDefinition AWS CloudFormation Resource (AWS::Greengrass::LoggerDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html -type LoggerDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-initialversion - InitialVersion *LoggerDefinition_LoggerDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-tags - Tags interface{} `json:"Tags,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 *LoggerDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::LoggerDefinition" -} - -// 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 (r LoggerDefinition) MarshalJSON() ([]byte, error) { - type Properties LoggerDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LoggerDefinition) UnmarshalJSON(b []byte) error { - type Properties LoggerDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LoggerDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_logger.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_logger.go deleted file mode 100644 index 11f1867598..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_logger.go +++ /dev/null @@ -1,57 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggerDefinition_Logger AWS CloudFormation Resource (AWS::Greengrass::LoggerDefinition.Logger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html -type LoggerDefinition_Logger struct { - - // Component AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html#cfn-greengrass-loggerdefinition-logger-component - Component *types.Value `json:"Component,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html#cfn-greengrass-loggerdefinition-logger-id - Id *types.Value `json:"Id,omitempty"` - - // Level AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html#cfn-greengrass-loggerdefinition-logger-level - Level *types.Value `json:"Level,omitempty"` - - // Space AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html#cfn-greengrass-loggerdefinition-logger-space - Space *types.Value `json:"Space,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html#cfn-greengrass-loggerdefinition-logger-type - Type *types.Value `json:"Type,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 *LoggerDefinition_Logger) AWSCloudFormationType() string { - return "AWS::Greengrass::LoggerDefinition.Logger" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_loggerdefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_loggerdefinitionversion.go deleted file mode 100644 index 28c2b84009..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinition_loggerdefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggerDefinition_LoggerDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-loggerdefinitionversion.html -type LoggerDefinition_LoggerDefinitionVersion struct { - - // Loggers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-loggerdefinitionversion.html#cfn-greengrass-loggerdefinition-loggerdefinitionversion-loggers - Loggers []LoggerDefinition_Logger `json:"Loggers,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 *LoggerDefinition_LoggerDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion.go deleted file mode 100644 index 60acd3e117..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-loggerdefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggerDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::LoggerDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinitionversion.html -type LoggerDefinitionVersion struct { - - // LoggerDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinitionversion.html#cfn-greengrass-loggerdefinitionversion-loggerdefinitionid - LoggerDefinitionId *types.Value `json:"LoggerDefinitionId,omitempty"` - - // Loggers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinitionversion.html#cfn-greengrass-loggerdefinitionversion-loggers - Loggers []LoggerDefinitionVersion_Logger `json:"Loggers,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 *LoggerDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::LoggerDefinitionVersion" -} - -// 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 (r LoggerDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties LoggerDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LoggerDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties LoggerDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LoggerDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition.go deleted file mode 100644 index bb15f22e9a..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html -type ResourceDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html#cfn-greengrass-resourcedefinition-initialversion - InitialVersion *ResourceDefinition_ResourceDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html#cfn-greengrass-resourcedefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinition.html#cfn-greengrass-resourcedefinition-tags - Tags interface{} `json:"Tags,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 *ResourceDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition" -} - -// 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 (r ResourceDefinition) MarshalJSON() ([]byte, error) { - type Properties ResourceDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceDefinition) UnmarshalJSON(b []byte) error { - type Properties ResourceDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_groupownersetting.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_groupownersetting.go deleted file mode 100644 index 3fa179e184..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_groupownersetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_GroupOwnerSetting AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.GroupOwnerSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html -type ResourceDefinition_GroupOwnerSetting struct { - - // AutoAddGroupOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html#cfn-greengrass-resourcedefinition-groupownersetting-autoaddgroupowner - AutoAddGroupOwner *types.Value `json:"AutoAddGroupOwner"` - - // GroupOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-groupownersetting.html#cfn-greengrass-resourcedefinition-groupownersetting-groupowner - GroupOwner *types.Value `json:"GroupOwner,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 *ResourceDefinition_GroupOwnerSetting) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localdeviceresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localdeviceresourcedata.go deleted file mode 100644 index bdda8de122..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localdeviceresourcedata.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_LocalDeviceResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localdeviceresourcedata.html -type ResourceDefinition_LocalDeviceResourceData struct { - - // GroupOwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localdeviceresourcedata.html#cfn-greengrass-resourcedefinition-localdeviceresourcedata-groupownersetting - GroupOwnerSetting *ResourceDefinition_GroupOwnerSetting `json:"GroupOwnerSetting,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localdeviceresourcedata.html#cfn-greengrass-resourcedefinition-localdeviceresourcedata-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *ResourceDefinition_LocalDeviceResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localvolumeresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localvolumeresourcedata.go deleted file mode 100644 index 36b6f6845e..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_localvolumeresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_LocalVolumeResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html -type ResourceDefinition_LocalVolumeResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // GroupOwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-groupownersetting - GroupOwnerSetting *ResourceDefinition_GroupOwnerSetting `json:"GroupOwnerSetting,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-localvolumeresourcedata.html#cfn-greengrass-resourcedefinition-localvolumeresourcedata-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *ResourceDefinition_LocalVolumeResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedatacontainer.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedatacontainer.go deleted file mode 100644 index 4aceae592d..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedatacontainer.go +++ /dev/null @@ -1,55 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_ResourceDataContainer AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.ResourceDataContainer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html -type ResourceDefinition_ResourceDataContainer struct { - - // LocalDeviceResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html#cfn-greengrass-resourcedefinition-resourcedatacontainer-localdeviceresourcedata - LocalDeviceResourceData *ResourceDefinition_LocalDeviceResourceData `json:"LocalDeviceResourceData,omitempty"` - - // LocalVolumeResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html#cfn-greengrass-resourcedefinition-resourcedatacontainer-localvolumeresourcedata - LocalVolumeResourceData *ResourceDefinition_LocalVolumeResourceData `json:"LocalVolumeResourceData,omitempty"` - - // S3MachineLearningModelResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html#cfn-greengrass-resourcedefinition-resourcedatacontainer-s3machinelearningmodelresourcedata - S3MachineLearningModelResourceData *ResourceDefinition_S3MachineLearningModelResourceData `json:"S3MachineLearningModelResourceData,omitempty"` - - // SageMakerMachineLearningModelResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html#cfn-greengrass-resourcedefinition-resourcedatacontainer-sagemakermachinelearningmodelresourcedata - SageMakerMachineLearningModelResourceData *ResourceDefinition_SageMakerMachineLearningModelResourceData `json:"SageMakerMachineLearningModelResourceData,omitempty"` - - // SecretsManagerSecretResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedatacontainer.html#cfn-greengrass-resourcedefinition-resourcedatacontainer-secretsmanagersecretresourcedata - SecretsManagerSecretResourceData *ResourceDefinition_SecretsManagerSecretResourceData `json:"SecretsManagerSecretResourceData,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 *ResourceDefinition_ResourceDataContainer) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.ResourceDataContainer" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedefinitionversion.go deleted file mode 100644 index 560757e6aa..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_ResourceDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedefinitionversion.html -type ResourceDefinition_ResourceDefinitionVersion struct { - - // Resources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedefinitionversion.html#cfn-greengrass-resourcedefinition-resourcedefinitionversion-resources - Resources []ResourceDefinition_ResourceInstance `json:"Resources,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 *ResourceDefinition_ResourceDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedownloadownersetting.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedownloadownersetting.go deleted file mode 100644 index caf0a264a2..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourcedownloadownersetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_ResourceDownloadOwnerSetting AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedownloadownersetting.html -type ResourceDefinition_ResourceDownloadOwnerSetting struct { - - // GroupOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedownloadownersetting.html#cfn-greengrass-resourcedefinition-resourcedownloadownersetting-groupowner - GroupOwner *types.Value `json:"GroupOwner,omitempty"` - - // GroupPermission AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourcedownloadownersetting.html#cfn-greengrass-resourcedefinition-resourcedownloadownersetting-grouppermission - GroupPermission *types.Value `json:"GroupPermission,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 *ResourceDefinition_ResourceDownloadOwnerSetting) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourceinstance.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourceinstance.go deleted file mode 100644 index e4260a715d..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_resourceinstance.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_ResourceInstance AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.ResourceInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html -type ResourceDefinition_ResourceInstance struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html#cfn-greengrass-resourcedefinition-resourceinstance-id - Id *types.Value `json:"Id,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html#cfn-greengrass-resourcedefinition-resourceinstance-name - Name *types.Value `json:"Name,omitempty"` - - // ResourceDataContainer AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-resourceinstance.html#cfn-greengrass-resourcedefinition-resourceinstance-resourcedatacontainer - ResourceDataContainer *ResourceDefinition_ResourceDataContainer `json:"ResourceDataContainer,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 *ResourceDefinition_ResourceInstance) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.ResourceInstance" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_s3machinelearningmodelresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_s3machinelearningmodelresourcedata.go deleted file mode 100644 index 64d733dd89..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_s3machinelearningmodelresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_S3MachineLearningModelResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html -type ResourceDefinition_S3MachineLearningModelResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-s3machinelearningmodelresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // OwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-s3machinelearningmodelresourcedata-ownersetting - OwnerSetting *ResourceDefinition_ResourceDownloadOwnerSetting `json:"OwnerSetting,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-s3machinelearningmodelresourcedata-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ResourceDefinition_S3MachineLearningModelResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_sagemakermachinelearningmodelresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_sagemakermachinelearningmodelresourcedata.go deleted file mode 100644 index b8be556069..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_sagemakermachinelearningmodelresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_SageMakerMachineLearningModelResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html -type ResourceDefinition_SageMakerMachineLearningModelResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // OwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata-ownersetting - OwnerSetting *ResourceDefinition_ResourceDownloadOwnerSetting `json:"OwnerSetting,omitempty"` - - // SageMakerJobArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinition-sagemakermachinelearningmodelresourcedata-sagemakerjobarn - SageMakerJobArn *types.Value `json:"SageMakerJobArn,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 *ResourceDefinition_SageMakerMachineLearningModelResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_secretsmanagersecretresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_secretsmanagersecretresourcedata.go deleted file mode 100644 index 46be18caf1..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinition_secretsmanagersecretresourcedata.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinition_SecretsManagerSecretResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-secretsmanagersecretresourcedata.html -type ResourceDefinition_SecretsManagerSecretResourceData struct { - - // ARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinition-secretsmanagersecretresourcedata-arn - ARN *types.Value `json:"ARN,omitempty"` - - // AdditionalStagingLabelsToDownload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinition-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinition-secretsmanagersecretresourcedata-additionalstaginglabelstodownload - AdditionalStagingLabelsToDownload *types.Value `json:"AdditionalStagingLabelsToDownload,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 *ResourceDefinition_SecretsManagerSecretResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion.go deleted file mode 100644 index 876627e5e1..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinitionversion.html -type ResourceDefinitionVersion struct { - - // ResourceDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinitionversion.html#cfn-greengrass-resourcedefinitionversion-resourcedefinitionid - ResourceDefinitionId *types.Value `json:"ResourceDefinitionId,omitempty"` - - // Resources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-resourcedefinitionversion.html#cfn-greengrass-resourcedefinitionversion-resources - Resources []ResourceDefinitionVersion_ResourceInstance `json:"Resources,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 *ResourceDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion" -} - -// 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 (r ResourceDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties ResourceDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties ResourceDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_groupownersetting.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_groupownersetting.go deleted file mode 100644 index 013ee43899..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_groupownersetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_GroupOwnerSetting AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-groupownersetting.html -type ResourceDefinitionVersion_GroupOwnerSetting struct { - - // AutoAddGroupOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-groupownersetting.html#cfn-greengrass-resourcedefinitionversion-groupownersetting-autoaddgroupowner - AutoAddGroupOwner *types.Value `json:"AutoAddGroupOwner"` - - // GroupOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-groupownersetting.html#cfn-greengrass-resourcedefinitionversion-groupownersetting-groupowner - GroupOwner *types.Value `json:"GroupOwner,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 *ResourceDefinitionVersion_GroupOwnerSetting) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localdeviceresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localdeviceresourcedata.go deleted file mode 100644 index b334d3b381..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localdeviceresourcedata.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_LocalDeviceResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html -type ResourceDefinitionVersion_LocalDeviceResourceData struct { - - // GroupOwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html#cfn-greengrass-resourcedefinitionversion-localdeviceresourcedata-groupownersetting - GroupOwnerSetting *ResourceDefinitionVersion_GroupOwnerSetting `json:"GroupOwnerSetting,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localdeviceresourcedata.html#cfn-greengrass-resourcedefinitionversion-localdeviceresourcedata-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *ResourceDefinitionVersion_LocalDeviceResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localvolumeresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localvolumeresourcedata.go deleted file mode 100644 index b290176a9f..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_localvolumeresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_LocalVolumeResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.html -type ResourceDefinitionVersion_LocalVolumeResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.html#cfn-greengrass-resourcedefinitionversion-localvolumeresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // GroupOwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.html#cfn-greengrass-resourcedefinitionversion-localvolumeresourcedata-groupownersetting - GroupOwnerSetting *ResourceDefinitionVersion_GroupOwnerSetting `json:"GroupOwnerSetting,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-localvolumeresourcedata.html#cfn-greengrass-resourcedefinitionversion-localvolumeresourcedata-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *ResourceDefinitionVersion_LocalVolumeResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedatacontainer.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedatacontainer.go deleted file mode 100644 index 4504215b92..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedatacontainer.go +++ /dev/null @@ -1,55 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_ResourceDataContainer AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html -type ResourceDefinitionVersion_ResourceDataContainer struct { - - // LocalDeviceResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html#cfn-greengrass-resourcedefinitionversion-resourcedatacontainer-localdeviceresourcedata - LocalDeviceResourceData *ResourceDefinitionVersion_LocalDeviceResourceData `json:"LocalDeviceResourceData,omitempty"` - - // LocalVolumeResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html#cfn-greengrass-resourcedefinitionversion-resourcedatacontainer-localvolumeresourcedata - LocalVolumeResourceData *ResourceDefinitionVersion_LocalVolumeResourceData `json:"LocalVolumeResourceData,omitempty"` - - // S3MachineLearningModelResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html#cfn-greengrass-resourcedefinitionversion-resourcedatacontainer-s3machinelearningmodelresourcedata - S3MachineLearningModelResourceData *ResourceDefinitionVersion_S3MachineLearningModelResourceData `json:"S3MachineLearningModelResourceData,omitempty"` - - // SageMakerMachineLearningModelResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html#cfn-greengrass-resourcedefinitionversion-resourcedatacontainer-sagemakermachinelearningmodelresourcedata - SageMakerMachineLearningModelResourceData *ResourceDefinitionVersion_SageMakerMachineLearningModelResourceData `json:"SageMakerMachineLearningModelResourceData,omitempty"` - - // SecretsManagerSecretResourceData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedatacontainer.html#cfn-greengrass-resourcedefinitionversion-resourcedatacontainer-secretsmanagersecretresourcedata - SecretsManagerSecretResourceData *ResourceDefinitionVersion_SecretsManagerSecretResourceData `json:"SecretsManagerSecretResourceData,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 *ResourceDefinitionVersion_ResourceDataContainer) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedownloadownersetting.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedownloadownersetting.go deleted file mode 100644 index 57b65b26dd..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourcedownloadownersetting.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_ResourceDownloadOwnerSetting AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedownloadownersetting.html -type ResourceDefinitionVersion_ResourceDownloadOwnerSetting struct { - - // GroupOwner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedownloadownersetting.html#cfn-greengrass-resourcedefinitionversion-resourcedownloadownersetting-groupowner - GroupOwner *types.Value `json:"GroupOwner,omitempty"` - - // GroupPermission AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourcedownloadownersetting.html#cfn-greengrass-resourcedefinitionversion-resourcedownloadownersetting-grouppermission - GroupPermission *types.Value `json:"GroupPermission,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 *ResourceDefinitionVersion_ResourceDownloadOwnerSetting) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourceinstance.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourceinstance.go deleted file mode 100644 index d58f0dcdeb..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_resourceinstance.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_ResourceInstance AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html -type ResourceDefinitionVersion_ResourceInstance struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html#cfn-greengrass-resourcedefinitionversion-resourceinstance-id - Id *types.Value `json:"Id,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html#cfn-greengrass-resourcedefinitionversion-resourceinstance-name - Name *types.Value `json:"Name,omitempty"` - - // ResourceDataContainer AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html#cfn-greengrass-resourcedefinitionversion-resourceinstance-resourcedatacontainer - ResourceDataContainer *ResourceDefinitionVersion_ResourceDataContainer `json:"ResourceDataContainer,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 *ResourceDefinitionVersion_ResourceInstance) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_s3machinelearningmodelresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_s3machinelearningmodelresourcedata.go deleted file mode 100644 index 5d355613d2..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_s3machinelearningmodelresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_S3MachineLearningModelResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html -type ResourceDefinitionVersion_S3MachineLearningModelResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // OwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-ownersetting - OwnerSetting *ResourceDefinitionVersion_ResourceDownloadOwnerSetting `json:"OwnerSetting,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-s3machinelearningmodelresourcedata-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ResourceDefinitionVersion_S3MachineLearningModelResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_sagemakermachinelearningmodelresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_sagemakermachinelearningmodelresourcedata.go deleted file mode 100644 index a10edb62e0..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_sagemakermachinelearningmodelresourcedata.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_SageMakerMachineLearningModelResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata.html -type ResourceDefinitionVersion_SageMakerMachineLearningModelResourceData struct { - - // DestinationPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // OwnerSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata-ownersetting - OwnerSetting *ResourceDefinitionVersion_ResourceDownloadOwnerSetting `json:"OwnerSetting,omitempty"` - - // SageMakerJobArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata.html#cfn-greengrass-resourcedefinitionversion-sagemakermachinelearningmodelresourcedata-sagemakerjobarn - SageMakerJobArn *types.Value `json:"SageMakerJobArn,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 *ResourceDefinitionVersion_SageMakerMachineLearningModelResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_secretsmanagersecretresourcedata.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_secretsmanagersecretresourcedata.go deleted file mode 100644 index 00c83b5aec..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-resourcedefinitionversion_secretsmanagersecretresourcedata.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDefinitionVersion_SecretsManagerSecretResourceData AWS CloudFormation Resource (AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html -type ResourceDefinitionVersion_SecretsManagerSecretResourceData struct { - - // ARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-arn - ARN *types.Value `json:"ARN,omitempty"` - - // AdditionalStagingLabelsToDownload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata.html#cfn-greengrass-resourcedefinitionversion-secretsmanagersecretresourcedata-additionalstaginglabelstodownload - AdditionalStagingLabelsToDownload *types.Value `json:"AdditionalStagingLabelsToDownload,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 *ResourceDefinitionVersion_SecretsManagerSecretResourceData) AWSCloudFormationType() string { - return "AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition.go deleted file mode 100644 index 82d07a7de3..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionDefinition AWS CloudFormation Resource (AWS::Greengrass::SubscriptionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinition.html -type SubscriptionDefinition struct { - - // InitialVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinition.html#cfn-greengrass-subscriptiondefinition-initialversion - InitialVersion *SubscriptionDefinition_SubscriptionDefinitionVersion `json:"InitialVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinition.html#cfn-greengrass-subscriptiondefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinition.html#cfn-greengrass-subscriptiondefinition-tags - Tags interface{} `json:"Tags,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 *SubscriptionDefinition) AWSCloudFormationType() string { - return "AWS::Greengrass::SubscriptionDefinition" -} - -// 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 (r SubscriptionDefinition) MarshalJSON() ([]byte, error) { - type Properties SubscriptionDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubscriptionDefinition) UnmarshalJSON(b []byte) error { - type Properties SubscriptionDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubscriptionDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscription.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscription.go deleted file mode 100644 index 198f3cb67c..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscription.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionDefinition_Subscription AWS CloudFormation Resource (AWS::Greengrass::SubscriptionDefinition.Subscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html -type SubscriptionDefinition_Subscription struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html#cfn-greengrass-subscriptiondefinition-subscription-id - Id *types.Value `json:"Id,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html#cfn-greengrass-subscriptiondefinition-subscription-source - Source *types.Value `json:"Source,omitempty"` - - // Subject AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html#cfn-greengrass-subscriptiondefinition-subscription-subject - Subject *types.Value `json:"Subject,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html#cfn-greengrass-subscriptiondefinition-subscription-target - Target *types.Value `json:"Target,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 *SubscriptionDefinition_Subscription) AWSCloudFormationType() string { - return "AWS::Greengrass::SubscriptionDefinition.Subscription" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscriptiondefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscriptiondefinitionversion.go deleted file mode 100644 index 216c68caf7..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinition_subscriptiondefinitionversion.go +++ /dev/null @@ -1,35 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionDefinition_SubscriptionDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscriptiondefinitionversion.html -type SubscriptionDefinition_SubscriptionDefinitionVersion struct { - - // Subscriptions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscriptiondefinitionversion.html#cfn-greengrass-subscriptiondefinition-subscriptiondefinitionversion-subscriptions - Subscriptions []SubscriptionDefinition_Subscription `json:"Subscriptions,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 *SubscriptionDefinition_SubscriptionDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion" -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion.go deleted file mode 100644 index beed097044..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package greengrass - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionDefinitionVersion AWS CloudFormation Resource (AWS::Greengrass::SubscriptionDefinitionVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html -type SubscriptionDefinitionVersion struct { - - // SubscriptionDefinitionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html#cfn-greengrass-subscriptiondefinitionversion-subscriptiondefinitionid - SubscriptionDefinitionId *types.Value `json:"SubscriptionDefinitionId,omitempty"` - - // Subscriptions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html#cfn-greengrass-subscriptiondefinitionversion-subscriptions - Subscriptions []SubscriptionDefinitionVersion_Subscription `json:"Subscriptions,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 *SubscriptionDefinitionVersion) AWSCloudFormationType() string { - return "AWS::Greengrass::SubscriptionDefinitionVersion" -} - -// 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 (r SubscriptionDefinitionVersion) MarshalJSON() ([]byte, error) { - type Properties SubscriptionDefinitionVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubscriptionDefinitionVersion) UnmarshalJSON(b []byte) error { - type Properties SubscriptionDefinitionVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubscriptionDefinitionVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion_subscription.go b/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion_subscription.go deleted file mode 100644 index 56b0932f4a..0000000000 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-subscriptiondefinitionversion_subscription.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrass - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionDefinitionVersion_Subscription AWS CloudFormation Resource (AWS::Greengrass::SubscriptionDefinitionVersion.Subscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinitionversion-subscription.html -type SubscriptionDefinitionVersion_Subscription struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinitionversion-subscription.html#cfn-greengrass-subscriptiondefinitionversion-subscription-id - Id *types.Value `json:"Id,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinitionversion-subscription.html#cfn-greengrass-subscriptiondefinitionversion-subscription-source - Source *types.Value `json:"Source,omitempty"` - - // Subject AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinitionversion-subscription.html#cfn-greengrass-subscriptiondefinitionversion-subscription-subject - Subject *types.Value `json:"Subject,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinitionversion-subscription.html#cfn-greengrass-subscriptiondefinitionversion-subscription-target - Target *types.Value `json:"Target,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 *SubscriptionDefinitionVersion_Subscription) AWSCloudFormationType() string { - return "AWS::Greengrass::SubscriptionDefinitionVersion.Subscription" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion.go deleted file mode 100644 index 5926df7cc9..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion.go +++ /dev/null @@ -1,118 +0,0 @@ -package greengrassv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-componentversion.html -type ComponentVersion struct { - - // InlineRecipe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-componentversion.html#cfn-greengrassv2-componentversion-inlinerecipe - InlineRecipe *types.Value `json:"InlineRecipe,omitempty"` - - // LambdaFunction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-componentversion.html#cfn-greengrassv2-componentversion-lambdafunction - LambdaFunction *ComponentVersion_LambdaFunctionRecipeSource `json:"LambdaFunction,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrassv2-componentversion.html#cfn-greengrassv2-componentversion-tags - Tags map[string]*types.Value `json:"Tags,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 *ComponentVersion) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion" -} - -// 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 (r ComponentVersion) MarshalJSON() ([]byte, error) { - type Properties ComponentVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ComponentVersion) UnmarshalJSON(b []byte) error { - type Properties ComponentVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ComponentVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentdependencyrequirement.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentdependencyrequirement.go deleted file mode 100644 index f825693530..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentdependencyrequirement.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_ComponentDependencyRequirement AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html -type ComponentVersion_ComponentDependencyRequirement struct { - - // DependencyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html#cfn-greengrassv2-componentversion-componentdependencyrequirement-dependencytype - DependencyType *types.Value `json:"DependencyType,omitempty"` - - // VersionRequirement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html#cfn-greengrassv2-componentversion-componentdependencyrequirement-versionrequirement - VersionRequirement *types.Value `json:"VersionRequirement,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 *ComponentVersion_ComponentDependencyRequirement) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentplatform.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentplatform.go deleted file mode 100644 index 7dd22b2d8b..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_componentplatform.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_ComponentPlatform AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.ComponentPlatform) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentplatform.html -type ComponentVersion_ComponentPlatform struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentplatform.html#cfn-greengrassv2-componentversion-componentplatform-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentplatform.html#cfn-greengrassv2-componentversion-componentplatform-name - Name *types.Value `json:"Name,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 *ComponentVersion_ComponentPlatform) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.ComponentPlatform" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdacontainerparams.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdacontainerparams.go deleted file mode 100644 index 95467d3b07..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdacontainerparams.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaContainerParams AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaContainerParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdacontainerparams.html -type ComponentVersion_LambdaContainerParams struct { - - // Devices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdacontainerparams.html#cfn-greengrassv2-componentversion-lambdacontainerparams-devices - Devices []ComponentVersion_LambdaDeviceMount `json:"Devices,omitempty"` - - // MemorySizeInKB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdacontainerparams.html#cfn-greengrassv2-componentversion-lambdacontainerparams-memorysizeinkb - MemorySizeInKB *types.Value `json:"MemorySizeInKB,omitempty"` - - // MountROSysfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdacontainerparams.html#cfn-greengrassv2-componentversion-lambdacontainerparams-mountrosysfs - MountROSysfs *types.Value `json:"MountROSysfs,omitempty"` - - // Volumes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdacontainerparams.html#cfn-greengrassv2-componentversion-lambdacontainerparams-volumes - Volumes []ComponentVersion_LambdaVolumeMount `json:"Volumes,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 *ComponentVersion_LambdaContainerParams) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaContainerParams" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdadevicemount.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdadevicemount.go deleted file mode 100644 index 618f0810a8..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdadevicemount.go +++ /dev/null @@ -1,47 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaDeviceMount AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdadevicemount.html -type ComponentVersion_LambdaDeviceMount struct { - - // AddGroupOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdadevicemount.html#cfn-greengrassv2-componentversion-lambdadevicemount-addgroupowner - AddGroupOwner *types.Value `json:"AddGroupOwner,omitempty"` - - // Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdadevicemount.html#cfn-greengrassv2-componentversion-lambdadevicemount-path - Path *types.Value `json:"Path,omitempty"` - - // Permission AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdadevicemount.html#cfn-greengrassv2-componentversion-lambdadevicemount-permission - Permission *types.Value `json:"Permission,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 *ComponentVersion_LambdaDeviceMount) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaeventsource.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaeventsource.go deleted file mode 100644 index 9946cd1549..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaeventsource.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaEventSource AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaEventSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaeventsource.html -type ComponentVersion_LambdaEventSource struct { - - // Topic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaeventsource.html#cfn-greengrassv2-componentversion-lambdaeventsource-topic - Topic *types.Value `json:"Topic,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaeventsource.html#cfn-greengrassv2-componentversion-lambdaeventsource-type - Type *types.Value `json:"Type,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 *ComponentVersion_LambdaEventSource) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaEventSource" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaexecutionparameters.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaexecutionparameters.go deleted file mode 100644 index 905a0a2c38..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdaexecutionparameters.go +++ /dev/null @@ -1,87 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaExecutionParameters AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html -type ComponentVersion_LambdaExecutionParameters struct { - - // EnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-environmentvariables - EnvironmentVariables map[string]*types.Value `json:"EnvironmentVariables,omitempty"` - - // EventSources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-eventsources - EventSources []ComponentVersion_LambdaEventSource `json:"EventSources,omitempty"` - - // ExecArgs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-execargs - ExecArgs *types.Value `json:"ExecArgs,omitempty"` - - // InputPayloadEncodingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-inputpayloadencodingtype - InputPayloadEncodingType *types.Value `json:"InputPayloadEncodingType,omitempty"` - - // LinuxProcessParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-linuxprocessparams - LinuxProcessParams *ComponentVersion_LambdaLinuxProcessParams `json:"LinuxProcessParams,omitempty"` - - // MaxIdleTimeInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-maxidletimeinseconds - MaxIdleTimeInSeconds *types.Value `json:"MaxIdleTimeInSeconds,omitempty"` - - // MaxInstancesCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-maxinstancescount - MaxInstancesCount *types.Value `json:"MaxInstancesCount,omitempty"` - - // MaxQueueSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-maxqueuesize - MaxQueueSize *types.Value `json:"MaxQueueSize,omitempty"` - - // Pinned AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-pinned - Pinned *types.Value `json:"Pinned,omitempty"` - - // StatusTimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-statustimeoutinseconds - StatusTimeoutInSeconds *types.Value `json:"StatusTimeoutInSeconds,omitempty"` - - // TimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdaexecutionparameters.html#cfn-greengrassv2-componentversion-lambdaexecutionparameters-timeoutinseconds - TimeoutInSeconds *types.Value `json:"TimeoutInSeconds,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 *ComponentVersion_LambdaExecutionParameters) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdafunctionrecipesource.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdafunctionrecipesource.go deleted file mode 100644 index ca957eb411..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdafunctionrecipesource.go +++ /dev/null @@ -1,62 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaFunctionRecipeSource AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html -type ComponentVersion_LambdaFunctionRecipeSource struct { - - // ComponentDependencies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentdependencies - ComponentDependencies map[string]ComponentVersion_ComponentDependencyRequirement `json:"ComponentDependencies,omitempty"` - - // ComponentLambdaParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentlambdaparameters - ComponentLambdaParameters *ComponentVersion_LambdaExecutionParameters `json:"ComponentLambdaParameters,omitempty"` - - // ComponentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentname - ComponentName *types.Value `json:"ComponentName,omitempty"` - - // ComponentPlatforms AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentplatforms - ComponentPlatforms []ComponentVersion_ComponentPlatform `json:"ComponentPlatforms,omitempty"` - - // ComponentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-componentversion - ComponentVersion *types.Value `json:"ComponentVersion,omitempty"` - - // LambdaArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdafunctionrecipesource.html#cfn-greengrassv2-componentversion-lambdafunctionrecipesource-lambdaarn - LambdaArn *types.Value `json:"LambdaArn,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 *ComponentVersion_LambdaFunctionRecipeSource) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdalinuxprocessparams.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdalinuxprocessparams.go deleted file mode 100644 index 0bba226344..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdalinuxprocessparams.go +++ /dev/null @@ -1,42 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaLinuxProcessParams AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html -type ComponentVersion_LambdaLinuxProcessParams struct { - - // ContainerParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html#cfn-greengrassv2-componentversion-lambdalinuxprocessparams-containerparams - ContainerParams *ComponentVersion_LambdaContainerParams `json:"ContainerParams,omitempty"` - - // IsolationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdalinuxprocessparams.html#cfn-greengrassv2-componentversion-lambdalinuxprocessparams-isolationmode - IsolationMode *types.Value `json:"IsolationMode,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 *ComponentVersion_LambdaLinuxProcessParams) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams" -} diff --git a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdavolumemount.go b/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdavolumemount.go deleted file mode 100644 index 2d582cd6ab..0000000000 --- a/pkg/goformation/cloudformation/greengrassv2/aws-greengrassv2-componentversion_lambdavolumemount.go +++ /dev/null @@ -1,52 +0,0 @@ -package greengrassv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ComponentVersion_LambdaVolumeMount AWS CloudFormation Resource (AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdavolumemount.html -type ComponentVersion_LambdaVolumeMount struct { - - // AddGroupOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdavolumemount.html#cfn-greengrassv2-componentversion-lambdavolumemount-addgroupowner - AddGroupOwner *types.Value `json:"AddGroupOwner,omitempty"` - - // DestinationPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdavolumemount.html#cfn-greengrassv2-componentversion-lambdavolumemount-destinationpath - DestinationPath *types.Value `json:"DestinationPath,omitempty"` - - // Permission AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdavolumemount.html#cfn-greengrassv2-componentversion-lambdavolumemount-permission - Permission *types.Value `json:"Permission,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-lambdavolumemount.html#cfn-greengrassv2-componentversion-lambdavolumemount-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *ComponentVersion_LambdaVolumeMount) AWSCloudFormationType() string { - return "AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkconfig.go deleted file mode 100644 index e9d47a1047..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_AntennaDownlinkConfig AWS CloudFormation Resource (AWS::GroundStation::Config.AntennaDownlinkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkconfig.html -type Config_AntennaDownlinkConfig struct { - - // SpectrumConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkconfig.html#cfn-groundstation-config-antennadownlinkconfig-spectrumconfig - SpectrumConfig *Config_SpectrumConfig `json:"SpectrumConfig,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 *Config_AntennaDownlinkConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.AntennaDownlinkConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkdemoddecodeconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkdemoddecodeconfig.go deleted file mode 100644 index 844f97abb7..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennadownlinkdemoddecodeconfig.go +++ /dev/null @@ -1,45 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_AntennaDownlinkDemodDecodeConfig AWS CloudFormation Resource (AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html -type Config_AntennaDownlinkDemodDecodeConfig struct { - - // DecodeConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-decodeconfig - DecodeConfig *Config_DecodeConfig `json:"DecodeConfig,omitempty"` - - // DemodulationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-demodulationconfig - DemodulationConfig *Config_DemodulationConfig `json:"DemodulationConfig,omitempty"` - - // SpectrumConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennadownlinkdemoddecodeconfig.html#cfn-groundstation-config-antennadownlinkdemoddecodeconfig-spectrumconfig - SpectrumConfig *Config_SpectrumConfig `json:"SpectrumConfig,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 *Config_AntennaDownlinkDemodDecodeConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennauplinkconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennauplinkconfig.go deleted file mode 100644 index 58cebcb3f0..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_antennauplinkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_AntennaUplinkConfig AWS CloudFormation Resource (AWS::GroundStation::Config.AntennaUplinkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html -type Config_AntennaUplinkConfig struct { - - // SpectrumConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-spectrumconfig - SpectrumConfig *Config_UplinkSpectrumConfig `json:"SpectrumConfig,omitempty"` - - // TargetEirp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-targeteirp - TargetEirp *Config_Eirp `json:"TargetEirp,omitempty"` - - // TransmitDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-antennauplinkconfig.html#cfn-groundstation-config-antennauplinkconfig-transmitdisabled - TransmitDisabled *types.Value `json:"TransmitDisabled,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 *Config_AntennaUplinkConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.AntennaUplinkConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_configdata.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_configdata.go deleted file mode 100644 index 2487cedb3f..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_configdata.go +++ /dev/null @@ -1,65 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_ConfigData AWS CloudFormation Resource (AWS::GroundStation::Config.ConfigData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html -type Config_ConfigData struct { - - // AntennaDownlinkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennadownlinkconfig - AntennaDownlinkConfig *Config_AntennaDownlinkConfig `json:"AntennaDownlinkConfig,omitempty"` - - // AntennaDownlinkDemodDecodeConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennadownlinkdemoddecodeconfig - AntennaDownlinkDemodDecodeConfig *Config_AntennaDownlinkDemodDecodeConfig `json:"AntennaDownlinkDemodDecodeConfig,omitempty"` - - // AntennaUplinkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-antennauplinkconfig - AntennaUplinkConfig *Config_AntennaUplinkConfig `json:"AntennaUplinkConfig,omitempty"` - - // DataflowEndpointConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-dataflowendpointconfig - DataflowEndpointConfig *Config_DataflowEndpointConfig `json:"DataflowEndpointConfig,omitempty"` - - // S3RecordingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-s3recordingconfig - S3RecordingConfig *Config_S3RecordingConfig `json:"S3RecordingConfig,omitempty"` - - // TrackingConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-trackingconfig - TrackingConfig *Config_TrackingConfig `json:"TrackingConfig,omitempty"` - - // UplinkEchoConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-configdata.html#cfn-groundstation-config-configdata-uplinkechoconfig - UplinkEchoConfig *Config_UplinkEchoConfig `json:"UplinkEchoConfig,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 *Config_ConfigData) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.ConfigData" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_dataflowendpointconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_dataflowendpointconfig.go deleted file mode 100644 index 37d0330c38..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_dataflowendpointconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_DataflowEndpointConfig AWS CloudFormation Resource (AWS::GroundStation::Config.DataflowEndpointConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html -type Config_DataflowEndpointConfig struct { - - // DataflowEndpointName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html#cfn-groundstation-config-dataflowendpointconfig-dataflowendpointname - DataflowEndpointName *types.Value `json:"DataflowEndpointName,omitempty"` - - // DataflowEndpointRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-dataflowendpointconfig.html#cfn-groundstation-config-dataflowendpointconfig-dataflowendpointregion - DataflowEndpointRegion *types.Value `json:"DataflowEndpointRegion,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 *Config_DataflowEndpointConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.DataflowEndpointConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_decodeconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_decodeconfig.go deleted file mode 100644 index c57a2a6981..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_decodeconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_DecodeConfig AWS CloudFormation Resource (AWS::GroundStation::Config.DecodeConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-decodeconfig.html -type Config_DecodeConfig struct { - - // UnvalidatedJSON AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-decodeconfig.html#cfn-groundstation-config-decodeconfig-unvalidatedjson - UnvalidatedJSON *types.Value `json:"UnvalidatedJSON,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 *Config_DecodeConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.DecodeConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_demodulationconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_demodulationconfig.go deleted file mode 100644 index 9b9b26d1e1..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_demodulationconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_DemodulationConfig AWS CloudFormation Resource (AWS::GroundStation::Config.DemodulationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-demodulationconfig.html -type Config_DemodulationConfig struct { - - // UnvalidatedJSON AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-demodulationconfig.html#cfn-groundstation-config-demodulationconfig-unvalidatedjson - UnvalidatedJSON *types.Value `json:"UnvalidatedJSON,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 *Config_DemodulationConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.DemodulationConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_eirp.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_eirp.go deleted file mode 100644 index 5daf81d4a9..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_eirp.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_Eirp AWS CloudFormation Resource (AWS::GroundStation::Config.Eirp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html -type Config_Eirp struct { - - // Units AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html#cfn-groundstation-config-eirp-units - Units *types.Value `json:"Units,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-eirp.html#cfn-groundstation-config-eirp-value - Value *types.Value `json:"Value,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 *Config_Eirp) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.Eirp" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequency.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequency.go deleted file mode 100644 index 1f5e85ceca..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_frequency.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_Frequency AWS CloudFormation Resource (AWS::GroundStation::Config.Frequency) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html -type Config_Frequency struct { - - // Units AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html#cfn-groundstation-config-frequency-units - Units *types.Value `json:"Units,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-frequency.html#cfn-groundstation-config-frequency-value - Value *types.Value `json:"Value,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 *Config_Frequency) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.Frequency" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_s3recordingconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_s3recordingconfig.go deleted file mode 100644 index 7708fa6607..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_s3recordingconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_S3RecordingConfig AWS CloudFormation Resource (AWS::GroundStation::Config.S3RecordingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html -type Config_S3RecordingConfig struct { - - // BucketArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-bucketarn - BucketArn *types.Value `json:"BucketArn,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-s3recordingconfig.html#cfn-groundstation-config-s3recordingconfig-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Config_S3RecordingConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.S3RecordingConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_spectrumconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_spectrumconfig.go deleted file mode 100644 index 0853cca08f..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_spectrumconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_SpectrumConfig AWS CloudFormation Resource (AWS::GroundStation::Config.SpectrumConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html -type Config_SpectrumConfig struct { - - // Bandwidth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-bandwidth - Bandwidth *Config_FrequencyBandwidth `json:"Bandwidth,omitempty"` - - // CenterFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-centerfrequency - CenterFrequency *Config_Frequency `json:"CenterFrequency,omitempty"` - - // Polarization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-spectrumconfig.html#cfn-groundstation-config-spectrumconfig-polarization - Polarization *types.Value `json:"Polarization,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 *Config_SpectrumConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.SpectrumConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_trackingconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_trackingconfig.go deleted file mode 100644 index d500ed7775..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_trackingconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_TrackingConfig AWS CloudFormation Resource (AWS::GroundStation::Config.TrackingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-trackingconfig.html -type Config_TrackingConfig struct { - - // Autotrack AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-trackingconfig.html#cfn-groundstation-config-trackingconfig-autotrack - Autotrack *types.Value `json:"Autotrack,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 *Config_TrackingConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.TrackingConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkechoconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkechoconfig.go deleted file mode 100644 index f8df7a6f0a..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkechoconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_UplinkEchoConfig AWS CloudFormation Resource (AWS::GroundStation::Config.UplinkEchoConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html -type Config_UplinkEchoConfig struct { - - // AntennaUplinkConfigArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html#cfn-groundstation-config-uplinkechoconfig-antennauplinkconfigarn - AntennaUplinkConfigArn *types.Value `json:"AntennaUplinkConfigArn,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkechoconfig.html#cfn-groundstation-config-uplinkechoconfig-enabled - Enabled *types.Value `json:"Enabled,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 *Config_UplinkEchoConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.UplinkEchoConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkspectrumconfig.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkspectrumconfig.go deleted file mode 100644 index 5bafe86c66..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config_uplinkspectrumconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Config_UplinkSpectrumConfig AWS CloudFormation Resource (AWS::GroundStation::Config.UplinkSpectrumConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html -type Config_UplinkSpectrumConfig struct { - - // CenterFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html#cfn-groundstation-config-uplinkspectrumconfig-centerfrequency - CenterFrequency *Config_Frequency `json:"CenterFrequency,omitempty"` - - // Polarization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-config-uplinkspectrumconfig.html#cfn-groundstation-config-uplinkspectrumconfig-polarization - Polarization *types.Value `json:"Polarization,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 *Config_UplinkSpectrumConfig) AWSCloudFormationType() string { - return "AWS::GroundStation::Config.UplinkSpectrumConfig" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup.go deleted file mode 100644 index 866ed6ce55..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup.go +++ /dev/null @@ -1,112 +0,0 @@ -package groundstation - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataflowEndpointGroup AWS CloudFormation Resource (AWS::GroundStation::DataflowEndpointGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html -type DataflowEndpointGroup struct { - - // EndpointDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html#cfn-groundstation-dataflowendpointgroup-endpointdetails - EndpointDetails []DataflowEndpointGroup_EndpointDetails `json:"EndpointDetails,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html#cfn-groundstation-dataflowendpointgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DataflowEndpointGroup) AWSCloudFormationType() string { - return "AWS::GroundStation::DataflowEndpointGroup" -} - -// 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 (r DataflowEndpointGroup) MarshalJSON() ([]byte, error) { - type Properties DataflowEndpointGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataflowEndpointGroup) UnmarshalJSON(b []byte) error { - type Properties DataflowEndpointGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataflowEndpointGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_dataflowendpoint.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_dataflowendpoint.go deleted file mode 100644 index 2b0d6ba581..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_dataflowendpoint.go +++ /dev/null @@ -1,47 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataflowEndpointGroup_DataflowEndpoint AWS CloudFormation Resource (AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html -type DataflowEndpointGroup_DataflowEndpoint struct { - - // Address AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-address - Address *DataflowEndpointGroup_SocketAddress `json:"Address,omitempty"` - - // Mtu AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-mtu - Mtu *types.Value `json:"Mtu,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-dataflowendpoint.html#cfn-groundstation-dataflowendpointgroup-dataflowendpoint-name - Name *types.Value `json:"Name,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 *DataflowEndpointGroup_DataflowEndpoint) AWSCloudFormationType() string { - return "AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_endpointdetails.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_endpointdetails.go deleted file mode 100644 index 19559e722c..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_endpointdetails.go +++ /dev/null @@ -1,40 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataflowEndpointGroup_EndpointDetails AWS CloudFormation Resource (AWS::GroundStation::DataflowEndpointGroup.EndpointDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html -type DataflowEndpointGroup_EndpointDetails struct { - - // Endpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html#cfn-groundstation-dataflowendpointgroup-endpointdetails-endpoint - Endpoint *DataflowEndpointGroup_DataflowEndpoint `json:"Endpoint,omitempty"` - - // SecurityDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-endpointdetails.html#cfn-groundstation-dataflowendpointgroup-endpointdetails-securitydetails - SecurityDetails *DataflowEndpointGroup_SecurityDetails `json:"SecurityDetails,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 *DataflowEndpointGroup_EndpointDetails) AWSCloudFormationType() string { - return "AWS::GroundStation::DataflowEndpointGroup.EndpointDetails" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_securitydetails.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_securitydetails.go deleted file mode 100644 index 3d80533761..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_securitydetails.go +++ /dev/null @@ -1,47 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataflowEndpointGroup_SecurityDetails AWS CloudFormation Resource (AWS::GroundStation::DataflowEndpointGroup.SecurityDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html -type DataflowEndpointGroup_SecurityDetails struct { - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-securitydetails.html#cfn-groundstation-dataflowendpointgroup-securitydetails-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *DataflowEndpointGroup_SecurityDetails) AWSCloudFormationType() string { - return "AWS::GroundStation::DataflowEndpointGroup.SecurityDetails" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_socketaddress.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_socketaddress.go deleted file mode 100644 index af03360ec1..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-dataflowendpointgroup_socketaddress.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataflowEndpointGroup_SocketAddress AWS CloudFormation Resource (AWS::GroundStation::DataflowEndpointGroup.SocketAddress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html -type DataflowEndpointGroup_SocketAddress struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html#cfn-groundstation-dataflowendpointgroup-socketaddress-name - Name *types.Value `json:"Name,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-dataflowendpointgroup-socketaddress.html#cfn-groundstation-dataflowendpointgroup-socketaddress-port - Port *types.Value `json:"Port,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 *DataflowEndpointGroup_SocketAddress) AWSCloudFormationType() string { - return "AWS::GroundStation::DataflowEndpointGroup.SocketAddress" -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile.go deleted file mode 100644 index cd7689d837..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile.go +++ /dev/null @@ -1,139 +0,0 @@ -package groundstation - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MissionProfile AWS CloudFormation Resource (AWS::GroundStation::MissionProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html -type MissionProfile struct { - - // ContactPostPassDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-contactpostpassdurationseconds - ContactPostPassDurationSeconds *types.Value `json:"ContactPostPassDurationSeconds,omitempty"` - - // ContactPrePassDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-contactprepassdurationseconds - ContactPrePassDurationSeconds *types.Value `json:"ContactPrePassDurationSeconds,omitempty"` - - // DataflowEdges AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-dataflowedges - DataflowEdges []MissionProfile_DataflowEdge `json:"DataflowEdges,omitempty"` - - // MinimumViableContactDurationSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-minimumviablecontactdurationseconds - MinimumViableContactDurationSeconds *types.Value `json:"MinimumViableContactDurationSeconds"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TrackingConfigArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-missionprofile.html#cfn-groundstation-missionprofile-trackingconfigarn - TrackingConfigArn *types.Value `json:"TrackingConfigArn,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 *MissionProfile) AWSCloudFormationType() string { - return "AWS::GroundStation::MissionProfile" -} - -// 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 (r MissionProfile) MarshalJSON() ([]byte, error) { - type Properties MissionProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MissionProfile) UnmarshalJSON(b []byte) error { - type Properties MissionProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MissionProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile_dataflowedge.go b/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile_dataflowedge.go deleted file mode 100644 index 3cebcc87b8..0000000000 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-missionprofile_dataflowedge.go +++ /dev/null @@ -1,42 +0,0 @@ -package groundstation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MissionProfile_DataflowEdge AWS CloudFormation Resource (AWS::GroundStation::MissionProfile.DataflowEdge) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html -type MissionProfile_DataflowEdge struct { - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html#cfn-groundstation-missionprofile-dataflowedge-destination - Destination *types.Value `json:"Destination,omitempty"` - - // Source AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-groundstation-missionprofile-dataflowedge.html#cfn-groundstation-missionprofile-dataflowedge-source - Source *types.Value `json:"Source,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 *MissionProfile_DataflowEdge) AWSCloudFormationType() string { - return "AWS::GroundStation::MissionProfile.DataflowEdge" -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector.go deleted file mode 100644 index 5080e1db76..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector.go +++ /dev/null @@ -1,118 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Detector AWS CloudFormation Resource (AWS::GuardDuty::Detector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html -type Detector struct { - - // DataSources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-datasources - DataSources *Detector_CFNDataSourceConfigurations `json:"DataSources,omitempty"` - - // Enable AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-enable - Enable *types.Value `json:"Enable"` - - // FindingPublishingFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-findingpublishingfrequency - FindingPublishingFrequency *types.Value `json:"FindingPublishingFrequency,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 *Detector) AWSCloudFormationType() string { - return "AWS::GuardDuty::Detector" -} - -// 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 (r Detector) MarshalJSON() ([]byte, error) { - type Properties Detector - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Detector) UnmarshalJSON(b []byte) error { - type Properties Detector - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Detector(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter.go deleted file mode 100644 index 60c61674ff..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter.go +++ /dev/null @@ -1,133 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Filter AWS CloudFormation Resource (AWS::GuardDuty::Filter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html -type Filter struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-action - Action *types.Value `json:"Action,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-description - Description *types.Value `json:"Description,omitempty"` - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // FindingCriteria AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-findingcriteria - FindingCriteria *Filter_FindingCriteria `json:"FindingCriteria,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-name - Name *types.Value `json:"Name,omitempty"` - - // Rank AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-rank - Rank *types.Value `json:"Rank"` - - // 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 *Filter) AWSCloudFormationType() string { - return "AWS::GuardDuty::Filter" -} - -// 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 (r Filter) MarshalJSON() ([]byte, error) { - type Properties Filter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Filter) UnmarshalJSON(b []byte) error { - type Properties Filter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Filter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_condition.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_condition.go deleted file mode 100644 index bfdcfd5929..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_condition.go +++ /dev/null @@ -1,57 +0,0 @@ -package guardduty - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Filter_Condition AWS CloudFormation Resource (AWS::GuardDuty::Filter.Condition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html -type Filter_Condition struct { - - // Eq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html#cfn-guardduty-filter-condition-eq - Eq *types.Value `json:"Eq,omitempty"` - - // Gte AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html#cfn-guardduty-filter-condition-gte - Gte *types.Value `json:"Gte,omitempty"` - - // Lt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html#cfn-guardduty-filter-condition-lt - Lt *types.Value `json:"Lt,omitempty"` - - // Lte AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html#cfn-guardduty-filter-condition-lte - Lte *types.Value `json:"Lte,omitempty"` - - // Neq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condition.html#cfn-guardduty-filter-condition-neq - Neq *types.Value `json:"Neq,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 *Filter_Condition) AWSCloudFormationType() string { - return "AWS::GuardDuty::Filter.Condition" -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_findingcriteria.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_findingcriteria.go deleted file mode 100644 index 6069688c54..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-filter_findingcriteria.go +++ /dev/null @@ -1,40 +0,0 @@ -package guardduty - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Filter_FindingCriteria AWS CloudFormation Resource (AWS::GuardDuty::Filter.FindingCriteria) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-findingcriteria.html -type Filter_FindingCriteria struct { - - // Criterion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-findingcriteria.html#cfn-guardduty-filter-findingcriteria-criterion - Criterion interface{} `json:"Criterion,omitempty"` - - // ItemType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-findingcriteria.html#cfn-guardduty-filter-findingcriteria-itemtype - ItemType *Filter_Condition `json:"ItemType,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 *Filter_FindingCriteria) AWSCloudFormationType() string { - return "AWS::GuardDuty::Filter.FindingCriteria" -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-ipset.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-ipset.go deleted file mode 100644 index c69b38af9d..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-ipset.go +++ /dev/null @@ -1,128 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet AWS CloudFormation Resource (AWS::GuardDuty::IPSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html -type IPSet struct { - - // Activate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-activate - Activate *types.Value `json:"Activate"` - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // Format AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-format - Format *types.Value `json:"Format,omitempty"` - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-location - Location *types.Value `json:"Location,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-name - Name *types.Value `json:"Name,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 *IPSet) AWSCloudFormationType() string { - return "AWS::GuardDuty::IPSet" -} - -// 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 (r IPSet) MarshalJSON() ([]byte, error) { - type Properties IPSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IPSet) UnmarshalJSON(b []byte) error { - type Properties IPSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IPSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-master.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-master.go deleted file mode 100644 index 9987eaf928..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-master.go +++ /dev/null @@ -1,118 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Master AWS CloudFormation Resource (AWS::GuardDuty::Master) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html -type Master struct { - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html#cfn-guardduty-master-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // InvitationId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html#cfn-guardduty-master-invitationid - InvitationId *types.Value `json:"InvitationId,omitempty"` - - // MasterId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html#cfn-guardduty-master-masterid - MasterId *types.Value `json:"MasterId,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 *Master) AWSCloudFormationType() string { - return "AWS::GuardDuty::Master" -} - -// 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 (r Master) MarshalJSON() ([]byte, error) { - type Properties Master - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Master) UnmarshalJSON(b []byte) error { - type Properties Master - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Master(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-member.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-member.go deleted file mode 100644 index b241dabf5f..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-member.go +++ /dev/null @@ -1,133 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member AWS CloudFormation Resource (AWS::GuardDuty::Member) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html -type Member struct { - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // DisableEmailNotification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-disableemailnotification - DisableEmailNotification *types.Value `json:"DisableEmailNotification,omitempty"` - - // Email AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-email - Email *types.Value `json:"Email,omitempty"` - - // MemberId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-memberid - MemberId *types.Value `json:"MemberId,omitempty"` - - // Message AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-message - Message *types.Value `json:"Message,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html#cfn-guardduty-member-status - Status *types.Value `json:"Status,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 *Member) AWSCloudFormationType() string { - return "AWS::GuardDuty::Member" -} - -// 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 (r Member) MarshalJSON() ([]byte, error) { - type Properties Member - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Member) UnmarshalJSON(b []byte) error { - type Properties Member - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Member(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-threatintelset.go b/pkg/goformation/cloudformation/guardduty/aws-guardduty-threatintelset.go deleted file mode 100644 index 9b20d53ebf..0000000000 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-threatintelset.go +++ /dev/null @@ -1,128 +0,0 @@ -package guardduty - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ThreatIntelSet AWS CloudFormation Resource (AWS::GuardDuty::ThreatIntelSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html -type ThreatIntelSet struct { - - // Activate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-activate - Activate *types.Value `json:"Activate"` - - // DetectorId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-detectorid - DetectorId *types.Value `json:"DetectorId,omitempty"` - - // Format AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-format - Format *types.Value `json:"Format,omitempty"` - - // Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-location - Location *types.Value `json:"Location,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-name - Name *types.Value `json:"Name,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 *ThreatIntelSet) AWSCloudFormationType() string { - return "AWS::GuardDuty::ThreatIntelSet" -} - -// 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 (r ThreatIntelSet) MarshalJSON() ([]byte, error) { - type Properties ThreatIntelSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ThreatIntelSet) UnmarshalJSON(b []byte) error { - type Properties ThreatIntelSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ThreatIntelSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore.go b/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore.go deleted file mode 100644 index 2e10d32b4f..0000000000 --- a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore.go +++ /dev/null @@ -1,129 +0,0 @@ -package healthlake - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FHIRDatastore AWS CloudFormation Resource (AWS::HealthLake::FHIRDatastore) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html -type FHIRDatastore struct { - - // DatastoreName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-datastorename - DatastoreName *types.Value `json:"DatastoreName,omitempty"` - - // DatastoreTypeVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-datastoretypeversion - DatastoreTypeVersion *types.Value `json:"DatastoreTypeVersion,omitempty"` - - // PreloadDataConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-preloaddataconfig - PreloadDataConfig *FHIRDatastore_PreloadDataConfig `json:"PreloadDataConfig,omitempty"` - - // SseConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-sseconfiguration - SseConfiguration *FHIRDatastore_SseConfiguration `json:"SseConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-tags - Tags []cloudformation.Tag `json:"Tags,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 *FHIRDatastore) AWSCloudFormationType() string { - return "AWS::HealthLake::FHIRDatastore" -} - -// 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 (r FHIRDatastore) MarshalJSON() ([]byte, error) { - type Properties FHIRDatastore - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FHIRDatastore) UnmarshalJSON(b []byte) error { - type Properties FHIRDatastore - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FHIRDatastore(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_kmsencryptionconfig.go b/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_kmsencryptionconfig.go deleted file mode 100644 index 6384f0bd50..0000000000 --- a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_kmsencryptionconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package healthlake - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FHIRDatastore_KmsEncryptionConfig AWS CloudFormation Resource (AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-kmsencryptionconfig.html -type FHIRDatastore_KmsEncryptionConfig struct { - - // CmkType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-kmsencryptionconfig.html#cfn-healthlake-fhirdatastore-kmsencryptionconfig-cmktype - CmkType *types.Value `json:"CmkType,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-kmsencryptionconfig.html#cfn-healthlake-fhirdatastore-kmsencryptionconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,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 *FHIRDatastore_KmsEncryptionConfig) AWSCloudFormationType() string { - return "AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig" -} diff --git a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_preloaddataconfig.go b/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_preloaddataconfig.go deleted file mode 100644 index 1ff7052e3f..0000000000 --- a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_preloaddataconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package healthlake - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FHIRDatastore_PreloadDataConfig AWS CloudFormation Resource (AWS::HealthLake::FHIRDatastore.PreloadDataConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-preloaddataconfig.html -type FHIRDatastore_PreloadDataConfig struct { - - // PreloadDataType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-preloaddataconfig.html#cfn-healthlake-fhirdatastore-preloaddataconfig-preloaddatatype - PreloadDataType *types.Value `json:"PreloadDataType,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 *FHIRDatastore_PreloadDataConfig) AWSCloudFormationType() string { - return "AWS::HealthLake::FHIRDatastore.PreloadDataConfig" -} diff --git a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_sseconfiguration.go b/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_sseconfiguration.go deleted file mode 100644 index ccc6fd1500..0000000000 --- a/pkg/goformation/cloudformation/healthlake/aws-healthlake-fhirdatastore_sseconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package healthlake - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FHIRDatastore_SseConfiguration AWS CloudFormation Resource (AWS::HealthLake::FHIRDatastore.SseConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-sseconfiguration.html -type FHIRDatastore_SseConfiguration struct { - - // KmsEncryptionConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-healthlake-fhirdatastore-sseconfiguration.html#cfn-healthlake-fhirdatastore-sseconfiguration-kmsencryptionconfig - KmsEncryptionConfig *FHIRDatastore_KmsEncryptionConfig `json:"KmsEncryptionConfig,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 *FHIRDatastore_SseConfiguration) AWSCloudFormationType() string { - return "AWS::HealthLake::FHIRDatastore.SseConfiguration" -} diff --git a/pkg/goformation/cloudformation/iam/aws-iam-group.go b/pkg/goformation/cloudformation/iam/aws-iam-group.go index 3ce1cbd1aa..9fe412dfd2 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-group.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-group.go @@ -11,27 +11,27 @@ import ( ) // Group AWS CloudFormation Resource (AWS::IAM::Group) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html type Group struct { // GroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html#cfn-iam-group-groupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html#cfn-iam-group-groupname GroupName *types.Value `json:"GroupName,omitempty"` // ManagedPolicyArns AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html#cfn-iam-group-managepolicyarns + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html#cfn-iam-group-managedpolicyarns ManagedPolicyArns *types.Value `json:"ManagedPolicyArns,omitempty"` // Path AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html#cfn-iam-group-path + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html#cfn-iam-group-path Path *types.Value `json:"Path,omitempty"` // Policies AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html#cfn-iam-group-policies + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-group.html#cfn-iam-group-policies Policies []Group_Policy `json:"Policies,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/iam/aws-iam-group_policy.go b/pkg/goformation/cloudformation/iam/aws-iam-group_policy.go index 7bb7c6c251..640f9b5d38 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-group_policy.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-group_policy.go @@ -7,17 +7,17 @@ import ( ) // Group_Policy AWS CloudFormation Resource (AWS::IAM::Group.Policy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html type Group_Policy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` // PolicyName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policyname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policyname PolicyName *types.Value `json:"PolicyName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/iam/aws-iam-grouppolicy.go b/pkg/goformation/cloudformation/iam/aws-iam-grouppolicy.go new file mode 100644 index 0000000000..239c0f4a4d --- /dev/null +++ b/pkg/goformation/cloudformation/iam/aws-iam-grouppolicy.go @@ -0,0 +1,118 @@ +package iam + +import ( + "bytes" + "encoding/json" + "fmt" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// GroupPolicy AWS CloudFormation Resource (AWS::IAM::GroupPolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html +type GroupPolicy struct { + + // GroupName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-groupname + GroupName *types.Value `json:"GroupName,omitempty"` + + // PolicyDocument AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-policydocument + PolicyDocument interface{} `json:"PolicyDocument,omitempty"` + + // PolicyName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-policyname + PolicyName *types.Value `json:"PolicyName,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 *GroupPolicy) AWSCloudFormationType() string { + return "AWS::IAM::GroupPolicy" +} + +// 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 (r GroupPolicy) MarshalJSON() ([]byte, error) { + type Properties GroupPolicy + return json.Marshal(&struct { + Type string + Properties Properties + DependsOn []string `json:"DependsOn,omitempty"` + Metadata map[string]interface{} `json:"Metadata,omitempty"` + DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` + UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` + Condition string `json:"Condition,omitempty"` + }{ + Type: r.AWSCloudFormationType(), + Properties: (Properties)(r), + DependsOn: r.AWSCloudFormationDependsOn, + Metadata: r.AWSCloudFormationMetadata, + DeletionPolicy: r.AWSCloudFormationDeletionPolicy, + UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, + Condition: r.AWSCloudFormationCondition, + }) +} + +// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer +// AWS CloudFormation resource object, and just keeps the 'Properties' field. +func (r *GroupPolicy) UnmarshalJSON(b []byte) error { + type Properties GroupPolicy + res := &struct { + Type string + Properties *Properties + DependsOn []string + Metadata map[string]interface{} + DeletionPolicy string + UpdateReplacePolicy string + Condition string + }{} + + dec := json.NewDecoder(bytes.NewReader(b)) + dec.DisallowUnknownFields() // Force error if unknown field is found + + if err := dec.Decode(&res); err != nil { + fmt.Printf("ERROR: %s\n", err) + return err + } + + // If the resource has no Properties set, it could be nil + if res.Properties != nil { + *r = GroupPolicy(*res.Properties) + } + if res.DependsOn != nil { + r.AWSCloudFormationDependsOn = res.DependsOn + } + if res.Metadata != nil { + r.AWSCloudFormationMetadata = res.Metadata + } + if res.DeletionPolicy != "" { + r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) + } + if res.UpdateReplacePolicy != "" { + r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) + } + if res.Condition != "" { + r.AWSCloudFormationCondition = res.Condition + } + return nil +} diff --git a/pkg/goformation/cloudformation/iam/aws-iam-managedpolicy.go b/pkg/goformation/cloudformation/iam/aws-iam-managedpolicy.go index b1786eb790..75737fb71a 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-managedpolicy.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-managedpolicy.go @@ -31,7 +31,7 @@ type ManagedPolicy struct { // Path AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-ec2-dhcpoptions-path + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-path Path *types.Value `json:"Path,omitempty"` // PolicyDocument AWS CloudFormation Property diff --git a/pkg/goformation/cloudformation/iam/aws-iam-oidcprovider.go b/pkg/goformation/cloudformation/iam/aws-iam-oidcprovider.go index d08e5239e6..49a76c0c3c 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-oidcprovider.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-oidcprovider.go @@ -26,7 +26,7 @@ type OIDCProvider struct { Tags []cloudformation.Tag `json:"Tags,omitempty"` // ThumbprintList AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-oidcprovider.html#cfn-iam-oidcprovider-thumbprintlist ThumbprintList *types.Value `json:"ThumbprintList,omitempty"` diff --git a/pkg/goformation/cloudformation/iam/aws-iam-role.go b/pkg/goformation/cloudformation/iam/aws-iam-role.go index 7f88805ce4..b785d24570 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-role.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-role.go @@ -27,7 +27,7 @@ type Role struct { // ManagedPolicyArns AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-managepolicyarns + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-managedpolicyarns ManagedPolicyArns *types.Value `json:"ManagedPolicyArns,omitempty"` // MaxSessionDuration AWS CloudFormation Property diff --git a/pkg/goformation/cloudformation/iam/aws-iam-role_policy.go b/pkg/goformation/cloudformation/iam/aws-iam-role_policy.go index 9873e10799..2b7278b7de 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-role_policy.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-role_policy.go @@ -7,17 +7,17 @@ import ( ) // Role_Policy AWS CloudFormation Resource (AWS::IAM::Role.Policy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-role-policy.html type Role_Policy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-role-policy.html#cfn-iam-role-policy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` // PolicyName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policyname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-role-policy.html#cfn-iam-role-policy-policyname PolicyName *types.Value `json:"PolicyName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspointpolicy.go b/pkg/goformation/cloudformation/iam/aws-iam-rolepolicy.go similarity index 79% rename from pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspointpolicy.go rename to pkg/goformation/cloudformation/iam/aws-iam-rolepolicy.go index f4bbbdb0c2..bf368556eb 100644 --- a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspointpolicy.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-rolepolicy.go @@ -1,4 +1,4 @@ -package s3objectlambda +package iam import ( "bytes" @@ -10,19 +10,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// AccessPointPolicy AWS CloudFormation Resource (AWS::S3ObjectLambda::AccessPointPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html -type AccessPointPolicy struct { +// RolePolicy AWS CloudFormation Resource (AWS::IAM::RolePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html +type RolePolicy struct { - // ObjectLambdaAccessPoint AWS CloudFormation Property + // PolicyDocument AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html#cfn-iam-rolepolicy-policydocument + PolicyDocument interface{} `json:"PolicyDocument,omitempty"` + + // PolicyName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html#cfn-s3objectlambda-accesspointpolicy-objectlambdaaccesspoint - ObjectLambdaAccessPoint *types.Value `json:"ObjectLambdaAccessPoint,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html#cfn-iam-rolepolicy-policyname + PolicyName *types.Value `json:"PolicyName,omitempty"` - // PolicyDocument AWS CloudFormation Property + // RoleName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html#cfn-s3objectlambda-accesspointpolicy-policydocument - PolicyDocument interface{} `json:"PolicyDocument,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html#cfn-iam-rolepolicy-rolename + RoleName *types.Value `json:"RoleName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -41,14 +46,14 @@ type AccessPointPolicy struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *AccessPointPolicy) AWSCloudFormationType() string { - return "AWS::S3ObjectLambda::AccessPointPolicy" +func (r *RolePolicy) AWSCloudFormationType() string { + return "AWS::IAM::RolePolicy" } // 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 (r AccessPointPolicy) MarshalJSON() ([]byte, error) { - type Properties AccessPointPolicy +func (r RolePolicy) MarshalJSON() ([]byte, error) { + type Properties RolePolicy return json.Marshal(&struct { Type string Properties Properties @@ -70,8 +75,8 @@ func (r AccessPointPolicy) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccessPointPolicy) UnmarshalJSON(b []byte) error { - type Properties AccessPointPolicy +func (r *RolePolicy) UnmarshalJSON(b []byte) error { + type Properties RolePolicy res := &struct { Type string Properties *Properties @@ -92,7 +97,7 @@ func (r *AccessPointPolicy) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = AccessPointPolicy(*res.Properties) + *r = RolePolicy(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/iam/aws-iam-servicelinkedrole.go b/pkg/goformation/cloudformation/iam/aws-iam-servicelinkedrole.go index 67e78dd673..ff672c82f7 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-servicelinkedrole.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-servicelinkedrole.go @@ -15,7 +15,7 @@ import ( type ServiceLinkedRole struct { // AWSServiceName AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servicelinkedrole.html#cfn-iam-servicelinkedrole-awsservicename AWSServiceName *types.Value `json:"AWSServiceName,omitempty"` diff --git a/pkg/goformation/cloudformation/iam/aws-iam-user.go b/pkg/goformation/cloudformation/iam/aws-iam-user.go index 40669f52c1..2ff1da7eae 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-user.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-user.go @@ -12,47 +12,47 @@ import ( ) // User AWS CloudFormation Resource (AWS::IAM::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html type User struct { // Groups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-groups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-groups Groups *types.Value `json:"Groups,omitempty"` // LoginProfile AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-loginprofile + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-loginprofile LoginProfile *User_LoginProfile `json:"LoginProfile,omitempty"` // ManagedPolicyArns AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-managepolicyarns + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-managedpolicyarns ManagedPolicyArns *types.Value `json:"ManagedPolicyArns,omitempty"` // Path AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-path + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-path Path *types.Value `json:"Path,omitempty"` // PermissionsBoundary AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-permissionsboundary + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-permissionsboundary PermissionsBoundary *types.Value `json:"PermissionsBoundary,omitempty"` // Policies AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-policies + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-policies Policies []User_Policy `json:"Policies,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // UserName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html#cfn-iam-user-username + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-user.html#cfn-iam-user-username UserName *types.Value `json:"UserName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/iam/aws-iam-user_policy.go b/pkg/goformation/cloudformation/iam/aws-iam-user_policy.go index 543008f879..8356b8bdff 100644 --- a/pkg/goformation/cloudformation/iam/aws-iam-user_policy.go +++ b/pkg/goformation/cloudformation/iam/aws-iam-user_policy.go @@ -7,17 +7,17 @@ import ( ) // User_Policy AWS CloudFormation Resource (AWS::IAM::User.Policy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-policy.html type User_Policy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-policy.html#cfn-iam-user-policy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` // PolicyName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policyname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-policy.html#cfn-iam-user-policy-policyname PolicyName *types.Value `json:"PolicyName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/iam/aws-iam-userpolicy.go b/pkg/goformation/cloudformation/iam/aws-iam-userpolicy.go new file mode 100644 index 0000000000..02613128ff --- /dev/null +++ b/pkg/goformation/cloudformation/iam/aws-iam-userpolicy.go @@ -0,0 +1,118 @@ +package iam + +import ( + "bytes" + "encoding/json" + "fmt" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// UserPolicy AWS CloudFormation Resource (AWS::IAM::UserPolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html +type UserPolicy struct { + + // PolicyDocument AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-policydocument + PolicyDocument interface{} `json:"PolicyDocument,omitempty"` + + // PolicyName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-policyname + PolicyName *types.Value `json:"PolicyName,omitempty"` + + // UserName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-username + UserName *types.Value `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 *UserPolicy) AWSCloudFormationType() string { + return "AWS::IAM::UserPolicy" +} + +// 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 (r UserPolicy) MarshalJSON() ([]byte, error) { + type Properties UserPolicy + return json.Marshal(&struct { + Type string + Properties Properties + DependsOn []string `json:"DependsOn,omitempty"` + Metadata map[string]interface{} `json:"Metadata,omitempty"` + DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` + UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` + Condition string `json:"Condition,omitempty"` + }{ + Type: r.AWSCloudFormationType(), + Properties: (Properties)(r), + DependsOn: r.AWSCloudFormationDependsOn, + Metadata: r.AWSCloudFormationMetadata, + DeletionPolicy: r.AWSCloudFormationDeletionPolicy, + UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, + Condition: r.AWSCloudFormationCondition, + }) +} + +// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer +// AWS CloudFormation resource object, and just keeps the 'Properties' field. +func (r *UserPolicy) UnmarshalJSON(b []byte) error { + type Properties UserPolicy + res := &struct { + Type string + Properties *Properties + DependsOn []string + Metadata map[string]interface{} + DeletionPolicy string + UpdateReplacePolicy string + Condition string + }{} + + dec := json.NewDecoder(bytes.NewReader(b)) + dec.DisallowUnknownFields() // Force error if unknown field is found + + if err := dec.Decode(&res); err != nil { + fmt.Printf("ERROR: %s\n", err) + return err + } + + // If the resource has no Properties set, it could be nil + if res.Properties != nil { + *r = UserPolicy(*res.Properties) + } + if res.DependsOn != nil { + r.AWSCloudFormationDependsOn = res.DependsOn + } + if res.Metadata != nil { + r.AWSCloudFormationMetadata = res.Metadata + } + if res.DeletionPolicy != "" { + r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) + } + if res.UpdateReplacePolicy != "" { + r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) + } + if res.Condition != "" { + r.AWSCloudFormationCondition = res.Condition + } + return nil +} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-component.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-component.go deleted file mode 100644 index f29ea8e191..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-component.go +++ /dev/null @@ -1,153 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Component AWS CloudFormation Resource (AWS::ImageBuilder::Component) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html -type Component struct { - - // ChangeDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-changedescription - ChangeDescription *types.Value `json:"ChangeDescription,omitempty"` - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-data - Data *types.Value `json:"Data,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-description - Description *types.Value `json:"Description,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-name - Name *types.Value `json:"Name,omitempty"` - - // Platform AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-platform - Platform *types.Value `json:"Platform,omitempty"` - - // SupportedOsVersions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-supportedosversions - SupportedOsVersions *types.Value `json:"SupportedOsVersions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-uri - Uri *types.Value `json:"Uri,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-component.html#cfn-imagebuilder-component-version - Version *types.Value `json:"Version,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 *Component) AWSCloudFormationType() string { - return "AWS::ImageBuilder::Component" -} - -// 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 (r Component) MarshalJSON() ([]byte, error) { - type Properties Component - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Component) UnmarshalJSON(b []byte) error { - type Properties Component - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Component(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe.go deleted file mode 100644 index 100d434892..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe.go +++ /dev/null @@ -1,178 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html -type ContainerRecipe struct { - - // Components AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-components - Components []ContainerRecipe_ComponentConfiguration `json:"Components,omitempty"` - - // ContainerType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-containertype - ContainerType *types.Value `json:"ContainerType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-description - Description *types.Value `json:"Description,omitempty"` - - // DockerfileTemplateData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-dockerfiletemplatedata - DockerfileTemplateData *types.Value `json:"DockerfileTemplateData,omitempty"` - - // DockerfileTemplateUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-dockerfiletemplateuri - DockerfileTemplateUri *types.Value `json:"DockerfileTemplateUri,omitempty"` - - // ImageOsVersionOverride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-imageosversionoverride - ImageOsVersionOverride *types.Value `json:"ImageOsVersionOverride,omitempty"` - - // InstanceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-instanceconfiguration - InstanceConfiguration *ContainerRecipe_InstanceConfiguration `json:"InstanceConfiguration,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-name - Name *types.Value `json:"Name,omitempty"` - - // ParentImage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-parentimage - ParentImage *types.Value `json:"ParentImage,omitempty"` - - // PlatformOverride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-platformoverride - PlatformOverride *types.Value `json:"PlatformOverride,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // TargetRepository AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-targetrepository - TargetRepository *ContainerRecipe_TargetContainerRepository `json:"TargetRepository,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-version - Version *types.Value `json:"Version,omitempty"` - - // WorkingDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-containerrecipe.html#cfn-imagebuilder-containerrecipe-workingdirectory - WorkingDirectory *types.Value `json:"WorkingDirectory,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 *ContainerRecipe) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe" -} - -// 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 (r ContainerRecipe) MarshalJSON() ([]byte, error) { - type Properties ContainerRecipe - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ContainerRecipe) UnmarshalJSON(b []byte) error { - type Properties ContainerRecipe - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ContainerRecipe(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_componentconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_componentconfiguration.go deleted file mode 100644 index 92d6c93b3e..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_componentconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe_ComponentConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-componentconfiguration.html -type ContainerRecipe_ComponentConfiguration struct { - - // ComponentArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-componentconfiguration.html#cfn-imagebuilder-containerrecipe-componentconfiguration-componentarn - ComponentArn *types.Value `json:"ComponentArn,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 *ContainerRecipe_ComponentConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_ebsinstanceblockdevicespecification.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_ebsinstanceblockdevicespecification.go deleted file mode 100644 index 9ed0f35ad9..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_ebsinstanceblockdevicespecification.go +++ /dev/null @@ -1,72 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe_EbsInstanceBlockDeviceSpecification AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html -type ContainerRecipe_EbsInstanceBlockDeviceSpecification struct { - - // DeleteOnTermination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-deleteontermination - DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-encrypted - Encrypted *types.Value `json:"Encrypted,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-iops - Iops *types.Value `json:"Iops,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // SnapshotId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-snapshotid - SnapshotId *types.Value `json:"SnapshotId,omitempty"` - - // Throughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-throughput - Throughput *types.Value `json:"Throughput,omitempty"` - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-volumesize - VolumeSize *types.Value `json:"VolumeSize,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-containerrecipe-ebsinstanceblockdevicespecification-volumetype - VolumeType *types.Value `json:"VolumeType,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 *ContainerRecipe_EbsInstanceBlockDeviceSpecification) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceblockdevicemapping.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceblockdevicemapping.go deleted file mode 100644 index 930a9da483..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceblockdevicemapping.go +++ /dev/null @@ -1,52 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe_InstanceBlockDeviceMapping AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceblockdevicemapping.html -type ContainerRecipe_InstanceBlockDeviceMapping struct { - - // DeviceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceblockdevicemapping.html#cfn-imagebuilder-containerrecipe-instanceblockdevicemapping-devicename - DeviceName *types.Value `json:"DeviceName,omitempty"` - - // Ebs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceblockdevicemapping.html#cfn-imagebuilder-containerrecipe-instanceblockdevicemapping-ebs - Ebs *ContainerRecipe_EbsInstanceBlockDeviceSpecification `json:"Ebs,omitempty"` - - // NoDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceblockdevicemapping.html#cfn-imagebuilder-containerrecipe-instanceblockdevicemapping-nodevice - NoDevice *types.Value `json:"NoDevice,omitempty"` - - // VirtualName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceblockdevicemapping.html#cfn-imagebuilder-containerrecipe-instanceblockdevicemapping-virtualname - VirtualName *types.Value `json:"VirtualName,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 *ContainerRecipe_InstanceBlockDeviceMapping) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceconfiguration.go deleted file mode 100644 index b1d62812c4..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_instanceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe_InstanceConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceconfiguration.html -type ContainerRecipe_InstanceConfiguration struct { - - // BlockDeviceMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceconfiguration.html#cfn-imagebuilder-containerrecipe-instanceconfiguration-blockdevicemappings - BlockDeviceMappings []ContainerRecipe_InstanceBlockDeviceMapping `json:"BlockDeviceMappings,omitempty"` - - // Image AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-instanceconfiguration.html#cfn-imagebuilder-containerrecipe-instanceconfiguration-image - Image *types.Value `json:"Image,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 *ContainerRecipe_InstanceConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_targetcontainerrepository.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_targetcontainerrepository.go deleted file mode 100644 index 0437a30687..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-containerrecipe_targetcontainerrepository.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContainerRecipe_TargetContainerRepository AWS CloudFormation Resource (AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-targetcontainerrepository.html -type ContainerRecipe_TargetContainerRepository struct { - - // RepositoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-targetcontainerrepository.html#cfn-imagebuilder-containerrecipe-targetcontainerrepository-repositoryname - RepositoryName *types.Value `json:"RepositoryName,omitempty"` - - // Service AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-containerrecipe-targetcontainerrepository.html#cfn-imagebuilder-containerrecipe-targetcontainerrepository-service - Service *types.Value `json:"Service,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 *ContainerRecipe_TargetContainerRepository) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration.go deleted file mode 100644 index 25b8c7b93f..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration.go +++ /dev/null @@ -1,123 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DistributionConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::DistributionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html -type DistributionConfiguration struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // Distributions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-distributions - Distributions []DistributionConfiguration_Distribution `json:"Distributions,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-distributionconfiguration.html#cfn-imagebuilder-distributionconfiguration-tags - Tags map[string]*types.Value `json:"Tags,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 *DistributionConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::DistributionConfiguration" -} - -// 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 (r DistributionConfiguration) MarshalJSON() ([]byte, error) { - type Properties DistributionConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DistributionConfiguration) UnmarshalJSON(b []byte) error { - type Properties DistributionConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DistributionConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_distribution.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_distribution.go deleted file mode 100644 index 9323e7e4d8..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_distribution.go +++ /dev/null @@ -1,57 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DistributionConfiguration_Distribution AWS CloudFormation Resource (AWS::ImageBuilder::DistributionConfiguration.Distribution) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html -type DistributionConfiguration_Distribution struct { - - // AmiDistributionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-amidistributionconfiguration - AmiDistributionConfiguration interface{} `json:"AmiDistributionConfiguration,omitempty"` - - // ContainerDistributionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-containerdistributionconfiguration - ContainerDistributionConfiguration interface{} `json:"ContainerDistributionConfiguration,omitempty"` - - // LaunchTemplateConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-launchtemplateconfigurations - LaunchTemplateConfigurations []DistributionConfiguration_LaunchTemplateConfiguration `json:"LaunchTemplateConfigurations,omitempty"` - - // LicenseConfigurationArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-licenseconfigurationarns - LicenseConfigurationArns *types.Value `json:"LicenseConfigurationArns,omitempty"` - - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html#cfn-imagebuilder-distributionconfiguration-distribution-region - Region *types.Value `json:"Region,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 *DistributionConfiguration_Distribution) AWSCloudFormationType() string { - return "AWS::ImageBuilder::DistributionConfiguration.Distribution" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_launchtemplateconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_launchtemplateconfiguration.go deleted file mode 100644 index c58beaea7c..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-distributionconfiguration_launchtemplateconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DistributionConfiguration_LaunchTemplateConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-launchtemplateconfiguration.html -type DistributionConfiguration_LaunchTemplateConfiguration struct { - - // AccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-launchtemplateconfiguration.html#cfn-imagebuilder-distributionconfiguration-launchtemplateconfiguration-accountid - AccountId *types.Value `json:"AccountId,omitempty"` - - // LaunchTemplateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-launchtemplateconfiguration.html#cfn-imagebuilder-distributionconfiguration-launchtemplateconfiguration-launchtemplateid - LaunchTemplateId *types.Value `json:"LaunchTemplateId,omitempty"` - - // SetDefaultVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-launchtemplateconfiguration.html#cfn-imagebuilder-distributionconfiguration-launchtemplateconfiguration-setdefaultversion - SetDefaultVersion *types.Value `json:"SetDefaultVersion,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 *DistributionConfiguration_LaunchTemplateConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image.go deleted file mode 100644 index 274af535aa..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image.go +++ /dev/null @@ -1,138 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Image AWS CloudFormation Resource (AWS::ImageBuilder::Image) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html -type Image struct { - - // ContainerRecipeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-containerrecipearn - ContainerRecipeArn *types.Value `json:"ContainerRecipeArn,omitempty"` - - // DistributionConfigurationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-distributionconfigurationarn - DistributionConfigurationArn *types.Value `json:"DistributionConfigurationArn,omitempty"` - - // EnhancedImageMetadataEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-enhancedimagemetadataenabled - EnhancedImageMetadataEnabled *types.Value `json:"EnhancedImageMetadataEnabled,omitempty"` - - // ImageRecipeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-imagerecipearn - ImageRecipeArn *types.Value `json:"ImageRecipeArn,omitempty"` - - // ImageTestsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-imagetestsconfiguration - ImageTestsConfiguration *Image_ImageTestsConfiguration `json:"ImageTestsConfiguration,omitempty"` - - // InfrastructureConfigurationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-infrastructureconfigurationarn - InfrastructureConfigurationArn *types.Value `json:"InfrastructureConfigurationArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-image.html#cfn-imagebuilder-image-tags - Tags map[string]*types.Value `json:"Tags,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 *Image) AWSCloudFormationType() string { - return "AWS::ImageBuilder::Image" -} - -// 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 (r Image) MarshalJSON() ([]byte, error) { - type Properties Image - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Image) UnmarshalJSON(b []byte) error { - type Properties Image - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Image(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image_imagetestsconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image_imagetestsconfiguration.go deleted file mode 100644 index a99234baa4..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-image_imagetestsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Image_ImageTestsConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::Image.ImageTestsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagetestsconfiguration.html -type Image_ImageTestsConfiguration struct { - - // ImageTestsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagetestsconfiguration.html#cfn-imagebuilder-image-imagetestsconfiguration-imagetestsenabled - ImageTestsEnabled *types.Value `json:"ImageTestsEnabled,omitempty"` - - // TimeoutMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-imagetestsconfiguration.html#cfn-imagebuilder-image-imagetestsconfiguration-timeoutminutes - TimeoutMinutes *types.Value `json:"TimeoutMinutes,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 *Image_ImageTestsConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::Image.ImageTestsConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline.go deleted file mode 100644 index dff384fd1b..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline.go +++ /dev/null @@ -1,158 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImagePipeline AWS CloudFormation Resource (AWS::ImageBuilder::ImagePipeline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html -type ImagePipeline struct { - - // ContainerRecipeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-containerrecipearn - ContainerRecipeArn *types.Value `json:"ContainerRecipeArn,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-description - Description *types.Value `json:"Description,omitempty"` - - // DistributionConfigurationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-distributionconfigurationarn - DistributionConfigurationArn *types.Value `json:"DistributionConfigurationArn,omitempty"` - - // EnhancedImageMetadataEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-enhancedimagemetadataenabled - EnhancedImageMetadataEnabled *types.Value `json:"EnhancedImageMetadataEnabled,omitempty"` - - // ImageRecipeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-imagerecipearn - ImageRecipeArn *types.Value `json:"ImageRecipeArn,omitempty"` - - // ImageTestsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-imagetestsconfiguration - ImageTestsConfiguration *ImagePipeline_ImageTestsConfiguration `json:"ImageTestsConfiguration,omitempty"` - - // InfrastructureConfigurationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-infrastructureconfigurationarn - InfrastructureConfigurationArn *types.Value `json:"InfrastructureConfigurationArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-name - Name *types.Value `json:"Name,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-schedule - Schedule *ImagePipeline_Schedule `json:"Schedule,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-status - Status *types.Value `json:"Status,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagepipeline.html#cfn-imagebuilder-imagepipeline-tags - Tags map[string]*types.Value `json:"Tags,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 *ImagePipeline) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImagePipeline" -} - -// 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 (r ImagePipeline) MarshalJSON() ([]byte, error) { - type Properties ImagePipeline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ImagePipeline) UnmarshalJSON(b []byte) error { - type Properties ImagePipeline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ImagePipeline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_imagetestsconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_imagetestsconfiguration.go deleted file mode 100644 index 49173259a3..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_imagetestsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImagePipeline_ImageTestsConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-imagetestsconfiguration.html -type ImagePipeline_ImageTestsConfiguration struct { - - // ImageTestsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-imagetestsconfiguration.html#cfn-imagebuilder-imagepipeline-imagetestsconfiguration-imagetestsenabled - ImageTestsEnabled *types.Value `json:"ImageTestsEnabled,omitempty"` - - // TimeoutMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-imagetestsconfiguration.html#cfn-imagebuilder-imagepipeline-imagetestsconfiguration-timeoutminutes - TimeoutMinutes *types.Value `json:"TimeoutMinutes,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 *ImagePipeline_ImageTestsConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_schedule.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_schedule.go deleted file mode 100644 index 3844194479..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagepipeline_schedule.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImagePipeline_Schedule AWS CloudFormation Resource (AWS::ImageBuilder::ImagePipeline.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html -type ImagePipeline_Schedule struct { - - // PipelineExecutionStartCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html#cfn-imagebuilder-imagepipeline-schedule-pipelineexecutionstartcondition - PipelineExecutionStartCondition *types.Value `json:"PipelineExecutionStartCondition,omitempty"` - - // ScheduleExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-schedule.html#cfn-imagebuilder-imagepipeline-schedule-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *ImagePipeline_Schedule) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImagePipeline.Schedule" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe.go deleted file mode 100644 index 055ea70183..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe.go +++ /dev/null @@ -1,148 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html -type ImageRecipe struct { - - // AdditionalInstanceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-additionalinstanceconfiguration - AdditionalInstanceConfiguration *ImageRecipe_AdditionalInstanceConfiguration `json:"AdditionalInstanceConfiguration,omitempty"` - - // BlockDeviceMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-blockdevicemappings - BlockDeviceMappings []ImageRecipe_InstanceBlockDeviceMapping `json:"BlockDeviceMappings,omitempty"` - - // Components AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-components - Components []ImageRecipe_ComponentConfiguration `json:"Components,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-name - Name *types.Value `json:"Name,omitempty"` - - // ParentImage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-parentimage - ParentImage *types.Value `json:"ParentImage,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-version - Version *types.Value `json:"Version,omitempty"` - - // WorkingDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-imagerecipe.html#cfn-imagebuilder-imagerecipe-workingdirectory - WorkingDirectory *types.Value `json:"WorkingDirectory,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 *ImageRecipe) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe" -} - -// 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 (r ImageRecipe) MarshalJSON() ([]byte, error) { - type Properties ImageRecipe - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ImageRecipe) UnmarshalJSON(b []byte) error { - type Properties ImageRecipe - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ImageRecipe(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_additionalinstanceconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_additionalinstanceconfiguration.go deleted file mode 100644 index d20fb7525f..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_additionalinstanceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_AdditionalInstanceConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-additionalinstanceconfiguration.html -type ImageRecipe_AdditionalInstanceConfiguration struct { - - // SystemsManagerAgent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-additionalinstanceconfiguration.html#cfn-imagebuilder-imagerecipe-additionalinstanceconfiguration-systemsmanageragent - SystemsManagerAgent *ImageRecipe_SystemsManagerAgent `json:"SystemsManagerAgent,omitempty"` - - // UserDataOverride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-additionalinstanceconfiguration.html#cfn-imagebuilder-imagerecipe-additionalinstanceconfiguration-userdataoverride - UserDataOverride *types.Value `json:"UserDataOverride,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 *ImageRecipe_AdditionalInstanceConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentconfiguration.go deleted file mode 100644 index 86cf0fd183..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_ComponentConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.ComponentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentconfiguration.html -type ImageRecipe_ComponentConfiguration struct { - - // ComponentArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentconfiguration.html#cfn-imagebuilder-imagerecipe-componentconfiguration-componentarn - ComponentArn *types.Value `json:"ComponentArn,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentconfiguration.html#cfn-imagebuilder-imagerecipe-componentconfiguration-parameters - Parameters []ImageRecipe_ComponentParameter `json:"Parameters,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 *ImageRecipe_ComponentConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.ComponentConfiguration" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentparameter.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentparameter.go deleted file mode 100644 index f821ff047f..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_componentparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_ComponentParameter AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.ComponentParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentparameter.html -type ImageRecipe_ComponentParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentparameter.html#cfn-imagebuilder-imagerecipe-componentparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-componentparameter.html#cfn-imagebuilder-imagerecipe-componentparameter-value - Value *types.Value `json:"Value,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 *ImageRecipe_ComponentParameter) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.ComponentParameter" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_ebsinstanceblockdevicespecification.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_ebsinstanceblockdevicespecification.go deleted file mode 100644 index 0d68b15e38..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_ebsinstanceblockdevicespecification.go +++ /dev/null @@ -1,72 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_EbsInstanceBlockDeviceSpecification AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html -type ImageRecipe_EbsInstanceBlockDeviceSpecification struct { - - // DeleteOnTermination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-deleteontermination - DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-encrypted - Encrypted *types.Value `json:"Encrypted,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-iops - Iops *types.Value `json:"Iops,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // SnapshotId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-snapshotid - SnapshotId *types.Value `json:"SnapshotId,omitempty"` - - // Throughput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-throughput - Throughput *types.Value `json:"Throughput,omitempty"` - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-volumesize - VolumeSize *types.Value `json:"VolumeSize,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification.html#cfn-imagebuilder-imagerecipe-ebsinstanceblockdevicespecification-volumetype - VolumeType *types.Value `json:"VolumeType,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 *ImageRecipe_EbsInstanceBlockDeviceSpecification) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_instanceblockdevicemapping.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_instanceblockdevicemapping.go deleted file mode 100644 index 8235b20e02..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_instanceblockdevicemapping.go +++ /dev/null @@ -1,52 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_InstanceBlockDeviceMapping AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html -type ImageRecipe_InstanceBlockDeviceMapping struct { - - // DeviceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-devicename - DeviceName *types.Value `json:"DeviceName,omitempty"` - - // Ebs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-ebs - Ebs *ImageRecipe_EbsInstanceBlockDeviceSpecification `json:"Ebs,omitempty"` - - // NoDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-nodevice - NoDevice *types.Value `json:"NoDevice,omitempty"` - - // VirtualName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-instanceblockdevicemapping.html#cfn-imagebuilder-imagerecipe-instanceblockdevicemapping-virtualname - VirtualName *types.Value `json:"VirtualName,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 *ImageRecipe_InstanceBlockDeviceMapping) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_systemsmanageragent.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_systemsmanageragent.go deleted file mode 100644 index 3b2e9388a6..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-imagerecipe_systemsmanageragent.go +++ /dev/null @@ -1,37 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageRecipe_SystemsManagerAgent AWS CloudFormation Resource (AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-systemsmanageragent.html -type ImageRecipe_SystemsManagerAgent struct { - - // UninstallAfterBuild AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagerecipe-systemsmanageragent.html#cfn-imagebuilder-imagerecipe-systemsmanageragent-uninstallafterbuild - UninstallAfterBuild *types.Value `json:"UninstallAfterBuild,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 *ImageRecipe_SystemsManagerAgent) AWSCloudFormationType() string { - return "AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration.go deleted file mode 100644 index 014b7e2e5a..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration.go +++ /dev/null @@ -1,168 +0,0 @@ -package imagebuilder - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InfrastructureConfiguration AWS CloudFormation Resource (AWS::ImageBuilder::InfrastructureConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html -type InfrastructureConfiguration struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // InstanceMetadataOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instancemetadataoptions - InstanceMetadataOptions *InfrastructureConfiguration_InstanceMetadataOptions `json:"InstanceMetadataOptions,omitempty"` - - // InstanceProfileName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instanceprofilename - InstanceProfileName *types.Value `json:"InstanceProfileName,omitempty"` - - // InstanceTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instancetypes - InstanceTypes *types.Value `json:"InstanceTypes,omitempty"` - - // KeyPair AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-keypair - KeyPair *types.Value `json:"KeyPair,omitempty"` - - // Logging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-logging - Logging *InfrastructureConfiguration_Logging `json:"Logging,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // ResourceTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-resourcetags - ResourceTags map[string]*types.Value `json:"ResourceTags,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SnsTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-subnetid - SubnetId *types.Value `json:"SubnetId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // TerminateInstanceOnFailure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-terminateinstanceonfailure - TerminateInstanceOnFailure *types.Value `json:"TerminateInstanceOnFailure,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 *InfrastructureConfiguration) AWSCloudFormationType() string { - return "AWS::ImageBuilder::InfrastructureConfiguration" -} - -// 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 (r InfrastructureConfiguration) MarshalJSON() ([]byte, error) { - type Properties InfrastructureConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InfrastructureConfiguration) UnmarshalJSON(b []byte) error { - type Properties InfrastructureConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InfrastructureConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_instancemetadataoptions.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_instancemetadataoptions.go deleted file mode 100644 index 48990e15e0..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_instancemetadataoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InfrastructureConfiguration_InstanceMetadataOptions AWS CloudFormation Resource (AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-instancemetadataoptions.html -type InfrastructureConfiguration_InstanceMetadataOptions struct { - - // HttpPutResponseHopLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-instancemetadataoptions.html#cfn-imagebuilder-infrastructureconfiguration-instancemetadataoptions-httpputresponsehoplimit - HttpPutResponseHopLimit *types.Value `json:"HttpPutResponseHopLimit,omitempty"` - - // HttpTokens AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-instancemetadataoptions.html#cfn-imagebuilder-infrastructureconfiguration-instancemetadataoptions-httptokens - HttpTokens *types.Value `json:"HttpTokens,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 *InfrastructureConfiguration_InstanceMetadataOptions) AWSCloudFormationType() string { - return "AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_logging.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_logging.go deleted file mode 100644 index 9ae267f3f2..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_logging.go +++ /dev/null @@ -1,35 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InfrastructureConfiguration_Logging AWS CloudFormation Resource (AWS::ImageBuilder::InfrastructureConfiguration.Logging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-logging.html -type InfrastructureConfiguration_Logging struct { - - // S3Logs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-logging.html#cfn-imagebuilder-infrastructureconfiguration-logging-s3logs - S3Logs *InfrastructureConfiguration_S3Logs `json:"S3Logs,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 *InfrastructureConfiguration_Logging) AWSCloudFormationType() string { - return "AWS::ImageBuilder::InfrastructureConfiguration.Logging" -} diff --git a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_s3logs.go b/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_s3logs.go deleted file mode 100644 index a8f62c9205..0000000000 --- a/pkg/goformation/cloudformation/imagebuilder/aws-imagebuilder-infrastructureconfiguration_s3logs.go +++ /dev/null @@ -1,42 +0,0 @@ -package imagebuilder - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InfrastructureConfiguration_S3Logs AWS CloudFormation Resource (AWS::ImageBuilder::InfrastructureConfiguration.S3Logs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-s3logs.html -type InfrastructureConfiguration_S3Logs struct { - - // S3BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-s3logs.html#cfn-imagebuilder-infrastructureconfiguration-s3logs-s3bucketname - S3BucketName *types.Value `json:"S3BucketName,omitempty"` - - // S3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-infrastructureconfiguration-s3logs.html#cfn-imagebuilder-infrastructureconfiguration-s3logs-s3keyprefix - S3KeyPrefix *types.Value `json:"S3KeyPrefix,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 *InfrastructureConfiguration_S3Logs) AWSCloudFormationType() string { - return "AWS::ImageBuilder::InfrastructureConfiguration.S3Logs" -} diff --git a/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttarget.go b/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttarget.go deleted file mode 100644 index 3ac5724e62..0000000000 --- a/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttarget.go +++ /dev/null @@ -1,113 +0,0 @@ -package inspector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssessmentTarget AWS CloudFormation Resource (AWS::Inspector::AssessmentTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html -type AssessmentTarget struct { - - // AssessmentTargetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-assessmenttargetname - AssessmentTargetName *types.Value `json:"AssessmentTargetName,omitempty"` - - // ResourceGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-resourcegrouparn - ResourceGroupArn *types.Value `json:"ResourceGroupArn,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 *AssessmentTarget) AWSCloudFormationType() string { - return "AWS::Inspector::AssessmentTarget" -} - -// 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 (r AssessmentTarget) MarshalJSON() ([]byte, error) { - type Properties AssessmentTarget - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AssessmentTarget) UnmarshalJSON(b []byte) error { - type Properties AssessmentTarget - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AssessmentTarget(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttemplate.go b/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttemplate.go deleted file mode 100644 index ab3b51db82..0000000000 --- a/pkg/goformation/cloudformation/inspector/aws-inspector-assessmenttemplate.go +++ /dev/null @@ -1,129 +0,0 @@ -package inspector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssessmentTemplate AWS CloudFormation Resource (AWS::Inspector::AssessmentTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html -type AssessmentTemplate struct { - - // AssessmentTargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttargetarn - AssessmentTargetArn *types.Value `json:"AssessmentTargetArn,omitempty"` - - // AssessmentTemplateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-assessmenttemplatename - AssessmentTemplateName *types.Value `json:"AssessmentTemplateName,omitempty"` - - // DurationInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds"` - - // RulesPackageArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-rulespackagearns - RulesPackageArns *types.Value `json:"RulesPackageArns,omitempty"` - - // UserAttributesForFindings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttemplate.html#cfn-inspector-assessmenttemplate-userattributesforfindings - UserAttributesForFindings []cloudformation.Tag `json:"UserAttributesForFindings,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 *AssessmentTemplate) AWSCloudFormationType() string { - return "AWS::Inspector::AssessmentTemplate" -} - -// 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 (r AssessmentTemplate) MarshalJSON() ([]byte, error) { - type Properties AssessmentTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AssessmentTemplate) UnmarshalJSON(b []byte) error { - type Properties AssessmentTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AssessmentTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/inspector/aws-inspector-resourcegroup.go b/pkg/goformation/cloudformation/inspector/aws-inspector-resourcegroup.go deleted file mode 100644 index a49f074ab4..0000000000 --- a/pkg/goformation/cloudformation/inspector/aws-inspector-resourcegroup.go +++ /dev/null @@ -1,107 +0,0 @@ -package inspector - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceGroup AWS CloudFormation Resource (AWS::Inspector::ResourceGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html -type ResourceGroup struct { - - // ResourceGroupTags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-resourcegroup.html#cfn-inspector-resourcegroup-resourcegrouptags - ResourceGroupTags []cloudformation.Tag `json:"ResourceGroupTags,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 *ResourceGroup) AWSCloudFormationType() string { - return "AWS::Inspector::ResourceGroup" -} - -// 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 (r ResourceGroup) MarshalJSON() ([]byte, error) { - type Properties ResourceGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceGroup) UnmarshalJSON(b []byte) error { - type Properties ResourceGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration.go b/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration.go deleted file mode 100644 index d87aad35b0..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration.go +++ /dev/null @@ -1,123 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccountAuditConfiguration AWS CloudFormation Resource (AWS::IoT::AccountAuditConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html -type AccountAuditConfiguration struct { - - // AccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html#cfn-iot-accountauditconfiguration-accountid - AccountId *types.Value `json:"AccountId,omitempty"` - - // AuditCheckConfigurations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations - AuditCheckConfigurations *AccountAuditConfiguration_AuditCheckConfigurations `json:"AuditCheckConfigurations,omitempty"` - - // AuditNotificationTargetConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html#cfn-iot-accountauditconfiguration-auditnotificationtargetconfigurations - AuditNotificationTargetConfigurations *AccountAuditConfiguration_AuditNotificationTargetConfigurations `json:"AuditNotificationTargetConfigurations,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html#cfn-iot-accountauditconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,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 *AccountAuditConfiguration) AWSCloudFormationType() string { - return "AWS::IoT::AccountAuditConfiguration" -} - -// 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 (r AccountAuditConfiguration) MarshalJSON() ([]byte, error) { - type Properties AccountAuditConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccountAuditConfiguration) UnmarshalJSON(b []byte) error { - type Properties AccountAuditConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AccountAuditConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfigurations.go b/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfigurations.go deleted file mode 100644 index f451f65364..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditcheckconfigurations.go +++ /dev/null @@ -1,100 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccountAuditConfiguration_AuditCheckConfigurations AWS CloudFormation Resource (AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html -type AccountAuditConfiguration_AuditCheckConfigurations struct { - - // AuthenticatedCognitoRoleOverlyPermissiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-authenticatedcognitoroleoverlypermissivecheck - AuthenticatedCognitoRoleOverlyPermissiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"AuthenticatedCognitoRoleOverlyPermissiveCheck,omitempty"` - - // CaCertificateExpiringCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-cacertificateexpiringcheck - CaCertificateExpiringCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"CaCertificateExpiringCheck,omitempty"` - - // CaCertificateKeyQualityCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-cacertificatekeyqualitycheck - CaCertificateKeyQualityCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"CaCertificateKeyQualityCheck,omitempty"` - - // ConflictingClientIdsCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-conflictingclientidscheck - ConflictingClientIdsCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"ConflictingClientIdsCheck,omitempty"` - - // DeviceCertificateExpiringCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-devicecertificateexpiringcheck - DeviceCertificateExpiringCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"DeviceCertificateExpiringCheck,omitempty"` - - // DeviceCertificateKeyQualityCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-devicecertificatekeyqualitycheck - DeviceCertificateKeyQualityCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"DeviceCertificateKeyQualityCheck,omitempty"` - - // DeviceCertificateSharedCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-devicecertificatesharedcheck - DeviceCertificateSharedCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"DeviceCertificateSharedCheck,omitempty"` - - // IotPolicyOverlyPermissiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-iotpolicyoverlypermissivecheck - IotPolicyOverlyPermissiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"IotPolicyOverlyPermissiveCheck,omitempty"` - - // IotRoleAliasAllowsAccessToUnusedServicesCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-iotrolealiasallowsaccesstounusedservicescheck - IotRoleAliasAllowsAccessToUnusedServicesCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"IotRoleAliasAllowsAccessToUnusedServicesCheck,omitempty"` - - // IotRoleAliasOverlyPermissiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-iotrolealiasoverlypermissivecheck - IotRoleAliasOverlyPermissiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"IotRoleAliasOverlyPermissiveCheck,omitempty"` - - // LoggingDisabledCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-loggingdisabledcheck - LoggingDisabledCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"LoggingDisabledCheck,omitempty"` - - // RevokedCaCertificateStillActiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-revokedcacertificatestillactivecheck - RevokedCaCertificateStillActiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"RevokedCaCertificateStillActiveCheck,omitempty"` - - // RevokedDeviceCertificateStillActiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-revokeddevicecertificatestillactivecheck - RevokedDeviceCertificateStillActiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"RevokedDeviceCertificateStillActiveCheck,omitempty"` - - // UnauthenticatedCognitoRoleOverlyPermissiveCheck AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations-unauthenticatedcognitoroleoverlypermissivecheck - UnauthenticatedCognitoRoleOverlyPermissiveCheck *AccountAuditConfiguration_AuditCheckConfiguration `json:"UnauthenticatedCognitoRoleOverlyPermissiveCheck,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 *AccountAuditConfiguration_AuditCheckConfigurations) AWSCloudFormationType() string { - return "AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtarget.go b/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtarget.go deleted file mode 100644 index 3443dfabd2..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtarget.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccountAuditConfiguration_AuditNotificationTarget AWS CloudFormation Resource (AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtarget.html -type AccountAuditConfiguration_AuditNotificationTarget struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtarget.html#cfn-iot-accountauditconfiguration-auditnotificationtarget-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtarget.html#cfn-iot-accountauditconfiguration-auditnotificationtarget-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtarget.html#cfn-iot-accountauditconfiguration-auditnotificationtarget-targetarn - TargetArn *types.Value `json:"TargetArn,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 *AccountAuditConfiguration_AuditNotificationTarget) AWSCloudFormationType() string { - return "AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtargetconfigurations.go b/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtargetconfigurations.go deleted file mode 100644 index 3aee1a50c0..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-accountauditconfiguration_auditnotificationtargetconfigurations.go +++ /dev/null @@ -1,35 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccountAuditConfiguration_AuditNotificationTargetConfigurations AWS CloudFormation Resource (AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtargetconfigurations.html -type AccountAuditConfiguration_AuditNotificationTargetConfigurations struct { - - // Sns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditnotificationtargetconfigurations.html#cfn-iot-accountauditconfiguration-auditnotificationtargetconfigurations-sns - Sns *AccountAuditConfiguration_AuditNotificationTarget `json:"Sns,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 *AccountAuditConfiguration_AuditNotificationTargetConfigurations) AWSCloudFormationType() string { - return "AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-authorizer.go b/pkg/goformation/cloudformation/iot/aws-iot-authorizer.go deleted file mode 100644 index 9d62455981..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-authorizer.go +++ /dev/null @@ -1,139 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer AWS CloudFormation Resource (AWS::IoT::Authorizer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html -type Authorizer struct { - - // AuthorizerFunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-authorizerfunctionarn - AuthorizerFunctionArn *types.Value `json:"AuthorizerFunctionArn,omitempty"` - - // AuthorizerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-authorizername - AuthorizerName *types.Value `json:"AuthorizerName,omitempty"` - - // SigningDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-signingdisabled - SigningDisabled *types.Value `json:"SigningDisabled,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-status - Status *types.Value `json:"Status,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TokenKeyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tokenkeyname - TokenKeyName *types.Value `json:"TokenKeyName,omitempty"` - - // TokenSigningPublicKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-authorizer.html#cfn-iot-authorizer-tokensigningpublickeys - TokenSigningPublicKeys map[string]*types.Value `json:"TokenSigningPublicKeys,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 *Authorizer) AWSCloudFormationType() string { - return "AWS::IoT::Authorizer" -} - -// 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 (r Authorizer) MarshalJSON() ([]byte, error) { - type Properties Authorizer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Authorizer) UnmarshalJSON(b []byte) error { - type Properties Authorizer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Authorizer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tags.go b/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tags.go deleted file mode 100644 index 198e88c62e..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tags.go +++ /dev/null @@ -1,35 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer_Tags AWS CloudFormation Resource (AWS::IoT::Authorizer.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-authorizer-tags.html -type Authorizer_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-authorizer-tags.html#cfn-iot-authorizer-tags-tags - Tags []interface{} `json:"Tags,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 *Authorizer_Tags) AWSCloudFormationType() string { - return "AWS::IoT::Authorizer.Tags" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tokensigningpublickeys.go b/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tokensigningpublickeys.go deleted file mode 100644 index 3c93202609..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-authorizer_tokensigningpublickeys.go +++ /dev/null @@ -1,30 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Authorizer_TokenSigningPublicKeys AWS CloudFormation Resource (AWS::IoT::Authorizer.TokenSigningPublicKeys) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-authorizer-tokensigningpublickeys.html -type Authorizer_TokenSigningPublicKeys struct { - - // 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 *Authorizer_TokenSigningPublicKeys) AWSCloudFormationType() string { - return "AWS::IoT::Authorizer.TokenSigningPublicKeys" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-certificate.go b/pkg/goformation/cloudformation/iot/aws-iot-certificate.go deleted file mode 100644 index 1f905d1ad3..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-certificate.go +++ /dev/null @@ -1,128 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Certificate AWS CloudFormation Resource (AWS::IoT::Certificate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html -type Certificate struct { - - // CACertificatePem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html#cfn-iot-certificate-cacertificatepem - CACertificatePem *types.Value `json:"CACertificatePem,omitempty"` - - // CertificateMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html#cfn-iot-certificate-certificatemode - CertificateMode *types.Value `json:"CertificateMode,omitempty"` - - // CertificatePem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html#cfn-iot-certificate-certificatepem - CertificatePem *types.Value `json:"CertificatePem,omitempty"` - - // CertificateSigningRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html#cfn-iot-certificate-certificatesigningrequest - CertificateSigningRequest *types.Value `json:"CertificateSigningRequest,omitempty"` - - // Status AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-certificate.html#cfn-iot-certificate-status - Status *types.Value `json:"Status,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 *Certificate) AWSCloudFormationType() string { - return "AWS::IoT::Certificate" -} - -// 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 (r Certificate) MarshalJSON() ([]byte, error) { - type Properties Certificate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Certificate) UnmarshalJSON(b []byte) error { - type Properties Certificate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Certificate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-custommetric.go b/pkg/goformation/cloudformation/iot/aws-iot-custommetric.go deleted file mode 100644 index 3cfba7d3ba..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-custommetric.go +++ /dev/null @@ -1,124 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomMetric AWS CloudFormation Resource (AWS::IoT::CustomMetric) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html -type CustomMetric struct { - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // MetricType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-metrictype - MetricType *types.Value `json:"MetricType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-tags - Tags []cloudformation.Tag `json:"Tags,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 *CustomMetric) AWSCloudFormationType() string { - return "AWS::IoT::CustomMetric" -} - -// 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 (r CustomMetric) MarshalJSON() ([]byte, error) { - type Properties CustomMetric - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CustomMetric) UnmarshalJSON(b []byte) error { - type Properties CustomMetric - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CustomMetric(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration.go b/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration.go deleted file mode 100644 index 6a09035b59..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration.go +++ /dev/null @@ -1,144 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainConfiguration AWS CloudFormation Resource (AWS::IoT::DomainConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html -type DomainConfiguration struct { - - // AuthorizerConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-authorizerconfig - AuthorizerConfig *DomainConfiguration_AuthorizerConfig `json:"AuthorizerConfig,omitempty"` - - // DomainConfigurationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-domainconfigurationname - DomainConfigurationName *types.Value `json:"DomainConfigurationName,omitempty"` - - // DomainConfigurationStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-domainconfigurationstatus - DomainConfigurationStatus *types.Value `json:"DomainConfigurationStatus,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // ServerCertificateArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-servercertificatearns - ServerCertificateArns *types.Value `json:"ServerCertificateArns,omitempty"` - - // ServiceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-servicetype - ServiceType *types.Value `json:"ServiceType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ValidationCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html#cfn-iot-domainconfiguration-validationcertificatearn - ValidationCertificateArn *types.Value `json:"ValidationCertificateArn,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 *DomainConfiguration) AWSCloudFormationType() string { - return "AWS::IoT::DomainConfiguration" -} - -// 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 (r DomainConfiguration) MarshalJSON() ([]byte, error) { - type Properties DomainConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DomainConfiguration) UnmarshalJSON(b []byte) error { - type Properties DomainConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DomainConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_authorizerconfig.go b/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_authorizerconfig.go deleted file mode 100644 index 5a4108410c..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_authorizerconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainConfiguration_AuthorizerConfig AWS CloudFormation Resource (AWS::IoT::DomainConfiguration.AuthorizerConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-authorizerconfig.html -type DomainConfiguration_AuthorizerConfig struct { - - // AllowAuthorizerOverride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-authorizerconfig.html#cfn-iot-domainconfiguration-authorizerconfig-allowauthorizeroverride - AllowAuthorizerOverride *types.Value `json:"AllowAuthorizerOverride,omitempty"` - - // DefaultAuthorizerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-authorizerconfig.html#cfn-iot-domainconfiguration-authorizerconfig-defaultauthorizername - DefaultAuthorizerName *types.Value `json:"DefaultAuthorizerName,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 *DomainConfiguration_AuthorizerConfig) AWSCloudFormationType() string { - return "AWS::IoT::DomainConfiguration.AuthorizerConfig" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_servercertificatesummary.go b/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_servercertificatesummary.go deleted file mode 100644 index 2cf24402a7..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_servercertificatesummary.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainConfiguration_ServerCertificateSummary AWS CloudFormation Resource (AWS::IoT::DomainConfiguration.ServerCertificateSummary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificatesummary.html -type DomainConfiguration_ServerCertificateSummary struct { - - // ServerCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificatesummary.html#cfn-iot-domainconfiguration-servercertificatesummary-servercertificatearn - ServerCertificateArn *types.Value `json:"ServerCertificateArn,omitempty"` - - // ServerCertificateStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificatesummary.html#cfn-iot-domainconfiguration-servercertificatesummary-servercertificatestatus - ServerCertificateStatus *types.Value `json:"ServerCertificateStatus,omitempty"` - - // ServerCertificateStatusDetail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificatesummary.html#cfn-iot-domainconfiguration-servercertificatesummary-servercertificatestatusdetail - ServerCertificateStatusDetail *types.Value `json:"ServerCertificateStatusDetail,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 *DomainConfiguration_ServerCertificateSummary) AWSCloudFormationType() string { - return "AWS::IoT::DomainConfiguration.ServerCertificateSummary" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_tags.go b/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_tags.go deleted file mode 100644 index 6b85fc51fd..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-domainconfiguration_tags.go +++ /dev/null @@ -1,35 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DomainConfiguration_Tags AWS CloudFormation Resource (AWS::IoT::DomainConfiguration.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-tags.html -type DomainConfiguration_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-tags.html#cfn-iot-domainconfiguration-tags-tags - Tags []interface{} `json:"Tags,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 *DomainConfiguration_Tags) AWSCloudFormationType() string { - return "AWS::IoT::DomainConfiguration.Tags" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric.go b/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric.go deleted file mode 100644 index a68107174a..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric.go +++ /dev/null @@ -1,154 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FleetMetric AWS CloudFormation Resource (AWS::IoT::FleetMetric) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html -type FleetMetric struct { - - // AggregationField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-aggregationfield - AggregationField *types.Value `json:"AggregationField,omitempty"` - - // AggregationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-aggregationtype - AggregationType *FleetMetric_AggregationType `json:"AggregationType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-description - Description *types.Value `json:"Description,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Period AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-period - Period *types.Value `json:"Period,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-querystring - QueryString *types.Value `json:"QueryString,omitempty"` - - // QueryVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-queryversion - QueryVersion *types.Value `json:"QueryVersion,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-fleetmetric.html#cfn-iot-fleetmetric-unit - Unit *types.Value `json:"Unit,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 *FleetMetric) AWSCloudFormationType() string { - return "AWS::IoT::FleetMetric" -} - -// 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 (r FleetMetric) MarshalJSON() ([]byte, error) { - type Properties FleetMetric - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FleetMetric) UnmarshalJSON(b []byte) error { - type Properties FleetMetric - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FleetMetric(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric_aggregationtype.go b/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric_aggregationtype.go deleted file mode 100644 index 57621842b5..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-fleetmetric_aggregationtype.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FleetMetric_AggregationType AWS CloudFormation Resource (AWS::IoT::FleetMetric.AggregationType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-fleetmetric-aggregationtype.html -type FleetMetric_AggregationType struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-fleetmetric-aggregationtype.html#cfn-iot-fleetmetric-aggregationtype-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-fleetmetric-aggregationtype.html#cfn-iot-fleetmetric-aggregationtype-values - Values *types.Value `json:"Values,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 *FleetMetric_AggregationType) AWSCloudFormationType() string { - return "AWS::IoT::FleetMetric.AggregationType" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-logging.go b/pkg/goformation/cloudformation/iot/aws-iot-logging.go deleted file mode 100644 index ac4ebd38ec..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-logging.go +++ /dev/null @@ -1,118 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Logging AWS CloudFormation Resource (AWS::IoT::Logging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html -type Logging struct { - - // AccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html#cfn-iot-logging-accountid - AccountId *types.Value `json:"AccountId,omitempty"` - - // DefaultLogLevel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html#cfn-iot-logging-defaultloglevel - DefaultLogLevel *types.Value `json:"DefaultLogLevel,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html#cfn-iot-logging-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Logging) AWSCloudFormationType() string { - return "AWS::IoT::Logging" -} - -// 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 (r Logging) MarshalJSON() ([]byte, error) { - type Properties Logging - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Logging) UnmarshalJSON(b []byte) error { - type Properties Logging - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Logging(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction.go deleted file mode 100644 index 373f920791..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction.go +++ /dev/null @@ -1,124 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction AWS CloudFormation Resource (AWS::IoT::MitigationAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html -type MitigationAction struct { - - // ActionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-actionname - ActionName *types.Value `json:"ActionName,omitempty"` - - // ActionParams AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-actionparams - ActionParams *MitigationAction_ActionParams `json:"ActionParams,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-tags - Tags []cloudformation.Tag `json:"Tags,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 *MitigationAction) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction" -} - -// 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 (r MitigationAction) MarshalJSON() ([]byte, error) { - type Properties MitigationAction - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MitigationAction) UnmarshalJSON(b []byte) error { - type Properties MitigationAction - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MitigationAction(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_actionparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_actionparams.go deleted file mode 100644 index 2851eb7442..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_actionparams.go +++ /dev/null @@ -1,60 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_ActionParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.ActionParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html -type MitigationAction_ActionParams struct { - - // AddThingsToThingGroupParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-addthingstothinggroupparams - AddThingsToThingGroupParams *MitigationAction_AddThingsToThingGroupParams `json:"AddThingsToThingGroupParams,omitempty"` - - // EnableIoTLoggingParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-enableiotloggingparams - EnableIoTLoggingParams *MitigationAction_EnableIoTLoggingParams `json:"EnableIoTLoggingParams,omitempty"` - - // PublishFindingToSnsParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-publishfindingtosnsparams - PublishFindingToSnsParams *MitigationAction_PublishFindingToSnsParams `json:"PublishFindingToSnsParams,omitempty"` - - // ReplaceDefaultPolicyVersionParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-replacedefaultpolicyversionparams - ReplaceDefaultPolicyVersionParams *MitigationAction_ReplaceDefaultPolicyVersionParams `json:"ReplaceDefaultPolicyVersionParams,omitempty"` - - // UpdateCACertificateParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-updatecacertificateparams - UpdateCACertificateParams *MitigationAction_UpdateCACertificateParams `json:"UpdateCACertificateParams,omitempty"` - - // UpdateDeviceCertificateParams AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-updatedevicecertificateparams - UpdateDeviceCertificateParams *MitigationAction_UpdateDeviceCertificateParams `json:"UpdateDeviceCertificateParams,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 *MitigationAction_ActionParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.ActionParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_addthingstothinggroupparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_addthingstothinggroupparams.go deleted file mode 100644 index 9d9ab27be3..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_addthingstothinggroupparams.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_AddThingsToThingGroupParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.AddThingsToThingGroupParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-addthingstothinggroupparams.html -type MitigationAction_AddThingsToThingGroupParams struct { - - // OverrideDynamicGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-addthingstothinggroupparams.html#cfn-iot-mitigationaction-addthingstothinggroupparams-overridedynamicgroups - OverrideDynamicGroups *types.Value `json:"OverrideDynamicGroups,omitempty"` - - // ThingGroupNames AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-addthingstothinggroupparams.html#cfn-iot-mitigationaction-addthingstothinggroupparams-thinggroupnames - ThingGroupNames *types.Value `json:"ThingGroupNames,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 *MitigationAction_AddThingsToThingGroupParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.AddThingsToThingGroupParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_enableiotloggingparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_enableiotloggingparams.go deleted file mode 100644 index bdd7c87f28..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_enableiotloggingparams.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_EnableIoTLoggingParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.EnableIoTLoggingParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-enableiotloggingparams.html -type MitigationAction_EnableIoTLoggingParams struct { - - // LogLevel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-enableiotloggingparams.html#cfn-iot-mitigationaction-enableiotloggingparams-loglevel - LogLevel *types.Value `json:"LogLevel,omitempty"` - - // RoleArnForLogging AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-enableiotloggingparams.html#cfn-iot-mitigationaction-enableiotloggingparams-rolearnforlogging - RoleArnForLogging *types.Value `json:"RoleArnForLogging,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 *MitigationAction_EnableIoTLoggingParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.EnableIoTLoggingParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_publishfindingtosnsparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_publishfindingtosnsparams.go deleted file mode 100644 index 3b63df9993..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_publishfindingtosnsparams.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_PublishFindingToSnsParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.PublishFindingToSnsParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-publishfindingtosnsparams.html -type MitigationAction_PublishFindingToSnsParams struct { - - // TopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-publishfindingtosnsparams.html#cfn-iot-mitigationaction-publishfindingtosnsparams-topicarn - TopicArn *types.Value `json:"TopicArn,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 *MitigationAction_PublishFindingToSnsParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.PublishFindingToSnsParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_replacedefaultpolicyversionparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_replacedefaultpolicyversionparams.go deleted file mode 100644 index 46652dba5d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_replacedefaultpolicyversionparams.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_ReplaceDefaultPolicyVersionParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-replacedefaultpolicyversionparams.html -type MitigationAction_ReplaceDefaultPolicyVersionParams struct { - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-replacedefaultpolicyversionparams.html#cfn-iot-mitigationaction-replacedefaultpolicyversionparams-templatename - TemplateName *types.Value `json:"TemplateName,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 *MitigationAction_ReplaceDefaultPolicyVersionParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatecacertificateparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatecacertificateparams.go deleted file mode 100644 index 975360be15..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatecacertificateparams.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_UpdateCACertificateParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.UpdateCACertificateParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-updatecacertificateparams.html -type MitigationAction_UpdateCACertificateParams struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-updatecacertificateparams.html#cfn-iot-mitigationaction-updatecacertificateparams-action - Action *types.Value `json:"Action,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 *MitigationAction_UpdateCACertificateParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.UpdateCACertificateParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatedevicecertificateparams.go b/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatedevicecertificateparams.go deleted file mode 100644 index 7e66a95f54..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-mitigationaction_updatedevicecertificateparams.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MitigationAction_UpdateDeviceCertificateParams AWS CloudFormation Resource (AWS::IoT::MitigationAction.UpdateDeviceCertificateParams) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-updatedevicecertificateparams.html -type MitigationAction_UpdateDeviceCertificateParams struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-updatedevicecertificateparams.html#cfn-iot-mitigationaction-updatedevicecertificateparams-action - Action *types.Value `json:"Action,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 *MitigationAction_UpdateDeviceCertificateParams) AWSCloudFormationType() string { - return "AWS::IoT::MitigationAction.UpdateDeviceCertificateParams" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-policyprincipalattachment.go b/pkg/goformation/cloudformation/iot/aws-iot-policyprincipalattachment.go deleted file mode 100644 index de775283bc..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-policyprincipalattachment.go +++ /dev/null @@ -1,113 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PolicyPrincipalAttachment AWS CloudFormation Resource (AWS::IoT::PolicyPrincipalAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html -type PolicyPrincipalAttachment struct { - - // PolicyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html#cfn-iot-policyprincipalattachment-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policyprincipalattachment.html#cfn-iot-policyprincipalattachment-principal - Principal *types.Value `json:"Principal,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 *PolicyPrincipalAttachment) AWSCloudFormationType() string { - return "AWS::IoT::PolicyPrincipalAttachment" -} - -// 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 (r PolicyPrincipalAttachment) MarshalJSON() ([]byte, error) { - type Properties PolicyPrincipalAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PolicyPrincipalAttachment) UnmarshalJSON(b []byte) error { - type Properties PolicyPrincipalAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PolicyPrincipalAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate.go b/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate.go deleted file mode 100644 index 479112d3cd..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate.go +++ /dev/null @@ -1,139 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProvisioningTemplate AWS CloudFormation Resource (AWS::IoT::ProvisioningTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html -type ProvisioningTemplate struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-description - Description *types.Value `json:"Description,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // PreProvisioningHook AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-preprovisioninghook - PreProvisioningHook *ProvisioningTemplate_ProvisioningHook `json:"PreProvisioningHook,omitempty"` - - // ProvisioningRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-provisioningrolearn - ProvisioningRoleArn *types.Value `json:"ProvisioningRoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TemplateBody AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-templatebody - TemplateBody *types.Value `json:"TemplateBody,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-provisioningtemplate.html#cfn-iot-provisioningtemplate-templatename - TemplateName *types.Value `json:"TemplateName,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 *ProvisioningTemplate) AWSCloudFormationType() string { - return "AWS::IoT::ProvisioningTemplate" -} - -// 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 (r ProvisioningTemplate) MarshalJSON() ([]byte, error) { - type Properties ProvisioningTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ProvisioningTemplate) UnmarshalJSON(b []byte) error { - type Properties ProvisioningTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ProvisioningTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_provisioninghook.go b/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_provisioninghook.go deleted file mode 100644 index ee99748e64..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_provisioninghook.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProvisioningTemplate_ProvisioningHook AWS CloudFormation Resource (AWS::IoT::ProvisioningTemplate.ProvisioningHook) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-provisioningtemplate-provisioninghook.html -type ProvisioningTemplate_ProvisioningHook struct { - - // PayloadVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-provisioningtemplate-provisioninghook.html#cfn-iot-provisioningtemplate-provisioninghook-payloadversion - PayloadVersion *types.Value `json:"PayloadVersion,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-provisioningtemplate-provisioninghook.html#cfn-iot-provisioningtemplate-provisioninghook-targetarn - TargetArn *types.Value `json:"TargetArn,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 *ProvisioningTemplate_ProvisioningHook) AWSCloudFormationType() string { - return "AWS::IoT::ProvisioningTemplate.ProvisioningHook" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_tags.go b/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_tags.go deleted file mode 100644 index e648d73870..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-provisioningtemplate_tags.go +++ /dev/null @@ -1,35 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProvisioningTemplate_Tags AWS CloudFormation Resource (AWS::IoT::ProvisioningTemplate.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-provisioningtemplate-tags.html -type ProvisioningTemplate_Tags struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-provisioningtemplate-tags.html#cfn-iot-provisioningtemplate-tags-tags - Tags []interface{} `json:"Tags,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 *ProvisioningTemplate_Tags) AWSCloudFormationType() string { - return "AWS::IoT::ProvisioningTemplate.Tags" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-resourcespecificlogging.go b/pkg/goformation/cloudformation/iot/aws-iot-resourcespecificlogging.go deleted file mode 100644 index a81ba0bf28..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-resourcespecificlogging.go +++ /dev/null @@ -1,118 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSpecificLogging AWS CloudFormation Resource (AWS::IoT::ResourceSpecificLogging) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html -type ResourceSpecificLogging struct { - - // LogLevel AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-loglevel - LogLevel *types.Value `json:"LogLevel,omitempty"` - - // TargetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-targetname - TargetName *types.Value `json:"TargetName,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-resourcespecificlogging.html#cfn-iot-resourcespecificlogging-targettype - TargetType *types.Value `json:"TargetType,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 *ResourceSpecificLogging) AWSCloudFormationType() string { - return "AWS::IoT::ResourceSpecificLogging" -} - -// 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 (r ResourceSpecificLogging) MarshalJSON() ([]byte, error) { - type Properties ResourceSpecificLogging - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceSpecificLogging) UnmarshalJSON(b []byte) error { - type Properties ResourceSpecificLogging - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceSpecificLogging(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-scheduledaudit.go b/pkg/goformation/cloudformation/iot/aws-iot-scheduledaudit.go deleted file mode 100644 index 2c84988320..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-scheduledaudit.go +++ /dev/null @@ -1,134 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAudit AWS CloudFormation Resource (AWS::IoT::ScheduledAudit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html -type ScheduledAudit struct { - - // DayOfMonth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-dayofmonth - DayOfMonth *types.Value `json:"DayOfMonth,omitempty"` - - // DayOfWeek AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-dayofweek - DayOfWeek *types.Value `json:"DayOfWeek,omitempty"` - - // Frequency AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-frequency - Frequency *types.Value `json:"Frequency,omitempty"` - - // ScheduledAuditName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-scheduledauditname - ScheduledAuditName *types.Value `json:"ScheduledAuditName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetCheckNames AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-scheduledaudit.html#cfn-iot-scheduledaudit-targetchecknames - TargetCheckNames *types.Value `json:"TargetCheckNames,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 *ScheduledAudit) AWSCloudFormationType() string { - return "AWS::IoT::ScheduledAudit" -} - -// 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 (r ScheduledAudit) MarshalJSON() ([]byte, error) { - type Properties ScheduledAudit - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScheduledAudit) UnmarshalJSON(b []byte) error { - type Properties ScheduledAudit - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScheduledAudit(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile.go deleted file mode 100644 index 7ac7c4f53a..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile.go +++ /dev/null @@ -1,139 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile AWS CloudFormation Resource (AWS::IoT::SecurityProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html -type SecurityProfile struct { - - // AdditionalMetricsToRetainV2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-additionalmetricstoretainv2 - AdditionalMetricsToRetainV2 []SecurityProfile_MetricToRetain `json:"AdditionalMetricsToRetainV2,omitempty"` - - // AlertTargets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-alerttargets - AlertTargets map[string]SecurityProfile_AlertTarget `json:"AlertTargets,omitempty"` - - // Behaviors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-behaviors - Behaviors []SecurityProfile_Behavior `json:"Behaviors,omitempty"` - - // SecurityProfileDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-securityprofiledescription - SecurityProfileDescription *types.Value `json:"SecurityProfileDescription,omitempty"` - - // SecurityProfileName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-securityprofilename - SecurityProfileName *types.Value `json:"SecurityProfileName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-securityprofile.html#cfn-iot-securityprofile-targetarns - TargetArns *types.Value `json:"TargetArns,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 *SecurityProfile) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile" -} - -// 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 (r SecurityProfile) MarshalJSON() ([]byte, error) { - type Properties SecurityProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecurityProfile) UnmarshalJSON(b []byte) error { - type Properties SecurityProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecurityProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behavior.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behavior.go deleted file mode 100644 index 02ae60abd8..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behavior.go +++ /dev/null @@ -1,57 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile_Behavior AWS CloudFormation Resource (AWS::IoT::SecurityProfile.Behavior) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html -type SecurityProfile_Behavior struct { - - // Criteria AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-criteria - Criteria *SecurityProfile_BehaviorCriteria `json:"Criteria,omitempty"` - - // Metric AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-metric - Metric *types.Value `json:"Metric,omitempty"` - - // MetricDimension AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-metricdimension - MetricDimension *SecurityProfile_MetricDimension `json:"MetricDimension,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-name - Name *types.Value `json:"Name,omitempty"` - - // SuppressAlerts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behavior.html#cfn-iot-securityprofile-behavior-suppressalerts - SuppressAlerts *types.Value `json:"SuppressAlerts,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 *SecurityProfile_Behavior) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.Behavior" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behaviorcriteria.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behaviorcriteria.go deleted file mode 100644 index daac5b5136..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_behaviorcriteria.go +++ /dev/null @@ -1,67 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile_BehaviorCriteria AWS CloudFormation Resource (AWS::IoT::SecurityProfile.BehaviorCriteria) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html -type SecurityProfile_BehaviorCriteria struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // ConsecutiveDatapointsToAlarm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-consecutivedatapointstoalarm - ConsecutiveDatapointsToAlarm *types.Value `json:"ConsecutiveDatapointsToAlarm,omitempty"` - - // ConsecutiveDatapointsToClear AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-consecutivedatapointstoclear - ConsecutiveDatapointsToClear *types.Value `json:"ConsecutiveDatapointsToClear,omitempty"` - - // DurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-durationseconds - DurationSeconds *types.Value `json:"DurationSeconds,omitempty"` - - // MlDetectionConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-mldetectionconfig - MlDetectionConfig *SecurityProfile_MachineLearningDetectionConfig `json:"MlDetectionConfig,omitempty"` - - // StatisticalThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-statisticalthreshold - StatisticalThreshold *SecurityProfile_StatisticalThreshold `json:"StatisticalThreshold,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-behaviorcriteria.html#cfn-iot-securityprofile-behaviorcriteria-value - Value *SecurityProfile_MetricValue `json:"Value,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 *SecurityProfile_BehaviorCriteria) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.BehaviorCriteria" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metrictoretain.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metrictoretain.go deleted file mode 100644 index 65b5be36b3..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metrictoretain.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile_MetricToRetain AWS CloudFormation Resource (AWS::IoT::SecurityProfile.MetricToRetain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metrictoretain.html -type SecurityProfile_MetricToRetain struct { - - // Metric AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metrictoretain.html#cfn-iot-securityprofile-metrictoretain-metric - Metric *types.Value `json:"Metric,omitempty"` - - // MetricDimension AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metrictoretain.html#cfn-iot-securityprofile-metrictoretain-metricdimension - MetricDimension *SecurityProfile_MetricDimension `json:"MetricDimension,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 *SecurityProfile_MetricToRetain) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.MetricToRetain" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricvalue.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricvalue.go deleted file mode 100644 index 1872d1762f..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricvalue.go +++ /dev/null @@ -1,62 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile_MetricValue AWS CloudFormation Resource (AWS::IoT::SecurityProfile.MetricValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html -type SecurityProfile_MetricValue struct { - - // Cidrs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-cidrs - Cidrs *types.Value `json:"Cidrs,omitempty"` - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-count - Count *types.Value `json:"Count,omitempty"` - - // Number AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-number - Number *types.Value `json:"Number,omitempty"` - - // Numbers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-numbers - Numbers *types.Value `json:"Numbers,omitempty"` - - // Ports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-ports - Ports *types.Value `json:"Ports,omitempty"` - - // Strings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricvalue.html#cfn-iot-securityprofile-metricvalue-strings - Strings *types.Value `json:"Strings,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 *SecurityProfile_MetricValue) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.MetricValue" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_statisticalthreshold.go b/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_statisticalthreshold.go deleted file mode 100644 index b852f3ac6b..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_statisticalthreshold.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecurityProfile_StatisticalThreshold AWS CloudFormation Resource (AWS::IoT::SecurityProfile.StatisticalThreshold) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-statisticalthreshold.html -type SecurityProfile_StatisticalThreshold struct { - - // Statistic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-statisticalthreshold.html#cfn-iot-securityprofile-statisticalthreshold-statistic - Statistic *types.Value `json:"Statistic,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 *SecurityProfile_StatisticalThreshold) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.StatisticalThreshold" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-thing.go b/pkg/goformation/cloudformation/iot/aws-iot-thing.go deleted file mode 100644 index 7c750d777d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-thing.go +++ /dev/null @@ -1,113 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Thing AWS CloudFormation Resource (AWS::IoT::Thing) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html -type Thing struct { - - // AttributePayload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html#cfn-iot-thing-attributepayload - AttributePayload *Thing_AttributePayload `json:"AttributePayload,omitempty"` - - // ThingName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thing.html#cfn-iot-thing-thingname - ThingName *types.Value `json:"ThingName,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 *Thing) AWSCloudFormationType() string { - return "AWS::IoT::Thing" -} - -// 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 (r Thing) MarshalJSON() ([]byte, error) { - type Properties Thing - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Thing) UnmarshalJSON(b []byte) error { - type Properties Thing - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Thing(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-thingprincipalattachment.go b/pkg/goformation/cloudformation/iot/aws-iot-thingprincipalattachment.go deleted file mode 100644 index 0590cbe9e2..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-thingprincipalattachment.go +++ /dev/null @@ -1,113 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ThingPrincipalAttachment AWS CloudFormation Resource (AWS::IoT::ThingPrincipalAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.html -type ThingPrincipalAttachment struct { - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.html#cfn-iot-thingprincipalattachment-principal - Principal *types.Value `json:"Principal,omitempty"` - - // ThingName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-thingprincipalattachment.html#cfn-iot-thingprincipalattachment-thingname - ThingName *types.Value `json:"ThingName,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 *ThingPrincipalAttachment) AWSCloudFormationType() string { - return "AWS::IoT::ThingPrincipalAttachment" -} - -// 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 (r ThingPrincipalAttachment) MarshalJSON() ([]byte, error) { - type Properties ThingPrincipalAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ThingPrincipalAttachment) UnmarshalJSON(b []byte) error { - type Properties ThingPrincipalAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ThingPrincipalAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule.go deleted file mode 100644 index 0449033d02..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule.go +++ /dev/null @@ -1,119 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule AWS CloudFormation Resource (AWS::IoT::TopicRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html -type TopicRule struct { - - // RuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html#cfn-iot-topicrule-rulename - RuleName *types.Value `json:"RuleName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html#cfn-iot-topicrule-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TopicRulePayload AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicrule.html#cfn-iot-topicrule-topicrulepayload - TopicRulePayload *TopicRule_TopicRulePayload `json:"TopicRulePayload,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 *TopicRule) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule" -} - -// 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 (r TopicRule) MarshalJSON() ([]byte, error) { - type Properties TopicRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TopicRule) UnmarshalJSON(b []byte) error { - type Properties TopicRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TopicRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_action.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_action.go deleted file mode 100644 index 798ad24883..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_action.go +++ /dev/null @@ -1,135 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_Action AWS CloudFormation Resource (AWS::IoT::TopicRule.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html -type TopicRule_Action struct { - - // CloudwatchAlarm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-cloudwatchalarm - CloudwatchAlarm *TopicRule_CloudwatchAlarmAction `json:"CloudwatchAlarm,omitempty"` - - // CloudwatchLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-cloudwatchlogs - CloudwatchLogs *TopicRule_CloudwatchLogsAction `json:"CloudwatchLogs,omitempty"` - - // CloudwatchMetric AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-cloudwatchmetric - CloudwatchMetric *TopicRule_CloudwatchMetricAction `json:"CloudwatchMetric,omitempty"` - - // DynamoDB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-dynamodb - DynamoDB *TopicRule_DynamoDBAction `json:"DynamoDB,omitempty"` - - // DynamoDBv2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-dynamodbv2 - DynamoDBv2 *TopicRule_DynamoDBv2Action `json:"DynamoDBv2,omitempty"` - - // Elasticsearch AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-elasticsearch - Elasticsearch *TopicRule_ElasticsearchAction `json:"Elasticsearch,omitempty"` - - // Firehose AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-firehose - Firehose *TopicRule_FirehoseAction `json:"Firehose,omitempty"` - - // Http AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-http - Http *TopicRule_HttpAction `json:"Http,omitempty"` - - // IotAnalytics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-iotanalytics - IotAnalytics *TopicRule_IotAnalyticsAction `json:"IotAnalytics,omitempty"` - - // IotEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-iotevents - IotEvents *TopicRule_IotEventsAction `json:"IotEvents,omitempty"` - - // IotSiteWise AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-iotsitewise - IotSiteWise *TopicRule_IotSiteWiseAction `json:"IotSiteWise,omitempty"` - - // Kafka AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-kafka - Kafka *TopicRule_KafkaAction `json:"Kafka,omitempty"` - - // Kinesis AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-kinesis - Kinesis *TopicRule_KinesisAction `json:"Kinesis,omitempty"` - - // Lambda AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-lambda - Lambda *TopicRule_LambdaAction `json:"Lambda,omitempty"` - - // OpenSearch AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-opensearch - OpenSearch *TopicRule_OpenSearchAction `json:"OpenSearch,omitempty"` - - // Republish AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-republish - Republish *TopicRule_RepublishAction `json:"Republish,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-s3 - S3 *TopicRule_S3Action `json:"S3,omitempty"` - - // Sns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-sns - Sns *TopicRule_SnsAction `json:"Sns,omitempty"` - - // Sqs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-sqs - Sqs *TopicRule_SqsAction `json:"Sqs,omitempty"` - - // StepFunctions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-stepfunctions - StepFunctions *TopicRule_StepFunctionsAction `json:"StepFunctions,omitempty"` - - // Timestream AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-action.html#cfn-iot-topicrule-action-timestream - Timestream *TopicRule_TimestreamAction `json:"Timestream,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 *TopicRule_Action) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.Action" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvalue.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvalue.go deleted file mode 100644 index 6cb3775ba6..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvalue.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_AssetPropertyValue AWS CloudFormation Resource (AWS::IoT::TopicRule.AssetPropertyValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvalue.html -type TopicRule_AssetPropertyValue struct { - - // Quality AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvalue.html#cfn-iot-topicrule-assetpropertyvalue-quality - Quality *types.Value `json:"Quality,omitempty"` - - // Timestamp AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvalue.html#cfn-iot-topicrule-assetpropertyvalue-timestamp - Timestamp *TopicRule_AssetPropertyTimestamp `json:"Timestamp,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvalue.html#cfn-iot-topicrule-assetpropertyvalue-value - Value *TopicRule_AssetPropertyVariant `json:"Value,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 *TopicRule_AssetPropertyValue) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.AssetPropertyValue" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvariant.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvariant.go deleted file mode 100644 index d43298d1de..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertyvariant.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_AssetPropertyVariant AWS CloudFormation Resource (AWS::IoT::TopicRule.AssetPropertyVariant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvariant.html -type TopicRule_AssetPropertyVariant struct { - - // BooleanValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvariant.html#cfn-iot-topicrule-assetpropertyvariant-booleanvalue - BooleanValue *types.Value `json:"BooleanValue,omitempty"` - - // DoubleValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvariant.html#cfn-iot-topicrule-assetpropertyvariant-doublevalue - DoubleValue *types.Value `json:"DoubleValue,omitempty"` - - // IntegerValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvariant.html#cfn-iot-topicrule-assetpropertyvariant-integervalue - IntegerValue *types.Value `json:"IntegerValue,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertyvariant.html#cfn-iot-topicrule-assetpropertyvariant-stringvalue - StringValue *types.Value `json:"StringValue,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 *TopicRule_AssetPropertyVariant) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.AssetPropertyVariant" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchalarmaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchalarmaction.go deleted file mode 100644 index 7a8db7f85d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchalarmaction.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_CloudwatchAlarmAction AWS CloudFormation Resource (AWS::IoT::TopicRule.CloudwatchAlarmAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html -type TopicRule_CloudwatchAlarmAction struct { - - // AlarmName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-alarmname - AlarmName *types.Value `json:"AlarmName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StateReason AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-statereason - StateReason *types.Value `json:"StateReason,omitempty"` - - // StateValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchalarmaction.html#cfn-iot-topicrule-cloudwatchalarmaction-statevalue - StateValue *types.Value `json:"StateValue,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 *TopicRule_CloudwatchAlarmAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.CloudwatchAlarmAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchmetricaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchmetricaction.go deleted file mode 100644 index 73565ae30d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_cloudwatchmetricaction.go +++ /dev/null @@ -1,62 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_CloudwatchMetricAction AWS CloudFormation Resource (AWS::IoT::TopicRule.CloudwatchMetricAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html -type TopicRule_CloudwatchMetricAction struct { - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // MetricNamespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-metricnamespace - MetricNamespace *types.Value `json:"MetricNamespace,omitempty"` - - // MetricTimestamp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-metrictimestamp - MetricTimestamp *types.Value `json:"MetricTimestamp,omitempty"` - - // MetricUnit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-metricunit - MetricUnit *types.Value `json:"MetricUnit,omitempty"` - - // MetricValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-metricvalue - MetricValue *types.Value `json:"MetricValue,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchmetricaction.html#cfn-iot-topicrule-cloudwatchmetricaction-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_CloudwatchMetricAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.CloudwatchMetricAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbaction.go deleted file mode 100644 index be88a86446..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbaction.go +++ /dev/null @@ -1,77 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_DynamoDBAction AWS CloudFormation Resource (AWS::IoT::TopicRule.DynamoDBAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html -type TopicRule_DynamoDBAction struct { - - // HashKeyField AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-hashkeyfield - HashKeyField *types.Value `json:"HashKeyField,omitempty"` - - // HashKeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-hashkeytype - HashKeyType *types.Value `json:"HashKeyType,omitempty"` - - // HashKeyValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-hashkeyvalue - HashKeyValue *types.Value `json:"HashKeyValue,omitempty"` - - // PayloadField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-payloadfield - PayloadField *types.Value `json:"PayloadField,omitempty"` - - // RangeKeyField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-rangekeyfield - RangeKeyField *types.Value `json:"RangeKeyField,omitempty"` - - // RangeKeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-rangekeytype - RangeKeyType *types.Value `json:"RangeKeyType,omitempty"` - - // RangeKeyValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-rangekeyvalue - RangeKeyValue *types.Value `json:"RangeKeyValue,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbaction.html#cfn-iot-topicrule-dynamodbaction-tablename - TableName *types.Value `json:"TableName,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 *TopicRule_DynamoDBAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.DynamoDBAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbv2action.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbv2action.go deleted file mode 100644 index 8c9b52be39..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_dynamodbv2action.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_DynamoDBv2Action AWS CloudFormation Resource (AWS::IoT::TopicRule.DynamoDBv2Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html -type TopicRule_DynamoDBv2Action struct { - - // PutItem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html#cfn-iot-topicrule-dynamodbv2action-putitem - PutItem *TopicRule_PutItemInput `json:"PutItem,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-dynamodbv2action.html#cfn-iot-topicrule-dynamodbv2action-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_DynamoDBv2Action) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.DynamoDBv2Action" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_elasticsearchaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_elasticsearchaction.go deleted file mode 100644 index 0a5ff2a62f..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_elasticsearchaction.go +++ /dev/null @@ -1,57 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_ElasticsearchAction AWS CloudFormation Resource (AWS::IoT::TopicRule.ElasticsearchAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html -type TopicRule_ElasticsearchAction struct { - - // Endpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-endpoint - Endpoint *types.Value `json:"Endpoint,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-id - Id *types.Value `json:"Id,omitempty"` - - // Index AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-index - Index *types.Value `json:"Index,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-elasticsearchaction.html#cfn-iot-topicrule-elasticsearchaction-type - Type *types.Value `json:"Type,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 *TopicRule_ElasticsearchAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.ElasticsearchAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_firehoseaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_firehoseaction.go deleted file mode 100644 index a50e437942..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_firehoseaction.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_FirehoseAction AWS CloudFormation Resource (AWS::IoT::TopicRule.FirehoseAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html -type TopicRule_FirehoseAction struct { - - // BatchMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html#cfn-iot-topicrule-firehoseaction-batchmode - BatchMode *types.Value `json:"BatchMode,omitempty"` - - // DeliveryStreamName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html#cfn-iot-topicrule-firehoseaction-deliverystreamname - DeliveryStreamName *types.Value `json:"DeliveryStreamName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html#cfn-iot-topicrule-firehoseaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Separator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-firehoseaction.html#cfn-iot-topicrule-firehoseaction-separator - Separator *types.Value `json:"Separator,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 *TopicRule_FirehoseAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.FirehoseAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpaction.go deleted file mode 100644 index 01a2c8099d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpaction.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_HttpAction AWS CloudFormation Resource (AWS::IoT::TopicRule.HttpAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html -type TopicRule_HttpAction struct { - - // Auth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html#cfn-iot-topicrule-httpaction-auth - Auth *TopicRule_HttpAuthorization `json:"Auth,omitempty"` - - // ConfirmationUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html#cfn-iot-topicrule-httpaction-confirmationurl - ConfirmationUrl *types.Value `json:"ConfirmationUrl,omitempty"` - - // Headers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html#cfn-iot-topicrule-httpaction-headers - Headers []TopicRule_HttpActionHeader `json:"Headers,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpaction.html#cfn-iot-topicrule-httpaction-url - Url *types.Value `json:"Url,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 *TopicRule_HttpAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.HttpAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpactionheader.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpactionheader.go deleted file mode 100644 index b1db08bf71..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpactionheader.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_HttpActionHeader AWS CloudFormation Resource (AWS::IoT::TopicRule.HttpActionHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpactionheader.html -type TopicRule_HttpActionHeader struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpactionheader.html#cfn-iot-topicrule-httpactionheader-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpactionheader.html#cfn-iot-topicrule-httpactionheader-value - Value *types.Value `json:"Value,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 *TopicRule_HttpActionHeader) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.HttpActionHeader" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpauthorization.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpauthorization.go deleted file mode 100644 index 2b5ab81666..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_httpauthorization.go +++ /dev/null @@ -1,35 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_HttpAuthorization AWS CloudFormation Resource (AWS::IoT::TopicRule.HttpAuthorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpauthorization.html -type TopicRule_HttpAuthorization struct { - - // Sigv4 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-httpauthorization.html#cfn-iot-topicrule-httpauthorization-sigv4 - Sigv4 *TopicRule_SigV4Authorization `json:"Sigv4,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 *TopicRule_HttpAuthorization) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.HttpAuthorization" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotanalyticsaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotanalyticsaction.go deleted file mode 100644 index 7bca978234..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotanalyticsaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_IotAnalyticsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.IotAnalyticsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotanalyticsaction.html -type TopicRule_IotAnalyticsAction struct { - - // BatchMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotanalyticsaction.html#cfn-iot-topicrule-iotanalyticsaction-batchmode - BatchMode *types.Value `json:"BatchMode,omitempty"` - - // ChannelName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotanalyticsaction.html#cfn-iot-topicrule-iotanalyticsaction-channelname - ChannelName *types.Value `json:"ChannelName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotanalyticsaction.html#cfn-iot-topicrule-iotanalyticsaction-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_IotAnalyticsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.IotAnalyticsAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_ioteventsaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_ioteventsaction.go deleted file mode 100644 index 3658b58f06..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_ioteventsaction.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_IotEventsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.IotEventsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html -type TopicRule_IotEventsAction struct { - - // BatchMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html#cfn-iot-topicrule-ioteventsaction-batchmode - BatchMode *types.Value `json:"BatchMode,omitempty"` - - // InputName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html#cfn-iot-topicrule-ioteventsaction-inputname - InputName *types.Value `json:"InputName,omitempty"` - - // MessageId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html#cfn-iot-topicrule-ioteventsaction-messageid - MessageId *types.Value `json:"MessageId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-ioteventsaction.html#cfn-iot-topicrule-ioteventsaction-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_IotEventsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.IotEventsAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotsitewiseaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotsitewiseaction.go deleted file mode 100644 index d263c0d20a..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_iotsitewiseaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_IotSiteWiseAction AWS CloudFormation Resource (AWS::IoT::TopicRule.IotSiteWiseAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotsitewiseaction.html -type TopicRule_IotSiteWiseAction struct { - - // PutAssetPropertyValueEntries AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotsitewiseaction.html#cfn-iot-topicrule-iotsitewiseaction-putassetpropertyvalueentries - PutAssetPropertyValueEntries []TopicRule_PutAssetPropertyValueEntry `json:"PutAssetPropertyValueEntries,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-iotsitewiseaction.html#cfn-iot-topicrule-iotsitewiseaction-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_IotSiteWiseAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.IotSiteWiseAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kafkaaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kafkaaction.go deleted file mode 100644 index 6f141e9ce6..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kafkaaction.go +++ /dev/null @@ -1,57 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_KafkaAction AWS CloudFormation Resource (AWS::IoT::TopicRule.KafkaAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html -type TopicRule_KafkaAction struct { - - // ClientProperties AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-clientproperties - ClientProperties map[string]*types.Value `json:"ClientProperties,omitempty"` - - // DestinationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-key - Key *types.Value `json:"Key,omitempty"` - - // Partition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-partition - Partition *types.Value `json:"Partition,omitempty"` - - // Topic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-topic - Topic *types.Value `json:"Topic,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 *TopicRule_KafkaAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.KafkaAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kinesisaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kinesisaction.go deleted file mode 100644 index 2c68d5fac1..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_kinesisaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_KinesisAction AWS CloudFormation Resource (AWS::IoT::TopicRule.KinesisAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html -type TopicRule_KinesisAction struct { - - // PartitionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-partitionkey - PartitionKey *types.Value `json:"PartitionKey,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-streamname - StreamName *types.Value `json:"StreamName,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 *TopicRule_KinesisAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.KinesisAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_lambdaaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_lambdaaction.go deleted file mode 100644 index c184451fea..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_lambdaaction.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_LambdaAction AWS CloudFormation Resource (AWS::IoT::TopicRule.LambdaAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-lambdaaction.html -type TopicRule_LambdaAction struct { - - // FunctionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-lambdaaction.html#cfn-iot-topicrule-lambdaaction-functionarn - FunctionArn *types.Value `json:"FunctionArn,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 *TopicRule_LambdaAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.LambdaAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_opensearchaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_opensearchaction.go deleted file mode 100644 index e536e806a8..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_opensearchaction.go +++ /dev/null @@ -1,57 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_OpenSearchAction AWS CloudFormation Resource (AWS::IoT::TopicRule.OpenSearchAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html -type TopicRule_OpenSearchAction struct { - - // Endpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html#cfn-iot-topicrule-opensearchaction-endpoint - Endpoint *types.Value `json:"Endpoint,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html#cfn-iot-topicrule-opensearchaction-id - Id *types.Value `json:"Id,omitempty"` - - // Index AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html#cfn-iot-topicrule-opensearchaction-index - Index *types.Value `json:"Index,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html#cfn-iot-topicrule-opensearchaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-opensearchaction.html#cfn-iot-topicrule-opensearchaction-type - Type *types.Value `json:"Type,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 *TopicRule_OpenSearchAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.OpenSearchAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_putassetpropertyvalueentry.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_putassetpropertyvalueentry.go deleted file mode 100644 index e3ad7e2bd0..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_putassetpropertyvalueentry.go +++ /dev/null @@ -1,57 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_PutAssetPropertyValueEntry AWS CloudFormation Resource (AWS::IoT::TopicRule.PutAssetPropertyValueEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html -type TopicRule_PutAssetPropertyValueEntry struct { - - // AssetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html#cfn-iot-topicrule-putassetpropertyvalueentry-assetid - AssetId *types.Value `json:"AssetId,omitempty"` - - // EntryId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html#cfn-iot-topicrule-putassetpropertyvalueentry-entryid - EntryId *types.Value `json:"EntryId,omitempty"` - - // PropertyAlias AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html#cfn-iot-topicrule-putassetpropertyvalueentry-propertyalias - PropertyAlias *types.Value `json:"PropertyAlias,omitempty"` - - // PropertyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html#cfn-iot-topicrule-putassetpropertyvalueentry-propertyid - PropertyId *types.Value `json:"PropertyId,omitempty"` - - // PropertyValues AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putassetpropertyvalueentry.html#cfn-iot-topicrule-putassetpropertyvalueentry-propertyvalues - PropertyValues []TopicRule_AssetPropertyValue `json:"PropertyValues,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 *TopicRule_PutAssetPropertyValueEntry) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.PutAssetPropertyValueEntry" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_republishaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_republishaction.go deleted file mode 100644 index c4a4bf350d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_republishaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_RepublishAction AWS CloudFormation Resource (AWS::IoT::TopicRule.RepublishAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html -type TopicRule_RepublishAction struct { - - // Qos AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-qos - Qos *types.Value `json:"Qos,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Topic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-topic - Topic *types.Value `json:"Topic,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 *TopicRule_RepublishAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.RepublishAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_s3action.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_s3action.go deleted file mode 100644 index 7d851822b0..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_s3action.go +++ /dev/null @@ -1,52 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_S3Action AWS CloudFormation Resource (AWS::IoT::TopicRule.S3Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html -type TopicRule_S3Action struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // CannedAcl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-cannedacl - CannedAcl *types.Value `json:"CannedAcl,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-key - Key *types.Value `json:"Key,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-s3action.html#cfn-iot-topicrule-s3action-rolearn - RoleArn *types.Value `json:"RoleArn,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 *TopicRule_S3Action) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.S3Action" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sigv4authorization.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sigv4authorization.go deleted file mode 100644 index 73d2329c42..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sigv4authorization.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_SigV4Authorization AWS CloudFormation Resource (AWS::IoT::TopicRule.SigV4Authorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sigv4authorization.html -type TopicRule_SigV4Authorization struct { - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sigv4authorization.html#cfn-iot-topicrule-sigv4authorization-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sigv4authorization.html#cfn-iot-topicrule-sigv4authorization-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` - - // SigningRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sigv4authorization.html#cfn-iot-topicrule-sigv4authorization-signingregion - SigningRegion *types.Value `json:"SigningRegion,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 *TopicRule_SigV4Authorization) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.SigV4Authorization" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_snsaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_snsaction.go deleted file mode 100644 index a569c1d3d2..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_snsaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_SnsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.SnsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-snsaction.html -type TopicRule_SnsAction struct { - - // MessageFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-snsaction.html#cfn-iot-topicrule-snsaction-messageformat - MessageFormat *types.Value `json:"MessageFormat,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-snsaction.html#cfn-iot-topicrule-snsaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-snsaction.html#cfn-iot-topicrule-snsaction-targetarn - TargetArn *types.Value `json:"TargetArn,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 *TopicRule_SnsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.SnsAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sqsaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sqsaction.go deleted file mode 100644 index 3b0ad5b191..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_sqsaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_SqsAction AWS CloudFormation Resource (AWS::IoT::TopicRule.SqsAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html -type TopicRule_SqsAction struct { - - // QueueUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-queueurl - QueueUrl *types.Value `json:"QueueUrl,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UseBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-usebase64 - UseBase64 *types.Value `json:"UseBase64,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 *TopicRule_SqsAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.SqsAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamaction.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamaction.go deleted file mode 100644 index caa24aaef6..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamaction.go +++ /dev/null @@ -1,62 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_TimestreamAction AWS CloudFormation Resource (AWS::IoT::TopicRule.TimestreamAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html -type TopicRule_TimestreamAction struct { - - // BatchMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-batchmode - BatchMode *types.Value `json:"BatchMode,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // Dimensions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-dimensions - Dimensions []TopicRule_TimestreamDimension `json:"Dimensions,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // Timestamp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamaction.html#cfn-iot-topicrule-timestreamaction-timestamp - Timestamp *TopicRule_TimestreamTimestamp `json:"Timestamp,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 *TopicRule_TimestreamAction) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.TimestreamAction" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamdimension.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamdimension.go deleted file mode 100644 index bdb64772b8..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_TimestreamDimension AWS CloudFormation Resource (AWS::IoT::TopicRule.TimestreamDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamdimension.html -type TopicRule_TimestreamDimension struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamdimension.html#cfn-iot-topicrule-timestreamdimension-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamdimension.html#cfn-iot-topicrule-timestreamdimension-value - Value *types.Value `json:"Value,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 *TopicRule_TimestreamDimension) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.TimestreamDimension" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamtimestamp.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamtimestamp.go deleted file mode 100644 index efbd1db602..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_timestreamtimestamp.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_TimestreamTimestamp AWS CloudFormation Resource (AWS::IoT::TopicRule.TimestreamTimestamp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamtimestamp.html -type TopicRule_TimestreamTimestamp struct { - - // Unit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamtimestamp.html#cfn-iot-topicrule-timestreamtimestamp-unit - Unit *types.Value `json:"Unit,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-timestreamtimestamp.html#cfn-iot-topicrule-timestreamtimestamp-value - Value *types.Value `json:"Value,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 *TopicRule_TimestreamTimestamp) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.TimestreamTimestamp" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_topicrulepayload.go b/pkg/goformation/cloudformation/iot/aws-iot-topicrule_topicrulepayload.go deleted file mode 100644 index aca37cef2d..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_topicrulepayload.go +++ /dev/null @@ -1,62 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRule_TopicRulePayload AWS CloudFormation Resource (AWS::IoT::TopicRule.TopicRulePayload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html -type TopicRule_TopicRulePayload struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-actions - Actions []TopicRule_Action `json:"Actions,omitempty"` - - // AwsIotSqlVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-awsiotsqlversion - AwsIotSqlVersion *types.Value `json:"AwsIotSqlVersion,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-description - Description *types.Value `json:"Description,omitempty"` - - // ErrorAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-erroraction - ErrorAction *TopicRule_Action `json:"ErrorAction,omitempty"` - - // RuleDisabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-ruledisabled - RuleDisabled *types.Value `json:"RuleDisabled,omitempty"` - - // Sql AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-topicrulepayload.html#cfn-iot-topicrule-topicrulepayload-sql - Sql *types.Value `json:"Sql,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 *TopicRule_TopicRulePayload) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.TopicRulePayload" -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination.go b/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination.go deleted file mode 100644 index 44d8812cc8..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination.go +++ /dev/null @@ -1,118 +0,0 @@ -package iot - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRuleDestination AWS CloudFormation Resource (AWS::IoT::TopicRuleDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicruledestination.html -type TopicRuleDestination struct { - - // HttpUrlProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicruledestination.html#cfn-iot-topicruledestination-httpurlproperties - HttpUrlProperties *TopicRuleDestination_HttpUrlDestinationSummary `json:"HttpUrlProperties,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicruledestination.html#cfn-iot-topicruledestination-status - Status *types.Value `json:"Status,omitempty"` - - // VpcProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-topicruledestination.html#cfn-iot-topicruledestination-vpcproperties - VpcProperties *TopicRuleDestination_VpcDestinationProperties `json:"VpcProperties,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 *TopicRuleDestination) AWSCloudFormationType() string { - return "AWS::IoT::TopicRuleDestination" -} - -// 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 (r TopicRuleDestination) MarshalJSON() ([]byte, error) { - type Properties TopicRuleDestination - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TopicRuleDestination) UnmarshalJSON(b []byte) error { - type Properties TopicRuleDestination - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TopicRuleDestination(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_httpurldestinationsummary.go b/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_httpurldestinationsummary.go deleted file mode 100644 index c54279b5cf..0000000000 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicruledestination_httpurldestinationsummary.go +++ /dev/null @@ -1,37 +0,0 @@ -package iot - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TopicRuleDestination_HttpUrlDestinationSummary AWS CloudFormation Resource (AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-httpurldestinationsummary.html -type TopicRuleDestination_HttpUrlDestinationSummary struct { - - // ConfirmationUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicruledestination-httpurldestinationsummary.html#cfn-iot-topicruledestination-httpurldestinationsummary-confirmationurl - ConfirmationUrl *types.Value `json:"ConfirmationUrl,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 *TopicRuleDestination_HttpUrlDestinationSummary) AWSCloudFormationType() string { - return "AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary" -} diff --git a/pkg/goformation/cloudformation/iot1click/aws-iot1click-device.go b/pkg/goformation/cloudformation/iot1click/aws-iot1click-device.go deleted file mode 100644 index f8d50dee7a..0000000000 --- a/pkg/goformation/cloudformation/iot1click/aws-iot1click-device.go +++ /dev/null @@ -1,113 +0,0 @@ -package iot1click - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Device AWS CloudFormation Resource (AWS::IoT1Click::Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html -type Device struct { - - // DeviceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html#cfn-iot1click-device-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html#cfn-iot1click-device-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *Device) AWSCloudFormationType() string { - return "AWS::IoT1Click::Device" -} - -// 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 (r Device) MarshalJSON() ([]byte, error) { - type Properties Device - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Device) UnmarshalJSON(b []byte) error { - type Properties Device - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Device(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot1click/aws-iot1click-placement.go b/pkg/goformation/cloudformation/iot1click/aws-iot1click-placement.go deleted file mode 100644 index 3ffa088ca5..0000000000 --- a/pkg/goformation/cloudformation/iot1click/aws-iot1click-placement.go +++ /dev/null @@ -1,123 +0,0 @@ -package iot1click - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Placement AWS CloudFormation Resource (AWS::IoT1Click::Placement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html -type Placement struct { - - // AssociatedDevices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-associateddevices - AssociatedDevices interface{} `json:"AssociatedDevices,omitempty"` - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-attributes - Attributes interface{} `json:"Attributes,omitempty"` - - // PlacementName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-placementname - PlacementName *types.Value `json:"PlacementName,omitempty"` - - // ProjectName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-projectname - ProjectName *types.Value `json:"ProjectName,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 *Placement) AWSCloudFormationType() string { - return "AWS::IoT1Click::Placement" -} - -// 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 (r Placement) MarshalJSON() ([]byte, error) { - type Properties Placement - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Placement) UnmarshalJSON(b []byte) error { - type Properties Placement - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Placement(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project.go b/pkg/goformation/cloudformation/iot1click/aws-iot1click-project.go deleted file mode 100644 index 1889694ab6..0000000000 --- a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project.go +++ /dev/null @@ -1,118 +0,0 @@ -package iot1click - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::IoT1Click::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-project.html -type Project struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-project.html#cfn-iot1click-project-description - Description *types.Value `json:"Description,omitempty"` - - // PlacementTemplate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-project.html#cfn-iot1click-project-placementtemplate - PlacementTemplate *Project_PlacementTemplate `json:"PlacementTemplate,omitempty"` - - // ProjectName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-project.html#cfn-iot1click-project-projectname - ProjectName *types.Value `json:"ProjectName,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 *Project) AWSCloudFormationType() string { - return "AWS::IoT1Click::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_devicetemplate.go b/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_devicetemplate.go deleted file mode 100644 index c8dffd4228..0000000000 --- a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_devicetemplate.go +++ /dev/null @@ -1,42 +0,0 @@ -package iot1click - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_DeviceTemplate AWS CloudFormation Resource (AWS::IoT1Click::Project.DeviceTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html -type Project_DeviceTemplate struct { - - // CallbackOverrides AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-callbackoverrides - CallbackOverrides interface{} `json:"CallbackOverrides,omitempty"` - - // DeviceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-devicetemplate.html#cfn-iot1click-project-devicetemplate-devicetype - DeviceType *types.Value `json:"DeviceType,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 *Project_DeviceTemplate) AWSCloudFormationType() string { - return "AWS::IoT1Click::Project.DeviceTemplate" -} diff --git a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_placementtemplate.go b/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_placementtemplate.go deleted file mode 100644 index a4455fff09..0000000000 --- a/pkg/goformation/cloudformation/iot1click/aws-iot1click-project_placementtemplate.go +++ /dev/null @@ -1,40 +0,0 @@ -package iot1click - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project_PlacementTemplate AWS CloudFormation Resource (AWS::IoT1Click::Project.PlacementTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html -type Project_PlacementTemplate struct { - - // DefaultAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html#cfn-iot1click-project-placementtemplate-defaultattributes - DefaultAttributes interface{} `json:"DefaultAttributes,omitempty"` - - // DeviceTemplates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot1click-project-placementtemplate.html#cfn-iot1click-project-placementtemplate-devicetemplates - DeviceTemplates interface{} `json:"DeviceTemplates,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 *Project_PlacementTemplate) AWSCloudFormationType() string { - return "AWS::IoT1Click::Project.PlacementTemplate" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel.go deleted file mode 100644 index 85920da499..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel.go +++ /dev/null @@ -1,124 +0,0 @@ -package iotanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel AWS CloudFormation Resource (AWS::IoTAnalytics::Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html -type Channel struct { - - // ChannelName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-channelname - ChannelName *types.Value `json:"ChannelName,omitempty"` - - // ChannelStorage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-channelstorage - ChannelStorage *Channel_ChannelStorage `json:"ChannelStorage,omitempty"` - - // RetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-retentionperiod - RetentionPeriod *Channel_RetentionPeriod `json:"RetentionPeriod,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-tags - Tags []cloudformation.Tag `json:"Tags,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 *Channel) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Channel" -} - -// 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 (r Channel) MarshalJSON() ([]byte, error) { - type Properties Channel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Channel) UnmarshalJSON(b []byte) error { - type Properties Channel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Channel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_channelstorage.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_channelstorage.go deleted file mode 100644 index 12cce377a8..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_channelstorage.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ChannelStorage AWS CloudFormation Resource (AWS::IoTAnalytics::Channel.ChannelStorage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html -type Channel_ChannelStorage struct { - - // CustomerManagedS3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html#cfn-iotanalytics-channel-channelstorage-customermanageds3 - CustomerManagedS3 *Channel_CustomerManagedS3 `json:"CustomerManagedS3,omitempty"` - - // ServiceManagedS3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html#cfn-iotanalytics-channel-channelstorage-servicemanageds3 - ServiceManagedS3 *Channel_ServiceManagedS3 `json:"ServiceManagedS3,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 *Channel_ChannelStorage) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Channel.ChannelStorage" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_customermanageds3.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_customermanageds3.go deleted file mode 100644 index 082cb28430..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_customermanageds3.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CustomerManagedS3 AWS CloudFormation Resource (AWS::IoTAnalytics::Channel.CustomerManagedS3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html -type Channel_CustomerManagedS3 struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-keyprefix - KeyPrefix *types.Value `json:"KeyPrefix,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Channel_CustomerManagedS3) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Channel.CustomerManagedS3" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_retentionperiod.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_retentionperiod.go deleted file mode 100644 index b0eabe161b..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_retentionperiod.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RetentionPeriod AWS CloudFormation Resource (AWS::IoTAnalytics::Channel.RetentionPeriod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html -type Channel_RetentionPeriod struct { - - // NumberOfDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html#cfn-iotanalytics-channel-retentionperiod-numberofdays - NumberOfDays *types.Value `json:"NumberOfDays,omitempty"` - - // Unlimited AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html#cfn-iotanalytics-channel-retentionperiod-unlimited - Unlimited *types.Value `json:"Unlimited,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 *Channel_RetentionPeriod) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Channel.RetentionPeriod" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_servicemanageds3.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_servicemanageds3.go deleted file mode 100644 index 97b304ea55..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-channel_servicemanageds3.go +++ /dev/null @@ -1,30 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ServiceManagedS3 AWS CloudFormation Resource (AWS::IoTAnalytics::Channel.ServiceManagedS3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-servicemanageds3.html -type Channel_ServiceManagedS3 struct { - - // 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 *Channel_ServiceManagedS3) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Channel.ServiceManagedS3" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset.go deleted file mode 100644 index 3e761985c8..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset.go +++ /dev/null @@ -1,144 +0,0 @@ -package iotanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html -type Dataset struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions - Actions []Dataset_Action `json:"Actions,omitempty"` - - // ContentDeliveryRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules - ContentDeliveryRules []Dataset_DatasetContentDeliveryRule `json:"ContentDeliveryRules,omitempty"` - - // DatasetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname - DatasetName *types.Value `json:"DatasetName,omitempty"` - - // LateDataRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-latedatarules - LateDataRules []Dataset_LateDataRule `json:"LateDataRules,omitempty"` - - // RetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-retentionperiod - RetentionPeriod *Dataset_RetentionPeriod `json:"RetentionPeriod,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Triggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers - Triggers []Dataset_Trigger `json:"Triggers,omitempty"` - - // VersioningConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-versioningconfiguration - VersioningConfiguration *Dataset_VersioningConfiguration `json:"VersioningConfiguration,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 *Dataset) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset" -} - -// 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 (r Dataset) MarshalJSON() ([]byte, error) { - type Properties Dataset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Dataset) UnmarshalJSON(b []byte) error { - type Properties Dataset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Dataset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_action.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_action.go deleted file mode 100644 index bd9d6aac26..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_action.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Action AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html -type Dataset_Action struct { - - // ActionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-actionname - ActionName *types.Value `json:"ActionName,omitempty"` - - // ContainerAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-containeraction - ContainerAction *Dataset_ContainerAction `json:"ContainerAction,omitempty"` - - // QueryAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-queryaction - QueryAction *Dataset_QueryAction `json:"QueryAction,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 *Dataset_Action) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.Action" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_containeraction.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_containeraction.go deleted file mode 100644 index cf4dc0c2dd..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_containeraction.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_ContainerAction AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.ContainerAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html -type Dataset_ContainerAction struct { - - // ExecutionRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // Image AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-image - Image *types.Value `json:"Image,omitempty"` - - // ResourceConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-resourceconfiguration - ResourceConfiguration *Dataset_ResourceConfiguration `json:"ResourceConfiguration,omitempty"` - - // Variables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-variables - Variables []Dataset_Variable `json:"Variables,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 *Dataset_ContainerAction) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.ContainerAction" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryrule.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryrule.go deleted file mode 100644 index 6ca6b752f0..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatasetContentDeliveryRule AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html -type Dataset_DatasetContentDeliveryRule struct { - - // Destination AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html#cfn-iotanalytics-dataset-datasetcontentdeliveryrule-destination - Destination *Dataset_DatasetContentDeliveryRuleDestination `json:"Destination,omitempty"` - - // EntryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html#cfn-iotanalytics-dataset-datasetcontentdeliveryrule-entryname - EntryName *types.Value `json:"EntryName,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 *Dataset_DatasetContentDeliveryRule) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryruledestination.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryruledestination.go deleted file mode 100644 index ff2ceb765b..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentdeliveryruledestination.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatasetContentDeliveryRuleDestination AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html -type Dataset_DatasetContentDeliveryRuleDestination struct { - - // IotEventsDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html#cfn-iotanalytics-dataset-datasetcontentdeliveryruledestination-ioteventsdestinationconfiguration - IotEventsDestinationConfiguration *Dataset_IotEventsDestinationConfiguration `json:"IotEventsDestinationConfiguration,omitempty"` - - // S3DestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html#cfn-iotanalytics-dataset-datasetcontentdeliveryruledestination-s3destinationconfiguration - S3DestinationConfiguration *Dataset_S3DestinationConfiguration `json:"S3DestinationConfiguration,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 *Dataset_DatasetContentDeliveryRuleDestination) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentversionvalue.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentversionvalue.go deleted file mode 100644 index 41ca557d95..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_datasetcontentversionvalue.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DatasetContentVersionValue AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.DatasetContentVersionValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable-datasetcontentversionvalue.html -type Dataset_DatasetContentVersionValue struct { - - // DatasetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable-datasetcontentversionvalue.html#cfn-iotanalytics-dataset-variable-datasetcontentversionvalue-datasetname - DatasetName *types.Value `json:"DatasetName,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 *Dataset_DatasetContentVersionValue) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.DatasetContentVersionValue" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatime.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatime.go deleted file mode 100644 index e1bed4d0c6..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatime.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DeltaTime AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.DeltaTime) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html -type Dataset_DeltaTime struct { - - // OffsetSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html#cfn-iotanalytics-dataset-deltatime-offsetseconds - OffsetSeconds *types.Value `json:"OffsetSeconds"` - - // TimeExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html#cfn-iotanalytics-dataset-deltatime-timeexpression - TimeExpression *types.Value `json:"TimeExpression,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 *Dataset_DeltaTime) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.DeltaTime" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatimesessionwindowconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatimesessionwindowconfiguration.go deleted file mode 100644 index 43f3b2804c..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_deltatimesessionwindowconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_DeltaTimeSessionWindowConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatimesessionwindowconfiguration.html -type Dataset_DeltaTimeSessionWindowConfiguration struct { - - // TimeoutInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatimesessionwindowconfiguration.html#cfn-iotanalytics-dataset-deltatimesessionwindowconfiguration-timeoutinminutes - TimeoutInMinutes *types.Value `json:"TimeoutInMinutes"` - - // 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 *Dataset_DeltaTimeSessionWindowConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_filter.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_filter.go deleted file mode 100644 index 8237c9b783..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_filter.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Filter AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.Filter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-filter.html -type Dataset_Filter struct { - - // DeltaTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-filter.html#cfn-iotanalytics-dataset-filter-deltatime - DeltaTime *Dataset_DeltaTime `json:"DeltaTime,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 *Dataset_Filter) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.Filter" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_glueconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_glueconfiguration.go deleted file mode 100644 index 2b35421629..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_glueconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_GlueConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.GlueConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html -type Dataset_GlueConfiguration struct { - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html#cfn-iotanalytics-dataset-glueconfiguration-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html#cfn-iotanalytics-dataset-glueconfiguration-tablename - TableName *types.Value `json:"TableName,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 *Dataset_GlueConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.GlueConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_ioteventsdestinationconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_ioteventsdestinationconfiguration.go deleted file mode 100644 index f3ed699d57..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_ioteventsdestinationconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_IotEventsDestinationConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html -type Dataset_IotEventsDestinationConfiguration struct { - - // InputName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html#cfn-iotanalytics-dataset-ioteventsdestinationconfiguration-inputname - InputName *types.Value `json:"InputName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html#cfn-iotanalytics-dataset-ioteventsdestinationconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Dataset_IotEventsDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedatarule.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedatarule.go deleted file mode 100644 index 22481a2db4..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedatarule.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_LateDataRule AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.LateDataRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html -type Dataset_LateDataRule struct { - - // RuleConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html#cfn-iotanalytics-dataset-latedatarule-ruleconfiguration - RuleConfiguration *Dataset_LateDataRuleConfiguration `json:"RuleConfiguration,omitempty"` - - // RuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html#cfn-iotanalytics-dataset-latedatarule-rulename - RuleName *types.Value `json:"RuleName,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 *Dataset_LateDataRule) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.LateDataRule" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedataruleconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedataruleconfiguration.go deleted file mode 100644 index 7b03577be1..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_latedataruleconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_LateDataRuleConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedataruleconfiguration.html -type Dataset_LateDataRuleConfiguration struct { - - // DeltaTimeSessionWindowConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedataruleconfiguration.html#cfn-iotanalytics-dataset-latedataruleconfiguration-deltatimesessionwindowconfiguration - DeltaTimeSessionWindowConfiguration *Dataset_DeltaTimeSessionWindowConfiguration `json:"DeltaTimeSessionWindowConfiguration,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 *Dataset_LateDataRuleConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_outputfileurivalue.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_outputfileurivalue.go deleted file mode 100644 index 22868648bb..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_outputfileurivalue.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_OutputFileUriValue AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.OutputFileUriValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable-outputfileurivalue.html -type Dataset_OutputFileUriValue struct { - - // FileName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable-outputfileurivalue.html#cfn-iotanalytics-dataset-variable-outputfileurivalue-filename - FileName *types.Value `json:"FileName,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 *Dataset_OutputFileUriValue) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.OutputFileUriValue" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_queryaction.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_queryaction.go deleted file mode 100644 index 128b422fe1..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_queryaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_QueryAction AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.QueryAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html -type Dataset_QueryAction struct { - - // Filters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html#cfn-iotanalytics-dataset-queryaction-filters - Filters []Dataset_Filter `json:"Filters,omitempty"` - - // SqlQuery AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html#cfn-iotanalytics-dataset-queryaction-sqlquery - SqlQuery *types.Value `json:"SqlQuery,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 *Dataset_QueryAction) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.QueryAction" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_resourceconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_resourceconfiguration.go deleted file mode 100644 index b8f7d40fe2..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_resourceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_ResourceConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.ResourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html -type Dataset_ResourceConfiguration struct { - - // ComputeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html#cfn-iotanalytics-dataset-resourceconfiguration-computetype - ComputeType *types.Value `json:"ComputeType,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html#cfn-iotanalytics-dataset-resourceconfiguration-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *Dataset_ResourceConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.ResourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_retentionperiod.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_retentionperiod.go deleted file mode 100644 index a8f90aa265..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_retentionperiod.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_RetentionPeriod AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.RetentionPeriod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html -type Dataset_RetentionPeriod struct { - - // NumberOfDays AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html#cfn-iotanalytics-dataset-retentionperiod-numberofdays - NumberOfDays *types.Value `json:"NumberOfDays"` - - // Unlimited AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html#cfn-iotanalytics-dataset-retentionperiod-unlimited - Unlimited *types.Value `json:"Unlimited"` - - // 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 *Dataset_RetentionPeriod) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.RetentionPeriod" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_s3destinationconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_s3destinationconfiguration.go deleted file mode 100644 index cf5dd5d684..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_s3destinationconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_S3DestinationConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.S3DestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html -type Dataset_S3DestinationConfiguration struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // GlueConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-glueconfiguration - GlueConfiguration *Dataset_GlueConfiguration `json:"GlueConfiguration,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-key - Key *types.Value `json:"Key,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Dataset_S3DestinationConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.S3DestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_schedule.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_schedule.go deleted file mode 100644 index 42af9bb531..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_schedule.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Schedule AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger-schedule.html -type Dataset_Schedule struct { - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger-schedule.html#cfn-iotanalytics-dataset-trigger-schedule-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *Dataset_Schedule) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.Schedule" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_trigger.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_trigger.go deleted file mode 100644 index e7d8ed0348..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_trigger.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Trigger AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.Trigger) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html -type Dataset_Trigger struct { - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html#cfn-iotanalytics-dataset-trigger-schedule - Schedule *Dataset_Schedule `json:"Schedule,omitempty"` - - // TriggeringDataset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html#cfn-iotanalytics-dataset-trigger-triggeringdataset - TriggeringDataset *Dataset_TriggeringDataset `json:"TriggeringDataset,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 *Dataset_Trigger) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.Trigger" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_triggeringdataset.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_triggeringdataset.go deleted file mode 100644 index 973ed357c8..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_triggeringdataset.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_TriggeringDataset AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.TriggeringDataset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html -type Dataset_TriggeringDataset struct { - - // DatasetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname - DatasetName *types.Value `json:"DatasetName,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 *Dataset_TriggeringDataset) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.TriggeringDataset" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_variable.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_variable.go deleted file mode 100644 index 31c9e83b15..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_variable.go +++ /dev/null @@ -1,57 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_Variable AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.Variable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html -type Dataset_Variable struct { - - // DatasetContentVersionValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-datasetcontentversionvalue - DatasetContentVersionValue *Dataset_DatasetContentVersionValue `json:"DatasetContentVersionValue,omitempty"` - - // DoubleValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-doublevalue - DoubleValue *types.Value `json:"DoubleValue,omitempty"` - - // OutputFileUriValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-outputfileurivalue - OutputFileUriValue *Dataset_OutputFileUriValue `json:"OutputFileUriValue,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-stringvalue - StringValue *types.Value `json:"StringValue,omitempty"` - - // VariableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-variablename - VariableName *types.Value `json:"VariableName,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 *Dataset_Variable) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.Variable" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_versioningconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_versioningconfiguration.go deleted file mode 100644 index fcb88e9fb6..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-dataset_versioningconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dataset_VersioningConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Dataset.VersioningConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html -type Dataset_VersioningConfiguration struct { - - // MaxVersions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html#cfn-iotanalytics-dataset-versioningconfiguration-maxversions - MaxVersions *types.Value `json:"MaxVersions,omitempty"` - - // Unlimited AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html#cfn-iotanalytics-dataset-versioningconfiguration-unlimited - Unlimited *types.Value `json:"Unlimited,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 *Dataset_VersioningConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Dataset.VersioningConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore.go deleted file mode 100644 index 0ab8dbf346..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore.go +++ /dev/null @@ -1,134 +0,0 @@ -package iotanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html -type Datastore struct { - - // DatastoreName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorename - DatastoreName *types.Value `json:"DatastoreName,omitempty"` - - // DatastorePartitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorepartitions - DatastorePartitions *Datastore_DatastorePartitions `json:"DatastorePartitions,omitempty"` - - // DatastoreStorage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorestorage - DatastoreStorage *Datastore_DatastoreStorage `json:"DatastoreStorage,omitempty"` - - // FileFormatConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-fileformatconfiguration - FileFormatConfiguration *Datastore_FileFormatConfiguration `json:"FileFormatConfiguration,omitempty"` - - // RetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-retentionperiod - RetentionPeriod *Datastore_RetentionPeriod `json:"RetentionPeriod,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-tags - Tags []cloudformation.Tag `json:"Tags,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 *Datastore) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore" -} - -// 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 (r Datastore) MarshalJSON() ([]byte, error) { - type Properties Datastore - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Datastore) UnmarshalJSON(b []byte) error { - type Properties Datastore - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Datastore(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_column.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_column.go deleted file mode 100644 index 633dfe9551..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_column.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_Column AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.Column) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html -type Datastore_Column struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html#cfn-iotanalytics-datastore-column-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html#cfn-iotanalytics-datastore-column-type - Type *types.Value `json:"Type,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 *Datastore_Column) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.Column" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3.go deleted file mode 100644 index 2f9231c7c4..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_CustomerManagedS3 AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.CustomerManagedS3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html -type Datastore_CustomerManagedS3 struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-keyprefix - KeyPrefix *types.Value `json:"KeyPrefix,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Datastore_CustomerManagedS3) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.CustomerManagedS3" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3storage.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3storage.go deleted file mode 100644 index 42b6aab5ea..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_customermanageds3storage.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_CustomerManagedS3Storage AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html -type Datastore_CustomerManagedS3Storage struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html#cfn-iotanalytics-datastore-customermanageds3storage-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html#cfn-iotanalytics-datastore-customermanageds3storage-keyprefix - KeyPrefix *types.Value `json:"KeyPrefix,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 *Datastore_CustomerManagedS3Storage) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartition.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartition.go deleted file mode 100644 index b0a8aa5d84..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartition.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_DatastorePartition AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.DatastorePartition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html -type Datastore_DatastorePartition struct { - - // Partition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html#cfn-iotanalytics-datastore-datastorepartition-partition - Partition *Datastore_Partition `json:"Partition,omitempty"` - - // TimestampPartition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html#cfn-iotanalytics-datastore-datastorepartition-timestamppartition - TimestampPartition *Datastore_TimestampPartition `json:"TimestampPartition,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 *Datastore_DatastorePartition) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.DatastorePartition" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartitions.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartitions.go deleted file mode 100644 index 7f7abd81f5..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorepartitions.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_DatastorePartitions AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.DatastorePartitions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartitions.html -type Datastore_DatastorePartitions struct { - - // Partitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartitions.html#cfn-iotanalytics-datastore-datastorepartitions-partitions - Partitions []Datastore_DatastorePartition `json:"Partitions,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 *Datastore_DatastorePartitions) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.DatastorePartitions" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorestorage.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorestorage.go deleted file mode 100644 index 9fba5b9f77..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_datastorestorage.go +++ /dev/null @@ -1,45 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_DatastoreStorage AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.DatastoreStorage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html -type Datastore_DatastoreStorage struct { - - // CustomerManagedS3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-customermanageds3 - CustomerManagedS3 *Datastore_CustomerManagedS3 `json:"CustomerManagedS3,omitempty"` - - // IotSiteWiseMultiLayerStorage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-iotsitewisemultilayerstorage - IotSiteWiseMultiLayerStorage *Datastore_IotSiteWiseMultiLayerStorage `json:"IotSiteWiseMultiLayerStorage,omitempty"` - - // ServiceManagedS3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-servicemanageds3 - ServiceManagedS3 *Datastore_ServiceManagedS3 `json:"ServiceManagedS3,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 *Datastore_DatastoreStorage) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.DatastoreStorage" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_fileformatconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_fileformatconfiguration.go deleted file mode 100644 index 0dcfd41783..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_fileformatconfiguration.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_FileFormatConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.FileFormatConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html -type Datastore_FileFormatConfiguration struct { - - // JsonConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html#cfn-iotanalytics-datastore-fileformatconfiguration-jsonconfiguration - JsonConfiguration *Datastore_JsonConfiguration `json:"JsonConfiguration,omitempty"` - - // ParquetConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html#cfn-iotanalytics-datastore-fileformatconfiguration-parquetconfiguration - ParquetConfiguration *Datastore_ParquetConfiguration `json:"ParquetConfiguration,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 *Datastore_FileFormatConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.FileFormatConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_iotsitewisemultilayerstorage.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_iotsitewisemultilayerstorage.go deleted file mode 100644 index 1191ce7f19..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_iotsitewisemultilayerstorage.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_IotSiteWiseMultiLayerStorage AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-iotsitewisemultilayerstorage.html -type Datastore_IotSiteWiseMultiLayerStorage struct { - - // CustomerManagedS3Storage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-iotsitewisemultilayerstorage.html#cfn-iotanalytics-datastore-iotsitewisemultilayerstorage-customermanageds3storage - CustomerManagedS3Storage *Datastore_CustomerManagedS3Storage `json:"CustomerManagedS3Storage,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 *Datastore_IotSiteWiseMultiLayerStorage) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_jsonconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_jsonconfiguration.go deleted file mode 100644 index 3f01d423a3..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_jsonconfiguration.go +++ /dev/null @@ -1,30 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_JsonConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.JsonConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-jsonconfiguration.html -type Datastore_JsonConfiguration struct { - - // 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 *Datastore_JsonConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.JsonConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_parquetconfiguration.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_parquetconfiguration.go deleted file mode 100644 index 0d5516a671..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_parquetconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_ParquetConfiguration AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.ParquetConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-parquetconfiguration.html -type Datastore_ParquetConfiguration struct { - - // SchemaDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-parquetconfiguration.html#cfn-iotanalytics-datastore-parquetconfiguration-schemadefinition - SchemaDefinition *Datastore_SchemaDefinition `json:"SchemaDefinition,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 *Datastore_ParquetConfiguration) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.ParquetConfiguration" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_partition.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_partition.go deleted file mode 100644 index 471b9ddd2e..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_partition.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_Partition AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.Partition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-partition.html -type Datastore_Partition struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-partition.html#cfn-iotanalytics-datastore-partition-attributename - AttributeName *types.Value `json:"AttributeName,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 *Datastore_Partition) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.Partition" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_retentionperiod.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_retentionperiod.go deleted file mode 100644 index bfe637c619..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_retentionperiod.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_RetentionPeriod AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.RetentionPeriod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html -type Datastore_RetentionPeriod struct { - - // NumberOfDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-numberofdays - NumberOfDays *types.Value `json:"NumberOfDays,omitempty"` - - // Unlimited AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-unlimited - Unlimited *types.Value `json:"Unlimited,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 *Datastore_RetentionPeriod) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.RetentionPeriod" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_schemadefinition.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_schemadefinition.go deleted file mode 100644 index d481a79aae..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_schemadefinition.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_SchemaDefinition AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.SchemaDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-schemadefinition.html -type Datastore_SchemaDefinition struct { - - // Columns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-schemadefinition.html#cfn-iotanalytics-datastore-schemadefinition-columns - Columns []Datastore_Column `json:"Columns,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 *Datastore_SchemaDefinition) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.SchemaDefinition" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_servicemanageds3.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_servicemanageds3.go deleted file mode 100644 index 356c13666d..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_servicemanageds3.go +++ /dev/null @@ -1,30 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_ServiceManagedS3 AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.ServiceManagedS3) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-servicemanageds3.html -type Datastore_ServiceManagedS3 struct { - - // 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 *Datastore_ServiceManagedS3) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.ServiceManagedS3" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_timestamppartition.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_timestamppartition.go deleted file mode 100644 index 26a88b14f6..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-datastore_timestamppartition.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Datastore_TimestampPartition AWS CloudFormation Resource (AWS::IoTAnalytics::Datastore.TimestampPartition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html -type Datastore_TimestampPartition struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html#cfn-iotanalytics-datastore-timestamppartition-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // TimestampFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html#cfn-iotanalytics-datastore-timestamppartition-timestampformat - TimestampFormat *types.Value `json:"TimestampFormat,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 *Datastore_TimestampPartition) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Datastore.TimestampPartition" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline.go deleted file mode 100644 index 1b318ebe4e..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline.go +++ /dev/null @@ -1,119 +0,0 @@ -package iotanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html -type Pipeline struct { - - // PipelineActivities AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelineactivities - PipelineActivities []Pipeline_Activity `json:"PipelineActivities,omitempty"` - - // PipelineName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelinename - PipelineName *types.Value `json:"PipelineName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-tags - Tags []cloudformation.Tag `json:"Tags,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 *Pipeline) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline" -} - -// 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 (r Pipeline) MarshalJSON() ([]byte, error) { - type Properties Pipeline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Pipeline) UnmarshalJSON(b []byte) error { - type Properties Pipeline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Pipeline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_activity.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_activity.go deleted file mode 100644 index 69ff0a520b..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_activity.go +++ /dev/null @@ -1,80 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Activity AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Activity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html -type Pipeline_Activity struct { - - // AddAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-addattributes - AddAttributes *Pipeline_AddAttributes `json:"AddAttributes,omitempty"` - - // Channel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-channel - Channel *Pipeline_Channel `json:"Channel,omitempty"` - - // Datastore AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-datastore - Datastore *Pipeline_Datastore `json:"Datastore,omitempty"` - - // DeviceRegistryEnrich AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceregistryenrich - DeviceRegistryEnrich *Pipeline_DeviceRegistryEnrich `json:"DeviceRegistryEnrich,omitempty"` - - // DeviceShadowEnrich AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceshadowenrich - DeviceShadowEnrich *Pipeline_DeviceShadowEnrich `json:"DeviceShadowEnrich,omitempty"` - - // Filter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-filter - Filter *Pipeline_Filter `json:"Filter,omitempty"` - - // Lambda AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-lambda - Lambda *Pipeline_Lambda `json:"Lambda,omitempty"` - - // Math AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-math - Math *Pipeline_Math `json:"Math,omitempty"` - - // RemoveAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-removeattributes - RemoveAttributes *Pipeline_RemoveAttributes `json:"RemoveAttributes,omitempty"` - - // SelectAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-selectattributes - SelectAttributes *Pipeline_SelectAttributes `json:"SelectAttributes,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 *Pipeline_Activity) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Activity" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_addattributes.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_addattributes.go deleted file mode 100644 index c27f457fb6..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_addattributes.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_AddAttributes AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.AddAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html -type Pipeline_AddAttributes struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-attributes - Attributes interface{} `json:"Attributes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-next - Next *types.Value `json:"Next,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 *Pipeline_AddAttributes) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.AddAttributes" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_channel.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_channel.go deleted file mode 100644 index 54086044ed..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_channel.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Channel AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html -type Pipeline_Channel struct { - - // ChannelName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-channelname - ChannelName *types.Value `json:"ChannelName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-next - Next *types.Value `json:"Next,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 *Pipeline_Channel) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Channel" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_datastore.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_datastore.go deleted file mode 100644 index 2b95953cad..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_datastore.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Datastore AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Datastore) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html -type Pipeline_Datastore struct { - - // DatastoreName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html#cfn-iotanalytics-pipeline-datastore-datastorename - DatastoreName *types.Value `json:"DatastoreName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html#cfn-iotanalytics-pipeline-datastore-name - Name *types.Value `json:"Name,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 *Pipeline_Datastore) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Datastore" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceregistryenrich.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceregistryenrich.go deleted file mode 100644 index 1fdb6545b4..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceregistryenrich.go +++ /dev/null @@ -1,57 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_DeviceRegistryEnrich AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html -type Pipeline_DeviceRegistryEnrich struct { - - // Attribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-attribute - Attribute *types.Value `json:"Attribute,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-next - Next *types.Value `json:"Next,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // ThingName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-thingname - ThingName *types.Value `json:"ThingName,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 *Pipeline_DeviceRegistryEnrich) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceshadowenrich.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceshadowenrich.go deleted file mode 100644 index 95d627e0fa..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_deviceshadowenrich.go +++ /dev/null @@ -1,57 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_DeviceShadowEnrich AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html -type Pipeline_DeviceShadowEnrich struct { - - // Attribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-attribute - Attribute *types.Value `json:"Attribute,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-next - Next *types.Value `json:"Next,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // ThingName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-thingname - ThingName *types.Value `json:"ThingName,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 *Pipeline_DeviceShadowEnrich) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_filter.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_filter.go deleted file mode 100644 index e176a68284..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_filter.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Filter AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Filter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html -type Pipeline_Filter struct { - - // Filter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-filter - Filter *types.Value `json:"Filter,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-next - Next *types.Value `json:"Next,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 *Pipeline_Filter) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Filter" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_lambda.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_lambda.go deleted file mode 100644 index 43dc5af80d..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_lambda.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Lambda AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Lambda) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html -type Pipeline_Lambda struct { - - // BatchSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-batchsize - BatchSize *types.Value `json:"BatchSize,omitempty"` - - // LambdaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-lambdaname - LambdaName *types.Value `json:"LambdaName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-next - Next *types.Value `json:"Next,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 *Pipeline_Lambda) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Lambda" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_math.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_math.go deleted file mode 100644 index 337b0666b3..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_math.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_Math AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.Math) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html -type Pipeline_Math struct { - - // Attribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-attribute - Attribute *types.Value `json:"Attribute,omitempty"` - - // Math AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-math - Math *types.Value `json:"Math,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-next - Next *types.Value `json:"Next,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 *Pipeline_Math) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.Math" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_removeattributes.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_removeattributes.go deleted file mode 100644 index d86c49b511..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_removeattributes.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_RemoveAttributes AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.RemoveAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html -type Pipeline_RemoveAttributes struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-attributes - Attributes *types.Value `json:"Attributes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-next - Next *types.Value `json:"Next,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 *Pipeline_RemoveAttributes) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.RemoveAttributes" -} diff --git a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_selectattributes.go b/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_selectattributes.go deleted file mode 100644 index 9576998e7d..0000000000 --- a/pkg/goformation/cloudformation/iotanalytics/aws-iotanalytics-pipeline_selectattributes.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline_SelectAttributes AWS CloudFormation Resource (AWS::IoTAnalytics::Pipeline.SelectAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html -type Pipeline_SelectAttributes struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-attributes - Attributes *types.Value `json:"Attributes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-name - Name *types.Value `json:"Name,omitempty"` - - // Next AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-next - Next *types.Value `json:"Next,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 *Pipeline_SelectAttributes) AWSCloudFormationType() string { - return "AWS::IoTAnalytics::Pipeline.SelectAttributes" -} diff --git a/pkg/goformation/cloudformation/iotcoredeviceadvisor/aws-iotcoredeviceadvisor-suitedefinition.go b/pkg/goformation/cloudformation/iotcoredeviceadvisor/aws-iotcoredeviceadvisor-suitedefinition.go deleted file mode 100644 index 455059e236..0000000000 --- a/pkg/goformation/cloudformation/iotcoredeviceadvisor/aws-iotcoredeviceadvisor-suitedefinition.go +++ /dev/null @@ -1,112 +0,0 @@ -package iotcoredeviceadvisor - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SuiteDefinition AWS CloudFormation Resource (AWS::IoTCoreDeviceAdvisor::SuiteDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html -type SuiteDefinition struct { - - // SuiteDefinitionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html#cfn-iotcoredeviceadvisor-suitedefinition-suitedefinitionconfiguration - SuiteDefinitionConfiguration interface{} `json:"SuiteDefinitionConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html#cfn-iotcoredeviceadvisor-suitedefinition-tags - Tags []cloudformation.Tag `json:"Tags,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 *SuiteDefinition) AWSCloudFormationType() string { - return "AWS::IoTCoreDeviceAdvisor::SuiteDefinition" -} - -// 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 (r SuiteDefinition) MarshalJSON() ([]byte, error) { - type Properties SuiteDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SuiteDefinition) UnmarshalJSON(b []byte) error { - type Properties SuiteDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SuiteDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel.go deleted file mode 100644 index 1a2d3d93f5..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel.go +++ /dev/null @@ -1,139 +0,0 @@ -package iotevents - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html -type DetectorModel struct { - - // DetectorModelDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodeldefinition - DetectorModelDefinition *DetectorModel_DetectorModelDefinition `json:"DetectorModelDefinition,omitempty"` - - // DetectorModelDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodeldescription - DetectorModelDescription *types.Value `json:"DetectorModelDescription,omitempty"` - - // DetectorModelName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-detectormodelname - DetectorModelName *types.Value `json:"DetectorModelName,omitempty"` - - // EvaluationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-evaluationmethod - EvaluationMethod *types.Value `json:"EvaluationMethod,omitempty"` - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-key - Key *types.Value `json:"Key,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-detectormodel.html#cfn-iotevents-detectormodel-tags - Tags []cloudformation.Tag `json:"Tags,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 *DetectorModel) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel" -} - -// 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 (r DetectorModel) MarshalJSON() ([]byte, error) { - type Properties DetectorModel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DetectorModel) UnmarshalJSON(b []byte) error { - type Properties DetectorModel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DetectorModel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_action.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_action.go deleted file mode 100644 index 3e3fa8b154..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_action.go +++ /dev/null @@ -1,95 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Action AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html -type DetectorModel_Action struct { - - // ClearTimer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-cleartimer - ClearTimer *DetectorModel_ClearTimer `json:"ClearTimer,omitempty"` - - // DynamoDB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-dynamodb - DynamoDB *DetectorModel_DynamoDB `json:"DynamoDB,omitempty"` - - // DynamoDBv2 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-dynamodbv2 - DynamoDBv2 *DetectorModel_DynamoDBv2 `json:"DynamoDBv2,omitempty"` - - // Firehose AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-firehose - Firehose *DetectorModel_Firehose `json:"Firehose,omitempty"` - - // IotEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-iotevents - IotEvents *DetectorModel_IotEvents `json:"IotEvents,omitempty"` - - // IotSiteWise AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-iotsitewise - IotSiteWise *DetectorModel_IotSiteWise `json:"IotSiteWise,omitempty"` - - // IotTopicPublish AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-iottopicpublish - IotTopicPublish *DetectorModel_IotTopicPublish `json:"IotTopicPublish,omitempty"` - - // Lambda AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-lambda - Lambda *DetectorModel_Lambda `json:"Lambda,omitempty"` - - // ResetTimer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-resettimer - ResetTimer *DetectorModel_ResetTimer `json:"ResetTimer,omitempty"` - - // SetTimer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-settimer - SetTimer *DetectorModel_SetTimer `json:"SetTimer,omitempty"` - - // SetVariable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-setvariable - SetVariable *DetectorModel_SetVariable `json:"SetVariable,omitempty"` - - // Sns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-sns - Sns *DetectorModel_Sns `json:"Sns,omitempty"` - - // Sqs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-action.html#cfn-iotevents-detectormodel-action-sqs - Sqs *DetectorModel_Sqs `json:"Sqs,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 *DetectorModel_Action) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Action" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertytimestamp.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertytimestamp.go deleted file mode 100644 index 50a2125064..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertytimestamp.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_AssetPropertyTimestamp AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html -type DetectorModel_AssetPropertyTimestamp struct { - - // OffsetInNanos AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html#cfn-iotevents-detectormodel-assetpropertytimestamp-offsetinnanos - OffsetInNanos *types.Value `json:"OffsetInNanos,omitempty"` - - // TimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertytimestamp.html#cfn-iotevents-detectormodel-assetpropertytimestamp-timeinseconds - TimeInSeconds *types.Value `json:"TimeInSeconds,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 *DetectorModel_AssetPropertyTimestamp) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvalue.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvalue.go deleted file mode 100644 index 36fc80fa0a..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvalue.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_AssetPropertyValue AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.AssetPropertyValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvalue.html -type DetectorModel_AssetPropertyValue struct { - - // Quality AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvalue.html#cfn-iotevents-detectormodel-assetpropertyvalue-quality - Quality *types.Value `json:"Quality,omitempty"` - - // Timestamp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvalue.html#cfn-iotevents-detectormodel-assetpropertyvalue-timestamp - Timestamp *DetectorModel_AssetPropertyTimestamp `json:"Timestamp,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvalue.html#cfn-iotevents-detectormodel-assetpropertyvalue-value - Value *DetectorModel_AssetPropertyVariant `json:"Value,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 *DetectorModel_AssetPropertyValue) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.AssetPropertyValue" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvariant.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvariant.go deleted file mode 100644 index 92ecad7df8..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_assetpropertyvariant.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_AssetPropertyVariant AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.AssetPropertyVariant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html -type DetectorModel_AssetPropertyVariant struct { - - // BooleanValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html#cfn-iotevents-detectormodel-assetpropertyvariant-booleanvalue - BooleanValue *types.Value `json:"BooleanValue,omitempty"` - - // DoubleValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html#cfn-iotevents-detectormodel-assetpropertyvariant-doublevalue - DoubleValue *types.Value `json:"DoubleValue,omitempty"` - - // IntegerValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html#cfn-iotevents-detectormodel-assetpropertyvariant-integervalue - IntegerValue *types.Value `json:"IntegerValue,omitempty"` - - // StringValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-assetpropertyvariant.html#cfn-iotevents-detectormodel-assetpropertyvariant-stringvalue - StringValue *types.Value `json:"StringValue,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 *DetectorModel_AssetPropertyVariant) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.AssetPropertyVariant" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_cleartimer.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_cleartimer.go deleted file mode 100644 index 078f26d4e4..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_cleartimer.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_ClearTimer AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.ClearTimer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html -type DetectorModel_ClearTimer struct { - - // TimerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-cleartimer.html#cfn-iotevents-detectormodel-cleartimer-timername - TimerName *types.Value `json:"TimerName,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 *DetectorModel_ClearTimer) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.ClearTimer" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_detectormodeldefinition.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_detectormodeldefinition.go deleted file mode 100644 index 7b14774fd0..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_detectormodeldefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_DetectorModelDefinition AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.DetectorModelDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-detectormodeldefinition.html -type DetectorModel_DetectorModelDefinition struct { - - // InitialStateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-detectormodeldefinition.html#cfn-iotevents-detectormodel-detectormodeldefinition-initialstatename - InitialStateName *types.Value `json:"InitialStateName,omitempty"` - - // States AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-detectormodeldefinition.html#cfn-iotevents-detectormodel-detectormodeldefinition-states - States []DetectorModel_State `json:"States,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 *DetectorModel_DetectorModelDefinition) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.DetectorModelDefinition" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodb.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodb.go deleted file mode 100644 index 124d9b60d0..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodb.go +++ /dev/null @@ -1,82 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_DynamoDB AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.DynamoDB) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html -type DetectorModel_DynamoDB struct { - - // HashKeyField AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-hashkeyfield - HashKeyField *types.Value `json:"HashKeyField,omitempty"` - - // HashKeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-hashkeytype - HashKeyType *types.Value `json:"HashKeyType,omitempty"` - - // HashKeyValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-hashkeyvalue - HashKeyValue *types.Value `json:"HashKeyValue,omitempty"` - - // Operation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-operation - Operation *types.Value `json:"Operation,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-payload - Payload *DetectorModel_Payload `json:"Payload,omitempty"` - - // PayloadField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-payloadfield - PayloadField *types.Value `json:"PayloadField,omitempty"` - - // RangeKeyField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-rangekeyfield - RangeKeyField *types.Value `json:"RangeKeyField,omitempty"` - - // RangeKeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-rangekeytype - RangeKeyType *types.Value `json:"RangeKeyType,omitempty"` - - // RangeKeyValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-rangekeyvalue - RangeKeyValue *types.Value `json:"RangeKeyValue,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodb.html#cfn-iotevents-detectormodel-dynamodb-tablename - TableName *types.Value `json:"TableName,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 *DetectorModel_DynamoDB) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.DynamoDB" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodbv2.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodbv2.go deleted file mode 100644 index e32438a926..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_dynamodbv2.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_DynamoDBv2 AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.DynamoDBv2) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html -type DetectorModel_DynamoDBv2 struct { - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html#cfn-iotevents-detectormodel-dynamodbv2-payload - Payload *DetectorModel_Payload `json:"Payload,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-dynamodbv2.html#cfn-iotevents-detectormodel-dynamodbv2-tablename - TableName *types.Value `json:"TableName,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 *DetectorModel_DynamoDBv2) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.DynamoDBv2" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_event.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_event.go deleted file mode 100644 index d39bf7ff49..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_event.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Event AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Event) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html -type DetectorModel_Event struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-actions - Actions []DetectorModel_Action `json:"Actions,omitempty"` - - // Condition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-condition - Condition *types.Value `json:"Condition,omitempty"` - - // EventName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-event.html#cfn-iotevents-detectormodel-event-eventname - EventName *types.Value `json:"EventName,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 *DetectorModel_Event) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Event" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_firehose.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_firehose.go deleted file mode 100644 index 3f8bacef78..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_firehose.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Firehose AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Firehose) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html -type DetectorModel_Firehose struct { - - // DeliveryStreamName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html#cfn-iotevents-detectormodel-firehose-deliverystreamname - DeliveryStreamName *types.Value `json:"DeliveryStreamName,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html#cfn-iotevents-detectormodel-firehose-payload - Payload *DetectorModel_Payload `json:"Payload,omitempty"` - - // Separator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-firehose.html#cfn-iotevents-detectormodel-firehose-separator - Separator *types.Value `json:"Separator,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 *DetectorModel_Firehose) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Firehose" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotevents.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotevents.go deleted file mode 100644 index d5f67e5b8e..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotevents.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_IotEvents AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.IotEvents) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html -type DetectorModel_IotEvents struct { - - // InputName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html#cfn-iotevents-detectormodel-iotevents-inputname - InputName *types.Value `json:"InputName,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotevents.html#cfn-iotevents-detectormodel-iotevents-payload - Payload *DetectorModel_Payload `json:"Payload,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 *DetectorModel_IotEvents) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.IotEvents" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotsitewise.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotsitewise.go deleted file mode 100644 index c21d3bc409..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iotsitewise.go +++ /dev/null @@ -1,57 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_IotSiteWise AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.IotSiteWise) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html -type DetectorModel_IotSiteWise struct { - - // AssetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html#cfn-iotevents-detectormodel-iotsitewise-assetid - AssetId *types.Value `json:"AssetId,omitempty"` - - // EntryId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html#cfn-iotevents-detectormodel-iotsitewise-entryid - EntryId *types.Value `json:"EntryId,omitempty"` - - // PropertyAlias AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html#cfn-iotevents-detectormodel-iotsitewise-propertyalias - PropertyAlias *types.Value `json:"PropertyAlias,omitempty"` - - // PropertyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html#cfn-iotevents-detectormodel-iotsitewise-propertyid - PropertyId *types.Value `json:"PropertyId,omitempty"` - - // PropertyValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iotsitewise.html#cfn-iotevents-detectormodel-iotsitewise-propertyvalue - PropertyValue *DetectorModel_AssetPropertyValue `json:"PropertyValue,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 *DetectorModel_IotSiteWise) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.IotSiteWise" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iottopicpublish.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iottopicpublish.go deleted file mode 100644 index ebeacfe030..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_iottopicpublish.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_IotTopicPublish AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.IotTopicPublish) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html -type DetectorModel_IotTopicPublish struct { - - // MqttTopic AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html#cfn-iotevents-detectormodel-iottopicpublish-mqtttopic - MqttTopic *types.Value `json:"MqttTopic,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-iottopicpublish.html#cfn-iotevents-detectormodel-iottopicpublish-payload - Payload *DetectorModel_Payload `json:"Payload,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 *DetectorModel_IotTopicPublish) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.IotTopicPublish" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_lambda.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_lambda.go deleted file mode 100644 index 8c7ac8f98f..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_lambda.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Lambda AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Lambda) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html -type DetectorModel_Lambda struct { - - // FunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html#cfn-iotevents-detectormodel-lambda-functionarn - FunctionArn *types.Value `json:"FunctionArn,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-lambda.html#cfn-iotevents-detectormodel-lambda-payload - Payload *DetectorModel_Payload `json:"Payload,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 *DetectorModel_Lambda) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Lambda" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onenter.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onenter.go deleted file mode 100644 index 6be6b16634..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onenter.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_OnEnter AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.OnEnter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onenter.html -type DetectorModel_OnEnter struct { - - // Events AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onenter.html#cfn-iotevents-detectormodel-onenter-events - Events []DetectorModel_Event `json:"Events,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 *DetectorModel_OnEnter) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.OnEnter" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onexit.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onexit.go deleted file mode 100644 index 7d699ae26c..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_onexit.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_OnExit AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.OnExit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html -type DetectorModel_OnExit struct { - - // Events AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-onexit.html#cfn-iotevents-detectormodel-onexit-events - Events []DetectorModel_Event `json:"Events,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 *DetectorModel_OnExit) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.OnExit" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_oninput.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_oninput.go deleted file mode 100644 index 55b90e208c..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_oninput.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_OnInput AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.OnInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-oninput.html -type DetectorModel_OnInput struct { - - // Events AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-oninput.html#cfn-iotevents-detectormodel-oninput-events - Events []DetectorModel_Event `json:"Events,omitempty"` - - // TransitionEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-oninput.html#cfn-iotevents-detectormodel-oninput-transitionevents - TransitionEvents []DetectorModel_TransitionEvent `json:"TransitionEvents,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 *DetectorModel_OnInput) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.OnInput" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_payload.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_payload.go deleted file mode 100644 index 12eaaacbef..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_payload.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Payload AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Payload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html -type DetectorModel_Payload struct { - - // ContentExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-contentexpression - ContentExpression *types.Value `json:"ContentExpression,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-payload.html#cfn-iotevents-detectormodel-payload-type - Type *types.Value `json:"Type,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 *DetectorModel_Payload) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Payload" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_resettimer.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_resettimer.go deleted file mode 100644 index 13aaadd163..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_resettimer.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_ResetTimer AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.ResetTimer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html -type DetectorModel_ResetTimer struct { - - // TimerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-resettimer.html#cfn-iotevents-detectormodel-resettimer-timername - TimerName *types.Value `json:"TimerName,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 *DetectorModel_ResetTimer) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.ResetTimer" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_settimer.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_settimer.go deleted file mode 100644 index 0a738fef47..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_settimer.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_SetTimer AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.SetTimer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html -type DetectorModel_SetTimer struct { - - // DurationExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html#cfn-iotevents-detectormodel-settimer-durationexpression - DurationExpression *types.Value `json:"DurationExpression,omitempty"` - - // Seconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html#cfn-iotevents-detectormodel-settimer-seconds - Seconds *types.Value `json:"Seconds,omitempty"` - - // TimerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-settimer.html#cfn-iotevents-detectormodel-settimer-timername - TimerName *types.Value `json:"TimerName,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 *DetectorModel_SetTimer) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.SetTimer" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_setvariable.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_setvariable.go deleted file mode 100644 index 9092a97c23..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_setvariable.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_SetVariable AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.SetVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html -type DetectorModel_SetVariable struct { - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html#cfn-iotevents-detectormodel-setvariable-value - Value *types.Value `json:"Value,omitempty"` - - // VariableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-setvariable.html#cfn-iotevents-detectormodel-setvariable-variablename - VariableName *types.Value `json:"VariableName,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 *DetectorModel_SetVariable) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.SetVariable" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sns.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sns.go deleted file mode 100644 index 66a2ba3b2b..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sns.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Sns AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Sns) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html -type DetectorModel_Sns struct { - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html#cfn-iotevents-detectormodel-sns-payload - Payload *DetectorModel_Payload `json:"Payload,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sns.html#cfn-iotevents-detectormodel-sns-targetarn - TargetArn *types.Value `json:"TargetArn,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 *DetectorModel_Sns) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Sns" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sqs.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sqs.go deleted file mode 100644 index 74449a0a8a..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_sqs.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_Sqs AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.Sqs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html -type DetectorModel_Sqs struct { - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html#cfn-iotevents-detectormodel-sqs-payload - Payload *DetectorModel_Payload `json:"Payload,omitempty"` - - // QueueUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html#cfn-iotevents-detectormodel-sqs-queueurl - QueueUrl *types.Value `json:"QueueUrl,omitempty"` - - // UseBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-sqs.html#cfn-iotevents-detectormodel-sqs-usebase64 - UseBase64 *types.Value `json:"UseBase64,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 *DetectorModel_Sqs) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.Sqs" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_state.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_state.go deleted file mode 100644 index 6547d482d2..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_state.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_State AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.State) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html -type DetectorModel_State struct { - - // OnEnter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html#cfn-iotevents-detectormodel-state-onenter - OnEnter *DetectorModel_OnEnter `json:"OnEnter,omitempty"` - - // OnExit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html#cfn-iotevents-detectormodel-state-onexit - OnExit *DetectorModel_OnExit `json:"OnExit,omitempty"` - - // OnInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html#cfn-iotevents-detectormodel-state-oninput - OnInput *DetectorModel_OnInput `json:"OnInput,omitempty"` - - // StateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-state.html#cfn-iotevents-detectormodel-state-statename - StateName *types.Value `json:"StateName,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 *DetectorModel_State) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.State" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_transitionevent.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_transitionevent.go deleted file mode 100644 index 891d05f2db..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-detectormodel_transitionevent.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DetectorModel_TransitionEvent AWS CloudFormation Resource (AWS::IoTEvents::DetectorModel.TransitionEvent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html -type DetectorModel_TransitionEvent struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html#cfn-iotevents-detectormodel-transitionevent-actions - Actions []DetectorModel_Action `json:"Actions,omitempty"` - - // Condition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html#cfn-iotevents-detectormodel-transitionevent-condition - Condition *types.Value `json:"Condition,omitempty"` - - // EventName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html#cfn-iotevents-detectormodel-transitionevent-eventname - EventName *types.Value `json:"EventName,omitempty"` - - // NextState AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-detectormodel-transitionevent.html#cfn-iotevents-detectormodel-transitionevent-nextstate - NextState *types.Value `json:"NextState,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 *DetectorModel_TransitionEvent) AWSCloudFormationType() string { - return "AWS::IoTEvents::DetectorModel.TransitionEvent" -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-input.go deleted file mode 100644 index 84fe1c2167..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input.go +++ /dev/null @@ -1,124 +0,0 @@ -package iotevents - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input AWS CloudFormation Resource (AWS::IoTEvents::Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html -type Input struct { - - // InputDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputdefinition - InputDefinition *Input_InputDefinition `json:"InputDefinition,omitempty"` - - // InputDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputdescription - InputDescription *types.Value `json:"InputDescription,omitempty"` - - // InputName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputname - InputName *types.Value `json:"InputName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-tags - Tags []cloudformation.Tag `json:"Tags,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 *Input) AWSCloudFormationType() string { - return "AWS::IoTEvents::Input" -} - -// 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 (r Input) MarshalJSON() ([]byte, error) { - type Properties Input - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Input) UnmarshalJSON(b []byte) error { - type Properties Input - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Input(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input_inputdefinition.go b/pkg/goformation/cloudformation/iotevents/aws-iotevents-input_inputdefinition.go deleted file mode 100644 index 563b11e4ae..0000000000 --- a/pkg/goformation/cloudformation/iotevents/aws-iotevents-input_inputdefinition.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotevents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input_InputDefinition AWS CloudFormation Resource (AWS::IoTEvents::Input.InputDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-input-inputdefinition.html -type Input_InputDefinition struct { - - // Attributes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-input-inputdefinition.html#cfn-iotevents-input-inputdefinition-attributes - Attributes []Input_Attribute `json:"Attributes,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 *Input_InputDefinition) AWSCloudFormationType() string { - return "AWS::IoTEvents::Input.InputDefinition" -} diff --git a/pkg/goformation/cloudformation/iotfleethub/aws-iotfleethub-application.go b/pkg/goformation/cloudformation/iotfleethub/aws-iotfleethub-application.go deleted file mode 100644 index 59951ede08..0000000000 --- a/pkg/goformation/cloudformation/iotfleethub/aws-iotfleethub-application.go +++ /dev/null @@ -1,124 +0,0 @@ -package iotfleethub - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::IoTFleetHub::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html -type Application struct { - - // ApplicationDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-applicationdescription - ApplicationDescription *types.Value `json:"ApplicationDescription,omitempty"` - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-tags - Tags []cloudformation.Tag `json:"Tags,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 *Application) AWSCloudFormationType() string { - return "AWS::IoTFleetHub::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy.go deleted file mode 100644 index 53d827360b..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy.go +++ /dev/null @@ -1,118 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html -type AccessPolicy struct { - - // AccessPolicyIdentity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity - AccessPolicyIdentity *AccessPolicy_AccessPolicyIdentity `json:"AccessPolicyIdentity,omitempty"` - - // AccessPolicyPermission AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicypermission - AccessPolicyPermission *types.Value `json:"AccessPolicyPermission,omitempty"` - - // AccessPolicyResource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html#cfn-iotsitewise-accesspolicy-accesspolicyresource - AccessPolicyResource *AccessPolicy_AccessPolicyResource `json:"AccessPolicyResource,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 *AccessPolicy) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy" -} - -// 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 (r AccessPolicy) MarshalJSON() ([]byte, error) { - type Properties AccessPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccessPolicy) UnmarshalJSON(b []byte) error { - type Properties AccessPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AccessPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyidentity.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyidentity.go deleted file mode 100644 index a607fe12c1..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyidentity.go +++ /dev/null @@ -1,45 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_AccessPolicyIdentity AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html -type AccessPolicy_AccessPolicyIdentity struct { - - // IamRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-iamrole - IamRole *AccessPolicy_IamRole `json:"IamRole,omitempty"` - - // IamUser AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-iamuser - IamUser *AccessPolicy_IamUser `json:"IamUser,omitempty"` - - // User AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html#cfn-iotsitewise-accesspolicy-accesspolicyidentity-user - User *AccessPolicy_User `json:"User,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 *AccessPolicy_AccessPolicyIdentity) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyresource.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyresource.go deleted file mode 100644 index 4e3e204860..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_accesspolicyresource.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_AccessPolicyResource AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyresource.html -type AccessPolicy_AccessPolicyResource struct { - - // Portal AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyresource.html#cfn-iotsitewise-accesspolicy-accesspolicyresource-portal - Portal *AccessPolicy_Portal `json:"Portal,omitempty"` - - // Project AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyresource.html#cfn-iotsitewise-accesspolicy-accesspolicyresource-project - Project *AccessPolicy_Project `json:"Project,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 *AccessPolicy_AccessPolicyResource) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamrole.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamrole.go deleted file mode 100644 index f5da6fc7b0..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamrole.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_IamRole AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.IamRole) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamrole.html -type AccessPolicy_IamRole struct { - - // arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamrole.html#cfn-iotsitewise-accesspolicy-iamrole-arn - arn *types.Value `json:"arn,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 *AccessPolicy_IamRole) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.IamRole" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamuser.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamuser.go deleted file mode 100644 index c61812a876..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_iamuser.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_IamUser AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.IamUser) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamuser.html -type AccessPolicy_IamUser struct { - - // arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamuser.html#cfn-iotsitewise-accesspolicy-iamuser-arn - arn *types.Value `json:"arn,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 *AccessPolicy_IamUser) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.IamUser" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_portal.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_portal.go deleted file mode 100644 index 88f1dc8f18..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_portal.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_Portal AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.Portal) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-portal.html -type AccessPolicy_Portal struct { - - // id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-portal.html#cfn-iotsitewise-accesspolicy-portal-id - id *types.Value `json:"id,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 *AccessPolicy_Portal) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.Portal" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_project.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_project.go deleted file mode 100644 index 2a9bc329a2..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_project.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_Project AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-project.html -type AccessPolicy_Project struct { - - // id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-project.html#cfn-iotsitewise-accesspolicy-project-id - id *types.Value `json:"id,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 *AccessPolicy_Project) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.Project" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_user.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_user.go deleted file mode 100644 index c82a5d298f..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-accesspolicy_user.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPolicy_User AWS CloudFormation Resource (AWS::IoTSiteWise::AccessPolicy.User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-user.html -type AccessPolicy_User struct { - - // id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-user.html#cfn-iotsitewise-accesspolicy-user-id - id *types.Value `json:"id,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 *AccessPolicy_User) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AccessPolicy.User" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset.go deleted file mode 100644 index 685c9f6c56..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset.go +++ /dev/null @@ -1,129 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Asset AWS CloudFormation Resource (AWS::IoTSiteWise::Asset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html -type Asset struct { - - // AssetHierarchies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-assethierarchies - AssetHierarchies []Asset_AssetHierarchy `json:"AssetHierarchies,omitempty"` - - // AssetModelId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-assetmodelid - AssetModelId *types.Value `json:"AssetModelId,omitempty"` - - // AssetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-assetname - AssetName *types.Value `json:"AssetName,omitempty"` - - // AssetProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-assetproperties - AssetProperties []Asset_AssetProperty `json:"AssetProperties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-asset.html#cfn-iotsitewise-asset-tags - Tags []cloudformation.Tag `json:"Tags,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 *Asset) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Asset" -} - -// 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 (r Asset) MarshalJSON() ([]byte, error) { - type Properties Asset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Asset) UnmarshalJSON(b []byte) error { - type Properties Asset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Asset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assethierarchy.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assethierarchy.go deleted file mode 100644 index e95115a739..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assethierarchy.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Asset_AssetHierarchy AWS CloudFormation Resource (AWS::IoTSiteWise::Asset.AssetHierarchy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html -type Asset_AssetHierarchy struct { - - // ChildAssetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-childassetid - ChildAssetId *types.Value `json:"ChildAssetId,omitempty"` - - // LogicalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-logicalid - LogicalId *types.Value `json:"LogicalId,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 *Asset_AssetHierarchy) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Asset.AssetHierarchy" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assetproperty.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assetproperty.go deleted file mode 100644 index a3b32fe7f7..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-asset_assetproperty.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Asset_AssetProperty AWS CloudFormation Resource (AWS::IoTSiteWise::Asset.AssetProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html -type Asset_AssetProperty struct { - - // Alias AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html#cfn-iotsitewise-asset-assetproperty-alias - Alias *types.Value `json:"Alias,omitempty"` - - // LogicalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html#cfn-iotsitewise-asset-assetproperty-logicalid - LogicalId *types.Value `json:"LogicalId,omitempty"` - - // NotificationState AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assetproperty.html#cfn-iotsitewise-asset-assetproperty-notificationstate - NotificationState *types.Value `json:"NotificationState,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 *Asset_AssetProperty) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Asset.AssetProperty" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel.go deleted file mode 100644 index e23d4688ca..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel.go +++ /dev/null @@ -1,134 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html -type AssetModel struct { - - // AssetModelCompositeModels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodels - AssetModelCompositeModels []AssetModel_AssetModelCompositeModel `json:"AssetModelCompositeModels,omitempty"` - - // AssetModelDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodeldescription - AssetModelDescription *types.Value `json:"AssetModelDescription,omitempty"` - - // AssetModelHierarchies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelhierarchies - AssetModelHierarchies []AssetModel_AssetModelHierarchy `json:"AssetModelHierarchies,omitempty"` - - // AssetModelName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelname - AssetModelName *types.Value `json:"AssetModelName,omitempty"` - - // AssetModelProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelproperties - AssetModelProperties []AssetModel_AssetModelProperty `json:"AssetModelProperties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-tags - Tags []cloudformation.Tag `json:"Tags,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 *AssetModel) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel" -} - -// 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 (r AssetModel) MarshalJSON() ([]byte, error) { - type Properties AssetModel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AssetModel) UnmarshalJSON(b []byte) error { - type Properties AssetModel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AssetModel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelcompositemodel.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelcompositemodel.go deleted file mode 100644 index a5cf92a2b3..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelcompositemodel.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_AssetModelCompositeModel AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html -type AssetModel_AssetModelCompositeModel struct { - - // CompositeModelProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-compositemodelproperties - CompositeModelProperties []AssetModel_AssetModelProperty `json:"CompositeModelProperties,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelcompositemodel.html#cfn-iotsitewise-assetmodel-assetmodelcompositemodel-type - Type *types.Value `json:"Type,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 *AssetModel_AssetModelCompositeModel) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelhierarchy.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelhierarchy.go deleted file mode 100644 index 21b304529d..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelhierarchy.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_AssetModelHierarchy AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.AssetModelHierarchy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html -type AssetModel_AssetModelHierarchy struct { - - // ChildAssetModelId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-childassetmodelid - ChildAssetModelId *types.Value `json:"ChildAssetModelId,omitempty"` - - // LogicalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-logicalid - LogicalId *types.Value `json:"LogicalId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelhierarchy.html#cfn-iotsitewise-assetmodel-assetmodelhierarchy-name - Name *types.Value `json:"Name,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 *AssetModel_AssetModelHierarchy) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.AssetModelHierarchy" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelproperty.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelproperty.go deleted file mode 100644 index 9beee2b13b..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_assetmodelproperty.go +++ /dev/null @@ -1,62 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_AssetModelProperty AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.AssetModelProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html -type AssetModel_AssetModelProperty struct { - - // DataType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // DataTypeSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-datatypespec - DataTypeSpec *types.Value `json:"DataTypeSpec,omitempty"` - - // LogicalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-logicalid - LogicalId *types.Value `json:"LogicalId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-type - Type *AssetModel_PropertyType `json:"Type,omitempty"` - - // Unit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-assetmodelproperty.html#cfn-iotsitewise-assetmodel-assetmodelproperty-unit - Unit *types.Value `json:"Unit,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 *AssetModel_AssetModelProperty) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.AssetModelProperty" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_attribute.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_attribute.go deleted file mode 100644 index ef86e7bad4..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_attribute.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_Attribute AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.Attribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-attribute.html -type AssetModel_Attribute struct { - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-attribute.html#cfn-iotsitewise-assetmodel-attribute-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,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 *AssetModel_Attribute) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.Attribute" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_expressionvariable.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_expressionvariable.go deleted file mode 100644 index ebf42bd66e..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_expressionvariable.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_ExpressionVariable AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.ExpressionVariable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-expressionvariable.html -type AssetModel_ExpressionVariable struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-expressionvariable.html#cfn-iotsitewise-assetmodel-expressionvariable-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-expressionvariable.html#cfn-iotsitewise-assetmodel-expressionvariable-value - Value *AssetModel_VariableValue `json:"Value,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 *AssetModel_ExpressionVariable) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.ExpressionVariable" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metric.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metric.go deleted file mode 100644 index 10d3c91b39..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metric.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_Metric AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.Metric) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metric.html -type AssetModel_Metric struct { - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metric.html#cfn-iotsitewise-assetmodel-metric-expression - Expression *types.Value `json:"Expression,omitempty"` - - // Variables AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metric.html#cfn-iotsitewise-assetmodel-metric-variables - Variables []AssetModel_ExpressionVariable `json:"Variables,omitempty"` - - // Window AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metric.html#cfn-iotsitewise-assetmodel-metric-window - Window *AssetModel_MetricWindow `json:"Window,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 *AssetModel_Metric) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.Metric" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metricwindow.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metricwindow.go deleted file mode 100644 index 636f44d7cf..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_metricwindow.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_MetricWindow AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.MetricWindow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metricwindow.html -type AssetModel_MetricWindow struct { - - // Tumbling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-metricwindow.html#cfn-iotsitewise-assetmodel-metricwindow-tumbling - Tumbling *AssetModel_TumblingWindow `json:"Tumbling,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 *AssetModel_MetricWindow) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.MetricWindow" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_transform.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_transform.go deleted file mode 100644 index eddc974de3..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_transform.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_Transform AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.Transform) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html -type AssetModel_Transform struct { - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html#cfn-iotsitewise-assetmodel-transform-expression - Expression *types.Value `json:"Expression,omitempty"` - - // Variables AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-transform.html#cfn-iotsitewise-assetmodel-transform-variables - Variables []AssetModel_ExpressionVariable `json:"Variables,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 *AssetModel_Transform) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.Transform" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_tumblingwindow.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_tumblingwindow.go deleted file mode 100644 index 96c9fb16ee..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_tumblingwindow.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_TumblingWindow AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.TumblingWindow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-tumblingwindow.html -type AssetModel_TumblingWindow struct { - - // Interval AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-tumblingwindow.html#cfn-iotsitewise-assetmodel-tumblingwindow-interval - Interval *types.Value `json:"Interval,omitempty"` - - // Offset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-tumblingwindow.html#cfn-iotsitewise-assetmodel-tumblingwindow-offset - Offset *types.Value `json:"Offset,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 *AssetModel_TumblingWindow) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.TumblingWindow" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_variablevalue.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_variablevalue.go deleted file mode 100644 index 32df955032..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-assetmodel_variablevalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssetModel_VariableValue AWS CloudFormation Resource (AWS::IoTSiteWise::AssetModel.VariableValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html -type AssetModel_VariableValue struct { - - // HierarchyLogicalId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-hierarchylogicalid - HierarchyLogicalId *types.Value `json:"HierarchyLogicalId,omitempty"` - - // PropertyLogicalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-assetmodel-variablevalue.html#cfn-iotsitewise-assetmodel-variablevalue-propertylogicalid - PropertyLogicalId *types.Value `json:"PropertyLogicalId,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 *AssetModel_VariableValue) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::AssetModel.VariableValue" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-dashboard.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-dashboard.go deleted file mode 100644 index 74577ebc07..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-dashboard.go +++ /dev/null @@ -1,129 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard AWS CloudFormation Resource (AWS::IoTSiteWise::Dashboard) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html -type Dashboard struct { - - // DashboardDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html#cfn-iotsitewise-dashboard-dashboarddefinition - DashboardDefinition *types.Value `json:"DashboardDefinition,omitempty"` - - // DashboardDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html#cfn-iotsitewise-dashboard-dashboarddescription - DashboardDescription *types.Value `json:"DashboardDescription,omitempty"` - - // DashboardName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html#cfn-iotsitewise-dashboard-dashboardname - DashboardName *types.Value `json:"DashboardName,omitempty"` - - // ProjectId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html#cfn-iotsitewise-dashboard-projectid - ProjectId *types.Value `json:"ProjectId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html#cfn-iotsitewise-dashboard-tags - Tags []cloudformation.Tag `json:"Tags,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 *Dashboard) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Dashboard" -} - -// 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 (r Dashboard) MarshalJSON() ([]byte, error) { - type Properties Dashboard - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Dashboard) UnmarshalJSON(b []byte) error { - type Properties Dashboard - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Dashboard(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway.go deleted file mode 100644 index b9abec78bf..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway.go +++ /dev/null @@ -1,124 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Gateway AWS CloudFormation Resource (AWS::IoTSiteWise::Gateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html -type Gateway struct { - - // GatewayCapabilitySummaries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewaycapabilitysummaries - GatewayCapabilitySummaries []Gateway_GatewayCapabilitySummary `json:"GatewayCapabilitySummaries,omitempty"` - - // GatewayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewayname - GatewayName *types.Value `json:"GatewayName,omitempty"` - - // GatewayPlatform AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewayplatform - GatewayPlatform *Gateway_GatewayPlatform `json:"GatewayPlatform,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-tags - Tags []cloudformation.Tag `json:"Tags,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 *Gateway) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Gateway" -} - -// 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 (r Gateway) MarshalJSON() ([]byte, error) { - type Properties Gateway - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Gateway) UnmarshalJSON(b []byte) error { - type Properties Gateway - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Gateway(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewaycapabilitysummary.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewaycapabilitysummary.go deleted file mode 100644 index 49b1edd193..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewaycapabilitysummary.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Gateway_GatewayCapabilitySummary AWS CloudFormation Resource (AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewaycapabilitysummary.html -type Gateway_GatewayCapabilitySummary struct { - - // CapabilityConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewaycapabilitysummary.html#cfn-iotsitewise-gateway-gatewaycapabilitysummary-capabilityconfiguration - CapabilityConfiguration *types.Value `json:"CapabilityConfiguration,omitempty"` - - // CapabilityNamespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewaycapabilitysummary.html#cfn-iotsitewise-gateway-gatewaycapabilitysummary-capabilitynamespace - CapabilityNamespace *types.Value `json:"CapabilityNamespace,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 *Gateway_GatewayCapabilitySummary) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewayplatform.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewayplatform.go deleted file mode 100644 index b0569e5d79..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_gatewayplatform.go +++ /dev/null @@ -1,35 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Gateway_GatewayPlatform AWS CloudFormation Resource (AWS::IoTSiteWise::Gateway.GatewayPlatform) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html -type Gateway_GatewayPlatform struct { - - // Greengrass AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html#cfn-iotsitewise-gateway-gatewayplatform-greengrass - Greengrass *Gateway_Greengrass `json:"Greengrass,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 *Gateway_GatewayPlatform) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Gateway.GatewayPlatform" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_greengrass.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_greengrass.go deleted file mode 100644 index 58a1920add..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-gateway_greengrass.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotsitewise - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Gateway_Greengrass AWS CloudFormation Resource (AWS::IoTSiteWise::Gateway.Greengrass) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrass.html -type Gateway_Greengrass struct { - - // GroupArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrass.html#cfn-iotsitewise-gateway-greengrass-grouparn - GroupArn *types.Value `json:"GroupArn,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 *Gateway_Greengrass) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Gateway.Greengrass" -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-portal.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-portal.go deleted file mode 100644 index 06e21adcf2..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-portal.go +++ /dev/null @@ -1,144 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Portal AWS CloudFormation Resource (AWS::IoTSiteWise::Portal) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html -type Portal struct { - - // Alarms AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-alarms - Alarms interface{} `json:"Alarms,omitempty"` - - // NotificationSenderEmail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-notificationsenderemail - NotificationSenderEmail *types.Value `json:"NotificationSenderEmail,omitempty"` - - // PortalAuthMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalauthmode - PortalAuthMode *types.Value `json:"PortalAuthMode,omitempty"` - - // PortalContactEmail AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalcontactemail - PortalContactEmail *types.Value `json:"PortalContactEmail,omitempty"` - - // PortalDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portaldescription - PortalDescription *types.Value `json:"PortalDescription,omitempty"` - - // PortalName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-portalname - PortalName *types.Value `json:"PortalName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-portal.html#cfn-iotsitewise-portal-tags - Tags []cloudformation.Tag `json:"Tags,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 *Portal) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Portal" -} - -// 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 (r Portal) MarshalJSON() ([]byte, error) { - type Properties Portal - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Portal) UnmarshalJSON(b []byte) error { - type Properties Portal - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Portal(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-project.go b/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-project.go deleted file mode 100644 index dc27efe4b6..0000000000 --- a/pkg/goformation/cloudformation/iotsitewise/aws-iotsitewise-project.go +++ /dev/null @@ -1,129 +0,0 @@ -package iotsitewise - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::IoTSiteWise::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html -type Project struct { - - // AssetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html#cfn-iotsitewise-project-assetids - AssetIds *types.Value `json:"AssetIds,omitempty"` - - // PortalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html#cfn-iotsitewise-project-portalid - PortalId *types.Value `json:"PortalId,omitempty"` - - // ProjectDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html#cfn-iotsitewise-project-projectdescription - ProjectDescription *types.Value `json:"ProjectDescription,omitempty"` - - // ProjectName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html#cfn-iotsitewise-project-projectname - ProjectName *types.Value `json:"ProjectName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-project.html#cfn-iotsitewise-project-tags - Tags []cloudformation.Tag `json:"Tags,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 *Project) AWSCloudFormationType() string { - return "AWS::IoTSiteWise::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate.go b/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate.go deleted file mode 100644 index 48e5128090..0000000000 --- a/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate.go +++ /dev/null @@ -1,113 +0,0 @@ -package iotthingsgraph - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowTemplate AWS CloudFormation Resource (AWS::IoTThingsGraph::FlowTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html -type FlowTemplate struct { - - // CompatibleNamespaceVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-compatiblenamespaceversion - CompatibleNamespaceVersion *types.Value `json:"CompatibleNamespaceVersion,omitempty"` - - // Definition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html#cfn-iotthingsgraph-flowtemplate-definition - Definition *FlowTemplate_DefinitionDocument `json:"Definition,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 *FlowTemplate) AWSCloudFormationType() string { - return "AWS::IoTThingsGraph::FlowTemplate" -} - -// 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 (r FlowTemplate) MarshalJSON() ([]byte, error) { - type Properties FlowTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FlowTemplate) UnmarshalJSON(b []byte) error { - type Properties FlowTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FlowTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate_definitiondocument.go b/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate_definitiondocument.go deleted file mode 100644 index 2f0bcf71b0..0000000000 --- a/pkg/goformation/cloudformation/iotthingsgraph/aws-iotthingsgraph-flowtemplate_definitiondocument.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotthingsgraph - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowTemplate_DefinitionDocument AWS CloudFormation Resource (AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html -type FlowTemplate_DefinitionDocument struct { - - // Language AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html#cfn-iotthingsgraph-flowtemplate-definitiondocument-language - Language *types.Value `json:"Language,omitempty"` - - // Text AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html#cfn-iotthingsgraph-flowtemplate-definitiondocument-text - Text *types.Value `json:"Text,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 *FlowTemplate_DefinitionDocument) AWSCloudFormationType() string { - return "AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-destination.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-destination.go deleted file mode 100644 index 4c5a12df33..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-destination.go +++ /dev/null @@ -1,134 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Destination AWS CloudFormation Resource (AWS::IoTWireless::Destination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html -type Destination struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-description - Description *types.Value `json:"Description,omitempty"` - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-expression - Expression *types.Value `json:"Expression,omitempty"` - - // ExpressionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-expressiontype - ExpressionType *types.Value `json:"ExpressionType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-tags - Tags []cloudformation.Tag `json:"Tags,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 *Destination) AWSCloudFormationType() string { - return "AWS::IoTWireless::Destination" -} - -// 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 (r Destination) MarshalJSON() ([]byte, error) { - type Properties Destination - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Destination) UnmarshalJSON(b []byte) error { - type Properties Destination - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Destination(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile.go deleted file mode 100644 index 605db7ad41..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile.go +++ /dev/null @@ -1,119 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceProfile AWS CloudFormation Resource (AWS::IoTWireless::DeviceProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-deviceprofile.html -type DeviceProfile struct { - - // LoRaWAN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-deviceprofile.html#cfn-iotwireless-deviceprofile-lorawan - LoRaWAN *DeviceProfile_LoRaWANDeviceProfile `json:"LoRaWAN,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-deviceprofile.html#cfn-iotwireless-deviceprofile-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-deviceprofile.html#cfn-iotwireless-deviceprofile-tags - Tags []cloudformation.Tag `json:"Tags,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 *DeviceProfile) AWSCloudFormationType() string { - return "AWS::IoTWireless::DeviceProfile" -} - -// 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 (r DeviceProfile) MarshalJSON() ([]byte, error) { - type Properties DeviceProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeviceProfile) UnmarshalJSON(b []byte) error { - type Properties DeviceProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeviceProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile_lorawandeviceprofile.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile_lorawandeviceprofile.go deleted file mode 100644 index 314bd44a8f..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-deviceprofile_lorawandeviceprofile.go +++ /dev/null @@ -1,102 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceProfile_LoRaWANDeviceProfile AWS CloudFormation Resource (AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html -type DeviceProfile_LoRaWANDeviceProfile struct { - - // ClassBTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-classbtimeout - ClassBTimeout *types.Value `json:"ClassBTimeout,omitempty"` - - // ClassCTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-classctimeout - ClassCTimeout *types.Value `json:"ClassCTimeout,omitempty"` - - // MacVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-macversion - MacVersion *types.Value `json:"MacVersion,omitempty"` - - // MaxDutyCycle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-maxdutycycle - MaxDutyCycle *types.Value `json:"MaxDutyCycle,omitempty"` - - // MaxEirp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-maxeirp - MaxEirp *types.Value `json:"MaxEirp,omitempty"` - - // PingSlotDr AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-pingslotdr - PingSlotDr *types.Value `json:"PingSlotDr,omitempty"` - - // PingSlotFreq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-pingslotfreq - PingSlotFreq *types.Value `json:"PingSlotFreq,omitempty"` - - // PingSlotPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-pingslotperiod - PingSlotPeriod *types.Value `json:"PingSlotPeriod,omitempty"` - - // RegParamsRevision AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-regparamsrevision - RegParamsRevision *types.Value `json:"RegParamsRevision,omitempty"` - - // RfRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-rfregion - RfRegion *types.Value `json:"RfRegion,omitempty"` - - // Supports32BitFCnt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-supports32bitfcnt - Supports32BitFCnt *types.Value `json:"Supports32BitFCnt,omitempty"` - - // SupportsClassB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-supportsclassb - SupportsClassB *types.Value `json:"SupportsClassB,omitempty"` - - // SupportsClassC AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-supportsclassc - SupportsClassC *types.Value `json:"SupportsClassC,omitempty"` - - // SupportsJoin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-deviceprofile-lorawandeviceprofile.html#cfn-iotwireless-deviceprofile-lorawandeviceprofile-supportsjoin - SupportsJoin *types.Value `json:"SupportsJoin,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 *DeviceProfile_LoRaWANDeviceProfile) AWSCloudFormationType() string { - return "AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask.go deleted file mode 100644 index 2e90b10fb2..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask.go +++ /dev/null @@ -1,154 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FuotaTask AWS CloudFormation Resource (AWS::IoTWireless::FuotaTask) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html -type FuotaTask struct { - - // AssociateMulticastGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-associatemulticastgroup - AssociateMulticastGroup *types.Value `json:"AssociateMulticastGroup,omitempty"` - - // AssociateWirelessDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-associatewirelessdevice - AssociateWirelessDevice *types.Value `json:"AssociateWirelessDevice,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-description - Description *types.Value `json:"Description,omitempty"` - - // DisassociateMulticastGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-disassociatemulticastgroup - DisassociateMulticastGroup *types.Value `json:"DisassociateMulticastGroup,omitempty"` - - // DisassociateWirelessDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-disassociatewirelessdevice - DisassociateWirelessDevice *types.Value `json:"DisassociateWirelessDevice,omitempty"` - - // FirmwareUpdateImage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-firmwareupdateimage - FirmwareUpdateImage *types.Value `json:"FirmwareUpdateImage,omitempty"` - - // FirmwareUpdateRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-firmwareupdaterole - FirmwareUpdateRole *types.Value `json:"FirmwareUpdateRole,omitempty"` - - // LoRaWAN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-lorawan - LoRaWAN *FuotaTask_LoRaWAN `json:"LoRaWAN,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-fuotatask.html#cfn-iotwireless-fuotatask-tags - Tags []cloudformation.Tag `json:"Tags,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 *FuotaTask) AWSCloudFormationType() string { - return "AWS::IoTWireless::FuotaTask" -} - -// 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 (r FuotaTask) MarshalJSON() ([]byte, error) { - type Properties FuotaTask - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FuotaTask) UnmarshalJSON(b []byte) error { - type Properties FuotaTask - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FuotaTask(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask_lorawan.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask_lorawan.go deleted file mode 100644 index e700b6d27c..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-fuotatask_lorawan.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FuotaTask_LoRaWAN AWS CloudFormation Resource (AWS::IoTWireless::FuotaTask.LoRaWAN) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-fuotatask-lorawan.html -type FuotaTask_LoRaWAN struct { - - // RfRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-fuotatask-lorawan.html#cfn-iotwireless-fuotatask-lorawan-rfregion - RfRegion *types.Value `json:"RfRegion,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-fuotatask-lorawan.html#cfn-iotwireless-fuotatask-lorawan-starttime - StartTime *types.Value `json:"StartTime,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 *FuotaTask_LoRaWAN) AWSCloudFormationType() string { - return "AWS::IoTWireless::FuotaTask.LoRaWAN" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup_lorawan.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup_lorawan.go deleted file mode 100644 index 34f32856bd..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-multicastgroup_lorawan.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MulticastGroup_LoRaWAN AWS CloudFormation Resource (AWS::IoTWireless::MulticastGroup.LoRaWAN) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-multicastgroup-lorawan.html -type MulticastGroup_LoRaWAN struct { - - // DlClass AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-multicastgroup-lorawan.html#cfn-iotwireless-multicastgroup-lorawan-dlclass - DlClass *types.Value `json:"DlClass,omitempty"` - - // NumberOfDevicesInGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-multicastgroup-lorawan.html#cfn-iotwireless-multicastgroup-lorawan-numberofdevicesingroup - NumberOfDevicesInGroup *types.Value `json:"NumberOfDevicesInGroup,omitempty"` - - // NumberOfDevicesRequested AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-multicastgroup-lorawan.html#cfn-iotwireless-multicastgroup-lorawan-numberofdevicesrequested - NumberOfDevicesRequested *types.Value `json:"NumberOfDevicesRequested,omitempty"` - - // RfRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-multicastgroup-lorawan.html#cfn-iotwireless-multicastgroup-lorawan-rfregion - RfRegion *types.Value `json:"RfRegion,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 *MulticastGroup_LoRaWAN) AWSCloudFormationType() string { - return "AWS::IoTWireless::MulticastGroup.LoRaWAN" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount.go deleted file mode 100644 index 1d8b971bbc..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount.go +++ /dev/null @@ -1,139 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PartnerAccount AWS CloudFormation Resource (AWS::IoTWireless::PartnerAccount) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html -type PartnerAccount struct { - - // AccountLinked AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-accountlinked - AccountLinked *types.Value `json:"AccountLinked,omitempty"` - - // Fingerprint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-fingerprint - Fingerprint *types.Value `json:"Fingerprint,omitempty"` - - // PartnerAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-partneraccountid - PartnerAccountId *types.Value `json:"PartnerAccountId,omitempty"` - - // PartnerType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-partnertype - PartnerType *types.Value `json:"PartnerType,omitempty"` - - // Sidewalk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-sidewalk - Sidewalk *PartnerAccount_SidewalkAccountInfo `json:"Sidewalk,omitempty"` - - // SidewalkUpdate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-sidewalkupdate - SidewalkUpdate *PartnerAccount_SidewalkUpdateAccount `json:"SidewalkUpdate,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-partneraccount.html#cfn-iotwireless-partneraccount-tags - Tags []cloudformation.Tag `json:"Tags,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 *PartnerAccount) AWSCloudFormationType() string { - return "AWS::IoTWireless::PartnerAccount" -} - -// 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 (r PartnerAccount) MarshalJSON() ([]byte, error) { - type Properties PartnerAccount - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PartnerAccount) UnmarshalJSON(b []byte) error { - type Properties PartnerAccount - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PartnerAccount(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkaccountinfo.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkaccountinfo.go deleted file mode 100644 index 61b576c099..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkaccountinfo.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PartnerAccount_SidewalkAccountInfo AWS CloudFormation Resource (AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-partneraccount-sidewalkaccountinfo.html -type PartnerAccount_SidewalkAccountInfo struct { - - // AppServerPrivateKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-partneraccount-sidewalkaccountinfo.html#cfn-iotwireless-partneraccount-sidewalkaccountinfo-appserverprivatekey - AppServerPrivateKey *types.Value `json:"AppServerPrivateKey,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 *PartnerAccount_SidewalkAccountInfo) AWSCloudFormationType() string { - return "AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkupdateaccount.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkupdateaccount.go deleted file mode 100644 index 7b02ac1d6e..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-partneraccount_sidewalkupdateaccount.go +++ /dev/null @@ -1,37 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PartnerAccount_SidewalkUpdateAccount AWS CloudFormation Resource (AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-partneraccount-sidewalkupdateaccount.html -type PartnerAccount_SidewalkUpdateAccount struct { - - // AppServerPrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-partneraccount-sidewalkupdateaccount.html#cfn-iotwireless-partneraccount-sidewalkupdateaccount-appserverprivatekey - AppServerPrivateKey *types.Value `json:"AppServerPrivateKey,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 *PartnerAccount_SidewalkUpdateAccount) AWSCloudFormationType() string { - return "AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile.go deleted file mode 100644 index 46da6e6fb2..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile.go +++ /dev/null @@ -1,119 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ServiceProfile AWS CloudFormation Resource (AWS::IoTWireless::ServiceProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-serviceprofile.html -type ServiceProfile struct { - - // LoRaWAN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-serviceprofile.html#cfn-iotwireless-serviceprofile-lorawan - LoRaWAN *ServiceProfile_LoRaWANServiceProfile `json:"LoRaWAN,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-serviceprofile.html#cfn-iotwireless-serviceprofile-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-serviceprofile.html#cfn-iotwireless-serviceprofile-tags - Tags []cloudformation.Tag `json:"Tags,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 *ServiceProfile) AWSCloudFormationType() string { - return "AWS::IoTWireless::ServiceProfile" -} - -// 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 (r ServiceProfile) MarshalJSON() ([]byte, error) { - type Properties ServiceProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ServiceProfile) UnmarshalJSON(b []byte) error { - type Properties ServiceProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ServiceProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile_lorawanserviceprofile.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile_lorawanserviceprofile.go deleted file mode 100644 index 1b82b3b9de..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-serviceprofile_lorawanserviceprofile.go +++ /dev/null @@ -1,127 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ServiceProfile_LoRaWANServiceProfile AWS CloudFormation Resource (AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html -type ServiceProfile_LoRaWANServiceProfile struct { - - // AddGwMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-addgwmetadata - AddGwMetadata *types.Value `json:"AddGwMetadata,omitempty"` - - // ChannelMask AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-channelmask - ChannelMask *types.Value `json:"ChannelMask,omitempty"` - - // DevStatusReqFreq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-devstatusreqfreq - DevStatusReqFreq *types.Value `json:"DevStatusReqFreq,omitempty"` - - // DlBucketSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-dlbucketsize - DlBucketSize *types.Value `json:"DlBucketSize,omitempty"` - - // DlRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-dlrate - DlRate *types.Value `json:"DlRate,omitempty"` - - // DlRatePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-dlratepolicy - DlRatePolicy *types.Value `json:"DlRatePolicy,omitempty"` - - // DrMax AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-drmax - DrMax *types.Value `json:"DrMax,omitempty"` - - // DrMin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-drmin - DrMin *types.Value `json:"DrMin,omitempty"` - - // HrAllowed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-hrallowed - HrAllowed *types.Value `json:"HrAllowed,omitempty"` - - // MinGwDiversity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-mingwdiversity - MinGwDiversity *types.Value `json:"MinGwDiversity,omitempty"` - - // NwkGeoLoc AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-nwkgeoloc - NwkGeoLoc *types.Value `json:"NwkGeoLoc,omitempty"` - - // PrAllowed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-prallowed - PrAllowed *types.Value `json:"PrAllowed,omitempty"` - - // RaAllowed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-raallowed - RaAllowed *types.Value `json:"RaAllowed,omitempty"` - - // ReportDevStatusBattery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-reportdevstatusbattery - ReportDevStatusBattery *types.Value `json:"ReportDevStatusBattery,omitempty"` - - // ReportDevStatusMargin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-reportdevstatusmargin - ReportDevStatusMargin *types.Value `json:"ReportDevStatusMargin,omitempty"` - - // TargetPer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-targetper - TargetPer *types.Value `json:"TargetPer,omitempty"` - - // UlBucketSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-ulbucketsize - UlBucketSize *types.Value `json:"UlBucketSize,omitempty"` - - // UlRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-ulrate - UlRate *types.Value `json:"UlRate,omitempty"` - - // UlRatePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-serviceprofile-lorawanserviceprofile.html#cfn-iotwireless-serviceprofile-lorawanserviceprofile-ulratepolicy - UlRatePolicy *types.Value `json:"UlRatePolicy,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 *ServiceProfile_LoRaWANServiceProfile) AWSCloudFormationType() string { - return "AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition.go deleted file mode 100644 index b3a042feb2..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition.go +++ /dev/null @@ -1,134 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition AWS CloudFormation Resource (AWS::IoTWireless::TaskDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html -type TaskDefinition struct { - - // AutoCreateTasks AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-autocreatetasks - AutoCreateTasks *types.Value `json:"AutoCreateTasks"` - - // LoRaWANUpdateGatewayTaskEntry AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskentry - LoRaWANUpdateGatewayTaskEntry *TaskDefinition_LoRaWANUpdateGatewayTaskEntry `json:"LoRaWANUpdateGatewayTaskEntry,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TaskDefinitionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-taskdefinitiontype - TaskDefinitionType *types.Value `json:"TaskDefinitionType,omitempty"` - - // Update AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html#cfn-iotwireless-taskdefinition-update - Update *TaskDefinition_UpdateWirelessGatewayTaskCreate `json:"Update,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 *TaskDefinition) AWSCloudFormationType() string { - return "AWS::IoTWireless::TaskDefinition" -} - -// 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 (r TaskDefinition) MarshalJSON() ([]byte, error) { - type Properties TaskDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TaskDefinition) UnmarshalJSON(b []byte) error { - type Properties TaskDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TaskDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawangatewayversion.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawangatewayversion.go deleted file mode 100644 index 71aab6f66e..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawangatewayversion.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_LoRaWANGatewayVersion AWS CloudFormation Resource (AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html -type TaskDefinition_LoRaWANGatewayVersion struct { - - // Model AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-model - Model *types.Value `json:"Model,omitempty"` - - // PackageVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-packageversion - PackageVersion *types.Value `json:"PackageVersion,omitempty"` - - // Station AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-station - Station *types.Value `json:"Station,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 *TaskDefinition_LoRaWANGatewayVersion) AWSCloudFormationType() string { - return "AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskcreate.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskcreate.go deleted file mode 100644 index f0dd98395a..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskcreate.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_LoRaWANUpdateGatewayTaskCreate AWS CloudFormation Resource (AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html -type TaskDefinition_LoRaWANUpdateGatewayTaskCreate struct { - - // CurrentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-currentversion - CurrentVersion *TaskDefinition_LoRaWANGatewayVersion `json:"CurrentVersion,omitempty"` - - // SigKeyCrc AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-sigkeycrc - SigKeyCrc *types.Value `json:"SigKeyCrc,omitempty"` - - // UpdateSignature AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-updatesignature - UpdateSignature *types.Value `json:"UpdateSignature,omitempty"` - - // UpdateVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-updateversion - UpdateVersion *TaskDefinition_LoRaWANGatewayVersion `json:"UpdateVersion,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 *TaskDefinition_LoRaWANUpdateGatewayTaskCreate) AWSCloudFormationType() string { - return "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskentry.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskentry.go deleted file mode 100644 index e7cf3ca527..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_lorawanupdategatewaytaskentry.go +++ /dev/null @@ -1,40 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_LoRaWANUpdateGatewayTaskEntry AWS CloudFormation Resource (AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html -type TaskDefinition_LoRaWANUpdateGatewayTaskEntry struct { - - // CurrentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskentry-currentversion - CurrentVersion *TaskDefinition_LoRaWANGatewayVersion `json:"CurrentVersion,omitempty"` - - // UpdateVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskentry-updateversion - UpdateVersion *TaskDefinition_LoRaWANGatewayVersion `json:"UpdateVersion,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 *TaskDefinition_LoRaWANUpdateGatewayTaskEntry) AWSCloudFormationType() string { - return "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_updatewirelessgatewaytaskcreate.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_updatewirelessgatewaytaskcreate.go deleted file mode 100644 index 227c197a3a..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-taskdefinition_updatewirelessgatewaytaskcreate.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TaskDefinition_UpdateWirelessGatewayTaskCreate AWS CloudFormation Resource (AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html -type TaskDefinition_UpdateWirelessGatewayTaskCreate struct { - - // LoRaWAN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-lorawan - LoRaWAN *TaskDefinition_LoRaWANUpdateGatewayTaskCreate `json:"LoRaWAN,omitempty"` - - // UpdateDataRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-updatedatarole - UpdateDataRole *types.Value `json:"UpdateDataRole,omitempty"` - - // UpdateDataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-updatedatasource - UpdateDataSource *types.Value `json:"UpdateDataSource,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 *TaskDefinition_UpdateWirelessGatewayTaskCreate) AWSCloudFormationType() string { - return "AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice.go deleted file mode 100644 index d2369fc1d8..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice.go +++ /dev/null @@ -1,144 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html -type WirelessDevice struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-description - Description *types.Value `json:"Description,omitempty"` - - // DestinationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-destinationname - DestinationName *types.Value `json:"DestinationName,omitempty"` - - // LastUplinkReceivedAt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-lastuplinkreceivedat - LastUplinkReceivedAt *types.Value `json:"LastUplinkReceivedAt,omitempty"` - - // LoRaWAN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-lorawan - LoRaWAN *WirelessDevice_LoRaWANDevice `json:"LoRaWAN,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-thingarn - ThingArn *types.Value `json:"ThingArn,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessdevice.html#cfn-iotwireless-wirelessdevice-type - Type *types.Value `json:"Type,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 *WirelessDevice) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice" -} - -// 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 (r WirelessDevice) MarshalJSON() ([]byte, error) { - type Properties WirelessDevice - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WirelessDevice) UnmarshalJSON(b []byte) error { - type Properties WirelessDevice - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WirelessDevice(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv10x.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv10x.go deleted file mode 100644 index c81b5ed25b..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv10x.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_AbpV10x AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.AbpV10x) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv10x.html -type WirelessDevice_AbpV10x struct { - - // DevAddr AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv10x.html#cfn-iotwireless-wirelessdevice-abpv10x-devaddr - DevAddr *types.Value `json:"DevAddr,omitempty"` - - // SessionKeys AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv10x.html#cfn-iotwireless-wirelessdevice-abpv10x-sessionkeys - SessionKeys *WirelessDevice_SessionKeysAbpV10x `json:"SessionKeys,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 *WirelessDevice_AbpV10x) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.AbpV10x" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_lorawandevice.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_lorawandevice.go deleted file mode 100644 index 8e36b2face..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_lorawandevice.go +++ /dev/null @@ -1,67 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_LoRaWANDevice AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.LoRaWANDevice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html -type WirelessDevice_LoRaWANDevice struct { - - // AbpV10x AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-abpv10x - AbpV10x *WirelessDevice_AbpV10x `json:"AbpV10x,omitempty"` - - // AbpV11 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-abpv11 - AbpV11 *WirelessDevice_AbpV11 `json:"AbpV11,omitempty"` - - // DevEui AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-deveui - DevEui *types.Value `json:"DevEui,omitempty"` - - // DeviceProfileId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-deviceprofileid - DeviceProfileId *types.Value `json:"DeviceProfileId,omitempty"` - - // OtaaV10x AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-otaav10x - OtaaV10x *WirelessDevice_OtaaV10x `json:"OtaaV10x,omitempty"` - - // OtaaV11 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-otaav11 - OtaaV11 *WirelessDevice_OtaaV11 `json:"OtaaV11,omitempty"` - - // ServiceProfileId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-lorawandevice.html#cfn-iotwireless-wirelessdevice-lorawandevice-serviceprofileid - ServiceProfileId *types.Value `json:"ServiceProfileId,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 *WirelessDevice_LoRaWANDevice) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.LoRaWANDevice" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav10x.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav10x.go deleted file mode 100644 index 12bdb21e43..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav10x.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_OtaaV10x AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.OtaaV10x) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav10x.html -type WirelessDevice_OtaaV10x struct { - - // AppEui AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav10x.html#cfn-iotwireless-wirelessdevice-otaav10x-appeui - AppEui *types.Value `json:"AppEui,omitempty"` - - // AppKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav10x.html#cfn-iotwireless-wirelessdevice-otaav10x-appkey - AppKey *types.Value `json:"AppKey,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 *WirelessDevice_OtaaV10x) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.OtaaV10x" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav11.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav11.go deleted file mode 100644 index 92284917a9..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_otaav11.go +++ /dev/null @@ -1,47 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_OtaaV11 AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.OtaaV11) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav11.html -type WirelessDevice_OtaaV11 struct { - - // AppKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav11.html#cfn-iotwireless-wirelessdevice-otaav11-appkey - AppKey *types.Value `json:"AppKey,omitempty"` - - // JoinEui AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav11.html#cfn-iotwireless-wirelessdevice-otaav11-joineui - JoinEui *types.Value `json:"JoinEui,omitempty"` - - // NwkKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-otaav11.html#cfn-iotwireless-wirelessdevice-otaav11-nwkkey - NwkKey *types.Value `json:"NwkKey,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 *WirelessDevice_OtaaV11) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.OtaaV11" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv10x.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv10x.go deleted file mode 100644 index 3f63729f6f..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv10x.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_SessionKeysAbpV10x AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv10x.html -type WirelessDevice_SessionKeysAbpV10x struct { - - // AppSKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv10x.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv10x-appskey - AppSKey *types.Value `json:"AppSKey,omitempty"` - - // NwkSKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv10x.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv10x-nwkskey - NwkSKey *types.Value `json:"NwkSKey,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 *WirelessDevice_SessionKeysAbpV10x) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv11.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv11.go deleted file mode 100644 index 8a4a19ba9d..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_sessionkeysabpv11.go +++ /dev/null @@ -1,52 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessDevice_SessionKeysAbpV11 AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv11.html -type WirelessDevice_SessionKeysAbpV11 struct { - - // AppSKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv11.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv11-appskey - AppSKey *types.Value `json:"AppSKey,omitempty"` - - // FNwkSIntKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv11.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv11-fnwksintkey - FNwkSIntKey *types.Value `json:"FNwkSIntKey,omitempty"` - - // NwkSEncKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv11.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv11-nwksenckey - NwkSEncKey *types.Value `json:"NwkSEncKey,omitempty"` - - // SNwkSIntKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-sessionkeysabpv11.html#cfn-iotwireless-wirelessdevice-sessionkeysabpv11-snwksintkey - SNwkSIntKey *types.Value `json:"SNwkSIntKey,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 *WirelessDevice_SessionKeysAbpV11) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11" -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway.go deleted file mode 100644 index b1972b5c1a..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway.go +++ /dev/null @@ -1,134 +0,0 @@ -package iotwireless - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessGateway AWS CloudFormation Resource (AWS::IoTWireless::WirelessGateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html -type WirelessGateway struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-description - Description *types.Value `json:"Description,omitempty"` - - // LastUplinkReceivedAt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-lastuplinkreceivedat - LastUplinkReceivedAt *types.Value `json:"LastUplinkReceivedAt,omitempty"` - - // LoRaWAN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-lorawan - LoRaWAN *WirelessGateway_LoRaWANGateway `json:"LoRaWAN,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThingArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-wirelessgateway.html#cfn-iotwireless-wirelessgateway-thingarn - ThingArn *types.Value `json:"ThingArn,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 *WirelessGateway) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessGateway" -} - -// 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 (r WirelessGateway) MarshalJSON() ([]byte, error) { - type Properties WirelessGateway - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WirelessGateway) UnmarshalJSON(b []byte) error { - type Properties WirelessGateway - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WirelessGateway(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway_lorawangateway.go b/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway_lorawangateway.go deleted file mode 100644 index 697abcc948..0000000000 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessgateway_lorawangateway.go +++ /dev/null @@ -1,42 +0,0 @@ -package iotwireless - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WirelessGateway_LoRaWANGateway AWS CloudFormation Resource (AWS::IoTWireless::WirelessGateway.LoRaWANGateway) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessgateway-lorawangateway.html -type WirelessGateway_LoRaWANGateway struct { - - // GatewayEui AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessgateway-lorawangateway.html#cfn-iotwireless-wirelessgateway-lorawangateway-gatewayeui - GatewayEui *types.Value `json:"GatewayEui,omitempty"` - - // RfRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessgateway-lorawangateway.html#cfn-iotwireless-wirelessgateway-lorawangateway-rfregion - RfRegion *types.Value `json:"RfRegion,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 *WirelessGateway_LoRaWANGateway) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessGateway.LoRaWANGateway" -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-channel.go b/pkg/goformation/cloudformation/ivs/aws-ivs-channel.go deleted file mode 100644 index 3689a3d79a..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-channel.go +++ /dev/null @@ -1,134 +0,0 @@ -package ivs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel AWS CloudFormation Resource (AWS::IVS::Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html -type Channel struct { - - // Authorized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-authorized - Authorized *types.Value `json:"Authorized,omitempty"` - - // LatencyMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-latencymode - LatencyMode *types.Value `json:"LatencyMode,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-name - Name *types.Value `json:"Name,omitempty"` - - // RecordingConfigurationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-recordingconfigurationarn - RecordingConfigurationArn *types.Value `json:"RecordingConfigurationArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html#cfn-ivs-channel-type - Type *types.Value `json:"Type,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 *Channel) AWSCloudFormationType() string { - return "AWS::IVS::Channel" -} - -// 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 (r Channel) MarshalJSON() ([]byte, error) { - type Properties Channel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Channel) UnmarshalJSON(b []byte) error { - type Properties Channel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Channel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-playbackkeypair.go b/pkg/goformation/cloudformation/ivs/aws-ivs-playbackkeypair.go deleted file mode 100644 index c2c86616dc..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-playbackkeypair.go +++ /dev/null @@ -1,119 +0,0 @@ -package ivs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PlaybackKeyPair AWS CloudFormation Resource (AWS::IVS::PlaybackKeyPair) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html -type PlaybackKeyPair struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html#cfn-ivs-playbackkeypair-name - Name *types.Value `json:"Name,omitempty"` - - // PublicKeyMaterial AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html#cfn-ivs-playbackkeypair-publickeymaterial - PublicKeyMaterial *types.Value `json:"PublicKeyMaterial,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html#cfn-ivs-playbackkeypair-tags - Tags []cloudformation.Tag `json:"Tags,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 *PlaybackKeyPair) AWSCloudFormationType() string { - return "AWS::IVS::PlaybackKeyPair" -} - -// 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 (r PlaybackKeyPair) MarshalJSON() ([]byte, error) { - type Properties PlaybackKeyPair - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PlaybackKeyPair) UnmarshalJSON(b []byte) error { - type Properties PlaybackKeyPair - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PlaybackKeyPair(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration.go b/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration.go deleted file mode 100644 index bf30336a4c..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration.go +++ /dev/null @@ -1,119 +0,0 @@ -package ivs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RecordingConfiguration AWS CloudFormation Resource (AWS::IVS::RecordingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html -type RecordingConfiguration struct { - - // DestinationConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-destinationconfiguration - DestinationConfiguration *RecordingConfiguration_DestinationConfiguration `json:"DestinationConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-tags - Tags []cloudformation.Tag `json:"Tags,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 *RecordingConfiguration) AWSCloudFormationType() string { - return "AWS::IVS::RecordingConfiguration" -} - -// 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 (r RecordingConfiguration) MarshalJSON() ([]byte, error) { - type Properties RecordingConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RecordingConfiguration) UnmarshalJSON(b []byte) error { - type Properties RecordingConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RecordingConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_destinationconfiguration.go b/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_destinationconfiguration.go deleted file mode 100644 index f6c121e711..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_destinationconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package ivs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RecordingConfiguration_DestinationConfiguration AWS CloudFormation Resource (AWS::IVS::RecordingConfiguration.DestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-destinationconfiguration.html -type RecordingConfiguration_DestinationConfiguration struct { - - // S3 AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-destinationconfiguration.html#cfn-ivs-recordingconfiguration-destinationconfiguration-s3 - S3 *RecordingConfiguration_S3DestinationConfiguration `json:"S3,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 *RecordingConfiguration_DestinationConfiguration) AWSCloudFormationType() string { - return "AWS::IVS::RecordingConfiguration.DestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_s3destinationconfiguration.go b/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_s3destinationconfiguration.go deleted file mode 100644 index 3b00e96f43..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-recordingconfiguration_s3destinationconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package ivs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RecordingConfiguration_S3DestinationConfiguration AWS CloudFormation Resource (AWS::IVS::RecordingConfiguration.S3DestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-s3destinationconfiguration.html -type RecordingConfiguration_S3DestinationConfiguration struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-s3destinationconfiguration.html#cfn-ivs-recordingconfiguration-s3destinationconfiguration-bucketname - BucketName *types.Value `json:"BucketName,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 *RecordingConfiguration_S3DestinationConfiguration) AWSCloudFormationType() string { - return "AWS::IVS::RecordingConfiguration.S3DestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/ivs/aws-ivs-streamkey.go b/pkg/goformation/cloudformation/ivs/aws-ivs-streamkey.go deleted file mode 100644 index 961aedfbd1..0000000000 --- a/pkg/goformation/cloudformation/ivs/aws-ivs-streamkey.go +++ /dev/null @@ -1,114 +0,0 @@ -package ivs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamKey AWS CloudFormation Resource (AWS::IVS::StreamKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html -type StreamKey struct { - - // ChannelArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html#cfn-ivs-streamkey-channelarn - ChannelArn *types.Value `json:"ChannelArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html#cfn-ivs-streamkey-tags - Tags []cloudformation.Tag `json:"Tags,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 *StreamKey) AWSCloudFormationType() string { - return "AWS::IVS::StreamKey" -} - -// 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 (r StreamKey) MarshalJSON() ([]byte, error) { - type Properties StreamKey - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StreamKey) UnmarshalJSON(b []byte) error { - type Properties StreamKey - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StreamKey(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource.go deleted file mode 100644 index de5cb2f05c..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource.go +++ /dev/null @@ -1,144 +0,0 @@ -package kendra - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource AWS CloudFormation Resource (AWS::Kendra::DataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html -type DataSource struct { - - // DataSourceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-datasourceconfiguration - DataSourceConfiguration *DataSource_DataSourceConfiguration `json:"DataSourceConfiguration,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-description - Description *types.Value `json:"Description,omitempty"` - - // IndexId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-indexid - IndexId *types.Value `json:"IndexId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-schedule - Schedule *types.Value `json:"Schedule,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-datasource.html#cfn-kendra-datasource-type - Type *types.Value `json:"Type,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 *DataSource) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource" -} - -// 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 (r DataSource) MarshalJSON() ([]byte, error) { - type Properties DataSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataSource) UnmarshalJSON(b []byte) error { - type Properties DataSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_aclconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_aclconfiguration.go deleted file mode 100644 index 1237eda6df..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_aclconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AclConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.AclConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-aclconfiguration.html -type DataSource_AclConfiguration struct { - - // AllowedGroupsColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-aclconfiguration.html#cfn-kendra-datasource-aclconfiguration-allowedgroupscolumnname - AllowedGroupsColumnName *types.Value `json:"AllowedGroupsColumnName,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 *DataSource_AclConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.AclConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_changedetectingcolumns.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_changedetectingcolumns.go deleted file mode 100644 index 1ea8f6b913..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_changedetectingcolumns.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ChangeDetectingColumns AWS CloudFormation Resource (AWS::Kendra::DataSource.ChangeDetectingColumns) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-changedetectingcolumns.html -type DataSource_ChangeDetectingColumns struct { - - // ChangeDetectingColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-changedetectingcolumns.html#cfn-kendra-datasource-changedetectingcolumns-changedetectingcolumns - ChangeDetectingColumns *types.Value `json:"ChangeDetectingColumns,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 *DataSource_ChangeDetectingColumns) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ChangeDetectingColumns" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_columnconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_columnconfiguration.go deleted file mode 100644 index 59938d4c43..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_columnconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ColumnConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ColumnConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html -type DataSource_ColumnConfiguration struct { - - // ChangeDetectingColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html#cfn-kendra-datasource-columnconfiguration-changedetectingcolumns - ChangeDetectingColumns *types.Value `json:"ChangeDetectingColumns,omitempty"` - - // DocumentDataColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html#cfn-kendra-datasource-columnconfiguration-documentdatacolumnname - DocumentDataColumnName *types.Value `json:"DocumentDataColumnName,omitempty"` - - // DocumentIdColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html#cfn-kendra-datasource-columnconfiguration-documentidcolumnname - DocumentIdColumnName *types.Value `json:"DocumentIdColumnName,omitempty"` - - // DocumentTitleColumnName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html#cfn-kendra-datasource-columnconfiguration-documenttitlecolumnname - DocumentTitleColumnName *types.Value `json:"DocumentTitleColumnName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-columnconfiguration.html#cfn-kendra-datasource-columnconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,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 *DataSource_ColumnConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ColumnConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmentconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmentconfiguration.go deleted file mode 100644 index fffc4d1ce3..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmentconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceAttachmentConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmentconfiguration.html -type DataSource_ConfluenceAttachmentConfiguration struct { - - // AttachmentFieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmentconfiguration.html#cfn-kendra-datasource-confluenceattachmentconfiguration-attachmentfieldmappings - AttachmentFieldMappings []DataSource_ConfluenceAttachmentToIndexFieldMapping `json:"AttachmentFieldMappings,omitempty"` - - // CrawlAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmentconfiguration.html#cfn-kendra-datasource-confluenceattachmentconfiguration-crawlattachments - CrawlAttachments *types.Value `json:"CrawlAttachments,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 *DataSource_ConfluenceAttachmentConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmenttoindexfieldmapping.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmenttoindexfieldmapping.go deleted file mode 100644 index c23b034685..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceattachmenttoindexfieldmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceAttachmentToIndexFieldMapping AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmenttoindexfieldmapping.html -type DataSource_ConfluenceAttachmentToIndexFieldMapping struct { - - // DataSourceFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmenttoindexfieldmapping.html#cfn-kendra-datasource-confluenceattachmenttoindexfieldmapping-datasourcefieldname - DataSourceFieldName *types.Value `json:"DataSourceFieldName,omitempty"` - - // DateFieldFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmenttoindexfieldmapping.html#cfn-kendra-datasource-confluenceattachmenttoindexfieldmapping-datefieldformat - DateFieldFormat *types.Value `json:"DateFieldFormat,omitempty"` - - // IndexFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceattachmenttoindexfieldmapping.html#cfn-kendra-datasource-confluenceattachmenttoindexfieldmapping-indexfieldname - IndexFieldName *types.Value `json:"IndexFieldName,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 *DataSource_ConfluenceAttachmentToIndexFieldMapping) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogconfiguration.go deleted file mode 100644 index 31209db1b1..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceBlogConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceBlogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogconfiguration.html -type DataSource_ConfluenceBlogConfiguration struct { - - // BlogFieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogconfiguration.html#cfn-kendra-datasource-confluenceblogconfiguration-blogfieldmappings - BlogFieldMappings []DataSource_ConfluenceBlogToIndexFieldMapping `json:"BlogFieldMappings,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 *DataSource_ConfluenceBlogConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceBlogConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogtoindexfieldmapping.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogtoindexfieldmapping.go deleted file mode 100644 index 5f41653be0..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceblogtoindexfieldmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceBlogToIndexFieldMapping AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogtoindexfieldmapping.html -type DataSource_ConfluenceBlogToIndexFieldMapping struct { - - // DataSourceFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogtoindexfieldmapping.html#cfn-kendra-datasource-confluenceblogtoindexfieldmapping-datasourcefieldname - DataSourceFieldName *types.Value `json:"DataSourceFieldName,omitempty"` - - // DateFieldFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogtoindexfieldmapping.html#cfn-kendra-datasource-confluenceblogtoindexfieldmapping-datefieldformat - DateFieldFormat *types.Value `json:"DateFieldFormat,omitempty"` - - // IndexFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceblogtoindexfieldmapping.html#cfn-kendra-datasource-confluenceblogtoindexfieldmapping-indexfieldname - IndexFieldName *types.Value `json:"IndexFieldName,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 *DataSource_ConfluenceBlogToIndexFieldMapping) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceconfiguration.go deleted file mode 100644 index 7a7f198cb9..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluenceconfiguration.go +++ /dev/null @@ -1,82 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html -type DataSource_ConfluenceConfiguration struct { - - // AttachmentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-attachmentconfiguration - AttachmentConfiguration *DataSource_ConfluenceAttachmentConfiguration `json:"AttachmentConfiguration,omitempty"` - - // BlogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-blogconfiguration - BlogConfiguration *DataSource_ConfluenceBlogConfiguration `json:"BlogConfiguration,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // PageConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-pageconfiguration - PageConfiguration *DataSource_ConfluencePageConfiguration `json:"PageConfiguration,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // ServerUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-serverurl - ServerUrl *types.Value `json:"ServerUrl,omitempty"` - - // SpaceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-spaceconfiguration - SpaceConfiguration *DataSource_ConfluenceSpaceConfiguration `json:"SpaceConfiguration,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-version - Version *types.Value `json:"Version,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluenceconfiguration.html#cfn-kendra-datasource-confluenceconfiguration-vpcconfiguration - VpcConfiguration *DataSource_DataSourceVpcConfiguration `json:"VpcConfiguration,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 *DataSource_ConfluenceConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepageconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepageconfiguration.go deleted file mode 100644 index 3a0d0c85bf..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepageconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluencePageConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluencePageConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepageconfiguration.html -type DataSource_ConfluencePageConfiguration struct { - - // PageFieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepageconfiguration.html#cfn-kendra-datasource-confluencepageconfiguration-pagefieldmappings - PageFieldMappings []DataSource_ConfluencePageToIndexFieldMapping `json:"PageFieldMappings,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 *DataSource_ConfluencePageConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluencePageConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepagetoindexfieldmapping.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepagetoindexfieldmapping.go deleted file mode 100644 index bdb6483cfc..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencepagetoindexfieldmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluencePageToIndexFieldMapping AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepagetoindexfieldmapping.html -type DataSource_ConfluencePageToIndexFieldMapping struct { - - // DataSourceFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepagetoindexfieldmapping.html#cfn-kendra-datasource-confluencepagetoindexfieldmapping-datasourcefieldname - DataSourceFieldName *types.Value `json:"DataSourceFieldName,omitempty"` - - // DateFieldFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepagetoindexfieldmapping.html#cfn-kendra-datasource-confluencepagetoindexfieldmapping-datefieldformat - DateFieldFormat *types.Value `json:"DateFieldFormat,omitempty"` - - // IndexFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencepagetoindexfieldmapping.html#cfn-kendra-datasource-confluencepagetoindexfieldmapping-indexfieldname - IndexFieldName *types.Value `json:"IndexFieldName,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 *DataSource_ConfluencePageToIndexFieldMapping) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespaceconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespaceconfiguration.go deleted file mode 100644 index 490891c39f..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespaceconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceSpaceConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceSpaceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html -type DataSource_ConfluenceSpaceConfiguration struct { - - // CrawlArchivedSpaces AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html#cfn-kendra-datasource-confluencespaceconfiguration-crawlarchivedspaces - CrawlArchivedSpaces *types.Value `json:"CrawlArchivedSpaces,omitempty"` - - // CrawlPersonalSpaces AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html#cfn-kendra-datasource-confluencespaceconfiguration-crawlpersonalspaces - CrawlPersonalSpaces *types.Value `json:"CrawlPersonalSpaces,omitempty"` - - // ExcludeSpaces AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html#cfn-kendra-datasource-confluencespaceconfiguration-excludespaces - ExcludeSpaces *types.Value `json:"ExcludeSpaces,omitempty"` - - // IncludeSpaces AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html#cfn-kendra-datasource-confluencespaceconfiguration-includespaces - IncludeSpaces *types.Value `json:"IncludeSpaces,omitempty"` - - // SpaceFieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespaceconfiguration.html#cfn-kendra-datasource-confluencespaceconfiguration-spacefieldmappings - SpaceFieldMappings []DataSource_ConfluenceSpaceToIndexFieldMapping `json:"SpaceFieldMappings,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 *DataSource_ConfluenceSpaceConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceSpaceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespacetoindexfieldmapping.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespacetoindexfieldmapping.go deleted file mode 100644 index 51beee4b08..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_confluencespacetoindexfieldmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConfluenceSpaceToIndexFieldMapping AWS CloudFormation Resource (AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespacetoindexfieldmapping.html -type DataSource_ConfluenceSpaceToIndexFieldMapping struct { - - // DataSourceFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespacetoindexfieldmapping.html#cfn-kendra-datasource-confluencespacetoindexfieldmapping-datasourcefieldname - DataSourceFieldName *types.Value `json:"DataSourceFieldName,omitempty"` - - // DateFieldFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespacetoindexfieldmapping.html#cfn-kendra-datasource-confluencespacetoindexfieldmapping-datefieldformat - DateFieldFormat *types.Value `json:"DateFieldFormat,omitempty"` - - // IndexFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-confluencespacetoindexfieldmapping.html#cfn-kendra-datasource-confluencespacetoindexfieldmapping-indexfieldname - IndexFieldName *types.Value `json:"IndexFieldName,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 *DataSource_ConfluenceSpaceToIndexFieldMapping) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_connectionconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_connectionconfiguration.go deleted file mode 100644 index e71b1ddf02..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_connectionconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ConnectionConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ConnectionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html -type DataSource_ConnectionConfiguration struct { - - // DatabaseHost AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databasehost - DatabaseHost *types.Value `json:"DatabaseHost,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DatabasePort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-databaseport - DatabasePort *types.Value `json:"DatabasePort"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html#cfn-kendra-datasource-connectionconfiguration-tablename - TableName *types.Value `json:"TableName,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 *DataSource_ConnectionConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ConnectionConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_databaseconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_databaseconfiguration.go deleted file mode 100644 index 1f0306632c..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_databaseconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DatabaseConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.DatabaseConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html -type DataSource_DatabaseConfiguration struct { - - // AclConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-aclconfiguration - AclConfiguration *DataSource_AclConfiguration `json:"AclConfiguration,omitempty"` - - // ColumnConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-columnconfiguration - ColumnConfiguration *DataSource_ColumnConfiguration `json:"ColumnConfiguration,omitempty"` - - // ConnectionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-connectionconfiguration - ConnectionConfiguration *DataSource_ConnectionConfiguration `json:"ConnectionConfiguration,omitempty"` - - // DatabaseEngineType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-databaseenginetype - DatabaseEngineType *types.Value `json:"DatabaseEngineType,omitempty"` - - // SqlConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-sqlconfiguration - SqlConfiguration *DataSource_SqlConfiguration `json:"SqlConfiguration,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-databaseconfiguration.html#cfn-kendra-datasource-databaseconfiguration-vpcconfiguration - VpcConfiguration *DataSource_DataSourceVpcConfiguration `json:"VpcConfiguration,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 *DataSource_DatabaseConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DatabaseConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceconfiguration.go deleted file mode 100644 index 704258773b..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceconfiguration.go +++ /dev/null @@ -1,80 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.DataSourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html -type DataSource_DataSourceConfiguration struct { - - // ConfluenceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-confluenceconfiguration - ConfluenceConfiguration *DataSource_ConfluenceConfiguration `json:"ConfluenceConfiguration,omitempty"` - - // DatabaseConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-databaseconfiguration - DatabaseConfiguration *DataSource_DatabaseConfiguration `json:"DatabaseConfiguration,omitempty"` - - // GoogleDriveConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-googledriveconfiguration - GoogleDriveConfiguration *DataSource_GoogleDriveConfiguration `json:"GoogleDriveConfiguration,omitempty"` - - // OneDriveConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-onedriveconfiguration - OneDriveConfiguration *DataSource_OneDriveConfiguration `json:"OneDriveConfiguration,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-s3configuration - S3Configuration *DataSource_S3DataSourceConfiguration `json:"S3Configuration,omitempty"` - - // SalesforceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-salesforceconfiguration - SalesforceConfiguration *DataSource_SalesforceConfiguration `json:"SalesforceConfiguration,omitempty"` - - // ServiceNowConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-servicenowconfiguration - ServiceNowConfiguration *DataSource_ServiceNowConfiguration `json:"ServiceNowConfiguration,omitempty"` - - // SharePointConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-sharepointconfiguration - SharePointConfiguration *DataSource_SharePointConfiguration `json:"SharePointConfiguration,omitempty"` - - // WebCrawlerConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-webcrawlerconfiguration - WebCrawlerConfiguration *DataSource_WebCrawlerConfiguration `json:"WebCrawlerConfiguration,omitempty"` - - // WorkDocsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceconfiguration.html#cfn-kendra-datasource-datasourceconfiguration-workdocsconfiguration - WorkDocsConfiguration *DataSource_WorkDocsConfiguration `json:"WorkDocsConfiguration,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 *DataSource_DataSourceConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DataSourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceinclusionsexclusionsstrings.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceinclusionsexclusionsstrings.go deleted file mode 100644 index 4dcba9eb7b..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourceinclusionsexclusionsstrings.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceInclusionsExclusionsStrings AWS CloudFormation Resource (AWS::Kendra::DataSource.DataSourceInclusionsExclusionsStrings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceinclusionsexclusionsstrings.html -type DataSource_DataSourceInclusionsExclusionsStrings struct { - - // DataSourceInclusionsExclusionsStrings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourceinclusionsexclusionsstrings.html#cfn-kendra-datasource-datasourceinclusionsexclusionsstrings-datasourceinclusionsexclusionsstrings - DataSourceInclusionsExclusionsStrings *types.Value `json:"DataSourceInclusionsExclusionsStrings,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 *DataSource_DataSourceInclusionsExclusionsStrings) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DataSourceInclusionsExclusionsStrings" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmapping.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmapping.go deleted file mode 100644 index 013d433f63..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceToIndexFieldMapping AWS CloudFormation Resource (AWS::Kendra::DataSource.DataSourceToIndexFieldMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmapping.html -type DataSource_DataSourceToIndexFieldMapping struct { - - // DataSourceFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmapping.html#cfn-kendra-datasource-datasourcetoindexfieldmapping-datasourcefieldname - DataSourceFieldName *types.Value `json:"DataSourceFieldName,omitempty"` - - // DateFieldFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmapping.html#cfn-kendra-datasource-datasourcetoindexfieldmapping-datefieldformat - DateFieldFormat *types.Value `json:"DateFieldFormat,omitempty"` - - // IndexFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmapping.html#cfn-kendra-datasource-datasourcetoindexfieldmapping-indexfieldname - IndexFieldName *types.Value `json:"IndexFieldName,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 *DataSource_DataSourceToIndexFieldMapping) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmappinglist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmappinglist.go deleted file mode 100644 index dc79ec63f0..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcetoindexfieldmappinglist.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceToIndexFieldMappingList AWS CloudFormation Resource (AWS::Kendra::DataSource.DataSourceToIndexFieldMappingList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmappinglist.html -type DataSource_DataSourceToIndexFieldMappingList struct { - - // DataSourceToIndexFieldMappingList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcetoindexfieldmappinglist.html#cfn-kendra-datasource-datasourcetoindexfieldmappinglist-datasourcetoindexfieldmappinglist - DataSourceToIndexFieldMappingList []DataSource_DataSourceToIndexFieldMapping `json:"DataSourceToIndexFieldMappingList,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 *DataSource_DataSourceToIndexFieldMappingList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DataSourceToIndexFieldMappingList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcevpcconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcevpcconfiguration.go deleted file mode 100644 index a6aaace843..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_datasourcevpcconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceVpcConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.DataSourceVpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html -type DataSource_DataSourceVpcConfiguration struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html#cfn-kendra-datasource-datasourcevpcconfiguration-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html#cfn-kendra-datasource-datasourcevpcconfiguration-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *DataSource_DataSourceVpcConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DataSourceVpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_documentsmetadataconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_documentsmetadataconfiguration.go deleted file mode 100644 index 5bcee4eac2..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_documentsmetadataconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DocumentsMetadataConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.DocumentsMetadataConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-documentsmetadataconfiguration.html -type DataSource_DocumentsMetadataConfiguration struct { - - // S3Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-documentsmetadataconfiguration.html#cfn-kendra-datasource-documentsmetadataconfiguration-s3prefix - S3Prefix *types.Value `json:"S3Prefix,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 *DataSource_DocumentsMetadataConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.DocumentsMetadataConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_googledriveconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_googledriveconfiguration.go deleted file mode 100644 index e8f7892446..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_googledriveconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_GoogleDriveConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.GoogleDriveConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html -type DataSource_GoogleDriveConfiguration struct { - - // ExcludeMimeTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-excludemimetypes - ExcludeMimeTypes *types.Value `json:"ExcludeMimeTypes,omitempty"` - - // ExcludeSharedDrives AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-excludeshareddrives - ExcludeSharedDrives *types.Value `json:"ExcludeSharedDrives,omitempty"` - - // ExcludeUserAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-excludeuseraccounts - ExcludeUserAccounts *types.Value `json:"ExcludeUserAccounts,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-googledriveconfiguration.html#cfn-kendra-datasource-googledriveconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,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 *DataSource_GoogleDriveConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.GoogleDriveConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveconfiguration.go deleted file mode 100644 index 2d773be0cd..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_OneDriveConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.OneDriveConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html -type DataSource_OneDriveConfiguration struct { - - // DisableLocalGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-disablelocalgroups - DisableLocalGroups *types.Value `json:"DisableLocalGroups,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // OneDriveUsers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-onedriveusers - OneDriveUsers *DataSource_OneDriveUsers `json:"OneDriveUsers,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // TenantDomain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveconfiguration.html#cfn-kendra-datasource-onedriveconfiguration-tenantdomain - TenantDomain *types.Value `json:"TenantDomain,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 *DataSource_OneDriveConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.OneDriveConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveuserlist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveuserlist.go deleted file mode 100644 index 17e7f98449..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveuserlist.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_OneDriveUserList AWS CloudFormation Resource (AWS::Kendra::DataSource.OneDriveUserList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveuserlist.html -type DataSource_OneDriveUserList struct { - - // OneDriveUserList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveuserlist.html#cfn-kendra-datasource-onedriveuserlist-onedriveuserlist - OneDriveUserList *types.Value `json:"OneDriveUserList,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 *DataSource_OneDriveUserList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.OneDriveUserList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveusers.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveusers.go deleted file mode 100644 index 4de0a2695a..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_onedriveusers.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_OneDriveUsers AWS CloudFormation Resource (AWS::Kendra::DataSource.OneDriveUsers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveusers.html -type DataSource_OneDriveUsers struct { - - // OneDriveUserList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveusers.html#cfn-kendra-datasource-onedriveusers-onedriveuserlist - OneDriveUserList *types.Value `json:"OneDriveUserList,omitempty"` - - // OneDriveUserS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-onedriveusers.html#cfn-kendra-datasource-onedriveusers-onedriveusers3path - OneDriveUserS3Path *DataSource_S3Path `json:"OneDriveUserS3Path,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 *DataSource_OneDriveUsers) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.OneDriveUsers" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_proxyconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_proxyconfiguration.go deleted file mode 100644 index 32c662899c..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_proxyconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ProxyConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ProxyConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-proxyconfiguration.html -type DataSource_ProxyConfiguration struct { - - // Credentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-proxyconfiguration.html#cfn-kendra-datasource-proxyconfiguration-credentials - Credentials *types.Value `json:"Credentials,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-proxyconfiguration.html#cfn-kendra-datasource-proxyconfiguration-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-proxyconfiguration.html#cfn-kendra-datasource-proxyconfiguration-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_ProxyConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ProxyConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3datasourceconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3datasourceconfiguration.go deleted file mode 100644 index 71fc808075..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3datasourceconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_S3DataSourceConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.S3DataSourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html -type DataSource_S3DataSourceConfiguration struct { - - // AccessControlListConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-accesscontrollistconfiguration - AccessControlListConfiguration *DataSource_AccessControlListConfiguration `json:"AccessControlListConfiguration,omitempty"` - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // DocumentsMetadataConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-documentsmetadataconfiguration - DocumentsMetadataConfiguration *DataSource_DocumentsMetadataConfiguration `json:"DocumentsMetadataConfiguration,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // InclusionPrefixes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3datasourceconfiguration.html#cfn-kendra-datasource-s3datasourceconfiguration-inclusionprefixes - InclusionPrefixes *types.Value `json:"InclusionPrefixes,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 *DataSource_S3DataSourceConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.S3DataSourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3path.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3path.go deleted file mode 100644 index ee37be2ed4..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_s3path.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_S3Path AWS CloudFormation Resource (AWS::Kendra::DataSource.S3Path) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3path.html -type DataSource_S3Path struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3path.html#cfn-kendra-datasource-s3path-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-s3path.html#cfn-kendra-datasource-s3path-key - Key *types.Value `json:"Key,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 *DataSource_S3Path) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.S3Path" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedconfiguration.go deleted file mode 100644 index 5e246df5d8..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceChatterFeedConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html -type DataSource_SalesforceChatterFeedConfiguration struct { - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // IncludeFilterTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedconfiguration.html#cfn-kendra-datasource-salesforcechatterfeedconfiguration-includefiltertypes - IncludeFilterTypes *types.Value `json:"IncludeFilterTypes,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 *DataSource_SalesforceChatterFeedConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedincludefiltertypes.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedincludefiltertypes.go deleted file mode 100644 index 34aea1f0ff..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcechatterfeedincludefiltertypes.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceChatterFeedIncludeFilterTypes AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceChatterFeedIncludeFilterTypes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedincludefiltertypes.html -type DataSource_SalesforceChatterFeedIncludeFilterTypes struct { - - // SalesforceChatterFeedIncludeFilterTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcechatterfeedincludefiltertypes.html#cfn-kendra-datasource-salesforcechatterfeedincludefiltertypes-salesforcechatterfeedincludefiltertypes - SalesforceChatterFeedIncludeFilterTypes *types.Value `json:"SalesforceChatterFeedIncludeFilterTypes,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 *DataSource_SalesforceChatterFeedIncludeFilterTypes) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceChatterFeedIncludeFilterTypes" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceconfiguration.go deleted file mode 100644 index 3ba02d3316..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html -type DataSource_SalesforceConfiguration struct { - - // ChatterFeedConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-chatterfeedconfiguration - ChatterFeedConfiguration *DataSource_SalesforceChatterFeedConfiguration `json:"ChatterFeedConfiguration,omitempty"` - - // CrawlAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-crawlattachments - CrawlAttachments *types.Value `json:"CrawlAttachments,omitempty"` - - // ExcludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-excludeattachmentfilepatterns - ExcludeAttachmentFilePatterns *types.Value `json:"ExcludeAttachmentFilePatterns,omitempty"` - - // IncludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-includeattachmentfilepatterns - IncludeAttachmentFilePatterns *types.Value `json:"IncludeAttachmentFilePatterns,omitempty"` - - // KnowledgeArticleConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-knowledgearticleconfiguration - KnowledgeArticleConfiguration *DataSource_SalesforceKnowledgeArticleConfiguration `json:"KnowledgeArticleConfiguration,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // ServerUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-serverurl - ServerUrl *types.Value `json:"ServerUrl,omitempty"` - - // StandardObjectAttachmentConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-standardobjectattachmentconfiguration - StandardObjectAttachmentConfiguration *DataSource_SalesforceStandardObjectAttachmentConfiguration `json:"StandardObjectAttachmentConfiguration,omitempty"` - - // StandardObjectConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceconfiguration.html#cfn-kendra-datasource-salesforceconfiguration-standardobjectconfigurations - StandardObjectConfigurations []DataSource_SalesforceStandardObjectConfiguration `json:"StandardObjectConfigurations,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 *DataSource_SalesforceConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfiguration.go deleted file mode 100644 index c3eb1d1f3e..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceCustomKnowledgeArticleTypeConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html -type DataSource_SalesforceCustomKnowledgeArticleTypeConfiguration struct { - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfiguration-name - Name *types.Value `json:"Name,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 *DataSource_SalesforceCustomKnowledgeArticleTypeConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfigurationlist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfigurationlist.go deleted file mode 100644 index 253e30fe21..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcecustomknowledgearticletypeconfigurationlist.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceCustomKnowledgeArticleTypeConfigurationList AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfigurationList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfigurationlist.html -type DataSource_SalesforceCustomKnowledgeArticleTypeConfigurationList struct { - - // SalesforceCustomKnowledgeArticleTypeConfigurationList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcecustomknowledgearticletypeconfigurationlist.html#cfn-kendra-datasource-salesforcecustomknowledgearticletypeconfigurationlist-salesforcecustomknowledgearticletypeconfigurationlist - SalesforceCustomKnowledgeArticleTypeConfigurationList []DataSource_SalesforceCustomKnowledgeArticleTypeConfiguration `json:"SalesforceCustomKnowledgeArticleTypeConfigurationList,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 *DataSource_SalesforceCustomKnowledgeArticleTypeConfigurationList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfigurationList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticleconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticleconfiguration.go deleted file mode 100644 index 3a6f66e50b..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticleconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceKnowledgeArticleConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticleconfiguration.html -type DataSource_SalesforceKnowledgeArticleConfiguration struct { - - // CustomKnowledgeArticleTypeConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticleconfiguration.html#cfn-kendra-datasource-salesforceknowledgearticleconfiguration-customknowledgearticletypeconfigurations - CustomKnowledgeArticleTypeConfigurations []DataSource_SalesforceCustomKnowledgeArticleTypeConfiguration `json:"CustomKnowledgeArticleTypeConfigurations,omitempty"` - - // IncludedStates AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticleconfiguration.html#cfn-kendra-datasource-salesforceknowledgearticleconfiguration-includedstates - IncludedStates *types.Value `json:"IncludedStates,omitempty"` - - // StandardKnowledgeArticleTypeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticleconfiguration.html#cfn-kendra-datasource-salesforceknowledgearticleconfiguration-standardknowledgearticletypeconfiguration - StandardKnowledgeArticleTypeConfiguration *DataSource_SalesforceStandardKnowledgeArticleTypeConfiguration `json:"StandardKnowledgeArticleTypeConfiguration,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 *DataSource_SalesforceKnowledgeArticleConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticlestatelist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticlestatelist.go deleted file mode 100644 index 8183cd47bd..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforceknowledgearticlestatelist.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceKnowledgeArticleStateList AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceKnowledgeArticleStateList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticlestatelist.html -type DataSource_SalesforceKnowledgeArticleStateList struct { - - // SalesforceKnowledgeArticleStateList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforceknowledgearticlestatelist.html#cfn-kendra-datasource-salesforceknowledgearticlestatelist-salesforceknowledgearticlestatelist - SalesforceKnowledgeArticleStateList *types.Value `json:"SalesforceKnowledgeArticleStateList,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 *DataSource_SalesforceKnowledgeArticleStateList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceKnowledgeArticleStateList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardknowledgearticletypeconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardknowledgearticletypeconfiguration.go deleted file mode 100644 index fa7e33a8f1..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardknowledgearticletypeconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceStandardKnowledgeArticleTypeConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration.html -type DataSource_SalesforceStandardKnowledgeArticleTypeConfiguration struct { - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration.html#cfn-kendra-datasource-salesforcestandardknowledgearticletypeconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,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 *DataSource_SalesforceStandardKnowledgeArticleTypeConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectattachmentconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectattachmentconfiguration.go deleted file mode 100644 index d65bd26ca3..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectattachmentconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceStandardObjectAttachmentConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectattachmentconfiguration.html -type DataSource_SalesforceStandardObjectAttachmentConfiguration struct { - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectattachmentconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectattachmentconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectattachmentconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectattachmentconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,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 *DataSource_SalesforceStandardObjectAttachmentConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfiguration.go deleted file mode 100644 index 3a4924cf7f..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceStandardObjectConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfiguration.html -type DataSource_SalesforceStandardObjectConfiguration struct { - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfiguration.html#cfn-kendra-datasource-salesforcestandardobjectconfiguration-name - Name *types.Value `json:"Name,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 *DataSource_SalesforceStandardObjectConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfigurationlist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfigurationlist.go deleted file mode 100644 index 80ae318a13..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_salesforcestandardobjectconfigurationlist.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SalesforceStandardObjectConfigurationList AWS CloudFormation Resource (AWS::Kendra::DataSource.SalesforceStandardObjectConfigurationList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfigurationlist.html -type DataSource_SalesforceStandardObjectConfigurationList struct { - - // SalesforceStandardObjectConfigurationList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-salesforcestandardobjectconfigurationlist.html#cfn-kendra-datasource-salesforcestandardobjectconfigurationlist-salesforcestandardobjectconfigurationlist - SalesforceStandardObjectConfigurationList []DataSource_SalesforceStandardObjectConfiguration `json:"SalesforceStandardObjectConfigurationList,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 *DataSource_SalesforceStandardObjectConfigurationList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SalesforceStandardObjectConfigurationList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowconfiguration.go deleted file mode 100644 index 845a462599..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ServiceNowConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ServiceNowConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html -type DataSource_ServiceNowConfiguration struct { - - // AuthenticationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-authenticationtype - AuthenticationType *types.Value `json:"AuthenticationType,omitempty"` - - // HostUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-hosturl - HostUrl *types.Value `json:"HostUrl,omitempty"` - - // KnowledgeArticleConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-knowledgearticleconfiguration - KnowledgeArticleConfiguration *DataSource_ServiceNowKnowledgeArticleConfiguration `json:"KnowledgeArticleConfiguration,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // ServiceCatalogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-servicecatalogconfiguration - ServiceCatalogConfiguration *DataSource_ServiceNowServiceCatalogConfiguration `json:"ServiceCatalogConfiguration,omitempty"` - - // ServiceNowBuildVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowconfiguration.html#cfn-kendra-datasource-servicenowconfiguration-servicenowbuildversion - ServiceNowBuildVersion *types.Value `json:"ServiceNowBuildVersion,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 *DataSource_ServiceNowConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ServiceNowConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowknowledgearticleconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowknowledgearticleconfiguration.go deleted file mode 100644 index 6aa823bcb9..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowknowledgearticleconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ServiceNowKnowledgeArticleConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html -type DataSource_ServiceNowKnowledgeArticleConfiguration struct { - - // CrawlAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-crawlattachments - CrawlAttachments *types.Value `json:"CrawlAttachments,omitempty"` - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // ExcludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-excludeattachmentfilepatterns - ExcludeAttachmentFilePatterns *types.Value `json:"ExcludeAttachmentFilePatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // FilterQuery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-filterquery - FilterQuery *types.Value `json:"FilterQuery,omitempty"` - - // IncludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowknowledgearticleconfiguration.html#cfn-kendra-datasource-servicenowknowledgearticleconfiguration-includeattachmentfilepatterns - IncludeAttachmentFilePatterns *types.Value `json:"IncludeAttachmentFilePatterns,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 *DataSource_ServiceNowKnowledgeArticleConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowservicecatalogconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowservicecatalogconfiguration.go deleted file mode 100644 index cadac9bfc8..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_servicenowservicecatalogconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ServiceNowServiceCatalogConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html -type DataSource_ServiceNowServiceCatalogConfiguration struct { - - // CrawlAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-crawlattachments - CrawlAttachments *types.Value `json:"CrawlAttachments,omitempty"` - - // DocumentDataFieldName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-documentdatafieldname - DocumentDataFieldName *types.Value `json:"DocumentDataFieldName,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // ExcludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-excludeattachmentfilepatterns - ExcludeAttachmentFilePatterns *types.Value `json:"ExcludeAttachmentFilePatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // IncludeAttachmentFilePatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-servicenowservicecatalogconfiguration.html#cfn-kendra-datasource-servicenowservicecatalogconfiguration-includeattachmentfilepatterns - IncludeAttachmentFilePatterns *types.Value `json:"IncludeAttachmentFilePatterns,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 *DataSource_ServiceNowServiceCatalogConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sharepointconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sharepointconfiguration.go deleted file mode 100644 index c46c0e3d50..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sharepointconfiguration.go +++ /dev/null @@ -1,92 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SharePointConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SharePointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html -type DataSource_SharePointConfiguration struct { - - // CrawlAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-crawlattachments - CrawlAttachments *types.Value `json:"CrawlAttachments,omitempty"` - - // DisableLocalGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-disablelocalgroups - DisableLocalGroups *types.Value `json:"DisableLocalGroups,omitempty"` - - // DocumentTitleFieldName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-documenttitlefieldname - DocumentTitleFieldName *types.Value `json:"DocumentTitleFieldName,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // SharePointVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-sharepointversion - SharePointVersion *types.Value `json:"SharePointVersion,omitempty"` - - // SslCertificateS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-sslcertificates3path - SslCertificateS3Path *DataSource_S3Path `json:"SslCertificateS3Path,omitempty"` - - // Urls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-urls - Urls *types.Value `json:"Urls,omitempty"` - - // UseChangeLog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-usechangelog - UseChangeLog *types.Value `json:"UseChangeLog,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sharepointconfiguration.html#cfn-kendra-datasource-sharepointconfiguration-vpcconfiguration - VpcConfiguration *DataSource_DataSourceVpcConfiguration `json:"VpcConfiguration,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 *DataSource_SharePointConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SharePointConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sqlconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sqlconfiguration.go deleted file mode 100644 index 9fee997022..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_sqlconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SqlConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.SqlConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sqlconfiguration.html -type DataSource_SqlConfiguration struct { - - // QueryIdentifiersEnclosingOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-sqlconfiguration.html#cfn-kendra-datasource-sqlconfiguration-queryidentifiersenclosingoption - QueryIdentifiersEnclosingOption *types.Value `json:"QueryIdentifiersEnclosingOption,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 *DataSource_SqlConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.SqlConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_taglist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_taglist.go deleted file mode 100644 index 663f9cdb2b..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_taglist.go +++ /dev/null @@ -1,36 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_TagList AWS CloudFormation Resource (AWS::Kendra::DataSource.TagList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-taglist.html -type DataSource_TagList struct { - - // TagList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-taglist.html#cfn-kendra-datasource-taglist-taglist - TagList []cloudformation.Tag `json:"TagList,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 *DataSource_TagList) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.TagList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerauthenticationconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerauthenticationconfiguration.go deleted file mode 100644 index 116e71fe8d..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerauthenticationconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerAuthenticationConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerauthenticationconfiguration.html -type DataSource_WebCrawlerAuthenticationConfiguration struct { - - // BasicAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerauthenticationconfiguration.html#cfn-kendra-datasource-webcrawlerauthenticationconfiguration-basicauthentication - BasicAuthentication []DataSource_WebCrawlerBasicAuthentication `json:"BasicAuthentication,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 *DataSource_WebCrawlerAuthenticationConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerbasicauthentication.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerbasicauthentication.go deleted file mode 100644 index 84e07e245f..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerbasicauthentication.go +++ /dev/null @@ -1,47 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerBasicAuthentication AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerBasicAuthentication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html -type DataSource_WebCrawlerBasicAuthentication struct { - - // Credentials AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-credentials - Credentials *types.Value `json:"Credentials,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerbasicauthentication.html#cfn-kendra-datasource-webcrawlerbasicauthentication-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_WebCrawlerBasicAuthentication) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerBasicAuthentication" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerconfiguration.go deleted file mode 100644 index 4c167cbd36..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html -type DataSource_WebCrawlerConfiguration struct { - - // AuthenticationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-authenticationconfiguration - AuthenticationConfiguration *DataSource_WebCrawlerAuthenticationConfiguration `json:"AuthenticationConfiguration,omitempty"` - - // CrawlDepth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-crawldepth - CrawlDepth *types.Value `json:"CrawlDepth,omitempty"` - - // MaxContentSizePerPageInMegaBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-maxcontentsizeperpageinmegabytes - MaxContentSizePerPageInMegaBytes *types.Value `json:"MaxContentSizePerPageInMegaBytes,omitempty"` - - // MaxLinksPerPage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-maxlinksperpage - MaxLinksPerPage *types.Value `json:"MaxLinksPerPage,omitempty"` - - // MaxUrlsPerMinuteCrawlRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-maxurlsperminutecrawlrate - MaxUrlsPerMinuteCrawlRate *types.Value `json:"MaxUrlsPerMinuteCrawlRate,omitempty"` - - // ProxyConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-proxyconfiguration - ProxyConfiguration *DataSource_ProxyConfiguration `json:"ProxyConfiguration,omitempty"` - - // UrlExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-urlexclusionpatterns - UrlExclusionPatterns *types.Value `json:"UrlExclusionPatterns,omitempty"` - - // UrlInclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-urlinclusionpatterns - UrlInclusionPatterns *types.Value `json:"UrlInclusionPatterns,omitempty"` - - // Urls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerconfiguration.html#cfn-kendra-datasource-webcrawlerconfiguration-urls - Urls *DataSource_WebCrawlerUrls `json:"Urls,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 *DataSource_WebCrawlerConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerseedurlconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerseedurlconfiguration.go deleted file mode 100644 index ab3259ed97..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerseedurlconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerSeedUrlConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerseedurlconfiguration.html -type DataSource_WebCrawlerSeedUrlConfiguration struct { - - // SeedUrls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerseedurlconfiguration.html#cfn-kendra-datasource-webcrawlerseedurlconfiguration-seedurls - SeedUrls *types.Value `json:"SeedUrls,omitempty"` - - // WebCrawlerMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerseedurlconfiguration.html#cfn-kendra-datasource-webcrawlerseedurlconfiguration-webcrawlermode - WebCrawlerMode *types.Value `json:"WebCrawlerMode,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 *DataSource_WebCrawlerSeedUrlConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlersitemapsconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlersitemapsconfiguration.go deleted file mode 100644 index 5411db1d00..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlersitemapsconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerSiteMapsConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlersitemapsconfiguration.html -type DataSource_WebCrawlerSiteMapsConfiguration struct { - - // SiteMaps AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlersitemapsconfiguration.html#cfn-kendra-datasource-webcrawlersitemapsconfiguration-sitemaps - SiteMaps *types.Value `json:"SiteMaps,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 *DataSource_WebCrawlerSiteMapsConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerurls.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerurls.go deleted file mode 100644 index b4a0673080..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_webcrawlerurls.go +++ /dev/null @@ -1,40 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WebCrawlerUrls AWS CloudFormation Resource (AWS::Kendra::DataSource.WebCrawlerUrls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerurls.html -type DataSource_WebCrawlerUrls struct { - - // SeedUrlConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerurls.html#cfn-kendra-datasource-webcrawlerurls-seedurlconfiguration - SeedUrlConfiguration *DataSource_WebCrawlerSeedUrlConfiguration `json:"SeedUrlConfiguration,omitempty"` - - // SiteMapsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-webcrawlerurls.html#cfn-kendra-datasource-webcrawlerurls-sitemapsconfiguration - SiteMapsConfiguration *DataSource_WebCrawlerSiteMapsConfiguration `json:"SiteMapsConfiguration,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 *DataSource_WebCrawlerUrls) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WebCrawlerUrls" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_workdocsconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_workdocsconfiguration.go deleted file mode 100644 index cc869ee215..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_workdocsconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_WorkDocsConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.WorkDocsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html -type DataSource_WorkDocsConfiguration struct { - - // CrawlComments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-crawlcomments - CrawlComments *types.Value `json:"CrawlComments,omitempty"` - - // ExclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-exclusionpatterns - ExclusionPatterns *types.Value `json:"ExclusionPatterns,omitempty"` - - // FieldMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-fieldmappings - FieldMappings []DataSource_DataSourceToIndexFieldMapping `json:"FieldMappings,omitempty"` - - // InclusionPatterns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-inclusionpatterns - InclusionPatterns *types.Value `json:"InclusionPatterns,omitempty"` - - // OrganizationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-organizationid - OrganizationId *types.Value `json:"OrganizationId,omitempty"` - - // UseChangeLog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-workdocsconfiguration.html#cfn-kendra-datasource-workdocsconfiguration-usechangelog - UseChangeLog *types.Value `json:"UseChangeLog,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 *DataSource_WorkDocsConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.WorkDocsConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-faq_s3path.go b/pkg/goformation/cloudformation/kendra/aws-kendra-faq_s3path.go deleted file mode 100644 index dda79fcfad..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-faq_s3path.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Faq_S3Path AWS CloudFormation Resource (AWS::Kendra::Faq.S3Path) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-faq-s3path.html -type Faq_S3Path struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-faq-s3path.html#cfn-kendra-faq-s3path-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-faq-s3path.html#cfn-kendra-faq-s3path-key - Key *types.Value `json:"Key,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 *Faq_S3Path) AWSCloudFormationType() string { - return "AWS::Kendra::Faq.S3Path" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-faq_taglist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-faq_taglist.go deleted file mode 100644 index 8b0dbeb6f4..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-faq_taglist.go +++ /dev/null @@ -1,36 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Faq_TagList AWS CloudFormation Resource (AWS::Kendra::Faq.TagList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-faq-taglist.html -type Faq_TagList struct { - - // TagList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-faq-taglist.html#cfn-kendra-faq-taglist-taglist - TagList []cloudformation.Tag `json:"TagList,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 *Faq_TagList) AWSCloudFormationType() string { - return "AWS::Kendra::Faq.TagList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index.go deleted file mode 100644 index 2a17a40018..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index.go +++ /dev/null @@ -1,154 +0,0 @@ -package kendra - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index AWS CloudFormation Resource (AWS::Kendra::Index) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html -type Index struct { - - // CapacityUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-capacityunits - CapacityUnits *Index_CapacityUnitsConfiguration `json:"CapacityUnits,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-description - Description *types.Value `json:"Description,omitempty"` - - // DocumentMetadataConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-documentmetadataconfigurations - DocumentMetadataConfigurations []Index_DocumentMetadataConfiguration `json:"DocumentMetadataConfigurations,omitempty"` - - // Edition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-edition - Edition *types.Value `json:"Edition,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // ServerSideEncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-serversideencryptionconfiguration - ServerSideEncryptionConfiguration *Index_ServerSideEncryptionConfiguration `json:"ServerSideEncryptionConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserContextPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-usercontextpolicy - UserContextPolicy *types.Value `json:"UserContextPolicy,omitempty"` - - // UserTokenConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html#cfn-kendra-index-usertokenconfigurations - UserTokenConfigurations []Index_UserTokenConfiguration `json:"UserTokenConfigurations,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 *Index) AWSCloudFormationType() string { - return "AWS::Kendra::Index" -} - -// 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 (r Index) MarshalJSON() ([]byte, error) { - type Properties Index - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Index) UnmarshalJSON(b []byte) error { - type Properties Index - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Index(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_capacityunitsconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_capacityunitsconfiguration.go deleted file mode 100644 index ab5745e6e6..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_capacityunitsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_CapacityUnitsConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.CapacityUnitsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-capacityunitsconfiguration.html -type Index_CapacityUnitsConfiguration struct { - - // QueryCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-capacityunitsconfiguration.html#cfn-kendra-index-capacityunitsconfiguration-querycapacityunits - QueryCapacityUnits *types.Value `json:"QueryCapacityUnits"` - - // StorageCapacityUnits AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-capacityunitsconfiguration.html#cfn-kendra-index-capacityunitsconfiguration-storagecapacityunits - StorageCapacityUnits *types.Value `json:"StorageCapacityUnits"` - - // 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 *Index_CapacityUnitsConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.CapacityUnitsConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfiguration.go deleted file mode 100644 index cbbfc89995..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_DocumentMetadataConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.DocumentMetadataConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html -type Index_DocumentMetadataConfiguration struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // Relevance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-relevance - Relevance *Index_Relevance `json:"Relevance,omitempty"` - - // Search AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-search - Search *Index_Search `json:"Search,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-type - Type *types.Value `json:"Type,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 *Index_DocumentMetadataConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.DocumentMetadataConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfigurationlist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfigurationlist.go deleted file mode 100644 index 4b8e56ae65..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_documentmetadataconfigurationlist.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_DocumentMetadataConfigurationList AWS CloudFormation Resource (AWS::Kendra::Index.DocumentMetadataConfigurationList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfigurationlist.html -type Index_DocumentMetadataConfigurationList struct { - - // DocumentMetadataConfigurationList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfigurationlist.html#cfn-kendra-index-documentmetadataconfigurationlist-documentmetadataconfigurationlist - DocumentMetadataConfigurationList []Index_DocumentMetadataConfiguration `json:"DocumentMetadataConfigurationList,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 *Index_DocumentMetadataConfigurationList) AWSCloudFormationType() string { - return "AWS::Kendra::Index.DocumentMetadataConfigurationList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_jsontokentypeconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_jsontokentypeconfiguration.go deleted file mode 100644 index eb2d4abf1a..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_jsontokentypeconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_JsonTokenTypeConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.JsonTokenTypeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html -type Index_JsonTokenTypeConfiguration struct { - - // GroupAttributeField AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html#cfn-kendra-index-jsontokentypeconfiguration-groupattributefield - GroupAttributeField *types.Value `json:"GroupAttributeField,omitempty"` - - // UserNameAttributeField AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html#cfn-kendra-index-jsontokentypeconfiguration-usernameattributefield - UserNameAttributeField *types.Value `json:"UserNameAttributeField,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 *Index_JsonTokenTypeConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.JsonTokenTypeConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_jwttokentypeconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_jwttokentypeconfiguration.go deleted file mode 100644 index fbe5b6d8b9..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_jwttokentypeconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_JwtTokenTypeConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.JwtTokenTypeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html -type Index_JwtTokenTypeConfiguration struct { - - // ClaimRegex AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-claimregex - ClaimRegex *types.Value `json:"ClaimRegex,omitempty"` - - // GroupAttributeField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-groupattributefield - GroupAttributeField *types.Value `json:"GroupAttributeField,omitempty"` - - // Issuer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-issuer - Issuer *types.Value `json:"Issuer,omitempty"` - - // KeyLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-keylocation - KeyLocation *types.Value `json:"KeyLocation,omitempty"` - - // SecretManagerArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-secretmanagerarn - SecretManagerArn *types.Value `json:"SecretManagerArn,omitempty"` - - // URL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-url - URL *types.Value `json:"URL,omitempty"` - - // UserNameAttributeField AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html#cfn-kendra-index-jwttokentypeconfiguration-usernameattributefield - UserNameAttributeField *types.Value `json:"UserNameAttributeField,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 *Index_JwtTokenTypeConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.JwtTokenTypeConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_relevance.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_relevance.go deleted file mode 100644 index fce92eecc3..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_relevance.go +++ /dev/null @@ -1,57 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_Relevance AWS CloudFormation Resource (AWS::Kendra::Index.Relevance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html -type Index_Relevance struct { - - // Duration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html#cfn-kendra-index-relevance-duration - Duration *types.Value `json:"Duration,omitempty"` - - // Freshness AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html#cfn-kendra-index-relevance-freshness - Freshness *types.Value `json:"Freshness,omitempty"` - - // Importance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html#cfn-kendra-index-relevance-importance - Importance *types.Value `json:"Importance,omitempty"` - - // RankOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html#cfn-kendra-index-relevance-rankorder - RankOrder *types.Value `json:"RankOrder,omitempty"` - - // ValueImportanceItems AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html#cfn-kendra-index-relevance-valueimportanceitems - ValueImportanceItems []Index_ValueImportanceItem `json:"ValueImportanceItems,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 *Index_Relevance) AWSCloudFormationType() string { - return "AWS::Kendra::Index.Relevance" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_search.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_search.go deleted file mode 100644 index 25c90eaf1e..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_search.go +++ /dev/null @@ -1,52 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_Search AWS CloudFormation Resource (AWS::Kendra::Index.Search) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html -type Index_Search struct { - - // Displayable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html#cfn-kendra-index-search-displayable - Displayable *types.Value `json:"Displayable,omitempty"` - - // Facetable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html#cfn-kendra-index-search-facetable - Facetable *types.Value `json:"Facetable,omitempty"` - - // Searchable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html#cfn-kendra-index-search-searchable - Searchable *types.Value `json:"Searchable,omitempty"` - - // Sortable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html#cfn-kendra-index-search-sortable - Sortable *types.Value `json:"Sortable,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 *Index_Search) AWSCloudFormationType() string { - return "AWS::Kendra::Index.Search" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_taglist.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_taglist.go deleted file mode 100644 index 02b830ceae..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_taglist.go +++ /dev/null @@ -1,36 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_TagList AWS CloudFormation Resource (AWS::Kendra::Index.TagList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-taglist.html -type Index_TagList struct { - - // TagList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-taglist.html#cfn-kendra-index-taglist-taglist - TagList []cloudformation.Tag `json:"TagList,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 *Index_TagList) AWSCloudFormationType() string { - return "AWS::Kendra::Index.TagList" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_usertokenconfiguration.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_usertokenconfiguration.go deleted file mode 100644 index b895de8523..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_usertokenconfiguration.go +++ /dev/null @@ -1,40 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_UserTokenConfiguration AWS CloudFormation Resource (AWS::Kendra::Index.UserTokenConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-usertokenconfiguration.html -type Index_UserTokenConfiguration struct { - - // JsonTokenTypeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-usertokenconfiguration.html#cfn-kendra-index-usertokenconfiguration-jsontokentypeconfiguration - JsonTokenTypeConfiguration *Index_JsonTokenTypeConfiguration `json:"JsonTokenTypeConfiguration,omitempty"` - - // JwtTokenTypeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-usertokenconfiguration.html#cfn-kendra-index-usertokenconfiguration-jwttokentypeconfiguration - JwtTokenTypeConfiguration *Index_JwtTokenTypeConfiguration `json:"JwtTokenTypeConfiguration,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 *Index_UserTokenConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::Index.UserTokenConfiguration" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitem.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitem.go deleted file mode 100644 index 4851d76e4f..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitem.go +++ /dev/null @@ -1,42 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_ValueImportanceItem AWS CloudFormation Resource (AWS::Kendra::Index.ValueImportanceItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html -type Index_ValueImportanceItem struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html#cfn-kendra-index-valueimportanceitem-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html#cfn-kendra-index-valueimportanceitem-value - Value *types.Value `json:"Value,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 *Index_ValueImportanceItem) AWSCloudFormationType() string { - return "AWS::Kendra::Index.ValueImportanceItem" -} diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitems.go b/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitems.go deleted file mode 100644 index ce9c9b0e79..0000000000 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-index_valueimportanceitems.go +++ /dev/null @@ -1,35 +0,0 @@ -package kendra - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Index_ValueImportanceItems AWS CloudFormation Resource (AWS::Kendra::Index.ValueImportanceItems) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitems.html -type Index_ValueImportanceItems struct { - - // ValueImportanceItems AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitems.html#cfn-kendra-index-valueimportanceitems-valueimportanceitems - ValueImportanceItems []Index_ValueImportanceItem `json:"ValueImportanceItems,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 *Index_ValueImportanceItems) AWSCloudFormationType() string { - return "AWS::Kendra::Index.ValueImportanceItems" -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-resourcepolicy.go b/pkg/goformation/cloudformation/kinesis/aws-kinesis-resourcepolicy.go similarity index 87% rename from pkg/goformation/cloudformation/logs/aws-logs-resourcepolicy.go rename to pkg/goformation/cloudformation/kinesis/aws-kinesis-resourcepolicy.go index eb0329c047..6b9eec63be 100644 --- a/pkg/goformation/cloudformation/logs/aws-logs-resourcepolicy.go +++ b/pkg/goformation/cloudformation/kinesis/aws-kinesis-resourcepolicy.go @@ -1,4 +1,4 @@ -package logs +package kinesis import ( "bytes" @@ -10,19 +10,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ResourcePolicy AWS CloudFormation Resource (AWS::Logs::ResourcePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html +// ResourcePolicy AWS CloudFormation Resource (AWS::Kinesis::ResourcePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html type ResourcePolicy struct { - // PolicyDocument AWS CloudFormation Property + // ResourceArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policydocument - PolicyDocument *types.Value `json:"PolicyDocument,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html#cfn-kinesis-resourcepolicy-resourcearn + ResourceArn *types.Value `json:"ResourceArn,omitempty"` - // PolicyName AWS CloudFormation Property + // ResourcePolicy AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html#cfn-kinesis-resourcepolicy-resourcepolicy + ResourcePolicy interface{} `json:"ResourcePolicy,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,7 +42,7 @@ type ResourcePolicy struct { // AWSCloudFormationType returns the AWS CloudFormation resource type func (r *ResourcePolicy) AWSCloudFormationType() string { - return "AWS::Logs::ResourcePolicy" + return "AWS::Kinesis::ResourcePolicy" } // MarshalJSON is a custom JSON marshalling hook that embeds this object into diff --git a/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream.go b/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream.go index cd3383adfa..6c2631621b 100644 --- a/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream.go +++ b/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream.go @@ -26,15 +26,20 @@ type Stream struct { RetentionPeriodHours *types.Value `json:"RetentionPeriodHours,omitempty"` // ShardCount AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-shardcount - ShardCount *types.Value `json:"ShardCount"` + ShardCount *types.Value `json:"ShardCount,omitempty"` // StreamEncryption AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-streamencryption StreamEncryption *Stream_StreamEncryption `json:"StreamEncryption,omitempty"` + // StreamModeDetails AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-streammodedetails + StreamModeDetails *Stream_StreamModeDetails `json:"StreamModeDetails,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-tags diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_onpremconfig.go b/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream_streammodedetails.go similarity index 68% rename from pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_onpremconfig.go rename to pkg/goformation/cloudformation/kinesis/aws-kinesis-stream_streammodedetails.go index 0b60290bb4..5cdf586759 100644 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_onpremconfig.go +++ b/pkg/goformation/cloudformation/kinesis/aws-kinesis-stream_streammodedetails.go @@ -1,4 +1,4 @@ -package datasync +package kinesis import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LocationNFS_OnPremConfig AWS CloudFormation Resource (AWS::DataSync::LocationNFS.OnPremConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-onpremconfig.html -type LocationNFS_OnPremConfig struct { +// Stream_StreamModeDetails AWS CloudFormation Resource (AWS::Kinesis::Stream.StreamModeDetails) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesis-stream-streammodedetails.html +type Stream_StreamModeDetails struct { - // AgentArns AWS CloudFormation Property + // StreamMode AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-onpremconfig.html#cfn-datasync-locationnfs-onpremconfig-agentarns - AgentArns *types.Value `json:"AgentArns,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesis-stream-streammodedetails.html#cfn-kinesis-stream-streammodedetails-streammode + StreamMode *types.Value `json:"StreamMode,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type LocationNFS_OnPremConfig struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LocationNFS_OnPremConfig) AWSCloudFormationType() string { - return "AWS::DataSync::LocationNFS.OnPremConfig" +func (r *Stream_StreamModeDetails) AWSCloudFormationType() string { + return "AWS::Kinesis::Stream.StreamModeDetails" } diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application.go deleted file mode 100644 index ccf78a61f1..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application.go +++ /dev/null @@ -1,123 +0,0 @@ -package kinesisanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::KinesisAnalytics::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html -type Application struct { - - // ApplicationCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationcode - ApplicationCode *types.Value `json:"ApplicationCode,omitempty"` - - // ApplicationDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationdescription - ApplicationDescription *types.Value `json:"ApplicationDescription,omitempty"` - - // ApplicationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Inputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-application.html#cfn-kinesisanalytics-application-inputs - Inputs []Application_Input `json:"Inputs,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 *Application) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_csvmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_csvmappingparameters.go deleted file mode 100644 index d7d45162f0..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_csvmappingparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CSVMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.CSVMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-csvmappingparameters.html -type Application_CSVMappingParameters struct { - - // RecordColumnDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-csvmappingparameters.html#cfn-kinesisanalytics-application-csvmappingparameters-recordcolumndelimiter - RecordColumnDelimiter *types.Value `json:"RecordColumnDelimiter,omitempty"` - - // RecordRowDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-csvmappingparameters.html#cfn-kinesisanalytics-application-csvmappingparameters-recordrowdelimiter - RecordRowDelimiter *types.Value `json:"RecordRowDelimiter,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 *Application_CSVMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.CSVMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_input.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_input.go deleted file mode 100644 index 24a7dfcd6f..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_input.go +++ /dev/null @@ -1,62 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_Input AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html -type Application_Input struct { - - // InputParallelism AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputparallelism - InputParallelism *Application_InputParallelism `json:"InputParallelism,omitempty"` - - // InputProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputprocessingconfiguration - InputProcessingConfiguration *Application_InputProcessingConfiguration `json:"InputProcessingConfiguration,omitempty"` - - // InputSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-inputschema - InputSchema *Application_InputSchema `json:"InputSchema,omitempty"` - - // KinesisFirehoseInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-kinesisfirehoseinput - KinesisFirehoseInput *Application_KinesisFirehoseInput `json:"KinesisFirehoseInput,omitempty"` - - // KinesisStreamsInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-kinesisstreamsinput - KinesisStreamsInput *Application_KinesisStreamsInput `json:"KinesisStreamsInput,omitempty"` - - // NamePrefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-input.html#cfn-kinesisanalytics-application-input-nameprefix - NamePrefix *types.Value `json:"NamePrefix,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 *Application_Input) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.Input" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputlambdaprocessor.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputlambdaprocessor.go deleted file mode 100644 index b1c943567b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputlambdaprocessor.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputLambdaProcessor AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.InputLambdaProcessor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html -type Application_InputLambdaProcessor struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html#cfn-kinesisanalytics-application-inputlambdaprocessor-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html#cfn-kinesisanalytics-application-inputlambdaprocessor-rolearn - RoleARN *types.Value `json:"RoleARN,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 *Application_InputLambdaProcessor) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.InputLambdaProcessor" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputparallelism.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputparallelism.go deleted file mode 100644 index ee4e22dfa9..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputparallelism.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputParallelism AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.InputParallelism) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputparallelism.html -type Application_InputParallelism struct { - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputparallelism.html#cfn-kinesisanalytics-application-inputparallelism-count - Count *types.Value `json:"Count,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 *Application_InputParallelism) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.InputParallelism" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputprocessingconfiguration.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputprocessingconfiguration.go deleted file mode 100644 index 3da20aa327..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputprocessingconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputProcessingConfiguration AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.InputProcessingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputprocessingconfiguration.html -type Application_InputProcessingConfiguration struct { - - // InputLambdaProcessor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputprocessingconfiguration.html#cfn-kinesisanalytics-application-inputprocessingconfiguration-inputlambdaprocessor - InputLambdaProcessor *Application_InputLambdaProcessor `json:"InputLambdaProcessor,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 *Application_InputProcessingConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.InputProcessingConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputschema.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputschema.go deleted file mode 100644 index d9d7329052..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_inputschema.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputSchema AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.InputSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputschema.html -type Application_InputSchema struct { - - // RecordColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-application-inputschema-recordcolumns - RecordColumns []Application_RecordColumn `json:"RecordColumns,omitempty"` - - // RecordEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-application-inputschema-recordencoding - RecordEncoding *types.Value `json:"RecordEncoding,omitempty"` - - // RecordFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputschema.html#cfn-kinesisanalytics-application-inputschema-recordformat - RecordFormat *Application_RecordFormat `json:"RecordFormat,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 *Application_InputSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.InputSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisfirehoseinput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisfirehoseinput.go deleted file mode 100644 index a6f7e11527..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisfirehoseinput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_KinesisFirehoseInput AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.KinesisFirehoseInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisfirehoseinput.html -type Application_KinesisFirehoseInput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisfirehoseinput.html#cfn-kinesisanalytics-application-kinesisfirehoseinput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisfirehoseinput.html#cfn-kinesisanalytics-application-kinesisfirehoseinput-rolearn - RoleARN *types.Value `json:"RoleARN,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 *Application_KinesisFirehoseInput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.KinesisFirehoseInput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisstreamsinput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisstreamsinput.go deleted file mode 100644 index c245f2e9ac..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_kinesisstreamsinput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_KinesisStreamsInput AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.KinesisStreamsInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisstreamsinput.html -type Application_KinesisStreamsInput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisstreamsinput.html#cfn-kinesisanalytics-application-kinesisstreamsinput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-kinesisstreamsinput.html#cfn-kinesisanalytics-application-kinesisstreamsinput-rolearn - RoleARN *types.Value `json:"RoleARN,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 *Application_KinesisStreamsInput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.KinesisStreamsInput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_mappingparameters.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_mappingparameters.go deleted file mode 100644 index 552f97172d..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_mappingparameters.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_MappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.MappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-mappingparameters.html -type Application_MappingParameters struct { - - // CSVMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-mappingparameters.html#cfn-kinesisanalytics-application-mappingparameters-csvmappingparameters - CSVMappingParameters *Application_CSVMappingParameters `json:"CSVMappingParameters,omitempty"` - - // JSONMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-mappingparameters.html#cfn-kinesisanalytics-application-mappingparameters-jsonmappingparameters - JSONMappingParameters *Application_JSONMappingParameters `json:"JSONMappingParameters,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 *Application_MappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.MappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordcolumn.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordcolumn.go deleted file mode 100644 index 5a9d764fb3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_RecordColumn AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.RecordColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html -type Application_RecordColumn struct { - - // Mapping AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-mapping - Mapping *types.Value `json:"Mapping,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // SqlType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordcolumn.html#cfn-kinesisanalytics-application-recordcolumn-sqltype - SqlType *types.Value `json:"SqlType,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 *Application_RecordColumn) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.RecordColumn" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordformat.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordformat.go deleted file mode 100644 index b68e919ed3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-application_recordformat.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_RecordFormat AWS CloudFormation Resource (AWS::KinesisAnalytics::Application.RecordFormat) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordformat.html -type Application_RecordFormat struct { - - // MappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordformat.html#cfn-kinesisanalytics-application-recordformat-mappingparameters - MappingParameters *Application_MappingParameters `json:"MappingParameters,omitempty"` - - // RecordFormatType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-recordformat.html#cfn-kinesisanalytics-application-recordformat-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *Application_RecordFormat) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::Application.RecordFormat" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput.go deleted file mode 100644 index 73d62d5c44..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput.go +++ /dev/null @@ -1,113 +0,0 @@ -package kinesisanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html -type ApplicationOutput struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationoutput.html#cfn-kinesisanalytics-applicationoutput-output - Output *ApplicationOutput_Output `json:"Output,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 *ApplicationOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput" -} - -// 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 (r ApplicationOutput) MarshalJSON() ([]byte, error) { - type Properties ApplicationOutput - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationOutput) UnmarshalJSON(b []byte) error { - type Properties ApplicationOutput - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationOutput(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_destinationschema.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_destinationschema.go deleted file mode 100644 index b708a2d5d3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_destinationschema.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_DestinationSchema AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-destinationschema.html -type ApplicationOutput_DestinationSchema struct { - - // RecordFormatType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-destinationschema.html#cfn-kinesisanalytics-applicationoutput-destinationschema-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *ApplicationOutput_DestinationSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisfirehoseoutput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisfirehoseoutput.go deleted file mode 100644 index 19d9da1677..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisfirehoseoutput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_KinesisFirehoseOutput AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html -type ApplicationOutput_KinesisFirehoseOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisfirehoseoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisfirehoseoutput-rolearn - RoleARN *types.Value `json:"RoleARN,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 *ApplicationOutput_KinesisFirehoseOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisstreamsoutput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisstreamsoutput.go deleted file mode 100644 index 88579679c5..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_kinesisstreamsoutput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_KinesisStreamsOutput AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisstreamsoutput.html -type ApplicationOutput_KinesisStreamsOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisstreamsoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalytics-applicationoutput-kinesisstreamsoutput-rolearn - RoleARN *types.Value `json:"RoleARN,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 *ApplicationOutput_KinesisStreamsOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_lambdaoutput.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_lambdaoutput.go deleted file mode 100644 index 9560193460..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_lambdaoutput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_LambdaOutput AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-lambdaoutput.html -type ApplicationOutput_LambdaOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-lambdaoutput.html#cfn-kinesisanalytics-applicationoutput-lambdaoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-lambdaoutput.html#cfn-kinesisanalytics-applicationoutput-lambdaoutput-rolearn - RoleARN *types.Value `json:"RoleARN,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 *ApplicationOutput_LambdaOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_output.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_output.go deleted file mode 100644 index 920bb7e842..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationoutput_output.go +++ /dev/null @@ -1,57 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_Output AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationOutput.Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html -type ApplicationOutput_Output struct { - - // DestinationSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-destinationschema - DestinationSchema *ApplicationOutput_DestinationSchema `json:"DestinationSchema,omitempty"` - - // KinesisFirehoseOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-kinesisfirehoseoutput - KinesisFirehoseOutput *ApplicationOutput_KinesisFirehoseOutput `json:"KinesisFirehoseOutput,omitempty"` - - // KinesisStreamsOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-kinesisstreamsoutput - KinesisStreamsOutput *ApplicationOutput_KinesisStreamsOutput `json:"KinesisStreamsOutput,omitempty"` - - // LambdaOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-lambdaoutput - LambdaOutput *ApplicationOutput_LambdaOutput `json:"LambdaOutput,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationoutput-output.html#cfn-kinesisanalytics-applicationoutput-output-name - Name *types.Value `json:"Name,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 *ApplicationOutput_Output) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationOutput.Output" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource.go deleted file mode 100644 index 62e8a76b9b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource.go +++ /dev/null @@ -1,113 +0,0 @@ -package kinesisanalytics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html -type ApplicationReferenceDataSource struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // ReferenceDataSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalytics-applicationreferencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource - ReferenceDataSource *ApplicationReferenceDataSource_ReferenceDataSource `json:"ReferenceDataSource,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 *ApplicationReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource" -} - -// 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 (r ApplicationReferenceDataSource) MarshalJSON() ([]byte, error) { - type Properties ApplicationReferenceDataSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationReferenceDataSource) UnmarshalJSON(b []byte) error { - type Properties ApplicationReferenceDataSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationReferenceDataSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_csvmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_csvmappingparameters.go deleted file mode 100644 index b6fb13d96b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_csvmappingparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_CSVMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-csvmappingparameters.html -type ApplicationReferenceDataSource_CSVMappingParameters struct { - - // RecordColumnDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-csvmappingparameters-recordcolumndelimiter - RecordColumnDelimiter *types.Value `json:"RecordColumnDelimiter,omitempty"` - - // RecordRowDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-csvmappingparameters-recordrowdelimiter - RecordRowDelimiter *types.Value `json:"RecordRowDelimiter,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 *ApplicationReferenceDataSource_CSVMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_jsonmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_jsonmappingparameters.go deleted file mode 100644 index 0b27671d8a..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_jsonmappingparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_JSONMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-jsonmappingparameters.html -type ApplicationReferenceDataSource_JSONMappingParameters struct { - - // RecordRowPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-jsonmappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-jsonmappingparameters-recordrowpath - RecordRowPath *types.Value `json:"RecordRowPath,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 *ApplicationReferenceDataSource_JSONMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_mappingparameters.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_mappingparameters.go deleted file mode 100644 index e8953ef790..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_mappingparameters.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_MappingParameters AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-mappingparameters.html -type ApplicationReferenceDataSource_MappingParameters struct { - - // CSVMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-mappingparameters-csvmappingparameters - CSVMappingParameters *ApplicationReferenceDataSource_CSVMappingParameters `json:"CSVMappingParameters,omitempty"` - - // JSONMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalytics-applicationreferencedatasource-mappingparameters-jsonmappingparameters - JSONMappingParameters *ApplicationReferenceDataSource_JSONMappingParameters `json:"JSONMappingParameters,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 *ApplicationReferenceDataSource_MappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordcolumn.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordcolumn.go deleted file mode 100644 index fbdf658b0a..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_RecordColumn AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html -type ApplicationReferenceDataSource_RecordColumn struct { - - // Mapping AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-mapping - Mapping *types.Value `json:"Mapping,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // SqlType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalytics-applicationreferencedatasource-recordcolumn-sqltype - SqlType *types.Value `json:"SqlType,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 *ApplicationReferenceDataSource_RecordColumn) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordformat.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordformat.go deleted file mode 100644 index 44ee05fee5..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_recordformat.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_RecordFormat AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordformat.html -type ApplicationReferenceDataSource_RecordFormat struct { - - // MappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordformat.html#cfn-kinesisanalytics-applicationreferencedatasource-recordformat-mappingparameters - MappingParameters *ApplicationReferenceDataSource_MappingParameters `json:"MappingParameters,omitempty"` - - // RecordFormatType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-recordformat.html#cfn-kinesisanalytics-applicationreferencedatasource-recordformat-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *ApplicationReferenceDataSource_RecordFormat) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referencedatasource.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referencedatasource.go deleted file mode 100644 index 85a16f20fe..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referencedatasource.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_ReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html -type ApplicationReferenceDataSource_ReferenceDataSource struct { - - // ReferenceSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-referenceschema - ReferenceSchema *ApplicationReferenceDataSource_ReferenceSchema `json:"ReferenceSchema,omitempty"` - - // S3ReferenceDataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-s3referencedatasource - S3ReferenceDataSource *ApplicationReferenceDataSource_S3ReferenceDataSource `json:"S3ReferenceDataSource,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-referencedatasource-tablename - TableName *types.Value `json:"TableName,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 *ApplicationReferenceDataSource_ReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referenceschema.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referenceschema.go deleted file mode 100644 index d50412d52d..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_referenceschema.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_ReferenceSchema AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html -type ApplicationReferenceDataSource_ReferenceSchema struct { - - // RecordColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordcolumns - RecordColumns []ApplicationReferenceDataSource_RecordColumn `json:"RecordColumns,omitempty"` - - // RecordEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordencoding - RecordEncoding *types.Value `json:"RecordEncoding,omitempty"` - - // RecordFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalytics-applicationreferencedatasource-referenceschema-recordformat - RecordFormat *ApplicationReferenceDataSource_RecordFormat `json:"RecordFormat,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 *ApplicationReferenceDataSource_ReferenceSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_s3referencedatasource.go b/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_s3referencedatasource.go deleted file mode 100644 index dac009fb41..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalytics/aws-kinesisanalytics-applicationreferencedatasource_s3referencedatasource.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalytics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_S3ReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html -type ApplicationReferenceDataSource_S3ReferenceDataSource struct { - - // BucketARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-bucketarn - BucketARN *types.Value `json:"BucketARN,omitempty"` - - // FileKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-filekey - FileKey *types.Value `json:"FileKey,omitempty"` - - // ReferenceRoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalytics-applicationreferencedatasource-s3referencedatasource-referencerolearn - ReferenceRoleARN *types.Value `json:"ReferenceRoleARN,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 *ApplicationReferenceDataSource_S3ReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application.go deleted file mode 100644 index c045fa9bd3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application.go +++ /dev/null @@ -1,139 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html -type Application struct { - - // ApplicationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationconfiguration - ApplicationConfiguration *Application_ApplicationConfiguration `json:"ApplicationConfiguration,omitempty"` - - // ApplicationDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationdescription - ApplicationDescription *types.Value `json:"ApplicationDescription,omitempty"` - - // ApplicationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationmode - ApplicationMode *types.Value `json:"ApplicationMode,omitempty"` - - // ApplicationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // RuntimeEnvironment AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-runtimeenvironment - RuntimeEnvironment *types.Value `json:"RuntimeEnvironment,omitempty"` - - // ServiceExecutionRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-serviceexecutionrole - ServiceExecutionRole *types.Value `json:"ServiceExecutionRole,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-application.html#cfn-kinesisanalyticsv2-application-tags - Tags []cloudformation.Tag `json:"Tags,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 *Application) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationcodeconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationcodeconfiguration.go deleted file mode 100644 index a333c7e8e7..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationcodeconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApplicationCodeConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationcodeconfiguration.html -type Application_ApplicationCodeConfiguration struct { - - // CodeContent AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationcodeconfiguration.html#cfn-kinesisanalyticsv2-application-applicationcodeconfiguration-codecontent - CodeContent *Application_CodeContent `json:"CodeContent,omitempty"` - - // CodeContentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationcodeconfiguration.html#cfn-kinesisanalyticsv2-application-applicationcodeconfiguration-codecontenttype - CodeContentType *types.Value `json:"CodeContentType,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 *Application_ApplicationCodeConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationconfiguration.go deleted file mode 100644 index 0afa768fb3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationconfiguration.go +++ /dev/null @@ -1,60 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApplicationConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html -type Application_ApplicationConfiguration struct { - - // ApplicationCodeConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationcodeconfiguration - ApplicationCodeConfiguration *Application_ApplicationCodeConfiguration `json:"ApplicationCodeConfiguration,omitempty"` - - // ApplicationSnapshotConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-applicationsnapshotconfiguration - ApplicationSnapshotConfiguration *Application_ApplicationSnapshotConfiguration `json:"ApplicationSnapshotConfiguration,omitempty"` - - // EnvironmentProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-environmentproperties - EnvironmentProperties *Application_EnvironmentProperties `json:"EnvironmentProperties,omitempty"` - - // FlinkApplicationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-flinkapplicationconfiguration - FlinkApplicationConfiguration *Application_FlinkApplicationConfiguration `json:"FlinkApplicationConfiguration,omitempty"` - - // SqlApplicationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-sqlapplicationconfiguration - SqlApplicationConfiguration *Application_SqlApplicationConfiguration `json:"SqlApplicationConfiguration,omitempty"` - - // ZeppelinApplicationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationconfiguration.html#cfn-kinesisanalyticsv2-application-applicationconfiguration-zeppelinapplicationconfiguration - ZeppelinApplicationConfiguration *Application_ZeppelinApplicationConfiguration `json:"ZeppelinApplicationConfiguration,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 *Application_ApplicationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationsnapshotconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationsnapshotconfiguration.go deleted file mode 100644 index 3be1b0a12f..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_applicationsnapshotconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApplicationSnapshotConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsnapshotconfiguration.html -type Application_ApplicationSnapshotConfiguration struct { - - // SnapshotsEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsnapshotconfiguration.html#cfn-kinesisanalyticsv2-application-applicationsnapshotconfiguration-snapshotsenabled - SnapshotsEnabled *types.Value `json:"SnapshotsEnabled"` - - // 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 *Application_ApplicationSnapshotConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_catalogconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_catalogconfiguration.go deleted file mode 100644 index 549b14add3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_catalogconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CatalogConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CatalogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-catalogconfiguration.html -type Application_CatalogConfiguration struct { - - // GlueDataCatalogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-catalogconfiguration.html#cfn-kinesisanalyticsv2-application-catalogconfiguration-gluedatacatalogconfiguration - GlueDataCatalogConfiguration *Application_GlueDataCatalogConfiguration `json:"GlueDataCatalogConfiguration,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 *Application_CatalogConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CatalogConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_checkpointconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_checkpointconfiguration.go deleted file mode 100644 index 614a1274f3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_checkpointconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CheckpointConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html -type Application_CheckpointConfiguration struct { - - // CheckpointInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-checkpointinterval - CheckpointInterval *types.Value `json:"CheckpointInterval,omitempty"` - - // CheckpointingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-checkpointingenabled - CheckpointingEnabled *types.Value `json:"CheckpointingEnabled,omitempty"` - - // ConfigurationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-configurationtype - ConfigurationType *types.Value `json:"ConfigurationType,omitempty"` - - // MinPauseBetweenCheckpoints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-checkpointconfiguration.html#cfn-kinesisanalyticsv2-application-checkpointconfiguration-minpausebetweencheckpoints - MinPauseBetweenCheckpoints *types.Value `json:"MinPauseBetweenCheckpoints,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 *Application_CheckpointConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_codecontent.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_codecontent.go deleted file mode 100644 index 759f6722ba..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_codecontent.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CodeContent AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CodeContent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html -type Application_CodeContent struct { - - // S3ContentLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-s3contentlocation - S3ContentLocation *Application_S3ContentLocation `json:"S3ContentLocation,omitempty"` - - // TextContent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-textcontent - TextContent *types.Value `json:"TextContent,omitempty"` - - // ZipFileContent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-codecontent.html#cfn-kinesisanalyticsv2-application-codecontent-zipfilecontent - ZipFileContent *types.Value `json:"ZipFileContent,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 *Application_CodeContent) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CodeContent" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_csvmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_csvmappingparameters.go deleted file mode 100644 index c7dfc980fa..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_csvmappingparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CSVMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CSVMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-csvmappingparameters.html -type Application_CSVMappingParameters struct { - - // RecordColumnDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-csvmappingparameters.html#cfn-kinesisanalyticsv2-application-csvmappingparameters-recordcolumndelimiter - RecordColumnDelimiter *types.Value `json:"RecordColumnDelimiter,omitempty"` - - // RecordRowDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-csvmappingparameters.html#cfn-kinesisanalyticsv2-application-csvmappingparameters-recordrowdelimiter - RecordRowDelimiter *types.Value `json:"RecordRowDelimiter,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 *Application_CSVMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CSVMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactconfiguration.go deleted file mode 100644 index 66885d68ec..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CustomArtifactConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html -type Application_CustomArtifactConfiguration struct { - - // ArtifactType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-artifacttype - ArtifactType *types.Value `json:"ArtifactType,omitempty"` - - // MavenReference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-mavenreference - MavenReference *Application_MavenReference `json:"MavenReference,omitempty"` - - // S3ContentLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactconfiguration.html#cfn-kinesisanalyticsv2-application-customartifactconfiguration-s3contentlocation - S3ContentLocation *Application_S3ContentLocation `json:"S3ContentLocation,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 *Application_CustomArtifactConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactsconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactsconfiguration.go deleted file mode 100644 index 054f546f83..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_customartifactsconfiguration.go +++ /dev/null @@ -1,30 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_CustomArtifactsConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-customartifactsconfiguration.html -type Application_CustomArtifactsConfiguration struct { - - // 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 *Application_CustomArtifactsConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_deployasapplicationconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_deployasapplicationconfiguration.go deleted file mode 100644 index ccaef9c3d3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_deployasapplicationconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_DeployAsApplicationConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-deployasapplicationconfiguration.html -type Application_DeployAsApplicationConfiguration struct { - - // S3ContentLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-deployasapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-deployasapplicationconfiguration-s3contentlocation - S3ContentLocation *Application_S3ContentBaseLocation `json:"S3ContentLocation,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 *Application_DeployAsApplicationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_environmentproperties.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_environmentproperties.go deleted file mode 100644 index 574794753e..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_environmentproperties.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_EnvironmentProperties AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.EnvironmentProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-environmentproperties.html -type Application_EnvironmentProperties struct { - - // PropertyGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-environmentproperties.html#cfn-kinesisanalyticsv2-application-environmentproperties-propertygroups - PropertyGroups []Application_PropertyGroup `json:"PropertyGroups,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 *Application_EnvironmentProperties) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.EnvironmentProperties" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_flinkapplicationconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_flinkapplicationconfiguration.go deleted file mode 100644 index 6ce150979c..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_flinkapplicationconfiguration.go +++ /dev/null @@ -1,45 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_FlinkApplicationConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html -type Application_FlinkApplicationConfiguration struct { - - // CheckpointConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-checkpointconfiguration - CheckpointConfiguration *Application_CheckpointConfiguration `json:"CheckpointConfiguration,omitempty"` - - // MonitoringConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-monitoringconfiguration - MonitoringConfiguration *Application_MonitoringConfiguration `json:"MonitoringConfiguration,omitempty"` - - // ParallelismConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-flinkapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-flinkapplicationconfiguration-parallelismconfiguration - ParallelismConfiguration *Application_ParallelismConfiguration `json:"ParallelismConfiguration,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 *Application_FlinkApplicationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_gluedatacatalogconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_gluedatacatalogconfiguration.go deleted file mode 100644 index a685d41dbe..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_gluedatacatalogconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_GlueDataCatalogConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-gluedatacatalogconfiguration.html -type Application_GlueDataCatalogConfiguration struct { - - // DatabaseARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-gluedatacatalogconfiguration.html#cfn-kinesisanalyticsv2-application-gluedatacatalogconfiguration-databasearn - DatabaseARN *types.Value `json:"DatabaseARN,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 *Application_GlueDataCatalogConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_input.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_input.go deleted file mode 100644 index 4c391355e5..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_input.go +++ /dev/null @@ -1,62 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_Input AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html -type Application_Input struct { - - // InputParallelism AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputparallelism - InputParallelism *Application_InputParallelism `json:"InputParallelism,omitempty"` - - // InputProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputprocessingconfiguration - InputProcessingConfiguration *Application_InputProcessingConfiguration `json:"InputProcessingConfiguration,omitempty"` - - // InputSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-inputschema - InputSchema *Application_InputSchema `json:"InputSchema,omitempty"` - - // KinesisFirehoseInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisfirehoseinput - KinesisFirehoseInput *Application_KinesisFirehoseInput `json:"KinesisFirehoseInput,omitempty"` - - // KinesisStreamsInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-kinesisstreamsinput - KinesisStreamsInput *Application_KinesisStreamsInput `json:"KinesisStreamsInput,omitempty"` - - // NamePrefix AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-input.html#cfn-kinesisanalyticsv2-application-input-nameprefix - NamePrefix *types.Value `json:"NamePrefix,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 *Application_Input) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.Input" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputlambdaprocessor.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputlambdaprocessor.go deleted file mode 100644 index 064c8a2423..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputlambdaprocessor.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputLambdaProcessor AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputlambdaprocessor.html -type Application_InputLambdaProcessor struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputlambdaprocessor.html#cfn-kinesisanalyticsv2-application-inputlambdaprocessor-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *Application_InputLambdaProcessor) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputparallelism.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputparallelism.go deleted file mode 100644 index 1dde1fae9b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputparallelism.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputParallelism AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.InputParallelism) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputparallelism.html -type Application_InputParallelism struct { - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputparallelism.html#cfn-kinesisanalyticsv2-application-inputparallelism-count - Count *types.Value `json:"Count,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 *Application_InputParallelism) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.InputParallelism" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputprocessingconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputprocessingconfiguration.go deleted file mode 100644 index 408ff72397..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputprocessingconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputProcessingConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputprocessingconfiguration.html -type Application_InputProcessingConfiguration struct { - - // InputLambdaProcessor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputprocessingconfiguration.html#cfn-kinesisanalyticsv2-application-inputprocessingconfiguration-inputlambdaprocessor - InputLambdaProcessor *Application_InputLambdaProcessor `json:"InputLambdaProcessor,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 *Application_InputProcessingConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputschema.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputschema.go deleted file mode 100644 index 78bb2a498e..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_inputschema.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_InputSchema AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.InputSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html -type Application_InputSchema struct { - - // RecordColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordcolumns - RecordColumns []Application_RecordColumn `json:"RecordColumns,omitempty"` - - // RecordEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordencoding - RecordEncoding *types.Value `json:"RecordEncoding,omitempty"` - - // RecordFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-inputschema.html#cfn-kinesisanalyticsv2-application-inputschema-recordformat - RecordFormat *Application_RecordFormat `json:"RecordFormat,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 *Application_InputSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.InputSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_jsonmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_jsonmappingparameters.go deleted file mode 100644 index 100b62cbad..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_jsonmappingparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_JSONMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.JSONMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-jsonmappingparameters.html -type Application_JSONMappingParameters struct { - - // RecordRowPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-jsonmappingparameters.html#cfn-kinesisanalyticsv2-application-jsonmappingparameters-recordrowpath - RecordRowPath *types.Value `json:"RecordRowPath,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 *Application_JSONMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.JSONMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisfirehoseinput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisfirehoseinput.go deleted file mode 100644 index 385bf02606..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisfirehoseinput.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_KinesisFirehoseInput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisfirehoseinput.html -type Application_KinesisFirehoseInput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisfirehoseinput.html#cfn-kinesisanalyticsv2-application-kinesisfirehoseinput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *Application_KinesisFirehoseInput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisstreamsinput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisstreamsinput.go deleted file mode 100644 index 16e56e3c08..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_kinesisstreamsinput.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_KinesisStreamsInput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisstreamsinput.html -type Application_KinesisStreamsInput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-kinesisstreamsinput.html#cfn-kinesisanalyticsv2-application-kinesisstreamsinput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *Application_KinesisStreamsInput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mappingparameters.go deleted file mode 100644 index 7f1fb36c31..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mappingparameters.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_MappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.MappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mappingparameters.html -type Application_MappingParameters struct { - - // CSVMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mappingparameters.html#cfn-kinesisanalyticsv2-application-mappingparameters-csvmappingparameters - CSVMappingParameters *Application_CSVMappingParameters `json:"CSVMappingParameters,omitempty"` - - // JSONMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mappingparameters.html#cfn-kinesisanalyticsv2-application-mappingparameters-jsonmappingparameters - JSONMappingParameters *Application_JSONMappingParameters `json:"JSONMappingParameters,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 *Application_MappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.MappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mavenreference.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mavenreference.go deleted file mode 100644 index cbf131911b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_mavenreference.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_MavenReference AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.MavenReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html -type Application_MavenReference struct { - - // ArtifactId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-artifactid - ArtifactId *types.Value `json:"ArtifactId,omitempty"` - - // GroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-groupid - GroupId *types.Value `json:"GroupId,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-mavenreference.html#cfn-kinesisanalyticsv2-application-mavenreference-version - Version *types.Value `json:"Version,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 *Application_MavenReference) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.MavenReference" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_monitoringconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_monitoringconfiguration.go deleted file mode 100644 index 71b9e6e6ed..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_monitoringconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_MonitoringConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html -type Application_MonitoringConfiguration struct { - - // ConfigurationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-configurationtype - ConfigurationType *types.Value `json:"ConfigurationType,omitempty"` - - // LogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-loglevel - LogLevel *types.Value `json:"LogLevel,omitempty"` - - // MetricsLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-monitoringconfiguration.html#cfn-kinesisanalyticsv2-application-monitoringconfiguration-metricslevel - MetricsLevel *types.Value `json:"MetricsLevel,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 *Application_MonitoringConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_parallelismconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_parallelismconfiguration.go deleted file mode 100644 index 94e7d2a764..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_parallelismconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ParallelismConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html -type Application_ParallelismConfiguration struct { - - // AutoScalingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-autoscalingenabled - AutoScalingEnabled *types.Value `json:"AutoScalingEnabled,omitempty"` - - // ConfigurationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-configurationtype - ConfigurationType *types.Value `json:"ConfigurationType,omitempty"` - - // Parallelism AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-parallelism - Parallelism *types.Value `json:"Parallelism,omitempty"` - - // ParallelismPerKPU AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-parallelismconfiguration.html#cfn-kinesisanalyticsv2-application-parallelismconfiguration-parallelismperkpu - ParallelismPerKPU *types.Value `json:"ParallelismPerKPU,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 *Application_ParallelismConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_propertygroup.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_propertygroup.go deleted file mode 100644 index 4784ff8793..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_propertygroup.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_PropertyGroup AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.PropertyGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html -type Application_PropertyGroup struct { - - // PropertyGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html#cfn-kinesisanalyticsv2-application-propertygroup-propertygroupid - PropertyGroupId *types.Value `json:"PropertyGroupId,omitempty"` - - // PropertyMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html#cfn-kinesisanalyticsv2-application-propertygroup-propertymap - PropertyMap interface{} `json:"PropertyMap,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 *Application_PropertyGroup) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.PropertyGroup" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordcolumn.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordcolumn.go deleted file mode 100644 index c1e68d04f5..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_RecordColumn AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.RecordColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html -type Application_RecordColumn struct { - - // Mapping AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-mapping - Mapping *types.Value `json:"Mapping,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // SqlType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordcolumn.html#cfn-kinesisanalyticsv2-application-recordcolumn-sqltype - SqlType *types.Value `json:"SqlType,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 *Application_RecordColumn) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.RecordColumn" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordformat.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordformat.go deleted file mode 100644 index 06ad4e405f..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_recordformat.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_RecordFormat AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.RecordFormat) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordformat.html -type Application_RecordFormat struct { - - // MappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordformat.html#cfn-kinesisanalyticsv2-application-recordformat-mappingparameters - MappingParameters *Application_MappingParameters `json:"MappingParameters,omitempty"` - - // RecordFormatType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-recordformat.html#cfn-kinesisanalyticsv2-application-recordformat-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *Application_RecordFormat) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.RecordFormat" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentbaselocation.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentbaselocation.go deleted file mode 100644 index 052fc3a3f9..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentbaselocation.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_S3ContentBaseLocation AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentbaselocation.html -type Application_S3ContentBaseLocation struct { - - // BasePath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentbaselocation.html#cfn-kinesisanalyticsv2-application-s3contentbaselocation-basepath - BasePath *types.Value `json:"BasePath,omitempty"` - - // BucketARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentbaselocation.html#cfn-kinesisanalyticsv2-application-s3contentbaselocation-bucketarn - BucketARN *types.Value `json:"BucketARN,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 *Application_S3ContentBaseLocation) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentlocation.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentlocation.go deleted file mode 100644 index ccc80ff1c5..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_s3contentlocation.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_S3ContentLocation AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.S3ContentLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html -type Application_S3ContentLocation struct { - - // BucketARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-bucketarn - BucketARN *types.Value `json:"BucketARN,omitempty"` - - // FileKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-filekey - FileKey *types.Value `json:"FileKey,omitempty"` - - // ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-s3contentlocation.html#cfn-kinesisanalyticsv2-application-s3contentlocation-objectversion - ObjectVersion *types.Value `json:"ObjectVersion,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 *Application_S3ContentLocation) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.S3ContentLocation" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_sqlapplicationconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_sqlapplicationconfiguration.go deleted file mode 100644 index 96690a828c..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_sqlapplicationconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_SqlApplicationConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-sqlapplicationconfiguration.html -type Application_SqlApplicationConfiguration struct { - - // Inputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-sqlapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-sqlapplicationconfiguration-inputs - Inputs []Application_Input `json:"Inputs,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 *Application_SqlApplicationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinapplicationconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinapplicationconfiguration.go deleted file mode 100644 index d0a1c8e0f2..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinapplicationconfiguration.go +++ /dev/null @@ -1,50 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ZeppelinApplicationConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html -type Application_ZeppelinApplicationConfiguration struct { - - // CatalogConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-catalogconfiguration - CatalogConfiguration *Application_CatalogConfiguration `json:"CatalogConfiguration,omitempty"` - - // CustomArtifactsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-customartifactsconfiguration - CustomArtifactsConfiguration *Application_CustomArtifactsConfiguration `json:"CustomArtifactsConfiguration,omitempty"` - - // DeployAsApplicationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-deployasapplicationconfiguration - DeployAsApplicationConfiguration *Application_DeployAsApplicationConfiguration `json:"DeployAsApplicationConfiguration,omitempty"` - - // MonitoringConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinapplicationconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinapplicationconfiguration-monitoringconfiguration - MonitoringConfiguration *Application_ZeppelinMonitoringConfiguration `json:"MonitoringConfiguration,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 *Application_ZeppelinApplicationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinmonitoringconfiguration.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinmonitoringconfiguration.go deleted file mode 100644 index 89ddde1526..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-application_zeppelinmonitoringconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ZeppelinMonitoringConfiguration AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinmonitoringconfiguration.html -type Application_ZeppelinMonitoringConfiguration struct { - - // LogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-zeppelinmonitoringconfiguration.html#cfn-kinesisanalyticsv2-application-zeppelinmonitoringconfiguration-loglevel - LogLevel *types.Value `json:"LogLevel,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 *Application_ZeppelinMonitoringConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption.go deleted file mode 100644 index 314d8b7374..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption.go +++ /dev/null @@ -1,113 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationCloudWatchLoggingOption AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationcloudwatchloggingoption.html -type ApplicationCloudWatchLoggingOption struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationcloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // CloudWatchLoggingOption AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationcloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption - CloudWatchLoggingOption *ApplicationCloudWatchLoggingOption_CloudWatchLoggingOption `json:"CloudWatchLoggingOption,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 *ApplicationCloudWatchLoggingOption) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" -} - -// 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 (r ApplicationCloudWatchLoggingOption) MarshalJSON() ([]byte, error) { - type Properties ApplicationCloudWatchLoggingOption - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationCloudWatchLoggingOption) UnmarshalJSON(b []byte) error { - type Properties ApplicationCloudWatchLoggingOption - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationCloudWatchLoggingOption(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption_cloudwatchloggingoption.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption_cloudwatchloggingoption.go deleted file mode 100644 index 28573add7f..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationcloudwatchloggingoption_cloudwatchloggingoption.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationCloudWatchLoggingOption_CloudWatchLoggingOption AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption.html -type ApplicationCloudWatchLoggingOption_CloudWatchLoggingOption struct { - - // LogStreamARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption.html#cfn-kinesisanalyticsv2-applicationcloudwatchloggingoption-cloudwatchloggingoption-logstreamarn - LogStreamARN *types.Value `json:"LogStreamARN,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 *ApplicationCloudWatchLoggingOption_CloudWatchLoggingOption) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput.go deleted file mode 100644 index 11d61e05a2..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput.go +++ /dev/null @@ -1,113 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationoutput.html -type ApplicationOutput struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationoutput.html#cfn-kinesisanalyticsv2-applicationoutput-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationoutput.html#cfn-kinesisanalyticsv2-applicationoutput-output - Output *ApplicationOutput_Output `json:"Output,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 *ApplicationOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput" -} - -// 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 (r ApplicationOutput) MarshalJSON() ([]byte, error) { - type Properties ApplicationOutput - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationOutput) UnmarshalJSON(b []byte) error { - type Properties ApplicationOutput - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationOutput(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_destinationschema.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_destinationschema.go deleted file mode 100644 index f33509e163..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_destinationschema.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_DestinationSchema AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-destinationschema.html -type ApplicationOutput_DestinationSchema struct { - - // RecordFormatType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-destinationschema.html#cfn-kinesisanalyticsv2-applicationoutput-destinationschema-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *ApplicationOutput_DestinationSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisfirehoseoutput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisfirehoseoutput.go deleted file mode 100644 index 7db612f9f9..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisfirehoseoutput.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_KinesisFirehoseOutput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisfirehoseoutput.html -type ApplicationOutput_KinesisFirehoseOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisfirehoseoutput.html#cfn-kinesisanalyticsv2-applicationoutput-kinesisfirehoseoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *ApplicationOutput_KinesisFirehoseOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisstreamsoutput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisstreamsoutput.go deleted file mode 100644 index d6fa250b44..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_kinesisstreamsoutput.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_KinesisStreamsOutput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisstreamsoutput.html -type ApplicationOutput_KinesisStreamsOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-kinesisstreamsoutput.html#cfn-kinesisanalyticsv2-applicationoutput-kinesisstreamsoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *ApplicationOutput_KinesisStreamsOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_lambdaoutput.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_lambdaoutput.go deleted file mode 100644 index bff0d139a8..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_lambdaoutput.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_LambdaOutput AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-lambdaoutput.html -type ApplicationOutput_LambdaOutput struct { - - // ResourceARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-lambdaoutput.html#cfn-kinesisanalyticsv2-applicationoutput-lambdaoutput-resourcearn - ResourceARN *types.Value `json:"ResourceARN,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 *ApplicationOutput_LambdaOutput) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_output.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_output.go deleted file mode 100644 index e9cb074fc8..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationoutput_output.go +++ /dev/null @@ -1,57 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationOutput_Output AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationOutput.Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html -type ApplicationOutput_Output struct { - - // DestinationSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-destinationschema - DestinationSchema *ApplicationOutput_DestinationSchema `json:"DestinationSchema,omitempty"` - - // KinesisFirehoseOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-kinesisfirehoseoutput - KinesisFirehoseOutput *ApplicationOutput_KinesisFirehoseOutput `json:"KinesisFirehoseOutput,omitempty"` - - // KinesisStreamsOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-kinesisstreamsoutput - KinesisStreamsOutput *ApplicationOutput_KinesisStreamsOutput `json:"KinesisStreamsOutput,omitempty"` - - // LambdaOutput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-lambdaoutput - LambdaOutput *ApplicationOutput_LambdaOutput `json:"LambdaOutput,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationoutput-output.html#cfn-kinesisanalyticsv2-applicationoutput-output-name - Name *types.Value `json:"Name,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 *ApplicationOutput_Output) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationOutput.Output" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource.go deleted file mode 100644 index eee46d1ded..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource.go +++ /dev/null @@ -1,113 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html -type ApplicationReferenceDataSource struct { - - // ApplicationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-applicationname - ApplicationName *types.Value `json:"ApplicationName,omitempty"` - - // ReferenceDataSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisanalyticsv2-applicationreferencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource - ReferenceDataSource *ApplicationReferenceDataSource_ReferenceDataSource `json:"ReferenceDataSource,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 *ApplicationReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" -} - -// 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 (r ApplicationReferenceDataSource) MarshalJSON() ([]byte, error) { - type Properties ApplicationReferenceDataSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationReferenceDataSource) UnmarshalJSON(b []byte) error { - type Properties ApplicationReferenceDataSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationReferenceDataSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_csvmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_csvmappingparameters.go deleted file mode 100644 index c68485a53b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_csvmappingparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_CSVMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters.html -type ApplicationReferenceDataSource_CSVMappingParameters struct { - - // RecordColumnDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters-recordcolumndelimiter - RecordColumnDelimiter *types.Value `json:"RecordColumnDelimiter,omitempty"` - - // RecordRowDelimiter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-csvmappingparameters-recordrowdelimiter - RecordRowDelimiter *types.Value `json:"RecordRowDelimiter,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 *ApplicationReferenceDataSource_CSVMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_jsonmappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_jsonmappingparameters.go deleted file mode 100644 index 7059aa8557..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_jsonmappingparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_JSONMappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-jsonmappingparameters.html -type ApplicationReferenceDataSource_JSONMappingParameters struct { - - // RecordRowPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-jsonmappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-jsonmappingparameters-recordrowpath - RecordRowPath *types.Value `json:"RecordRowPath,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 *ApplicationReferenceDataSource_JSONMappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_mappingparameters.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_mappingparameters.go deleted file mode 100644 index 560c3e1ed6..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_mappingparameters.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_MappingParameters AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters.html -type ApplicationReferenceDataSource_MappingParameters struct { - - // CSVMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters-csvmappingparameters - CSVMappingParameters *ApplicationReferenceDataSource_CSVMappingParameters `json:"CSVMappingParameters,omitempty"` - - // JSONMappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-mappingparameters-jsonmappingparameters - JSONMappingParameters *ApplicationReferenceDataSource_JSONMappingParameters `json:"JSONMappingParameters,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 *ApplicationReferenceDataSource_MappingParameters) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordcolumn.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordcolumn.go deleted file mode 100644 index d6b1c79d8b..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_RecordColumn AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html -type ApplicationReferenceDataSource_RecordColumn struct { - - // Mapping AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-mapping - Mapping *types.Value `json:"Mapping,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // SqlType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordcolumn-sqltype - SqlType *types.Value `json:"SqlType,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 *ApplicationReferenceDataSource_RecordColumn) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordformat.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordformat.go deleted file mode 100644 index 16204f76e1..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_recordformat.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_RecordFormat AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordformat.html -type ApplicationReferenceDataSource_RecordFormat struct { - - // MappingParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordformat.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordformat-mappingparameters - MappingParameters *ApplicationReferenceDataSource_MappingParameters `json:"MappingParameters,omitempty"` - - // RecordFormatType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-recordformat.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-recordformat-recordformattype - RecordFormatType *types.Value `json:"RecordFormatType,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 *ApplicationReferenceDataSource_RecordFormat) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referencedatasource.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referencedatasource.go deleted file mode 100644 index 851a929fc1..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referencedatasource.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_ReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html -type ApplicationReferenceDataSource_ReferenceDataSource struct { - - // ReferenceSchema AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-referenceschema - ReferenceSchema *ApplicationReferenceDataSource_ReferenceSchema `json:"ReferenceSchema,omitempty"` - - // S3ReferenceDataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-s3referencedatasource - S3ReferenceDataSource *ApplicationReferenceDataSource_S3ReferenceDataSource `json:"S3ReferenceDataSource,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referencedatasource-tablename - TableName *types.Value `json:"TableName,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 *ApplicationReferenceDataSource_ReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referenceschema.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referenceschema.go deleted file mode 100644 index 4b8ea32240..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_referenceschema.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_ReferenceSchema AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html -type ApplicationReferenceDataSource_ReferenceSchema struct { - - // RecordColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordcolumns - RecordColumns []ApplicationReferenceDataSource_RecordColumn `json:"RecordColumns,omitempty"` - - // RecordEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordencoding - RecordEncoding *types.Value `json:"RecordEncoding,omitempty"` - - // RecordFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-referenceschema.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-referenceschema-recordformat - RecordFormat *ApplicationReferenceDataSource_RecordFormat `json:"RecordFormat,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 *ApplicationReferenceDataSource_ReferenceSchema) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema" -} diff --git a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_s3referencedatasource.go b/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_s3referencedatasource.go deleted file mode 100644 index 6138eea3d3..0000000000 --- a/pkg/goformation/cloudformation/kinesisanalyticsv2/aws-kinesisanalyticsv2-applicationreferencedatasource_s3referencedatasource.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisanalyticsv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationReferenceDataSource_S3ReferenceDataSource AWS CloudFormation Resource (AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource.html -type ApplicationReferenceDataSource_S3ReferenceDataSource struct { - - // BucketARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource-bucketarn - BucketARN *types.Value `json:"BucketARN,omitempty"` - - // FileKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource.html#cfn-kinesisanalyticsv2-applicationreferencedatasource-s3referencedatasource-filekey - FileKey *types.Value `json:"FileKey,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 *ApplicationReferenceDataSource_S3ReferenceDataSource) AWSCloudFormationType() string { - return "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream.go deleted file mode 100644 index 20d1be6ad7..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream.go +++ /dev/null @@ -1,164 +0,0 @@ -package kinesisfirehose - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html -type DeliveryStream struct { - - // AmazonopensearchserviceDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration - AmazonopensearchserviceDestinationConfiguration *DeliveryStream_AmazonopensearchserviceDestinationConfiguration `json:"AmazonopensearchserviceDestinationConfiguration,omitempty"` - - // DeliveryStreamEncryptionConfigurationInput AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput - DeliveryStreamEncryptionConfigurationInput *DeliveryStream_DeliveryStreamEncryptionConfigurationInput `json:"DeliveryStreamEncryptionConfigurationInput,omitempty"` - - // DeliveryStreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-deliverystreamname - DeliveryStreamName *types.Value `json:"DeliveryStreamName,omitempty"` - - // DeliveryStreamType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-deliverystreamtype - DeliveryStreamType *types.Value `json:"DeliveryStreamType,omitempty"` - - // ElasticsearchDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration - ElasticsearchDestinationConfiguration *DeliveryStream_ElasticsearchDestinationConfiguration `json:"ElasticsearchDestinationConfiguration,omitempty"` - - // ExtendedS3DestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration - ExtendedS3DestinationConfiguration *DeliveryStream_ExtendedS3DestinationConfiguration `json:"ExtendedS3DestinationConfiguration,omitempty"` - - // HttpEndpointDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration - HttpEndpointDestinationConfiguration *DeliveryStream_HttpEndpointDestinationConfiguration `json:"HttpEndpointDestinationConfiguration,omitempty"` - - // KinesisStreamSourceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration - KinesisStreamSourceConfiguration *DeliveryStream_KinesisStreamSourceConfiguration `json:"KinesisStreamSourceConfiguration,omitempty"` - - // RedshiftDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration - RedshiftDestinationConfiguration *DeliveryStream_RedshiftDestinationConfiguration `json:"RedshiftDestinationConfiguration,omitempty"` - - // S3DestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration - S3DestinationConfiguration *DeliveryStream_S3DestinationConfiguration `json:"S3DestinationConfiguration,omitempty"` - - // SplunkDestinationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration - SplunkDestinationConfiguration *DeliveryStream_SplunkDestinationConfiguration `json:"SplunkDestinationConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesisfirehose-deliverystream.html#cfn-kinesisfirehose-deliverystream-tags - Tags []cloudformation.Tag `json:"Tags,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 *DeliveryStream) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream" -} - -// 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 (r DeliveryStream) MarshalJSON() ([]byte, error) { - type Properties DeliveryStream - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DeliveryStream) UnmarshalJSON(b []byte) error { - type Properties DeliveryStream - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DeliveryStream(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicebufferinghints.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicebufferinghints.go deleted file mode 100644 index c21a87200f..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicebufferinghints.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_AmazonopensearchserviceBufferingHints AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicebufferinghints.html -type DeliveryStream_AmazonopensearchserviceBufferingHints struct { - - // IntervalInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicebufferinghints.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicebufferinghints-intervalinseconds - IntervalInSeconds *types.Value `json:"IntervalInSeconds,omitempty"` - - // SizeInMBs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicebufferinghints.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicebufferinghints-sizeinmbs - SizeInMBs *types.Value `json:"SizeInMBs,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 *DeliveryStream_AmazonopensearchserviceBufferingHints) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicedestinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicedestinationconfiguration.go deleted file mode 100644 index 61619ceb07..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchservicedestinationconfiguration.go +++ /dev/null @@ -1,97 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_AmazonopensearchserviceDestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html -type DeliveryStream_AmazonopensearchserviceDestinationConfiguration struct { - - // BufferingHints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-bufferinghints - BufferingHints *DeliveryStream_AmazonopensearchserviceBufferingHints `json:"BufferingHints,omitempty"` - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // ClusterEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-clusterendpoint - ClusterEndpoint *types.Value `json:"ClusterEndpoint,omitempty"` - - // DomainARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-domainarn - DomainARN *types.Value `json:"DomainARN,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // IndexRotationPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-indexrotationperiod - IndexRotationPeriod *types.Value `json:"IndexRotationPeriod,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-retryoptions - RetryOptions *DeliveryStream_AmazonopensearchserviceRetryOptions `json:"RetryOptions,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-s3configuration - S3Configuration *DeliveryStream_S3DestinationConfiguration `json:"S3Configuration,omitempty"` - - // TypeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-typename - TypeName *types.Value `json:"TypeName,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-amazonopensearchservicedestinationconfiguration-vpcconfiguration - VpcConfiguration *DeliveryStream_VpcConfiguration `json:"VpcConfiguration,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 *DeliveryStream_AmazonopensearchserviceDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchserviceretryoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchserviceretryoptions.go deleted file mode 100644 index 2b27942000..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_amazonopensearchserviceretryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_AmazonopensearchserviceRetryOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchserviceretryoptions.html -type DeliveryStream_AmazonopensearchserviceRetryOptions struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-amazonopensearchserviceretryoptions.html#cfn-kinesisfirehose-deliverystream-amazonopensearchserviceretryoptions-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,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 *DeliveryStream_AmazonopensearchserviceRetryOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_bufferinghints.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_bufferinghints.go deleted file mode 100644 index 1186f5a854..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_bufferinghints.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_BufferingHints AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.BufferingHints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-bufferinghints.html -type DeliveryStream_BufferingHints struct { - - // IntervalInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-bufferinghints.html#cfn-kinesisfirehose-deliverystream-bufferinghints-intervalinseconds - IntervalInSeconds *types.Value `json:"IntervalInSeconds,omitempty"` - - // SizeInMBs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-bufferinghints.html#cfn-kinesisfirehose-deliverystream-bufferinghints-sizeinmbs - SizeInMBs *types.Value `json:"SizeInMBs,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 *DeliveryStream_BufferingHints) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.BufferingHints" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_cloudwatchloggingoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_cloudwatchloggingoptions.go deleted file mode 100644 index ab78d2afbe..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_cloudwatchloggingoptions.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_CloudWatchLoggingOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-cloudwatchloggingoptions.html -type DeliveryStream_CloudWatchLoggingOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-cloudwatchloggingoptions.html#cfn-kinesisfirehose-deliverystream-cloudwatchloggingoptions-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-cloudwatchloggingoptions.html#cfn-kinesisfirehose-deliverystream-cloudwatchloggingoptions-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // LogStreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-cloudwatchloggingoptions.html#cfn-kinesisfirehose-deliverystream-cloudwatchloggingoptions-logstreamname - LogStreamName *types.Value `json:"LogStreamName,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 *DeliveryStream_CloudWatchLoggingOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_copycommand.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_copycommand.go deleted file mode 100644 index cccf23da52..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_copycommand.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_CopyCommand AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.CopyCommand) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-copycommand.html -type DeliveryStream_CopyCommand struct { - - // CopyOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-copycommand.html#cfn-kinesisfirehose-deliverystream-copycommand-copyoptions - CopyOptions *types.Value `json:"CopyOptions,omitempty"` - - // DataTableColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-copycommand.html#cfn-kinesisfirehose-deliverystream-copycommand-datatablecolumns - DataTableColumns *types.Value `json:"DataTableColumns,omitempty"` - - // DataTableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-copycommand.html#cfn-kinesisfirehose-deliverystream-copycommand-datatablename - DataTableName *types.Value `json:"DataTableName,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 *DeliveryStream_CopyCommand) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.CopyCommand" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dataformatconversionconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dataformatconversionconfiguration.go deleted file mode 100644 index bbd994f9a4..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dataformatconversionconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_DataFormatConversionConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html -type DeliveryStream_DataFormatConversionConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // InputFormatConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-inputformatconfiguration - InputFormatConfiguration *DeliveryStream_InputFormatConfiguration `json:"InputFormatConfiguration,omitempty"` - - // OutputFormatConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-outputformatconfiguration - OutputFormatConfiguration *DeliveryStream_OutputFormatConfiguration `json:"OutputFormatConfiguration,omitempty"` - - // SchemaConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dataformatconversionconfiguration.html#cfn-kinesisfirehose-deliverystream-dataformatconversionconfiguration-schemaconfiguration - SchemaConfiguration *DeliveryStream_SchemaConfiguration `json:"SchemaConfiguration,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 *DeliveryStream_DataFormatConversionConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deliverystreamencryptionconfigurationinput.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deliverystreamencryptionconfigurationinput.go deleted file mode 100644 index 9e1b1b457b..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deliverystreamencryptionconfigurationinput.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_DeliveryStreamEncryptionConfigurationInput AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput.html -type DeliveryStream_DeliveryStreamEncryptionConfigurationInput struct { - - // KeyARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput.html#cfn-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput-keyarn - KeyARN *types.Value `json:"KeyARN,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput.html#cfn-kinesisfirehose-deliverystream-deliverystreamencryptionconfigurationinput-keytype - KeyType *types.Value `json:"KeyType,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 *DeliveryStream_DeliveryStreamEncryptionConfigurationInput) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deserializer.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deserializer.go deleted file mode 100644 index 7b20677873..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_deserializer.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_Deserializer AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.Deserializer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deserializer.html -type DeliveryStream_Deserializer struct { - - // HiveJsonSerDe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deserializer.html#cfn-kinesisfirehose-deliverystream-deserializer-hivejsonserde - HiveJsonSerDe *DeliveryStream_HiveJsonSerDe `json:"HiveJsonSerDe,omitempty"` - - // OpenXJsonSerDe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-deserializer.html#cfn-kinesisfirehose-deliverystream-deserializer-openxjsonserde - OpenXJsonSerDe *DeliveryStream_OpenXJsonSerDe `json:"OpenXJsonSerDe,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 *DeliveryStream_Deserializer) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.Deserializer" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dynamicpartitioningconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dynamicpartitioningconfiguration.go deleted file mode 100644 index 75ed81d388..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_dynamicpartitioningconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_DynamicPartitioningConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dynamicpartitioningconfiguration.html -type DeliveryStream_DynamicPartitioningConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dynamicpartitioningconfiguration.html#cfn-kinesisfirehose-deliverystream-dynamicpartitioningconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-dynamicpartitioningconfiguration.html#cfn-kinesisfirehose-deliverystream-dynamicpartitioningconfiguration-retryoptions - RetryOptions *DeliveryStream_RetryOptions `json:"RetryOptions,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 *DeliveryStream_DynamicPartitioningConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchbufferinghints.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchbufferinghints.go deleted file mode 100644 index 476e6c4b09..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchbufferinghints.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ElasticsearchBufferingHints AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchbufferinghints.html -type DeliveryStream_ElasticsearchBufferingHints struct { - - // IntervalInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchbufferinghints.html#cfn-kinesisfirehose-deliverystream-elasticsearchbufferinghints-intervalinseconds - IntervalInSeconds *types.Value `json:"IntervalInSeconds,omitempty"` - - // SizeInMBs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchbufferinghints.html#cfn-kinesisfirehose-deliverystream-elasticsearchbufferinghints-sizeinmbs - SizeInMBs *types.Value `json:"SizeInMBs,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 *DeliveryStream_ElasticsearchBufferingHints) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchdestinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchdestinationconfiguration.go deleted file mode 100644 index 741ee19a73..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchdestinationconfiguration.go +++ /dev/null @@ -1,97 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ElasticsearchDestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html -type DeliveryStream_ElasticsearchDestinationConfiguration struct { - - // BufferingHints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-bufferinghints - BufferingHints *DeliveryStream_ElasticsearchBufferingHints `json:"BufferingHints,omitempty"` - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // ClusterEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-clusterendpoint - ClusterEndpoint *types.Value `json:"ClusterEndpoint,omitempty"` - - // DomainARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-domainarn - DomainARN *types.Value `json:"DomainARN,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // IndexRotationPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-indexrotationperiod - IndexRotationPeriod *types.Value `json:"IndexRotationPeriod,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-retryoptions - RetryOptions *DeliveryStream_ElasticsearchRetryOptions `json:"RetryOptions,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-s3configuration - S3Configuration *DeliveryStream_S3DestinationConfiguration `json:"S3Configuration,omitempty"` - - // TypeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-typename - TypeName *types.Value `json:"TypeName,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-elasticsearchdestinationconfiguration-vpcconfiguration - VpcConfiguration *DeliveryStream_VpcConfiguration `json:"VpcConfiguration,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 *DeliveryStream_ElasticsearchDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchretryoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchretryoptions.go deleted file mode 100644 index ecfb95c678..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_elasticsearchretryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ElasticsearchRetryOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchretryoptions.html -type DeliveryStream_ElasticsearchRetryOptions struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchretryoptions.html#cfn-kinesisfirehose-deliverystream-elasticsearchretryoptions-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,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 *DeliveryStream_ElasticsearchRetryOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_encryptionconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_encryptionconfiguration.go deleted file mode 100644 index 1b3f992162..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_encryptionconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_EncryptionConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-encryptionconfiguration.html -type DeliveryStream_EncryptionConfiguration struct { - - // KMSEncryptionConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-encryptionconfiguration.html#cfn-kinesisfirehose-deliverystream-encryptionconfiguration-kmsencryptionconfig - KMSEncryptionConfig *DeliveryStream_KMSEncryptionConfig `json:"KMSEncryptionConfig,omitempty"` - - // NoEncryptionConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-encryptionconfiguration.html#cfn-kinesisfirehose-deliverystream-encryptionconfiguration-noencryptionconfig - NoEncryptionConfig *types.Value `json:"NoEncryptionConfig,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 *DeliveryStream_EncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_extendeds3destinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_extendeds3destinationconfiguration.go deleted file mode 100644 index bf443cf51e..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_extendeds3destinationconfiguration.go +++ /dev/null @@ -1,97 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ExtendedS3DestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html -type DeliveryStream_ExtendedS3DestinationConfiguration struct { - - // BucketARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-bucketarn - BucketARN *types.Value `json:"BucketARN,omitempty"` - - // BufferingHints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-bufferinghints - BufferingHints *DeliveryStream_BufferingHints `json:"BufferingHints,omitempty"` - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // CompressionFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-compressionformat - CompressionFormat *types.Value `json:"CompressionFormat,omitempty"` - - // DataFormatConversionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-dataformatconversionconfiguration - DataFormatConversionConfiguration *DeliveryStream_DataFormatConversionConfiguration `json:"DataFormatConversionConfiguration,omitempty"` - - // DynamicPartitioningConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-dynamicpartitioningconfiguration - DynamicPartitioningConfiguration *DeliveryStream_DynamicPartitioningConfiguration `json:"DynamicPartitioningConfiguration,omitempty"` - - // EncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-encryptionconfiguration - EncryptionConfiguration *DeliveryStream_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // ErrorOutputPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-erroroutputprefix - ErrorOutputPrefix *types.Value `json:"ErrorOutputPrefix,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // S3BackupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-s3backupconfiguration - S3BackupConfiguration *DeliveryStream_S3DestinationConfiguration `json:"S3BackupConfiguration,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-extendeds3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-extendeds3destinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,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 *DeliveryStream_ExtendedS3DestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_hivejsonserde.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_hivejsonserde.go deleted file mode 100644 index b1a15978c0..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_hivejsonserde.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_HiveJsonSerDe AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-hivejsonserde.html -type DeliveryStream_HiveJsonSerDe struct { - - // TimestampFormats AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-hivejsonserde.html#cfn-kinesisfirehose-deliverystream-hivejsonserde-timestampformats - TimestampFormats *types.Value `json:"TimestampFormats,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 *DeliveryStream_HiveJsonSerDe) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointcommonattribute.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointcommonattribute.go deleted file mode 100644 index 91cb42273c..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointcommonattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_HttpEndpointCommonAttribute AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointcommonattribute.html -type DeliveryStream_HttpEndpointCommonAttribute struct { - - // AttributeName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointcommonattribute.html#cfn-kinesisfirehose-deliverystream-httpendpointcommonattribute-attributename - AttributeName *types.Value `json:"AttributeName,omitempty"` - - // AttributeValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointcommonattribute.html#cfn-kinesisfirehose-deliverystream-httpendpointcommonattribute-attributevalue - AttributeValue *types.Value `json:"AttributeValue,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 *DeliveryStream_HttpEndpointCommonAttribute) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointconfiguration.go deleted file mode 100644 index 044c85e660..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_HttpEndpointConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointconfiguration.html -type DeliveryStream_HttpEndpointConfiguration struct { - - // AccessKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointconfiguration-accesskey - AccessKey *types.Value `json:"AccessKey,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointconfiguration-url - Url *types.Value `json:"Url,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 *DeliveryStream_HttpEndpointConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointdestinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointdestinationconfiguration.go deleted file mode 100644 index f418c0ff8a..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointdestinationconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_HttpEndpointDestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html -type DeliveryStream_HttpEndpointDestinationConfiguration struct { - - // BufferingHints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-bufferinghints - BufferingHints *DeliveryStream_BufferingHints `json:"BufferingHints,omitempty"` - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // EndpointConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-endpointconfiguration - EndpointConfiguration *DeliveryStream_HttpEndpointConfiguration `json:"EndpointConfiguration,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RequestConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-requestconfiguration - RequestConfiguration *DeliveryStream_HttpEndpointRequestConfiguration `json:"RequestConfiguration,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-retryoptions - RetryOptions *DeliveryStream_RetryOptions `json:"RetryOptions,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration-s3configuration - S3Configuration *DeliveryStream_S3DestinationConfiguration `json:"S3Configuration,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 *DeliveryStream_HttpEndpointDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointrequestconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointrequestconfiguration.go deleted file mode 100644 index 85d019ca27..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_httpendpointrequestconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_HttpEndpointRequestConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointrequestconfiguration.html -type DeliveryStream_HttpEndpointRequestConfiguration struct { - - // CommonAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointrequestconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointrequestconfiguration-commonattributes - CommonAttributes []DeliveryStream_HttpEndpointCommonAttribute `json:"CommonAttributes,omitempty"` - - // ContentEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointrequestconfiguration.html#cfn-kinesisfirehose-deliverystream-httpendpointrequestconfiguration-contentencoding - ContentEncoding *types.Value `json:"ContentEncoding,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 *DeliveryStream_HttpEndpointRequestConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_inputformatconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_inputformatconfiguration.go deleted file mode 100644 index 1456cea5e3..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_inputformatconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_InputFormatConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html -type DeliveryStream_InputFormatConfiguration struct { - - // Deserializer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-inputformatconfiguration.html#cfn-kinesisfirehose-deliverystream-inputformatconfiguration-deserializer - Deserializer *DeliveryStream_Deserializer `json:"Deserializer,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 *DeliveryStream_InputFormatConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kinesisstreamsourceconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kinesisstreamsourceconfiguration.go deleted file mode 100644 index 286e225a19..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kinesisstreamsourceconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_KinesisStreamSourceConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html -type DeliveryStream_KinesisStreamSourceConfiguration struct { - - // KinesisStreamARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration-kinesisstreamarn - KinesisStreamARN *types.Value `json:"KinesisStreamARN,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html#cfn-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,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 *DeliveryStream_KinesisStreamSourceConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kmsencryptionconfig.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kmsencryptionconfig.go deleted file mode 100644 index 4eb90cfc7e..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_kmsencryptionconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_KMSEncryptionConfig AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kmsencryptionconfig.html -type DeliveryStream_KMSEncryptionConfig struct { - - // AWSKMSKeyARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kmsencryptionconfig.html#cfn-kinesisfirehose-deliverystream-kmsencryptionconfig-awskmskeyarn - AWSKMSKeyARN *types.Value `json:"AWSKMSKeyARN,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 *DeliveryStream_KMSEncryptionConfig) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_openxjsonserde.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_openxjsonserde.go deleted file mode 100644 index 8ec094d5f7..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_openxjsonserde.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_OpenXJsonSerDe AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-openxjsonserde.html -type DeliveryStream_OpenXJsonSerDe struct { - - // CaseInsensitive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-openxjsonserde.html#cfn-kinesisfirehose-deliverystream-openxjsonserde-caseinsensitive - CaseInsensitive *types.Value `json:"CaseInsensitive,omitempty"` - - // ColumnToJsonKeyMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-openxjsonserde.html#cfn-kinesisfirehose-deliverystream-openxjsonserde-columntojsonkeymappings - ColumnToJsonKeyMappings map[string]*types.Value `json:"ColumnToJsonKeyMappings,omitempty"` - - // ConvertDotsInJsonKeysToUnderscores AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-openxjsonserde.html#cfn-kinesisfirehose-deliverystream-openxjsonserde-convertdotsinjsonkeystounderscores - ConvertDotsInJsonKeysToUnderscores *types.Value `json:"ConvertDotsInJsonKeysToUnderscores,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 *DeliveryStream_OpenXJsonSerDe) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_orcserde.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_orcserde.go deleted file mode 100644 index 75b30f1b96..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_orcserde.go +++ /dev/null @@ -1,82 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_OrcSerDe AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.OrcSerDe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html -type DeliveryStream_OrcSerDe struct { - - // BlockSizeBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-blocksizebytes - BlockSizeBytes *types.Value `json:"BlockSizeBytes,omitempty"` - - // BloomFilterColumns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-bloomfiltercolumns - BloomFilterColumns *types.Value `json:"BloomFilterColumns,omitempty"` - - // BloomFilterFalsePositiveProbability AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-bloomfilterfalsepositiveprobability - BloomFilterFalsePositiveProbability *types.Value `json:"BloomFilterFalsePositiveProbability,omitempty"` - - // Compression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-compression - Compression *types.Value `json:"Compression,omitempty"` - - // DictionaryKeyThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-dictionarykeythreshold - DictionaryKeyThreshold *types.Value `json:"DictionaryKeyThreshold,omitempty"` - - // EnablePadding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-enablepadding - EnablePadding *types.Value `json:"EnablePadding,omitempty"` - - // FormatVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-formatversion - FormatVersion *types.Value `json:"FormatVersion,omitempty"` - - // PaddingTolerance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-paddingtolerance - PaddingTolerance *types.Value `json:"PaddingTolerance,omitempty"` - - // RowIndexStride AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-rowindexstride - RowIndexStride *types.Value `json:"RowIndexStride,omitempty"` - - // StripeSizeBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-orcserde.html#cfn-kinesisfirehose-deliverystream-orcserde-stripesizebytes - StripeSizeBytes *types.Value `json:"StripeSizeBytes,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 *DeliveryStream_OrcSerDe) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.OrcSerDe" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_outputformatconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_outputformatconfiguration.go deleted file mode 100644 index 946f42acb3..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_outputformatconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_OutputFormatConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html -type DeliveryStream_OutputFormatConfiguration struct { - - // Serializer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-outputformatconfiguration.html#cfn-kinesisfirehose-deliverystream-outputformatconfiguration-serializer - Serializer *DeliveryStream_Serializer `json:"Serializer,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 *DeliveryStream_OutputFormatConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_parquetserde.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_parquetserde.go deleted file mode 100644 index 40e98732c3..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_parquetserde.go +++ /dev/null @@ -1,62 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ParquetSerDe AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ParquetSerDe) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html -type DeliveryStream_ParquetSerDe struct { - - // BlockSizeBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-blocksizebytes - BlockSizeBytes *types.Value `json:"BlockSizeBytes,omitempty"` - - // Compression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-compression - Compression *types.Value `json:"Compression,omitempty"` - - // EnableDictionaryCompression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-enabledictionarycompression - EnableDictionaryCompression *types.Value `json:"EnableDictionaryCompression,omitempty"` - - // MaxPaddingBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-maxpaddingbytes - MaxPaddingBytes *types.Value `json:"MaxPaddingBytes,omitempty"` - - // PageSizeBytes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-pagesizebytes - PageSizeBytes *types.Value `json:"PageSizeBytes,omitempty"` - - // WriterVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-parquetserde.html#cfn-kinesisfirehose-deliverystream-parquetserde-writerversion - WriterVersion *types.Value `json:"WriterVersion,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 *DeliveryStream_ParquetSerDe) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ParquetSerDe" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processingconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processingconfiguration.go deleted file mode 100644 index f648859934..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processingconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ProcessingConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html -type DeliveryStream_ProcessingConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // Processors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processingconfiguration.html#cfn-kinesisfirehose-deliverystream-processingconfiguration-processors - Processors []DeliveryStream_Processor `json:"Processors,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 *DeliveryStream_ProcessingConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processor.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processor.go deleted file mode 100644 index 09070f0f01..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processor.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_Processor AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.Processor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processor.html -type DeliveryStream_Processor struct { - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processor.html#cfn-kinesisfirehose-deliverystream-processor-parameters - Parameters []DeliveryStream_ProcessorParameter `json:"Parameters,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processor.html#cfn-kinesisfirehose-deliverystream-processor-type - Type *types.Value `json:"Type,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 *DeliveryStream_Processor) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.Processor" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processorparameter.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processorparameter.go deleted file mode 100644 index 4aad7766f1..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_processorparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_ProcessorParameter AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.ProcessorParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processorparameter.html -type DeliveryStream_ProcessorParameter struct { - - // ParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processorparameter.html#cfn-kinesisfirehose-deliverystream-processorparameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-processorparameter.html#cfn-kinesisfirehose-deliverystream-processorparameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *DeliveryStream_ProcessorParameter) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.ProcessorParameter" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftdestinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftdestinationconfiguration.go deleted file mode 100644 index 5805e4aa2e..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftdestinationconfiguration.go +++ /dev/null @@ -1,87 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_RedshiftDestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html -type DeliveryStream_RedshiftDestinationConfiguration struct { - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // ClusterJDBCURL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-clusterjdbcurl - ClusterJDBCURL *types.Value `json:"ClusterJDBCURL,omitempty"` - - // CopyCommand AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-copycommand - CopyCommand *DeliveryStream_CopyCommand `json:"CopyCommand,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-password - Password *types.Value `json:"Password,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-retryoptions - RetryOptions *DeliveryStream_RedshiftRetryOptions `json:"RetryOptions,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // S3BackupConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-s3backupconfiguration - S3BackupConfiguration *DeliveryStream_S3DestinationConfiguration `json:"S3BackupConfiguration,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-s3configuration - S3Configuration *DeliveryStream_S3DestinationConfiguration `json:"S3Configuration,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-redshiftdestinationconfiguration-username - Username *types.Value `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 *DeliveryStream_RedshiftDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftretryoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftretryoptions.go deleted file mode 100644 index 04d63bad86..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_redshiftretryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_RedshiftRetryOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftretryoptions.html -type DeliveryStream_RedshiftRetryOptions struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-redshiftretryoptions.html#cfn-kinesisfirehose-deliverystream-redshiftretryoptions-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,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 *DeliveryStream_RedshiftRetryOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_retryoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_retryoptions.go deleted file mode 100644 index 5fccfbfbf4..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_retryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_RetryOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.RetryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-retryoptions.html -type DeliveryStream_RetryOptions struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-retryoptions.html#cfn-kinesisfirehose-deliverystream-retryoptions-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,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 *DeliveryStream_RetryOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.RetryOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_s3destinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_s3destinationconfiguration.go deleted file mode 100644 index c81a13c2de..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_s3destinationconfiguration.go +++ /dev/null @@ -1,72 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_S3DestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html -type DeliveryStream_S3DestinationConfiguration struct { - - // BucketARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-bucketarn - BucketARN *types.Value `json:"BucketARN,omitempty"` - - // BufferingHints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-bufferinghints - BufferingHints *DeliveryStream_BufferingHints `json:"BufferingHints,omitempty"` - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // CompressionFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-compressionformat - CompressionFormat *types.Value `json:"CompressionFormat,omitempty"` - - // EncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-encryptionconfiguration - EncryptionConfiguration *DeliveryStream_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` - - // ErrorOutputPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-erroroutputprefix - ErrorOutputPrefix *types.Value `json:"ErrorOutputPrefix,omitempty"` - - // Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-prefix - Prefix *types.Value `json:"Prefix,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-s3destinationconfiguration.html#cfn-kinesisfirehose-deliverystream-s3destinationconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,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 *DeliveryStream_S3DestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_schemaconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_schemaconfiguration.go deleted file mode 100644 index 02d44da511..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_schemaconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_SchemaConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html -type DeliveryStream_SchemaConfiguration struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-region - Region *types.Value `json:"Region,omitempty"` - - // RoleARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // VersionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-schemaconfiguration.html#cfn-kinesisfirehose-deliverystream-schemaconfiguration-versionid - VersionId *types.Value `json:"VersionId,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 *DeliveryStream_SchemaConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_serializer.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_serializer.go deleted file mode 100644 index 94b7d46dce..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_serializer.go +++ /dev/null @@ -1,40 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_Serializer AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.Serializer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-serializer.html -type DeliveryStream_Serializer struct { - - // OrcSerDe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-serializer.html#cfn-kinesisfirehose-deliverystream-serializer-orcserde - OrcSerDe *DeliveryStream_OrcSerDe `json:"OrcSerDe,omitempty"` - - // ParquetSerDe AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-serializer.html#cfn-kinesisfirehose-deliverystream-serializer-parquetserde - ParquetSerDe *DeliveryStream_ParquetSerDe `json:"ParquetSerDe,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 *DeliveryStream_Serializer) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.Serializer" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkdestinationconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkdestinationconfiguration.go deleted file mode 100644 index 5318db3f3f..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkdestinationconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_SplunkDestinationConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html -type DeliveryStream_SplunkDestinationConfiguration struct { - - // CloudWatchLoggingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-cloudwatchloggingoptions - CloudWatchLoggingOptions *DeliveryStream_CloudWatchLoggingOptions `json:"CloudWatchLoggingOptions,omitempty"` - - // HECAcknowledgmentTimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecacknowledgmenttimeoutinseconds - HECAcknowledgmentTimeoutInSeconds *types.Value `json:"HECAcknowledgmentTimeoutInSeconds,omitempty"` - - // HECEndpoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecendpoint - HECEndpoint *types.Value `json:"HECEndpoint,omitempty"` - - // HECEndpointType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hecendpointtype - HECEndpointType *types.Value `json:"HECEndpointType,omitempty"` - - // HECToken AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-hectoken - HECToken *types.Value `json:"HECToken,omitempty"` - - // ProcessingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-processingconfiguration - ProcessingConfiguration *DeliveryStream_ProcessingConfiguration `json:"ProcessingConfiguration,omitempty"` - - // RetryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-retryoptions - RetryOptions *DeliveryStream_SplunkRetryOptions `json:"RetryOptions,omitempty"` - - // S3BackupMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-s3backupmode - S3BackupMode *types.Value `json:"S3BackupMode,omitempty"` - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkdestinationconfiguration.html#cfn-kinesisfirehose-deliverystream-splunkdestinationconfiguration-s3configuration - S3Configuration *DeliveryStream_S3DestinationConfiguration `json:"S3Configuration,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 *DeliveryStream_SplunkDestinationConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkretryoptions.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkretryoptions.go deleted file mode 100644 index e566c812e8..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_splunkretryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_SplunkRetryOptions AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkretryoptions.html -type DeliveryStream_SplunkRetryOptions struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-splunkretryoptions.html#cfn-kinesisfirehose-deliverystream-splunkretryoptions-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,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 *DeliveryStream_SplunkRetryOptions) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions" -} diff --git a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_vpcconfiguration.go b/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_vpcconfiguration.go deleted file mode 100644 index 9662e84698..0000000000 --- a/pkg/goformation/cloudformation/kinesisfirehose/aws-kinesisfirehose-deliverystream_vpcconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package kinesisfirehose - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeliveryStream_VpcConfiguration AWS CloudFormation Resource (AWS::KinesisFirehose::DeliveryStream.VpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-vpcconfiguration.html -type DeliveryStream_VpcConfiguration struct { - - // RoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-vpcconfiguration.html#cfn-kinesisfirehose-deliverystream-vpcconfiguration-rolearn - RoleARN *types.Value `json:"RoleARN,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-vpcconfiguration.html#cfn-kinesisfirehose-deliverystream-vpcconfiguration-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-vpcconfiguration.html#cfn-kinesisfirehose-deliverystream-vpcconfiguration-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *DeliveryStream_VpcConfiguration) AWSCloudFormationType() string { - return "AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/kms/aws-kms-key.go b/pkg/goformation/cloudformation/kms/aws-kms-key.go index 210ed86f90..67470c0917 100644 --- a/pkg/goformation/cloudformation/kms/aws-kms-key.go +++ b/pkg/goformation/cloudformation/kms/aws-kms-key.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html type Key struct { + // BypassPolicyLockoutSafetyCheck AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-bypasspolicylockoutsafetycheck + BypassPolicyLockoutSafetyCheck *types.Value `json:"BypassPolicyLockoutSafetyCheck,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-description @@ -31,7 +36,7 @@ type Key struct { Enabled *types.Value `json:"Enabled,omitempty"` // KeyPolicy AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-keypolicy KeyPolicy interface{} `json:"KeyPolicy,omitempty"` @@ -50,11 +55,21 @@ type Key struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-multiregion MultiRegion *types.Value `json:"MultiRegion,omitempty"` + // Origin AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-origin + Origin *types.Value `json:"Origin,omitempty"` + // PendingWindowInDays AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-pendingwindowindays PendingWindowInDays *types.Value `json:"PendingWindowInDays,omitempty"` + // RotationPeriodInDays AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-rotationperiodindays + RotationPeriodInDays *types.Value `json:"RotationPeriodInDays,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-tags diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings.go deleted file mode 100644 index 5083e36dbf..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings.go +++ /dev/null @@ -1,113 +0,0 @@ -package lakeformation - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataLakeSettings AWS CloudFormation Resource (AWS::LakeFormation::DataLakeSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-datalakesettings.html -type DataLakeSettings struct { - - // Admins AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-datalakesettings.html#cfn-lakeformation-datalakesettings-admins - Admins *DataLakeSettings_Admins `json:"Admins,omitempty"` - - // TrustedResourceOwners AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-datalakesettings.html#cfn-lakeformation-datalakesettings-trustedresourceowners - TrustedResourceOwners *types.Value `json:"TrustedResourceOwners,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 *DataLakeSettings) AWSCloudFormationType() string { - return "AWS::LakeFormation::DataLakeSettings" -} - -// 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 (r DataLakeSettings) MarshalJSON() ([]byte, error) { - type Properties DataLakeSettings - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataLakeSettings) UnmarshalJSON(b []byte) error { - type Properties DataLakeSettings - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataLakeSettings(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_admins.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_admins.go deleted file mode 100644 index c4ab9b87a1..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_admins.go +++ /dev/null @@ -1,30 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataLakeSettings_Admins AWS CloudFormation Resource (AWS::LakeFormation::DataLakeSettings.Admins) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-datalakesettings-admins.html -type DataLakeSettings_Admins struct { - - // 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 *DataLakeSettings_Admins) AWSCloudFormationType() string { - return "AWS::LakeFormation::DataLakeSettings.Admins" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_datalakeprincipal.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_datalakeprincipal.go deleted file mode 100644 index ca20e9304c..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-datalakesettings_datalakeprincipal.go +++ /dev/null @@ -1,37 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataLakeSettings_DataLakePrincipal AWS CloudFormation Resource (AWS::LakeFormation::DataLakeSettings.DataLakePrincipal) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-datalakesettings-datalakeprincipal.html -type DataLakeSettings_DataLakePrincipal struct { - - // DataLakePrincipalIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-datalakesettings-datalakeprincipal.html#cfn-lakeformation-datalakesettings-datalakeprincipal-datalakeprincipalidentifier - DataLakePrincipalIdentifier *types.Value `json:"DataLakePrincipalIdentifier,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 *DataLakeSettings_DataLakePrincipal) AWSCloudFormationType() string { - return "AWS::LakeFormation::DataLakeSettings.DataLakePrincipal" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions.go deleted file mode 100644 index e39e041687..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions.go +++ /dev/null @@ -1,123 +0,0 @@ -package lakeformation - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions AWS CloudFormation Resource (AWS::LakeFormation::Permissions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html -type Permissions struct { - - // DataLakePrincipal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html#cfn-lakeformation-permissions-datalakeprincipal - DataLakePrincipal *Permissions_DataLakePrincipal `json:"DataLakePrincipal,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html#cfn-lakeformation-permissions-permissions - Permissions *types.Value `json:"Permissions,omitempty"` - - // PermissionsWithGrantOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html#cfn-lakeformation-permissions-permissionswithgrantoption - PermissionsWithGrantOption *types.Value `json:"PermissionsWithGrantOption,omitempty"` - - // Resource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-permissions.html#cfn-lakeformation-permissions-resource - Resource *Permissions_Resource `json:"Resource,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 *Permissions) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions" -} - -// 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 (r Permissions) MarshalJSON() ([]byte, error) { - type Properties Permissions - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Permissions) UnmarshalJSON(b []byte) error { - type Properties Permissions - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Permissions(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_columnwildcard.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_columnwildcard.go deleted file mode 100644 index 0eefee44ec..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_columnwildcard.go +++ /dev/null @@ -1,37 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_ColumnWildcard AWS CloudFormation Resource (AWS::LakeFormation::Permissions.ColumnWildcard) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-columnwildcard.html -type Permissions_ColumnWildcard struct { - - // ExcludedColumnNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-columnwildcard.html#cfn-lakeformation-permissions-columnwildcard-excludedcolumnnames - ExcludedColumnNames *types.Value `json:"ExcludedColumnNames,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 *Permissions_ColumnWildcard) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.ColumnWildcard" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_databaseresource.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_databaseresource.go deleted file mode 100644 index 3606f008b2..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_databaseresource.go +++ /dev/null @@ -1,42 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_DatabaseResource AWS CloudFormation Resource (AWS::LakeFormation::Permissions.DatabaseResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-databaseresource.html -type Permissions_DatabaseResource struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-databaseresource.html#cfn-lakeformation-permissions-databaseresource-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-databaseresource.html#cfn-lakeformation-permissions-databaseresource-name - Name *types.Value `json:"Name,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 *Permissions_DatabaseResource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.DatabaseResource" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalakeprincipal.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalakeprincipal.go deleted file mode 100644 index 60c947c447..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalakeprincipal.go +++ /dev/null @@ -1,37 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_DataLakePrincipal AWS CloudFormation Resource (AWS::LakeFormation::Permissions.DataLakePrincipal) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-datalakeprincipal.html -type Permissions_DataLakePrincipal struct { - - // DataLakePrincipalIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-datalakeprincipal.html#cfn-lakeformation-permissions-datalakeprincipal-datalakeprincipalidentifier - DataLakePrincipalIdentifier *types.Value `json:"DataLakePrincipalIdentifier,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 *Permissions_DataLakePrincipal) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.DataLakePrincipal" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalocationresource.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalocationresource.go deleted file mode 100644 index 4928f7d3c1..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_datalocationresource.go +++ /dev/null @@ -1,42 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_DataLocationResource AWS CloudFormation Resource (AWS::LakeFormation::Permissions.DataLocationResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-datalocationresource.html -type Permissions_DataLocationResource struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-datalocationresource.html#cfn-lakeformation-permissions-datalocationresource-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // S3Resource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-datalocationresource.html#cfn-lakeformation-permissions-datalocationresource-s3resource - S3Resource *types.Value `json:"S3Resource,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 *Permissions_DataLocationResource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.DataLocationResource" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_resource.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_resource.go deleted file mode 100644 index 8ef0c44b27..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_resource.go +++ /dev/null @@ -1,50 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_Resource AWS CloudFormation Resource (AWS::LakeFormation::Permissions.Resource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html -type Permissions_Resource struct { - - // DataLocationResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-datalocationresource - DataLocationResource *Permissions_DataLocationResource `json:"DataLocationResource,omitempty"` - - // DatabaseResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-databaseresource - DatabaseResource *Permissions_DatabaseResource `json:"DatabaseResource,omitempty"` - - // TableResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-tableresource - TableResource *Permissions_TableResource `json:"TableResource,omitempty"` - - // TableWithColumnsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-resource.html#cfn-lakeformation-permissions-resource-tablewithcolumnsresource - TableWithColumnsResource *Permissions_TableWithColumnsResource `json:"TableWithColumnsResource,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 *Permissions_Resource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.Resource" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewildcard.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewildcard.go deleted file mode 100644 index c2171be9fc..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewildcard.go +++ /dev/null @@ -1,30 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_TableWildcard AWS CloudFormation Resource (AWS::LakeFormation::Permissions.TableWildcard) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewildcard.html -type Permissions_TableWildcard struct { - - // 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 *Permissions_TableWildcard) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.TableWildcard" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewithcolumnsresource.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewithcolumnsresource.go deleted file mode 100644 index 1b4f0fd7e6..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-permissions_tablewithcolumnsresource.go +++ /dev/null @@ -1,57 +0,0 @@ -package lakeformation - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Permissions_TableWithColumnsResource AWS CloudFormation Resource (AWS::LakeFormation::Permissions.TableWithColumnsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html -type Permissions_TableWithColumnsResource struct { - - // CatalogId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html#cfn-lakeformation-permissions-tablewithcolumnsresource-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` - - // ColumnNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html#cfn-lakeformation-permissions-tablewithcolumnsresource-columnnames - ColumnNames *types.Value `json:"ColumnNames,omitempty"` - - // ColumnWildcard AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html#cfn-lakeformation-permissions-tablewithcolumnsresource-columnwildcard - ColumnWildcard *Permissions_ColumnWildcard `json:"ColumnWildcard,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html#cfn-lakeformation-permissions-tablewithcolumnsresource-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lakeformation-permissions-tablewithcolumnsresource.html#cfn-lakeformation-permissions-tablewithcolumnsresource-name - Name *types.Value `json:"Name,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 *Permissions_TableWithColumnsResource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Permissions.TableWithColumnsResource" -} diff --git a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-resource.go b/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-resource.go deleted file mode 100644 index 8a85a17f20..0000000000 --- a/pkg/goformation/cloudformation/lakeformation/aws-lakeformation-resource.go +++ /dev/null @@ -1,118 +0,0 @@ -package lakeformation - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Resource AWS CloudFormation Resource (AWS::LakeFormation::Resource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html -type Resource struct { - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-resourcearn - ResourceArn *types.Value `json:"ResourceArn,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UseServiceLinkedRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lakeformation-resource.html#cfn-lakeformation-resource-useservicelinkedrole - UseServiceLinkedRole *types.Value `json:"UseServiceLinkedRole"` - - // 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 *Resource) AWSCloudFormationType() string { - return "AWS::LakeFormation::Resource" -} - -// 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 (r Resource) MarshalJSON() ([]byte, error) { - type Properties Resource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Resource) UnmarshalJSON(b []byte) error { - type Properties Resource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Resource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-alias_aliasroutingconfiguration.go b/pkg/goformation/cloudformation/lambda/aws-lambda-alias_aliasroutingconfiguration.go index 57a7e3f74d..194d53c888 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-alias_aliasroutingconfiguration.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-alias_aliasroutingconfiguration.go @@ -9,7 +9,7 @@ import ( type Alias_AliasRoutingConfiguration struct { // AdditionalVersionWeights AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html#cfn-lambda-alias-aliasroutingconfiguration-additionalversionweights AdditionalVersionWeights []Alias_VersionWeight `json:"AdditionalVersionWeights,omitempty"` diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-codesigningconfig.go b/pkg/goformation/cloudformation/lambda/aws-lambda-codesigningconfig.go index 5fb7d8eb05..8e7e9ae130 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-codesigningconfig.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-codesigningconfig.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -29,6 +30,11 @@ type CodeSigningConfig struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-description Description *types.Value `json:"Description,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onfailure.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onfailure.go index a7d8267934..5e71e7fd95 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onfailure.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onfailure.go @@ -7,12 +7,12 @@ import ( ) // EventInvokeConfig_OnFailure AWS CloudFormation Resource (AWS::Lambda::EventInvokeConfig.OnFailure) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onfailure.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-onfailure.html type EventInvokeConfig_OnFailure struct { // Destination AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onfailure.html#cfn-lambda-eventinvokeconfig-destinationconfig-onfailure-destination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-onfailure.html#cfn-lambda-eventinvokeconfig-onfailure-destination Destination *types.Value `json:"Destination,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onsuccess.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onsuccess.go index b250f5a277..32d5bde8f1 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onsuccess.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventinvokeconfig_onsuccess.go @@ -7,12 +7,12 @@ import ( ) // EventInvokeConfig_OnSuccess AWS CloudFormation Resource (AWS::Lambda::EventInvokeConfig.OnSuccess) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onsuccess.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-onsuccess.html type EventInvokeConfig_OnSuccess struct { // Destination AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-destinationconfig-onsuccess.html#cfn-lambda-eventinvokeconfig-destinationconfig-onsuccess-destination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventinvokeconfig-onsuccess.html#cfn-lambda-eventinvokeconfig-onsuccess-destination Destination *types.Value `json:"Destination,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping.go index ba197dd424..66750b25d0 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -14,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html type EventSourceMapping struct { + // AmazonManagedKafkaEventSourceConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig + AmazonManagedKafkaEventSourceConfig *EventSourceMapping_AmazonManagedKafkaEventSourceConfig `json:"AmazonManagedKafkaEventSourceConfig,omitempty"` + // BatchSize AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-batchsize @@ -29,6 +35,11 @@ type EventSourceMapping struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-destinationconfig DestinationConfig *EventSourceMapping_DestinationConfig `json:"DestinationConfig,omitempty"` + // DocumentDBEventSourceConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-documentdbeventsourceconfig + DocumentDBEventSourceConfig *EventSourceMapping_DocumentDBEventSourceConfig `json:"DocumentDBEventSourceConfig,omitempty"` + // Enabled AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-enabled @@ -42,7 +53,7 @@ type EventSourceMapping struct { // FilterCriteria AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-filtercriteria - FilterCriteria interface{} `json:"FilterCriteria,omitempty"` + FilterCriteria *EventSourceMapping_FilterCriteria `json:"FilterCriteria,omitempty"` // FunctionName AWS CloudFormation Property // Required: true @@ -54,6 +65,11 @@ type EventSourceMapping struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionresponsetypes FunctionResponseTypes *types.Value `json:"FunctionResponseTypes,omitempty"` + // KmsKeyArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-kmskeyarn + KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` + // MaximumBatchingWindowInSeconds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumbatchingwindowinseconds @@ -69,21 +85,41 @@ type EventSourceMapping struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-maximumretryattempts MaximumRetryAttempts *types.Value `json:"MaximumRetryAttempts,omitempty"` + // MetricsConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-metricsconfig + MetricsConfig *EventSourceMapping_MetricsConfig `json:"MetricsConfig,omitempty"` + // ParallelizationFactor AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-parallelizationfactor ParallelizationFactor *types.Value `json:"ParallelizationFactor,omitempty"` + // ProvisionedPollerConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-provisionedpollerconfig + ProvisionedPollerConfig *EventSourceMapping_ProvisionedPollerConfig `json:"ProvisionedPollerConfig,omitempty"` + // Queues AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-queues Queues *types.Value `json:"Queues,omitempty"` + // ScalingConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-scalingconfig + ScalingConfig *EventSourceMapping_ScalingConfig `json:"ScalingConfig,omitempty"` + // SelfManagedEventSource AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedeventsource SelfManagedEventSource *EventSourceMapping_SelfManagedEventSource `json:"SelfManagedEventSource,omitempty"` + // SelfManagedKafkaEventSourceConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig + SelfManagedKafkaEventSourceConfig *EventSourceMapping_SelfManagedKafkaEventSourceConfig `json:"SelfManagedKafkaEventSourceConfig,omitempty"` + // SourceAccessConfigurations AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-sourceaccessconfigurations @@ -99,6 +135,11 @@ type EventSourceMapping struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-startingpositiontimestamp StartingPositionTimestamp *types.Value `json:"StartingPositionTimestamp,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // Topics AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-topics diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_vpcinterfaceattachment.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_amazonmanagedkafkaeventsourceconfig.go similarity index 62% rename from pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_vpcinterfaceattachment.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_amazonmanagedkafkaeventsourceconfig.go index 0783017500..88d4eb19c5 100644 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_vpcinterfaceattachment.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_amazonmanagedkafkaeventsourceconfig.go @@ -1,4 +1,4 @@ -package mediaconnect +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// FlowOutput_VpcInterfaceAttachment AWS CloudFormation Resource (AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-vpcinterfaceattachment.html -type FlowOutput_VpcInterfaceAttachment struct { +// EventSourceMapping_AmazonManagedKafkaEventSourceConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html +type EventSourceMapping_AmazonManagedKafkaEventSourceConfig struct { - // VpcInterfaceName AWS CloudFormation Property + // ConsumerGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-vpcinterfaceattachment.html#cfn-mediaconnect-flowoutput-vpcinterfaceattachment-vpcinterfacename - VpcInterfaceName *types.Value `json:"VpcInterfaceName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig-consumergroupid + ConsumerGroupId *types.Value `json:"ConsumerGroupId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type FlowOutput_VpcInterfaceAttachment struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *FlowOutput_VpcInterfaceAttachment) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment" +func (r *EventSourceMapping_AmazonManagedKafkaEventSourceConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig" } diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_datasource.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_documentdbeventsourceconfig.go similarity index 56% rename from pkg/goformation/cloudformation/opsworks/aws-opsworks-app_datasource.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_documentdbeventsourceconfig.go index 9150140db2..13ed47cd92 100644 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_datasource.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_documentdbeventsourceconfig.go @@ -1,4 +1,4 @@ -package opsworks +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,24 +6,24 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// App_DataSource AWS CloudFormation Resource (AWS::OpsWorks::App.DataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-datasource.html -type App_DataSource struct { +// EventSourceMapping_DocumentDBEventSourceConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html +type EventSourceMapping_DocumentDBEventSourceConfig struct { - // Arn AWS CloudFormation Property + // CollectionName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-datasource.html#cfn-opsworks-app-datasource-arn - Arn *types.Value `json:"Arn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html#cfn-lambda-eventsourcemapping-documentdbeventsourceconfig-collectionname + CollectionName *types.Value `json:"CollectionName,omitempty"` // DatabaseName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-datasource.html#cfn-opsworks-app-datasource-databasename + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html#cfn-lambda-eventsourcemapping-documentdbeventsourceconfig-databasename DatabaseName *types.Value `json:"DatabaseName,omitempty"` - // Type AWS CloudFormation Property + // FullDocument AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-datasource.html#cfn-opsworks-app-datasource-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html#cfn-lambda-eventsourcemapping-documentdbeventsourceconfig-fulldocument + FullDocument *types.Value `json:"FullDocument,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -42,6 +42,6 @@ type App_DataSource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *App_DataSource) AWSCloudFormationType() string { - return "AWS::OpsWorks::App.DataSource" +func (r *EventSourceMapping_DocumentDBEventSourceConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicesettings.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filter.go similarity index 69% rename from pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicesettings.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filter.go index 8703b968d9..c3c54e9f1a 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdevicesettings.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filter.go @@ -1,4 +1,4 @@ -package medialive +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Input_InputDeviceSettings AWS CloudFormation Resource (AWS::MediaLive::Input.InputDeviceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdevicesettings.html -type Input_InputDeviceSettings struct { +// EventSourceMapping_Filter AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.Filter) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html +type EventSourceMapping_Filter struct { - // Id AWS CloudFormation Property + // Pattern AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdevicesettings.html#cfn-medialive-input-inputdevicesettings-id - Id *types.Value `json:"Id,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html#cfn-lambda-eventsourcemapping-filter-pattern + Pattern *types.Value `json:"Pattern,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Input_InputDeviceSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Input_InputDeviceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.InputDeviceSettings" +func (r *EventSourceMapping_Filter) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.Filter" } diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_meshspec.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filtercriteria.go similarity index 64% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_meshspec.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filtercriteria.go index b7bfb917e4..d296f6e70b 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-mesh_meshspec.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_filtercriteria.go @@ -1,17 +1,17 @@ -package appmesh +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Mesh_MeshSpec AWS CloudFormation Resource (AWS::AppMesh::Mesh.MeshSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-mesh-meshspec.html -type Mesh_MeshSpec struct { +// EventSourceMapping_FilterCriteria AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.FilterCriteria) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html +type EventSourceMapping_FilterCriteria struct { - // EgressFilter AWS CloudFormation Property + // Filters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-mesh-meshspec.html#cfn-appmesh-mesh-meshspec-egressfilter - EgressFilter *Mesh_EgressFilter `json:"EgressFilter,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html#cfn-lambda-eventsourcemapping-filtercriteria-filters + Filters []EventSourceMapping_Filter `json:"Filters,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Mesh_MeshSpec struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Mesh_MeshSpec) AWSCloudFormationType() string { - return "AWS::AppMesh::Mesh.MeshSpec" +func (r *EventSourceMapping_FilterCriteria) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.FilterCriteria" } diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_soa.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_metricsconfig.go similarity index 66% rename from pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_soa.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_metricsconfig.go index 0e435030a5..cd14a8479d 100644 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_soa.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_metricsconfig.go @@ -1,4 +1,4 @@ -package servicediscovery +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// PublicDnsNamespace_SOA AWS CloudFormation Resource (AWS::ServiceDiscovery::PublicDnsNamespace.SOA) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-soa.html -type PublicDnsNamespace_SOA struct { +// EventSourceMapping_MetricsConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.MetricsConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-metricsconfig.html +type EventSourceMapping_MetricsConfig struct { - // TTL AWS CloudFormation Property + // Metrics AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-soa.html#cfn-servicediscovery-publicdnsnamespace-soa-ttl - TTL *types.Value `json:"TTL,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-metricsconfig.html#cfn-lambda-eventsourcemapping-metricsconfig-metrics + Metrics *types.Value `json:"Metrics,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type PublicDnsNamespace_SOA struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *PublicDnsNamespace_SOA) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PublicDnsNamespace.SOA" +func (r *EventSourceMapping_MetricsConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.MetricsConfig" } diff --git a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_tags.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_provisionedpollerconfig.go similarity index 59% rename from pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_tags.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_provisionedpollerconfig.go index 41c7edf12e..2dcea4eef2 100644 --- a/pkg/goformation/cloudformation/appconfig/aws-appconfig-configurationprofile_tags.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_provisionedpollerconfig.go @@ -1,4 +1,4 @@ -package appconfig +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ConfigurationProfile_Tags AWS CloudFormation Resource (AWS::AppConfig::ConfigurationProfile.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-tags.html -type ConfigurationProfile_Tags struct { +// EventSourceMapping_ProvisionedPollerConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-provisionedpollerconfig.html +type EventSourceMapping_ProvisionedPollerConfig struct { - // Key AWS CloudFormation Property + // MaximumPollers AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-tags.html#cfn-appconfig-configurationprofile-tags-key - Key *types.Value `json:"Key,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-provisionedpollerconfig.html#cfn-lambda-eventsourcemapping-provisionedpollerconfig-maximumpollers + MaximumPollers *types.Value `json:"MaximumPollers,omitempty"` - // Value AWS CloudFormation Property + // MinimumPollers AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-configurationprofile-tags.html#cfn-appconfig-configurationprofile-tags-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-provisionedpollerconfig.html#cfn-lambda-eventsourcemapping-provisionedpollerconfig-minimumpollers + MinimumPollers *types.Value `json:"MinimumPollers,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type ConfigurationProfile_Tags struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ConfigurationProfile_Tags) AWSCloudFormationType() string { - return "AWS::AppConfig::ConfigurationProfile.Tags" +func (r *EventSourceMapping_ProvisionedPollerConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig" } diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_endpointconfiguration.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_scalingconfig.go similarity index 65% rename from pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_endpointconfiguration.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_scalingconfig.go index 663c59e219..4b1ef13627 100644 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-domainname_endpointconfiguration.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_scalingconfig.go @@ -1,4 +1,4 @@ -package apigateway +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DomainName_EndpointConfiguration AWS CloudFormation Resource (AWS::ApiGateway::DomainName.EndpointConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-endpointconfiguration.html -type DomainName_EndpointConfiguration struct { +// EventSourceMapping_ScalingConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.ScalingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-scalingconfig.html +type EventSourceMapping_ScalingConfig struct { - // Types AWS CloudFormation Property + // MaximumConcurrency AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainname-endpointconfiguration.html#cfn-apigateway-domainname-endpointconfiguration-types - Types *types.Value `json:"Types,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-scalingconfig.html#cfn-lambda-eventsourcemapping-scalingconfig-maximumconcurrency + MaximumConcurrency *types.Value `json:"MaximumConcurrency,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type DomainName_EndpointConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DomainName_EndpointConfiguration) AWSCloudFormationType() string { - return "AWS::ApiGateway::DomainName.EndpointConfiguration" +func (r *EventSourceMapping_ScalingConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.ScalingConfig" } diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_constraintsresource.go b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_selfmanagedkafkaeventsourceconfig.go similarity index 61% rename from pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_constraintsresource.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_selfmanagedkafkaeventsourceconfig.go index ecfbca6e89..100ac619ec 100644 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_constraintsresource.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-eventsourcemapping_selfmanagedkafkaeventsourceconfig.go @@ -1,4 +1,4 @@ -package sagemaker +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ModelExplainabilityJobDefinition_ConstraintsResource AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-constraintsresource.html -type ModelExplainabilityJobDefinition_ConstraintsResource struct { +// EventSourceMapping_SelfManagedKafkaEventSourceConfig AWS CloudFormation Resource (AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html +type EventSourceMapping_SelfManagedKafkaEventSourceConfig struct { - // S3Uri AWS CloudFormation Property + // ConsumerGroupId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-constraintsresource.html#cfn-sagemaker-modelexplainabilityjobdefinition-constraintsresource-s3uri - S3Uri *types.Value `json:"S3Uri,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html#cfn-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig-consumergroupid + ConsumerGroupId *types.Value `json:"ConsumerGroupId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type ModelExplainabilityJobDefinition_ConstraintsResource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ModelExplainabilityJobDefinition_ConstraintsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource" +func (r *EventSourceMapping_SelfManagedKafkaEventSourceConfig) AWSCloudFormationType() string { + return "AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig" } diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-function.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function.go index 35d4d9130d..0e6b75a139 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-function.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function.go @@ -45,6 +45,11 @@ type Function struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-environment Environment *Function_Environment `json:"Environment,omitempty"` + // EphemeralStorage AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-ephemeralstorage + EphemeralStorage *Function_EphemeralStorage `json:"EphemeralStorage,omitempty"` + // FileSystemConfigs AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-filesystemconfigs @@ -75,6 +80,11 @@ type Function struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers Layers *types.Value `json:"Layers,omitempty"` + // LoggingConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-loggingconfig + LoggingConfig *Function_LoggingConfig `json:"LoggingConfig,omitempty"` + // MemorySize AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize @@ -85,6 +95,11 @@ type Function struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-packagetype PackageType *types.Value `json:"PackageType,omitempty"` + // RecursiveLoop AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-recursiveloop + RecursiveLoop *types.Value `json:"RecursiveLoop,omitempty"` + // ReservedConcurrentExecutions AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions @@ -100,6 +115,16 @@ type Function struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime Runtime *types.Value `json:"Runtime,omitempty"` + // RuntimeManagementConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtimemanagementconfig + RuntimeManagementConfig *Function_RuntimeManagementConfig `json:"RuntimeManagementConfig,omitempty"` + + // SnapStart AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-snapstart + SnapStart *Function_SnapStart `json:"SnapStart,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-function_code.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_code.go index d3b23c5003..c55ca3cdb4 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-function_code.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_code.go @@ -30,6 +30,11 @@ type Function_Code struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-s3objectversion S3ObjectVersion *types.Value `json:"S3ObjectVersion,omitempty"` + // SourceKMSKeyArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-sourcekmskeyarn + SourceKMSKeyArn *types.Value `json:"SourceKMSKeyArn,omitempty"` + // ZipFile AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-zipfile diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_putiteminput.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_ephemeralstorage.go similarity index 69% rename from pkg/goformation/cloudformation/iot/aws-iot-topicrule_putiteminput.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-function_ephemeralstorage.go index 428ead304e..fff156c71f 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_putiteminput.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_ephemeralstorage.go @@ -1,4 +1,4 @@ -package iot +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TopicRule_PutItemInput AWS CloudFormation Resource (AWS::IoT::TopicRule.PutItemInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putiteminput.html -type TopicRule_PutItemInput struct { +// Function_EphemeralStorage AWS CloudFormation Resource (AWS::Lambda::Function.EphemeralStorage) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html +type Function_EphemeralStorage struct { - // TableName AWS CloudFormation Property + // Size AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-putiteminput.html#cfn-iot-topicrule-putiteminput-tablename - TableName *types.Value `json:"TableName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-ephemeralstorage.html#cfn-lambda-function-ephemeralstorage-size + Size *types.Value `json:"Size"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type TopicRule_PutItemInput struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TopicRule_PutItemInput) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.PutItemInput" +func (r *Function_EphemeralStorage) AWSCloudFormationType() string { + return "AWS::Lambda::Function.EphemeralStorage" } diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_ingestendpoint.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_loggingconfig.go similarity index 55% rename from pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_ingestendpoint.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-function_loggingconfig.go index c6b7e3caa9..0563be1010 100644 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_ingestendpoint.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_loggingconfig.go @@ -1,4 +1,4 @@ -package mediapackage +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_IngestEndpoint AWS CloudFormation Resource (AWS::MediaPackage::Channel.IngestEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-ingestendpoint.html -type Channel_IngestEndpoint struct { +// Function_LoggingConfig AWS CloudFormation Resource (AWS::Lambda::Function.LoggingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html +type Function_LoggingConfig struct { - // Id AWS CloudFormation Property + // ApplicationLogLevel AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-ingestendpoint.html#cfn-mediapackage-channel-ingestendpoint-id - Id *types.Value `json:"Id,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html#cfn-lambda-function-loggingconfig-applicationloglevel + ApplicationLogLevel *types.Value `json:"ApplicationLogLevel,omitempty"` - // Password AWS CloudFormation Property + // LogFormat AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-ingestendpoint.html#cfn-mediapackage-channel-ingestendpoint-password - Password *types.Value `json:"Password,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html#cfn-lambda-function-loggingconfig-logformat + LogFormat *types.Value `json:"LogFormat,omitempty"` - // Url AWS CloudFormation Property + // LogGroup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-ingestendpoint.html#cfn-mediapackage-channel-ingestendpoint-url - Url *types.Value `json:"Url,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html#cfn-lambda-function-loggingconfig-loggroup + LogGroup *types.Value `json:"LogGroup,omitempty"` - // Username AWS CloudFormation Property + // SystemLogLevel AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-ingestendpoint.html#cfn-mediapackage-channel-ingestendpoint-username - Username *types.Value `json:"Username,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-loggingconfig.html#cfn-lambda-function-loggingconfig-systemloglevel + SystemLogLevel *types.Value `json:"SystemLogLevel,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Channel_IngestEndpoint struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_IngestEndpoint) AWSCloudFormationType() string { - return "AWS::MediaPackage::Channel.IngestEndpoint" +func (r *Function_LoggingConfig) AWSCloudFormationType() string { + return "AWS::Lambda::Function.LoggingConfig" } diff --git a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertytimestamp.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_runtimemanagementconfig.go similarity index 59% rename from pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertytimestamp.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-function_runtimemanagementconfig.go index 4fc7cfd13a..222ea68191 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-topicrule_assetpropertytimestamp.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_runtimemanagementconfig.go @@ -1,4 +1,4 @@ -package iot +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TopicRule_AssetPropertyTimestamp AWS CloudFormation Resource (AWS::IoT::TopicRule.AssetPropertyTimestamp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertytimestamp.html -type TopicRule_AssetPropertyTimestamp struct { +// Function_RuntimeManagementConfig AWS CloudFormation Resource (AWS::Lambda::Function.RuntimeManagementConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html +type Function_RuntimeManagementConfig struct { - // OffsetInNanos AWS CloudFormation Property + // RuntimeVersionArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertytimestamp.html#cfn-iot-topicrule-assetpropertytimestamp-offsetinnanos - OffsetInNanos *types.Value `json:"OffsetInNanos,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html#cfn-lambda-function-runtimemanagementconfig-runtimeversionarn + RuntimeVersionArn *types.Value `json:"RuntimeVersionArn,omitempty"` - // TimeInSeconds AWS CloudFormation Property + // UpdateRuntimeOn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-assetpropertytimestamp.html#cfn-iot-topicrule-assetpropertytimestamp-timeinseconds - TimeInSeconds *types.Value `json:"TimeInSeconds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-runtimemanagementconfig.html#cfn-lambda-function-runtimemanagementconfig-updateruntimeon + UpdateRuntimeOn *types.Value `json:"UpdateRuntimeOn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type TopicRule_AssetPropertyTimestamp struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TopicRule_AssetPropertyTimestamp) AWSCloudFormationType() string { - return "AWS::IoT::TopicRule.AssetPropertyTimestamp" +func (r *Function_RuntimeManagementConfig) AWSCloudFormationType() string { + return "AWS::Lambda::Function.RuntimeManagementConfig" } diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstart.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstart.go new file mode 100644 index 0000000000..c70d214fb2 --- /dev/null +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstart.go @@ -0,0 +1,37 @@ +package lambda + +import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" +) + +// Function_SnapStart AWS CloudFormation Resource (AWS::Lambda::Function.SnapStart) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstart.html +type Function_SnapStart struct { + + // ApplyOn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstart.html#cfn-lambda-function-snapstart-applyon + ApplyOn *types.Value `json:"ApplyOn,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 *Function_SnapStart) AWSCloudFormationType() string { + return "AWS::Lambda::Function.SnapStart" +} diff --git a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricdimension.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstartresponse.go similarity index 62% rename from pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricdimension.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstartresponse.go index 9df16cd343..9cefa539e6 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-securityprofile_metricdimension.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_snapstartresponse.go @@ -1,4 +1,4 @@ -package iot +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SecurityProfile_MetricDimension AWS CloudFormation Resource (AWS::IoT::SecurityProfile.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricdimension.html -type SecurityProfile_MetricDimension struct { +// Function_SnapStartResponse AWS CloudFormation Resource (AWS::Lambda::Function.SnapStartResponse) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html +type Function_SnapStartResponse struct { - // DimensionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricdimension.html#cfn-iot-securityprofile-metricdimension-dimensionname - DimensionName *types.Value `json:"DimensionName,omitempty"` + // ApplyOn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html#cfn-lambda-function-snapstartresponse-applyon + ApplyOn *types.Value `json:"ApplyOn,omitempty"` - // Operator AWS CloudFormation Property + // OptimizationStatus AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-securityprofile-metricdimension.html#cfn-iot-securityprofile-metricdimension-operator - Operator *types.Value `json:"Operator,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-snapstartresponse.html#cfn-lambda-function-snapstartresponse-optimizationstatus + OptimizationStatus *types.Value `json:"OptimizationStatus,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type SecurityProfile_MetricDimension struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SecurityProfile_MetricDimension) AWSCloudFormationType() string { - return "AWS::IoT::SecurityProfile.MetricDimension" +func (r *Function_SnapStartResponse) AWSCloudFormationType() string { + return "AWS::Lambda::Function.SnapStartResponse" } diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-function_vpcconfig.go b/pkg/goformation/cloudformation/lambda/aws-lambda-function_vpcconfig.go index fcafa54de9..de09e3f9cf 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-function_vpcconfig.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-function_vpcconfig.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html type Function_VpcConfig struct { + // Ipv6AllowedForDualStack AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-ipv6allowedfordualstack + Ipv6AllowedForDualStack *types.Value `json:"Ipv6AllowedForDualStack,omitempty"` + // SecurityGroupIds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-securitygroupids diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-permission.go b/pkg/goformation/cloudformation/lambda/aws-lambda-permission.go index 4177b673be..589a5cc421 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-permission.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-permission.go @@ -29,11 +29,21 @@ type Permission struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionname FunctionName *types.Value `json:"FunctionName,omitempty"` + // FunctionUrlAuthType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-functionurlauthtype + FunctionUrlAuthType *types.Value `json:"FunctionUrlAuthType,omitempty"` + // Principal AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principal Principal *types.Value `json:"Principal,omitempty"` + // PrincipalOrgID AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-principalorgid + PrincipalOrgID *types.Value `json:"PrincipalOrgID,omitempty"` + // SourceAccount AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html#cfn-lambda-permission-sourceaccount diff --git a/pkg/goformation/cloudformation/codebuild/aws-codebuild-sourcecredential.go b/pkg/goformation/cloudformation/lambda/aws-lambda-url.go similarity index 76% rename from pkg/goformation/cloudformation/codebuild/aws-codebuild-sourcecredential.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-url.go index 62c7cf8115..8b313ece48 100644 --- a/pkg/goformation/cloudformation/codebuild/aws-codebuild-sourcecredential.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-url.go @@ -1,4 +1,4 @@ -package codebuild +package lambda import ( "bytes" @@ -10,29 +10,34 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// SourceCredential AWS CloudFormation Resource (AWS::CodeBuild::SourceCredential) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html -type SourceCredential struct { +// Url AWS CloudFormation Resource (AWS::Lambda::Url) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html +type Url struct { // AuthType AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-authtype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-authtype AuthType *types.Value `json:"AuthType,omitempty"` - // ServerType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-servertype - ServerType *types.Value `json:"ServerType,omitempty"` + // Cors AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-cors + Cors *Url_Cors `json:"Cors,omitempty"` - // Token AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-token - Token *types.Value `json:"Token,omitempty"` + // InvokeMode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-invokemode + InvokeMode *types.Value `json:"InvokeMode,omitempty"` - // Username AWS CloudFormation Property + // Qualifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-username - Username *types.Value `json:"Username,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-qualifier + Qualifier *types.Value `json:"Qualifier,omitempty"` + + // TargetFunctionArn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-url.html#cfn-lambda-url-targetfunctionarn + TargetFunctionArn *types.Value `json:"TargetFunctionArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -51,14 +56,14 @@ type SourceCredential struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *SourceCredential) AWSCloudFormationType() string { - return "AWS::CodeBuild::SourceCredential" +func (r *Url) AWSCloudFormationType() string { + return "AWS::Lambda::Url" } // 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 (r SourceCredential) MarshalJSON() ([]byte, error) { - type Properties SourceCredential +func (r Url) MarshalJSON() ([]byte, error) { + type Properties Url return json.Marshal(&struct { Type string Properties Properties @@ -80,8 +85,8 @@ func (r SourceCredential) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SourceCredential) UnmarshalJSON(b []byte) error { - type Properties SourceCredential +func (r *Url) UnmarshalJSON(b []byte) error { + type Properties Url res := &struct { Type string Properties *Properties @@ -102,7 +107,7 @@ func (r *SourceCredential) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = SourceCredential(*res.Properties) + *r = Url(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_cors.go b/pkg/goformation/cloudformation/lambda/aws-lambda-url_cors.go similarity index 73% rename from pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_cors.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-url_cors.go index f6aeb99ad6..6c68c316f2 100644 --- a/pkg/goformation/cloudformation/apigatewayv2/aws-apigatewayv2-api_cors.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-url_cors.go @@ -1,4 +1,4 @@ -package apigatewayv2 +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,38 +6,38 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Api_Cors AWS CloudFormation Resource (AWS::ApiGatewayV2::Api.Cors) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html -type Api_Cors struct { +// Url_Cors AWS CloudFormation Resource (AWS::Lambda::Url.Cors) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html +type Url_Cors struct { // AllowCredentials AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-allowcredentials + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowcredentials AllowCredentials *types.Value `json:"AllowCredentials,omitempty"` // AllowHeaders AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-allowheaders + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowheaders AllowHeaders *types.Value `json:"AllowHeaders,omitempty"` // AllowMethods AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-allowmethods + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-allowmethods AllowMethods *types.Value `json:"AllowMethods,omitempty"` // AllowOrigins AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-alloworigins + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-alloworigins AllowOrigins *types.Value `json:"AllowOrigins,omitempty"` // ExposeHeaders AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-exposeheaders + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-exposeheaders ExposeHeaders *types.Value `json:"ExposeHeaders,omitempty"` // MaxAge AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-cors.html#cfn-apigatewayv2-api-cors-maxage + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-url-cors.html#cfn-lambda-url-cors-maxage MaxAge *types.Value `json:"MaxAge,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -57,6 +57,6 @@ type Api_Cors struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Api_Cors) AWSCloudFormationType() string { - return "AWS::ApiGatewayV2::Api.Cors" +func (r *Url_Cors) AWSCloudFormationType() string { + return "AWS::Lambda::Url.Cors" } diff --git a/pkg/goformation/cloudformation/lambda/aws-lambda-version.go b/pkg/goformation/cloudformation/lambda/aws-lambda-version.go index 8218a7c4e1..9b52608765 100644 --- a/pkg/goformation/cloudformation/lambda/aws-lambda-version.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-version.go @@ -34,6 +34,11 @@ type Version struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-provisionedconcurrencyconfig ProvisionedConcurrencyConfig *Version_ProvisionedConcurrencyConfiguration `json:"ProvisionedConcurrencyConfig,omitempty"` + // RuntimePolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-runtimepolicy + RuntimePolicy *Version_RuntimePolicy `json:"RuntimePolicy,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventsource.go b/pkg/goformation/cloudformation/lambda/aws-lambda-version_runtimepolicy.go similarity index 64% rename from pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventsource.go rename to pkg/goformation/cloudformation/lambda/aws-lambda-version_runtimepolicy.go index 34bda7a425..64124c7290 100644 --- a/pkg/goformation/cloudformation/dlm/aws-dlm-lifecyclepolicy_eventsource.go +++ b/pkg/goformation/cloudformation/lambda/aws-lambda-version_runtimepolicy.go @@ -1,4 +1,4 @@ -package dlm +package lambda import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LifecyclePolicy_EventSource AWS CloudFormation Resource (AWS::DLM::LifecyclePolicy.EventSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html -type LifecyclePolicy_EventSource struct { +// Version_RuntimePolicy AWS CloudFormation Resource (AWS::Lambda::Version.RuntimePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-runtimepolicy.html +type Version_RuntimePolicy struct { - // Parameters AWS CloudFormation Property + // RuntimeVersionArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-parameters - Parameters *LifecyclePolicy_EventParameters `json:"Parameters,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-runtimepolicy.html#cfn-lambda-version-runtimepolicy-runtimeversionarn + RuntimeVersionArn *types.Value `json:"RuntimeVersionArn,omitempty"` - // Type AWS CloudFormation Property + // UpdateRuntimeOn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html#cfn-dlm-lifecyclepolicy-eventsource-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-runtimepolicy.html#cfn-lambda-version-runtimepolicy-updateruntimeon + UpdateRuntimeOn *types.Value `json:"UpdateRuntimeOn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type LifecyclePolicy_EventSource struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LifecyclePolicy_EventSource) AWSCloudFormationType() string { - return "AWS::DLM::LifecyclePolicy.EventSource" +func (r *Version_RuntimePolicy) AWSCloudFormationType() string { + return "AWS::Lambda::Version.RuntimePolicy" } diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-grant.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-grant.go deleted file mode 100644 index 1596c8f130..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-grant.go +++ /dev/null @@ -1,133 +0,0 @@ -package licensemanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Grant AWS CloudFormation Resource (AWS::LicenseManager::Grant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html -type Grant struct { - - // AllowedOperations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-allowedoperations - AllowedOperations *types.Value `json:"AllowedOperations,omitempty"` - - // GrantName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-grantname - GrantName *types.Value `json:"GrantName,omitempty"` - - // HomeRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-homeregion - HomeRegion *types.Value `json:"HomeRegion,omitempty"` - - // LicenseArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-licensearn - LicenseArn *types.Value `json:"LicenseArn,omitempty"` - - // Principals AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-principals - Principals *types.Value `json:"Principals,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html#cfn-licensemanager-grant-status - Status *types.Value `json:"Status,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 *Grant) AWSCloudFormationType() string { - return "AWS::LicenseManager::Grant" -} - -// 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 (r Grant) MarshalJSON() ([]byte, error) { - type Properties Grant - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Grant) UnmarshalJSON(b []byte) error { - type Properties Grant - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Grant(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license.go deleted file mode 100644 index 37787ba59d..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license.go +++ /dev/null @@ -1,158 +0,0 @@ -package licensemanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License AWS CloudFormation Resource (AWS::LicenseManager::License) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html -type License struct { - - // Beneficiary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-beneficiary - Beneficiary *types.Value `json:"Beneficiary,omitempty"` - - // ConsumptionConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-consumptionconfiguration - ConsumptionConfiguration *License_ConsumptionConfiguration `json:"ConsumptionConfiguration,omitempty"` - - // Entitlements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-entitlements - Entitlements []License_Entitlement `json:"Entitlements,omitempty"` - - // HomeRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-homeregion - HomeRegion *types.Value `json:"HomeRegion,omitempty"` - - // Issuer AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-issuer - Issuer *License_IssuerData `json:"Issuer,omitempty"` - - // LicenseMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-licensemetadata - LicenseMetadata []License_Metadata `json:"LicenseMetadata,omitempty"` - - // LicenseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-licensename - LicenseName *types.Value `json:"LicenseName,omitempty"` - - // ProductName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-productname - ProductName *types.Value `json:"ProductName,omitempty"` - - // ProductSKU AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-productsku - ProductSKU *types.Value `json:"ProductSKU,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-status - Status *types.Value `json:"Status,omitempty"` - - // Validity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-license.html#cfn-licensemanager-license-validity - Validity *License_ValidityDateFormat `json:"Validity,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 *License) AWSCloudFormationType() string { - return "AWS::LicenseManager::License" -} - -// 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 (r License) MarshalJSON() ([]byte, error) { - type Properties License - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *License) UnmarshalJSON(b []byte) error { - type Properties License - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = License(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_borrowconfiguration.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_borrowconfiguration.go deleted file mode 100644 index 07c32f16b2..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_borrowconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_BorrowConfiguration AWS CloudFormation Resource (AWS::LicenseManager::License.BorrowConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-borrowconfiguration.html -type License_BorrowConfiguration struct { - - // AllowEarlyCheckIn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-borrowconfiguration.html#cfn-licensemanager-license-borrowconfiguration-allowearlycheckin - AllowEarlyCheckIn *types.Value `json:"AllowEarlyCheckIn"` - - // MaxTimeToLiveInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-borrowconfiguration.html#cfn-licensemanager-license-borrowconfiguration-maxtimetoliveinminutes - MaxTimeToLiveInMinutes *types.Value `json:"MaxTimeToLiveInMinutes"` - - // 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 *License_BorrowConfiguration) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.BorrowConfiguration" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_consumptionconfiguration.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_consumptionconfiguration.go deleted file mode 100644 index fc9d065b8e..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_consumptionconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_ConsumptionConfiguration AWS CloudFormation Resource (AWS::LicenseManager::License.ConsumptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html -type License_ConsumptionConfiguration struct { - - // BorrowConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html#cfn-licensemanager-license-consumptionconfiguration-borrowconfiguration - BorrowConfiguration *License_BorrowConfiguration `json:"BorrowConfiguration,omitempty"` - - // ProvisionalConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html#cfn-licensemanager-license-consumptionconfiguration-provisionalconfiguration - ProvisionalConfiguration *License_ProvisionalConfiguration `json:"ProvisionalConfiguration,omitempty"` - - // RenewType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-consumptionconfiguration.html#cfn-licensemanager-license-consumptionconfiguration-renewtype - RenewType *types.Value `json:"RenewType,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 *License_ConsumptionConfiguration) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.ConsumptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_entitlement.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_entitlement.go deleted file mode 100644 index 51996a2426..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_entitlement.go +++ /dev/null @@ -1,62 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_Entitlement AWS CloudFormation Resource (AWS::LicenseManager::License.Entitlement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html -type License_Entitlement struct { - - // AllowCheckIn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-allowcheckin - AllowCheckIn *types.Value `json:"AllowCheckIn,omitempty"` - - // MaxCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-maxcount - MaxCount *types.Value `json:"MaxCount,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-name - Name *types.Value `json:"Name,omitempty"` - - // Overage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-overage - Overage *types.Value `json:"Overage,omitempty"` - - // Unit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-unit - Unit *types.Value `json:"Unit,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-entitlement.html#cfn-licensemanager-license-entitlement-value - Value *types.Value `json:"Value,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 *License_Entitlement) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.Entitlement" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_issuerdata.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_issuerdata.go deleted file mode 100644 index a85b07f70c..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_issuerdata.go +++ /dev/null @@ -1,42 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_IssuerData AWS CloudFormation Resource (AWS::LicenseManager::License.IssuerData) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-issuerdata.html -type License_IssuerData struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-issuerdata.html#cfn-licensemanager-license-issuerdata-name - Name *types.Value `json:"Name,omitempty"` - - // SignKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-issuerdata.html#cfn-licensemanager-license-issuerdata-signkey - SignKey *types.Value `json:"SignKey,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 *License_IssuerData) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.IssuerData" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_metadata.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_metadata.go deleted file mode 100644 index ad18a7887d..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_metadata.go +++ /dev/null @@ -1,42 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_Metadata AWS CloudFormation Resource (AWS::LicenseManager::License.Metadata) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-metadata.html -type License_Metadata struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-metadata.html#cfn-licensemanager-license-metadata-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-metadata.html#cfn-licensemanager-license-metadata-value - Value *types.Value `json:"Value,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 *License_Metadata) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.Metadata" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_provisionalconfiguration.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_provisionalconfiguration.go deleted file mode 100644 index 7dbd86fe00..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_provisionalconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_ProvisionalConfiguration AWS CloudFormation Resource (AWS::LicenseManager::License.ProvisionalConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-provisionalconfiguration.html -type License_ProvisionalConfiguration struct { - - // MaxTimeToLiveInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-provisionalconfiguration.html#cfn-licensemanager-license-provisionalconfiguration-maxtimetoliveinminutes - MaxTimeToLiveInMinutes *types.Value `json:"MaxTimeToLiveInMinutes"` - - // 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 *License_ProvisionalConfiguration) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.ProvisionalConfiguration" -} diff --git a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_validitydateformat.go b/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_validitydateformat.go deleted file mode 100644 index 9dd0d4705c..0000000000 --- a/pkg/goformation/cloudformation/licensemanager/aws-licensemanager-license_validitydateformat.go +++ /dev/null @@ -1,42 +0,0 @@ -package licensemanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// License_ValidityDateFormat AWS CloudFormation Resource (AWS::LicenseManager::License.ValidityDateFormat) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-validitydateformat.html -type License_ValidityDateFormat struct { - - // Begin AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-validitydateformat.html#cfn-licensemanager-license-validitydateformat-begin - Begin *types.Value `json:"Begin,omitempty"` - - // End AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-licensemanager-license-validitydateformat.html#cfn-licensemanager-license-validitydateformat-end - End *types.Value `json:"End,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 *License_ValidityDateFormat) AWSCloudFormationType() string { - return "AWS::LicenseManager::License.ValidityDateFormat" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-database.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-database.go deleted file mode 100644 index 971c421c4e..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-database.go +++ /dev/null @@ -1,179 +0,0 @@ -package lightsail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database AWS CloudFormation Resource (AWS::Lightsail::Database) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html -type Database struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // BackupRetention AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-backupretention - BackupRetention *types.Value `json:"BackupRetention,omitempty"` - - // CaCertificateIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-cacertificateidentifier - CaCertificateIdentifier *types.Value `json:"CaCertificateIdentifier,omitempty"` - - // MasterDatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-masterdatabasename - MasterDatabaseName *types.Value `json:"MasterDatabaseName,omitempty"` - - // MasterUserPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-masteruserpassword - MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` - - // MasterUsername AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-masterusername - MasterUsername *types.Value `json:"MasterUsername,omitempty"` - - // PreferredBackupWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-preferredbackupwindow - PreferredBackupWindow *types.Value `json:"PreferredBackupWindow,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // PubliclyAccessible AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-publiclyaccessible - PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` - - // RelationalDatabaseBlueprintId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-relationaldatabaseblueprintid - RelationalDatabaseBlueprintId *types.Value `json:"RelationalDatabaseBlueprintId,omitempty"` - - // RelationalDatabaseBundleId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-relationaldatabasebundleid - RelationalDatabaseBundleId *types.Value `json:"RelationalDatabaseBundleId,omitempty"` - - // RelationalDatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-relationaldatabasename - RelationalDatabaseName *types.Value `json:"RelationalDatabaseName,omitempty"` - - // RelationalDatabaseParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-relationaldatabaseparameters - RelationalDatabaseParameters []Database_RelationalDatabaseParameter `json:"RelationalDatabaseParameters,omitempty"` - - // RotateMasterUserPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-rotatemasteruserpassword - RotateMasterUserPassword *types.Value `json:"RotateMasterUserPassword,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-database.html#cfn-lightsail-database-tags - Tags []cloudformation.Tag `json:"Tags,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 *Database) AWSCloudFormationType() string { - return "AWS::Lightsail::Database" -} - -// 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 (r Database) MarshalJSON() ([]byte, error) { - type Properties Database - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Database) UnmarshalJSON(b []byte) error { - type Properties Database - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Database(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-database_relationaldatabaseparameter.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-database_relationaldatabaseparameter.go deleted file mode 100644 index 2c3b424644..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-database_relationaldatabaseparameter.go +++ /dev/null @@ -1,72 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database_RelationalDatabaseParameter AWS CloudFormation Resource (AWS::Lightsail::Database.RelationalDatabaseParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html -type Database_RelationalDatabaseParameter struct { - - // AllowedValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-allowedvalues - AllowedValues *types.Value `json:"AllowedValues,omitempty"` - - // ApplyMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-applymethod - ApplyMethod *types.Value `json:"ApplyMethod,omitempty"` - - // ApplyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-applytype - ApplyType *types.Value `json:"ApplyType,omitempty"` - - // DataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-description - Description *types.Value `json:"Description,omitempty"` - - // IsModifiable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-ismodifiable - IsModifiable *types.Value `json:"IsModifiable,omitempty"` - - // ParameterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-database-relationaldatabaseparameter.html#cfn-lightsail-database-relationaldatabaseparameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *Database_RelationalDatabaseParameter) AWSCloudFormationType() string { - return "AWS::Lightsail::Database.RelationalDatabaseParameter" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk.go deleted file mode 100644 index 312d7d5bd9..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk.go +++ /dev/null @@ -1,129 +0,0 @@ -package lightsail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Disk AWS CloudFormation Resource (AWS::Lightsail::Disk) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html -type Disk struct { - - // AddOns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html#cfn-lightsail-disk-addons - AddOns []Disk_AddOn `json:"AddOns,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html#cfn-lightsail-disk-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // DiskName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html#cfn-lightsail-disk-diskname - DiskName *types.Value `json:"DiskName,omitempty"` - - // SizeInGb AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html#cfn-lightsail-disk-sizeingb - SizeInGb *types.Value `json:"SizeInGb"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disk.html#cfn-lightsail-disk-tags - Tags []cloudformation.Tag `json:"Tags,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 *Disk) AWSCloudFormationType() string { - return "AWS::Lightsail::Disk" -} - -// 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 (r Disk) MarshalJSON() ([]byte, error) { - type Properties Disk - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Disk) UnmarshalJSON(b []byte) error { - type Properties Disk - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Disk(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_addon.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_addon.go deleted file mode 100644 index 0bab505af6..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_addon.go +++ /dev/null @@ -1,47 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Disk_AddOn AWS CloudFormation Resource (AWS::Lightsail::Disk.AddOn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html -type Disk_AddOn struct { - - // AddOnType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-addontype - AddOnType *types.Value `json:"AddOnType,omitempty"` - - // AutoSnapshotAddOnRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-autosnapshotaddonrequest - AutoSnapshotAddOnRequest *Disk_AutoSnapshotAddOn `json:"AutoSnapshotAddOnRequest,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-status - Status *types.Value `json:"Status,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 *Disk_AddOn) AWSCloudFormationType() string { - return "AWS::Lightsail::Disk.AddOn" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_autosnapshotaddon.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_autosnapshotaddon.go deleted file mode 100644 index 21cc0c463b..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-disk_autosnapshotaddon.go +++ /dev/null @@ -1,37 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Disk_AutoSnapshotAddOn AWS CloudFormation Resource (AWS::Lightsail::Disk.AutoSnapshotAddOn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-autosnapshotaddon.html -type Disk_AutoSnapshotAddOn struct { - - // SnapshotTimeOfDay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-autosnapshotaddon.html#cfn-lightsail-disk-autosnapshotaddon-snapshottimeofday - SnapshotTimeOfDay *types.Value `json:"SnapshotTimeOfDay,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 *Disk_AutoSnapshotAddOn) AWSCloudFormationType() string { - return "AWS::Lightsail::Disk.AutoSnapshotAddOn" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance.go deleted file mode 100644 index 5bc84f6650..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance.go +++ /dev/null @@ -1,154 +0,0 @@ -package lightsail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance AWS CloudFormation Resource (AWS::Lightsail::Instance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html -type Instance struct { - - // AddOns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-addons - AddOns []Instance_AddOn `json:"AddOns,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // BlueprintId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-blueprintid - BlueprintId *types.Value `json:"BlueprintId,omitempty"` - - // BundleId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // Hardware AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-hardware - Hardware *Instance_Hardware `json:"Hardware,omitempty"` - - // InstanceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-instancename - InstanceName *types.Value `json:"InstanceName,omitempty"` - - // KeyPairName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-keypairname - KeyPairName *types.Value `json:"KeyPairName,omitempty"` - - // Networking AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-networking - Networking *Instance_Networking `json:"Networking,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instance.html#cfn-lightsail-instance-userdata - UserData *types.Value `json:"UserData,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 *Instance) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance" -} - -// 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 (r Instance) MarshalJSON() ([]byte, error) { - type Properties Instance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Instance) UnmarshalJSON(b []byte) error { - type Properties Instance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Instance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_addon.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_addon.go deleted file mode 100644 index 568fd6437f..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_addon.go +++ /dev/null @@ -1,47 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_AddOn AWS CloudFormation Resource (AWS::Lightsail::Instance.AddOn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-addon.html -type Instance_AddOn struct { - - // AddOnType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-addon.html#cfn-lightsail-instance-addon-addontype - AddOnType *types.Value `json:"AddOnType,omitempty"` - - // AutoSnapshotAddOnRequest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-addon.html#cfn-lightsail-instance-addon-autosnapshotaddonrequest - AutoSnapshotAddOnRequest *Instance_AutoSnapshotAddOn `json:"AutoSnapshotAddOnRequest,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-addon.html#cfn-lightsail-instance-addon-status - Status *types.Value `json:"Status,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 *Instance_AddOn) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.AddOn" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_autosnapshotaddon.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_autosnapshotaddon.go deleted file mode 100644 index 4814c42ee3..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_autosnapshotaddon.go +++ /dev/null @@ -1,37 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_AutoSnapshotAddOn AWS CloudFormation Resource (AWS::Lightsail::Instance.AutoSnapshotAddOn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-autosnapshotaddon.html -type Instance_AutoSnapshotAddOn struct { - - // SnapshotTimeOfDay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-autosnapshotaddon.html#cfn-lightsail-instance-autosnapshotaddon-snapshottimeofday - SnapshotTimeOfDay *types.Value `json:"SnapshotTimeOfDay,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 *Instance_AutoSnapshotAddOn) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.AutoSnapshotAddOn" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_disk.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_disk.go deleted file mode 100644 index d79aa94d20..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_disk.go +++ /dev/null @@ -1,67 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_Disk AWS CloudFormation Resource (AWS::Lightsail::Instance.Disk) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html -type Instance_Disk struct { - - // AttachedTo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachedto - AttachedTo *types.Value `json:"AttachedTo,omitempty"` - - // AttachmentState AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachmentstate - AttachmentState *types.Value `json:"AttachmentState,omitempty"` - - // DiskName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-diskname - DiskName *types.Value `json:"DiskName,omitempty"` - - // IOPS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-iops - IOPS *types.Value `json:"IOPS,omitempty"` - - // IsSystemDisk AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-issystemdisk - IsSystemDisk *types.Value `json:"IsSystemDisk,omitempty"` - - // Path AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-path - Path *types.Value `json:"Path,omitempty"` - - // SizeInGb AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-sizeingb - SizeInGb *types.Value `json:"SizeInGb,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 *Instance_Disk) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.Disk" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_hardware.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_hardware.go deleted file mode 100644 index b4191b9260..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_hardware.go +++ /dev/null @@ -1,47 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_Hardware AWS CloudFormation Resource (AWS::Lightsail::Instance.Hardware) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-hardware.html -type Instance_Hardware struct { - - // CpuCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-hardware.html#cfn-lightsail-instance-hardware-cpucount - CpuCount *types.Value `json:"CpuCount,omitempty"` - - // Disks AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-hardware.html#cfn-lightsail-instance-hardware-disks - Disks []Instance_Disk `json:"Disks,omitempty"` - - // RamSizeInGb AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-hardware.html#cfn-lightsail-instance-hardware-ramsizeingb - RamSizeInGb *types.Value `json:"RamSizeInGb,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 *Instance_Hardware) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.Hardware" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_location.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_location.go deleted file mode 100644 index 7f72ffbd3f..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_location.go +++ /dev/null @@ -1,42 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_Location AWS CloudFormation Resource (AWS::Lightsail::Instance.Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-location.html -type Instance_Location struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-location.html#cfn-lightsail-instance-location-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // RegionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-location.html#cfn-lightsail-instance-location-regionname - RegionName *types.Value `json:"RegionName,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 *Instance_Location) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.Location" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_monthlytransfer.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_monthlytransfer.go deleted file mode 100644 index 7651582026..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_monthlytransfer.go +++ /dev/null @@ -1,37 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_MonthlyTransfer AWS CloudFormation Resource (AWS::Lightsail::Instance.MonthlyTransfer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-monthlytransfer.html -type Instance_MonthlyTransfer struct { - - // GbPerMonthAllocated AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-monthlytransfer.html#cfn-lightsail-instance-monthlytransfer-gbpermonthallocated - GbPerMonthAllocated *types.Value `json:"GbPerMonthAllocated,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 *Instance_MonthlyTransfer) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.MonthlyTransfer" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_networking.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_networking.go deleted file mode 100644 index 402a6891cf..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_networking.go +++ /dev/null @@ -1,40 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_Networking AWS CloudFormation Resource (AWS::Lightsail::Instance.Networking) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-networking.html -type Instance_Networking struct { - - // MonthlyTransfer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-networking.html#cfn-lightsail-instance-networking-monthlytransfer - MonthlyTransfer *Instance_MonthlyTransfer `json:"MonthlyTransfer,omitempty"` - - // Ports AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-networking.html#cfn-lightsail-instance-networking-ports - Ports []Instance_Port `json:"Ports,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 *Instance_Networking) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.Networking" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_port.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_port.go deleted file mode 100644 index aeff67e1ec..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-instance_port.go +++ /dev/null @@ -1,82 +0,0 @@ -package lightsail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_Port AWS CloudFormation Resource (AWS::Lightsail::Instance.Port) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html -type Instance_Port struct { - - // AccessDirection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-accessdirection - AccessDirection *types.Value `json:"AccessDirection,omitempty"` - - // AccessFrom AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-accessfrom - AccessFrom *types.Value `json:"AccessFrom,omitempty"` - - // AccessType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-accesstype - AccessType *types.Value `json:"AccessType,omitempty"` - - // CidrListAliases AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-cidrlistaliases - CidrListAliases *types.Value `json:"CidrListAliases,omitempty"` - - // Cidrs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-cidrs - Cidrs *types.Value `json:"Cidrs,omitempty"` - - // CommonName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-commonname - CommonName *types.Value `json:"CommonName,omitempty"` - - // FromPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-fromport - FromPort *types.Value `json:"FromPort,omitempty"` - - // Ipv6Cidrs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-ipv6cidrs - Ipv6Cidrs *types.Value `json:"Ipv6Cidrs,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // ToPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-port.html#cfn-lightsail-instance-port-toport - ToPort *types.Value `json:"ToPort,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 *Instance_Port) AWSCloudFormationType() string { - return "AWS::Lightsail::Instance.Port" -} diff --git a/pkg/goformation/cloudformation/lightsail/aws-lightsail-staticip.go b/pkg/goformation/cloudformation/lightsail/aws-lightsail-staticip.go deleted file mode 100644 index e9814e5716..0000000000 --- a/pkg/goformation/cloudformation/lightsail/aws-lightsail-staticip.go +++ /dev/null @@ -1,113 +0,0 @@ -package lightsail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StaticIp AWS CloudFormation Resource (AWS::Lightsail::StaticIp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html -type StaticIp struct { - - // AttachedTo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-attachedto - AttachedTo *types.Value `json:"AttachedTo,omitempty"` - - // StaticIpName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-staticipname - StaticIpName *types.Value `json:"StaticIpName,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 *StaticIp) AWSCloudFormationType() string { - return "AWS::Lightsail::StaticIp" -} - -// 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 (r StaticIp) MarshalJSON() ([]byte, error) { - type Properties StaticIp - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StaticIp) UnmarshalJSON(b []byte) error { - type Properties StaticIp - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StaticIp(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/location/aws-location-geofencecollection.go b/pkg/goformation/cloudformation/location/aws-location-geofencecollection.go deleted file mode 100644 index 82ae938424..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-geofencecollection.go +++ /dev/null @@ -1,128 +0,0 @@ -package location - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GeofenceCollection AWS CloudFormation Resource (AWS::Location::GeofenceCollection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html -type GeofenceCollection struct { - - // CollectionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-collectionname - CollectionName *types.Value `json:"CollectionName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-description - Description *types.Value `json:"Description,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // PricingPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplan - PricingPlan *types.Value `json:"PricingPlan,omitempty"` - - // PricingPlanDataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource - PricingPlanDataSource *types.Value `json:"PricingPlanDataSource,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 *GeofenceCollection) AWSCloudFormationType() string { - return "AWS::Location::GeofenceCollection" -} - -// 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 (r GeofenceCollection) MarshalJSON() ([]byte, error) { - type Properties GeofenceCollection - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GeofenceCollection) UnmarshalJSON(b []byte) error { - type Properties GeofenceCollection - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GeofenceCollection(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/location/aws-location-map_mapconfiguration.go b/pkg/goformation/cloudformation/location/aws-location-map_mapconfiguration.go deleted file mode 100644 index c922e7c080..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-map_mapconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package location - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Map_MapConfiguration AWS CloudFormation Resource (AWS::Location::Map.MapConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html -type Map_MapConfiguration struct { - - // Style AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html#cfn-location-map-mapconfiguration-style - Style *types.Value `json:"Style,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 *Map_MapConfiguration) AWSCloudFormationType() string { - return "AWS::Location::Map.MapConfiguration" -} diff --git a/pkg/goformation/cloudformation/location/aws-location-placeindex.go b/pkg/goformation/cloudformation/location/aws-location-placeindex.go deleted file mode 100644 index 7d924d91f6..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-placeindex.go +++ /dev/null @@ -1,128 +0,0 @@ -package location - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PlaceIndex AWS CloudFormation Resource (AWS::Location::PlaceIndex) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html -type PlaceIndex struct { - - // DataSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-datasource - DataSource *types.Value `json:"DataSource,omitempty"` - - // DataSourceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-datasourceconfiguration - DataSourceConfiguration *PlaceIndex_DataSourceConfiguration `json:"DataSourceConfiguration,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-description - Description *types.Value `json:"Description,omitempty"` - - // IndexName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-indexname - IndexName *types.Value `json:"IndexName,omitempty"` - - // PricingPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-pricingplan - PricingPlan *types.Value `json:"PricingPlan,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 *PlaceIndex) AWSCloudFormationType() string { - return "AWS::Location::PlaceIndex" -} - -// 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 (r PlaceIndex) MarshalJSON() ([]byte, error) { - type Properties PlaceIndex - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PlaceIndex) UnmarshalJSON(b []byte) error { - type Properties PlaceIndex - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PlaceIndex(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/location/aws-location-placeindex_datasourceconfiguration.go b/pkg/goformation/cloudformation/location/aws-location-placeindex_datasourceconfiguration.go deleted file mode 100644 index 4f1101fc97..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-placeindex_datasourceconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package location - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PlaceIndex_DataSourceConfiguration AWS CloudFormation Resource (AWS::Location::PlaceIndex.DataSourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-placeindex-datasourceconfiguration.html -type PlaceIndex_DataSourceConfiguration struct { - - // IntendedUse AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-placeindex-datasourceconfiguration.html#cfn-location-placeindex-datasourceconfiguration-intendeduse - IntendedUse *types.Value `json:"IntendedUse,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 *PlaceIndex_DataSourceConfiguration) AWSCloudFormationType() string { - return "AWS::Location::PlaceIndex.DataSourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/location/aws-location-routecalculator.go b/pkg/goformation/cloudformation/location/aws-location-routecalculator.go deleted file mode 100644 index 945d48b2d2..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-routecalculator.go +++ /dev/null @@ -1,123 +0,0 @@ -package location - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RouteCalculator AWS CloudFormation Resource (AWS::Location::RouteCalculator) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html -type RouteCalculator struct { - - // CalculatorName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-calculatorname - CalculatorName *types.Value `json:"CalculatorName,omitempty"` - - // DataSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-datasource - DataSource *types.Value `json:"DataSource,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-description - Description *types.Value `json:"Description,omitempty"` - - // PricingPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-pricingplan - PricingPlan *types.Value `json:"PricingPlan,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 *RouteCalculator) AWSCloudFormationType() string { - return "AWS::Location::RouteCalculator" -} - -// 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 (r RouteCalculator) MarshalJSON() ([]byte, error) { - type Properties RouteCalculator - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RouteCalculator) UnmarshalJSON(b []byte) error { - type Properties RouteCalculator - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RouteCalculator(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/location/aws-location-tracker.go b/pkg/goformation/cloudformation/location/aws-location-tracker.go deleted file mode 100644 index 4e518d778a..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-tracker.go +++ /dev/null @@ -1,133 +0,0 @@ -package location - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Tracker AWS CloudFormation Resource (AWS::Location::Tracker) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html -type Tracker struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-description - Description *types.Value `json:"Description,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // PositionFiltering AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-positionfiltering - PositionFiltering *types.Value `json:"PositionFiltering,omitempty"` - - // PricingPlan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-pricingplan - PricingPlan *types.Value `json:"PricingPlan,omitempty"` - - // PricingPlanDataSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-pricingplandatasource - PricingPlanDataSource *types.Value `json:"PricingPlanDataSource,omitempty"` - - // TrackerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-trackername - TrackerName *types.Value `json:"TrackerName,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 *Tracker) AWSCloudFormationType() string { - return "AWS::Location::Tracker" -} - -// 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 (r Tracker) MarshalJSON() ([]byte, error) { - type Properties Tracker - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Tracker) UnmarshalJSON(b []byte) error { - type Properties Tracker - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Tracker(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/location/aws-location-trackerconsumer.go b/pkg/goformation/cloudformation/location/aws-location-trackerconsumer.go deleted file mode 100644 index f76c6561de..0000000000 --- a/pkg/goformation/cloudformation/location/aws-location-trackerconsumer.go +++ /dev/null @@ -1,113 +0,0 @@ -package location - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TrackerConsumer AWS CloudFormation Resource (AWS::Location::TrackerConsumer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-trackerconsumer.html -type TrackerConsumer struct { - - // ConsumerArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-trackerconsumer.html#cfn-location-trackerconsumer-consumerarn - ConsumerArn *types.Value `json:"ConsumerArn,omitempty"` - - // TrackerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-trackerconsumer.html#cfn-location-trackerconsumer-trackername - TrackerName *types.Value `json:"TrackerName,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 *TrackerConsumer) AWSCloudFormationType() string { - return "AWS::Location::TrackerConsumer" -} - -// 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 (r TrackerConsumer) MarshalJSON() ([]byte, error) { - type Properties TrackerConsumer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TrackerConsumer) UnmarshalJSON(b []byte) error { - type Properties TrackerConsumer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TrackerConsumer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-destination.go b/pkg/goformation/cloudformation/logs/aws-logs-destination.go deleted file mode 100644 index f12632095c..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-destination.go +++ /dev/null @@ -1,123 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Destination AWS CloudFormation Resource (AWS::Logs::Destination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html -type Destination struct { - - // DestinationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationname - DestinationName *types.Value `json:"DestinationName,omitempty"` - - // DestinationPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationpolicy - DestinationPolicy *types.Value `json:"DestinationPolicy,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TargetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-targetarn - TargetArn *types.Value `json:"TargetArn,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 *Destination) AWSCloudFormationType() string { - return "AWS::Logs::Destination" -} - -// 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 (r Destination) MarshalJSON() ([]byte, error) { - type Properties Destination - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Destination) UnmarshalJSON(b []byte) error { - type Properties Destination - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Destination(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-loggroup.go b/pkg/goformation/cloudformation/logs/aws-logs-loggroup.go deleted file mode 100644 index 02bac3d9fa..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-loggroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LogGroup AWS CloudFormation Resource (AWS::Logs::LogGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html -type LogGroup struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-logs-loggroup-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-logs-loggroup-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // RetentionInDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-logs-loggroup-retentionindays - RetentionInDays *types.Value `json:"RetentionInDays,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#cfn-logs-loggroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *LogGroup) AWSCloudFormationType() string { - return "AWS::Logs::LogGroup" -} - -// 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 (r LogGroup) MarshalJSON() ([]byte, error) { - type Properties LogGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LogGroup) UnmarshalJSON(b []byte) error { - type Properties LogGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LogGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-logstream.go b/pkg/goformation/cloudformation/logs/aws-logs-logstream.go deleted file mode 100644 index 97c5a765ed..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-logstream.go +++ /dev/null @@ -1,113 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LogStream AWS CloudFormation Resource (AWS::Logs::LogStream) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html -type LogStream struct { - - // LogGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // LogStreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-logstreamname - LogStreamName *types.Value `json:"LogStreamName,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 *LogStream) AWSCloudFormationType() string { - return "AWS::Logs::LogStream" -} - -// 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 (r LogStream) MarshalJSON() ([]byte, error) { - type Properties LogStream - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LogStream) UnmarshalJSON(b []byte) error { - type Properties LogStream - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LogStream(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-metricfilter.go b/pkg/goformation/cloudformation/logs/aws-logs-metricfilter.go deleted file mode 100644 index e9ec8bb652..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-metricfilter.go +++ /dev/null @@ -1,118 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MetricFilter AWS CloudFormation Resource (AWS::Logs::MetricFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html -type MetricFilter struct { - - // FilterPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-filterpattern - FilterPattern *types.Value `json:"FilterPattern,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // MetricTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html#cfn-cwl-metricfilter-metrictransformations - MetricTransformations []MetricFilter_MetricTransformation `json:"MetricTransformations,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 *MetricFilter) AWSCloudFormationType() string { - return "AWS::Logs::MetricFilter" -} - -// 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 (r MetricFilter) MarshalJSON() ([]byte, error) { - type Properties MetricFilter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MetricFilter) UnmarshalJSON(b []byte) error { - type Properties MetricFilter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MetricFilter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-metricfilter_metrictransformation.go b/pkg/goformation/cloudformation/logs/aws-logs-metricfilter_metrictransformation.go deleted file mode 100644 index 5d923d5b34..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-metricfilter_metrictransformation.go +++ /dev/null @@ -1,52 +0,0 @@ -package logs - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MetricFilter_MetricTransformation AWS CloudFormation Resource (AWS::Logs::MetricFilter.MetricTransformation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html -type MetricFilter_MetricTransformation struct { - - // DefaultValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-defaultvalue - DefaultValue *types.Value `json:"DefaultValue,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // MetricNamespace AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricnamespace - MetricNamespace *types.Value `json:"MetricNamespace,omitempty"` - - // MetricValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricvalue - MetricValue *types.Value `json:"MetricValue,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 *MetricFilter_MetricTransformation) AWSCloudFormationType() string { - return "AWS::Logs::MetricFilter.MetricTransformation" -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-querydefinition.go b/pkg/goformation/cloudformation/logs/aws-logs-querydefinition.go deleted file mode 100644 index 082ff70990..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-querydefinition.go +++ /dev/null @@ -1,118 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// QueryDefinition AWS CloudFormation Resource (AWS::Logs::QueryDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html -type QueryDefinition struct { - - // LogGroupNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-loggroupnames - LogGroupNames *types.Value `json:"LogGroupNames,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-name - Name *types.Value `json:"Name,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-querydefinition.html#cfn-logs-querydefinition-querystring - QueryString *types.Value `json:"QueryString,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 *QueryDefinition) AWSCloudFormationType() string { - return "AWS::Logs::QueryDefinition" -} - -// 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 (r QueryDefinition) MarshalJSON() ([]byte, error) { - type Properties QueryDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *QueryDefinition) UnmarshalJSON(b []byte) error { - type Properties QueryDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = QueryDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/logs/aws-logs-subscriptionfilter.go b/pkg/goformation/cloudformation/logs/aws-logs-subscriptionfilter.go deleted file mode 100644 index fdeb46ce6e..0000000000 --- a/pkg/goformation/cloudformation/logs/aws-logs-subscriptionfilter.go +++ /dev/null @@ -1,123 +0,0 @@ -package logs - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubscriptionFilter AWS CloudFormation Resource (AWS::Logs::SubscriptionFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html -type SubscriptionFilter struct { - - // DestinationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // FilterPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-filterpattern - FilterPattern *types.Value `json:"FilterPattern,omitempty"` - - // LogGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-loggroupname - LogGroupName *types.Value `json:"LogGroupName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html#cfn-cwl-subscriptionfilter-rolearn - RoleArn *types.Value `json:"RoleArn,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 *SubscriptionFilter) AWSCloudFormationType() string { - return "AWS::Logs::SubscriptionFilter" -} - -// 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 (r SubscriptionFilter) MarshalJSON() ([]byte, error) { - type Properties SubscriptionFilter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubscriptionFilter) UnmarshalJSON(b []byte) error { - type Properties SubscriptionFilter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubscriptionFilter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lookoutequipment/aws-lookoutequipment-inferencescheduler.go b/pkg/goformation/cloudformation/lookoutequipment/aws-lookoutequipment-inferencescheduler.go deleted file mode 100644 index 08c793fad9..0000000000 --- a/pkg/goformation/cloudformation/lookoutequipment/aws-lookoutequipment-inferencescheduler.go +++ /dev/null @@ -1,149 +0,0 @@ -package lookoutequipment - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InferenceScheduler AWS CloudFormation Resource (AWS::LookoutEquipment::InferenceScheduler) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html -type InferenceScheduler struct { - - // DataDelayOffsetInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-datadelayoffsetinminutes - DataDelayOffsetInMinutes *types.Value `json:"DataDelayOffsetInMinutes,omitempty"` - - // DataInputConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-datainputconfiguration - DataInputConfiguration interface{} `json:"DataInputConfiguration,omitempty"` - - // DataOutputConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-dataoutputconfiguration - DataOutputConfiguration interface{} `json:"DataOutputConfiguration,omitempty"` - - // DataUploadFrequency AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-datauploadfrequency - DataUploadFrequency *types.Value `json:"DataUploadFrequency,omitempty"` - - // InferenceSchedulerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-inferenceschedulername - InferenceSchedulerName *types.Value `json:"InferenceSchedulerName,omitempty"` - - // ModelName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-modelname - ModelName *types.Value `json:"ModelName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // ServerSideKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-serversidekmskeyid - ServerSideKmsKeyId *types.Value `json:"ServerSideKmsKeyId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutequipment-inferencescheduler.html#cfn-lookoutequipment-inferencescheduler-tags - Tags []cloudformation.Tag `json:"Tags,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 *InferenceScheduler) AWSCloudFormationType() string { - return "AWS::LookoutEquipment::InferenceScheduler" -} - -// 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 (r InferenceScheduler) MarshalJSON() ([]byte, error) { - type Properties InferenceScheduler - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InferenceScheduler) UnmarshalJSON(b []byte) error { - type Properties InferenceScheduler - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InferenceScheduler(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_action.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_action.go deleted file mode 100644 index 730ec03908..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_action.go +++ /dev/null @@ -1,40 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Alert_Action AWS CloudFormation Resource (AWS::LookoutMetrics::Alert.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-action.html -type Alert_Action struct { - - // LambdaConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-action.html#cfn-lookoutmetrics-alert-action-lambdaconfiguration - LambdaConfiguration *Alert_LambdaConfiguration `json:"LambdaConfiguration,omitempty"` - - // SNSConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-action.html#cfn-lookoutmetrics-alert-action-snsconfiguration - SNSConfiguration *Alert_SNSConfiguration `json:"SNSConfiguration,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 *Alert_Action) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::Alert.Action" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_lambdaconfiguration.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_lambdaconfiguration.go deleted file mode 100644 index 1ce6d9fd34..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_lambdaconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Alert_LambdaConfiguration AWS CloudFormation Resource (AWS::LookoutMetrics::Alert.LambdaConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-lambdaconfiguration.html -type Alert_LambdaConfiguration struct { - - // LambdaArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-lambdaconfiguration.html#cfn-lookoutmetrics-alert-lambdaconfiguration-lambdaarn - LambdaArn *types.Value `json:"LambdaArn,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-lambdaconfiguration.html#cfn-lookoutmetrics-alert-lambdaconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,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 *Alert_LambdaConfiguration) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::Alert.LambdaConfiguration" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_snsconfiguration.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_snsconfiguration.go deleted file mode 100644 index b2b70ad99f..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-alert_snsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Alert_SNSConfiguration AWS CloudFormation Resource (AWS::LookoutMetrics::Alert.SNSConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-snsconfiguration.html -type Alert_SNSConfiguration struct { - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-snsconfiguration.html#cfn-lookoutmetrics-alert-snsconfiguration-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SnsTopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-alert-snsconfiguration.html#cfn-lookoutmetrics-alert-snsconfiguration-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,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 *Alert_SNSConfiguration) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::Alert.SNSConfiguration" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector.go deleted file mode 100644 index 55ede812a7..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector.go +++ /dev/null @@ -1,128 +0,0 @@ -package lookoutmetrics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html -type AnomalyDetector struct { - - // AnomalyDetectorConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectorconfig - AnomalyDetectorConfig *AnomalyDetector_AnomalyDetectorConfig `json:"AnomalyDetectorConfig,omitempty"` - - // AnomalyDetectorDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectordescription - AnomalyDetectorDescription *types.Value `json:"AnomalyDetectorDescription,omitempty"` - - // AnomalyDetectorName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-anomalydetectorname - AnomalyDetectorName *types.Value `json:"AnomalyDetectorName,omitempty"` - - // KmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-kmskeyarn - KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` - - // MetricSetList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-anomalydetector.html#cfn-lookoutmetrics-anomalydetector-metricsetlist - MetricSetList []AnomalyDetector_MetricSet `json:"MetricSetList,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 *AnomalyDetector) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector" -} - -// 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 (r AnomalyDetector) MarshalJSON() ([]byte, error) { - type Properties AnomalyDetector - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AnomalyDetector) UnmarshalJSON(b []byte) error { - type Properties AnomalyDetector - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AnomalyDetector(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_anomalydetectorconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_anomalydetectorconfig.go deleted file mode 100644 index e621de8b61..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_anomalydetectorconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_AnomalyDetectorConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-anomalydetectorconfig.html -type AnomalyDetector_AnomalyDetectorConfig struct { - - // AnomalyDetectorFrequency AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-anomalydetectorconfig.html#cfn-lookoutmetrics-anomalydetector-anomalydetectorconfig-anomalydetectorfrequency - AnomalyDetectorFrequency *types.Value `json:"AnomalyDetectorFrequency,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 *AnomalyDetector_AnomalyDetectorConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_appflowconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_appflowconfig.go deleted file mode 100644 index 2c79e98009..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_appflowconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_AppFlowConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html -type AnomalyDetector_AppFlowConfig struct { - - // FlowName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html#cfn-lookoutmetrics-anomalydetector-appflowconfig-flowname - FlowName *types.Value `json:"FlowName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-appflowconfig.html#cfn-lookoutmetrics-anomalydetector-appflowconfig-rolearn - RoleArn *types.Value `json:"RoleArn,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 *AnomalyDetector_AppFlowConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_cloudwatchconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_cloudwatchconfig.go deleted file mode 100644 index d33447a347..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_cloudwatchconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_CloudwatchConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-cloudwatchconfig.html -type AnomalyDetector_CloudwatchConfig struct { - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-cloudwatchconfig.html#cfn-lookoutmetrics-anomalydetector-cloudwatchconfig-rolearn - RoleArn *types.Value `json:"RoleArn,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 *AnomalyDetector_CloudwatchConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_csvformatdescriptor.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_csvformatdescriptor.go deleted file mode 100644 index c659e85580..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_csvformatdescriptor.go +++ /dev/null @@ -1,62 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_CsvFormatDescriptor AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html -type AnomalyDetector_CsvFormatDescriptor struct { - - // Charset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-charset - Charset *types.Value `json:"Charset,omitempty"` - - // ContainsHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-containsheader - ContainsHeader *types.Value `json:"ContainsHeader,omitempty"` - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-delimiter - Delimiter *types.Value `json:"Delimiter,omitempty"` - - // FileCompression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-filecompression - FileCompression *types.Value `json:"FileCompression,omitempty"` - - // HeaderList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-headerlist - HeaderList *types.Value `json:"HeaderList,omitempty"` - - // QuoteSymbol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-csvformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-csvformatdescriptor-quotesymbol - QuoteSymbol *types.Value `json:"QuoteSymbol,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 *AnomalyDetector_CsvFormatDescriptor) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_fileformatdescriptor.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_fileformatdescriptor.go deleted file mode 100644 index 474530b26d..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_fileformatdescriptor.go +++ /dev/null @@ -1,40 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_FileFormatDescriptor AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html -type AnomalyDetector_FileFormatDescriptor struct { - - // CsvFormatDescriptor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-fileformatdescriptor-csvformatdescriptor - CsvFormatDescriptor *AnomalyDetector_CsvFormatDescriptor `json:"CsvFormatDescriptor,omitempty"` - - // JsonFormatDescriptor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-fileformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-fileformatdescriptor-jsonformatdescriptor - JsonFormatDescriptor *AnomalyDetector_JsonFormatDescriptor `json:"JsonFormatDescriptor,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 *AnomalyDetector_FileFormatDescriptor) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_jsonformatdescriptor.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_jsonformatdescriptor.go deleted file mode 100644 index 0fcea29d0f..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_jsonformatdescriptor.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_JsonFormatDescriptor AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html -type AnomalyDetector_JsonFormatDescriptor struct { - - // Charset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-jsonformatdescriptor-charset - Charset *types.Value `json:"Charset,omitempty"` - - // FileCompression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-jsonformatdescriptor.html#cfn-lookoutmetrics-anomalydetector-jsonformatdescriptor-filecompression - FileCompression *types.Value `json:"FileCompression,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 *AnomalyDetector_JsonFormatDescriptor) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricset.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricset.go deleted file mode 100644 index 3a9be442d4..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricset.go +++ /dev/null @@ -1,77 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_MetricSet AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.MetricSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html -type AnomalyDetector_MetricSet struct { - - // DimensionList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-dimensionlist - DimensionList *types.Value `json:"DimensionList,omitempty"` - - // MetricList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metriclist - MetricList []AnomalyDetector_Metric `json:"MetricList,omitempty"` - - // MetricSetDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetdescription - MetricSetDescription *types.Value `json:"MetricSetDescription,omitempty"` - - // MetricSetFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetfrequency - MetricSetFrequency *types.Value `json:"MetricSetFrequency,omitempty"` - - // MetricSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsetname - MetricSetName *types.Value `json:"MetricSetName,omitempty"` - - // MetricSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-metricsource - MetricSource *AnomalyDetector_MetricSource `json:"MetricSource,omitempty"` - - // Offset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-offset - Offset *types.Value `json:"Offset,omitempty"` - - // TimestampColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-timestampcolumn - TimestampColumn *AnomalyDetector_TimestampColumn `json:"TimestampColumn,omitempty"` - - // Timezone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricset.html#cfn-lookoutmetrics-anomalydetector-metricset-timezone - Timezone *types.Value `json:"Timezone,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 *AnomalyDetector_MetricSet) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.MetricSet" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricsource.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricsource.go deleted file mode 100644 index 12d332bed9..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_metricsource.go +++ /dev/null @@ -1,55 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_MetricSource AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.MetricSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html -type AnomalyDetector_MetricSource struct { - - // AppFlowConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-appflowconfig - AppFlowConfig *AnomalyDetector_AppFlowConfig `json:"AppFlowConfig,omitempty"` - - // CloudwatchConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-cloudwatchconfig - CloudwatchConfig *AnomalyDetector_CloudwatchConfig `json:"CloudwatchConfig,omitempty"` - - // RDSSourceConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-rdssourceconfig - RDSSourceConfig *AnomalyDetector_RDSSourceConfig `json:"RDSSourceConfig,omitempty"` - - // RedshiftSourceConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-redshiftsourceconfig - RedshiftSourceConfig *AnomalyDetector_RedshiftSourceConfig `json:"RedshiftSourceConfig,omitempty"` - - // S3SourceConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-metricsource.html#cfn-lookoutmetrics-anomalydetector-metricsource-s3sourceconfig - S3SourceConfig *AnomalyDetector_S3SourceConfig `json:"S3SourceConfig,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 *AnomalyDetector_MetricSource) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.MetricSource" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_rdssourceconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_rdssourceconfig.go deleted file mode 100644 index a234bea4be..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_rdssourceconfig.go +++ /dev/null @@ -1,72 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_RDSSourceConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html -type AnomalyDetector_RDSSourceConfig struct { - - // DBInstanceIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-dbinstanceidentifier - DBInstanceIdentifier *types.Value `json:"DBInstanceIdentifier,omitempty"` - - // DatabaseHost AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databasehost - DatabaseHost *types.Value `json:"DatabaseHost,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DatabasePort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-databaseport - DatabasePort *types.Value `json:"DatabasePort"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretManagerArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-secretmanagerarn - SecretManagerArn *types.Value `json:"SecretManagerArn,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-rdssourceconfig.html#cfn-lookoutmetrics-anomalydetector-rdssourceconfig-vpcconfiguration - VpcConfiguration *AnomalyDetector_VpcConfiguration `json:"VpcConfiguration,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 *AnomalyDetector_RDSSourceConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_redshiftsourceconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_redshiftsourceconfig.go deleted file mode 100644 index 0dfb3d1a8c..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_redshiftsourceconfig.go +++ /dev/null @@ -1,72 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_RedshiftSourceConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html -type AnomalyDetector_RedshiftSourceConfig struct { - - // ClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,omitempty"` - - // DatabaseHost AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databasehost - DatabaseHost *types.Value `json:"DatabaseHost,omitempty"` - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DatabasePort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-databaseport - DatabasePort *types.Value `json:"DatabasePort"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretManagerArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-secretmanagerarn - SecretManagerArn *types.Value `json:"SecretManagerArn,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-redshiftsourceconfig.html#cfn-lookoutmetrics-anomalydetector-redshiftsourceconfig-vpcconfiguration - VpcConfiguration *AnomalyDetector_VpcConfiguration `json:"VpcConfiguration,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 *AnomalyDetector_RedshiftSourceConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_s3sourceconfig.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_s3sourceconfig.go deleted file mode 100644 index 2c231c77e6..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_s3sourceconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_S3SourceConfig AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html -type AnomalyDetector_S3SourceConfig struct { - - // FileFormatDescriptor AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-fileformatdescriptor - FileFormatDescriptor *AnomalyDetector_FileFormatDescriptor `json:"FileFormatDescriptor,omitempty"` - - // HistoricalDataPathList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-historicaldatapathlist - HistoricalDataPathList *types.Value `json:"HistoricalDataPathList,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TemplatedPathList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-s3sourceconfig.html#cfn-lookoutmetrics-anomalydetector-s3sourceconfig-templatedpathlist - TemplatedPathList *types.Value `json:"TemplatedPathList,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 *AnomalyDetector_S3SourceConfig) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_timestampcolumn.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_timestampcolumn.go deleted file mode 100644 index 90e9a2a327..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_timestampcolumn.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_TimestampColumn AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.TimestampColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html -type AnomalyDetector_TimestampColumn struct { - - // ColumnFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html#cfn-lookoutmetrics-anomalydetector-timestampcolumn-columnformat - ColumnFormat *types.Value `json:"ColumnFormat,omitempty"` - - // ColumnName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-timestampcolumn.html#cfn-lookoutmetrics-anomalydetector-timestampcolumn-columnname - ColumnName *types.Value `json:"ColumnName,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 *AnomalyDetector_TimestampColumn) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.TimestampColumn" -} diff --git a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_vpcconfiguration.go b/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_vpcconfiguration.go deleted file mode 100644 index a538ff489a..0000000000 --- a/pkg/goformation/cloudformation/lookoutmetrics/aws-lookoutmetrics-anomalydetector_vpcconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package lookoutmetrics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AnomalyDetector_VpcConfiguration AWS CloudFormation Resource (AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html -type AnomalyDetector_VpcConfiguration struct { - - // SecurityGroupIdList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html#cfn-lookoutmetrics-anomalydetector-vpcconfiguration-securitygroupidlist - SecurityGroupIdList *types.Value `json:"SecurityGroupIdList,omitempty"` - - // SubnetIdList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lookoutmetrics-anomalydetector-vpcconfiguration.html#cfn-lookoutmetrics-anomalydetector-vpcconfiguration-subnetidlist - SubnetIdList *types.Value `json:"SubnetIdList,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 *AnomalyDetector_VpcConfiguration) AWSCloudFormationType() string { - return "AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/lookoutvision/aws-lookoutvision-project.go b/pkg/goformation/cloudformation/lookoutvision/aws-lookoutvision-project.go deleted file mode 100644 index b9a4eb1dba..0000000000 --- a/pkg/goformation/cloudformation/lookoutvision/aws-lookoutvision-project.go +++ /dev/null @@ -1,108 +0,0 @@ -package lookoutvision - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::LookoutVision::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutvision-project.html -type Project struct { - - // ProjectName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutvision-project.html#cfn-lookoutvision-project-projectname - ProjectName *types.Value `json:"ProjectName,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 *Project) AWSCloudFormationType() string { - return "AWS::LookoutVision::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/macie/aws-macie-customdataidentifier.go b/pkg/goformation/cloudformation/macie/aws-macie-customdataidentifier.go deleted file mode 100644 index 1622294be1..0000000000 --- a/pkg/goformation/cloudformation/macie/aws-macie-customdataidentifier.go +++ /dev/null @@ -1,133 +0,0 @@ -package macie - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomDataIdentifier AWS CloudFormation Resource (AWS::Macie::CustomDataIdentifier) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html -type CustomDataIdentifier struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-description - Description *types.Value `json:"Description,omitempty"` - - // IgnoreWords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-ignorewords - IgnoreWords *types.Value `json:"IgnoreWords,omitempty"` - - // Keywords AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-keywords - Keywords *types.Value `json:"Keywords,omitempty"` - - // MaximumMatchDistance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-maximummatchdistance - MaximumMatchDistance *types.Value `json:"MaximumMatchDistance,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-name - Name *types.Value `json:"Name,omitempty"` - - // Regex AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-customdataidentifier.html#cfn-macie-customdataidentifier-regex - Regex *types.Value `json:"Regex,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 *CustomDataIdentifier) AWSCloudFormationType() string { - return "AWS::Macie::CustomDataIdentifier" -} - -// 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 (r CustomDataIdentifier) MarshalJSON() ([]byte, error) { - type Properties CustomDataIdentifier - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CustomDataIdentifier) UnmarshalJSON(b []byte) error { - type Properties CustomDataIdentifier - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CustomDataIdentifier(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter.go b/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter.go deleted file mode 100644 index ba0659b974..0000000000 --- a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter.go +++ /dev/null @@ -1,128 +0,0 @@ -package macie - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FindingsFilter AWS CloudFormation Resource (AWS::Macie::FindingsFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html -type FindingsFilter struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-action - Action *types.Value `json:"Action,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-description - Description *types.Value `json:"Description,omitempty"` - - // FindingCriteria AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-findingcriteria - FindingCriteria *FindingsFilter_FindingCriteria `json:"FindingCriteria,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-name - Name *types.Value `json:"Name,omitempty"` - - // Position AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-findingsfilter.html#cfn-macie-findingsfilter-position - Position *types.Value `json:"Position,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 *FindingsFilter) AWSCloudFormationType() string { - return "AWS::Macie::FindingsFilter" -} - -// 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 (r FindingsFilter) MarshalJSON() ([]byte, error) { - type Properties FindingsFilter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FindingsFilter) UnmarshalJSON(b []byte) error { - type Properties FindingsFilter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FindingsFilter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_criterion.go b/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_criterion.go deleted file mode 100644 index 3c4e4dc30a..0000000000 --- a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_criterion.go +++ /dev/null @@ -1,30 +0,0 @@ -package macie - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FindingsFilter_Criterion AWS CloudFormation Resource (AWS::Macie::FindingsFilter.Criterion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-criterion.html -type FindingsFilter_Criterion struct { - - // 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 *FindingsFilter_Criterion) AWSCloudFormationType() string { - return "AWS::Macie::FindingsFilter.Criterion" -} diff --git a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingcriteria.go b/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingcriteria.go deleted file mode 100644 index 8ed3149b66..0000000000 --- a/pkg/goformation/cloudformation/macie/aws-macie-findingsfilter_findingcriteria.go +++ /dev/null @@ -1,35 +0,0 @@ -package macie - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FindingsFilter_FindingCriteria AWS CloudFormation Resource (AWS::Macie::FindingsFilter.FindingCriteria) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-findingcriteria.html -type FindingsFilter_FindingCriteria struct { - - // Criterion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-macie-findingsfilter-findingcriteria.html#cfn-macie-findingsfilter-findingcriteria-criterion - Criterion *FindingsFilter_Criterion `json:"Criterion,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 *FindingsFilter_FindingCriteria) AWSCloudFormationType() string { - return "AWS::Macie::FindingsFilter.FindingCriteria" -} diff --git a/pkg/goformation/cloudformation/macie/aws-macie-session.go b/pkg/goformation/cloudformation/macie/aws-macie-session.go deleted file mode 100644 index bceae74edc..0000000000 --- a/pkg/goformation/cloudformation/macie/aws-macie-session.go +++ /dev/null @@ -1,113 +0,0 @@ -package macie - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Session AWS CloudFormation Resource (AWS::Macie::Session) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-session.html -type Session struct { - - // FindingPublishingFrequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-session.html#cfn-macie-session-findingpublishingfrequency - FindingPublishingFrequency *types.Value `json:"FindingPublishingFrequency,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-session.html#cfn-macie-session-status - Status *types.Value `json:"Status,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 *Session) AWSCloudFormationType() string { - return "AWS::Macie::Session" -} - -// 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 (r Session) MarshalJSON() ([]byte, error) { - type Properties Session - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Session) UnmarshalJSON(b []byte) error { - type Properties Session - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Session(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member.go deleted file mode 100644 index d648e07e65..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member.go +++ /dev/null @@ -1,123 +0,0 @@ -package managedblockchain - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member AWS CloudFormation Resource (AWS::ManagedBlockchain::Member) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html -type Member struct { - - // InvitationId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-invitationid - InvitationId *types.Value `json:"InvitationId,omitempty"` - - // MemberConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-memberconfiguration - MemberConfiguration *Member_MemberConfiguration `json:"MemberConfiguration,omitempty"` - - // NetworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-networkconfiguration - NetworkConfiguration *Member_NetworkConfiguration `json:"NetworkConfiguration,omitempty"` - - // NetworkId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-networkid - NetworkId *types.Value `json:"NetworkId,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 *Member) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member" -} - -// 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 (r Member) MarshalJSON() ([]byte, error) { - type Properties Member - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Member) UnmarshalJSON(b []byte) error { - type Properties Member - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Member(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_approvalthresholdpolicy.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_approvalthresholdpolicy.go deleted file mode 100644 index 70feea871b..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_approvalthresholdpolicy.go +++ /dev/null @@ -1,47 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_ApprovalThresholdPolicy AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-approvalthresholdpolicy.html -type Member_ApprovalThresholdPolicy struct { - - // ProposalDurationInHours AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-approvalthresholdpolicy.html#cfn-managedblockchain-member-approvalthresholdpolicy-proposaldurationinhours - ProposalDurationInHours *types.Value `json:"ProposalDurationInHours,omitempty"` - - // ThresholdComparator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-approvalthresholdpolicy.html#cfn-managedblockchain-member-approvalthresholdpolicy-thresholdcomparator - ThresholdComparator *types.Value `json:"ThresholdComparator,omitempty"` - - // ThresholdPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-approvalthresholdpolicy.html#cfn-managedblockchain-member-approvalthresholdpolicy-thresholdpercentage - ThresholdPercentage *types.Value `json:"ThresholdPercentage,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 *Member_ApprovalThresholdPolicy) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberconfiguration.go deleted file mode 100644 index 5cdc859161..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_MemberConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.MemberConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberconfiguration.html -type Member_MemberConfiguration struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberconfiguration.html#cfn-managedblockchain-member-memberconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // MemberFrameworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberconfiguration.html#cfn-managedblockchain-member-memberconfiguration-memberframeworkconfiguration - MemberFrameworkConfiguration *Member_MemberFrameworkConfiguration `json:"MemberFrameworkConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberconfiguration.html#cfn-managedblockchain-member-memberconfiguration-name - Name *types.Value `json:"Name,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 *Member_MemberConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.MemberConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberfabricconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberfabricconfiguration.go deleted file mode 100644 index 8dffd8bbe0..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberfabricconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_MemberFabricConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.MemberFabricConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberfabricconfiguration.html -type Member_MemberFabricConfiguration struct { - - // AdminPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberfabricconfiguration.html#cfn-managedblockchain-member-memberfabricconfiguration-adminpassword - AdminPassword *types.Value `json:"AdminPassword,omitempty"` - - // AdminUsername AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberfabricconfiguration.html#cfn-managedblockchain-member-memberfabricconfiguration-adminusername - AdminUsername *types.Value `json:"AdminUsername,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 *Member_MemberFabricConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.MemberFabricConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberframeworkconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberframeworkconfiguration.go deleted file mode 100644 index fb35171157..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_memberframeworkconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_MemberFrameworkConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberframeworkconfiguration.html -type Member_MemberFrameworkConfiguration struct { - - // MemberFabricConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-memberframeworkconfiguration.html#cfn-managedblockchain-member-memberframeworkconfiguration-memberfabricconfiguration - MemberFabricConfiguration *Member_MemberFabricConfiguration `json:"MemberFabricConfiguration,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 *Member_MemberFrameworkConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkconfiguration.go deleted file mode 100644 index 0a10c16d51..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_NetworkConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.NetworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html -type Member_NetworkConfiguration struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-description - Description *types.Value `json:"Description,omitempty"` - - // Framework AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-framework - Framework *types.Value `json:"Framework,omitempty"` - - // FrameworkVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-frameworkversion - FrameworkVersion *types.Value `json:"FrameworkVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-name - Name *types.Value `json:"Name,omitempty"` - - // NetworkFrameworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-networkframeworkconfiguration - NetworkFrameworkConfiguration *Member_NetworkFrameworkConfiguration `json:"NetworkFrameworkConfiguration,omitempty"` - - // VotingPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkconfiguration.html#cfn-managedblockchain-member-networkconfiguration-votingpolicy - VotingPolicy *Member_VotingPolicy `json:"VotingPolicy,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 *Member_NetworkConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.NetworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkfabricconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkfabricconfiguration.go deleted file mode 100644 index fbb99882e3..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkfabricconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_NetworkFabricConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.NetworkFabricConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkfabricconfiguration.html -type Member_NetworkFabricConfiguration struct { - - // Edition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkfabricconfiguration.html#cfn-managedblockchain-member-networkfabricconfiguration-edition - Edition *types.Value `json:"Edition,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 *Member_NetworkFabricConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.NetworkFabricConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkframeworkconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkframeworkconfiguration.go deleted file mode 100644 index 14cfeaa529..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_networkframeworkconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_NetworkFrameworkConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkframeworkconfiguration.html -type Member_NetworkFrameworkConfiguration struct { - - // NetworkFabricConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-networkframeworkconfiguration.html#cfn-managedblockchain-member-networkframeworkconfiguration-networkfabricconfiguration - NetworkFabricConfiguration *Member_NetworkFabricConfiguration `json:"NetworkFabricConfiguration,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 *Member_NetworkFrameworkConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_votingpolicy.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_votingpolicy.go deleted file mode 100644 index 08f5664178..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-member_votingpolicy.go +++ /dev/null @@ -1,35 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Member_VotingPolicy AWS CloudFormation Resource (AWS::ManagedBlockchain::Member.VotingPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-votingpolicy.html -type Member_VotingPolicy struct { - - // ApprovalThresholdPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-member-votingpolicy.html#cfn-managedblockchain-member-votingpolicy-approvalthresholdpolicy - ApprovalThresholdPolicy *Member_ApprovalThresholdPolicy `json:"ApprovalThresholdPolicy,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 *Member_VotingPolicy) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Member.VotingPolicy" -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node.go deleted file mode 100644 index 0a09f05d3f..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node.go +++ /dev/null @@ -1,118 +0,0 @@ -package managedblockchain - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Node AWS CloudFormation Resource (AWS::ManagedBlockchain::Node) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html -type Node struct { - - // MemberId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-memberid - MemberId *types.Value `json:"MemberId,omitempty"` - - // NetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-networkid - NetworkId *types.Value `json:"NetworkId,omitempty"` - - // NodeConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-node.html#cfn-managedblockchain-node-nodeconfiguration - NodeConfiguration *Node_NodeConfiguration `json:"NodeConfiguration,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 *Node) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Node" -} - -// 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 (r Node) MarshalJSON() ([]byte, error) { - type Properties Node - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Node) UnmarshalJSON(b []byte) error { - type Properties Node - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Node(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node_nodeconfiguration.go b/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node_nodeconfiguration.go deleted file mode 100644 index d3bc5ff156..0000000000 --- a/pkg/goformation/cloudformation/managedblockchain/aws-managedblockchain-node_nodeconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package managedblockchain - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Node_NodeConfiguration AWS CloudFormation Resource (AWS::ManagedBlockchain::Node.NodeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-node-nodeconfiguration.html -type Node_NodeConfiguration struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-node-nodeconfiguration.html#cfn-managedblockchain-node-nodeconfiguration-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-managedblockchain-node-nodeconfiguration.html#cfn-managedblockchain-node-nodeconfiguration-instancetype - InstanceType *types.Value `json:"InstanceType,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 *Node_NodeConfiguration) AWSCloudFormationType() string { - return "AWS::ManagedBlockchain::Node.NodeConfiguration" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow.go deleted file mode 100644 index 5f39db0137..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow.go +++ /dev/null @@ -1,123 +0,0 @@ -package mediaconnect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow AWS CloudFormation Resource (AWS::MediaConnect::Flow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html -type Flow struct { - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-name - Name *types.Value `json:"Name,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-source - Source *Flow_Source `json:"Source,omitempty"` - - // SourceFailoverConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-sourcefailoverconfig - SourceFailoverConfig *Flow_FailoverConfig `json:"SourceFailoverConfig,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 *Flow) AWSCloudFormationType() string { - return "AWS::MediaConnect::Flow" -} - -// 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 (r Flow) MarshalJSON() ([]byte, error) { - type Properties Flow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Flow) UnmarshalJSON(b []byte) error { - type Properties Flow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Flow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_encryption.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_encryption.go deleted file mode 100644 index 60953b3063..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_encryption.go +++ /dev/null @@ -1,77 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_Encryption AWS CloudFormation Resource (AWS::MediaConnect::Flow.Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html -type Flow_Encryption struct { - - // Algorithm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-algorithm - Algorithm *types.Value `json:"Algorithm,omitempty"` - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // DeviceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-keytype - KeyType *types.Value `json:"KeyType,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-region - Region *types.Value `json:"Region,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-encryption.html#cfn-mediaconnect-flow-encryption-url - Url *types.Value `json:"Url,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 *Flow_Encryption) AWSCloudFormationType() string { - return "AWS::MediaConnect::Flow.Encryption" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_failoverconfig.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_failoverconfig.go deleted file mode 100644 index 91a55e19f0..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_failoverconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_FailoverConfig AWS CloudFormation Resource (AWS::MediaConnect::Flow.FailoverConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-failoverconfig.html -type Flow_FailoverConfig struct { - - // RecoveryWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-failoverconfig.html#cfn-mediaconnect-flow-failoverconfig-recoverywindow - RecoveryWindow *types.Value `json:"RecoveryWindow,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-failoverconfig.html#cfn-mediaconnect-flow-failoverconfig-state - State *types.Value `json:"State,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 *Flow_FailoverConfig) AWSCloudFormationType() string { - return "AWS::MediaConnect::Flow.FailoverConfig" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_source.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_source.go deleted file mode 100644 index 6abd1f01ea..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flow_source.go +++ /dev/null @@ -1,107 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Flow_Source AWS CloudFormation Resource (AWS::MediaConnect::Flow.Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html -type Flow_Source struct { - - // Decryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-decryption - Decryption *Flow_Encryption `json:"Decryption,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-description - Description *types.Value `json:"Description,omitempty"` - - // EntitlementArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-entitlementarn - EntitlementArn *types.Value `json:"EntitlementArn,omitempty"` - - // IngestIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-ingestip - IngestIp *types.Value `json:"IngestIp,omitempty"` - - // IngestPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-ingestport - IngestPort *types.Value `json:"IngestPort,omitempty"` - - // MaxBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-maxbitrate - MaxBitrate *types.Value `json:"MaxBitrate,omitempty"` - - // MaxLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-maxlatency - MaxLatency *types.Value `json:"MaxLatency,omitempty"` - - // MinLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-minlatency - MinLatency *types.Value `json:"MinLatency,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-name - Name *types.Value `json:"Name,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // SourceArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-sourcearn - SourceArn *types.Value `json:"SourceArn,omitempty"` - - // SourceIngestPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-sourceingestport - SourceIngestPort *types.Value `json:"SourceIngestPort,omitempty"` - - // StreamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-streamid - StreamId *types.Value `json:"StreamId,omitempty"` - - // VpcInterfaceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-vpcinterfacename - VpcInterfaceName *types.Value `json:"VpcInterfaceName,omitempty"` - - // WhitelistCidr AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flow-source.html#cfn-mediaconnect-flow-source-whitelistcidr - WhitelistCidr *types.Value `json:"WhitelistCidr,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 *Flow_Source) AWSCloudFormationType() string { - return "AWS::MediaConnect::Flow.Source" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement.go deleted file mode 100644 index 2a3013a32d..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement.go +++ /dev/null @@ -1,138 +0,0 @@ -package mediaconnect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowEntitlement AWS CloudFormation Resource (AWS::MediaConnect::FlowEntitlement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html -type FlowEntitlement struct { - - // DataTransferSubscriberFeePercent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-datatransfersubscriberfeepercent - DataTransferSubscriberFeePercent *types.Value `json:"DataTransferSubscriberFeePercent,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-description - Description *types.Value `json:"Description,omitempty"` - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-encryption - Encryption *FlowEntitlement_Encryption `json:"Encryption,omitempty"` - - // EntitlementStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-entitlementstatus - EntitlementStatus *types.Value `json:"EntitlementStatus,omitempty"` - - // FlowArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-flowarn - FlowArn *types.Value `json:"FlowArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-name - Name *types.Value `json:"Name,omitempty"` - - // Subscribers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowentitlement.html#cfn-mediaconnect-flowentitlement-subscribers - Subscribers *types.Value `json:"Subscribers,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 *FlowEntitlement) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowEntitlement" -} - -// 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 (r FlowEntitlement) MarshalJSON() ([]byte, error) { - type Properties FlowEntitlement - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FlowEntitlement) UnmarshalJSON(b []byte) error { - type Properties FlowEntitlement - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FlowEntitlement(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement_encryption.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement_encryption.go deleted file mode 100644 index ce963a139c..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowentitlement_encryption.go +++ /dev/null @@ -1,77 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowEntitlement_Encryption AWS CloudFormation Resource (AWS::MediaConnect::FlowEntitlement.Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html -type FlowEntitlement_Encryption struct { - - // Algorithm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-algorithm - Algorithm *types.Value `json:"Algorithm,omitempty"` - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // DeviceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-keytype - KeyType *types.Value `json:"KeyType,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-region - Region *types.Value `json:"Region,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowentitlement-encryption.html#cfn-mediaconnect-flowentitlement-encryption-url - Url *types.Value `json:"Url,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 *FlowEntitlement_Encryption) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowEntitlement.Encryption" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput.go deleted file mode 100644 index 03e8162f7c..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput.go +++ /dev/null @@ -1,173 +0,0 @@ -package mediaconnect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowOutput AWS CloudFormation Resource (AWS::MediaConnect::FlowOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html -type FlowOutput struct { - - // CidrAllowList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-cidrallowlist - CidrAllowList *types.Value `json:"CidrAllowList,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-description - Description *types.Value `json:"Description,omitempty"` - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-destination - Destination *types.Value `json:"Destination,omitempty"` - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-encryption - Encryption *FlowOutput_Encryption `json:"Encryption,omitempty"` - - // FlowArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-flowarn - FlowArn *types.Value `json:"FlowArn,omitempty"` - - // MaxLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-maxlatency - MaxLatency *types.Value `json:"MaxLatency,omitempty"` - - // MinLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-minlatency - MinLatency *types.Value `json:"MinLatency,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-name - Name *types.Value `json:"Name,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-port - Port *types.Value `json:"Port,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // RemoteId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-remoteid - RemoteId *types.Value `json:"RemoteId,omitempty"` - - // SmoothingLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-smoothinglatency - SmoothingLatency *types.Value `json:"SmoothingLatency,omitempty"` - - // StreamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-streamid - StreamId *types.Value `json:"StreamId,omitempty"` - - // VpcInterfaceAttachment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowoutput.html#cfn-mediaconnect-flowoutput-vpcinterfaceattachment - VpcInterfaceAttachment *FlowOutput_VpcInterfaceAttachment `json:"VpcInterfaceAttachment,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 *FlowOutput) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowOutput" -} - -// 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 (r FlowOutput) MarshalJSON() ([]byte, error) { - type Properties FlowOutput - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FlowOutput) UnmarshalJSON(b []byte) error { - type Properties FlowOutput - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FlowOutput(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_encryption.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_encryption.go deleted file mode 100644 index ff42891be8..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowoutput_encryption.go +++ /dev/null @@ -1,52 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowOutput_Encryption AWS CloudFormation Resource (AWS::MediaConnect::FlowOutput.Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-encryption.html -type FlowOutput_Encryption struct { - - // Algorithm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-encryption.html#cfn-mediaconnect-flowoutput-encryption-algorithm - Algorithm *types.Value `json:"Algorithm,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-encryption.html#cfn-mediaconnect-flowoutput-encryption-keytype - KeyType *types.Value `json:"KeyType,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-encryption.html#cfn-mediaconnect-flowoutput-encryption-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowoutput-encryption.html#cfn-mediaconnect-flowoutput-encryption-secretarn - SecretArn *types.Value `json:"SecretArn,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 *FlowOutput_Encryption) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowOutput.Encryption" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource.go deleted file mode 100644 index 8e255707d4..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource.go +++ /dev/null @@ -1,163 +0,0 @@ -package mediaconnect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowSource AWS CloudFormation Resource (AWS::MediaConnect::FlowSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html -type FlowSource struct { - - // Decryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-decryption - Decryption *FlowSource_Encryption `json:"Decryption,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-description - Description *types.Value `json:"Description,omitempty"` - - // EntitlementArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-entitlementarn - EntitlementArn *types.Value `json:"EntitlementArn,omitempty"` - - // FlowArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-flowarn - FlowArn *types.Value `json:"FlowArn,omitempty"` - - // IngestPort AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-ingestport - IngestPort *types.Value `json:"IngestPort,omitempty"` - - // MaxBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-maxbitrate - MaxBitrate *types.Value `json:"MaxBitrate,omitempty"` - - // MaxLatency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-maxlatency - MaxLatency *types.Value `json:"MaxLatency,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-name - Name *types.Value `json:"Name,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // StreamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-streamid - StreamId *types.Value `json:"StreamId,omitempty"` - - // VpcInterfaceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-vpcinterfacename - VpcInterfaceName *types.Value `json:"VpcInterfaceName,omitempty"` - - // WhitelistCidr AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowsource.html#cfn-mediaconnect-flowsource-whitelistcidr - WhitelistCidr *types.Value `json:"WhitelistCidr,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 *FlowSource) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowSource" -} - -// 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 (r FlowSource) MarshalJSON() ([]byte, error) { - type Properties FlowSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FlowSource) UnmarshalJSON(b []byte) error { - type Properties FlowSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FlowSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource_encryption.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource_encryption.go deleted file mode 100644 index 62b2de2236..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowsource_encryption.go +++ /dev/null @@ -1,77 +0,0 @@ -package mediaconnect - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowSource_Encryption AWS CloudFormation Resource (AWS::MediaConnect::FlowSource.Encryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html -type FlowSource_Encryption struct { - - // Algorithm AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-algorithm - Algorithm *types.Value `json:"Algorithm,omitempty"` - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // DeviceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-keytype - KeyType *types.Value `json:"KeyType,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-region - Region *types.Value `json:"Region,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-secretarn - SecretArn *types.Value `json:"SecretArn,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html#cfn-mediaconnect-flowsource-encryption-url - Url *types.Value `json:"Url,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 *FlowSource_Encryption) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowSource.Encryption" -} diff --git a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowvpcinterface.go b/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowvpcinterface.go deleted file mode 100644 index 368415c52e..0000000000 --- a/pkg/goformation/cloudformation/mediaconnect/aws-mediaconnect-flowvpcinterface.go +++ /dev/null @@ -1,128 +0,0 @@ -package mediaconnect - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FlowVpcInterface AWS CloudFormation Resource (AWS::MediaConnect::FlowVpcInterface) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html -type FlowVpcInterface struct { - - // FlowArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-flowarn - FlowArn *types.Value `json:"FlowArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flowvpcinterface.html#cfn-mediaconnect-flowvpcinterface-subnetid - SubnetId *types.Value `json:"SubnetId,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 *FlowVpcInterface) AWSCloudFormationType() string { - return "AWS::MediaConnect::FlowVpcInterface" -} - -// 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 (r FlowVpcInterface) MarshalJSON() ([]byte, error) { - type Properties FlowVpcInterface - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FlowVpcInterface) UnmarshalJSON(b []byte) error { - type Properties FlowVpcInterface - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FlowVpcInterface(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate.go b/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate.go deleted file mode 100644 index 254ca9814d..0000000000 --- a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate.go +++ /dev/null @@ -1,153 +0,0 @@ -package mediaconvert - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobTemplate AWS CloudFormation Resource (AWS::MediaConvert::JobTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html -type JobTemplate struct { - - // AccelerationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-accelerationsettings - AccelerationSettings *JobTemplate_AccelerationSettings `json:"AccelerationSettings,omitempty"` - - // Category AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-category - Category *types.Value `json:"Category,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-description - Description *types.Value `json:"Description,omitempty"` - - // HopDestinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-hopdestinations - HopDestinations []JobTemplate_HopDestination `json:"HopDestinations,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-priority - Priority *types.Value `json:"Priority,omitempty"` - - // Queue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-queue - Queue *types.Value `json:"Queue,omitempty"` - - // SettingsJson AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-settingsjson - SettingsJson interface{} `json:"SettingsJson,omitempty"` - - // StatusUpdateInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-statusupdateinterval - StatusUpdateInterval *types.Value `json:"StatusUpdateInterval,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-tags - Tags interface{} `json:"Tags,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 *JobTemplate) AWSCloudFormationType() string { - return "AWS::MediaConvert::JobTemplate" -} - -// 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 (r JobTemplate) MarshalJSON() ([]byte, error) { - type Properties JobTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *JobTemplate) UnmarshalJSON(b []byte) error { - type Properties JobTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = JobTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_accelerationsettings.go b/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_accelerationsettings.go deleted file mode 100644 index 9cd658ed32..0000000000 --- a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_accelerationsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package mediaconvert - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobTemplate_AccelerationSettings AWS CloudFormation Resource (AWS::MediaConvert::JobTemplate.AccelerationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-accelerationsettings.html -type JobTemplate_AccelerationSettings struct { - - // Mode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-accelerationsettings.html#cfn-mediaconvert-jobtemplate-accelerationsettings-mode - Mode *types.Value `json:"Mode,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 *JobTemplate_AccelerationSettings) AWSCloudFormationType() string { - return "AWS::MediaConvert::JobTemplate.AccelerationSettings" -} diff --git a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_hopdestination.go b/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_hopdestination.go deleted file mode 100644 index 047adbe204..0000000000 --- a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-jobtemplate_hopdestination.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediaconvert - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// JobTemplate_HopDestination AWS CloudFormation Resource (AWS::MediaConvert::JobTemplate.HopDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html -type JobTemplate_HopDestination struct { - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html#cfn-mediaconvert-jobtemplate-hopdestination-priority - Priority *types.Value `json:"Priority,omitempty"` - - // Queue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html#cfn-mediaconvert-jobtemplate-hopdestination-queue - Queue *types.Value `json:"Queue,omitempty"` - - // WaitMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html#cfn-mediaconvert-jobtemplate-hopdestination-waitminutes - WaitMinutes *types.Value `json:"WaitMinutes,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 *JobTemplate_HopDestination) AWSCloudFormationType() string { - return "AWS::MediaConvert::JobTemplate.HopDestination" -} diff --git a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-preset.go b/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-preset.go deleted file mode 100644 index cddd1213ea..0000000000 --- a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-preset.go +++ /dev/null @@ -1,128 +0,0 @@ -package mediaconvert - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Preset AWS CloudFormation Resource (AWS::MediaConvert::Preset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html -type Preset struct { - - // Category AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html#cfn-mediaconvert-preset-category - Category *types.Value `json:"Category,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html#cfn-mediaconvert-preset-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html#cfn-mediaconvert-preset-name - Name *types.Value `json:"Name,omitempty"` - - // SettingsJson AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html#cfn-mediaconvert-preset-settingsjson - SettingsJson interface{} `json:"SettingsJson,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-preset.html#cfn-mediaconvert-preset-tags - Tags interface{} `json:"Tags,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 *Preset) AWSCloudFormationType() string { - return "AWS::MediaConvert::Preset" -} - -// 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 (r Preset) MarshalJSON() ([]byte, error) { - type Properties Preset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Preset) UnmarshalJSON(b []byte) error { - type Properties Preset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Preset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-queue.go b/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-queue.go deleted file mode 100644 index cb3f74befb..0000000000 --- a/pkg/goformation/cloudformation/mediaconvert/aws-mediaconvert-queue.go +++ /dev/null @@ -1,128 +0,0 @@ -package mediaconvert - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Queue AWS CloudFormation Resource (AWS::MediaConvert::Queue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html -type Queue struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html#cfn-mediaconvert-queue-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html#cfn-mediaconvert-queue-name - Name *types.Value `json:"Name,omitempty"` - - // PricingPlan AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html#cfn-mediaconvert-queue-pricingplan - PricingPlan *types.Value `json:"PricingPlan,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html#cfn-mediaconvert-queue-status - Status *types.Value `json:"Status,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-queue.html#cfn-mediaconvert-queue-tags - Tags interface{} `json:"Tags,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 *Queue) AWSCloudFormationType() string { - return "AWS::MediaConvert::Queue" -} - -// 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 (r Queue) MarshalJSON() ([]byte, error) { - type Properties Queue - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Queue) UnmarshalJSON(b []byte) error { - type Properties Queue - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Queue(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel.go deleted file mode 100644 index 85e037d434..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel.go +++ /dev/null @@ -1,158 +0,0 @@ -package medialive - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel AWS CloudFormation Resource (AWS::MediaLive::Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html -type Channel struct { - - // CdiInputSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-cdiinputspecification - CdiInputSpecification *Channel_CdiInputSpecification `json:"CdiInputSpecification,omitempty"` - - // ChannelClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-channelclass - ChannelClass *types.Value `json:"ChannelClass,omitempty"` - - // Destinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-destinations - Destinations []Channel_OutputDestination `json:"Destinations,omitempty"` - - // EncoderSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-encodersettings - EncoderSettings *Channel_EncoderSettings `json:"EncoderSettings,omitempty"` - - // InputAttachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-inputattachments - InputAttachments []Channel_InputAttachment `json:"InputAttachments,omitempty"` - - // InputSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-inputspecification - InputSpecification *Channel_InputSpecification `json:"InputSpecification,omitempty"` - - // LogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-loglevel - LogLevel *types.Value `json:"LogLevel,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-tags - Tags interface{} `json:"Tags,omitempty"` - - // Vpc AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-channel.html#cfn-medialive-channel-vpc - Vpc *Channel_VpcOutputSettings `json:"Vpc,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 *Channel) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel" -} - -// 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 (r Channel) MarshalJSON() ([]byte, error) { - type Properties Channel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Channel) UnmarshalJSON(b []byte) error { - type Properties Channel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Channel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aacsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aacsettings.go deleted file mode 100644 index a33f74353c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aacsettings.go +++ /dev/null @@ -1,77 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AacSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AacSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html -type Channel_AacSettings struct { - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // CodingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-codingmode - CodingMode *types.Value `json:"CodingMode,omitempty"` - - // InputType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-inputtype - InputType *types.Value `json:"InputType,omitempty"` - - // Profile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-profile - Profile *types.Value `json:"Profile,omitempty"` - - // RateControlMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-ratecontrolmode - RateControlMode *types.Value `json:"RateControlMode,omitempty"` - - // RawFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-rawformat - RawFormat *types.Value `json:"RawFormat,omitempty"` - - // SampleRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-samplerate - SampleRate *types.Value `json:"SampleRate,omitempty"` - - // Spec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-spec - Spec *types.Value `json:"Spec,omitempty"` - - // VbrQuality AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aacsettings.html#cfn-medialive-channel-aacsettings-vbrquality - VbrQuality *types.Value `json:"VbrQuality,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 *Channel_AacSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AacSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ac3settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ac3settings.go deleted file mode 100644 index 82cb8bdb04..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ac3settings.go +++ /dev/null @@ -1,67 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Ac3Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Ac3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html -type Channel_Ac3Settings struct { - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // BitstreamMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-bitstreammode - BitstreamMode *types.Value `json:"BitstreamMode,omitempty"` - - // CodingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-codingmode - CodingMode *types.Value `json:"CodingMode,omitempty"` - - // Dialnorm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-dialnorm - Dialnorm *types.Value `json:"Dialnorm,omitempty"` - - // DrcProfile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-drcprofile - DrcProfile *types.Value `json:"DrcProfile,omitempty"` - - // LfeFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-lfefilter - LfeFilter *types.Value `json:"LfeFilter,omitempty"` - - // MetadataControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ac3settings.html#cfn-medialive-channel-ac3settings-metadatacontrol - MetadataControl *types.Value `json:"MetadataControl,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 *Channel_Ac3Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Ac3Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ancillarysourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ancillarysourcesettings.go deleted file mode 100644 index 13c12c54b0..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ancillarysourcesettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AncillarySourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AncillarySourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ancillarysourcesettings.html -type Channel_AncillarySourceSettings struct { - - // SourceAncillaryChannelNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ancillarysourcesettings.html#cfn-medialive-channel-ancillarysourcesettings-sourceancillarychannelnumber - SourceAncillaryChannelNumber *types.Value `json:"SourceAncillaryChannelNumber,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 *Channel_AncillarySourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AncillarySourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecdnsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecdnsettings.go deleted file mode 100644 index 7037df6a3c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecdnsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ArchiveCdnSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.ArchiveCdnSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivecdnsettings.html -type Channel_ArchiveCdnSettings struct { - - // ArchiveS3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivecdnsettings.html#cfn-medialive-channel-archivecdnsettings-archives3settings - ArchiveS3Settings *Channel_ArchiveS3Settings `json:"ArchiveS3Settings,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 *Channel_ArchiveCdnSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ArchiveCdnSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecontainersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecontainersettings.go deleted file mode 100644 index c759bec02a..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archivecontainersettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ArchiveContainerSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.ArchiveContainerSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivecontainersettings.html -type Channel_ArchiveContainerSettings struct { - - // M2tsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivecontainersettings.html#cfn-medialive-channel-archivecontainersettings-m2tssettings - M2tsSettings *Channel_M2tsSettings `json:"M2tsSettings,omitempty"` - - // RawSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archivecontainersettings.html#cfn-medialive-channel-archivecontainersettings-rawsettings - RawSettings *Channel_RawSettings `json:"RawSettings,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 *Channel_ArchiveContainerSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ArchiveContainerSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archives3settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archives3settings.go deleted file mode 100644 index d89eca0063..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_archives3settings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ArchiveS3Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.ArchiveS3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archives3settings.html -type Channel_ArchiveS3Settings struct { - - // CannedAcl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-archives3settings.html#cfn-medialive-channel-archives3settings-cannedacl - CannedAcl *types.Value `json:"CannedAcl,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 *Channel_ArchiveS3Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ArchiveS3Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribdestinationsettings.go deleted file mode 100644 index 60bfd276c2..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribdestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AribDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AribDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aribdestinationsettings.html -type Channel_AribDestinationSettings struct { - - // 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 *Channel_AribDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AribDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribsourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribsourcesettings.go deleted file mode 100644 index ed6339b7d9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_aribsourcesettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AribSourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AribSourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-aribsourcesettings.html -type Channel_AribSourceSettings struct { - - // 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 *Channel_AribSourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AribSourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiochannelmapping.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiochannelmapping.go deleted file mode 100644 index 445853912d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiochannelmapping.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioChannelMapping AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioChannelMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiochannelmapping.html -type Channel_AudioChannelMapping struct { - - // InputChannelLevels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiochannelmapping.html#cfn-medialive-channel-audiochannelmapping-inputchannellevels - InputChannelLevels []Channel_InputChannelLevel `json:"InputChannelLevels,omitempty"` - - // OutputChannel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiochannelmapping.html#cfn-medialive-channel-audiochannelmapping-outputchannel - OutputChannel *types.Value `json:"OutputChannel,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 *Channel_AudioChannelMapping) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioChannelMapping" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiocodecsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiocodecsettings.go deleted file mode 100644 index 4eb36949fe..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiocodecsettings.go +++ /dev/null @@ -1,60 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioCodecSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioCodecSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html -type Channel_AudioCodecSettings struct { - - // AacSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-aacsettings - AacSettings *Channel_AacSettings `json:"AacSettings,omitempty"` - - // Ac3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-ac3settings - Ac3Settings *Channel_Ac3Settings `json:"Ac3Settings,omitempty"` - - // Eac3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-eac3settings - Eac3Settings *Channel_Eac3Settings `json:"Eac3Settings,omitempty"` - - // Mp2Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-mp2settings - Mp2Settings *Channel_Mp2Settings `json:"Mp2Settings,omitempty"` - - // PassThroughSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-passthroughsettings - PassThroughSettings *Channel_PassThroughSettings `json:"PassThroughSettings,omitempty"` - - // WavSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiocodecsettings.html#cfn-medialive-channel-audiocodecsettings-wavsettings - WavSettings *Channel_WavSettings `json:"WavSettings,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 *Channel_AudioCodecSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioCodecSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiodescription.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiodescription.go deleted file mode 100644 index 7da37caf2e..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiodescription.go +++ /dev/null @@ -1,87 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioDescription AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html -type Channel_AudioDescription struct { - - // AudioNormalizationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audionormalizationsettings - AudioNormalizationSettings *Channel_AudioNormalizationSettings `json:"AudioNormalizationSettings,omitempty"` - - // AudioSelectorName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audioselectorname - AudioSelectorName *types.Value `json:"AudioSelectorName,omitempty"` - - // AudioType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audiotype - AudioType *types.Value `json:"AudioType,omitempty"` - - // AudioTypeControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audiotypecontrol - AudioTypeControl *types.Value `json:"AudioTypeControl,omitempty"` - - // AudioWatermarkingSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-audiowatermarkingsettings - AudioWatermarkingSettings *Channel_AudioWatermarkSettings `json:"AudioWatermarkingSettings,omitempty"` - - // CodecSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-codecsettings - CodecSettings *Channel_AudioCodecSettings `json:"CodecSettings,omitempty"` - - // LanguageCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-languagecode - LanguageCode *types.Value `json:"LanguageCode,omitempty"` - - // LanguageCodeControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-languagecodecontrol - LanguageCodeControl *types.Value `json:"LanguageCodeControl,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-name - Name *types.Value `json:"Name,omitempty"` - - // RemixSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-remixsettings - RemixSettings *Channel_RemixSettings `json:"RemixSettings,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiodescription.html#cfn-medialive-channel-audiodescription-streamname - StreamName *types.Value `json:"StreamName,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 *Channel_AudioDescription) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioDescription" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiolanguageselection.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiolanguageselection.go deleted file mode 100644 index ce5736bc0d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiolanguageselection.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioLanguageSelection AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioLanguageSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html -type Channel_AudioLanguageSelection struct { - - // LanguageCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html#cfn-medialive-channel-audiolanguageselection-languagecode - LanguageCode *types.Value `json:"LanguageCode,omitempty"` - - // LanguageSelectionPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html#cfn-medialive-channel-audiolanguageselection-languageselectionpolicy - LanguageSelectionPolicy *types.Value `json:"LanguageSelectionPolicy,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 *Channel_AudioLanguageSelection) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioLanguageSelection" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audionormalizationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audionormalizationsettings.go deleted file mode 100644 index fc5f409ac1..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audionormalizationsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioNormalizationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioNormalizationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audionormalizationsettings.html -type Channel_AudioNormalizationSettings struct { - - // Algorithm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audionormalizationsettings.html#cfn-medialive-channel-audionormalizationsettings-algorithm - Algorithm *types.Value `json:"Algorithm,omitempty"` - - // AlgorithmControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audionormalizationsettings.html#cfn-medialive-channel-audionormalizationsettings-algorithmcontrol - AlgorithmControl *types.Value `json:"AlgorithmControl,omitempty"` - - // TargetLkfs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audionormalizationsettings.html#cfn-medialive-channel-audionormalizationsettings-targetlkfs - TargetLkfs *types.Value `json:"TargetLkfs,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 *Channel_AudioNormalizationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioNormalizationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioonlyhlssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioonlyhlssettings.go deleted file mode 100644 index 2484a6af98..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioonlyhlssettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioOnlyHlsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioOnlyHlsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioonlyhlssettings.html -type Channel_AudioOnlyHlsSettings struct { - - // AudioGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioonlyhlssettings.html#cfn-medialive-channel-audioonlyhlssettings-audiogroupid - AudioGroupId *types.Value `json:"AudioGroupId,omitempty"` - - // AudioOnlyImage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioonlyhlssettings.html#cfn-medialive-channel-audioonlyhlssettings-audioonlyimage - AudioOnlyImage *Channel_InputLocation `json:"AudioOnlyImage,omitempty"` - - // AudioTrackType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioonlyhlssettings.html#cfn-medialive-channel-audioonlyhlssettings-audiotracktype - AudioTrackType *types.Value `json:"AudioTrackType,omitempty"` - - // SegmentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioonlyhlssettings.html#cfn-medialive-channel-audioonlyhlssettings-segmenttype - SegmentType *types.Value `json:"SegmentType,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 *Channel_AudioOnlyHlsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioOnlyHlsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiopidselection.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiopidselection.go deleted file mode 100644 index 108bead02f..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiopidselection.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioPidSelection AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioPidSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html -type Channel_AudioPidSelection struct { - - // Pid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html#cfn-medialive-channel-audiopidselection-pid - Pid *types.Value `json:"Pid,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 *Channel_AudioPidSelection) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioPidSelection" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselector.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselector.go deleted file mode 100644 index de490d8961..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselector.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioSelector AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselector.html -type Channel_AudioSelector struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselector.html#cfn-medialive-channel-audioselector-name - Name *types.Value `json:"Name,omitempty"` - - // SelectorSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselector.html#cfn-medialive-channel-audioselector-selectorsettings - SelectorSettings *Channel_AudioSelectorSettings `json:"SelectorSettings,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 *Channel_AudioSelector) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioSelector" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselectorsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselectorsettings.go deleted file mode 100644 index 0503f35c5f..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audioselectorsettings.go +++ /dev/null @@ -1,50 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioSelectorSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioSelectorSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html -type Channel_AudioSelectorSettings struct { - - // AudioHlsRenditionSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html#cfn-medialive-channel-audioselectorsettings-audiohlsrenditionselection - AudioHlsRenditionSelection *Channel_AudioHlsRenditionSelection `json:"AudioHlsRenditionSelection,omitempty"` - - // AudioLanguageSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html#cfn-medialive-channel-audioselectorsettings-audiolanguageselection - AudioLanguageSelection *Channel_AudioLanguageSelection `json:"AudioLanguageSelection,omitempty"` - - // AudioPidSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html#cfn-medialive-channel-audioselectorsettings-audiopidselection - AudioPidSelection *Channel_AudioPidSelection `json:"AudioPidSelection,omitempty"` - - // AudioTrackSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html#cfn-medialive-channel-audioselectorsettings-audiotrackselection - AudioTrackSelection *Channel_AudioTrackSelection `json:"AudioTrackSelection,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 *Channel_AudioSelectorSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioSelectorSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiosilencefailoversettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiosilencefailoversettings.go deleted file mode 100644 index 6e1294fb7d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiosilencefailoversettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioSilenceFailoverSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioSilenceFailoverSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiosilencefailoversettings.html -type Channel_AudioSilenceFailoverSettings struct { - - // AudioSelectorName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiosilencefailoversettings.html#cfn-medialive-channel-audiosilencefailoversettings-audioselectorname - AudioSelectorName *types.Value `json:"AudioSelectorName,omitempty"` - - // AudioSilenceThresholdMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiosilencefailoversettings.html#cfn-medialive-channel-audiosilencefailoversettings-audiosilencethresholdmsec - AudioSilenceThresholdMsec *types.Value `json:"AudioSilenceThresholdMsec,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 *Channel_AudioSilenceFailoverSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioSilenceFailoverSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrack.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrack.go deleted file mode 100644 index 6d6e383704..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrack.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioTrack AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioTrack) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiotrack.html -type Channel_AudioTrack struct { - - // Track AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiotrack.html#cfn-medialive-channel-audiotrack-track - Track *types.Value `json:"Track,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 *Channel_AudioTrack) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioTrack" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrackselection.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrackselection.go deleted file mode 100644 index 6a1fb9fe9b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiotrackselection.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioTrackSelection AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioTrackSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiotrackselection.html -type Channel_AudioTrackSelection struct { - - // Tracks AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiotrackselection.html#cfn-medialive-channel-audiotrackselection-tracks - Tracks []Channel_AudioTrack `json:"Tracks,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 *Channel_AudioTrackSelection) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioTrackSelection" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiowatermarksettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiowatermarksettings.go deleted file mode 100644 index 2b1a701507..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_audiowatermarksettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AudioWatermarkSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AudioWatermarkSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiowatermarksettings.html -type Channel_AudioWatermarkSettings struct { - - // NielsenWatermarksSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiowatermarksettings.html#cfn-medialive-channel-audiowatermarksettings-nielsenwatermarkssettings - NielsenWatermarksSettings *Channel_NielsenWatermarksSettings `json:"NielsenWatermarksSettings,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 *Channel_AudioWatermarkSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AudioWatermarkSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_automaticinputfailoversettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_automaticinputfailoversettings.go deleted file mode 100644 index b047ded759..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_automaticinputfailoversettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AutomaticInputFailoverSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AutomaticInputFailoverSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-automaticinputfailoversettings.html -type Channel_AutomaticInputFailoverSettings struct { - - // ErrorClearTimeMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-automaticinputfailoversettings.html#cfn-medialive-channel-automaticinputfailoversettings-errorcleartimemsec - ErrorClearTimeMsec *types.Value `json:"ErrorClearTimeMsec,omitempty"` - - // FailoverConditions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-automaticinputfailoversettings.html#cfn-medialive-channel-automaticinputfailoversettings-failoverconditions - FailoverConditions []Channel_FailoverCondition `json:"FailoverConditions,omitempty"` - - // InputPreference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-automaticinputfailoversettings.html#cfn-medialive-channel-automaticinputfailoversettings-inputpreference - InputPreference *types.Value `json:"InputPreference,omitempty"` - - // SecondaryInputId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-automaticinputfailoversettings.html#cfn-medialive-channel-automaticinputfailoversettings-secondaryinputid - SecondaryInputId *types.Value `json:"SecondaryInputId,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 *Channel_AutomaticInputFailoverSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AutomaticInputFailoverSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availblanking.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availblanking.go deleted file mode 100644 index 198edd1331..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availblanking.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AvailBlanking AWS CloudFormation Resource (AWS::MediaLive::Channel.AvailBlanking) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availblanking.html -type Channel_AvailBlanking struct { - - // AvailBlankingImage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availblanking.html#cfn-medialive-channel-availblanking-availblankingimage - AvailBlankingImage *Channel_InputLocation `json:"AvailBlankingImage,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availblanking.html#cfn-medialive-channel-availblanking-state - State *types.Value `json:"State,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 *Channel_AvailBlanking) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AvailBlanking" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availconfiguration.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availconfiguration.go deleted file mode 100644 index 4929dbce28..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AvailConfiguration AWS CloudFormation Resource (AWS::MediaLive::Channel.AvailConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availconfiguration.html -type Channel_AvailConfiguration struct { - - // AvailSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availconfiguration.html#cfn-medialive-channel-availconfiguration-availsettings - AvailSettings *Channel_AvailSettings `json:"AvailSettings,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 *Channel_AvailConfiguration) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AvailConfiguration" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availsettings.go deleted file mode 100644 index cc70aa2091..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_availsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_AvailSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.AvailSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availsettings.html -type Channel_AvailSettings struct { - - // Scte35SpliceInsert AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availsettings.html#cfn-medialive-channel-availsettings-scte35spliceinsert - Scte35SpliceInsert *Channel_Scte35SpliceInsert `json:"Scte35SpliceInsert,omitempty"` - - // Scte35TimeSignalApos AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-availsettings.html#cfn-medialive-channel-availsettings-scte35timesignalapos - Scte35TimeSignalApos *Channel_Scte35TimeSignalApos `json:"Scte35TimeSignalApos,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 *Channel_AvailSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.AvailSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_blackoutslate.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_blackoutslate.go deleted file mode 100644 index 56104c5bdf..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_blackoutslate.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_BlackoutSlate AWS CloudFormation Resource (AWS::MediaLive::Channel.BlackoutSlate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html -type Channel_BlackoutSlate struct { - - // BlackoutSlateImage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html#cfn-medialive-channel-blackoutslate-blackoutslateimage - BlackoutSlateImage *Channel_InputLocation `json:"BlackoutSlateImage,omitempty"` - - // NetworkEndBlackout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html#cfn-medialive-channel-blackoutslate-networkendblackout - NetworkEndBlackout *types.Value `json:"NetworkEndBlackout,omitempty"` - - // NetworkEndBlackoutImage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html#cfn-medialive-channel-blackoutslate-networkendblackoutimage - NetworkEndBlackoutImage *Channel_InputLocation `json:"NetworkEndBlackoutImage,omitempty"` - - // NetworkId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html#cfn-medialive-channel-blackoutslate-networkid - NetworkId *types.Value `json:"NetworkId,omitempty"` - - // State AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-blackoutslate.html#cfn-medialive-channel-blackoutslate-state - State *types.Value `json:"State,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 *Channel_BlackoutSlate) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.BlackoutSlate" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_burnindestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_burnindestinationsettings.go deleted file mode 100644 index 84fad64b12..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_burnindestinationsettings.go +++ /dev/null @@ -1,117 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_BurnInDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.BurnInDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html -type Channel_BurnInDestinationSettings struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BackgroundOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-backgroundopacity - BackgroundOpacity *types.Value `json:"BackgroundOpacity,omitempty"` - - // Font AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-font - Font *Channel_InputLocation `json:"Font,omitempty"` - - // FontColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-fontcolor - FontColor *types.Value `json:"FontColor,omitempty"` - - // FontOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-fontopacity - FontOpacity *types.Value `json:"FontOpacity,omitempty"` - - // FontResolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-fontresolution - FontResolution *types.Value `json:"FontResolution,omitempty"` - - // FontSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-fontsize - FontSize *types.Value `json:"FontSize,omitempty"` - - // OutlineColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-outlinecolor - OutlineColor *types.Value `json:"OutlineColor,omitempty"` - - // OutlineSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-outlinesize - OutlineSize *types.Value `json:"OutlineSize,omitempty"` - - // ShadowColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-shadowcolor - ShadowColor *types.Value `json:"ShadowColor,omitempty"` - - // ShadowOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-shadowopacity - ShadowOpacity *types.Value `json:"ShadowOpacity,omitempty"` - - // ShadowXOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-shadowxoffset - ShadowXOffset *types.Value `json:"ShadowXOffset,omitempty"` - - // ShadowYOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-shadowyoffset - ShadowYOffset *types.Value `json:"ShadowYOffset,omitempty"` - - // TeletextGridControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-teletextgridcontrol - TeletextGridControl *types.Value `json:"TeletextGridControl,omitempty"` - - // XPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-xposition - XPosition *types.Value `json:"XPosition,omitempty"` - - // YPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-burnindestinationsettings.html#cfn-medialive-channel-burnindestinationsettings-yposition - YPosition *types.Value `json:"YPosition,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 *Channel_BurnInDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.BurnInDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondescription.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondescription.go deleted file mode 100644 index b1a24831c7..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondescription.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CaptionDescription AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html -type Channel_CaptionDescription struct { - - // CaptionSelectorName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-captionselectorname - CaptionSelectorName *types.Value `json:"CaptionSelectorName,omitempty"` - - // DestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-destinationsettings - DestinationSettings *Channel_CaptionDestinationSettings `json:"DestinationSettings,omitempty"` - - // LanguageCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-languagecode - LanguageCode *types.Value `json:"LanguageCode,omitempty"` - - // LanguageDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-languagedescription - LanguageDescription *types.Value `json:"LanguageDescription,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondescription.html#cfn-medialive-channel-captiondescription-name - Name *types.Value `json:"Name,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 *Channel_CaptionDescription) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionDescription" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondestinationsettings.go deleted file mode 100644 index 1daa57e485..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captiondestinationsettings.go +++ /dev/null @@ -1,95 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CaptionDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html -type Channel_CaptionDestinationSettings struct { - - // AribDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-aribdestinationsettings - AribDestinationSettings *Channel_AribDestinationSettings `json:"AribDestinationSettings,omitempty"` - - // BurnInDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-burnindestinationsettings - BurnInDestinationSettings *Channel_BurnInDestinationSettings `json:"BurnInDestinationSettings,omitempty"` - - // DvbSubDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-dvbsubdestinationsettings - DvbSubDestinationSettings *Channel_DvbSubDestinationSettings `json:"DvbSubDestinationSettings,omitempty"` - - // EbuTtDDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-ebuttddestinationsettings - EbuTtDDestinationSettings *Channel_EbuTtDDestinationSettings `json:"EbuTtDDestinationSettings,omitempty"` - - // EmbeddedDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-embeddeddestinationsettings - EmbeddedDestinationSettings *Channel_EmbeddedDestinationSettings `json:"EmbeddedDestinationSettings,omitempty"` - - // EmbeddedPlusScte20DestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-embeddedplusscte20destinationsettings - EmbeddedPlusScte20DestinationSettings *Channel_EmbeddedPlusScte20DestinationSettings `json:"EmbeddedPlusScte20DestinationSettings,omitempty"` - - // RtmpCaptionInfoDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-rtmpcaptioninfodestinationsettings - RtmpCaptionInfoDestinationSettings *Channel_RtmpCaptionInfoDestinationSettings `json:"RtmpCaptionInfoDestinationSettings,omitempty"` - - // Scte20PlusEmbeddedDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-scte20plusembeddeddestinationsettings - Scte20PlusEmbeddedDestinationSettings *Channel_Scte20PlusEmbeddedDestinationSettings `json:"Scte20PlusEmbeddedDestinationSettings,omitempty"` - - // Scte27DestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-scte27destinationsettings - Scte27DestinationSettings *Channel_Scte27DestinationSettings `json:"Scte27DestinationSettings,omitempty"` - - // SmpteTtDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-smptettdestinationsettings - SmpteTtDestinationSettings *Channel_SmpteTtDestinationSettings `json:"SmpteTtDestinationSettings,omitempty"` - - // TeletextDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-teletextdestinationsettings - TeletextDestinationSettings *Channel_TeletextDestinationSettings `json:"TeletextDestinationSettings,omitempty"` - - // TtmlDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-ttmldestinationsettings - TtmlDestinationSettings *Channel_TtmlDestinationSettings `json:"TtmlDestinationSettings,omitempty"` - - // WebvttDestinationSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captiondestinationsettings.html#cfn-medialive-channel-captiondestinationsettings-webvttdestinationsettings - WebvttDestinationSettings *Channel_WebvttDestinationSettings `json:"WebvttDestinationSettings,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 *Channel_CaptionDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselector.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselector.go deleted file mode 100644 index 2755942170..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselector.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CaptionSelector AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselector.html -type Channel_CaptionSelector struct { - - // LanguageCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselector.html#cfn-medialive-channel-captionselector-languagecode - LanguageCode *types.Value `json:"LanguageCode,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselector.html#cfn-medialive-channel-captionselector-name - Name *types.Value `json:"Name,omitempty"` - - // SelectorSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselector.html#cfn-medialive-channel-captionselector-selectorsettings - SelectorSettings *Channel_CaptionSelectorSettings `json:"SelectorSettings,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 *Channel_CaptionSelector) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionSelector" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselectorsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselectorsettings.go deleted file mode 100644 index 6ffd3dfba9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_captionselectorsettings.go +++ /dev/null @@ -1,65 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CaptionSelectorSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.CaptionSelectorSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html -type Channel_CaptionSelectorSettings struct { - - // AncillarySourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-ancillarysourcesettings - AncillarySourceSettings *Channel_AncillarySourceSettings `json:"AncillarySourceSettings,omitempty"` - - // AribSourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-aribsourcesettings - AribSourceSettings *Channel_AribSourceSettings `json:"AribSourceSettings,omitempty"` - - // DvbSubSourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-dvbsubsourcesettings - DvbSubSourceSettings *Channel_DvbSubSourceSettings `json:"DvbSubSourceSettings,omitempty"` - - // EmbeddedSourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-embeddedsourcesettings - EmbeddedSourceSettings *Channel_EmbeddedSourceSettings `json:"EmbeddedSourceSettings,omitempty"` - - // Scte20SourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-scte20sourcesettings - Scte20SourceSettings *Channel_Scte20SourceSettings `json:"Scte20SourceSettings,omitempty"` - - // Scte27SourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-scte27sourcesettings - Scte27SourceSettings *Channel_Scte27SourceSettings `json:"Scte27SourceSettings,omitempty"` - - // TeletextSourceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-captionselectorsettings.html#cfn-medialive-channel-captionselectorsettings-teletextsourcesettings - TeletextSourceSettings *Channel_TeletextSourceSettings `json:"TeletextSourceSettings,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 *Channel_CaptionSelectorSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CaptionSelectorSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_cdiinputspecification.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_cdiinputspecification.go deleted file mode 100644 index f0cd068a7d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_cdiinputspecification.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_CdiInputSpecification AWS CloudFormation Resource (AWS::MediaLive::Channel.CdiInputSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cdiinputspecification.html -type Channel_CdiInputSpecification struct { - - // Resolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-cdiinputspecification.html#cfn-medialive-channel-cdiinputspecification-resolution - Resolution *types.Value `json:"Resolution,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 *Channel_CdiInputSpecification) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.CdiInputSpecification" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_colorspacepassthroughsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_colorspacepassthroughsettings.go deleted file mode 100644 index 3a13ae87b2..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_colorspacepassthroughsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_ColorSpacePassthroughSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.ColorSpacePassthroughSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-colorspacepassthroughsettings.html -type Channel_ColorSpacePassthroughSettings struct { - - // 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 *Channel_ColorSpacePassthroughSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.ColorSpacePassthroughSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbnitsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbnitsettings.go deleted file mode 100644 index 247a47ac41..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbnitsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_DvbNitSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.DvbNitSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbnitsettings.html -type Channel_DvbNitSettings struct { - - // NetworkId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbnitsettings.html#cfn-medialive-channel-dvbnitsettings-networkid - NetworkId *types.Value `json:"NetworkId,omitempty"` - - // NetworkName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbnitsettings.html#cfn-medialive-channel-dvbnitsettings-networkname - NetworkName *types.Value `json:"NetworkName,omitempty"` - - // RepInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbnitsettings.html#cfn-medialive-channel-dvbnitsettings-repinterval - RepInterval *types.Value `json:"RepInterval,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 *Channel_DvbNitSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.DvbNitSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubdestinationsettings.go deleted file mode 100644 index b6c5f72ca7..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubdestinationsettings.go +++ /dev/null @@ -1,117 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_DvbSubDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.DvbSubDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html -type Channel_DvbSubDestinationSettings struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BackgroundOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-backgroundopacity - BackgroundOpacity *types.Value `json:"BackgroundOpacity,omitempty"` - - // Font AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-font - Font *Channel_InputLocation `json:"Font,omitempty"` - - // FontColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-fontcolor - FontColor *types.Value `json:"FontColor,omitempty"` - - // FontOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-fontopacity - FontOpacity *types.Value `json:"FontOpacity,omitempty"` - - // FontResolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-fontresolution - FontResolution *types.Value `json:"FontResolution,omitempty"` - - // FontSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-fontsize - FontSize *types.Value `json:"FontSize,omitempty"` - - // OutlineColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-outlinecolor - OutlineColor *types.Value `json:"OutlineColor,omitempty"` - - // OutlineSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-outlinesize - OutlineSize *types.Value `json:"OutlineSize,omitempty"` - - // ShadowColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-shadowcolor - ShadowColor *types.Value `json:"ShadowColor,omitempty"` - - // ShadowOpacity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-shadowopacity - ShadowOpacity *types.Value `json:"ShadowOpacity,omitempty"` - - // ShadowXOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-shadowxoffset - ShadowXOffset *types.Value `json:"ShadowXOffset,omitempty"` - - // ShadowYOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-shadowyoffset - ShadowYOffset *types.Value `json:"ShadowYOffset,omitempty"` - - // TeletextGridControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-teletextgridcontrol - TeletextGridControl *types.Value `json:"TeletextGridControl,omitempty"` - - // XPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-xposition - XPosition *types.Value `json:"XPosition,omitempty"` - - // YPosition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubdestinationsettings.html#cfn-medialive-channel-dvbsubdestinationsettings-yposition - YPosition *types.Value `json:"YPosition,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 *Channel_DvbSubDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.DvbSubDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbtdtsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbtdtsettings.go deleted file mode 100644 index 5f1a55aa97..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbtdtsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_DvbTdtSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.DvbTdtSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbtdtsettings.html -type Channel_DvbTdtSettings struct { - - // RepInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbtdtsettings.html#cfn-medialive-channel-dvbtdtsettings-repinterval - RepInterval *types.Value `json:"RepInterval,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 *Channel_DvbTdtSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.DvbTdtSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_eac3settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_eac3settings.go deleted file mode 100644 index 311a7d8a44..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_eac3settings.go +++ /dev/null @@ -1,132 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Eac3Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Eac3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html -type Channel_Eac3Settings struct { - - // AttenuationControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-attenuationcontrol - AttenuationControl *types.Value `json:"AttenuationControl,omitempty"` - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // BitstreamMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-bitstreammode - BitstreamMode *types.Value `json:"BitstreamMode,omitempty"` - - // CodingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-codingmode - CodingMode *types.Value `json:"CodingMode,omitempty"` - - // DcFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-dcfilter - DcFilter *types.Value `json:"DcFilter,omitempty"` - - // Dialnorm AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-dialnorm - Dialnorm *types.Value `json:"Dialnorm,omitempty"` - - // DrcLine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-drcline - DrcLine *types.Value `json:"DrcLine,omitempty"` - - // DrcRf AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-drcrf - DrcRf *types.Value `json:"DrcRf,omitempty"` - - // LfeControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-lfecontrol - LfeControl *types.Value `json:"LfeControl,omitempty"` - - // LfeFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-lfefilter - LfeFilter *types.Value `json:"LfeFilter,omitempty"` - - // LoRoCenterMixLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-lorocentermixlevel - LoRoCenterMixLevel *types.Value `json:"LoRoCenterMixLevel,omitempty"` - - // LoRoSurroundMixLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-lorosurroundmixlevel - LoRoSurroundMixLevel *types.Value `json:"LoRoSurroundMixLevel,omitempty"` - - // LtRtCenterMixLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-ltrtcentermixlevel - LtRtCenterMixLevel *types.Value `json:"LtRtCenterMixLevel,omitempty"` - - // LtRtSurroundMixLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-ltrtsurroundmixlevel - LtRtSurroundMixLevel *types.Value `json:"LtRtSurroundMixLevel,omitempty"` - - // MetadataControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-metadatacontrol - MetadataControl *types.Value `json:"MetadataControl,omitempty"` - - // PassthroughControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-passthroughcontrol - PassthroughControl *types.Value `json:"PassthroughControl,omitempty"` - - // PhaseControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-phasecontrol - PhaseControl *types.Value `json:"PhaseControl,omitempty"` - - // StereoDownmix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-stereodownmix - StereoDownmix *types.Value `json:"StereoDownmix,omitempty"` - - // SurroundExMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-surroundexmode - SurroundExMode *types.Value `json:"SurroundExMode,omitempty"` - - // SurroundMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-eac3settings.html#cfn-medialive-channel-eac3settings-surroundmode - SurroundMode *types.Value `json:"SurroundMode,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 *Channel_Eac3Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Eac3Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ebuttddestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ebuttddestinationsettings.go deleted file mode 100644 index 5bcaefc1a5..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ebuttddestinationsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_EbuTtDDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.EbuTtDDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ebuttddestinationsettings.html -type Channel_EbuTtDDestinationSettings struct { - - // CopyrightHolder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ebuttddestinationsettings.html#cfn-medialive-channel-ebuttddestinationsettings-copyrightholder - CopyrightHolder *types.Value `json:"CopyrightHolder,omitempty"` - - // FillLineGap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ebuttddestinationsettings.html#cfn-medialive-channel-ebuttddestinationsettings-filllinegap - FillLineGap *types.Value `json:"FillLineGap,omitempty"` - - // FontFamily AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ebuttddestinationsettings.html#cfn-medialive-channel-ebuttddestinationsettings-fontfamily - FontFamily *types.Value `json:"FontFamily,omitempty"` - - // StyleControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ebuttddestinationsettings.html#cfn-medialive-channel-ebuttddestinationsettings-stylecontrol - StyleControl *types.Value `json:"StyleControl,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 *Channel_EbuTtDDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.EbuTtDDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddeddestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddeddestinationsettings.go deleted file mode 100644 index bef2d5d6c3..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddeddestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_EmbeddedDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.EmbeddedDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddeddestinationsettings.html -type Channel_EmbeddedDestinationSettings struct { - - // 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 *Channel_EmbeddedDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.EmbeddedDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedplusscte20destinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedplusscte20destinationsettings.go deleted file mode 100644 index 619396cb17..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedplusscte20destinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_EmbeddedPlusScte20DestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedplusscte20destinationsettings.html -type Channel_EmbeddedPlusScte20DestinationSettings struct { - - // 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 *Channel_EmbeddedPlusScte20DestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedsourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedsourcesettings.go deleted file mode 100644 index 5a0320fbe6..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_embeddedsourcesettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_EmbeddedSourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.EmbeddedSourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedsourcesettings.html -type Channel_EmbeddedSourceSettings struct { - - // Convert608To708 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedsourcesettings.html#cfn-medialive-channel-embeddedsourcesettings-convert608to708 - Convert608To708 *types.Value `json:"Convert608To708,omitempty"` - - // Scte20Detection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedsourcesettings.html#cfn-medialive-channel-embeddedsourcesettings-scte20detection - Scte20Detection *types.Value `json:"Scte20Detection,omitempty"` - - // Source608ChannelNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedsourcesettings.html#cfn-medialive-channel-embeddedsourcesettings-source608channelnumber - Source608ChannelNumber *types.Value `json:"Source608ChannelNumber,omitempty"` - - // Source608TrackNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-embeddedsourcesettings.html#cfn-medialive-channel-embeddedsourcesettings-source608tracknumber - Source608TrackNumber *types.Value `json:"Source608TrackNumber,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 *Channel_EmbeddedSourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.EmbeddedSourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_encodersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_encodersettings.go deleted file mode 100644 index 45f0971b1f..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_encodersettings.go +++ /dev/null @@ -1,90 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_EncoderSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.EncoderSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html -type Channel_EncoderSettings struct { - - // AudioDescriptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-audiodescriptions - AudioDescriptions []Channel_AudioDescription `json:"AudioDescriptions,omitempty"` - - // AvailBlanking AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-availblanking - AvailBlanking *Channel_AvailBlanking `json:"AvailBlanking,omitempty"` - - // AvailConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-availconfiguration - AvailConfiguration *Channel_AvailConfiguration `json:"AvailConfiguration,omitempty"` - - // BlackoutSlate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-blackoutslate - BlackoutSlate *Channel_BlackoutSlate `json:"BlackoutSlate,omitempty"` - - // CaptionDescriptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-captiondescriptions - CaptionDescriptions []Channel_CaptionDescription `json:"CaptionDescriptions,omitempty"` - - // FeatureActivations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-featureactivations - FeatureActivations *Channel_FeatureActivations `json:"FeatureActivations,omitempty"` - - // GlobalConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-globalconfiguration - GlobalConfiguration *Channel_GlobalConfiguration `json:"GlobalConfiguration,omitempty"` - - // MotionGraphicsConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-motiongraphicsconfiguration - MotionGraphicsConfiguration *Channel_MotionGraphicsConfiguration `json:"MotionGraphicsConfiguration,omitempty"` - - // NielsenConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-nielsenconfiguration - NielsenConfiguration *Channel_NielsenConfiguration `json:"NielsenConfiguration,omitempty"` - - // OutputGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-outputgroups - OutputGroups []Channel_OutputGroup `json:"OutputGroups,omitempty"` - - // TimecodeConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-timecodeconfig - TimecodeConfig *Channel_TimecodeConfig `json:"TimecodeConfig,omitempty"` - - // VideoDescriptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-encodersettings.html#cfn-medialive-channel-encodersettings-videodescriptions - VideoDescriptions []Channel_VideoDescription `json:"VideoDescriptions,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 *Channel_EncoderSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.EncoderSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failovercondition.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failovercondition.go deleted file mode 100644 index 1336ab8db0..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failovercondition.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FailoverCondition AWS CloudFormation Resource (AWS::MediaLive::Channel.FailoverCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failovercondition.html -type Channel_FailoverCondition struct { - - // FailoverConditionSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failovercondition.html#cfn-medialive-channel-failovercondition-failoverconditionsettings - FailoverConditionSettings *Channel_FailoverConditionSettings `json:"FailoverConditionSettings,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 *Channel_FailoverCondition) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FailoverCondition" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failoverconditionsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failoverconditionsettings.go deleted file mode 100644 index f704471332..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_failoverconditionsettings.go +++ /dev/null @@ -1,45 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FailoverConditionSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FailoverConditionSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failoverconditionsettings.html -type Channel_FailoverConditionSettings struct { - - // AudioSilenceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failoverconditionsettings.html#cfn-medialive-channel-failoverconditionsettings-audiosilencesettings - AudioSilenceSettings *Channel_AudioSilenceFailoverSettings `json:"AudioSilenceSettings,omitempty"` - - // InputLossSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failoverconditionsettings.html#cfn-medialive-channel-failoverconditionsettings-inputlosssettings - InputLossSettings *Channel_InputLossFailoverSettings `json:"InputLossSettings,omitempty"` - - // VideoBlackSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-failoverconditionsettings.html#cfn-medialive-channel-failoverconditionsettings-videoblacksettings - VideoBlackSettings *Channel_VideoBlackFailoverSettings `json:"VideoBlackSettings,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 *Channel_FailoverConditionSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FailoverConditionSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_featureactivations.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_featureactivations.go deleted file mode 100644 index c6cabb35e7..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_featureactivations.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FeatureActivations AWS CloudFormation Resource (AWS::MediaLive::Channel.FeatureActivations) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-featureactivations.html -type Channel_FeatureActivations struct { - - // InputPrepareScheduleActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-featureactivations.html#cfn-medialive-channel-featureactivations-inputpreparescheduleactions - InputPrepareScheduleActions *types.Value `json:"InputPrepareScheduleActions,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 *Channel_FeatureActivations) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FeatureActivations" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fecoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fecoutputsettings.go deleted file mode 100644 index 2bb2d2571d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fecoutputsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FecOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FecOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fecoutputsettings.html -type Channel_FecOutputSettings struct { - - // ColumnDepth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fecoutputsettings.html#cfn-medialive-channel-fecoutputsettings-columndepth - ColumnDepth *types.Value `json:"ColumnDepth,omitempty"` - - // IncludeFec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fecoutputsettings.html#cfn-medialive-channel-fecoutputsettings-includefec - IncludeFec *types.Value `json:"IncludeFec,omitempty"` - - // RowLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fecoutputsettings.html#cfn-medialive-channel-fecoutputsettings-rowlength - RowLength *types.Value `json:"RowLength,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 *Channel_FecOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FecOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fmp4hlssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fmp4hlssettings.go deleted file mode 100644 index bf6b2907ce..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_fmp4hlssettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Fmp4HlsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Fmp4HlsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fmp4hlssettings.html -type Channel_Fmp4HlsSettings struct { - - // AudioRenditionSets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fmp4hlssettings.html#cfn-medialive-channel-fmp4hlssettings-audiorenditionsets - AudioRenditionSets *types.Value `json:"AudioRenditionSets,omitempty"` - - // NielsenId3Behavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fmp4hlssettings.html#cfn-medialive-channel-fmp4hlssettings-nielsenid3behavior - NielsenId3Behavior *types.Value `json:"NielsenId3Behavior,omitempty"` - - // TimedMetadataBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-fmp4hlssettings.html#cfn-medialive-channel-fmp4hlssettings-timedmetadatabehavior - TimedMetadataBehavior *types.Value `json:"TimedMetadataBehavior,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 *Channel_Fmp4HlsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Fmp4HlsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturecdnsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturecdnsettings.go deleted file mode 100644 index 06be9bc790..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturecdnsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureCdnSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureCdnSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturecdnsettings.html -type Channel_FrameCaptureCdnSettings struct { - - // FrameCaptureS3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturecdnsettings.html#cfn-medialive-channel-framecapturecdnsettings-framecaptures3settings - FrameCaptureS3Settings *Channel_FrameCaptureS3Settings `json:"FrameCaptureS3Settings,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 *Channel_FrameCaptureCdnSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureCdnSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturegroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturegroupsettings.go deleted file mode 100644 index 6c63ff731a..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturegroupsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturegroupsettings.html -type Channel_FrameCaptureGroupSettings struct { - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturegroupsettings.html#cfn-medialive-channel-framecapturegroupsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` - - // FrameCaptureCdnSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturegroupsettings.html#cfn-medialive-channel-framecapturegroupsettings-framecapturecdnsettings - FrameCaptureCdnSettings *Channel_FrameCaptureCdnSettings `json:"FrameCaptureCdnSettings,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 *Channel_FrameCaptureGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturehlssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturehlssettings.go deleted file mode 100644 index 7b2212ff73..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturehlssettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureHlsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureHlsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturehlssettings.html -type Channel_FrameCaptureHlsSettings struct { - - // 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 *Channel_FrameCaptureHlsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureHlsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptureoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptureoutputsettings.go deleted file mode 100644 index 8fa4df061b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptureoutputsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecaptureoutputsettings.html -type Channel_FrameCaptureOutputSettings struct { - - // NameModifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecaptureoutputsettings.html#cfn-medialive-channel-framecaptureoutputsettings-namemodifier - NameModifier *types.Value `json:"NameModifier,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 *Channel_FrameCaptureOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptures3settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptures3settings.go deleted file mode 100644 index 63e4645834..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecaptures3settings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureS3Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureS3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecaptures3settings.html -type Channel_FrameCaptureS3Settings struct { - - // CannedAcl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecaptures3settings.html#cfn-medialive-channel-framecaptures3settings-cannedacl - CannedAcl *types.Value `json:"CannedAcl,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 *Channel_FrameCaptureS3Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureS3Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturesettings.go deleted file mode 100644 index 4213939841..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_framecapturesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_FrameCaptureSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.FrameCaptureSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturesettings.html -type Channel_FrameCaptureSettings struct { - - // CaptureInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturesettings.html#cfn-medialive-channel-framecapturesettings-captureinterval - CaptureInterval *types.Value `json:"CaptureInterval,omitempty"` - - // CaptureIntervalUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-framecapturesettings.html#cfn-medialive-channel-framecapturesettings-captureintervalunits - CaptureIntervalUnits *types.Value `json:"CaptureIntervalUnits,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 *Channel_FrameCaptureSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.FrameCaptureSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_globalconfiguration.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_globalconfiguration.go deleted file mode 100644 index 4556b7c3ab..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_globalconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_GlobalConfiguration AWS CloudFormation Resource (AWS::MediaLive::Channel.GlobalConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html -type Channel_GlobalConfiguration struct { - - // InitialAudioGain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-initialaudiogain - InitialAudioGain *types.Value `json:"InitialAudioGain,omitempty"` - - // InputEndAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-inputendaction - InputEndAction *types.Value `json:"InputEndAction,omitempty"` - - // InputLossBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-inputlossbehavior - InputLossBehavior *Channel_InputLossBehavior `json:"InputLossBehavior,omitempty"` - - // OutputLockingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-outputlockingmode - OutputLockingMode *types.Value `json:"OutputLockingMode,omitempty"` - - // OutputTimingSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-outputtimingsource - OutputTimingSource *types.Value `json:"OutputTimingSource,omitempty"` - - // SupportLowFramerateInputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-globalconfiguration.html#cfn-medialive-channel-globalconfiguration-supportlowframerateinputs - SupportLowFramerateInputs *types.Value `json:"SupportLowFramerateInputs,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 *Channel_GlobalConfiguration) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.GlobalConfiguration" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264colorspacesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264colorspacesettings.go deleted file mode 100644 index fe6fc648b9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264colorspacesettings.go +++ /dev/null @@ -1,45 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H264ColorSpaceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.H264ColorSpaceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264colorspacesettings.html -type Channel_H264ColorSpaceSettings struct { - - // ColorSpacePassthroughSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264colorspacesettings.html#cfn-medialive-channel-h264colorspacesettings-colorspacepassthroughsettings - ColorSpacePassthroughSettings *Channel_ColorSpacePassthroughSettings `json:"ColorSpacePassthroughSettings,omitempty"` - - // Rec601Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264colorspacesettings.html#cfn-medialive-channel-h264colorspacesettings-rec601settings - Rec601Settings *Channel_Rec601Settings `json:"Rec601Settings,omitempty"` - - // Rec709Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264colorspacesettings.html#cfn-medialive-channel-h264colorspacesettings-rec709settings - Rec709Settings *Channel_Rec709Settings `json:"Rec709Settings,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 *Channel_H264ColorSpaceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H264ColorSpaceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264filtersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264filtersettings.go deleted file mode 100644 index a84f881336..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264filtersettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H264FilterSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.H264FilterSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264filtersettings.html -type Channel_H264FilterSettings struct { - - // TemporalFilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264filtersettings.html#cfn-medialive-channel-h264filtersettings-temporalfiltersettings - TemporalFilterSettings *Channel_TemporalFilterSettings `json:"TemporalFilterSettings,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 *Channel_H264FilterSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H264FilterSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264settings.go deleted file mode 100644 index cf54bf733d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h264settings.go +++ /dev/null @@ -1,237 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H264Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.H264Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html -type Channel_H264Settings struct { - - // AdaptiveQuantization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-adaptivequantization - AdaptiveQuantization *types.Value `json:"AdaptiveQuantization,omitempty"` - - // AfdSignaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-afdsignaling - AfdSignaling *types.Value `json:"AfdSignaling,omitempty"` - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // BufFillPct AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-buffillpct - BufFillPct *types.Value `json:"BufFillPct,omitempty"` - - // BufSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-bufsize - BufSize *types.Value `json:"BufSize,omitempty"` - - // ColorMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-colormetadata - ColorMetadata *types.Value `json:"ColorMetadata,omitempty"` - - // ColorSpaceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-colorspacesettings - ColorSpaceSettings *Channel_H264ColorSpaceSettings `json:"ColorSpaceSettings,omitempty"` - - // EntropyEncoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-entropyencoding - EntropyEncoding *types.Value `json:"EntropyEncoding,omitempty"` - - // FilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-filtersettings - FilterSettings *Channel_H264FilterSettings `json:"FilterSettings,omitempty"` - - // FixedAfd AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-fixedafd - FixedAfd *types.Value `json:"FixedAfd,omitempty"` - - // FlickerAq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-flickeraq - FlickerAq *types.Value `json:"FlickerAq,omitempty"` - - // ForceFieldPictures AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-forcefieldpictures - ForceFieldPictures *types.Value `json:"ForceFieldPictures,omitempty"` - - // FramerateControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-frameratecontrol - FramerateControl *types.Value `json:"FramerateControl,omitempty"` - - // FramerateDenominator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-frameratedenominator - FramerateDenominator *types.Value `json:"FramerateDenominator,omitempty"` - - // FramerateNumerator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-frameratenumerator - FramerateNumerator *types.Value `json:"FramerateNumerator,omitempty"` - - // GopBReference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-gopbreference - GopBReference *types.Value `json:"GopBReference,omitempty"` - - // GopClosedCadence AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-gopclosedcadence - GopClosedCadence *types.Value `json:"GopClosedCadence,omitempty"` - - // GopNumBFrames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-gopnumbframes - GopNumBFrames *types.Value `json:"GopNumBFrames,omitempty"` - - // GopSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-gopsize - GopSize *types.Value `json:"GopSize,omitempty"` - - // GopSizeUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-gopsizeunits - GopSizeUnits *types.Value `json:"GopSizeUnits,omitempty"` - - // Level AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-level - Level *types.Value `json:"Level,omitempty"` - - // LookAheadRateControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-lookaheadratecontrol - LookAheadRateControl *types.Value `json:"LookAheadRateControl,omitempty"` - - // MaxBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-maxbitrate - MaxBitrate *types.Value `json:"MaxBitrate,omitempty"` - - // MinIInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-miniinterval - MinIInterval *types.Value `json:"MinIInterval,omitempty"` - - // NumRefFrames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-numrefframes - NumRefFrames *types.Value `json:"NumRefFrames,omitempty"` - - // ParControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-parcontrol - ParControl *types.Value `json:"ParControl,omitempty"` - - // ParDenominator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-pardenominator - ParDenominator *types.Value `json:"ParDenominator,omitempty"` - - // ParNumerator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-parnumerator - ParNumerator *types.Value `json:"ParNumerator,omitempty"` - - // Profile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-profile - Profile *types.Value `json:"Profile,omitempty"` - - // QualityLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-qualitylevel - QualityLevel *types.Value `json:"QualityLevel,omitempty"` - - // QvbrQualityLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-qvbrqualitylevel - QvbrQualityLevel *types.Value `json:"QvbrQualityLevel,omitempty"` - - // RateControlMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-ratecontrolmode - RateControlMode *types.Value `json:"RateControlMode,omitempty"` - - // ScanType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-scantype - ScanType *types.Value `json:"ScanType,omitempty"` - - // SceneChangeDetect AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-scenechangedetect - SceneChangeDetect *types.Value `json:"SceneChangeDetect,omitempty"` - - // Slices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-slices - Slices *types.Value `json:"Slices,omitempty"` - - // Softness AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-softness - Softness *types.Value `json:"Softness,omitempty"` - - // SpatialAq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-spatialaq - SpatialAq *types.Value `json:"SpatialAq,omitempty"` - - // SubgopLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-subgoplength - SubgopLength *types.Value `json:"SubgopLength,omitempty"` - - // Syntax AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-syntax - Syntax *types.Value `json:"Syntax,omitempty"` - - // TemporalAq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-temporalaq - TemporalAq *types.Value `json:"TemporalAq,omitempty"` - - // TimecodeInsertion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-timecodeinsertion - TimecodeInsertion *types.Value `json:"TimecodeInsertion,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 *Channel_H264Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H264Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265colorspacesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265colorspacesettings.go deleted file mode 100644 index d739427cda..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265colorspacesettings.go +++ /dev/null @@ -1,50 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H265ColorSpaceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.H265ColorSpaceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265colorspacesettings.html -type Channel_H265ColorSpaceSettings struct { - - // ColorSpacePassthroughSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265colorspacesettings.html#cfn-medialive-channel-h265colorspacesettings-colorspacepassthroughsettings - ColorSpacePassthroughSettings *Channel_ColorSpacePassthroughSettings `json:"ColorSpacePassthroughSettings,omitempty"` - - // Hdr10Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265colorspacesettings.html#cfn-medialive-channel-h265colorspacesettings-hdr10settings - Hdr10Settings *Channel_Hdr10Settings `json:"Hdr10Settings,omitempty"` - - // Rec601Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265colorspacesettings.html#cfn-medialive-channel-h265colorspacesettings-rec601settings - Rec601Settings *Channel_Rec601Settings `json:"Rec601Settings,omitempty"` - - // Rec709Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265colorspacesettings.html#cfn-medialive-channel-h265colorspacesettings-rec709settings - Rec709Settings *Channel_Rec709Settings `json:"Rec709Settings,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 *Channel_H265ColorSpaceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H265ColorSpaceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265filtersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265filtersettings.go deleted file mode 100644 index d2eaf43f92..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265filtersettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H265FilterSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.H265FilterSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265filtersettings.html -type Channel_H265FilterSettings struct { - - // TemporalFilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265filtersettings.html#cfn-medialive-channel-h265filtersettings-temporalfiltersettings - TemporalFilterSettings *Channel_TemporalFilterSettings `json:"TemporalFilterSettings,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 *Channel_H265FilterSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H265FilterSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265settings.go deleted file mode 100644 index 3d209d072c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_h265settings.go +++ /dev/null @@ -1,177 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_H265Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.H265Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html -type Channel_H265Settings struct { - - // AdaptiveQuantization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-adaptivequantization - AdaptiveQuantization *types.Value `json:"AdaptiveQuantization,omitempty"` - - // AfdSignaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-afdsignaling - AfdSignaling *types.Value `json:"AfdSignaling,omitempty"` - - // AlternativeTransferFunction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-alternativetransferfunction - AlternativeTransferFunction *types.Value `json:"AlternativeTransferFunction,omitempty"` - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // BufSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-bufsize - BufSize *types.Value `json:"BufSize,omitempty"` - - // ColorMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-colormetadata - ColorMetadata *types.Value `json:"ColorMetadata,omitempty"` - - // ColorSpaceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-colorspacesettings - ColorSpaceSettings *Channel_H265ColorSpaceSettings `json:"ColorSpaceSettings,omitempty"` - - // FilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-filtersettings - FilterSettings *Channel_H265FilterSettings `json:"FilterSettings,omitempty"` - - // FixedAfd AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-fixedafd - FixedAfd *types.Value `json:"FixedAfd,omitempty"` - - // FlickerAq AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-flickeraq - FlickerAq *types.Value `json:"FlickerAq,omitempty"` - - // FramerateDenominator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-frameratedenominator - FramerateDenominator *types.Value `json:"FramerateDenominator,omitempty"` - - // FramerateNumerator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-frameratenumerator - FramerateNumerator *types.Value `json:"FramerateNumerator,omitempty"` - - // GopClosedCadence AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-gopclosedcadence - GopClosedCadence *types.Value `json:"GopClosedCadence,omitempty"` - - // GopSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-gopsize - GopSize *types.Value `json:"GopSize,omitempty"` - - // GopSizeUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-gopsizeunits - GopSizeUnits *types.Value `json:"GopSizeUnits,omitempty"` - - // Level AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-level - Level *types.Value `json:"Level,omitempty"` - - // LookAheadRateControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-lookaheadratecontrol - LookAheadRateControl *types.Value `json:"LookAheadRateControl,omitempty"` - - // MaxBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-maxbitrate - MaxBitrate *types.Value `json:"MaxBitrate,omitempty"` - - // MinIInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-miniinterval - MinIInterval *types.Value `json:"MinIInterval,omitempty"` - - // ParDenominator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-pardenominator - ParDenominator *types.Value `json:"ParDenominator,omitempty"` - - // ParNumerator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-parnumerator - ParNumerator *types.Value `json:"ParNumerator,omitempty"` - - // Profile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-profile - Profile *types.Value `json:"Profile,omitempty"` - - // QvbrQualityLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-qvbrqualitylevel - QvbrQualityLevel *types.Value `json:"QvbrQualityLevel,omitempty"` - - // RateControlMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-ratecontrolmode - RateControlMode *types.Value `json:"RateControlMode,omitempty"` - - // ScanType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-scantype - ScanType *types.Value `json:"ScanType,omitempty"` - - // SceneChangeDetect AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-scenechangedetect - SceneChangeDetect *types.Value `json:"SceneChangeDetect,omitempty"` - - // Slices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-slices - Slices *types.Value `json:"Slices,omitempty"` - - // Tier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-tier - Tier *types.Value `json:"Tier,omitempty"` - - // TimecodeInsertion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-timecodeinsertion - TimecodeInsertion *types.Value `json:"TimecodeInsertion,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 *Channel_H265Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.H265Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsakamaisettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsakamaisettings.go deleted file mode 100644 index 7c6353dd70..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsakamaisettings.go +++ /dev/null @@ -1,67 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsAkamaiSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsAkamaiSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html -type Channel_HlsAkamaiSettings struct { - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // FilecacheDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-filecacheduration - FilecacheDuration *types.Value `json:"FilecacheDuration,omitempty"` - - // HttpTransferMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-httptransfermode - HttpTransferMode *types.Value `json:"HttpTransferMode,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-numretries - NumRetries *types.Value `json:"NumRetries,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,omitempty"` - - // Salt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-salt - Salt *types.Value `json:"Salt,omitempty"` - - // Token AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsakamaisettings.html#cfn-medialive-channel-hlsakamaisettings-token - Token *types.Value `json:"Token,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 *Channel_HlsAkamaiSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsAkamaiSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsbasicputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsbasicputsettings.go deleted file mode 100644 index 0e3b025441..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsbasicputsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsBasicPutSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsBasicPutSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsbasicputsettings.html -type Channel_HlsBasicPutSettings struct { - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsbasicputsettings.html#cfn-medialive-channel-hlsbasicputsettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // FilecacheDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsbasicputsettings.html#cfn-medialive-channel-hlsbasicputsettings-filecacheduration - FilecacheDuration *types.Value `json:"FilecacheDuration,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsbasicputsettings.html#cfn-medialive-channel-hlsbasicputsettings-numretries - NumRetries *types.Value `json:"NumRetries,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsbasicputsettings.html#cfn-medialive-channel-hlsbasicputsettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,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 *Channel_HlsBasicPutSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsBasicPutSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlscdnsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlscdnsettings.go deleted file mode 100644 index 468d3660d9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlscdnsettings.go +++ /dev/null @@ -1,55 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsCdnSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsCdnSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html -type Channel_HlsCdnSettings struct { - - // HlsAkamaiSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html#cfn-medialive-channel-hlscdnsettings-hlsakamaisettings - HlsAkamaiSettings *Channel_HlsAkamaiSettings `json:"HlsAkamaiSettings,omitempty"` - - // HlsBasicPutSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html#cfn-medialive-channel-hlscdnsettings-hlsbasicputsettings - HlsBasicPutSettings *Channel_HlsBasicPutSettings `json:"HlsBasicPutSettings,omitempty"` - - // HlsMediaStoreSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html#cfn-medialive-channel-hlscdnsettings-hlsmediastoresettings - HlsMediaStoreSettings *Channel_HlsMediaStoreSettings `json:"HlsMediaStoreSettings,omitempty"` - - // HlsS3Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html#cfn-medialive-channel-hlscdnsettings-hlss3settings - HlsS3Settings *Channel_HlsS3Settings `json:"HlsS3Settings,omitempty"` - - // HlsWebdavSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlscdnsettings.html#cfn-medialive-channel-hlscdnsettings-hlswebdavsettings - HlsWebdavSettings *Channel_HlsWebdavSettings `json:"HlsWebdavSettings,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 *Channel_HlsCdnSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsCdnSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsgroupsettings.go deleted file mode 100644 index 2f0f3ecd2b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsgroupsettings.go +++ /dev/null @@ -1,242 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html -type Channel_HlsGroupSettings struct { - - // AdMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-admarkers - AdMarkers *types.Value `json:"AdMarkers,omitempty"` - - // BaseUrlContent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-baseurlcontent - BaseUrlContent *types.Value `json:"BaseUrlContent,omitempty"` - - // BaseUrlContent1 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-baseurlcontent1 - BaseUrlContent1 *types.Value `json:"BaseUrlContent1,omitempty"` - - // BaseUrlManifest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-baseurlmanifest - BaseUrlManifest *types.Value `json:"BaseUrlManifest,omitempty"` - - // BaseUrlManifest1 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-baseurlmanifest1 - BaseUrlManifest1 *types.Value `json:"BaseUrlManifest1,omitempty"` - - // CaptionLanguageMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-captionlanguagemappings - CaptionLanguageMappings []Channel_CaptionLanguageMapping `json:"CaptionLanguageMappings,omitempty"` - - // CaptionLanguageSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-captionlanguagesetting - CaptionLanguageSetting *types.Value `json:"CaptionLanguageSetting,omitempty"` - - // ClientCache AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-clientcache - ClientCache *types.Value `json:"ClientCache,omitempty"` - - // CodecSpecification AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-codecspecification - CodecSpecification *types.Value `json:"CodecSpecification,omitempty"` - - // ConstantIv AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-constantiv - ConstantIv *types.Value `json:"ConstantIv,omitempty"` - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` - - // DirectoryStructure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-directorystructure - DirectoryStructure *types.Value `json:"DirectoryStructure,omitempty"` - - // DiscontinuityTags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-discontinuitytags - DiscontinuityTags *types.Value `json:"DiscontinuityTags,omitempty"` - - // EncryptionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-encryptiontype - EncryptionType *types.Value `json:"EncryptionType,omitempty"` - - // HlsCdnSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-hlscdnsettings - HlsCdnSettings *Channel_HlsCdnSettings `json:"HlsCdnSettings,omitempty"` - - // HlsId3SegmentTagging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-hlsid3segmenttagging - HlsId3SegmentTagging *types.Value `json:"HlsId3SegmentTagging,omitempty"` - - // IFrameOnlyPlaylists AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-iframeonlyplaylists - IFrameOnlyPlaylists *types.Value `json:"IFrameOnlyPlaylists,omitempty"` - - // IncompleteSegmentBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-incompletesegmentbehavior - IncompleteSegmentBehavior *types.Value `json:"IncompleteSegmentBehavior,omitempty"` - - // IndexNSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-indexnsegments - IndexNSegments *types.Value `json:"IndexNSegments,omitempty"` - - // InputLossAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-inputlossaction - InputLossAction *types.Value `json:"InputLossAction,omitempty"` - - // IvInManifest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-ivinmanifest - IvInManifest *types.Value `json:"IvInManifest,omitempty"` - - // IvSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-ivsource - IvSource *types.Value `json:"IvSource,omitempty"` - - // KeepSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-keepsegments - KeepSegments *types.Value `json:"KeepSegments,omitempty"` - - // KeyFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-keyformat - KeyFormat *types.Value `json:"KeyFormat,omitempty"` - - // KeyFormatVersions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-keyformatversions - KeyFormatVersions *types.Value `json:"KeyFormatVersions,omitempty"` - - // KeyProviderSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-keyprovidersettings - KeyProviderSettings *Channel_KeyProviderSettings `json:"KeyProviderSettings,omitempty"` - - // ManifestCompression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-manifestcompression - ManifestCompression *types.Value `json:"ManifestCompression,omitempty"` - - // ManifestDurationFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-manifestdurationformat - ManifestDurationFormat *types.Value `json:"ManifestDurationFormat,omitempty"` - - // MinSegmentLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-minsegmentlength - MinSegmentLength *types.Value `json:"MinSegmentLength,omitempty"` - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-mode - Mode *types.Value `json:"Mode,omitempty"` - - // OutputSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-outputselection - OutputSelection *types.Value `json:"OutputSelection,omitempty"` - - // ProgramDateTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-programdatetime - ProgramDateTime *types.Value `json:"ProgramDateTime,omitempty"` - - // ProgramDateTimePeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-programdatetimeperiod - ProgramDateTimePeriod *types.Value `json:"ProgramDateTimePeriod,omitempty"` - - // RedundantManifest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-redundantmanifest - RedundantManifest *types.Value `json:"RedundantManifest,omitempty"` - - // SegmentLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-segmentlength - SegmentLength *types.Value `json:"SegmentLength,omitempty"` - - // SegmentationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-segmentationmode - SegmentationMode *types.Value `json:"SegmentationMode,omitempty"` - - // SegmentsPerSubdirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-segmentspersubdirectory - SegmentsPerSubdirectory *types.Value `json:"SegmentsPerSubdirectory,omitempty"` - - // StreamInfResolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-streaminfresolution - StreamInfResolution *types.Value `json:"StreamInfResolution,omitempty"` - - // TimedMetadataId3Frame AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-timedmetadataid3frame - TimedMetadataId3Frame *types.Value `json:"TimedMetadataId3Frame,omitempty"` - - // TimedMetadataId3Period AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-timedmetadataid3period - TimedMetadataId3Period *types.Value `json:"TimedMetadataId3Period,omitempty"` - - // TimestampDeltaMilliseconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-timestampdeltamilliseconds - TimestampDeltaMilliseconds *types.Value `json:"TimestampDeltaMilliseconds,omitempty"` - - // TsFileMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsgroupsettings.html#cfn-medialive-channel-hlsgroupsettings-tsfilemode - TsFileMode *types.Value `json:"TsFileMode,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 *Channel_HlsGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsinputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsinputsettings.go deleted file mode 100644 index 71ee4070a5..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsinputsettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsInputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsInputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html -type Channel_HlsInputSettings struct { - - // Bandwidth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html#cfn-medialive-channel-hlsinputsettings-bandwidth - Bandwidth *types.Value `json:"Bandwidth,omitempty"` - - // BufferSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html#cfn-medialive-channel-hlsinputsettings-buffersegments - BufferSegments *types.Value `json:"BufferSegments,omitempty"` - - // Retries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html#cfn-medialive-channel-hlsinputsettings-retries - Retries *types.Value `json:"Retries,omitempty"` - - // RetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html#cfn-medialive-channel-hlsinputsettings-retryinterval - RetryInterval *types.Value `json:"RetryInterval,omitempty"` - - // Scte35Source AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsinputsettings.html#cfn-medialive-channel-hlsinputsettings-scte35source - Scte35Source *types.Value `json:"Scte35Source,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 *Channel_HlsInputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsInputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsmediastoresettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsmediastoresettings.go deleted file mode 100644 index bdce25542c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsmediastoresettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsMediaStoreSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsMediaStoreSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html -type Channel_HlsMediaStoreSettings struct { - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html#cfn-medialive-channel-hlsmediastoresettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // FilecacheDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html#cfn-medialive-channel-hlsmediastoresettings-filecacheduration - FilecacheDuration *types.Value `json:"FilecacheDuration,omitempty"` - - // MediaStoreStorageClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html#cfn-medialive-channel-hlsmediastoresettings-mediastorestorageclass - MediaStoreStorageClass *types.Value `json:"MediaStoreStorageClass,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html#cfn-medialive-channel-hlsmediastoresettings-numretries - NumRetries *types.Value `json:"NumRetries,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsmediastoresettings.html#cfn-medialive-channel-hlsmediastoresettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,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 *Channel_HlsMediaStoreSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsMediaStoreSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsoutputsettings.go deleted file mode 100644 index 41c02ff7d4..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlsoutputsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsoutputsettings.html -type Channel_HlsOutputSettings struct { - - // H265PackagingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsoutputsettings.html#cfn-medialive-channel-hlsoutputsettings-h265packagingtype - H265PackagingType *types.Value `json:"H265PackagingType,omitempty"` - - // HlsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsoutputsettings.html#cfn-medialive-channel-hlsoutputsettings-hlssettings - HlsSettings *Channel_HlsSettings `json:"HlsSettings,omitempty"` - - // NameModifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsoutputsettings.html#cfn-medialive-channel-hlsoutputsettings-namemodifier - NameModifier *types.Value `json:"NameModifier,omitempty"` - - // SegmentModifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlsoutputsettings.html#cfn-medialive-channel-hlsoutputsettings-segmentmodifier - SegmentModifier *types.Value `json:"SegmentModifier,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 *Channel_HlsOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlss3settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlss3settings.go deleted file mode 100644 index f82ec66d73..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlss3settings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsS3Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsS3Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlss3settings.html -type Channel_HlsS3Settings struct { - - // CannedAcl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlss3settings.html#cfn-medialive-channel-hlss3settings-cannedacl - CannedAcl *types.Value `json:"CannedAcl,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 *Channel_HlsS3Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsS3Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlssettings.go deleted file mode 100644 index 1369bad437..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlssettings.go +++ /dev/null @@ -1,50 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlssettings.html -type Channel_HlsSettings struct { - - // AudioOnlyHlsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlssettings.html#cfn-medialive-channel-hlssettings-audioonlyhlssettings - AudioOnlyHlsSettings *Channel_AudioOnlyHlsSettings `json:"AudioOnlyHlsSettings,omitempty"` - - // Fmp4HlsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlssettings.html#cfn-medialive-channel-hlssettings-fmp4hlssettings - Fmp4HlsSettings *Channel_Fmp4HlsSettings `json:"Fmp4HlsSettings,omitempty"` - - // FrameCaptureHlsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlssettings.html#cfn-medialive-channel-hlssettings-framecapturehlssettings - FrameCaptureHlsSettings *Channel_FrameCaptureHlsSettings `json:"FrameCaptureHlsSettings,omitempty"` - - // StandardHlsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlssettings.html#cfn-medialive-channel-hlssettings-standardhlssettings - StandardHlsSettings *Channel_StandardHlsSettings `json:"StandardHlsSettings,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 *Channel_HlsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlswebdavsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlswebdavsettings.go deleted file mode 100644 index a36faa3ab5..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_hlswebdavsettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsWebdavSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HlsWebdavSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html -type Channel_HlsWebdavSettings struct { - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html#cfn-medialive-channel-hlswebdavsettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // FilecacheDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html#cfn-medialive-channel-hlswebdavsettings-filecacheduration - FilecacheDuration *types.Value `json:"FilecacheDuration,omitempty"` - - // HttpTransferMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html#cfn-medialive-channel-hlswebdavsettings-httptransfermode - HttpTransferMode *types.Value `json:"HttpTransferMode,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html#cfn-medialive-channel-hlswebdavsettings-numretries - NumRetries *types.Value `json:"NumRetries,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-hlswebdavsettings.html#cfn-medialive-channel-hlswebdavsettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,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 *Channel_HlsWebdavSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HlsWebdavSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_htmlmotiongraphicssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_htmlmotiongraphicssettings.go deleted file mode 100644 index f9357e213d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_htmlmotiongraphicssettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HtmlMotionGraphicsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.HtmlMotionGraphicsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-htmlmotiongraphicssettings.html -type Channel_HtmlMotionGraphicsSettings struct { - - // 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 *Channel_HtmlMotionGraphicsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.HtmlMotionGraphicsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputattachment.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputattachment.go deleted file mode 100644 index 8b39351c0f..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputattachment.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputAttachment AWS CloudFormation Resource (AWS::MediaLive::Channel.InputAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputattachment.html -type Channel_InputAttachment struct { - - // AutomaticInputFailoverSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputattachment.html#cfn-medialive-channel-inputattachment-automaticinputfailoversettings - AutomaticInputFailoverSettings *Channel_AutomaticInputFailoverSettings `json:"AutomaticInputFailoverSettings,omitempty"` - - // InputAttachmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputattachment.html#cfn-medialive-channel-inputattachment-inputattachmentname - InputAttachmentName *types.Value `json:"InputAttachmentName,omitempty"` - - // InputId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputattachment.html#cfn-medialive-channel-inputattachment-inputid - InputId *types.Value `json:"InputId,omitempty"` - - // InputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputattachment.html#cfn-medialive-channel-inputattachment-inputsettings - InputSettings *Channel_InputSettings `json:"InputSettings,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 *Channel_InputAttachment) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputAttachment" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputchannellevel.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputchannellevel.go deleted file mode 100644 index 8109cacdc9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputchannellevel.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputChannelLevel AWS CloudFormation Resource (AWS::MediaLive::Channel.InputChannelLevel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputchannellevel.html -type Channel_InputChannelLevel struct { - - // Gain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputchannellevel.html#cfn-medialive-channel-inputchannellevel-gain - Gain *types.Value `json:"Gain,omitempty"` - - // InputChannel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputchannellevel.html#cfn-medialive-channel-inputchannellevel-inputchannel - InputChannel *types.Value `json:"InputChannel,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 *Channel_InputChannelLevel) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputChannelLevel" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlocation.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlocation.go deleted file mode 100644 index 367d1088b5..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlocation.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputLocation AWS CloudFormation Resource (AWS::MediaLive::Channel.InputLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlocation.html -type Channel_InputLocation struct { - - // PasswordParam AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlocation.html#cfn-medialive-channel-inputlocation-passwordparam - PasswordParam *types.Value `json:"PasswordParam,omitempty"` - - // Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlocation.html#cfn-medialive-channel-inputlocation-uri - Uri *types.Value `json:"Uri,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlocation.html#cfn-medialive-channel-inputlocation-username - Username *types.Value `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 *Channel_InputLocation) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputLocation" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossbehavior.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossbehavior.go deleted file mode 100644 index 344951d65a..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossbehavior.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputLossBehavior AWS CloudFormation Resource (AWS::MediaLive::Channel.InputLossBehavior) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html -type Channel_InputLossBehavior struct { - - // BlackFrameMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html#cfn-medialive-channel-inputlossbehavior-blackframemsec - BlackFrameMsec *types.Value `json:"BlackFrameMsec,omitempty"` - - // InputLossImageColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html#cfn-medialive-channel-inputlossbehavior-inputlossimagecolor - InputLossImageColor *types.Value `json:"InputLossImageColor,omitempty"` - - // InputLossImageSlate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html#cfn-medialive-channel-inputlossbehavior-inputlossimageslate - InputLossImageSlate *Channel_InputLocation `json:"InputLossImageSlate,omitempty"` - - // InputLossImageType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html#cfn-medialive-channel-inputlossbehavior-inputlossimagetype - InputLossImageType *types.Value `json:"InputLossImageType,omitempty"` - - // RepeatFrameMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossbehavior.html#cfn-medialive-channel-inputlossbehavior-repeatframemsec - RepeatFrameMsec *types.Value `json:"RepeatFrameMsec,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 *Channel_InputLossBehavior) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputLossBehavior" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossfailoversettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossfailoversettings.go deleted file mode 100644 index d13eeb0fc8..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputlossfailoversettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputLossFailoverSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.InputLossFailoverSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossfailoversettings.html -type Channel_InputLossFailoverSettings struct { - - // InputLossThresholdMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputlossfailoversettings.html#cfn-medialive-channel-inputlossfailoversettings-inputlossthresholdmsec - InputLossThresholdMsec *types.Value `json:"InputLossThresholdMsec,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 *Channel_InputLossFailoverSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputLossFailoverSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputsettings.go deleted file mode 100644 index d359c3466e..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputsettings.go +++ /dev/null @@ -1,82 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.InputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html -type Channel_InputSettings struct { - - // AudioSelectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-audioselectors - AudioSelectors []Channel_AudioSelector `json:"AudioSelectors,omitempty"` - - // CaptionSelectors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-captionselectors - CaptionSelectors []Channel_CaptionSelector `json:"CaptionSelectors,omitempty"` - - // DeblockFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-deblockfilter - DeblockFilter *types.Value `json:"DeblockFilter,omitempty"` - - // DenoiseFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-denoisefilter - DenoiseFilter *types.Value `json:"DenoiseFilter,omitempty"` - - // FilterStrength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-filterstrength - FilterStrength *types.Value `json:"FilterStrength,omitempty"` - - // InputFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-inputfilter - InputFilter *types.Value `json:"InputFilter,omitempty"` - - // NetworkInputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-networkinputsettings - NetworkInputSettings *Channel_NetworkInputSettings `json:"NetworkInputSettings,omitempty"` - - // Smpte2038DataPreference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-smpte2038datapreference - Smpte2038DataPreference *types.Value `json:"Smpte2038DataPreference,omitempty"` - - // SourceEndBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-sourceendbehavior - SourceEndBehavior *types.Value `json:"SourceEndBehavior,omitempty"` - - // VideoSelector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputsettings.html#cfn-medialive-channel-inputsettings-videoselector - VideoSelector *Channel_VideoSelector `json:"VideoSelector,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 *Channel_InputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputspecification.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputspecification.go deleted file mode 100644 index f9aa61f6cb..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_inputspecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_InputSpecification AWS CloudFormation Resource (AWS::MediaLive::Channel.InputSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputspecification.html -type Channel_InputSpecification struct { - - // Codec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputspecification.html#cfn-medialive-channel-inputspecification-codec - Codec *types.Value `json:"Codec,omitempty"` - - // MaximumBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputspecification.html#cfn-medialive-channel-inputspecification-maximumbitrate - MaximumBitrate *types.Value `json:"MaximumBitrate,omitempty"` - - // Resolution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-inputspecification.html#cfn-medialive-channel-inputspecification-resolution - Resolution *types.Value `json:"Resolution,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 *Channel_InputSpecification) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.InputSpecification" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_keyprovidersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_keyprovidersettings.go deleted file mode 100644 index 8b4a5cffe0..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_keyprovidersettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_KeyProviderSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.KeyProviderSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-keyprovidersettings.html -type Channel_KeyProviderSettings struct { - - // StaticKeySettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-keyprovidersettings.html#cfn-medialive-channel-keyprovidersettings-statickeysettings - StaticKeySettings *Channel_StaticKeySettings `json:"StaticKeySettings,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 *Channel_KeyProviderSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.KeyProviderSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m2tssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m2tssettings.go deleted file mode 100644 index 6b6ff2c6aa..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m2tssettings.go +++ /dev/null @@ -1,267 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_M2tsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.M2tsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html -type Channel_M2tsSettings struct { - - // AbsentInputAudioBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-absentinputaudiobehavior - AbsentInputAudioBehavior *types.Value `json:"AbsentInputAudioBehavior,omitempty"` - - // Arib AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-arib - Arib *types.Value `json:"Arib,omitempty"` - - // AribCaptionsPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-aribcaptionspid - AribCaptionsPid *types.Value `json:"AribCaptionsPid,omitempty"` - - // AribCaptionsPidControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-aribcaptionspidcontrol - AribCaptionsPidControl *types.Value `json:"AribCaptionsPidControl,omitempty"` - - // AudioBufferModel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-audiobuffermodel - AudioBufferModel *types.Value `json:"AudioBufferModel,omitempty"` - - // AudioFramesPerPes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-audioframesperpes - AudioFramesPerPes *types.Value `json:"AudioFramesPerPes,omitempty"` - - // AudioPids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-audiopids - AudioPids *types.Value `json:"AudioPids,omitempty"` - - // AudioStreamType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-audiostreamtype - AudioStreamType *types.Value `json:"AudioStreamType,omitempty"` - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // BufferModel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-buffermodel - BufferModel *types.Value `json:"BufferModel,omitempty"` - - // CcDescriptor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ccdescriptor - CcDescriptor *types.Value `json:"CcDescriptor,omitempty"` - - // DvbNitSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-dvbnitsettings - DvbNitSettings *Channel_DvbNitSettings `json:"DvbNitSettings,omitempty"` - - // DvbSdtSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-dvbsdtsettings - DvbSdtSettings *Channel_DvbSdtSettings `json:"DvbSdtSettings,omitempty"` - - // DvbSubPids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-dvbsubpids - DvbSubPids *types.Value `json:"DvbSubPids,omitempty"` - - // DvbTdtSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-dvbtdtsettings - DvbTdtSettings *Channel_DvbTdtSettings `json:"DvbTdtSettings,omitempty"` - - // DvbTeletextPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-dvbteletextpid - DvbTeletextPid *types.Value `json:"DvbTeletextPid,omitempty"` - - // Ebif AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ebif - Ebif *types.Value `json:"Ebif,omitempty"` - - // EbpAudioInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ebpaudiointerval - EbpAudioInterval *types.Value `json:"EbpAudioInterval,omitempty"` - - // EbpLookaheadMs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ebplookaheadms - EbpLookaheadMs *types.Value `json:"EbpLookaheadMs,omitempty"` - - // EbpPlacement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ebpplacement - EbpPlacement *types.Value `json:"EbpPlacement,omitempty"` - - // EcmPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ecmpid - EcmPid *types.Value `json:"EcmPid,omitempty"` - - // EsRateInPes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-esrateinpes - EsRateInPes *types.Value `json:"EsRateInPes,omitempty"` - - // EtvPlatformPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-etvplatformpid - EtvPlatformPid *types.Value `json:"EtvPlatformPid,omitempty"` - - // EtvSignalPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-etvsignalpid - EtvSignalPid *types.Value `json:"EtvSignalPid,omitempty"` - - // FragmentTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-fragmenttime - FragmentTime *types.Value `json:"FragmentTime,omitempty"` - - // Klv AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-klv - Klv *types.Value `json:"Klv,omitempty"` - - // KlvDataPids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-klvdatapids - KlvDataPids *types.Value `json:"KlvDataPids,omitempty"` - - // NielsenId3Behavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-nielsenid3behavior - NielsenId3Behavior *types.Value `json:"NielsenId3Behavior,omitempty"` - - // NullPacketBitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-nullpacketbitrate - NullPacketBitrate *types.Value `json:"NullPacketBitrate,omitempty"` - - // PatInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-patinterval - PatInterval *types.Value `json:"PatInterval,omitempty"` - - // PcrControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-pcrcontrol - PcrControl *types.Value `json:"PcrControl,omitempty"` - - // PcrPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-pcrperiod - PcrPeriod *types.Value `json:"PcrPeriod,omitempty"` - - // PcrPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-pcrpid - PcrPid *types.Value `json:"PcrPid,omitempty"` - - // PmtInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-pmtinterval - PmtInterval *types.Value `json:"PmtInterval,omitempty"` - - // PmtPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-pmtpid - PmtPid *types.Value `json:"PmtPid,omitempty"` - - // ProgramNum AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-programnum - ProgramNum *types.Value `json:"ProgramNum,omitempty"` - - // RateMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-ratemode - RateMode *types.Value `json:"RateMode,omitempty"` - - // Scte27Pids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-scte27pids - Scte27Pids *types.Value `json:"Scte27Pids,omitempty"` - - // Scte35Control AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-scte35control - Scte35Control *types.Value `json:"Scte35Control,omitempty"` - - // Scte35Pid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-scte35pid - Scte35Pid *types.Value `json:"Scte35Pid,omitempty"` - - // SegmentationMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-segmentationmarkers - SegmentationMarkers *types.Value `json:"SegmentationMarkers,omitempty"` - - // SegmentationStyle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-segmentationstyle - SegmentationStyle *types.Value `json:"SegmentationStyle,omitempty"` - - // SegmentationTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-segmentationtime - SegmentationTime *types.Value `json:"SegmentationTime,omitempty"` - - // TimedMetadataBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-timedmetadatabehavior - TimedMetadataBehavior *types.Value `json:"TimedMetadataBehavior,omitempty"` - - // TimedMetadataPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-timedmetadatapid - TimedMetadataPid *types.Value `json:"TimedMetadataPid,omitempty"` - - // TransportStreamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-transportstreamid - TransportStreamId *types.Value `json:"TransportStreamId,omitempty"` - - // VideoPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m2tssettings.html#cfn-medialive-channel-m2tssettings-videopid - VideoPid *types.Value `json:"VideoPid,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 *Channel_M2tsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.M2tsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m3u8settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m3u8settings.go deleted file mode 100644 index 8ef960284e..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_m3u8settings.go +++ /dev/null @@ -1,117 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_M3u8Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.M3u8Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html -type Channel_M3u8Settings struct { - - // AudioFramesPerPes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-audioframesperpes - AudioFramesPerPes *types.Value `json:"AudioFramesPerPes,omitempty"` - - // AudioPids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-audiopids - AudioPids *types.Value `json:"AudioPids,omitempty"` - - // EcmPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-ecmpid - EcmPid *types.Value `json:"EcmPid,omitempty"` - - // NielsenId3Behavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-nielsenid3behavior - NielsenId3Behavior *types.Value `json:"NielsenId3Behavior,omitempty"` - - // PatInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-patinterval - PatInterval *types.Value `json:"PatInterval,omitempty"` - - // PcrControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-pcrcontrol - PcrControl *types.Value `json:"PcrControl,omitempty"` - - // PcrPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-pcrperiod - PcrPeriod *types.Value `json:"PcrPeriod,omitempty"` - - // PcrPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-pcrpid - PcrPid *types.Value `json:"PcrPid,omitempty"` - - // PmtInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-pmtinterval - PmtInterval *types.Value `json:"PmtInterval,omitempty"` - - // PmtPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-pmtpid - PmtPid *types.Value `json:"PmtPid,omitempty"` - - // ProgramNum AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-programnum - ProgramNum *types.Value `json:"ProgramNum,omitempty"` - - // Scte35Behavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-scte35behavior - Scte35Behavior *types.Value `json:"Scte35Behavior,omitempty"` - - // Scte35Pid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-scte35pid - Scte35Pid *types.Value `json:"Scte35Pid,omitempty"` - - // TimedMetadataBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-timedmetadatabehavior - TimedMetadataBehavior *types.Value `json:"TimedMetadataBehavior,omitempty"` - - // TimedMetadataPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-timedmetadatapid - TimedMetadataPid *types.Value `json:"TimedMetadataPid,omitempty"` - - // TransportStreamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-transportstreamid - TransportStreamId *types.Value `json:"TransportStreamId,omitempty"` - - // VideoPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-m3u8settings.html#cfn-medialive-channel-m3u8settings-videopid - VideoPid *types.Value `json:"VideoPid,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 *Channel_M3u8Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.M3u8Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputsettings.go deleted file mode 100644 index 6c8f962015..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackageoutputsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MediaPackageOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MediaPackageOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mediapackageoutputsettings.html -type Channel_MediaPackageOutputSettings struct { - - // 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 *Channel_MediaPackageOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MediaPackageOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicsconfiguration.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicsconfiguration.go deleted file mode 100644 index 319aa63d43..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MotionGraphicsConfiguration AWS CloudFormation Resource (AWS::MediaLive::Channel.MotionGraphicsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-motiongraphicsconfiguration.html -type Channel_MotionGraphicsConfiguration struct { - - // MotionGraphicsInsertion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-motiongraphicsconfiguration.html#cfn-medialive-channel-motiongraphicsconfiguration-motiongraphicsinsertion - MotionGraphicsInsertion *types.Value `json:"MotionGraphicsInsertion,omitempty"` - - // MotionGraphicsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-motiongraphicsconfiguration.html#cfn-medialive-channel-motiongraphicsconfiguration-motiongraphicssettings - MotionGraphicsSettings *Channel_MotionGraphicsSettings `json:"MotionGraphicsSettings,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 *Channel_MotionGraphicsConfiguration) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MotionGraphicsConfiguration" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicssettings.go deleted file mode 100644 index 59fd022724..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_motiongraphicssettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MotionGraphicsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MotionGraphicsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-motiongraphicssettings.html -type Channel_MotionGraphicsSettings struct { - - // HtmlMotionGraphicsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-motiongraphicssettings.html#cfn-medialive-channel-motiongraphicssettings-htmlmotiongraphicssettings - HtmlMotionGraphicsSettings *Channel_HtmlMotionGraphicsSettings `json:"HtmlMotionGraphicsSettings,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 *Channel_MotionGraphicsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MotionGraphicsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mp2settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mp2settings.go deleted file mode 100644 index a00de03150..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mp2settings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Mp2Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Mp2Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mp2settings.html -type Channel_Mp2Settings struct { - - // Bitrate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mp2settings.html#cfn-medialive-channel-mp2settings-bitrate - Bitrate *types.Value `json:"Bitrate,omitempty"` - - // CodingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mp2settings.html#cfn-medialive-channel-mp2settings-codingmode - CodingMode *types.Value `json:"CodingMode,omitempty"` - - // SampleRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mp2settings.html#cfn-medialive-channel-mp2settings-samplerate - SampleRate *types.Value `json:"SampleRate,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 *Channel_Mp2Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Mp2Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2filtersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2filtersettings.go deleted file mode 100644 index ef0d984675..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2filtersettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Mpeg2FilterSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Mpeg2FilterSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2filtersettings.html -type Channel_Mpeg2FilterSettings struct { - - // TemporalFilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2filtersettings.html#cfn-medialive-channel-mpeg2filtersettings-temporalfiltersettings - TemporalFilterSettings *Channel_TemporalFilterSettings `json:"TemporalFilterSettings,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 *Channel_Mpeg2FilterSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Mpeg2FilterSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2settings.go deleted file mode 100644 index 807aeeab47..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mpeg2settings.go +++ /dev/null @@ -1,112 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Mpeg2Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Mpeg2Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html -type Channel_Mpeg2Settings struct { - - // AdaptiveQuantization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-adaptivequantization - AdaptiveQuantization *types.Value `json:"AdaptiveQuantization,omitempty"` - - // AfdSignaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-afdsignaling - AfdSignaling *types.Value `json:"AfdSignaling,omitempty"` - - // ColorMetadata AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-colormetadata - ColorMetadata *types.Value `json:"ColorMetadata,omitempty"` - - // ColorSpace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-colorspace - ColorSpace *types.Value `json:"ColorSpace,omitempty"` - - // DisplayAspectRatio AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-displayaspectratio - DisplayAspectRatio *types.Value `json:"DisplayAspectRatio,omitempty"` - - // FilterSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-filtersettings - FilterSettings *Channel_Mpeg2FilterSettings `json:"FilterSettings,omitempty"` - - // FixedAfd AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-fixedafd - FixedAfd *types.Value `json:"FixedAfd,omitempty"` - - // FramerateDenominator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-frameratedenominator - FramerateDenominator *types.Value `json:"FramerateDenominator,omitempty"` - - // FramerateNumerator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-frameratenumerator - FramerateNumerator *types.Value `json:"FramerateNumerator,omitempty"` - - // GopClosedCadence AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-gopclosedcadence - GopClosedCadence *types.Value `json:"GopClosedCadence,omitempty"` - - // GopNumBFrames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-gopnumbframes - GopNumBFrames *types.Value `json:"GopNumBFrames,omitempty"` - - // GopSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-gopsize - GopSize *types.Value `json:"GopSize,omitempty"` - - // GopSizeUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-gopsizeunits - GopSizeUnits *types.Value `json:"GopSizeUnits,omitempty"` - - // ScanType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-scantype - ScanType *types.Value `json:"ScanType,omitempty"` - - // SubgopLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-subgoplength - SubgopLength *types.Value `json:"SubgopLength,omitempty"` - - // TimecodeInsertion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mpeg2settings.html#cfn-medialive-channel-mpeg2settings-timecodeinsertion - TimecodeInsertion *types.Value `json:"TimecodeInsertion,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 *Channel_Mpeg2Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Mpeg2Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothgroupsettings.go deleted file mode 100644 index a85fe443db..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothgroupsettings.go +++ /dev/null @@ -1,127 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MsSmoothGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MsSmoothGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html -type Channel_MsSmoothGroupSettings struct { - - // AcquisitionPointId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-acquisitionpointid - AcquisitionPointId *types.Value `json:"AcquisitionPointId,omitempty"` - - // AudioOnlyTimecodeControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-audioonlytimecodecontrol - AudioOnlyTimecodeControl *types.Value `json:"AudioOnlyTimecodeControl,omitempty"` - - // CertificateMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-certificatemode - CertificateMode *types.Value `json:"CertificateMode,omitempty"` - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` - - // EventId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-eventid - EventId *types.Value `json:"EventId,omitempty"` - - // EventIdMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-eventidmode - EventIdMode *types.Value `json:"EventIdMode,omitempty"` - - // EventStopBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-eventstopbehavior - EventStopBehavior *types.Value `json:"EventStopBehavior,omitempty"` - - // FilecacheDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-filecacheduration - FilecacheDuration *types.Value `json:"FilecacheDuration,omitempty"` - - // FragmentLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-fragmentlength - FragmentLength *types.Value `json:"FragmentLength,omitempty"` - - // InputLossAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-inputlossaction - InputLossAction *types.Value `json:"InputLossAction,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-numretries - NumRetries *types.Value `json:"NumRetries,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,omitempty"` - - // SegmentationMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-segmentationmode - SegmentationMode *types.Value `json:"SegmentationMode,omitempty"` - - // SendDelayMs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-senddelayms - SendDelayMs *types.Value `json:"SendDelayMs,omitempty"` - - // SparseTrackType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-sparsetracktype - SparseTrackType *types.Value `json:"SparseTrackType,omitempty"` - - // StreamManifestBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-streammanifestbehavior - StreamManifestBehavior *types.Value `json:"StreamManifestBehavior,omitempty"` - - // TimestampOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-timestampoffset - TimestampOffset *types.Value `json:"TimestampOffset,omitempty"` - - // TimestampOffsetMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothgroupsettings.html#cfn-medialive-channel-mssmoothgroupsettings-timestampoffsetmode - TimestampOffsetMode *types.Value `json:"TimestampOffsetMode,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 *Channel_MsSmoothGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MsSmoothGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothoutputsettings.go deleted file mode 100644 index 6b87e08e48..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mssmoothoutputsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MsSmoothOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MsSmoothOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothoutputsettings.html -type Channel_MsSmoothOutputSettings struct { - - // H265PackagingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothoutputsettings.html#cfn-medialive-channel-mssmoothoutputsettings-h265packagingtype - H265PackagingType *types.Value `json:"H265PackagingType,omitempty"` - - // NameModifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mssmoothoutputsettings.html#cfn-medialive-channel-mssmoothoutputsettings-namemodifier - NameModifier *types.Value `json:"NameModifier,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 *Channel_MsSmoothOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MsSmoothOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexgroupsettings.go deleted file mode 100644 index 94d8334401..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexgroupsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MultiplexGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MultiplexGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexgroupsettings.html -type Channel_MultiplexGroupSettings struct { - - // 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 *Channel_MultiplexGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MultiplexGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexoutputsettings.go deleted file mode 100644 index 1f76858faf..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexoutputsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MultiplexOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MultiplexOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexoutputsettings.html -type Channel_MultiplexOutputSettings struct { - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexoutputsettings.html#cfn-medialive-channel-multiplexoutputsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,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 *Channel_MultiplexOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MultiplexOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexprogramchanneldestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexprogramchanneldestinationsettings.go deleted file mode 100644 index db96ad50f5..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_multiplexprogramchanneldestinationsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_MultiplexProgramChannelDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexprogramchanneldestinationsettings.html -type Channel_MultiplexProgramChannelDestinationSettings struct { - - // MultiplexId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexprogramchanneldestinationsettings.html#cfn-medialive-channel-multiplexprogramchanneldestinationsettings-multiplexid - MultiplexId *types.Value `json:"MultiplexId,omitempty"` - - // ProgramName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-multiplexprogramchanneldestinationsettings.html#cfn-medialive-channel-multiplexprogramchanneldestinationsettings-programname - ProgramName *types.Value `json:"ProgramName,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 *Channel_MultiplexProgramChannelDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_networkinputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_networkinputsettings.go deleted file mode 100644 index 552baf98a9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_networkinputsettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_NetworkInputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.NetworkInputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-networkinputsettings.html -type Channel_NetworkInputSettings struct { - - // HlsInputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-networkinputsettings.html#cfn-medialive-channel-networkinputsettings-hlsinputsettings - HlsInputSettings *Channel_HlsInputSettings `json:"HlsInputSettings,omitempty"` - - // ServerValidation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-networkinputsettings.html#cfn-medialive-channel-networkinputsettings-servervalidation - ServerValidation *types.Value `json:"ServerValidation,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 *Channel_NetworkInputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.NetworkInputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsencbet.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsencbet.go deleted file mode 100644 index a397accdff..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsencbet.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_NielsenCBET AWS CloudFormation Resource (AWS::MediaLive::Channel.NielsenCBET) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsencbet.html -type Channel_NielsenCBET struct { - - // CbetCheckDigitString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsencbet.html#cfn-medialive-channel-nielsencbet-cbetcheckdigitstring - CbetCheckDigitString *types.Value `json:"CbetCheckDigitString,omitempty"` - - // CbetStepaside AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsencbet.html#cfn-medialive-channel-nielsencbet-cbetstepaside - CbetStepaside *types.Value `json:"CbetStepaside,omitempty"` - - // Csid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsencbet.html#cfn-medialive-channel-nielsencbet-csid - Csid *types.Value `json:"Csid,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 *Channel_NielsenCBET) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.NielsenCBET" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenconfiguration.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenconfiguration.go deleted file mode 100644 index 6d321e434b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_NielsenConfiguration AWS CloudFormation Resource (AWS::MediaLive::Channel.NielsenConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenconfiguration.html -type Channel_NielsenConfiguration struct { - - // DistributorId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenconfiguration.html#cfn-medialive-channel-nielsenconfiguration-distributorid - DistributorId *types.Value `json:"DistributorId,omitempty"` - - // NielsenPcmToId3Tagging AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenconfiguration.html#cfn-medialive-channel-nielsenconfiguration-nielsenpcmtoid3tagging - NielsenPcmToId3Tagging *types.Value `json:"NielsenPcmToId3Tagging,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 *Channel_NielsenConfiguration) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.NielsenConfiguration" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsennaesiinw.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsennaesiinw.go deleted file mode 100644 index f1c3d3a47c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsennaesiinw.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_NielsenNaesIiNw AWS CloudFormation Resource (AWS::MediaLive::Channel.NielsenNaesIiNw) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsennaesiinw.html -type Channel_NielsenNaesIiNw struct { - - // CheckDigitString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsennaesiinw.html#cfn-medialive-channel-nielsennaesiinw-checkdigitstring - CheckDigitString *types.Value `json:"CheckDigitString,omitempty"` - - // Sid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsennaesiinw.html#cfn-medialive-channel-nielsennaesiinw-sid - Sid *types.Value `json:"Sid,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 *Channel_NielsenNaesIiNw) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.NielsenNaesIiNw" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenwatermarkssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenwatermarkssettings.go deleted file mode 100644 index 09b1f9e7e4..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_nielsenwatermarkssettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_NielsenWatermarksSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.NielsenWatermarksSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenwatermarkssettings.html -type Channel_NielsenWatermarksSettings struct { - - // NielsenCbetSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenwatermarkssettings.html#cfn-medialive-channel-nielsenwatermarkssettings-nielsencbetsettings - NielsenCbetSettings *Channel_NielsenCBET `json:"NielsenCbetSettings,omitempty"` - - // NielsenDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenwatermarkssettings.html#cfn-medialive-channel-nielsenwatermarkssettings-nielsendistributiontype - NielsenDistributionType *types.Value `json:"NielsenDistributionType,omitempty"` - - // NielsenNaesIiNwSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-nielsenwatermarkssettings.html#cfn-medialive-channel-nielsenwatermarkssettings-nielsennaesiinwsettings - NielsenNaesIiNwSettings *Channel_NielsenNaesIiNw `json:"NielsenNaesIiNwSettings,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 *Channel_NielsenWatermarksSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.NielsenWatermarksSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_output.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_output.go deleted file mode 100644 index 4709d341fd..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_output.go +++ /dev/null @@ -1,57 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Output AWS CloudFormation Resource (AWS::MediaLive::Channel.Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html -type Channel_Output struct { - - // AudioDescriptionNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html#cfn-medialive-channel-output-audiodescriptionnames - AudioDescriptionNames *types.Value `json:"AudioDescriptionNames,omitempty"` - - // CaptionDescriptionNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html#cfn-medialive-channel-output-captiondescriptionnames - CaptionDescriptionNames *types.Value `json:"CaptionDescriptionNames,omitempty"` - - // OutputName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html#cfn-medialive-channel-output-outputname - OutputName *types.Value `json:"OutputName,omitempty"` - - // OutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html#cfn-medialive-channel-output-outputsettings - OutputSettings *Channel_OutputSettings `json:"OutputSettings,omitempty"` - - // VideoDescriptionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-output.html#cfn-medialive-channel-output-videodescriptionname - VideoDescriptionName *types.Value `json:"VideoDescriptionName,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 *Channel_Output) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Output" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestination.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestination.go deleted file mode 100644 index 27d4ec4fde..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestination.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputDestination AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestination.html -type Channel_OutputDestination struct { - - // Id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestination.html#cfn-medialive-channel-outputdestination-id - Id *types.Value `json:"Id,omitempty"` - - // MediaPackageSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestination.html#cfn-medialive-channel-outputdestination-mediapackagesettings - MediaPackageSettings []Channel_MediaPackageOutputDestinationSettings `json:"MediaPackageSettings,omitempty"` - - // MultiplexSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestination.html#cfn-medialive-channel-outputdestination-multiplexsettings - MultiplexSettings *Channel_MultiplexProgramChannelDestinationSettings `json:"MultiplexSettings,omitempty"` - - // Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestination.html#cfn-medialive-channel-outputdestination-settings - Settings []Channel_OutputDestinationSettings `json:"Settings,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 *Channel_OutputDestination) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputDestination" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestinationsettings.go deleted file mode 100644 index bd3db69f57..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputdestinationsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html -type Channel_OutputDestinationSettings struct { - - // PasswordParam AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html#cfn-medialive-channel-outputdestinationsettings-passwordparam - PasswordParam *types.Value `json:"PasswordParam,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html#cfn-medialive-channel-outputdestinationsettings-streamname - StreamName *types.Value `json:"StreamName,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html#cfn-medialive-channel-outputdestinationsettings-url - Url *types.Value `json:"Url,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputdestinationsettings.html#cfn-medialive-channel-outputdestinationsettings-username - Username *types.Value `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 *Channel_OutputDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroup.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroup.go deleted file mode 100644 index 9a768c5e5d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroup.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputGroup AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroup.html -type Channel_OutputGroup struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroup.html#cfn-medialive-channel-outputgroup-name - Name *types.Value `json:"Name,omitempty"` - - // OutputGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroup.html#cfn-medialive-channel-outputgroup-outputgroupsettings - OutputGroupSettings *Channel_OutputGroupSettings `json:"OutputGroupSettings,omitempty"` - - // Outputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroup.html#cfn-medialive-channel-outputgroup-outputs - Outputs []Channel_Output `json:"Outputs,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 *Channel_OutputGroup) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputGroup" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroupsettings.go deleted file mode 100644 index 7e17a5488e..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputgroupsettings.go +++ /dev/null @@ -1,70 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html -type Channel_OutputGroupSettings struct { - - // ArchiveGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-archivegroupsettings - ArchiveGroupSettings *Channel_ArchiveGroupSettings `json:"ArchiveGroupSettings,omitempty"` - - // FrameCaptureGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-framecapturegroupsettings - FrameCaptureGroupSettings *Channel_FrameCaptureGroupSettings `json:"FrameCaptureGroupSettings,omitempty"` - - // HlsGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-hlsgroupsettings - HlsGroupSettings *Channel_HlsGroupSettings `json:"HlsGroupSettings,omitempty"` - - // MediaPackageGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-mediapackagegroupsettings - MediaPackageGroupSettings *Channel_MediaPackageGroupSettings `json:"MediaPackageGroupSettings,omitempty"` - - // MsSmoothGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-mssmoothgroupsettings - MsSmoothGroupSettings *Channel_MsSmoothGroupSettings `json:"MsSmoothGroupSettings,omitempty"` - - // MultiplexGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-multiplexgroupsettings - MultiplexGroupSettings *Channel_MultiplexGroupSettings `json:"MultiplexGroupSettings,omitempty"` - - // RtmpGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-rtmpgroupsettings - RtmpGroupSettings *Channel_RtmpGroupSettings `json:"RtmpGroupSettings,omitempty"` - - // UdpGroupSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputgroupsettings.html#cfn-medialive-channel-outputgroupsettings-udpgroupsettings - UdpGroupSettings *Channel_UdpGroupSettings `json:"UdpGroupSettings,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 *Channel_OutputGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputlocationref.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputlocationref.go deleted file mode 100644 index 6fcf829c37..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputlocationref.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputLocationRef AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputLocationRef) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputlocationref.html -type Channel_OutputLocationRef struct { - - // DestinationRefId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputlocationref.html#cfn-medialive-channel-outputlocationref-destinationrefid - DestinationRefId *types.Value `json:"DestinationRefId,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 *Channel_OutputLocationRef) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputLocationRef" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputsettings.go deleted file mode 100644 index 01d959d071..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_outputsettings.go +++ /dev/null @@ -1,70 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_OutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.OutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html -type Channel_OutputSettings struct { - - // ArchiveOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-archiveoutputsettings - ArchiveOutputSettings *Channel_ArchiveOutputSettings `json:"ArchiveOutputSettings,omitempty"` - - // FrameCaptureOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-framecaptureoutputsettings - FrameCaptureOutputSettings *Channel_FrameCaptureOutputSettings `json:"FrameCaptureOutputSettings,omitempty"` - - // HlsOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-hlsoutputsettings - HlsOutputSettings *Channel_HlsOutputSettings `json:"HlsOutputSettings,omitempty"` - - // MediaPackageOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-mediapackageoutputsettings - MediaPackageOutputSettings *Channel_MediaPackageOutputSettings `json:"MediaPackageOutputSettings,omitempty"` - - // MsSmoothOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-mssmoothoutputsettings - MsSmoothOutputSettings *Channel_MsSmoothOutputSettings `json:"MsSmoothOutputSettings,omitempty"` - - // MultiplexOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-multiplexoutputsettings - MultiplexOutputSettings *Channel_MultiplexOutputSettings `json:"MultiplexOutputSettings,omitempty"` - - // RtmpOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-rtmpoutputsettings - RtmpOutputSettings *Channel_RtmpOutputSettings `json:"RtmpOutputSettings,omitempty"` - - // UdpOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-outputsettings.html#cfn-medialive-channel-outputsettings-udpoutputsettings - UdpOutputSettings *Channel_UdpOutputSettings `json:"UdpOutputSettings,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 *Channel_OutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.OutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_passthroughsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_passthroughsettings.go deleted file mode 100644 index db27693035..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_passthroughsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_PassThroughSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.PassThroughSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-passthroughsettings.html -type Channel_PassThroughSettings struct { - - // 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 *Channel_PassThroughSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.PassThroughSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rawsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rawsettings.go deleted file mode 100644 index b611100c00..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rawsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RawSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.RawSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rawsettings.html -type Channel_RawSettings struct { - - // 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 *Channel_RawSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.RawSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec601settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec601settings.go deleted file mode 100644 index 49e265c5ef..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec601settings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Rec601Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Rec601Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rec601settings.html -type Channel_Rec601Settings struct { - - // 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 *Channel_Rec601Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Rec601Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec709settings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec709settings.go deleted file mode 100644 index 816f9b9ec1..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rec709settings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Rec709Settings AWS CloudFormation Resource (AWS::MediaLive::Channel.Rec709Settings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rec709settings.html -type Channel_Rec709Settings struct { - - // 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 *Channel_Rec709Settings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Rec709Settings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_remixsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_remixsettings.go deleted file mode 100644 index 702a079fd2..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_remixsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RemixSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.RemixSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-remixsettings.html -type Channel_RemixSettings struct { - - // ChannelMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-remixsettings.html#cfn-medialive-channel-remixsettings-channelmappings - ChannelMappings []Channel_AudioChannelMapping `json:"ChannelMappings,omitempty"` - - // ChannelsIn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-remixsettings.html#cfn-medialive-channel-remixsettings-channelsin - ChannelsIn *types.Value `json:"ChannelsIn,omitempty"` - - // ChannelsOut AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-remixsettings.html#cfn-medialive-channel-remixsettings-channelsout - ChannelsOut *types.Value `json:"ChannelsOut,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 *Channel_RemixSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.RemixSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpcaptioninfodestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpcaptioninfodestinationsettings.go deleted file mode 100644 index ca49f1a21d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpcaptioninfodestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RtmpCaptionInfoDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpcaptioninfodestinationsettings.html -type Channel_RtmpCaptionInfoDestinationSettings struct { - - // 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 *Channel_RtmpCaptionInfoDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpgroupsettings.go deleted file mode 100644 index ff13b66f2c..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpgroupsettings.go +++ /dev/null @@ -1,67 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RtmpGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.RtmpGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html -type Channel_RtmpGroupSettings struct { - - // AdMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-admarkers - AdMarkers *types.Value `json:"AdMarkers,omitempty"` - - // AuthenticationScheme AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-authenticationscheme - AuthenticationScheme *types.Value `json:"AuthenticationScheme,omitempty"` - - // CacheFullBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-cachefullbehavior - CacheFullBehavior *types.Value `json:"CacheFullBehavior,omitempty"` - - // CacheLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-cachelength - CacheLength *types.Value `json:"CacheLength,omitempty"` - - // CaptionData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-captiondata - CaptionData *types.Value `json:"CaptionData,omitempty"` - - // InputLossAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-inputlossaction - InputLossAction *types.Value `json:"InputLossAction,omitempty"` - - // RestartDelay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpgroupsettings.html#cfn-medialive-channel-rtmpgroupsettings-restartdelay - RestartDelay *types.Value `json:"RestartDelay,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 *Channel_RtmpGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.RtmpGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpoutputsettings.go deleted file mode 100644 index 6a07a2ece3..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_rtmpoutputsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_RtmpOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.RtmpOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpoutputsettings.html -type Channel_RtmpOutputSettings struct { - - // CertificateMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpoutputsettings.html#cfn-medialive-channel-rtmpoutputsettings-certificatemode - CertificateMode *types.Value `json:"CertificateMode,omitempty"` - - // ConnectionRetryInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpoutputsettings.html#cfn-medialive-channel-rtmpoutputsettings-connectionretryinterval - ConnectionRetryInterval *types.Value `json:"ConnectionRetryInterval,omitempty"` - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpoutputsettings.html#cfn-medialive-channel-rtmpoutputsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` - - // NumRetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-rtmpoutputsettings.html#cfn-medialive-channel-rtmpoutputsettings-numretries - NumRetries *types.Value `json:"NumRetries,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 *Channel_RtmpOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.RtmpOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20plusembeddeddestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20plusembeddeddestinationsettings.go deleted file mode 100644 index 3fc2aef2be..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20plusembeddeddestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte20PlusEmbeddedDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte20plusembeddeddestinationsettings.html -type Channel_Scte20PlusEmbeddedDestinationSettings struct { - - // 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 *Channel_Scte20PlusEmbeddedDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20sourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20sourcesettings.go deleted file mode 100644 index 125f61366d..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte20sourcesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte20SourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte20SourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte20sourcesettings.html -type Channel_Scte20SourceSettings struct { - - // Convert608To708 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte20sourcesettings.html#cfn-medialive-channel-scte20sourcesettings-convert608to708 - Convert608To708 *types.Value `json:"Convert608To708,omitempty"` - - // Source608ChannelNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte20sourcesettings.html#cfn-medialive-channel-scte20sourcesettings-source608channelnumber - Source608ChannelNumber *types.Value `json:"Source608ChannelNumber,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 *Channel_Scte20SourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte20SourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27destinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27destinationsettings.go deleted file mode 100644 index ef2eceafea..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27destinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte27DestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte27DestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte27destinationsettings.html -type Channel_Scte27DestinationSettings struct { - - // 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 *Channel_Scte27DestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte27DestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27sourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27sourcesettings.go deleted file mode 100644 index 389ca277f4..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte27sourcesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte27SourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte27SourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte27sourcesettings.html -type Channel_Scte27SourceSettings struct { - - // OcrLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte27sourcesettings.html#cfn-medialive-channel-scte27sourcesettings-ocrlanguage - OcrLanguage *types.Value `json:"OcrLanguage,omitempty"` - - // Pid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte27sourcesettings.html#cfn-medialive-channel-scte27sourcesettings-pid - Pid *types.Value `json:"Pid,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 *Channel_Scte27SourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte27SourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35spliceinsert.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35spliceinsert.go deleted file mode 100644 index ebb28ae791..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35spliceinsert.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte35SpliceInsert AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte35SpliceInsert) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35spliceinsert.html -type Channel_Scte35SpliceInsert struct { - - // AdAvailOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35spliceinsert.html#cfn-medialive-channel-scte35spliceinsert-adavailoffset - AdAvailOffset *types.Value `json:"AdAvailOffset,omitempty"` - - // NoRegionalBlackoutFlag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35spliceinsert.html#cfn-medialive-channel-scte35spliceinsert-noregionalblackoutflag - NoRegionalBlackoutFlag *types.Value `json:"NoRegionalBlackoutFlag,omitempty"` - - // WebDeliveryAllowedFlag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35spliceinsert.html#cfn-medialive-channel-scte35spliceinsert-webdeliveryallowedflag - WebDeliveryAllowedFlag *types.Value `json:"WebDeliveryAllowedFlag,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 *Channel_Scte35SpliceInsert) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte35SpliceInsert" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35timesignalapos.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35timesignalapos.go deleted file mode 100644 index d499f1d034..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_scte35timesignalapos.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_Scte35TimeSignalApos AWS CloudFormation Resource (AWS::MediaLive::Channel.Scte35TimeSignalApos) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35timesignalapos.html -type Channel_Scte35TimeSignalApos struct { - - // AdAvailOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35timesignalapos.html#cfn-medialive-channel-scte35timesignalapos-adavailoffset - AdAvailOffset *types.Value `json:"AdAvailOffset,omitempty"` - - // NoRegionalBlackoutFlag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35timesignalapos.html#cfn-medialive-channel-scte35timesignalapos-noregionalblackoutflag - NoRegionalBlackoutFlag *types.Value `json:"NoRegionalBlackoutFlag,omitempty"` - - // WebDeliveryAllowedFlag AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte35timesignalapos.html#cfn-medialive-channel-scte35timesignalapos-webdeliveryallowedflag - WebDeliveryAllowedFlag *types.Value `json:"WebDeliveryAllowedFlag,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 *Channel_Scte35TimeSignalApos) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.Scte35TimeSignalApos" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_smptettdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_smptettdestinationsettings.go deleted file mode 100644 index f503abf984..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_smptettdestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_SmpteTtDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.SmpteTtDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-smptettdestinationsettings.html -type Channel_SmpteTtDestinationSettings struct { - - // 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 *Channel_SmpteTtDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.SmpteTtDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_standardhlssettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_standardhlssettings.go deleted file mode 100644 index d2e7b9f951..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_standardhlssettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_StandardHlsSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.StandardHlsSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-standardhlssettings.html -type Channel_StandardHlsSettings struct { - - // AudioRenditionSets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-standardhlssettings.html#cfn-medialive-channel-standardhlssettings-audiorenditionsets - AudioRenditionSets *types.Value `json:"AudioRenditionSets,omitempty"` - - // M3u8Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-standardhlssettings.html#cfn-medialive-channel-standardhlssettings-m3u8settings - M3u8Settings *Channel_M3u8Settings `json:"M3u8Settings,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 *Channel_StandardHlsSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.StandardHlsSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_statickeysettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_statickeysettings.go deleted file mode 100644 index 789071bc6b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_statickeysettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_StaticKeySettings AWS CloudFormation Resource (AWS::MediaLive::Channel.StaticKeySettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-statickeysettings.html -type Channel_StaticKeySettings struct { - - // KeyProviderServer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-statickeysettings.html#cfn-medialive-channel-statickeysettings-keyproviderserver - KeyProviderServer *Channel_InputLocation `json:"KeyProviderServer,omitempty"` - - // StaticKeyValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-statickeysettings.html#cfn-medialive-channel-statickeysettings-statickeyvalue - StaticKeyValue *types.Value `json:"StaticKeyValue,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 *Channel_StaticKeySettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.StaticKeySettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextdestinationsettings.go deleted file mode 100644 index d67910ef02..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextdestinationsettings.go +++ /dev/null @@ -1,30 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_TeletextDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.TeletextDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-teletextdestinationsettings.html -type Channel_TeletextDestinationSettings struct { - - // 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 *Channel_TeletextDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.TeletextDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextsourcesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextsourcesettings.go deleted file mode 100644 index 7517e6a431..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_teletextsourcesettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_TeletextSourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.TeletextSourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-teletextsourcesettings.html -type Channel_TeletextSourceSettings struct { - - // OutputRectangle AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-teletextsourcesettings.html#cfn-medialive-channel-teletextsourcesettings-outputrectangle - OutputRectangle *Channel_CaptionRectangle `json:"OutputRectangle,omitempty"` - - // PageNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-teletextsourcesettings.html#cfn-medialive-channel-teletextsourcesettings-pagenumber - PageNumber *types.Value `json:"PageNumber,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 *Channel_TeletextSourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.TeletextSourceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_temporalfiltersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_temporalfiltersettings.go deleted file mode 100644 index 6c485ed7b9..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_temporalfiltersettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_TemporalFilterSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.TemporalFilterSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-temporalfiltersettings.html -type Channel_TemporalFilterSettings struct { - - // PostFilterSharpening AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-temporalfiltersettings.html#cfn-medialive-channel-temporalfiltersettings-postfiltersharpening - PostFilterSharpening *types.Value `json:"PostFilterSharpening,omitempty"` - - // Strength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-temporalfiltersettings.html#cfn-medialive-channel-temporalfiltersettings-strength - Strength *types.Value `json:"Strength,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 *Channel_TemporalFilterSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.TemporalFilterSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_timecodeconfig.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_timecodeconfig.go deleted file mode 100644 index d1f10f7352..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_timecodeconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_TimecodeConfig AWS CloudFormation Resource (AWS::MediaLive::Channel.TimecodeConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-timecodeconfig.html -type Channel_TimecodeConfig struct { - - // Source AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-timecodeconfig.html#cfn-medialive-channel-timecodeconfig-source - Source *types.Value `json:"Source,omitempty"` - - // SyncThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-timecodeconfig.html#cfn-medialive-channel-timecodeconfig-syncthreshold - SyncThreshold *types.Value `json:"SyncThreshold,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 *Channel_TimecodeConfig) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.TimecodeConfig" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ttmldestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ttmldestinationsettings.go deleted file mode 100644 index e0e07a06e6..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_ttmldestinationsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_TtmlDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.TtmlDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ttmldestinationsettings.html -type Channel_TtmlDestinationSettings struct { - - // StyleControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-ttmldestinationsettings.html#cfn-medialive-channel-ttmldestinationsettings-stylecontrol - StyleControl *types.Value `json:"StyleControl,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 *Channel_TtmlDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.TtmlDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpcontainersettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpcontainersettings.go deleted file mode 100644 index 45135fc2ec..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpcontainersettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_UdpContainerSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.UdpContainerSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpcontainersettings.html -type Channel_UdpContainerSettings struct { - - // M2tsSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpcontainersettings.html#cfn-medialive-channel-udpcontainersettings-m2tssettings - M2tsSettings *Channel_M2tsSettings `json:"M2tsSettings,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 *Channel_UdpContainerSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.UdpContainerSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpgroupsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpgroupsettings.go deleted file mode 100644 index a29dd3bbe6..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpgroupsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_UdpGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.UdpGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpgroupsettings.html -type Channel_UdpGroupSettings struct { - - // InputLossAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpgroupsettings.html#cfn-medialive-channel-udpgroupsettings-inputlossaction - InputLossAction *types.Value `json:"InputLossAction,omitempty"` - - // TimedMetadataId3Frame AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpgroupsettings.html#cfn-medialive-channel-udpgroupsettings-timedmetadataid3frame - TimedMetadataId3Frame *types.Value `json:"TimedMetadataId3Frame,omitempty"` - - // TimedMetadataId3Period AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpgroupsettings.html#cfn-medialive-channel-udpgroupsettings-timedmetadataid3period - TimedMetadataId3Period *types.Value `json:"TimedMetadataId3Period,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 *Channel_UdpGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.UdpGroupSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpoutputsettings.go deleted file mode 100644 index e3c7b12946..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_udpoutputsettings.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_UdpOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.UdpOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpoutputsettings.html -type Channel_UdpOutputSettings struct { - - // BufferMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpoutputsettings.html#cfn-medialive-channel-udpoutputsettings-buffermsec - BufferMsec *types.Value `json:"BufferMsec,omitempty"` - - // ContainerSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpoutputsettings.html#cfn-medialive-channel-udpoutputsettings-containersettings - ContainerSettings *Channel_UdpContainerSettings `json:"ContainerSettings,omitempty"` - - // Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpoutputsettings.html#cfn-medialive-channel-udpoutputsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` - - // FecOutputSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-udpoutputsettings.html#cfn-medialive-channel-udpoutputsettings-fecoutputsettings - FecOutputSettings *Channel_FecOutputSettings `json:"FecOutputSettings,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 *Channel_UdpOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.UdpOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoblackfailoversettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoblackfailoversettings.go deleted file mode 100644 index 2a91e06d6b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoblackfailoversettings.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoBlackFailoverSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoBlackFailoverSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoblackfailoversettings.html -type Channel_VideoBlackFailoverSettings struct { - - // BlackDetectThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoblackfailoversettings.html#cfn-medialive-channel-videoblackfailoversettings-blackdetectthreshold - BlackDetectThreshold *types.Value `json:"BlackDetectThreshold,omitempty"` - - // VideoBlackThresholdMsec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoblackfailoversettings.html#cfn-medialive-channel-videoblackfailoversettings-videoblackthresholdmsec - VideoBlackThresholdMsec *types.Value `json:"VideoBlackThresholdMsec,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 *Channel_VideoBlackFailoverSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoBlackFailoverSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videocodecsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videocodecsettings.go deleted file mode 100644 index 3237cf81bd..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videocodecsettings.go +++ /dev/null @@ -1,50 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoCodecSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoCodecSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videocodecsettings.html -type Channel_VideoCodecSettings struct { - - // FrameCaptureSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videocodecsettings.html#cfn-medialive-channel-videocodecsettings-framecapturesettings - FrameCaptureSettings *Channel_FrameCaptureSettings `json:"FrameCaptureSettings,omitempty"` - - // H264Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videocodecsettings.html#cfn-medialive-channel-videocodecsettings-h264settings - H264Settings *Channel_H264Settings `json:"H264Settings,omitempty"` - - // H265Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videocodecsettings.html#cfn-medialive-channel-videocodecsettings-h265settings - H265Settings *Channel_H265Settings `json:"H265Settings,omitempty"` - - // Mpeg2Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videocodecsettings.html#cfn-medialive-channel-videocodecsettings-mpeg2settings - Mpeg2Settings *Channel_Mpeg2Settings `json:"Mpeg2Settings,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 *Channel_VideoCodecSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoCodecSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videodescription.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videodescription.go deleted file mode 100644 index 348ada50ed..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videodescription.go +++ /dev/null @@ -1,67 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoDescription AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html -type Channel_VideoDescription struct { - - // CodecSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-codecsettings - CodecSettings *Channel_VideoCodecSettings `json:"CodecSettings,omitempty"` - - // Height AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-height - Height *types.Value `json:"Height,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-name - Name *types.Value `json:"Name,omitempty"` - - // RespondToAfd AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-respondtoafd - RespondToAfd *types.Value `json:"RespondToAfd,omitempty"` - - // ScalingBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-scalingbehavior - ScalingBehavior *types.Value `json:"ScalingBehavior,omitempty"` - - // Sharpness AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-sharpness - Sharpness *types.Value `json:"Sharpness,omitempty"` - - // Width AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videodescription.html#cfn-medialive-channel-videodescription-width - Width *types.Value `json:"Width,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 *Channel_VideoDescription) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoDescription" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselector.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselector.go deleted file mode 100644 index 0b982c5774..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselector.go +++ /dev/null @@ -1,52 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoSelector AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoSelector) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselector.html -type Channel_VideoSelector struct { - - // ColorSpace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselector.html#cfn-medialive-channel-videoselector-colorspace - ColorSpace *types.Value `json:"ColorSpace,omitempty"` - - // ColorSpaceSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselector.html#cfn-medialive-channel-videoselector-colorspacesettings - ColorSpaceSettings *Channel_VideoSelectorColorSpaceSettings `json:"ColorSpaceSettings,omitempty"` - - // ColorSpaceUsage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselector.html#cfn-medialive-channel-videoselector-colorspaceusage - ColorSpaceUsage *types.Value `json:"ColorSpaceUsage,omitempty"` - - // SelectorSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselector.html#cfn-medialive-channel-videoselector-selectorsettings - SelectorSettings *Channel_VideoSelectorSettings `json:"SelectorSettings,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 *Channel_VideoSelector) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoSelector" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorcolorspacesettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorcolorspacesettings.go deleted file mode 100644 index b3ce1e68ed..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorcolorspacesettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoSelectorColorSpaceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorcolorspacesettings.html -type Channel_VideoSelectorColorSpaceSettings struct { - - // Hdr10Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorcolorspacesettings.html#cfn-medialive-channel-videoselectorcolorspacesettings-hdr10settings - Hdr10Settings *Channel_Hdr10Settings `json:"Hdr10Settings,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 *Channel_VideoSelectorColorSpaceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorpid.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorpid.go deleted file mode 100644 index 4c92c9b907..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorpid.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoSelectorPid AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoSelectorPid) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorpid.html -type Channel_VideoSelectorPid struct { - - // Pid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorpid.html#cfn-medialive-channel-videoselectorpid-pid - Pid *types.Value `json:"Pid,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 *Channel_VideoSelectorPid) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoSelectorPid" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorprogramid.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorprogramid.go deleted file mode 100644 index 7a1e03b57b..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorprogramid.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoSelectorProgramId AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoSelectorProgramId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorprogramid.html -type Channel_VideoSelectorProgramId struct { - - // ProgramId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorprogramid.html#cfn-medialive-channel-videoselectorprogramid-programid - ProgramId *types.Value `json:"ProgramId,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 *Channel_VideoSelectorProgramId) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoSelectorProgramId" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorsettings.go deleted file mode 100644 index dd1e005386..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_videoselectorsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VideoSelectorSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.VideoSelectorSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorsettings.html -type Channel_VideoSelectorSettings struct { - - // VideoSelectorPid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorsettings.html#cfn-medialive-channel-videoselectorsettings-videoselectorpid - VideoSelectorPid *Channel_VideoSelectorPid `json:"VideoSelectorPid,omitempty"` - - // VideoSelectorProgramId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-videoselectorsettings.html#cfn-medialive-channel-videoselectorsettings-videoselectorprogramid - VideoSelectorProgramId *Channel_VideoSelectorProgramId `json:"VideoSelectorProgramId,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 *Channel_VideoSelectorSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VideoSelectorSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_vpcoutputsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_vpcoutputsettings.go deleted file mode 100644 index 51fb1d1aaa..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_vpcoutputsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_VpcOutputSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.VpcOutputSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-vpcoutputsettings.html -type Channel_VpcOutputSettings struct { - - // PublicAddressAllocationIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-vpcoutputsettings.html#cfn-medialive-channel-vpcoutputsettings-publicaddressallocationids - PublicAddressAllocationIds *types.Value `json:"PublicAddressAllocationIds,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-vpcoutputsettings.html#cfn-medialive-channel-vpcoutputsettings-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-vpcoutputsettings.html#cfn-medialive-channel-vpcoutputsettings-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *Channel_VpcOutputSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.VpcOutputSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_wavsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_wavsettings.go deleted file mode 100644 index 8a18e46149..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_wavsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_WavSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.WavSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-wavsettings.html -type Channel_WavSettings struct { - - // BitDepth AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-wavsettings.html#cfn-medialive-channel-wavsettings-bitdepth - BitDepth *types.Value `json:"BitDepth,omitempty"` - - // CodingMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-wavsettings.html#cfn-medialive-channel-wavsettings-codingmode - CodingMode *types.Value `json:"CodingMode,omitempty"` - - // SampleRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-wavsettings.html#cfn-medialive-channel-wavsettings-samplerate - SampleRate *types.Value `json:"SampleRate,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 *Channel_WavSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.WavSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_webvttdestinationsettings.go b/pkg/goformation/cloudformation/medialive/aws-medialive-channel_webvttdestinationsettings.go deleted file mode 100644 index 2e6746144f..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_webvttdestinationsettings.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_WebvttDestinationSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.WebvttDestinationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-webvttdestinationsettings.html -type Channel_WebvttDestinationSettings struct { - - // StyleControl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-webvttdestinationsettings.html#cfn-medialive-channel-webvttdestinationsettings-stylecontrol - StyleControl *types.Value `json:"StyleControl,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 *Channel_WebvttDestinationSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.WebvttDestinationSettings" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input.go b/pkg/goformation/cloudformation/medialive/aws-medialive-input.go deleted file mode 100644 index b5294021b7..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input.go +++ /dev/null @@ -1,153 +0,0 @@ -package medialive - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input AWS CloudFormation Resource (AWS::MediaLive::Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html -type Input struct { - - // Destinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-destinations - Destinations []Input_InputDestinationRequest `json:"Destinations,omitempty"` - - // InputDevices AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-inputdevices - InputDevices []Input_InputDeviceSettings `json:"InputDevices,omitempty"` - - // InputSecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-inputsecuritygroups - InputSecurityGroups *types.Value `json:"InputSecurityGroups,omitempty"` - - // MediaConnectFlows AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-mediaconnectflows - MediaConnectFlows []Input_MediaConnectFlowRequest `json:"MediaConnectFlows,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-name - Name *types.Value `json:"Name,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Sources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-sources - Sources []Input_InputSourceRequest `json:"Sources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-tags - Tags interface{} `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-type - Type *types.Value `json:"Type,omitempty"` - - // Vpc AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-input.html#cfn-medialive-input-vpc - Vpc *Input_InputVpcRequest `json:"Vpc,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 *Input) AWSCloudFormationType() string { - return "AWS::MediaLive::Input" -} - -// 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 (r Input) MarshalJSON() ([]byte, error) { - type Properties Input - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Input) UnmarshalJSON(b []byte) error { - type Properties Input - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Input(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdestinationrequest.go b/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdestinationrequest.go deleted file mode 100644 index 2d485ca242..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputdestinationrequest.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input_InputDestinationRequest AWS CloudFormation Resource (AWS::MediaLive::Input.InputDestinationRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdestinationrequest.html -type Input_InputDestinationRequest struct { - - // StreamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputdestinationrequest.html#cfn-medialive-input-inputdestinationrequest-streamname - StreamName *types.Value `json:"StreamName,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 *Input_InputDestinationRequest) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.InputDestinationRequest" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputsourcerequest.go b/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputsourcerequest.go deleted file mode 100644 index 18af3bfea4..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputsourcerequest.go +++ /dev/null @@ -1,47 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input_InputSourceRequest AWS CloudFormation Resource (AWS::MediaLive::Input.InputSourceRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputsourcerequest.html -type Input_InputSourceRequest struct { - - // PasswordParam AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputsourcerequest.html#cfn-medialive-input-inputsourcerequest-passwordparam - PasswordParam *types.Value `json:"PasswordParam,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputsourcerequest.html#cfn-medialive-input-inputsourcerequest-url - Url *types.Value `json:"Url,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputsourcerequest.html#cfn-medialive-input-inputsourcerequest-username - Username *types.Value `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 *Input_InputSourceRequest) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.InputSourceRequest" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputvpcrequest.go b/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputvpcrequest.go deleted file mode 100644 index c936bd02f1..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_inputvpcrequest.go +++ /dev/null @@ -1,42 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input_InputVpcRequest AWS CloudFormation Resource (AWS::MediaLive::Input.InputVpcRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputvpcrequest.html -type Input_InputVpcRequest struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputvpcrequest.html#cfn-medialive-input-inputvpcrequest-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-inputvpcrequest.html#cfn-medialive-input-inputvpcrequest-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *Input_InputVpcRequest) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.InputVpcRequest" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-input_mediaconnectflowrequest.go b/pkg/goformation/cloudformation/medialive/aws-medialive-input_mediaconnectflowrequest.go deleted file mode 100644 index d3dc54b6f6..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-input_mediaconnectflowrequest.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Input_MediaConnectFlowRequest AWS CloudFormation Resource (AWS::MediaLive::Input.MediaConnectFlowRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-mediaconnectflowrequest.html -type Input_MediaConnectFlowRequest struct { - - // FlowArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-input-mediaconnectflowrequest.html#cfn-medialive-input-mediaconnectflowrequest-flowarn - FlowArn *types.Value `json:"FlowArn,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 *Input_MediaConnectFlowRequest) AWSCloudFormationType() string { - return "AWS::MediaLive::Input.MediaConnectFlowRequest" -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup.go b/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup.go deleted file mode 100644 index e34fd9d87a..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup.go +++ /dev/null @@ -1,111 +0,0 @@ -package medialive - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InputSecurityGroup AWS CloudFormation Resource (AWS::MediaLive::InputSecurityGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-inputsecuritygroup.html -type InputSecurityGroup struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-inputsecuritygroup.html#cfn-medialive-inputsecuritygroup-tags - Tags interface{} `json:"Tags,omitempty"` - - // WhitelistRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-inputsecuritygroup.html#cfn-medialive-inputsecuritygroup-whitelistrules - WhitelistRules []InputSecurityGroup_InputWhitelistRuleCidr `json:"WhitelistRules,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 *InputSecurityGroup) AWSCloudFormationType() string { - return "AWS::MediaLive::InputSecurityGroup" -} - -// 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 (r InputSecurityGroup) MarshalJSON() ([]byte, error) { - type Properties InputSecurityGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InputSecurityGroup) UnmarshalJSON(b []byte) error { - type Properties InputSecurityGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InputSecurityGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup_inputwhitelistrulecidr.go b/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup_inputwhitelistrulecidr.go deleted file mode 100644 index a4b90328a6..0000000000 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-inputsecuritygroup_inputwhitelistrulecidr.go +++ /dev/null @@ -1,37 +0,0 @@ -package medialive - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InputSecurityGroup_InputWhitelistRuleCidr AWS CloudFormation Resource (AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-inputsecuritygroup-inputwhitelistrulecidr.html -type InputSecurityGroup_InputWhitelistRuleCidr struct { - - // Cidr AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-inputsecuritygroup-inputwhitelistrulecidr.html#cfn-medialive-inputsecuritygroup-inputwhitelistrulecidr-cidr - Cidr *types.Value `json:"Cidr,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 *InputSecurityGroup_InputWhitelistRuleCidr) AWSCloudFormationType() string { - return "AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset.go deleted file mode 100644 index 0ecaa88a81..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset.go +++ /dev/null @@ -1,134 +0,0 @@ -package mediapackage - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Asset AWS CloudFormation Resource (AWS::MediaPackage::Asset) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html -type Asset struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-id - Id *types.Value `json:"Id,omitempty"` - - // PackagingGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-packaginggroupid - PackagingGroupId *types.Value `json:"PackagingGroupId,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // SourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcearn - SourceArn *types.Value `json:"SourceArn,omitempty"` - - // SourceRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcerolearn - SourceRoleArn *types.Value `json:"SourceRoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-tags - Tags []cloudformation.Tag `json:"Tags,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 *Asset) AWSCloudFormationType() string { - return "AWS::MediaPackage::Asset" -} - -// 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 (r Asset) MarshalJSON() ([]byte, error) { - type Properties Asset - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Asset) UnmarshalJSON(b []byte) error { - type Properties Asset - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Asset(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset_egressendpoint.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset_egressendpoint.go deleted file mode 100644 index 2db236128c..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-asset_egressendpoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Asset_EgressEndpoint AWS CloudFormation Resource (AWS::MediaPackage::Asset.EgressEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-asset-egressendpoint.html -type Asset_EgressEndpoint struct { - - // PackagingConfigurationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-asset-egressendpoint.html#cfn-mediapackage-asset-egressendpoint-packagingconfigurationid - PackagingConfigurationId *types.Value `json:"PackagingConfigurationId,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-asset-egressendpoint.html#cfn-mediapackage-asset-egressendpoint-url - Url *types.Value `json:"Url,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 *Asset_EgressEndpoint) AWSCloudFormationType() string { - return "AWS::MediaPackage::Asset.EgressEndpoint" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel.go deleted file mode 100644 index 22ab7cb868..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel.go +++ /dev/null @@ -1,129 +0,0 @@ -package mediapackage - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel AWS CloudFormation Resource (AWS::MediaPackage::Channel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html -type Channel struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html#cfn-mediapackage-channel-description - Description *types.Value `json:"Description,omitempty"` - - // EgressAccessLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html#cfn-mediapackage-channel-egressaccesslogs - EgressAccessLogs *Channel_LogConfiguration `json:"EgressAccessLogs,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html#cfn-mediapackage-channel-id - Id *types.Value `json:"Id,omitempty"` - - // IngressAccessLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html#cfn-mediapackage-channel-ingressaccesslogs - IngressAccessLogs *Channel_LogConfiguration `json:"IngressAccessLogs,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html#cfn-mediapackage-channel-tags - Tags []cloudformation.Tag `json:"Tags,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 *Channel) AWSCloudFormationType() string { - return "AWS::MediaPackage::Channel" -} - -// 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 (r Channel) MarshalJSON() ([]byte, error) { - type Properties Channel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Channel) UnmarshalJSON(b []byte) error { - type Properties Channel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Channel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_hlsingest.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_hlsingest.go deleted file mode 100644 index fd535530f4..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_hlsingest.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_HlsIngest AWS CloudFormation Resource (AWS::MediaPackage::Channel.HlsIngest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-hlsingest.html -type Channel_HlsIngest struct { - - // ingestEndpoints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-hlsingest.html#cfn-mediapackage-channel-hlsingest-ingestendpoints - ingestEndpoints []Channel_IngestEndpoint `json:"ingestEndpoints,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 *Channel_HlsIngest) AWSCloudFormationType() string { - return "AWS::MediaPackage::Channel.HlsIngest" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_logconfiguration.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_logconfiguration.go deleted file mode 100644 index ec8360db88..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-channel_logconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Channel_LogConfiguration AWS CloudFormation Resource (AWS::MediaPackage::Channel.LogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-logconfiguration.html -type Channel_LogConfiguration struct { - - // LogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-channel-logconfiguration.html#cfn-mediapackage-channel-logconfiguration-loggroupname - LogGroupName *types.Value `json:"LogGroupName,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 *Channel_LogConfiguration) AWSCloudFormationType() string { - return "AWS::MediaPackage::Channel.LogConfiguration" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint.go deleted file mode 100644 index 15e7f0623e..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint.go +++ /dev/null @@ -1,174 +0,0 @@ -package mediapackage - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html -type OriginEndpoint struct { - - // Authorization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-authorization - Authorization *OriginEndpoint_Authorization `json:"Authorization,omitempty"` - - // ChannelId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-channelid - ChannelId *types.Value `json:"ChannelId,omitempty"` - - // CmafPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-cmafpackage - CmafPackage *OriginEndpoint_CmafPackage `json:"CmafPackage,omitempty"` - - // DashPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-dashpackage - DashPackage *OriginEndpoint_DashPackage `json:"DashPackage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-description - Description *types.Value `json:"Description,omitempty"` - - // HlsPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-hlspackage - HlsPackage *OriginEndpoint_HlsPackage `json:"HlsPackage,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-id - Id *types.Value `json:"Id,omitempty"` - - // ManifestName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-manifestname - ManifestName *types.Value `json:"ManifestName,omitempty"` - - // MssPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-msspackage - MssPackage *OriginEndpoint_MssPackage `json:"MssPackage,omitempty"` - - // Origination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-origination - Origination *types.Value `json:"Origination,omitempty"` - - // StartoverWindowSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-startoverwindowseconds - StartoverWindowSeconds *types.Value `json:"StartoverWindowSeconds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TimeDelaySeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-timedelayseconds - TimeDelaySeconds *types.Value `json:"TimeDelaySeconds,omitempty"` - - // Whitelist AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-originendpoint.html#cfn-mediapackage-originendpoint-whitelist - Whitelist *types.Value `json:"Whitelist,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 *OriginEndpoint) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint" -} - -// 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 (r OriginEndpoint) MarshalJSON() ([]byte, error) { - type Properties OriginEndpoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *OriginEndpoint) UnmarshalJSON(b []byte) error { - type Properties OriginEndpoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = OriginEndpoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_adtriggers.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_adtriggers.go deleted file mode 100644 index 2bbc78df22..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_adtriggers.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_AdTriggers AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.AdTriggers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-adtriggers.html -type OriginEndpoint_AdTriggers struct { - - // AdTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-adtriggers.html#cfn-mediapackage-originendpoint-adtriggers-adtriggers - AdTriggers []string `json:"AdTriggers,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 *OriginEndpoint_AdTriggers) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.AdTriggers" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_authorization.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_authorization.go deleted file mode 100644 index 80ace6b68e..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_authorization.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_Authorization AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.Authorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.html -type OriginEndpoint_Authorization struct { - - // CdnIdentifierSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.html#cfn-mediapackage-originendpoint-authorization-cdnidentifiersecret - CdnIdentifierSecret *types.Value `json:"CdnIdentifierSecret,omitempty"` - - // SecretsRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.html#cfn-mediapackage-originendpoint-authorization-secretsrolearn - SecretsRoleArn *types.Value `json:"SecretsRoleArn,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 *OriginEndpoint_Authorization) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.Authorization" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafencryption.go deleted file mode 100644 index 0bb11cb335..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafencryption.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_CmafEncryption AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.CmafEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html -type OriginEndpoint_CmafEncryption struct { - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // KeyRotationIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-keyrotationintervalseconds - KeyRotationIntervalSeconds *types.Value `json:"KeyRotationIntervalSeconds,omitempty"` - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-spekekeyprovider - SpekeKeyProvider *OriginEndpoint_SpekeKeyProvider `json:"SpekeKeyProvider,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 *OriginEndpoint_CmafEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.CmafEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafpackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafpackage.go deleted file mode 100644 index f19ac18455..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_cmafpackage.go +++ /dev/null @@ -1,57 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_CmafPackage AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.CmafPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html -type OriginEndpoint_CmafPackage struct { - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-encryption - Encryption *OriginEndpoint_CmafEncryption `json:"Encryption,omitempty"` - - // HlsManifests AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-hlsmanifests - HlsManifests []OriginEndpoint_HlsManifest `json:"HlsManifests,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // SegmentPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-segmentprefix - SegmentPrefix *types.Value `json:"SegmentPrefix,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-streamselection - StreamSelection *OriginEndpoint_StreamSelection `json:"StreamSelection,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 *OriginEndpoint_CmafPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.CmafPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashencryption.go deleted file mode 100644 index 478bbe0145..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashencryption.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_DashEncryption AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.DashEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.html -type OriginEndpoint_DashEncryption struct { - - // KeyRotationIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.html#cfn-mediapackage-originendpoint-dashencryption-keyrotationintervalseconds - KeyRotationIntervalSeconds *types.Value `json:"KeyRotationIntervalSeconds,omitempty"` - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.html#cfn-mediapackage-originendpoint-dashencryption-spekekeyprovider - SpekeKeyProvider *OriginEndpoint_SpekeKeyProvider `json:"SpekeKeyProvider,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 *OriginEndpoint_DashEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.DashEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashpackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashpackage.go deleted file mode 100644 index 10061d1032..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_dashpackage.go +++ /dev/null @@ -1,107 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_DashPackage AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.DashPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html -type OriginEndpoint_DashPackage struct { - - // AdTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adtriggers - AdTriggers *types.Value `json:"AdTriggers,omitempty"` - - // AdsOnDeliveryRestrictions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adsondeliveryrestrictions - AdsOnDeliveryRestrictions *types.Value `json:"AdsOnDeliveryRestrictions,omitempty"` - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-encryption - Encryption *OriginEndpoint_DashEncryption `json:"Encryption,omitempty"` - - // ManifestLayout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestlayout - ManifestLayout *types.Value `json:"ManifestLayout,omitempty"` - - // ManifestWindowSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestwindowseconds - ManifestWindowSeconds *types.Value `json:"ManifestWindowSeconds,omitempty"` - - // MinBufferTimeSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minbuffertimeseconds - MinBufferTimeSeconds *types.Value `json:"MinBufferTimeSeconds,omitempty"` - - // MinUpdatePeriodSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minupdateperiodseconds - MinUpdatePeriodSeconds *types.Value `json:"MinUpdatePeriodSeconds,omitempty"` - - // PeriodTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-periodtriggers - PeriodTriggers *types.Value `json:"PeriodTriggers,omitempty"` - - // Profile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-profile - Profile *types.Value `json:"Profile,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // SegmentTemplateFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmenttemplateformat - SegmentTemplateFormat *types.Value `json:"SegmentTemplateFormat,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-streamselection - StreamSelection *OriginEndpoint_StreamSelection `json:"StreamSelection,omitempty"` - - // SuggestedPresentationDelaySeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-suggestedpresentationdelayseconds - SuggestedPresentationDelaySeconds *types.Value `json:"SuggestedPresentationDelaySeconds,omitempty"` - - // UtcTiming AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiming - UtcTiming *types.Value `json:"UtcTiming,omitempty"` - - // UtcTimingUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiminguri - UtcTimingUri *types.Value `json:"UtcTimingUri,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 *OriginEndpoint_DashPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.DashPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsencryption.go deleted file mode 100644 index c94d566520..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsencryption.go +++ /dev/null @@ -1,57 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_HlsEncryption AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.HlsEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html -type OriginEndpoint_HlsEncryption struct { - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // EncryptionMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-encryptionmethod - EncryptionMethod *types.Value `json:"EncryptionMethod,omitempty"` - - // KeyRotationIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-keyrotationintervalseconds - KeyRotationIntervalSeconds *types.Value `json:"KeyRotationIntervalSeconds,omitempty"` - - // RepeatExtXKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-repeatextxkey - RepeatExtXKey *types.Value `json:"RepeatExtXKey,omitempty"` - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-spekekeyprovider - SpekeKeyProvider *OriginEndpoint_SpekeKeyProvider `json:"SpekeKeyProvider,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 *OriginEndpoint_HlsEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.HlsEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsmanifest.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsmanifest.go deleted file mode 100644 index bf2ff5700b..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlsmanifest.go +++ /dev/null @@ -1,82 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_HlsManifest AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.HlsManifest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html -type OriginEndpoint_HlsManifest struct { - - // AdMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-admarkers - AdMarkers *types.Value `json:"AdMarkers,omitempty"` - - // AdTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-adtriggers - AdTriggers *types.Value `json:"AdTriggers,omitempty"` - - // AdsOnDeliveryRestrictions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-adsondeliveryrestrictions - AdsOnDeliveryRestrictions *types.Value `json:"AdsOnDeliveryRestrictions,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-id - Id *types.Value `json:"Id,omitempty"` - - // IncludeIframeOnlyStream AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-includeiframeonlystream - IncludeIframeOnlyStream *types.Value `json:"IncludeIframeOnlyStream,omitempty"` - - // ManifestName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-manifestname - ManifestName *types.Value `json:"ManifestName,omitempty"` - - // PlaylistType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-playlisttype - PlaylistType *types.Value `json:"PlaylistType,omitempty"` - - // PlaylistWindowSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-playlistwindowseconds - PlaylistWindowSeconds *types.Value `json:"PlaylistWindowSeconds,omitempty"` - - // ProgramDateTimeIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-programdatetimeintervalseconds - ProgramDateTimeIntervalSeconds *types.Value `json:"ProgramDateTimeIntervalSeconds,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-url - Url *types.Value `json:"Url,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 *OriginEndpoint_HlsManifest) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.HlsManifest" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlspackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlspackage.go deleted file mode 100644 index e0794832ba..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_hlspackage.go +++ /dev/null @@ -1,87 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_HlsPackage AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.HlsPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html -type OriginEndpoint_HlsPackage struct { - - // AdMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-admarkers - AdMarkers *types.Value `json:"AdMarkers,omitempty"` - - // AdTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-adtriggers - AdTriggers *types.Value `json:"AdTriggers,omitempty"` - - // AdsOnDeliveryRestrictions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-adsondeliveryrestrictions - AdsOnDeliveryRestrictions *types.Value `json:"AdsOnDeliveryRestrictions,omitempty"` - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-encryption - Encryption *OriginEndpoint_HlsEncryption `json:"Encryption,omitempty"` - - // IncludeIframeOnlyStream AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-includeiframeonlystream - IncludeIframeOnlyStream *types.Value `json:"IncludeIframeOnlyStream,omitempty"` - - // PlaylistType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-playlisttype - PlaylistType *types.Value `json:"PlaylistType,omitempty"` - - // PlaylistWindowSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-playlistwindowseconds - PlaylistWindowSeconds *types.Value `json:"PlaylistWindowSeconds,omitempty"` - - // ProgramDateTimeIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-programdatetimeintervalseconds - ProgramDateTimeIntervalSeconds *types.Value `json:"ProgramDateTimeIntervalSeconds,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-streamselection - StreamSelection *OriginEndpoint_StreamSelection `json:"StreamSelection,omitempty"` - - // UseAudioRenditionGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-useaudiorenditiongroup - UseAudioRenditionGroup *types.Value `json:"UseAudioRenditionGroup,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 *OriginEndpoint_HlsPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.HlsPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_mssencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_mssencryption.go deleted file mode 100644 index f046a6288c..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_mssencryption.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_MssEncryption AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.MssEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-mssencryption.html -type OriginEndpoint_MssEncryption struct { - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-mssencryption.html#cfn-mediapackage-originendpoint-mssencryption-spekekeyprovider - SpekeKeyProvider *OriginEndpoint_SpekeKeyProvider `json:"SpekeKeyProvider,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 *OriginEndpoint_MssEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.MssEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_msspackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_msspackage.go deleted file mode 100644 index 68eec60f38..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_msspackage.go +++ /dev/null @@ -1,52 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_MssPackage AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.MssPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html -type OriginEndpoint_MssPackage struct { - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-encryption - Encryption *OriginEndpoint_MssEncryption `json:"Encryption,omitempty"` - - // ManifestWindowSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-manifestwindowseconds - ManifestWindowSeconds *types.Value `json:"ManifestWindowSeconds,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-streamselection - StreamSelection *OriginEndpoint_StreamSelection `json:"StreamSelection,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 *OriginEndpoint_MssPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.MssPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_spekekeyprovider.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_spekekeyprovider.go deleted file mode 100644 index 13e4e04596..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_spekekeyprovider.go +++ /dev/null @@ -1,57 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_SpekeKeyProvider AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html -type OriginEndpoint_SpekeKeyProvider struct { - - // CertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-certificatearn - CertificateArn *types.Value `json:"CertificateArn,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SystemIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-systemids - SystemIds *types.Value `json:"SystemIds,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-url - Url *types.Value `json:"Url,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 *OriginEndpoint_SpekeKeyProvider) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_streamselection.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_streamselection.go deleted file mode 100644 index 9376403a0f..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-originendpoint_streamselection.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// OriginEndpoint_StreamSelection AWS CloudFormation Resource (AWS::MediaPackage::OriginEndpoint.StreamSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html -type OriginEndpoint_StreamSelection struct { - - // MaxVideoBitsPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-maxvideobitspersecond - MaxVideoBitsPerSecond *types.Value `json:"MaxVideoBitsPerSecond,omitempty"` - - // MinVideoBitsPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-minvideobitspersecond - MinVideoBitsPerSecond *types.Value `json:"MinVideoBitsPerSecond,omitempty"` - - // StreamOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-streamorder - StreamOrder *types.Value `json:"StreamOrder,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 *OriginEndpoint_StreamSelection) AWSCloudFormationType() string { - return "AWS::MediaPackage::OriginEndpoint.StreamSelection" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration.go deleted file mode 100644 index 1892fa0f9c..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration.go +++ /dev/null @@ -1,139 +0,0 @@ -package mediapackage - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html -type PackagingConfiguration struct { - - // CmafPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-cmafpackage - CmafPackage *PackagingConfiguration_CmafPackage `json:"CmafPackage,omitempty"` - - // DashPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-dashpackage - DashPackage *PackagingConfiguration_DashPackage `json:"DashPackage,omitempty"` - - // HlsPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-hlspackage - HlsPackage *PackagingConfiguration_HlsPackage `json:"HlsPackage,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-id - Id *types.Value `json:"Id,omitempty"` - - // MssPackage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-msspackage - MssPackage *PackagingConfiguration_MssPackage `json:"MssPackage,omitempty"` - - // PackagingGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-packaginggroupid - PackagingGroupId *types.Value `json:"PackagingGroupId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packagingconfiguration.html#cfn-mediapackage-packagingconfiguration-tags - Tags []cloudformation.Tag `json:"Tags,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 *PackagingConfiguration) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration" -} - -// 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 (r PackagingConfiguration) MarshalJSON() ([]byte, error) { - type Properties PackagingConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PackagingConfiguration) UnmarshalJSON(b []byte) error { - type Properties PackagingConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PackagingConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafencryption.go deleted file mode 100644 index 9479d4d13f..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafencryption.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_CmafEncryption AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.CmafEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafencryption.html -type PackagingConfiguration_CmafEncryption struct { - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafencryption.html#cfn-mediapackage-packagingconfiguration-cmafencryption-spekekeyprovider - SpekeKeyProvider *PackagingConfiguration_SpekeKeyProvider `json:"SpekeKeyProvider,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 *PackagingConfiguration_CmafEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.CmafEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafpackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafpackage.go deleted file mode 100644 index 01aeb54bbe..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_cmafpackage.go +++ /dev/null @@ -1,52 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_CmafPackage AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.CmafPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafpackage.html -type PackagingConfiguration_CmafPackage struct { - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafpackage.html#cfn-mediapackage-packagingconfiguration-cmafpackage-encryption - Encryption *PackagingConfiguration_CmafEncryption `json:"Encryption,omitempty"` - - // HlsManifests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafpackage.html#cfn-mediapackage-packagingconfiguration-cmafpackage-hlsmanifests - HlsManifests []PackagingConfiguration_HlsManifest `json:"HlsManifests,omitempty"` - - // IncludeEncoderConfigurationInSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafpackage.html#cfn-mediapackage-packagingconfiguration-cmafpackage-includeencoderconfigurationinsegments - IncludeEncoderConfigurationInSegments *types.Value `json:"IncludeEncoderConfigurationInSegments,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-cmafpackage.html#cfn-mediapackage-packagingconfiguration-cmafpackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,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 *PackagingConfiguration_CmafPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.CmafPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashencryption.go deleted file mode 100644 index 310392eeb9..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashencryption.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_DashEncryption AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.DashEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashencryption.html -type PackagingConfiguration_DashEncryption struct { - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashencryption.html#cfn-mediapackage-packagingconfiguration-dashencryption-spekekeyprovider - SpekeKeyProvider *PackagingConfiguration_SpekeKeyProvider `json:"SpekeKeyProvider,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 *PackagingConfiguration_DashEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.DashEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashmanifest.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashmanifest.go deleted file mode 100644 index f7fa4c1a3c..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashmanifest.go +++ /dev/null @@ -1,57 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_DashManifest AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.DashManifest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html -type PackagingConfiguration_DashManifest struct { - - // ManifestLayout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-manifestlayout - ManifestLayout *types.Value `json:"ManifestLayout,omitempty"` - - // ManifestName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-manifestname - ManifestName *types.Value `json:"ManifestName,omitempty"` - - // MinBufferTimeSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-minbuffertimeseconds - MinBufferTimeSeconds *types.Value `json:"MinBufferTimeSeconds,omitempty"` - - // Profile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-profile - Profile *types.Value `json:"Profile,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashmanifest.html#cfn-mediapackage-packagingconfiguration-dashmanifest-streamselection - StreamSelection *PackagingConfiguration_StreamSelection `json:"StreamSelection,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 *PackagingConfiguration_DashManifest) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.DashManifest" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashpackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashpackage.go deleted file mode 100644 index 6b0ffb71b5..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_dashpackage.go +++ /dev/null @@ -1,62 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_DashPackage AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.DashPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html -type PackagingConfiguration_DashPackage struct { - - // DashManifests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-dashmanifests - DashManifests []PackagingConfiguration_DashManifest `json:"DashManifests,omitempty"` - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-encryption - Encryption *PackagingConfiguration_DashEncryption `json:"Encryption,omitempty"` - - // IncludeEncoderConfigurationInSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-includeencoderconfigurationinsegments - IncludeEncoderConfigurationInSegments *types.Value `json:"IncludeEncoderConfigurationInSegments,omitempty"` - - // PeriodTriggers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-periodtriggers - PeriodTriggers *types.Value `json:"PeriodTriggers,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // SegmentTemplateFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-dashpackage.html#cfn-mediapackage-packagingconfiguration-dashpackage-segmenttemplateformat - SegmentTemplateFormat *types.Value `json:"SegmentTemplateFormat,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 *PackagingConfiguration_DashPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.DashPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsencryption.go deleted file mode 100644 index ed18aa6bdb..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsencryption.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_HlsEncryption AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.HlsEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html -type PackagingConfiguration_HlsEncryption struct { - - // ConstantInitializationVector AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-constantinitializationvector - ConstantInitializationVector *types.Value `json:"ConstantInitializationVector,omitempty"` - - // EncryptionMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-encryptionmethod - EncryptionMethod *types.Value `json:"EncryptionMethod,omitempty"` - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsencryption.html#cfn-mediapackage-packagingconfiguration-hlsencryption-spekekeyprovider - SpekeKeyProvider *PackagingConfiguration_SpekeKeyProvider `json:"SpekeKeyProvider,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 *PackagingConfiguration_HlsEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.HlsEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsmanifest.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsmanifest.go deleted file mode 100644 index 1498288344..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlsmanifest.go +++ /dev/null @@ -1,62 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_HlsManifest AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.HlsManifest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html -type PackagingConfiguration_HlsManifest struct { - - // AdMarkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-admarkers - AdMarkers *types.Value `json:"AdMarkers,omitempty"` - - // IncludeIframeOnlyStream AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-includeiframeonlystream - IncludeIframeOnlyStream *types.Value `json:"IncludeIframeOnlyStream,omitempty"` - - // ManifestName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-manifestname - ManifestName *types.Value `json:"ManifestName,omitempty"` - - // ProgramDateTimeIntervalSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-programdatetimeintervalseconds - ProgramDateTimeIntervalSeconds *types.Value `json:"ProgramDateTimeIntervalSeconds,omitempty"` - - // RepeatExtXKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-repeatextxkey - RepeatExtXKey *types.Value `json:"RepeatExtXKey,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlsmanifest.html#cfn-mediapackage-packagingconfiguration-hlsmanifest-streamselection - StreamSelection *PackagingConfiguration_StreamSelection `json:"StreamSelection,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 *PackagingConfiguration_HlsManifest) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.HlsManifest" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlspackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlspackage.go deleted file mode 100644 index 5c198f0e3e..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_hlspackage.go +++ /dev/null @@ -1,52 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_HlsPackage AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.HlsPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlspackage.html -type PackagingConfiguration_HlsPackage struct { - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlspackage.html#cfn-mediapackage-packagingconfiguration-hlspackage-encryption - Encryption *PackagingConfiguration_HlsEncryption `json:"Encryption,omitempty"` - - // HlsManifests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlspackage.html#cfn-mediapackage-packagingconfiguration-hlspackage-hlsmanifests - HlsManifests []PackagingConfiguration_HlsManifest `json:"HlsManifests,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlspackage.html#cfn-mediapackage-packagingconfiguration-hlspackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,omitempty"` - - // UseAudioRenditionGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-hlspackage.html#cfn-mediapackage-packagingconfiguration-hlspackage-useaudiorenditiongroup - UseAudioRenditionGroup *types.Value `json:"UseAudioRenditionGroup,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 *PackagingConfiguration_HlsPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.HlsPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssencryption.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssencryption.go deleted file mode 100644 index 9c879892aa..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssencryption.go +++ /dev/null @@ -1,35 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_MssEncryption AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.MssEncryption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssencryption.html -type PackagingConfiguration_MssEncryption struct { - - // SpekeKeyProvider AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssencryption.html#cfn-mediapackage-packagingconfiguration-mssencryption-spekekeyprovider - SpekeKeyProvider *PackagingConfiguration_SpekeKeyProvider `json:"SpekeKeyProvider,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 *PackagingConfiguration_MssEncryption) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.MssEncryption" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssmanifest.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssmanifest.go deleted file mode 100644 index 055e692e28..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_mssmanifest.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_MssManifest AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.MssManifest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssmanifest.html -type PackagingConfiguration_MssManifest struct { - - // ManifestName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssmanifest.html#cfn-mediapackage-packagingconfiguration-mssmanifest-manifestname - ManifestName *types.Value `json:"ManifestName,omitempty"` - - // StreamSelection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-mssmanifest.html#cfn-mediapackage-packagingconfiguration-mssmanifest-streamselection - StreamSelection *PackagingConfiguration_StreamSelection `json:"StreamSelection,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 *PackagingConfiguration_MssManifest) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.MssManifest" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_msspackage.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_msspackage.go deleted file mode 100644 index 7de0c2689f..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_msspackage.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_MssPackage AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.MssPackage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-msspackage.html -type PackagingConfiguration_MssPackage struct { - - // Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-msspackage.html#cfn-mediapackage-packagingconfiguration-msspackage-encryption - Encryption *PackagingConfiguration_MssEncryption `json:"Encryption,omitempty"` - - // MssManifests AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-msspackage.html#cfn-mediapackage-packagingconfiguration-msspackage-mssmanifests - MssManifests []PackagingConfiguration_MssManifest `json:"MssManifests,omitempty"` - - // SegmentDurationSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-msspackage.html#cfn-mediapackage-packagingconfiguration-msspackage-segmentdurationseconds - SegmentDurationSeconds *types.Value `json:"SegmentDurationSeconds,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 *PackagingConfiguration_MssPackage) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.MssPackage" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_spekekeyprovider.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_spekekeyprovider.go deleted file mode 100644 index 90a548f33f..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_spekekeyprovider.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_SpekeKeyProvider AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html -type PackagingConfiguration_SpekeKeyProvider struct { - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // SystemIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-systemids - SystemIds *types.Value `json:"SystemIds,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-spekekeyprovider.html#cfn-mediapackage-packagingconfiguration-spekekeyprovider-url - Url *types.Value `json:"Url,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 *PackagingConfiguration_SpekeKeyProvider) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_streamselection.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_streamselection.go deleted file mode 100644 index 07c211d77e..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packagingconfiguration_streamselection.go +++ /dev/null @@ -1,47 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingConfiguration_StreamSelection AWS CloudFormation Resource (AWS::MediaPackage::PackagingConfiguration.StreamSelection) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html -type PackagingConfiguration_StreamSelection struct { - - // MaxVideoBitsPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-maxvideobitspersecond - MaxVideoBitsPerSecond *types.Value `json:"MaxVideoBitsPerSecond,omitempty"` - - // MinVideoBitsPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-minvideobitspersecond - MinVideoBitsPerSecond *types.Value `json:"MinVideoBitsPerSecond,omitempty"` - - // StreamOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packagingconfiguration-streamselection.html#cfn-mediapackage-packagingconfiguration-streamselection-streamorder - StreamOrder *types.Value `json:"StreamOrder,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 *PackagingConfiguration_StreamSelection) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingConfiguration.StreamSelection" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup.go deleted file mode 100644 index 8642a2215c..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package mediapackage - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingGroup AWS CloudFormation Resource (AWS::MediaPackage::PackagingGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packaginggroup.html -type PackagingGroup struct { - - // Authorization AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packaginggroup.html#cfn-mediapackage-packaginggroup-authorization - Authorization *PackagingGroup_Authorization `json:"Authorization,omitempty"` - - // EgressAccessLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packaginggroup.html#cfn-mediapackage-packaginggroup-egressaccesslogs - EgressAccessLogs *PackagingGroup_LogConfiguration `json:"EgressAccessLogs,omitempty"` - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packaginggroup.html#cfn-mediapackage-packaginggroup-id - Id *types.Value `json:"Id,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-packaginggroup.html#cfn-mediapackage-packaginggroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *PackagingGroup) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingGroup" -} - -// 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 (r PackagingGroup) MarshalJSON() ([]byte, error) { - type Properties PackagingGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PackagingGroup) UnmarshalJSON(b []byte) error { - type Properties PackagingGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PackagingGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_authorization.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_authorization.go deleted file mode 100644 index 82f275acdd..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_authorization.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingGroup_Authorization AWS CloudFormation Resource (AWS::MediaPackage::PackagingGroup.Authorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packaginggroup-authorization.html -type PackagingGroup_Authorization struct { - - // CdnIdentifierSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packaginggroup-authorization.html#cfn-mediapackage-packaginggroup-authorization-cdnidentifiersecret - CdnIdentifierSecret *types.Value `json:"CdnIdentifierSecret,omitempty"` - - // SecretsRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packaginggroup-authorization.html#cfn-mediapackage-packaginggroup-authorization-secretsrolearn - SecretsRoleArn *types.Value `json:"SecretsRoleArn,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 *PackagingGroup_Authorization) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingGroup.Authorization" -} diff --git a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_logconfiguration.go b/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_logconfiguration.go deleted file mode 100644 index 58ba92913b..0000000000 --- a/pkg/goformation/cloudformation/mediapackage/aws-mediapackage-packaginggroup_logconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package mediapackage - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackagingGroup_LogConfiguration AWS CloudFormation Resource (AWS::MediaPackage::PackagingGroup.LogConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packaginggroup-logconfiguration.html -type PackagingGroup_LogConfiguration struct { - - // LogGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-packaginggroup-logconfiguration.html#cfn-mediapackage-packaginggroup-logconfiguration-loggroupname - LogGroupName *types.Value `json:"LogGroupName,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 *PackagingGroup_LogConfiguration) AWSCloudFormationType() string { - return "AWS::MediaPackage::PackagingGroup.LogConfiguration" -} diff --git a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container.go b/pkg/goformation/cloudformation/mediastore/aws-mediastore-container.go deleted file mode 100644 index 86f713ec84..0000000000 --- a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container.go +++ /dev/null @@ -1,139 +0,0 @@ -package mediastore - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Container AWS CloudFormation Resource (AWS::MediaStore::Container) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html -type Container struct { - - // AccessLoggingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-accessloggingenabled - AccessLoggingEnabled *types.Value `json:"AccessLoggingEnabled,omitempty"` - - // ContainerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` - - // CorsPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-corspolicy - CorsPolicy []Container_CorsRule `json:"CorsPolicy,omitempty"` - - // LifecyclePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-lifecyclepolicy - LifecyclePolicy *types.Value `json:"LifecyclePolicy,omitempty"` - - // MetricPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-metricpolicy - MetricPolicy *Container_MetricPolicy `json:"MetricPolicy,omitempty"` - - // Policy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-policy - Policy *types.Value `json:"Policy,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediastore-container.html#cfn-mediastore-container-tags - Tags []cloudformation.Tag `json:"Tags,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 *Container) AWSCloudFormationType() string { - return "AWS::MediaStore::Container" -} - -// 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 (r Container) MarshalJSON() ([]byte, error) { - type Properties Container - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Container) UnmarshalJSON(b []byte) error { - type Properties Container - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Container(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_corsrule.go b/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_corsrule.go deleted file mode 100644 index 4d2af62ea7..0000000000 --- a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_corsrule.go +++ /dev/null @@ -1,57 +0,0 @@ -package mediastore - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Container_CorsRule AWS CloudFormation Resource (AWS::MediaStore::Container.CorsRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html -type Container_CorsRule struct { - - // AllowedHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html#cfn-mediastore-container-corsrule-allowedheaders - AllowedHeaders *types.Value `json:"AllowedHeaders,omitempty"` - - // AllowedMethods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html#cfn-mediastore-container-corsrule-allowedmethods - AllowedMethods *types.Value `json:"AllowedMethods,omitempty"` - - // AllowedOrigins AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html#cfn-mediastore-container-corsrule-allowedorigins - AllowedOrigins *types.Value `json:"AllowedOrigins,omitempty"` - - // ExposeHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html#cfn-mediastore-container-corsrule-exposeheaders - ExposeHeaders *types.Value `json:"ExposeHeaders,omitempty"` - - // MaxAgeSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-corsrule.html#cfn-mediastore-container-corsrule-maxageseconds - MaxAgeSeconds *types.Value `json:"MaxAgeSeconds,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 *Container_CorsRule) AWSCloudFormationType() string { - return "AWS::MediaStore::Container.CorsRule" -} diff --git a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicy.go b/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicy.go deleted file mode 100644 index 6ac45815db..0000000000 --- a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediastore - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Container_MetricPolicy AWS CloudFormation Resource (AWS::MediaStore::Container.MetricPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicy.html -type Container_MetricPolicy struct { - - // ContainerLevelMetrics AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicy.html#cfn-mediastore-container-metricpolicy-containerlevelmetrics - ContainerLevelMetrics *types.Value `json:"ContainerLevelMetrics,omitempty"` - - // MetricPolicyRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicy.html#cfn-mediastore-container-metricpolicy-metricpolicyrules - MetricPolicyRules []Container_MetricPolicyRule `json:"MetricPolicyRules,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 *Container_MetricPolicy) AWSCloudFormationType() string { - return "AWS::MediaStore::Container.MetricPolicy" -} diff --git a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicyrule.go b/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicyrule.go deleted file mode 100644 index 33c0f98c7c..0000000000 --- a/pkg/goformation/cloudformation/mediastore/aws-mediastore-container_metricpolicyrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package mediastore - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Container_MetricPolicyRule AWS CloudFormation Resource (AWS::MediaStore::Container.MetricPolicyRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicyrule.html -type Container_MetricPolicyRule struct { - - // ObjectGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicyrule.html#cfn-mediastore-container-metricpolicyrule-objectgroup - ObjectGroup *types.Value `json:"ObjectGroup,omitempty"` - - // ObjectGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediastore-container-metricpolicyrule.html#cfn-mediastore-container-metricpolicyrule-objectgroupname - ObjectGroupName *types.Value `json:"ObjectGroupName,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 *Container_MetricPolicyRule) AWSCloudFormationType() string { - return "AWS::MediaStore::Container.MetricPolicyRule" -} diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster.go b/pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster.go deleted file mode 100644 index c91ef69d3c..0000000000 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster.go +++ /dev/null @@ -1,219 +0,0 @@ -package memorydb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::MemoryDB::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html -type Cluster struct { - - // ACLName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-aclname - ACLName *types.Value `json:"ACLName,omitempty"` - - // AutoMinorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // ClusterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-description - Description *types.Value `json:"Description,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // FinalSnapshotName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-finalsnapshotname - FinalSnapshotName *types.Value `json:"FinalSnapshotName,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-maintenancewindow - MaintenanceWindow *types.Value `json:"MaintenanceWindow,omitempty"` - - // NodeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-nodetype - NodeType *types.Value `json:"NodeType,omitempty"` - - // NumReplicasPerShard AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-numreplicaspershard - NumReplicasPerShard *types.Value `json:"NumReplicasPerShard,omitempty"` - - // NumShards AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-numshards - NumShards *types.Value `json:"NumShards,omitempty"` - - // ParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-parametergroupname - ParameterGroupName *types.Value `json:"ParameterGroupName,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-port - Port *types.Value `json:"Port,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SnapshotArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snapshotarns - SnapshotArns *types.Value `json:"SnapshotArns,omitempty"` - - // SnapshotName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snapshotname - SnapshotName *types.Value `json:"SnapshotName,omitempty"` - - // SnapshotRetentionLimit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snapshotretentionlimit - SnapshotRetentionLimit *types.Value `json:"SnapshotRetentionLimit,omitempty"` - - // SnapshotWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snapshotwindow - SnapshotWindow *types.Value `json:"SnapshotWindow,omitempty"` - - // SnsTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,omitempty"` - - // SnsTopicStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-snstopicstatus - SnsTopicStatus *types.Value `json:"SnsTopicStatus,omitempty"` - - // SubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-subnetgroupname - SubnetGroupName *types.Value `json:"SubnetGroupName,omitempty"` - - // TLSEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-tlsenabled - TLSEnabled *types.Value `json:"TLSEnabled,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-cluster.html#cfn-memorydb-cluster-tags - Tags []cloudformation.Tag `json:"Tags,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 *Cluster) AWSCloudFormationType() string { - return "AWS::MemoryDB::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-parametergroup.go b/pkg/goformation/cloudformation/memorydb/aws-memorydb-parametergroup.go deleted file mode 100644 index c6c0b67403..0000000000 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-parametergroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package memorydb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ParameterGroup AWS CloudFormation Resource (AWS::MemoryDB::ParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html -type ParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html#cfn-memorydb-parametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // Family AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html#cfn-memorydb-parametergroup-family - Family *types.Value `json:"Family,omitempty"` - - // ParameterGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html#cfn-memorydb-parametergroup-parametergroupname - ParameterGroupName *types.Value `json:"ParameterGroupName,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html#cfn-memorydb-parametergroup-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-parametergroup.html#cfn-memorydb-parametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ParameterGroup) AWSCloudFormationType() string { - return "AWS::MemoryDB::ParameterGroup" -} - -// 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 (r ParameterGroup) MarshalJSON() ([]byte, error) { - type Properties ParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ParameterGroup) UnmarshalJSON(b []byte) error { - type Properties ParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-subnetgroup.go b/pkg/goformation/cloudformation/memorydb/aws-memorydb-subnetgroup.go deleted file mode 100644 index fe5dd00661..0000000000 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-subnetgroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package memorydb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SubnetGroup AWS CloudFormation Resource (AWS::MemoryDB::SubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html -type SubnetGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html#cfn-memorydb-subnetgroup-description - Description *types.Value `json:"Description,omitempty"` - - // SubnetGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html#cfn-memorydb-subnetgroup-subnetgroupname - SubnetGroupName *types.Value `json:"SubnetGroupName,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html#cfn-memorydb-subnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html#cfn-memorydb-subnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *SubnetGroup) AWSCloudFormationType() string { - return "AWS::MemoryDB::SubnetGroup" -} - -// 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 (r SubnetGroup) MarshalJSON() ([]byte, error) { - type Properties SubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SubnetGroup) UnmarshalJSON(b []byte) error { - type Properties SubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-user.go b/pkg/goformation/cloudformation/memorydb/aws-memorydb-user.go deleted file mode 100644 index 5dbc0db262..0000000000 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-user.go +++ /dev/null @@ -1,124 +0,0 @@ -package memorydb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User AWS CloudFormation Resource (AWS::MemoryDB::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html -type User struct { - - // AccessString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-accessstring - AccessString *types.Value `json:"AccessString,omitempty"` - - // AuthenticationMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-authenticationmode - AuthenticationMode interface{} `json:"AuthenticationMode,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-username - UserName *types.Value `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 *User) AWSCloudFormationType() string { - return "AWS::MemoryDB::User" -} - -// 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 (r User) MarshalJSON() ([]byte, error) { - type Properties User - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *User) UnmarshalJSON(b []byte) error { - type Properties User - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = User(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster.go deleted file mode 100644 index 5c821941e1..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster.go +++ /dev/null @@ -1,158 +0,0 @@ -package msk - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::MSK::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html -type Cluster struct { - - // BrokerNodeGroupInfo AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-brokernodegroupinfo - BrokerNodeGroupInfo *Cluster_BrokerNodeGroupInfo `json:"BrokerNodeGroupInfo,omitempty"` - - // ClientAuthentication AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clientauthentication - ClientAuthentication *Cluster_ClientAuthentication `json:"ClientAuthentication,omitempty"` - - // ClusterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clustername - ClusterName *types.Value `json:"ClusterName,omitempty"` - - // ConfigurationInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-configurationinfo - ConfigurationInfo *Cluster_ConfigurationInfo `json:"ConfigurationInfo,omitempty"` - - // EncryptionInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-encryptioninfo - EncryptionInfo *Cluster_EncryptionInfo `json:"EncryptionInfo,omitempty"` - - // EnhancedMonitoring AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-enhancedmonitoring - EnhancedMonitoring *types.Value `json:"EnhancedMonitoring,omitempty"` - - // KafkaVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-kafkaversion - KafkaVersion *types.Value `json:"KafkaVersion,omitempty"` - - // LoggingInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-logginginfo - LoggingInfo *Cluster_LoggingInfo `json:"LoggingInfo,omitempty"` - - // NumberOfBrokerNodes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-numberofbrokernodes - NumberOfBrokerNodes *types.Value `json:"NumberOfBrokerNodes"` - - // OpenMonitoring AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-openmonitoring - OpenMonitoring *Cluster_OpenMonitoring `json:"OpenMonitoring,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-tags - Tags interface{} `json:"Tags,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 *Cluster) AWSCloudFormationType() string { - return "AWS::MSK::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokerlogs.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokerlogs.go deleted file mode 100644 index f1571b77d6..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokerlogs.go +++ /dev/null @@ -1,45 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_BrokerLogs AWS CloudFormation Resource (AWS::MSK::Cluster.BrokerLogs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html -type Cluster_BrokerLogs struct { - - // CloudWatchLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-cloudwatchlogs - CloudWatchLogs *Cluster_CloudWatchLogs `json:"CloudWatchLogs,omitempty"` - - // Firehose AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-firehose - Firehose *Cluster_Firehose `json:"Firehose,omitempty"` - - // S3 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokerlogs.html#cfn-msk-cluster-brokerlogs-s3 - S3 *Cluster_S3 `json:"S3,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 *Cluster_BrokerLogs) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.BrokerLogs" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokernodegroupinfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokernodegroupinfo.go deleted file mode 100644 index 2ef4ce710e..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_brokernodegroupinfo.go +++ /dev/null @@ -1,62 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_BrokerNodeGroupInfo AWS CloudFormation Resource (AWS::MSK::Cluster.BrokerNodeGroupInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html -type Cluster_BrokerNodeGroupInfo struct { - - // BrokerAZDistribution AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-brokerazdistribution - BrokerAZDistribution *types.Value `json:"BrokerAZDistribution,omitempty"` - - // ClientSubnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-clientsubnets - ClientSubnets *types.Value `json:"ClientSubnets,omitempty"` - - // ConnectivityInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-connectivityinfo - ConnectivityInfo *Cluster_ConnectivityInfo `json:"ConnectivityInfo,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // StorageInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-brokernodegroupinfo.html#cfn-msk-cluster-brokernodegroupinfo-storageinfo - StorageInfo *Cluster_StorageInfo `json:"StorageInfo,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 *Cluster_BrokerNodeGroupInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.BrokerNodeGroupInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_clientauthentication.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_clientauthentication.go deleted file mode 100644 index d735da0872..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_clientauthentication.go +++ /dev/null @@ -1,45 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ClientAuthentication AWS CloudFormation Resource (AWS::MSK::Cluster.ClientAuthentication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html -type Cluster_ClientAuthentication struct { - - // Sasl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-sasl - Sasl *Cluster_Sasl `json:"Sasl,omitempty"` - - // Tls AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-tls - Tls *Cluster_Tls `json:"Tls,omitempty"` - - // Unauthenticated AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-clientauthentication.html#cfn-msk-cluster-clientauthentication-unauthenticated - Unauthenticated *Cluster_Unauthenticated `json:"Unauthenticated,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 *Cluster_ClientAuthentication) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.ClientAuthentication" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_configurationinfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_configurationinfo.go deleted file mode 100644 index 00fc6c4860..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_configurationinfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ConfigurationInfo AWS CloudFormation Resource (AWS::MSK::Cluster.ConfigurationInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html -type Cluster_ConfigurationInfo struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html#cfn-msk-cluster-configurationinfo-arn - Arn *types.Value `json:"Arn,omitempty"` - - // Revision AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-configurationinfo.html#cfn-msk-cluster-configurationinfo-revision - Revision *types.Value `json:"Revision"` - - // 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 *Cluster_ConfigurationInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.ConfigurationInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_connectivityinfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_connectivityinfo.go deleted file mode 100644 index 89cd4f5543..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_connectivityinfo.go +++ /dev/null @@ -1,35 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ConnectivityInfo AWS CloudFormation Resource (AWS::MSK::Cluster.ConnectivityInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-connectivityinfo.html -type Cluster_ConnectivityInfo struct { - - // PublicAccess AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-connectivityinfo.html#cfn-msk-cluster-connectivityinfo-publicaccess - PublicAccess *Cluster_PublicAccess `json:"PublicAccess,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 *Cluster_ConnectivityInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.ConnectivityInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_ebsstorageinfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_ebsstorageinfo.go deleted file mode 100644 index 79e994ca4a..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_ebsstorageinfo.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EBSStorageInfo AWS CloudFormation Resource (AWS::MSK::Cluster.EBSStorageInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-ebsstorageinfo.html -type Cluster_EBSStorageInfo struct { - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-ebsstorageinfo.html#cfn-msk-cluster-ebsstorageinfo-volumesize - VolumeSize *types.Value `json:"VolumeSize,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 *Cluster_EBSStorageInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.EBSStorageInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionatrest.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionatrest.go deleted file mode 100644 index 61c55e63e0..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionatrest.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EncryptionAtRest AWS CloudFormation Resource (AWS::MSK::Cluster.EncryptionAtRest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionatrest.html -type Cluster_EncryptionAtRest struct { - - // DataVolumeKMSKeyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionatrest.html#cfn-msk-cluster-encryptionatrest-datavolumekmskeyid - DataVolumeKMSKeyId *types.Value `json:"DataVolumeKMSKeyId,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 *Cluster_EncryptionAtRest) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.EncryptionAtRest" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptioninfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptioninfo.go deleted file mode 100644 index e8b5e8302c..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptioninfo.go +++ /dev/null @@ -1,40 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EncryptionInfo AWS CloudFormation Resource (AWS::MSK::Cluster.EncryptionInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html -type Cluster_EncryptionInfo struct { - - // EncryptionAtRest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html#cfn-msk-cluster-encryptioninfo-encryptionatrest - EncryptionAtRest *Cluster_EncryptionAtRest `json:"EncryptionAtRest,omitempty"` - - // EncryptionInTransit AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptioninfo.html#cfn-msk-cluster-encryptioninfo-encryptionintransit - EncryptionInTransit *Cluster_EncryptionInTransit `json:"EncryptionInTransit,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 *Cluster_EncryptionInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.EncryptionInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionintransit.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionintransit.go deleted file mode 100644 index bac5373f6e..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_encryptionintransit.go +++ /dev/null @@ -1,42 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_EncryptionInTransit AWS CloudFormation Resource (AWS::MSK::Cluster.EncryptionInTransit) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html -type Cluster_EncryptionInTransit struct { - - // ClientBroker AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-clientbroker - ClientBroker *types.Value `json:"ClientBroker,omitempty"` - - // InCluster AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-encryptionintransit.html#cfn-msk-cluster-encryptionintransit-incluster - InCluster *types.Value `json:"InCluster,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 *Cluster_EncryptionInTransit) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.EncryptionInTransit" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_jmxexporter.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_jmxexporter.go deleted file mode 100644 index 6b55ad1d9b..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_jmxexporter.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_JmxExporter AWS CloudFormation Resource (AWS::MSK::Cluster.JmxExporter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-jmxexporter.html -type Cluster_JmxExporter struct { - - // EnabledInBroker AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-jmxexporter.html#cfn-msk-cluster-jmxexporter-enabledinbroker - EnabledInBroker *types.Value `json:"EnabledInBroker"` - - // 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 *Cluster_JmxExporter) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.JmxExporter" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_logginginfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_logginginfo.go deleted file mode 100644 index b57763ed3d..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_logginginfo.go +++ /dev/null @@ -1,35 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_LoggingInfo AWS CloudFormation Resource (AWS::MSK::Cluster.LoggingInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-logginginfo.html -type Cluster_LoggingInfo struct { - - // BrokerLogs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-logginginfo.html#cfn-msk-cluster-logginginfo-brokerlogs - BrokerLogs *Cluster_BrokerLogs `json:"BrokerLogs,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 *Cluster_LoggingInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.LoggingInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_nodeexporter.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_nodeexporter.go deleted file mode 100644 index 98f54b1376..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_nodeexporter.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_NodeExporter AWS CloudFormation Resource (AWS::MSK::Cluster.NodeExporter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-nodeexporter.html -type Cluster_NodeExporter struct { - - // EnabledInBroker AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-nodeexporter.html#cfn-msk-cluster-nodeexporter-enabledinbroker - EnabledInBroker *types.Value `json:"EnabledInBroker"` - - // 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 *Cluster_NodeExporter) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.NodeExporter" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_openmonitoring.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_openmonitoring.go deleted file mode 100644 index ac2d49bec3..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_openmonitoring.go +++ /dev/null @@ -1,35 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_OpenMonitoring AWS CloudFormation Resource (AWS::MSK::Cluster.OpenMonitoring) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-openmonitoring.html -type Cluster_OpenMonitoring struct { - - // Prometheus AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-openmonitoring.html#cfn-msk-cluster-openmonitoring-prometheus - Prometheus *Cluster_Prometheus `json:"Prometheus,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 *Cluster_OpenMonitoring) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.OpenMonitoring" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_prometheus.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_prometheus.go deleted file mode 100644 index 79423d6f10..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_prometheus.go +++ /dev/null @@ -1,40 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Prometheus AWS CloudFormation Resource (AWS::MSK::Cluster.Prometheus) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html -type Cluster_Prometheus struct { - - // JmxExporter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html#cfn-msk-cluster-prometheus-jmxexporter - JmxExporter *Cluster_JmxExporter `json:"JmxExporter,omitempty"` - - // NodeExporter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-prometheus.html#cfn-msk-cluster-prometheus-nodeexporter - NodeExporter *Cluster_NodeExporter `json:"NodeExporter,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 *Cluster_Prometheus) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Prometheus" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_publicaccess.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_publicaccess.go deleted file mode 100644 index d98ee4e6ac..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_publicaccess.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_PublicAccess AWS CloudFormation Resource (AWS::MSK::Cluster.PublicAccess) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-publicaccess.html -type Cluster_PublicAccess struct { - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-publicaccess.html#cfn-msk-cluster-publicaccess-type - Type *types.Value `json:"Type,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 *Cluster_PublicAccess) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.PublicAccess" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_sasl.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_sasl.go deleted file mode 100644 index e6bbe63e9a..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_sasl.go +++ /dev/null @@ -1,40 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Sasl AWS CloudFormation Resource (AWS::MSK::Cluster.Sasl) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html -type Cluster_Sasl struct { - - // Iam AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html#cfn-msk-cluster-sasl-iam - Iam *Cluster_Iam `json:"Iam,omitempty"` - - // Scram AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-sasl.html#cfn-msk-cluster-sasl-scram - Scram *Cluster_Scram `json:"Scram,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 *Cluster_Sasl) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Sasl" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_storageinfo.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_storageinfo.go deleted file mode 100644 index 72d0d9226a..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_storageinfo.go +++ /dev/null @@ -1,35 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_StorageInfo AWS CloudFormation Resource (AWS::MSK::Cluster.StorageInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-storageinfo.html -type Cluster_StorageInfo struct { - - // EBSStorageInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-storageinfo.html#cfn-msk-cluster-storageinfo-ebsstorageinfo - EBSStorageInfo *Cluster_EBSStorageInfo `json:"EBSStorageInfo,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 *Cluster_StorageInfo) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.StorageInfo" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_tls.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_tls.go deleted file mode 100644 index ecf12ff1fa..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_tls.go +++ /dev/null @@ -1,42 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Tls AWS CloudFormation Resource (AWS::MSK::Cluster.Tls) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html -type Cluster_Tls struct { - - // CertificateAuthorityArnList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html#cfn-msk-cluster-tls-certificateauthorityarnlist - CertificateAuthorityArnList *types.Value `json:"CertificateAuthorityArnList,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-tls.html#cfn-msk-cluster-tls-enabled - Enabled *types.Value `json:"Enabled,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 *Cluster_Tls) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Tls" -} diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_unauthenticated.go b/pkg/goformation/cloudformation/msk/aws-msk-cluster_unauthenticated.go deleted file mode 100644 index a88981a507..0000000000 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_unauthenticated.go +++ /dev/null @@ -1,37 +0,0 @@ -package msk - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_Unauthenticated AWS CloudFormation Resource (AWS::MSK::Cluster.Unauthenticated) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-unauthenticated.html -type Cluster_Unauthenticated struct { - - // Enabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-unauthenticated.html#cfn-msk-cluster-unauthenticated-enabled - Enabled *types.Value `json:"Enabled"` - - // 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 *Cluster_Unauthenticated) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Unauthenticated" -} diff --git a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment.go b/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment.go deleted file mode 100644 index d8e5e0f14a..0000000000 --- a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment.go +++ /dev/null @@ -1,203 +0,0 @@ -package mwaa - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment AWS CloudFormation Resource (AWS::MWAA::Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html -type Environment struct { - - // AirflowConfigurationOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowconfigurationoptions - AirflowConfigurationOptions interface{} `json:"AirflowConfigurationOptions,omitempty"` - - // AirflowVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowversion - AirflowVersion *types.Value `json:"AirflowVersion,omitempty"` - - // DagS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-dags3path - DagS3Path *types.Value `json:"DagS3Path,omitempty"` - - // EnvironmentClass AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-environmentclass - EnvironmentClass *types.Value `json:"EnvironmentClass,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // KmsKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-kmskey - KmsKey *types.Value `json:"KmsKey,omitempty"` - - // LoggingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-loggingconfiguration - LoggingConfiguration *Environment_LoggingConfiguration `json:"LoggingConfiguration,omitempty"` - - // MaxWorkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-maxworkers - MaxWorkers *types.Value `json:"MaxWorkers,omitempty"` - - // MinWorkers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-minworkers - MinWorkers *types.Value `json:"MinWorkers,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-name - Name *types.Value `json:"Name,omitempty"` - - // NetworkConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-networkconfiguration - NetworkConfiguration *Environment_NetworkConfiguration `json:"NetworkConfiguration,omitempty"` - - // PluginsS3ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-pluginss3objectversion - PluginsS3ObjectVersion *types.Value `json:"PluginsS3ObjectVersion,omitempty"` - - // PluginsS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-pluginss3path - PluginsS3Path *types.Value `json:"PluginsS3Path,omitempty"` - - // RequirementsS3ObjectVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-requirementss3objectversion - RequirementsS3ObjectVersion *types.Value `json:"RequirementsS3ObjectVersion,omitempty"` - - // RequirementsS3Path AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-requirementss3path - RequirementsS3Path *types.Value `json:"RequirementsS3Path,omitempty"` - - // Schedulers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-schedulers - Schedulers *types.Value `json:"Schedulers,omitempty"` - - // SourceBucketArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-sourcebucketarn - SourceBucketArn *types.Value `json:"SourceBucketArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-tags - Tags interface{} `json:"Tags,omitempty"` - - // WebserverAccessMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-webserveraccessmode - WebserverAccessMode *types.Value `json:"WebserverAccessMode,omitempty"` - - // WeeklyMaintenanceWindowStart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-weeklymaintenancewindowstart - WeeklyMaintenanceWindowStart *types.Value `json:"WeeklyMaintenanceWindowStart,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 *Environment) AWSCloudFormationType() string { - return "AWS::MWAA::Environment" -} - -// 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 (r Environment) MarshalJSON() ([]byte, error) { - type Properties Environment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Environment) UnmarshalJSON(b []byte) error { - type Properties Environment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Environment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_loggingconfiguration.go b/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_loggingconfiguration.go deleted file mode 100644 index 3460858c09..0000000000 --- a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_loggingconfiguration.go +++ /dev/null @@ -1,55 +0,0 @@ -package mwaa - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_LoggingConfiguration AWS CloudFormation Resource (AWS::MWAA::Environment.LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html -type Environment_LoggingConfiguration struct { - - // DagProcessingLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-dagprocessinglogs - DagProcessingLogs *Environment_ModuleLoggingConfiguration `json:"DagProcessingLogs,omitempty"` - - // SchedulerLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-schedulerlogs - SchedulerLogs *Environment_ModuleLoggingConfiguration `json:"SchedulerLogs,omitempty"` - - // TaskLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-tasklogs - TaskLogs *Environment_ModuleLoggingConfiguration `json:"TaskLogs,omitempty"` - - // WebserverLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-webserverlogs - WebserverLogs *Environment_ModuleLoggingConfiguration `json:"WebserverLogs,omitempty"` - - // WorkerLogs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-loggingconfiguration.html#cfn-mwaa-environment-loggingconfiguration-workerlogs - WorkerLogs *Environment_ModuleLoggingConfiguration `json:"WorkerLogs,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 *Environment_LoggingConfiguration) AWSCloudFormationType() string { - return "AWS::MWAA::Environment.LoggingConfiguration" -} diff --git a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_moduleloggingconfiguration.go b/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_moduleloggingconfiguration.go deleted file mode 100644 index ba721c6fe3..0000000000 --- a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_moduleloggingconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package mwaa - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment_ModuleLoggingConfiguration AWS CloudFormation Resource (AWS::MWAA::Environment.ModuleLoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html -type Environment_ModuleLoggingConfiguration struct { - - // CloudWatchLogGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-cloudwatchloggrouparn - CloudWatchLogGroupArn *types.Value `json:"CloudWatchLogGroupArn,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // LogLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-moduleloggingconfiguration.html#cfn-mwaa-environment-moduleloggingconfiguration-loglevel - LogLevel *types.Value `json:"LogLevel,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 *Environment_ModuleLoggingConfiguration) AWSCloudFormationType() string { - return "AWS::MWAA::Environment.ModuleLoggingConfiguration" -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster.go deleted file mode 100644 index 8d97354c52..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster.go +++ /dev/null @@ -1,214 +0,0 @@ -package neptune - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBCluster AWS CloudFormation Resource (AWS::Neptune::DBCluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html -type DBCluster struct { - - // AssociatedRoles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-associatedroles - AssociatedRoles []DBCluster_DBClusterRole `json:"AssociatedRoles,omitempty"` - - // AvailabilityZones AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-availabilityzones - AvailabilityZones *types.Value `json:"AvailabilityZones,omitempty"` - - // BackupRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-backupretentionperiod - BackupRetentionPeriod *types.Value `json:"BackupRetentionPeriod,omitempty"` - - // DBClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-dbclusteridentifier - DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` - - // DBClusterParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-dbclusterparametergroupname - DBClusterParameterGroupName *types.Value `json:"DBClusterParameterGroupName,omitempty"` - - // DBSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-dbsubnetgroupname - DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` - - // DeletionProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-deletionprotection - DeletionProtection *types.Value `json:"DeletionProtection,omitempty"` - - // EnableCloudwatchLogsExports AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-enablecloudwatchlogsexports - EnableCloudwatchLogsExports *types.Value `json:"EnableCloudwatchLogsExports,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // IamAuthEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-iamauthenabled - IamAuthEnabled *types.Value `json:"IamAuthEnabled,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-port - Port *types.Value `json:"Port,omitempty"` - - // PreferredBackupWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-preferredbackupwindow - PreferredBackupWindow *types.Value `json:"PreferredBackupWindow,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // RestoreToTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-restoretotime - RestoreToTime *types.Value `json:"RestoreToTime,omitempty"` - - // RestoreType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-restoretype - RestoreType *types.Value `json:"RestoreType,omitempty"` - - // SnapshotIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-snapshotidentifier - SnapshotIdentifier *types.Value `json:"SnapshotIdentifier,omitempty"` - - // SourceDBClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-sourcedbclusteridentifier - SourceDBClusterIdentifier *types.Value `json:"SourceDBClusterIdentifier,omitempty"` - - // StorageEncrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-storageencrypted - StorageEncrypted *types.Value `json:"StorageEncrypted,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UseLatestRestorableTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-uselatestrestorabletime - UseLatestRestorableTime *types.Value `json:"UseLatestRestorableTime,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbcluster.html#cfn-neptune-dbcluster-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *DBCluster) AWSCloudFormationType() string { - return "AWS::Neptune::DBCluster" -} - -// 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 (r DBCluster) MarshalJSON() ([]byte, error) { - type Properties DBCluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBCluster) UnmarshalJSON(b []byte) error { - type Properties DBCluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBCluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster_dbclusterrole.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster_dbclusterrole.go deleted file mode 100644 index b56dbe6f1a..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbcluster_dbclusterrole.go +++ /dev/null @@ -1,42 +0,0 @@ -package neptune - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBCluster_DBClusterRole AWS CloudFormation Resource (AWS::Neptune::DBCluster.DBClusterRole) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-neptune-dbcluster-dbclusterrole.html -type DBCluster_DBClusterRole struct { - - // FeatureName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-neptune-dbcluster-dbclusterrole.html#cfn-neptune-dbcluster-dbclusterrole-featurename - FeatureName *types.Value `json:"FeatureName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-neptune-dbcluster-dbclusterrole.html#cfn-neptune-dbcluster-dbclusterrole-rolearn - RoleArn *types.Value `json:"RoleArn,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 *DBCluster_DBClusterRole) AWSCloudFormationType() string { - return "AWS::Neptune::DBCluster.DBClusterRole" -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbclusterparametergroup.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbclusterparametergroup.go deleted file mode 100644 index 025d9cff5c..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbclusterparametergroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package neptune - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBClusterParameterGroup AWS CloudFormation Resource (AWS::Neptune::DBClusterParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html -type DBClusterParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html#cfn-neptune-dbclusterparametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // Family AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html#cfn-neptune-dbclusterparametergroup-family - Family *types.Value `json:"Family,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html#cfn-neptune-dbclusterparametergroup-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html#cfn-neptune-dbclusterparametergroup-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbclusterparametergroup.html#cfn-neptune-dbclusterparametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBClusterParameterGroup) AWSCloudFormationType() string { - return "AWS::Neptune::DBClusterParameterGroup" -} - -// 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 (r DBClusterParameterGroup) MarshalJSON() ([]byte, error) { - type Properties DBClusterParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBClusterParameterGroup) UnmarshalJSON(b []byte) error { - type Properties DBClusterParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBClusterParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbinstance.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbinstance.go deleted file mode 100644 index 7fb65088a8..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbinstance.go +++ /dev/null @@ -1,159 +0,0 @@ -package neptune - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBInstance AWS CloudFormation Resource (AWS::Neptune::DBInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html -type DBInstance struct { - - // AllowMajorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-allowmajorversionupgrade - AllowMajorVersionUpgrade *types.Value `json:"AllowMajorVersionUpgrade,omitempty"` - - // AutoMinorVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // DBClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbclusteridentifier - DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` - - // DBInstanceClass AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbinstanceclass - DBInstanceClass *types.Value `json:"DBInstanceClass,omitempty"` - - // DBInstanceIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbinstanceidentifier - DBInstanceIdentifier *types.Value `json:"DBInstanceIdentifier,omitempty"` - - // DBParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbparametergroupname - DBParameterGroupName *types.Value `json:"DBParameterGroupName,omitempty"` - - // DBSnapshotIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbsnapshotidentifier - DBSnapshotIdentifier *types.Value `json:"DBSnapshotIdentifier,omitempty"` - - // DBSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-dbsubnetgroupname - DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbinstance.html#cfn-neptune-dbinstance-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBInstance) AWSCloudFormationType() string { - return "AWS::Neptune::DBInstance" -} - -// 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 (r DBInstance) MarshalJSON() ([]byte, error) { - type Properties DBInstance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBInstance) UnmarshalJSON(b []byte) error { - type Properties DBInstance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBInstance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbparametergroup.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbparametergroup.go deleted file mode 100644 index c70c96638f..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbparametergroup.go +++ /dev/null @@ -1,129 +0,0 @@ -package neptune - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBParameterGroup AWS CloudFormation Resource (AWS::Neptune::DBParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html -type DBParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html#cfn-neptune-dbparametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // Family AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html#cfn-neptune-dbparametergroup-family - Family *types.Value `json:"Family,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html#cfn-neptune-dbparametergroup-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html#cfn-neptune-dbparametergroup-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbparametergroup.html#cfn-neptune-dbparametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBParameterGroup) AWSCloudFormationType() string { - return "AWS::Neptune::DBParameterGroup" -} - -// 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 (r DBParameterGroup) MarshalJSON() ([]byte, error) { - type Properties DBParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBParameterGroup) UnmarshalJSON(b []byte) error { - type Properties DBParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/neptune/aws-neptune-dbsubnetgroup.go b/pkg/goformation/cloudformation/neptune/aws-neptune-dbsubnetgroup.go deleted file mode 100644 index 09845e7e79..0000000000 --- a/pkg/goformation/cloudformation/neptune/aws-neptune-dbsubnetgroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package neptune - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DBSubnetGroup AWS CloudFormation Resource (AWS::Neptune::DBSubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html -type DBSubnetGroup struct { - - // DBSubnetGroupDescription AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-dbsubnetgroupdescription - DBSubnetGroupDescription *types.Value `json:"DBSubnetGroupDescription,omitempty"` - - // DBSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-dbsubnetgroupname - DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *DBSubnetGroup) AWSCloudFormationType() string { - return "AWS::Neptune::DBSubnetGroup" -} - -// 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 (r DBSubnetGroup) MarshalJSON() ([]byte, error) { - type Properties DBSubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBSubnetGroup) UnmarshalJSON(b []byte) error { - type Properties DBSubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DBSubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall.go deleted file mode 100644 index 164529ade5..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall.go +++ /dev/null @@ -1,149 +0,0 @@ -package networkfirewall - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Firewall AWS CloudFormation Resource (AWS::NetworkFirewall::Firewall) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html -type Firewall struct { - - // DeleteProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-deleteprotection - DeleteProtection *types.Value `json:"DeleteProtection,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-description - Description *types.Value `json:"Description,omitempty"` - - // FirewallName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallname - FirewallName *types.Value `json:"FirewallName,omitempty"` - - // FirewallPolicyArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallpolicyarn - FirewallPolicyArn *types.Value `json:"FirewallPolicyArn,omitempty"` - - // FirewallPolicyChangeProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-firewallpolicychangeprotection - FirewallPolicyChangeProtection *types.Value `json:"FirewallPolicyChangeProtection,omitempty"` - - // SubnetChangeProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-subnetchangeprotection - SubnetChangeProtection *types.Value `json:"SubnetChangeProtection,omitempty"` - - // SubnetMappings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-subnetmappings - SubnetMappings []Firewall_SubnetMapping `json:"SubnetMappings,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html#cfn-networkfirewall-firewall-vpcid - VpcId *types.Value `json:"VpcId,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 *Firewall) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::Firewall" -} - -// 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 (r Firewall) MarshalJSON() ([]byte, error) { - type Properties Firewall - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Firewall) UnmarshalJSON(b []byte) error { - type Properties Firewall - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Firewall(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall_subnetmapping.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall_subnetmapping.go deleted file mode 100644 index 8afb61935d..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewall_subnetmapping.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Firewall_SubnetMapping AWS CloudFormation Resource (AWS::NetworkFirewall::Firewall.SubnetMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewall-subnetmapping.html -type Firewall_SubnetMapping struct { - - // SubnetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewall-subnetmapping.html#cfn-networkfirewall-firewall-subnetmapping-subnetid - SubnetId *types.Value `json:"SubnetId,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 *Firewall_SubnetMapping) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::Firewall.SubnetMapping" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy.go deleted file mode 100644 index 27fe021f3a..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy.go +++ /dev/null @@ -1,124 +0,0 @@ -package networkfirewall - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html -type FirewallPolicy struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-description - Description *types.Value `json:"Description,omitempty"` - - // FirewallPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy - FirewallPolicy *FirewallPolicy_FirewallPolicy `json:"FirewallPolicy,omitempty"` - - // FirewallPolicyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicyname - FirewallPolicyName *types.Value `json:"FirewallPolicyName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-tags - Tags []cloudformation.Tag `json:"Tags,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 *FirewallPolicy) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy" -} - -// 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 (r FirewallPolicy) MarshalJSON() ([]byte, error) { - type Properties FirewallPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FirewallPolicy) UnmarshalJSON(b []byte) error { - type Properties FirewallPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FirewallPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_actiondefinition.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_actiondefinition.go deleted file mode 100644 index df0706750b..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_actiondefinition.go +++ /dev/null @@ -1,35 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_ActionDefinition AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.ActionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-actiondefinition.html -type FirewallPolicy_ActionDefinition struct { - - // PublishMetricAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-actiondefinition.html#cfn-networkfirewall-firewallpolicy-actiondefinition-publishmetricaction - PublishMetricAction *FirewallPolicy_PublishMetricAction `json:"PublishMetricAction,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 *FirewallPolicy_ActionDefinition) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.ActionDefinition" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_customaction.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_customaction.go deleted file mode 100644 index 14a33b85d7..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_customaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_CustomAction AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.CustomAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-customaction.html -type FirewallPolicy_CustomAction struct { - - // ActionDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-customaction.html#cfn-networkfirewall-firewallpolicy-customaction-actiondefinition - ActionDefinition *FirewallPolicy_ActionDefinition `json:"ActionDefinition,omitempty"` - - // ActionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-customaction.html#cfn-networkfirewall-firewallpolicy-customaction-actionname - ActionName *types.Value `json:"ActionName,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 *FirewallPolicy_CustomAction) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.CustomAction" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_dimension.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_dimension.go deleted file mode 100644 index 996f58d4c3..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_dimension.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_Dimension AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.Dimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-dimension.html -type FirewallPolicy_Dimension struct { - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-dimension.html#cfn-networkfirewall-firewallpolicy-dimension-value - Value *types.Value `json:"Value,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 *FirewallPolicy_Dimension) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.Dimension" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_firewallpolicy.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_firewallpolicy.go deleted file mode 100644 index 0cd6419382..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_firewallpolicy.go +++ /dev/null @@ -1,67 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_FirewallPolicy AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html -type FirewallPolicy_FirewallPolicy struct { - - // StatefulDefaultActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statefuldefaultactions - StatefulDefaultActions *types.Value `json:"StatefulDefaultActions,omitempty"` - - // StatefulEngineOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statefulengineoptions - StatefulEngineOptions *FirewallPolicy_StatefulEngineOptions `json:"StatefulEngineOptions,omitempty"` - - // StatefulRuleGroupReferences AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statefulrulegroupreferences - StatefulRuleGroupReferences []FirewallPolicy_StatefulRuleGroupReference `json:"StatefulRuleGroupReferences,omitempty"` - - // StatelessCustomActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statelesscustomactions - StatelessCustomActions []FirewallPolicy_CustomAction `json:"StatelessCustomActions,omitempty"` - - // StatelessDefaultActions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessdefaultactions - StatelessDefaultActions *types.Value `json:"StatelessDefaultActions,omitempty"` - - // StatelessFragmentDefaultActions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessfragmentdefaultactions - StatelessFragmentDefaultActions *types.Value `json:"StatelessFragmentDefaultActions,omitempty"` - - // StatelessRuleGroupReferences AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-firewallpolicy.html#cfn-networkfirewall-firewallpolicy-firewallpolicy-statelessrulegroupreferences - StatelessRuleGroupReferences []FirewallPolicy_StatelessRuleGroupReference `json:"StatelessRuleGroupReferences,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 *FirewallPolicy_FirewallPolicy) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_publishmetricaction.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_publishmetricaction.go deleted file mode 100644 index 001541042a..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_publishmetricaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_PublishMetricAction AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-publishmetricaction.html -type FirewallPolicy_PublishMetricAction struct { - - // Dimensions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-publishmetricaction.html#cfn-networkfirewall-firewallpolicy-publishmetricaction-dimensions - Dimensions []FirewallPolicy_Dimension `json:"Dimensions,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 *FirewallPolicy_PublishMetricAction) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulengineoptions.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulengineoptions.go deleted file mode 100644 index 73b22a9bc7..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulengineoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_StatefulEngineOptions AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulengineoptions.html -type FirewallPolicy_StatefulEngineOptions struct { - - // RuleOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulengineoptions.html#cfn-networkfirewall-firewallpolicy-statefulengineoptions-ruleorder - RuleOrder *types.Value `json:"RuleOrder,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 *FirewallPolicy_StatefulEngineOptions) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulrulegroupreference.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulrulegroupreference.go deleted file mode 100644 index 990b7803c8..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statefulrulegroupreference.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_StatefulRuleGroupReference AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulrulegroupreference.html -type FirewallPolicy_StatefulRuleGroupReference struct { - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulrulegroupreference.html#cfn-networkfirewall-firewallpolicy-statefulrulegroupreference-priority - Priority *types.Value `json:"Priority,omitempty"` - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statefulrulegroupreference.html#cfn-networkfirewall-firewallpolicy-statefulrulegroupreference-resourcearn - ResourceArn *types.Value `json:"ResourceArn,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 *FirewallPolicy_StatefulRuleGroupReference) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statelessrulegroupreference.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statelessrulegroupreference.go deleted file mode 100644 index e38e5639c6..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-firewallpolicy_statelessrulegroupreference.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallPolicy_StatelessRuleGroupReference AWS CloudFormation Resource (AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statelessrulegroupreference.html -type FirewallPolicy_StatelessRuleGroupReference struct { - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statelessrulegroupreference.html#cfn-networkfirewall-firewallpolicy-statelessrulegroupreference-priority - Priority *types.Value `json:"Priority"` - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-firewallpolicy-statelessrulegroupreference.html#cfn-networkfirewall-firewallpolicy-statelessrulegroupreference-resourcearn - ResourceArn *types.Value `json:"ResourceArn,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 *FirewallPolicy_StatelessRuleGroupReference) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration.go deleted file mode 100644 index 089ed2be90..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration.go +++ /dev/null @@ -1,118 +0,0 @@ -package networkfirewall - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggingConfiguration AWS CloudFormation Resource (AWS::NetworkFirewall::LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html -type LoggingConfiguration struct { - - // FirewallArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallarn - FirewallArn *types.Value `json:"FirewallArn,omitempty"` - - // FirewallName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-firewallname - FirewallName *types.Value `json:"FirewallName,omitempty"` - - // LoggingConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-loggingconfiguration - LoggingConfiguration *LoggingConfiguration_LoggingConfiguration `json:"LoggingConfiguration,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 *LoggingConfiguration) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::LoggingConfiguration" -} - -// 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 (r LoggingConfiguration) MarshalJSON() ([]byte, error) { - type Properties LoggingConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LoggingConfiguration) UnmarshalJSON(b []byte) error { - type Properties LoggingConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LoggingConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_logdestinationconfig.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_logdestinationconfig.go deleted file mode 100644 index 97ca3617a1..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_logdestinationconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggingConfiguration_LogDestinationConfig AWS CloudFormation Resource (AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html -type LoggingConfiguration_LogDestinationConfig struct { - - // LogDestination AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logdestination - LogDestination map[string]*types.Value `json:"LogDestination,omitempty"` - - // LogDestinationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logdestinationtype - LogDestinationType *types.Value `json:"LogDestinationType,omitempty"` - - // LogType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-logdestinationconfig.html#cfn-networkfirewall-loggingconfiguration-logdestinationconfig-logtype - LogType *types.Value `json:"LogType,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 *LoggingConfiguration_LogDestinationConfig) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_loggingconfiguration.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_loggingconfiguration.go deleted file mode 100644 index 48203952f7..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-loggingconfiguration_loggingconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggingConfiguration_LoggingConfiguration AWS CloudFormation Resource (AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-loggingconfiguration.html -type LoggingConfiguration_LoggingConfiguration struct { - - // LogDestinationConfigs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-loggingconfiguration-loggingconfiguration.html#cfn-networkfirewall-loggingconfiguration-loggingconfiguration-logdestinationconfigs - LogDestinationConfigs []LoggingConfiguration_LogDestinationConfig `json:"LogDestinationConfigs,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 *LoggingConfiguration_LoggingConfiguration) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup.go deleted file mode 100644 index 6a6fc5b276..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup.go +++ /dev/null @@ -1,134 +0,0 @@ -package networkfirewall - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html -type RuleGroup struct { - - // Capacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-capacity - Capacity *types.Value `json:"Capacity"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-description - Description *types.Value `json:"Description,omitempty"` - - // RuleGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-rulegroup - RuleGroup *RuleGroup_RuleGroup `json:"RuleGroup,omitempty"` - - // RuleGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-rulegroupname - RuleGroupName *types.Value `json:"RuleGroupName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#cfn-networkfirewall-rulegroup-type - Type *types.Value `json:"Type,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 *RuleGroup) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup" -} - -// 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 (r RuleGroup) MarshalJSON() ([]byte, error) { - type Properties RuleGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RuleGroup) UnmarshalJSON(b []byte) error { - type Properties RuleGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RuleGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_actiondefinition.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_actiondefinition.go deleted file mode 100644 index c96ea12051..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_actiondefinition.go +++ /dev/null @@ -1,35 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_ActionDefinition AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.ActionDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-actiondefinition.html -type RuleGroup_ActionDefinition struct { - - // PublishMetricAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-actiondefinition.html#cfn-networkfirewall-rulegroup-actiondefinition-publishmetricaction - PublishMetricAction *RuleGroup_PublishMetricAction `json:"PublishMetricAction,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 *RuleGroup_ActionDefinition) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.ActionDefinition" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_address.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_address.go deleted file mode 100644 index 583afc9651..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_address.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Address AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.Address) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-address.html -type RuleGroup_Address struct { - - // AddressDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-address.html#cfn-networkfirewall-rulegroup-address-addressdefinition - AddressDefinition *types.Value `json:"AddressDefinition,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 *RuleGroup_Address) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.Address" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_customaction.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_customaction.go deleted file mode 100644 index 12e65f3043..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_customaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_CustomAction AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.CustomAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.html -type RuleGroup_CustomAction struct { - - // ActionDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.html#cfn-networkfirewall-rulegroup-customaction-actiondefinition - ActionDefinition *RuleGroup_ActionDefinition `json:"ActionDefinition,omitempty"` - - // ActionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.html#cfn-networkfirewall-rulegroup-customaction-actionname - ActionName *types.Value `json:"ActionName,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 *RuleGroup_CustomAction) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.CustomAction" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_dimension.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_dimension.go deleted file mode 100644 index 028e1e4a8b..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_dimension.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Dimension AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.Dimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-dimension.html -type RuleGroup_Dimension struct { - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-dimension.html#cfn-networkfirewall-rulegroup-dimension-value - Value *types.Value `json:"Value,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 *RuleGroup_Dimension) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.Dimension" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_header.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_header.go deleted file mode 100644 index dc90ae4782..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_header.go +++ /dev/null @@ -1,62 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Header AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.Header) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html -type RuleGroup_Header struct { - - // Destination AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-destination - Destination *types.Value `json:"Destination,omitempty"` - - // DestinationPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-destinationport - DestinationPort *types.Value `json:"DestinationPort,omitempty"` - - // Direction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-direction - Direction *types.Value `json:"Direction,omitempty"` - - // Protocol AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-protocol - Protocol *types.Value `json:"Protocol,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-source - Source *types.Value `json:"Source,omitempty"` - - // SourcePort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-header.html#cfn-networkfirewall-rulegroup-header-sourceport - SourcePort *types.Value `json:"SourcePort,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 *RuleGroup_Header) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.Header" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ipset.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ipset.go deleted file mode 100644 index 4a9f4797dc..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ipset.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_IPSet AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.IPSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ipset.html -type RuleGroup_IPSet struct { - - // Definition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ipset.html#cfn-networkfirewall-rulegroup-ipset-definition - Definition *types.Value `json:"Definition,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 *RuleGroup_IPSet) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.IPSet" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_matchattributes.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_matchattributes.go deleted file mode 100644 index 35f1b57cd2..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_matchattributes.go +++ /dev/null @@ -1,62 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_MatchAttributes AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.MatchAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html -type RuleGroup_MatchAttributes struct { - - // DestinationPorts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-destinationports - DestinationPorts []RuleGroup_PortRange `json:"DestinationPorts,omitempty"` - - // Destinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-destinations - Destinations []RuleGroup_Address `json:"Destinations,omitempty"` - - // Protocols AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-protocols - Protocols *types.Value `json:"Protocols,omitempty"` - - // SourcePorts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-sourceports - SourcePorts []RuleGroup_PortRange `json:"SourcePorts,omitempty"` - - // Sources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-sources - Sources []RuleGroup_Address `json:"Sources,omitempty"` - - // TCPFlags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-matchattributes.html#cfn-networkfirewall-rulegroup-matchattributes-tcpflags - TCPFlags []RuleGroup_TCPFlagField `json:"TCPFlags,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 *RuleGroup_MatchAttributes) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.MatchAttributes" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portset.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portset.go deleted file mode 100644 index f0611ab4a9..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_portset.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_PortSet AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.PortSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-portset.html -type RuleGroup_PortSet struct { - - // Definition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-portset.html#cfn-networkfirewall-rulegroup-portset-definition - Definition *types.Value `json:"Definition,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 *RuleGroup_PortSet) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.PortSet" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_publishmetricaction.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_publishmetricaction.go deleted file mode 100644 index 8b178a5749..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_publishmetricaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_PublishMetricAction AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.PublishMetricAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-publishmetricaction.html -type RuleGroup_PublishMetricAction struct { - - // Dimensions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-publishmetricaction.html#cfn-networkfirewall-rulegroup-publishmetricaction-dimensions - Dimensions []RuleGroup_Dimension `json:"Dimensions,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 *RuleGroup_PublishMetricAction) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.PublishMetricAction" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruledefinition.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruledefinition.go deleted file mode 100644 index 16378546ab..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruledefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RuleDefinition AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RuleDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruledefinition.html -type RuleGroup_RuleDefinition struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruledefinition.html#cfn-networkfirewall-rulegroup-ruledefinition-actions - Actions *types.Value `json:"Actions,omitempty"` - - // MatchAttributes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruledefinition.html#cfn-networkfirewall-rulegroup-ruledefinition-matchattributes - MatchAttributes *RuleGroup_MatchAttributes `json:"MatchAttributes,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 *RuleGroup_RuleDefinition) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RuleDefinition" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulegroup.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulegroup.go deleted file mode 100644 index 85be34ad99..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulegroup.go +++ /dev/null @@ -1,45 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RuleGroup AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RuleGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulegroup.html -type RuleGroup_RuleGroup struct { - - // RuleVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulegroup.html#cfn-networkfirewall-rulegroup-rulegroup-rulevariables - RuleVariables *RuleGroup_RuleVariables `json:"RuleVariables,omitempty"` - - // RulesSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulegroup.html#cfn-networkfirewall-rulegroup-rulegroup-rulessource - RulesSource *RuleGroup_RulesSource `json:"RulesSource,omitempty"` - - // StatefulRuleOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulegroup.html#cfn-networkfirewall-rulegroup-rulegroup-statefulruleoptions - StatefulRuleOptions *RuleGroup_StatefulRuleOptions `json:"StatefulRuleOptions,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 *RuleGroup_RuleGroup) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RuleGroup" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruleoption.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruleoption.go deleted file mode 100644 index 0173a5534d..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_ruleoption.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RuleOption AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RuleOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruleoption.html -type RuleGroup_RuleOption struct { - - // Keyword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruleoption.html#cfn-networkfirewall-rulegroup-ruleoption-keyword - Keyword *types.Value `json:"Keyword,omitempty"` - - // Settings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-ruleoption.html#cfn-networkfirewall-rulegroup-ruleoption-settings - Settings *types.Value `json:"Settings,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 *RuleGroup_RuleOption) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RuleOption" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessource.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessource.go deleted file mode 100644 index e8b8673608..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessource.go +++ /dev/null @@ -1,52 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RulesSource AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RulesSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html -type RuleGroup_RulesSource struct { - - // RulesSourceList AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html#cfn-networkfirewall-rulegroup-rulessource-rulessourcelist - RulesSourceList *RuleGroup_RulesSourceList `json:"RulesSourceList,omitempty"` - - // RulesString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html#cfn-networkfirewall-rulegroup-rulessource-rulesstring - RulesString *types.Value `json:"RulesString,omitempty"` - - // StatefulRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html#cfn-networkfirewall-rulegroup-rulessource-statefulrules - StatefulRules []RuleGroup_StatefulRule `json:"StatefulRules,omitempty"` - - // StatelessRulesAndCustomActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessource.html#cfn-networkfirewall-rulegroup-rulessource-statelessrulesandcustomactions - StatelessRulesAndCustomActions *RuleGroup_StatelessRulesAndCustomActions `json:"StatelessRulesAndCustomActions,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 *RuleGroup_RulesSource) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RulesSource" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessourcelist.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessourcelist.go deleted file mode 100644 index 4feb991bf5..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulessourcelist.go +++ /dev/null @@ -1,47 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RulesSourceList AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RulesSourceList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html -type RuleGroup_RulesSourceList struct { - - // GeneratedRulesType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html#cfn-networkfirewall-rulegroup-rulessourcelist-generatedrulestype - GeneratedRulesType *types.Value `json:"GeneratedRulesType,omitempty"` - - // TargetTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html#cfn-networkfirewall-rulegroup-rulessourcelist-targettypes - TargetTypes *types.Value `json:"TargetTypes,omitempty"` - - // Targets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html#cfn-networkfirewall-rulegroup-rulessourcelist-targets - Targets *types.Value `json:"Targets,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 *RuleGroup_RulesSourceList) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RulesSourceList" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulevariables.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulevariables.go deleted file mode 100644 index cdb2522e81..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_rulevariables.go +++ /dev/null @@ -1,40 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RuleVariables AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.RuleVariables) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulevariables.html -type RuleGroup_RuleVariables struct { - - // IPSets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulevariables.html#cfn-networkfirewall-rulegroup-rulevariables-ipsets - IPSets map[string]RuleGroup_IPSet `json:"IPSets,omitempty"` - - // PortSets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulevariables.html#cfn-networkfirewall-rulegroup-rulevariables-portsets - PortSets map[string]RuleGroup_PortSet `json:"PortSets,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 *RuleGroup_RuleVariables) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.RuleVariables" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulruleoptions.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulruleoptions.go deleted file mode 100644 index de8feb21d5..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statefulruleoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatefulRuleOptions AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulruleoptions.html -type RuleGroup_StatefulRuleOptions struct { - - // RuleOrder AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statefulruleoptions.html#cfn-networkfirewall-rulegroup-statefulruleoptions-ruleorder - RuleOrder *types.Value `json:"RuleOrder,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 *RuleGroup_StatefulRuleOptions) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrule.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrule.go deleted file mode 100644 index cae7e570bd..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatelessRule AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.StatelessRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrule.html -type RuleGroup_StatelessRule struct { - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrule.html#cfn-networkfirewall-rulegroup-statelessrule-priority - Priority *types.Value `json:"Priority"` - - // RuleDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrule.html#cfn-networkfirewall-rulegroup-statelessrule-ruledefinition - RuleDefinition *RuleGroup_RuleDefinition `json:"RuleDefinition,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 *RuleGroup_StatelessRule) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.StatelessRule" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrulesandcustomactions.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrulesandcustomactions.go deleted file mode 100644 index 0603708ba5..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_statelessrulesandcustomactions.go +++ /dev/null @@ -1,40 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatelessRulesAndCustomActions AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.html -type RuleGroup_StatelessRulesAndCustomActions struct { - - // CustomActions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.html#cfn-networkfirewall-rulegroup-statelessrulesandcustomactions-customactions - CustomActions []RuleGroup_CustomAction `json:"CustomActions,omitempty"` - - // StatelessRules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.html#cfn-networkfirewall-rulegroup-statelessrulesandcustomactions-statelessrules - StatelessRules []RuleGroup_StatelessRule `json:"StatelessRules,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 *RuleGroup_StatelessRulesAndCustomActions) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions" -} diff --git a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_tcpflagfield.go b/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_tcpflagfield.go deleted file mode 100644 index 30705eb171..0000000000 --- a/pkg/goformation/cloudformation/networkfirewall/aws-networkfirewall-rulegroup_tcpflagfield.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkfirewall - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_TCPFlagField AWS CloudFormation Resource (AWS::NetworkFirewall::RuleGroup.TCPFlagField) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-tcpflagfield.html -type RuleGroup_TCPFlagField struct { - - // Flags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-tcpflagfield.html#cfn-networkfirewall-rulegroup-tcpflagfield-flags - Flags *types.Value `json:"Flags,omitempty"` - - // Masks AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-tcpflagfield.html#cfn-networkfirewall-rulegroup-tcpflagfield-masks - Masks *types.Value `json:"Masks,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 *RuleGroup_TCPFlagField) AWSCloudFormationType() string { - return "AWS::NetworkFirewall::RuleGroup.TCPFlagField" -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-customergatewayassociation.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-customergatewayassociation.go deleted file mode 100644 index 11f67ac3f2..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-customergatewayassociation.go +++ /dev/null @@ -1,123 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CustomerGatewayAssociation AWS CloudFormation Resource (AWS::NetworkManager::CustomerGatewayAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html -type CustomerGatewayAssociation struct { - - // CustomerGatewayArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html#cfn-networkmanager-customergatewayassociation-customergatewayarn - CustomerGatewayArn *types.Value `json:"CustomerGatewayArn,omitempty"` - - // DeviceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html#cfn-networkmanager-customergatewayassociation-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html#cfn-networkmanager-customergatewayassociation-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // LinkId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html#cfn-networkmanager-customergatewayassociation-linkid - LinkId *types.Value `json:"LinkId,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 *CustomerGatewayAssociation) AWSCloudFormationType() string { - return "AWS::NetworkManager::CustomerGatewayAssociation" -} - -// 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 (r CustomerGatewayAssociation) MarshalJSON() ([]byte, error) { - type Properties CustomerGatewayAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CustomerGatewayAssociation) UnmarshalJSON(b []byte) error { - type Properties CustomerGatewayAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CustomerGatewayAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device.go deleted file mode 100644 index eb24aed226..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device.go +++ /dev/null @@ -1,149 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Device AWS CloudFormation Resource (AWS::NetworkManager::Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html -type Device struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-description - Description *types.Value `json:"Description,omitempty"` - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-location - Location *Device_Location `json:"Location,omitempty"` - - // Model AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-model - Model *types.Value `json:"Model,omitempty"` - - // SerialNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-serialnumber - SerialNumber *types.Value `json:"SerialNumber,omitempty"` - - // SiteId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-siteid - SiteId *types.Value `json:"SiteId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-type - Type *types.Value `json:"Type,omitempty"` - - // Vendor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html#cfn-networkmanager-device-vendor - Vendor *types.Value `json:"Vendor,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 *Device) AWSCloudFormationType() string { - return "AWS::NetworkManager::Device" -} - -// 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 (r Device) MarshalJSON() ([]byte, error) { - type Properties Device - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Device) UnmarshalJSON(b []byte) error { - type Properties Device - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Device(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device_location.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device_location.go deleted file mode 100644 index 8b0e17e178..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-device_location.go +++ /dev/null @@ -1,47 +0,0 @@ -package networkmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Device_Location AWS CloudFormation Resource (AWS::NetworkManager::Device.Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-device-location.html -type Device_Location struct { - - // Address AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-device-location.html#cfn-networkmanager-device-location-address - Address *types.Value `json:"Address,omitempty"` - - // Latitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-device-location.html#cfn-networkmanager-device-location-latitude - Latitude *types.Value `json:"Latitude,omitempty"` - - // Longitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-device-location.html#cfn-networkmanager-device-location-longitude - Longitude *types.Value `json:"Longitude,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 *Device_Location) AWSCloudFormationType() string { - return "AWS::NetworkManager::Device.Location" -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-globalnetwork.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-globalnetwork.go deleted file mode 100644 index e3ae0247a1..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-globalnetwork.go +++ /dev/null @@ -1,114 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GlobalNetwork AWS CloudFormation Resource (AWS::NetworkManager::GlobalNetwork) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html -type GlobalNetwork struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html#cfn-networkmanager-globalnetwork-description - Description *types.Value `json:"Description,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html#cfn-networkmanager-globalnetwork-tags - Tags []cloudformation.Tag `json:"Tags,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 *GlobalNetwork) AWSCloudFormationType() string { - return "AWS::NetworkManager::GlobalNetwork" -} - -// 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 (r GlobalNetwork) MarshalJSON() ([]byte, error) { - type Properties GlobalNetwork - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GlobalNetwork) UnmarshalJSON(b []byte) error { - type Properties GlobalNetwork - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GlobalNetwork(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link.go deleted file mode 100644 index f788c13a50..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link.go +++ /dev/null @@ -1,139 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Link AWS CloudFormation Resource (AWS::NetworkManager::Link) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html -type Link struct { - - // Bandwidth AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-bandwidth - Bandwidth *Link_Bandwidth `json:"Bandwidth,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-description - Description *types.Value `json:"Description,omitempty"` - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // Provider AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-provider - Provider *types.Value `json:"Provider,omitempty"` - - // SiteId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-siteid - SiteId *types.Value `json:"SiteId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html#cfn-networkmanager-link-type - Type *types.Value `json:"Type,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 *Link) AWSCloudFormationType() string { - return "AWS::NetworkManager::Link" -} - -// 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 (r Link) MarshalJSON() ([]byte, error) { - type Properties Link - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Link) UnmarshalJSON(b []byte) error { - type Properties Link - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Link(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link_bandwidth.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link_bandwidth.go deleted file mode 100644 index 24349cafee..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-link_bandwidth.go +++ /dev/null @@ -1,42 +0,0 @@ -package networkmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Link_Bandwidth AWS CloudFormation Resource (AWS::NetworkManager::Link.Bandwidth) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.html -type Link_Bandwidth struct { - - // DownloadSpeed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.html#cfn-networkmanager-link-bandwidth-downloadspeed - DownloadSpeed *types.Value `json:"DownloadSpeed,omitempty"` - - // UploadSpeed AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.html#cfn-networkmanager-link-bandwidth-uploadspeed - UploadSpeed *types.Value `json:"UploadSpeed,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 *Link_Bandwidth) AWSCloudFormationType() string { - return "AWS::NetworkManager::Link.Bandwidth" -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-linkassociation.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-linkassociation.go deleted file mode 100644 index bc76a2072f..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-linkassociation.go +++ /dev/null @@ -1,118 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LinkAssociation AWS CloudFormation Resource (AWS::NetworkManager::LinkAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-linkassociation.html -type LinkAssociation struct { - - // DeviceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-linkassociation.html#cfn-networkmanager-linkassociation-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-linkassociation.html#cfn-networkmanager-linkassociation-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // LinkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-linkassociation.html#cfn-networkmanager-linkassociation-linkid - LinkId *types.Value `json:"LinkId,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 *LinkAssociation) AWSCloudFormationType() string { - return "AWS::NetworkManager::LinkAssociation" -} - -// 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 (r LinkAssociation) MarshalJSON() ([]byte, error) { - type Properties LinkAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LinkAssociation) UnmarshalJSON(b []byte) error { - type Properties LinkAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LinkAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site.go deleted file mode 100644 index e28e1903e1..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site.go +++ /dev/null @@ -1,124 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Site AWS CloudFormation Resource (AWS::NetworkManager::Site) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-site.html -type Site struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-site.html#cfn-networkmanager-site-description - Description *types.Value `json:"Description,omitempty"` - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-site.html#cfn-networkmanager-site-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-site.html#cfn-networkmanager-site-location - Location *Site_Location `json:"Location,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-site.html#cfn-networkmanager-site-tags - Tags []cloudformation.Tag `json:"Tags,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 *Site) AWSCloudFormationType() string { - return "AWS::NetworkManager::Site" -} - -// 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 (r Site) MarshalJSON() ([]byte, error) { - type Properties Site - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Site) UnmarshalJSON(b []byte) error { - type Properties Site - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Site(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-transitgatewayregistration.go b/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-transitgatewayregistration.go deleted file mode 100644 index 69ff59b6d6..0000000000 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-transitgatewayregistration.go +++ /dev/null @@ -1,113 +0,0 @@ -package networkmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TransitGatewayRegistration AWS CloudFormation Resource (AWS::NetworkManager::TransitGatewayRegistration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-transitgatewayregistration.html -type TransitGatewayRegistration struct { - - // GlobalNetworkId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-transitgatewayregistration.html#cfn-networkmanager-transitgatewayregistration-globalnetworkid - GlobalNetworkId *types.Value `json:"GlobalNetworkId,omitempty"` - - // TransitGatewayArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-transitgatewayregistration.html#cfn-networkmanager-transitgatewayregistration-transitgatewayarn - TransitGatewayArn *types.Value `json:"TransitGatewayArn,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 *TransitGatewayRegistration) AWSCloudFormationType() string { - return "AWS::NetworkManager::TransitGatewayRegistration" -} - -// 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 (r TransitGatewayRegistration) MarshalJSON() ([]byte, error) { - type Properties TransitGatewayRegistration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TransitGatewayRegistration) UnmarshalJSON(b []byte) error { - type Properties TransitGatewayRegistration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TransitGatewayRegistration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile.go deleted file mode 100644 index 22c7dbfdef..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile.go +++ /dev/null @@ -1,143 +0,0 @@ -package nimblestudio - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchProfile AWS CloudFormation Resource (AWS::NimbleStudio::LaunchProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html -type LaunchProfile struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-description - Description *types.Value `json:"Description,omitempty"` - - // Ec2SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-ec2subnetids - Ec2SubnetIds *types.Value `json:"Ec2SubnetIds,omitempty"` - - // LaunchProfileProtocolVersions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-launchprofileprotocolversions - LaunchProfileProtocolVersions *types.Value `json:"LaunchProfileProtocolVersions,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-name - Name *types.Value `json:"Name,omitempty"` - - // StreamConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-streamconfiguration - StreamConfiguration *LaunchProfile_StreamConfiguration `json:"StreamConfiguration,omitempty"` - - // StudioComponentIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-studiocomponentids - StudioComponentIds *types.Value `json:"StudioComponentIds,omitempty"` - - // StudioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-studioid - StudioId *types.Value `json:"StudioId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-launchprofile.html#cfn-nimblestudio-launchprofile-tags - Tags map[string]*types.Value `json:"Tags,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 *LaunchProfile) AWSCloudFormationType() string { - return "AWS::NimbleStudio::LaunchProfile" -} - -// 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 (r LaunchProfile) MarshalJSON() ([]byte, error) { - type Properties LaunchProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LaunchProfile) UnmarshalJSON(b []byte) error { - type Properties LaunchProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LaunchProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile_streamconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile_streamconfiguration.go deleted file mode 100644 index b7d5e0904b..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-launchprofile_streamconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchProfile_StreamConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::LaunchProfile.StreamConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html -type LaunchProfile_StreamConfiguration struct { - - // ClipboardMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-clipboardmode - ClipboardMode *types.Value `json:"ClipboardMode,omitempty"` - - // Ec2InstanceTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-ec2instancetypes - Ec2InstanceTypes *types.Value `json:"Ec2InstanceTypes,omitempty"` - - // MaxSessionLengthInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-maxsessionlengthinminutes - MaxSessionLengthInMinutes *types.Value `json:"MaxSessionLengthInMinutes,omitempty"` - - // StreamingImageIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-launchprofile-streamconfiguration.html#cfn-nimblestudio-launchprofile-streamconfiguration-streamingimageids - StreamingImageIds *types.Value `json:"StreamingImageIds,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 *LaunchProfile_StreamConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::LaunchProfile.StreamConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-streamingimage.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-streamingimage.go deleted file mode 100644 index 0159b8e3ae..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-streamingimage.go +++ /dev/null @@ -1,128 +0,0 @@ -package nimblestudio - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StreamingImage AWS CloudFormation Resource (AWS::NimbleStudio::StreamingImage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html -type StreamingImage struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html#cfn-nimblestudio-streamingimage-description - Description *types.Value `json:"Description,omitempty"` - - // Ec2ImageId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html#cfn-nimblestudio-streamingimage-ec2imageid - Ec2ImageId *types.Value `json:"Ec2ImageId,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html#cfn-nimblestudio-streamingimage-name - Name *types.Value `json:"Name,omitempty"` - - // StudioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html#cfn-nimblestudio-streamingimage-studioid - StudioId *types.Value `json:"StudioId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-streamingimage.html#cfn-nimblestudio-streamingimage-tags - Tags map[string]*types.Value `json:"Tags,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 *StreamingImage) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StreamingImage" -} - -// 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 (r StreamingImage) MarshalJSON() ([]byte, error) { - type Properties StreamingImage - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StreamingImage) UnmarshalJSON(b []byte) error { - type Properties StreamingImage - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StreamingImage(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio.go deleted file mode 100644 index 870ab97436..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio.go +++ /dev/null @@ -1,133 +0,0 @@ -package nimblestudio - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Studio AWS CloudFormation Resource (AWS::NimbleStudio::Studio) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html -type Studio struct { - - // AdminRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-adminrolearn - AdminRoleArn *types.Value `json:"AdminRoleArn,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // StudioEncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-studioencryptionconfiguration - StudioEncryptionConfiguration *Studio_StudioEncryptionConfiguration `json:"StudioEncryptionConfiguration,omitempty"` - - // StudioName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-studioname - StudioName *types.Value `json:"StudioName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // UserRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studio.html#cfn-nimblestudio-studio-userrolearn - UserRoleArn *types.Value `json:"UserRoleArn,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 *Studio) AWSCloudFormationType() string { - return "AWS::NimbleStudio::Studio" -} - -// 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 (r Studio) MarshalJSON() ([]byte, error) { - type Properties Studio - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Studio) UnmarshalJSON(b []byte) error { - type Properties Studio - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Studio(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio_studioencryptionconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio_studioencryptionconfiguration.go deleted file mode 100644 index 445b8ce236..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studio_studioencryptionconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Studio_StudioEncryptionConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::Studio.StudioEncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studio-studioencryptionconfiguration.html -type Studio_StudioEncryptionConfiguration struct { - - // KeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studio-studioencryptionconfiguration.html#cfn-nimblestudio-studio-studioencryptionconfiguration-keyarn - KeyArn *types.Value `json:"KeyArn,omitempty"` - - // KeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studio-studioencryptionconfiguration.html#cfn-nimblestudio-studio-studioencryptionconfiguration-keytype - KeyType *types.Value `json:"KeyType,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 *Studio_StudioEncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::Studio.StudioEncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent.go deleted file mode 100644 index a82996fc04..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent.go +++ /dev/null @@ -1,153 +0,0 @@ -package nimblestudio - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html -type StudioComponent struct { - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-configuration - Configuration *StudioComponent_StudioComponentConfiguration `json:"Configuration,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-description - Description *types.Value `json:"Description,omitempty"` - - // Ec2SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-ec2securitygroupids - Ec2SecurityGroupIds *types.Value `json:"Ec2SecurityGroupIds,omitempty"` - - // InitializationScripts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-initializationscripts - InitializationScripts []StudioComponent_StudioComponentInitializationScript `json:"InitializationScripts,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-name - Name *types.Value `json:"Name,omitempty"` - - // ScriptParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-scriptparameters - ScriptParameters []StudioComponent_ScriptParameterKeyValue `json:"ScriptParameters,omitempty"` - - // StudioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-studioid - StudioId *types.Value `json:"StudioId,omitempty"` - - // Subtype AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-subtype - Subtype *types.Value `json:"Subtype,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-nimblestudio-studiocomponent.html#cfn-nimblestudio-studiocomponent-type - Type *types.Value `json:"Type,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 *StudioComponent) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent" -} - -// 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 (r StudioComponent) MarshalJSON() ([]byte, error) { - type Properties StudioComponent - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StudioComponent) UnmarshalJSON(b []byte) error { - type Properties StudioComponent - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StudioComponent(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectorycomputerattribute.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectorycomputerattribute.go deleted file mode 100644 index 4949d26fef..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectorycomputerattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_ActiveDirectoryComputerAttribute AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectorycomputerattribute.html -type StudioComponent_ActiveDirectoryComputerAttribute struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectorycomputerattribute.html#cfn-nimblestudio-studiocomponent-activedirectorycomputerattribute-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectorycomputerattribute.html#cfn-nimblestudio-studiocomponent-activedirectorycomputerattribute-value - Value *types.Value `json:"Value,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 *StudioComponent_ActiveDirectoryComputerAttribute) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectoryconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectoryconfiguration.go deleted file mode 100644 index 3557c55dfc..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_activedirectoryconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_ActiveDirectoryConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectoryconfiguration.html -type StudioComponent_ActiveDirectoryConfiguration struct { - - // ComputerAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectoryconfiguration.html#cfn-nimblestudio-studiocomponent-activedirectoryconfiguration-computerattributes - ComputerAttributes []StudioComponent_ActiveDirectoryComputerAttribute `json:"ComputerAttributes,omitempty"` - - // DirectoryId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectoryconfiguration.html#cfn-nimblestudio-studiocomponent-activedirectoryconfiguration-directoryid - DirectoryId *types.Value `json:"DirectoryId,omitempty"` - - // OrganizationalUnitDistinguishedName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-activedirectoryconfiguration.html#cfn-nimblestudio-studiocomponent-activedirectoryconfiguration-organizationalunitdistinguishedname - OrganizationalUnitDistinguishedName *types.Value `json:"OrganizationalUnitDistinguishedName,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 *StudioComponent_ActiveDirectoryConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_computefarmconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_computefarmconfiguration.go deleted file mode 100644 index dbe34154d5..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_computefarmconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_ComputeFarmConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-computefarmconfiguration.html -type StudioComponent_ComputeFarmConfiguration struct { - - // ActiveDirectoryUser AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-computefarmconfiguration.html#cfn-nimblestudio-studiocomponent-computefarmconfiguration-activedirectoryuser - ActiveDirectoryUser *types.Value `json:"ActiveDirectoryUser,omitempty"` - - // Endpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-computefarmconfiguration.html#cfn-nimblestudio-studiocomponent-computefarmconfiguration-endpoint - Endpoint *types.Value `json:"Endpoint,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 *StudioComponent_ComputeFarmConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_licenseserviceconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_licenseserviceconfiguration.go deleted file mode 100644 index fff6352a5d..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_licenseserviceconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_LicenseServiceConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-licenseserviceconfiguration.html -type StudioComponent_LicenseServiceConfiguration struct { - - // Endpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-licenseserviceconfiguration.html#cfn-nimblestudio-studiocomponent-licenseserviceconfiguration-endpoint - Endpoint *types.Value `json:"Endpoint,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 *StudioComponent_LicenseServiceConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_scriptparameterkeyvalue.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_scriptparameterkeyvalue.go deleted file mode 100644 index 979d1740c0..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_scriptparameterkeyvalue.go +++ /dev/null @@ -1,42 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_ScriptParameterKeyValue AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-scriptparameterkeyvalue.html -type StudioComponent_ScriptParameterKeyValue struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-scriptparameterkeyvalue.html#cfn-nimblestudio-studiocomponent-scriptparameterkeyvalue-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-scriptparameterkeyvalue.html#cfn-nimblestudio-studiocomponent-scriptparameterkeyvalue-value - Value *types.Value `json:"Value,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 *StudioComponent_ScriptParameterKeyValue) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_sharedfilesystemconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_sharedfilesystemconfiguration.go deleted file mode 100644 index 3d814c6d36..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_sharedfilesystemconfiguration.go +++ /dev/null @@ -1,57 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_SharedFileSystemConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html -type StudioComponent_SharedFileSystemConfiguration struct { - - // Endpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html#cfn-nimblestudio-studiocomponent-sharedfilesystemconfiguration-endpoint - Endpoint *types.Value `json:"Endpoint,omitempty"` - - // FileSystemId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html#cfn-nimblestudio-studiocomponent-sharedfilesystemconfiguration-filesystemid - FileSystemId *types.Value `json:"FileSystemId,omitempty"` - - // LinuxMountPoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html#cfn-nimblestudio-studiocomponent-sharedfilesystemconfiguration-linuxmountpoint - LinuxMountPoint *types.Value `json:"LinuxMountPoint,omitempty"` - - // ShareName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html#cfn-nimblestudio-studiocomponent-sharedfilesystemconfiguration-sharename - ShareName *types.Value `json:"ShareName,omitempty"` - - // WindowsMountDrive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-sharedfilesystemconfiguration.html#cfn-nimblestudio-studiocomponent-sharedfilesystemconfiguration-windowsmountdrive - WindowsMountDrive *types.Value `json:"WindowsMountDrive,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 *StudioComponent_SharedFileSystemConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentconfiguration.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentconfiguration.go deleted file mode 100644 index c794543db2..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentconfiguration.go +++ /dev/null @@ -1,50 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_StudioComponentConfiguration AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentconfiguration.html -type StudioComponent_StudioComponentConfiguration struct { - - // ActiveDirectoryConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentconfiguration.html#cfn-nimblestudio-studiocomponent-studiocomponentconfiguration-activedirectoryconfiguration - ActiveDirectoryConfiguration *StudioComponent_ActiveDirectoryConfiguration `json:"ActiveDirectoryConfiguration,omitempty"` - - // ComputeFarmConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentconfiguration.html#cfn-nimblestudio-studiocomponent-studiocomponentconfiguration-computefarmconfiguration - ComputeFarmConfiguration *StudioComponent_ComputeFarmConfiguration `json:"ComputeFarmConfiguration,omitempty"` - - // LicenseServiceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentconfiguration.html#cfn-nimblestudio-studiocomponent-studiocomponentconfiguration-licenseserviceconfiguration - LicenseServiceConfiguration *StudioComponent_LicenseServiceConfiguration `json:"LicenseServiceConfiguration,omitempty"` - - // SharedFileSystemConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentconfiguration.html#cfn-nimblestudio-studiocomponent-studiocomponentconfiguration-sharedfilesystemconfiguration - SharedFileSystemConfiguration *StudioComponent_SharedFileSystemConfiguration `json:"SharedFileSystemConfiguration,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 *StudioComponent_StudioComponentConfiguration) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration" -} diff --git a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentinitializationscript.go b/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentinitializationscript.go deleted file mode 100644 index 9c9e8a63e8..0000000000 --- a/pkg/goformation/cloudformation/nimblestudio/aws-nimblestudio-studiocomponent_studiocomponentinitializationscript.go +++ /dev/null @@ -1,52 +0,0 @@ -package nimblestudio - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StudioComponent_StudioComponentInitializationScript AWS CloudFormation Resource (AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentinitializationscript.html -type StudioComponent_StudioComponentInitializationScript struct { - - // LaunchProfileProtocolVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentinitializationscript.html#cfn-nimblestudio-studiocomponent-studiocomponentinitializationscript-launchprofileprotocolversion - LaunchProfileProtocolVersion *types.Value `json:"LaunchProfileProtocolVersion,omitempty"` - - // Platform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentinitializationscript.html#cfn-nimblestudio-studiocomponent-studiocomponentinitializationscript-platform - Platform *types.Value `json:"Platform,omitempty"` - - // RunContext AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentinitializationscript.html#cfn-nimblestudio-studiocomponent-studiocomponentinitializationscript-runcontext - RunContext *types.Value `json:"RunContext,omitempty"` - - // Script AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-nimblestudio-studiocomponent-studiocomponentinitializationscript.html#cfn-nimblestudio-studiocomponent-studiocomponentinitializationscript-script - Script *types.Value `json:"Script,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 *StudioComponent_StudioComponentInitializationScript) AWSCloudFormationType() string { - return "AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain.go deleted file mode 100644 index 292e4c999e..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain.go +++ /dev/null @@ -1,179 +0,0 @@ -package opensearchservice - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::OpenSearchService::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html -type Domain struct { - - // AccessPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-accesspolicies - AccessPolicies interface{} `json:"AccessPolicies,omitempty"` - - // AdvancedOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-advancedoptions - AdvancedOptions map[string]*types.Value `json:"AdvancedOptions,omitempty"` - - // AdvancedSecurityOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-advancedsecurityoptions - AdvancedSecurityOptions *Domain_AdvancedSecurityOptionsInput `json:"AdvancedSecurityOptions,omitempty"` - - // ClusterConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-clusterconfig - ClusterConfig *Domain_ClusterConfig `json:"ClusterConfig,omitempty"` - - // CognitoOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-cognitooptions - CognitoOptions *Domain_CognitoOptions `json:"CognitoOptions,omitempty"` - - // DomainEndpointOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-domainendpointoptions - DomainEndpointOptions *Domain_DomainEndpointOptions `json:"DomainEndpointOptions,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // EBSOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-ebsoptions - EBSOptions *Domain_EBSOptions `json:"EBSOptions,omitempty"` - - // EncryptionAtRestOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-encryptionatrestoptions - EncryptionAtRestOptions *Domain_EncryptionAtRestOptions `json:"EncryptionAtRestOptions,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // LogPublishingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-logpublishingoptions - LogPublishingOptions map[string]Domain_LogPublishingOption `json:"LogPublishingOptions,omitempty"` - - // NodeToNodeEncryptionOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-nodetonodeencryptionoptions - NodeToNodeEncryptionOptions *Domain_NodeToNodeEncryptionOptions `json:"NodeToNodeEncryptionOptions,omitempty"` - - // SnapshotOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-snapshotoptions - SnapshotOptions *Domain_SnapshotOptions `json:"SnapshotOptions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VPCOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html#cfn-opensearchservice-domain-vpcoptions - VPCOptions *Domain_VPCOptions `json:"VPCOptions,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 *Domain) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_advancedsecurityoptionsinput.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_advancedsecurityoptionsinput.go deleted file mode 100644 index cfcb630b92..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_advancedsecurityoptionsinput.go +++ /dev/null @@ -1,47 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_AdvancedSecurityOptionsInput AWS CloudFormation Resource (AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html -type Domain_AdvancedSecurityOptionsInput struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // InternalUserDatabaseEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-internaluserdatabaseenabled - InternalUserDatabaseEnabled *types.Value `json:"InternalUserDatabaseEnabled,omitempty"` - - // MasterUserOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html#cfn-opensearchservice-domain-advancedsecurityoptionsinput-masteruseroptions - MasterUserOptions *Domain_MasterUserOptions `json:"MasterUserOptions,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 *Domain_AdvancedSecurityOptionsInput) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_clusterconfig.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_clusterconfig.go deleted file mode 100644 index 119efed2c4..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_clusterconfig.go +++ /dev/null @@ -1,82 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_ClusterConfig AWS CloudFormation Resource (AWS::OpenSearchService::Domain.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html -type Domain_ClusterConfig struct { - - // DedicatedMasterCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-dedicatedmastercount - DedicatedMasterCount *types.Value `json:"DedicatedMasterCount,omitempty"` - - // DedicatedMasterEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-dedicatedmasterenabled - DedicatedMasterEnabled *types.Value `json:"DedicatedMasterEnabled,omitempty"` - - // DedicatedMasterType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-dedicatedmastertype - DedicatedMasterType *types.Value `json:"DedicatedMasterType,omitempty"` - - // InstanceCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // WarmCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-warmcount - WarmCount *types.Value `json:"WarmCount,omitempty"` - - // WarmEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-warmenabled - WarmEnabled *types.Value `json:"WarmEnabled,omitempty"` - - // WarmType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-warmtype - WarmType *types.Value `json:"WarmType,omitempty"` - - // ZoneAwarenessConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-zoneawarenessconfig - ZoneAwarenessConfig *Domain_ZoneAwarenessConfig `json:"ZoneAwarenessConfig,omitempty"` - - // ZoneAwarenessEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html#cfn-opensearchservice-domain-clusterconfig-zoneawarenessenabled - ZoneAwarenessEnabled *types.Value `json:"ZoneAwarenessEnabled,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 *Domain_ClusterConfig) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_cognitooptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_cognitooptions.go deleted file mode 100644 index b599c9c3b3..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_cognitooptions.go +++ /dev/null @@ -1,52 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_CognitoOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.CognitoOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-cognitooptions.html -type Domain_CognitoOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-cognitooptions.html#cfn-opensearchservice-domain-cognitooptions-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // IdentityPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-cognitooptions.html#cfn-opensearchservice-domain-cognitooptions-identitypoolid - IdentityPoolId *types.Value `json:"IdentityPoolId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-cognitooptions.html#cfn-opensearchservice-domain-cognitooptions-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // UserPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-cognitooptions.html#cfn-opensearchservice-domain-cognitooptions-userpoolid - UserPoolId *types.Value `json:"UserPoolId,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 *Domain_CognitoOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.CognitoOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_domainendpointoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_domainendpointoptions.go deleted file mode 100644 index c0534d2303..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_domainendpointoptions.go +++ /dev/null @@ -1,57 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_DomainEndpointOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.DomainEndpointOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html -type Domain_DomainEndpointOptions struct { - - // CustomEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html#cfn-opensearchservice-domain-domainendpointoptions-customendpoint - CustomEndpoint *types.Value `json:"CustomEndpoint,omitempty"` - - // CustomEndpointCertificateArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html#cfn-opensearchservice-domain-domainendpointoptions-customendpointcertificatearn - CustomEndpointCertificateArn *types.Value `json:"CustomEndpointCertificateArn,omitempty"` - - // CustomEndpointEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html#cfn-opensearchservice-domain-domainendpointoptions-customendpointenabled - CustomEndpointEnabled *types.Value `json:"CustomEndpointEnabled,omitempty"` - - // EnforceHTTPS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html#cfn-opensearchservice-domain-domainendpointoptions-enforcehttps - EnforceHTTPS *types.Value `json:"EnforceHTTPS,omitempty"` - - // TLSSecurityPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-domainendpointoptions.html#cfn-opensearchservice-domain-domainendpointoptions-tlssecuritypolicy - TLSSecurityPolicy *types.Value `json:"TLSSecurityPolicy,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 *Domain_DomainEndpointOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.DomainEndpointOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_ebsoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_ebsoptions.go deleted file mode 100644 index a04e48d7b5..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_ebsoptions.go +++ /dev/null @@ -1,52 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_EBSOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.EBSOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-ebsoptions.html -type Domain_EBSOptions struct { - - // EBSEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-ebsoptions.html#cfn-opensearchservice-domain-ebsoptions-ebsenabled - EBSEnabled *types.Value `json:"EBSEnabled,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-ebsoptions.html#cfn-opensearchservice-domain-ebsoptions-iops - Iops *types.Value `json:"Iops,omitempty"` - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-ebsoptions.html#cfn-opensearchservice-domain-ebsoptions-volumesize - VolumeSize *types.Value `json:"VolumeSize,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-ebsoptions.html#cfn-opensearchservice-domain-ebsoptions-volumetype - VolumeType *types.Value `json:"VolumeType,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 *Domain_EBSOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.EBSOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_encryptionatrestoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_encryptionatrestoptions.go deleted file mode 100644 index 56afb35d39..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_encryptionatrestoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_EncryptionAtRestOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.EncryptionAtRestOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-encryptionatrestoptions.html -type Domain_EncryptionAtRestOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-encryptionatrestoptions.html#cfn-opensearchservice-domain-encryptionatrestoptions-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-encryptionatrestoptions.html#cfn-opensearchservice-domain-encryptionatrestoptions-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,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 *Domain_EncryptionAtRestOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.EncryptionAtRestOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_masteruseroptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_masteruseroptions.go deleted file mode 100644 index 0914c758eb..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_masteruseroptions.go +++ /dev/null @@ -1,47 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_MasterUserOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.MasterUserOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-masteruseroptions.html -type Domain_MasterUserOptions struct { - - // MasterUserARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-masteruseroptions.html#cfn-opensearchservice-domain-masteruseroptions-masteruserarn - MasterUserARN *types.Value `json:"MasterUserARN,omitempty"` - - // MasterUserName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-masteruseroptions.html#cfn-opensearchservice-domain-masteruseroptions-masterusername - MasterUserName *types.Value `json:"MasterUserName,omitempty"` - - // MasterUserPassword AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-masteruseroptions.html#cfn-opensearchservice-domain-masteruseroptions-masteruserpassword - MasterUserPassword *types.Value `json:"MasterUserPassword,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 *Domain_MasterUserOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.MasterUserOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_nodetonodeencryptionoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_nodetonodeencryptionoptions.go deleted file mode 100644 index 7b65935c0a..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_nodetonodeencryptionoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_NodeToNodeEncryptionOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodetonodeencryptionoptions.html -type Domain_NodeToNodeEncryptionOptions struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-nodetonodeencryptionoptions.html#cfn-opensearchservice-domain-nodetonodeencryptionoptions-enabled - Enabled *types.Value `json:"Enabled,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 *Domain_NodeToNodeEncryptionOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_snapshotoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_snapshotoptions.go deleted file mode 100644 index 9a984681a8..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_snapshotoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_SnapshotOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.SnapshotOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-snapshotoptions.html -type Domain_SnapshotOptions struct { - - // AutomatedSnapshotStartHour AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-snapshotoptions.html#cfn-opensearchservice-domain-snapshotoptions-automatedsnapshotstarthour - AutomatedSnapshotStartHour *types.Value `json:"AutomatedSnapshotStartHour,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 *Domain_SnapshotOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.SnapshotOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_vpcoptions.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_vpcoptions.go deleted file mode 100644 index 37dc448cbc..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_vpcoptions.go +++ /dev/null @@ -1,42 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_VPCOptions AWS CloudFormation Resource (AWS::OpenSearchService::Domain.VPCOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-vpcoptions.html -type Domain_VPCOptions struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-vpcoptions.html#cfn-opensearchservice-domain-vpcoptions-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-vpcoptions.html#cfn-opensearchservice-domain-vpcoptions-subnetids - SubnetIds *types.Value `json:"SubnetIds,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 *Domain_VPCOptions) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.VPCOptions" -} diff --git a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_zoneawarenessconfig.go b/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_zoneawarenessconfig.go deleted file mode 100644 index c8317a3c8e..0000000000 --- a/pkg/goformation/cloudformation/opensearchservice/aws-opensearchservice-domain_zoneawarenessconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package opensearchservice - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_ZoneAwarenessConfig AWS CloudFormation Resource (AWS::OpenSearchService::Domain.ZoneAwarenessConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-zoneawarenessconfig.html -type Domain_ZoneAwarenessConfig struct { - - // AvailabilityZoneCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-zoneawarenessconfig.html#cfn-opensearchservice-domain-zoneawarenessconfig-availabilityzonecount - AvailabilityZoneCount *types.Value `json:"AvailabilityZoneCount,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 *Domain_ZoneAwarenessConfig) AWSCloudFormationType() string { - return "AWS::OpenSearchService::Domain.ZoneAwarenessConfig" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-app.go deleted file mode 100644 index 332466cb84..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app.go +++ /dev/null @@ -1,163 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App AWS CloudFormation Resource (AWS::OpsWorks::App) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html -type App struct { - - // AppSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-appsource - AppSource *App_Source `json:"AppSource,omitempty"` - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // DataSources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-datasources - DataSources []App_DataSource `json:"DataSources,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-description - Description *types.Value `json:"Description,omitempty"` - - // Domains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-domains - Domains *types.Value `json:"Domains,omitempty"` - - // EnableSsl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-enablessl - EnableSsl *types.Value `json:"EnableSsl,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-environment - Environment []App_EnvironmentVariable `json:"Environment,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-name - Name *types.Value `json:"Name,omitempty"` - - // Shortname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-shortname - Shortname *types.Value `json:"Shortname,omitempty"` - - // SslConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-sslconfiguration - SslConfiguration *App_SslConfiguration `json:"SslConfiguration,omitempty"` - - // StackId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-stackid - StackId *types.Value `json:"StackId,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-type - Type *types.Value `json:"Type,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 *App) AWSCloudFormationType() string { - return "AWS::OpsWorks::App" -} - -// 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 (r App) MarshalJSON() ([]byte, error) { - type Properties App - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *App) UnmarshalJSON(b []byte) error { - type Properties App - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = App(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_sslconfiguration.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_sslconfiguration.go deleted file mode 100644 index d4a0957326..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_sslconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_SslConfiguration AWS CloudFormation Resource (AWS::OpsWorks::App.SslConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html -type App_SslConfiguration struct { - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // Chain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-chain - Chain *types.Value `json:"Chain,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-privatekey - PrivateKey *types.Value `json:"PrivateKey,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 *App_SslConfiguration) AWSCloudFormationType() string { - return "AWS::OpsWorks::App.SslConfiguration" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-elasticloadbalancerattachment.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-elasticloadbalancerattachment.go deleted file mode 100644 index 1964a65203..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-elasticloadbalancerattachment.go +++ /dev/null @@ -1,113 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ElasticLoadBalancerAttachment AWS CloudFormation Resource (AWS::OpsWorks::ElasticLoadBalancerAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html -type ElasticLoadBalancerAttachment struct { - - // ElasticLoadBalancerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html#cfn-opsworks-elbattachment-elbname - ElasticLoadBalancerName *types.Value `json:"ElasticLoadBalancerName,omitempty"` - - // LayerId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-elbattachment.html#cfn-opsworks-elbattachment-layerid - LayerId *types.Value `json:"LayerId,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 *ElasticLoadBalancerAttachment) AWSCloudFormationType() string { - return "AWS::OpsWorks::ElasticLoadBalancerAttachment" -} - -// 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 (r ElasticLoadBalancerAttachment) MarshalJSON() ([]byte, error) { - type Properties ElasticLoadBalancerAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ElasticLoadBalancerAttachment) UnmarshalJSON(b []byte) error { - type Properties ElasticLoadBalancerAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ElasticLoadBalancerAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance.go deleted file mode 100644 index 2795d65144..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance.go +++ /dev/null @@ -1,208 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance AWS CloudFormation Resource (AWS::OpsWorks::Instance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html -type Instance struct { - - // AgentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-agentversion - AgentVersion *types.Value `json:"AgentVersion,omitempty"` - - // AmiId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-amiid - AmiId *types.Value `json:"AmiId,omitempty"` - - // Architecture AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-architecture - Architecture *types.Value `json:"Architecture,omitempty"` - - // AutoScalingType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-autoscalingtype - AutoScalingType *types.Value `json:"AutoScalingType,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // BlockDeviceMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-blockdevicemappings - BlockDeviceMappings []Instance_BlockDeviceMapping `json:"BlockDeviceMappings,omitempty"` - - // EbsOptimized AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-ebsoptimized - EbsOptimized *types.Value `json:"EbsOptimized,omitempty"` - - // ElasticIps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-elasticips - ElasticIps *types.Value `json:"ElasticIps,omitempty"` - - // Hostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-hostname - Hostname *types.Value `json:"Hostname,omitempty"` - - // InstallUpdatesOnBoot AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-installupdatesonboot - InstallUpdatesOnBoot *types.Value `json:"InstallUpdatesOnBoot,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // LayerIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-layerids - LayerIds *types.Value `json:"LayerIds,omitempty"` - - // Os AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-os - Os *types.Value `json:"Os,omitempty"` - - // RootDeviceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-rootdevicetype - RootDeviceType *types.Value `json:"RootDeviceType,omitempty"` - - // SshKeyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-sshkeyname - SshKeyName *types.Value `json:"SshKeyName,omitempty"` - - // StackId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-stackid - StackId *types.Value `json:"StackId,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-subnetid - SubnetId *types.Value `json:"SubnetId,omitempty"` - - // Tenancy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-tenancy - Tenancy *types.Value `json:"Tenancy,omitempty"` - - // TimeBasedAutoScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-timebasedautoscaling - TimeBasedAutoScaling *Instance_TimeBasedAutoScaling `json:"TimeBasedAutoScaling,omitempty"` - - // VirtualizationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-virtualizationtype - VirtualizationType *types.Value `json:"VirtualizationType,omitempty"` - - // Volumes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-instance.html#cfn-opsworks-instance-volumes - Volumes *types.Value `json:"Volumes,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 *Instance) AWSCloudFormationType() string { - return "AWS::OpsWorks::Instance" -} - -// 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 (r Instance) MarshalJSON() ([]byte, error) { - type Properties Instance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Instance) UnmarshalJSON(b []byte) error { - type Properties Instance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Instance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_blockdevicemapping.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_blockdevicemapping.go deleted file mode 100644 index 9b35812e27..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_blockdevicemapping.go +++ /dev/null @@ -1,52 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_BlockDeviceMapping AWS CloudFormation Resource (AWS::OpsWorks::Instance.BlockDeviceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html -type Instance_BlockDeviceMapping struct { - - // DeviceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-devicename - DeviceName *types.Value `json:"DeviceName,omitempty"` - - // Ebs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-ebs - Ebs *Instance_EbsBlockDevice `json:"Ebs,omitempty"` - - // NoDevice AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-nodevice - NoDevice *types.Value `json:"NoDevice,omitempty"` - - // VirtualName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-virtualname - VirtualName *types.Value `json:"VirtualName,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 *Instance_BlockDeviceMapping) AWSCloudFormationType() string { - return "AWS::OpsWorks::Instance.BlockDeviceMapping" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_ebsblockdevice.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_ebsblockdevice.go deleted file mode 100644 index 004f5bcee8..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_ebsblockdevice.go +++ /dev/null @@ -1,57 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_EbsBlockDevice AWS CloudFormation Resource (AWS::OpsWorks::Instance.EbsBlockDevice) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html -type Instance_EbsBlockDevice struct { - - // DeleteOnTermination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-deleteontermination - DeleteOnTermination *types.Value `json:"DeleteOnTermination,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-iops - Iops *types.Value `json:"Iops,omitempty"` - - // SnapshotId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-snapshotid - SnapshotId *types.Value `json:"SnapshotId,omitempty"` - - // VolumeSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumesize - VolumeSize *types.Value `json:"VolumeSize,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumetype - VolumeType *types.Value `json:"VolumeType,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 *Instance_EbsBlockDevice) AWSCloudFormationType() string { - return "AWS::OpsWorks::Instance.EbsBlockDevice" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_timebasedautoscaling.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_timebasedautoscaling.go deleted file mode 100644 index e05056081d..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-instance_timebasedautoscaling.go +++ /dev/null @@ -1,67 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance_TimeBasedAutoScaling AWS CloudFormation Resource (AWS::OpsWorks::Instance.TimeBasedAutoScaling) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html -type Instance_TimeBasedAutoScaling struct { - - // Friday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-friday - Friday map[string]*types.Value `json:"Friday,omitempty"` - - // Monday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-monday - Monday map[string]*types.Value `json:"Monday,omitempty"` - - // Saturday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-saturday - Saturday map[string]*types.Value `json:"Saturday,omitempty"` - - // Sunday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-sunday - Sunday map[string]*types.Value `json:"Sunday,omitempty"` - - // Thursday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-thursday - Thursday map[string]*types.Value `json:"Thursday,omitempty"` - - // Tuesday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-tuesday - Tuesday map[string]*types.Value `json:"Tuesday,omitempty"` - - // Wednesday AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-wednesday - Wednesday map[string]*types.Value `json:"Wednesday,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 *Instance_TimeBasedAutoScaling) AWSCloudFormationType() string { - return "AWS::OpsWorks::Instance.TimeBasedAutoScaling" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer.go deleted file mode 100644 index 4f2bf3bc25..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer.go +++ /dev/null @@ -1,199 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer AWS CloudFormation Resource (AWS::OpsWorks::Layer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html -type Layer struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // AutoAssignElasticIps AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-autoassignelasticips - AutoAssignElasticIps *types.Value `json:"AutoAssignElasticIps"` - - // AutoAssignPublicIps AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-autoassignpublicips - AutoAssignPublicIps *types.Value `json:"AutoAssignPublicIps"` - - // CustomInstanceProfileArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-custominstanceprofilearn - CustomInstanceProfileArn *types.Value `json:"CustomInstanceProfileArn,omitempty"` - - // CustomJson AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-customjson - CustomJson interface{} `json:"CustomJson,omitempty"` - - // CustomRecipes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-customrecipes - CustomRecipes *Layer_Recipes `json:"CustomRecipes,omitempty"` - - // CustomSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-customsecuritygroupids - CustomSecurityGroupIds *types.Value `json:"CustomSecurityGroupIds,omitempty"` - - // EnableAutoHealing AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-enableautohealing - EnableAutoHealing *types.Value `json:"EnableAutoHealing"` - - // InstallUpdatesOnBoot AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-installupdatesonboot - InstallUpdatesOnBoot *types.Value `json:"InstallUpdatesOnBoot,omitempty"` - - // LifecycleEventConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-lifecycleeventconfiguration - LifecycleEventConfiguration *Layer_LifecycleEventConfiguration `json:"LifecycleEventConfiguration,omitempty"` - - // LoadBasedAutoScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-loadbasedautoscaling - LoadBasedAutoScaling *Layer_LoadBasedAutoScaling `json:"LoadBasedAutoScaling,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-name - Name *types.Value `json:"Name,omitempty"` - - // Packages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-packages - Packages *types.Value `json:"Packages,omitempty"` - - // Shortname AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-shortname - Shortname *types.Value `json:"Shortname,omitempty"` - - // StackId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-stackid - StackId *types.Value `json:"StackId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-type - Type *types.Value `json:"Type,omitempty"` - - // UseEbsOptimizedInstances AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-useebsoptimizedinstances - UseEbsOptimizedInstances *types.Value `json:"UseEbsOptimizedInstances,omitempty"` - - // VolumeConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html#cfn-opsworks-layer-volumeconfigurations - VolumeConfigurations []Layer_VolumeConfiguration `json:"VolumeConfigurations,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 *Layer) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer" -} - -// 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 (r Layer) MarshalJSON() ([]byte, error) { - type Properties Layer - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Layer) UnmarshalJSON(b []byte) error { - type Properties Layer - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Layer(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_autoscalingthresholds.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_autoscalingthresholds.go deleted file mode 100644 index 4ea1050a1f..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_autoscalingthresholds.go +++ /dev/null @@ -1,62 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_AutoScalingThresholds AWS CloudFormation Resource (AWS::OpsWorks::Layer.AutoScalingThresholds) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html -type Layer_AutoScalingThresholds struct { - - // CpuThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-cputhreshold - CpuThreshold *types.Value `json:"CpuThreshold,omitempty"` - - // IgnoreMetricsTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-ignoremetricstime - IgnoreMetricsTime *types.Value `json:"IgnoreMetricsTime,omitempty"` - - // InstanceCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-instancecount - InstanceCount *types.Value `json:"InstanceCount,omitempty"` - - // LoadThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-loadthreshold - LoadThreshold *types.Value `json:"LoadThreshold,omitempty"` - - // MemoryThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-memorythreshold - MemoryThreshold *types.Value `json:"MemoryThreshold,omitempty"` - - // ThresholdsWaitTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html#cfn-opsworks-layer-loadbasedautoscaling-autoscalingthresholds-thresholdwaittime - ThresholdsWaitTime *types.Value `json:"ThresholdsWaitTime,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 *Layer_AutoScalingThresholds) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.AutoScalingThresholds" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_lifecycleeventconfiguration.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_lifecycleeventconfiguration.go deleted file mode 100644 index 2933127721..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_lifecycleeventconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_LifecycleEventConfiguration AWS CloudFormation Resource (AWS::OpsWorks::Layer.LifecycleEventConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration.html -type Layer_LifecycleEventConfiguration struct { - - // ShutdownEventConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration.html#cfn-opsworks-layer-lifecycleconfiguration-shutdowneventconfiguration - ShutdownEventConfiguration *Layer_ShutdownEventConfiguration `json:"ShutdownEventConfiguration,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 *Layer_LifecycleEventConfiguration) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.LifecycleEventConfiguration" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_loadbasedautoscaling.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_loadbasedautoscaling.go deleted file mode 100644 index 19b52c7023..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_loadbasedautoscaling.go +++ /dev/null @@ -1,47 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_LoadBasedAutoScaling AWS CloudFormation Resource (AWS::OpsWorks::Layer.LoadBasedAutoScaling) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html -type Layer_LoadBasedAutoScaling struct { - - // DownScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-downscaling - DownScaling *Layer_AutoScalingThresholds `json:"DownScaling,omitempty"` - - // Enable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable - Enable *types.Value `json:"Enable,omitempty"` - - // UpScaling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-upscaling - UpScaling *Layer_AutoScalingThresholds `json:"UpScaling,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 *Layer_LoadBasedAutoScaling) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.LoadBasedAutoScaling" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_recipes.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_recipes.go deleted file mode 100644 index 8a5f95442a..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_recipes.go +++ /dev/null @@ -1,57 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_Recipes AWS CloudFormation Resource (AWS::OpsWorks::Layer.Recipes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html -type Layer_Recipes struct { - - // Configure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-configure - Configure *types.Value `json:"Configure,omitempty"` - - // Deploy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-deploy - Deploy *types.Value `json:"Deploy,omitempty"` - - // Setup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-setup - Setup *types.Value `json:"Setup,omitempty"` - - // Shutdown AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-shutdown - Shutdown *types.Value `json:"Shutdown,omitempty"` - - // Undeploy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-undeploy - Undeploy *types.Value `json:"Undeploy,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 *Layer_Recipes) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.Recipes" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_shutdowneventconfiguration.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_shutdowneventconfiguration.go deleted file mode 100644 index 4b3c5e9617..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_shutdowneventconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_ShutdownEventConfiguration AWS CloudFormation Resource (AWS::OpsWorks::Layer.ShutdownEventConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html -type Layer_ShutdownEventConfiguration struct { - - // DelayUntilElbConnectionsDrained AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html#cfn-opsworks-layer-lifecycleconfiguration-shutdowneventconfiguration-delayuntilelbconnectionsdrained - DelayUntilElbConnectionsDrained *types.Value `json:"DelayUntilElbConnectionsDrained,omitempty"` - - // ExecutionTimeout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html#cfn-opsworks-layer-lifecycleconfiguration-shutdowneventconfiguration-executiontimeout - ExecutionTimeout *types.Value `json:"ExecutionTimeout,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 *Layer_ShutdownEventConfiguration) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.ShutdownEventConfiguration" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_volumeconfiguration.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_volumeconfiguration.go deleted file mode 100644 index 77d3f92c66..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-layer_volumeconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Layer_VolumeConfiguration AWS CloudFormation Resource (AWS::OpsWorks::Layer.VolumeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html -type Layer_VolumeConfiguration struct { - - // Encrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volumeconfiguration-encrypted - Encrypted *types.Value `json:"Encrypted,omitempty"` - - // Iops AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-iops - Iops *types.Value `json:"Iops,omitempty"` - - // MountPoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-mountpoint - MountPoint *types.Value `json:"MountPoint,omitempty"` - - // NumberOfDisks AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-numberofdisks - NumberOfDisks *types.Value `json:"NumberOfDisks,omitempty"` - - // RaidLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-raidlevel - RaidLevel *types.Value `json:"RaidLevel,omitempty"` - - // Size AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-size - Size *types.Value `json:"Size,omitempty"` - - // VolumeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html#cfn-opsworks-layer-volconfig-volumetype - VolumeType *types.Value `json:"VolumeType,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 *Layer_VolumeConfiguration) AWSCloudFormationType() string { - return "AWS::OpsWorks::Layer.VolumeConfiguration" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack.go deleted file mode 100644 index 7dd73f540a..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack.go +++ /dev/null @@ -1,229 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack AWS CloudFormation Resource (AWS::OpsWorks::Stack) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html -type Stack struct { - - // AgentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-agentversion - AgentVersion *types.Value `json:"AgentVersion,omitempty"` - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // ChefConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-chefconfiguration - ChefConfiguration *Stack_ChefConfiguration `json:"ChefConfiguration,omitempty"` - - // CloneAppIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-cloneappids - CloneAppIds *types.Value `json:"CloneAppIds,omitempty"` - - // ClonePermissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-clonepermissions - ClonePermissions *types.Value `json:"ClonePermissions,omitempty"` - - // ConfigurationManager AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-configmanager - ConfigurationManager *Stack_StackConfigurationManager `json:"ConfigurationManager,omitempty"` - - // CustomCookbooksSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-custcookbooksource - CustomCookbooksSource *Stack_Source `json:"CustomCookbooksSource,omitempty"` - - // CustomJson AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-custjson - CustomJson interface{} `json:"CustomJson,omitempty"` - - // DefaultAvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultaz - DefaultAvailabilityZone *types.Value `json:"DefaultAvailabilityZone,omitempty"` - - // DefaultInstanceProfileArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultinstanceprof - DefaultInstanceProfileArn *types.Value `json:"DefaultInstanceProfileArn,omitempty"` - - // DefaultOs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultos - DefaultOs *types.Value `json:"DefaultOs,omitempty"` - - // DefaultRootDeviceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultrootdevicetype - DefaultRootDeviceType *types.Value `json:"DefaultRootDeviceType,omitempty"` - - // DefaultSshKeyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-defaultsshkeyname - DefaultSshKeyName *types.Value `json:"DefaultSshKeyName,omitempty"` - - // DefaultSubnetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#defaultsubnet - DefaultSubnetId *types.Value `json:"DefaultSubnetId,omitempty"` - - // EcsClusterArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-ecsclusterarn - EcsClusterArn *types.Value `json:"EcsClusterArn,omitempty"` - - // ElasticIps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-elasticips - ElasticIps []Stack_ElasticIp `json:"ElasticIps,omitempty"` - - // HostnameTheme AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-hostnametheme - HostnameTheme *types.Value `json:"HostnameTheme,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-name - Name *types.Value `json:"Name,omitempty"` - - // RdsDbInstances AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-rdsdbinstances - RdsDbInstances []Stack_RdsDbInstance `json:"RdsDbInstances,omitempty"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // SourceStackId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-sourcestackid - SourceStackId *types.Value `json:"SourceStackId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UseCustomCookbooks AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#usecustcookbooks - UseCustomCookbooks *types.Value `json:"UseCustomCookbooks,omitempty"` - - // UseOpsworksSecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-useopsworkssecuritygroups - UseOpsworksSecurityGroups *types.Value `json:"UseOpsworksSecurityGroups,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-stack.html#cfn-opsworks-stack-vpcid - VpcId *types.Value `json:"VpcId,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 *Stack) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack" -} - -// 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 (r Stack) MarshalJSON() ([]byte, error) { - type Properties Stack - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Stack) UnmarshalJSON(b []byte) error { - type Properties Stack - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Stack(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_chefconfiguration.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_chefconfiguration.go deleted file mode 100644 index 8be9fab02c..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_chefconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_ChefConfiguration AWS CloudFormation Resource (AWS::OpsWorks::Stack.ChefConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-chefconfiguration.html -type Stack_ChefConfiguration struct { - - // BerkshelfVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-chefconfiguration.html#cfn-opsworks-chefconfiguration-berkshelfversion - BerkshelfVersion *types.Value `json:"BerkshelfVersion,omitempty"` - - // ManageBerkshelf AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-chefconfiguration.html#cfn-opsworks-chefconfiguration-berkshelfversion - ManageBerkshelf *types.Value `json:"ManageBerkshelf,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 *Stack_ChefConfiguration) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack.ChefConfiguration" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_elasticip.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_elasticip.go deleted file mode 100644 index a9789040b5..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_elasticip.go +++ /dev/null @@ -1,42 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_ElasticIp AWS CloudFormation Resource (AWS::OpsWorks::Stack.ElasticIp) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-elasticip.html -type Stack_ElasticIp struct { - - // Ip AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-elasticip.html#cfn-opsworks-stack-elasticip-ip - Ip *types.Value `json:"Ip,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-elasticip.html#cfn-opsworks-stack-elasticip-name - Name *types.Value `json:"Name,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 *Stack_ElasticIp) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack.ElasticIp" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_rdsdbinstance.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_rdsdbinstance.go deleted file mode 100644 index 8380d45ae9..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_rdsdbinstance.go +++ /dev/null @@ -1,47 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_RdsDbInstance AWS CloudFormation Resource (AWS::OpsWorks::Stack.RdsDbInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html -type Stack_RdsDbInstance struct { - - // DbPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-dbpassword - DbPassword *types.Value `json:"DbPassword,omitempty"` - - // DbUser AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-dbuser - DbUser *types.Value `json:"DbUser,omitempty"` - - // RdsDbInstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-rdsdbinstancearn - RdsDbInstanceArn *types.Value `json:"RdsDbInstanceArn,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 *Stack_RdsDbInstance) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack.RdsDbInstance" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_source.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_source.go deleted file mode 100644 index ff8f265a92..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_source.go +++ /dev/null @@ -1,62 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_Source AWS CloudFormation Resource (AWS::OpsWorks::Stack.Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html -type Stack_Source struct { - - // Password AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-password - Password *types.Value `json:"Password,omitempty"` - - // Revision AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-revision - Revision *types.Value `json:"Revision,omitempty"` - - // SshKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-sshkey - SshKey *types.Value `json:"SshKey,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-type - Type *types.Value `json:"Type,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-url - Url *types.Value `json:"Url,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-username - Username *types.Value `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 *Stack_Source) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack.Source" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_stackconfigurationmanager.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_stackconfigurationmanager.go deleted file mode 100644 index b319545a36..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-stack_stackconfigurationmanager.go +++ /dev/null @@ -1,42 +0,0 @@ -package opsworks - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stack_StackConfigurationManager AWS CloudFormation Resource (AWS::OpsWorks::Stack.StackConfigurationManager) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-stackconfigmanager.html -type Stack_StackConfigurationManager struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-stackconfigmanager.html#cfn-opsworks-configmanager-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-stackconfigmanager.html#cfn-opsworks-configmanager-version - Version *types.Value `json:"Version,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 *Stack_StackConfigurationManager) AWSCloudFormationType() string { - return "AWS::OpsWorks::Stack.StackConfigurationManager" -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-userprofile.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-userprofile.go deleted file mode 100644 index b5447192f1..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-userprofile.go +++ /dev/null @@ -1,123 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile AWS CloudFormation Resource (AWS::OpsWorks::UserProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html -type UserProfile struct { - - // AllowSelfManagement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-allowselfmanagement - AllowSelfManagement *types.Value `json:"AllowSelfManagement,omitempty"` - - // IamUserArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-iamuserarn - IamUserArn *types.Value `json:"IamUserArn,omitempty"` - - // SshPublicKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-sshpublickey - SshPublicKey *types.Value `json:"SshPublicKey,omitempty"` - - // SshUsername AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-userprofile.html#cfn-opsworks-userprofile-sshusername - SshUsername *types.Value `json:"SshUsername,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 *UserProfile) AWSCloudFormationType() string { - return "AWS::OpsWorks::UserProfile" -} - -// 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 (r UserProfile) MarshalJSON() ([]byte, error) { - type Properties UserProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserProfile) UnmarshalJSON(b []byte) error { - type Properties UserProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-volume.go b/pkg/goformation/cloudformation/opsworks/aws-opsworks-volume.go deleted file mode 100644 index 4b2b5f2fc6..0000000000 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-volume.go +++ /dev/null @@ -1,123 +0,0 @@ -package opsworks - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Volume AWS CloudFormation Resource (AWS::OpsWorks::Volume) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html -type Volume struct { - - // Ec2VolumeId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-ec2volumeid - Ec2VolumeId *types.Value `json:"Ec2VolumeId,omitempty"` - - // MountPoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-mountpoint - MountPoint *types.Value `json:"MountPoint,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-name - Name *types.Value `json:"Name,omitempty"` - - // StackId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-stackid - StackId *types.Value `json:"StackId,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 *Volume) AWSCloudFormationType() string { - return "AWS::OpsWorks::Volume" -} - -// 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 (r Volume) MarshalJSON() ([]byte, error) { - type Properties Volume - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Volume) UnmarshalJSON(b []byte) error { - type Properties Volume - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Volume(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server.go b/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server.go deleted file mode 100644 index 09f8ff725b..0000000000 --- a/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server.go +++ /dev/null @@ -1,209 +0,0 @@ -package opsworkscm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server AWS CloudFormation Resource (AWS::OpsWorksCM::Server) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html -type Server struct { - - // AssociatePublicIpAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-associatepublicipaddress - AssociatePublicIpAddress *types.Value `json:"AssociatePublicIpAddress,omitempty"` - - // BackupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-backupid - BackupId *types.Value `json:"BackupId,omitempty"` - - // BackupRetentionCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-backupretentioncount - BackupRetentionCount *types.Value `json:"BackupRetentionCount,omitempty"` - - // CustomCertificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-customcertificate - CustomCertificate *types.Value `json:"CustomCertificate,omitempty"` - - // CustomDomain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-customdomain - CustomDomain *types.Value `json:"CustomDomain,omitempty"` - - // CustomPrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-customprivatekey - CustomPrivateKey *types.Value `json:"CustomPrivateKey,omitempty"` - - // DisableAutomatedBackup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-disableautomatedbackup - DisableAutomatedBackup *types.Value `json:"DisableAutomatedBackup,omitempty"` - - // Engine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-engine - Engine *types.Value `json:"Engine,omitempty"` - - // EngineAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-engineattributes - EngineAttributes []Server_EngineAttribute `json:"EngineAttributes,omitempty"` - - // EngineModel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-enginemodel - EngineModel *types.Value `json:"EngineModel,omitempty"` - - // EngineVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-engineversion - EngineVersion *types.Value `json:"EngineVersion,omitempty"` - - // InstanceProfileArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-instanceprofilearn - InstanceProfileArn *types.Value `json:"InstanceProfileArn,omitempty"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // KeyPair AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-keypair - KeyPair *types.Value `json:"KeyPair,omitempty"` - - // PreferredBackupWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-preferredbackupwindow - PreferredBackupWindow *types.Value `json:"PreferredBackupWindow,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // SecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // ServerName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-servername - ServerName *types.Value `json:"ServerName,omitempty"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-tags - Tags []cloudformation.Tag `json:"Tags,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 *Server) AWSCloudFormationType() string { - return "AWS::OpsWorksCM::Server" -} - -// 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 (r Server) MarshalJSON() ([]byte, error) { - type Properties Server - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Server) UnmarshalJSON(b []byte) error { - type Properties Server - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Server(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server_engineattribute.go b/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server_engineattribute.go deleted file mode 100644 index 2b6a361fb5..0000000000 --- a/pkg/goformation/cloudformation/opsworkscm/aws-opsworkscm-server_engineattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package opsworkscm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_EngineAttribute AWS CloudFormation Resource (AWS::OpsWorksCM::Server.EngineAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworkscm-server-engineattribute.html -type Server_EngineAttribute struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworkscm-server-engineattribute.html#cfn-opsworkscm-server-engineattribute-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworkscm-server-engineattribute.html#cfn-opsworkscm-server-engineattribute-value - Value *types.Value `json:"Value,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 *Server_EngineAttribute) AWSCloudFormationType() string { - return "AWS::OpsWorksCM::Server.EngineAttribute" -} diff --git a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance.go b/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance.go deleted file mode 100644 index d28fd5d6d2..0000000000 --- a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance.go +++ /dev/null @@ -1,154 +0,0 @@ -package panorama - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationInstance AWS CloudFormation Resource (AWS::Panorama::ApplicationInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html -type ApplicationInstance struct { - - // ApplicationInstanceIdToReplace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-applicationinstanceidtoreplace - ApplicationInstanceIdToReplace *types.Value `json:"ApplicationInstanceIdToReplace,omitempty"` - - // DefaultRuntimeContextDevice AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-defaultruntimecontextdevice - DefaultRuntimeContextDevice *types.Value `json:"DefaultRuntimeContextDevice,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-description - Description *types.Value `json:"Description,omitempty"` - - // DeviceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-deviceid - DeviceId *types.Value `json:"DeviceId,omitempty"` - - // ManifestOverridesPayload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-manifestoverridespayload - ManifestOverridesPayload *ApplicationInstance_ManifestOverridesPayload `json:"ManifestOverridesPayload,omitempty"` - - // ManifestPayload AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-manifestpayload - ManifestPayload *ApplicationInstance_ManifestPayload `json:"ManifestPayload,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-name - Name *types.Value `json:"Name,omitempty"` - - // RuntimeRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-runtimerolearn - RuntimeRoleArn *types.Value `json:"RuntimeRoleArn,omitempty"` - - // StatusFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-statusfilter - StatusFilter *types.Value `json:"StatusFilter,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-applicationinstance.html#cfn-panorama-applicationinstance-tags - Tags []cloudformation.Tag `json:"Tags,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 *ApplicationInstance) AWSCloudFormationType() string { - return "AWS::Panorama::ApplicationInstance" -} - -// 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 (r ApplicationInstance) MarshalJSON() ([]byte, error) { - type Properties ApplicationInstance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationInstance) UnmarshalJSON(b []byte) error { - type Properties ApplicationInstance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationInstance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestoverridespayload.go b/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestoverridespayload.go deleted file mode 100644 index 46d605309a..0000000000 --- a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestoverridespayload.go +++ /dev/null @@ -1,37 +0,0 @@ -package panorama - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationInstance_ManifestOverridesPayload AWS CloudFormation Resource (AWS::Panorama::ApplicationInstance.ManifestOverridesPayload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestoverridespayload.html -type ApplicationInstance_ManifestOverridesPayload struct { - - // PayloadData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestoverridespayload.html#cfn-panorama-applicationinstance-manifestoverridespayload-payloaddata - PayloadData *types.Value `json:"PayloadData,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 *ApplicationInstance_ManifestOverridesPayload) AWSCloudFormationType() string { - return "AWS::Panorama::ApplicationInstance.ManifestOverridesPayload" -} diff --git a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestpayload.go b/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestpayload.go deleted file mode 100644 index 6ecf9208bb..0000000000 --- a/pkg/goformation/cloudformation/panorama/aws-panorama-applicationinstance_manifestpayload.go +++ /dev/null @@ -1,37 +0,0 @@ -package panorama - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationInstance_ManifestPayload AWS CloudFormation Resource (AWS::Panorama::ApplicationInstance.ManifestPayload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestpayload.html -type ApplicationInstance_ManifestPayload struct { - - // PayloadData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-applicationinstance-manifestpayload.html#cfn-panorama-applicationinstance-manifestpayload-payloaddata - PayloadData *types.Value `json:"PayloadData,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 *ApplicationInstance_ManifestPayload) AWSCloudFormationType() string { - return "AWS::Panorama::ApplicationInstance.ManifestPayload" -} diff --git a/pkg/goformation/cloudformation/panorama/aws-panorama-package.go b/pkg/goformation/cloudformation/panorama/aws-panorama-package.go deleted file mode 100644 index a9b2c1dbb3..0000000000 --- a/pkg/goformation/cloudformation/panorama/aws-panorama-package.go +++ /dev/null @@ -1,114 +0,0 @@ -package panorama - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Package AWS CloudFormation Resource (AWS::Panorama::Package) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html -type Package struct { - - // PackageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html#cfn-panorama-package-packagename - PackageName *types.Value `json:"PackageName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html#cfn-panorama-package-tags - Tags []cloudformation.Tag `json:"Tags,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 *Package) AWSCloudFormationType() string { - return "AWS::Panorama::Package" -} - -// 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 (r Package) MarshalJSON() ([]byte, error) { - type Properties Package - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Package) UnmarshalJSON(b []byte) error { - type Properties Package - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Package(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/panorama/aws-panorama-packageversion.go b/pkg/goformation/cloudformation/panorama/aws-panorama-packageversion.go deleted file mode 100644 index 355092054e..0000000000 --- a/pkg/goformation/cloudformation/panorama/aws-panorama-packageversion.go +++ /dev/null @@ -1,133 +0,0 @@ -package panorama - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PackageVersion AWS CloudFormation Resource (AWS::Panorama::PackageVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html -type PackageVersion struct { - - // MarkLatest AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-marklatest - MarkLatest *types.Value `json:"MarkLatest,omitempty"` - - // OwnerAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-owneraccount - OwnerAccount *types.Value `json:"OwnerAccount,omitempty"` - - // PackageId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-packageid - PackageId *types.Value `json:"PackageId,omitempty"` - - // PackageVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-packageversion - PackageVersion *types.Value `json:"PackageVersion,omitempty"` - - // PatchVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-patchversion - PatchVersion *types.Value `json:"PatchVersion,omitempty"` - - // UpdatedLatestPatchVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-packageversion.html#cfn-panorama-packageversion-updatedlatestpatchversion - UpdatedLatestPatchVersion *types.Value `json:"UpdatedLatestPatchVersion,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 *PackageVersion) AWSCloudFormationType() string { - return "AWS::Panorama::PackageVersion" -} - -// 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 (r PackageVersion) MarshalJSON() ([]byte, error) { - type Properties PackageVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PackageVersion) UnmarshalJSON(b []byte) error { - type Properties PackageVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PackageVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-admchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-admchannel.go deleted file mode 100644 index e7fd7d15fc..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-admchannel.go +++ /dev/null @@ -1,123 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ADMChannel AWS CloudFormation Resource (AWS::Pinpoint::ADMChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-admchannel.html -type ADMChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-admchannel.html#cfn-pinpoint-admchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // ClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-admchannel.html#cfn-pinpoint-admchannel-clientid - ClientId *types.Value `json:"ClientId,omitempty"` - - // ClientSecret AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-admchannel.html#cfn-pinpoint-admchannel-clientsecret - ClientSecret *types.Value `json:"ClientSecret,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-admchannel.html#cfn-pinpoint-admchannel-enabled - Enabled *types.Value `json:"Enabled,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 *ADMChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::ADMChannel" -} - -// 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 (r ADMChannel) MarshalJSON() ([]byte, error) { - type Properties ADMChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ADMChannel) UnmarshalJSON(b []byte) error { - type Properties ADMChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ADMChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnschannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnschannel.go deleted file mode 100644 index bacf43dbf7..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnschannel.go +++ /dev/null @@ -1,148 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// APNSChannel AWS CloudFormation Resource (AWS::Pinpoint::APNSChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html -type APNSChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // BundleId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // DefaultAuthenticationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-defaultauthenticationmethod - DefaultAuthenticationMethod *types.Value `json:"DefaultAuthenticationMethod,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-privatekey - PrivateKey *types.Value `json:"PrivateKey,omitempty"` - - // TeamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-teamid - TeamId *types.Value `json:"TeamId,omitempty"` - - // TokenKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-tokenkey - TokenKey *types.Value `json:"TokenKey,omitempty"` - - // TokenKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-tokenkeyid - TokenKeyId *types.Value `json:"TokenKeyId,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 *APNSChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::APNSChannel" -} - -// 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 (r APNSChannel) MarshalJSON() ([]byte, error) { - type Properties APNSChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *APNSChannel) UnmarshalJSON(b []byte) error { - type Properties APNSChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = APNSChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnssandboxchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnssandboxchannel.go deleted file mode 100644 index c80f6e53ab..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnssandboxchannel.go +++ /dev/null @@ -1,148 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// APNSSandboxChannel AWS CloudFormation Resource (AWS::Pinpoint::APNSSandboxChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html -type APNSSandboxChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // BundleId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // DefaultAuthenticationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-defaultauthenticationmethod - DefaultAuthenticationMethod *types.Value `json:"DefaultAuthenticationMethod,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-privatekey - PrivateKey *types.Value `json:"PrivateKey,omitempty"` - - // TeamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-teamid - TeamId *types.Value `json:"TeamId,omitempty"` - - // TokenKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-tokenkey - TokenKey *types.Value `json:"TokenKey,omitempty"` - - // TokenKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnssandboxchannel.html#cfn-pinpoint-apnssandboxchannel-tokenkeyid - TokenKeyId *types.Value `json:"TokenKeyId,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 *APNSSandboxChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::APNSSandboxChannel" -} - -// 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 (r APNSSandboxChannel) MarshalJSON() ([]byte, error) { - type Properties APNSSandboxChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *APNSSandboxChannel) UnmarshalJSON(b []byte) error { - type Properties APNSSandboxChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = APNSSandboxChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipchannel.go deleted file mode 100644 index 37153aaa58..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipchannel.go +++ /dev/null @@ -1,148 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// APNSVoipChannel AWS CloudFormation Resource (AWS::Pinpoint::APNSVoipChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html -type APNSVoipChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // BundleId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // DefaultAuthenticationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-defaultauthenticationmethod - DefaultAuthenticationMethod *types.Value `json:"DefaultAuthenticationMethod,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-privatekey - PrivateKey *types.Value `json:"PrivateKey,omitempty"` - - // TeamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-teamid - TeamId *types.Value `json:"TeamId,omitempty"` - - // TokenKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-tokenkey - TokenKey *types.Value `json:"TokenKey,omitempty"` - - // TokenKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipchannel.html#cfn-pinpoint-apnsvoipchannel-tokenkeyid - TokenKeyId *types.Value `json:"TokenKeyId,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 *APNSVoipChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::APNSVoipChannel" -} - -// 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 (r APNSVoipChannel) MarshalJSON() ([]byte, error) { - type Properties APNSVoipChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *APNSVoipChannel) UnmarshalJSON(b []byte) error { - type Properties APNSVoipChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = APNSVoipChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipsandboxchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipsandboxchannel.go deleted file mode 100644 index 1a5694ea29..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-apnsvoipsandboxchannel.go +++ /dev/null @@ -1,148 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// APNSVoipSandboxChannel AWS CloudFormation Resource (AWS::Pinpoint::APNSVoipSandboxChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html -type APNSVoipSandboxChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // BundleId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // DefaultAuthenticationMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-defaultauthenticationmethod - DefaultAuthenticationMethod *types.Value `json:"DefaultAuthenticationMethod,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // PrivateKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-privatekey - PrivateKey *types.Value `json:"PrivateKey,omitempty"` - - // TeamId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-teamid - TeamId *types.Value `json:"TeamId,omitempty"` - - // TokenKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkey - TokenKey *types.Value `json:"TokenKey,omitempty"` - - // TokenKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnsvoipsandboxchannel.html#cfn-pinpoint-apnsvoipsandboxchannel-tokenkeyid - TokenKeyId *types.Value `json:"TokenKeyId,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 *APNSVoipSandboxChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::APNSVoipSandboxChannel" -} - -// 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 (r APNSVoipSandboxChannel) MarshalJSON() ([]byte, error) { - type Properties APNSVoipSandboxChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *APNSVoipSandboxChannel) UnmarshalJSON(b []byte) error { - type Properties APNSVoipSandboxChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = APNSVoipSandboxChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings.go deleted file mode 100644 index d82c8c6131..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings.go +++ /dev/null @@ -1,128 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationSettings AWS CloudFormation Resource (AWS::Pinpoint::ApplicationSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html -type ApplicationSettings struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // CampaignHook AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-campaignhook - CampaignHook *ApplicationSettings_CampaignHook `json:"CampaignHook,omitempty"` - - // CloudWatchMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-cloudwatchmetricsenabled - CloudWatchMetricsEnabled *types.Value `json:"CloudWatchMetricsEnabled,omitempty"` - - // Limits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-limits - Limits *ApplicationSettings_Limits `json:"Limits,omitempty"` - - // QuietTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-quiettime - QuietTime *ApplicationSettings_QuietTime `json:"QuietTime,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 *ApplicationSettings) AWSCloudFormationType() string { - return "AWS::Pinpoint::ApplicationSettings" -} - -// 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 (r ApplicationSettings) MarshalJSON() ([]byte, error) { - type Properties ApplicationSettings - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ApplicationSettings) UnmarshalJSON(b []byte) error { - type Properties ApplicationSettings - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ApplicationSettings(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_campaignhook.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_campaignhook.go deleted file mode 100644 index 94f6c23d5c..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_campaignhook.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationSettings_CampaignHook AWS CloudFormation Resource (AWS::Pinpoint::ApplicationSettings.CampaignHook) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-campaignhook.html -type ApplicationSettings_CampaignHook struct { - - // LambdaFunctionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-campaignhook.html#cfn-pinpoint-applicationsettings-campaignhook-lambdafunctionname - LambdaFunctionName *types.Value `json:"LambdaFunctionName,omitempty"` - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-campaignhook.html#cfn-pinpoint-applicationsettings-campaignhook-mode - Mode *types.Value `json:"Mode,omitempty"` - - // WebUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-campaignhook.html#cfn-pinpoint-applicationsettings-campaignhook-weburl - WebUrl *types.Value `json:"WebUrl,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 *ApplicationSettings_CampaignHook) AWSCloudFormationType() string { - return "AWS::Pinpoint::ApplicationSettings.CampaignHook" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_limits.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_limits.go deleted file mode 100644 index daac90c9bd..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_limits.go +++ /dev/null @@ -1,52 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationSettings_Limits AWS CloudFormation Resource (AWS::Pinpoint::ApplicationSettings.Limits) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-limits.html -type ApplicationSettings_Limits struct { - - // Daily AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-limits.html#cfn-pinpoint-applicationsettings-limits-daily - Daily *types.Value `json:"Daily,omitempty"` - - // MaximumDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-limits.html#cfn-pinpoint-applicationsettings-limits-maximumduration - MaximumDuration *types.Value `json:"MaximumDuration,omitempty"` - - // MessagesPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-limits.html#cfn-pinpoint-applicationsettings-limits-messagespersecond - MessagesPerSecond *types.Value `json:"MessagesPerSecond,omitempty"` - - // Total AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-limits.html#cfn-pinpoint-applicationsettings-limits-total - Total *types.Value `json:"Total,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 *ApplicationSettings_Limits) AWSCloudFormationType() string { - return "AWS::Pinpoint::ApplicationSettings.Limits" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_quiettime.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_quiettime.go deleted file mode 100644 index 03bb87b548..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-applicationsettings_quiettime.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ApplicationSettings_QuietTime AWS CloudFormation Resource (AWS::Pinpoint::ApplicationSettings.QuietTime) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-quiettime.html -type ApplicationSettings_QuietTime struct { - - // End AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-quiettime.html#cfn-pinpoint-applicationsettings-quiettime-end - End *types.Value `json:"End,omitempty"` - - // Start AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-applicationsettings-quiettime.html#cfn-pinpoint-applicationsettings-quiettime-start - Start *types.Value `json:"Start,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 *ApplicationSettings_QuietTime) AWSCloudFormationType() string { - return "AWS::Pinpoint::ApplicationSettings.QuietTime" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-baiduchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-baiduchannel.go deleted file mode 100644 index a7e474c8a4..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-baiduchannel.go +++ /dev/null @@ -1,123 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// BaiduChannel AWS CloudFormation Resource (AWS::Pinpoint::BaiduChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html -type BaiduChannel struct { - - // ApiKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-apikey - ApiKey *types.Value `json:"ApiKey,omitempty"` - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // SecretKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-baiduchannel.html#cfn-pinpoint-baiduchannel-secretkey - SecretKey *types.Value `json:"SecretKey,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 *BaiduChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::BaiduChannel" -} - -// 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 (r BaiduChannel) MarshalJSON() ([]byte, error) { - type Properties BaiduChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BaiduChannel) UnmarshalJSON(b []byte) error { - type Properties BaiduChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = BaiduChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign.go deleted file mode 100644 index 0882634b2a..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign.go +++ /dev/null @@ -1,183 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign AWS CloudFormation Resource (AWS::Pinpoint::Campaign) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html -type Campaign struct { - - // AdditionalTreatments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-additionaltreatments - AdditionalTreatments []Campaign_WriteTreatmentResource `json:"AdditionalTreatments,omitempty"` - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // CampaignHook AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-campaignhook - CampaignHook *Campaign_CampaignHook `json:"CampaignHook,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-description - Description *types.Value `json:"Description,omitempty"` - - // HoldoutPercent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-holdoutpercent - HoldoutPercent *types.Value `json:"HoldoutPercent,omitempty"` - - // IsPaused AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-ispaused - IsPaused *types.Value `json:"IsPaused,omitempty"` - - // Limits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-limits - Limits *Campaign_Limits `json:"Limits,omitempty"` - - // MessageConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-messageconfiguration - MessageConfiguration *Campaign_MessageConfiguration `json:"MessageConfiguration,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-priority - Priority *types.Value `json:"Priority,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-schedule - Schedule *Campaign_Schedule `json:"Schedule,omitempty"` - - // SegmentId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-segmentid - SegmentId *types.Value `json:"SegmentId,omitempty"` - - // SegmentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-segmentversion - SegmentVersion *types.Value `json:"SegmentVersion,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-tags - Tags interface{} `json:"Tags,omitempty"` - - // TreatmentDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-treatmentdescription - TreatmentDescription *types.Value `json:"TreatmentDescription,omitempty"` - - // TreatmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-campaign.html#cfn-pinpoint-campaign-treatmentname - TreatmentName *types.Value `json:"TreatmentName,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 *Campaign) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign" -} - -// 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 (r Campaign) MarshalJSON() ([]byte, error) { - type Properties Campaign - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Campaign) UnmarshalJSON(b []byte) error { - type Properties Campaign - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Campaign(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_attributedimension.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_attributedimension.go deleted file mode 100644 index 712d0475cc..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_attributedimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_AttributeDimension AWS CloudFormation Resource (AWS::Pinpoint::Campaign.AttributeDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-attributedimension.html -type Campaign_AttributeDimension struct { - - // AttributeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-attributedimension.html#cfn-pinpoint-campaign-attributedimension-attributetype - AttributeType *types.Value `json:"AttributeType,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-attributedimension.html#cfn-pinpoint-campaign-attributedimension-values - Values *types.Value `json:"Values,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 *Campaign_AttributeDimension) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.AttributeDimension" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignemailmessage.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignemailmessage.go deleted file mode 100644 index 8957e14fda..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignemailmessage.go +++ /dev/null @@ -1,52 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_CampaignEmailMessage AWS CloudFormation Resource (AWS::Pinpoint::Campaign.CampaignEmailMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignemailmessage.html -type Campaign_CampaignEmailMessage struct { - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignemailmessage.html#cfn-pinpoint-campaign-campaignemailmessage-body - Body *types.Value `json:"Body,omitempty"` - - // FromAddress AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignemailmessage.html#cfn-pinpoint-campaign-campaignemailmessage-fromaddress - FromAddress *types.Value `json:"FromAddress,omitempty"` - - // HtmlBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignemailmessage.html#cfn-pinpoint-campaign-campaignemailmessage-htmlbody - HtmlBody *types.Value `json:"HtmlBody,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignemailmessage.html#cfn-pinpoint-campaign-campaignemailmessage-title - Title *types.Value `json:"Title,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 *Campaign_CampaignEmailMessage) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.CampaignEmailMessage" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigneventfilter.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigneventfilter.go deleted file mode 100644 index b204858961..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigneventfilter.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_CampaignEventFilter AWS CloudFormation Resource (AWS::Pinpoint::Campaign.CampaignEventFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html -type Campaign_CampaignEventFilter struct { - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html#cfn-pinpoint-campaign-campaigneventfilter-dimensions - Dimensions *Campaign_EventDimensions `json:"Dimensions,omitempty"` - - // FilterType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigneventfilter.html#cfn-pinpoint-campaign-campaigneventfilter-filtertype - FilterType *types.Value `json:"FilterType,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 *Campaign_CampaignEventFilter) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.CampaignEventFilter" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignhook.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignhook.go deleted file mode 100644 index d908ab9e8f..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignhook.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_CampaignHook AWS CloudFormation Resource (AWS::Pinpoint::Campaign.CampaignHook) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignhook.html -type Campaign_CampaignHook struct { - - // LambdaFunctionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignhook.html#cfn-pinpoint-campaign-campaignhook-lambdafunctionname - LambdaFunctionName *types.Value `json:"LambdaFunctionName,omitempty"` - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignhook.html#cfn-pinpoint-campaign-campaignhook-mode - Mode *types.Value `json:"Mode,omitempty"` - - // WebUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignhook.html#cfn-pinpoint-campaign-campaignhook-weburl - WebUrl *types.Value `json:"WebUrl,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 *Campaign_CampaignHook) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.CampaignHook" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigninappmessage.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigninappmessage.go deleted file mode 100644 index dfd01e4a42..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaigninappmessage.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_CampaignInAppMessage AWS CloudFormation Resource (AWS::Pinpoint::Campaign.CampaignInAppMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.html -type Campaign_CampaignInAppMessage struct { - - // Content AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.html#cfn-pinpoint-campaign-campaigninappmessage-content - Content []Campaign_InAppMessageContent `json:"Content,omitempty"` - - // CustomConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.html#cfn-pinpoint-campaign-campaigninappmessage-customconfig - CustomConfig interface{} `json:"CustomConfig,omitempty"` - - // Layout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.html#cfn-pinpoint-campaign-campaigninappmessage-layout - Layout *types.Value `json:"Layout,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 *Campaign_CampaignInAppMessage) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.CampaignInAppMessage" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignsmsmessage.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignsmsmessage.go deleted file mode 100644 index d6df7a43da..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_campaignsmsmessage.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_CampaignSmsMessage AWS CloudFormation Resource (AWS::Pinpoint::Campaign.CampaignSmsMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html -type Campaign_CampaignSmsMessage struct { - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body - Body *types.Value `json:"Body,omitempty"` - - // EntityId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-entityid - EntityId *types.Value `json:"EntityId,omitempty"` - - // MessageType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype - MessageType *types.Value `json:"MessageType,omitempty"` - - // OriginationNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-originationnumber - OriginationNumber *types.Value `json:"OriginationNumber,omitempty"` - - // SenderId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid - SenderId *types.Value `json:"SenderId,omitempty"` - - // TemplateId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-templateid - TemplateId *types.Value `json:"TemplateId,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 *Campaign_CampaignSmsMessage) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.CampaignSmsMessage" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_defaultbuttonconfiguration.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_defaultbuttonconfiguration.go deleted file mode 100644 index 8c130aa5cc..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_defaultbuttonconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_DefaultButtonConfiguration AWS CloudFormation Resource (AWS::Pinpoint::Campaign.DefaultButtonConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html -type Campaign_DefaultButtonConfiguration struct { - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BorderRadius AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-borderradius - BorderRadius *types.Value `json:"BorderRadius,omitempty"` - - // ButtonAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-buttonaction - ButtonAction *types.Value `json:"ButtonAction,omitempty"` - - // Link AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-link - Link *types.Value `json:"Link,omitempty"` - - // Text AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-text - Text *types.Value `json:"Text,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-textcolor - TextColor *types.Value `json:"TextColor,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 *Campaign_DefaultButtonConfiguration) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.DefaultButtonConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_eventdimensions.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_eventdimensions.go deleted file mode 100644 index 61c1a28daa..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_eventdimensions.go +++ /dev/null @@ -1,45 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_EventDimensions AWS CloudFormation Resource (AWS::Pinpoint::Campaign.EventDimensions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-eventdimensions.html -type Campaign_EventDimensions struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-eventdimensions.html#cfn-pinpoint-campaign-eventdimensions-attributes - Attributes interface{} `json:"Attributes,omitempty"` - - // EventType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-eventdimensions.html#cfn-pinpoint-campaign-eventdimensions-eventtype - EventType *Campaign_SetDimension `json:"EventType,omitempty"` - - // Metrics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-eventdimensions.html#cfn-pinpoint-campaign-eventdimensions-metrics - Metrics interface{} `json:"Metrics,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 *Campaign_EventDimensions) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.EventDimensions" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebodyconfig.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebodyconfig.go deleted file mode 100644 index 23f7e33234..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebodyconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_InAppMessageBodyConfig AWS CloudFormation Resource (AWS::Pinpoint::Campaign.InAppMessageBodyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebodyconfig.html -type Campaign_InAppMessageBodyConfig struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebodyconfig.html#cfn-pinpoint-campaign-inappmessagebodyconfig-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebodyconfig.html#cfn-pinpoint-campaign-inappmessagebodyconfig-body - Body *types.Value `json:"Body,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebodyconfig.html#cfn-pinpoint-campaign-inappmessagebodyconfig-textcolor - TextColor *types.Value `json:"TextColor,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 *Campaign_InAppMessageBodyConfig) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.InAppMessageBodyConfig" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebutton.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebutton.go deleted file mode 100644 index bbcb1a5d18..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagebutton.go +++ /dev/null @@ -1,50 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_InAppMessageButton AWS CloudFormation Resource (AWS::Pinpoint::Campaign.InAppMessageButton) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebutton.html -type Campaign_InAppMessageButton struct { - - // Android AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebutton.html#cfn-pinpoint-campaign-inappmessagebutton-android - Android *Campaign_OverrideButtonConfiguration `json:"Android,omitempty"` - - // DefaultConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebutton.html#cfn-pinpoint-campaign-inappmessagebutton-defaultconfig - DefaultConfig *Campaign_DefaultButtonConfiguration `json:"DefaultConfig,omitempty"` - - // IOS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebutton.html#cfn-pinpoint-campaign-inappmessagebutton-ios - IOS *Campaign_OverrideButtonConfiguration `json:"IOS,omitempty"` - - // Web AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagebutton.html#cfn-pinpoint-campaign-inappmessagebutton-web - Web *Campaign_OverrideButtonConfiguration `json:"Web,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 *Campaign_InAppMessageButton) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.InAppMessageButton" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagecontent.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagecontent.go deleted file mode 100644 index 8396457220..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessagecontent.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_InAppMessageContent AWS CloudFormation Resource (AWS::Pinpoint::Campaign.InAppMessageContent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html -type Campaign_InAppMessageContent struct { - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BodyConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-bodyconfig - BodyConfig *Campaign_InAppMessageBodyConfig `json:"BodyConfig,omitempty"` - - // HeaderConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-headerconfig - HeaderConfig *Campaign_InAppMessageHeaderConfig `json:"HeaderConfig,omitempty"` - - // ImageUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-imageurl - ImageUrl *types.Value `json:"ImageUrl,omitempty"` - - // PrimaryBtn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-primarybtn - PrimaryBtn *Campaign_InAppMessageButton `json:"PrimaryBtn,omitempty"` - - // SecondaryBtn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessagecontent.html#cfn-pinpoint-campaign-inappmessagecontent-secondarybtn - SecondaryBtn *Campaign_InAppMessageButton `json:"SecondaryBtn,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 *Campaign_InAppMessageContent) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.InAppMessageContent" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessageheaderconfig.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessageheaderconfig.go deleted file mode 100644 index 5d2fb55398..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_inappmessageheaderconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_InAppMessageHeaderConfig AWS CloudFormation Resource (AWS::Pinpoint::Campaign.InAppMessageHeaderConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessageheaderconfig.html -type Campaign_InAppMessageHeaderConfig struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessageheaderconfig.html#cfn-pinpoint-campaign-inappmessageheaderconfig-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // Header AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessageheaderconfig.html#cfn-pinpoint-campaign-inappmessageheaderconfig-header - Header *types.Value `json:"Header,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-inappmessageheaderconfig.html#cfn-pinpoint-campaign-inappmessageheaderconfig-textcolor - TextColor *types.Value `json:"TextColor,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 *Campaign_InAppMessageHeaderConfig) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.InAppMessageHeaderConfig" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_limits.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_limits.go deleted file mode 100644 index 5f84a11c69..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_limits.go +++ /dev/null @@ -1,57 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_Limits AWS CloudFormation Resource (AWS::Pinpoint::Campaign.Limits) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html -type Campaign_Limits struct { - - // Daily AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html#cfn-pinpoint-campaign-limits-daily - Daily *types.Value `json:"Daily,omitempty"` - - // MaximumDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html#cfn-pinpoint-campaign-limits-maximumduration - MaximumDuration *types.Value `json:"MaximumDuration,omitempty"` - - // MessagesPerSecond AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html#cfn-pinpoint-campaign-limits-messagespersecond - MessagesPerSecond *types.Value `json:"MessagesPerSecond,omitempty"` - - // Session AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html#cfn-pinpoint-campaign-limits-session - Session *types.Value `json:"Session,omitempty"` - - // Total AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-limits.html#cfn-pinpoint-campaign-limits-total - Total *types.Value `json:"Total,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 *Campaign_Limits) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.Limits" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_message.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_message.go deleted file mode 100644 index aeac4ea37d..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_message.go +++ /dev/null @@ -1,92 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_Message AWS CloudFormation Resource (AWS::Pinpoint::Campaign.Message) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html -type Campaign_Message struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-action - Action *types.Value `json:"Action,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-body - Body *types.Value `json:"Body,omitempty"` - - // ImageIconUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-imageiconurl - ImageIconUrl *types.Value `json:"ImageIconUrl,omitempty"` - - // ImageSmallIconUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-imagesmalliconurl - ImageSmallIconUrl *types.Value `json:"ImageSmallIconUrl,omitempty"` - - // ImageUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-imageurl - ImageUrl *types.Value `json:"ImageUrl,omitempty"` - - // JsonBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-jsonbody - JsonBody *types.Value `json:"JsonBody,omitempty"` - - // MediaUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-mediaurl - MediaUrl *types.Value `json:"MediaUrl,omitempty"` - - // RawContent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-rawcontent - RawContent *types.Value `json:"RawContent,omitempty"` - - // SilentPush AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-silentpush - SilentPush *types.Value `json:"SilentPush,omitempty"` - - // TimeToLive AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-timetolive - TimeToLive *types.Value `json:"TimeToLive,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-title - Title *types.Value `json:"Title,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-message.html#cfn-pinpoint-campaign-message-url - Url *types.Value `json:"Url,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 *Campaign_Message) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.Message" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_messageconfiguration.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_messageconfiguration.go deleted file mode 100644 index cb96eb4df4..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_messageconfiguration.go +++ /dev/null @@ -1,70 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_MessageConfiguration AWS CloudFormation Resource (AWS::Pinpoint::Campaign.MessageConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html -type Campaign_MessageConfiguration struct { - - // ADMMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-admmessage - ADMMessage *Campaign_Message `json:"ADMMessage,omitempty"` - - // APNSMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-apnsmessage - APNSMessage *Campaign_Message `json:"APNSMessage,omitempty"` - - // BaiduMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-baidumessage - BaiduMessage *Campaign_Message `json:"BaiduMessage,omitempty"` - - // DefaultMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-defaultmessage - DefaultMessage *Campaign_Message `json:"DefaultMessage,omitempty"` - - // EmailMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-emailmessage - EmailMessage *Campaign_CampaignEmailMessage `json:"EmailMessage,omitempty"` - - // GCMMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-gcmmessage - GCMMessage *Campaign_Message `json:"GCMMessage,omitempty"` - - // InAppMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-inappmessage - InAppMessage *Campaign_CampaignInAppMessage `json:"InAppMessage,omitempty"` - - // SMSMessage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-messageconfiguration.html#cfn-pinpoint-campaign-messageconfiguration-smsmessage - SMSMessage *Campaign_CampaignSmsMessage `json:"SMSMessage,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 *Campaign_MessageConfiguration) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.MessageConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_metricdimension.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_metricdimension.go deleted file mode 100644 index d9f5f3c23c..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_metricdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_MetricDimension AWS CloudFormation Resource (AWS::Pinpoint::Campaign.MetricDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-metricdimension.html -type Campaign_MetricDimension struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-metricdimension.html#cfn-pinpoint-campaign-metricdimension-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-metricdimension.html#cfn-pinpoint-campaign-metricdimension-value - Value *types.Value `json:"Value,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 *Campaign_MetricDimension) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.MetricDimension" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_overridebuttonconfiguration.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_overridebuttonconfiguration.go deleted file mode 100644 index 4c4b780153..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_overridebuttonconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_OverrideButtonConfiguration AWS CloudFormation Resource (AWS::Pinpoint::Campaign.OverrideButtonConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-overridebuttonconfiguration.html -type Campaign_OverrideButtonConfiguration struct { - - // ButtonAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-overridebuttonconfiguration.html#cfn-pinpoint-campaign-overridebuttonconfiguration-buttonaction - ButtonAction *types.Value `json:"ButtonAction,omitempty"` - - // Link AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-overridebuttonconfiguration.html#cfn-pinpoint-campaign-overridebuttonconfiguration-link - Link *types.Value `json:"Link,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 *Campaign_OverrideButtonConfiguration) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.OverrideButtonConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_quiettime.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_quiettime.go deleted file mode 100644 index d2e73b9734..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_quiettime.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_QuietTime AWS CloudFormation Resource (AWS::Pinpoint::Campaign.QuietTime) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html -type Campaign_QuietTime struct { - - // End AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-end - End *types.Value `json:"End,omitempty"` - - // Start AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule-quiettime.html#cfn-pinpoint-campaign-schedule-quiettime-start - Start *types.Value `json:"Start,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 *Campaign_QuietTime) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.QuietTime" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_schedule.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_schedule.go deleted file mode 100644 index 51ac2e32d2..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_schedule.go +++ /dev/null @@ -1,67 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_Schedule AWS CloudFormation Resource (AWS::Pinpoint::Campaign.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html -type Campaign_Schedule struct { - - // EndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-endtime - EndTime *types.Value `json:"EndTime,omitempty"` - - // EventFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-eventfilter - EventFilter *Campaign_CampaignEventFilter `json:"EventFilter,omitempty"` - - // Frequency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-frequency - Frequency *types.Value `json:"Frequency,omitempty"` - - // IsLocalTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-islocaltime - IsLocalTime *types.Value `json:"IsLocalTime,omitempty"` - - // QuietTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-quiettime - QuietTime *Campaign_QuietTime `json:"QuietTime,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-starttime - StartTime *types.Value `json:"StartTime,omitempty"` - - // TimeZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-schedule.html#cfn-pinpoint-campaign-schedule-timezone - TimeZone *types.Value `json:"TimeZone,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 *Campaign_Schedule) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.Schedule" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_setdimension.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_setdimension.go deleted file mode 100644 index 88423c6255..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_setdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_SetDimension AWS CloudFormation Resource (AWS::Pinpoint::Campaign.SetDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-setdimension.html -type Campaign_SetDimension struct { - - // DimensionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-setdimension.html#cfn-pinpoint-campaign-setdimension-dimensiontype - DimensionType *types.Value `json:"DimensionType,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-setdimension.html#cfn-pinpoint-campaign-setdimension-values - Values *types.Value `json:"Values,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 *Campaign_SetDimension) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.SetDimension" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_writetreatmentresource.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_writetreatmentresource.go deleted file mode 100644 index 13c064a060..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-campaign_writetreatmentresource.go +++ /dev/null @@ -1,57 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Campaign_WriteTreatmentResource AWS CloudFormation Resource (AWS::Pinpoint::Campaign.WriteTreatmentResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html -type Campaign_WriteTreatmentResource struct { - - // MessageConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html#cfn-pinpoint-campaign-writetreatmentresource-messageconfiguration - MessageConfiguration *Campaign_MessageConfiguration `json:"MessageConfiguration,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html#cfn-pinpoint-campaign-writetreatmentresource-schedule - Schedule *Campaign_Schedule `json:"Schedule,omitempty"` - - // SizePercent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html#cfn-pinpoint-campaign-writetreatmentresource-sizepercent - SizePercent *types.Value `json:"SizePercent,omitempty"` - - // TreatmentDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html#cfn-pinpoint-campaign-writetreatmentresource-treatmentdescription - TreatmentDescription *types.Value `json:"TreatmentDescription,omitempty"` - - // TreatmentName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-writetreatmentresource.html#cfn-pinpoint-campaign-writetreatmentresource-treatmentname - TreatmentName *types.Value `json:"TreatmentName,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 *Campaign_WriteTreatmentResource) AWSCloudFormationType() string { - return "AWS::Pinpoint::Campaign.WriteTreatmentResource" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailchannel.go deleted file mode 100644 index de2e47f7b2..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailchannel.go +++ /dev/null @@ -1,133 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EmailChannel AWS CloudFormation Resource (AWS::Pinpoint::EmailChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html -type EmailChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // ConfigurationSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-configurationset - ConfigurationSet *types.Value `json:"ConfigurationSet,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // FromAddress AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-fromaddress - FromAddress *types.Value `json:"FromAddress,omitempty"` - - // Identity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-identity - Identity *types.Value `json:"Identity,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-rolearn - RoleArn *types.Value `json:"RoleArn,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 *EmailChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::EmailChannel" -} - -// 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 (r EmailChannel) MarshalJSON() ([]byte, error) { - type Properties EmailChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EmailChannel) UnmarshalJSON(b []byte) error { - type Properties EmailChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EmailChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailtemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailtemplate.go deleted file mode 100644 index 615670431b..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-emailtemplate.go +++ /dev/null @@ -1,138 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EmailTemplate AWS CloudFormation Resource (AWS::Pinpoint::EmailTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html -type EmailTemplate struct { - - // DefaultSubstitutions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-defaultsubstitutions - DefaultSubstitutions *types.Value `json:"DefaultSubstitutions,omitempty"` - - // HtmlPart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-htmlpart - HtmlPart *types.Value `json:"HtmlPart,omitempty"` - - // Subject AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-subject - Subject *types.Value `json:"Subject,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-tags - Tags interface{} `json:"Tags,omitempty"` - - // TemplateDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-templatedescription - TemplateDescription *types.Value `json:"TemplateDescription,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-templatename - TemplateName *types.Value `json:"TemplateName,omitempty"` - - // TextPart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailtemplate.html#cfn-pinpoint-emailtemplate-textpart - TextPart *types.Value `json:"TextPart,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 *EmailTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::EmailTemplate" -} - -// 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 (r EmailTemplate) MarshalJSON() ([]byte, error) { - type Properties EmailTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EmailTemplate) UnmarshalJSON(b []byte) error { - type Properties EmailTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EmailTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-eventstream.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-eventstream.go deleted file mode 100644 index 22e2f90b9b..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-eventstream.go +++ /dev/null @@ -1,118 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventStream AWS CloudFormation Resource (AWS::Pinpoint::EventStream) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-eventstream.html -type EventStream struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-eventstream.html#cfn-pinpoint-eventstream-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // DestinationStreamArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-eventstream.html#cfn-pinpoint-eventstream-destinationstreamarn - DestinationStreamArn *types.Value `json:"DestinationStreamArn,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-eventstream.html#cfn-pinpoint-eventstream-rolearn - RoleArn *types.Value `json:"RoleArn,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 *EventStream) AWSCloudFormationType() string { - return "AWS::Pinpoint::EventStream" -} - -// 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 (r EventStream) MarshalJSON() ([]byte, error) { - type Properties EventStream - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EventStream) UnmarshalJSON(b []byte) error { - type Properties EventStream - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EventStream(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-gcmchannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-gcmchannel.go deleted file mode 100644 index 37ec0e3c67..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-gcmchannel.go +++ /dev/null @@ -1,118 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GCMChannel AWS CloudFormation Resource (AWS::Pinpoint::GCMChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html -type GCMChannel struct { - - // ApiKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html#cfn-pinpoint-gcmchannel-apikey - ApiKey *types.Value `json:"ApiKey,omitempty"` - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html#cfn-pinpoint-gcmchannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-gcmchannel.html#cfn-pinpoint-gcmchannel-enabled - Enabled *types.Value `json:"Enabled,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 *GCMChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::GCMChannel" -} - -// 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 (r GCMChannel) MarshalJSON() ([]byte, error) { - type Properties GCMChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GCMChannel) UnmarshalJSON(b []byte) error { - type Properties GCMChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GCMChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate.go deleted file mode 100644 index ab121d3e65..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate.go +++ /dev/null @@ -1,133 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html -type InAppTemplate struct { - - // Content AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-content - Content []InAppTemplate_InAppMessageContent `json:"Content,omitempty"` - - // CustomConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-customconfig - CustomConfig interface{} `json:"CustomConfig,omitempty"` - - // Layout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-layout - Layout *types.Value `json:"Layout,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-tags - Tags interface{} `json:"Tags,omitempty"` - - // TemplateDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-templatedescription - TemplateDescription *types.Value `json:"TemplateDescription,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-templatename - TemplateName *types.Value `json:"TemplateName,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 *InAppTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate" -} - -// 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 (r InAppTemplate) MarshalJSON() ([]byte, error) { - type Properties InAppTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InAppTemplate) UnmarshalJSON(b []byte) error { - type Properties InAppTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InAppTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_bodyconfig.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_bodyconfig.go deleted file mode 100644 index e1b432d50e..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_bodyconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_BodyConfig AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.BodyConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html -type InAppTemplate_BodyConfig struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html#cfn-pinpoint-inapptemplate-bodyconfig-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html#cfn-pinpoint-inapptemplate-bodyconfig-body - Body *types.Value `json:"Body,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html#cfn-pinpoint-inapptemplate-bodyconfig-textcolor - TextColor *types.Value `json:"TextColor,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 *InAppTemplate_BodyConfig) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.BodyConfig" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_buttonconfig.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_buttonconfig.go deleted file mode 100644 index d733eac51b..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_buttonconfig.go +++ /dev/null @@ -1,50 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_ButtonConfig AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.ButtonConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html -type InAppTemplate_ButtonConfig struct { - - // Android AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html#cfn-pinpoint-inapptemplate-buttonconfig-android - Android *InAppTemplate_OverrideButtonConfiguration `json:"Android,omitempty"` - - // DefaultConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html#cfn-pinpoint-inapptemplate-buttonconfig-defaultconfig - DefaultConfig *InAppTemplate_DefaultButtonConfiguration `json:"DefaultConfig,omitempty"` - - // IOS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html#cfn-pinpoint-inapptemplate-buttonconfig-ios - IOS *InAppTemplate_OverrideButtonConfiguration `json:"IOS,omitempty"` - - // Web AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html#cfn-pinpoint-inapptemplate-buttonconfig-web - Web *InAppTemplate_OverrideButtonConfiguration `json:"Web,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 *InAppTemplate_ButtonConfig) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.ButtonConfig" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_defaultbuttonconfiguration.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_defaultbuttonconfiguration.go deleted file mode 100644 index 0957578a3b..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_defaultbuttonconfiguration.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_DefaultButtonConfiguration AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html -type InAppTemplate_DefaultButtonConfiguration struct { - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BorderRadius AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-borderradius - BorderRadius *types.Value `json:"BorderRadius,omitempty"` - - // ButtonAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-buttonaction - ButtonAction *types.Value `json:"ButtonAction,omitempty"` - - // Link AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-link - Link *types.Value `json:"Link,omitempty"` - - // Text AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-text - Text *types.Value `json:"Text,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-textcolor - TextColor *types.Value `json:"TextColor,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 *InAppTemplate_DefaultButtonConfiguration) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_headerconfig.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_headerconfig.go deleted file mode 100644 index 5696e494b4..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_headerconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_HeaderConfig AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.HeaderConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html -type InAppTemplate_HeaderConfig struct { - - // Alignment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html#cfn-pinpoint-inapptemplate-headerconfig-alignment - Alignment *types.Value `json:"Alignment,omitempty"` - - // Header AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html#cfn-pinpoint-inapptemplate-headerconfig-header - Header *types.Value `json:"Header,omitempty"` - - // TextColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html#cfn-pinpoint-inapptemplate-headerconfig-textcolor - TextColor *types.Value `json:"TextColor,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 *InAppTemplate_HeaderConfig) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.HeaderConfig" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_inappmessagecontent.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_inappmessagecontent.go deleted file mode 100644 index 31524a9010..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_inappmessagecontent.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_InAppMessageContent AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.InAppMessageContent) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html -type InAppTemplate_InAppMessageContent struct { - - // BackgroundColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-backgroundcolor - BackgroundColor *types.Value `json:"BackgroundColor,omitempty"` - - // BodyConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-bodyconfig - BodyConfig *InAppTemplate_BodyConfig `json:"BodyConfig,omitempty"` - - // HeaderConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-headerconfig - HeaderConfig *InAppTemplate_HeaderConfig `json:"HeaderConfig,omitempty"` - - // ImageUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-imageurl - ImageUrl *types.Value `json:"ImageUrl,omitempty"` - - // PrimaryBtn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-primarybtn - PrimaryBtn *InAppTemplate_ButtonConfig `json:"PrimaryBtn,omitempty"` - - // SecondaryBtn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-secondarybtn - SecondaryBtn *InAppTemplate_ButtonConfig `json:"SecondaryBtn,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 *InAppTemplate_InAppMessageContent) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.InAppMessageContent" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_overridebuttonconfiguration.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_overridebuttonconfiguration.go deleted file mode 100644 index ac13df35ec..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-inapptemplate_overridebuttonconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InAppTemplate_OverrideButtonConfiguration AWS CloudFormation Resource (AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-overridebuttonconfiguration.html -type InAppTemplate_OverrideButtonConfiguration struct { - - // ButtonAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-overridebuttonconfiguration.html#cfn-pinpoint-inapptemplate-overridebuttonconfiguration-buttonaction - ButtonAction *types.Value `json:"ButtonAction,omitempty"` - - // Link AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-overridebuttonconfiguration.html#cfn-pinpoint-inapptemplate-overridebuttonconfiguration-link - Link *types.Value `json:"Link,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 *InAppTemplate_OverrideButtonConfiguration) AWSCloudFormationType() string { - return "AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate.go deleted file mode 100644 index e1dc77a7bd..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate.go +++ /dev/null @@ -1,148 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PushTemplate AWS CloudFormation Resource (AWS::Pinpoint::PushTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html -type PushTemplate struct { - - // ADM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-adm - ADM *PushTemplate_AndroidPushNotificationTemplate `json:"ADM,omitempty"` - - // APNS AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-apns - APNS *PushTemplate_APNSPushNotificationTemplate `json:"APNS,omitempty"` - - // Baidu AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-baidu - Baidu *PushTemplate_AndroidPushNotificationTemplate `json:"Baidu,omitempty"` - - // Default AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-default - Default *PushTemplate_DefaultPushNotificationTemplate `json:"Default,omitempty"` - - // DefaultSubstitutions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-defaultsubstitutions - DefaultSubstitutions *types.Value `json:"DefaultSubstitutions,omitempty"` - - // GCM AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-gcm - GCM *PushTemplate_AndroidPushNotificationTemplate `json:"GCM,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-tags - Tags interface{} `json:"Tags,omitempty"` - - // TemplateDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-templatedescription - TemplateDescription *types.Value `json:"TemplateDescription,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html#cfn-pinpoint-pushtemplate-templatename - TemplateName *types.Value `json:"TemplateName,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 *PushTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::PushTemplate" -} - -// 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 (r PushTemplate) MarshalJSON() ([]byte, error) { - type Properties PushTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PushTemplate) UnmarshalJSON(b []byte) error { - type Properties PushTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PushTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_androidpushnotificationtemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_androidpushnotificationtemplate.go deleted file mode 100644 index 7ec5f81132..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_androidpushnotificationtemplate.go +++ /dev/null @@ -1,72 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PushTemplate_AndroidPushNotificationTemplate AWS CloudFormation Resource (AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html -type PushTemplate_AndroidPushNotificationTemplate struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-action - Action *types.Value `json:"Action,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-body - Body *types.Value `json:"Body,omitempty"` - - // ImageIconUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-imageiconurl - ImageIconUrl *types.Value `json:"ImageIconUrl,omitempty"` - - // ImageUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-imageurl - ImageUrl *types.Value `json:"ImageUrl,omitempty"` - - // SmallImageIconUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-smallimageiconurl - SmallImageIconUrl *types.Value `json:"SmallImageIconUrl,omitempty"` - - // Sound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-sound - Sound *types.Value `json:"Sound,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-title - Title *types.Value `json:"Title,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-androidpushnotificationtemplate-url - Url *types.Value `json:"Url,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 *PushTemplate_AndroidPushNotificationTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_apnspushnotificationtemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_apnspushnotificationtemplate.go deleted file mode 100644 index 55fe2ee079..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_apnspushnotificationtemplate.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PushTemplate_APNSPushNotificationTemplate AWS CloudFormation Resource (AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html -type PushTemplate_APNSPushNotificationTemplate struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-action - Action *types.Value `json:"Action,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-body - Body *types.Value `json:"Body,omitempty"` - - // MediaUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-mediaurl - MediaUrl *types.Value `json:"MediaUrl,omitempty"` - - // Sound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-sound - Sound *types.Value `json:"Sound,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-title - Title *types.Value `json:"Title,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html#cfn-pinpoint-pushtemplate-apnspushnotificationtemplate-url - Url *types.Value `json:"Url,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 *PushTemplate_APNSPushNotificationTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_defaultpushnotificationtemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_defaultpushnotificationtemplate.go deleted file mode 100644 index 34544c0319..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-pushtemplate_defaultpushnotificationtemplate.go +++ /dev/null @@ -1,57 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PushTemplate_DefaultPushNotificationTemplate AWS CloudFormation Resource (AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html -type PushTemplate_DefaultPushNotificationTemplate struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-defaultpushnotificationtemplate-action - Action *types.Value `json:"Action,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-defaultpushnotificationtemplate-body - Body *types.Value `json:"Body,omitempty"` - - // Sound AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-defaultpushnotificationtemplate-sound - Sound *types.Value `json:"Sound,omitempty"` - - // Title AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-defaultpushnotificationtemplate-title - Title *types.Value `json:"Title,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html#cfn-pinpoint-pushtemplate-defaultpushnotificationtemplate-url - Url *types.Value `json:"Url,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 *PushTemplate_DefaultPushNotificationTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment.go deleted file mode 100644 index 55ac5ca96a..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment.go +++ /dev/null @@ -1,128 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment AWS CloudFormation Resource (AWS::Pinpoint::Segment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html -type Segment struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-dimensions - Dimensions *Segment_SegmentDimensions `json:"Dimensions,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-name - Name *types.Value `json:"Name,omitempty"` - - // SegmentGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-segmentgroups - SegmentGroups *Segment_SegmentGroups `json:"SegmentGroups,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-segment.html#cfn-pinpoint-segment-tags - Tags interface{} `json:"Tags,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 *Segment) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment" -} - -// 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 (r Segment) MarshalJSON() ([]byte, error) { - type Properties Segment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Segment) UnmarshalJSON(b []byte) error { - type Properties Segment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Segment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_attributedimension.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_attributedimension.go deleted file mode 100644 index 6d7643912a..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_attributedimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_AttributeDimension AWS CloudFormation Resource (AWS::Pinpoint::Segment.AttributeDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-attributedimension.html -type Segment_AttributeDimension struct { - - // AttributeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-attributedimension.html#cfn-pinpoint-segment-attributedimension-attributetype - AttributeType *types.Value `json:"AttributeType,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-attributedimension.html#cfn-pinpoint-segment-attributedimension-values - Values *types.Value `json:"Values,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 *Segment_AttributeDimension) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.AttributeDimension" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_behavior.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_behavior.go deleted file mode 100644 index a67ec4d400..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_behavior.go +++ /dev/null @@ -1,35 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Behavior AWS CloudFormation Resource (AWS::Pinpoint::Segment.Behavior) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior.html -type Segment_Behavior struct { - - // Recency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior.html#cfn-pinpoint-segment-segmentdimensions-behavior-recency - Recency *Segment_Recency `json:"Recency,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 *Segment_Behavior) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Behavior" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_coordinates.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_coordinates.go deleted file mode 100644 index 1345340d9f..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_coordinates.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Coordinates AWS CloudFormation Resource (AWS::Pinpoint::Segment.Coordinates) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates.html -type Segment_Coordinates struct { - - // Latitude AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates.html#cfn-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates-latitude - Latitude *types.Value `json:"Latitude"` - - // Longitude AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates.html#cfn-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates-longitude - Longitude *types.Value `json:"Longitude"` - - // 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 *Segment_Coordinates) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Coordinates" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_demographic.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_demographic.go deleted file mode 100644 index a280ae9141..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_demographic.go +++ /dev/null @@ -1,60 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Demographic AWS CloudFormation Resource (AWS::Pinpoint::Segment.Demographic) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html -type Segment_Demographic struct { - - // AppVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-appversion - AppVersion *Segment_SetDimension `json:"AppVersion,omitempty"` - - // Channel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-channel - Channel *Segment_SetDimension `json:"Channel,omitempty"` - - // DeviceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-devicetype - DeviceType *Segment_SetDimension `json:"DeviceType,omitempty"` - - // Make AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-make - Make *Segment_SetDimension `json:"Make,omitempty"` - - // Model AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-model - Model *Segment_SetDimension `json:"Model,omitempty"` - - // Platform AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-demographic.html#cfn-pinpoint-segment-segmentdimensions-demographic-platform - Platform *Segment_SetDimension `json:"Platform,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 *Segment_Demographic) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Demographic" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_gpspoint.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_gpspoint.go deleted file mode 100644 index a040f015be..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_gpspoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_GPSPoint AWS CloudFormation Resource (AWS::Pinpoint::Segment.GPSPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint.html -type Segment_GPSPoint struct { - - // Coordinates AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint.html#cfn-pinpoint-segment-segmentdimensions-location-gpspoint-coordinates - Coordinates *Segment_Coordinates `json:"Coordinates,omitempty"` - - // RangeInKilometers AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location-gpspoint.html#cfn-pinpoint-segment-segmentdimensions-location-gpspoint-rangeinkilometers - RangeInKilometers *types.Value `json:"RangeInKilometers"` - - // 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 *Segment_GPSPoint) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.GPSPoint" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_groups.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_groups.go deleted file mode 100644 index 7bb3a4c41a..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_groups.go +++ /dev/null @@ -1,52 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Groups AWS CloudFormation Resource (AWS::Pinpoint::Segment.Groups) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html -type Segment_Groups struct { - - // Dimensions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html#cfn-pinpoint-segment-segmentgroups-groups-dimensions - Dimensions []Segment_SegmentDimensions `json:"Dimensions,omitempty"` - - // SourceSegments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html#cfn-pinpoint-segment-segmentgroups-groups-sourcesegments - SourceSegments []Segment_SourceSegments `json:"SourceSegments,omitempty"` - - // SourceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html#cfn-pinpoint-segment-segmentgroups-groups-sourcetype - SourceType *types.Value `json:"SourceType,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups.html#cfn-pinpoint-segment-segmentgroups-groups-type - Type *types.Value `json:"Type,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 *Segment_Groups) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Groups" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_location.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_location.go deleted file mode 100644 index a00abde617..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_location.go +++ /dev/null @@ -1,40 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Location AWS CloudFormation Resource (AWS::Pinpoint::Segment.Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location.html -type Segment_Location struct { - - // Country AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location.html#cfn-pinpoint-segment-segmentdimensions-location-country - Country *Segment_SetDimension `json:"Country,omitempty"` - - // GPSPoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-location.html#cfn-pinpoint-segment-segmentdimensions-location-gpspoint - GPSPoint *Segment_GPSPoint `json:"GPSPoint,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 *Segment_Location) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Location" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_recency.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_recency.go deleted file mode 100644 index 132d5df1e0..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_recency.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_Recency AWS CloudFormation Resource (AWS::Pinpoint::Segment.Recency) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior-recency.html -type Segment_Recency struct { - - // Duration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior-recency.html#cfn-pinpoint-segment-segmentdimensions-behavior-recency-duration - Duration *types.Value `json:"Duration,omitempty"` - - // RecencyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions-behavior-recency.html#cfn-pinpoint-segment-segmentdimensions-behavior-recency-recencytype - RecencyType *types.Value `json:"RecencyType,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 *Segment_Recency) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.Recency" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentdimensions.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentdimensions.go deleted file mode 100644 index 246d5d3cf1..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_segmentdimensions.go +++ /dev/null @@ -1,60 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_SegmentDimensions AWS CloudFormation Resource (AWS::Pinpoint::Segment.SegmentDimensions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html -type Segment_SegmentDimensions struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-attributes - Attributes interface{} `json:"Attributes,omitempty"` - - // Behavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-behavior - Behavior *Segment_Behavior `json:"Behavior,omitempty"` - - // Demographic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-demographic - Demographic *Segment_Demographic `json:"Demographic,omitempty"` - - // Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-location - Location *Segment_Location `json:"Location,omitempty"` - - // Metrics AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-metrics - Metrics interface{} `json:"Metrics,omitempty"` - - // UserAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentdimensions.html#cfn-pinpoint-segment-segmentdimensions-userattributes - UserAttributes interface{} `json:"UserAttributes,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 *Segment_SegmentDimensions) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.SegmentDimensions" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_setdimension.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_setdimension.go deleted file mode 100644 index bbae7d1fb1..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_setdimension.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_SetDimension AWS CloudFormation Resource (AWS::Pinpoint::Segment.SetDimension) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html -type Segment_SetDimension struct { - - // DimensionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html#cfn-pinpoint-segment-setdimension-dimensiontype - DimensionType *types.Value `json:"DimensionType,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-setdimension.html#cfn-pinpoint-segment-setdimension-values - Values *types.Value `json:"Values,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 *Segment_SetDimension) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.SetDimension" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_sourcesegments.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_sourcesegments.go deleted file mode 100644 index 0af03f52af..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-segment_sourcesegments.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpoint - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Segment_SourceSegments AWS CloudFormation Resource (AWS::Pinpoint::Segment.SourceSegments) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups-sourcesegments.html -type Segment_SourceSegments struct { - - // Id AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups-sourcesegments.html#cfn-pinpoint-segment-segmentgroups-groups-sourcesegments-id - Id *types.Value `json:"Id,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-segment-segmentgroups-groups-sourcesegments.html#cfn-pinpoint-segment-segmentgroups-groups-sourcesegments-version - Version *types.Value `json:"Version,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 *Segment_SourceSegments) AWSCloudFormationType() string { - return "AWS::Pinpoint::Segment.SourceSegments" -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smschannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smschannel.go deleted file mode 100644 index 080a362b4c..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smschannel.go +++ /dev/null @@ -1,123 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SMSChannel AWS CloudFormation Resource (AWS::Pinpoint::SMSChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html -type SMSChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html#cfn-pinpoint-smschannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html#cfn-pinpoint-smschannel-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // SenderId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html#cfn-pinpoint-smschannel-senderid - SenderId *types.Value `json:"SenderId,omitempty"` - - // ShortCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smschannel.html#cfn-pinpoint-smschannel-shortcode - ShortCode *types.Value `json:"ShortCode,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 *SMSChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::SMSChannel" -} - -// 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 (r SMSChannel) MarshalJSON() ([]byte, error) { - type Properties SMSChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SMSChannel) UnmarshalJSON(b []byte) error { - type Properties SMSChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SMSChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smstemplate.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smstemplate.go deleted file mode 100644 index 423dcd30c3..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-smstemplate.go +++ /dev/null @@ -1,128 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SmsTemplate AWS CloudFormation Resource (AWS::Pinpoint::SmsTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html -type SmsTemplate struct { - - // Body AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-body - Body *types.Value `json:"Body,omitempty"` - - // DefaultSubstitutions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-defaultsubstitutions - DefaultSubstitutions *types.Value `json:"DefaultSubstitutions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-tags - Tags interface{} `json:"Tags,omitempty"` - - // TemplateDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-templatedescription - TemplateDescription *types.Value `json:"TemplateDescription,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-templatename - TemplateName *types.Value `json:"TemplateName,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 *SmsTemplate) AWSCloudFormationType() string { - return "AWS::Pinpoint::SmsTemplate" -} - -// 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 (r SmsTemplate) MarshalJSON() ([]byte, error) { - type Properties SmsTemplate - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SmsTemplate) UnmarshalJSON(b []byte) error { - type Properties SmsTemplate - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SmsTemplate(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-voicechannel.go b/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-voicechannel.go deleted file mode 100644 index 1afc2b1caf..0000000000 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-voicechannel.go +++ /dev/null @@ -1,113 +0,0 @@ -package pinpoint - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// VoiceChannel AWS CloudFormation Resource (AWS::Pinpoint::VoiceChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-voicechannel.html -type VoiceChannel struct { - - // ApplicationId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-voicechannel.html#cfn-pinpoint-voicechannel-applicationid - ApplicationId *types.Value `json:"ApplicationId,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-voicechannel.html#cfn-pinpoint-voicechannel-enabled - Enabled *types.Value `json:"Enabled,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 *VoiceChannel) AWSCloudFormationType() string { - return "AWS::Pinpoint::VoiceChannel" -} - -// 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 (r VoiceChannel) MarshalJSON() ([]byte, error) { - type Properties VoiceChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *VoiceChannel) UnmarshalJSON(b []byte) error { - type Properties VoiceChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = VoiceChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset.go deleted file mode 100644 index 8339ad81f0..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset.go +++ /dev/null @@ -1,133 +0,0 @@ -package pinpointemail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html -type ConfigurationSet struct { - - // DeliveryOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-deliveryoptions - DeliveryOptions *ConfigurationSet_DeliveryOptions `json:"DeliveryOptions,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-name - Name *types.Value `json:"Name,omitempty"` - - // ReputationOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-reputationoptions - ReputationOptions *ConfigurationSet_ReputationOptions `json:"ReputationOptions,omitempty"` - - // SendingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-sendingoptions - SendingOptions *ConfigurationSet_SendingOptions `json:"SendingOptions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-tags - Tags []ConfigurationSet_Tags `json:"Tags,omitempty"` - - // TrackingOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationset.html#cfn-pinpointemail-configurationset-trackingoptions - TrackingOptions *ConfigurationSet_TrackingOptions `json:"TrackingOptions,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 *ConfigurationSet) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet" -} - -// 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 (r ConfigurationSet) MarshalJSON() ([]byte, error) { - type Properties ConfigurationSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationSet) UnmarshalJSON(b []byte) error { - type Properties ConfigurationSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_deliveryoptions.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_deliveryoptions.go deleted file mode 100644 index 16301e8f93..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_deliveryoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet_DeliveryOptions AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet.DeliveryOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-deliveryoptions.html -type ConfigurationSet_DeliveryOptions struct { - - // SendingPoolName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-deliveryoptions.html#cfn-pinpointemail-configurationset-deliveryoptions-sendingpoolname - SendingPoolName *types.Value `json:"SendingPoolName,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 *ConfigurationSet_DeliveryOptions) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet.DeliveryOptions" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_reputationoptions.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_reputationoptions.go deleted file mode 100644 index a1f94bbf6d..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_reputationoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet_ReputationOptions AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet.ReputationOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-reputationoptions.html -type ConfigurationSet_ReputationOptions struct { - - // ReputationMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-reputationoptions.html#cfn-pinpointemail-configurationset-reputationoptions-reputationmetricsenabled - ReputationMetricsEnabled *types.Value `json:"ReputationMetricsEnabled,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 *ConfigurationSet_ReputationOptions) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet.ReputationOptions" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_sendingoptions.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_sendingoptions.go deleted file mode 100644 index 0149fc7459..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_sendingoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet_SendingOptions AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet.SendingOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-sendingoptions.html -type ConfigurationSet_SendingOptions struct { - - // SendingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-sendingoptions.html#cfn-pinpointemail-configurationset-sendingoptions-sendingenabled - SendingEnabled *types.Value `json:"SendingEnabled,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 *ConfigurationSet_SendingOptions) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet.SendingOptions" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_tags.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_tags.go deleted file mode 100644 index a19a2add5d..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_tags.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet_Tags AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-tags.html -type ConfigurationSet_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-tags.html#cfn-pinpointemail-configurationset-tags-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-tags.html#cfn-pinpointemail-configurationset-tags-value - Value *types.Value `json:"Value,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 *ConfigurationSet_Tags) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet.Tags" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_trackingoptions.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_trackingoptions.go deleted file mode 100644 index 54debf7ce4..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationset_trackingoptions.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet_TrackingOptions AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSet.TrackingOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-trackingoptions.html -type ConfigurationSet_TrackingOptions struct { - - // CustomRedirectDomain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationset-trackingoptions.html#cfn-pinpointemail-configurationset-trackingoptions-customredirectdomain - CustomRedirectDomain *types.Value `json:"CustomRedirectDomain,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 *ConfigurationSet_TrackingOptions) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSet.TrackingOptions" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination.go deleted file mode 100644 index 7dc4a32812..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination.go +++ /dev/null @@ -1,118 +0,0 @@ -package pinpointemail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html -type ConfigurationSetEventDestination struct { - - // ConfigurationSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-configurationsetname - ConfigurationSetName *types.Value `json:"ConfigurationSetName,omitempty"` - - // EventDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination - EventDestination *ConfigurationSetEventDestination_EventDestination `json:"EventDestination,omitempty"` - - // EventDestinationName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestinationname - EventDestinationName *types.Value `json:"EventDestinationName,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 *ConfigurationSetEventDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination" -} - -// 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 (r ConfigurationSetEventDestination) MarshalJSON() ([]byte, error) { - type Properties ConfigurationSetEventDestination - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationSetEventDestination) UnmarshalJSON(b []byte) error { - type Properties ConfigurationSetEventDestination - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationSetEventDestination(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_cloudwatchdestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_cloudwatchdestination.go deleted file mode 100644 index d1b01244f5..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_cloudwatchdestination.go +++ /dev/null @@ -1,35 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_CloudWatchDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-cloudwatchdestination.html -type ConfigurationSetEventDestination_CloudWatchDestination struct { - - // DimensionConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-cloudwatchdestination.html#cfn-pinpointemail-configurationseteventdestination-cloudwatchdestination-dimensionconfigurations - DimensionConfigurations []ConfigurationSetEventDestination_DimensionConfiguration `json:"DimensionConfigurations,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 *ConfigurationSetEventDestination_CloudWatchDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_dimensionconfiguration.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_dimensionconfiguration.go deleted file mode 100644 index 50b87743a6..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_dimensionconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_DimensionConfiguration AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-dimensionconfiguration.html -type ConfigurationSetEventDestination_DimensionConfiguration struct { - - // DefaultDimensionValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-dimensionconfiguration.html#cfn-pinpointemail-configurationseteventdestination-dimensionconfiguration-defaultdimensionvalue - DefaultDimensionValue *types.Value `json:"DefaultDimensionValue,omitempty"` - - // DimensionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-dimensionconfiguration.html#cfn-pinpointemail-configurationseteventdestination-dimensionconfiguration-dimensionname - DimensionName *types.Value `json:"DimensionName,omitempty"` - - // DimensionValueSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-dimensionconfiguration.html#cfn-pinpointemail-configurationseteventdestination-dimensionconfiguration-dimensionvaluesource - DimensionValueSource *types.Value `json:"DimensionValueSource,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 *ConfigurationSetEventDestination_DimensionConfiguration) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_eventdestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_eventdestination.go deleted file mode 100644 index 8c9f0b49a2..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_eventdestination.go +++ /dev/null @@ -1,62 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_EventDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html -type ConfigurationSetEventDestination_EventDestination struct { - - // CloudWatchDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-cloudwatchdestination - CloudWatchDestination *ConfigurationSetEventDestination_CloudWatchDestination `json:"CloudWatchDestination,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // KinesisFirehoseDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-kinesisfirehosedestination - KinesisFirehoseDestination *ConfigurationSetEventDestination_KinesisFirehoseDestination `json:"KinesisFirehoseDestination,omitempty"` - - // MatchingEventTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-matchingeventtypes - MatchingEventTypes *types.Value `json:"MatchingEventTypes,omitempty"` - - // PinpointDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-pinpointdestination - PinpointDestination *ConfigurationSetEventDestination_PinpointDestination `json:"PinpointDestination,omitempty"` - - // SnsDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-eventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination-snsdestination - SnsDestination *ConfigurationSetEventDestination_SnsDestination `json:"SnsDestination,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 *ConfigurationSetEventDestination_EventDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_kinesisfirehosedestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_kinesisfirehosedestination.go deleted file mode 100644 index eb90aa71b0..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_kinesisfirehosedestination.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_KinesisFirehoseDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-kinesisfirehosedestination.html -type ConfigurationSetEventDestination_KinesisFirehoseDestination struct { - - // DeliveryStreamArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-kinesisfirehosedestination.html#cfn-pinpointemail-configurationseteventdestination-kinesisfirehosedestination-deliverystreamarn - DeliveryStreamArn *types.Value `json:"DeliveryStreamArn,omitempty"` - - // IamRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-kinesisfirehosedestination.html#cfn-pinpointemail-configurationseteventdestination-kinesisfirehosedestination-iamrolearn - IamRoleArn *types.Value `json:"IamRoleArn,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 *ConfigurationSetEventDestination_KinesisFirehoseDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_pinpointdestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_pinpointdestination.go deleted file mode 100644 index 7bb199b802..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_pinpointdestination.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_PinpointDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-pinpointdestination.html -type ConfigurationSetEventDestination_PinpointDestination struct { - - // ApplicationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-pinpointdestination.html#cfn-pinpointemail-configurationseteventdestination-pinpointdestination-applicationarn - ApplicationArn *types.Value `json:"ApplicationArn,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 *ConfigurationSetEventDestination_PinpointDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_snsdestination.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_snsdestination.go deleted file mode 100644 index 61c4c34090..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-configurationseteventdestination_snsdestination.go +++ /dev/null @@ -1,37 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_SnsDestination AWS CloudFormation Resource (AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-snsdestination.html -type ConfigurationSetEventDestination_SnsDestination struct { - - // TopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-configurationseteventdestination-snsdestination.html#cfn-pinpointemail-configurationseteventdestination-snsdestination-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ConfigurationSetEventDestination_SnsDestination) AWSCloudFormationType() string { - return "AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool.go deleted file mode 100644 index df2f0b67aa..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool.go +++ /dev/null @@ -1,113 +0,0 @@ -package pinpointemail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DedicatedIpPool AWS CloudFormation Resource (AWS::PinpointEmail::DedicatedIpPool) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-dedicatedippool.html -type DedicatedIpPool struct { - - // PoolName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-dedicatedippool.html#cfn-pinpointemail-dedicatedippool-poolname - PoolName *types.Value `json:"PoolName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-dedicatedippool.html#cfn-pinpointemail-dedicatedippool-tags - Tags []DedicatedIpPool_Tags `json:"Tags,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 *DedicatedIpPool) AWSCloudFormationType() string { - return "AWS::PinpointEmail::DedicatedIpPool" -} - -// 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 (r DedicatedIpPool) MarshalJSON() ([]byte, error) { - type Properties DedicatedIpPool - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DedicatedIpPool) UnmarshalJSON(b []byte) error { - type Properties DedicatedIpPool - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DedicatedIpPool(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool_tags.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool_tags.go deleted file mode 100644 index f69142420c..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-dedicatedippool_tags.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DedicatedIpPool_Tags AWS CloudFormation Resource (AWS::PinpointEmail::DedicatedIpPool.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-dedicatedippool-tags.html -type DedicatedIpPool_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-dedicatedippool-tags.html#cfn-pinpointemail-dedicatedippool-tags-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-dedicatedippool-tags.html#cfn-pinpointemail-dedicatedippool-tags-value - Value *types.Value `json:"Value,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 *DedicatedIpPool_Tags) AWSCloudFormationType() string { - return "AWS::PinpointEmail::DedicatedIpPool.Tags" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity.go deleted file mode 100644 index 972d5c9157..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity.go +++ /dev/null @@ -1,128 +0,0 @@ -package pinpointemail - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Identity AWS CloudFormation Resource (AWS::PinpointEmail::Identity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html -type Identity struct { - - // DkimSigningEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html#cfn-pinpointemail-identity-dkimsigningenabled - DkimSigningEnabled *types.Value `json:"DkimSigningEnabled,omitempty"` - - // FeedbackForwardingEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html#cfn-pinpointemail-identity-feedbackforwardingenabled - FeedbackForwardingEnabled *types.Value `json:"FeedbackForwardingEnabled,omitempty"` - - // MailFromAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html#cfn-pinpointemail-identity-mailfromattributes - MailFromAttributes *Identity_MailFromAttributes `json:"MailFromAttributes,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html#cfn-pinpointemail-identity-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-identity.html#cfn-pinpointemail-identity-tags - Tags []Identity_Tags `json:"Tags,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 *Identity) AWSCloudFormationType() string { - return "AWS::PinpointEmail::Identity" -} - -// 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 (r Identity) MarshalJSON() ([]byte, error) { - type Properties Identity - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Identity) UnmarshalJSON(b []byte) error { - type Properties Identity - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Identity(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_mailfromattributes.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_mailfromattributes.go deleted file mode 100644 index 368bddf751..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_mailfromattributes.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Identity_MailFromAttributes AWS CloudFormation Resource (AWS::PinpointEmail::Identity.MailFromAttributes) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html -type Identity_MailFromAttributes struct { - - // BehaviorOnMxFailure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-behavioronmxfailure - BehaviorOnMxFailure *types.Value `json:"BehaviorOnMxFailure,omitempty"` - - // MailFromDomain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-mailfromdomain - MailFromDomain *types.Value `json:"MailFromDomain,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 *Identity_MailFromAttributes) AWSCloudFormationType() string { - return "AWS::PinpointEmail::Identity.MailFromAttributes" -} diff --git a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_tags.go b/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_tags.go deleted file mode 100644 index 99bda859b5..0000000000 --- a/pkg/goformation/cloudformation/pinpointemail/aws-pinpointemail-identity_tags.go +++ /dev/null @@ -1,42 +0,0 @@ -package pinpointemail - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Identity_Tags AWS CloudFormation Resource (AWS::PinpointEmail::Identity.Tags) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-tags.html -type Identity_Tags struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-tags.html#cfn-pinpointemail-identity-tags-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-tags.html#cfn-pinpointemail-identity-tags-value - Value *types.Value `json:"Value,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 *Identity_Tags) AWSCloudFormationType() string { - return "AWS::PinpointEmail::Identity.Tags" -} diff --git a/pkg/goformation/cloudformation/qldb/aws-qldb-stream.go b/pkg/goformation/cloudformation/qldb/aws-qldb-stream.go deleted file mode 100644 index 8b9024f8a7..0000000000 --- a/pkg/goformation/cloudformation/qldb/aws-qldb-stream.go +++ /dev/null @@ -1,139 +0,0 @@ -package qldb - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stream AWS CloudFormation Resource (AWS::QLDB::Stream) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html -type Stream struct { - - // ExclusiveEndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-exclusiveendtime - ExclusiveEndTime *types.Value `json:"ExclusiveEndTime,omitempty"` - - // InclusiveStartTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-inclusivestarttime - InclusiveStartTime *types.Value `json:"InclusiveStartTime,omitempty"` - - // KinesisConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-kinesisconfiguration - KinesisConfiguration *Stream_KinesisConfiguration `json:"KinesisConfiguration,omitempty"` - - // LedgerName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-ledgername - LedgerName *types.Value `json:"LedgerName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StreamName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-streamname - StreamName *types.Value `json:"StreamName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-stream.html#cfn-qldb-stream-tags - Tags []cloudformation.Tag `json:"Tags,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 *Stream) AWSCloudFormationType() string { - return "AWS::QLDB::Stream" -} - -// 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 (r Stream) MarshalJSON() ([]byte, error) { - type Properties Stream - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Stream) UnmarshalJSON(b []byte) error { - type Properties Stream - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Stream(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/qldb/aws-qldb-stream_kinesisconfiguration.go b/pkg/goformation/cloudformation/qldb/aws-qldb-stream_kinesisconfiguration.go deleted file mode 100644 index 82b0285f64..0000000000 --- a/pkg/goformation/cloudformation/qldb/aws-qldb-stream_kinesisconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package qldb - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Stream_KinesisConfiguration AWS CloudFormation Resource (AWS::QLDB::Stream.KinesisConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qldb-stream-kinesisconfiguration.html -type Stream_KinesisConfiguration struct { - - // AggregationEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qldb-stream-kinesisconfiguration.html#cfn-qldb-stream-kinesisconfiguration-aggregationenabled - AggregationEnabled *types.Value `json:"AggregationEnabled,omitempty"` - - // StreamArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qldb-stream-kinesisconfiguration.html#cfn-qldb-stream-kinesisconfiguration-streamarn - StreamArn *types.Value `json:"StreamArn,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 *Stream_KinesisConfiguration) AWSCloudFormationType() string { - return "AWS::QLDB::Stream.KinesisConfiguration" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis.go deleted file mode 100644 index a4cb5cac5e..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis.go +++ /dev/null @@ -1,149 +0,0 @@ -package quicksight - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis AWS CloudFormation Resource (AWS::QuickSight::Analysis) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html -type Analysis struct { - - // AnalysisId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-analysisid - AnalysisId *types.Value `json:"AnalysisId,omitempty"` - - // AwsAccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // Errors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-errors - Errors []Analysis_AnalysisError `json:"Errors,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-parameters - Parameters *Analysis_Parameters `json:"Parameters,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-permissions - Permissions []Analysis_ResourcePermission `json:"Permissions,omitempty"` - - // SourceEntity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-sourceentity - SourceEntity *Analysis_AnalysisSourceEntity `json:"SourceEntity,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThemeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-analysis.html#cfn-quicksight-analysis-themearn - ThemeArn *types.Value `json:"ThemeArn,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 *Analysis) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis" -} - -// 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 (r Analysis) MarshalJSON() ([]byte, error) { - type Properties Analysis - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Analysis) UnmarshalJSON(b []byte) error { - type Properties Analysis - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Analysis(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysiserror.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysiserror.go deleted file mode 100644 index 39fe73f7fd..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysiserror.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_AnalysisError AWS CloudFormation Resource (AWS::QuickSight::Analysis.AnalysisError) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysiserror.html -type Analysis_AnalysisError struct { - - // Message AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysiserror.html#cfn-quicksight-analysis-analysiserror-message - Message *types.Value `json:"Message,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysiserror.html#cfn-quicksight-analysis-analysiserror-type - Type *types.Value `json:"Type,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 *Analysis_AnalysisError) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.AnalysisError" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourceentity.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourceentity.go deleted file mode 100644 index 163a312756..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourceentity.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_AnalysisSourceEntity AWS CloudFormation Resource (AWS::QuickSight::Analysis.AnalysisSourceEntity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysissourceentity.html -type Analysis_AnalysisSourceEntity struct { - - // SourceTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysissourceentity.html#cfn-quicksight-analysis-analysissourceentity-sourcetemplate - SourceTemplate *Analysis_AnalysisSourceTemplate `json:"SourceTemplate,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 *Analysis_AnalysisSourceEntity) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.AnalysisSourceEntity" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourcetemplate.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourcetemplate.go deleted file mode 100644 index c91b67c3bf..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_analysissourcetemplate.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_AnalysisSourceTemplate AWS CloudFormation Resource (AWS::QuickSight::Analysis.AnalysisSourceTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysissourcetemplate.html -type Analysis_AnalysisSourceTemplate struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysissourcetemplate.html#cfn-quicksight-analysis-analysissourcetemplate-arn - Arn *types.Value `json:"Arn,omitempty"` - - // DataSetReferences AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-analysissourcetemplate.html#cfn-quicksight-analysis-analysissourcetemplate-datasetreferences - DataSetReferences []Analysis_DataSetReference `json:"DataSetReferences,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 *Analysis_AnalysisSourceTemplate) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.AnalysisSourceTemplate" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datasetreference.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datasetreference.go deleted file mode 100644 index ce02b39b53..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datasetreference.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_DataSetReference AWS CloudFormation Resource (AWS::QuickSight::Analysis.DataSetReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datasetreference.html -type Analysis_DataSetReference struct { - - // DataSetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datasetreference.html#cfn-quicksight-analysis-datasetreference-datasetarn - DataSetArn *types.Value `json:"DataSetArn,omitempty"` - - // DataSetPlaceholder AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datasetreference.html#cfn-quicksight-analysis-datasetreference-datasetplaceholder - DataSetPlaceholder *types.Value `json:"DataSetPlaceholder,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 *Analysis_DataSetReference) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.DataSetReference" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datetimeparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datetimeparameter.go deleted file mode 100644 index 944dde5bef..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_datetimeparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_DateTimeParameter AWS CloudFormation Resource (AWS::QuickSight::Analysis.DateTimeParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datetimeparameter.html -type Analysis_DateTimeParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datetimeparameter.html#cfn-quicksight-analysis-datetimeparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-datetimeparameter.html#cfn-quicksight-analysis-datetimeparameter-values - Values *types.Value `json:"Values,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 *Analysis_DateTimeParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.DateTimeParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_decimalparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_decimalparameter.go deleted file mode 100644 index 77153f2c2f..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_decimalparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_DecimalParameter AWS CloudFormation Resource (AWS::QuickSight::Analysis.DecimalParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-decimalparameter.html -type Analysis_DecimalParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-decimalparameter.html#cfn-quicksight-analysis-decimalparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-decimalparameter.html#cfn-quicksight-analysis-decimalparameter-values - Values *types.Value `json:"Values,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 *Analysis_DecimalParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.DecimalParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_integerparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_integerparameter.go deleted file mode 100644 index 157cbb69a1..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_integerparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_IntegerParameter AWS CloudFormation Resource (AWS::QuickSight::Analysis.IntegerParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-integerparameter.html -type Analysis_IntegerParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-integerparameter.html#cfn-quicksight-analysis-integerparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-integerparameter.html#cfn-quicksight-analysis-integerparameter-values - Values *types.Value `json:"Values,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 *Analysis_IntegerParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.IntegerParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_parameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_parameters.go deleted file mode 100644 index dbb512b7d7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_parameters.go +++ /dev/null @@ -1,50 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_Parameters AWS CloudFormation Resource (AWS::QuickSight::Analysis.Parameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-parameters.html -type Analysis_Parameters struct { - - // DateTimeParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-parameters.html#cfn-quicksight-analysis-parameters-datetimeparameters - DateTimeParameters []Analysis_DateTimeParameter `json:"DateTimeParameters,omitempty"` - - // DecimalParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-parameters.html#cfn-quicksight-analysis-parameters-decimalparameters - DecimalParameters []Analysis_DecimalParameter `json:"DecimalParameters,omitempty"` - - // IntegerParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-parameters.html#cfn-quicksight-analysis-parameters-integerparameters - IntegerParameters []Analysis_IntegerParameter `json:"IntegerParameters,omitempty"` - - // StringParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-parameters.html#cfn-quicksight-analysis-parameters-stringparameters - StringParameters []Analysis_StringParameter `json:"StringParameters,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 *Analysis_Parameters) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.Parameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_resourcepermission.go deleted file mode 100644 index 4b1b693c8e..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::Analysis.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-resourcepermission.html -type Analysis_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-resourcepermission.html#cfn-quicksight-analysis-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-resourcepermission.html#cfn-quicksight-analysis-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *Analysis_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_sheet.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_sheet.go deleted file mode 100644 index 3fbba8c113..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-analysis_sheet.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Analysis_Sheet AWS CloudFormation Resource (AWS::QuickSight::Analysis.Sheet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-sheet.html -type Analysis_Sheet struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-sheet.html#cfn-quicksight-analysis-sheet-name - Name *types.Value `json:"Name,omitempty"` - - // SheetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-sheet.html#cfn-quicksight-analysis-sheet-sheetid - SheetId *types.Value `json:"SheetId,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 *Analysis_Sheet) AWSCloudFormationType() string { - return "AWS::QuickSight::Analysis.Sheet" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard.go deleted file mode 100644 index 89f2739221..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard.go +++ /dev/null @@ -1,154 +0,0 @@ -package quicksight - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard AWS CloudFormation Resource (AWS::QuickSight::Dashboard) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html -type Dashboard struct { - - // AwsAccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // DashboardId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardid - DashboardId *types.Value `json:"DashboardId,omitempty"` - - // DashboardPublishOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-dashboardpublishoptions - DashboardPublishOptions *Dashboard_DashboardPublishOptions `json:"DashboardPublishOptions,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-name - Name *types.Value `json:"Name,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-parameters - Parameters *Dashboard_Parameters `json:"Parameters,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-permissions - Permissions []Dashboard_ResourcePermission `json:"Permissions,omitempty"` - - // SourceEntity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-sourceentity - SourceEntity *Dashboard_DashboardSourceEntity `json:"SourceEntity,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThemeArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-themearn - ThemeArn *types.Value `json:"ThemeArn,omitempty"` - - // VersionDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dashboard.html#cfn-quicksight-dashboard-versiondescription - VersionDescription *types.Value `json:"VersionDescription,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 *Dashboard) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard" -} - -// 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 (r Dashboard) MarshalJSON() ([]byte, error) { - type Properties Dashboard - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Dashboard) UnmarshalJSON(b []byte) error { - type Properties Dashboard - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Dashboard(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_adhocfilteringoption.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_adhocfilteringoption.go deleted file mode 100644 index 5ab823b3db..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_adhocfilteringoption.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_AdHocFilteringOption AWS CloudFormation Resource (AWS::QuickSight::Dashboard.AdHocFilteringOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-adhocfilteringoption.html -type Dashboard_AdHocFilteringOption struct { - - // AvailabilityStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-adhocfilteringoption.html#cfn-quicksight-dashboard-adhocfilteringoption-availabilitystatus - AvailabilityStatus *types.Value `json:"AvailabilityStatus,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 *Dashboard_AdHocFilteringOption) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.AdHocFilteringOption" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardpublishoptions.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardpublishoptions.go deleted file mode 100644 index fc09531b2c..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardpublishoptions.go +++ /dev/null @@ -1,45 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DashboardPublishOptions AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DashboardPublishOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html -type Dashboard_DashboardPublishOptions struct { - - // AdHocFilteringOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-adhocfilteringoption - AdHocFilteringOption *Dashboard_AdHocFilteringOption `json:"AdHocFilteringOption,omitempty"` - - // ExportToCSVOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-exporttocsvoption - ExportToCSVOption *Dashboard_ExportToCSVOption `json:"ExportToCSVOption,omitempty"` - - // SheetControlsOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardpublishoptions.html#cfn-quicksight-dashboard-dashboardpublishoptions-sheetcontrolsoption - SheetControlsOption *Dashboard_SheetControlsOption `json:"SheetControlsOption,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 *Dashboard_DashboardPublishOptions) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DashboardPublishOptions" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourceentity.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourceentity.go deleted file mode 100644 index 2cedc57776..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourceentity.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DashboardSourceEntity AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DashboardSourceEntity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourceentity.html -type Dashboard_DashboardSourceEntity struct { - - // SourceTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourceentity.html#cfn-quicksight-dashboard-dashboardsourceentity-sourcetemplate - SourceTemplate *Dashboard_DashboardSourceTemplate `json:"SourceTemplate,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 *Dashboard_DashboardSourceEntity) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DashboardSourceEntity" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourcetemplate.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourcetemplate.go deleted file mode 100644 index 4dd75cbd42..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_dashboardsourcetemplate.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DashboardSourceTemplate AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DashboardSourceTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html -type Dashboard_DashboardSourceTemplate struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-arn - Arn *types.Value `json:"Arn,omitempty"` - - // DataSetReferences AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-dashboardsourcetemplate.html#cfn-quicksight-dashboard-dashboardsourcetemplate-datasetreferences - DataSetReferences []Dashboard_DataSetReference `json:"DataSetReferences,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 *Dashboard_DashboardSourceTemplate) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DashboardSourceTemplate" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datasetreference.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datasetreference.go deleted file mode 100644 index 90576fbd26..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datasetreference.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DataSetReference AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DataSetReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html -type Dashboard_DataSetReference struct { - - // DataSetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetarn - DataSetArn *types.Value `json:"DataSetArn,omitempty"` - - // DataSetPlaceholder AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datasetreference.html#cfn-quicksight-dashboard-datasetreference-datasetplaceholder - DataSetPlaceholder *types.Value `json:"DataSetPlaceholder,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 *Dashboard_DataSetReference) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DataSetReference" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datetimeparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datetimeparameter.go deleted file mode 100644 index 4d89439ff6..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_datetimeparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DateTimeParameter AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DateTimeParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html -type Dashboard_DateTimeParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-datetimeparameter.html#cfn-quicksight-dashboard-datetimeparameter-values - Values *types.Value `json:"Values,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 *Dashboard_DateTimeParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DateTimeParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_decimalparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_decimalparameter.go deleted file mode 100644 index 296d5abe18..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_decimalparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_DecimalParameter AWS CloudFormation Resource (AWS::QuickSight::Dashboard.DecimalParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html -type Dashboard_DecimalParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-decimalparameter.html#cfn-quicksight-dashboard-decimalparameter-values - Values *types.Value `json:"Values,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 *Dashboard_DecimalParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.DecimalParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_exporttocsvoption.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_exporttocsvoption.go deleted file mode 100644 index 529160fae4..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_exporttocsvoption.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_ExportToCSVOption AWS CloudFormation Resource (AWS::QuickSight::Dashboard.ExportToCSVOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporttocsvoption.html -type Dashboard_ExportToCSVOption struct { - - // AvailabilityStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-exporttocsvoption.html#cfn-quicksight-dashboard-exporttocsvoption-availabilitystatus - AvailabilityStatus *types.Value `json:"AvailabilityStatus,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 *Dashboard_ExportToCSVOption) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.ExportToCSVOption" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_integerparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_integerparameter.go deleted file mode 100644 index 24b74e4fb4..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_integerparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_IntegerParameter AWS CloudFormation Resource (AWS::QuickSight::Dashboard.IntegerParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html -type Dashboard_IntegerParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-integerparameter.html#cfn-quicksight-dashboard-integerparameter-values - Values *types.Value `json:"Values,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 *Dashboard_IntegerParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.IntegerParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_parameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_parameters.go deleted file mode 100644 index c77e27956a..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_parameters.go +++ /dev/null @@ -1,50 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_Parameters AWS CloudFormation Resource (AWS::QuickSight::Dashboard.Parameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html -type Dashboard_Parameters struct { - - // DateTimeParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-datetimeparameters - DateTimeParameters []Dashboard_DateTimeParameter `json:"DateTimeParameters,omitempty"` - - // DecimalParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-decimalparameters - DecimalParameters []Dashboard_DecimalParameter `json:"DecimalParameters,omitempty"` - - // IntegerParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-integerparameters - IntegerParameters []Dashboard_IntegerParameter `json:"IntegerParameters,omitempty"` - - // StringParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-parameters.html#cfn-quicksight-dashboard-parameters-stringparameters - StringParameters []Dashboard_StringParameter `json:"StringParameters,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 *Dashboard_Parameters) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.Parameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_resourcepermission.go deleted file mode 100644 index 6b434cfb82..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::Dashboard.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html -type Dashboard_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-resourcepermission.html#cfn-quicksight-dashboard-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *Dashboard_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_sheetcontrolsoption.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_sheetcontrolsoption.go deleted file mode 100644 index b37545fd9b..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_sheetcontrolsoption.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_SheetControlsOption AWS CloudFormation Resource (AWS::QuickSight::Dashboard.SheetControlsOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html -type Dashboard_SheetControlsOption struct { - - // VisibilityState AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html#cfn-quicksight-dashboard-sheetcontrolsoption-visibilitystate - VisibilityState *types.Value `json:"VisibilityState,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 *Dashboard_SheetControlsOption) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.SheetControlsOption" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_stringparameter.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_stringparameter.go deleted file mode 100644 index 9117835aad..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dashboard_stringparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Dashboard_StringParameter AWS CloudFormation Resource (AWS::QuickSight::Dashboard.StringParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html -type Dashboard_StringParameter struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-stringparameter.html#cfn-quicksight-dashboard-stringparameter-values - Values *types.Value `json:"Values,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 *Dashboard_StringParameter) AWSCloudFormationType() string { - return "AWS::QuickSight::Dashboard.StringParameter" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset.go deleted file mode 100644 index 737109b8db..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset.go +++ /dev/null @@ -1,169 +0,0 @@ -package quicksight - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet AWS CloudFormation Resource (AWS::QuickSight::DataSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html -type DataSet struct { - - // AwsAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // ColumnGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-columngroups - ColumnGroups []DataSet_ColumnGroup `json:"ColumnGroups,omitempty"` - - // ColumnLevelPermissionRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-columnlevelpermissionrules - ColumnLevelPermissionRules []DataSet_ColumnLevelPermissionRule `json:"ColumnLevelPermissionRules,omitempty"` - - // DataSetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-datasetid - DataSetId *types.Value `json:"DataSetId,omitempty"` - - // FieldFolders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-fieldfolders - FieldFolders map[string]DataSet_FieldFolder `json:"FieldFolders,omitempty"` - - // ImportMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-importmode - ImportMode *types.Value `json:"ImportMode,omitempty"` - - // IngestionWaitPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-ingestionwaitpolicy - IngestionWaitPolicy *DataSet_IngestionWaitPolicy `json:"IngestionWaitPolicy,omitempty"` - - // LogicalTableMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-logicaltablemap - LogicalTableMap map[string]DataSet_LogicalTable `json:"LogicalTableMap,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-name - Name *types.Value `json:"Name,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-permissions - Permissions []DataSet_ResourcePermission `json:"Permissions,omitempty"` - - // PhysicalTableMap AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-physicaltablemap - PhysicalTableMap map[string]DataSet_PhysicalTable `json:"PhysicalTableMap,omitempty"` - - // RowLevelPermissionDataSet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-rowlevelpermissiondataset - RowLevelPermissionDataSet *DataSet_RowLevelPermissionDataSet `json:"RowLevelPermissionDataSet,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-dataset.html#cfn-quicksight-dataset-tags - Tags []cloudformation.Tag `json:"Tags,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 *DataSet) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet" -} - -// 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 (r DataSet) MarshalJSON() ([]byte, error) { - type Properties DataSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataSet) UnmarshalJSON(b []byte) error { - type Properties DataSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_calculatedcolumn.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_calculatedcolumn.go deleted file mode 100644 index f42a067f3a..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_calculatedcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_CalculatedColumn AWS CloudFormation Resource (AWS::QuickSight::DataSet.CalculatedColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-calculatedcolumn.html -type DataSet_CalculatedColumn struct { - - // ColumnId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-calculatedcolumn.html#cfn-quicksight-dataset-calculatedcolumn-columnid - ColumnId *types.Value `json:"ColumnId,omitempty"` - - // ColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-calculatedcolumn.html#cfn-quicksight-dataset-calculatedcolumn-columnname - ColumnName *types.Value `json:"ColumnName,omitempty"` - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-calculatedcolumn.html#cfn-quicksight-dataset-calculatedcolumn-expression - Expression *types.Value `json:"Expression,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 *DataSet_CalculatedColumn) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.CalculatedColumn" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_castcolumntypeoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_castcolumntypeoperation.go deleted file mode 100644 index 4ac03b9485..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_castcolumntypeoperation.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_CastColumnTypeOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.CastColumnTypeOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-castcolumntypeoperation.html -type DataSet_CastColumnTypeOperation struct { - - // ColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-castcolumntypeoperation.html#cfn-quicksight-dataset-castcolumntypeoperation-columnname - ColumnName *types.Value `json:"ColumnName,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-castcolumntypeoperation.html#cfn-quicksight-dataset-castcolumntypeoperation-format - Format *types.Value `json:"Format,omitempty"` - - // NewColumnType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-castcolumntypeoperation.html#cfn-quicksight-dataset-castcolumntypeoperation-newcolumntype - NewColumnType *types.Value `json:"NewColumnType,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 *DataSet_CastColumnTypeOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.CastColumnTypeOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columndescription.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columndescription.go deleted file mode 100644 index 6db8778ab6..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columndescription.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ColumnDescription AWS CloudFormation Resource (AWS::QuickSight::DataSet.ColumnDescription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columndescription.html -type DataSet_ColumnDescription struct { - - // Text AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columndescription.html#cfn-quicksight-dataset-columndescription-text - Text *types.Value `json:"Text,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 *DataSet_ColumnDescription) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ColumnDescription" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columngroup.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columngroup.go deleted file mode 100644 index 974c6483a7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columngroup.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ColumnGroup AWS CloudFormation Resource (AWS::QuickSight::DataSet.ColumnGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columngroup.html -type DataSet_ColumnGroup struct { - - // GeoSpatialColumnGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columngroup.html#cfn-quicksight-dataset-columngroup-geospatialcolumngroup - GeoSpatialColumnGroup *DataSet_GeoSpatialColumnGroup `json:"GeoSpatialColumnGroup,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 *DataSet_ColumnGroup) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ColumnGroup" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columnlevelpermissionrule.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columnlevelpermissionrule.go deleted file mode 100644 index 1ce961893a..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columnlevelpermissionrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ColumnLevelPermissionRule AWS CloudFormation Resource (AWS::QuickSight::DataSet.ColumnLevelPermissionRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columnlevelpermissionrule.html -type DataSet_ColumnLevelPermissionRule struct { - - // ColumnNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columnlevelpermissionrule.html#cfn-quicksight-dataset-columnlevelpermissionrule-columnnames - ColumnNames *types.Value `json:"ColumnNames,omitempty"` - - // Principals AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columnlevelpermissionrule.html#cfn-quicksight-dataset-columnlevelpermissionrule-principals - Principals *types.Value `json:"Principals,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 *DataSet_ColumnLevelPermissionRule) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ColumnLevelPermissionRule" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columntag.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columntag.go deleted file mode 100644 index e161a43709..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_columntag.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ColumnTag AWS CloudFormation Resource (AWS::QuickSight::DataSet.ColumnTag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columntag.html -type DataSet_ColumnTag struct { - - // ColumnDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columntag.html#cfn-quicksight-dataset-columntag-columndescription - ColumnDescription *DataSet_ColumnDescription `json:"ColumnDescription,omitempty"` - - // ColumnGeographicRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-columntag.html#cfn-quicksight-dataset-columntag-columngeographicrole - ColumnGeographicRole *types.Value `json:"ColumnGeographicRole,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 *DataSet_ColumnTag) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ColumnTag" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_createcolumnsoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_createcolumnsoperation.go deleted file mode 100644 index fdb8147bf0..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_createcolumnsoperation.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_CreateColumnsOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.CreateColumnsOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-createcolumnsoperation.html -type DataSet_CreateColumnsOperation struct { - - // Columns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-createcolumnsoperation.html#cfn-quicksight-dataset-createcolumnsoperation-columns - Columns []DataSet_CalculatedColumn `json:"Columns,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 *DataSet_CreateColumnsOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.CreateColumnsOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_fieldfolder.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_fieldfolder.go deleted file mode 100644 index 8c5c1d1580..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_fieldfolder.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_FieldFolder AWS CloudFormation Resource (AWS::QuickSight::DataSet.FieldFolder) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-fieldfolder.html -type DataSet_FieldFolder struct { - - // Columns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-fieldfolder.html#cfn-quicksight-dataset-fieldfolder-columns - Columns *types.Value `json:"Columns,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-fieldfolder.html#cfn-quicksight-dataset-fieldfolder-description - Description *types.Value `json:"Description,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 *DataSet_FieldFolder) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.FieldFolder" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_filteroperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_filteroperation.go deleted file mode 100644 index 40fb7bfa7c..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_filteroperation.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_FilterOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.FilterOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-filteroperation.html -type DataSet_FilterOperation struct { - - // ConditionExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-filteroperation.html#cfn-quicksight-dataset-filteroperation-conditionexpression - ConditionExpression *types.Value `json:"ConditionExpression,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 *DataSet_FilterOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.FilterOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_geospatialcolumngroup.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_geospatialcolumngroup.go deleted file mode 100644 index d5a9b5fc83..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_geospatialcolumngroup.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_GeoSpatialColumnGroup AWS CloudFormation Resource (AWS::QuickSight::DataSet.GeoSpatialColumnGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-geospatialcolumngroup.html -type DataSet_GeoSpatialColumnGroup struct { - - // Columns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-geospatialcolumngroup.html#cfn-quicksight-dataset-geospatialcolumngroup-columns - Columns *types.Value `json:"Columns,omitempty"` - - // CountryCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-geospatialcolumngroup.html#cfn-quicksight-dataset-geospatialcolumngroup-countrycode - CountryCode *types.Value `json:"CountryCode,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-geospatialcolumngroup.html#cfn-quicksight-dataset-geospatialcolumngroup-name - Name *types.Value `json:"Name,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 *DataSet_GeoSpatialColumnGroup) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.GeoSpatialColumnGroup" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_ingestionwaitpolicy.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_ingestionwaitpolicy.go deleted file mode 100644 index 94e758ba78..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_ingestionwaitpolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_IngestionWaitPolicy AWS CloudFormation Resource (AWS::QuickSight::DataSet.IngestionWaitPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-ingestionwaitpolicy.html -type DataSet_IngestionWaitPolicy struct { - - // IngestionWaitTimeInHours AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-ingestionwaitpolicy.html#cfn-quicksight-dataset-ingestionwaitpolicy-ingestionwaittimeinhours - IngestionWaitTimeInHours *types.Value `json:"IngestionWaitTimeInHours,omitempty"` - - // WaitForSpiceIngestion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-ingestionwaitpolicy.html#cfn-quicksight-dataset-ingestionwaitpolicy-waitforspiceingestion - WaitForSpiceIngestion *types.Value `json:"WaitForSpiceIngestion,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 *DataSet_IngestionWaitPolicy) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.IngestionWaitPolicy" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_inputcolumn.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_inputcolumn.go deleted file mode 100644 index e9a7e1d3c9..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_inputcolumn.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_InputColumn AWS CloudFormation Resource (AWS::QuickSight::DataSet.InputColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-inputcolumn.html -type DataSet_InputColumn struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-inputcolumn.html#cfn-quicksight-dataset-inputcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-inputcolumn.html#cfn-quicksight-dataset-inputcolumn-type - Type *types.Value `json:"Type,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 *DataSet_InputColumn) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.InputColumn" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joininstruction.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joininstruction.go deleted file mode 100644 index 21c102ff71..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joininstruction.go +++ /dev/null @@ -1,62 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_JoinInstruction AWS CloudFormation Resource (AWS::QuickSight::DataSet.JoinInstruction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html -type DataSet_JoinInstruction struct { - - // LeftJoinKeyProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-leftjoinkeyproperties - LeftJoinKeyProperties *DataSet_JoinKeyProperties `json:"LeftJoinKeyProperties,omitempty"` - - // LeftOperand AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-leftoperand - LeftOperand *types.Value `json:"LeftOperand,omitempty"` - - // OnClause AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-onclause - OnClause *types.Value `json:"OnClause,omitempty"` - - // RightJoinKeyProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-rightjoinkeyproperties - RightJoinKeyProperties *DataSet_JoinKeyProperties `json:"RightJoinKeyProperties,omitempty"` - - // RightOperand AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-rightoperand - RightOperand *types.Value `json:"RightOperand,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joininstruction.html#cfn-quicksight-dataset-joininstruction-type - Type *types.Value `json:"Type,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 *DataSet_JoinInstruction) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.JoinInstruction" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joinkeyproperties.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joinkeyproperties.go deleted file mode 100644 index 946a4dc935..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_joinkeyproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_JoinKeyProperties AWS CloudFormation Resource (AWS::QuickSight::DataSet.JoinKeyProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joinkeyproperties.html -type DataSet_JoinKeyProperties struct { - - // UniqueKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-joinkeyproperties.html#cfn-quicksight-dataset-joinkeyproperties-uniquekey - UniqueKey *types.Value `json:"UniqueKey,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 *DataSet_JoinKeyProperties) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.JoinKeyProperties" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltable.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltable.go deleted file mode 100644 index b90ea62385..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltable.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_LogicalTable AWS CloudFormation Resource (AWS::QuickSight::DataSet.LogicalTable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltable.html -type DataSet_LogicalTable struct { - - // Alias AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltable.html#cfn-quicksight-dataset-logicaltable-alias - Alias *types.Value `json:"Alias,omitempty"` - - // DataTransforms AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltable.html#cfn-quicksight-dataset-logicaltable-datatransforms - DataTransforms []DataSet_TransformOperation `json:"DataTransforms,omitempty"` - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltable.html#cfn-quicksight-dataset-logicaltable-source - Source *DataSet_LogicalTableSource `json:"Source,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 *DataSet_LogicalTable) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.LogicalTable" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltablesource.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltablesource.go deleted file mode 100644 index 0fd6d7b0a3..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_logicaltablesource.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_LogicalTableSource AWS CloudFormation Resource (AWS::QuickSight::DataSet.LogicalTableSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltablesource.html -type DataSet_LogicalTableSource struct { - - // JoinInstruction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltablesource.html#cfn-quicksight-dataset-logicaltablesource-joininstruction - JoinInstruction *DataSet_JoinInstruction `json:"JoinInstruction,omitempty"` - - // PhysicalTableId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-logicaltablesource.html#cfn-quicksight-dataset-logicaltablesource-physicaltableid - PhysicalTableId *types.Value `json:"PhysicalTableId,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 *DataSet_LogicalTableSource) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.LogicalTableSource" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_outputcolumn.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_outputcolumn.go deleted file mode 100644 index 656ace44b0..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_outputcolumn.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_OutputColumn AWS CloudFormation Resource (AWS::QuickSight::DataSet.OutputColumn) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-outputcolumn.html -type DataSet_OutputColumn struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-outputcolumn.html#cfn-quicksight-dataset-outputcolumn-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-outputcolumn.html#cfn-quicksight-dataset-outputcolumn-name - Name *types.Value `json:"Name,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-outputcolumn.html#cfn-quicksight-dataset-outputcolumn-type - Type *types.Value `json:"Type,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 *DataSet_OutputColumn) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.OutputColumn" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_physicaltable.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_physicaltable.go deleted file mode 100644 index ba84a57033..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_physicaltable.go +++ /dev/null @@ -1,45 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_PhysicalTable AWS CloudFormation Resource (AWS::QuickSight::DataSet.PhysicalTable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-physicaltable.html -type DataSet_PhysicalTable struct { - - // CustomSql AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-physicaltable.html#cfn-quicksight-dataset-physicaltable-customsql - CustomSql *DataSet_CustomSql `json:"CustomSql,omitempty"` - - // RelationalTable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-physicaltable.html#cfn-quicksight-dataset-physicaltable-relationaltable - RelationalTable *DataSet_RelationalTable `json:"RelationalTable,omitempty"` - - // S3Source AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-physicaltable.html#cfn-quicksight-dataset-physicaltable-s3source - S3Source *DataSet_S3Source `json:"S3Source,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 *DataSet_PhysicalTable) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.PhysicalTable" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_projectoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_projectoperation.go deleted file mode 100644 index 1e39b61dcb..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_projectoperation.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ProjectOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.ProjectOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-projectoperation.html -type DataSet_ProjectOperation struct { - - // ProjectedColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-projectoperation.html#cfn-quicksight-dataset-projectoperation-projectedcolumns - ProjectedColumns *types.Value `json:"ProjectedColumns,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 *DataSet_ProjectOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ProjectOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_relationaltable.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_relationaltable.go deleted file mode 100644 index c432cb0d09..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_relationaltable.go +++ /dev/null @@ -1,57 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_RelationalTable AWS CloudFormation Resource (AWS::QuickSight::DataSet.RelationalTable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html -type DataSet_RelationalTable struct { - - // Catalog AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html#cfn-quicksight-dataset-relationaltable-catalog - Catalog *types.Value `json:"Catalog,omitempty"` - - // DataSourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html#cfn-quicksight-dataset-relationaltable-datasourcearn - DataSourceArn *types.Value `json:"DataSourceArn,omitempty"` - - // InputColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html#cfn-quicksight-dataset-relationaltable-inputcolumns - InputColumns []DataSet_InputColumn `json:"InputColumns,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html#cfn-quicksight-dataset-relationaltable-name - Name *types.Value `json:"Name,omitempty"` - - // Schema AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-relationaltable.html#cfn-quicksight-dataset-relationaltable-schema - Schema *types.Value `json:"Schema,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 *DataSet_RelationalTable) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.RelationalTable" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_renamecolumnoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_renamecolumnoperation.go deleted file mode 100644 index 4252d6b24c..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_renamecolumnoperation.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_RenameColumnOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.RenameColumnOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-renamecolumnoperation.html -type DataSet_RenameColumnOperation struct { - - // ColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-renamecolumnoperation.html#cfn-quicksight-dataset-renamecolumnoperation-columnname - ColumnName *types.Value `json:"ColumnName,omitempty"` - - // NewColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-renamecolumnoperation.html#cfn-quicksight-dataset-renamecolumnoperation-newcolumnname - NewColumnName *types.Value `json:"NewColumnName,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 *DataSet_RenameColumnOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.RenameColumnOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_resourcepermission.go deleted file mode 100644 index ac6646a13a..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::DataSet.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-resourcepermission.html -type DataSet_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-resourcepermission.html#cfn-quicksight-dataset-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-resourcepermission.html#cfn-quicksight-dataset-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *DataSet_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_rowlevelpermissiondataset.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_rowlevelpermissiondataset.go deleted file mode 100644 index ee5df8bad9..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_rowlevelpermissiondataset.go +++ /dev/null @@ -1,52 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_RowLevelPermissionDataSet AWS CloudFormation Resource (AWS::QuickSight::DataSet.RowLevelPermissionDataSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html -type DataSet_RowLevelPermissionDataSet struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html#cfn-quicksight-dataset-rowlevelpermissiondataset-arn - Arn *types.Value `json:"Arn,omitempty"` - - // FormatVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html#cfn-quicksight-dataset-rowlevelpermissiondataset-formatversion - FormatVersion *types.Value `json:"FormatVersion,omitempty"` - - // Namespace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html#cfn-quicksight-dataset-rowlevelpermissiondataset-namespace - Namespace *types.Value `json:"Namespace,omitempty"` - - // PermissionPolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-rowlevelpermissiondataset.html#cfn-quicksight-dataset-rowlevelpermissiondataset-permissionpolicy - PermissionPolicy *types.Value `json:"PermissionPolicy,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 *DataSet_RowLevelPermissionDataSet) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.RowLevelPermissionDataSet" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_s3source.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_s3source.go deleted file mode 100644 index b1b3e07086..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_s3source.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_S3Source AWS CloudFormation Resource (AWS::QuickSight::DataSet.S3Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-s3source.html -type DataSet_S3Source struct { - - // DataSourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-s3source.html#cfn-quicksight-dataset-s3source-datasourcearn - DataSourceArn *types.Value `json:"DataSourceArn,omitempty"` - - // InputColumns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-s3source.html#cfn-quicksight-dataset-s3source-inputcolumns - InputColumns []DataSet_InputColumn `json:"InputColumns,omitempty"` - - // UploadSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-s3source.html#cfn-quicksight-dataset-s3source-uploadsettings - UploadSettings *DataSet_UploadSettings `json:"UploadSettings,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 *DataSet_S3Source) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.S3Source" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_tagcolumnoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_tagcolumnoperation.go deleted file mode 100644 index 04868495f9..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_tagcolumnoperation.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_TagColumnOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.TagColumnOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-tagcolumnoperation.html -type DataSet_TagColumnOperation struct { - - // ColumnName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-tagcolumnoperation.html#cfn-quicksight-dataset-tagcolumnoperation-columnname - ColumnName *types.Value `json:"ColumnName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-tagcolumnoperation.html#cfn-quicksight-dataset-tagcolumnoperation-tags - Tags []DataSet_ColumnTag `json:"Tags,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 *DataSet_TagColumnOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.TagColumnOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_transformoperation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_transformoperation.go deleted file mode 100644 index a4f15a2802..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_transformoperation.go +++ /dev/null @@ -1,60 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_TransformOperation AWS CloudFormation Resource (AWS::QuickSight::DataSet.TransformOperation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html -type DataSet_TransformOperation struct { - - // CastColumnTypeOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-castcolumntypeoperation - CastColumnTypeOperation *DataSet_CastColumnTypeOperation `json:"CastColumnTypeOperation,omitempty"` - - // CreateColumnsOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-createcolumnsoperation - CreateColumnsOperation *DataSet_CreateColumnsOperation `json:"CreateColumnsOperation,omitempty"` - - // FilterOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-filteroperation - FilterOperation *DataSet_FilterOperation `json:"FilterOperation,omitempty"` - - // ProjectOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-projectoperation - ProjectOperation *DataSet_ProjectOperation `json:"ProjectOperation,omitempty"` - - // RenameColumnOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-renamecolumnoperation - RenameColumnOperation *DataSet_RenameColumnOperation `json:"RenameColumnOperation,omitempty"` - - // TagColumnOperation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-transformoperation.html#cfn-quicksight-dataset-transformoperation-tagcolumnoperation - TagColumnOperation *DataSet_TagColumnOperation `json:"TagColumnOperation,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 *DataSet_TransformOperation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.TransformOperation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_uploadsettings.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_uploadsettings.go deleted file mode 100644 index f1b48db6b7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-dataset_uploadsettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSet_UploadSettings AWS CloudFormation Resource (AWS::QuickSight::DataSet.UploadSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html -type DataSet_UploadSettings struct { - - // ContainsHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html#cfn-quicksight-dataset-uploadsettings-containsheader - ContainsHeader *types.Value `json:"ContainsHeader,omitempty"` - - // Delimiter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html#cfn-quicksight-dataset-uploadsettings-delimiter - Delimiter *types.Value `json:"Delimiter,omitempty"` - - // Format AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html#cfn-quicksight-dataset-uploadsettings-format - Format *types.Value `json:"Format,omitempty"` - - // StartFromRow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html#cfn-quicksight-dataset-uploadsettings-startfromrow - StartFromRow *types.Value `json:"StartFromRow,omitempty"` - - // TextQualifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uploadsettings.html#cfn-quicksight-dataset-uploadsettings-textqualifier - TextQualifier *types.Value `json:"TextQualifier,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 *DataSet_UploadSettings) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSet.UploadSettings" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource.go deleted file mode 100644 index 4f6c68a175..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource.go +++ /dev/null @@ -1,164 +0,0 @@ -package quicksight - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource AWS CloudFormation Resource (AWS::QuickSight::DataSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html -type DataSource struct { - - // AlternateDataSourceParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-alternatedatasourceparameters - AlternateDataSourceParameters []DataSource_DataSourceParameters `json:"AlternateDataSourceParameters,omitempty"` - - // AwsAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // Credentials AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-credentials - Credentials *DataSource_DataSourceCredentials `json:"Credentials,omitempty"` - - // DataSourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-datasourceid - DataSourceId *types.Value `json:"DataSourceId,omitempty"` - - // DataSourceParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-datasourceparameters - DataSourceParameters *DataSource_DataSourceParameters `json:"DataSourceParameters,omitempty"` - - // ErrorInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-errorinfo - ErrorInfo *DataSource_DataSourceErrorInfo `json:"ErrorInfo,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-name - Name *types.Value `json:"Name,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-permissions - Permissions []DataSource_ResourcePermission `json:"Permissions,omitempty"` - - // SslProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-sslproperties - SslProperties *DataSource_SslProperties `json:"SslProperties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-type - Type *types.Value `json:"Type,omitempty"` - - // VpcConnectionProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-datasource.html#cfn-quicksight-datasource-vpcconnectionproperties - VpcConnectionProperties *DataSource_VpcConnectionProperties `json:"VpcConnectionProperties,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 *DataSource) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource" -} - -// 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 (r DataSource) MarshalJSON() ([]byte, error) { - type Properties DataSource - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataSource) UnmarshalJSON(b []byte) error { - type Properties DataSource - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataSource(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonelasticsearchparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonelasticsearchparameters.go deleted file mode 100644 index ab122a57df..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonelasticsearchparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AmazonElasticsearchParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.AmazonElasticsearchParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-amazonelasticsearchparameters.html -type DataSource_AmazonElasticsearchParameters struct { - - // Domain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-amazonelasticsearchparameters.html#cfn-quicksight-datasource-amazonelasticsearchparameters-domain - Domain *types.Value `json:"Domain,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 *DataSource_AmazonElasticsearchParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.AmazonElasticsearchParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonopensearchparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonopensearchparameters.go deleted file mode 100644 index c4e0577fb7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_amazonopensearchparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AmazonOpenSearchParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.AmazonOpenSearchParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-amazonopensearchparameters.html -type DataSource_AmazonOpenSearchParameters struct { - - // Domain AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-amazonopensearchparameters.html#cfn-quicksight-datasource-amazonopensearchparameters-domain - Domain *types.Value `json:"Domain,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 *DataSource_AmazonOpenSearchParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.AmazonOpenSearchParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_athenaparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_athenaparameters.go deleted file mode 100644 index 2f62f825b7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_athenaparameters.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AthenaParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.AthenaParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-athenaparameters.html -type DataSource_AthenaParameters struct { - - // WorkGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-athenaparameters.html#cfn-quicksight-datasource-athenaparameters-workgroup - WorkGroup *types.Value `json:"WorkGroup,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 *DataSource_AthenaParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.AthenaParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_auroraparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_auroraparameters.go deleted file mode 100644 index f7422658b8..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_auroraparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AuroraParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.AuroraParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-auroraparameters.html -type DataSource_AuroraParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-auroraparameters.html#cfn-quicksight-datasource-auroraparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-auroraparameters.html#cfn-quicksight-datasource-auroraparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-auroraparameters.html#cfn-quicksight-datasource-auroraparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_AuroraParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.AuroraParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_aurorapostgresqlparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_aurorapostgresqlparameters.go deleted file mode 100644 index 71bbec3d94..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_aurorapostgresqlparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_AuroraPostgreSqlParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.AuroraPostgreSqlParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-aurorapostgresqlparameters.html -type DataSource_AuroraPostgreSqlParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-aurorapostgresqlparameters.html#cfn-quicksight-datasource-aurorapostgresqlparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-aurorapostgresqlparameters.html#cfn-quicksight-datasource-aurorapostgresqlparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-aurorapostgresqlparameters.html#cfn-quicksight-datasource-aurorapostgresqlparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_AuroraPostgreSqlParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.AuroraPostgreSqlParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_credentialpair.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_credentialpair.go deleted file mode 100644 index 77b7151918..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_credentialpair.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_CredentialPair AWS CloudFormation Resource (AWS::QuickSight::DataSource.CredentialPair) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-credentialpair.html -type DataSource_CredentialPair struct { - - // AlternateDataSourceParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-credentialpair.html#cfn-quicksight-datasource-credentialpair-alternatedatasourceparameters - AlternateDataSourceParameters []DataSource_DataSourceParameters `json:"AlternateDataSourceParameters,omitempty"` - - // Password AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-credentialpair.html#cfn-quicksight-datasource-credentialpair-password - Password *types.Value `json:"Password,omitempty"` - - // Username AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-credentialpair.html#cfn-quicksight-datasource-credentialpair-username - Username *types.Value `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 *DataSource_CredentialPair) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.CredentialPair" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourcecredentials.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourcecredentials.go deleted file mode 100644 index 9531cd2ebb..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourcecredentials.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceCredentials AWS CloudFormation Resource (AWS::QuickSight::DataSource.DataSourceCredentials) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourcecredentials.html -type DataSource_DataSourceCredentials struct { - - // CopySourceArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourcecredentials.html#cfn-quicksight-datasource-datasourcecredentials-copysourcearn - CopySourceArn *types.Value `json:"CopySourceArn,omitempty"` - - // CredentialPair AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourcecredentials.html#cfn-quicksight-datasource-datasourcecredentials-credentialpair - CredentialPair *DataSource_CredentialPair `json:"CredentialPair,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 *DataSource_DataSourceCredentials) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.DataSourceCredentials" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceparameters.go deleted file mode 100644 index 9ab7547d88..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_datasourceparameters.go +++ /dev/null @@ -1,115 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_DataSourceParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.DataSourceParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html -type DataSource_DataSourceParameters struct { - - // AmazonElasticsearchParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-amazonelasticsearchparameters - AmazonElasticsearchParameters *DataSource_AmazonElasticsearchParameters `json:"AmazonElasticsearchParameters,omitempty"` - - // AmazonOpenSearchParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-amazonopensearchparameters - AmazonOpenSearchParameters *DataSource_AmazonOpenSearchParameters `json:"AmazonOpenSearchParameters,omitempty"` - - // AthenaParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-athenaparameters - AthenaParameters *DataSource_AthenaParameters `json:"AthenaParameters,omitempty"` - - // AuroraParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-auroraparameters - AuroraParameters *DataSource_AuroraParameters `json:"AuroraParameters,omitempty"` - - // AuroraPostgreSqlParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-aurorapostgresqlparameters - AuroraPostgreSqlParameters *DataSource_AuroraPostgreSqlParameters `json:"AuroraPostgreSqlParameters,omitempty"` - - // MariaDbParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-mariadbparameters - MariaDbParameters *DataSource_MariaDbParameters `json:"MariaDbParameters,omitempty"` - - // MySqlParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-mysqlparameters - MySqlParameters *DataSource_MySqlParameters `json:"MySqlParameters,omitempty"` - - // OracleParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-oracleparameters - OracleParameters *DataSource_OracleParameters `json:"OracleParameters,omitempty"` - - // PostgreSqlParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-postgresqlparameters - PostgreSqlParameters *DataSource_PostgreSqlParameters `json:"PostgreSqlParameters,omitempty"` - - // PrestoParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-prestoparameters - PrestoParameters *DataSource_PrestoParameters `json:"PrestoParameters,omitempty"` - - // RdsParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-rdsparameters - RdsParameters *DataSource_RdsParameters `json:"RdsParameters,omitempty"` - - // RedshiftParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-redshiftparameters - RedshiftParameters *DataSource_RedshiftParameters `json:"RedshiftParameters,omitempty"` - - // S3Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-s3parameters - S3Parameters *DataSource_S3Parameters `json:"S3Parameters,omitempty"` - - // SnowflakeParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-snowflakeparameters - SnowflakeParameters *DataSource_SnowflakeParameters `json:"SnowflakeParameters,omitempty"` - - // SparkParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-sparkparameters - SparkParameters *DataSource_SparkParameters `json:"SparkParameters,omitempty"` - - // SqlServerParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-sqlserverparameters - SqlServerParameters *DataSource_SqlServerParameters `json:"SqlServerParameters,omitempty"` - - // TeradataParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourceparameters.html#cfn-quicksight-datasource-datasourceparameters-teradataparameters - TeradataParameters *DataSource_TeradataParameters `json:"TeradataParameters,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 *DataSource_DataSourceParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.DataSourceParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_manifestfilelocation.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_manifestfilelocation.go deleted file mode 100644 index eb7ff269c3..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_manifestfilelocation.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ManifestFileLocation AWS CloudFormation Resource (AWS::QuickSight::DataSource.ManifestFileLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-manifestfilelocation.html -type DataSource_ManifestFileLocation struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-manifestfilelocation.html#cfn-quicksight-datasource-manifestfilelocation-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-manifestfilelocation.html#cfn-quicksight-datasource-manifestfilelocation-key - Key *types.Value `json:"Key,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 *DataSource_ManifestFileLocation) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.ManifestFileLocation" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mariadbparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mariadbparameters.go deleted file mode 100644 index 87e93aaef8..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mariadbparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_MariaDbParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.MariaDbParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mariadbparameters.html -type DataSource_MariaDbParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mariadbparameters.html#cfn-quicksight-datasource-mariadbparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mariadbparameters.html#cfn-quicksight-datasource-mariadbparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mariadbparameters.html#cfn-quicksight-datasource-mariadbparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_MariaDbParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.MariaDbParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mysqlparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mysqlparameters.go deleted file mode 100644 index 04b501d821..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_mysqlparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_MySqlParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.MySqlParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mysqlparameters.html -type DataSource_MySqlParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mysqlparameters.html#cfn-quicksight-datasource-mysqlparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mysqlparameters.html#cfn-quicksight-datasource-mysqlparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-mysqlparameters.html#cfn-quicksight-datasource-mysqlparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_MySqlParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.MySqlParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_oracleparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_oracleparameters.go deleted file mode 100644 index a951eda85f..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_oracleparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_OracleParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.OracleParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-oracleparameters.html -type DataSource_OracleParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-oracleparameters.html#cfn-quicksight-datasource-oracleparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-oracleparameters.html#cfn-quicksight-datasource-oracleparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-oracleparameters.html#cfn-quicksight-datasource-oracleparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_OracleParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.OracleParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_postgresqlparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_postgresqlparameters.go deleted file mode 100644 index 067007fbc1..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_postgresqlparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_PostgreSqlParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.PostgreSqlParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-postgresqlparameters.html -type DataSource_PostgreSqlParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-postgresqlparameters.html#cfn-quicksight-datasource-postgresqlparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-postgresqlparameters.html#cfn-quicksight-datasource-postgresqlparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-postgresqlparameters.html#cfn-quicksight-datasource-postgresqlparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_PostgreSqlParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.PostgreSqlParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_prestoparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_prestoparameters.go deleted file mode 100644 index 27b50d7f9d..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_prestoparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_PrestoParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.PrestoParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-prestoparameters.html -type DataSource_PrestoParameters struct { - - // Catalog AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-prestoparameters.html#cfn-quicksight-datasource-prestoparameters-catalog - Catalog *types.Value `json:"Catalog,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-prestoparameters.html#cfn-quicksight-datasource-prestoparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-prestoparameters.html#cfn-quicksight-datasource-prestoparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_PrestoParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.PrestoParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_rdsparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_rdsparameters.go deleted file mode 100644 index cbc0726e44..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_rdsparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_RdsParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.RdsParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-rdsparameters.html -type DataSource_RdsParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-rdsparameters.html#cfn-quicksight-datasource-rdsparameters-database - Database *types.Value `json:"Database,omitempty"` - - // InstanceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-rdsparameters.html#cfn-quicksight-datasource-rdsparameters-instanceid - InstanceId *types.Value `json:"InstanceId,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 *DataSource_RdsParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.RdsParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_redshiftparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_redshiftparameters.go deleted file mode 100644 index af41ef94f2..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_redshiftparameters.go +++ /dev/null @@ -1,52 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_RedshiftParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.RedshiftParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html -type DataSource_RedshiftParameters struct { - - // ClusterId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html#cfn-quicksight-datasource-redshiftparameters-clusterid - ClusterId *types.Value `json:"ClusterId,omitempty"` - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html#cfn-quicksight-datasource-redshiftparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html#cfn-quicksight-datasource-redshiftparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html#cfn-quicksight-datasource-redshiftparameters-port - Port *types.Value `json:"Port,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 *DataSource_RedshiftParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.RedshiftParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_resourcepermission.go deleted file mode 100644 index e430e32987..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::DataSource.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-resourcepermission.html -type DataSource_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-resourcepermission.html#cfn-quicksight-datasource-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-resourcepermission.html#cfn-quicksight-datasource-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *DataSource_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_s3parameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_s3parameters.go deleted file mode 100644 index 46d32dc3bf..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_s3parameters.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_S3Parameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.S3Parameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-s3parameters.html -type DataSource_S3Parameters struct { - - // ManifestFileLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-s3parameters.html#cfn-quicksight-datasource-s3parameters-manifestfilelocation - ManifestFileLocation *DataSource_ManifestFileLocation `json:"ManifestFileLocation,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 *DataSource_S3Parameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.S3Parameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_snowflakeparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_snowflakeparameters.go deleted file mode 100644 index d3b0c2b091..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_snowflakeparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SnowflakeParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.SnowflakeParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-snowflakeparameters.html -type DataSource_SnowflakeParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-snowflakeparameters.html#cfn-quicksight-datasource-snowflakeparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-snowflakeparameters.html#cfn-quicksight-datasource-snowflakeparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Warehouse AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-snowflakeparameters.html#cfn-quicksight-datasource-snowflakeparameters-warehouse - Warehouse *types.Value `json:"Warehouse,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 *DataSource_SnowflakeParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.SnowflakeParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sparkparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sparkparameters.go deleted file mode 100644 index 6aee2358d1..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sparkparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SparkParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.SparkParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sparkparameters.html -type DataSource_SparkParameters struct { - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sparkparameters.html#cfn-quicksight-datasource-sparkparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sparkparameters.html#cfn-quicksight-datasource-sparkparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_SparkParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.SparkParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sqlserverparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sqlserverparameters.go deleted file mode 100644 index 11ed462e4e..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sqlserverparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SqlServerParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.SqlServerParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sqlserverparameters.html -type DataSource_SqlServerParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sqlserverparameters.html#cfn-quicksight-datasource-sqlserverparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sqlserverparameters.html#cfn-quicksight-datasource-sqlserverparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sqlserverparameters.html#cfn-quicksight-datasource-sqlserverparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_SqlServerParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.SqlServerParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sslproperties.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sslproperties.go deleted file mode 100644 index 61539070c7..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_sslproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_SslProperties AWS CloudFormation Resource (AWS::QuickSight::DataSource.SslProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sslproperties.html -type DataSource_SslProperties struct { - - // DisableSsl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-sslproperties.html#cfn-quicksight-datasource-sslproperties-disablessl - DisableSsl *types.Value `json:"DisableSsl,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 *DataSource_SslProperties) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.SslProperties" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_teradataparameters.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_teradataparameters.go deleted file mode 100644 index 68c61e5b24..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_teradataparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_TeradataParameters AWS CloudFormation Resource (AWS::QuickSight::DataSource.TeradataParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-teradataparameters.html -type DataSource_TeradataParameters struct { - - // Database AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-teradataparameters.html#cfn-quicksight-datasource-teradataparameters-database - Database *types.Value `json:"Database,omitempty"` - - // Host AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-teradataparameters.html#cfn-quicksight-datasource-teradataparameters-host - Host *types.Value `json:"Host,omitempty"` - - // Port AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-teradataparameters.html#cfn-quicksight-datasource-teradataparameters-port - Port *types.Value `json:"Port"` - - // 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 *DataSource_TeradataParameters) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.TeradataParameters" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_vpcconnectionproperties.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_vpcconnectionproperties.go deleted file mode 100644 index a119b9ed72..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-datasource_vpcconnectionproperties.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataSource_VpcConnectionProperties AWS CloudFormation Resource (AWS::QuickSight::DataSource.VpcConnectionProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-vpcconnectionproperties.html -type DataSource_VpcConnectionProperties struct { - - // VpcConnectionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-vpcconnectionproperties.html#cfn-quicksight-datasource-vpcconnectionproperties-vpcconnectionarn - VpcConnectionArn *types.Value `json:"VpcConnectionArn,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 *DataSource_VpcConnectionProperties) AWSCloudFormationType() string { - return "AWS::QuickSight::DataSource.VpcConnectionProperties" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_datasetreference.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_datasetreference.go deleted file mode 100644 index bda2476bae..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_datasetreference.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_DataSetReference AWS CloudFormation Resource (AWS::QuickSight::Template.DataSetReference) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-datasetreference.html -type Template_DataSetReference struct { - - // DataSetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-datasetreference.html#cfn-quicksight-template-datasetreference-datasetarn - DataSetArn *types.Value `json:"DataSetArn,omitempty"` - - // DataSetPlaceholder AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-datasetreference.html#cfn-quicksight-template-datasetreference-datasetplaceholder - DataSetPlaceholder *types.Value `json:"DataSetPlaceholder,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 *Template_DataSetReference) AWSCloudFormationType() string { - return "AWS::QuickSight::Template.DataSetReference" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_resourcepermission.go deleted file mode 100644 index e58a4715c4..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::Template.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-resourcepermission.html -type Template_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-resourcepermission.html#cfn-quicksight-template-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-resourcepermission.html#cfn-quicksight-template-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *Template_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::Template.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceanalysis.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceanalysis.go deleted file mode 100644 index 699e964413..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceanalysis.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_TemplateSourceAnalysis AWS CloudFormation Resource (AWS::QuickSight::Template.TemplateSourceAnalysis) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceanalysis.html -type Template_TemplateSourceAnalysis struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceanalysis.html#cfn-quicksight-template-templatesourceanalysis-arn - Arn *types.Value `json:"Arn,omitempty"` - - // DataSetReferences AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceanalysis.html#cfn-quicksight-template-templatesourceanalysis-datasetreferences - DataSetReferences []Template_DataSetReference `json:"DataSetReferences,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 *Template_TemplateSourceAnalysis) AWSCloudFormationType() string { - return "AWS::QuickSight::Template.TemplateSourceAnalysis" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceentity.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceentity.go deleted file mode 100644 index 656ca53480..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourceentity.go +++ /dev/null @@ -1,40 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_TemplateSourceEntity AWS CloudFormation Resource (AWS::QuickSight::Template.TemplateSourceEntity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceentity.html -type Template_TemplateSourceEntity struct { - - // SourceAnalysis AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceentity.html#cfn-quicksight-template-templatesourceentity-sourceanalysis - SourceAnalysis *Template_TemplateSourceAnalysis `json:"SourceAnalysis,omitempty"` - - // SourceTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourceentity.html#cfn-quicksight-template-templatesourceentity-sourcetemplate - SourceTemplate *Template_TemplateSourceTemplate `json:"SourceTemplate,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 *Template_TemplateSourceEntity) AWSCloudFormationType() string { - return "AWS::QuickSight::Template.TemplateSourceEntity" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourcetemplate.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourcetemplate.go deleted file mode 100644 index abb47e65e1..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template_templatesourcetemplate.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_TemplateSourceTemplate AWS CloudFormation Resource (AWS::QuickSight::Template.TemplateSourceTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourcetemplate.html -type Template_TemplateSourceTemplate struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-templatesourcetemplate.html#cfn-quicksight-template-templatesourcetemplate-arn - Arn *types.Value `json:"Arn,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 *Template_TemplateSourceTemplate) AWSCloudFormationType() string { - return "AWS::QuickSight::Template.TemplateSourceTemplate" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme.go deleted file mode 100644 index fe24895482..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme.go +++ /dev/null @@ -1,144 +0,0 @@ -package quicksight - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme AWS CloudFormation Resource (AWS::QuickSight::Theme) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html -type Theme struct { - - // AwsAccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // BaseThemeId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-basethemeid - BaseThemeId *types.Value `json:"BaseThemeId,omitempty"` - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-configuration - Configuration *Theme_ThemeConfiguration `json:"Configuration,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-name - Name *types.Value `json:"Name,omitempty"` - - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-permissions - Permissions []Theme_ResourcePermission `json:"Permissions,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // ThemeId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-themeid - ThemeId *types.Value `json:"ThemeId,omitempty"` - - // VersionDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-theme.html#cfn-quicksight-theme-versiondescription - VersionDescription *types.Value `json:"VersionDescription,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 *Theme) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme" -} - -// 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 (r Theme) MarshalJSON() ([]byte, error) { - type Properties Theme - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Theme) UnmarshalJSON(b []byte) error { - type Properties Theme - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Theme(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_borderstyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_borderstyle.go deleted file mode 100644 index 47f8e0afb2..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_borderstyle.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_BorderStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.BorderStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-borderstyle.html -type Theme_BorderStyle struct { - - // Show AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-borderstyle.html#cfn-quicksight-theme-borderstyle-show - Show *types.Value `json:"Show,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 *Theme_BorderStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.BorderStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_datacolorpalette.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_datacolorpalette.go deleted file mode 100644 index b68d75f7bc..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_datacolorpalette.go +++ /dev/null @@ -1,47 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_DataColorPalette AWS CloudFormation Resource (AWS::QuickSight::Theme.DataColorPalette) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-datacolorpalette.html -type Theme_DataColorPalette struct { - - // Colors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-datacolorpalette.html#cfn-quicksight-theme-datacolorpalette-colors - Colors *types.Value `json:"Colors,omitempty"` - - // EmptyFillColor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-datacolorpalette.html#cfn-quicksight-theme-datacolorpalette-emptyfillcolor - EmptyFillColor *types.Value `json:"EmptyFillColor,omitempty"` - - // MinMaxGradient AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-datacolorpalette.html#cfn-quicksight-theme-datacolorpalette-minmaxgradient - MinMaxGradient *types.Value `json:"MinMaxGradient,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 *Theme_DataColorPalette) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.DataColorPalette" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_font.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_font.go deleted file mode 100644 index 02ba10bb2b..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_font.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_Font AWS CloudFormation Resource (AWS::QuickSight::Theme.Font) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-font.html -type Theme_Font struct { - - // FontFamily AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-font.html#cfn-quicksight-theme-font-fontfamily - FontFamily *types.Value `json:"FontFamily,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 *Theme_Font) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.Font" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_gutterstyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_gutterstyle.go deleted file mode 100644 index fa48da31a4..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_gutterstyle.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_GutterStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.GutterStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-gutterstyle.html -type Theme_GutterStyle struct { - - // Show AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-gutterstyle.html#cfn-quicksight-theme-gutterstyle-show - Show *types.Value `json:"Show,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 *Theme_GutterStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.GutterStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_marginstyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_marginstyle.go deleted file mode 100644 index fe3990e005..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_marginstyle.go +++ /dev/null @@ -1,37 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_MarginStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.MarginStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-marginstyle.html -type Theme_MarginStyle struct { - - // Show AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-marginstyle.html#cfn-quicksight-theme-marginstyle-show - Show *types.Value `json:"Show,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 *Theme_MarginStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.MarginStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_resourcepermission.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_resourcepermission.go deleted file mode 100644 index 18b3631f2d..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_resourcepermission.go +++ /dev/null @@ -1,42 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_ResourcePermission AWS CloudFormation Resource (AWS::QuickSight::Theme.ResourcePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-resourcepermission.html -type Theme_ResourcePermission struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-resourcepermission.html#cfn-quicksight-theme-resourcepermission-actions - Actions *types.Value `json:"Actions,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-resourcepermission.html#cfn-quicksight-theme-resourcepermission-principal - Principal *types.Value `json:"Principal,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 *Theme_ResourcePermission) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.ResourcePermission" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_sheetstyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_sheetstyle.go deleted file mode 100644 index 5cf77d96cf..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_sheetstyle.go +++ /dev/null @@ -1,40 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_SheetStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.SheetStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-sheetstyle.html -type Theme_SheetStyle struct { - - // Tile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-sheetstyle.html#cfn-quicksight-theme-sheetstyle-tile - Tile *Theme_TileStyle `json:"Tile,omitempty"` - - // TileLayout AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-sheetstyle.html#cfn-quicksight-theme-sheetstyle-tilelayout - TileLayout *Theme_TileLayoutStyle `json:"TileLayout,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 *Theme_SheetStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.SheetStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_themeconfiguration.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_themeconfiguration.go deleted file mode 100644 index 3fc35f1138..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_themeconfiguration.go +++ /dev/null @@ -1,50 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_ThemeConfiguration AWS CloudFormation Resource (AWS::QuickSight::Theme.ThemeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-themeconfiguration.html -type Theme_ThemeConfiguration struct { - - // DataColorPalette AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-themeconfiguration.html#cfn-quicksight-theme-themeconfiguration-datacolorpalette - DataColorPalette *Theme_DataColorPalette `json:"DataColorPalette,omitempty"` - - // Sheet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-themeconfiguration.html#cfn-quicksight-theme-themeconfiguration-sheet - Sheet *Theme_SheetStyle `json:"Sheet,omitempty"` - - // Typography AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-themeconfiguration.html#cfn-quicksight-theme-themeconfiguration-typography - Typography *Theme_Typography `json:"Typography,omitempty"` - - // UIColorPalette AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-themeconfiguration.html#cfn-quicksight-theme-themeconfiguration-uicolorpalette - UIColorPalette *Theme_UIColorPalette `json:"UIColorPalette,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 *Theme_ThemeConfiguration) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.ThemeConfiguration" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilelayoutstyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilelayoutstyle.go deleted file mode 100644 index 0f081bd3fb..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilelayoutstyle.go +++ /dev/null @@ -1,40 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_TileLayoutStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.TileLayoutStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-tilelayoutstyle.html -type Theme_TileLayoutStyle struct { - - // Gutter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-tilelayoutstyle.html#cfn-quicksight-theme-tilelayoutstyle-gutter - Gutter *Theme_GutterStyle `json:"Gutter,omitempty"` - - // Margin AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-tilelayoutstyle.html#cfn-quicksight-theme-tilelayoutstyle-margin - Margin *Theme_MarginStyle `json:"Margin,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 *Theme_TileLayoutStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.TileLayoutStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilestyle.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilestyle.go deleted file mode 100644 index d5fdd2c332..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_tilestyle.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_TileStyle AWS CloudFormation Resource (AWS::QuickSight::Theme.TileStyle) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-tilestyle.html -type Theme_TileStyle struct { - - // Border AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-tilestyle.html#cfn-quicksight-theme-tilestyle-border - Border *Theme_BorderStyle `json:"Border,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 *Theme_TileStyle) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.TileStyle" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_typography.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_typography.go deleted file mode 100644 index c68f26a4aa..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_typography.go +++ /dev/null @@ -1,35 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_Typography AWS CloudFormation Resource (AWS::QuickSight::Theme.Typography) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-typography.html -type Theme_Typography struct { - - // FontFamilies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-typography.html#cfn-quicksight-theme-typography-fontfamilies - FontFamilies []Theme_Font `json:"FontFamilies,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 *Theme_Typography) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.Typography" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_uicolorpalette.go b/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_uicolorpalette.go deleted file mode 100644 index 9a55880305..0000000000 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-theme_uicolorpalette.go +++ /dev/null @@ -1,112 +0,0 @@ -package quicksight - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Theme_UIColorPalette AWS CloudFormation Resource (AWS::QuickSight::Theme.UIColorPalette) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html -type Theme_UIColorPalette struct { - - // Accent AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-accent - Accent *types.Value `json:"Accent,omitempty"` - - // AccentForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-accentforeground - AccentForeground *types.Value `json:"AccentForeground,omitempty"` - - // Danger AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-danger - Danger *types.Value `json:"Danger,omitempty"` - - // DangerForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-dangerforeground - DangerForeground *types.Value `json:"DangerForeground,omitempty"` - - // Dimension AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-dimension - Dimension *types.Value `json:"Dimension,omitempty"` - - // DimensionForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-dimensionforeground - DimensionForeground *types.Value `json:"DimensionForeground,omitempty"` - - // Measure AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-measure - Measure *types.Value `json:"Measure,omitempty"` - - // MeasureForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-measureforeground - MeasureForeground *types.Value `json:"MeasureForeground,omitempty"` - - // PrimaryBackground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-primarybackground - PrimaryBackground *types.Value `json:"PrimaryBackground,omitempty"` - - // PrimaryForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-primaryforeground - PrimaryForeground *types.Value `json:"PrimaryForeground,omitempty"` - - // SecondaryBackground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-secondarybackground - SecondaryBackground *types.Value `json:"SecondaryBackground,omitempty"` - - // SecondaryForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-secondaryforeground - SecondaryForeground *types.Value `json:"SecondaryForeground,omitempty"` - - // Success AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-success - Success *types.Value `json:"Success,omitempty"` - - // SuccessForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-successforeground - SuccessForeground *types.Value `json:"SuccessForeground,omitempty"` - - // Warning AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-warning - Warning *types.Value `json:"Warning,omitempty"` - - // WarningForeground AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-theme-uicolorpalette.html#cfn-quicksight-theme-uicolorpalette-warningforeground - WarningForeground *types.Value `json:"WarningForeground,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 *Theme_UIColorPalette) AWSCloudFormationType() string { - return "AWS::QuickSight::Theme.UIColorPalette" -} diff --git a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder.go b/pkg/goformation/cloudformation/rds/aws-rds-customdbengineversion.go similarity index 61% rename from pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder.go rename to pkg/goformation/cloudformation/rds/aws-rds-customdbengineversion.go index abf8ed841a..afeb0c9aba 100644 --- a/pkg/goformation/cloudformation/appstream/aws-appstream-imagebuilder.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-customdbengineversion.go @@ -1,4 +1,4 @@ -package appstream +package rds import ( "bytes" @@ -11,74 +11,69 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ImageBuilder AWS CloudFormation Resource (AWS::AppStream::ImageBuilder) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html -type ImageBuilder struct { +// CustomDBEngineVersion AWS CloudFormation Resource (AWS::RDS::CustomDBEngineVersion) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html +type CustomDBEngineVersion struct { - // AccessEndpoints AWS CloudFormation Property + // DatabaseInstallationFilesS3BucketName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-accessendpoints - AccessEndpoints []ImageBuilder_AccessEndpoint `json:"AccessEndpoints,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-databaseinstallationfiless3bucketname + DatabaseInstallationFilesS3BucketName *types.Value `json:"DatabaseInstallationFilesS3BucketName,omitempty"` - // AppstreamAgentVersion AWS CloudFormation Property + // DatabaseInstallationFilesS3Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-appstreamagentversion - AppstreamAgentVersion *types.Value `json:"AppstreamAgentVersion,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-databaseinstallationfiless3prefix + DatabaseInstallationFilesS3Prefix *types.Value `json:"DatabaseInstallationFilesS3Prefix,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-description Description *types.Value `json:"Description,omitempty"` - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` + // Engine AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-engine + Engine *types.Value `json:"Engine,omitempty"` - // DomainJoinInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-domainjoininfo - DomainJoinInfo *ImageBuilder_DomainJoinInfo `json:"DomainJoinInfo,omitempty"` + // EngineVersion AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-engineversion + EngineVersion *types.Value `json:"EngineVersion,omitempty"` - // EnableDefaultInternetAccess AWS CloudFormation Property + // ImageId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-enabledefaultinternetaccess - EnableDefaultInternetAccess *types.Value `json:"EnableDefaultInternetAccess,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-imageid + ImageId *types.Value `json:"ImageId,omitempty"` - // IamRoleArn AWS CloudFormation Property + // KMSKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-iamrolearn - IamRoleArn *types.Value `json:"IamRoleArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-kmskeyid + KMSKeyId *types.Value `json:"KMSKeyId,omitempty"` - // ImageArn AWS CloudFormation Property + // Manifest AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-imagearn - ImageArn *types.Value `json:"ImageArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-manifest + Manifest *types.Value `json:"Manifest,omitempty"` - // ImageName AWS CloudFormation Property + // SourceCustomDbEngineVersionIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-imagename - ImageName *types.Value `json:"ImageName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-sourcecustomdbengineversionidentifier + SourceCustomDbEngineVersionIdentifier *types.Value `json:"SourceCustomDbEngineVersionIdentifier,omitempty"` - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-name - Name *types.Value `json:"Name,omitempty"` + // Status AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-status + Status *types.Value `json:"Status,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // VpcConfig AWS CloudFormation Property + // UseAwsProvidedLatestImage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-vpcconfig - VpcConfig *ImageBuilder_VpcConfig `json:"VpcConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-customdbengineversion.html#cfn-rds-customdbengineversion-useawsprovidedlatestimage + UseAwsProvidedLatestImage *types.Value `json:"UseAwsProvidedLatestImage,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -97,14 +92,14 @@ type ImageBuilder struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ImageBuilder) AWSCloudFormationType() string { - return "AWS::AppStream::ImageBuilder" +func (r *CustomDBEngineVersion) AWSCloudFormationType() string { + return "AWS::RDS::CustomDBEngineVersion" } // 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 (r ImageBuilder) MarshalJSON() ([]byte, error) { - type Properties ImageBuilder +func (r CustomDBEngineVersion) MarshalJSON() ([]byte, error) { + type Properties CustomDBEngineVersion return json.Marshal(&struct { Type string Properties Properties @@ -126,8 +121,8 @@ func (r ImageBuilder) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ImageBuilder) UnmarshalJSON(b []byte) error { - type Properties ImageBuilder +func (r *CustomDBEngineVersion) UnmarshalJSON(b []byte) error { + type Properties CustomDBEngineVersion res := &struct { Type string Properties *Properties @@ -148,7 +143,7 @@ func (r *ImageBuilder) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ImageBuilder(*res.Properties) + *r = CustomDBEngineVersion(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbcluster.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster.go index cfcd74bc4a..e2848462d9 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbcluster.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster.go @@ -15,11 +15,21 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html type DBCluster struct { + // AllocatedStorage AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-allocatedstorage + AllocatedStorage *types.Value `json:"AllocatedStorage,omitempty"` + // AssociatedRoles AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-associatedroles AssociatedRoles []DBCluster_DBClusterRole `json:"AssociatedRoles,omitempty"` + // AutoMinorVersionUpgrade AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-autominorversionupgrade + AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` + // AvailabilityZones AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-availabilityzones @@ -32,9 +42,14 @@ type DBCluster struct { // BackupRetentionPeriod AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-backuprententionperiod + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-backupretentionperiod BackupRetentionPeriod *types.Value `json:"BackupRetentionPeriod,omitempty"` + // ClusterScalabilityType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-clusterscalabilitytype + ClusterScalabilityType *types.Value `json:"ClusterScalabilityType,omitempty"` + // CopyTagsToSnapshot AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-copytagstosnapshot @@ -45,16 +60,36 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbclusteridentifier DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` + // DBClusterInstanceClass AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbclusterinstanceclass + DBClusterInstanceClass *types.Value `json:"DBClusterInstanceClass,omitempty"` + // DBClusterParameterGroupName AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbclusterparametergroupname DBClusterParameterGroupName *types.Value `json:"DBClusterParameterGroupName,omitempty"` + // DBInstanceParameterGroupName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbinstanceparametergroupname + DBInstanceParameterGroupName *types.Value `json:"DBInstanceParameterGroupName,omitempty"` + // DBSubnetGroupName AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbsubnetgroupname DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` + // DBSystemId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-dbsystemid + DBSystemId *types.Value `json:"DBSystemId,omitempty"` + + // DatabaseInsightsMode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-databaseinsightsmode + DatabaseInsightsMode *types.Value `json:"DatabaseInsightsMode,omitempty"` + // DatabaseName AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-databasename @@ -65,11 +100,26 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-deletionprotection DeletionProtection *types.Value `json:"DeletionProtection,omitempty"` + // Domain AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-domain + Domain *types.Value `json:"Domain,omitempty"` + + // DomainIAMRoleName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-domainiamrolename + DomainIAMRoleName *types.Value `json:"DomainIAMRoleName,omitempty"` + // EnableCloudwatchLogsExports AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablecloudwatchlogsexports EnableCloudwatchLogsExports *types.Value `json:"EnableCloudwatchLogsExports,omitempty"` + // EnableGlobalWriteForwarding AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enableglobalwriteforwarding + EnableGlobalWriteForwarding *types.Value `json:"EnableGlobalWriteForwarding,omitempty"` + // EnableHttpEndpoint AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablehttpendpoint @@ -80,11 +130,21 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enableiamdatabaseauthentication EnableIAMDatabaseAuthentication *types.Value `json:"EnableIAMDatabaseAuthentication,omitempty"` + // EnableLocalWriteForwarding AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enablelocalwriteforwarding + EnableLocalWriteForwarding *types.Value `json:"EnableLocalWriteForwarding,omitempty"` + // Engine AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-engine Engine *types.Value `json:"Engine,omitempty"` + // EngineLifecycleSupport AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enginelifecyclesupport + EngineLifecycleSupport *types.Value `json:"EngineLifecycleSupport,omitempty"` + // EngineMode AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-enginemode @@ -100,21 +160,66 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-globalclusteridentifier GlobalClusterIdentifier *types.Value `json:"GlobalClusterIdentifier,omitempty"` + // Iops AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-iops + Iops *types.Value `json:"Iops,omitempty"` + // KmsKeyId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` + // ManageMasterUserPassword AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-managemasteruserpassword + ManageMasterUserPassword *types.Value `json:"ManageMasterUserPassword,omitempty"` + // MasterUserPassword AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masteruserpassword MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` + // MasterUserSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masterusersecret + MasterUserSecret *DBCluster_MasterUserSecret `json:"MasterUserSecret,omitempty"` + // MasterUsername AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-masterusername MasterUsername *types.Value `json:"MasterUsername,omitempty"` + // MonitoringInterval AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-monitoringinterval + MonitoringInterval *types.Value `json:"MonitoringInterval,omitempty"` + + // MonitoringRoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-monitoringrolearn + MonitoringRoleArn *types.Value `json:"MonitoringRoleArn,omitempty"` + + // NetworkType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-networktype + NetworkType *types.Value `json:"NetworkType,omitempty"` + + // PerformanceInsightsEnabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-performanceinsightsenabled + PerformanceInsightsEnabled *types.Value `json:"PerformanceInsightsEnabled,omitempty"` + + // PerformanceInsightsKmsKeyId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-performanceinsightskmskeyid + PerformanceInsightsKmsKeyId *types.Value `json:"PerformanceInsightsKmsKeyId,omitempty"` + + // PerformanceInsightsRetentionPeriod AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-performanceinsightsretentionperiod + PerformanceInsightsRetentionPeriod *types.Value `json:"PerformanceInsightsRetentionPeriod,omitempty"` + // Port AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-port @@ -130,11 +235,21 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-preferredmaintenancewindow PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` + // PubliclyAccessible AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-publiclyaccessible + PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` + // ReplicationSourceIdentifier AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-replicationsourceidentifier ReplicationSourceIdentifier *types.Value `json:"ReplicationSourceIdentifier,omitempty"` + // RestoreToTime AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-restoretotime + RestoreToTime *types.Value `json:"RestoreToTime,omitempty"` + // RestoreType AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-restoretype @@ -145,6 +260,11 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-scalingconfiguration ScalingConfiguration *DBCluster_ScalingConfiguration `json:"ScalingConfiguration,omitempty"` + // ServerlessV2ScalingConfiguration AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration + ServerlessV2ScalingConfiguration *DBCluster_ServerlessV2ScalingConfiguration `json:"ServerlessV2ScalingConfiguration,omitempty"` + // SnapshotIdentifier AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-snapshotidentifier @@ -165,6 +285,11 @@ type DBCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storageencrypted StorageEncrypted *types.Value `json:"StorageEncrypted,omitempty"` + // StorageType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-storagetype + StorageType *types.Value `json:"StorageType,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-tags diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster_endpoint.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_endpoint.go similarity index 75% rename from pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster_endpoint.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbcluster_endpoint.go index 73c222ebcc..506cf4a988 100644 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-cluster_endpoint.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_endpoint.go @@ -1,4 +1,4 @@ -package memorydb +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_Endpoint AWS CloudFormation Resource (AWS::MemoryDB::Cluster.Endpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-memorydb-cluster-endpoint.html -type Cluster_Endpoint struct { +// DBCluster_Endpoint AWS CloudFormation Resource (AWS::RDS::DBCluster.Endpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-endpoint.html +type DBCluster_Endpoint struct { // Address AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-memorydb-cluster-endpoint.html#cfn-memorydb-cluster-endpoint-address + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-endpoint.html#cfn-rds-dbcluster-endpoint-address Address *types.Value `json:"Address,omitempty"` // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-memorydb-cluster-endpoint.html#cfn-memorydb-cluster-endpoint-port + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-endpoint.html#cfn-rds-dbcluster-endpoint-port Port *types.Value `json:"Port,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +37,6 @@ type Cluster_Endpoint struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_Endpoint) AWSCloudFormationType() string { - return "AWS::MemoryDB::Cluster.Endpoint" +func (r *DBCluster_Endpoint) AWSCloudFormationType() string { + return "AWS::RDS::DBCluster.Endpoint" } diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_replicaregion.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_masterusersecret.go similarity index 66% rename from pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_replicaregion.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbcluster_masterusersecret.go index e0dc977db7..d0ea51ee63 100644 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_replicaregion.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_masterusersecret.go @@ -1,4 +1,4 @@ -package secretsmanager +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Secret_ReplicaRegion AWS CloudFormation Resource (AWS::SecretsManager::Secret.ReplicaRegion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-replicaregion.html -type Secret_ReplicaRegion struct { +// DBCluster_MasterUserSecret AWS CloudFormation Resource (AWS::RDS::DBCluster.MasterUserSecret) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html +type DBCluster_MasterUserSecret struct { // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-replicaregion.html#cfn-secretsmanager-secret-replicaregion-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html#cfn-rds-dbcluster-masterusersecret-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-replicaregion.html#cfn-secretsmanager-secret-replicaregion-region - Region *types.Value `json:"Region,omitempty"` + // SecretArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-masterusersecret.html#cfn-rds-dbcluster-masterusersecret-secretarn + SecretArn *types.Value `json:"SecretArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Secret_ReplicaRegion struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Secret_ReplicaRegion) AWSCloudFormationType() string { - return "AWS::SecretsManager::Secret.ReplicaRegion" +func (r *DBCluster_MasterUserSecret) AWSCloudFormationType() string { + return "AWS::RDS::DBCluster.MasterUserSecret" } diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelsummary.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_readendpoint.go similarity index 70% rename from pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelsummary.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbcluster_readendpoint.go index aff719a388..c03eb17d42 100644 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelsummary.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_readendpoint.go @@ -1,4 +1,4 @@ -package wafv2 +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup_LabelSummary AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.LabelSummary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-labelsummary.html -type RuleGroup_LabelSummary struct { +// DBCluster_ReadEndpoint AWS CloudFormation Resource (AWS::RDS::DBCluster.ReadEndpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-readendpoint.html +type DBCluster_ReadEndpoint struct { - // Name AWS CloudFormation Property + // Address AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-labelsummary.html#cfn-wafv2-rulegroup-labelsummary-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-readendpoint.html#cfn-rds-dbcluster-readendpoint-address + Address *types.Value `json:"Address,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type RuleGroup_LabelSummary struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup_LabelSummary) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.LabelSummary" +func (r *DBCluster_ReadEndpoint) AWSCloudFormationType() string { + return "AWS::RDS::DBCluster.ReadEndpoint" } diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_scalingconfiguration.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_scalingconfiguration.go index 2ac302e6a4..f1858fb11b 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_scalingconfiguration.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_scalingconfiguration.go @@ -25,11 +25,21 @@ type DBCluster_ScalingConfiguration struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-scalingconfiguration.html#cfn-rds-dbcluster-scalingconfiguration-mincapacity MinCapacity *types.Value `json:"MinCapacity,omitempty"` + // SecondsBeforeTimeout AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-scalingconfiguration.html#cfn-rds-dbcluster-scalingconfiguration-secondsbeforetimeout + SecondsBeforeTimeout *types.Value `json:"SecondsBeforeTimeout,omitempty"` + // SecondsUntilAutoPause AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-scalingconfiguration.html#cfn-rds-dbcluster-scalingconfiguration-secondsuntilautopause SecondsUntilAutoPause *types.Value `json:"SecondsUntilAutoPause,omitempty"` + // TimeoutAction AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-scalingconfiguration.html#cfn-rds-dbcluster-scalingconfiguration-timeoutaction + TimeoutAction *types.Value `json:"TimeoutAction,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scalabletargetaction.go b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_serverlessv2scalingconfiguration.go similarity index 57% rename from pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scalabletargetaction.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbcluster_serverlessv2scalingconfiguration.go index b95956ff56..421dbb2f30 100644 --- a/pkg/goformation/cloudformation/applicationautoscaling/aws-applicationautoscaling-scalabletarget_scalabletargetaction.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbcluster_serverlessv2scalingconfiguration.go @@ -1,4 +1,4 @@ -package applicationautoscaling +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,20 +6,25 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ScalableTarget_ScalableTargetAction AWS CloudFormation Resource (AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scalabletargetaction.html -type ScalableTarget_ScalableTargetAction struct { +// DBCluster_ServerlessV2ScalingConfiguration AWS CloudFormation Resource (AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html +type DBCluster_ServerlessV2ScalingConfiguration struct { // MaxCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scalabletargetaction.html#cfn-applicationautoscaling-scalabletarget-scalabletargetaction-maxcapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration-maxcapacity MaxCapacity *types.Value `json:"MaxCapacity,omitempty"` // MinCapacity AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scalabletargetaction.html#cfn-applicationautoscaling-scalabletarget-scalabletargetaction-mincapacity + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration-mincapacity MinCapacity *types.Value `json:"MinCapacity,omitempty"` + // SecondsUntilAutoPause AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-serverlessv2scalingconfiguration.html#cfn-rds-dbcluster-serverlessv2scalingconfiguration-secondsuntilautopause + SecondsUntilAutoPause *types.Value `json:"SecondsUntilAutoPause,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +42,6 @@ type ScalableTarget_ScalableTargetAction struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ScalableTarget_ScalableTargetAction) AWSCloudFormationType() string { - return "AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction" +func (r *DBCluster_ServerlessV2ScalingConfiguration) AWSCloudFormationType() string { + return "AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration" } diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbclusterparametergroup.go b/pkg/goformation/cloudformation/rds/aws-rds-dbclusterparametergroup.go index dadc59c554..29482f2b96 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbclusterparametergroup.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbclusterparametergroup.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbclusterparametergroup.html type DBClusterParameterGroup struct { + // DBClusterParameterGroupName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbclusterparametergroup.html#cfn-rds-dbclusterparametergroup-dbclusterparametergroupname + DBClusterParameterGroupName *types.Value `json:"DBClusterParameterGroupName,omitempty"` + // Description AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbclusterparametergroup.html#cfn-rds-dbclusterparametergroup-description diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbinstance.go b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance.go index e90ee292ae..3f7aad08b1 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbinstance.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance.go @@ -12,267 +12,397 @@ import ( ) // DBInstance AWS CloudFormation Resource (AWS::RDS::DBInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html type DBInstance struct { // AllocatedStorage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-allocatedstorage + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-allocatedstorage AllocatedStorage *types.Value `json:"AllocatedStorage,omitempty"` // AllowMajorVersionUpgrade AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-allowmajorversionupgrade + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-allowmajorversionupgrade AllowMajorVersionUpgrade *types.Value `json:"AllowMajorVersionUpgrade,omitempty"` + // ApplyImmediately AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-applyimmediately + ApplyImmediately *types.Value `json:"ApplyImmediately,omitempty"` + // AssociatedRoles AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-associatedroles + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-associatedroles AssociatedRoles []DBInstance_DBInstanceRole `json:"AssociatedRoles,omitempty"` // AutoMinorVersionUpgrade AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-autominorversionupgrade + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-autominorversionupgrade AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` + // AutomaticBackupReplicationKmsKeyId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationkmskeyid + AutomaticBackupReplicationKmsKeyId *types.Value `json:"AutomaticBackupReplicationKmsKeyId,omitempty"` + + // AutomaticBackupReplicationRegion AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-automaticbackupreplicationregion + AutomaticBackupReplicationRegion *types.Value `json:"AutomaticBackupReplicationRegion,omitempty"` + // AvailabilityZone AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-availabilityzone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-availabilityzone AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` // BackupRetentionPeriod AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-backupretentionperiod + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-backupretentionperiod BackupRetentionPeriod *types.Value `json:"BackupRetentionPeriod,omitempty"` // CACertificateIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-cacertificateidentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-cacertificateidentifier CACertificateIdentifier *types.Value `json:"CACertificateIdentifier,omitempty"` + // CertificateDetails AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-certificatedetails + CertificateDetails *DBInstance_CertificateDetails `json:"CertificateDetails,omitempty"` + + // CertificateRotationRestart AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-certificaterotationrestart + CertificateRotationRestart *types.Value `json:"CertificateRotationRestart,omitempty"` + // CharacterSetName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-charactersetname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-charactersetname CharacterSetName *types.Value `json:"CharacterSetName,omitempty"` // CopyTagsToSnapshot AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-copytagstosnapshot + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-copytagstosnapshot CopyTagsToSnapshot *types.Value `json:"CopyTagsToSnapshot,omitempty"` + // CustomIAMInstanceProfile AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-customiaminstanceprofile + CustomIAMInstanceProfile *types.Value `json:"CustomIAMInstanceProfile,omitempty"` + // DBClusterIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbclusteridentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbclusteridentifier DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` + // DBClusterSnapshotIdentifier AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbclustersnapshotidentifier + DBClusterSnapshotIdentifier *types.Value `json:"DBClusterSnapshotIdentifier,omitempty"` + // DBInstanceClass AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbinstanceclass + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbinstanceclass DBInstanceClass *types.Value `json:"DBInstanceClass,omitempty"` // DBInstanceIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbinstanceidentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbinstanceidentifier DBInstanceIdentifier *types.Value `json:"DBInstanceIdentifier,omitempty"` // DBName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbname DBName *types.Value `json:"DBName,omitempty"` // DBParameterGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbparametergroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbparametergroupname DBParameterGroupName *types.Value `json:"DBParameterGroupName,omitempty"` // DBSecurityGroups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsecuritygroups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbsecuritygroups DBSecurityGroups *types.Value `json:"DBSecurityGroups,omitempty"` // DBSnapshotIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsnapshotidentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbsnapshotidentifier DBSnapshotIdentifier *types.Value `json:"DBSnapshotIdentifier,omitempty"` // DBSubnetGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsubnetgroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbsubnetgroupname DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` + // DBSystemId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dbsystemid + DBSystemId *types.Value `json:"DBSystemId,omitempty"` + + // DedicatedLogVolume AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-dedicatedlogvolume + DedicatedLogVolume *types.Value `json:"DedicatedLogVolume,omitempty"` + // DeleteAutomatedBackups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-deleteautomatedbackups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-deleteautomatedbackups DeleteAutomatedBackups *types.Value `json:"DeleteAutomatedBackups,omitempty"` // DeletionProtection AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-deletionprotection + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-deletionprotection DeletionProtection *types.Value `json:"DeletionProtection,omitempty"` // Domain AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-domain + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domain Domain *types.Value `json:"Domain,omitempty"` + // DomainAuthSecretArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainauthsecretarn + DomainAuthSecretArn *types.Value `json:"DomainAuthSecretArn,omitempty"` + + // DomainDnsIps AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domaindnsips + DomainDnsIps *types.Value `json:"DomainDnsIps,omitempty"` + + // DomainFqdn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainfqdn + DomainFqdn *types.Value `json:"DomainFqdn,omitempty"` + // DomainIAMRoleName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-domainiamrolename + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainiamrolename DomainIAMRoleName *types.Value `json:"DomainIAMRoleName,omitempty"` + // DomainOu AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-domainou + DomainOu *types.Value `json:"DomainOu,omitempty"` + // EnableCloudwatchLogsExports AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enablecloudwatchlogsexports + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-enablecloudwatchlogsexports EnableCloudwatchLogsExports *types.Value `json:"EnableCloudwatchLogsExports,omitempty"` // EnableIAMDatabaseAuthentication AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enableiamdatabaseauthentication + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-enableiamdatabaseauthentication EnableIAMDatabaseAuthentication *types.Value `json:"EnableIAMDatabaseAuthentication,omitempty"` // EnablePerformanceInsights AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enableperformanceinsights + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-enableperformanceinsights EnablePerformanceInsights *types.Value `json:"EnablePerformanceInsights,omitempty"` + // Endpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-endpoint + Endpoint *DBInstance_Endpoint `json:"Endpoint,omitempty"` + // Engine AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-engine + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-engine Engine *types.Value `json:"Engine,omitempty"` + // EngineLifecycleSupport AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-enginelifecyclesupport + EngineLifecycleSupport *types.Value `json:"EngineLifecycleSupport,omitempty"` + // EngineVersion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-engineversion + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-engineversion EngineVersion *types.Value `json:"EngineVersion,omitempty"` // Iops AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-iops + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-iops Iops *types.Value `json:"Iops,omitempty"` // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` // LicenseModel AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-licensemodel + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-licensemodel LicenseModel *types.Value `json:"LicenseModel,omitempty"` + // ManageMasterUserPassword AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-managemasteruserpassword + ManageMasterUserPassword *types.Value `json:"ManageMasterUserPassword,omitempty"` + // MasterUserPassword AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-masteruserpassword + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-masteruserpassword MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` + // MasterUserSecret AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-masterusersecret + MasterUserSecret *DBInstance_MasterUserSecret `json:"MasterUserSecret,omitempty"` + // MasterUsername AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-masterusername + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-masterusername MasterUsername *types.Value `json:"MasterUsername,omitempty"` // MaxAllocatedStorage AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-maxallocatedstorage + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-maxallocatedstorage MaxAllocatedStorage *types.Value `json:"MaxAllocatedStorage,omitempty"` // MonitoringInterval AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-monitoringinterval + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-monitoringinterval MonitoringInterval *types.Value `json:"MonitoringInterval,omitempty"` // MonitoringRoleArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-monitoringrolearn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-monitoringrolearn MonitoringRoleArn *types.Value `json:"MonitoringRoleArn,omitempty"` // MultiAZ AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-multiaz + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-multiaz MultiAZ *types.Value `json:"MultiAZ,omitempty"` + // NcharCharacterSetName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-ncharcharactersetname + NcharCharacterSetName *types.Value `json:"NcharCharacterSetName,omitempty"` + + // NetworkType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-networktype + NetworkType *types.Value `json:"NetworkType,omitempty"` + // OptionGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-optiongroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-optiongroupname OptionGroupName *types.Value `json:"OptionGroupName,omitempty"` // PerformanceInsightsKMSKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-performanceinsightskmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-performanceinsightskmskeyid PerformanceInsightsKMSKeyId *types.Value `json:"PerformanceInsightsKMSKeyId,omitempty"` // PerformanceInsightsRetentionPeriod AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-performanceinsightsretentionperiod + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-performanceinsightsretentionperiod PerformanceInsightsRetentionPeriod *types.Value `json:"PerformanceInsightsRetentionPeriod,omitempty"` // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-port + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-port Port *types.Value `json:"Port,omitempty"` // PreferredBackupWindow AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-preferredbackupwindow + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-preferredbackupwindow PreferredBackupWindow *types.Value `json:"PreferredBackupWindow,omitempty"` // PreferredMaintenanceWindow AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-preferredmaintenancewindow + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-preferredmaintenancewindow PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` // ProcessorFeatures AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-processorfeatures + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-processorfeatures ProcessorFeatures []DBInstance_ProcessorFeature `json:"ProcessorFeatures,omitempty"` // PromotionTier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-promotiontier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-promotiontier PromotionTier *types.Value `json:"PromotionTier,omitempty"` // PubliclyAccessible AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-publiclyaccessible + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-publiclyaccessible PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` + // ReplicaMode AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-replicamode + ReplicaMode *types.Value `json:"ReplicaMode,omitempty"` + + // RestoreTime AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-restoretime + RestoreTime *types.Value `json:"RestoreTime,omitempty"` + + // SourceDBClusterIdentifier AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-sourcedbclusteridentifier + SourceDBClusterIdentifier *types.Value `json:"SourceDBClusterIdentifier,omitempty"` + + // SourceDBInstanceAutomatedBackupsArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-sourcedbinstanceautomatedbackupsarn + SourceDBInstanceAutomatedBackupsArn *types.Value `json:"SourceDBInstanceAutomatedBackupsArn,omitempty"` + // SourceDBInstanceIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-sourcedbinstanceidentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-sourcedbinstanceidentifier SourceDBInstanceIdentifier *types.Value `json:"SourceDBInstanceIdentifier,omitempty"` + // SourceDbiResourceId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-sourcedbiresourceid + SourceDbiResourceId *types.Value `json:"SourceDbiResourceId,omitempty"` + // SourceRegion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-sourceregion + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-sourceregion SourceRegion *types.Value `json:"SourceRegion,omitempty"` // StorageEncrypted AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-storageencrypted + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-storageencrypted StorageEncrypted *types.Value `json:"StorageEncrypted,omitempty"` + // StorageThroughput AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-storagethroughput + StorageThroughput *types.Value `json:"StorageThroughput,omitempty"` + // StorageType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-storagetype + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-storagetype StorageType *types.Value `json:"StorageType,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // Timezone AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-timezone + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-timezone Timezone *types.Value `json:"Timezone,omitempty"` // UseDefaultProcessorFeatures AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-usedefaultprocessorfeatures + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-usedefaultprocessorfeatures UseDefaultProcessorFeatures *types.Value `json:"UseDefaultProcessorFeatures,omitempty"` + // UseLatestRestorableTime AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-uselatestrestorabletime + UseLatestRestorableTime *types.Value `json:"UseLatestRestorableTime,omitempty"` + // VPCSecurityGroups AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-vpcsecuritygroups + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#cfn-rds-dbinstance-vpcsecuritygroups VPCSecurityGroups *types.Value `json:"VPCSecurityGroups,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey_stagekey.go b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_certificatedetails.go similarity index 62% rename from pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey_stagekey.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbinstance_certificatedetails.go index 9cd6fed890..81c03ed8ba 100644 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-apikey_stagekey.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_certificatedetails.go @@ -1,4 +1,4 @@ -package apigateway +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ApiKey_StageKey AWS CloudFormation Resource (AWS::ApiGateway::ApiKey.StageKey) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html -type ApiKey_StageKey struct { +// DBInstance_CertificateDetails AWS CloudFormation Resource (AWS::RDS::DBInstance.CertificateDetails) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-certificatedetails.html +type DBInstance_CertificateDetails struct { - // RestApiId AWS CloudFormation Property + // CAIdentifier AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html#cfn-apigateway-apikey-stagekey-restapiid - RestApiId *types.Value `json:"RestApiId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-certificatedetails.html#cfn-rds-dbinstance-certificatedetails-caidentifier + CAIdentifier *types.Value `json:"CAIdentifier,omitempty"` - // StageName AWS CloudFormation Property + // ValidTill AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html#cfn-apigateway-apikey-stagekey-stagename - StageName *types.Value `json:"StageName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-certificatedetails.html#cfn-rds-dbinstance-certificatedetails-validtill + ValidTill *types.Value `json:"ValidTill,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type ApiKey_StageKey struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ApiKey_StageKey) AWSCloudFormationType() string { - return "AWS::ApiGateway::ApiKey.StageKey" +func (r *DBInstance_CertificateDetails) AWSCloudFormationType() string { + return "AWS::RDS::DBInstance.CertificateDetails" } diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster_endpoint.go b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_endpoint.go similarity index 65% rename from pkg/goformation/cloudformation/redshift/aws-redshift-cluster_endpoint.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbinstance_endpoint.go index 32fb0e3015..6f6f1f15c2 100644 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster_endpoint.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_endpoint.go @@ -1,4 +1,4 @@ -package redshift +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,18 +6,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_Endpoint AWS CloudFormation Resource (AWS::Redshift::Cluster.Endpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-endpoint.html -type Cluster_Endpoint struct { +// DBInstance_Endpoint AWS CloudFormation Resource (AWS::RDS::DBInstance.Endpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-endpoint.html +type DBInstance_Endpoint struct { // Address AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-endpoint.html#cfn-redshift-cluster-endpoint-address + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-endpoint.html#cfn-rds-dbinstance-endpoint-address Address *types.Value `json:"Address,omitempty"` + // HostedZoneId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-endpoint.html#cfn-rds-dbinstance-endpoint-hostedzoneid + HostedZoneId *types.Value `json:"HostedZoneId,omitempty"` + // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-endpoint.html#cfn-redshift-cluster-endpoint-port + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-endpoint.html#cfn-rds-dbinstance-endpoint-port Port *types.Value `json:"Port,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -37,6 +42,6 @@ type Cluster_Endpoint struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_Endpoint) AWSCloudFormationType() string { - return "AWS::Redshift::Cluster.Endpoint" +func (r *DBInstance_Endpoint) AWSCloudFormationType() string { + return "AWS::RDS::DBInstance.Endpoint" } diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_encryptionoptions.go b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_masterusersecret.go similarity index 66% rename from pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_encryptionoptions.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbinstance_masterusersecret.go index 17ecf06017..711d326560 100644 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-broker_encryptionoptions.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbinstance_masterusersecret.go @@ -1,4 +1,4 @@ -package amazonmq +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Broker_EncryptionOptions AWS CloudFormation Resource (AWS::AmazonMQ::Broker.EncryptionOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-encryptionoptions.html -type Broker_EncryptionOptions struct { +// DBInstance_MasterUserSecret AWS CloudFormation Resource (AWS::RDS::DBInstance.MasterUserSecret) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-masterusersecret.html +type DBInstance_MasterUserSecret struct { // KmsKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-encryptionoptions.html#cfn-amazonmq-broker-encryptionoptions-kmskeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-masterusersecret.html#cfn-rds-dbinstance-masterusersecret-kmskeyid KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - // UseAwsOwnedKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-encryptionoptions.html#cfn-amazonmq-broker-encryptionoptions-useawsownedkey - UseAwsOwnedKey *types.Value `json:"UseAwsOwnedKey"` + // SecretArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-masterusersecret.html#cfn-rds-dbinstance-masterusersecret-secretarn + SecretArn *types.Value `json:"SecretArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Broker_EncryptionOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Broker_EncryptionOptions) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Broker.EncryptionOptions" +func (r *DBInstance_MasterUserSecret) AWSCloudFormationType() string { + return "AWS::RDS::DBInstance.MasterUserSecret" } diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbparametergroup.go b/pkg/goformation/cloudformation/rds/aws-rds-dbparametergroup.go index b8ecaed1ff..7c492c009a 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbparametergroup.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbparametergroup.go @@ -12,27 +12,32 @@ import ( ) // DBParameterGroup AWS CloudFormation Resource (AWS::RDS::DBParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html type DBParameterGroup struct { + // DBParameterGroupName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html#cfn-rds-dbparametergroup-dbparametergroupname + DBParameterGroupName *types.Value `json:"DBParameterGroupName,omitempty"` + // Description AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html#cfn-rds-dbparametergroup-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html#cfn-rds-dbparametergroup-description Description *types.Value `json:"Description,omitempty"` // Family AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html#cfn-rds-dbparametergroup-family + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html#cfn-rds-dbparametergroup-family Family *types.Value `json:"Family,omitempty"` // Parameters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html#cfn-rds-dbparametergroup-parameters - Parameters map[string]*types.Value `json:"Parameters,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html#cfn-rds-dbparametergroup-parameters + Parameters interface{} `json:"Parameters,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html#cfn-rds-dbparametergroup-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html#cfn-rds-dbparametergroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbproxy_authformat.go b/pkg/goformation/cloudformation/rds/aws-rds-dbproxy_authformat.go index 30e5479a40..6b02c12017 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbproxy_authformat.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbproxy_authformat.go @@ -15,6 +15,11 @@ type DBProxy_AuthFormat struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbproxy-authformat.html#cfn-rds-dbproxy-authformat-authscheme AuthScheme *types.Value `json:"AuthScheme,omitempty"` + // ClientPasswordAuthType AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbproxy-authformat.html#cfn-rds-dbproxy-authformat-clientpasswordauthtype + ClientPasswordAuthType *types.Value `json:"ClientPasswordAuthType,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbproxy-authformat.html#cfn-rds-dbproxy-authformat-description @@ -30,11 +35,6 @@ type DBProxy_AuthFormat struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbproxy-authformat.html#cfn-rds-dbproxy-authformat-secretarn SecretArn *types.Value `json:"SecretArn,omitempty"` - // UserName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbproxy-authformat.html#cfn-rds-dbproxy-authformat-username - UserName *types.Value `json:"UserName,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/docdb/aws-docdb-dbinstance.go b/pkg/goformation/cloudformation/rds/aws-rds-dbshardgroup.go similarity index 72% rename from pkg/goformation/cloudformation/docdb/aws-docdb-dbinstance.go rename to pkg/goformation/cloudformation/rds/aws-rds-dbshardgroup.go index 9753ecba5b..70cf936638 100644 --- a/pkg/goformation/cloudformation/docdb/aws-docdb-dbinstance.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbshardgroup.go @@ -1,4 +1,4 @@ -package docdb +package rds import ( "bytes" @@ -11,43 +11,43 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DBInstance AWS CloudFormation Resource (AWS::DocDB::DBInstance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html -type DBInstance struct { +// DBShardGroup AWS CloudFormation Resource (AWS::RDS::DBShardGroup) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html +type DBShardGroup struct { - // AutoMinorVersionUpgrade AWS CloudFormation Property + // ComputeRedundancy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-autominorversionupgrade - AutoMinorVersionUpgrade *types.Value `json:"AutoMinorVersionUpgrade,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-computeredundancy + ComputeRedundancy *types.Value `json:"ComputeRedundancy,omitempty"` // DBClusterIdentifier AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-dbclusteridentifier + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-dbclusteridentifier DBClusterIdentifier *types.Value `json:"DBClusterIdentifier,omitempty"` - // DBInstanceClass AWS CloudFormation Property + // DBShardGroupIdentifier AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-dbshardgroupidentifier + DBShardGroupIdentifier *types.Value `json:"DBShardGroupIdentifier,omitempty"` + + // MaxACU AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-dbinstanceclass - DBInstanceClass *types.Value `json:"DBInstanceClass,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-maxacu + MaxACU *types.Value `json:"MaxACU"` - // DBInstanceIdentifier AWS CloudFormation Property + // MinACU AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-dbinstanceidentifier - DBInstanceIdentifier *types.Value `json:"DBInstanceIdentifier,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-minacu + MinACU *types.Value `json:"MinACU,omitempty"` - // PreferredMaintenanceWindow AWS CloudFormation Property + // PubliclyAccessible AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-publiclyaccessible + PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbinstance.html#cfn-docdb-dbinstance-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#cfn-rds-dbshardgroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -67,14 +67,14 @@ type DBInstance struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DBInstance) AWSCloudFormationType() string { - return "AWS::DocDB::DBInstance" +func (r *DBShardGroup) AWSCloudFormationType() string { + return "AWS::RDS::DBShardGroup" } // 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 (r DBInstance) MarshalJSON() ([]byte, error) { - type Properties DBInstance +func (r DBShardGroup) MarshalJSON() ([]byte, error) { + type Properties DBShardGroup return json.Marshal(&struct { Type string Properties Properties @@ -96,8 +96,8 @@ func (r DBInstance) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DBInstance) UnmarshalJSON(b []byte) error { - type Properties DBInstance +func (r *DBShardGroup) UnmarshalJSON(b []byte) error { + type Properties DBShardGroup res := &struct { Type string Properties *Properties @@ -118,7 +118,7 @@ func (r *DBInstance) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = DBInstance(*res.Properties) + *r = DBShardGroup(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/rds/aws-rds-dbsubnetgroup.go b/pkg/goformation/cloudformation/rds/aws-rds-dbsubnetgroup.go index 7a86656a42..3dcb8f5fb0 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-dbsubnetgroup.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-dbsubnetgroup.go @@ -12,27 +12,27 @@ import ( ) // DBSubnetGroup AWS CloudFormation Resource (AWS::RDS::DBSubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html type DBSubnetGroup struct { // DBSubnetGroupDescription AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html#cfn-rds-dbsubnetgroup-dbsubnetgroupdescription + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupdescription DBSubnetGroupDescription *types.Value `json:"DBSubnetGroupDescription,omitempty"` // DBSubnetGroupName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html#cfn-rds-dbsubnetgroup-dbsubnetgroupname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupname DBSubnetGroupName *types.Value `json:"DBSubnetGroupName,omitempty"` // SubnetIds AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html#cfn-rds-dbsubnetgroup-subnetids + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-subnetids SubnetIds *types.Value `json:"SubnetIds,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html#cfn-rds-dbsubnetgroup-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/rds/aws-rds-eventsubscription.go b/pkg/goformation/cloudformation/rds/aws-rds-eventsubscription.go index bf81c7b59e..9192fb0826 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-eventsubscription.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-eventsubscription.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -39,6 +40,16 @@ type EventSubscription struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html#cfn-rds-eventsubscription-sourcetype SourceType *types.Value `json:"SourceType,omitempty"` + // SubscriptionName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html#cfn-rds-eventsubscription-subscriptionname + SubscriptionName *types.Value `json:"SubscriptionName,omitempty"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html#cfn-rds-eventsubscription-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/rds/aws-rds-globalcluster.go b/pkg/goformation/cloudformation/rds/aws-rds-globalcluster.go index 4736290221..9b303109a1 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-globalcluster.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-globalcluster.go @@ -7,6 +7,7 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -24,6 +25,11 @@ type GlobalCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-engine Engine *types.Value `json:"Engine,omitempty"` + // EngineLifecycleSupport AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-enginelifecyclesupport + EngineLifecycleSupport *types.Value `json:"EngineLifecycleSupport,omitempty"` + // EngineVersion AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-engineversion @@ -34,6 +40,11 @@ type GlobalCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalclusteridentifier GlobalClusterIdentifier *types.Value `json:"GlobalClusterIdentifier,omitempty"` + // GlobalEndpoint AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-globalendpoint + GlobalEndpoint *GlobalCluster_GlobalEndpoint `json:"GlobalEndpoint,omitempty"` + // SourceDBClusterIdentifier AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-sourcedbclusteridentifier @@ -44,6 +55,11 @@ type GlobalCluster struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-storageencrypted StorageEncrypted *types.Value `json:"StorageEncrypted,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html#cfn-rds-globalcluster-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcontroller.go b/pkg/goformation/cloudformation/rds/aws-rds-globalcluster_globalendpoint.go similarity index 69% rename from pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcontroller.go rename to pkg/goformation/cloudformation/rds/aws-rds-globalcluster_globalendpoint.go index c6d6fd51f6..98ad2a0b79 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-service_deploymentcontroller.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-globalcluster_globalendpoint.go @@ -1,4 +1,4 @@ -package ecs +package rds import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Service_DeploymentController AWS CloudFormation Resource (AWS::ECS::Service.DeploymentController) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html -type Service_DeploymentController struct { +// GlobalCluster_GlobalEndpoint AWS CloudFormation Resource (AWS::RDS::GlobalCluster.GlobalEndpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html +type GlobalCluster_GlobalEndpoint struct { - // Type AWS CloudFormation Property + // Address AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html#cfn-ecs-service-deploymentcontroller-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-globalcluster-globalendpoint.html#cfn-rds-globalcluster-globalendpoint-address + Address *types.Value `json:"Address,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Service_DeploymentController struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Service_DeploymentController) AWSCloudFormationType() string { - return "AWS::ECS::Service.DeploymentController" +func (r *GlobalCluster_GlobalEndpoint) AWSCloudFormationType() string { + return "AWS::RDS::GlobalCluster.GlobalEndpoint" } diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup.go b/pkg/goformation/cloudformation/rds/aws-rds-integration.go similarity index 71% rename from pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup.go rename to pkg/goformation/cloudformation/rds/aws-rds-integration.go index a6a0818eb8..512a4144cb 100644 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-integration.go @@ -1,4 +1,4 @@ -package wafv2 +package rds import ( "bytes" @@ -11,49 +11,49 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RuleGroup AWS CloudFormation Resource (AWS::WAFv2::RuleGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html -type RuleGroup struct { +// Integration AWS CloudFormation Resource (AWS::RDS::Integration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html +type Integration struct { - // Capacity AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-capacity - Capacity *types.Value `json:"Capacity"` + // AdditionalEncryptionContext AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-additionalencryptioncontext + AdditionalEncryptionContext map[string]*types.Value `json:"AdditionalEncryptionContext,omitempty"` - // CustomResponseBodies AWS CloudFormation Property + // DataFilter AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-customresponsebodies - CustomResponseBodies map[string]RuleGroup_CustomResponseBody `json:"CustomResponseBodies,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-datafilter + DataFilter *types.Value `json:"DataFilter,omitempty"` // Description AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-description + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-description Description *types.Value `json:"Description,omitempty"` - // Name AWS CloudFormation Property + // IntegrationName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-integrationname + IntegrationName *types.Value `json:"IntegrationName,omitempty"` - // Rules AWS CloudFormation Property + // KMSKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-rules - Rules []RuleGroup_Rule `json:"Rules,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-kmskeyid + KMSKeyId *types.Value `json:"KMSKeyId,omitempty"` - // Scope AWS CloudFormation Property + // SourceArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-scope - Scope *types.Value `json:"Scope,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-sourcearn + SourceArn *types.Value `json:"SourceArn,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // VisibilityConfig AWS CloudFormation Property + // TargetArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-visibilityconfig - VisibilityConfig *RuleGroup_VisibilityConfig `json:"VisibilityConfig,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-integration.html#cfn-rds-integration-targetarn + TargetArn *types.Value `json:"TargetArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -72,14 +72,14 @@ type RuleGroup struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RuleGroup) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup" +func (r *Integration) AWSCloudFormationType() string { + return "AWS::RDS::Integration" } // 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 (r RuleGroup) MarshalJSON() ([]byte, error) { - type Properties RuleGroup +func (r Integration) MarshalJSON() ([]byte, error) { + type Properties Integration return json.Marshal(&struct { Type string Properties Properties @@ -101,8 +101,8 @@ func (r RuleGroup) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RuleGroup) UnmarshalJSON(b []byte) error { - type Properties RuleGroup +func (r *Integration) UnmarshalJSON(b []byte) error { + type Properties Integration res := &struct { Type string Properties *Properties @@ -123,7 +123,7 @@ func (r *RuleGroup) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = RuleGroup(*res.Properties) + *r = Integration(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup.go b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup.go index d75965a61d..dd00635887 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup.go @@ -26,7 +26,7 @@ type OptionGroup struct { MajorEngineVersion *types.Value `json:"MajorEngineVersion,omitempty"` // OptionConfigurations AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optionconfigurations OptionConfigurations []OptionGroup_OptionConfiguration `json:"OptionConfigurations,omitempty"` @@ -35,6 +35,11 @@ type OptionGroup struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optiongroupdescription OptionGroupDescription *types.Value `json:"OptionGroupDescription,omitempty"` + // OptionGroupName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optiongroupname + OptionGroupName *types.Value `json:"OptionGroupName,omitempty"` + // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-tags diff --git a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionconfiguration.go b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionconfiguration.go index 1406cb27f0..e3e2849b13 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionconfiguration.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionconfiguration.go @@ -7,37 +7,37 @@ import ( ) // OptionGroup_OptionConfiguration AWS CloudFormation Resource (AWS::RDS::OptionGroup.OptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html type OptionGroup_OptionConfiguration struct { // DBSecurityGroupMemberships AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-dbsecuritygroupmemberships + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-dbsecuritygroupmemberships DBSecurityGroupMemberships *types.Value `json:"DBSecurityGroupMemberships,omitempty"` // OptionName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionname OptionName *types.Value `json:"OptionName,omitempty"` // OptionSettings AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionsettings + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionsettings OptionSettings []OptionGroup_OptionSetting `json:"OptionSettings,omitempty"` // OptionVersion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfiguration-optionversion + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-optionversion OptionVersion *types.Value `json:"OptionVersion,omitempty"` // Port AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-port + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-port Port *types.Value `json:"Port,omitempty"` // VpcSecurityGroupMemberships AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-vpcsecuritygroupmemberships + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfiguration.html#cfn-rds-optiongroup-optionconfiguration-vpcsecuritygroupmemberships VpcSecurityGroupMemberships *types.Value `json:"VpcSecurityGroupMemberships,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionsetting.go b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionsetting.go index 5686d9d708..ef4ad9bf2d 100644 --- a/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionsetting.go +++ b/pkg/goformation/cloudformation/rds/aws-rds-optiongroup_optionsetting.go @@ -7,17 +7,17 @@ import ( ) // OptionGroup_OptionSetting AWS CloudFormation Resource (AWS::RDS::OptionGroup.OptionSetting) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations-optionsettings.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionsetting.html type OptionGroup_OptionSetting struct { // Name AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations-optionsettings.html#cfn-rds-optiongroup-optionconfigurations-optionsettings-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionsetting.html#cfn-rds-optiongroup-optionsetting-name Name *types.Value `json:"Name,omitempty"` // Value AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations-optionsettings.html#cfn-rds-optiongroup-optionconfigurations-optionsettings-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionsetting.html#cfn-rds-optiongroup-optionsetting-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster.go b/pkg/goformation/cloudformation/redshift/aws-redshift-cluster.go deleted file mode 100644 index 76b7237940..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster.go +++ /dev/null @@ -1,339 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::Redshift::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html -type Cluster struct { - - // AllowVersionUpgrade AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade - AllowVersionUpgrade *types.Value `json:"AllowVersionUpgrade,omitempty"` - - // AquaConfigurationStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-aquaconfigurationstatus - AquaConfigurationStatus *types.Value `json:"AquaConfigurationStatus,omitempty"` - - // AutomatedSnapshotRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod - AutomatedSnapshotRetentionPeriod *types.Value `json:"AutomatedSnapshotRetentionPeriod,omitempty"` - - // AvailabilityZone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone - AvailabilityZone *types.Value `json:"AvailabilityZone,omitempty"` - - // AvailabilityZoneRelocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzonerelocation - AvailabilityZoneRelocation *types.Value `json:"AvailabilityZoneRelocation,omitempty"` - - // AvailabilityZoneRelocationStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzonerelocationstatus - AvailabilityZoneRelocationStatus *types.Value `json:"AvailabilityZoneRelocationStatus,omitempty"` - - // Classic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-classic - Classic *types.Value `json:"Classic,omitempty"` - - // ClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,omitempty"` - - // ClusterParameterGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname - ClusterParameterGroupName *types.Value `json:"ClusterParameterGroupName,omitempty"` - - // ClusterSecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups - ClusterSecurityGroups *types.Value `json:"ClusterSecurityGroups,omitempty"` - - // ClusterSubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname - ClusterSubnetGroupName *types.Value `json:"ClusterSubnetGroupName,omitempty"` - - // ClusterType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype - ClusterType *types.Value `json:"ClusterType,omitempty"` - - // ClusterVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion - ClusterVersion *types.Value `json:"ClusterVersion,omitempty"` - - // DBName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname - DBName *types.Value `json:"DBName,omitempty"` - - // DeferMaintenance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-defermaintenance - DeferMaintenance *types.Value `json:"DeferMaintenance,omitempty"` - - // DeferMaintenanceDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-defermaintenanceduration - DeferMaintenanceDuration *types.Value `json:"DeferMaintenanceDuration,omitempty"` - - // DeferMaintenanceEndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-defermaintenanceendtime - DeferMaintenanceEndTime *types.Value `json:"DeferMaintenanceEndTime,omitempty"` - - // DeferMaintenanceStartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-defermaintenancestarttime - DeferMaintenanceStartTime *types.Value `json:"DeferMaintenanceStartTime,omitempty"` - - // DestinationRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-destinationregion - DestinationRegion *types.Value `json:"DestinationRegion,omitempty"` - - // ElasticIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip - ElasticIp *types.Value `json:"ElasticIp,omitempty"` - - // Encrypted AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted - Encrypted *types.Value `json:"Encrypted,omitempty"` - - // EnhancedVpcRouting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-enhancedvpcrouting - EnhancedVpcRouting *types.Value `json:"EnhancedVpcRouting,omitempty"` - - // HsmClientCertificateIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertificateidentifier - HsmClientCertificateIdentifier *types.Value `json:"HsmClientCertificateIdentifier,omitempty"` - - // HsmConfigurationIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmconfigurationidentifier - HsmConfigurationIdentifier *types.Value `json:"HsmConfigurationIdentifier,omitempty"` - - // IamRoles AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles - IamRoles *types.Value `json:"IamRoles,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // LoggingProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-loggingproperties - LoggingProperties *Cluster_LoggingProperties `json:"LoggingProperties,omitempty"` - - // MaintenanceTrackName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-maintenancetrackname - MaintenanceTrackName *types.Value `json:"MaintenanceTrackName,omitempty"` - - // ManualSnapshotRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-manualsnapshotretentionperiod - ManualSnapshotRetentionPeriod *types.Value `json:"ManualSnapshotRetentionPeriod,omitempty"` - - // MasterUserPassword AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword - MasterUserPassword *types.Value `json:"MasterUserPassword,omitempty"` - - // MasterUsername AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername - MasterUsername *types.Value `json:"MasterUsername,omitempty"` - - // NodeType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype - NodeType *types.Value `json:"NodeType,omitempty"` - - // NumberOfNodes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-numberofnodes - NumberOfNodes *types.Value `json:"NumberOfNodes,omitempty"` - - // OwnerAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount - OwnerAccount *types.Value `json:"OwnerAccount,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port - Port *types.Value `json:"Port,omitempty"` - - // PreferredMaintenanceWindow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow - PreferredMaintenanceWindow *types.Value `json:"PreferredMaintenanceWindow,omitempty"` - - // PubliclyAccessible AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible - PubliclyAccessible *types.Value `json:"PubliclyAccessible,omitempty"` - - // ResourceAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-resourceaction - ResourceAction *types.Value `json:"ResourceAction,omitempty"` - - // RevisionTarget AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-revisiontarget - RevisionTarget *types.Value `json:"RevisionTarget,omitempty"` - - // RotateEncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-rotateencryptionkey - RotateEncryptionKey *types.Value `json:"RotateEncryptionKey,omitempty"` - - // SnapshotClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier - SnapshotClusterIdentifier *types.Value `json:"SnapshotClusterIdentifier,omitempty"` - - // SnapshotCopyGrantName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotcopygrantname - SnapshotCopyGrantName *types.Value `json:"SnapshotCopyGrantName,omitempty"` - - // SnapshotCopyManual AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotcopymanual - SnapshotCopyManual *types.Value `json:"SnapshotCopyManual,omitempty"` - - // SnapshotCopyRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotcopyretentionperiod - SnapshotCopyRetentionPeriod *types.Value `json:"SnapshotCopyRetentionPeriod,omitempty"` - - // SnapshotIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier - SnapshotIdentifier *types.Value `json:"SnapshotIdentifier,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *Cluster) AWSCloudFormationType() string { - return "AWS::Redshift::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup.go b/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup.go deleted file mode 100644 index d51c020c43..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterParameterGroup AWS CloudFormation Resource (AWS::Redshift::ClusterParameterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html -type ClusterParameterGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html#cfn-redshift-clusterparametergroup-description - Description *types.Value `json:"Description,omitempty"` - - // ParameterGroupFamily AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html#cfn-redshift-clusterparametergroup-parametergroupfamily - ParameterGroupFamily *types.Value `json:"ParameterGroupFamily,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html#cfn-redshift-clusterparametergroup-parameters - Parameters []ClusterParameterGroup_Parameter `json:"Parameters,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html#cfn-redshift-clusterparametergroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ClusterParameterGroup) AWSCloudFormationType() string { - return "AWS::Redshift::ClusterParameterGroup" -} - -// 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 (r ClusterParameterGroup) MarshalJSON() ([]byte, error) { - type Properties ClusterParameterGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClusterParameterGroup) UnmarshalJSON(b []byte) error { - type Properties ClusterParameterGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClusterParameterGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup_parameter.go b/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup_parameter.go deleted file mode 100644 index a0aab4695c..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-clusterparametergroup_parameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterParameterGroup_Parameter AWS CloudFormation Resource (AWS::Redshift::ClusterParameterGroup.Parameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html -type ClusterParameterGroup_Parameter struct { - - // ParameterName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametername - ParameterName *types.Value `json:"ParameterName,omitempty"` - - // ParameterValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametervalue - ParameterValue *types.Value `json:"ParameterValue,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 *ClusterParameterGroup_Parameter) AWSCloudFormationType() string { - return "AWS::Redshift::ClusterParameterGroup.Parameter" -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroup.go b/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroup.go deleted file mode 100644 index efc84f488f..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroup.go +++ /dev/null @@ -1,114 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterSecurityGroup AWS CloudFormation Resource (AWS::Redshift::ClusterSecurityGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroup.html -type ClusterSecurityGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroup.html#cfn-redshift-clustersecuritygroup-description - Description *types.Value `json:"Description,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroup.html#cfn-redshift-clustersecuritygroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ClusterSecurityGroup) AWSCloudFormationType() string { - return "AWS::Redshift::ClusterSecurityGroup" -} - -// 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 (r ClusterSecurityGroup) MarshalJSON() ([]byte, error) { - type Properties ClusterSecurityGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClusterSecurityGroup) UnmarshalJSON(b []byte) error { - type Properties ClusterSecurityGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClusterSecurityGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroupingress.go b/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroupingress.go deleted file mode 100644 index 5b16adf811..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersecuritygroupingress.go +++ /dev/null @@ -1,123 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterSecurityGroupIngress AWS CloudFormation Resource (AWS::Redshift::ClusterSecurityGroupIngress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html -type ClusterSecurityGroupIngress struct { - - // CIDRIP AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-cidrip - CIDRIP *types.Value `json:"CIDRIP,omitempty"` - - // ClusterSecurityGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-clustersecuritygroupname - ClusterSecurityGroupName *types.Value `json:"ClusterSecurityGroupName,omitempty"` - - // EC2SecurityGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupname - EC2SecurityGroupName *types.Value `json:"EC2SecurityGroupName,omitempty"` - - // EC2SecurityGroupOwnerId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupownerid - EC2SecurityGroupOwnerId *types.Value `json:"EC2SecurityGroupOwnerId,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 *ClusterSecurityGroupIngress) AWSCloudFormationType() string { - return "AWS::Redshift::ClusterSecurityGroupIngress" -} - -// 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 (r ClusterSecurityGroupIngress) MarshalJSON() ([]byte, error) { - type Properties ClusterSecurityGroupIngress - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClusterSecurityGroupIngress) UnmarshalJSON(b []byte) error { - type Properties ClusterSecurityGroupIngress - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClusterSecurityGroupIngress(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersubnetgroup.go b/pkg/goformation/cloudformation/redshift/aws-redshift-clustersubnetgroup.go deleted file mode 100644 index 0dd21196f1..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-clustersubnetgroup.go +++ /dev/null @@ -1,119 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ClusterSubnetGroup AWS CloudFormation Resource (AWS::Redshift::ClusterSubnetGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.html -type ClusterSubnetGroup struct { - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.html#cfn-redshift-clustersubnetgroup-description - Description *types.Value `json:"Description,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.html#cfn-redshift-clustersubnetgroup-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersubnetgroup.html#cfn-redshift-clustersubnetgroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ClusterSubnetGroup) AWSCloudFormationType() string { - return "AWS::Redshift::ClusterSubnetGroup" -} - -// 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 (r ClusterSubnetGroup) MarshalJSON() ([]byte, error) { - type Properties ClusterSubnetGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ClusterSubnetGroup) UnmarshalJSON(b []byte) error { - type Properties ClusterSubnetGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ClusterSubnetGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess.go b/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess.go deleted file mode 100644 index 07be4553ad..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess.go +++ /dev/null @@ -1,128 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointAccess AWS CloudFormation Resource (AWS::Redshift::EndpointAccess) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html -type EndpointAccess struct { - - // ClusterIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html#cfn-redshift-endpointaccess-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html#cfn-redshift-endpointaccess-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // ResourceOwner AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html#cfn-redshift-endpointaccess-resourceowner - ResourceOwner *types.Value `json:"ResourceOwner,omitempty"` - - // SubnetGroupName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html#cfn-redshift-endpointaccess-subnetgroupname - SubnetGroupName *types.Value `json:"SubnetGroupName,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointaccess.html#cfn-redshift-endpointaccess-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,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 *EndpointAccess) AWSCloudFormationType() string { - return "AWS::Redshift::EndpointAccess" -} - -// 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 (r EndpointAccess) MarshalJSON() ([]byte, error) { - type Properties EndpointAccess - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EndpointAccess) UnmarshalJSON(b []byte) error { - type Properties EndpointAccess - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EndpointAccess(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess_vpcsecuritygroup.go b/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess_vpcsecuritygroup.go deleted file mode 100644 index 68db25c64f..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointaccess_vpcsecuritygroup.go +++ /dev/null @@ -1,42 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointAccess_VpcSecurityGroup AWS CloudFormation Resource (AWS::Redshift::EndpointAccess.VpcSecurityGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-endpointaccess-vpcsecuritygroup.html -type EndpointAccess_VpcSecurityGroup struct { - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-endpointaccess-vpcsecuritygroup.html#cfn-redshift-endpointaccess-vpcsecuritygroup-status - Status *types.Value `json:"Status,omitempty"` - - // VpcSecurityGroupId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-endpointaccess-vpcsecuritygroup.html#cfn-redshift-endpointaccess-vpcsecuritygroup-vpcsecuritygroupid - VpcSecurityGroupId *types.Value `json:"VpcSecurityGroupId,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 *EndpointAccess_VpcSecurityGroup) AWSCloudFormationType() string { - return "AWS::Redshift::EndpointAccess.VpcSecurityGroup" -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointauthorization.go b/pkg/goformation/cloudformation/redshift/aws-redshift-endpointauthorization.go deleted file mode 100644 index 6d444f5f68..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-endpointauthorization.go +++ /dev/null @@ -1,123 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointAuthorization AWS CloudFormation Resource (AWS::Redshift::EndpointAuthorization) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html -type EndpointAuthorization struct { - - // Account AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-account - Account *types.Value `json:"Account,omitempty"` - - // ClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,omitempty"` - - // Force AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-force - Force *types.Value `json:"Force,omitempty"` - - // VpcIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-endpointauthorization.html#cfn-redshift-endpointauthorization-vpcids - VpcIds *types.Value `json:"VpcIds,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 *EndpointAuthorization) AWSCloudFormationType() string { - return "AWS::Redshift::EndpointAuthorization" -} - -// 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 (r EndpointAuthorization) MarshalJSON() ([]byte, error) { - type Properties EndpointAuthorization - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EndpointAuthorization) UnmarshalJSON(b []byte) error { - type Properties EndpointAuthorization - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EndpointAuthorization(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-eventsubscription.go b/pkg/goformation/cloudformation/redshift/aws-redshift-eventsubscription.go deleted file mode 100644 index 166b3298c9..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-eventsubscription.go +++ /dev/null @@ -1,144 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EventSubscription AWS CloudFormation Resource (AWS::Redshift::EventSubscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html -type EventSubscription struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // EventCategories AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-eventcategories - EventCategories *types.Value `json:"EventCategories,omitempty"` - - // Severity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-severity - Severity *types.Value `json:"Severity,omitempty"` - - // SnsTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,omitempty"` - - // SourceIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-sourceids - SourceIds *types.Value `json:"SourceIds,omitempty"` - - // SourceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-sourcetype - SourceType *types.Value `json:"SourceType,omitempty"` - - // SubscriptionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-subscriptionname - SubscriptionName *types.Value `json:"SubscriptionName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-eventsubscription.html#cfn-redshift-eventsubscription-tags - Tags []cloudformation.Tag `json:"Tags,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 *EventSubscription) AWSCloudFormationType() string { - return "AWS::Redshift::EventSubscription" -} - -// 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 (r EventSubscription) MarshalJSON() ([]byte, error) { - type Properties EventSubscription - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EventSubscription) UnmarshalJSON(b []byte) error { - type Properties EventSubscription - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EventSubscription(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction.go b/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction.go deleted file mode 100644 index ace01286e7..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction.go +++ /dev/null @@ -1,143 +0,0 @@ -package redshift - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAction AWS CloudFormation Resource (AWS::Redshift::ScheduledAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html -type ScheduledAction struct { - - // Enable AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-enable - Enable *types.Value `json:"Enable,omitempty"` - - // EndTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-endtime - EndTime *types.Value `json:"EndTime,omitempty"` - - // IamRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-iamrole - IamRole *types.Value `json:"IamRole,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-schedule - Schedule *types.Value `json:"Schedule,omitempty"` - - // ScheduledActionDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-scheduledactiondescription - ScheduledActionDescription *types.Value `json:"ScheduledActionDescription,omitempty"` - - // ScheduledActionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-scheduledactionname - ScheduledActionName *types.Value `json:"ScheduledActionName,omitempty"` - - // StartTime AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-starttime - StartTime *types.Value `json:"StartTime,omitempty"` - - // TargetAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html#cfn-redshift-scheduledaction-targetaction - TargetAction *ScheduledAction_ScheduledActionType `json:"TargetAction,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 *ScheduledAction) AWSCloudFormationType() string { - return "AWS::Redshift::ScheduledAction" -} - -// 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 (r ScheduledAction) MarshalJSON() ([]byte, error) { - type Properties ScheduledAction - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScheduledAction) UnmarshalJSON(b []byte) error { - type Properties ScheduledAction - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScheduledAction(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_pauseclustermessage.go b/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_pauseclustermessage.go deleted file mode 100644 index 5cdc60775b..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_pauseclustermessage.go +++ /dev/null @@ -1,37 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAction_PauseClusterMessage AWS CloudFormation Resource (AWS::Redshift::ScheduledAction.PauseClusterMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-pauseclustermessage.html -type ScheduledAction_PauseClusterMessage struct { - - // ClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-pauseclustermessage.html#cfn-redshift-scheduledaction-pauseclustermessage-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,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 *ScheduledAction_PauseClusterMessage) AWSCloudFormationType() string { - return "AWS::Redshift::ScheduledAction.PauseClusterMessage" -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resizeclustermessage.go b/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resizeclustermessage.go deleted file mode 100644 index d46c164ef5..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resizeclustermessage.go +++ /dev/null @@ -1,57 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAction_ResizeClusterMessage AWS CloudFormation Resource (AWS::Redshift::ScheduledAction.ResizeClusterMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html -type ScheduledAction_ResizeClusterMessage struct { - - // Classic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-classic - Classic *types.Value `json:"Classic,omitempty"` - - // ClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,omitempty"` - - // ClusterType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-clustertype - ClusterType *types.Value `json:"ClusterType,omitempty"` - - // NodeType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-nodetype - NodeType *types.Value `json:"NodeType,omitempty"` - - // NumberOfNodes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html#cfn-redshift-scheduledaction-resizeclustermessage-numberofnodes - NumberOfNodes *types.Value `json:"NumberOfNodes,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 *ScheduledAction_ResizeClusterMessage) AWSCloudFormationType() string { - return "AWS::Redshift::ScheduledAction.ResizeClusterMessage" -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resumeclustermessage.go b/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resumeclustermessage.go deleted file mode 100644 index c0cd83d474..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_resumeclustermessage.go +++ /dev/null @@ -1,37 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAction_ResumeClusterMessage AWS CloudFormation Resource (AWS::Redshift::ScheduledAction.ResumeClusterMessage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resumeclustermessage.html -type ScheduledAction_ResumeClusterMessage struct { - - // ClusterIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resumeclustermessage.html#cfn-redshift-scheduledaction-resumeclustermessage-clusteridentifier - ClusterIdentifier *types.Value `json:"ClusterIdentifier,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 *ScheduledAction_ResumeClusterMessage) AWSCloudFormationType() string { - return "AWS::Redshift::ScheduledAction.ResumeClusterMessage" -} diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_scheduledactiontype.go b/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_scheduledactiontype.go deleted file mode 100644 index 58ad49fafe..0000000000 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-scheduledaction_scheduledactiontype.go +++ /dev/null @@ -1,45 +0,0 @@ -package redshift - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledAction_ScheduledActionType AWS CloudFormation Resource (AWS::Redshift::ScheduledAction.ScheduledActionType) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html -type ScheduledAction_ScheduledActionType struct { - - // PauseCluster AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-pausecluster - PauseCluster *ScheduledAction_PauseClusterMessage `json:"PauseCluster,omitempty"` - - // ResizeCluster AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-resizecluster - ResizeCluster *ScheduledAction_ResizeClusterMessage `json:"ResizeCluster,omitempty"` - - // ResumeCluster AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html#cfn-redshift-scheduledaction-scheduledactiontype-resumecluster - ResumeCluster *ScheduledAction_ResumeClusterMessage `json:"ResumeCluster,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 *ScheduledAction_ScheduledActionType) AWSCloudFormationType() string { - return "AWS::Redshift::ScheduledAction.ScheduledActionType" -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application.go deleted file mode 100644 index 5732b87e25..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application.go +++ /dev/null @@ -1,134 +0,0 @@ -package refactorspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::RefactorSpaces::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html -type Application struct { - - // ApiGatewayProxy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-apigatewayproxy - ApiGatewayProxy *Application_ApiGatewayProxyInput `json:"ApiGatewayProxy,omitempty"` - - // EnvironmentIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-environmentidentifier - EnvironmentIdentifier *types.Value `json:"EnvironmentIdentifier,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-name - Name *types.Value `json:"Name,omitempty"` - - // ProxyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-proxytype - ProxyType *types.Value `json:"ProxyType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-application.html#cfn-refactorspaces-application-vpcid - VpcId *types.Value `json:"VpcId,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 *Application) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application_apigatewayproxyinput.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application_apigatewayproxyinput.go deleted file mode 100644 index ce88b641d2..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-application_apigatewayproxyinput.go +++ /dev/null @@ -1,42 +0,0 @@ -package refactorspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application_ApiGatewayProxyInput AWS CloudFormation Resource (AWS::RefactorSpaces::Application.ApiGatewayProxyInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-application-apigatewayproxyinput.html -type Application_ApiGatewayProxyInput struct { - - // EndpointType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-application-apigatewayproxyinput.html#cfn-refactorspaces-application-apigatewayproxyinput-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // StageName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-application-apigatewayproxyinput.html#cfn-refactorspaces-application-apigatewayproxyinput-stagename - StageName *types.Value `json:"StageName,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 *Application_ApiGatewayProxyInput) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Application.ApiGatewayProxyInput" -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-environment.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-environment.go deleted file mode 100644 index 1a8f0b7631..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-environment.go +++ /dev/null @@ -1,124 +0,0 @@ -package refactorspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Environment AWS CloudFormation Resource (AWS::RefactorSpaces::Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html -type Environment struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-name - Name *types.Value `json:"Name,omitempty"` - - // NetworkFabricType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-networkfabrictype - NetworkFabricType *types.Value `json:"NetworkFabricType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-environment.html#cfn-refactorspaces-environment-tags - Tags []cloudformation.Tag `json:"Tags,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 *Environment) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Environment" -} - -// 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 (r Environment) MarshalJSON() ([]byte, error) { - type Properties Environment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Environment) UnmarshalJSON(b []byte) error { - type Properties Environment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Environment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route.go deleted file mode 100644 index 2ad47fd00d..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route.go +++ /dev/null @@ -1,134 +0,0 @@ -package refactorspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route AWS CloudFormation Resource (AWS::RefactorSpaces::Route) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html -type Route struct { - - // ApplicationIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-applicationidentifier - ApplicationIdentifier *types.Value `json:"ApplicationIdentifier,omitempty"` - - // EnvironmentIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-environmentidentifier - EnvironmentIdentifier *types.Value `json:"EnvironmentIdentifier,omitempty"` - - // RouteType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-routetype - RouteType *types.Value `json:"RouteType,omitempty"` - - // ServiceIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-serviceidentifier - ServiceIdentifier *types.Value `json:"ServiceIdentifier,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UriPathRoute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-route.html#cfn-refactorspaces-route-uripathroute - UriPathRoute *Route_UriPathRouteInput `json:"UriPathRoute,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 *Route) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Route" -} - -// 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 (r Route) MarshalJSON() ([]byte, error) { - type Properties Route - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Route) UnmarshalJSON(b []byte) error { - type Properties Route - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Route(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route_uripathrouteinput.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route_uripathrouteinput.go deleted file mode 100644 index 9244f4363b..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-route_uripathrouteinput.go +++ /dev/null @@ -1,52 +0,0 @@ -package refactorspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Route_UriPathRouteInput AWS CloudFormation Resource (AWS::RefactorSpaces::Route.UriPathRouteInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html -type Route_UriPathRouteInput struct { - - // ActivationState AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-activationstate - ActivationState *types.Value `json:"ActivationState,omitempty"` - - // IncludeChildPaths AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-includechildpaths - IncludeChildPaths *types.Value `json:"IncludeChildPaths,omitempty"` - - // Methods AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-methods - Methods *types.Value `json:"Methods,omitempty"` - - // SourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-route-uripathrouteinput.html#cfn-refactorspaces-route-uripathrouteinput-sourcepath - SourcePath *types.Value `json:"SourcePath,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 *Route_UriPathRouteInput) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Route.UriPathRouteInput" -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service.go deleted file mode 100644 index f7a85f9c34..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service.go +++ /dev/null @@ -1,149 +0,0 @@ -package refactorspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service AWS CloudFormation Resource (AWS::RefactorSpaces::Service) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html -type Service struct { - - // ApplicationIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-applicationidentifier - ApplicationIdentifier *types.Value `json:"ApplicationIdentifier,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-description - Description *types.Value `json:"Description,omitempty"` - - // EndpointType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // EnvironmentIdentifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-environmentidentifier - EnvironmentIdentifier *types.Value `json:"EnvironmentIdentifier,omitempty"` - - // LambdaEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-lambdaendpoint - LambdaEndpoint *Service_LambdaEndpointInput `json:"LambdaEndpoint,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UrlEndpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-urlendpoint - UrlEndpoint *Service_UrlEndpointInput `json:"UrlEndpoint,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-refactorspaces-service.html#cfn-refactorspaces-service-vpcid - VpcId *types.Value `json:"VpcId,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 *Service) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Service" -} - -// 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 (r Service) MarshalJSON() ([]byte, error) { - type Properties Service - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Service) UnmarshalJSON(b []byte) error { - type Properties Service - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Service(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_lambdaendpointinput.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_lambdaendpointinput.go deleted file mode 100644 index 89f871ee7f..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_lambdaendpointinput.go +++ /dev/null @@ -1,37 +0,0 @@ -package refactorspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_LambdaEndpointInput AWS CloudFormation Resource (AWS::RefactorSpaces::Service.LambdaEndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-lambdaendpointinput.html -type Service_LambdaEndpointInput struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-lambdaendpointinput.html#cfn-refactorspaces-service-lambdaendpointinput-arn - Arn *types.Value `json:"Arn,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 *Service_LambdaEndpointInput) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Service.LambdaEndpointInput" -} diff --git a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_urlendpointinput.go b/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_urlendpointinput.go deleted file mode 100644 index eaf71cbe46..0000000000 --- a/pkg/goformation/cloudformation/refactorspaces/aws-refactorspaces-service_urlendpointinput.go +++ /dev/null @@ -1,42 +0,0 @@ -package refactorspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_UrlEndpointInput AWS CloudFormation Resource (AWS::RefactorSpaces::Service.UrlEndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-urlendpointinput.html -type Service_UrlEndpointInput struct { - - // HealthUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-urlendpointinput.html#cfn-refactorspaces-service-urlendpointinput-healthurl - HealthUrl *types.Value `json:"HealthUrl,omitempty"` - - // Url AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-refactorspaces-service-urlendpointinput.html#cfn-refactorspaces-service-urlendpointinput-url - Url *types.Value `json:"Url,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 *Service_UrlEndpointInput) AWSCloudFormationType() string { - return "AWS::RefactorSpaces::Service.UrlEndpointInput" -} diff --git a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app.go b/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app.go deleted file mode 100644 index 6d84f5241d..0000000000 --- a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app.go +++ /dev/null @@ -1,133 +0,0 @@ -package resiliencehub - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App AWS CloudFormation Resource (AWS::ResilienceHub::App) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html -type App struct { - - // AppTemplateBody AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-apptemplatebody - AppTemplateBody *types.Value `json:"AppTemplateBody,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-name - Name *types.Value `json:"Name,omitempty"` - - // ResiliencyPolicyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-resiliencypolicyarn - ResiliencyPolicyArn *types.Value `json:"ResiliencyPolicyArn,omitempty"` - - // ResourceMappings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-resourcemappings - ResourceMappings []App_ResourceMapping `json:"ResourceMappings,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html#cfn-resiliencehub-app-tags - Tags map[string]*types.Value `json:"Tags,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 *App) AWSCloudFormationType() string { - return "AWS::ResilienceHub::App" -} - -// 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 (r App) MarshalJSON() ([]byte, error) { - type Properties App - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *App) UnmarshalJSON(b []byte) error { - type Properties App - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = App(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_physicalresourceid.go b/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_physicalresourceid.go deleted file mode 100644 index 58649dd735..0000000000 --- a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_physicalresourceid.go +++ /dev/null @@ -1,52 +0,0 @@ -package resiliencehub - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_PhysicalResourceId AWS CloudFormation Resource (AWS::ResilienceHub::App.PhysicalResourceId) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html -type App_PhysicalResourceId struct { - - // AwsAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html#cfn-resiliencehub-app-physicalresourceid-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` - - // AwsRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html#cfn-resiliencehub-app-physicalresourceid-awsregion - AwsRegion *types.Value `json:"AwsRegion,omitempty"` - - // Identifier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html#cfn-resiliencehub-app-physicalresourceid-identifier - Identifier *types.Value `json:"Identifier,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html#cfn-resiliencehub-app-physicalresourceid-type - Type *types.Value `json:"Type,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 *App_PhysicalResourceId) AWSCloudFormationType() string { - return "AWS::ResilienceHub::App.PhysicalResourceId" -} diff --git a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_resourcemapping.go b/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_resourcemapping.go deleted file mode 100644 index 4086f591ad..0000000000 --- a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-app_resourcemapping.go +++ /dev/null @@ -1,52 +0,0 @@ -package resiliencehub - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_ResourceMapping AWS CloudFormation Resource (AWS::ResilienceHub::App.ResourceMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html -type App_ResourceMapping struct { - - // LogicalStackName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-logicalstackname - LogicalStackName *types.Value `json:"LogicalStackName,omitempty"` - - // MappingType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-mappingtype - MappingType *types.Value `json:"MappingType,omitempty"` - - // PhysicalResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-physicalresourceid - PhysicalResourceId *App_PhysicalResourceId `json:"PhysicalResourceId,omitempty"` - - // ResourceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html#cfn-resiliencehub-app-resourcemapping-resourcename - ResourceName *types.Value `json:"ResourceName,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 *App_ResourceMapping) AWSCloudFormationType() string { - return "AWS::ResilienceHub::App.ResourceMapping" -} diff --git a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy.go b/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy.go deleted file mode 100644 index ba589d109f..0000000000 --- a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy.go +++ /dev/null @@ -1,133 +0,0 @@ -package resiliencehub - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResiliencyPolicy AWS CloudFormation Resource (AWS::ResilienceHub::ResiliencyPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html -type ResiliencyPolicy struct { - - // DataLocationConstraint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-datalocationconstraint - DataLocationConstraint *types.Value `json:"DataLocationConstraint,omitempty"` - - // Policy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policy - Policy map[string]ResiliencyPolicy_FailurePolicy `json:"Policy,omitempty"` - - // PolicyDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policydescription - PolicyDescription *types.Value `json:"PolicyDescription,omitempty"` - - // PolicyName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-tags - Tags map[string]*types.Value `json:"Tags,omitempty"` - - // Tier AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-resiliencypolicy.html#cfn-resiliencehub-resiliencypolicy-tier - Tier *types.Value `json:"Tier,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 *ResiliencyPolicy) AWSCloudFormationType() string { - return "AWS::ResilienceHub::ResiliencyPolicy" -} - -// 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 (r ResiliencyPolicy) MarshalJSON() ([]byte, error) { - type Properties ResiliencyPolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResiliencyPolicy) UnmarshalJSON(b []byte) error { - type Properties ResiliencyPolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResiliencyPolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy_failurepolicy.go b/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy_failurepolicy.go deleted file mode 100644 index e3194ac2b9..0000000000 --- a/pkg/goformation/cloudformation/resiliencehub/aws-resiliencehub-resiliencypolicy_failurepolicy.go +++ /dev/null @@ -1,42 +0,0 @@ -package resiliencehub - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResiliencyPolicy_FailurePolicy AWS CloudFormation Resource (AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-resiliencypolicy-failurepolicy.html -type ResiliencyPolicy_FailurePolicy struct { - - // RpoInSecs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-resiliencypolicy-failurepolicy.html#cfn-resiliencehub-resiliencypolicy-failurepolicy-rpoinsecs - RpoInSecs *types.Value `json:"RpoInSecs"` - - // RtoInSecs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-resiliencypolicy-failurepolicy.html#cfn-resiliencehub-resiliencypolicy-failurepolicy-rtoinsecs - RtoInSecs *types.Value `json:"RtoInSecs"` - - // 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 *ResiliencyPolicy_FailurePolicy) AWSCloudFormationType() string { - return "AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy" -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group.go deleted file mode 100644 index fff7f15bc6..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group.go +++ /dev/null @@ -1,134 +0,0 @@ -package resourcegroups - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group AWS CloudFormation Resource (AWS::ResourceGroups::Group) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html -type Group struct { - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-configuration - Configuration []Group_ConfigurationItem `json:"Configuration,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-name - Name *types.Value `json:"Name,omitempty"` - - // ResourceQuery AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-resourcequery - ResourceQuery *Group_ResourceQuery `json:"ResourceQuery,omitempty"` - - // Resources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-resources - Resources *types.Value `json:"Resources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html#cfn-resourcegroups-group-tags - Tags []cloudformation.Tag `json:"Tags,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 *Group) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group" -} - -// 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 (r Group) MarshalJSON() ([]byte, error) { - type Properties Group - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Group) UnmarshalJSON(b []byte) error { - type Properties Group - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Group(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationitem.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationitem.go deleted file mode 100644 index bea4a36e45..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationitem.go +++ /dev/null @@ -1,42 +0,0 @@ -package resourcegroups - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_ConfigurationItem AWS CloudFormation Resource (AWS::ResourceGroups::Group.ConfigurationItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html -type Group_ConfigurationItem struct { - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html#cfn-resourcegroups-group-configurationitem-parameters - Parameters []Group_ConfigurationParameter `json:"Parameters,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html#cfn-resourcegroups-group-configurationitem-type - Type *types.Value `json:"Type,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 *Group_ConfigurationItem) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group.ConfigurationItem" -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationparameter.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationparameter.go deleted file mode 100644 index 52f38ba2b8..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_configurationparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package resourcegroups - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_ConfigurationParameter AWS CloudFormation Resource (AWS::ResourceGroups::Group.ConfigurationParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationparameter.html -type Group_ConfigurationParameter struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationparameter.html#cfn-resourcegroups-group-configurationparameter-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationparameter.html#cfn-resourcegroups-group-configurationparameter-values - Values *types.Value `json:"Values,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 *Group_ConfigurationParameter) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group.ConfigurationParameter" -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_query.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_query.go deleted file mode 100644 index 004bca370b..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_query.go +++ /dev/null @@ -1,47 +0,0 @@ -package resourcegroups - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_Query AWS CloudFormation Resource (AWS::ResourceGroups::Group.Query) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html -type Group_Query struct { - - // ResourceTypeFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html#cfn-resourcegroups-group-query-resourcetypefilters - ResourceTypeFilters *types.Value `json:"ResourceTypeFilters,omitempty"` - - // StackIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html#cfn-resourcegroups-group-query-stackidentifier - StackIdentifier *types.Value `json:"StackIdentifier,omitempty"` - - // TagFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html#cfn-resourcegroups-group-query-tagfilters - TagFilters []Group_TagFilter `json:"TagFilters,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 *Group_Query) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group.Query" -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_resourcequery.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_resourcequery.go deleted file mode 100644 index af315d406e..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_resourcequery.go +++ /dev/null @@ -1,42 +0,0 @@ -package resourcegroups - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_ResourceQuery AWS CloudFormation Resource (AWS::ResourceGroups::Group.ResourceQuery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html -type Group_ResourceQuery struct { - - // Query AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html#cfn-resourcegroups-group-resourcequery-query - Query *Group_Query `json:"Query,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html#cfn-resourcegroups-group-resourcequery-type - Type *types.Value `json:"Type,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 *Group_ResourceQuery) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group.ResourceQuery" -} diff --git a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_tagfilter.go b/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_tagfilter.go deleted file mode 100644 index 0283662bbe..0000000000 --- a/pkg/goformation/cloudformation/resourcegroups/aws-resourcegroups-group_tagfilter.go +++ /dev/null @@ -1,42 +0,0 @@ -package resourcegroups - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_TagFilter AWS CloudFormation Resource (AWS::ResourceGroups::Group.TagFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-tagfilter.html -type Group_TagFilter struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-tagfilter.html#cfn-resourcegroups-group-tagfilter-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-tagfilter.html#cfn-resourcegroups-group-tagfilter-values - Values *types.Value `json:"Values,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 *Group_TagFilter) AWSCloudFormationType() string { - return "AWS::ResourceGroups::Group.TagFilter" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-fleet.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-fleet.go deleted file mode 100644 index 7269caa452..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-fleet.go +++ /dev/null @@ -1,113 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Fleet AWS CloudFormation Resource (AWS::RoboMaker::Fleet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-fleet.html -type Fleet struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-fleet.html#cfn-robomaker-fleet-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-fleet.html#cfn-robomaker-fleet-tags - Tags map[string]*types.Value `json:"Tags,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 *Fleet) AWSCloudFormationType() string { - return "AWS::RoboMaker::Fleet" -} - -// 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 (r Fleet) MarshalJSON() ([]byte, error) { - type Properties Fleet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Fleet) UnmarshalJSON(b []byte) error { - type Properties Fleet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Fleet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robot.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-robot.go deleted file mode 100644 index d9b044ce06..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robot.go +++ /dev/null @@ -1,128 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Robot AWS CloudFormation Resource (AWS::RoboMaker::Robot) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html -type Robot struct { - - // Architecture AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html#cfn-robomaker-robot-architecture - Architecture *types.Value `json:"Architecture,omitempty"` - - // Fleet AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html#cfn-robomaker-robot-fleet - Fleet *types.Value `json:"Fleet,omitempty"` - - // GreengrassGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html#cfn-robomaker-robot-greengrassgroupid - GreengrassGroupId *types.Value `json:"GreengrassGroupId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html#cfn-robomaker-robot-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html#cfn-robomaker-robot-tags - Tags map[string]*types.Value `json:"Tags,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 *Robot) AWSCloudFormationType() string { - return "AWS::RoboMaker::Robot" -} - -// 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 (r Robot) MarshalJSON() ([]byte, error) { - type Properties Robot - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Robot) UnmarshalJSON(b []byte) error { - type Properties Robot - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Robot(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication.go deleted file mode 100644 index 47784b3f2b..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication.go +++ /dev/null @@ -1,128 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RobotApplication AWS CloudFormation Resource (AWS::RoboMaker::RobotApplication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html -type RobotApplication struct { - - // CurrentRevisionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html#cfn-robomaker-robotapplication-currentrevisionid - CurrentRevisionId *types.Value `json:"CurrentRevisionId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html#cfn-robomaker-robotapplication-name - Name *types.Value `json:"Name,omitempty"` - - // RobotSoftwareSuite AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html#cfn-robomaker-robotapplication-robotsoftwaresuite - RobotSoftwareSuite *RobotApplication_RobotSoftwareSuite `json:"RobotSoftwareSuite,omitempty"` - - // Sources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html#cfn-robomaker-robotapplication-sources - Sources []RobotApplication_SourceConfig `json:"Sources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html#cfn-robomaker-robotapplication-tags - Tags interface{} `json:"Tags,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 *RobotApplication) AWSCloudFormationType() string { - return "AWS::RoboMaker::RobotApplication" -} - -// 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 (r RobotApplication) MarshalJSON() ([]byte, error) { - type Properties RobotApplication - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RobotApplication) UnmarshalJSON(b []byte) error { - type Properties RobotApplication - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RobotApplication(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_robotsoftwaresuite.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_robotsoftwaresuite.go deleted file mode 100644 index 9188dac83a..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_robotsoftwaresuite.go +++ /dev/null @@ -1,42 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RobotApplication_RobotSoftwareSuite AWS CloudFormation Resource (AWS::RoboMaker::RobotApplication.RobotSoftwareSuite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.html -type RobotApplication_RobotSoftwareSuite struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.html#cfn-robomaker-robotapplication-robotsoftwaresuite-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.html#cfn-robomaker-robotapplication-robotsoftwaresuite-version - Version *types.Value `json:"Version,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 *RobotApplication_RobotSoftwareSuite) AWSCloudFormationType() string { - return "AWS::RoboMaker::RobotApplication.RobotSoftwareSuite" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_sourceconfig.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_sourceconfig.go deleted file mode 100644 index 7945cb661b..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplication_sourceconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RobotApplication_SourceConfig AWS CloudFormation Resource (AWS::RoboMaker::RobotApplication.SourceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html -type RobotApplication_SourceConfig struct { - - // Architecture AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-architecture - Architecture *types.Value `json:"Architecture,omitempty"` - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-s3key - S3Key *types.Value `json:"S3Key,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 *RobotApplication_SourceConfig) AWSCloudFormationType() string { - return "AWS::RoboMaker::RobotApplication.SourceConfig" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplicationversion.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplicationversion.go deleted file mode 100644 index 66f32aeb8f..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-robotapplicationversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RobotApplicationVersion AWS CloudFormation Resource (AWS::RoboMaker::RobotApplicationVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplicationversion.html -type RobotApplicationVersion struct { - - // Application AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplicationversion.html#cfn-robomaker-robotapplicationversion-application - Application *types.Value `json:"Application,omitempty"` - - // CurrentRevisionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplicationversion.html#cfn-robomaker-robotapplicationversion-currentrevisionid - CurrentRevisionId *types.Value `json:"CurrentRevisionId,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 *RobotApplicationVersion) AWSCloudFormationType() string { - return "AWS::RoboMaker::RobotApplicationVersion" -} - -// 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 (r RobotApplicationVersion) MarshalJSON() ([]byte, error) { - type Properties RobotApplicationVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RobotApplicationVersion) UnmarshalJSON(b []byte) error { - type Properties RobotApplicationVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RobotApplicationVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication.go deleted file mode 100644 index f39e98bd45..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication.go +++ /dev/null @@ -1,143 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplication AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplication) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html -type SimulationApplication struct { - - // CurrentRevisionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-currentrevisionid - CurrentRevisionId *types.Value `json:"CurrentRevisionId,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-environment - Environment *types.Value `json:"Environment,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-name - Name *types.Value `json:"Name,omitempty"` - - // RenderingEngine AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-renderingengine - RenderingEngine *SimulationApplication_RenderingEngine `json:"RenderingEngine,omitempty"` - - // RobotSoftwareSuite AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-robotsoftwaresuite - RobotSoftwareSuite *SimulationApplication_RobotSoftwareSuite `json:"RobotSoftwareSuite,omitempty"` - - // SimulationSoftwareSuite AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-simulationsoftwaresuite - SimulationSoftwareSuite *SimulationApplication_SimulationSoftwareSuite `json:"SimulationSoftwareSuite,omitempty"` - - // Sources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-sources - Sources []SimulationApplication_SourceConfig `json:"Sources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplication.html#cfn-robomaker-simulationapplication-tags - Tags map[string]*types.Value `json:"Tags,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 *SimulationApplication) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplication" -} - -// 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 (r SimulationApplication) MarshalJSON() ([]byte, error) { - type Properties SimulationApplication - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SimulationApplication) UnmarshalJSON(b []byte) error { - type Properties SimulationApplication - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SimulationApplication(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_renderingengine.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_renderingengine.go deleted file mode 100644 index ed7216cf5e..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_renderingengine.go +++ /dev/null @@ -1,42 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplication_RenderingEngine AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplication.RenderingEngine) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-renderingengine.html -type SimulationApplication_RenderingEngine struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-renderingengine.html#cfn-robomaker-simulationapplication-renderingengine-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-renderingengine.html#cfn-robomaker-simulationapplication-renderingengine-version - Version *types.Value `json:"Version,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 *SimulationApplication_RenderingEngine) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplication.RenderingEngine" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_robotsoftwaresuite.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_robotsoftwaresuite.go deleted file mode 100644 index eb8f44db37..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_robotsoftwaresuite.go +++ /dev/null @@ -1,42 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplication_RobotSoftwareSuite AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-robotsoftwaresuite.html -type SimulationApplication_RobotSoftwareSuite struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-robotsoftwaresuite.html#cfn-robomaker-simulationapplication-robotsoftwaresuite-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-robotsoftwaresuite.html#cfn-robomaker-simulationapplication-robotsoftwaresuite-version - Version *types.Value `json:"Version,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 *SimulationApplication_RobotSoftwareSuite) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_simulationsoftwaresuite.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_simulationsoftwaresuite.go deleted file mode 100644 index 4a2e858922..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_simulationsoftwaresuite.go +++ /dev/null @@ -1,42 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplication_SimulationSoftwareSuite AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-simulationsoftwaresuite.html -type SimulationApplication_SimulationSoftwareSuite struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-simulationsoftwaresuite.html#cfn-robomaker-simulationapplication-simulationsoftwaresuite-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-simulationsoftwaresuite.html#cfn-robomaker-simulationapplication-simulationsoftwaresuite-version - Version *types.Value `json:"Version,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 *SimulationApplication_SimulationSoftwareSuite) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_sourceconfig.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_sourceconfig.go deleted file mode 100644 index dc14db743d..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplication_sourceconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package robomaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplication_SourceConfig AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplication.SourceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html -type SimulationApplication_SourceConfig struct { - - // Architecture AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-architecture - Architecture *types.Value `json:"Architecture,omitempty"` - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-simulationapplication-sourceconfig.html#cfn-robomaker-simulationapplication-sourceconfig-s3key - S3Key *types.Value `json:"S3Key,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 *SimulationApplication_SourceConfig) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplication.SourceConfig" -} diff --git a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplicationversion.go b/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplicationversion.go deleted file mode 100644 index 7440c32e71..0000000000 --- a/pkg/goformation/cloudformation/robomaker/aws-robomaker-simulationapplicationversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package robomaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SimulationApplicationVersion AWS CloudFormation Resource (AWS::RoboMaker::SimulationApplicationVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplicationversion.html -type SimulationApplicationVersion struct { - - // Application AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplicationversion.html#cfn-robomaker-simulationapplicationversion-application - Application *types.Value `json:"Application,omitempty"` - - // CurrentRevisionId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-simulationapplicationversion.html#cfn-robomaker-simulationapplicationversion-currentrevisionid - CurrentRevisionId *types.Value `json:"CurrentRevisionId,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 *SimulationApplicationVersion) AWSCloudFormationType() string { - return "AWS::RoboMaker::SimulationApplicationVersion" -} - -// 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 (r SimulationApplicationVersion) MarshalJSON() ([]byte, error) { - type Properties SimulationApplicationVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SimulationApplicationVersion) UnmarshalJSON(b []byte) error { - type Properties SimulationApplicationVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SimulationApplicationVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-crl.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-crl.go index f32607c0bc..d027499c4b 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-crl.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-crl.go @@ -1,13 +1,14 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( "bytes" "encoding/json" + "fmt" + + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/tags" ) // CRL AWS CloudFormation Resource (AWS::RolesAnywhere::CRL) @@ -17,27 +18,27 @@ type CRL struct { // CrlData AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-crldata - CrlData string `json:"CrlData"` + CrlData *types.Value `json:"CrlData,omitempty"` // Enabled AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-enabled - Enabled *bool `json:"Enabled,omitempty"` + Enabled *types.Value `json:"Enabled,omitempty"` // Name AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-name - Name string `json:"Name"` + Name *types.Value `json:"Name,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-tags - Tags []tags.Tag `json:"Tags,omitempty"` + Tags []cloudformation.Tag `json:"Tags,omitempty"` // TrustAnchorArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-trustanchorarn - TrustAnchorArn *string `json:"TrustAnchorArn,omitempty"` + TrustAnchorArn *types.Value `json:"TrustAnchorArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -90,7 +91,7 @@ func (r *CRL) UnmarshalJSON(b []byte) error { res := &struct { Type string Properties *Properties - DependsOn interface{} + DependsOn []string Metadata map[string]interface{} DeletionPolicy string UpdateReplacePolicy string @@ -101,6 +102,7 @@ func (r *CRL) UnmarshalJSON(b []byte) error { dec.DisallowUnknownFields() // Force error if unknown field is found if err := dec.Decode(&res); err != nil { + fmt.Printf("ERROR: %s\n", err) return err } @@ -109,18 +111,7 @@ func (r *CRL) UnmarshalJSON(b []byte) error { *r = CRL(*res.Properties) } if res.DependsOn != nil { - switch obj := res.DependsOn.(type) { - case string: - r.AWSCloudFormationDependsOn = []string{obj} - case []interface{}: - s := make([]string, 0, len(obj)) - for _, v := range obj { - if value, ok := v.(string); ok { - s = append(s, value) - } - } - r.AWSCloudFormationDependsOn = s - } + r.AWSCloudFormationDependsOn = res.DependsOn } if res.Metadata != nil { r.AWSCloudFormationMetadata = res.Metadata diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile.go index 34c22f4c8d..ceb1e677cc 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile.go @@ -1,29 +1,34 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( "bytes" "encoding/json" + "fmt" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/tags" ) // Profile AWS CloudFormation Resource (AWS::RolesAnywhere::Profile) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html type Profile struct { + // AcceptRoleSessionName AWS CloudFormation Property // Required: false - // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-acceptrolesessionname - AcceptRoleSessionName *types.Value `json:"acceptRoleSessionName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-acceptrolesessionname + AcceptRoleSessionName *types.Value `json:"AcceptRoleSessionName,omitempty"` + + // AttributeMappings AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-attributemappings + AttributeMappings []Profile_AttributeMapping `json:"AttributeMappings,omitempty"` // DurationSeconds AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-durationseconds - DurationSeconds *float64 `json:"DurationSeconds,omitempty"` + DurationSeconds *types.Value `json:"DurationSeconds,omitempty"` // Enabled AWS CloudFormation Property // Required: false @@ -33,32 +38,32 @@ type Profile struct { // ManagedPolicyArns AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-managedpolicyarns - ManagedPolicyArns []string `json:"ManagedPolicyArns,omitempty"` + ManagedPolicyArns *types.Value `json:"ManagedPolicyArns,omitempty"` // Name AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-name - Name *types.Value `json:"Name"` + Name *types.Value `json:"Name,omitempty"` // RequireInstanceProperties AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-requireinstanceproperties - RequireInstanceProperties *bool `json:"RequireInstanceProperties,omitempty"` + RequireInstanceProperties *types.Value `json:"RequireInstanceProperties,omitempty"` // RoleArns AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-rolearns - RoleArns *types.Value `json:"RoleArns"` + RoleArns *types.Value `json:"RoleArns,omitempty"` // SessionPolicy AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-sessionpolicy - SessionPolicy *string `json:"SessionPolicy,omitempty"` + SessionPolicy *types.Value `json:"SessionPolicy,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-tags - Tags []tags.Tag `json:"Tags,omitempty"` + Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -111,7 +116,7 @@ func (r *Profile) UnmarshalJSON(b []byte) error { res := &struct { Type string Properties *Properties - DependsOn interface{} + DependsOn []string Metadata map[string]interface{} DeletionPolicy string UpdateReplacePolicy string @@ -122,6 +127,7 @@ func (r *Profile) UnmarshalJSON(b []byte) error { dec.DisallowUnknownFields() // Force error if unknown field is found if err := dec.Decode(&res); err != nil { + fmt.Printf("ERROR: %s\n", err) return err } @@ -130,18 +136,7 @@ func (r *Profile) UnmarshalJSON(b []byte) error { *r = Profile(*res.Properties) } if res.DependsOn != nil { - switch obj := res.DependsOn.(type) { - case string: - r.AWSCloudFormationDependsOn = []string{obj} - case []interface{}: - s := make([]string, 0, len(obj)) - for _, v := range obj { - if value, ok := v.(string); ok { - s = append(s, value) - } - } - r.AWSCloudFormationDependsOn = s - } + r.AWSCloudFormationDependsOn = res.DependsOn } if res.Metadata != nil { r.AWSCloudFormationMetadata = res.Metadata diff --git a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv11.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_attributemapping.go similarity index 61% rename from pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv11.go rename to pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_attributemapping.go index 7ba1f49499..6e9be6600c 100644 --- a/pkg/goformation/cloudformation/iotwireless/aws-iotwireless-wirelessdevice_abpv11.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_attributemapping.go @@ -1,4 +1,4 @@ -package iotwireless +package rolesanywhere import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// WirelessDevice_AbpV11 AWS CloudFormation Resource (AWS::IoTWireless::WirelessDevice.AbpV11) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv11.html -type WirelessDevice_AbpV11 struct { +// Profile_AttributeMapping AWS CloudFormation Resource (AWS::RolesAnywhere::Profile.AttributeMapping) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html +type Profile_AttributeMapping struct { - // DevAddr AWS CloudFormation Property + // CertificateField AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv11.html#cfn-iotwireless-wirelessdevice-abpv11-devaddr - DevAddr *types.Value `json:"DevAddr,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html#cfn-rolesanywhere-profile-attributemapping-certificatefield + CertificateField *types.Value `json:"CertificateField,omitempty"` - // SessionKeys AWS CloudFormation Property + // MappingRules AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-wirelessdevice-abpv11.html#cfn-iotwireless-wirelessdevice-abpv11-sessionkeys - SessionKeys *WirelessDevice_SessionKeysAbpV11 `json:"SessionKeys,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-attributemapping.html#cfn-rolesanywhere-profile-attributemapping-mappingrules + MappingRules []Profile_MappingRule `json:"MappingRules,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type WirelessDevice_AbpV11 struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *WirelessDevice_AbpV11) AWSCloudFormationType() string { - return "AWS::IoTWireless::WirelessDevice.AbpV11" +func (r *Profile_AttributeMapping) AWSCloudFormationType() string { + return "AWS::RolesAnywhere::Profile.AttributeMapping" } diff --git a/pkg/goformation/cloudformation/databrew/aws-databrew-job_allowedstatistics.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_mappingrule.go similarity index 68% rename from pkg/goformation/cloudformation/databrew/aws-databrew-job_allowedstatistics.go rename to pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_mappingrule.go index d6fcf5a3de..8c20ccb0ac 100644 --- a/pkg/goformation/cloudformation/databrew/aws-databrew-job_allowedstatistics.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-profile_mappingrule.go @@ -1,4 +1,4 @@ -package databrew +package rolesanywhere import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Job_AllowedStatistics AWS CloudFormation Resource (AWS::DataBrew::Job.AllowedStatistics) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-allowedstatistics.html -type Job_AllowedStatistics struct { +// Profile_MappingRule AWS CloudFormation Resource (AWS::RolesAnywhere::Profile.MappingRule) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-mappingrule.html +type Profile_MappingRule struct { - // Statistics AWS CloudFormation Property + // Specifier AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-databrew-job-allowedstatistics.html#cfn-databrew-job-allowedstatistics-statistics - Statistics *types.Value `json:"Statistics,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-profile-mappingrule.html#cfn-rolesanywhere-profile-mappingrule-specifier + Specifier *types.Value `json:"Specifier,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Job_AllowedStatistics struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Job_AllowedStatistics) AWSCloudFormationType() string { - return "AWS::DataBrew::Job.AllowedStatistics" +func (r *Profile_MappingRule) AWSCloudFormationType() string { + return "AWS::RolesAnywhere::Profile.MappingRule" } diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor.go index e4f7a86291..61b6c32cae 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor.go @@ -1,15 +1,14 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( "bytes" "encoding/json" + "fmt" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/tags" ) // TrustAnchor AWS CloudFormation Resource (AWS::RolesAnywhere::TrustAnchor) @@ -24,7 +23,7 @@ type TrustAnchor struct { // Name AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-name - Name *types.Value `json:"Name"` + Name *types.Value `json:"Name,omitempty"` // NotificationSettings AWS CloudFormation Property // Required: false @@ -34,12 +33,12 @@ type TrustAnchor struct { // Source AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-source - Source *TrustAnchor_Source `json:"Source"` + Source *TrustAnchor_Source `json:"Source,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html#cfn-rolesanywhere-trustanchor-tags - Tags []tags.Tag `json:"Tags,omitempty"` + Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -92,7 +91,7 @@ func (r *TrustAnchor) UnmarshalJSON(b []byte) error { res := &struct { Type string Properties *Properties - DependsOn interface{} + DependsOn []string Metadata map[string]interface{} DeletionPolicy string UpdateReplacePolicy string @@ -103,6 +102,7 @@ func (r *TrustAnchor) UnmarshalJSON(b []byte) error { dec.DisallowUnknownFields() // Force error if unknown field is found if err := dec.Decode(&res); err != nil { + fmt.Printf("ERROR: %s\n", err) return err } @@ -111,18 +111,7 @@ func (r *TrustAnchor) UnmarshalJSON(b []byte) error { *r = TrustAnchor(*res.Properties) } if res.DependsOn != nil { - switch obj := res.DependsOn.(type) { - case string: - r.AWSCloudFormationDependsOn = []string{obj} - case []interface{}: - s := make([]string, 0, len(obj)) - for _, v := range obj { - if value, ok := v.(string); ok { - s = append(s, value) - } - } - r.AWSCloudFormationDependsOn = s - } + r.AWSCloudFormationDependsOn = res.DependsOn } if res.Metadata != nil { r.AWSCloudFormationMetadata = res.Metadata diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_notificationsetting.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_notificationsetting.go index b564d896e9..5caaffd16e 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_notificationsetting.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_notificationsetting.go @@ -1,8 +1,8 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -13,22 +13,22 @@ type TrustAnchor_NotificationSetting struct { // Channel AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-notificationsetting.html#cfn-rolesanywhere-trustanchor-notificationsetting-channel - Channel *string `json:"Channel,omitempty"` + Channel *types.Value `json:"Channel,omitempty"` // Enabled AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-notificationsetting.html#cfn-rolesanywhere-trustanchor-notificationsetting-enabled - Enabled bool `json:"Enabled"` + Enabled *types.Value `json:"Enabled"` // Event AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-notificationsetting.html#cfn-rolesanywhere-trustanchor-notificationsetting-event - Event string `json:"Event"` + Event *types.Value `json:"Event,omitempty"` // Threshold AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-notificationsetting.html#cfn-rolesanywhere-trustanchor-notificationsetting-threshold - Threshold *float64 `json:"Threshold,omitempty"` + Threshold *types.Value `json:"Threshold,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_source.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_source.go index 36636a7577..c601c277f7 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_source.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_source.go @@ -1,8 +1,8 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -18,7 +18,7 @@ type TrustAnchor_Source struct { // SourceType AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype - SourceType *string `json:"SourceType,omitempty"` + SourceType *types.Value `json:"SourceType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_sourcedata.go b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_sourcedata.go index 2eb888c4c6..c49fc7f04e 100644 --- a/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_sourcedata.go +++ b/pkg/goformation/cloudformation/rolesanywhere/aws-rolesanywhere-trustanchor_sourcedata.go @@ -1,8 +1,8 @@ -// Code generated by "go generate". Please don't change this file directly. - package rolesanywhere import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) @@ -13,12 +13,12 @@ type TrustAnchor_SourceData struct { // AcmPcaArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-sourcedata.html#cfn-rolesanywhere-trustanchor-sourcedata-acmpcaarn - AcmPcaArn *string `json:"AcmPcaArn,omitempty"` + AcmPcaArn *types.Value `json:"AcmPcaArn,omitempty"` // X509CertificateData AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-sourcedata.html#cfn-rolesanywhere-trustanchor-sourcedata-x509certificatedata - X509CertificateData *string `json:"X509CertificateData,omitempty"` + X509CertificateData *types.Value `json:"X509CertificateData,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-app.go b/pkg/goformation/cloudformation/route53/aws-route53-cidrcollection.go similarity index 82% rename from pkg/goformation/cloudformation/pinpoint/aws-pinpoint-app.go rename to pkg/goformation/cloudformation/route53/aws-route53-cidrcollection.go index c3d87c00f4..eb8ec703f1 100644 --- a/pkg/goformation/cloudformation/pinpoint/aws-pinpoint-app.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-cidrcollection.go @@ -1,4 +1,4 @@ -package pinpoint +package route53 import ( "bytes" @@ -10,20 +10,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// App AWS CloudFormation Resource (AWS::Pinpoint::App) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-app.html -type App struct { +// CidrCollection AWS CloudFormation Resource (AWS::Route53::CidrCollection) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-cidrcollection.html +type CidrCollection struct { + + // Locations AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-cidrcollection.html#cfn-route53-cidrcollection-locations + Locations []CidrCollection_Location `json:"Locations,omitempty"` // Name AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-app.html#cfn-pinpoint-app-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-cidrcollection.html#cfn-route53-cidrcollection-name Name *types.Value `json:"Name,omitempty"` - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-app.html#cfn-pinpoint-app-tags - Tags interface{} `json:"Tags,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -41,14 +41,14 @@ type App struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *App) AWSCloudFormationType() string { - return "AWS::Pinpoint::App" +func (r *CidrCollection) AWSCloudFormationType() string { + return "AWS::Route53::CidrCollection" } // 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 (r App) MarshalJSON() ([]byte, error) { - type Properties App +func (r CidrCollection) MarshalJSON() ([]byte, error) { + type Properties CidrCollection return json.Marshal(&struct { Type string Properties Properties @@ -70,8 +70,8 @@ func (r App) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *App) UnmarshalJSON(b []byte) error { - type Properties App +func (r *CidrCollection) UnmarshalJSON(b []byte) error { + type Properties CidrCollection res := &struct { Type string Properties *Properties @@ -92,7 +92,7 @@ func (r *App) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = App(*res.Properties) + *r = CidrCollection(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration_tagsentry.go b/pkg/goformation/cloudformation/route53/aws-route53-cidrcollection_location.go similarity index 63% rename from pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration_tagsentry.go rename to pkg/goformation/cloudformation/route53/aws-route53-cidrcollection_location.go index f718f37bb3..b14b8184cc 100644 --- a/pkg/goformation/cloudformation/amazonmq/aws-amazonmq-configuration_tagsentry.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-cidrcollection_location.go @@ -1,4 +1,4 @@ -package amazonmq +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Configuration_TagsEntry AWS CloudFormation Resource (AWS::AmazonMQ::Configuration.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html -type Configuration_TagsEntry struct { +// CidrCollection_Location AWS CloudFormation Resource (AWS::Route53::CidrCollection.Location) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrcollection-location.html +type CidrCollection_Location struct { - // Key AWS CloudFormation Property + // CidrList AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html#cfn-amazonmq-configuration-tagsentry-key - Key *types.Value `json:"Key,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrcollection-location.html#cfn-route53-cidrcollection-location-cidrlist + CidrList *types.Value `json:"CidrList,omitempty"` - // Value AWS CloudFormation Property + // LocationName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-configuration-tagsentry.html#cfn-amazonmq-configuration-tagsentry-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrcollection-location.html#cfn-route53-cidrcollection-location-locationname + LocationName *types.Value `json:"LocationName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Configuration_TagsEntry struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Configuration_TagsEntry) AWSCloudFormationType() string { - return "AWS::AmazonMQ::Configuration.TagsEntry" +func (r *CidrCollection_Location) AWSCloudFormationType() string { + return "AWS::Route53::CidrCollection.Location" } diff --git a/pkg/goformation/cloudformation/route53/aws-route53-healthcheck.go b/pkg/goformation/cloudformation/route53/aws-route53-healthcheck.go index 1261608b98..174c2b985e 100644 --- a/pkg/goformation/cloudformation/route53/aws-route53-healthcheck.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-healthcheck.go @@ -15,7 +15,7 @@ type HealthCheck struct { // HealthCheckConfig AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-healthcheck.html#cfn-route53-healthcheck-healthcheckconfig - HealthCheckConfig interface{} `json:"HealthCheckConfig,omitempty"` + HealthCheckConfig *HealthCheck_HealthCheckConfig `json:"HealthCheckConfig,omitempty"` // HealthCheckTags AWS CloudFormation Property // Required: false diff --git a/pkg/goformation/cloudformation/route53/aws-route53-healthcheck_healthcheckconfig.go b/pkg/goformation/cloudformation/route53/aws-route53-healthcheck_healthcheckconfig.go index ebc9a57745..1d0b7a8c1b 100644 --- a/pkg/goformation/cloudformation/route53/aws-route53-healthcheck_healthcheckconfig.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-healthcheck_healthcheckconfig.go @@ -80,6 +80,11 @@ type HealthCheck_HealthCheckConfig struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html#cfn-route53-healthcheck-healthcheckconfig-resourcepath ResourcePath *types.Value `json:"ResourcePath,omitempty"` + // RoutingControlArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html#cfn-route53-healthcheck-healthcheckconfig-routingcontrolarn + RoutingControlArn *types.Value `json:"RoutingControlArn,omitempty"` + // SearchString AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html#cfn-route53-healthcheck-healthcheckconfig-searchstring diff --git a/pkg/goformation/cloudformation/route53/aws-route53-hostedzone.go b/pkg/goformation/cloudformation/route53/aws-route53-hostedzone.go index fa4eb30610..c96faa2b0c 100644 --- a/pkg/goformation/cloudformation/route53/aws-route53-hostedzone.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-hostedzone.go @@ -25,7 +25,7 @@ type HostedZone struct { HostedZoneTags []HostedZone_HostedZoneTag `json:"HostedZoneTags,omitempty"` // Name AWS CloudFormation Property - // Required: true + // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html#cfn-route53-hostedzone-name Name *types.Value `json:"Name,omitempty"` diff --git a/pkg/goformation/cloudformation/route53/aws-route53-recordset.go b/pkg/goformation/cloudformation/route53/aws-route53-recordset.go index 32f7009990..9086dde527 100644 --- a/pkg/goformation/cloudformation/route53/aws-route53-recordset.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordset.go @@ -19,6 +19,11 @@ type RecordSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-aliastarget AliasTarget *RecordSet_AliasTarget `json:"AliasTarget,omitempty"` + // CidrRoutingConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig + CidrRoutingConfig *RecordSet_CidrRoutingConfig `json:"CidrRoutingConfig,omitempty"` + // Comment AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-comment @@ -34,6 +39,11 @@ type RecordSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-geolocation GeoLocation *RecordSet_GeoLocation `json:"GeoLocation,omitempty"` + // GeoProximityLocation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-geoproximitylocation + GeoProximityLocation *RecordSet_GeoProximityLocation `json:"GeoProximityLocation,omitempty"` + // HealthCheckId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-healthcheckid diff --git a/pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2_repository.go b/pkg/goformation/cloudformation/route53/aws-route53-recordset_cidrroutingconfig.go similarity index 64% rename from pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2_repository.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordset_cidrroutingconfig.go index 7f5264d28e..c9de058769 100644 --- a/pkg/goformation/cloudformation/cloud9/aws-cloud9-environmentec2_repository.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordset_cidrroutingconfig.go @@ -1,4 +1,4 @@ -package cloud9 +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// EnvironmentEC2_Repository AWS CloudFormation Resource (AWS::Cloud9::EnvironmentEC2.Repository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html -type EnvironmentEC2_Repository struct { +// RecordSet_CidrRoutingConfig AWS CloudFormation Resource (AWS::Route53::RecordSet.CidrRoutingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html +type RecordSet_CidrRoutingConfig struct { - // PathComponent AWS CloudFormation Property + // CollectionId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html#cfn-cloud9-environmentec2-repository-pathcomponent - PathComponent *types.Value `json:"PathComponent,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html#cfn-route53-cidrroutingconfig-collectionid + CollectionId *types.Value `json:"CollectionId,omitempty"` - // RepositoryUrl AWS CloudFormation Property + // LocationName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html#cfn-cloud9-environmentec2-repository-repositoryurl - RepositoryUrl *types.Value `json:"RepositoryUrl,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html#cfn-route53-cidrroutingconfig-locationname + LocationName *types.Value `json:"LocationName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type EnvironmentEC2_Repository struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *EnvironmentEC2_Repository) AWSCloudFormationType() string { - return "AWS::Cloud9::EnvironmentEC2.Repository" +func (r *RecordSet_CidrRoutingConfig) AWSCloudFormationType() string { + return "AWS::Route53::RecordSet.CidrRoutingConfig" } diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_namenode.go b/pkg/goformation/cloudformation/route53/aws-route53-recordset_coordinates.go similarity index 64% rename from pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_namenode.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordset_coordinates.go index 46a2a9a2e4..500e7a9b09 100644 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationhdfs_namenode.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordset_coordinates.go @@ -1,4 +1,4 @@ -package datasync +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LocationHDFS_NameNode AWS CloudFormation Resource (AWS::DataSync::LocationHDFS.NameNode) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-namenode.html -type LocationHDFS_NameNode struct { +// RecordSet_Coordinates AWS CloudFormation Resource (AWS::Route53::RecordSet.Coordinates) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-coordinates.html +type RecordSet_Coordinates struct { - // Hostname AWS CloudFormation Property + // Latitude AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-namenode.html#cfn-datasync-locationhdfs-namenode-hostname - Hostname *types.Value `json:"Hostname,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-coordinates.html#cfn-route53-recordset-coordinates-latitude + Latitude *types.Value `json:"Latitude,omitempty"` - // Port AWS CloudFormation Property + // Longitude AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationhdfs-namenode.html#cfn-datasync-locationhdfs-namenode-port - Port *types.Value `json:"Port"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-coordinates.html#cfn-route53-recordset-coordinates-longitude + Longitude *types.Value `json:"Longitude,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type LocationHDFS_NameNode struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LocationHDFS_NameNode) AWSCloudFormationType() string { - return "AWS::DataSync::LocationHDFS.NameNode" +func (r *RecordSet_Coordinates) AWSCloudFormationType() string { + return "AWS::Route53::RecordSet.Coordinates" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_loadbalancer.go b/pkg/goformation/cloudformation/route53/aws-route53-recordset_geoproximitylocation.go similarity index 55% rename from pkg/goformation/cloudformation/ecs/aws-ecs-taskset_loadbalancer.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordset_geoproximitylocation.go index 9db2fd2591..ad85d3e669 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskset_loadbalancer.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordset_geoproximitylocation.go @@ -1,4 +1,4 @@ -package ecs +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TaskSet_LoadBalancer AWS CloudFormation Resource (AWS::ECS::TaskSet.LoadBalancer) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-loadbalancer.html -type TaskSet_LoadBalancer struct { +// RecordSet_GeoProximityLocation AWS CloudFormation Resource (AWS::Route53::RecordSet.GeoProximityLocation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html +type RecordSet_GeoProximityLocation struct { - // ContainerName AWS CloudFormation Property + // AWSRegion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-loadbalancer.html#cfn-ecs-taskset-loadbalancer-containername - ContainerName *types.Value `json:"ContainerName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-awsregion + AWSRegion *types.Value `json:"AWSRegion,omitempty"` - // ContainerPort AWS CloudFormation Property + // Bias AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-loadbalancer.html#cfn-ecs-taskset-loadbalancer-containerport - ContainerPort *types.Value `json:"ContainerPort,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-bias + Bias *types.Value `json:"Bias,omitempty"` - // LoadBalancerName AWS CloudFormation Property + // Coordinates AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-loadbalancer.html#cfn-ecs-taskset-loadbalancer-loadbalancername - LoadBalancerName *types.Value `json:"LoadBalancerName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-coordinates + Coordinates *RecordSet_Coordinates `json:"Coordinates,omitempty"` - // TargetGroupArn AWS CloudFormation Property + // LocalZoneGroup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-loadbalancer.html#cfn-ecs-taskset-loadbalancer-targetgrouparn - TargetGroupArn *types.Value `json:"TargetGroupArn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-LocalZoneGroup + LocalZoneGroup *types.Value `json:"LocalZoneGroup,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type TaskSet_LoadBalancer struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TaskSet_LoadBalancer) AWSCloudFormationType() string { - return "AWS::ECS::TaskSet.LoadBalancer" +func (r *RecordSet_GeoProximityLocation) AWSCloudFormationType() string { + return "AWS::Route53::RecordSet.GeoProximityLocation" } diff --git a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster_loggingproperties.go b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_cidrroutingconfig.go similarity index 63% rename from pkg/goformation/cloudformation/redshift/aws-redshift-cluster_loggingproperties.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_cidrroutingconfig.go index 36e1784724..e0d3ec69b8 100644 --- a/pkg/goformation/cloudformation/redshift/aws-redshift-cluster_loggingproperties.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_cidrroutingconfig.go @@ -1,4 +1,4 @@ -package redshift +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_LoggingProperties AWS CloudFormation Resource (AWS::Redshift::Cluster.LoggingProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html -type Cluster_LoggingProperties struct { +// RecordSetGroup_CidrRoutingConfig AWS CloudFormation Resource (AWS::Route53::RecordSetGroup.CidrRoutingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html +type RecordSetGroup_CidrRoutingConfig struct { - // BucketName AWS CloudFormation Property + // CollectionId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html#cfn-redshift-cluster-loggingproperties-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html#cfn-route53-cidrroutingconfig-collectionid + CollectionId *types.Value `json:"CollectionId,omitempty"` - // S3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-cluster-loggingproperties.html#cfn-redshift-cluster-loggingproperties-s3keyprefix - S3KeyPrefix *types.Value `json:"S3KeyPrefix,omitempty"` + // LocationName AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-cidrroutingconfig.html#cfn-route53-cidrroutingconfig-locationname + LocationName *types.Value `json:"LocationName,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Cluster_LoggingProperties struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_LoggingProperties) AWSCloudFormationType() string { - return "AWS::Redshift::Cluster.LoggingProperties" +func (r *RecordSetGroup_CidrRoutingConfig) AWSCloudFormationType() string { + return "AWS::Route53::RecordSetGroup.CidrRoutingConfig" } diff --git a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site_location.go b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_coordinates.go similarity index 63% rename from pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site_location.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_coordinates.go index fd9af9e529..a177359418 100644 --- a/pkg/goformation/cloudformation/networkmanager/aws-networkmanager-site_location.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_coordinates.go @@ -1,4 +1,4 @@ -package networkmanager +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,23 +6,18 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Site_Location AWS CloudFormation Resource (AWS::NetworkManager::Site.Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-site-location.html -type Site_Location struct { - - // Address AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-site-location.html#cfn-networkmanager-site-location-address - Address *types.Value `json:"Address,omitempty"` +// RecordSetGroup_Coordinates AWS CloudFormation Resource (AWS::Route53::RecordSetGroup.Coordinates) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-coordinates.html +type RecordSetGroup_Coordinates struct { // Latitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-site-location.html#cfn-networkmanager-site-location-latitude + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-coordinates.html#cfn-route53-recordsetgroup-coordinates-latitude Latitude *types.Value `json:"Latitude,omitempty"` // Longitude AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-site-location.html#cfn-networkmanager-site-location-longitude + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-coordinates.html#cfn-route53-recordsetgroup-coordinates-longitude Longitude *types.Value `json:"Longitude,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -42,6 +37,6 @@ type Site_Location struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Site_Location) AWSCloudFormationType() string { - return "AWS::NetworkManager::Site.Location" +func (r *RecordSetGroup_Coordinates) AWSCloudFormationType() string { + return "AWS::Route53::RecordSetGroup.Coordinates" } diff --git a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_s3location.go b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_geoproximitylocation.go similarity index 54% rename from pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_s3location.go rename to pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_geoproximitylocation.go index 091858df83..7b94c71cbd 100644 --- a/pkg/goformation/cloudformation/apigateway/aws-apigateway-restapi_s3location.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_geoproximitylocation.go @@ -1,4 +1,4 @@ -package apigateway +package route53 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// RestApi_S3Location AWS CloudFormation Resource (AWS::ApiGateway::RestApi.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-s3location.html -type RestApi_S3Location struct { +// RecordSetGroup_GeoProximityLocation AWS CloudFormation Resource (AWS::Route53::RecordSetGroup.GeoProximityLocation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html +type RecordSetGroup_GeoProximityLocation struct { - // Bucket AWS CloudFormation Property + // AWSRegion AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-s3location.html#cfn-apigateway-restapi-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-awsregion + AWSRegion *types.Value `json:"AWSRegion,omitempty"` - // ETag AWS CloudFormation Property + // Bias AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-s3location.html#cfn-apigateway-restapi-s3location-etag - ETag *types.Value `json:"ETag,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-bias + Bias *types.Value `json:"Bias,omitempty"` - // Key AWS CloudFormation Property + // Coordinates AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-s3location.html#cfn-apigateway-restapi-s3location-key - Key *types.Value `json:"Key,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-coordinates + Coordinates *RecordSetGroup_Coordinates `json:"Coordinates,omitempty"` - // Version AWS CloudFormation Property + // LocalZoneGroup AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-restapi-s3location.html#cfn-apigateway-restapi-s3location-version - Version *types.Value `json:"Version,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-geoproximitylocation.html#cfn-route53-geoproximitylocation-LocalZoneGroup + LocalZoneGroup *types.Value `json:"LocalZoneGroup,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type RestApi_S3Location struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *RestApi_S3Location) AWSCloudFormationType() string { - return "AWS::ApiGateway::RestApi.S3Location" +func (r *RecordSetGroup_GeoProximityLocation) AWSCloudFormationType() string { + return "AWS::Route53::RecordSetGroup.GeoProximityLocation" } diff --git a/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_recordset.go b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_recordset.go index 353ae6be6f..63a7801c64 100644 --- a/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_recordset.go +++ b/pkg/goformation/cloudformation/route53/aws-route53-recordsetgroup_recordset.go @@ -15,10 +15,10 @@ type RecordSetGroup_RecordSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-aliastarget AliasTarget *RecordSetGroup_AliasTarget `json:"AliasTarget,omitempty"` - // Comment AWS CloudFormation Property + // CidrRoutingConfig AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-comment - Comment *types.Value `json:"Comment,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-cidrroutingconfig + CidrRoutingConfig *RecordSetGroup_CidrRoutingConfig `json:"CidrRoutingConfig,omitempty"` // Failover AWS CloudFormation Property // Required: false @@ -30,6 +30,11 @@ type RecordSetGroup_RecordSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-geolocation GeoLocation *RecordSetGroup_GeoLocation `json:"GeoLocation,omitempty"` + // GeoProximityLocation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-geoproximitylocation + GeoProximityLocation *RecordSetGroup_GeoProximityLocation `json:"GeoProximityLocation,omitempty"` + // HealthCheckId AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html#cfn-route53-recordset-healthcheckid diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster.go deleted file mode 100644 index 2fcad16c51..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster.go +++ /dev/null @@ -1,114 +0,0 @@ -package route53recoverycontrol - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster AWS CloudFormation Resource (AWS::Route53RecoveryControl::Cluster) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-cluster.html -type Cluster struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-cluster.html#cfn-route53recoverycontrol-cluster-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-cluster.html#cfn-route53recoverycontrol-cluster-tags - Tags []cloudformation.Tag `json:"Tags,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 *Cluster) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::Cluster" -} - -// 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 (r Cluster) MarshalJSON() ([]byte, error) { - type Properties Cluster - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cluster) UnmarshalJSON(b []byte) error { - type Properties Cluster - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cluster(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster_clusterendpoint.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster_clusterendpoint.go deleted file mode 100644 index 259ef30601..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-cluster_clusterendpoint.go +++ /dev/null @@ -1,42 +0,0 @@ -package route53recoverycontrol - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cluster_ClusterEndpoint AWS CloudFormation Resource (AWS::Route53RecoveryControl::Cluster.ClusterEndpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html -type Cluster_ClusterEndpoint struct { - - // Endpoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html#cfn-route53recoverycontrol-cluster-clusterendpoint-endpoint - Endpoint *types.Value `json:"Endpoint,omitempty"` - - // Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-cluster-clusterendpoint.html#cfn-route53recoverycontrol-cluster-clusterendpoint-region - Region *types.Value `json:"Region,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 *Cluster_ClusterEndpoint) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::Cluster.ClusterEndpoint" -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-controlpanel.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-controlpanel.go deleted file mode 100644 index e8a6a9f310..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-controlpanel.go +++ /dev/null @@ -1,119 +0,0 @@ -package route53recoverycontrol - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ControlPanel AWS CloudFormation Resource (AWS::Route53RecoveryControl::ControlPanel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-controlpanel.html -type ControlPanel struct { - - // ClusterArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-controlpanel.html#cfn-route53recoverycontrol-controlpanel-clusterarn - ClusterArn *types.Value `json:"ClusterArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-controlpanel.html#cfn-route53recoverycontrol-controlpanel-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-controlpanel.html#cfn-route53recoverycontrol-controlpanel-tags - Tags []cloudformation.Tag `json:"Tags,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 *ControlPanel) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::ControlPanel" -} - -// 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 (r ControlPanel) MarshalJSON() ([]byte, error) { - type Properties ControlPanel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ControlPanel) UnmarshalJSON(b []byte) error { - type Properties ControlPanel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ControlPanel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-routingcontrol.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-routingcontrol.go deleted file mode 100644 index 00457f14f5..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-routingcontrol.go +++ /dev/null @@ -1,118 +0,0 @@ -package route53recoverycontrol - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RoutingControl AWS CloudFormation Resource (AWS::Route53RecoveryControl::RoutingControl) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-routingcontrol.html -type RoutingControl struct { - - // ClusterArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-routingcontrol.html#cfn-route53recoverycontrol-routingcontrol-clusterarn - ClusterArn *types.Value `json:"ClusterArn,omitempty"` - - // ControlPanelArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-routingcontrol.html#cfn-route53recoverycontrol-routingcontrol-controlpanelarn - ControlPanelArn *types.Value `json:"ControlPanelArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-routingcontrol.html#cfn-route53recoverycontrol-routingcontrol-name - Name *types.Value `json:"Name,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 *RoutingControl) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::RoutingControl" -} - -// 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 (r RoutingControl) MarshalJSON() ([]byte, error) { - type Properties RoutingControl - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RoutingControl) UnmarshalJSON(b []byte) error { - type Properties RoutingControl - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RoutingControl(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule.go deleted file mode 100644 index 82c173152c..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule.go +++ /dev/null @@ -1,134 +0,0 @@ -package route53recoverycontrol - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SafetyRule AWS CloudFormation Resource (AWS::Route53RecoveryControl::SafetyRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html -type SafetyRule struct { - - // AssertionRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-assertionrule - AssertionRule *SafetyRule_AssertionRule `json:"AssertionRule,omitempty"` - - // ControlPanelArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-controlpanelarn - ControlPanelArn *types.Value `json:"ControlPanelArn,omitempty"` - - // GatingRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-gatingrule - GatingRule *SafetyRule_GatingRule `json:"GatingRule,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-name - Name *types.Value `json:"Name,omitempty"` - - // RuleConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-ruleconfig - RuleConfig *SafetyRule_RuleConfig `json:"RuleConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoverycontrol-safetyrule.html#cfn-route53recoverycontrol-safetyrule-tags - Tags []cloudformation.Tag `json:"Tags,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 *SafetyRule) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::SafetyRule" -} - -// 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 (r SafetyRule) MarshalJSON() ([]byte, error) { - type Properties SafetyRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SafetyRule) UnmarshalJSON(b []byte) error { - type Properties SafetyRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SafetyRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_assertionrule.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_assertionrule.go deleted file mode 100644 index 034f8b8e74..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_assertionrule.go +++ /dev/null @@ -1,42 +0,0 @@ -package route53recoverycontrol - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SafetyRule_AssertionRule AWS CloudFormation Resource (AWS::Route53RecoveryControl::SafetyRule.AssertionRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-assertionrule.html -type SafetyRule_AssertionRule struct { - - // AssertedControls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-assertionrule.html#cfn-route53recoverycontrol-safetyrule-assertionrule-assertedcontrols - AssertedControls *types.Value `json:"AssertedControls,omitempty"` - - // WaitPeriodMs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-assertionrule.html#cfn-route53recoverycontrol-safetyrule-assertionrule-waitperiodms - WaitPeriodMs *types.Value `json:"WaitPeriodMs"` - - // 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 *SafetyRule_AssertionRule) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::SafetyRule.AssertionRule" -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_gatingrule.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_gatingrule.go deleted file mode 100644 index 51857f8656..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_gatingrule.go +++ /dev/null @@ -1,47 +0,0 @@ -package route53recoverycontrol - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SafetyRule_GatingRule AWS CloudFormation Resource (AWS::Route53RecoveryControl::SafetyRule.GatingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-gatingrule.html -type SafetyRule_GatingRule struct { - - // GatingControls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-gatingrule.html#cfn-route53recoverycontrol-safetyrule-gatingrule-gatingcontrols - GatingControls *types.Value `json:"GatingControls,omitempty"` - - // TargetControls AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-gatingrule.html#cfn-route53recoverycontrol-safetyrule-gatingrule-targetcontrols - TargetControls *types.Value `json:"TargetControls,omitempty"` - - // WaitPeriodMs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-gatingrule.html#cfn-route53recoverycontrol-safetyrule-gatingrule-waitperiodms - WaitPeriodMs *types.Value `json:"WaitPeriodMs"` - - // 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 *SafetyRule_GatingRule) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::SafetyRule.GatingRule" -} diff --git a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_ruleconfig.go b/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_ruleconfig.go deleted file mode 100644 index 829ec8f723..0000000000 --- a/pkg/goformation/cloudformation/route53recoverycontrol/aws-route53recoverycontrol-safetyrule_ruleconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package route53recoverycontrol - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SafetyRule_RuleConfig AWS CloudFormation Resource (AWS::Route53RecoveryControl::SafetyRule.RuleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-ruleconfig.html -type SafetyRule_RuleConfig struct { - - // Inverted AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-ruleconfig.html#cfn-route53recoverycontrol-safetyrule-ruleconfig-inverted - Inverted *types.Value `json:"Inverted"` - - // Threshold AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-ruleconfig.html#cfn-route53recoverycontrol-safetyrule-ruleconfig-threshold - Threshold *types.Value `json:"Threshold"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoverycontrol-safetyrule-ruleconfig.html#cfn-route53recoverycontrol-safetyrule-ruleconfig-type - Type *types.Value `json:"Type,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 *SafetyRule_RuleConfig) AWSCloudFormationType() string { - return "AWS::Route53RecoveryControl::SafetyRule.RuleConfig" -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-cell.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-cell.go deleted file mode 100644 index 021fa3e4c8..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-cell.go +++ /dev/null @@ -1,119 +0,0 @@ -package route53recoveryreadiness - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Cell AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::Cell) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-cell.html -type Cell struct { - - // CellName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-cell.html#cfn-route53recoveryreadiness-cell-cellname - CellName *types.Value `json:"CellName,omitempty"` - - // Cells AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-cell.html#cfn-route53recoveryreadiness-cell-cells - Cells *types.Value `json:"Cells,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-cell.html#cfn-route53recoveryreadiness-cell-tags - Tags []cloudformation.Tag `json:"Tags,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 *Cell) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::Cell" -} - -// 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 (r Cell) MarshalJSON() ([]byte, error) { - type Properties Cell - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Cell) UnmarshalJSON(b []byte) error { - type Properties Cell - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Cell(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-readinesscheck.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-readinesscheck.go deleted file mode 100644 index dfbbfea375..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-readinesscheck.go +++ /dev/null @@ -1,119 +0,0 @@ -package route53recoveryreadiness - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReadinessCheck AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ReadinessCheck) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html -type ReadinessCheck struct { - - // ReadinessCheckName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html#cfn-route53recoveryreadiness-readinesscheck-readinesscheckname - ReadinessCheckName *types.Value `json:"ReadinessCheckName,omitempty"` - - // ResourceSetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html#cfn-route53recoveryreadiness-readinesscheck-resourcesetname - ResourceSetName *types.Value `json:"ResourceSetName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-readinesscheck.html#cfn-route53recoveryreadiness-readinesscheck-tags - Tags []cloudformation.Tag `json:"Tags,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 *ReadinessCheck) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ReadinessCheck" -} - -// 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 (r ReadinessCheck) MarshalJSON() ([]byte, error) { - type Properties ReadinessCheck - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReadinessCheck) UnmarshalJSON(b []byte) error { - type Properties ReadinessCheck - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReadinessCheck(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-recoverygroup.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-recoverygroup.go deleted file mode 100644 index 93e4db45ab..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-recoverygroup.go +++ /dev/null @@ -1,119 +0,0 @@ -package route53recoveryreadiness - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RecoveryGroup AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::RecoveryGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-recoverygroup.html -type RecoveryGroup struct { - - // Cells AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-recoverygroup.html#cfn-route53recoveryreadiness-recoverygroup-cells - Cells *types.Value `json:"Cells,omitempty"` - - // RecoveryGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-recoverygroup.html#cfn-route53recoveryreadiness-recoverygroup-recoverygroupname - RecoveryGroupName *types.Value `json:"RecoveryGroupName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-recoverygroup.html#cfn-route53recoveryreadiness-recoverygroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *RecoveryGroup) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::RecoveryGroup" -} - -// 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 (r RecoveryGroup) MarshalJSON() ([]byte, error) { - type Properties RecoveryGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RecoveryGroup) UnmarshalJSON(b []byte) error { - type Properties RecoveryGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RecoveryGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset.go deleted file mode 100644 index cabdb4ca4c..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset.go +++ /dev/null @@ -1,124 +0,0 @@ -package route53recoveryreadiness - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html -type ResourceSet struct { - - // ResourceSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resourcesetname - ResourceSetName *types.Value `json:"ResourceSetName,omitempty"` - - // ResourceSetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resourcesettype - ResourceSetType *types.Value `json:"ResourceSetType,omitempty"` - - // Resources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-resources - Resources []ResourceSet_Resource `json:"Resources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53recoveryreadiness-resourceset.html#cfn-route53recoveryreadiness-resourceset-tags - Tags []cloudformation.Tag `json:"Tags,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 *ResourceSet) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet" -} - -// 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 (r ResourceSet) MarshalJSON() ([]byte, error) { - type Properties ResourceSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceSet) UnmarshalJSON(b []byte) error { - type Properties ResourceSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_dnstargetresource.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_dnstargetresource.go deleted file mode 100644 index b214b06010..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_dnstargetresource.go +++ /dev/null @@ -1,57 +0,0 @@ -package route53recoveryreadiness - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet_DNSTargetResource AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html -type ResourceSet_DNSTargetResource struct { - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html#cfn-route53recoveryreadiness-resourceset-dnstargetresource-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // HostedZoneArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html#cfn-route53recoveryreadiness-resourceset-dnstargetresource-hostedzonearn - HostedZoneArn *types.Value `json:"HostedZoneArn,omitempty"` - - // RecordSetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html#cfn-route53recoveryreadiness-resourceset-dnstargetresource-recordsetid - RecordSetId *types.Value `json:"RecordSetId,omitempty"` - - // RecordType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html#cfn-route53recoveryreadiness-resourceset-dnstargetresource-recordtype - RecordType *types.Value `json:"RecordType,omitempty"` - - // TargetResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-dnstargetresource.html#cfn-route53recoveryreadiness-resourceset-dnstargetresource-targetresource - TargetResource *ResourceSet_TargetResource `json:"TargetResource,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 *ResourceSet_DNSTargetResource) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource" -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_nlbresource.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_nlbresource.go deleted file mode 100644 index 299fb56c5b..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_nlbresource.go +++ /dev/null @@ -1,37 +0,0 @@ -package route53recoveryreadiness - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet_NLBResource AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet.NLBResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-nlbresource.html -type ResourceSet_NLBResource struct { - - // Arn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-nlbresource.html#cfn-route53recoveryreadiness-resourceset-nlbresource-arn - Arn *types.Value `json:"Arn,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 *ResourceSet_NLBResource) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet.NLBResource" -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_r53resourcerecord.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_r53resourcerecord.go deleted file mode 100644 index 7ed5d78719..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_r53resourcerecord.go +++ /dev/null @@ -1,42 +0,0 @@ -package route53recoveryreadiness - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet_R53ResourceRecord AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-r53resourcerecord.html -type ResourceSet_R53ResourceRecord struct { - - // DomainName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-r53resourcerecord.html#cfn-route53recoveryreadiness-resourceset-r53resourcerecord-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // RecordSetId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-r53resourcerecord.html#cfn-route53recoveryreadiness-resourceset-r53resourcerecord-recordsetid - RecordSetId *types.Value `json:"RecordSetId,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 *ResourceSet_R53ResourceRecord) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord" -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_resource.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_resource.go deleted file mode 100644 index 1019b0901b..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_resource.go +++ /dev/null @@ -1,52 +0,0 @@ -package route53recoveryreadiness - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet_Resource AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet.Resource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html -type ResourceSet_Resource struct { - - // ComponentId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-componentid - ComponentId *types.Value `json:"ComponentId,omitempty"` - - // DnsTargetResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-dnstargetresource - DnsTargetResource *ResourceSet_DNSTargetResource `json:"DnsTargetResource,omitempty"` - - // ReadinessScopes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-readinessscopes - ReadinessScopes *types.Value `json:"ReadinessScopes,omitempty"` - - // ResourceArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-resource.html#cfn-route53recoveryreadiness-resourceset-resource-resourcearn - ResourceArn *types.Value `json:"ResourceArn,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 *ResourceSet_Resource) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet.Resource" -} diff --git a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_targetresource.go b/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_targetresource.go deleted file mode 100644 index 33095f2c3a..0000000000 --- a/pkg/goformation/cloudformation/route53recoveryreadiness/aws-route53recoveryreadiness-resourceset_targetresource.go +++ /dev/null @@ -1,40 +0,0 @@ -package route53recoveryreadiness - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceSet_TargetResource AWS CloudFormation Resource (AWS::Route53RecoveryReadiness::ResourceSet.TargetResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-targetresource.html -type ResourceSet_TargetResource struct { - - // NLBResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-targetresource.html#cfn-route53recoveryreadiness-resourceset-targetresource-nlbresource - NLBResource *ResourceSet_NLBResource `json:"NLBResource,omitempty"` - - // R53Resource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53recoveryreadiness-resourceset-targetresource.html#cfn-route53recoveryreadiness-resourceset-targetresource-r53resource - R53Resource *ResourceSet_R53ResourceRecord `json:"R53Resource,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 *ResourceSet_TargetResource) AWSCloudFormationType() string { - return "AWS::Route53RecoveryReadiness::ResourceSet.TargetResource" -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewalldomainlist.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewalldomainlist.go deleted file mode 100644 index 1d2ae8e8f0..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewalldomainlist.go +++ /dev/null @@ -1,124 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallDomainList AWS CloudFormation Resource (AWS::Route53Resolver::FirewallDomainList) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewalldomainlist.html -type FirewallDomainList struct { - - // DomainFileUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewalldomainlist.html#cfn-route53resolver-firewalldomainlist-domainfileurl - DomainFileUrl *types.Value `json:"DomainFileUrl,omitempty"` - - // Domains AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewalldomainlist.html#cfn-route53resolver-firewalldomainlist-domains - Domains *types.Value `json:"Domains,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewalldomainlist.html#cfn-route53resolver-firewalldomainlist-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewalldomainlist.html#cfn-route53resolver-firewalldomainlist-tags - Tags []cloudformation.Tag `json:"Tags,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 *FirewallDomainList) AWSCloudFormationType() string { - return "AWS::Route53Resolver::FirewallDomainList" -} - -// 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 (r FirewallDomainList) MarshalJSON() ([]byte, error) { - type Properties FirewallDomainList - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FirewallDomainList) UnmarshalJSON(b []byte) error { - type Properties FirewallDomainList - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FirewallDomainList(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup.go deleted file mode 100644 index 1a46729157..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup.go +++ /dev/null @@ -1,119 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallRuleGroup AWS CloudFormation Resource (AWS::Route53Resolver::FirewallRuleGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html -type FirewallRuleGroup struct { - - // FirewallRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-firewallrules - FirewallRules []FirewallRuleGroup_FirewallRule `json:"FirewallRules,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroup.html#cfn-route53resolver-firewallrulegroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *FirewallRuleGroup) AWSCloudFormationType() string { - return "AWS::Route53Resolver::FirewallRuleGroup" -} - -// 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 (r FirewallRuleGroup) MarshalJSON() ([]byte, error) { - type Properties FirewallRuleGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FirewallRuleGroup) UnmarshalJSON(b []byte) error { - type Properties FirewallRuleGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FirewallRuleGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup_firewallrule.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup_firewallrule.go deleted file mode 100644 index d8341e00a6..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroup_firewallrule.go +++ /dev/null @@ -1,67 +0,0 @@ -package route53resolver - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallRuleGroup_FirewallRule AWS CloudFormation Resource (AWS::Route53Resolver::FirewallRuleGroup.FirewallRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html -type FirewallRuleGroup_FirewallRule struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-action - Action *types.Value `json:"Action,omitempty"` - - // BlockOverrideDnsType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-blockoverridednstype - BlockOverrideDnsType *types.Value `json:"BlockOverrideDnsType,omitempty"` - - // BlockOverrideDomain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-blockoverridedomain - BlockOverrideDomain *types.Value `json:"BlockOverrideDomain,omitempty"` - - // BlockOverrideTtl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-blockoverridettl - BlockOverrideTtl *types.Value `json:"BlockOverrideTtl,omitempty"` - - // BlockResponse AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-blockresponse - BlockResponse *types.Value `json:"BlockResponse,omitempty"` - - // FirewallDomainListId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-firewalldomainlistid - FirewallDomainListId *types.Value `json:"FirewallDomainListId,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-firewallrulegroup-firewallrule.html#cfn-route53resolver-firewallrulegroup-firewallrule-priority - Priority *types.Value `json:"Priority"` - - // 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 *FirewallRuleGroup_FirewallRule) AWSCloudFormationType() string { - return "AWS::Route53Resolver::FirewallRuleGroup.FirewallRule" -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroupassociation.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroupassociation.go deleted file mode 100644 index 076e895a88..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-firewallrulegroupassociation.go +++ /dev/null @@ -1,134 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FirewallRuleGroupAssociation AWS CloudFormation Resource (AWS::Route53Resolver::FirewallRuleGroupAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html -type FirewallRuleGroupAssociation struct { - - // FirewallRuleGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-firewallrulegroupid - FirewallRuleGroupId *types.Value `json:"FirewallRuleGroupId,omitempty"` - - // MutationProtection AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-mutationprotection - MutationProtection *types.Value `json:"MutationProtection,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-priority - Priority *types.Value `json:"Priority"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-firewallrulegroupassociation.html#cfn-route53resolver-firewallrulegroupassociation-vpcid - VpcId *types.Value `json:"VpcId,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 *FirewallRuleGroupAssociation) AWSCloudFormationType() string { - return "AWS::Route53Resolver::FirewallRuleGroupAssociation" -} - -// 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 (r FirewallRuleGroupAssociation) MarshalJSON() ([]byte, error) { - type Properties FirewallRuleGroupAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FirewallRuleGroupAssociation) UnmarshalJSON(b []byte) error { - type Properties FirewallRuleGroupAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FirewallRuleGroupAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverconfig.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverconfig.go deleted file mode 100644 index f478cdea55..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverconfig.go +++ /dev/null @@ -1,113 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverConfig AWS CloudFormation Resource (AWS::Route53Resolver::ResolverConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverconfig.html -type ResolverConfig struct { - - // AutodefinedReverseFlag AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverconfig.html#cfn-route53resolver-resolverconfig-autodefinedreverseflag - AutodefinedReverseFlag *types.Value `json:"AutodefinedReverseFlag,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverconfig.html#cfn-route53resolver-resolverconfig-resourceid - ResourceId *types.Value `json:"ResourceId,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 *ResolverConfig) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverConfig" -} - -// 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 (r ResolverConfig) MarshalJSON() ([]byte, error) { - type Properties ResolverConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverConfig) UnmarshalJSON(b []byte) error { - type Properties ResolverConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverdnssecconfig.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverdnssecconfig.go deleted file mode 100644 index 2a359355c6..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverdnssecconfig.go +++ /dev/null @@ -1,108 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverDNSSECConfig AWS CloudFormation Resource (AWS::Route53Resolver::ResolverDNSSECConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverdnssecconfig.html -type ResolverDNSSECConfig struct { - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverdnssecconfig.html#cfn-route53resolver-resolverdnssecconfig-resourceid - ResourceId *types.Value `json:"ResourceId,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 *ResolverDNSSECConfig) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverDNSSECConfig" -} - -// 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 (r ResolverDNSSECConfig) MarshalJSON() ([]byte, error) { - type Properties ResolverDNSSECConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverDNSSECConfig) UnmarshalJSON(b []byte) error { - type Properties ResolverDNSSECConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverDNSSECConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint_ipaddressrequest.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint_ipaddressrequest.go deleted file mode 100644 index 6aec195066..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverendpoint_ipaddressrequest.go +++ /dev/null @@ -1,42 +0,0 @@ -package route53resolver - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverEndpoint_IpAddressRequest AWS CloudFormation Resource (AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html -type ResolverEndpoint_IpAddressRequest struct { - - // Ip AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html#cfn-route53resolver-resolverendpoint-ipaddressrequest-ip - Ip *types.Value `json:"Ip,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverendpoint-ipaddressrequest.html#cfn-route53resolver-resolverendpoint-ipaddressrequest-subnetid - SubnetId *types.Value `json:"SubnetId,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 *ResolverEndpoint_IpAddressRequest) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest" -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfig.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfig.go deleted file mode 100644 index a45dfdc311..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfig.go +++ /dev/null @@ -1,113 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverQueryLoggingConfig AWS CloudFormation Resource (AWS::Route53Resolver::ResolverQueryLoggingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfig.html -type ResolverQueryLoggingConfig struct { - - // DestinationArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfig.html#cfn-route53resolver-resolverqueryloggingconfig-destinationarn - DestinationArn *types.Value `json:"DestinationArn,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfig.html#cfn-route53resolver-resolverqueryloggingconfig-name - Name *types.Value `json:"Name,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 *ResolverQueryLoggingConfig) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverQueryLoggingConfig" -} - -// 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 (r ResolverQueryLoggingConfig) MarshalJSON() ([]byte, error) { - type Properties ResolverQueryLoggingConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverQueryLoggingConfig) UnmarshalJSON(b []byte) error { - type Properties ResolverQueryLoggingConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverQueryLoggingConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfigassociation.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfigassociation.go deleted file mode 100644 index c3b3c8ac45..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverqueryloggingconfigassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverQueryLoggingConfigAssociation AWS CloudFormation Resource (AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfigassociation.html -type ResolverQueryLoggingConfigAssociation struct { - - // ResolverQueryLogConfigId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfigassociation.html#cfn-route53resolver-resolverqueryloggingconfigassociation-resolverquerylogconfigid - ResolverQueryLogConfigId *types.Value `json:"ResolverQueryLogConfigId,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverqueryloggingconfigassociation.html#cfn-route53resolver-resolverqueryloggingconfigassociation-resourceid - ResourceId *types.Value `json:"ResourceId,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 *ResolverQueryLoggingConfigAssociation) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" -} - -// 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 (r ResolverQueryLoggingConfigAssociation) MarshalJSON() ([]byte, error) { - type Properties ResolverQueryLoggingConfigAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverQueryLoggingConfigAssociation) UnmarshalJSON(b []byte) error { - type Properties ResolverQueryLoggingConfigAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverQueryLoggingConfigAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule.go deleted file mode 100644 index 8eb0a9ee17..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule.go +++ /dev/null @@ -1,134 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverRule AWS CloudFormation Resource (AWS::Route53Resolver::ResolverRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html -type ResolverRule struct { - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-name - Name *types.Value `json:"Name,omitempty"` - - // ResolverEndpointId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-resolverendpointid - ResolverEndpointId *types.Value `json:"ResolverEndpointId,omitempty"` - - // RuleType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-ruletype - RuleType *types.Value `json:"RuleType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetIps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html#cfn-route53resolver-resolverrule-targetips - TargetIps []ResolverRule_TargetAddress `json:"TargetIps,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 *ResolverRule) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverRule" -} - -// 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 (r ResolverRule) MarshalJSON() ([]byte, error) { - type Properties ResolverRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverRule) UnmarshalJSON(b []byte) error { - type Properties ResolverRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule_targetaddress.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule_targetaddress.go deleted file mode 100644 index 4f8c40c204..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverrule_targetaddress.go +++ /dev/null @@ -1,42 +0,0 @@ -package route53resolver - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverRule_TargetAddress AWS CloudFormation Resource (AWS::Route53Resolver::ResolverRule.TargetAddress) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverrule-targetaddress.html -type ResolverRule_TargetAddress struct { - - // Ip AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverrule-targetaddress.html#cfn-route53resolver-resolverrule-targetaddress-ip - Ip *types.Value `json:"Ip,omitempty"` - - // Port AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53resolver-resolverrule-targetaddress.html#cfn-route53resolver-resolverrule-targetaddress-port - Port *types.Value `json:"Port,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 *ResolverRule_TargetAddress) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverRule.TargetAddress" -} diff --git a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverruleassociation.go b/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverruleassociation.go deleted file mode 100644 index 933528cd2e..0000000000 --- a/pkg/goformation/cloudformation/route53resolver/aws-route53resolver-resolverruleassociation.go +++ /dev/null @@ -1,118 +0,0 @@ -package route53resolver - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResolverRuleAssociation AWS CloudFormation Resource (AWS::Route53Resolver::ResolverRuleAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html -type ResolverRuleAssociation struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-name - Name *types.Value `json:"Name,omitempty"` - - // ResolverRuleId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-resolverruleid - ResolverRuleId *types.Value `json:"ResolverRuleId,omitempty"` - - // VPCId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#cfn-route53resolver-resolverruleassociation-vpcid - VPCId *types.Value `json:"VPCId,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 *ResolverRuleAssociation) AWSCloudFormationType() string { - return "AWS::Route53Resolver::ResolverRuleAssociation" -} - -// 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 (r ResolverRuleAssociation) MarshalJSON() ([]byte, error) { - type Properties ResolverRuleAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResolverRuleAssociation) UnmarshalJSON(b []byte) error { - type Properties ResolverRuleAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResolverRuleAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/rum/aws-rum-appmonitor.go b/pkg/goformation/cloudformation/rum/aws-rum-appmonitor.go deleted file mode 100644 index 709a8a3e20..0000000000 --- a/pkg/goformation/cloudformation/rum/aws-rum-appmonitor.go +++ /dev/null @@ -1,129 +0,0 @@ -package rum - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppMonitor AWS CloudFormation Resource (AWS::RUM::AppMonitor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html -type AppMonitor struct { - - // AppMonitorConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-appmonitorconfiguration - AppMonitorConfiguration *AppMonitor_AppMonitorConfiguration `json:"AppMonitorConfiguration,omitempty"` - - // CwLogEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-cwlogenabled - CwLogEnabled *types.Value `json:"CwLogEnabled,omitempty"` - - // Domain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-domain - Domain *types.Value `json:"Domain,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-tags - Tags []cloudformation.Tag `json:"Tags,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 *AppMonitor) AWSCloudFormationType() string { - return "AWS::RUM::AppMonitor" -} - -// 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 (r AppMonitor) MarshalJSON() ([]byte, error) { - type Properties AppMonitor - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AppMonitor) UnmarshalJSON(b []byte) error { - type Properties AppMonitor - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AppMonitor(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/rum/aws-rum-appmonitor_appmonitorconfiguration.go b/pkg/goformation/cloudformation/rum/aws-rum-appmonitor_appmonitorconfiguration.go deleted file mode 100644 index 426cf4465e..0000000000 --- a/pkg/goformation/cloudformation/rum/aws-rum-appmonitor_appmonitorconfiguration.go +++ /dev/null @@ -1,77 +0,0 @@ -package rum - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppMonitor_AppMonitorConfiguration AWS CloudFormation Resource (AWS::RUM::AppMonitor.AppMonitorConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html -type AppMonitor_AppMonitorConfiguration struct { - - // AllowCookies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-allowcookies - AllowCookies *types.Value `json:"AllowCookies,omitempty"` - - // EnableXRay AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-enablexray - EnableXRay *types.Value `json:"EnableXRay,omitempty"` - - // ExcludedPages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-excludedpages - ExcludedPages *types.Value `json:"ExcludedPages,omitempty"` - - // FavoritePages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-favoritepages - FavoritePages *types.Value `json:"FavoritePages,omitempty"` - - // GuestRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-guestrolearn - GuestRoleArn *types.Value `json:"GuestRoleArn,omitempty"` - - // IdentityPoolId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-identitypoolid - IdentityPoolId *types.Value `json:"IdentityPoolId,omitempty"` - - // IncludedPages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-includedpages - IncludedPages *types.Value `json:"IncludedPages,omitempty"` - - // SessionSampleRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-sessionsamplerate - SessionSampleRate *types.Value `json:"SessionSampleRate,omitempty"` - - // Telemetries AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-appmonitorconfiguration.html#cfn-rum-appmonitor-appmonitorconfiguration-telemetries - Telemetries *types.Value `json:"Telemetries,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 *AppMonitor_AppMonitorConfiguration) AWSCloudFormationType() string { - return "AWS::RUM::AppMonitor.AppMonitorConfiguration" -} diff --git a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template.go b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant.go similarity index 70% rename from pkg/goformation/cloudformation/quicksight/aws-quicksight-template.go rename to pkg/goformation/cloudformation/s3/aws-s3-accessgrant.go index f5a0941ca3..aa6aea302e 100644 --- a/pkg/goformation/cloudformation/quicksight/aws-quicksight-template.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant.go @@ -1,4 +1,4 @@ -package quicksight +package s3 import ( "bytes" @@ -11,44 +11,44 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Template AWS CloudFormation Resource (AWS::QuickSight::Template) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html -type Template struct { +// AccessGrant AWS CloudFormation Resource (AWS::S3::AccessGrant) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html +type AccessGrant struct { - // AwsAccountId AWS CloudFormation Property + // AccessGrantsLocationConfiguration AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-accessgrantslocationconfiguration + AccessGrantsLocationConfiguration *AccessGrant_AccessGrantsLocationConfiguration `json:"AccessGrantsLocationConfiguration,omitempty"` + + // AccessGrantsLocationId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-awsaccountid - AwsAccountId *types.Value `json:"AwsAccountId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-accessgrantslocationid + AccessGrantsLocationId *types.Value `json:"AccessGrantsLocationId,omitempty"` - // Name AWS CloudFormation Property + // ApplicationArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-applicationarn + ApplicationArn *types.Value `json:"ApplicationArn,omitempty"` - // Permissions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-permissions - Permissions []Template_ResourcePermission `json:"Permissions,omitempty"` + // Grantee AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-grantee + Grantee *AccessGrant_Grantee `json:"Grantee,omitempty"` - // SourceEntity AWS CloudFormation Property + // Permission AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-sourceentity - SourceEntity *Template_TemplateSourceEntity `json:"SourceEntity,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-permission + Permission *types.Value `json:"Permission,omitempty"` - // Tags AWS CloudFormation Property + // S3PrefixType AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TemplateId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-templateid - TemplateId *types.Value `json:"TemplateId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-s3prefixtype + S3PrefixType *types.Value `json:"S3PrefixType,omitempty"` - // VersionDescription AWS CloudFormation Property + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html#cfn-quicksight-template-versiondescription - VersionDescription *types.Value `json:"VersionDescription,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrant.html#cfn-s3-accessgrant-tags + Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -67,14 +67,14 @@ type Template struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Template) AWSCloudFormationType() string { - return "AWS::QuickSight::Template" +func (r *AccessGrant) AWSCloudFormationType() string { + return "AWS::S3::AccessGrant" } // 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 (r Template) MarshalJSON() ([]byte, error) { - type Properties Template +func (r AccessGrant) MarshalJSON() ([]byte, error) { + type Properties AccessGrant return json.Marshal(&struct { Type string Properties Properties @@ -96,8 +96,8 @@ func (r Template) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Template) UnmarshalJSON(b []byte) error { - type Properties Template +func (r *AccessGrant) UnmarshalJSON(b []byte) error { + type Properties AccessGrant res := &struct { Type string Properties *Properties @@ -118,7 +118,7 @@ func (r *Template) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Template(*res.Properties) + *r = AccessGrant(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenamematchers.go b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant_accessgrantslocationconfiguration.go similarity index 63% rename from pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenamematchers.go rename to pkg/goformation/cloudformation/s3/aws-s3-accessgrant_accessgrantslocationconfiguration.go index 8e9a874936..5860944d37 100644 --- a/pkg/goformation/cloudformation/appmesh/aws-appmesh-virtualgateway_subjectalternativenamematchers.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant_accessgrantslocationconfiguration.go @@ -1,4 +1,4 @@ -package appmesh +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// VirtualGateway_SubjectAlternativeNameMatchers AWS CloudFormation Resource (AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-subjectalternativenamematchers.html -type VirtualGateway_SubjectAlternativeNameMatchers struct { +// AccessGrant_AccessGrantsLocationConfiguration AWS CloudFormation Resource (AWS::S3::AccessGrant.AccessGrantsLocationConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-accessgrant-accessgrantslocationconfiguration.html +type AccessGrant_AccessGrantsLocationConfiguration struct { - // Exact AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualgateway-subjectalternativenamematchers.html#cfn-appmesh-virtualgateway-subjectalternativenamematchers-exact - Exact *types.Value `json:"Exact,omitempty"` + // S3SubPrefix AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-accessgrant-accessgrantslocationconfiguration.html#cfn-s3-accessgrant-accessgrantslocationconfiguration-s3subprefix + S3SubPrefix *types.Value `json:"S3SubPrefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type VirtualGateway_SubjectAlternativeNameMatchers struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *VirtualGateway_SubjectAlternativeNameMatchers) AWSCloudFormationType() string { - return "AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers" +func (r *AccessGrant_AccessGrantsLocationConfiguration) AWSCloudFormationType() string { + return "AWS::S3::AccessGrant.AccessGrantsLocationConfiguration" } diff --git a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_validity.go b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant_grantee.go similarity index 64% rename from pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_validity.go rename to pkg/goformation/cloudformation/s3/aws-s3-accessgrant_grantee.go index d6d3af364b..10f058da95 100644 --- a/pkg/goformation/cloudformation/acmpca/aws-acmpca-certificate_validity.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accessgrant_grantee.go @@ -1,4 +1,4 @@ -package acmpca +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/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 { +// AccessGrant_Grantee AWS CloudFormation Resource (AWS::S3::AccessGrant.Grantee) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-accessgrant-grantee.html +type AccessGrant_Grantee struct { - // Type AWS CloudFormation Property + // GranteeIdentifier 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 *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-accessgrant-grantee.html#cfn-s3-accessgrant-grantee-granteeidentifier + GranteeIdentifier *types.Value `json:"GranteeIdentifier,omitempty"` - // Value AWS CloudFormation Property + // GranteeType 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 *types.Value `json:"Value"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-accessgrant-grantee.html#cfn-s3-accessgrant-grantee-granteetype + GranteeType *types.Value `json:"GranteeType,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Certificate_Validity struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Certificate_Validity) AWSCloudFormationType() string { - return "AWS::ACMPCA::Certificate.Validity" +func (r *AccessGrant_Grantee) AWSCloudFormationType() string { + return "AWS::S3::AccessGrant.Grantee" } diff --git a/pkg/goformation/cloudformation/memorydb/aws-memorydb-acl.go b/pkg/goformation/cloudformation/s3/aws-s3-accessgrantsinstance.go similarity index 81% rename from pkg/goformation/cloudformation/memorydb/aws-memorydb-acl.go rename to pkg/goformation/cloudformation/s3/aws-s3-accessgrantsinstance.go index 8a645760de..78269d86c8 100644 --- a/pkg/goformation/cloudformation/memorydb/aws-memorydb-acl.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accessgrantsinstance.go @@ -1,4 +1,4 @@ -package memorydb +package s3 import ( "bytes" @@ -11,25 +11,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// ACL AWS CloudFormation Resource (AWS::MemoryDB::ACL) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html -type ACL struct { +// AccessGrantsInstance AWS CloudFormation Resource (AWS::S3::AccessGrantsInstance) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantsinstance.html +type AccessGrantsInstance struct { - // ACLName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-aclname - ACLName *types.Value `json:"ACLName,omitempty"` + // IdentityCenterArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantsinstance.html#cfn-s3-accessgrantsinstance-identitycenterarn + IdentityCenterArn *types.Value `json:"IdentityCenterArn,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantsinstance.html#cfn-s3-accessgrantsinstance-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` - // UserNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-usernames - UserNames *types.Value `json:"UserNames,omitempty"` - // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,14 +42,14 @@ type ACL struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *ACL) AWSCloudFormationType() string { - return "AWS::MemoryDB::ACL" +func (r *AccessGrantsInstance) AWSCloudFormationType() string { + return "AWS::S3::AccessGrantsInstance" } // 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 (r ACL) MarshalJSON() ([]byte, error) { - type Properties ACL +func (r AccessGrantsInstance) MarshalJSON() ([]byte, error) { + type Properties AccessGrantsInstance return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +71,8 @@ func (r ACL) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ACL) UnmarshalJSON(b []byte) error { - type Properties ACL +func (r *AccessGrantsInstance) UnmarshalJSON(b []byte) error { + type Properties AccessGrantsInstance res := &struct { Type string Properties *Properties @@ -98,7 +93,7 @@ func (r *ACL) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = ACL(*res.Properties) + *r = AccessGrantsInstance(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/aps/aws-aps-workspace.go b/pkg/goformation/cloudformation/s3/aws-s3-accessgrantslocation.go similarity index 79% rename from pkg/goformation/cloudformation/aps/aws-aps-workspace.go rename to pkg/goformation/cloudformation/s3/aws-s3-accessgrantslocation.go index edad7f1d27..3ba0a51ce2 100644 --- a/pkg/goformation/cloudformation/aps/aws-aps-workspace.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accessgrantslocation.go @@ -1,4 +1,4 @@ -package aps +package s3 import ( "bytes" @@ -11,23 +11,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Workspace AWS CloudFormation Resource (AWS::APS::Workspace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html -type Workspace struct { +// AccessGrantsLocation AWS CloudFormation Resource (AWS::S3::AccessGrantsLocation) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html +type AccessGrantsLocation struct { - // AlertManagerDefinition AWS CloudFormation Property + // IamRoleArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-alertmanagerdefinition - AlertManagerDefinition *types.Value `json:"AlertManagerDefinition,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-iamrolearn + IamRoleArn *types.Value `json:"IamRoleArn,omitempty"` - // Alias AWS CloudFormation Property + // LocationScope AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-alias - Alias *types.Value `json:"Alias,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-locationscope + LocationScope *types.Value `json:"LocationScope,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html#cfn-aps-workspace-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accessgrantslocation.html#cfn-s3-accessgrantslocation-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -47,14 +47,14 @@ type Workspace struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Workspace) AWSCloudFormationType() string { - return "AWS::APS::Workspace" +func (r *AccessGrantsLocation) AWSCloudFormationType() string { + return "AWS::S3::AccessGrantsLocation" } // 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 (r Workspace) MarshalJSON() ([]byte, error) { - type Properties Workspace +func (r AccessGrantsLocation) MarshalJSON() ([]byte, error) { + type Properties AccessGrantsLocation return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +76,8 @@ func (r Workspace) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Workspace) UnmarshalJSON(b []byte) error { - type Properties Workspace +func (r *AccessGrantsLocation) UnmarshalJSON(b []byte) error { + type Properties AccessGrantsLocation res := &struct { Type string Properties *Properties @@ -98,7 +98,7 @@ func (r *Workspace) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Workspace(*res.Properties) + *r = AccessGrantsLocation(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/s3/aws-s3-accesspoint.go b/pkg/goformation/cloudformation/s3/aws-s3-accesspoint.go index fab6d3e45c..fdee7cf23d 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-accesspoint.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-accesspoint.go @@ -19,6 +19,11 @@ type AccessPoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-bucket Bucket *types.Value `json:"Bucket,omitempty"` + // BucketAccountId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-bucketaccountid + BucketAccountId *types.Value `json:"BucketAccountId,omitempty"` + // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-name @@ -29,11 +34,6 @@ type AccessPoint struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policy Policy interface{} `json:"Policy,omitempty"` - // PolicyStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policystatus - PolicyStatus interface{} `json:"PolicyStatus,omitempty"` - // PublicAccessBlockConfiguration AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-publicaccessblockconfiguration diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket.go index 81409f9544..e69082b368 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket.go @@ -12,107 +12,112 @@ import ( ) // Bucket AWS CloudFormation Resource (AWS::S3::Bucket) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html type Bucket struct { // AccelerateConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-accelerateconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-accelerateconfiguration AccelerateConfiguration *Bucket_AccelerateConfiguration `json:"AccelerateConfiguration,omitempty"` // AccessControl AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-accesscontrol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-accesscontrol AccessControl *types.Value `json:"AccessControl,omitempty"` // AnalyticsConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-analyticsconfigurations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-analyticsconfigurations AnalyticsConfigurations []Bucket_AnalyticsConfiguration `json:"AnalyticsConfigurations,omitempty"` // BucketEncryption AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-bucketencryption + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-bucketencryption BucketEncryption *Bucket_BucketEncryption `json:"BucketEncryption,omitempty"` // BucketName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-bucketname BucketName *types.Value `json:"BucketName,omitempty"` // CorsConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-crossoriginconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-corsconfiguration CorsConfiguration *Bucket_CorsConfiguration `json:"CorsConfiguration,omitempty"` // IntelligentTieringConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-intelligenttieringconfigurations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-intelligenttieringconfigurations IntelligentTieringConfigurations []Bucket_IntelligentTieringConfiguration `json:"IntelligentTieringConfigurations,omitempty"` // InventoryConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-inventoryconfigurations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-inventoryconfigurations InventoryConfigurations []Bucket_InventoryConfiguration `json:"InventoryConfigurations,omitempty"` // LifecycleConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-lifecycleconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-lifecycleconfiguration LifecycleConfiguration *Bucket_LifecycleConfiguration `json:"LifecycleConfiguration,omitempty"` // LoggingConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-loggingconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-loggingconfiguration LoggingConfiguration *Bucket_LoggingConfiguration `json:"LoggingConfiguration,omitempty"` + // MetadataTableConfiguration AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-metadatatableconfiguration + MetadataTableConfiguration *Bucket_MetadataTableConfiguration `json:"MetadataTableConfiguration,omitempty"` + // MetricsConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-metricsconfigurations + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-metricsconfigurations MetricsConfigurations []Bucket_MetricsConfiguration `json:"MetricsConfigurations,omitempty"` // NotificationConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-notification + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-notificationconfiguration NotificationConfiguration *Bucket_NotificationConfiguration `json:"NotificationConfiguration,omitempty"` // ObjectLockConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-objectlockconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-objectlockconfiguration ObjectLockConfiguration *Bucket_ObjectLockConfiguration `json:"ObjectLockConfiguration,omitempty"` // ObjectLockEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-objectlockenabled + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-objectlockenabled ObjectLockEnabled *types.Value `json:"ObjectLockEnabled,omitempty"` // OwnershipControls AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-ownershipcontrols + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-ownershipcontrols OwnershipControls *Bucket_OwnershipControls `json:"OwnershipControls,omitempty"` // PublicAccessBlockConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-publicaccessblockconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-publicaccessblockconfiguration PublicAccessBlockConfiguration *Bucket_PublicAccessBlockConfiguration `json:"PublicAccessBlockConfiguration,omitempty"` // ReplicationConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-replicationconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-replicationconfiguration ReplicationConfiguration *Bucket_ReplicationConfiguration `json:"ReplicationConfiguration,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // VersioningConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-versioning + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-versioningconfiguration VersioningConfiguration *Bucket_VersioningConfiguration `json:"VersioningConfiguration,omitempty"` // WebsiteConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#cfn-s3-bucket-websiteconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-websiteconfiguration WebsiteConfiguration *Bucket_WebsiteConfiguration `json:"WebsiteConfiguration,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsconfiguration.go index 05d3de068c..16897496f0 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsconfiguration.go @@ -5,12 +5,12 @@ import ( ) // Bucket_CorsConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.CorsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsconfiguration.html type Bucket_CorsConfiguration struct { // CorsRules AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors.html#cfn-s3-bucket-cors-corsrule + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsconfiguration.html#cfn-s3-bucket-corsconfiguration-corsrules CorsRules []Bucket_CorsRule `json:"CorsRules,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsrule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsrule.go index e59312593a..5c23d258a4 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsrule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_corsrule.go @@ -7,37 +7,37 @@ import ( ) // Bucket_CorsRule AWS CloudFormation Resource (AWS::S3::Bucket.CorsRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html type Bucket_CorsRule struct { // AllowedHeaders AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedheaders + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-allowedheaders AllowedHeaders *types.Value `json:"AllowedHeaders,omitempty"` // AllowedMethods AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedmethods + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-allowedmethods AllowedMethods *types.Value `json:"AllowedMethods,omitempty"` // AllowedOrigins AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedorigins + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-allowedorigins AllowedOrigins *types.Value `json:"AllowedOrigins,omitempty"` // ExposedHeaders AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-exposedheaders + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-exposedheaders ExposedHeaders *types.Value `json:"ExposedHeaders,omitempty"` // Id AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-id + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-id Id *types.Value `json:"Id,omitempty"` // MaxAge AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-maxage + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-corsrule.html#cfn-s3-bucket-corsrule-maxage MaxAge *types.Value `json:"MaxAge,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_eventbridgeconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_eventbridgeconfiguration.go index bd4317f8c9..e4bc7e9604 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_eventbridgeconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_eventbridgeconfiguration.go @@ -7,13 +7,13 @@ import ( ) // Bucket_EventBridgeConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.EventBridgeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-eventbridgeconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-eventbridgeconfiguration.html type Bucket_EventBridgeConfiguration struct { // EventBridgeEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-eventbridgeconfig.html#cfn-s3-bucket-eventbridgeconfiguration-eventbridgeenabled - EventBridgeEnabled *types.Value `json:"EventBridgeEnabled,omitempty"` + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-eventbridgeconfiguration.html#cfn-s3-bucket-eventbridgeconfiguration-eventbridgeenabled + EventBridgeEnabled *types.Value `json:"EventBridgeEnabled"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_filterrule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_filterrule.go index 7cb1c28b81..de2e5c5c50 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_filterrule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_filterrule.go @@ -7,17 +7,17 @@ import ( ) // Bucket_FilterRule AWS CloudFormation Resource (AWS::S3::Bucket.FilterRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-filterrule.html type Bucket_FilterRule struct { // Name AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-filterrule.html#cfn-s3-bucket-filterrule-name Name *types.Value `json:"Name,omitempty"` // Value AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules-value + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-filterrule.html#cfn-s3-bucket-filterrule-value Value *types.Value `json:"Value,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_lambdaconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_lambdaconfiguration.go index d84b77cea5..fe6145072e 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_lambdaconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_lambdaconfiguration.go @@ -7,22 +7,22 @@ import ( ) // Bucket_LambdaConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.LambdaConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html type Bucket_LambdaConfiguration struct { // Event AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-event + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-event Event *types.Value `json:"Event,omitempty"` // Filter AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-filter + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-filter Filter *Bucket_NotificationFilter `json:"Filter,omitempty"` // Function AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-function + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lambdaconfiguration.html#cfn-s3-bucket-lambdaconfiguration-function Function *types.Value `json:"Function,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_lifecycleconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_lifecycleconfiguration.go index c6b6e7a936..805b17edd0 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_lifecycleconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_lifecycleconfiguration.go @@ -1,18 +1,25 @@ package s3 import ( + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) // Bucket_LifecycleConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.LifecycleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfiguration.html type Bucket_LifecycleConfiguration struct { // Rules AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig.html#cfn-s3-bucket-lifecycleconfig-rules + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfiguration.html#cfn-s3-bucket-lifecycleconfiguration-rules Rules []Bucket_Rule `json:"Rules,omitempty"` + // TransitionDefaultMinimumObjectSize AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfiguration.html#cfn-s3-bucket-lifecycleconfiguration-transitiondefaultminimumobjectsize + TransitionDefaultMinimumObjectSize *types.Value `json:"TransitionDefaultMinimumObjectSize,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_loggingconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_loggingconfiguration.go index f9dea1823a..d803ae28fe 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_loggingconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_loggingconfiguration.go @@ -7,19 +7,24 @@ import ( ) // Bucket_LoggingConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html type Bucket_LoggingConfiguration struct { // DestinationBucketName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html#cfn-s3-bucket-loggingconfig-destinationbucketname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html#cfn-s3-bucket-loggingconfiguration-destinationbucketname DestinationBucketName *types.Value `json:"DestinationBucketName,omitempty"` // LogFilePrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html#cfn-s3-bucket-loggingconfig-logfileprefix + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html#cfn-s3-bucket-loggingconfiguration-logfileprefix LogFilePrefix *types.Value `json:"LogFilePrefix,omitempty"` + // TargetObjectKeyFormat AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfiguration.html#cfn-s3-bucket-loggingconfiguration-targetobjectkeyformat + TargetObjectKeyFormat *Bucket_TargetObjectKeyFormat `json:"TargetObjectKeyFormat,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_datadogsourceproperties.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_metadatatableconfiguration.go similarity index 63% rename from pkg/goformation/cloudformation/appflow/aws-appflow-flow_datadogsourceproperties.go rename to pkg/goformation/cloudformation/s3/aws-s3-bucket_metadatatableconfiguration.go index f82e11ce73..dd593318f6 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_datadogsourceproperties.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_metadatatableconfiguration.go @@ -1,19 +1,17 @@ -package appflow +package s3 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Flow_DatadogSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.DatadogSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-datadogsourceproperties.html -type Flow_DatadogSourceProperties struct { +// Bucket_MetadataTableConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.MetadataTableConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html +type Bucket_MetadataTableConfiguration struct { - // Object AWS CloudFormation Property + // S3TablesDestination AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-datadogsourceproperties.html#cfn-appflow-flow-datadogsourceproperties-object - Object *types.Value `json:"Object,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html#cfn-s3-bucket-metadatatableconfiguration-s3tablesdestination + S3TablesDestination *Bucket_S3TablesDestination `json:"S3TablesDestination,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +30,6 @@ type Flow_DatadogSourceProperties struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Flow_DatadogSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.DatadogSourceProperties" +func (r *Bucket_MetadataTableConfiguration) AWSCloudFormationType() string { + return "AWS::S3::Bucket.MetadataTableConfiguration" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversionexpiration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversionexpiration.go index 97a3b27a40..6f024537dd 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversionexpiration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversionexpiration.go @@ -7,17 +7,17 @@ import ( ) // Bucket_NoncurrentVersionExpiration AWS CloudFormation Resource (AWS::S3::Bucket.NoncurrentVersionExpiration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversionexpiration.html type Bucket_NoncurrentVersionExpiration struct { // NewerNoncurrentVersions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration-newernoncurrentversions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversionexpiration.html#cfn-s3-bucket-noncurrentversionexpiration-newernoncurrentversions NewerNoncurrentVersions *types.Value `json:"NewerNoncurrentVersions,omitempty"` // NoncurrentDays AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration-noncurrentdays + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversionexpiration.html#cfn-s3-bucket-noncurrentversionexpiration-noncurrentdays NoncurrentDays *types.Value `json:"NoncurrentDays"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversiontransition.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversiontransition.go index 8fbdf17484..a34906112e 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversiontransition.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_noncurrentversiontransition.go @@ -7,22 +7,22 @@ import ( ) // Bucket_NoncurrentVersionTransition AWS CloudFormation Resource (AWS::S3::Bucket.NoncurrentVersionTransition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversiontransition.html type Bucket_NoncurrentVersionTransition struct { // NewerNoncurrentVersions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-newernoncurrentversions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversiontransition.html#cfn-s3-bucket-noncurrentversiontransition-newernoncurrentversions NewerNoncurrentVersions *types.Value `json:"NewerNoncurrentVersions,omitempty"` // StorageClass AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-storageclass + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversiontransition.html#cfn-s3-bucket-noncurrentversiontransition-storageclass StorageClass *types.Value `json:"StorageClass,omitempty"` // TransitionInDays AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-transitionindays + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-noncurrentversiontransition.html#cfn-s3-bucket-noncurrentversiontransition-transitionindays TransitionInDays *types.Value `json:"TransitionInDays"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationconfiguration.go index 11dfcb733c..06ffc33ea5 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationconfiguration.go @@ -5,27 +5,27 @@ import ( ) // Bucket_NotificationConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.NotificationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration.html type Bucket_NotificationConfiguration struct { // EventBridgeConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-eventbridgeconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration.html#cfn-s3-bucket-notificationconfiguration-eventbridgeconfiguration EventBridgeConfiguration *Bucket_EventBridgeConfiguration `json:"EventBridgeConfiguration,omitempty"` // LambdaConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration.html#cfn-s3-bucket-notificationconfiguration-lambdaconfigurations LambdaConfigurations []Bucket_LambdaConfiguration `json:"LambdaConfigurations,omitempty"` // QueueConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-queueconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration.html#cfn-s3-bucket-notificationconfiguration-queueconfigurations QueueConfigurations []Bucket_QueueConfiguration `json:"QueueConfigurations,omitempty"` // TopicConfigurations AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-topicconfig + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration.html#cfn-s3-bucket-notificationconfiguration-topicconfigurations TopicConfigurations []Bucket_TopicConfiguration `json:"TopicConfigurations,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationfilter.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationfilter.go index 46dd2d3c30..70fdc63394 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationfilter.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_notificationfilter.go @@ -5,12 +5,12 @@ import ( ) // Bucket_NotificationFilter AWS CloudFormation Resource (AWS::S3::Bucket.NotificationFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationfilter.html type Bucket_NotificationFilter struct { // S3Key AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationfilter.html#cfn-s3-bucket-notificationfilter-s3key S3Key *Bucket_S3KeyFilter `json:"S3Key,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_mountoptions.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_partitionedprefix.go similarity index 68% rename from pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_mountoptions.go rename to pkg/goformation/cloudformation/s3/aws-s3-bucket_partitionedprefix.go index 6b5e1adc7b..a20c0283e3 100644 --- a/pkg/goformation/cloudformation/datasync/aws-datasync-locationnfs_mountoptions.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_partitionedprefix.go @@ -1,4 +1,4 @@ -package datasync +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// LocationNFS_MountOptions AWS CloudFormation Resource (AWS::DataSync::LocationNFS.MountOptions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-mountoptions.html -type LocationNFS_MountOptions struct { +// Bucket_PartitionedPrefix AWS CloudFormation Resource (AWS::S3::Bucket.PartitionedPrefix) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-partitionedprefix.html +type Bucket_PartitionedPrefix struct { - // Version AWS CloudFormation Property + // PartitionDateSource AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-mountoptions.html#cfn-datasync-locationnfs-mountoptions-version - Version *types.Value `json:"Version,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-partitionedprefix.html#cfn-s3-bucket-partitionedprefix-partitiondatesource + PartitionDateSource *types.Value `json:"PartitionDateSource,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type LocationNFS_MountOptions struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LocationNFS_MountOptions) AWSCloudFormationType() string { - return "AWS::DataSync::LocationNFS.MountOptions" +func (r *Bucket_PartitionedPrefix) AWSCloudFormationType() string { + return "AWS::S3::Bucket.PartitionedPrefix" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_queueconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_queueconfiguration.go index 1a62cba0f9..d0c1805bf5 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_queueconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_queueconfiguration.go @@ -7,22 +7,22 @@ import ( ) // Bucket_QueueConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.QueueConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-queueconfiguration.html type Bucket_QueueConfiguration struct { // Event AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-event + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-queueconfiguration.html#cfn-s3-bucket-queueconfiguration-event Event *types.Value `json:"Event,omitempty"` // Filter AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-filter + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-queueconfiguration.html#cfn-s3-bucket-queueconfiguration-filter Filter *Bucket_NotificationFilter `json:"Filter,omitempty"` // Queue AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-queueconfig.html#cfn-s3-bucket-notificationconfig-queueconfig-queue + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-queueconfiguration.html#cfn-s3-bucket-queueconfiguration-queue Queue *types.Value `json:"Queue,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectallrequeststo.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectallrequeststo.go index 6c004ffc64..f8be44d4df 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectallrequeststo.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectallrequeststo.go @@ -7,17 +7,17 @@ import ( ) // Bucket_RedirectAllRequestsTo AWS CloudFormation Resource (AWS::S3::Bucket.RedirectAllRequestsTo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectallrequeststo.html type Bucket_RedirectAllRequestsTo struct { // HostName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html#cfn-s3-websiteconfiguration-redirectallrequeststo-hostname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectallrequeststo.html#cfn-s3-bucket-redirectallrequeststo-hostname HostName *types.Value `json:"HostName,omitempty"` // Protocol AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-redirectallrequeststo.html#cfn-s3-websiteconfiguration-redirectallrequeststo-protocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectallrequeststo.html#cfn-s3-bucket-redirectallrequeststo-protocol Protocol *types.Value `json:"Protocol,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectrule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectrule.go index 2640cfc449..3153f99e86 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectrule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_redirectrule.go @@ -7,32 +7,32 @@ import ( ) // Bucket_RedirectRule AWS CloudFormation Resource (AWS::S3::Bucket.RedirectRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html type Bucket_RedirectRule struct { // HostName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html#cfn-s3-websiteconfiguration-redirectrule-hostname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html#cfn-s3-bucket-redirectrule-hostname HostName *types.Value `json:"HostName,omitempty"` // HttpRedirectCode AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html#cfn-s3-websiteconfiguration-redirectrule-httpredirectcode + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html#cfn-s3-bucket-redirectrule-httpredirectcode HttpRedirectCode *types.Value `json:"HttpRedirectCode,omitempty"` // Protocol AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html#cfn-s3-websiteconfiguration-redirectrule-protocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html#cfn-s3-bucket-redirectrule-protocol Protocol *types.Value `json:"Protocol,omitempty"` // ReplaceKeyPrefixWith AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html#cfn-s3-websiteconfiguration-redirectrule-replacekeyprefixwith + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html#cfn-s3-bucket-redirectrule-replacekeyprefixwith ReplaceKeyPrefixWith *types.Value `json:"ReplaceKeyPrefixWith,omitempty"` // ReplaceKeyWith AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-redirectrule.html#cfn-s3-websiteconfiguration-redirectrule-replacekeywith + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-redirectrule.html#cfn-s3-bucket-redirectrule-replacekeywith ReplaceKeyWith *types.Value `json:"ReplaceKeyWith,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationdestination.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationdestination.go index ac1cddb1e2..9344601fd7 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationdestination.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationdestination.go @@ -7,42 +7,42 @@ import ( ) // Bucket_ReplicationDestination AWS CloudFormation Resource (AWS::S3::Bucket.ReplicationDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html type Bucket_ReplicationDestination struct { // AccessControlTranslation AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationdestination-accesscontroltranslation + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-accesscontroltranslation AccessControlTranslation *Bucket_AccessControlTranslation `json:"AccessControlTranslation,omitempty"` // Account AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationdestination-account + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-account Account *types.Value `json:"Account,omitempty"` // Bucket AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationconfiguration-rules-destination-bucket + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-bucket Bucket *types.Value `json:"Bucket,omitempty"` // EncryptionConfiguration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationdestination-encryptionconfiguration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-encryptionconfiguration EncryptionConfiguration *Bucket_EncryptionConfiguration `json:"EncryptionConfiguration,omitempty"` // Metrics AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationdestination-metrics + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-metrics Metrics *Bucket_Metrics `json:"Metrics,omitempty"` // ReplicationTime AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationdestination-replicationtime + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-replicationtime ReplicationTime *Bucket_ReplicationTime `json:"ReplicationTime,omitempty"` // StorageClass AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules-destination.html#cfn-s3-bucket-replicationconfiguration-rules-destination-storageclass + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationdestination.html#cfn-s3-bucket-replicationdestination-storageclass StorageClass *types.Value `json:"StorageClass,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationrule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationrule.go index 75dbf0ee6a..4ddf6fcc53 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationrule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_replicationrule.go @@ -7,47 +7,47 @@ import ( ) // Bucket_ReplicationRule AWS CloudFormation Resource (AWS::S3::Bucket.ReplicationRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html type Bucket_ReplicationRule struct { // DeleteMarkerReplication AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationrule-deletemarkerreplication + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-deletemarkerreplication DeleteMarkerReplication *Bucket_DeleteMarkerReplication `json:"DeleteMarkerReplication,omitempty"` // Destination AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-destination + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-destination Destination *Bucket_ReplicationDestination `json:"Destination,omitempty"` // Filter AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationrule-filter + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-filter Filter *Bucket_ReplicationRuleFilter `json:"Filter,omitempty"` // Id AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-id + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-id Id *types.Value `json:"Id,omitempty"` // Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-prefix + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-prefix Prefix *types.Value `json:"Prefix,omitempty"` // Priority AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationrule-priority + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-priority Priority *types.Value `json:"Priority,omitempty"` // SourceSelectionCriteria AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationrule-sourceselectioncriteria + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-sourceselectioncriteria SourceSelectionCriteria *Bucket_SourceSelectionCriteria `json:"SourceSelectionCriteria,omitempty"` // Status AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-status + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrule.html#cfn-s3-bucket-replicationrule-status Status *types.Value `json:"Status,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrule.go index 5aebc3bbf3..4c06e46c46 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrule.go @@ -5,17 +5,17 @@ import ( ) // Bucket_RoutingRule AWS CloudFormation Resource (AWS::S3::Bucket.RoutingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrule.html type Bucket_RoutingRule struct { // RedirectRule AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html#cfn-s3-websiteconfiguration-routingrules-redirectrule + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrule.html#cfn-s3-bucket-routingrule-redirectrule RedirectRule *Bucket_RedirectRule `json:"RedirectRule,omitempty"` // RoutingRuleCondition AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html#cfn-s3-websiteconfiguration-routingrules-routingrulecondition + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrule.html#cfn-s3-bucket-routingrule-routingrulecondition RoutingRuleCondition *Bucket_RoutingRuleCondition `json:"RoutingRuleCondition,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrulecondition.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrulecondition.go index b63be8e94e..6425cdf752 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrulecondition.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_routingrulecondition.go @@ -7,17 +7,17 @@ import ( ) // Bucket_RoutingRuleCondition AWS CloudFormation Resource (AWS::S3::Bucket.RoutingRuleCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-routingrulecondition.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrulecondition.html type Bucket_RoutingRuleCondition struct { // HttpErrorCodeReturnedEquals AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-routingrulecondition.html#cfn-s3-websiteconfiguration-routingrules-routingrulecondition-httperrorcodereturnedequals + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrulecondition.html#cfn-s3-bucket-routingrulecondition-httperrorcodereturnedequals HttpErrorCodeReturnedEquals *types.Value `json:"HttpErrorCodeReturnedEquals,omitempty"` // KeyPrefixEquals AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules-routingrulecondition.html#cfn-s3-websiteconfiguration-routingrules-routingrulecondition-keyprefixequals + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-routingrulecondition.html#cfn-s3-bucket-routingrulecondition-keyprefixequals KeyPrefixEquals *types.Value `json:"KeyPrefixEquals,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_rule.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_rule.go index 4aa0f2b1e5..86d5bea9eb 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_rule.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_rule.go @@ -7,87 +7,87 @@ import ( ) // Bucket_Rule AWS CloudFormation Resource (AWS::S3::Bucket.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html type Bucket_Rule struct { // AbortIncompleteMultipartUpload AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-rule-abortincompletemultipartupload + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-abortincompletemultipartupload AbortIncompleteMultipartUpload *Bucket_AbortIncompleteMultipartUpload `json:"AbortIncompleteMultipartUpload,omitempty"` // ExpirationDate AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-expirationdate - ExpirationDate string `json:"ExpirationDate,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-expirationdate + ExpirationDate *types.Value `json:"ExpirationDate,omitempty"` // ExpirationInDays AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-expirationindays + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-expirationindays ExpirationInDays *types.Value `json:"ExpirationInDays,omitempty"` // ExpiredObjectDeleteMarker AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-rule-expiredobjectdeletemarker + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-expiredobjectdeletemarker ExpiredObjectDeleteMarker *types.Value `json:"ExpiredObjectDeleteMarker,omitempty"` // Id AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-id + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-id Id *types.Value `json:"Id,omitempty"` // NoncurrentVersionExpiration AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversionexpiration + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-noncurrentversionexpiration NoncurrentVersionExpiration *Bucket_NoncurrentVersionExpiration `json:"NoncurrentVersionExpiration,omitempty"` // NoncurrentVersionExpirationInDays AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversionexpirationindays + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-noncurrentversionexpirationindays NoncurrentVersionExpirationInDays *types.Value `json:"NoncurrentVersionExpirationInDays,omitempty"` // NoncurrentVersionTransition AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-noncurrentversiontransition NoncurrentVersionTransition *Bucket_NoncurrentVersionTransition `json:"NoncurrentVersionTransition,omitempty"` // NoncurrentVersionTransitions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransitions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-noncurrentversiontransitions NoncurrentVersionTransitions []Bucket_NoncurrentVersionTransition `json:"NoncurrentVersionTransitions,omitempty"` // ObjectSizeGreaterThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-objectsizegreaterthan + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-objectsizegreaterthan ObjectSizeGreaterThan *types.Value `json:"ObjectSizeGreaterThan,omitempty"` // ObjectSizeLessThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-objectsizelessthan + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-objectsizelessthan ObjectSizeLessThan *types.Value `json:"ObjectSizeLessThan,omitempty"` // Prefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-prefix + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-prefix Prefix *types.Value `json:"Prefix,omitempty"` // Status AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-status + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-status Status *types.Value `json:"Status,omitempty"` // TagFilters AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-rule-tagfilters + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-tagfilters TagFilters []Bucket_TagFilter `json:"TagFilters,omitempty"` // Transition AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-transition + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-transition Transition *Bucket_Transition `json:"Transition,omitempty"` // Transitions AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-transitions + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html#cfn-s3-bucket-rule-transitions Transitions []Bucket_Transition `json:"Transitions,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3keyfilter.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3keyfilter.go index f4387deee9..db304b4ed7 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3keyfilter.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3keyfilter.go @@ -5,12 +5,12 @@ import ( ) // Bucket_S3KeyFilter AWS CloudFormation Resource (AWS::S3::Bucket.S3KeyFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3keyfilter.html type Bucket_S3KeyFilter struct { // Rules AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3keyfilter.html#cfn-s3-bucket-s3keyfilter-rules Rules []Bucket_FilterRule `json:"Rules,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_gluetables.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3tablesdestination.go similarity index 56% rename from pkg/goformation/cloudformation/glue/aws-glue-mltransform_gluetables.go rename to pkg/goformation/cloudformation/s3/aws-s3-bucket_s3tablesdestination.go index 55b062e262..e014f44518 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-mltransform_gluetables.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_s3tablesdestination.go @@ -1,4 +1,4 @@ -package glue +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,30 +6,30 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// MLTransform_GlueTables AWS CloudFormation Resource (AWS::Glue::MLTransform.GlueTables) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables-gluetables.html -type MLTransform_GlueTables struct { +// Bucket_S3TablesDestination AWS CloudFormation Resource (AWS::S3::Bucket.S3TablesDestination) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html +type Bucket_S3TablesDestination struct { - // CatalogId AWS CloudFormation Property + // TableArn AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables-gluetables.html#cfn-glue-mltransform-inputrecordtables-gluetables-catalogid - CatalogId *types.Value `json:"CatalogId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablearn + TableArn *types.Value `json:"TableArn,omitempty"` - // ConnectionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables-gluetables.html#cfn-glue-mltransform-inputrecordtables-gluetables-connectionname - ConnectionName *types.Value `json:"ConnectionName,omitempty"` - - // DatabaseName AWS CloudFormation Property + // TableBucketArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables-gluetables.html#cfn-glue-mltransform-inputrecordtables-gluetables-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablebucketarn + TableBucketArn *types.Value `json:"TableBucketArn,omitempty"` // TableName AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-mltransform-inputrecordtables-gluetables.html#cfn-glue-mltransform-inputrecordtables-gluetables-tablename + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablename TableName *types.Value `json:"TableName,omitempty"` + // TableNamespace AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html#cfn-s3-bucket-s3tablesdestination-tablenamespace + TableNamespace *types.Value `json:"TableNamespace,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type MLTransform_GlueTables struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *MLTransform_GlueTables) AWSCloudFormationType() string { - return "AWS::Glue::MLTransform.GlueTables" +func (r *Bucket_S3TablesDestination) AWSCloudFormationType() string { + return "AWS::S3::Bucket.S3TablesDestination" } diff --git a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_systemcontrol.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_targetobjectkeyformat.go similarity index 60% rename from pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_systemcontrol.go rename to pkg/goformation/cloudformation/s3/aws-s3-bucket_targetobjectkeyformat.go index 6e1b983cf2..c4fee37a09 100644 --- a/pkg/goformation/cloudformation/ecs/aws-ecs-taskdefinition_systemcontrol.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_targetobjectkeyformat.go @@ -1,24 +1,22 @@ -package ecs +package s3 import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// TaskDefinition_SystemControl AWS CloudFormation Resource (AWS::ECS::TaskDefinition.SystemControl) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html -type TaskDefinition_SystemControl struct { +// Bucket_TargetObjectKeyFormat AWS CloudFormation Resource (AWS::S3::Bucket.TargetObjectKeyFormat) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-targetobjectkeyformat.html +type Bucket_TargetObjectKeyFormat struct { - // Namespace AWS CloudFormation Property + // PartitionedPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-namespace - Namespace *types.Value `json:"Namespace,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-targetobjectkeyformat.html#cfn-s3-bucket-targetobjectkeyformat-partitionedprefix + PartitionedPrefix *Bucket_PartitionedPrefix `json:"PartitionedPrefix,omitempty"` - // Value AWS CloudFormation Property + // SimplePrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-systemcontrol.html#cfn-ecs-taskdefinition-systemcontrol-value - Value *types.Value `json:"Value,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-targetobjectkeyformat.html#cfn-s3-bucket-targetobjectkeyformat-simpleprefix + SimplePrefix interface{} `json:"SimplePrefix,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +35,6 @@ type TaskDefinition_SystemControl struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *TaskDefinition_SystemControl) AWSCloudFormationType() string { - return "AWS::ECS::TaskDefinition.SystemControl" +func (r *Bucket_TargetObjectKeyFormat) AWSCloudFormationType() string { + return "AWS::S3::Bucket.TargetObjectKeyFormat" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_topicconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_topicconfiguration.go index 37a700b00b..9d4a39f90e 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_topicconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_topicconfiguration.go @@ -7,22 +7,22 @@ import ( ) // Bucket_TopicConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.TopicConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-topicconfiguration.html type Bucket_TopicConfiguration struct { // Event AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html#cfn-s3-bucket-notificationconfig-topicconfig-event + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-topicconfiguration.html#cfn-s3-bucket-topicconfiguration-event Event *types.Value `json:"Event,omitempty"` // Filter AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html#cfn-s3-bucket-notificationconfig-topicconfig-filter + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-topicconfiguration.html#cfn-s3-bucket-topicconfiguration-filter Filter *Bucket_NotificationFilter `json:"Filter,omitempty"` // Topic AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html#cfn-s3-bucket-notificationconfig-topicconfig-topic + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-topicconfiguration.html#cfn-s3-bucket-topicconfiguration-topic Topic *types.Value `json:"Topic,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_transition.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_transition.go index 8a3055a59c..c0e6fdadda 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_transition.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_transition.go @@ -7,22 +7,22 @@ import ( ) // Bucket_Transition AWS CloudFormation Resource (AWS::S3::Bucket.Transition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html type Bucket_Transition struct { // StorageClass AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-storageclass + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-storageclass StorageClass *types.Value `json:"StorageClass,omitempty"` // TransitionDate AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-transitiondate - TransitionDate string `json:"TransitionDate,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitiondate + TransitionDate *types.Value `json:"TransitionDate,omitempty"` // TransitionInDays AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-transitionindays + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-transition.html#cfn-s3-bucket-transition-transitionindays TransitionInDays *types.Value `json:"TransitionInDays,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_versioningconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_versioningconfiguration.go index 4a31379f68..45e07d11d3 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_versioningconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_versioningconfiguration.go @@ -7,12 +7,12 @@ import ( ) // Bucket_VersioningConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.VersioningConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfig.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfiguration.html type Bucket_VersioningConfiguration struct { // Status AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfig.html#cfn-s3-bucket-versioningconfig-status + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfiguration.html#cfn-s3-bucket-versioningconfiguration-status Status *types.Value `json:"Status,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucket_websiteconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-bucket_websiteconfiguration.go index 2e54fb79ec..62bdf07134 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucket_websiteconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucket_websiteconfiguration.go @@ -7,27 +7,27 @@ import ( ) // Bucket_WebsiteConfiguration AWS CloudFormation Resource (AWS::S3::Bucket.WebsiteConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-websiteconfiguration.html type Bucket_WebsiteConfiguration struct { // ErrorDocument AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-errordocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-websiteconfiguration.html#cfn-s3-bucket-websiteconfiguration-errordocument ErrorDocument *types.Value `json:"ErrorDocument,omitempty"` // IndexDocument AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-indexdocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-websiteconfiguration.html#cfn-s3-bucket-websiteconfiguration-indexdocument IndexDocument *types.Value `json:"IndexDocument,omitempty"` // RedirectAllRequestsTo AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-redirectallrequeststo + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-websiteconfiguration.html#cfn-s3-bucket-websiteconfiguration-redirectallrequeststo RedirectAllRequestsTo *Bucket_RedirectAllRequestsTo `json:"RedirectAllRequestsTo,omitempty"` // RoutingRules AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-routingrules + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-websiteconfiguration.html#cfn-s3-bucket-websiteconfiguration-routingrules RoutingRules []Bucket_RoutingRule `json:"RoutingRules,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-bucketpolicy.go b/pkg/goformation/cloudformation/s3/aws-s3-bucketpolicy.go index 130d9bd429..cdc1656f27 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-bucketpolicy.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-bucketpolicy.go @@ -11,17 +11,17 @@ import ( ) // BucketPolicy AWS CloudFormation Resource (AWS::S3::BucketPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html type BucketPolicy struct { // Bucket AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html#aws-properties-s3-policy-bucket + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html#cfn-s3-bucketpolicy-bucket Bucket *types.Value `json:"Bucket,omitempty"` // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html#aws-properties-s3-policy-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html#cfn-s3-bucketpolicy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspoint_region.go b/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspoint_region.go index 11af8d6d10..9ee2d72acc 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspoint_region.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspoint_region.go @@ -15,6 +15,11 @@ type MultiRegionAccessPoint_Region struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-multiregionaccesspoint-region.html#cfn-s3-multiregionaccesspoint-region-bucket Bucket *types.Value `json:"Bucket,omitempty"` + // BucketAccountId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-multiregionaccesspoint-region.html#cfn-s3-multiregionaccesspoint-region-bucketaccountid + BucketAccountId *types.Value `json:"BucketAccountId,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_googleanalyticssourceproperties.go b/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspointpolicy_policystatus.go similarity index 65% rename from pkg/goformation/cloudformation/appflow/aws-appflow-flow_googleanalyticssourceproperties.go rename to pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspointpolicy_policystatus.go index 1b737700d1..5eac5ae229 100644 --- a/pkg/goformation/cloudformation/appflow/aws-appflow-flow_googleanalyticssourceproperties.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-multiregionaccesspointpolicy_policystatus.go @@ -1,4 +1,4 @@ -package appflow +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Flow_GoogleAnalyticsSourceProperties AWS CloudFormation Resource (AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-googleanalyticssourceproperties.html -type Flow_GoogleAnalyticsSourceProperties struct { +// MultiRegionAccessPointPolicy_PolicyStatus AWS CloudFormation Resource (AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-multiregionaccesspointpolicy-policystatus.html +type MultiRegionAccessPointPolicy_PolicyStatus struct { - // Object AWS CloudFormation Property + // IsPublic AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-googleanalyticssourceproperties.html#cfn-appflow-flow-googleanalyticssourceproperties-object - Object *types.Value `json:"Object,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-multiregionaccesspointpolicy-policystatus.html#cfn-s3-multiregionaccesspointpolicy-policystatus-ispublic + IsPublic *types.Value `json:"IsPublic,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Flow_GoogleAnalyticsSourceProperties struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Flow_GoogleAnalyticsSourceProperties) AWSCloudFormationType() string { - return "AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties" +func (r *MultiRegionAccessPointPolicy_PolicyStatus) AWSCloudFormationType() string { + return "AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_accountlevel.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_accountlevel.go index 8964c6a027..634a233c57 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_accountlevel.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_accountlevel.go @@ -13,11 +13,31 @@ type StorageLens_AccountLevel struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-activitymetrics ActivityMetrics *StorageLens_ActivityMetrics `json:"ActivityMetrics,omitempty"` + // AdvancedCostOptimizationMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-advancedcostoptimizationmetrics + AdvancedCostOptimizationMetrics *StorageLens_AdvancedCostOptimizationMetrics `json:"AdvancedCostOptimizationMetrics,omitempty"` + + // AdvancedDataProtectionMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-advanceddataprotectionmetrics + AdvancedDataProtectionMetrics *StorageLens_AdvancedDataProtectionMetrics `json:"AdvancedDataProtectionMetrics,omitempty"` + // BucketLevel AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-bucketlevel BucketLevel *StorageLens_BucketLevel `json:"BucketLevel,omitempty"` + // DetailedStatusCodesMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-detailedstatuscodesmetrics + DetailedStatusCodesMetrics *StorageLens_DetailedStatusCodesMetrics `json:"DetailedStatusCodesMetrics,omitempty"` + + // StorageLensGroupLevel AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html#cfn-s3-storagelens-accountlevel-storagelensgrouplevel + StorageLensGroupLevel *StorageLens_StorageLensGroupLevel `json:"StorageLensGroupLevel,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant_serversideencryptionconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_advancedcostoptimizationmetrics.go similarity index 64% rename from pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant_serversideencryptionconfiguration.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_advancedcostoptimizationmetrics.go index 004b5faf9b..5d490bab41 100644 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant_serversideencryptionconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_advancedcostoptimizationmetrics.go @@ -1,4 +1,4 @@ -package wisdom +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Assistant_ServerSideEncryptionConfiguration AWS CloudFormation Resource (AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistant-serversideencryptionconfiguration.html -type Assistant_ServerSideEncryptionConfiguration struct { +// StorageLens_AdvancedCostOptimizationMetrics AWS CloudFormation Resource (AWS::S3::StorageLens.AdvancedCostOptimizationMetrics) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advancedcostoptimizationmetrics.html +type StorageLens_AdvancedCostOptimizationMetrics struct { - // KmsKeyId AWS CloudFormation Property + // IsEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistant-serversideencryptionconfiguration.html#cfn-wisdom-assistant-serversideencryptionconfiguration-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advancedcostoptimizationmetrics.html#cfn-s3-storagelens-advancedcostoptimizationmetrics-isenabled + IsEnabled *types.Value `json:"IsEnabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Assistant_ServerSideEncryptionConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Assistant_ServerSideEncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration" +func (r *StorageLens_AdvancedCostOptimizationMetrics) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" } diff --git a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_accesscontrollistconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_advanceddataprotectionmetrics.go similarity index 65% rename from pkg/goformation/cloudformation/kendra/aws-kendra-datasource_accesscontrollistconfiguration.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_advanceddataprotectionmetrics.go index 3b7592cd4c..484c6046f6 100644 --- a/pkg/goformation/cloudformation/kendra/aws-kendra-datasource_accesscontrollistconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_advanceddataprotectionmetrics.go @@ -1,4 +1,4 @@ -package kendra +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// DataSource_AccessControlListConfiguration AWS CloudFormation Resource (AWS::Kendra::DataSource.AccessControlListConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-accesscontrollistconfiguration.html -type DataSource_AccessControlListConfiguration struct { +// StorageLens_AdvancedDataProtectionMetrics AWS CloudFormation Resource (AWS::S3::StorageLens.AdvancedDataProtectionMetrics) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advanceddataprotectionmetrics.html +type StorageLens_AdvancedDataProtectionMetrics struct { - // KeyPath AWS CloudFormation Property + // IsEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-accesscontrollistconfiguration.html#cfn-kendra-datasource-accesscontrollistconfiguration-keypath - KeyPath *types.Value `json:"KeyPath,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advanceddataprotectionmetrics.html#cfn-s3-storagelens-advanceddataprotectionmetrics-isenabled + IsEnabled *types.Value `json:"IsEnabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type DataSource_AccessControlListConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *DataSource_AccessControlListConfiguration) AWSCloudFormationType() string { - return "AWS::Kendra::DataSource.AccessControlListConfiguration" +func (r *StorageLens_AdvancedDataProtectionMetrics) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.AdvancedDataProtectionMetrics" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_bucketlevel.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_bucketlevel.go index 1bfc509013..8068911a8e 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_bucketlevel.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_bucketlevel.go @@ -13,6 +13,21 @@ type StorageLens_BucketLevel struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html#cfn-s3-storagelens-bucketlevel-activitymetrics ActivityMetrics *StorageLens_ActivityMetrics `json:"ActivityMetrics,omitempty"` + // AdvancedCostOptimizationMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html#cfn-s3-storagelens-bucketlevel-advancedcostoptimizationmetrics + AdvancedCostOptimizationMetrics *StorageLens_AdvancedCostOptimizationMetrics `json:"AdvancedCostOptimizationMetrics,omitempty"` + + // AdvancedDataProtectionMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html#cfn-s3-storagelens-bucketlevel-advanceddataprotectionmetrics + AdvancedDataProtectionMetrics *StorageLens_AdvancedDataProtectionMetrics `json:"AdvancedDataProtectionMetrics,omitempty"` + + // DetailedStatusCodesMetrics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html#cfn-s3-storagelens-bucketlevel-detailedstatuscodesmetrics + DetailedStatusCodesMetrics *StorageLens_DetailedStatusCodesMetrics `json:"DetailedStatusCodesMetrics,omitempty"` + // PrefixLevel AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html#cfn-s3-storagelens-bucketlevel-prefixlevel diff --git a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfns3logsconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_detailedstatuscodesmetrics.go similarity index 65% rename from pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfns3logsconfiguration.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_detailedstatuscodesmetrics.go index be3b6847f9..07da6f5ef4 100644 --- a/pkg/goformation/cloudformation/guardduty/aws-guardduty-detector_cfns3logsconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_detailedstatuscodesmetrics.go @@ -1,4 +1,4 @@ -package guardduty +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Detector_CFNS3LogsConfiguration AWS CloudFormation Resource (AWS::GuardDuty::Detector.CFNS3LogsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-cfns3logsconfiguration.html -type Detector_CFNS3LogsConfiguration struct { +// StorageLens_DetailedStatusCodesMetrics AWS CloudFormation Resource (AWS::S3::StorageLens.DetailedStatusCodesMetrics) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-detailedstatuscodesmetrics.html +type StorageLens_DetailedStatusCodesMetrics struct { - // Enable AWS CloudFormation Property + // IsEnabled AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-detector-cfns3logsconfiguration.html#cfn-guardduty-detector-cfns3logsconfiguration-enable - Enable *types.Value `json:"Enable,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-detailedstatuscodesmetrics.html#cfn-s3-storagelens-detailedstatuscodesmetrics-isenabled + IsEnabled *types.Value `json:"IsEnabled,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Detector_CFNS3LogsConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Detector_CFNS3LogsConfiguration) AWSCloudFormationType() string { - return "AWS::GuardDuty::Detector.CFNS3LogsConfiguration" +func (r *StorageLens_DetailedStatusCodesMetrics) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.DetailedStatusCodesMetrics" } diff --git a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_encryption.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_encryption.go index 5b7cb995a6..e0c3231c94 100644 --- a/pkg/goformation/cloudformation/s3/aws-s3-storagelens_encryption.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_encryption.go @@ -8,6 +8,16 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-encryption.html type StorageLens_Encryption struct { + // SSEKMS AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-encryption.html#cfn-s3-storagelens-encryption-ssekms + SSEKMS *StorageLens_SSEKMS `json:"SSEKMS,omitempty"` + + // SSES3 AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-encryption.html#cfn-s3-storagelens-encryption-sses3 + SSES3 interface{} `json:"SSES3,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/msk/aws-msk-cluster_iam.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_ssekms.go similarity index 72% rename from pkg/goformation/cloudformation/msk/aws-msk-cluster_iam.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_ssekms.go index 2226b7fb34..ad7d9be154 100644 --- a/pkg/goformation/cloudformation/msk/aws-msk-cluster_iam.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_ssekms.go @@ -1,4 +1,4 @@ -package msk +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,14 +6,14 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Cluster_Iam AWS CloudFormation Resource (AWS::MSK::Cluster.Iam) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-iam.html -type Cluster_Iam struct { +// StorageLens_SSEKMS AWS CloudFormation Resource (AWS::S3::StorageLens.SSEKMS) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-ssekms.html +type StorageLens_SSEKMS struct { - // Enabled AWS CloudFormation Property + // KeyId AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-cluster-iam.html#cfn-msk-cluster-iam-enabled - Enabled *types.Value `json:"Enabled"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-ssekms.html#cfn-s3-storagelens-ssekms-keyid + KeyId *types.Value `json:"KeyId,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -32,6 +32,6 @@ type Cluster_Iam struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Cluster_Iam) AWSCloudFormationType() string { - return "AWS::MSK::Cluster.Iam" +func (r *StorageLens_SSEKMS) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.SSEKMS" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackagegroupsettings.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgrouplevel.go similarity index 62% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackagegroupsettings.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgrouplevel.go index e039a91ec1..f98d75c837 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_mediapackagegroupsettings.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgrouplevel.go @@ -1,17 +1,17 @@ -package medialive +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_MediaPackageGroupSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.MediaPackageGroupSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mediapackagegroupsettings.html -type Channel_MediaPackageGroupSettings struct { +// StorageLens_StorageLensGroupLevel AWS CloudFormation Resource (AWS::S3::StorageLens.StorageLensGroupLevel) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgrouplevel.html +type StorageLens_StorageLensGroupLevel struct { - // Destination AWS CloudFormation Property + // StorageLensGroupSelectionCriteria AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-mediapackagegroupsettings.html#cfn-medialive-channel-mediapackagegroupsettings-destination - Destination *Channel_OutputLocationRef `json:"Destination,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgrouplevel.html#cfn-s3-storagelens-storagelensgrouplevel-storagelensgroupselectioncriteria + StorageLensGroupSelectionCriteria *StorageLens_StorageLensGroupSelectionCriteria `json:"StorageLensGroupSelectionCriteria,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -30,6 +30,6 @@ type Channel_MediaPackageGroupSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_MediaPackageGroupSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.MediaPackageGroupSettings" +func (r *StorageLens_StorageLensGroupLevel) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.StorageLensGroupLevel" } diff --git a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubsourcesettings.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgroupselectioncriteria.go similarity index 61% rename from pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubsourcesettings.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgroupselectioncriteria.go index 19824e29a6..c91121f224 100644 --- a/pkg/goformation/cloudformation/medialive/aws-medialive-channel_dvbsubsourcesettings.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelens_storagelensgroupselectioncriteria.go @@ -1,4 +1,4 @@ -package medialive +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Channel_DvbSubSourceSettings AWS CloudFormation Resource (AWS::MediaLive::Channel.DvbSubSourceSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubsourcesettings.html -type Channel_DvbSubSourceSettings struct { +// StorageLens_StorageLensGroupSelectionCriteria AWS CloudFormation Resource (AWS::S3::StorageLens.StorageLensGroupSelectionCriteria) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html +type StorageLens_StorageLensGroupSelectionCriteria struct { - // OcrLanguage AWS CloudFormation Property + // Exclude AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubsourcesettings.html#cfn-medialive-channel-dvbsubsourcesettings-ocrlanguage - OcrLanguage *types.Value `json:"OcrLanguage,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html#cfn-s3-storagelens-storagelensgroupselectioncriteria-exclude + Exclude *types.Value `json:"Exclude,omitempty"` - // Pid AWS CloudFormation Property + // Include AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-dvbsubsourcesettings.html#cfn-medialive-channel-dvbsubsourcesettings-pid - Pid *types.Value `json:"Pid,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html#cfn-s3-storagelens-storagelensgroupselectioncriteria-include + Include *types.Value `json:"Include,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Channel_DvbSubSourceSettings struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Channel_DvbSubSourceSettings) AWSCloudFormationType() string { - return "AWS::MediaLive::Channel.DvbSubSourceSettings" +func (r *StorageLens_StorageLensGroupSelectionCriteria) AWSCloudFormationType() string { + return "AWS::S3::StorageLens.StorageLensGroupSelectionCriteria" } diff --git a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup.go similarity index 82% rename from pkg/goformation/cloudformation/groundstation/aws-groundstation-config.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup.go index d4b6fb3aab..c5910a18cf 100644 --- a/pkg/goformation/cloudformation/groundstation/aws-groundstation-config.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup.go @@ -1,4 +1,4 @@ -package groundstation +package s3 import ( "bytes" @@ -11,23 +11,23 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Config AWS CloudFormation Resource (AWS::GroundStation::Config) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html -type Config struct { +// StorageLensGroup AWS CloudFormation Resource (AWS::S3::StorageLensGroup) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html +type StorageLensGroup struct { - // ConfigData AWS CloudFormation Property + // Filter AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-configdata - ConfigData *Config_ConfigData `json:"ConfigData,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-filter + Filter *StorageLensGroup_Filter `json:"Filter,omitempty"` // Name AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-name Name *types.Value `json:"Name,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-config.html#cfn-groundstation-config-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html#cfn-s3-storagelensgroup-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy @@ -47,14 +47,14 @@ type Config struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Config) AWSCloudFormationType() string { - return "AWS::GroundStation::Config" +func (r *StorageLensGroup) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup" } // 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 (r Config) MarshalJSON() ([]byte, error) { - type Properties Config +func (r StorageLensGroup) MarshalJSON() ([]byte, error) { + type Properties StorageLensGroup return json.Marshal(&struct { Type string Properties Properties @@ -76,8 +76,8 @@ func (r Config) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Config) UnmarshalJSON(b []byte) error { - type Properties Config +func (r *StorageLensGroup) UnmarshalJSON(b []byte) error { + type Properties StorageLensGroup res := &struct { Type string Properties *Properties @@ -98,7 +98,7 @@ func (r *Config) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Config(*res.Properties) + *r = StorageLensGroup(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_source.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_and.go similarity index 51% rename from pkg/goformation/cloudformation/opsworks/aws-opsworks-app_source.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_and.go index e73f0a50b9..a8557e1337 100644 --- a/pkg/goformation/cloudformation/opsworks/aws-opsworks-app_source.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_and.go @@ -1,44 +1,40 @@ -package opsworks +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// App_Source AWS CloudFormation Resource (AWS::OpsWorks::App.Source) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html -type App_Source struct { +// StorageLensGroup_And AWS CloudFormation Resource (AWS::S3::StorageLensGroup.And) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html +type StorageLensGroup_And struct { - // Password AWS CloudFormation Property + // MatchAnyPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-pw - Password *types.Value `json:"Password,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html#cfn-s3-storagelensgroup-and-matchanyprefix + MatchAnyPrefix *types.Value `json:"MatchAnyPrefix,omitempty"` - // Revision AWS CloudFormation Property + // MatchAnySuffix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-revision - Revision *types.Value `json:"Revision,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html#cfn-s3-storagelensgroup-and-matchanysuffix + MatchAnySuffix *types.Value `json:"MatchAnySuffix,omitempty"` - // SshKey AWS CloudFormation Property + // MatchAnyTag AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-sshkey - SshKey *types.Value `json:"SshKey,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html#cfn-s3-storagelensgroup-and-matchanytag + MatchAnyTag []cloudformation.Tag `json:"MatchAnyTag,omitempty"` - // Type AWS CloudFormation Property + // MatchObjectAge AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-type - Type *types.Value `json:"Type,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html#cfn-s3-storagelensgroup-and-matchobjectage + MatchObjectAge *StorageLensGroup_MatchObjectAge `json:"MatchObjectAge,omitempty"` - // Url AWS CloudFormation Property + // MatchObjectSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-url - Url *types.Value `json:"Url,omitempty"` - - // Username AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-username - Username *types.Value `json:"Username,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-and.html#cfn-s3-storagelensgroup-and-matchobjectsize + MatchObjectSize *StorageLensGroup_MatchObjectSize `json:"MatchObjectSize,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -57,6 +53,6 @@ type App_Source struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *App_Source) AWSCloudFormationType() string { - return "AWS::OpsWorks::App.Source" +func (r *StorageLensGroup_And) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup.And" } diff --git a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_label.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_filter.go similarity index 50% rename from pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_label.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_filter.go index d6e763bb9b..c32d02b152 100644 --- a/pkg/goformation/cloudformation/frauddetector/aws-frauddetector-eventtype_label.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_filter.go @@ -1,4 +1,4 @@ -package frauddetector +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -7,44 +7,44 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// EventType_Label AWS CloudFormation Resource (AWS::FraudDetector::EventType.Label) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html -type EventType_Label struct { +// StorageLensGroup_Filter AWS CloudFormation Resource (AWS::S3::StorageLensGroup.Filter) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html +type StorageLensGroup_Filter struct { - // Arn AWS CloudFormation Property + // And AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-arn - Arn *types.Value `json:"Arn,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-and + And *StorageLensGroup_And `json:"And,omitempty"` - // CreatedTime AWS CloudFormation Property + // MatchAnyPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-createdtime - CreatedTime *types.Value `json:"CreatedTime,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanyprefix + MatchAnyPrefix *types.Value `json:"MatchAnyPrefix,omitempty"` - // Description AWS CloudFormation Property + // MatchAnySuffix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-description - Description *types.Value `json:"Description,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanysuffix + MatchAnySuffix *types.Value `json:"MatchAnySuffix,omitempty"` - // Inline AWS CloudFormation Property + // MatchAnyTag AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-inline - Inline *types.Value `json:"Inline,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanytag + MatchAnyTag []cloudformation.Tag `json:"MatchAnyTag,omitempty"` - // LastUpdatedTime AWS CloudFormation Property + // MatchObjectAge AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-lastupdatedtime - LastUpdatedTime *types.Value `json:"LastUpdatedTime,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchobjectage + MatchObjectAge *StorageLensGroup_MatchObjectAge `json:"MatchObjectAge,omitempty"` - // Name AWS CloudFormation Property + // MatchObjectSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-name - Name *types.Value `json:"Name,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchobjectsize + MatchObjectSize *StorageLensGroup_MatchObjectSize `json:"MatchObjectSize,omitempty"` - // Tags AWS CloudFormation Property + // Or AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-frauddetector-eventtype-label.html#cfn-frauddetector-eventtype-label-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-or + Or *StorageLensGroup_Or `json:"Or,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -63,6 +63,6 @@ type EventType_Label struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *EventType_Label) AWSCloudFormationType() string { - return "AWS::FraudDetector::EventType.Label" +func (r *StorageLensGroup_Filter) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup.Filter" } diff --git a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_runas.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectage.go similarity index 61% rename from pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_runas.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectage.go index 4642b28488..214c2494a6 100644 --- a/pkg/goformation/cloudformation/greengrass/aws-greengrass-functiondefinitionversion_runas.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectage.go @@ -1,4 +1,4 @@ -package greengrass +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// FunctionDefinitionVersion_RunAs AWS CloudFormation Resource (AWS::Greengrass::FunctionDefinitionVersion.RunAs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-runas.html -type FunctionDefinitionVersion_RunAs struct { +// StorageLensGroup_MatchObjectAge AWS CloudFormation Resource (AWS::S3::StorageLensGroup.MatchObjectAge) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectage.html +type StorageLensGroup_MatchObjectAge struct { - // Gid AWS CloudFormation Property + // DaysGreaterThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-runas.html#cfn-greengrass-functiondefinitionversion-runas-gid - Gid *types.Value `json:"Gid,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectage.html#cfn-s3-storagelensgroup-matchobjectage-daysgreaterthan + DaysGreaterThan *types.Value `json:"DaysGreaterThan,omitempty"` - // Uid AWS CloudFormation Property + // DaysLessThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-runas.html#cfn-greengrass-functiondefinitionversion-runas-uid - Uid *types.Value `json:"Uid,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectage.html#cfn-s3-storagelensgroup-matchobjectage-dayslessthan + DaysLessThan *types.Value `json:"DaysLessThan,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type FunctionDefinitionVersion_RunAs struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *FunctionDefinitionVersion_RunAs) AWSCloudFormationType() string { - return "AWS::Greengrass::FunctionDefinitionVersion.RunAs" +func (r *StorageLensGroup_MatchObjectAge) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup.MatchObjectAge" } diff --git a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_networkconfiguration.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectsize.go similarity index 61% rename from pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_networkconfiguration.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectsize.go index 42c7155712..cacd52d25b 100644 --- a/pkg/goformation/cloudformation/mwaa/aws-mwaa-environment_networkconfiguration.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_matchobjectsize.go @@ -1,4 +1,4 @@ -package mwaa +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,19 +6,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Environment_NetworkConfiguration AWS CloudFormation Resource (AWS::MWAA::Environment.NetworkConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html -type Environment_NetworkConfiguration struct { +// StorageLensGroup_MatchObjectSize AWS CloudFormation Resource (AWS::S3::StorageLensGroup.MatchObjectSize) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectsize.html +type StorageLensGroup_MatchObjectSize struct { - // SecurityGroupIds AWS CloudFormation Property + // BytesGreaterThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html#cfn-mwaa-environment-networkconfiguration-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectsize.html#cfn-s3-storagelensgroup-matchobjectsize-bytesgreaterthan + BytesGreaterThan *types.Value `json:"BytesGreaterThan,omitempty"` - // SubnetIds AWS CloudFormation Property + // BytesLessThan AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mwaa-environment-networkconfiguration.html#cfn-mwaa-environment-networkconfiguration-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-matchobjectsize.html#cfn-s3-storagelensgroup-matchobjectsize-byteslessthan + BytesLessThan *types.Value `json:"BytesLessThan,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -37,6 +37,6 @@ type Environment_NetworkConfiguration struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Environment_NetworkConfiguration) AWSCloudFormationType() string { - return "AWS::MWAA::Environment.NetworkConfiguration" +func (r *StorageLensGroup_MatchObjectSize) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup.MatchObjectSize" } diff --git a/pkg/goformation/cloudformation/glue/aws-glue-trigger_condition.go b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_or.go similarity index 51% rename from pkg/goformation/cloudformation/glue/aws-glue-trigger_condition.go rename to pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_or.go index ec92ea620e..de5cefff06 100644 --- a/pkg/goformation/cloudformation/glue/aws-glue-trigger_condition.go +++ b/pkg/goformation/cloudformation/s3/aws-s3-storagelensgroup_or.go @@ -1,39 +1,40 @@ -package glue +package s3 import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" + "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Trigger_Condition AWS CloudFormation Resource (AWS::Glue::Trigger.Condition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html -type Trigger_Condition struct { +// StorageLensGroup_Or AWS CloudFormation Resource (AWS::S3::StorageLensGroup.Or) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html +type StorageLensGroup_Or struct { - // CrawlState AWS CloudFormation Property + // MatchAnyPrefix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-crawlstate - CrawlState *types.Value `json:"CrawlState,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html#cfn-s3-storagelensgroup-or-matchanyprefix + MatchAnyPrefix *types.Value `json:"MatchAnyPrefix,omitempty"` - // CrawlerName AWS CloudFormation Property + // MatchAnySuffix AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-crawlername - CrawlerName *types.Value `json:"CrawlerName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html#cfn-s3-storagelensgroup-or-matchanysuffix + MatchAnySuffix *types.Value `json:"MatchAnySuffix,omitempty"` - // JobName AWS CloudFormation Property + // MatchAnyTag AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-jobname - JobName *types.Value `json:"JobName,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html#cfn-s3-storagelensgroup-or-matchanytag + MatchAnyTag []cloudformation.Tag `json:"MatchAnyTag,omitempty"` - // LogicalOperator AWS CloudFormation Property + // MatchObjectAge AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-logicaloperator - LogicalOperator *types.Value `json:"LogicalOperator,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html#cfn-s3-storagelensgroup-or-matchobjectage + MatchObjectAge *StorageLensGroup_MatchObjectAge `json:"MatchObjectAge,omitempty"` - // State AWS CloudFormation Property + // MatchObjectSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html#cfn-glue-trigger-condition-state - State *types.Value `json:"State,omitempty"` + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-or.html#cfn-s3-storagelensgroup-or-matchobjectsize + MatchObjectSize *StorageLensGroup_MatchObjectSize `json:"MatchObjectSize,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -52,6 +53,6 @@ type Trigger_Condition struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Trigger_Condition) AWSCloudFormationType() string { - return "AWS::Glue::Trigger.Condition" +func (r *StorageLensGroup_Or) AWSCloudFormationType() string { + return "AWS::S3::StorageLensGroup.Or" } diff --git a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint.go b/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint.go deleted file mode 100644 index 9753752799..0000000000 --- a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint.go +++ /dev/null @@ -1,113 +0,0 @@ -package s3objectlambda - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint AWS CloudFormation Resource (AWS::S3ObjectLambda::AccessPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html -type AccessPoint struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-name - Name *types.Value `json:"Name,omitempty"` - - // ObjectLambdaConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration - ObjectLambdaConfiguration *AccessPoint_ObjectLambdaConfiguration `json:"ObjectLambdaConfiguration,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 *AccessPoint) AWSCloudFormationType() string { - return "AWS::S3ObjectLambda::AccessPoint" -} - -// 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 (r AccessPoint) MarshalJSON() ([]byte, error) { - type Properties AccessPoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccessPoint) UnmarshalJSON(b []byte) error { - type Properties AccessPoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AccessPoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_objectlambdaconfiguration.go b/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_objectlambdaconfiguration.go deleted file mode 100644 index 0aac6d95cb..0000000000 --- a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_objectlambdaconfiguration.go +++ /dev/null @@ -1,52 +0,0 @@ -package s3objectlambda - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_ObjectLambdaConfiguration AWS CloudFormation Resource (AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-objectlambdaconfiguration.html -type AccessPoint_ObjectLambdaConfiguration struct { - - // AllowedFeatures AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-objectlambdaconfiguration.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration-allowedfeatures - AllowedFeatures *types.Value `json:"AllowedFeatures,omitempty"` - - // CloudWatchMetricsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-objectlambdaconfiguration.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration-cloudwatchmetricsenabled - CloudWatchMetricsEnabled *types.Value `json:"CloudWatchMetricsEnabled,omitempty"` - - // SupportingAccessPoint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-objectlambdaconfiguration.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration-supportingaccesspoint - SupportingAccessPoint *types.Value `json:"SupportingAccessPoint,omitempty"` - - // TransformationConfigurations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-objectlambdaconfiguration.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration-transformationconfigurations - TransformationConfigurations []AccessPoint_TransformationConfiguration `json:"TransformationConfigurations,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 *AccessPoint_ObjectLambdaConfiguration) AWSCloudFormationType() string { - return "AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration" -} diff --git a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_transformationconfiguration.go b/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_transformationconfiguration.go deleted file mode 100644 index a8661fffce..0000000000 --- a/pkg/goformation/cloudformation/s3objectlambda/aws-s3objectlambda-accesspoint_transformationconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package s3objectlambda - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_TransformationConfiguration AWS CloudFormation Resource (AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-transformationconfiguration.html -type AccessPoint_TransformationConfiguration struct { - - // Actions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-transformationconfiguration.html#cfn-s3objectlambda-accesspoint-transformationconfiguration-actions - Actions *types.Value `json:"Actions,omitempty"` - - // ContentTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3objectlambda-accesspoint-transformationconfiguration.html#cfn-s3objectlambda-accesspoint-transformationconfiguration-contenttransformation - ContentTransformation interface{} `json:"ContentTransformation,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 *AccessPoint_TransformationConfiguration) AWSCloudFormationType() string { - return "AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration" -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint.go deleted file mode 100644 index 9f39ce4238..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint.go +++ /dev/null @@ -1,123 +0,0 @@ -package s3outposts - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint AWS CloudFormation Resource (AWS::S3Outposts::AccessPoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html -type AccessPoint struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-name - Name *types.Value `json:"Name,omitempty"` - - // Policy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-policy - Policy interface{} `json:"Policy,omitempty"` - - // VpcConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-vpcconfiguration - VpcConfiguration *AccessPoint_VpcConfiguration `json:"VpcConfiguration,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 *AccessPoint) AWSCloudFormationType() string { - return "AWS::S3Outposts::AccessPoint" -} - -// 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 (r AccessPoint) MarshalJSON() ([]byte, error) { - type Properties AccessPoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AccessPoint) UnmarshalJSON(b []byte) error { - type Properties AccessPoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AccessPoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint_vpcconfiguration.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint_vpcconfiguration.go deleted file mode 100644 index 46daa931f3..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-accesspoint_vpcconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package s3outposts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AccessPoint_VpcConfiguration AWS CloudFormation Resource (AWS::S3Outposts::AccessPoint.VpcConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-accesspoint-vpcconfiguration.html -type AccessPoint_VpcConfiguration struct { - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-accesspoint-vpcconfiguration.html#cfn-s3outposts-accesspoint-vpcconfiguration-vpcid - VpcId *types.Value `json:"VpcId,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 *AccessPoint_VpcConfiguration) AWSCloudFormationType() string { - return "AWS::S3Outposts::AccessPoint.VpcConfiguration" -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket.go deleted file mode 100644 index 59c941b4da..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket.go +++ /dev/null @@ -1,124 +0,0 @@ -package s3outposts - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Bucket AWS CloudFormation Resource (AWS::S3Outposts::Bucket) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html -type Bucket struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // LifecycleConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-lifecycleconfiguration - LifecycleConfiguration *Bucket_LifecycleConfiguration `json:"LifecycleConfiguration,omitempty"` - - // OutpostId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-outpostid - OutpostId *types.Value `json:"OutpostId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-tags - Tags []cloudformation.Tag `json:"Tags,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 *Bucket) AWSCloudFormationType() string { - return "AWS::S3Outposts::Bucket" -} - -// 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 (r Bucket) MarshalJSON() ([]byte, error) { - type Properties Bucket - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Bucket) UnmarshalJSON(b []byte) error { - type Properties Bucket - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Bucket(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_abortincompletemultipartupload.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_abortincompletemultipartupload.go deleted file mode 100644 index 3e65300805..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_abortincompletemultipartupload.go +++ /dev/null @@ -1,37 +0,0 @@ -package s3outposts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Bucket_AbortIncompleteMultipartUpload AWS CloudFormation Resource (AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-abortincompletemultipartupload.html -type Bucket_AbortIncompleteMultipartUpload struct { - - // DaysAfterInitiation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-abortincompletemultipartupload.html#cfn-s3outposts-bucket-abortincompletemultipartupload-daysafterinitiation - DaysAfterInitiation *types.Value `json:"DaysAfterInitiation"` - - // 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 *Bucket_AbortIncompleteMultipartUpload) AWSCloudFormationType() string { - return "AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload" -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_lifecycleconfiguration.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_lifecycleconfiguration.go deleted file mode 100644 index 126882aae3..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_lifecycleconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package s3outposts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Bucket_LifecycleConfiguration AWS CloudFormation Resource (AWS::S3Outposts::Bucket.LifecycleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-lifecycleconfiguration.html -type Bucket_LifecycleConfiguration struct { - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-lifecycleconfiguration.html#cfn-s3outposts-bucket-lifecycleconfiguration-rules - Rules []Bucket_Rule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Bucket_LifecycleConfiguration) AWSCloudFormationType() string { - return "AWS::S3Outposts::Bucket.LifecycleConfiguration" -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_rule.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_rule.go deleted file mode 100644 index d364fe1d62..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucket_rule.go +++ /dev/null @@ -1,62 +0,0 @@ -package s3outposts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Bucket_Rule AWS CloudFormation Resource (AWS::S3Outposts::Bucket.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html -type Bucket_Rule struct { - - // AbortIncompleteMultipartUpload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-abortincompletemultipartupload - AbortIncompleteMultipartUpload *Bucket_AbortIncompleteMultipartUpload `json:"AbortIncompleteMultipartUpload,omitempty"` - - // ExpirationDate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationdate - ExpirationDate *types.Value `json:"ExpirationDate,omitempty"` - - // ExpirationInDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationindays - ExpirationInDays *types.Value `json:"ExpirationInDays,omitempty"` - - // Filter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-filter - Filter interface{} `json:"Filter,omitempty"` - - // Id AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-id - Id *types.Value `json:"Id,omitempty"` - - // Status AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-status - Status *types.Value `json:"Status,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 *Bucket_Rule) AWSCloudFormationType() string { - return "AWS::S3Outposts::Bucket.Rule" -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint.go deleted file mode 100644 index fd47b1fe28..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint.go +++ /dev/null @@ -1,128 +0,0 @@ -package s3outposts - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint AWS CloudFormation Resource (AWS::S3Outposts::Endpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html -type Endpoint struct { - - // AccessType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html#cfn-s3outposts-endpoint-accesstype - AccessType *types.Value `json:"AccessType,omitempty"` - - // CustomerOwnedIpv4Pool AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html#cfn-s3outposts-endpoint-customerownedipv4pool - CustomerOwnedIpv4Pool *types.Value `json:"CustomerOwnedIpv4Pool,omitempty"` - - // OutpostId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html#cfn-s3outposts-endpoint-outpostid - OutpostId *types.Value `json:"OutpostId,omitempty"` - - // SecurityGroupId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html#cfn-s3outposts-endpoint-securitygroupid - SecurityGroupId *types.Value `json:"SecurityGroupId,omitempty"` - - // SubnetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-endpoint.html#cfn-s3outposts-endpoint-subnetid - SubnetId *types.Value `json:"SubnetId,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 *Endpoint) AWSCloudFormationType() string { - return "AWS::S3Outposts::Endpoint" -} - -// 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 (r Endpoint) MarshalJSON() ([]byte, error) { - type Properties Endpoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Endpoint) UnmarshalJSON(b []byte) error { - type Properties Endpoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Endpoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint_networkinterface.go b/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint_networkinterface.go deleted file mode 100644 index 10243b68fd..0000000000 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-endpoint_networkinterface.go +++ /dev/null @@ -1,37 +0,0 @@ -package s3outposts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_NetworkInterface AWS CloudFormation Resource (AWS::S3Outposts::Endpoint.NetworkInterface) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-endpoint-networkinterface.html -type Endpoint_NetworkInterface struct { - - // NetworkInterfaceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-endpoint-networkinterface.html#cfn-s3outposts-endpoint-networkinterface-networkinterfaceid - NetworkInterfaceId *types.Value `json:"NetworkInterfaceId,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 *Endpoint_NetworkInterface) AWSCloudFormationType() string { - return "AWS::S3Outposts::Endpoint.NetworkInterface" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app.go deleted file mode 100644 index 88b374c7ee..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app.go +++ /dev/null @@ -1,134 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App AWS CloudFormation Resource (AWS::SageMaker::App) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html -type App struct { - - // AppName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-appname - AppName *types.Value `json:"AppName,omitempty"` - - // AppType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-apptype - AppType *types.Value `json:"AppType,omitempty"` - - // DomainId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-domainid - DomainId *types.Value `json:"DomainId,omitempty"` - - // ResourceSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-resourcespec - ResourceSpec *App_ResourceSpec `json:"ResourceSpec,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserProfileName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html#cfn-sagemaker-app-userprofilename - UserProfileName *types.Value `json:"UserProfileName,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 *App) AWSCloudFormationType() string { - return "AWS::SageMaker::App" -} - -// 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 (r App) MarshalJSON() ([]byte, error) { - type Properties App - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *App) UnmarshalJSON(b []byte) error { - type Properties App - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = App(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app_resourcespec.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app_resourcespec.go deleted file mode 100644 index 25c0cf877d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-app_resourcespec.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// App_ResourceSpec AWS CloudFormation Resource (AWS::SageMaker::App.ResourceSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html -type App_ResourceSpec struct { - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html#cfn-sagemaker-app-resourcespec-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // SageMakerImageArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html#cfn-sagemaker-app-resourcespec-sagemakerimagearn - SageMakerImageArn *types.Value `json:"SageMakerImageArn,omitempty"` - - // SageMakerImageVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-app-resourcespec.html#cfn-sagemaker-app-resourcespec-sagemakerimageversionarn - SageMakerImageVersionArn *types.Value `json:"SageMakerImageVersionArn,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 *App_ResourceSpec) AWSCloudFormationType() string { - return "AWS::SageMaker::App.ResourceSpec" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig.go deleted file mode 100644 index 81d9de48e5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig.go +++ /dev/null @@ -1,119 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppImageConfig AWS CloudFormation Resource (AWS::SageMaker::AppImageConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html -type AppImageConfig struct { - - // AppImageConfigName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-appimageconfigname - AppImageConfigName *types.Value `json:"AppImageConfigName,omitempty"` - - // KernelGatewayImageConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig - KernelGatewayImageConfig *AppImageConfig_KernelGatewayImageConfig `json:"KernelGatewayImageConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html#cfn-sagemaker-appimageconfig-tags - Tags []cloudformation.Tag `json:"Tags,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 *AppImageConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::AppImageConfig" -} - -// 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 (r AppImageConfig) MarshalJSON() ([]byte, error) { - type Properties AppImageConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AppImageConfig) UnmarshalJSON(b []byte) error { - type Properties AppImageConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AppImageConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_filesystemconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_filesystemconfig.go deleted file mode 100644 index 7c922cd822..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_filesystemconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppImageConfig_FileSystemConfig AWS CloudFormation Resource (AWS::SageMaker::AppImageConfig.FileSystemConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-filesystemconfig.html -type AppImageConfig_FileSystemConfig struct { - - // DefaultGid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-filesystemconfig.html#cfn-sagemaker-appimageconfig-filesystemconfig-defaultgid - DefaultGid *types.Value `json:"DefaultGid,omitempty"` - - // DefaultUid AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-filesystemconfig.html#cfn-sagemaker-appimageconfig-filesystemconfig-defaultuid - DefaultUid *types.Value `json:"DefaultUid,omitempty"` - - // MountPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-filesystemconfig.html#cfn-sagemaker-appimageconfig-filesystemconfig-mountpath - MountPath *types.Value `json:"MountPath,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 *AppImageConfig_FileSystemConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::AppImageConfig.FileSystemConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelgatewayimageconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelgatewayimageconfig.go deleted file mode 100644 index c714a5f589..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelgatewayimageconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppImageConfig_KernelGatewayImageConfig AWS CloudFormation Resource (AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html -type AppImageConfig_KernelGatewayImageConfig struct { - - // FileSystemConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig-filesystemconfig - FileSystemConfig *AppImageConfig_FileSystemConfig `json:"FileSystemConfig,omitempty"` - - // KernelSpecs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html#cfn-sagemaker-appimageconfig-kernelgatewayimageconfig-kernelspecs - KernelSpecs []AppImageConfig_KernelSpec `json:"KernelSpecs,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 *AppImageConfig_KernelGatewayImageConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelspec.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelspec.go deleted file mode 100644 index 0f6229ddc8..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-appimageconfig_kernelspec.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AppImageConfig_KernelSpec AWS CloudFormation Resource (AWS::SageMaker::AppImageConfig.KernelSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelspec.html -type AppImageConfig_KernelSpec struct { - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelspec.html#cfn-sagemaker-appimageconfig-kernelspec-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelspec.html#cfn-sagemaker-appimageconfig-kernelspec-name - Name *types.Value `json:"Name,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 *AppImageConfig_KernelSpec) AWSCloudFormationType() string { - return "AWS::SageMaker::AppImageConfig.KernelSpec" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository.go deleted file mode 100644 index c4614e2b80..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository.go +++ /dev/null @@ -1,119 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CodeRepository AWS CloudFormation Resource (AWS::SageMaker::CodeRepository) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html -type CodeRepository struct { - - // CodeRepositoryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html#cfn-sagemaker-coderepository-coderepositoryname - CodeRepositoryName *types.Value `json:"CodeRepositoryName,omitempty"` - - // GitConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html#cfn-sagemaker-coderepository-gitconfig - GitConfig *CodeRepository_GitConfig `json:"GitConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html#cfn-sagemaker-coderepository-tags - Tags []cloudformation.Tag `json:"Tags,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 *CodeRepository) AWSCloudFormationType() string { - return "AWS::SageMaker::CodeRepository" -} - -// 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 (r CodeRepository) MarshalJSON() ([]byte, error) { - type Properties CodeRepository - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CodeRepository) UnmarshalJSON(b []byte) error { - type Properties CodeRepository - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CodeRepository(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository_gitconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository_gitconfig.go deleted file mode 100644 index fe8894db35..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-coderepository_gitconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CodeRepository_GitConfig AWS CloudFormation Resource (AWS::SageMaker::CodeRepository.GitConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-coderepository-gitconfig.html -type CodeRepository_GitConfig struct { - - // Branch AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-coderepository-gitconfig.html#cfn-sagemaker-coderepository-gitconfig-branch - Branch *types.Value `json:"Branch,omitempty"` - - // RepositoryUrl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-coderepository-gitconfig.html#cfn-sagemaker-coderepository-gitconfig-repositoryurl - RepositoryUrl *types.Value `json:"RepositoryUrl,omitempty"` - - // SecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-coderepository-gitconfig.html#cfn-sagemaker-coderepository-gitconfig-secretarn - SecretArn *types.Value `json:"SecretArn,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 *CodeRepository_GitConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::CodeRepository.GitConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition.go deleted file mode 100644 index d25a7ddfb8..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition.go +++ /dev/null @@ -1,154 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html -type DataQualityJobDefinition struct { - - // DataQualityAppSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification - DataQualityAppSpecification *DataQualityJobDefinition_DataQualityAppSpecification `json:"DataQualityAppSpecification,omitempty"` - - // DataQualityBaselineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig - DataQualityBaselineConfig *DataQualityJobDefinition_DataQualityBaselineConfig `json:"DataQualityBaselineConfig,omitempty"` - - // DataQualityJobInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityjobinput - DataQualityJobInput *DataQualityJobDefinition_DataQualityJobInput `json:"DataQualityJobInput,omitempty"` - - // DataQualityJobOutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityjoboutputconfig - DataQualityJobOutputConfig *DataQualityJobDefinition_MonitoringOutputConfig `json:"DataQualityJobOutputConfig,omitempty"` - - // JobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-jobdefinitionname - JobDefinitionName *types.Value `json:"JobDefinitionName,omitempty"` - - // JobResources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-jobresources - JobResources *DataQualityJobDefinition_MonitoringResources `json:"JobResources,omitempty"` - - // NetworkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-networkconfig - NetworkConfig *DataQualityJobDefinition_NetworkConfig `json:"NetworkConfig,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StoppingCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-stoppingcondition - StoppingCondition *DataQualityJobDefinition_StoppingCondition `json:"StoppingCondition,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-tags - Tags []cloudformation.Tag `json:"Tags,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 *DataQualityJobDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition" -} - -// 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 (r DataQualityJobDefinition) MarshalJSON() ([]byte, error) { - type Properties DataQualityJobDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *DataQualityJobDefinition) UnmarshalJSON(b []byte) error { - type Properties DataQualityJobDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = DataQualityJobDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_clusterconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_clusterconfig.go deleted file mode 100644 index a3805a3498..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_clusterconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_ClusterConfig AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-clusterconfig.html -type DataQualityJobDefinition_ClusterConfig struct { - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-clusterconfig.html#cfn-sagemaker-dataqualityjobdefinition-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-clusterconfig.html#cfn-sagemaker-dataqualityjobdefinition-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // VolumeKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-clusterconfig.html#cfn-sagemaker-dataqualityjobdefinition-clusterconfig-volumekmskeyid - VolumeKmsKeyId *types.Value `json:"VolumeKmsKeyId,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-clusterconfig.html#cfn-sagemaker-dataqualityjobdefinition-clusterconfig-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *DataQualityJobDefinition_ClusterConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_constraintsresource.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_constraintsresource.go deleted file mode 100644 index 6befc81805..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_constraintsresource.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_ConstraintsResource AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-constraintsresource.html -type DataQualityJobDefinition_ConstraintsResource struct { - - // S3Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-constraintsresource.html#cfn-sagemaker-dataqualityjobdefinition-constraintsresource-s3uri - S3Uri *types.Value `json:"S3Uri,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 *DataQualityJobDefinition_ConstraintsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityappspecification.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityappspecification.go deleted file mode 100644 index 3c8f239fd5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityappspecification.go +++ /dev/null @@ -1,62 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_DataQualityAppSpecification AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html -type DataQualityJobDefinition_DataQualityAppSpecification struct { - - // ContainerArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-containerarguments - ContainerArguments *types.Value `json:"ContainerArguments,omitempty"` - - // ContainerEntrypoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-containerentrypoint - ContainerEntrypoint *types.Value `json:"ContainerEntrypoint,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-environment - Environment map[string]*types.Value `json:"Environment,omitempty"` - - // ImageUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-imageuri - ImageUri *types.Value `json:"ImageUri,omitempty"` - - // PostAnalyticsProcessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-postanalyticsprocessorsourceuri - PostAnalyticsProcessorSourceUri *types.Value `json:"PostAnalyticsProcessorSourceUri,omitempty"` - - // RecordPreprocessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification-recordpreprocessorsourceuri - RecordPreprocessorSourceUri *types.Value `json:"RecordPreprocessorSourceUri,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 *DataQualityJobDefinition_DataQualityAppSpecification) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualitybaselineconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualitybaselineconfig.go deleted file mode 100644 index 8c193b865d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualitybaselineconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_DataQualityBaselineConfig AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig.html -type DataQualityJobDefinition_DataQualityBaselineConfig struct { - - // BaseliningJobName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig.html#cfn-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig-baseliningjobname - BaseliningJobName *types.Value `json:"BaseliningJobName,omitempty"` - - // ConstraintsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig.html#cfn-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig-constraintsresource - ConstraintsResource *DataQualityJobDefinition_ConstraintsResource `json:"ConstraintsResource,omitempty"` - - // StatisticsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig.html#cfn-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig-statisticsresource - StatisticsResource *DataQualityJobDefinition_StatisticsResource `json:"StatisticsResource,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 *DataQualityJobDefinition_DataQualityBaselineConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityjobinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityjobinput.go deleted file mode 100644 index 23d61ec5e0..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_dataqualityjobinput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_DataQualityJobInput AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityjobinput.html -type DataQualityJobDefinition_DataQualityJobInput struct { - - // EndpointInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityjobinput.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityjobinput-endpointinput - EndpointInput *DataQualityJobDefinition_EndpointInput `json:"EndpointInput,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 *DataQualityJobDefinition_DataQualityJobInput) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_endpointinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_endpointinput.go deleted file mode 100644 index b4bc60c6fa..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_endpointinput.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_EndpointInput AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.EndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html -type DataQualityJobDefinition_EndpointInput struct { - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3DataDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-s3datadistributiontype - S3DataDistributionType *types.Value `json:"S3DataDistributionType,omitempty"` - - // S3InputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-endpointinput.html#cfn-sagemaker-dataqualityjobdefinition-endpointinput-s3inputmode - S3InputMode *types.Value `json:"S3InputMode,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 *DataQualityJobDefinition_EndpointInput) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.EndpointInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutput.go deleted file mode 100644 index 76f520de08..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_MonitoringOutput AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutput.html -type DataQualityJobDefinition_MonitoringOutput struct { - - // S3Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutput.html#cfn-sagemaker-dataqualityjobdefinition-monitoringoutput-s3output - S3Output *DataQualityJobDefinition_S3Output `json:"S3Output,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 *DataQualityJobDefinition_MonitoringOutput) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutputconfig.go deleted file mode 100644 index 1f5adb58c6..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_MonitoringOutputConfig AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html -type DataQualityJobDefinition_MonitoringOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-dataqualityjobdefinition-monitoringoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MonitoringOutputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-dataqualityjobdefinition-monitoringoutputconfig-monitoringoutputs - MonitoringOutputs []DataQualityJobDefinition_MonitoringOutput `json:"MonitoringOutputs,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 *DataQualityJobDefinition_MonitoringOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringresources.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringresources.go deleted file mode 100644 index 6fba21bf8d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_monitoringresources.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_MonitoringResources AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.MonitoringResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringresources.html -type DataQualityJobDefinition_MonitoringResources struct { - - // ClusterConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-monitoringresources.html#cfn-sagemaker-dataqualityjobdefinition-monitoringresources-clusterconfig - ClusterConfig *DataQualityJobDefinition_ClusterConfig `json:"ClusterConfig,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 *DataQualityJobDefinition_MonitoringResources) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.MonitoringResources" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_networkconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_networkconfig.go deleted file mode 100644 index 0278a0b27e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_networkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_NetworkConfig AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.NetworkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-networkconfig.html -type DataQualityJobDefinition_NetworkConfig struct { - - // EnableInterContainerTrafficEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-networkconfig.html#cfn-sagemaker-dataqualityjobdefinition-networkconfig-enableintercontainertrafficencryption - EnableInterContainerTrafficEncryption *types.Value `json:"EnableInterContainerTrafficEncryption,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-networkconfig.html#cfn-sagemaker-dataqualityjobdefinition-networkconfig-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-networkconfig.html#cfn-sagemaker-dataqualityjobdefinition-networkconfig-vpcconfig - VpcConfig *DataQualityJobDefinition_VpcConfig `json:"VpcConfig,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 *DataQualityJobDefinition_NetworkConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.NetworkConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_s3output.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_s3output.go deleted file mode 100644 index 77b43b5779..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_s3output.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_S3Output AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.S3Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-s3output.html -type DataQualityJobDefinition_S3Output struct { - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-s3output.html#cfn-sagemaker-dataqualityjobdefinition-s3output-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3UploadMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-s3output.html#cfn-sagemaker-dataqualityjobdefinition-s3output-s3uploadmode - S3UploadMode *types.Value `json:"S3UploadMode,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-s3output.html#cfn-sagemaker-dataqualityjobdefinition-s3output-s3uri - S3Uri *types.Value `json:"S3Uri,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 *DataQualityJobDefinition_S3Output) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.S3Output" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_stoppingcondition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_stoppingcondition.go deleted file mode 100644 index e008f27e09..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_stoppingcondition.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_StoppingCondition AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.StoppingCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-stoppingcondition.html -type DataQualityJobDefinition_StoppingCondition struct { - - // MaxRuntimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-stoppingcondition.html#cfn-sagemaker-dataqualityjobdefinition-stoppingcondition-maxruntimeinseconds - MaxRuntimeInSeconds *types.Value `json:"MaxRuntimeInSeconds"` - - // 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 *DataQualityJobDefinition_StoppingCondition) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.StoppingCondition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_vpcconfig.go deleted file mode 100644 index c5576f6e84..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-dataqualityjobdefinition_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DataQualityJobDefinition_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::DataQualityJobDefinition.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-vpcconfig.html -type DataQualityJobDefinition_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-vpcconfig.html#cfn-sagemaker-dataqualityjobdefinition-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-vpcconfig.html#cfn-sagemaker-dataqualityjobdefinition-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *DataQualityJobDefinition_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DataQualityJobDefinition.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device.go deleted file mode 100644 index efda63fc9b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device.go +++ /dev/null @@ -1,119 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Device AWS CloudFormation Resource (AWS::SageMaker::Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html -type Device struct { - - // Device AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-device - Device interface{} `json:"Device,omitempty"` - - // DeviceFleetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-devicefleetname - DeviceFleetName *types.Value `json:"DeviceFleetName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-tags - Tags []cloudformation.Tag `json:"Tags,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 *Device) AWSCloudFormationType() string { - return "AWS::SageMaker::Device" -} - -// 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 (r Device) MarshalJSON() ([]byte, error) { - type Properties Device - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Device) UnmarshalJSON(b []byte) error { - type Properties Device - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Device(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device_device.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device_device.go deleted file mode 100644 index f2613f2d80..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-device_device.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Device_Device AWS CloudFormation Resource (AWS::SageMaker::Device.Device) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-device-device.html -type Device_Device struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-device-device.html#cfn-sagemaker-device-device-description - Description *types.Value `json:"Description,omitempty"` - - // DeviceName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-device-device.html#cfn-sagemaker-device-device-devicename - DeviceName *types.Value `json:"DeviceName,omitempty"` - - // IotThingName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-device-device.html#cfn-sagemaker-device-device-iotthingname - IotThingName *types.Value `json:"IotThingName,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 *Device_Device) AWSCloudFormationType() string { - return "AWS::SageMaker::Device.Device" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet_edgeoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet_edgeoutputconfig.go deleted file mode 100644 index 1895b6c397..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-devicefleet_edgeoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// DeviceFleet_EdgeOutputConfig AWS CloudFormation Resource (AWS::SageMaker::DeviceFleet.EdgeOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-devicefleet-edgeoutputconfig.html -type DeviceFleet_EdgeOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-devicefleet-edgeoutputconfig.html#cfn-sagemaker-devicefleet-edgeoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // S3OutputLocation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-devicefleet-edgeoutputconfig.html#cfn-sagemaker-devicefleet-edgeoutputconfig-s3outputlocation - S3OutputLocation *types.Value `json:"S3OutputLocation,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 *DeviceFleet_EdgeOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::DeviceFleet.EdgeOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain.go deleted file mode 100644 index 528ae89386..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain.go +++ /dev/null @@ -1,144 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain AWS CloudFormation Resource (AWS::SageMaker::Domain) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html -type Domain struct { - - // AppNetworkAccessType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-appnetworkaccesstype - AppNetworkAccessType *types.Value `json:"AppNetworkAccessType,omitempty"` - - // AuthMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-authmode - AuthMode *types.Value `json:"AuthMode,omitempty"` - - // DefaultUserSettings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-defaultusersettings - DefaultUserSettings *Domain_UserSettings `json:"DefaultUserSettings,omitempty"` - - // DomainName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-domainname - DomainName *types.Value `json:"DomainName,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html#cfn-sagemaker-domain-vpcid - VpcId *types.Value `json:"VpcId,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 *Domain) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain" -} - -// 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 (r Domain) MarshalJSON() ([]byte, error) { - type Properties Domain - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Domain) UnmarshalJSON(b []byte) error { - type Properties Domain - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Domain(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_customimage.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_customimage.go deleted file mode 100644 index 7ddd8ddd10..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_customimage.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_CustomImage AWS CloudFormation Resource (AWS::SageMaker::Domain.CustomImage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customimage.html -type Domain_CustomImage struct { - - // AppImageConfigName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customimage.html#cfn-sagemaker-domain-customimage-appimageconfigname - AppImageConfigName *types.Value `json:"AppImageConfigName,omitempty"` - - // ImageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customimage.html#cfn-sagemaker-domain-customimage-imagename - ImageName *types.Value `json:"ImageName,omitempty"` - - // ImageVersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-customimage.html#cfn-sagemaker-domain-customimage-imageversionnumber - ImageVersionNumber *types.Value `json:"ImageVersionNumber,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 *Domain_CustomImage) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.CustomImage" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_jupyterserverappsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_jupyterserverappsettings.go deleted file mode 100644 index f7cd63051c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_jupyterserverappsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_JupyterServerAppSettings AWS CloudFormation Resource (AWS::SageMaker::Domain.JupyterServerAppSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterserverappsettings.html -type Domain_JupyterServerAppSettings struct { - - // DefaultResourceSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-jupyterserverappsettings.html#cfn-sagemaker-domain-jupyterserverappsettings-defaultresourcespec - DefaultResourceSpec *Domain_ResourceSpec `json:"DefaultResourceSpec,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 *Domain_JupyterServerAppSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.JupyterServerAppSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_kernelgatewayappsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_kernelgatewayappsettings.go deleted file mode 100644 index ea8c205175..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_kernelgatewayappsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_KernelGatewayAppSettings AWS CloudFormation Resource (AWS::SageMaker::Domain.KernelGatewayAppSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html -type Domain_KernelGatewayAppSettings struct { - - // CustomImages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-customimages - CustomImages []Domain_CustomImage `json:"CustomImages,omitempty"` - - // DefaultResourceSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-kernelgatewayappsettings.html#cfn-sagemaker-domain-kernelgatewayappsettings-defaultresourcespec - DefaultResourceSpec *Domain_ResourceSpec `json:"DefaultResourceSpec,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 *Domain_KernelGatewayAppSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.KernelGatewayAppSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_resourcespec.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_resourcespec.go deleted file mode 100644 index d80e844d6d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_resourcespec.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_ResourceSpec AWS CloudFormation Resource (AWS::SageMaker::Domain.ResourceSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html -type Domain_ResourceSpec struct { - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html#cfn-sagemaker-domain-resourcespec-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // SageMakerImageArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html#cfn-sagemaker-domain-resourcespec-sagemakerimagearn - SageMakerImageArn *types.Value `json:"SageMakerImageArn,omitempty"` - - // SageMakerImageVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-resourcespec.html#cfn-sagemaker-domain-resourcespec-sagemakerimageversionarn - SageMakerImageVersionArn *types.Value `json:"SageMakerImageVersionArn,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 *Domain_ResourceSpec) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.ResourceSpec" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_sharingsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_sharingsettings.go deleted file mode 100644 index 74f185c40b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_sharingsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_SharingSettings AWS CloudFormation Resource (AWS::SageMaker::Domain.SharingSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-sharingsettings.html -type Domain_SharingSettings struct { - - // NotebookOutputOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-sharingsettings.html#cfn-sagemaker-domain-sharingsettings-notebookoutputoption - NotebookOutputOption *types.Value `json:"NotebookOutputOption,omitempty"` - - // S3KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-sharingsettings.html#cfn-sagemaker-domain-sharingsettings-s3kmskeyid - S3KmsKeyId *types.Value `json:"S3KmsKeyId,omitempty"` - - // S3OutputPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-sharingsettings.html#cfn-sagemaker-domain-sharingsettings-s3outputpath - S3OutputPath *types.Value `json:"S3OutputPath,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 *Domain_SharingSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.SharingSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_usersettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_usersettings.go deleted file mode 100644 index 94f0fd8478..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-domain_usersettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Domain_UserSettings AWS CloudFormation Resource (AWS::SageMaker::Domain.UserSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html -type Domain_UserSettings struct { - - // ExecutionRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-executionrole - ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - - // JupyterServerAppSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-jupyterserverappsettings - JupyterServerAppSettings *Domain_JupyterServerAppSettings `json:"JupyterServerAppSettings,omitempty"` - - // KernelGatewayAppSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-kernelgatewayappsettings - KernelGatewayAppSettings *Domain_KernelGatewayAppSettings `json:"KernelGatewayAppSettings,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // SharingSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-usersettings.html#cfn-sagemaker-domain-usersettings-sharingsettings - SharingSettings *Domain_SharingSettings `json:"SharingSettings,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 *Domain_UserSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::Domain.UserSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint.go deleted file mode 100644 index c5ee741235..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint.go +++ /dev/null @@ -1,139 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint AWS CloudFormation Resource (AWS::SageMaker::Endpoint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html -type Endpoint struct { - - // DeploymentConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-deploymentconfig - DeploymentConfig *Endpoint_DeploymentConfig `json:"DeploymentConfig,omitempty"` - - // EndpointConfigName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointconfigname - EndpointConfigName *types.Value `json:"EndpointConfigName,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // ExcludeRetainedVariantProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-excluderetainedvariantproperties - ExcludeRetainedVariantProperties []Endpoint_VariantProperty `json:"ExcludeRetainedVariantProperties,omitempty"` - - // RetainAllVariantProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-retainallvariantproperties - RetainAllVariantProperties *types.Value `json:"RetainAllVariantProperties,omitempty"` - - // RetainDeploymentConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-retaindeploymentconfig - RetainDeploymentConfig *types.Value `json:"RetainDeploymentConfig,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-tags - Tags []cloudformation.Tag `json:"Tags,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 *Endpoint) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint" -} - -// 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 (r Endpoint) MarshalJSON() ([]byte, error) { - type Properties Endpoint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Endpoint) UnmarshalJSON(b []byte) error { - type Properties Endpoint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Endpoint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_alarm.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_alarm.go deleted file mode 100644 index 58b17643e7..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_alarm.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_Alarm AWS CloudFormation Resource (AWS::SageMaker::Endpoint.Alarm) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-alarm.html -type Endpoint_Alarm struct { - - // AlarmName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-alarm.html#cfn-sagemaker-endpoint-alarm-alarmname - AlarmName *types.Value `json:"AlarmName,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 *Endpoint_Alarm) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.Alarm" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_autorollbackconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_autorollbackconfig.go deleted file mode 100644 index 0497c1c737..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_autorollbackconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_AutoRollbackConfig AWS CloudFormation Resource (AWS::SageMaker::Endpoint.AutoRollbackConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-autorollbackconfig.html -type Endpoint_AutoRollbackConfig struct { - - // Alarms AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-autorollbackconfig.html#cfn-sagemaker-endpoint-autorollbackconfig-alarms - Alarms []Endpoint_Alarm `json:"Alarms,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 *Endpoint_AutoRollbackConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.AutoRollbackConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_bluegreenupdatepolicy.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_bluegreenupdatepolicy.go deleted file mode 100644 index f3ee9ca3f0..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_bluegreenupdatepolicy.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_BlueGreenUpdatePolicy AWS CloudFormation Resource (AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html -type Endpoint_BlueGreenUpdatePolicy struct { - - // MaximumExecutionTimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html#cfn-sagemaker-endpoint-bluegreenupdatepolicy-maximumexecutiontimeoutinseconds - MaximumExecutionTimeoutInSeconds *types.Value `json:"MaximumExecutionTimeoutInSeconds,omitempty"` - - // TerminationWaitInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html#cfn-sagemaker-endpoint-bluegreenupdatepolicy-terminationwaitinseconds - TerminationWaitInSeconds *types.Value `json:"TerminationWaitInSeconds,omitempty"` - - // TrafficRoutingConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html#cfn-sagemaker-endpoint-bluegreenupdatepolicy-trafficroutingconfiguration - TrafficRoutingConfiguration *Endpoint_TrafficRoutingConfig `json:"TrafficRoutingConfiguration,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 *Endpoint_BlueGreenUpdatePolicy) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_capacitysize.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_capacitysize.go deleted file mode 100644 index 420aefe908..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_capacitysize.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_CapacitySize AWS CloudFormation Resource (AWS::SageMaker::Endpoint.CapacitySize) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-capacitysize.html -type Endpoint_CapacitySize struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-capacitysize.html#cfn-sagemaker-endpoint-capacitysize-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-capacitysize.html#cfn-sagemaker-endpoint-capacitysize-value - Value *types.Value `json:"Value"` - - // 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 *Endpoint_CapacitySize) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.CapacitySize" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_deploymentconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_deploymentconfig.go deleted file mode 100644 index ff0627e5db..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_deploymentconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_DeploymentConfig AWS CloudFormation Resource (AWS::SageMaker::Endpoint.DeploymentConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html -type Endpoint_DeploymentConfig struct { - - // AutoRollbackConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html#cfn-sagemaker-endpoint-deploymentconfig-autorollbackconfiguration - AutoRollbackConfiguration *Endpoint_AutoRollbackConfig `json:"AutoRollbackConfiguration,omitempty"` - - // BlueGreenUpdatePolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html#cfn-sagemaker-endpoint-deploymentconfig-bluegreenupdatepolicy - BlueGreenUpdatePolicy *Endpoint_BlueGreenUpdatePolicy `json:"BlueGreenUpdatePolicy,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 *Endpoint_DeploymentConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.DeploymentConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_trafficroutingconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_trafficroutingconfig.go deleted file mode 100644 index c76c17595a..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_trafficroutingconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_TrafficRoutingConfig AWS CloudFormation Resource (AWS::SageMaker::Endpoint.TrafficRoutingConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html -type Endpoint_TrafficRoutingConfig struct { - - // CanarySize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html#cfn-sagemaker-endpoint-trafficroutingconfig-canarysize - CanarySize *Endpoint_CapacitySize `json:"CanarySize,omitempty"` - - // LinearStepSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html#cfn-sagemaker-endpoint-trafficroutingconfig-linearstepsize - LinearStepSize *Endpoint_CapacitySize `json:"LinearStepSize,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html#cfn-sagemaker-endpoint-trafficroutingconfig-type - Type *types.Value `json:"Type,omitempty"` - - // WaitIntervalInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html#cfn-sagemaker-endpoint-trafficroutingconfig-waitintervalinseconds - WaitIntervalInSeconds *types.Value `json:"WaitIntervalInSeconds,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 *Endpoint_TrafficRoutingConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.TrafficRoutingConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_variantproperty.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_variantproperty.go deleted file mode 100644 index 2510458cfe..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpoint_variantproperty.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Endpoint_VariantProperty AWS CloudFormation Resource (AWS::SageMaker::Endpoint.VariantProperty) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html -type Endpoint_VariantProperty struct { - - // VariantPropertyType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html#cfn-sagemaker-endpoint-variantproperty-variantpropertytype - VariantPropertyType *types.Value `json:"VariantPropertyType,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 *Endpoint_VariantProperty) AWSCloudFormationType() string { - return "AWS::SageMaker::Endpoint.VariantProperty" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig.go deleted file mode 100644 index b4071daa82..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig.go +++ /dev/null @@ -1,134 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html -type EndpointConfig struct { - - // AsyncInferenceConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceconfig - AsyncInferenceConfig *EndpointConfig_AsyncInferenceConfig `json:"AsyncInferenceConfig,omitempty"` - - // DataCaptureConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig - DataCaptureConfig *EndpointConfig_DataCaptureConfig `json:"DataCaptureConfig,omitempty"` - - // EndpointConfigName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-endpointconfigname - EndpointConfigName *types.Value `json:"EndpointConfigName,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // ProductionVariants AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-productionvariants - ProductionVariants []EndpointConfig_ProductionVariant `json:"ProductionVariants,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-tags - Tags []cloudformation.Tag `json:"Tags,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 *EndpointConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig" -} - -// 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 (r EndpointConfig) MarshalJSON() ([]byte, error) { - type Properties EndpointConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *EndpointConfig) UnmarshalJSON(b []byte) error { - type Properties EndpointConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = EndpointConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceclientconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceclientconfig.go deleted file mode 100644 index e447ff4cb5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceclientconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_AsyncInferenceClientConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceclientconfig.html -type EndpointConfig_AsyncInferenceClientConfig struct { - - // MaxConcurrentInvocationsPerInstance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceclientconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceclientconfig-maxconcurrentinvocationsperinstance - MaxConcurrentInvocationsPerInstance *types.Value `json:"MaxConcurrentInvocationsPerInstance,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 *EndpointConfig_AsyncInferenceClientConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceconfig.go deleted file mode 100644 index 1741d4d032..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_AsyncInferenceConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.AsyncInferenceConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceconfig.html -type EndpointConfig_AsyncInferenceConfig struct { - - // ClientConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceconfig-clientconfig - ClientConfig *EndpointConfig_AsyncInferenceClientConfig `json:"ClientConfig,omitempty"` - - // OutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceconfig-outputconfig - OutputConfig *EndpointConfig_AsyncInferenceOutputConfig `json:"OutputConfig,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 *EndpointConfig_AsyncInferenceConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.AsyncInferenceConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferencenotificationconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferencenotificationconfig.go deleted file mode 100644 index 966e6bde4a..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferencenotificationconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_AsyncInferenceNotificationConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferencenotificationconfig.html -type EndpointConfig_AsyncInferenceNotificationConfig struct { - - // ErrorTopic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferencenotificationconfig.html#cfn-sagemaker-endpointconfig-asyncinferencenotificationconfig-errortopic - ErrorTopic *types.Value `json:"ErrorTopic,omitempty"` - - // SuccessTopic AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferencenotificationconfig.html#cfn-sagemaker-endpointconfig-asyncinferencenotificationconfig-successtopic - SuccessTopic *types.Value `json:"SuccessTopic,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 *EndpointConfig_AsyncInferenceNotificationConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceoutputconfig.go deleted file mode 100644 index 0c382ad72c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_asyncinferenceoutputconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_AsyncInferenceOutputConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceoutputconfig.html -type EndpointConfig_AsyncInferenceOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceoutputconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // NotificationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceoutputconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceoutputconfig-notificationconfig - NotificationConfig *EndpointConfig_AsyncInferenceNotificationConfig `json:"NotificationConfig,omitempty"` - - // S3OutputPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceoutputconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceoutputconfig-s3outputpath - S3OutputPath *types.Value `json:"S3OutputPath,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 *EndpointConfig_AsyncInferenceOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_capturecontenttypeheader.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_capturecontenttypeheader.go deleted file mode 100644 index fa5d7bdbb4..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_capturecontenttypeheader.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_CaptureContentTypeHeader AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader.html -type EndpointConfig_CaptureContentTypeHeader struct { - - // CsvContentTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader.html#cfn-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader-csvcontenttypes - CsvContentTypes *types.Value `json:"CsvContentTypes,omitempty"` - - // JsonContentTypes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader.html#cfn-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader-jsoncontenttypes - JsonContentTypes *types.Value `json:"JsonContentTypes,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 *EndpointConfig_CaptureContentTypeHeader) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_datacaptureconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_datacaptureconfig.go deleted file mode 100644 index cbaad37775..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_datacaptureconfig.go +++ /dev/null @@ -1,62 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_DataCaptureConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.DataCaptureConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html -type EndpointConfig_DataCaptureConfig struct { - - // CaptureContentTypeHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-capturecontenttypeheader - CaptureContentTypeHeader *EndpointConfig_CaptureContentTypeHeader `json:"CaptureContentTypeHeader,omitempty"` - - // CaptureOptions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-captureoptions - CaptureOptions []EndpointConfig_CaptureOption `json:"CaptureOptions,omitempty"` - - // DestinationS3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-destinations3uri - DestinationS3Uri *types.Value `json:"DestinationS3Uri,omitempty"` - - // EnableCapture AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-enablecapture - EnableCapture *types.Value `json:"EnableCapture,omitempty"` - - // InitialSamplingPercentage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-initialsamplingpercentage - InitialSamplingPercentage *types.Value `json:"InitialSamplingPercentage"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,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 *EndpointConfig_DataCaptureConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.DataCaptureConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_productionvariant.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_productionvariant.go deleted file mode 100644 index 4b0bba7fbc..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_productionvariant.go +++ /dev/null @@ -1,67 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_ProductionVariant AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.ProductionVariant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html -type EndpointConfig_ProductionVariant struct { - - // AcceleratorType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-acceleratortype - AcceleratorType *types.Value `json:"AcceleratorType,omitempty"` - - // InitialInstanceCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-initialinstancecount - InitialInstanceCount *types.Value `json:"InitialInstanceCount,omitempty"` - - // InitialVariantWeight AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-initialvariantweight - InitialVariantWeight *types.Value `json:"InitialVariantWeight"` - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // ModelName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-modelname - ModelName *types.Value `json:"ModelName,omitempty"` - - // ServerlessConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-serverlessconfig - ServerlessConfig *EndpointConfig_ServerlessConfig `json:"ServerlessConfig,omitempty"` - - // VariantName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-variantname - VariantName *types.Value `json:"VariantName,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 *EndpointConfig_ProductionVariant) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.ProductionVariant" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_serverlessconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_serverlessconfig.go deleted file mode 100644 index aa0667b944..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-endpointconfig_serverlessconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// EndpointConfig_ServerlessConfig AWS CloudFormation Resource (AWS::SageMaker::EndpointConfig.ServerlessConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-serverlessconfig.html -type EndpointConfig_ServerlessConfig struct { - - // MaxConcurrency AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-serverlessconfig.html#cfn-sagemaker-endpointconfig-productionvariant-serverlessconfig-maxconcurrency - MaxConcurrency *types.Value `json:"MaxConcurrency"` - - // MemorySizeInMB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-serverlessconfig.html#cfn-sagemaker-endpointconfig-productionvariant-serverlessconfig-memorysizeinmb - MemorySizeInMB *types.Value `json:"MemorySizeInMB"` - - // 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 *EndpointConfig_ServerlessConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::EndpointConfig.ServerlessConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup.go deleted file mode 100644 index 52e43674d1..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup.go +++ /dev/null @@ -1,149 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FeatureGroup AWS CloudFormation Resource (AWS::SageMaker::FeatureGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html -type FeatureGroup struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-description - Description *types.Value `json:"Description,omitempty"` - - // EventTimeFeatureName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-eventtimefeaturename - EventTimeFeatureName *types.Value `json:"EventTimeFeatureName,omitempty"` - - // FeatureDefinitions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-featuredefinitions - FeatureDefinitions []FeatureGroup_FeatureDefinition `json:"FeatureDefinitions,omitempty"` - - // FeatureGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-featuregroupname - FeatureGroupName *types.Value `json:"FeatureGroupName,omitempty"` - - // OfflineStoreConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-offlinestoreconfig - OfflineStoreConfig interface{} `json:"OfflineStoreConfig,omitempty"` - - // OnlineStoreConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-onlinestoreconfig - OnlineStoreConfig interface{} `json:"OnlineStoreConfig,omitempty"` - - // RecordIdentifierFeatureName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-recordidentifierfeaturename - RecordIdentifierFeatureName *types.Value `json:"RecordIdentifierFeatureName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html#cfn-sagemaker-featuregroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *FeatureGroup) AWSCloudFormationType() string { - return "AWS::SageMaker::FeatureGroup" -} - -// 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 (r FeatureGroup) MarshalJSON() ([]byte, error) { - type Properties FeatureGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *FeatureGroup) UnmarshalJSON(b []byte) error { - type Properties FeatureGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = FeatureGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup_featuredefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup_featuredefinition.go deleted file mode 100644 index b31be0d1ab..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-featuregroup_featuredefinition.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// FeatureGroup_FeatureDefinition AWS CloudFormation Resource (AWS::SageMaker::FeatureGroup.FeatureDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html -type FeatureGroup_FeatureDefinition struct { - - // FeatureName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html#cfn-sagemaker-featuregroup-featuredefinition-featurename - FeatureName *types.Value `json:"FeatureName,omitempty"` - - // FeatureType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html#cfn-sagemaker-featuregroup-featuredefinition-featuretype - FeatureType *types.Value `json:"FeatureType,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 *FeatureGroup_FeatureDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::FeatureGroup.FeatureDefinition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-image.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-image.go deleted file mode 100644 index 0c1be8aa85..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-image.go +++ /dev/null @@ -1,129 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Image AWS CloudFormation Resource (AWS::SageMaker::Image) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html -type Image struct { - - // ImageDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html#cfn-sagemaker-image-imagedescription - ImageDescription *types.Value `json:"ImageDescription,omitempty"` - - // ImageDisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html#cfn-sagemaker-image-imagedisplayname - ImageDisplayName *types.Value `json:"ImageDisplayName,omitempty"` - - // ImageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html#cfn-sagemaker-image-imagename - ImageName *types.Value `json:"ImageName,omitempty"` - - // ImageRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html#cfn-sagemaker-image-imagerolearn - ImageRoleArn *types.Value `json:"ImageRoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html#cfn-sagemaker-image-tags - Tags []cloudformation.Tag `json:"Tags,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 *Image) AWSCloudFormationType() string { - return "AWS::SageMaker::Image" -} - -// 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 (r Image) MarshalJSON() ([]byte, error) { - type Properties Image - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Image) UnmarshalJSON(b []byte) error { - type Properties Image - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Image(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-imageversion.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-imageversion.go deleted file mode 100644 index 613f48afca..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-imageversion.go +++ /dev/null @@ -1,113 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ImageVersion AWS CloudFormation Resource (AWS::SageMaker::ImageVersion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html -type ImageVersion struct { - - // BaseImage AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-baseimage - BaseImage *types.Value `json:"BaseImage,omitempty"` - - // ImageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-imagename - ImageName *types.Value `json:"ImageName,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 *ImageVersion) AWSCloudFormationType() string { - return "AWS::SageMaker::ImageVersion" -} - -// 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 (r ImageVersion) MarshalJSON() ([]byte, error) { - type Properties ImageVersion - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ImageVersion) UnmarshalJSON(b []byte) error { - type Properties ImageVersion - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ImageVersion(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model.go deleted file mode 100644 index b6e60182c7..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model.go +++ /dev/null @@ -1,144 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model AWS CloudFormation Resource (AWS::SageMaker::Model) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html -type Model struct { - - // Containers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-containers - Containers []Model_ContainerDefinition `json:"Containers,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // InferenceExecutionConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-inferenceexecutionconfig - InferenceExecutionConfig *Model_InferenceExecutionConfig `json:"InferenceExecutionConfig,omitempty"` - - // ModelName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-modelname - ModelName *types.Value `json:"ModelName,omitempty"` - - // PrimaryContainer AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-primarycontainer - PrimaryContainer *Model_ContainerDefinition `json:"PrimaryContainer,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-vpcconfig - VpcConfig *Model_VpcConfig `json:"VpcConfig,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 *Model) AWSCloudFormationType() string { - return "AWS::SageMaker::Model" -} - -// 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 (r Model) MarshalJSON() ([]byte, error) { - type Properties Model - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Model) UnmarshalJSON(b []byte) error { - type Properties Model - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Model(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_containerdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_containerdefinition.go deleted file mode 100644 index 5d31446ed5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_containerdefinition.go +++ /dev/null @@ -1,77 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_ContainerDefinition AWS CloudFormation Resource (AWS::SageMaker::Model.ContainerDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html -type Model_ContainerDefinition struct { - - // ContainerHostname AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-containerhostname - ContainerHostname *types.Value `json:"ContainerHostname,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-environment - Environment interface{} `json:"Environment,omitempty"` - - // Image AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-image - Image *types.Value `json:"Image,omitempty"` - - // ImageConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-imageconfig - ImageConfig *Model_ImageConfig `json:"ImageConfig,omitempty"` - - // InferenceSpecificationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-inferencespecificationname - InferenceSpecificationName *types.Value `json:"InferenceSpecificationName,omitempty"` - - // Mode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-mode - Mode *types.Value `json:"Mode,omitempty"` - - // ModelDataUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-modeldataurl - ModelDataUrl *types.Value `json:"ModelDataUrl,omitempty"` - - // ModelPackageName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-modelpackagename - ModelPackageName *types.Value `json:"ModelPackageName,omitempty"` - - // MultiModelConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-multimodelconfig - MultiModelConfig *Model_MultiModelConfig `json:"MultiModelConfig,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 *Model_ContainerDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.ContainerDefinition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_imageconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_imageconfig.go deleted file mode 100644 index ed62036785..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_imageconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_ImageConfig AWS CloudFormation Resource (AWS::SageMaker::Model.ImageConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig.html -type Model_ImageConfig struct { - - // RepositoryAccessMode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig.html#cfn-sagemaker-model-containerdefinition-imageconfig-repositoryaccessmode - RepositoryAccessMode *types.Value `json:"RepositoryAccessMode,omitempty"` - - // RepositoryAuthConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig.html#cfn-sagemaker-model-containerdefinition-imageconfig-repositoryauthconfig - RepositoryAuthConfig *Model_RepositoryAuthConfig `json:"RepositoryAuthConfig,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 *Model_ImageConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.ImageConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_inferenceexecutionconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_inferenceexecutionconfig.go deleted file mode 100644 index f1253fd277..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_inferenceexecutionconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_InferenceExecutionConfig AWS CloudFormation Resource (AWS::SageMaker::Model.InferenceExecutionConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-inferenceexecutionconfig.html -type Model_InferenceExecutionConfig struct { - - // Mode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-inferenceexecutionconfig.html#cfn-sagemaker-model-inferenceexecutionconfig-mode - Mode *types.Value `json:"Mode,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 *Model_InferenceExecutionConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.InferenceExecutionConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_multimodelconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_multimodelconfig.go deleted file mode 100644 index 63737a6202..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_multimodelconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_MultiModelConfig AWS CloudFormation Resource (AWS::SageMaker::Model.MultiModelConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-multimodelconfig.html -type Model_MultiModelConfig struct { - - // ModelCacheSetting AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-multimodelconfig.html#cfn-sagemaker-model-containerdefinition-multimodelconfig-modelcachesetting - ModelCacheSetting *types.Value `json:"ModelCacheSetting,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 *Model_MultiModelConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.MultiModelConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_repositoryauthconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_repositoryauthconfig.go deleted file mode 100644 index 68b887aefa..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_repositoryauthconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_RepositoryAuthConfig AWS CloudFormation Resource (AWS::SageMaker::Model.RepositoryAuthConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig-repositoryauthconfig.html -type Model_RepositoryAuthConfig struct { - - // RepositoryCredentialsProviderArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig-repositoryauthconfig.html#cfn-sagemaker-model-containerdefinition-imageconfig-repositoryauthconfig-repositorycredentialsproviderarn - RepositoryCredentialsProviderArn *types.Value `json:"RepositoryCredentialsProviderArn,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 *Model_RepositoryAuthConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.RepositoryAuthConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_vpcconfig.go deleted file mode 100644 index 83720feb5b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-model_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Model_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::Model.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html -type Model_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *Model_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::Model.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition.go deleted file mode 100644 index 2d128c7033..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition.go +++ /dev/null @@ -1,154 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html -type ModelBiasJobDefinition struct { - - // JobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-jobdefinitionname - JobDefinitionName *types.Value `json:"JobDefinitionName,omitempty"` - - // JobResources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-jobresources - JobResources *ModelBiasJobDefinition_MonitoringResources `json:"JobResources,omitempty"` - - // ModelBiasAppSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasappspecification - ModelBiasAppSpecification *ModelBiasJobDefinition_ModelBiasAppSpecification `json:"ModelBiasAppSpecification,omitempty"` - - // ModelBiasBaselineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig - ModelBiasBaselineConfig *ModelBiasJobDefinition_ModelBiasBaselineConfig `json:"ModelBiasBaselineConfig,omitempty"` - - // ModelBiasJobInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasjobinput - ModelBiasJobInput *ModelBiasJobDefinition_ModelBiasJobInput `json:"ModelBiasJobInput,omitempty"` - - // ModelBiasJobOutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasjoboutputconfig - ModelBiasJobOutputConfig *ModelBiasJobDefinition_MonitoringOutputConfig `json:"ModelBiasJobOutputConfig,omitempty"` - - // NetworkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-networkconfig - NetworkConfig *ModelBiasJobDefinition_NetworkConfig `json:"NetworkConfig,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StoppingCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-stoppingcondition - StoppingCondition *ModelBiasJobDefinition_StoppingCondition `json:"StoppingCondition,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html#cfn-sagemaker-modelbiasjobdefinition-tags - Tags []cloudformation.Tag `json:"Tags,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 *ModelBiasJobDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition" -} - -// 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 (r ModelBiasJobDefinition) MarshalJSON() ([]byte, error) { - type Properties ModelBiasJobDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ModelBiasJobDefinition) UnmarshalJSON(b []byte) error { - type Properties ModelBiasJobDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ModelBiasJobDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_clusterconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_clusterconfig.go deleted file mode 100644 index b7e6e83019..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_clusterconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_ClusterConfig AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-clusterconfig.html -type ModelBiasJobDefinition_ClusterConfig struct { - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-clusterconfig.html#cfn-sagemaker-modelbiasjobdefinition-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-clusterconfig.html#cfn-sagemaker-modelbiasjobdefinition-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // VolumeKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-clusterconfig.html#cfn-sagemaker-modelbiasjobdefinition-clusterconfig-volumekmskeyid - VolumeKmsKeyId *types.Value `json:"VolumeKmsKeyId,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-clusterconfig.html#cfn-sagemaker-modelbiasjobdefinition-clusterconfig-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *ModelBiasJobDefinition_ClusterConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_endpointinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_endpointinput.go deleted file mode 100644 index d83bb9015c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_endpointinput.go +++ /dev/null @@ -1,82 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_EndpointInput AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.EndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html -type ModelBiasJobDefinition_EndpointInput struct { - - // EndTimeOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-endtimeoffset - EndTimeOffset *types.Value `json:"EndTimeOffset,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // FeaturesAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-featuresattribute - FeaturesAttribute *types.Value `json:"FeaturesAttribute,omitempty"` - - // InferenceAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-inferenceattribute - InferenceAttribute *types.Value `json:"InferenceAttribute,omitempty"` - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // ProbabilityAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-probabilityattribute - ProbabilityAttribute *types.Value `json:"ProbabilityAttribute,omitempty"` - - // ProbabilityThresholdAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-probabilitythresholdattribute - ProbabilityThresholdAttribute *types.Value `json:"ProbabilityThresholdAttribute,omitempty"` - - // S3DataDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-s3datadistributiontype - S3DataDistributionType *types.Value `json:"S3DataDistributionType,omitempty"` - - // S3InputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-s3inputmode - S3InputMode *types.Value `json:"S3InputMode,omitempty"` - - // StartTimeOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-endpointinput.html#cfn-sagemaker-modelbiasjobdefinition-endpointinput-starttimeoffset - StartTimeOffset *types.Value `json:"StartTimeOffset,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 *ModelBiasJobDefinition_EndpointInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.EndpointInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasappspecification.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasappspecification.go deleted file mode 100644 index bb0423006b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasappspecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_ModelBiasAppSpecification AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasappspecification.html -type ModelBiasJobDefinition_ModelBiasAppSpecification struct { - - // ConfigUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasappspecification.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasappspecification-configuri - ConfigUri *types.Value `json:"ConfigUri,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasappspecification.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasappspecification-environment - Environment map[string]*types.Value `json:"Environment,omitempty"` - - // ImageUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasappspecification.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasappspecification-imageuri - ImageUri *types.Value `json:"ImageUri,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 *ModelBiasJobDefinition_ModelBiasAppSpecification) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasbaselineconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasbaselineconfig.go deleted file mode 100644 index fe5e26d03d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasbaselineconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_ModelBiasBaselineConfig AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig.html -type ModelBiasJobDefinition_ModelBiasBaselineConfig struct { - - // BaseliningJobName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig-baseliningjobname - BaseliningJobName *types.Value `json:"BaseliningJobName,omitempty"` - - // ConstraintsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig-constraintsresource - ConstraintsResource *ModelBiasJobDefinition_ConstraintsResource `json:"ConstraintsResource,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 *ModelBiasJobDefinition_ModelBiasBaselineConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasjobinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasjobinput.go deleted file mode 100644 index dfcbff7f7b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_modelbiasjobinput.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_ModelBiasJobInput AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasjobinput.html -type ModelBiasJobDefinition_ModelBiasJobInput struct { - - // EndpointInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasjobinput.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasjobinput-endpointinput - EndpointInput *ModelBiasJobDefinition_EndpointInput `json:"EndpointInput,omitempty"` - - // GroundTruthS3Input AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasjobinput.html#cfn-sagemaker-modelbiasjobdefinition-modelbiasjobinput-groundtruths3input - GroundTruthS3Input *ModelBiasJobDefinition_MonitoringGroundTruthS3Input `json:"GroundTruthS3Input,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 *ModelBiasJobDefinition_ModelBiasJobInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutput.go deleted file mode 100644 index 24ed635eff..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_MonitoringOutput AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutput.html -type ModelBiasJobDefinition_MonitoringOutput struct { - - // S3Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutput.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutput-s3output - S3Output *ModelBiasJobDefinition_S3Output `json:"S3Output,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 *ModelBiasJobDefinition_MonitoringOutput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutputconfig.go deleted file mode 100644 index 741287c049..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_MonitoringOutputConfig AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html -type ModelBiasJobDefinition_MonitoringOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MonitoringOutputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelbiasjobdefinition-monitoringoutputconfig-monitoringoutputs - MonitoringOutputs []ModelBiasJobDefinition_MonitoringOutput `json:"MonitoringOutputs,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 *ModelBiasJobDefinition_MonitoringOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringresources.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringresources.go deleted file mode 100644 index 8bc8fd99bc..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_monitoringresources.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_MonitoringResources AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringresources.html -type ModelBiasJobDefinition_MonitoringResources struct { - - // ClusterConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-monitoringresources.html#cfn-sagemaker-modelbiasjobdefinition-monitoringresources-clusterconfig - ClusterConfig *ModelBiasJobDefinition_ClusterConfig `json:"ClusterConfig,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 *ModelBiasJobDefinition_MonitoringResources) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_networkconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_networkconfig.go deleted file mode 100644 index 1cc2decfe1..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_networkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_NetworkConfig AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-networkconfig.html -type ModelBiasJobDefinition_NetworkConfig struct { - - // EnableInterContainerTrafficEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-networkconfig.html#cfn-sagemaker-modelbiasjobdefinition-networkconfig-enableintercontainertrafficencryption - EnableInterContainerTrafficEncryption *types.Value `json:"EnableInterContainerTrafficEncryption,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-networkconfig.html#cfn-sagemaker-modelbiasjobdefinition-networkconfig-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-networkconfig.html#cfn-sagemaker-modelbiasjobdefinition-networkconfig-vpcconfig - VpcConfig *ModelBiasJobDefinition_VpcConfig `json:"VpcConfig,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 *ModelBiasJobDefinition_NetworkConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_s3output.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_s3output.go deleted file mode 100644 index 6ffe4c406e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_s3output.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_S3Output AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.S3Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-s3output.html -type ModelBiasJobDefinition_S3Output struct { - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-s3output.html#cfn-sagemaker-modelbiasjobdefinition-s3output-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3UploadMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-s3output.html#cfn-sagemaker-modelbiasjobdefinition-s3output-s3uploadmode - S3UploadMode *types.Value `json:"S3UploadMode,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-s3output.html#cfn-sagemaker-modelbiasjobdefinition-s3output-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ModelBiasJobDefinition_S3Output) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.S3Output" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_stoppingcondition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_stoppingcondition.go deleted file mode 100644 index 4c04a4c92c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_stoppingcondition.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_StoppingCondition AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-stoppingcondition.html -type ModelBiasJobDefinition_StoppingCondition struct { - - // MaxRuntimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-stoppingcondition.html#cfn-sagemaker-modelbiasjobdefinition-stoppingcondition-maxruntimeinseconds - MaxRuntimeInSeconds *types.Value `json:"MaxRuntimeInSeconds"` - - // 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 *ModelBiasJobDefinition_StoppingCondition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_vpcconfig.go deleted file mode 100644 index 44547cf130..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelbiasjobdefinition_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelBiasJobDefinition_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::ModelBiasJobDefinition.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-vpcconfig.html -type ModelBiasJobDefinition_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-vpcconfig.html#cfn-sagemaker-modelbiasjobdefinition-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-vpcconfig.html#cfn-sagemaker-modelbiasjobdefinition-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *ModelBiasJobDefinition_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelBiasJobDefinition.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition.go deleted file mode 100644 index a85a236df5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition.go +++ /dev/null @@ -1,154 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html -type ModelExplainabilityJobDefinition struct { - - // JobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-jobdefinitionname - JobDefinitionName *types.Value `json:"JobDefinitionName,omitempty"` - - // JobResources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-jobresources - JobResources *ModelExplainabilityJobDefinition_MonitoringResources `json:"JobResources,omitempty"` - - // ModelExplainabilityAppSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification - ModelExplainabilityAppSpecification *ModelExplainabilityJobDefinition_ModelExplainabilityAppSpecification `json:"ModelExplainabilityAppSpecification,omitempty"` - - // ModelExplainabilityBaselineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig - ModelExplainabilityBaselineConfig *ModelExplainabilityJobDefinition_ModelExplainabilityBaselineConfig `json:"ModelExplainabilityBaselineConfig,omitempty"` - - // ModelExplainabilityJobInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput - ModelExplainabilityJobInput *ModelExplainabilityJobDefinition_ModelExplainabilityJobInput `json:"ModelExplainabilityJobInput,omitempty"` - - // ModelExplainabilityJobOutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjoboutputconfig - ModelExplainabilityJobOutputConfig *ModelExplainabilityJobDefinition_MonitoringOutputConfig `json:"ModelExplainabilityJobOutputConfig,omitempty"` - - // NetworkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-networkconfig - NetworkConfig *ModelExplainabilityJobDefinition_NetworkConfig `json:"NetworkConfig,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StoppingCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-stoppingcondition - StoppingCondition *ModelExplainabilityJobDefinition_StoppingCondition `json:"StoppingCondition,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html#cfn-sagemaker-modelexplainabilityjobdefinition-tags - Tags []cloudformation.Tag `json:"Tags,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 *ModelExplainabilityJobDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition" -} - -// 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 (r ModelExplainabilityJobDefinition) MarshalJSON() ([]byte, error) { - type Properties ModelExplainabilityJobDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ModelExplainabilityJobDefinition) UnmarshalJSON(b []byte) error { - type Properties ModelExplainabilityJobDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ModelExplainabilityJobDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_clusterconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_clusterconfig.go deleted file mode 100644 index 0cf63a1a03..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_clusterconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_ClusterConfig AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-clusterconfig.html -type ModelExplainabilityJobDefinition_ClusterConfig struct { - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-clusterconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-clusterconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // VolumeKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-clusterconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-clusterconfig-volumekmskeyid - VolumeKmsKeyId *types.Value `json:"VolumeKmsKeyId,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-clusterconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-clusterconfig-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *ModelExplainabilityJobDefinition_ClusterConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_endpointinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_endpointinput.go deleted file mode 100644 index 24c89f082c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_endpointinput.go +++ /dev/null @@ -1,67 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_EndpointInput AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html -type ModelExplainabilityJobDefinition_EndpointInput struct { - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // FeaturesAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-featuresattribute - FeaturesAttribute *types.Value `json:"FeaturesAttribute,omitempty"` - - // InferenceAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-inferenceattribute - InferenceAttribute *types.Value `json:"InferenceAttribute,omitempty"` - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // ProbabilityAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-probabilityattribute - ProbabilityAttribute *types.Value `json:"ProbabilityAttribute,omitempty"` - - // S3DataDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-s3datadistributiontype - S3DataDistributionType *types.Value `json:"S3DataDistributionType,omitempty"` - - // S3InputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-endpointinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-endpointinput-s3inputmode - S3InputMode *types.Value `json:"S3InputMode,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 *ModelExplainabilityJobDefinition_EndpointInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityappspecification.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityappspecification.go deleted file mode 100644 index 312001f6e6..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityappspecification.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_ModelExplainabilityAppSpecification AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification.html -type ModelExplainabilityJobDefinition_ModelExplainabilityAppSpecification struct { - - // ConfigUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification-configuri - ConfigUri *types.Value `json:"ConfigUri,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification-environment - Environment map[string]*types.Value `json:"Environment,omitempty"` - - // ImageUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification-imageuri - ImageUri *types.Value `json:"ImageUri,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 *ModelExplainabilityJobDefinition_ModelExplainabilityAppSpecification) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilitybaselineconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilitybaselineconfig.go deleted file mode 100644 index aabd7e53dc..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilitybaselineconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_ModelExplainabilityBaselineConfig AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig.html -type ModelExplainabilityJobDefinition_ModelExplainabilityBaselineConfig struct { - - // BaseliningJobName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig-baseliningjobname - BaseliningJobName *types.Value `json:"BaseliningJobName,omitempty"` - - // ConstraintsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig-constraintsresource - ConstraintsResource *ModelExplainabilityJobDefinition_ConstraintsResource `json:"ConstraintsResource,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 *ModelExplainabilityJobDefinition_ModelExplainabilityBaselineConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityjobinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityjobinput.go deleted file mode 100644 index 3cbdedfa2c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_modelexplainabilityjobinput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_ModelExplainabilityJobInput AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput.html -type ModelExplainabilityJobDefinition_ModelExplainabilityJobInput struct { - - // EndpointInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput.html#cfn-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityjobinput-endpointinput - EndpointInput *ModelExplainabilityJobDefinition_EndpointInput `json:"EndpointInput,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 *ModelExplainabilityJobDefinition_ModelExplainabilityJobInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutput.go deleted file mode 100644 index 7e05c1d1da..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_MonitoringOutput AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutput.html -type ModelExplainabilityJobDefinition_MonitoringOutput struct { - - // S3Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutput.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringoutput-s3output - S3Output *ModelExplainabilityJobDefinition_S3Output `json:"S3Output,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 *ModelExplainabilityJobDefinition_MonitoringOutput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutputconfig.go deleted file mode 100644 index a3ef05ab47..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_MonitoringOutputConfig AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html -type ModelExplainabilityJobDefinition_MonitoringOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MonitoringOutputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringoutputconfig-monitoringoutputs - MonitoringOutputs []ModelExplainabilityJobDefinition_MonitoringOutput `json:"MonitoringOutputs,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 *ModelExplainabilityJobDefinition_MonitoringOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringresources.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringresources.go deleted file mode 100644 index e62ce92dda..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_monitoringresources.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_MonitoringResources AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringresources.html -type ModelExplainabilityJobDefinition_MonitoringResources struct { - - // ClusterConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-monitoringresources.html#cfn-sagemaker-modelexplainabilityjobdefinition-monitoringresources-clusterconfig - ClusterConfig *ModelExplainabilityJobDefinition_ClusterConfig `json:"ClusterConfig,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 *ModelExplainabilityJobDefinition_MonitoringResources) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_networkconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_networkconfig.go deleted file mode 100644 index 8aa82ee0d5..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_networkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_NetworkConfig AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-networkconfig.html -type ModelExplainabilityJobDefinition_NetworkConfig struct { - - // EnableInterContainerTrafficEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-networkconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-networkconfig-enableintercontainertrafficencryption - EnableInterContainerTrafficEncryption *types.Value `json:"EnableInterContainerTrafficEncryption,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-networkconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-networkconfig-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-networkconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-networkconfig-vpcconfig - VpcConfig *ModelExplainabilityJobDefinition_VpcConfig `json:"VpcConfig,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 *ModelExplainabilityJobDefinition_NetworkConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_s3output.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_s3output.go deleted file mode 100644 index 3e95a1d166..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_s3output.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_S3Output AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-s3output.html -type ModelExplainabilityJobDefinition_S3Output struct { - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-s3output.html#cfn-sagemaker-modelexplainabilityjobdefinition-s3output-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3UploadMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-s3output.html#cfn-sagemaker-modelexplainabilityjobdefinition-s3output-s3uploadmode - S3UploadMode *types.Value `json:"S3UploadMode,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-s3output.html#cfn-sagemaker-modelexplainabilityjobdefinition-s3output-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ModelExplainabilityJobDefinition_S3Output) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_stoppingcondition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_stoppingcondition.go deleted file mode 100644 index 687e0e9db0..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_stoppingcondition.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_StoppingCondition AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-stoppingcondition.html -type ModelExplainabilityJobDefinition_StoppingCondition struct { - - // MaxRuntimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-stoppingcondition.html#cfn-sagemaker-modelexplainabilityjobdefinition-stoppingcondition-maxruntimeinseconds - MaxRuntimeInSeconds *types.Value `json:"MaxRuntimeInSeconds"` - - // 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 *ModelExplainabilityJobDefinition_StoppingCondition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_vpcconfig.go deleted file mode 100644 index 9c26ec5391..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelexplainabilityjobdefinition_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelExplainabilityJobDefinition_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-vpcconfig.html -type ModelExplainabilityJobDefinition_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-vpcconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-vpcconfig.html#cfn-sagemaker-modelexplainabilityjobdefinition-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *ModelExplainabilityJobDefinition_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelpackagegroup.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelpackagegroup.go deleted file mode 100644 index d5f1fe7df9..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelpackagegroup.go +++ /dev/null @@ -1,124 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelPackageGroup AWS CloudFormation Resource (AWS::SageMaker::ModelPackageGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html -type ModelPackageGroup struct { - - // ModelPackageGroupDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegroupdescription - ModelPackageGroupDescription *types.Value `json:"ModelPackageGroupDescription,omitempty"` - - // ModelPackageGroupName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegroupname - ModelPackageGroupName *types.Value `json:"ModelPackageGroupName,omitempty"` - - // ModelPackageGroupPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegrouppolicy - ModelPackageGroupPolicy interface{} `json:"ModelPackageGroupPolicy,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-tags - Tags []cloudformation.Tag `json:"Tags,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 *ModelPackageGroup) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelPackageGroup" -} - -// 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 (r ModelPackageGroup) MarshalJSON() ([]byte, error) { - type Properties ModelPackageGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ModelPackageGroup) UnmarshalJSON(b []byte) error { - type Properties ModelPackageGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ModelPackageGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition.go deleted file mode 100644 index 2abf51d25d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition.go +++ /dev/null @@ -1,154 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html -type ModelQualityJobDefinition struct { - - // JobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-jobdefinitionname - JobDefinitionName *types.Value `json:"JobDefinitionName,omitempty"` - - // JobResources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-jobresources - JobResources *ModelQualityJobDefinition_MonitoringResources `json:"JobResources,omitempty"` - - // ModelQualityAppSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification - ModelQualityAppSpecification *ModelQualityJobDefinition_ModelQualityAppSpecification `json:"ModelQualityAppSpecification,omitempty"` - - // ModelQualityBaselineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig - ModelQualityBaselineConfig *ModelQualityJobDefinition_ModelQualityBaselineConfig `json:"ModelQualityBaselineConfig,omitempty"` - - // ModelQualityJobInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjobinput - ModelQualityJobInput *ModelQualityJobDefinition_ModelQualityJobInput `json:"ModelQualityJobInput,omitempty"` - - // ModelQualityJobOutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjoboutputconfig - ModelQualityJobOutputConfig *ModelQualityJobDefinition_MonitoringOutputConfig `json:"ModelQualityJobOutputConfig,omitempty"` - - // NetworkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig - NetworkConfig *ModelQualityJobDefinition_NetworkConfig `json:"NetworkConfig,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StoppingCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-stoppingcondition - StoppingCondition *ModelQualityJobDefinition_StoppingCondition `json:"StoppingCondition,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-tags - Tags []cloudformation.Tag `json:"Tags,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 *ModelQualityJobDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition" -} - -// 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 (r ModelQualityJobDefinition) MarshalJSON() ([]byte, error) { - type Properties ModelQualityJobDefinition - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ModelQualityJobDefinition) UnmarshalJSON(b []byte) error { - type Properties ModelQualityJobDefinition - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ModelQualityJobDefinition(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_clusterconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_clusterconfig.go deleted file mode 100644 index 3b73d73c6b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_clusterconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_ClusterConfig AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-clusterconfig.html -type ModelQualityJobDefinition_ClusterConfig struct { - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-clusterconfig.html#cfn-sagemaker-modelqualityjobdefinition-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-clusterconfig.html#cfn-sagemaker-modelqualityjobdefinition-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // VolumeKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-clusterconfig.html#cfn-sagemaker-modelqualityjobdefinition-clusterconfig-volumekmskeyid - VolumeKmsKeyId *types.Value `json:"VolumeKmsKeyId,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-clusterconfig.html#cfn-sagemaker-modelqualityjobdefinition-clusterconfig-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *ModelQualityJobDefinition_ClusterConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_constraintsresource.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_constraintsresource.go deleted file mode 100644 index e874ea10d6..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_constraintsresource.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_ConstraintsResource AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-constraintsresource.html -type ModelQualityJobDefinition_ConstraintsResource struct { - - // S3Uri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-constraintsresource.html#cfn-sagemaker-modelqualityjobdefinition-constraintsresource-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ModelQualityJobDefinition_ConstraintsResource) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_endpointinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_endpointinput.go deleted file mode 100644 index c0b2e37f5d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_endpointinput.go +++ /dev/null @@ -1,77 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_EndpointInput AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.EndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html -type ModelQualityJobDefinition_EndpointInput struct { - - // EndTimeOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-endtimeoffset - EndTimeOffset *types.Value `json:"EndTimeOffset,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // InferenceAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-inferenceattribute - InferenceAttribute *types.Value `json:"InferenceAttribute,omitempty"` - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // ProbabilityAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-probabilityattribute - ProbabilityAttribute *types.Value `json:"ProbabilityAttribute,omitempty"` - - // ProbabilityThresholdAttribute AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-probabilitythresholdattribute - ProbabilityThresholdAttribute *types.Value `json:"ProbabilityThresholdAttribute,omitempty"` - - // S3DataDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-s3datadistributiontype - S3DataDistributionType *types.Value `json:"S3DataDistributionType,omitempty"` - - // S3InputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-s3inputmode - S3InputMode *types.Value `json:"S3InputMode,omitempty"` - - // StartTimeOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-endpointinput.html#cfn-sagemaker-modelqualityjobdefinition-endpointinput-starttimeoffset - StartTimeOffset *types.Value `json:"StartTimeOffset,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 *ModelQualityJobDefinition_EndpointInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.EndpointInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityappspecification.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityappspecification.go deleted file mode 100644 index 34ba4c49be..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityappspecification.go +++ /dev/null @@ -1,67 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_ModelQualityAppSpecification AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html -type ModelQualityJobDefinition_ModelQualityAppSpecification struct { - - // ContainerArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-containerarguments - ContainerArguments *types.Value `json:"ContainerArguments,omitempty"` - - // ContainerEntrypoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-containerentrypoint - ContainerEntrypoint *types.Value `json:"ContainerEntrypoint,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-environment - Environment map[string]*types.Value `json:"Environment,omitempty"` - - // ImageUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-imageuri - ImageUri *types.Value `json:"ImageUri,omitempty"` - - // PostAnalyticsProcessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-postanalyticsprocessorsourceuri - PostAnalyticsProcessorSourceUri *types.Value `json:"PostAnalyticsProcessorSourceUri,omitempty"` - - // ProblemType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-problemtype - ProblemType *types.Value `json:"ProblemType,omitempty"` - - // RecordPreprocessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification-recordpreprocessorsourceuri - RecordPreprocessorSourceUri *types.Value `json:"RecordPreprocessorSourceUri,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 *ModelQualityJobDefinition_ModelQualityAppSpecification) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityjobinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityjobinput.go deleted file mode 100644 index 548df61b51..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_modelqualityjobinput.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_ModelQualityJobInput AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityjobinput.html -type ModelQualityJobDefinition_ModelQualityJobInput struct { - - // EndpointInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityjobinput.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjobinput-endpointinput - EndpointInput *ModelQualityJobDefinition_EndpointInput `json:"EndpointInput,omitempty"` - - // GroundTruthS3Input AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityjobinput.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjobinput-groundtruths3input - GroundTruthS3Input *ModelQualityJobDefinition_MonitoringGroundTruthS3Input `json:"GroundTruthS3Input,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 *ModelQualityJobDefinition_ModelQualityJobInput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringgroundtruths3input.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringgroundtruths3input.go deleted file mode 100644 index ca5984410a..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringgroundtruths3input.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_MonitoringGroundTruthS3Input AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringgroundtruths3input.html -type ModelQualityJobDefinition_MonitoringGroundTruthS3Input struct { - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringgroundtruths3input.html#cfn-sagemaker-modelqualityjobdefinition-monitoringgroundtruths3input-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ModelQualityJobDefinition_MonitoringGroundTruthS3Input) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutput.go deleted file mode 100644 index 7a2b3e00a8..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_MonitoringOutput AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutput.html -type ModelQualityJobDefinition_MonitoringOutput struct { - - // S3Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutput.html#cfn-sagemaker-modelqualityjobdefinition-monitoringoutput-s3output - S3Output *ModelQualityJobDefinition_S3Output `json:"S3Output,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 *ModelQualityJobDefinition_MonitoringOutput) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutputconfig.go deleted file mode 100644 index 35e72f921b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_MonitoringOutputConfig AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html -type ModelQualityJobDefinition_MonitoringOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelqualityjobdefinition-monitoringoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MonitoringOutputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringoutputconfig.html#cfn-sagemaker-modelqualityjobdefinition-monitoringoutputconfig-monitoringoutputs - MonitoringOutputs []ModelQualityJobDefinition_MonitoringOutput `json:"MonitoringOutputs,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 *ModelQualityJobDefinition_MonitoringOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringresources.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringresources.go deleted file mode 100644 index a061c578c2..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_monitoringresources.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_MonitoringResources AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringresources.html -type ModelQualityJobDefinition_MonitoringResources struct { - - // ClusterConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-monitoringresources.html#cfn-sagemaker-modelqualityjobdefinition-monitoringresources-clusterconfig - ClusterConfig *ModelQualityJobDefinition_ClusterConfig `json:"ClusterConfig,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 *ModelQualityJobDefinition_MonitoringResources) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_networkconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_networkconfig.go deleted file mode 100644 index 22ae2024e3..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_networkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_NetworkConfig AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html -type ModelQualityJobDefinition_NetworkConfig struct { - - // EnableInterContainerTrafficEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-enableintercontainertrafficencryption - EnableInterContainerTrafficEncryption *types.Value `json:"EnableInterContainerTrafficEncryption,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-vpcconfig - VpcConfig *ModelQualityJobDefinition_VpcConfig `json:"VpcConfig,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 *ModelQualityJobDefinition_NetworkConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_s3output.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_s3output.go deleted file mode 100644 index 811964e11e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_s3output.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_S3Output AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.S3Output) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-s3output.html -type ModelQualityJobDefinition_S3Output struct { - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-s3output.html#cfn-sagemaker-modelqualityjobdefinition-s3output-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3UploadMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-s3output.html#cfn-sagemaker-modelqualityjobdefinition-s3output-s3uploadmode - S3UploadMode *types.Value `json:"S3UploadMode,omitempty"` - - // S3Uri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-s3output.html#cfn-sagemaker-modelqualityjobdefinition-s3output-s3uri - S3Uri *types.Value `json:"S3Uri,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 *ModelQualityJobDefinition_S3Output) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.S3Output" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_stoppingcondition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_stoppingcondition.go deleted file mode 100644 index 44fece4c0e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_stoppingcondition.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_StoppingCondition AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-stoppingcondition.html -type ModelQualityJobDefinition_StoppingCondition struct { - - // MaxRuntimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-stoppingcondition.html#cfn-sagemaker-modelqualityjobdefinition-stoppingcondition-maxruntimeinseconds - MaxRuntimeInSeconds *types.Value `json:"MaxRuntimeInSeconds"` - - // 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 *ModelQualityJobDefinition_StoppingCondition) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_vpcconfig.go deleted file mode 100644 index 9ffe51065d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-modelqualityjobdefinition_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ModelQualityJobDefinition_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::ModelQualityJobDefinition.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-vpcconfig.html -type ModelQualityJobDefinition_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-vpcconfig.html#cfn-sagemaker-modelqualityjobdefinition-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-vpcconfig.html#cfn-sagemaker-modelqualityjobdefinition-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *ModelQualityJobDefinition_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::ModelQualityJobDefinition.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule.go deleted file mode 100644 index 97b9b7cd04..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule.go +++ /dev/null @@ -1,139 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html -type MonitoringSchedule struct { - - // EndpointName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // FailureReason AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-failurereason - FailureReason *types.Value `json:"FailureReason,omitempty"` - - // LastMonitoringExecutionSummary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-lastmonitoringexecutionsummary - LastMonitoringExecutionSummary *MonitoringSchedule_MonitoringExecutionSummary `json:"LastMonitoringExecutionSummary,omitempty"` - - // MonitoringScheduleConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-monitoringscheduleconfig - MonitoringScheduleConfig *MonitoringSchedule_MonitoringScheduleConfig `json:"MonitoringScheduleConfig,omitempty"` - - // MonitoringScheduleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-monitoringschedulename - MonitoringScheduleName *types.Value `json:"MonitoringScheduleName,omitempty"` - - // MonitoringScheduleStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-monitoringschedulestatus - MonitoringScheduleStatus *types.Value `json:"MonitoringScheduleStatus,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html#cfn-sagemaker-monitoringschedule-tags - Tags []cloudformation.Tag `json:"Tags,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 *MonitoringSchedule) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule" -} - -// 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 (r MonitoringSchedule) MarshalJSON() ([]byte, error) { - type Properties MonitoringSchedule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MonitoringSchedule) UnmarshalJSON(b []byte) error { - type Properties MonitoringSchedule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MonitoringSchedule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_baselineconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_baselineconfig.go deleted file mode 100644 index 07824a396e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_baselineconfig.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_BaselineConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.BaselineConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-baselineconfig.html -type MonitoringSchedule_BaselineConfig struct { - - // ConstraintsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-baselineconfig.html#cfn-sagemaker-monitoringschedule-baselineconfig-constraintsresource - ConstraintsResource *MonitoringSchedule_ConstraintsResource `json:"ConstraintsResource,omitempty"` - - // StatisticsResource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-baselineconfig.html#cfn-sagemaker-monitoringschedule-baselineconfig-statisticsresource - StatisticsResource *MonitoringSchedule_StatisticsResource `json:"StatisticsResource,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 *MonitoringSchedule_BaselineConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.BaselineConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_clusterconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_clusterconfig.go deleted file mode 100644 index c894cfc134..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_clusterconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_ClusterConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.ClusterConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-clusterconfig.html -type MonitoringSchedule_ClusterConfig struct { - - // InstanceCount AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-clusterconfig.html#cfn-sagemaker-monitoringschedule-clusterconfig-instancecount - InstanceCount *types.Value `json:"InstanceCount"` - - // InstanceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-clusterconfig.html#cfn-sagemaker-monitoringschedule-clusterconfig-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // VolumeKmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-clusterconfig.html#cfn-sagemaker-monitoringschedule-clusterconfig-volumekmskeyid - VolumeKmsKeyId *types.Value `json:"VolumeKmsKeyId,omitempty"` - - // VolumeSizeInGB AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-clusterconfig.html#cfn-sagemaker-monitoringschedule-clusterconfig-volumesizeingb - VolumeSizeInGB *types.Value `json:"VolumeSizeInGB"` - - // 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 *MonitoringSchedule_ClusterConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.ClusterConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_endpointinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_endpointinput.go deleted file mode 100644 index 3af9973099..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_endpointinput.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_EndpointInput AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.EndpointInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html -type MonitoringSchedule_EndpointInput struct { - - // EndpointName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html#cfn-sagemaker-monitoringschedule-endpointinput-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // LocalPath AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html#cfn-sagemaker-monitoringschedule-endpointinput-localpath - LocalPath *types.Value `json:"LocalPath,omitempty"` - - // S3DataDistributionType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html#cfn-sagemaker-monitoringschedule-endpointinput-s3datadistributiontype - S3DataDistributionType *types.Value `json:"S3DataDistributionType,omitempty"` - - // S3InputMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-endpointinput.html#cfn-sagemaker-monitoringschedule-endpointinput-s3inputmode - S3InputMode *types.Value `json:"S3InputMode,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 *MonitoringSchedule_EndpointInput) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.EndpointInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_environment.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_environment.go deleted file mode 100644 index 3d71c7653a..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_environment.go +++ /dev/null @@ -1,30 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_Environment AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.Environment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-environment.html -type MonitoringSchedule_Environment struct { - - // 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 *MonitoringSchedule_Environment) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.Environment" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringappspecification.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringappspecification.go deleted file mode 100644 index c6eeb82663..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringappspecification.go +++ /dev/null @@ -1,57 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringAppSpecification AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html -type MonitoringSchedule_MonitoringAppSpecification struct { - - // ContainerArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-containerarguments - ContainerArguments *types.Value `json:"ContainerArguments,omitempty"` - - // ContainerEntrypoint AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-containerentrypoint - ContainerEntrypoint *types.Value `json:"ContainerEntrypoint,omitempty"` - - // ImageUri AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-imageuri - ImageUri *types.Value `json:"ImageUri,omitempty"` - - // PostAnalyticsProcessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-postanalyticsprocessorsourceuri - PostAnalyticsProcessorSourceUri *types.Value `json:"PostAnalyticsProcessorSourceUri,omitempty"` - - // RecordPreprocessorSourceUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html#cfn-sagemaker-monitoringschedule-monitoringappspecification-recordpreprocessorsourceuri - RecordPreprocessorSourceUri *types.Value `json:"RecordPreprocessorSourceUri,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 *MonitoringSchedule_MonitoringAppSpecification) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringexecutionsummary.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringexecutionsummary.go deleted file mode 100644 index 56936ac481..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringexecutionsummary.go +++ /dev/null @@ -1,72 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringExecutionSummary AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html -type MonitoringSchedule_MonitoringExecutionSummary struct { - - // CreationTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-creationtime - CreationTime *types.Value `json:"CreationTime,omitempty"` - - // EndpointName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-endpointname - EndpointName *types.Value `json:"EndpointName,omitempty"` - - // FailureReason AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-failurereason - FailureReason *types.Value `json:"FailureReason,omitempty"` - - // LastModifiedTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-lastmodifiedtime - LastModifiedTime *types.Value `json:"LastModifiedTime,omitempty"` - - // MonitoringExecutionStatus AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-monitoringexecutionstatus - MonitoringExecutionStatus *types.Value `json:"MonitoringExecutionStatus,omitempty"` - - // MonitoringScheduleName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-monitoringschedulename - MonitoringScheduleName *types.Value `json:"MonitoringScheduleName,omitempty"` - - // ProcessingJobArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-processingjobarn - ProcessingJobArn *types.Value `json:"ProcessingJobArn,omitempty"` - - // ScheduledTime AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html#cfn-sagemaker-monitoringschedule-monitoringexecutionsummary-scheduledtime - ScheduledTime *types.Value `json:"ScheduledTime,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 *MonitoringSchedule_MonitoringExecutionSummary) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinput.go deleted file mode 100644 index dd16c0a3e4..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringInput AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringInput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringinput.html -type MonitoringSchedule_MonitoringInput struct { - - // EndpointInput AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringinput.html#cfn-sagemaker-monitoringschedule-monitoringinput-endpointinput - EndpointInput *MonitoringSchedule_EndpointInput `json:"EndpointInput,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 *MonitoringSchedule_MonitoringInput) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringInput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinputs.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinputs.go deleted file mode 100644 index c9a7f3244f..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringinputs.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringInputs AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringInputs) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringinputs.html -type MonitoringSchedule_MonitoringInputs struct { - - // MonitoringInputs AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringinputs.html#cfn-sagemaker-monitoringschedule-monitoringinputs-monitoringinputs - MonitoringInputs []MonitoringSchedule_MonitoringInput `json:"MonitoringInputs,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 *MonitoringSchedule_MonitoringInputs) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringInputs" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringjobdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringjobdefinition.go deleted file mode 100644 index a3082f0836..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringjobdefinition.go +++ /dev/null @@ -1,77 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringJobDefinition AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html -type MonitoringSchedule_MonitoringJobDefinition struct { - - // BaselineConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-baselineconfig - BaselineConfig *MonitoringSchedule_BaselineConfig `json:"BaselineConfig,omitempty"` - - // Environment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-environment - Environment map[string]*types.Value `json:"Environment,omitempty"` - - // MonitoringAppSpecification AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringappspecification - MonitoringAppSpecification *MonitoringSchedule_MonitoringAppSpecification `json:"MonitoringAppSpecification,omitempty"` - - // MonitoringInputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringinputs - MonitoringInputs []MonitoringSchedule_MonitoringInput `json:"MonitoringInputs,omitempty"` - - // MonitoringOutputConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringoutputconfig - MonitoringOutputConfig *MonitoringSchedule_MonitoringOutputConfig `json:"MonitoringOutputConfig,omitempty"` - - // MonitoringResources AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-monitoringresources - MonitoringResources *MonitoringSchedule_MonitoringResources `json:"MonitoringResources,omitempty"` - - // NetworkConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-networkconfig - NetworkConfig *MonitoringSchedule_NetworkConfig `json:"NetworkConfig,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StoppingCondition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html#cfn-sagemaker-monitoringschedule-monitoringjobdefinition-stoppingcondition - StoppingCondition *MonitoringSchedule_StoppingCondition `json:"StoppingCondition,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 *MonitoringSchedule_MonitoringJobDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutput.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutput.go deleted file mode 100644 index 82457005a3..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutput.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringOutput AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringOutput) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutput.html -type MonitoringSchedule_MonitoringOutput struct { - - // S3Output AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutput.html#cfn-sagemaker-monitoringschedule-monitoringoutput-s3output - S3Output *MonitoringSchedule_S3Output `json:"S3Output,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 *MonitoringSchedule_MonitoringOutput) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringOutput" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutputconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutputconfig.go deleted file mode 100644 index 0cfe102968..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringoutputconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringOutputConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html -type MonitoringSchedule_MonitoringOutputConfig struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html#cfn-sagemaker-monitoringschedule-monitoringoutputconfig-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // MonitoringOutputs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html#cfn-sagemaker-monitoringschedule-monitoringoutputconfig-monitoringoutputs - MonitoringOutputs []MonitoringSchedule_MonitoringOutput `json:"MonitoringOutputs,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 *MonitoringSchedule_MonitoringOutputConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringresources.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringresources.go deleted file mode 100644 index 40eaac914b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringresources.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringResources AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringResources) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringresources.html -type MonitoringSchedule_MonitoringResources struct { - - // ClusterConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringresources.html#cfn-sagemaker-monitoringschedule-monitoringresources-clusterconfig - ClusterConfig *MonitoringSchedule_ClusterConfig `json:"ClusterConfig,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 *MonitoringSchedule_MonitoringResources) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringResources" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringscheduleconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringscheduleconfig.go deleted file mode 100644 index aee8041578..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_monitoringscheduleconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_MonitoringScheduleConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html -type MonitoringSchedule_MonitoringScheduleConfig struct { - - // MonitoringJobDefinition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html#cfn-sagemaker-monitoringschedule-monitoringscheduleconfig-monitoringjobdefinition - MonitoringJobDefinition *MonitoringSchedule_MonitoringJobDefinition `json:"MonitoringJobDefinition,omitempty"` - - // MonitoringJobDefinitionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html#cfn-sagemaker-monitoringschedule-monitoringscheduleconfig-monitoringjobdefinitionname - MonitoringJobDefinitionName *types.Value `json:"MonitoringJobDefinitionName,omitempty"` - - // MonitoringType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html#cfn-sagemaker-monitoringschedule-monitoringscheduleconfig-monitoringtype - MonitoringType *types.Value `json:"MonitoringType,omitempty"` - - // ScheduleConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html#cfn-sagemaker-monitoringschedule-monitoringscheduleconfig-scheduleconfig - ScheduleConfig *MonitoringSchedule_ScheduleConfig `json:"ScheduleConfig,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 *MonitoringSchedule_MonitoringScheduleConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_networkconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_networkconfig.go deleted file mode 100644 index 9fa0f712d0..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_networkconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_NetworkConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.NetworkConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-networkconfig.html -type MonitoringSchedule_NetworkConfig struct { - - // EnableInterContainerTrafficEncryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-networkconfig.html#cfn-sagemaker-monitoringschedule-networkconfig-enableintercontainertrafficencryption - EnableInterContainerTrafficEncryption *types.Value `json:"EnableInterContainerTrafficEncryption,omitempty"` - - // EnableNetworkIsolation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-networkconfig.html#cfn-sagemaker-monitoringschedule-networkconfig-enablenetworkisolation - EnableNetworkIsolation *types.Value `json:"EnableNetworkIsolation,omitempty"` - - // VpcConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-networkconfig.html#cfn-sagemaker-monitoringschedule-networkconfig-vpcconfig - VpcConfig *MonitoringSchedule_VpcConfig `json:"VpcConfig,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 *MonitoringSchedule_NetworkConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.NetworkConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_scheduleconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_scheduleconfig.go deleted file mode 100644 index a10e0a06ce..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_scheduleconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_ScheduleConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.ScheduleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-scheduleconfig.html -type MonitoringSchedule_ScheduleConfig struct { - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-scheduleconfig.html#cfn-sagemaker-monitoringschedule-scheduleconfig-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *MonitoringSchedule_ScheduleConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.ScheduleConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_stoppingcondition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_stoppingcondition.go deleted file mode 100644 index 7f4a94fa92..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_stoppingcondition.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_StoppingCondition AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.StoppingCondition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-stoppingcondition.html -type MonitoringSchedule_StoppingCondition struct { - - // MaxRuntimeInSeconds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-stoppingcondition.html#cfn-sagemaker-monitoringschedule-stoppingcondition-maxruntimeinseconds - MaxRuntimeInSeconds *types.Value `json:"MaxRuntimeInSeconds"` - - // 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 *MonitoringSchedule_StoppingCondition) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.StoppingCondition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_vpcconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_vpcconfig.go deleted file mode 100644 index 491f767393..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-monitoringschedule_vpcconfig.go +++ /dev/null @@ -1,42 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MonitoringSchedule_VpcConfig AWS CloudFormation Resource (AWS::SageMaker::MonitoringSchedule.VpcConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-vpcconfig.html -type MonitoringSchedule_VpcConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-vpcconfig.html#cfn-sagemaker-monitoringschedule-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // Subnets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-vpcconfig.html#cfn-sagemaker-monitoringschedule-vpcconfig-subnets - Subnets *types.Value `json:"Subnets,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 *MonitoringSchedule_VpcConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::MonitoringSchedule.VpcConfig" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig.go deleted file mode 100644 index 08ee3a22da..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig.go +++ /dev/null @@ -1,118 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotebookInstanceLifecycleConfig AWS CloudFormation Resource (AWS::SageMaker::NotebookInstanceLifecycleConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html -type NotebookInstanceLifecycleConfig struct { - - // NotebookInstanceLifecycleConfigName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecycleconfigname - NotebookInstanceLifecycleConfigName *types.Value `json:"NotebookInstanceLifecycleConfigName,omitempty"` - - // OnCreate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-oncreate - OnCreate []NotebookInstanceLifecycleConfig_NotebookInstanceLifecycleHook `json:"OnCreate,omitempty"` - - // OnStart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-onstart - OnStart []NotebookInstanceLifecycleConfig_NotebookInstanceLifecycleHook `json:"OnStart,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 *NotebookInstanceLifecycleConfig) AWSCloudFormationType() string { - return "AWS::SageMaker::NotebookInstanceLifecycleConfig" -} - -// 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 (r NotebookInstanceLifecycleConfig) MarshalJSON() ([]byte, error) { - type Properties NotebookInstanceLifecycleConfig - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *NotebookInstanceLifecycleConfig) UnmarshalJSON(b []byte) error { - type Properties NotebookInstanceLifecycleConfig - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = NotebookInstanceLifecycleConfig(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig_notebookinstancelifecyclehook.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig_notebookinstancelifecyclehook.go deleted file mode 100644 index 69e75e937c..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-notebookinstancelifecycleconfig_notebookinstancelifecyclehook.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// NotebookInstanceLifecycleConfig_NotebookInstanceLifecycleHook AWS CloudFormation Resource (AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook.html -type NotebookInstanceLifecycleConfig_NotebookInstanceLifecycleHook struct { - - // Content AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook.html#cfn-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook-content - Content *types.Value `json:"Content,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 *NotebookInstanceLifecycleConfig_NotebookInstanceLifecycleHook) AWSCloudFormationType() string { - return "AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-pipeline.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-pipeline.go deleted file mode 100644 index c72687b72e..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-pipeline.go +++ /dev/null @@ -1,134 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Pipeline AWS CloudFormation Resource (AWS::SageMaker::Pipeline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html -type Pipeline struct { - - // PipelineDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-pipelinedefinition - PipelineDefinition interface{} `json:"PipelineDefinition,omitempty"` - - // PipelineDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-pipelinedescription - PipelineDescription *types.Value `json:"PipelineDescription,omitempty"` - - // PipelineDisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-pipelinedisplayname - PipelineDisplayName *types.Value `json:"PipelineDisplayName,omitempty"` - - // PipelineName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-pipelinename - PipelineName *types.Value `json:"PipelineName,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html#cfn-sagemaker-pipeline-tags - Tags []cloudformation.Tag `json:"Tags,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 *Pipeline) AWSCloudFormationType() string { - return "AWS::SageMaker::Pipeline" -} - -// 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 (r Pipeline) MarshalJSON() ([]byte, error) { - type Properties Pipeline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Pipeline) UnmarshalJSON(b []byte) error { - type Properties Pipeline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Pipeline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-project.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-project.go deleted file mode 100644 index 3fbe4de580..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-project.go +++ /dev/null @@ -1,124 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Project AWS CloudFormation Resource (AWS::SageMaker::Project) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html -type Project struct { - - // ProjectDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html#cfn-sagemaker-project-projectdescription - ProjectDescription *types.Value `json:"ProjectDescription,omitempty"` - - // ProjectName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html#cfn-sagemaker-project-projectname - ProjectName *types.Value `json:"ProjectName,omitempty"` - - // ServiceCatalogProvisioningDetails AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html#cfn-sagemaker-project-servicecatalogprovisioningdetails - ServiceCatalogProvisioningDetails interface{} `json:"ServiceCatalogProvisioningDetails,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html#cfn-sagemaker-project-tags - Tags []cloudformation.Tag `json:"Tags,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 *Project) AWSCloudFormationType() string { - return "AWS::SageMaker::Project" -} - -// 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 (r Project) MarshalJSON() ([]byte, error) { - type Properties Project - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Project) UnmarshalJSON(b []byte) error { - type Properties Project - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Project(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile.go deleted file mode 100644 index 8b22d68a07..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile.go +++ /dev/null @@ -1,134 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile AWS CloudFormation Resource (AWS::SageMaker::UserProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html -type UserProfile struct { - - // DomainId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-domainid - DomainId *types.Value `json:"DomainId,omitempty"` - - // SingleSignOnUserIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-singlesignonuseridentifier - SingleSignOnUserIdentifier *types.Value `json:"SingleSignOnUserIdentifier,omitempty"` - - // SingleSignOnUserValue AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-singlesignonuservalue - SingleSignOnUserValue *types.Value `json:"SingleSignOnUserValue,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserProfileName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-userprofilename - UserProfileName *types.Value `json:"UserProfileName,omitempty"` - - // UserSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html#cfn-sagemaker-userprofile-usersettings - UserSettings *UserProfile_UserSettings `json:"UserSettings,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 *UserProfile) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile" -} - -// 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 (r UserProfile) MarshalJSON() ([]byte, error) { - type Properties UserProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *UserProfile) UnmarshalJSON(b []byte) error { - type Properties UserProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = UserProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_customimage.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_customimage.go deleted file mode 100644 index ae9516d524..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_customimage.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_CustomImage AWS CloudFormation Resource (AWS::SageMaker::UserProfile.CustomImage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html -type UserProfile_CustomImage struct { - - // AppImageConfigName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-appimageconfigname - AppImageConfigName *types.Value `json:"AppImageConfigName,omitempty"` - - // ImageName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-imagename - ImageName *types.Value `json:"ImageName,omitempty"` - - // ImageVersionNumber AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-imageversionnumber - ImageVersionNumber *types.Value `json:"ImageVersionNumber,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 *UserProfile_CustomImage) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.CustomImage" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_jupyterserverappsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_jupyterserverappsettings.go deleted file mode 100644 index ba518db47d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_jupyterserverappsettings.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_JupyterServerAppSettings AWS CloudFormation Resource (AWS::SageMaker::UserProfile.JupyterServerAppSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html -type UserProfile_JupyterServerAppSettings struct { - - // DefaultResourceSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html#cfn-sagemaker-userprofile-jupyterserverappsettings-defaultresourcespec - DefaultResourceSpec *UserProfile_ResourceSpec `json:"DefaultResourceSpec,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 *UserProfile_JupyterServerAppSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.JupyterServerAppSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_kernelgatewayappsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_kernelgatewayappsettings.go deleted file mode 100644 index 6ebcce48b4..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_kernelgatewayappsettings.go +++ /dev/null @@ -1,40 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_KernelGatewayAppSettings AWS CloudFormation Resource (AWS::SageMaker::UserProfile.KernelGatewayAppSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html -type UserProfile_KernelGatewayAppSettings struct { - - // CustomImages AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-customimages - CustomImages []UserProfile_CustomImage `json:"CustomImages,omitempty"` - - // DefaultResourceSpec AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-defaultresourcespec - DefaultResourceSpec *UserProfile_ResourceSpec `json:"DefaultResourceSpec,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 *UserProfile_KernelGatewayAppSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.KernelGatewayAppSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_resourcespec.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_resourcespec.go deleted file mode 100644 index 707c0db28b..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_resourcespec.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_ResourceSpec AWS CloudFormation Resource (AWS::SageMaker::UserProfile.ResourceSpec) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html -type UserProfile_ResourceSpec struct { - - // InstanceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-instancetype - InstanceType *types.Value `json:"InstanceType,omitempty"` - - // SageMakerImageArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-sagemakerimagearn - SageMakerImageArn *types.Value `json:"SageMakerImageArn,omitempty"` - - // SageMakerImageVersionArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-sagemakerimageversionarn - SageMakerImageVersionArn *types.Value `json:"SageMakerImageVersionArn,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 *UserProfile_ResourceSpec) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.ResourceSpec" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_sharingsettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_sharingsettings.go deleted file mode 100644 index a187b19e4d..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_sharingsettings.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_SharingSettings AWS CloudFormation Resource (AWS::SageMaker::UserProfile.SharingSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html -type UserProfile_SharingSettings struct { - - // NotebookOutputOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-notebookoutputoption - NotebookOutputOption *types.Value `json:"NotebookOutputOption,omitempty"` - - // S3KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-s3kmskeyid - S3KmsKeyId *types.Value `json:"S3KmsKeyId,omitempty"` - - // S3OutputPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-s3outputpath - S3OutputPath *types.Value `json:"S3OutputPath,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 *UserProfile_SharingSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.SharingSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_usersettings.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_usersettings.go deleted file mode 100644 index 4614801366..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-userprofile_usersettings.go +++ /dev/null @@ -1,57 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// UserProfile_UserSettings AWS CloudFormation Resource (AWS::SageMaker::UserProfile.UserSettings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html -type UserProfile_UserSettings struct { - - // ExecutionRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-executionrole - ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - - // JupyterServerAppSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-jupyterserverappsettings - JupyterServerAppSettings *UserProfile_JupyterServerAppSettings `json:"JupyterServerAppSettings,omitempty"` - - // KernelGatewayAppSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-kernelgatewayappsettings - KernelGatewayAppSettings *UserProfile_KernelGatewayAppSettings `json:"KernelGatewayAppSettings,omitempty"` - - // SecurityGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-securitygroups - SecurityGroups *types.Value `json:"SecurityGroups,omitempty"` - - // SharingSettings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-sharingsettings - SharingSettings *UserProfile_SharingSettings `json:"SharingSettings,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 *UserProfile_UserSettings) AWSCloudFormationType() string { - return "AWS::SageMaker::UserProfile.UserSettings" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam.go deleted file mode 100644 index e01be680be..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam.go +++ /dev/null @@ -1,129 +0,0 @@ -package sagemaker - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workteam AWS CloudFormation Resource (AWS::SageMaker::Workteam) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html -type Workteam struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-description - Description *types.Value `json:"Description,omitempty"` - - // MemberDefinitions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-memberdefinitions - MemberDefinitions []Workteam_MemberDefinition `json:"MemberDefinitions,omitempty"` - - // NotificationConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-notificationconfiguration - NotificationConfiguration *Workteam_NotificationConfiguration `json:"NotificationConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // WorkteamName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html#cfn-sagemaker-workteam-workteamname - WorkteamName *types.Value `json:"WorkteamName,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 *Workteam) AWSCloudFormationType() string { - return "AWS::SageMaker::Workteam" -} - -// 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 (r Workteam) MarshalJSON() ([]byte, error) { - type Properties Workteam - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Workteam) UnmarshalJSON(b []byte) error { - type Properties Workteam - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Workteam(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_cognitomemberdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_cognitomemberdefinition.go deleted file mode 100644 index b7af7370d3..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_cognitomemberdefinition.go +++ /dev/null @@ -1,47 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workteam_CognitoMemberDefinition AWS CloudFormation Resource (AWS::SageMaker::Workteam.CognitoMemberDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html -type Workteam_CognitoMemberDefinition struct { - - // CognitoClientId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html#cfn-sagemaker-workteam-cognitomemberdefinition-cognitoclientid - CognitoClientId *types.Value `json:"CognitoClientId,omitempty"` - - // CognitoUserGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html#cfn-sagemaker-workteam-cognitomemberdefinition-cognitousergroup - CognitoUserGroup *types.Value `json:"CognitoUserGroup,omitempty"` - - // CognitoUserPool AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html#cfn-sagemaker-workteam-cognitomemberdefinition-cognitouserpool - CognitoUserPool *types.Value `json:"CognitoUserPool,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 *Workteam_CognitoMemberDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::Workteam.CognitoMemberDefinition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_memberdefinition.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_memberdefinition.go deleted file mode 100644 index 5eb8d7fb47..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_memberdefinition.go +++ /dev/null @@ -1,35 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workteam_MemberDefinition AWS CloudFormation Resource (AWS::SageMaker::Workteam.MemberDefinition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-memberdefinition.html -type Workteam_MemberDefinition struct { - - // CognitoMemberDefinition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-memberdefinition.html#cfn-sagemaker-workteam-memberdefinition-cognitomemberdefinition - CognitoMemberDefinition *Workteam_CognitoMemberDefinition `json:"CognitoMemberDefinition,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 *Workteam_MemberDefinition) AWSCloudFormationType() string { - return "AWS::SageMaker::Workteam.MemberDefinition" -} diff --git a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_notificationconfiguration.go b/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_notificationconfiguration.go deleted file mode 100644 index 26665692fa..0000000000 --- a/pkg/goformation/cloudformation/sagemaker/aws-sagemaker-workteam_notificationconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package sagemaker - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workteam_NotificationConfiguration AWS CloudFormation Resource (AWS::SageMaker::Workteam.NotificationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-notificationconfiguration.html -type Workteam_NotificationConfiguration struct { - - // NotificationTopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-notificationconfiguration.html#cfn-sagemaker-workteam-notificationconfiguration-notificationtopicarn - NotificationTopicArn *types.Value `json:"NotificationTopicArn,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 *Workteam_NotificationConfiguration) AWSCloudFormationType() string { - return "AWS::SageMaker::Workteam.NotificationConfiguration" -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-resourcepolicy.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-resourcepolicy.go deleted file mode 100644 index 5d616bc9ef..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-resourcepolicy.go +++ /dev/null @@ -1,118 +0,0 @@ -package secretsmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourcePolicy AWS CloudFormation Resource (AWS::SecretsManager::ResourcePolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html -type ResourcePolicy struct { - - // BlockPublicPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-blockpublicpolicy - BlockPublicPolicy *types.Value `json:"BlockPublicPolicy,omitempty"` - - // ResourcePolicy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-resourcepolicy - ResourcePolicy interface{} `json:"ResourcePolicy,omitempty"` - - // SecretId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-secretid - SecretId *types.Value `json:"SecretId,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 *ResourcePolicy) AWSCloudFormationType() string { - return "AWS::SecretsManager::ResourcePolicy" -} - -// 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 (r ResourcePolicy) MarshalJSON() ([]byte, error) { - type Properties ResourcePolicy - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourcePolicy) UnmarshalJSON(b []byte) error { - type Properties ResourcePolicy - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourcePolicy(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule.go deleted file mode 100644 index 01f82d5b43..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule.go +++ /dev/null @@ -1,123 +0,0 @@ -package secretsmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RotationSchedule AWS CloudFormation Resource (AWS::SecretsManager::RotationSchedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html -type RotationSchedule struct { - - // HostedRotationLambda AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda - HostedRotationLambda *RotationSchedule_HostedRotationLambda `json:"HostedRotationLambda,omitempty"` - - // RotationLambdaARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-rotationlambdaarn - RotationLambdaARN *types.Value `json:"RotationLambdaARN,omitempty"` - - // RotationRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-rotationrules - RotationRules *RotationSchedule_RotationRules `json:"RotationRules,omitempty"` - - // SecretId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html#cfn-secretsmanager-rotationschedule-secretid - SecretId *types.Value `json:"SecretId,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 *RotationSchedule) AWSCloudFormationType() string { - return "AWS::SecretsManager::RotationSchedule" -} - -// 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 (r RotationSchedule) MarshalJSON() ([]byte, error) { - type Properties RotationSchedule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RotationSchedule) UnmarshalJSON(b []byte) error { - type Properties RotationSchedule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RotationSchedule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_hostedrotationlambda.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_hostedrotationlambda.go deleted file mode 100644 index efac954adc..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_hostedrotationlambda.go +++ /dev/null @@ -1,77 +0,0 @@ -package secretsmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RotationSchedule_HostedRotationLambda AWS CloudFormation Resource (AWS::SecretsManager::RotationSchedule.HostedRotationLambda) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html -type RotationSchedule_HostedRotationLambda struct { - - // KmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-kmskeyarn - KmsKeyArn *types.Value `json:"KmsKeyArn,omitempty"` - - // MasterSecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-mastersecretarn - MasterSecretArn *types.Value `json:"MasterSecretArn,omitempty"` - - // MasterSecretKmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-mastersecretkmskeyarn - MasterSecretKmsKeyArn *types.Value `json:"MasterSecretKmsKeyArn,omitempty"` - - // RotationLambdaName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-rotationlambdaname - RotationLambdaName *types.Value `json:"RotationLambdaName,omitempty"` - - // RotationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-rotationtype - RotationType *types.Value `json:"RotationType,omitempty"` - - // SuperuserSecretArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-superusersecretarn - SuperuserSecretArn *types.Value `json:"SuperuserSecretArn,omitempty"` - - // SuperuserSecretKmsKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-superusersecretkmskeyarn - SuperuserSecretKmsKeyArn *types.Value `json:"SuperuserSecretKmsKeyArn,omitempty"` - - // VpcSecurityGroupIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-vpcsecuritygroupids - VpcSecurityGroupIds *types.Value `json:"VpcSecurityGroupIds,omitempty"` - - // VpcSubnetIds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-vpcsubnetids - VpcSubnetIds *types.Value `json:"VpcSubnetIds,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 *RotationSchedule_HostedRotationLambda) AWSCloudFormationType() string { - return "AWS::SecretsManager::RotationSchedule.HostedRotationLambda" -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_rotationrules.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_rotationrules.go deleted file mode 100644 index 57a617a290..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-rotationschedule_rotationrules.go +++ /dev/null @@ -1,37 +0,0 @@ -package secretsmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RotationSchedule_RotationRules AWS CloudFormation Resource (AWS::SecretsManager::RotationSchedule.RotationRules) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html -type RotationSchedule_RotationRules struct { - - // AutomaticallyAfterDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html#cfn-secretsmanager-rotationschedule-rotationrules-automaticallyafterdays - AutomaticallyAfterDays *types.Value `json:"AutomaticallyAfterDays,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 *RotationSchedule_RotationRules) AWSCloudFormationType() string { - return "AWS::SecretsManager::RotationSchedule.RotationRules" -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret.go deleted file mode 100644 index 554bf434e0..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret.go +++ /dev/null @@ -1,139 +0,0 @@ -package secretsmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Secret AWS CloudFormation Resource (AWS::SecretsManager::Secret) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html -type Secret struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-description - Description *types.Value `json:"Description,omitempty"` - - // GenerateSecretString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-generatesecretstring - GenerateSecretString *Secret_GenerateSecretString `json:"GenerateSecretString,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-name - Name *types.Value `json:"Name,omitempty"` - - // ReplicaRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-replicaregions - ReplicaRegions []Secret_ReplicaRegion `json:"ReplicaRegions,omitempty"` - - // SecretString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-secretstring - SecretString *types.Value `json:"SecretString,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html#cfn-secretsmanager-secret-tags - Tags []cloudformation.Tag `json:"Tags,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 *Secret) AWSCloudFormationType() string { - return "AWS::SecretsManager::Secret" -} - -// 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 (r Secret) MarshalJSON() ([]byte, error) { - type Properties Secret - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Secret) UnmarshalJSON(b []byte) error { - type Properties Secret - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Secret(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_generatesecretstring.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_generatesecretstring.go deleted file mode 100644 index 014627a8e8..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secret_generatesecretstring.go +++ /dev/null @@ -1,82 +0,0 @@ -package secretsmanager - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Secret_GenerateSecretString AWS CloudFormation Resource (AWS::SecretsManager::Secret.GenerateSecretString) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html -type Secret_GenerateSecretString struct { - - // ExcludeCharacters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludecharacters - ExcludeCharacters *types.Value `json:"ExcludeCharacters,omitempty"` - - // ExcludeLowercase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludelowercase - ExcludeLowercase *types.Value `json:"ExcludeLowercase,omitempty"` - - // ExcludeNumbers AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludenumbers - ExcludeNumbers *types.Value `json:"ExcludeNumbers,omitempty"` - - // ExcludePunctuation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludepunctuation - ExcludePunctuation *types.Value `json:"ExcludePunctuation,omitempty"` - - // ExcludeUppercase AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-excludeuppercase - ExcludeUppercase *types.Value `json:"ExcludeUppercase,omitempty"` - - // GenerateStringKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-generatestringkey - GenerateStringKey *types.Value `json:"GenerateStringKey,omitempty"` - - // IncludeSpace AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-includespace - IncludeSpace *types.Value `json:"IncludeSpace,omitempty"` - - // PasswordLength AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-passwordlength - PasswordLength *types.Value `json:"PasswordLength,omitempty"` - - // RequireEachIncludedType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-requireeachincludedtype - RequireEachIncludedType *types.Value `json:"RequireEachIncludedType,omitempty"` - - // SecretStringTemplate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-secret-generatesecretstring.html#cfn-secretsmanager-secret-generatesecretstring-secretstringtemplate - SecretStringTemplate *types.Value `json:"SecretStringTemplate,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 *Secret_GenerateSecretString) AWSCloudFormationType() string { - return "AWS::SecretsManager::Secret.GenerateSecretString" -} diff --git a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secrettargetattachment.go b/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secrettargetattachment.go deleted file mode 100644 index 58ab3741d2..0000000000 --- a/pkg/goformation/cloudformation/secretsmanager/aws-secretsmanager-secrettargetattachment.go +++ /dev/null @@ -1,118 +0,0 @@ -package secretsmanager - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SecretTargetAttachment AWS CloudFormation Resource (AWS::SecretsManager::SecretTargetAttachment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html -type SecretTargetAttachment struct { - - // SecretId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-secretid - SecretId *types.Value `json:"SecretId,omitempty"` - - // TargetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targetid - TargetId *types.Value `json:"TargetId,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targettype - TargetType *types.Value `json:"TargetType,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 *SecretTargetAttachment) AWSCloudFormationType() string { - return "AWS::SecretsManager::SecretTargetAttachment" -} - -// 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 (r SecretTargetAttachment) MarshalJSON() ([]byte, error) { - type Properties SecretTargetAttachment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SecretTargetAttachment) UnmarshalJSON(b []byte) error { - type Properties SecretTargetAttachment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SecretTargetAttachment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/securityhub/aws-securityhub-hub.go b/pkg/goformation/cloudformation/securityhub/aws-securityhub-hub.go deleted file mode 100644 index 64d0938f73..0000000000 --- a/pkg/goformation/cloudformation/securityhub/aws-securityhub-hub.go +++ /dev/null @@ -1,106 +0,0 @@ -package securityhub - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Hub AWS CloudFormation Resource (AWS::SecurityHub::Hub) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html -type Hub struct { - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html#cfn-securityhub-hub-tags - Tags interface{} `json:"Tags,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 *Hub) AWSCloudFormationType() string { - return "AWS::SecurityHub::Hub" -} - -// 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 (r Hub) MarshalJSON() ([]byte, error) { - type Properties Hub - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Hub) UnmarshalJSON(b []byte) error { - type Properties Hub - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Hub(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-acceptedportfolioshare.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-acceptedportfolioshare.go deleted file mode 100644 index 05f8bcf970..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-acceptedportfolioshare.go +++ /dev/null @@ -1,113 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AcceptedPortfolioShare AWS CloudFormation Resource (AWS::ServiceCatalog::AcceptedPortfolioShare) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html -type AcceptedPortfolioShare struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html#cfn-servicecatalog-acceptedportfolioshare-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html#cfn-servicecatalog-acceptedportfolioshare-portfolioid - PortfolioId *types.Value `json:"PortfolioId,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 *AcceptedPortfolioShare) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::AcceptedPortfolioShare" -} - -// 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 (r AcceptedPortfolioShare) MarshalJSON() ([]byte, error) { - type Properties AcceptedPortfolioShare - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AcceptedPortfolioShare) UnmarshalJSON(b []byte) error { - type Properties AcceptedPortfolioShare - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AcceptedPortfolioShare(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct.go deleted file mode 100644 index 4db101fef2..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct.go +++ /dev/null @@ -1,159 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFormationProduct AWS CloudFormation Resource (AWS::ServiceCatalog::CloudFormationProduct) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html -type CloudFormationProduct struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-description - Description *types.Value `json:"Description,omitempty"` - - // Distributor AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-distributor - Distributor *types.Value `json:"Distributor,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-name - Name *types.Value `json:"Name,omitempty"` - - // Owner AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-owner - Owner *types.Value `json:"Owner,omitempty"` - - // ProvisioningArtifactParameters AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-provisioningartifactparameters - ProvisioningArtifactParameters []CloudFormationProduct_ProvisioningArtifactProperties `json:"ProvisioningArtifactParameters,omitempty"` - - // ReplaceProvisioningArtifacts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-replaceprovisioningartifacts - ReplaceProvisioningArtifacts *types.Value `json:"ReplaceProvisioningArtifacts,omitempty"` - - // SupportDescription AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-supportdescription - SupportDescription *types.Value `json:"SupportDescription,omitempty"` - - // SupportEmail AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-supportemail - SupportEmail *types.Value `json:"SupportEmail,omitempty"` - - // SupportUrl AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-supporturl - SupportUrl *types.Value `json:"SupportUrl,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html#cfn-servicecatalog-cloudformationproduct-tags - Tags []cloudformation.Tag `json:"Tags,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 *CloudFormationProduct) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::CloudFormationProduct" -} - -// 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 (r CloudFormationProduct) MarshalJSON() ([]byte, error) { - type Properties CloudFormationProduct - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CloudFormationProduct) UnmarshalJSON(b []byte) error { - type Properties CloudFormationProduct - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CloudFormationProduct(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct_provisioningartifactproperties.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct_provisioningartifactproperties.go deleted file mode 100644 index f59da9b151..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationproduct_provisioningartifactproperties.go +++ /dev/null @@ -1,52 +0,0 @@ -package servicecatalog - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFormationProduct_ProvisioningArtifactProperties AWS CloudFormation Resource (AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html -type CloudFormationProduct_ProvisioningArtifactProperties struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html#cfn-servicecatalog-cloudformationproduct-provisioningartifactproperties-description - Description *types.Value `json:"Description,omitempty"` - - // DisableTemplateValidation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html#cfn-servicecatalog-cloudformationproduct-provisioningartifactproperties-disabletemplatevalidation - DisableTemplateValidation *types.Value `json:"DisableTemplateValidation,omitempty"` - - // Info AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html#cfn-servicecatalog-cloudformationproduct-provisioningartifactproperties-info - Info interface{} `json:"Info,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationproduct-provisioningartifactproperties.html#cfn-servicecatalog-cloudformationproduct-provisioningartifactproperties-name - Name *types.Value `json:"Name,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 *CloudFormationProduct_ProvisioningArtifactProperties) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties" -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct.go deleted file mode 100644 index c250269f2f..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct.go +++ /dev/null @@ -1,164 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFormationProvisionedProduct AWS CloudFormation Resource (AWS::ServiceCatalog::CloudFormationProvisionedProduct) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html -type CloudFormationProvisionedProduct struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // NotificationArns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-notificationarns - NotificationArns *types.Value `json:"NotificationArns,omitempty"` - - // PathId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-pathid - PathId *types.Value `json:"PathId,omitempty"` - - // PathName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-pathname - PathName *types.Value `json:"PathName,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // ProductName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-productname - ProductName *types.Value `json:"ProductName,omitempty"` - - // ProvisionedProductName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisionedproductname - ProvisionedProductName *types.Value `json:"ProvisionedProductName,omitempty"` - - // ProvisioningArtifactId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningartifactid - ProvisioningArtifactId *types.Value `json:"ProvisioningArtifactId,omitempty"` - - // ProvisioningArtifactName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningartifactname - ProvisioningArtifactName *types.Value `json:"ProvisioningArtifactName,omitempty"` - - // ProvisioningParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningparameters - ProvisioningParameters []CloudFormationProvisionedProduct_ProvisioningParameter `json:"ProvisioningParameters,omitempty"` - - // ProvisioningPreferences AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences - ProvisioningPreferences *CloudFormationProvisionedProduct_ProvisioningPreferences `json:"ProvisioningPreferences,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html#cfn-servicecatalog-cloudformationprovisionedproduct-tags - Tags []cloudformation.Tag `json:"Tags,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 *CloudFormationProvisionedProduct) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::CloudFormationProvisionedProduct" -} - -// 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 (r CloudFormationProvisionedProduct) MarshalJSON() ([]byte, error) { - type Properties CloudFormationProvisionedProduct - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *CloudFormationProvisionedProduct) UnmarshalJSON(b []byte) error { - type Properties CloudFormationProvisionedProduct - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = CloudFormationProvisionedProduct(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningparameter.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningparameter.go deleted file mode 100644 index af35a53ef1..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package servicecatalog - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFormationProvisionedProduct_ProvisioningParameter AWS CloudFormation Resource (AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningparameter.html -type CloudFormationProvisionedProduct_ProvisioningParameter struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningparameter.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningparameter-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningparameter.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningparameter-value - Value *types.Value `json:"Value,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 *CloudFormationProvisionedProduct_ProvisioningParameter) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter" -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningpreferences.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningpreferences.go deleted file mode 100644 index 3edaed8573..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-cloudformationprovisionedproduct_provisioningpreferences.go +++ /dev/null @@ -1,67 +0,0 @@ -package servicecatalog - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// CloudFormationProvisionedProduct_ProvisioningPreferences AWS CloudFormation Resource (AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html -type CloudFormationProvisionedProduct_ProvisioningPreferences struct { - - // StackSetAccounts AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetaccounts - StackSetAccounts *types.Value `json:"StackSetAccounts,omitempty"` - - // StackSetFailureToleranceCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetfailuretolerancecount - StackSetFailureToleranceCount *types.Value `json:"StackSetFailureToleranceCount,omitempty"` - - // StackSetFailureTolerancePercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetfailuretolerancepercentage - StackSetFailureTolerancePercentage *types.Value `json:"StackSetFailureTolerancePercentage,omitempty"` - - // StackSetMaxConcurrencyCount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetmaxconcurrencycount - StackSetMaxConcurrencyCount *types.Value `json:"StackSetMaxConcurrencyCount,omitempty"` - - // StackSetMaxConcurrencyPercentage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetmaxconcurrencypercentage - StackSetMaxConcurrencyPercentage *types.Value `json:"StackSetMaxConcurrencyPercentage,omitempty"` - - // StackSetOperationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetoperationtype - StackSetOperationType *types.Value `json:"StackSetOperationType,omitempty"` - - // StackSetRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences.html#cfn-servicecatalog-cloudformationprovisionedproduct-provisioningpreferences-stacksetregions - StackSetRegions *types.Value `json:"StackSetRegions,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 *CloudFormationProvisionedProduct_ProvisioningPreferences) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences" -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchnotificationconstraint.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchnotificationconstraint.go deleted file mode 100644 index 1560dda754..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchnotificationconstraint.go +++ /dev/null @@ -1,128 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchNotificationConstraint AWS CloudFormation Resource (AWS::ServiceCatalog::LaunchNotificationConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html -type LaunchNotificationConstraint struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html#cfn-servicecatalog-launchnotificationconstraint-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html#cfn-servicecatalog-launchnotificationconstraint-description - Description *types.Value `json:"Description,omitempty"` - - // NotificationArns AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html#cfn-servicecatalog-launchnotificationconstraint-notificationarns - NotificationArns *types.Value `json:"NotificationArns,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html#cfn-servicecatalog-launchnotificationconstraint-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html#cfn-servicecatalog-launchnotificationconstraint-productid - ProductId *types.Value `json:"ProductId,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 *LaunchNotificationConstraint) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::LaunchNotificationConstraint" -} - -// 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 (r LaunchNotificationConstraint) MarshalJSON() ([]byte, error) { - type Properties LaunchNotificationConstraint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LaunchNotificationConstraint) UnmarshalJSON(b []byte) error { - type Properties LaunchNotificationConstraint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LaunchNotificationConstraint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchroleconstraint.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchroleconstraint.go deleted file mode 100644 index aed8a83a95..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchroleconstraint.go +++ /dev/null @@ -1,133 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchRoleConstraint AWS CloudFormation Resource (AWS::ServiceCatalog::LaunchRoleConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html -type LaunchRoleConstraint struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-description - Description *types.Value `json:"Description,omitempty"` - - // LocalRoleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-localrolename - LocalRoleName *types.Value `json:"LocalRoleName,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html#cfn-servicecatalog-launchroleconstraint-rolearn - RoleArn *types.Value `json:"RoleArn,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 *LaunchRoleConstraint) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::LaunchRoleConstraint" -} - -// 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 (r LaunchRoleConstraint) MarshalJSON() ([]byte, error) { - type Properties LaunchRoleConstraint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LaunchRoleConstraint) UnmarshalJSON(b []byte) error { - type Properties LaunchRoleConstraint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LaunchRoleConstraint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchtemplateconstraint.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchtemplateconstraint.go deleted file mode 100644 index 75b57e0c91..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-launchtemplateconstraint.go +++ /dev/null @@ -1,128 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LaunchTemplateConstraint AWS CloudFormation Resource (AWS::ServiceCatalog::LaunchTemplateConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html -type LaunchTemplateConstraint struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-description - Description *types.Value `json:"Description,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // Rules AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-rules - Rules *types.Value `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *LaunchTemplateConstraint) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::LaunchTemplateConstraint" -} - -// 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 (r LaunchTemplateConstraint) MarshalJSON() ([]byte, error) { - type Properties LaunchTemplateConstraint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LaunchTemplateConstraint) UnmarshalJSON(b []byte) error { - type Properties LaunchTemplateConstraint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LaunchTemplateConstraint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolio.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolio.go deleted file mode 100644 index c43beb7cf2..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolio.go +++ /dev/null @@ -1,129 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Portfolio AWS CloudFormation Resource (AWS::ServiceCatalog::Portfolio) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html -type Portfolio struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html#cfn-servicecatalog-portfolio-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html#cfn-servicecatalog-portfolio-description - Description *types.Value `json:"Description,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html#cfn-servicecatalog-portfolio-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // ProviderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html#cfn-servicecatalog-portfolio-providername - ProviderName *types.Value `json:"ProviderName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html#cfn-servicecatalog-portfolio-tags - Tags []cloudformation.Tag `json:"Tags,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 *Portfolio) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::Portfolio" -} - -// 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 (r Portfolio) MarshalJSON() ([]byte, error) { - type Properties Portfolio - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Portfolio) UnmarshalJSON(b []byte) error { - type Properties Portfolio - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Portfolio(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioprincipalassociation.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioprincipalassociation.go deleted file mode 100644 index 6c9e978485..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioprincipalassociation.go +++ /dev/null @@ -1,123 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PortfolioPrincipalAssociation AWS CloudFormation Resource (AWS::ServiceCatalog::PortfolioPrincipalAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html -type PortfolioPrincipalAssociation struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // PrincipalARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-principalarn - PrincipalARN *types.Value `json:"PrincipalARN,omitempty"` - - // PrincipalType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html#cfn-servicecatalog-portfolioprincipalassociation-principaltype - PrincipalType *types.Value `json:"PrincipalType,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 *PortfolioPrincipalAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::PortfolioPrincipalAssociation" -} - -// 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 (r PortfolioPrincipalAssociation) MarshalJSON() ([]byte, error) { - type Properties PortfolioPrincipalAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PortfolioPrincipalAssociation) UnmarshalJSON(b []byte) error { - type Properties PortfolioPrincipalAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PortfolioPrincipalAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioproductassociation.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioproductassociation.go deleted file mode 100644 index 43f8d12785..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioproductassociation.go +++ /dev/null @@ -1,123 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PortfolioProductAssociation AWS CloudFormation Resource (AWS::ServiceCatalog::PortfolioProductAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html -type PortfolioProductAssociation struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // SourcePortfolioId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html#cfn-servicecatalog-portfolioproductassociation-sourceportfolioid - SourcePortfolioId *types.Value `json:"SourcePortfolioId,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 *PortfolioProductAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::PortfolioProductAssociation" -} - -// 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 (r PortfolioProductAssociation) MarshalJSON() ([]byte, error) { - type Properties PortfolioProductAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PortfolioProductAssociation) UnmarshalJSON(b []byte) error { - type Properties PortfolioProductAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PortfolioProductAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioshare.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioshare.go deleted file mode 100644 index ec01758ff2..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-portfolioshare.go +++ /dev/null @@ -1,123 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PortfolioShare AWS CloudFormation Resource (AWS::ServiceCatalog::PortfolioShare) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html -type PortfolioShare struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // AccountId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-accountid - AccountId *types.Value `json:"AccountId,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ShareTagOptions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html#cfn-servicecatalog-portfolioshare-sharetagoptions - ShareTagOptions *types.Value `json:"ShareTagOptions,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 *PortfolioShare) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::PortfolioShare" -} - -// 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 (r PortfolioShare) MarshalJSON() ([]byte, error) { - type Properties PortfolioShare - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PortfolioShare) UnmarshalJSON(b []byte) error { - type Properties PortfolioShare - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PortfolioShare(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-resourceupdateconstraint.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-resourceupdateconstraint.go deleted file mode 100644 index d968105a50..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-resourceupdateconstraint.go +++ /dev/null @@ -1,128 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceUpdateConstraint AWS CloudFormation Resource (AWS::ServiceCatalog::ResourceUpdateConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html -type ResourceUpdateConstraint struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html#cfn-servicecatalog-resourceupdateconstraint-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html#cfn-servicecatalog-resourceupdateconstraint-description - Description *types.Value `json:"Description,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html#cfn-servicecatalog-resourceupdateconstraint-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html#cfn-servicecatalog-resourceupdateconstraint-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // TagUpdateOnProvisionedProduct AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html#cfn-servicecatalog-resourceupdateconstraint-tagupdateonprovisionedproduct - TagUpdateOnProvisionedProduct *types.Value `json:"TagUpdateOnProvisionedProduct,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 *ResourceUpdateConstraint) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::ResourceUpdateConstraint" -} - -// 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 (r ResourceUpdateConstraint) MarshalJSON() ([]byte, error) { - type Properties ResourceUpdateConstraint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceUpdateConstraint) UnmarshalJSON(b []byte) error { - type Properties ResourceUpdateConstraint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceUpdateConstraint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction.go deleted file mode 100644 index 80e8b7e78f..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction.go +++ /dev/null @@ -1,128 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ServiceAction AWS CloudFormation Resource (AWS::ServiceCatalog::ServiceAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html -type ServiceAction struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // Definition AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-definition - Definition []ServiceAction_DefinitionParameter `json:"Definition,omitempty"` - - // DefinitionType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-definitiontype - DefinitionType *types.Value `json:"DefinitionType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html#cfn-servicecatalog-serviceaction-name - Name *types.Value `json:"Name,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 *ServiceAction) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::ServiceAction" -} - -// 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 (r ServiceAction) MarshalJSON() ([]byte, error) { - type Properties ServiceAction - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ServiceAction) UnmarshalJSON(b []byte) error { - type Properties ServiceAction - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ServiceAction(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction_definitionparameter.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction_definitionparameter.go deleted file mode 100644 index 7f806186f4..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceaction_definitionparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package servicecatalog - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ServiceAction_DefinitionParameter AWS CloudFormation Resource (AWS::ServiceCatalog::ServiceAction.DefinitionParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-serviceaction-definitionparameter.html -type ServiceAction_DefinitionParameter struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-serviceaction-definitionparameter.html#cfn-servicecatalog-serviceaction-definitionparameter-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicecatalog-serviceaction-definitionparameter.html#cfn-servicecatalog-serviceaction-definitionparameter-value - Value *types.Value `json:"Value,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 *ServiceAction_DefinitionParameter) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::ServiceAction.DefinitionParameter" -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceactionassociation.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceactionassociation.go deleted file mode 100644 index 8080c51376..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-serviceactionassociation.go +++ /dev/null @@ -1,118 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ServiceActionAssociation AWS CloudFormation Resource (AWS::ServiceCatalog::ServiceActionAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceactionassociation.html -type ServiceActionAssociation struct { - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceactionassociation.html#cfn-servicecatalog-serviceactionassociation-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // ProvisioningArtifactId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceactionassociation.html#cfn-servicecatalog-serviceactionassociation-provisioningartifactid - ProvisioningArtifactId *types.Value `json:"ProvisioningArtifactId,omitempty"` - - // ServiceActionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceactionassociation.html#cfn-servicecatalog-serviceactionassociation-serviceactionid - ServiceActionId *types.Value `json:"ServiceActionId,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 *ServiceActionAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::ServiceActionAssociation" -} - -// 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 (r ServiceActionAssociation) MarshalJSON() ([]byte, error) { - type Properties ServiceActionAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ServiceActionAssociation) UnmarshalJSON(b []byte) error { - type Properties ServiceActionAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ServiceActionAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-stacksetconstraint.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-stacksetconstraint.go deleted file mode 100644 index f720a339e2..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-stacksetconstraint.go +++ /dev/null @@ -1,148 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StackSetConstraint AWS CloudFormation Resource (AWS::ServiceCatalog::StackSetConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html -type StackSetConstraint struct { - - // AcceptLanguage AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-acceptlanguage - AcceptLanguage *types.Value `json:"AcceptLanguage,omitempty"` - - // AccountList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-accountlist - AccountList *types.Value `json:"AccountList,omitempty"` - - // AdminRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-adminrole - AdminRole *types.Value `json:"AdminRole,omitempty"` - - // Description AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-description - Description *types.Value `json:"Description,omitempty"` - - // ExecutionRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-executionrole - ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - - // PortfolioId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-portfolioid - PortfolioId *types.Value `json:"PortfolioId,omitempty"` - - // ProductId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-productid - ProductId *types.Value `json:"ProductId,omitempty"` - - // RegionList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-regionlist - RegionList *types.Value `json:"RegionList,omitempty"` - - // StackInstanceControl AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html#cfn-servicecatalog-stacksetconstraint-stackinstancecontrol - StackInstanceControl *types.Value `json:"StackInstanceControl,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 *StackSetConstraint) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::StackSetConstraint" -} - -// 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 (r StackSetConstraint) MarshalJSON() ([]byte, error) { - type Properties StackSetConstraint - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StackSetConstraint) UnmarshalJSON(b []byte) error { - type Properties StackSetConstraint - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StackSetConstraint(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoption.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoption.go deleted file mode 100644 index 271685eb1d..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoption.go +++ /dev/null @@ -1,118 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TagOption AWS CloudFormation Resource (AWS::ServiceCatalog::TagOption) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoption.html -type TagOption struct { - - // Active AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoption.html#cfn-servicecatalog-tagoption-active - Active *types.Value `json:"Active,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoption.html#cfn-servicecatalog-tagoption-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoption.html#cfn-servicecatalog-tagoption-value - Value *types.Value `json:"Value,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 *TagOption) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::TagOption" -} - -// 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 (r TagOption) MarshalJSON() ([]byte, error) { - type Properties TagOption - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TagOption) UnmarshalJSON(b []byte) error { - type Properties TagOption - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TagOption(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoptionassociation.go b/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoptionassociation.go deleted file mode 100644 index 29aa7c20fc..0000000000 --- a/pkg/goformation/cloudformation/servicecatalog/aws-servicecatalog-tagoptionassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package servicecatalog - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// TagOptionAssociation AWS CloudFormation Resource (AWS::ServiceCatalog::TagOptionAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoptionassociation.html -type TagOptionAssociation struct { - - // ResourceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoptionassociation.html#cfn-servicecatalog-tagoptionassociation-resourceid - ResourceId *types.Value `json:"ResourceId,omitempty"` - - // TagOptionId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoptionassociation.html#cfn-servicecatalog-tagoptionassociation-tagoptionid - TagOptionId *types.Value `json:"TagOptionId,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 *TagOptionAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalog::TagOptionAssociation" -} - -// 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 (r TagOptionAssociation) MarshalJSON() ([]byte, error) { - type Properties TagOptionAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *TagOptionAssociation) UnmarshalJSON(b []byte) error { - type Properties TagOptionAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = TagOptionAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-application.go b/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-application.go deleted file mode 100644 index fb0b78e0df..0000000000 --- a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-application.go +++ /dev/null @@ -1,118 +0,0 @@ -package servicecatalogappregistry - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Application AWS CloudFormation Resource (AWS::ServiceCatalogAppRegistry::Application) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-application.html -type Application struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-application.html#cfn-servicecatalogappregistry-application-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-application.html#cfn-servicecatalogappregistry-application-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-application.html#cfn-servicecatalogappregistry-application-tags - Tags map[string]*types.Value `json:"Tags,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 *Application) AWSCloudFormationType() string { - return "AWS::ServiceCatalogAppRegistry::Application" -} - -// 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 (r Application) MarshalJSON() ([]byte, error) { - type Properties Application - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Application) UnmarshalJSON(b []byte) error { - type Properties Application - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Application(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroup.go b/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroup.go deleted file mode 100644 index 35e56d01b8..0000000000 --- a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroup.go +++ /dev/null @@ -1,123 +0,0 @@ -package servicecatalogappregistry - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AttributeGroup AWS CloudFormation Resource (AWS::ServiceCatalogAppRegistry::AttributeGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html -type AttributeGroup struct { - - // Attributes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html#cfn-servicecatalogappregistry-attributegroup-attributes - Attributes interface{} `json:"Attributes,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html#cfn-servicecatalogappregistry-attributegroup-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html#cfn-servicecatalogappregistry-attributegroup-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroup.html#cfn-servicecatalogappregistry-attributegroup-tags - Tags map[string]*types.Value `json:"Tags,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 *AttributeGroup) AWSCloudFormationType() string { - return "AWS::ServiceCatalogAppRegistry::AttributeGroup" -} - -// 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 (r AttributeGroup) MarshalJSON() ([]byte, error) { - type Properties AttributeGroup - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AttributeGroup) UnmarshalJSON(b []byte) error { - type Properties AttributeGroup - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AttributeGroup(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroupassociation.go b/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroupassociation.go deleted file mode 100644 index 09d98c98d3..0000000000 --- a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-attributegroupassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package servicecatalogappregistry - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AttributeGroupAssociation AWS CloudFormation Resource (AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroupassociation.html -type AttributeGroupAssociation struct { - - // Application AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroupassociation.html#cfn-servicecatalogappregistry-attributegroupassociation-application - Application *types.Value `json:"Application,omitempty"` - - // AttributeGroup AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-attributegroupassociation.html#cfn-servicecatalogappregistry-attributegroupassociation-attributegroup - AttributeGroup *types.Value `json:"AttributeGroup,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 *AttributeGroupAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" -} - -// 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 (r AttributeGroupAssociation) MarshalJSON() ([]byte, error) { - type Properties AttributeGroupAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AttributeGroupAssociation) UnmarshalJSON(b []byte) error { - type Properties AttributeGroupAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AttributeGroupAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-resourceassociation.go b/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-resourceassociation.go deleted file mode 100644 index 0f0d36fceb..0000000000 --- a/pkg/goformation/cloudformation/servicecatalogappregistry/aws-servicecatalogappregistry-resourceassociation.go +++ /dev/null @@ -1,118 +0,0 @@ -package servicecatalogappregistry - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceAssociation AWS CloudFormation Resource (AWS::ServiceCatalogAppRegistry::ResourceAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-resourceassociation.html -type ResourceAssociation struct { - - // Application AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-resourceassociation.html#cfn-servicecatalogappregistry-resourceassociation-application - Application *types.Value `json:"Application,omitempty"` - - // Resource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-resourceassociation.html#cfn-servicecatalogappregistry-resourceassociation-resource - Resource *types.Value `json:"Resource,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalogappregistry-resourceassociation.html#cfn-servicecatalogappregistry-resourceassociation-resourcetype - ResourceType *types.Value `json:"ResourceType,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 *ResourceAssociation) AWSCloudFormationType() string { - return "AWS::ServiceCatalogAppRegistry::ResourceAssociation" -} - -// 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 (r ResourceAssociation) MarshalJSON() ([]byte, error) { - type Properties ResourceAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceAssociation) UnmarshalJSON(b []byte) error { - type Properties ResourceAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-httpnamespace.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-httpnamespace.go deleted file mode 100644 index 36fd65e34b..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-httpnamespace.go +++ /dev/null @@ -1,119 +0,0 @@ -package servicediscovery - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// HttpNamespace AWS CloudFormation Resource (AWS::ServiceDiscovery::HttpNamespace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html -type HttpNamespace struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-httpnamespace.html#cfn-servicediscovery-httpnamespace-tags - Tags []cloudformation.Tag `json:"Tags,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 *HttpNamespace) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::HttpNamespace" -} - -// 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 (r HttpNamespace) MarshalJSON() ([]byte, error) { - type Properties HttpNamespace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *HttpNamespace) UnmarshalJSON(b []byte) error { - type Properties HttpNamespace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = HttpNamespace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-instance.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-instance.go deleted file mode 100644 index 7dc51d3e83..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-instance.go +++ /dev/null @@ -1,118 +0,0 @@ -package servicediscovery - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Instance AWS CloudFormation Resource (AWS::ServiceDiscovery::Instance) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html -type Instance struct { - - // InstanceAttributes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceattributes - InstanceAttributes interface{} `json:"InstanceAttributes,omitempty"` - - // InstanceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-instanceid - InstanceId *types.Value `json:"InstanceId,omitempty"` - - // ServiceId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-instance.html#cfn-servicediscovery-instance-serviceid - ServiceId *types.Value `json:"ServiceId,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 *Instance) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Instance" -} - -// 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 (r Instance) MarshalJSON() ([]byte, error) { - type Properties Instance - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Instance) UnmarshalJSON(b []byte) error { - type Properties Instance - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Instance(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace.go deleted file mode 100644 index c024341b6d..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace.go +++ /dev/null @@ -1,129 +0,0 @@ -package servicediscovery - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PrivateDnsNamespace AWS CloudFormation Resource (AWS::ServiceDiscovery::PrivateDnsNamespace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html -type PrivateDnsNamespace struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-name - Name *types.Value `json:"Name,omitempty"` - - // Properties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-properties - Properties *PrivateDnsNamespace_Properties `json:"Properties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Vpc AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-vpc - Vpc *types.Value `json:"Vpc,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 *PrivateDnsNamespace) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PrivateDnsNamespace" -} - -// 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 (r PrivateDnsNamespace) MarshalJSON() ([]byte, error) { - type Properties PrivateDnsNamespace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PrivateDnsNamespace) UnmarshalJSON(b []byte) error { - type Properties PrivateDnsNamespace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PrivateDnsNamespace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_privatednspropertiesmutable.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_privatednspropertiesmutable.go deleted file mode 100644 index e5f6c6bef6..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_privatednspropertiesmutable.go +++ /dev/null @@ -1,35 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PrivateDnsNamespace_PrivateDnsPropertiesMutable AWS CloudFormation Resource (AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-privatednspropertiesmutable.html -type PrivateDnsNamespace_PrivateDnsPropertiesMutable struct { - - // SOA AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-privatednspropertiesmutable.html#cfn-servicediscovery-privatednsnamespace-privatednspropertiesmutable-soa - SOA *PrivateDnsNamespace_SOA `json:"SOA,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 *PrivateDnsNamespace_PrivateDnsPropertiesMutable) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_properties.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_properties.go deleted file mode 100644 index ca7585d172..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_properties.go +++ /dev/null @@ -1,35 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PrivateDnsNamespace_Properties AWS CloudFormation Resource (AWS::ServiceDiscovery::PrivateDnsNamespace.Properties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-properties.html -type PrivateDnsNamespace_Properties struct { - - // DnsProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-properties.html#cfn-servicediscovery-privatednsnamespace-properties-dnsproperties - DnsProperties *PrivateDnsNamespace_PrivateDnsPropertiesMutable `json:"DnsProperties,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 *PrivateDnsNamespace_Properties) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PrivateDnsNamespace.Properties" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_soa.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_soa.go deleted file mode 100644 index b76d2e911f..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-privatednsnamespace_soa.go +++ /dev/null @@ -1,37 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PrivateDnsNamespace_SOA AWS CloudFormation Resource (AWS::ServiceDiscovery::PrivateDnsNamespace.SOA) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-soa.html -type PrivateDnsNamespace_SOA struct { - - // TTL AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-privatednsnamespace-soa.html#cfn-servicediscovery-privatednsnamespace-soa-ttl - TTL *types.Value `json:"TTL,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 *PrivateDnsNamespace_SOA) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PrivateDnsNamespace.SOA" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace.go deleted file mode 100644 index 5a2a74542e..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace.go +++ /dev/null @@ -1,124 +0,0 @@ -package servicediscovery - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PublicDnsNamespace AWS CloudFormation Resource (AWS::ServiceDiscovery::PublicDnsNamespace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html -type PublicDnsNamespace struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-name - Name *types.Value `json:"Name,omitempty"` - - // Properties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-properties - Properties *PublicDnsNamespace_Properties `json:"Properties,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-tags - Tags []cloudformation.Tag `json:"Tags,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 *PublicDnsNamespace) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PublicDnsNamespace" -} - -// 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 (r PublicDnsNamespace) MarshalJSON() ([]byte, error) { - type Properties PublicDnsNamespace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PublicDnsNamespace) UnmarshalJSON(b []byte) error { - type Properties PublicDnsNamespace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PublicDnsNamespace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_properties.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_properties.go deleted file mode 100644 index c6930ffc97..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_properties.go +++ /dev/null @@ -1,35 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PublicDnsNamespace_Properties AWS CloudFormation Resource (AWS::ServiceDiscovery::PublicDnsNamespace.Properties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-properties.html -type PublicDnsNamespace_Properties struct { - - // DnsProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-properties.html#cfn-servicediscovery-publicdnsnamespace-properties-dnsproperties - DnsProperties *PublicDnsNamespace_PublicDnsPropertiesMutable `json:"DnsProperties,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 *PublicDnsNamespace_Properties) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PublicDnsNamespace.Properties" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_publicdnspropertiesmutable.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_publicdnspropertiesmutable.go deleted file mode 100644 index af2338621c..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-publicdnsnamespace_publicdnspropertiesmutable.go +++ /dev/null @@ -1,35 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PublicDnsNamespace_PublicDnsPropertiesMutable AWS CloudFormation Resource (AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-publicdnspropertiesmutable.html -type PublicDnsNamespace_PublicDnsPropertiesMutable struct { - - // SOA AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-publicdnsnamespace-publicdnspropertiesmutable.html#cfn-servicediscovery-publicdnsnamespace-publicdnspropertiesmutable-soa - SOA *PublicDnsNamespace_SOA `json:"SOA,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 *PublicDnsNamespace_PublicDnsPropertiesMutable) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service.go deleted file mode 100644 index 34a208c142..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service.go +++ /dev/null @@ -1,144 +0,0 @@ -package servicediscovery - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service AWS CloudFormation Resource (AWS::ServiceDiscovery::Service) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html -type Service struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-description - Description *types.Value `json:"Description,omitempty"` - - // DnsConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-dnsconfig - DnsConfig *Service_DnsConfig `json:"DnsConfig,omitempty"` - - // HealthCheckConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckconfig - HealthCheckConfig *Service_HealthCheckConfig `json:"HealthCheckConfig,omitempty"` - - // HealthCheckCustomConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-healthcheckcustomconfig - HealthCheckCustomConfig *Service_HealthCheckCustomConfig `json:"HealthCheckCustomConfig,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-name - Name *types.Value `json:"Name,omitempty"` - - // NamespaceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-namespaceid - NamespaceId *types.Value `json:"NamespaceId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-service.html#cfn-servicediscovery-service-type - Type *types.Value `json:"Type,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 *Service) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Service" -} - -// 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 (r Service) MarshalJSON() ([]byte, error) { - type Properties Service - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Service) UnmarshalJSON(b []byte) error { - type Properties Service - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Service(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsconfig.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsconfig.go deleted file mode 100644 index 6e90de1703..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_DnsConfig AWS CloudFormation Resource (AWS::ServiceDiscovery::Service.DnsConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html -type Service_DnsConfig struct { - - // DnsRecords AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-dnsrecords - DnsRecords []Service_DnsRecord `json:"DnsRecords,omitempty"` - - // NamespaceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-namespaceid - NamespaceId *types.Value `json:"NamespaceId,omitempty"` - - // RoutingPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsconfig.html#cfn-servicediscovery-service-dnsconfig-routingpolicy - RoutingPolicy *types.Value `json:"RoutingPolicy,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 *Service_DnsConfig) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Service.DnsConfig" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsrecord.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsrecord.go deleted file mode 100644 index ee11452a05..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_dnsrecord.go +++ /dev/null @@ -1,42 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_DnsRecord AWS CloudFormation Resource (AWS::ServiceDiscovery::Service.DnsRecord) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html -type Service_DnsRecord struct { - - // TTL AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-ttl - TTL *types.Value `json:"TTL"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-dnsrecord.html#cfn-servicediscovery-service-dnsrecord-type - Type *types.Value `json:"Type,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 *Service_DnsRecord) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Service.DnsRecord" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckconfig.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckconfig.go deleted file mode 100644 index 012cd44cce..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_HealthCheckConfig AWS CloudFormation Resource (AWS::ServiceDiscovery::Service.HealthCheckConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html -type Service_HealthCheckConfig struct { - - // FailureThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-failurethreshold - FailureThreshold *types.Value `json:"FailureThreshold,omitempty"` - - // ResourcePath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-resourcepath - ResourcePath *types.Value `json:"ResourcePath,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckconfig.html#cfn-servicediscovery-service-healthcheckconfig-type - Type *types.Value `json:"Type,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 *Service_HealthCheckConfig) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Service.HealthCheckConfig" -} diff --git a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckcustomconfig.go b/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckcustomconfig.go deleted file mode 100644 index aa4be883ee..0000000000 --- a/pkg/goformation/cloudformation/servicediscovery/aws-servicediscovery-service_healthcheckcustomconfig.go +++ /dev/null @@ -1,37 +0,0 @@ -package servicediscovery - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Service_HealthCheckCustomConfig AWS CloudFormation Resource (AWS::ServiceDiscovery::Service.HealthCheckCustomConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html -type Service_HealthCheckCustomConfig struct { - - // FailureThreshold AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-servicediscovery-service-healthcheckcustomconfig.html#cfn-servicediscovery-service-healthcheckcustomconfig-failurethreshold - FailureThreshold *types.Value `json:"FailureThreshold,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 *Service_HealthCheckCustomConfig) AWSCloudFormationType() string { - return "AWS::ServiceDiscovery::Service.HealthCheckCustomConfig" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationset.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationset.go deleted file mode 100644 index 9d8fd6e3f9..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationset.go +++ /dev/null @@ -1,108 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSet AWS CloudFormation Resource (AWS::SES::ConfigurationSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html -type ConfigurationSet struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationset.html#cfn-ses-configurationset-name - Name *types.Value `json:"Name,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 *ConfigurationSet) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSet" -} - -// 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 (r ConfigurationSet) MarshalJSON() ([]byte, error) { - type Properties ConfigurationSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationSet) UnmarshalJSON(b []byte) error { - type Properties ConfigurationSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination.go deleted file mode 100644 index 0f0556bd76..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination.go +++ /dev/null @@ -1,113 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination AWS CloudFormation Resource (AWS::SES::ConfigurationSetEventDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationseteventdestination.html -type ConfigurationSetEventDestination struct { - - // ConfigurationSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationseteventdestination.html#cfn-ses-configurationseteventdestination-configurationsetname - ConfigurationSetName *types.Value `json:"ConfigurationSetName,omitempty"` - - // EventDestination AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-configurationseteventdestination.html#cfn-ses-configurationseteventdestination-eventdestination - EventDestination *ConfigurationSetEventDestination_EventDestination `json:"EventDestination,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 *ConfigurationSetEventDestination) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSetEventDestination" -} - -// 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 (r ConfigurationSetEventDestination) MarshalJSON() ([]byte, error) { - type Properties ConfigurationSetEventDestination - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConfigurationSetEventDestination) UnmarshalJSON(b []byte) error { - type Properties ConfigurationSetEventDestination - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConfigurationSetEventDestination(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_cloudwatchdestination.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_cloudwatchdestination.go deleted file mode 100644 index ccdc4629ef..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_cloudwatchdestination.go +++ /dev/null @@ -1,35 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_CloudWatchDestination AWS CloudFormation Resource (AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html -type ConfigurationSetEventDestination_CloudWatchDestination struct { - - // DimensionConfigurations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-cloudwatchdestination.html#cfn-ses-configurationseteventdestination-cloudwatchdestination-dimensionconfigurations - DimensionConfigurations []ConfigurationSetEventDestination_DimensionConfiguration `json:"DimensionConfigurations,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 *ConfigurationSetEventDestination_CloudWatchDestination) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_dimensionconfiguration.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_dimensionconfiguration.go deleted file mode 100644 index 226309d3eb..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_dimensionconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_DimensionConfiguration AWS CloudFormation Resource (AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html -type ConfigurationSetEventDestination_DimensionConfiguration struct { - - // DefaultDimensionValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-defaultdimensionvalue - DefaultDimensionValue *types.Value `json:"DefaultDimensionValue,omitempty"` - - // DimensionName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-dimensionname - DimensionName *types.Value `json:"DimensionName,omitempty"` - - // DimensionValueSource AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-dimensionconfiguration.html#cfn-ses-configurationseteventdestination-dimensionconfiguration-dimensionvaluesource - DimensionValueSource *types.Value `json:"DimensionValueSource,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 *ConfigurationSetEventDestination_DimensionConfiguration) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_eventdestination.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_eventdestination.go deleted file mode 100644 index 51a81aa589..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_eventdestination.go +++ /dev/null @@ -1,57 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_EventDestination AWS CloudFormation Resource (AWS::SES::ConfigurationSetEventDestination.EventDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html -type ConfigurationSetEventDestination_EventDestination struct { - - // CloudWatchDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-cloudwatchdestination - CloudWatchDestination *ConfigurationSetEventDestination_CloudWatchDestination `json:"CloudWatchDestination,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // KinesisFirehoseDestination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-kinesisfirehosedestination - KinesisFirehoseDestination *ConfigurationSetEventDestination_KinesisFirehoseDestination `json:"KinesisFirehoseDestination,omitempty"` - - // MatchingEventTypes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-matchingeventtypes - MatchingEventTypes *types.Value `json:"MatchingEventTypes,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventdestination.html#cfn-ses-configurationseteventdestination-eventdestination-name - Name *types.Value `json:"Name,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 *ConfigurationSetEventDestination_EventDestination) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSetEventDestination.EventDestination" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_kinesisfirehosedestination.go b/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_kinesisfirehosedestination.go deleted file mode 100644 index ab25e8e34f..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-configurationseteventdestination_kinesisfirehosedestination.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConfigurationSetEventDestination_KinesisFirehoseDestination AWS CloudFormation Resource (AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html -type ConfigurationSetEventDestination_KinesisFirehoseDestination struct { - - // DeliveryStreamARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html#cfn-ses-configurationseteventdestination-kinesisfirehosedestination-deliverystreamarn - DeliveryStreamARN *types.Value `json:"DeliveryStreamARN,omitempty"` - - // IAMRoleARN AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html#cfn-ses-configurationseteventdestination-kinesisfirehosedestination-iamrolearn - IAMRoleARN *types.Value `json:"IAMRoleARN,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 *ConfigurationSetEventDestination_KinesisFirehoseDestination) AWSCloudFormationType() string { - return "AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-contactlist_topic.go b/pkg/goformation/cloudformation/ses/aws-ses-contactlist_topic.go deleted file mode 100644 index b76f69b7d2..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-contactlist_topic.go +++ /dev/null @@ -1,52 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContactList_Topic AWS CloudFormation Resource (AWS::SES::ContactList.Topic) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html -type ContactList_Topic struct { - - // DefaultSubscriptionStatus AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-defaultsubscriptionstatus - DefaultSubscriptionStatus *types.Value `json:"DefaultSubscriptionStatus,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-description - Description *types.Value `json:"Description,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // TopicName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-contactlist-topic.html#cfn-ses-contactlist-topic-topicname - TopicName *types.Value `json:"TopicName,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 *ContactList_Topic) AWSCloudFormationType() string { - return "AWS::SES::ContactList.Topic" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter.go deleted file mode 100644 index ddeff4a7d4..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter.go +++ /dev/null @@ -1,106 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptFilter AWS CloudFormation Resource (AWS::SES::ReceiptFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html -type ReceiptFilter struct { - - // Filter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptfilter.html#cfn-ses-receiptfilter-filter - Filter *ReceiptFilter_Filter `json:"Filter,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 *ReceiptFilter) AWSCloudFormationType() string { - return "AWS::SES::ReceiptFilter" -} - -// 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 (r ReceiptFilter) MarshalJSON() ([]byte, error) { - type Properties ReceiptFilter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReceiptFilter) UnmarshalJSON(b []byte) error { - type Properties ReceiptFilter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReceiptFilter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_filter.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_filter.go deleted file mode 100644 index 7856b7df43..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_filter.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptFilter_Filter AWS CloudFormation Resource (AWS::SES::ReceiptFilter.Filter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-filter.html -type ReceiptFilter_Filter struct { - - // IpFilter AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-filter.html#cfn-ses-receiptfilter-filter-ipfilter - IpFilter *ReceiptFilter_IpFilter `json:"IpFilter,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-filter.html#cfn-ses-receiptfilter-filter-name - Name *types.Value `json:"Name,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 *ReceiptFilter_Filter) AWSCloudFormationType() string { - return "AWS::SES::ReceiptFilter.Filter" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_ipfilter.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_ipfilter.go deleted file mode 100644 index 1ea443ec8b..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptfilter_ipfilter.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptFilter_IpFilter AWS CloudFormation Resource (AWS::SES::ReceiptFilter.IpFilter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-ipfilter.html -type ReceiptFilter_IpFilter struct { - - // Cidr AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-ipfilter.html#cfn-ses-receiptfilter-ipfilter-cidr - Cidr *types.Value `json:"Cidr,omitempty"` - - // Policy AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptfilter-ipfilter.html#cfn-ses-receiptfilter-ipfilter-policy - Policy *types.Value `json:"Policy,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 *ReceiptFilter_IpFilter) AWSCloudFormationType() string { - return "AWS::SES::ReceiptFilter.IpFilter" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule.go deleted file mode 100644 index 096c0afc32..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule.go +++ /dev/null @@ -1,118 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule AWS CloudFormation Resource (AWS::SES::ReceiptRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html -type ReceiptRule struct { - - // After AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-after - After *types.Value `json:"After,omitempty"` - - // Rule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rule - Rule *ReceiptRule_Rule `json:"Rule,omitempty"` - - // RuleSetName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html#cfn-ses-receiptrule-rulesetname - RuleSetName *types.Value `json:"RuleSetName,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 *ReceiptRule) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule" -} - -// 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 (r ReceiptRule) MarshalJSON() ([]byte, error) { - type Properties ReceiptRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReceiptRule) UnmarshalJSON(b []byte) error { - type Properties ReceiptRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReceiptRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_action.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_action.go deleted file mode 100644 index dc29d69b33..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_action.go +++ /dev/null @@ -1,65 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_Action AWS CloudFormation Resource (AWS::SES::ReceiptRule.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html -type ReceiptRule_Action struct { - - // AddHeaderAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-addheaderaction - AddHeaderAction *ReceiptRule_AddHeaderAction `json:"AddHeaderAction,omitempty"` - - // BounceAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-bounceaction - BounceAction *ReceiptRule_BounceAction `json:"BounceAction,omitempty"` - - // LambdaAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-lambdaaction - LambdaAction *ReceiptRule_LambdaAction `json:"LambdaAction,omitempty"` - - // S3Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-s3action - S3Action *ReceiptRule_S3Action `json:"S3Action,omitempty"` - - // SNSAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-snsaction - SNSAction *ReceiptRule_SNSAction `json:"SNSAction,omitempty"` - - // StopAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-stopaction - StopAction *ReceiptRule_StopAction `json:"StopAction,omitempty"` - - // WorkmailAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-action.html#cfn-ses-receiptrule-action-workmailaction - WorkmailAction *ReceiptRule_WorkmailAction `json:"WorkmailAction,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 *ReceiptRule_Action) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.Action" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_addheaderaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_addheaderaction.go deleted file mode 100644 index e9e511aadb..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_addheaderaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_AddHeaderAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.AddHeaderAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html -type ReceiptRule_AddHeaderAction struct { - - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headername - HeaderName *types.Value `json:"HeaderName,omitempty"` - - // HeaderValue AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-addheaderaction.html#cfn-ses-receiptrule-addheaderaction-headervalue - HeaderValue *types.Value `json:"HeaderValue,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 *ReceiptRule_AddHeaderAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.AddHeaderAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_bounceaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_bounceaction.go deleted file mode 100644 index a14ee6d2f7..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_bounceaction.go +++ /dev/null @@ -1,57 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_BounceAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.BounceAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html -type ReceiptRule_BounceAction struct { - - // Message AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-message - Message *types.Value `json:"Message,omitempty"` - - // Sender AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-sender - Sender *types.Value `json:"Sender,omitempty"` - - // SmtpReplyCode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-smtpreplycode - SmtpReplyCode *types.Value `json:"SmtpReplyCode,omitempty"` - - // StatusCode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-statuscode - StatusCode *types.Value `json:"StatusCode,omitempty"` - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-bounceaction.html#cfn-ses-receiptrule-bounceaction-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ReceiptRule_BounceAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.BounceAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_lambdaaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_lambdaaction.go deleted file mode 100644 index e388528094..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_lambdaaction.go +++ /dev/null @@ -1,47 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_LambdaAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.LambdaAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html -type ReceiptRule_LambdaAction struct { - - // FunctionArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-functionarn - FunctionArn *types.Value `json:"FunctionArn,omitempty"` - - // InvocationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-invocationtype - InvocationType *types.Value `json:"InvocationType,omitempty"` - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-lambdaaction.html#cfn-ses-receiptrule-lambdaaction-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ReceiptRule_LambdaAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.LambdaAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_rule.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_rule.go deleted file mode 100644 index e0dc4fceda..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_rule.go +++ /dev/null @@ -1,62 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_Rule AWS CloudFormation Resource (AWS::SES::ReceiptRule.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html -type ReceiptRule_Rule struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-actions - Actions []ReceiptRule_Action `json:"Actions,omitempty"` - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-enabled - Enabled *types.Value `json:"Enabled,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-name - Name *types.Value `json:"Name,omitempty"` - - // Recipients AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-recipients - Recipients *types.Value `json:"Recipients,omitempty"` - - // ScanEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-scanenabled - ScanEnabled *types.Value `json:"ScanEnabled,omitempty"` - - // TlsPolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-rule.html#cfn-ses-receiptrule-rule-tlspolicy - TlsPolicy *types.Value `json:"TlsPolicy,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 *ReceiptRule_Rule) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.Rule" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_snsaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_snsaction.go deleted file mode 100644 index a10a608a45..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_snsaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_SNSAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.SNSAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-snsaction.html -type ReceiptRule_SNSAction struct { - - // Encoding AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-snsaction.html#cfn-ses-receiptrule-snsaction-encoding - Encoding *types.Value `json:"Encoding,omitempty"` - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-snsaction.html#cfn-ses-receiptrule-snsaction-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ReceiptRule_SNSAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.SNSAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_stopaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_stopaction.go deleted file mode 100644 index 3469ce3f7d..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_stopaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_StopAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.StopAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html -type ReceiptRule_StopAction struct { - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-scope - Scope *types.Value `json:"Scope,omitempty"` - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-stopaction.html#cfn-ses-receiptrule-stopaction-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ReceiptRule_StopAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.StopAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_workmailaction.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_workmailaction.go deleted file mode 100644 index 3af0e0bd6f..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptrule_workmailaction.go +++ /dev/null @@ -1,42 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRule_WorkmailAction AWS CloudFormation Resource (AWS::SES::ReceiptRule.WorkmailAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-workmailaction.html -type ReceiptRule_WorkmailAction struct { - - // OrganizationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-workmailaction.html#cfn-ses-receiptrule-workmailaction-organizationarn - OrganizationArn *types.Value `json:"OrganizationArn,omitempty"` - - // TopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-receiptrule-workmailaction.html#cfn-ses-receiptrule-workmailaction-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ReceiptRule_WorkmailAction) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRule.WorkmailAction" -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-receiptruleset.go b/pkg/goformation/cloudformation/ses/aws-ses-receiptruleset.go deleted file mode 100644 index 82dcda9eec..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-receiptruleset.go +++ /dev/null @@ -1,108 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReceiptRuleSet AWS CloudFormation Resource (AWS::SES::ReceiptRuleSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html -type ReceiptRuleSet struct { - - // RuleSetName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html#cfn-ses-receiptruleset-rulesetname - RuleSetName *types.Value `json:"RuleSetName,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 *ReceiptRuleSet) AWSCloudFormationType() string { - return "AWS::SES::ReceiptRuleSet" -} - -// 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 (r ReceiptRuleSet) MarshalJSON() ([]byte, error) { - type Properties ReceiptRuleSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReceiptRuleSet) UnmarshalJSON(b []byte) error { - type Properties ReceiptRuleSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReceiptRuleSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-template.go b/pkg/goformation/cloudformation/ses/aws-ses-template.go deleted file mode 100644 index 1ae0d82860..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-template.go +++ /dev/null @@ -1,106 +0,0 @@ -package ses - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template AWS CloudFormation Resource (AWS::SES::Template) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html -type Template struct { - - // Template AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html#cfn-ses-template-template - Template *Template_Template `json:"Template,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 *Template) AWSCloudFormationType() string { - return "AWS::SES::Template" -} - -// 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 (r Template) MarshalJSON() ([]byte, error) { - type Properties Template - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Template) UnmarshalJSON(b []byte) error { - type Properties Template - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Template(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ses/aws-ses-template_template.go b/pkg/goformation/cloudformation/ses/aws-ses-template_template.go deleted file mode 100644 index 33c2b8041b..0000000000 --- a/pkg/goformation/cloudformation/ses/aws-ses-template_template.go +++ /dev/null @@ -1,52 +0,0 @@ -package ses - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Template_Template AWS CloudFormation Resource (AWS::SES::Template.Template) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html -type Template_Template struct { - - // HtmlPart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-htmlpart - HtmlPart *types.Value `json:"HtmlPart,omitempty"` - - // SubjectPart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-subjectpart - SubjectPart *types.Value `json:"SubjectPart,omitempty"` - - // TemplateName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-templatename - TemplateName *types.Value `json:"TemplateName,omitempty"` - - // TextPart AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-template-template.html#cfn-ses-template-template-textpart - TextPart *types.Value `json:"TextPart,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 *Template_Template) AWSCloudFormationType() string { - return "AWS::SES::Template.Template" -} diff --git a/pkg/goformation/cloudformation/signer/aws-signer-profilepermission.go b/pkg/goformation/cloudformation/signer/aws-signer-profilepermission.go deleted file mode 100644 index 427f122481..0000000000 --- a/pkg/goformation/cloudformation/signer/aws-signer-profilepermission.go +++ /dev/null @@ -1,128 +0,0 @@ -package signer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ProfilePermission AWS CloudFormation Resource (AWS::Signer::ProfilePermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html -type ProfilePermission struct { - - // Action AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-action - Action *types.Value `json:"Action,omitempty"` - - // Principal AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-principal - Principal *types.Value `json:"Principal,omitempty"` - - // ProfileName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profilename - ProfileName *types.Value `json:"ProfileName,omitempty"` - - // ProfileVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-profileversion - ProfileVersion *types.Value `json:"ProfileVersion,omitempty"` - - // StatementId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html#cfn-signer-profilepermission-statementid - StatementId *types.Value `json:"StatementId,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 *ProfilePermission) AWSCloudFormationType() string { - return "AWS::Signer::ProfilePermission" -} - -// 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 (r ProfilePermission) MarshalJSON() ([]byte, error) { - type Properties ProfilePermission - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ProfilePermission) UnmarshalJSON(b []byte) error { - type Properties ProfilePermission - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ProfilePermission(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/signer/aws-signer-signingprofile.go b/pkg/goformation/cloudformation/signer/aws-signer-signingprofile.go deleted file mode 100644 index 9c7d473ef9..0000000000 --- a/pkg/goformation/cloudformation/signer/aws-signer-signingprofile.go +++ /dev/null @@ -1,119 +0,0 @@ -package signer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SigningProfile AWS CloudFormation Resource (AWS::Signer::SigningProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html -type SigningProfile struct { - - // PlatformId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-platformid - PlatformId *types.Value `json:"PlatformId,omitempty"` - - // SignatureValidityPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-signaturevalidityperiod - SignatureValidityPeriod *SigningProfile_SignatureValidityPeriod `json:"SignatureValidityPeriod,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html#cfn-signer-signingprofile-tags - Tags []cloudformation.Tag `json:"Tags,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 *SigningProfile) AWSCloudFormationType() string { - return "AWS::Signer::SigningProfile" -} - -// 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 (r SigningProfile) MarshalJSON() ([]byte, error) { - type Properties SigningProfile - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SigningProfile) UnmarshalJSON(b []byte) error { - type Properties SigningProfile - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SigningProfile(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/signer/aws-signer-signingprofile_signaturevalidityperiod.go b/pkg/goformation/cloudformation/signer/aws-signer-signingprofile_signaturevalidityperiod.go deleted file mode 100644 index eaa316052a..0000000000 --- a/pkg/goformation/cloudformation/signer/aws-signer-signingprofile_signaturevalidityperiod.go +++ /dev/null @@ -1,42 +0,0 @@ -package signer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SigningProfile_SignatureValidityPeriod AWS CloudFormation Resource (AWS::Signer::SigningProfile.SignatureValidityPeriod) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html -type SigningProfile_SignatureValidityPeriod struct { - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-signer-signingprofile-signaturevalidityperiod.html#cfn-signer-signingprofile-signaturevalidityperiod-value - Value *types.Value `json:"Value,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 *SigningProfile_SignatureValidityPeriod) AWSCloudFormationType() string { - return "AWS::Signer::SigningProfile.SignatureValidityPeriod" -} diff --git a/pkg/goformation/cloudformation/sns/aws-sns-subscription.go b/pkg/goformation/cloudformation/sns/aws-sns-subscription.go index ca1ce1bcb7..f4ef457313 100644 --- a/pkg/goformation/cloudformation/sns/aws-sns-subscription.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-subscription.go @@ -21,7 +21,7 @@ type Subscription struct { // Endpoint AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-endpoint + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-endpoint Endpoint *types.Value `json:"Endpoint,omitempty"` // FilterPolicy AWS CloudFormation Property @@ -29,9 +29,14 @@ type Subscription struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-filterpolicy FilterPolicy interface{} `json:"FilterPolicy,omitempty"` + // FilterPolicyScope AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-filterpolicyscope + FilterPolicyScope *types.Value `json:"FilterPolicyScope,omitempty"` + // Protocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-protocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-protocol Protocol *types.Value `json:"Protocol,omitempty"` // RawMessageDelivery AWS CloudFormation Property @@ -49,6 +54,11 @@ type Subscription struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-region Region *types.Value `json:"Region,omitempty"` + // ReplayPolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-replaypolicy + ReplayPolicy interface{} `json:"ReplayPolicy,omitempty"` + // SubscriptionRoleArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-subscriptionrolearn @@ -56,7 +66,7 @@ type Subscription struct { // TopicArn AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#topicarn + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html#cfn-sns-subscription-topicarn TopicArn *types.Value `json:"TopicArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/sns/aws-sns-topic.go b/pkg/goformation/cloudformation/sns/aws-sns-topic.go index 46199ab372..d9e2b76bc1 100644 --- a/pkg/goformation/cloudformation/sns/aws-sns-topic.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-topic.go @@ -12,44 +12,74 @@ import ( ) // Topic AWS CloudFormation Resource (AWS::SNS::Topic) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html type Topic struct { + // ArchivePolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-archivepolicy + ArchivePolicy interface{} `json:"ArchivePolicy,omitempty"` + // ContentBasedDeduplication AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-contentbaseddeduplication + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-contentbaseddeduplication ContentBasedDeduplication *types.Value `json:"ContentBasedDeduplication,omitempty"` + // DataProtectionPolicy AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-dataprotectionpolicy + DataProtectionPolicy interface{} `json:"DataProtectionPolicy,omitempty"` + + // DeliveryStatusLogging AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-deliverystatuslogging + DeliveryStatusLogging []Topic_LoggingConfig `json:"DeliveryStatusLogging,omitempty"` + // DisplayName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-displayname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-displayname DisplayName *types.Value `json:"DisplayName,omitempty"` + // FifoThroughputScope AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-fifothroughputscope + FifoThroughputScope *types.Value `json:"FifoThroughputScope,omitempty"` + // FifoTopic AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-fifotopic + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-fifotopic FifoTopic *types.Value `json:"FifoTopic,omitempty"` // KmsMasterKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-kmsmasterkeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-kmsmasterkeyid KmsMasterKeyId *types.Value `json:"KmsMasterKeyId,omitempty"` + // SignatureVersion AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-signatureversion + SignatureVersion *types.Value `json:"SignatureVersion,omitempty"` + // Subscription AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-subscription + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-subscription Subscription []Topic_Subscription `json:"Subscription,omitempty"` // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // TopicName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic.html#cfn-sns-topic-topicname + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-topicname TopicName *types.Value `json:"TopicName,omitempty"` + // TracingConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-tracingconfig + TracingConfig *types.Value `json:"TracingConfig,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_ippermission.go b/pkg/goformation/cloudformation/sns/aws-sns-topic_loggingconfig.go similarity index 55% rename from pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_ippermission.go rename to pkg/goformation/cloudformation/sns/aws-sns-topic_loggingconfig.go index b3c7d09177..b83d28fd8a 100644 --- a/pkg/goformation/cloudformation/gamelift/aws-gamelift-fleet_ippermission.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-topic_loggingconfig.go @@ -1,4 +1,4 @@ -package gamelift +package sns import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" @@ -6,29 +6,29 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Fleet_IpPermission AWS CloudFormation Resource (AWS::GameLift::Fleet.IpPermission) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html -type Fleet_IpPermission struct { +// Topic_LoggingConfig AWS CloudFormation Resource (AWS::SNS::Topic.LoggingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-loggingconfig.html +type Topic_LoggingConfig struct { - // FromPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-fromport - FromPort *types.Value `json:"FromPort"` - - // IpRange AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-iprange - IpRange *types.Value `json:"IpRange,omitempty"` + // FailureFeedbackRoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-loggingconfig.html#cfn-sns-topic-loggingconfig-failurefeedbackrolearn + FailureFeedbackRoleArn *types.Value `json:"FailureFeedbackRoleArn,omitempty"` // Protocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-protocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-loggingconfig.html#cfn-sns-topic-loggingconfig-protocol Protocol *types.Value `json:"Protocol,omitempty"` - // ToPort AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ippermission.html#cfn-gamelift-fleet-ippermission-toport - ToPort *types.Value `json:"ToPort"` + // SuccessFeedbackRoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-loggingconfig.html#cfn-sns-topic-loggingconfig-successfeedbackrolearn + SuccessFeedbackRoleArn *types.Value `json:"SuccessFeedbackRoleArn,omitempty"` + + // SuccessFeedbackSampleRate AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-loggingconfig.html#cfn-sns-topic-loggingconfig-successfeedbacksamplerate + SuccessFeedbackSampleRate *types.Value `json:"SuccessFeedbackSampleRate,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -47,6 +47,6 @@ type Fleet_IpPermission struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Fleet_IpPermission) AWSCloudFormationType() string { - return "AWS::GameLift::Fleet.IpPermission" +func (r *Topic_LoggingConfig) AWSCloudFormationType() string { + return "AWS::SNS::Topic.LoggingConfig" } diff --git a/pkg/goformation/cloudformation/sns/aws-sns-topic_subscription.go b/pkg/goformation/cloudformation/sns/aws-sns-topic_subscription.go index 484018f525..6f73f66ba5 100644 --- a/pkg/goformation/cloudformation/sns/aws-sns-topic_subscription.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-topic_subscription.go @@ -7,17 +7,17 @@ import ( ) // Topic_Subscription AWS CloudFormation Resource (AWS::SNS::Topic.Subscription) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-subscription.html type Topic_Subscription struct { // Endpoint AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html#cfn-sns-topic-subscription-endpoint + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-subscription.html#cfn-sns-topic-subscription-endpoint Endpoint *types.Value `json:"Endpoint,omitempty"` // Protocol AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-subscription.html#cfn-sns-topic-subscription-protocol + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-topic-subscription.html#cfn-sns-topic-subscription-protocol Protocol *types.Value `json:"Protocol,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/iot/aws-iot-policy.go b/pkg/goformation/cloudformation/sns/aws-sns-topicinlinepolicy.go similarity index 82% rename from pkg/goformation/cloudformation/iot/aws-iot-policy.go rename to pkg/goformation/cloudformation/sns/aws-sns-topicinlinepolicy.go index de4123ede7..de6d0365c6 100644 --- a/pkg/goformation/cloudformation/iot/aws-iot-policy.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-topicinlinepolicy.go @@ -1,4 +1,4 @@ -package iot +package sns import ( "bytes" @@ -10,19 +10,19 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// Policy AWS CloudFormation Resource (AWS::IoT::Policy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html -type Policy struct { +// TopicInlinePolicy AWS CloudFormation Resource (AWS::SNS::TopicInlinePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html +type TopicInlinePolicy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` - // PolicyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policyname - PolicyName *types.Value `json:"PolicyName,omitempty"` + // TopicArn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-topicarn + TopicArn *types.Value `json:"TopicArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -41,14 +41,14 @@ type Policy struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Policy) AWSCloudFormationType() string { - return "AWS::IoT::Policy" +func (r *TopicInlinePolicy) AWSCloudFormationType() string { + return "AWS::SNS::TopicInlinePolicy" } // 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 (r Policy) MarshalJSON() ([]byte, error) { - type Properties Policy +func (r TopicInlinePolicy) MarshalJSON() ([]byte, error) { + type Properties TopicInlinePolicy return json.Marshal(&struct { Type string Properties Properties @@ -70,8 +70,8 @@ func (r Policy) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Policy) UnmarshalJSON(b []byte) error { - type Properties Policy +func (r *TopicInlinePolicy) UnmarshalJSON(b []byte) error { + type Properties TopicInlinePolicy res := &struct { Type string Properties *Properties @@ -92,7 +92,7 @@ func (r *Policy) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = Policy(*res.Properties) + *r = TopicInlinePolicy(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/sns/aws-sns-topicpolicy.go b/pkg/goformation/cloudformation/sns/aws-sns-topicpolicy.go index 92c4357f73..e9efdb8eb6 100644 --- a/pkg/goformation/cloudformation/sns/aws-sns-topicpolicy.go +++ b/pkg/goformation/cloudformation/sns/aws-sns-topicpolicy.go @@ -11,17 +11,17 @@ import ( ) // TopicPolicy AWS CloudFormation Resource (AWS::SNS::TopicPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html type TopicPolicy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html#cfn-sns-topicpolicy-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html#cfn-sns-topicpolicy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` // Topics AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sns-policy.html#cfn-sns-topicpolicy-topics + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html#cfn-sns-topicpolicy-topics Topics *types.Value `json:"Topics,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/sqs/aws-sqs-queue.go b/pkg/goformation/cloudformation/sqs/aws-sqs-queue.go index 198d5c6e39..19dadbfe32 100644 --- a/pkg/goformation/cloudformation/sqs/aws-sqs-queue.go +++ b/pkg/goformation/cloudformation/sqs/aws-sqs-queue.go @@ -12,82 +12,87 @@ import ( ) // Queue AWS CloudFormation Resource (AWS::SQS::Queue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html type Queue struct { // ContentBasedDeduplication AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-contentbaseddeduplication + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-contentbaseddeduplication ContentBasedDeduplication *types.Value `json:"ContentBasedDeduplication,omitempty"` // DeduplicationScope AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-deduplicationscope + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-deduplicationscope DeduplicationScope *types.Value `json:"DeduplicationScope,omitempty"` // DelaySeconds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-delayseconds + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-delayseconds DelaySeconds *types.Value `json:"DelaySeconds,omitempty"` // FifoQueue AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-fifoqueue + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-fifoqueue FifoQueue *types.Value `json:"FifoQueue,omitempty"` // FifoThroughputLimit AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-fifothroughputlimit + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-fifothroughputlimit FifoThroughputLimit *types.Value `json:"FifoThroughputLimit,omitempty"` // KmsDataKeyReusePeriodSeconds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-kmsdatakeyreuseperiodseconds + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-kmsdatakeyreuseperiodseconds KmsDataKeyReusePeriodSeconds *types.Value `json:"KmsDataKeyReusePeriodSeconds,omitempty"` // KmsMasterKeyId AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-kmsmasterkeyid + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-kmsmasterkeyid KmsMasterKeyId *types.Value `json:"KmsMasterKeyId,omitempty"` // MaximumMessageSize AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-maxmesgsize + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-maximummessagesize MaximumMessageSize *types.Value `json:"MaximumMessageSize,omitempty"` // MessageRetentionPeriod AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-msgretentionperiod + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-messageretentionperiod MessageRetentionPeriod *types.Value `json:"MessageRetentionPeriod,omitempty"` // QueueName AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-name + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-queuename QueueName *types.Value `json:"QueueName,omitempty"` // ReceiveMessageWaitTimeSeconds AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-receivemsgwaittime + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-receivemessagewaittimeseconds ReceiveMessageWaitTimeSeconds *types.Value `json:"ReceiveMessageWaitTimeSeconds,omitempty"` // RedriveAllowPolicy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-redriveallowpolicy + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-redriveallowpolicy RedriveAllowPolicy interface{} `json:"RedriveAllowPolicy,omitempty"` // RedrivePolicy AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-redrive + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-redrivepolicy RedrivePolicy interface{} `json:"RedrivePolicy,omitempty"` + // SqsManagedSseEnabled AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-sqsmanagedsseenabled + SqsManagedSseEnabled *types.Value `json:"SqsManagedSseEnabled,omitempty"` + // Tags AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#cfn-sqs-queue-tags + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-tags Tags []cloudformation.Tag `json:"Tags,omitempty"` // VisibilityTimeout AWS CloudFormation Property // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html#aws-sqs-queue-visiblitytimeout + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html#cfn-sqs-queue-visibilitytimeout VisibilityTimeout *types.Value `json:"VisibilityTimeout,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy diff --git a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucketpolicy.go b/pkg/goformation/cloudformation/sqs/aws-sqs-queueinlinepolicy.go similarity index 82% rename from pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucketpolicy.go rename to pkg/goformation/cloudformation/sqs/aws-sqs-queueinlinepolicy.go index cb2d56ba9c..c58759d698 100644 --- a/pkg/goformation/cloudformation/s3outposts/aws-s3outposts-bucketpolicy.go +++ b/pkg/goformation/cloudformation/sqs/aws-sqs-queueinlinepolicy.go @@ -1,4 +1,4 @@ -package s3outposts +package sqs import ( "bytes" @@ -10,20 +10,20 @@ import ( "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" ) -// BucketPolicy AWS CloudFormation Resource (AWS::S3Outposts::BucketPolicy) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html -type BucketPolicy struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html#cfn-s3outposts-bucketpolicy-bucket - Bucket *types.Value `json:"Bucket,omitempty"` +// QueueInlinePolicy AWS CloudFormation Resource (AWS::SQS::QueueInlinePolicy) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html +type QueueInlinePolicy struct { // PolicyDocument AWS CloudFormation Property // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html#cfn-s3outposts-bucketpolicy-policydocument + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-policydocument PolicyDocument interface{} `json:"PolicyDocument,omitempty"` + // Queue AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-queue + Queue *types.Value `json:"Queue,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` @@ -41,14 +41,14 @@ type BucketPolicy struct { } // AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *BucketPolicy) AWSCloudFormationType() string { - return "AWS::S3Outposts::BucketPolicy" +func (r *QueueInlinePolicy) AWSCloudFormationType() string { + return "AWS::SQS::QueueInlinePolicy" } // 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 (r BucketPolicy) MarshalJSON() ([]byte, error) { - type Properties BucketPolicy +func (r QueueInlinePolicy) MarshalJSON() ([]byte, error) { + type Properties QueueInlinePolicy return json.Marshal(&struct { Type string Properties Properties @@ -70,8 +70,8 @@ func (r BucketPolicy) MarshalJSON() ([]byte, error) { // UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer // AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *BucketPolicy) UnmarshalJSON(b []byte) error { - type Properties BucketPolicy +func (r *QueueInlinePolicy) UnmarshalJSON(b []byte) error { + type Properties QueueInlinePolicy res := &struct { Type string Properties *Properties @@ -92,7 +92,7 @@ func (r *BucketPolicy) UnmarshalJSON(b []byte) error { // If the resource has no Properties set, it could be nil if res.Properties != nil { - *r = BucketPolicy(*res.Properties) + *r = QueueInlinePolicy(*res.Properties) } if res.DependsOn != nil { r.AWSCloudFormationDependsOn = res.DependsOn diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-association.go b/pkg/goformation/cloudformation/ssm/aws-ssm-association.go deleted file mode 100644 index c2c7792a59..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-association.go +++ /dev/null @@ -1,183 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Association AWS CloudFormation Resource (AWS::SSM::Association) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html -type Association struct { - - // ApplyOnlyAtCronInterval AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-applyonlyatcroninterval - ApplyOnlyAtCronInterval *types.Value `json:"ApplyOnlyAtCronInterval,omitempty"` - - // AssociationName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-associationname - AssociationName *types.Value `json:"AssociationName,omitempty"` - - // AutomationTargetParameterName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-automationtargetparametername - AutomationTargetParameterName *types.Value `json:"AutomationTargetParameterName,omitempty"` - - // CalendarNames AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-calendarnames - CalendarNames *types.Value `json:"CalendarNames,omitempty"` - - // ComplianceSeverity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-complianceseverity - ComplianceSeverity *types.Value `json:"ComplianceSeverity,omitempty"` - - // DocumentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-documentversion - DocumentVersion *types.Value `json:"DocumentVersion,omitempty"` - - // InstanceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-instanceid - InstanceId *types.Value `json:"InstanceId,omitempty"` - - // MaxConcurrency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-maxconcurrency - MaxConcurrency *types.Value `json:"MaxConcurrency,omitempty"` - - // MaxErrors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-maxerrors - MaxErrors *types.Value `json:"MaxErrors,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-name - Name *types.Value `json:"Name,omitempty"` - - // OutputLocation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-outputlocation - OutputLocation *Association_InstanceAssociationOutputLocation `json:"OutputLocation,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-parameters - Parameters map[string]interface{} `json:"Parameters,omitempty"` - - // ScheduleExpression AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,omitempty"` - - // SyncCompliance AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-synccompliance - SyncCompliance *types.Value `json:"SyncCompliance,omitempty"` - - // Targets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-targets - Targets []Association_Target `json:"Targets,omitempty"` - - // WaitForSuccessTimeoutSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-waitforsuccesstimeoutseconds - WaitForSuccessTimeoutSeconds *types.Value `json:"WaitForSuccessTimeoutSeconds,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 *Association) AWSCloudFormationType() string { - return "AWS::SSM::Association" -} - -// 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 (r Association) MarshalJSON() ([]byte, error) { - type Properties Association - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Association) UnmarshalJSON(b []byte) error { - type Properties Association - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Association(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-association_instanceassociationoutputlocation.go b/pkg/goformation/cloudformation/ssm/aws-ssm-association_instanceassociationoutputlocation.go deleted file mode 100644 index 9aee76fe66..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-association_instanceassociationoutputlocation.go +++ /dev/null @@ -1,35 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Association_InstanceAssociationOutputLocation AWS CloudFormation Resource (AWS::SSM::Association.InstanceAssociationOutputLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-instanceassociationoutputlocation.html -type Association_InstanceAssociationOutputLocation struct { - - // S3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-instanceassociationoutputlocation.html#cfn-ssm-association-instanceassociationoutputlocation-s3location - S3Location *Association_S3OutputLocation `json:"S3Location,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 *Association_InstanceAssociationOutputLocation) AWSCloudFormationType() string { - return "AWS::SSM::Association.InstanceAssociationOutputLocation" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-association_parametervalues.go b/pkg/goformation/cloudformation/ssm/aws-ssm-association_parametervalues.go deleted file mode 100644 index 7295f863d5..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-association_parametervalues.go +++ /dev/null @@ -1,37 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Association_ParameterValues AWS CloudFormation Resource (AWS::SSM::Association.ParameterValues) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-parametervalues.html -type Association_ParameterValues struct { - - // ParameterValues AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-parametervalues.html#cfn-ssm-association-parametervalues-parametervalues - ParameterValues *types.Value `json:"ParameterValues,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 *Association_ParameterValues) AWSCloudFormationType() string { - return "AWS::SSM::Association.ParameterValues" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-association_s3outputlocation.go b/pkg/goformation/cloudformation/ssm/aws-ssm-association_s3outputlocation.go deleted file mode 100644 index 4e5648fdd4..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-association_s3outputlocation.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Association_S3OutputLocation AWS CloudFormation Resource (AWS::SSM::Association.S3OutputLocation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-s3outputlocation.html -type Association_S3OutputLocation struct { - - // OutputS3BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-s3outputlocation.html#cfn-ssm-association-s3outputlocation-outputs3bucketname - OutputS3BucketName *types.Value `json:"OutputS3BucketName,omitempty"` - - // OutputS3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-s3outputlocation.html#cfn-ssm-association-s3outputlocation-outputs3keyprefix - OutputS3KeyPrefix *types.Value `json:"OutputS3KeyPrefix,omitempty"` - - // OutputS3Region AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-s3outputlocation.html#cfn-ssm-association-s3outputlocation-outputs3region - OutputS3Region *types.Value `json:"OutputS3Region,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 *Association_S3OutputLocation) AWSCloudFormationType() string { - return "AWS::SSM::Association.S3OutputLocation" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-association_target.go b/pkg/goformation/cloudformation/ssm/aws-ssm-association_target.go deleted file mode 100644 index 29e23f8df7..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-association_target.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Association_Target AWS CloudFormation Resource (AWS::SSM::Association.Target) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-target.html -type Association_Target struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-target.html#cfn-ssm-association-target-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-target.html#cfn-ssm-association-target-values - Values *types.Value `json:"Values,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 *Association_Target) AWSCloudFormationType() string { - return "AWS::SSM::Association.Target" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-document.go b/pkg/goformation/cloudformation/ssm/aws-ssm-document.go deleted file mode 100644 index 03940a23ea..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-document.go +++ /dev/null @@ -1,149 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Document AWS CloudFormation Resource (AWS::SSM::Document) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html -type Document struct { - - // Attachments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-attachments - Attachments []Document_AttachmentsSource `json:"Attachments,omitempty"` - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-content - Content interface{} `json:"Content,omitempty"` - - // DocumentFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-documentformat - DocumentFormat *types.Value `json:"DocumentFormat,omitempty"` - - // DocumentType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-documenttype - DocumentType *types.Value `json:"DocumentType,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-name - Name *types.Value `json:"Name,omitempty"` - - // Requires AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-requires - Requires []Document_DocumentRequires `json:"Requires,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-targettype - TargetType *types.Value `json:"TargetType,omitempty"` - - // VersionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-document.html#cfn-ssm-document-versionname - VersionName *types.Value `json:"VersionName,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 *Document) AWSCloudFormationType() string { - return "AWS::SSM::Document" -} - -// 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 (r Document) MarshalJSON() ([]byte, error) { - type Properties Document - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Document) UnmarshalJSON(b []byte) error { - type Properties Document - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Document(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-document_attachmentssource.go b/pkg/goformation/cloudformation/ssm/aws-ssm-document_attachmentssource.go deleted file mode 100644 index cfdaf8e7a9..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-document_attachmentssource.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Document_AttachmentsSource AWS CloudFormation Resource (AWS::SSM::Document.AttachmentsSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-attachmentssource.html -type Document_AttachmentsSource struct { - - // Key AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-attachmentssource.html#cfn-ssm-document-attachmentssource-key - Key *types.Value `json:"Key,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-attachmentssource.html#cfn-ssm-document-attachmentssource-name - Name *types.Value `json:"Name,omitempty"` - - // Values AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-attachmentssource.html#cfn-ssm-document-attachmentssource-values - Values *types.Value `json:"Values,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 *Document_AttachmentsSource) AWSCloudFormationType() string { - return "AWS::SSM::Document.AttachmentsSource" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-document_documentrequires.go b/pkg/goformation/cloudformation/ssm/aws-ssm-document_documentrequires.go deleted file mode 100644 index cf729dfca1..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-document_documentrequires.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Document_DocumentRequires AWS CloudFormation Resource (AWS::SSM::Document.DocumentRequires) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-documentrequires.html -type Document_DocumentRequires struct { - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-documentrequires.html#cfn-ssm-document-documentrequires-name - Name *types.Value `json:"Name,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-document-documentrequires.html#cfn-ssm-document-documentrequires-version - Version *types.Value `json:"Version,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 *Document_DocumentRequires) AWSCloudFormationType() string { - return "AWS::SSM::Document.DocumentRequires" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindow.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindow.go deleted file mode 100644 index d80620f71c..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindow.go +++ /dev/null @@ -1,159 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindow AWS CloudFormation Resource (AWS::SSM::MaintenanceWindow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html -type MaintenanceWindow struct { - - // AllowUnassociatedTargets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-allowunassociatedtargets - AllowUnassociatedTargets *types.Value `json:"AllowUnassociatedTargets"` - - // Cutoff AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-cutoff - Cutoff *types.Value `json:"Cutoff"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-description - Description *types.Value `json:"Description,omitempty"` - - // Duration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-duration - Duration *types.Value `json:"Duration"` - - // EndDate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-enddate - EndDate *types.Value `json:"EndDate,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-name - Name *types.Value `json:"Name,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-schedule - Schedule *types.Value `json:"Schedule,omitempty"` - - // ScheduleOffset AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-scheduleoffset - ScheduleOffset *types.Value `json:"ScheduleOffset,omitempty"` - - // ScheduleTimezone AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-scheduletimezone - ScheduleTimezone *types.Value `json:"ScheduleTimezone,omitempty"` - - // StartDate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-startdate - StartDate *types.Value `json:"StartDate,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html#cfn-ssm-maintenancewindow-tags - Tags []cloudformation.Tag `json:"Tags,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 *MaintenanceWindow) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindow" -} - -// 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 (r MaintenanceWindow) MarshalJSON() ([]byte, error) { - type Properties MaintenanceWindow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MaintenanceWindow) UnmarshalJSON(b []byte) error { - type Properties MaintenanceWindow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MaintenanceWindow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget.go deleted file mode 100644 index fdc3cbb810..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget.go +++ /dev/null @@ -1,133 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTarget AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTarget) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html -type MaintenanceWindowTarget struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-name - Name *types.Value `json:"Name,omitempty"` - - // OwnerInformation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-ownerinformation - OwnerInformation *types.Value `json:"OwnerInformation,omitempty"` - - // ResourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-resourcetype - ResourceType *types.Value `json:"ResourceType,omitempty"` - - // Targets AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-targets - Targets []MaintenanceWindowTarget_Targets `json:"Targets,omitempty"` - - // WindowId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html#cfn-ssm-maintenancewindowtarget-windowid - WindowId *types.Value `json:"WindowId,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 *MaintenanceWindowTarget) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTarget" -} - -// 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 (r MaintenanceWindowTarget) MarshalJSON() ([]byte, error) { - type Properties MaintenanceWindowTarget - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MaintenanceWindowTarget) UnmarshalJSON(b []byte) error { - type Properties MaintenanceWindowTarget - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MaintenanceWindowTarget(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget_targets.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget_targets.go deleted file mode 100644 index 4349870103..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtarget_targets.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTarget_Targets AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTarget.Targets) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtarget-targets.html -type MaintenanceWindowTarget_Targets struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtarget-targets.html#cfn-ssm-maintenancewindowtarget-targets-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtarget-targets.html#cfn-ssm-maintenancewindowtarget-targets-values - Values *types.Value `json:"Values,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 *MaintenanceWindowTarget_Targets) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTarget.Targets" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask.go deleted file mode 100644 index eedd8981c3..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask.go +++ /dev/null @@ -1,173 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html -type MaintenanceWindowTask struct { - - // CutoffBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-cutoffbehavior - CutoffBehavior *types.Value `json:"CutoffBehavior,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-description - Description *types.Value `json:"Description,omitempty"` - - // LoggingInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-logginginfo - LoggingInfo *MaintenanceWindowTask_LoggingInfo `json:"LoggingInfo,omitempty"` - - // MaxConcurrency AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-maxconcurrency - MaxConcurrency *types.Value `json:"MaxConcurrency,omitempty"` - - // MaxErrors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-maxerrors - MaxErrors *types.Value `json:"MaxErrors,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-priority - Priority *types.Value `json:"Priority"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // Targets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-targets - Targets []MaintenanceWindowTask_Target `json:"Targets,omitempty"` - - // TaskArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-taskarn - TaskArn *types.Value `json:"TaskArn,omitempty"` - - // TaskInvocationParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters - TaskInvocationParameters *MaintenanceWindowTask_TaskInvocationParameters `json:"TaskInvocationParameters,omitempty"` - - // TaskParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-taskparameters - TaskParameters interface{} `json:"TaskParameters,omitempty"` - - // TaskType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-tasktype - TaskType *types.Value `json:"TaskType,omitempty"` - - // WindowId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html#cfn-ssm-maintenancewindowtask-windowid - WindowId *types.Value `json:"WindowId,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 *MaintenanceWindowTask) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask" -} - -// 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 (r MaintenanceWindowTask) MarshalJSON() ([]byte, error) { - type Properties MaintenanceWindowTask - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *MaintenanceWindowTask) UnmarshalJSON(b []byte) error { - type Properties MaintenanceWindowTask - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = MaintenanceWindowTask(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_logginginfo.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_logginginfo.go deleted file mode 100644 index 3b66687733..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_logginginfo.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_LoggingInfo AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.LoggingInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html -type MaintenanceWindowTask_LoggingInfo struct { - - // Region AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-region - Region *types.Value `json:"Region,omitempty"` - - // S3Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3bucket - S3Bucket *types.Value `json:"S3Bucket,omitempty"` - - // S3Prefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-logginginfo.html#cfn-ssm-maintenancewindowtask-logginginfo-s3prefix - S3Prefix *types.Value `json:"S3Prefix,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 *MaintenanceWindowTask_LoggingInfo) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.LoggingInfo" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowautomationparameters.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowautomationparameters.go deleted file mode 100644 index 1dda17fd06..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowautomationparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_MaintenanceWindowAutomationParameters AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html -type MaintenanceWindowTask_MaintenanceWindowAutomationParameters struct { - - // DocumentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowautomationparameters-documentversion - DocumentVersion *types.Value `json:"DocumentVersion,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowautomationparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowautomationparameters-parameters - Parameters interface{} `json:"Parameters,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 *MaintenanceWindowTask_MaintenanceWindowAutomationParameters) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowlambdaparameters.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowlambdaparameters.go deleted file mode 100644 index 7ac4f22476..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowlambdaparameters.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_MaintenanceWindowLambdaParameters AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html -type MaintenanceWindowTask_MaintenanceWindowLambdaParameters struct { - - // ClientContext AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-clientcontext - ClientContext *types.Value `json:"ClientContext,omitempty"` - - // Payload AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-payload - Payload *types.Value `json:"Payload,omitempty"` - - // Qualifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-qualifier - Qualifier *types.Value `json:"Qualifier,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 *MaintenanceWindowTask_MaintenanceWindowLambdaParameters) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowruncommandparameters.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowruncommandparameters.go deleted file mode 100644 index 53711843c1..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowruncommandparameters.go +++ /dev/null @@ -1,77 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_MaintenanceWindowRunCommandParameters AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html -type MaintenanceWindowTask_MaintenanceWindowRunCommandParameters struct { - - // Comment AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-comment - Comment *types.Value `json:"Comment,omitempty"` - - // DocumentHash AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthash - DocumentHash *types.Value `json:"DocumentHash,omitempty"` - - // DocumentHashType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-documenthashtype - DocumentHashType *types.Value `json:"DocumentHashType,omitempty"` - - // NotificationConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-notificationconfig - NotificationConfig *MaintenanceWindowTask_NotificationConfig `json:"NotificationConfig,omitempty"` - - // OutputS3BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3bucketname - OutputS3BucketName *types.Value `json:"OutputS3BucketName,omitempty"` - - // OutputS3KeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-outputs3keyprefix - OutputS3KeyPrefix *types.Value `json:"OutputS3KeyPrefix,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-parameters - Parameters interface{} `json:"Parameters,omitempty"` - - // ServiceRoleArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-servicerolearn - ServiceRoleArn *types.Value `json:"ServiceRoleArn,omitempty"` - - // TimeoutSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowruncommandparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowruncommandparameters-timeoutseconds - TimeoutSeconds *types.Value `json:"TimeoutSeconds,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 *MaintenanceWindowTask_MaintenanceWindowRunCommandParameters) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowstepfunctionsparameters.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowstepfunctionsparameters.go deleted file mode 100644 index 072fb7e13e..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_maintenancewindowstepfunctionsparameters.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_MaintenanceWindowStepFunctionsParameters AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html -type MaintenanceWindowTask_MaintenanceWindowStepFunctionsParameters struct { - - // Input AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters-input - Input *types.Value `json:"Input,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowstepfunctionsparameters-name - Name *types.Value `json:"Name,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 *MaintenanceWindowTask_MaintenanceWindowStepFunctionsParameters) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_notificationconfig.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_notificationconfig.go deleted file mode 100644 index e94b0b00bc..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_notificationconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_NotificationConfig AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.NotificationConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html -type MaintenanceWindowTask_NotificationConfig struct { - - // NotificationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationarn - NotificationArn *types.Value `json:"NotificationArn,omitempty"` - - // NotificationEvents AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationevents - NotificationEvents *types.Value `json:"NotificationEvents,omitempty"` - - // NotificationType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-notificationconfig.html#cfn-ssm-maintenancewindowtask-notificationconfig-notificationtype - NotificationType *types.Value `json:"NotificationType,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 *MaintenanceWindowTask_NotificationConfig) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.NotificationConfig" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_target.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_target.go deleted file mode 100644 index dd5c1f20dc..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_target.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_Target AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.Target) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html -type MaintenanceWindowTask_Target struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html#cfn-ssm-maintenancewindowtask-target-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-target.html#cfn-ssm-maintenancewindowtask-target-values - Values *types.Value `json:"Values,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 *MaintenanceWindowTask_Target) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.Target" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_taskinvocationparameters.go b/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_taskinvocationparameters.go deleted file mode 100644 index 5affc5a142..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-maintenancewindowtask_taskinvocationparameters.go +++ /dev/null @@ -1,50 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// MaintenanceWindowTask_TaskInvocationParameters AWS CloudFormation Resource (AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html -type MaintenanceWindowTask_TaskInvocationParameters struct { - - // MaintenanceWindowAutomationParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowautomationparameters - MaintenanceWindowAutomationParameters *MaintenanceWindowTask_MaintenanceWindowAutomationParameters `json:"MaintenanceWindowAutomationParameters,omitempty"` - - // MaintenanceWindowLambdaParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowlambdaparameters - MaintenanceWindowLambdaParameters *MaintenanceWindowTask_MaintenanceWindowLambdaParameters `json:"MaintenanceWindowLambdaParameters,omitempty"` - - // MaintenanceWindowRunCommandParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowruncommandparameters - MaintenanceWindowRunCommandParameters *MaintenanceWindowTask_MaintenanceWindowRunCommandParameters `json:"MaintenanceWindowRunCommandParameters,omitempty"` - - // MaintenanceWindowStepFunctionsParameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-taskinvocationparameters.html#cfn-ssm-maintenancewindowtask-taskinvocationparameters-maintenancewindowstepfunctionsparameters - MaintenanceWindowStepFunctionsParameters *MaintenanceWindowTask_MaintenanceWindowStepFunctionsParameters `json:"MaintenanceWindowStepFunctionsParameters,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 *MaintenanceWindowTask_TaskInvocationParameters) AWSCloudFormationType() string { - return "AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-parameter.go b/pkg/goformation/cloudformation/ssm/aws-ssm-parameter.go deleted file mode 100644 index 893831c1cb..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-parameter.go +++ /dev/null @@ -1,148 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Parameter AWS CloudFormation Resource (AWS::SSM::Parameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html -type Parameter struct { - - // AllowedPattern AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-allowedpattern - AllowedPattern *types.Value `json:"AllowedPattern,omitempty"` - - // DataType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-datatype - DataType *types.Value `json:"DataType,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-name - Name *types.Value `json:"Name,omitempty"` - - // Policies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-policies - Policies *types.Value `json:"Policies,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-tags - Tags interface{} `json:"Tags,omitempty"` - - // Tier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-tier - Tier *types.Value `json:"Tier,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html#cfn-ssm-parameter-value - Value *types.Value `json:"Value,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 *Parameter) AWSCloudFormationType() string { - return "AWS::SSM::Parameter" -} - -// 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 (r Parameter) MarshalJSON() ([]byte, error) { - type Properties Parameter - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Parameter) UnmarshalJSON(b []byte) error { - type Properties Parameter - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Parameter(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline.go deleted file mode 100644 index a4ccc246e5..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline.go +++ /dev/null @@ -1,169 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline AWS CloudFormation Resource (AWS::SSM::PatchBaseline) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html -type PatchBaseline struct { - - // ApprovalRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-approvalrules - ApprovalRules *PatchBaseline_RuleGroup `json:"ApprovalRules,omitempty"` - - // ApprovedPatches AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-approvedpatches - ApprovedPatches *types.Value `json:"ApprovedPatches,omitempty"` - - // ApprovedPatchesComplianceLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-approvedpatchescompliancelevel - ApprovedPatchesComplianceLevel *types.Value `json:"ApprovedPatchesComplianceLevel,omitempty"` - - // ApprovedPatchesEnableNonSecurity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-approvedpatchesenablenonsecurity - ApprovedPatchesEnableNonSecurity *types.Value `json:"ApprovedPatchesEnableNonSecurity,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-description - Description *types.Value `json:"Description,omitempty"` - - // GlobalFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-globalfilters - GlobalFilters *PatchBaseline_PatchFilterGroup `json:"GlobalFilters,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-name - Name *types.Value `json:"Name,omitempty"` - - // OperatingSystem AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-operatingsystem - OperatingSystem *types.Value `json:"OperatingSystem,omitempty"` - - // PatchGroups AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-patchgroups - PatchGroups *types.Value `json:"PatchGroups,omitempty"` - - // RejectedPatches AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-rejectedpatches - RejectedPatches *types.Value `json:"RejectedPatches,omitempty"` - - // RejectedPatchesAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-rejectedpatchesaction - RejectedPatchesAction *types.Value `json:"RejectedPatchesAction,omitempty"` - - // Sources AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-sources - Sources []PatchBaseline_PatchSource `json:"Sources,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html#cfn-ssm-patchbaseline-tags - Tags []cloudformation.Tag `json:"Tags,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 *PatchBaseline) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline" -} - -// 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 (r PatchBaseline) MarshalJSON() ([]byte, error) { - type Properties PatchBaseline - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PatchBaseline) UnmarshalJSON(b []byte) error { - type Properties PatchBaseline - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PatchBaseline(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfiltergroup.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfiltergroup.go deleted file mode 100644 index 9505d89d3d..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchfiltergroup.go +++ /dev/null @@ -1,35 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline_PatchFilterGroup AWS CloudFormation Resource (AWS::SSM::PatchBaseline.PatchFilterGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchfiltergroup.html -type PatchBaseline_PatchFilterGroup struct { - - // PatchFilters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchfiltergroup.html#cfn-ssm-patchbaseline-patchfiltergroup-patchfilters - PatchFilters []PatchBaseline_PatchFilter `json:"PatchFilters,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 *PatchBaseline_PatchFilterGroup) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.PatchFilterGroup" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchsource.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchsource.go deleted file mode 100644 index c60b4ed96d..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchsource.go +++ /dev/null @@ -1,47 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline_PatchSource AWS CloudFormation Resource (AWS::SSM::PatchBaseline.PatchSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html -type PatchBaseline_PatchSource struct { - - // Configuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html#cfn-ssm-patchbaseline-patchsource-configuration - Configuration *types.Value `json:"Configuration,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html#cfn-ssm-patchbaseline-patchsource-name - Name *types.Value `json:"Name,omitempty"` - - // Products AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-patchsource.html#cfn-ssm-patchbaseline-patchsource-products - Products *types.Value `json:"Products,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 *PatchBaseline_PatchSource) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.PatchSource" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchstringdate.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchstringdate.go deleted file mode 100644 index 93f96f9d9a..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_patchstringdate.go +++ /dev/null @@ -1,30 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline_PatchStringDate AWS CloudFormation Resource (AWS::SSM::PatchBaseline.PatchStringDate) -// See: -type PatchBaseline_PatchStringDate struct { - - // 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 *PatchBaseline_PatchStringDate) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.PatchStringDate" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rule.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rule.go deleted file mode 100644 index 0fbead1789..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rule.go +++ /dev/null @@ -1,57 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline_Rule AWS CloudFormation Resource (AWS::SSM::PatchBaseline.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html -type PatchBaseline_Rule struct { - - // ApproveAfterDays AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-approveafterdays - ApproveAfterDays *types.Value `json:"ApproveAfterDays,omitempty"` - - // ApproveUntilDate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-approveuntildate - ApproveUntilDate *PatchBaseline_PatchStringDate `json:"ApproveUntilDate,omitempty"` - - // ComplianceLevel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-compliancelevel - ComplianceLevel *types.Value `json:"ComplianceLevel,omitempty"` - - // EnableNonSecurity AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-enablenonsecurity - EnableNonSecurity *types.Value `json:"EnableNonSecurity,omitempty"` - - // PatchFilterGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rule.html#cfn-ssm-patchbaseline-rule-patchfiltergroup - PatchFilterGroup *PatchBaseline_PatchFilterGroup `json:"PatchFilterGroup,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 *PatchBaseline_Rule) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.Rule" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rulegroup.go b/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rulegroup.go deleted file mode 100644 index decf8a087b..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-patchbaseline_rulegroup.go +++ /dev/null @@ -1,35 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PatchBaseline_RuleGroup AWS CloudFormation Resource (AWS::SSM::PatchBaseline.RuleGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rulegroup.html -type PatchBaseline_RuleGroup struct { - - // PatchRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-patchbaseline-rulegroup.html#cfn-ssm-patchbaseline-rulegroup-patchrules - PatchRules []PatchBaseline_Rule `json:"PatchRules,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 *PatchBaseline_RuleGroup) AWSCloudFormationType() string { - return "AWS::SSM::PatchBaseline.RuleGroup" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync.go b/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync.go deleted file mode 100644 index ecac853e19..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync.go +++ /dev/null @@ -1,148 +0,0 @@ -package ssm - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDataSync AWS CloudFormation Resource (AWS::SSM::ResourceDataSync) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html -type ResourceDataSync struct { - - // BucketName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // BucketRegion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-bucketregion - BucketRegion *types.Value `json:"BucketRegion,omitempty"` - - // KMSKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-kmskeyarn - KMSKeyArn *types.Value `json:"KMSKeyArn,omitempty"` - - // S3Destination AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-s3destination - S3Destination *ResourceDataSync_S3Destination `json:"S3Destination,omitempty"` - - // SyncFormat AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-syncformat - SyncFormat *types.Value `json:"SyncFormat,omitempty"` - - // SyncName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-syncname - SyncName *types.Value `json:"SyncName,omitempty"` - - // SyncSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-syncsource - SyncSource *ResourceDataSync_SyncSource `json:"SyncSource,omitempty"` - - // SyncType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html#cfn-ssm-resourcedatasync-synctype - SyncType *types.Value `json:"SyncType,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 *ResourceDataSync) AWSCloudFormationType() string { - return "AWS::SSM::ResourceDataSync" -} - -// 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 (r ResourceDataSync) MarshalJSON() ([]byte, error) { - type Properties ResourceDataSync - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResourceDataSync) UnmarshalJSON(b []byte) error { - type Properties ResourceDataSync - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResourceDataSync(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_awsorganizationssource.go b/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_awsorganizationssource.go deleted file mode 100644 index d7a0d84c5b..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_awsorganizationssource.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDataSync_AwsOrganizationsSource AWS CloudFormation Resource (AWS::SSM::ResourceDataSync.AwsOrganizationsSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-awsorganizationssource.html -type ResourceDataSync_AwsOrganizationsSource struct { - - // OrganizationSourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-awsorganizationssource.html#cfn-ssm-resourcedatasync-awsorganizationssource-organizationsourcetype - OrganizationSourceType *types.Value `json:"OrganizationSourceType,omitempty"` - - // OrganizationalUnits AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-awsorganizationssource.html#cfn-ssm-resourcedatasync-awsorganizationssource-organizationalunits - OrganizationalUnits *types.Value `json:"OrganizationalUnits,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 *ResourceDataSync_AwsOrganizationsSource) AWSCloudFormationType() string { - return "AWS::SSM::ResourceDataSync.AwsOrganizationsSource" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_s3destination.go b/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_s3destination.go deleted file mode 100644 index 4f2861b506..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_s3destination.go +++ /dev/null @@ -1,57 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDataSync_S3Destination AWS CloudFormation Resource (AWS::SSM::ResourceDataSync.S3Destination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html -type ResourceDataSync_S3Destination struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html#cfn-ssm-resourcedatasync-s3destination-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // BucketPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html#cfn-ssm-resourcedatasync-s3destination-bucketprefix - BucketPrefix *types.Value `json:"BucketPrefix,omitempty"` - - // BucketRegion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html#cfn-ssm-resourcedatasync-s3destination-bucketregion - BucketRegion *types.Value `json:"BucketRegion,omitempty"` - - // KMSKeyArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html#cfn-ssm-resourcedatasync-s3destination-kmskeyarn - KMSKeyArn *types.Value `json:"KMSKeyArn,omitempty"` - - // SyncFormat AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-s3destination.html#cfn-ssm-resourcedatasync-s3destination-syncformat - SyncFormat *types.Value `json:"SyncFormat,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 *ResourceDataSync_S3Destination) AWSCloudFormationType() string { - return "AWS::SSM::ResourceDataSync.S3Destination" -} diff --git a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_syncsource.go b/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_syncsource.go deleted file mode 100644 index 15a61190d9..0000000000 --- a/pkg/goformation/cloudformation/ssm/aws-ssm-resourcedatasync_syncsource.go +++ /dev/null @@ -1,52 +0,0 @@ -package ssm - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResourceDataSync_SyncSource AWS CloudFormation Resource (AWS::SSM::ResourceDataSync.SyncSource) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-syncsource.html -type ResourceDataSync_SyncSource struct { - - // AwsOrganizationsSource AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-syncsource.html#cfn-ssm-resourcedatasync-syncsource-awsorganizationssource - AwsOrganizationsSource *ResourceDataSync_AwsOrganizationsSource `json:"AwsOrganizationsSource,omitempty"` - - // IncludeFutureRegions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-syncsource.html#cfn-ssm-resourcedatasync-syncsource-includefutureregions - IncludeFutureRegions *types.Value `json:"IncludeFutureRegions,omitempty"` - - // SourceRegions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-syncsource.html#cfn-ssm-resourcedatasync-syncsource-sourceregions - SourceRegions *types.Value `json:"SourceRegions,omitempty"` - - // SourceType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-resourcedatasync-syncsource.html#cfn-ssm-resourcedatasync-syncsource-sourcetype - SourceType *types.Value `json:"SourceType,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 *ResourceDataSync_SyncSource) AWSCloudFormationType() string { - return "AWS::SSM::ResourceDataSync.SyncSource" -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact.go deleted file mode 100644 index eaea0a7c0a..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact.go +++ /dev/null @@ -1,123 +0,0 @@ -package ssmcontacts - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Contact AWS CloudFormation Resource (AWS::SSMContacts::Contact) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html -type Contact struct { - - // Alias AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html#cfn-ssmcontacts-contact-alias - Alias *types.Value `json:"Alias,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html#cfn-ssmcontacts-contact-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // Plan AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html#cfn-ssmcontacts-contact-plan - Plan []Contact_Stage `json:"Plan,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contact.html#cfn-ssmcontacts-contact-type - Type *types.Value `json:"Type,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 *Contact) AWSCloudFormationType() string { - return "AWS::SSMContacts::Contact" -} - -// 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 (r Contact) MarshalJSON() ([]byte, error) { - type Properties Contact - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Contact) UnmarshalJSON(b []byte) error { - type Properties Contact - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Contact(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_channeltargetinfo.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_channeltargetinfo.go deleted file mode 100644 index 02940478c0..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_channeltargetinfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssmcontacts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Contact_ChannelTargetInfo AWS CloudFormation Resource (AWS::SSMContacts::Contact.ChannelTargetInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.html -type Contact_ChannelTargetInfo struct { - - // ChannelId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.html#cfn-ssmcontacts-contact-channeltargetinfo-channelid - ChannelId *types.Value `json:"ChannelId,omitempty"` - - // RetryIntervalInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-channeltargetinfo.html#cfn-ssmcontacts-contact-channeltargetinfo-retryintervalinminutes - RetryIntervalInMinutes *types.Value `json:"RetryIntervalInMinutes"` - - // 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 *Contact_ChannelTargetInfo) AWSCloudFormationType() string { - return "AWS::SSMContacts::Contact.ChannelTargetInfo" -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_contacttargetinfo.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_contacttargetinfo.go deleted file mode 100644 index e40a80233e..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_contacttargetinfo.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssmcontacts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Contact_ContactTargetInfo AWS CloudFormation Resource (AWS::SSMContacts::Contact.ContactTargetInfo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.html -type Contact_ContactTargetInfo struct { - - // ContactId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.html#cfn-ssmcontacts-contact-contacttargetinfo-contactid - ContactId *types.Value `json:"ContactId,omitempty"` - - // IsEssential AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-contacttargetinfo.html#cfn-ssmcontacts-contact-contacttargetinfo-isessential - IsEssential *types.Value `json:"IsEssential"` - - // 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 *Contact_ContactTargetInfo) AWSCloudFormationType() string { - return "AWS::SSMContacts::Contact.ContactTargetInfo" -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_stage.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_stage.go deleted file mode 100644 index b42e2d7299..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_stage.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssmcontacts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Contact_Stage AWS CloudFormation Resource (AWS::SSMContacts::Contact.Stage) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html -type Contact_Stage struct { - - // DurationInMinutes AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html#cfn-ssmcontacts-contact-stage-durationinminutes - DurationInMinutes *types.Value `json:"DurationInMinutes"` - - // Targets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-stage.html#cfn-ssmcontacts-contact-stage-targets - Targets []Contact_Targets `json:"Targets,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 *Contact_Stage) AWSCloudFormationType() string { - return "AWS::SSMContacts::Contact.Stage" -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_targets.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_targets.go deleted file mode 100644 index ac25e129bd..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contact_targets.go +++ /dev/null @@ -1,40 +0,0 @@ -package ssmcontacts - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Contact_Targets AWS CloudFormation Resource (AWS::SSMContacts::Contact.Targets) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.html -type Contact_Targets struct { - - // ChannelTargetInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.html#cfn-ssmcontacts-contact-targets-channeltargetinfo - ChannelTargetInfo *Contact_ChannelTargetInfo `json:"ChannelTargetInfo,omitempty"` - - // ContactTargetInfo AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmcontacts-contact-targets.html#cfn-ssmcontacts-contact-targets-contacttargetinfo - ContactTargetInfo *Contact_ContactTargetInfo `json:"ContactTargetInfo,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 *Contact_Targets) AWSCloudFormationType() string { - return "AWS::SSMContacts::Contact.Targets" -} diff --git a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contactchannel.go b/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contactchannel.go deleted file mode 100644 index 2255bd5089..0000000000 --- a/pkg/goformation/cloudformation/ssmcontacts/aws-ssmcontacts-contactchannel.go +++ /dev/null @@ -1,128 +0,0 @@ -package ssmcontacts - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ContactChannel AWS CloudFormation Resource (AWS::SSMContacts::ContactChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html -type ContactChannel struct { - - // ChannelAddress AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html#cfn-ssmcontacts-contactchannel-channeladdress - ChannelAddress *types.Value `json:"ChannelAddress,omitempty"` - - // ChannelName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html#cfn-ssmcontacts-contactchannel-channelname - ChannelName *types.Value `json:"ChannelName,omitempty"` - - // ChannelType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html#cfn-ssmcontacts-contactchannel-channeltype - ChannelType *types.Value `json:"ChannelType,omitempty"` - - // ContactId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html#cfn-ssmcontacts-contactchannel-contactid - ContactId *types.Value `json:"ContactId,omitempty"` - - // DeferActivation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmcontacts-contactchannel.html#cfn-ssmcontacts-contactchannel-deferactivation - DeferActivation *types.Value `json:"DeferActivation,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 *ContactChannel) AWSCloudFormationType() string { - return "AWS::SSMContacts::ContactChannel" -} - -// 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 (r ContactChannel) MarshalJSON() ([]byte, error) { - type Properties ContactChannel - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ContactChannel) UnmarshalJSON(b []byte) error { - type Properties ContactChannel - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ContactChannel(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset.go deleted file mode 100644 index 936599d0d6..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset.go +++ /dev/null @@ -1,113 +0,0 @@ -package ssmincidents - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationSet AWS CloudFormation Resource (AWS::SSMIncidents::ReplicationSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html -type ReplicationSet struct { - - // DeletionProtected AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-deletionprotected - DeletionProtected *types.Value `json:"DeletionProtected,omitempty"` - - // Regions AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-replicationset.html#cfn-ssmincidents-replicationset-regions - Regions []ReplicationSet_ReplicationRegion `json:"Regions,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 *ReplicationSet) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ReplicationSet" -} - -// 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 (r ReplicationSet) MarshalJSON() ([]byte, error) { - type Properties ReplicationSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ReplicationSet) UnmarshalJSON(b []byte) error { - type Properties ReplicationSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ReplicationSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_regionconfiguration.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_regionconfiguration.go deleted file mode 100644 index 56fc6dbad9..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_regionconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationSet_RegionConfiguration AWS CloudFormation Resource (AWS::SSMIncidents::ReplicationSet.RegionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-replicationset-regionconfiguration.html -type ReplicationSet_RegionConfiguration struct { - - // SseKmsKeyId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-replicationset-regionconfiguration.html#cfn-ssmincidents-replicationset-regionconfiguration-ssekmskeyid - SseKmsKeyId *types.Value `json:"SseKmsKeyId,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 *ReplicationSet_RegionConfiguration) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ReplicationSet.RegionConfiguration" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_replicationregion.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_replicationregion.go deleted file mode 100644 index 64ec9a4aae..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-replicationset_replicationregion.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ReplicationSet_ReplicationRegion AWS CloudFormation Resource (AWS::SSMIncidents::ReplicationSet.ReplicationRegion) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-replicationset-replicationregion.html -type ReplicationSet_ReplicationRegion struct { - - // RegionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-replicationset-replicationregion.html#cfn-ssmincidents-replicationset-replicationregion-regionconfiguration - RegionConfiguration *ReplicationSet_RegionConfiguration `json:"RegionConfiguration,omitempty"` - - // RegionName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-replicationset-replicationregion.html#cfn-ssmincidents-replicationset-replicationregion-regionname - RegionName *types.Value `json:"RegionName,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 *ReplicationSet_ReplicationRegion) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ReplicationSet.ReplicationRegion" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan.go deleted file mode 100644 index 9dd702856e..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan.go +++ /dev/null @@ -1,139 +0,0 @@ -package ssmincidents - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html -type ResponsePlan struct { - - // Actions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-actions - Actions []ResponsePlan_Action `json:"Actions,omitempty"` - - // ChatChannel AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-chatchannel - ChatChannel *ResponsePlan_ChatChannel `json:"ChatChannel,omitempty"` - - // DisplayName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-displayname - DisplayName *types.Value `json:"DisplayName,omitempty"` - - // Engagements AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-engagements - Engagements *types.Value `json:"Engagements,omitempty"` - - // IncidentTemplate AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-incidenttemplate - IncidentTemplate *ResponsePlan_IncidentTemplate `json:"IncidentTemplate,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmincidents-responseplan.html#cfn-ssmincidents-responseplan-tags - Tags []cloudformation.Tag `json:"Tags,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 *ResponsePlan) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan" -} - -// 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 (r ResponsePlan) MarshalJSON() ([]byte, error) { - type Properties ResponsePlan - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ResponsePlan) UnmarshalJSON(b []byte) error { - type Properties ResponsePlan - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ResponsePlan(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_action.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_action.go deleted file mode 100644 index 3e62e940cb..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_action.go +++ /dev/null @@ -1,35 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_Action AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-action.html -type ResponsePlan_Action struct { - - // SsmAutomation AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-action.html#cfn-ssmincidents-responseplan-action-ssmautomation - SsmAutomation *ResponsePlan_SsmAutomation `json:"SsmAutomation,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 *ResponsePlan_Action) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.Action" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_chatchannel.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_chatchannel.go deleted file mode 100644 index 5985409ee0..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_chatchannel.go +++ /dev/null @@ -1,37 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_ChatChannel AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.ChatChannel) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-chatchannel.html -type ResponsePlan_ChatChannel struct { - - // ChatbotSns AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-chatchannel.html#cfn-ssmincidents-responseplan-chatchannel-chatbotsns - ChatbotSns *types.Value `json:"ChatbotSns,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 *ResponsePlan_ChatChannel) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.ChatChannel" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_incidenttemplate.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_incidenttemplate.go deleted file mode 100644 index 2a8617fae3..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_incidenttemplate.go +++ /dev/null @@ -1,57 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_IncidentTemplate AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.IncidentTemplate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html -type ResponsePlan_IncidentTemplate struct { - - // DedupeString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html#cfn-ssmincidents-responseplan-incidenttemplate-dedupestring - DedupeString *types.Value `json:"DedupeString,omitempty"` - - // Impact AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html#cfn-ssmincidents-responseplan-incidenttemplate-impact - Impact *types.Value `json:"Impact"` - - // NotificationTargets AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html#cfn-ssmincidents-responseplan-incidenttemplate-notificationtargets - NotificationTargets []ResponsePlan_NotificationTargetItem `json:"NotificationTargets,omitempty"` - - // Summary AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html#cfn-ssmincidents-responseplan-incidenttemplate-summary - Summary *types.Value `json:"Summary,omitempty"` - - // Title AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-incidenttemplate.html#cfn-ssmincidents-responseplan-incidenttemplate-title - Title *types.Value `json:"Title,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 *ResponsePlan_IncidentTemplate) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.IncidentTemplate" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_notificationtargetitem.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_notificationtargetitem.go deleted file mode 100644 index c3f9311129..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_notificationtargetitem.go +++ /dev/null @@ -1,37 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_NotificationTargetItem AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.NotificationTargetItem) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-notificationtargetitem.html -type ResponsePlan_NotificationTargetItem struct { - - // SnsTopicArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-notificationtargetitem.html#cfn-ssmincidents-responseplan-notificationtargetitem-snstopicarn - SnsTopicArn *types.Value `json:"SnsTopicArn,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 *ResponsePlan_NotificationTargetItem) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.NotificationTargetItem" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmautomation.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmautomation.go deleted file mode 100644 index e7b4f273e9..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmautomation.go +++ /dev/null @@ -1,57 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_SsmAutomation AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.SsmAutomation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html -type ResponsePlan_SsmAutomation struct { - - // DocumentName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-documentname - DocumentName *types.Value `json:"DocumentName,omitempty"` - - // DocumentVersion AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-documentversion - DocumentVersion *types.Value `json:"DocumentVersion,omitempty"` - - // Parameters AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-parameters - Parameters []ResponsePlan_SsmParameter `json:"Parameters,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // TargetAccount AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-targetaccount - TargetAccount *types.Value `json:"TargetAccount,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 *ResponsePlan_SsmAutomation) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.SsmAutomation" -} diff --git a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmparameter.go b/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmparameter.go deleted file mode 100644 index b7a3553809..0000000000 --- a/pkg/goformation/cloudformation/ssmincidents/aws-ssmincidents-responseplan_ssmparameter.go +++ /dev/null @@ -1,42 +0,0 @@ -package ssmincidents - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ResponsePlan_SsmParameter AWS CloudFormation Resource (AWS::SSMIncidents::ResponsePlan.SsmParameter) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmparameter.html -type ResponsePlan_SsmParameter struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmparameter.html#cfn-ssmincidents-responseplan-ssmparameter-key - Key *types.Value `json:"Key,omitempty"` - - // Values AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmparameter.html#cfn-ssmincidents-responseplan-ssmparameter-values - Values *types.Value `json:"Values,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 *ResponsePlan_SsmParameter) AWSCloudFormationType() string { - return "AWS::SSMIncidents::ResponsePlan.SsmParameter" -} diff --git a/pkg/goformation/cloudformation/sso/aws-sso-assignment.go b/pkg/goformation/cloudformation/sso/aws-sso-assignment.go deleted file mode 100644 index 0e4b2f4a29..0000000000 --- a/pkg/goformation/cloudformation/sso/aws-sso-assignment.go +++ /dev/null @@ -1,133 +0,0 @@ -package sso - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assignment AWS CloudFormation Resource (AWS::SSO::Assignment) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html -type Assignment struct { - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // PermissionSetArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-permissionsetarn - PermissionSetArn *types.Value `json:"PermissionSetArn,omitempty"` - - // PrincipalId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-principalid - PrincipalId *types.Value `json:"PrincipalId,omitempty"` - - // PrincipalType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-principaltype - PrincipalType *types.Value `json:"PrincipalType,omitempty"` - - // TargetId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-targetid - TargetId *types.Value `json:"TargetId,omitempty"` - - // TargetType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-assignment.html#cfn-sso-assignment-targettype - TargetType *types.Value `json:"TargetType,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 *Assignment) AWSCloudFormationType() string { - return "AWS::SSO::Assignment" -} - -// 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 (r Assignment) MarshalJSON() ([]byte, error) { - type Properties Assignment - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Assignment) UnmarshalJSON(b []byte) error { - type Properties Assignment - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Assignment(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration.go b/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration.go deleted file mode 100644 index 2c6bfc4ce3..0000000000 --- a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration.go +++ /dev/null @@ -1,113 +0,0 @@ -package sso - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceAccessControlAttributeConfiguration AWS CloudFormation Resource (AWS::SSO::InstanceAccessControlAttributeConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instanceaccesscontrolattributeconfiguration.html -type InstanceAccessControlAttributeConfiguration struct { - - // AccessControlAttributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instanceaccesscontrolattributeconfiguration.html#cfn-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattributes - AccessControlAttributes []InstanceAccessControlAttributeConfiguration_AccessControlAttribute `json:"AccessControlAttributes,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-instanceaccesscontrolattributeconfiguration.html#cfn-sso-instanceaccesscontrolattributeconfiguration-instancearn - InstanceArn *types.Value `json:"InstanceArn,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 *InstanceAccessControlAttributeConfiguration) AWSCloudFormationType() string { - return "AWS::SSO::InstanceAccessControlAttributeConfiguration" -} - -// 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 (r InstanceAccessControlAttributeConfiguration) MarshalJSON() ([]byte, error) { - type Properties InstanceAccessControlAttributeConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *InstanceAccessControlAttributeConfiguration) UnmarshalJSON(b []byte) error { - type Properties InstanceAccessControlAttributeConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = InstanceAccessControlAttributeConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattribute.go b/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattribute.go deleted file mode 100644 index db95919e47..0000000000 --- a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattribute.go +++ /dev/null @@ -1,42 +0,0 @@ -package sso - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceAccessControlAttributeConfiguration_AccessControlAttribute AWS CloudFormation Resource (AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattribute.html -type InstanceAccessControlAttributeConfiguration_AccessControlAttribute struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattribute.html#cfn-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattribute-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattribute.html#cfn-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattribute-value - Value *InstanceAccessControlAttributeConfiguration_AccessControlAttributeValue `json:"Value,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 *InstanceAccessControlAttributeConfiguration_AccessControlAttribute) AWSCloudFormationType() string { - return "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute" -} diff --git a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattributevalue.go b/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattributevalue.go deleted file mode 100644 index 7e15401723..0000000000 --- a/pkg/goformation/cloudformation/sso/aws-sso-instanceaccesscontrolattributeconfiguration_accesscontrolattributevalue.go +++ /dev/null @@ -1,37 +0,0 @@ -package sso - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// InstanceAccessControlAttributeConfiguration_AccessControlAttributeValue AWS CloudFormation Resource (AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattributevalue.html -type InstanceAccessControlAttributeConfiguration_AccessControlAttributeValue struct { - - // Source AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattributevalue.html#cfn-sso-instanceaccesscontrolattributeconfiguration-accesscontrolattributevalue-source - Source *types.Value `json:"Source,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 *InstanceAccessControlAttributeConfiguration_AccessControlAttributeValue) AWSCloudFormationType() string { - return "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue" -} diff --git a/pkg/goformation/cloudformation/sso/aws-sso-permissionset.go b/pkg/goformation/cloudformation/sso/aws-sso-permissionset.go deleted file mode 100644 index 5a40505e68..0000000000 --- a/pkg/goformation/cloudformation/sso/aws-sso-permissionset.go +++ /dev/null @@ -1,144 +0,0 @@ -package sso - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// PermissionSet AWS CloudFormation Resource (AWS::SSO::PermissionSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html -type PermissionSet struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-description - Description *types.Value `json:"Description,omitempty"` - - // InlinePolicy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-inlinepolicy - InlinePolicy interface{} `json:"InlinePolicy,omitempty"` - - // InstanceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-instancearn - InstanceArn *types.Value `json:"InstanceArn,omitempty"` - - // ManagedPolicies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-managedpolicies - ManagedPolicies *types.Value `json:"ManagedPolicies,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-name - Name *types.Value `json:"Name,omitempty"` - - // RelayStateType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-relaystatetype - RelayStateType *types.Value `json:"RelayStateType,omitempty"` - - // SessionDuration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-sessionduration - SessionDuration *types.Value `json:"SessionDuration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-tags - Tags []cloudformation.Tag `json:"Tags,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 *PermissionSet) AWSCloudFormationType() string { - return "AWS::SSO::PermissionSet" -} - -// 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 (r PermissionSet) MarshalJSON() ([]byte, error) { - type Properties PermissionSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *PermissionSet) UnmarshalJSON(b []byte) error { - type Properties PermissionSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = PermissionSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity.go deleted file mode 100644 index 60f4cca0c3..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity.go +++ /dev/null @@ -1,113 +0,0 @@ -package stepfunctions - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Activity AWS CloudFormation Resource (AWS::StepFunctions::Activity) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html -type Activity struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-name - Name *types.Value `json:"Name,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html#cfn-stepfunctions-activity-tags - Tags []Activity_TagsEntry `json:"Tags,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 *Activity) AWSCloudFormationType() string { - return "AWS::StepFunctions::Activity" -} - -// 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 (r Activity) MarshalJSON() ([]byte, error) { - type Properties Activity - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Activity) UnmarshalJSON(b []byte) error { - type Properties Activity - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Activity(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity_tagsentry.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity_tagsentry.go deleted file mode 100644 index 69e1781c61..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-activity_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Activity_TagsEntry AWS CloudFormation Resource (AWS::StepFunctions::Activity.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html -type Activity_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html#cfn-stepfunctions-activity-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-activity-tagsentry.html#cfn-stepfunctions-activity-tagsentry-value - Value *types.Value `json:"Value,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 *Activity_TagsEntry) AWSCloudFormationType() string { - return "AWS::StepFunctions::Activity.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine.go deleted file mode 100644 index c7b169cd8c..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine.go +++ /dev/null @@ -1,153 +0,0 @@ -package stepfunctions - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine AWS CloudFormation Resource (AWS::StepFunctions::StateMachine) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html -type StateMachine struct { - - // Definition AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-definition - Definition *StateMachine_Definition `json:"Definition,omitempty"` - - // DefinitionS3Location AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-definitions3location - DefinitionS3Location *StateMachine_S3Location `json:"DefinitionS3Location,omitempty"` - - // DefinitionString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-definitionstring - DefinitionString *types.Value `json:"DefinitionString,omitempty"` - - // DefinitionSubstitutions AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-definitionsubstitutions - DefinitionSubstitutions map[string]*types.Value `json:"DefinitionSubstitutions,omitempty"` - - // LoggingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-loggingconfiguration - LoggingConfiguration *StateMachine_LoggingConfiguration `json:"LoggingConfiguration,omitempty"` - - // RoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-rolearn - RoleArn *types.Value `json:"RoleArn,omitempty"` - - // StateMachineName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-statemachinename - StateMachineName *types.Value `json:"StateMachineName,omitempty"` - - // StateMachineType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-statemachinetype - StateMachineType *types.Value `json:"StateMachineType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-tags - Tags []StateMachine_TagsEntry `json:"Tags,omitempty"` - - // TracingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html#cfn-stepfunctions-statemachine-tracingconfiguration - TracingConfiguration *StateMachine_TracingConfiguration `json:"TracingConfiguration,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 *StateMachine) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine" -} - -// 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 (r StateMachine) MarshalJSON() ([]byte, error) { - type Properties StateMachine - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *StateMachine) UnmarshalJSON(b []byte) error { - type Properties StateMachine - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = StateMachine(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_cloudwatchlogsloggroup.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_cloudwatchlogsloggroup.go deleted file mode 100644 index d9975bfe0a..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_cloudwatchlogsloggroup.go +++ /dev/null @@ -1,37 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_CloudWatchLogsLogGroup AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-cloudwatchlogsloggroup.html -type StateMachine_CloudWatchLogsLogGroup struct { - - // LogGroupArn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-cloudwatchlogsloggroup.html#cfn-stepfunctions-statemachine-cloudwatchlogsloggroup-loggrouparn - LogGroupArn *types.Value `json:"LogGroupArn,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 *StateMachine_CloudWatchLogsLogGroup) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definition.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definition.go deleted file mode 100644 index 4f8e15d7db..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definition.go +++ /dev/null @@ -1,30 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_Definition AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.Definition) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-definition.html -type StateMachine_Definition struct { - - // 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 *StateMachine_Definition) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.Definition" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definitionsubstitutions.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definitionsubstitutions.go deleted file mode 100644 index 389f791549..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_definitionsubstitutions.go +++ /dev/null @@ -1,30 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_DefinitionSubstitutions AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.DefinitionSubstitutions) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-definitionsubstitutions.html -type StateMachine_DefinitionSubstitutions struct { - - // 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 *StateMachine_DefinitionSubstitutions) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.DefinitionSubstitutions" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_logdestination.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_logdestination.go deleted file mode 100644 index 9ba6fd3242..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_logdestination.go +++ /dev/null @@ -1,35 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_LogDestination AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.LogDestination) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-logdestination.html -type StateMachine_LogDestination struct { - - // CloudWatchLogsLogGroup AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-logdestination.html#cfn-stepfunctions-statemachine-logdestination-cloudwatchlogsloggroup - CloudWatchLogsLogGroup *StateMachine_CloudWatchLogsLogGroup `json:"CloudWatchLogsLogGroup,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 *StateMachine_LogDestination) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.LogDestination" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_loggingconfiguration.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_loggingconfiguration.go deleted file mode 100644 index b12b6f1f31..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_loggingconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_LoggingConfiguration AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-loggingconfiguration.html -type StateMachine_LoggingConfiguration struct { - - // Destinations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-loggingconfiguration.html#cfn-stepfunctions-statemachine-loggingconfiguration-destinations - Destinations []StateMachine_LogDestination `json:"Destinations,omitempty"` - - // IncludeExecutionData AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-loggingconfiguration.html#cfn-stepfunctions-statemachine-loggingconfiguration-includeexecutiondata - IncludeExecutionData *types.Value `json:"IncludeExecutionData,omitempty"` - - // Level AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-loggingconfiguration.html#cfn-stepfunctions-statemachine-loggingconfiguration-level - Level *types.Value `json:"Level,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 *StateMachine_LoggingConfiguration) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.LoggingConfiguration" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_s3location.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_s3location.go deleted file mode 100644 index b12ad01e8d..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_s3location.go +++ /dev/null @@ -1,47 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_S3Location AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.S3Location) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-s3location.html -type StateMachine_S3Location struct { - - // Bucket AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-s3location.html#cfn-stepfunctions-statemachine-s3location-bucket - Bucket *types.Value `json:"Bucket,omitempty"` - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-s3location.html#cfn-stepfunctions-statemachine-s3location-key - Key *types.Value `json:"Key,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-s3location.html#cfn-stepfunctions-statemachine-s3location-version - Version *types.Value `json:"Version,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 *StateMachine_S3Location) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.S3Location" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tagsentry.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tagsentry.go deleted file mode 100644 index 2e968f17d3..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tagsentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_TagsEntry AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.TagsEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html -type StateMachine_TagsEntry struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html#cfn-stepfunctions-statemachine-tagsentry-key - Key *types.Value `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tagsentry.html#cfn-stepfunctions-statemachine-tagsentry-value - Value *types.Value `json:"Value,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 *StateMachine_TagsEntry) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.TagsEntry" -} diff --git a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tracingconfiguration.go b/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tracingconfiguration.go deleted file mode 100644 index 1093c806f2..0000000000 --- a/pkg/goformation/cloudformation/stepfunctions/aws-stepfunctions-statemachine_tracingconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package stepfunctions - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// StateMachine_TracingConfiguration AWS CloudFormation Resource (AWS::StepFunctions::StateMachine.TracingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tracingconfiguration.html -type StateMachine_TracingConfiguration struct { - - // Enabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stepfunctions-statemachine-tracingconfiguration.html#cfn-stepfunctions-statemachine-tracingconfiguration-enabled - Enabled *types.Value `json:"Enabled,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 *StateMachine_TracingConfiguration) AWSCloudFormationType() string { - return "AWS::StepFunctions::StateMachine.TracingConfiguration" -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary.go deleted file mode 100644 index fa1f54ee23..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary.go +++ /dev/null @@ -1,174 +0,0 @@ -package synthetics - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary AWS CloudFormation Resource (AWS::Synthetics::Canary) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html -type Canary struct { - - // ArtifactConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-artifactconfig - ArtifactConfig *Canary_ArtifactConfig `json:"ArtifactConfig,omitempty"` - - // ArtifactS3Location AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-artifacts3location - ArtifactS3Location *types.Value `json:"ArtifactS3Location,omitempty"` - - // Code AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-code - Code *Canary_Code `json:"Code,omitempty"` - - // ExecutionRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-executionrolearn - ExecutionRoleArn *types.Value `json:"ExecutionRoleArn,omitempty"` - - // FailureRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-failureretentionperiod - FailureRetentionPeriod *types.Value `json:"FailureRetentionPeriod,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-name - Name *types.Value `json:"Name,omitempty"` - - // RunConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-runconfig - RunConfig *Canary_RunConfig `json:"RunConfig,omitempty"` - - // RuntimeVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-runtimeversion - RuntimeVersion *types.Value `json:"RuntimeVersion,omitempty"` - - // Schedule AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-schedule - Schedule *Canary_Schedule `json:"Schedule,omitempty"` - - // StartCanaryAfterCreation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-startcanaryaftercreation - StartCanaryAfterCreation *types.Value `json:"StartCanaryAfterCreation"` - - // SuccessRetentionPeriod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-successretentionperiod - SuccessRetentionPeriod *types.Value `json:"SuccessRetentionPeriod,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VPCConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-vpcconfig - VPCConfig *Canary_VPCConfig `json:"VPCConfig,omitempty"` - - // VisualReference AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html#cfn-synthetics-canary-visualreference - VisualReference *Canary_VisualReference `json:"VisualReference,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 *Canary) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary" -} - -// 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 (r Canary) MarshalJSON() ([]byte, error) { - type Properties Canary - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Canary) UnmarshalJSON(b []byte) error { - type Properties Canary - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Canary(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_artifactconfig.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_artifactconfig.go deleted file mode 100644 index 1918f30a80..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_artifactconfig.go +++ /dev/null @@ -1,35 +0,0 @@ -package synthetics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary_ArtifactConfig AWS CloudFormation Resource (AWS::Synthetics::Canary.ArtifactConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-artifactconfig.html -type Canary_ArtifactConfig struct { - - // S3Encryption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-artifactconfig.html#cfn-synthetics-canary-artifactconfig-s3encryption - S3Encryption *Canary_S3Encryption `json:"S3Encryption,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 *Canary_ArtifactConfig) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.ArtifactConfig" -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_basescreenshot.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_basescreenshot.go deleted file mode 100644 index 4c9545aa4f..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_basescreenshot.go +++ /dev/null @@ -1,42 +0,0 @@ -package synthetics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary_BaseScreenshot AWS CloudFormation Resource (AWS::Synthetics::Canary.BaseScreenshot) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-basescreenshot.html -type Canary_BaseScreenshot struct { - - // IgnoreCoordinates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-basescreenshot.html#cfn-synthetics-canary-basescreenshot-ignorecoordinates - IgnoreCoordinates *types.Value `json:"IgnoreCoordinates,omitempty"` - - // ScreenshotName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-basescreenshot.html#cfn-synthetics-canary-basescreenshot-screenshotname - ScreenshotName *types.Value `json:"ScreenshotName,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 *Canary_BaseScreenshot) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.BaseScreenshot" -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_runconfig.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_runconfig.go deleted file mode 100644 index 246ca5fefa..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_runconfig.go +++ /dev/null @@ -1,52 +0,0 @@ -package synthetics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary_RunConfig AWS CloudFormation Resource (AWS::Synthetics::Canary.RunConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html -type Canary_RunConfig struct { - - // ActiveTracing AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-activetracing - ActiveTracing *types.Value `json:"ActiveTracing,omitempty"` - - // EnvironmentVariables AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-environmentvariables - EnvironmentVariables map[string]*types.Value `json:"EnvironmentVariables,omitempty"` - - // MemoryInMB AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-memoryinmb - MemoryInMB *types.Value `json:"MemoryInMB,omitempty"` - - // TimeoutInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-timeoutinseconds - TimeoutInSeconds *types.Value `json:"TimeoutInSeconds,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 *Canary_RunConfig) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.RunConfig" -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_schedule.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_schedule.go deleted file mode 100644 index 4aa101bf00..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_schedule.go +++ /dev/null @@ -1,42 +0,0 @@ -package synthetics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary_Schedule AWS CloudFormation Resource (AWS::Synthetics::Canary.Schedule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-schedule.html -type Canary_Schedule struct { - - // DurationInSeconds AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-schedule.html#cfn-synthetics-canary-schedule-durationinseconds - DurationInSeconds *types.Value `json:"DurationInSeconds,omitempty"` - - // Expression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-schedule.html#cfn-synthetics-canary-schedule-expression - Expression *types.Value `json:"Expression,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 *Canary_Schedule) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.Schedule" -} diff --git a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_vpcconfig.go b/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_vpcconfig.go deleted file mode 100644 index a8acd2b077..0000000000 --- a/pkg/goformation/cloudformation/synthetics/aws-synthetics-canary_vpcconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package synthetics - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Canary_VPCConfig AWS CloudFormation Resource (AWS::Synthetics::Canary.VPCConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html -type Canary_VPCConfig struct { - - // SecurityGroupIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html#cfn-synthetics-canary-vpcconfig-securitygroupids - SecurityGroupIds *types.Value `json:"SecurityGroupIds,omitempty"` - - // SubnetIds AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html#cfn-synthetics-canary-vpcconfig-subnetids - SubnetIds *types.Value `json:"SubnetIds,omitempty"` - - // VpcId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-vpcconfig.html#cfn-synthetics-canary-vpcconfig-vpcid - VpcId *types.Value `json:"VpcId,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 *Canary_VPCConfig) AWSCloudFormationType() string { - return "AWS::Synthetics::Canary.VPCConfig" -} diff --git a/pkg/goformation/cloudformation/tags/tag.go b/pkg/goformation/cloudformation/tags/tag.go deleted file mode 100644 index 283e64e1c8..0000000000 --- a/pkg/goformation/cloudformation/tags/tag.go +++ /dev/null @@ -1,68 +0,0 @@ -package tags - -import "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" - -// Tag AWS CloudFormation Resource (Tag) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html -type Tag struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-key - Key string `json:"Key,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-value - Value string `json:"Value,omitempty"` - - // _deletionPolicy represents a CloudFormation DeletionPolicy - _deletionPolicy policies.DeletionPolicy - - // _dependsOn stores the logical ID of the resources to be created before this resource - _dependsOn []string - - // _metadata stores structured data associated with this resource - _metadata map[string]interface{} -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *Tag) AWSCloudFormationType() string { - return "Tag" -} - -// DependsOn returns a slice of logical ID names this resource depends on. -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html -func (r *Tag) DependsOn() []string { - return r._dependsOn -} - -// SetDependsOn specify that the creation of this resource follows another. -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html -func (r *Tag) SetDependsOn(dependencies []string) { - r._dependsOn = dependencies -} - -// Metadata returns the metadata associated with this resource. -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html -func (r *Tag) Metadata() map[string]interface{} { - return r._metadata -} - -// SetMetadata enables you to associate structured data with this resource. -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html -func (r *Tag) SetMetadata(metadata map[string]interface{}) { - r._metadata = metadata -} - -// DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html -func (r *Tag) DeletionPolicy() policies.DeletionPolicy { - return r._deletionPolicy -} - -// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource -// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html -func (r *Tag) SetDeletionPolicy(policy policies.DeletionPolicy) { - r._deletionPolicy = policy -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-database.go b/pkg/goformation/cloudformation/timestream/aws-timestream-database.go deleted file mode 100644 index 16b28eaa86..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-database.go +++ /dev/null @@ -1,119 +0,0 @@ -package timestream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Database AWS CloudFormation Resource (AWS::Timestream::Database) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html -type Database struct { - - // DatabaseName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html#cfn-timestream-database-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html#cfn-timestream-database-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html#cfn-timestream-database-tags - Tags []cloudformation.Tag `json:"Tags,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 *Database) AWSCloudFormationType() string { - return "AWS::Timestream::Database" -} - -// 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 (r Database) MarshalJSON() ([]byte, error) { - type Properties Database - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Database) UnmarshalJSON(b []byte) error { - type Properties Database - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Database(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery.go deleted file mode 100644 index dcbe990f01..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery.go +++ /dev/null @@ -1,154 +0,0 @@ -package timestream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html -type ScheduledQuery struct { - - // ClientToken AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-clienttoken - ClientToken *types.Value `json:"ClientToken,omitempty"` - - // ErrorReportConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-errorreportconfiguration - ErrorReportConfiguration *ScheduledQuery_ErrorReportConfiguration `json:"ErrorReportConfiguration,omitempty"` - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,omitempty"` - - // NotificationConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-notificationconfiguration - NotificationConfiguration *ScheduledQuery_NotificationConfiguration `json:"NotificationConfiguration,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-querystring - QueryString *types.Value `json:"QueryString,omitempty"` - - // ScheduleConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-scheduleconfiguration - ScheduleConfiguration *ScheduledQuery_ScheduleConfiguration `json:"ScheduleConfiguration,omitempty"` - - // ScheduledQueryExecutionRoleArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-scheduledqueryexecutionrolearn - ScheduledQueryExecutionRoleArn *types.Value `json:"ScheduledQueryExecutionRoleArn,omitempty"` - - // ScheduledQueryName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-scheduledqueryname - ScheduledQueryName *types.Value `json:"ScheduledQueryName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // TargetConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-scheduledquery.html#cfn-timestream-scheduledquery-targetconfiguration - TargetConfiguration *ScheduledQuery_TargetConfiguration `json:"TargetConfiguration,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 *ScheduledQuery) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery" -} - -// 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 (r ScheduledQuery) MarshalJSON() ([]byte, error) { - type Properties ScheduledQuery - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ScheduledQuery) UnmarshalJSON(b []byte) error { - type Properties ScheduledQuery - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ScheduledQuery(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_dimensionmapping.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_dimensionmapping.go deleted file mode 100644 index 2996a2ab9b..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_dimensionmapping.go +++ /dev/null @@ -1,42 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_DimensionMapping AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.DimensionMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-dimensionmapping.html -type ScheduledQuery_DimensionMapping struct { - - // DimensionValueType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-dimensionmapping.html#cfn-timestream-scheduledquery-dimensionmapping-dimensionvaluetype - DimensionValueType *types.Value `json:"DimensionValueType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-dimensionmapping.html#cfn-timestream-scheduledquery-dimensionmapping-name - Name *types.Value `json:"Name,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 *ScheduledQuery_DimensionMapping) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.DimensionMapping" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_errorreportconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_errorreportconfiguration.go deleted file mode 100644 index 6d26994a3e..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_errorreportconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_ErrorReportConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.ErrorReportConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-errorreportconfiguration.html -type ScheduledQuery_ErrorReportConfiguration struct { - - // S3Configuration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-errorreportconfiguration.html#cfn-timestream-scheduledquery-errorreportconfiguration-s3configuration - S3Configuration *ScheduledQuery_S3Configuration `json:"S3Configuration,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 *ScheduledQuery_ErrorReportConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.ErrorReportConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_mixedmeasuremapping.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_mixedmeasuremapping.go deleted file mode 100644 index 1c4b1b6116..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_mixedmeasuremapping.go +++ /dev/null @@ -1,57 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_MixedMeasureMapping AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.MixedMeasureMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html -type ScheduledQuery_MixedMeasureMapping struct { - - // MeasureName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-measurename - MeasureName *types.Value `json:"MeasureName,omitempty"` - - // MeasureValueType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-measurevaluetype - MeasureValueType *types.Value `json:"MeasureValueType,omitempty"` - - // MultiMeasureAttributeMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-multimeasureattributemappings - MultiMeasureAttributeMappings []ScheduledQuery_MultiMeasureAttributeMapping `json:"MultiMeasureAttributeMappings,omitempty"` - - // SourceColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-sourcecolumn - SourceColumn *types.Value `json:"SourceColumn,omitempty"` - - // TargetMeasureName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-mixedmeasuremapping.html#cfn-timestream-scheduledquery-mixedmeasuremapping-targetmeasurename - TargetMeasureName *types.Value `json:"TargetMeasureName,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 *ScheduledQuery_MixedMeasureMapping) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.MixedMeasureMapping" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasureattributemapping.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasureattributemapping.go deleted file mode 100644 index ac6946936f..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasureattributemapping.go +++ /dev/null @@ -1,47 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_MultiMeasureAttributeMapping AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasureattributemapping.html -type ScheduledQuery_MultiMeasureAttributeMapping struct { - - // MeasureValueType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasureattributemapping.html#cfn-timestream-scheduledquery-multimeasureattributemapping-measurevaluetype - MeasureValueType *types.Value `json:"MeasureValueType,omitempty"` - - // SourceColumn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasureattributemapping.html#cfn-timestream-scheduledquery-multimeasureattributemapping-sourcecolumn - SourceColumn *types.Value `json:"SourceColumn,omitempty"` - - // TargetMultiMeasureAttributeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasureattributemapping.html#cfn-timestream-scheduledquery-multimeasureattributemapping-targetmultimeasureattributename - TargetMultiMeasureAttributeName *types.Value `json:"TargetMultiMeasureAttributeName,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 *ScheduledQuery_MultiMeasureAttributeMapping) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasuremappings.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasuremappings.go deleted file mode 100644 index bcc2e897ab..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_multimeasuremappings.go +++ /dev/null @@ -1,42 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_MultiMeasureMappings AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.MultiMeasureMappings) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasuremappings.html -type ScheduledQuery_MultiMeasureMappings struct { - - // MultiMeasureAttributeMappings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasuremappings.html#cfn-timestream-scheduledquery-multimeasuremappings-multimeasureattributemappings - MultiMeasureAttributeMappings []ScheduledQuery_MultiMeasureAttributeMapping `json:"MultiMeasureAttributeMappings,omitempty"` - - // TargetMultiMeasureName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-multimeasuremappings.html#cfn-timestream-scheduledquery-multimeasuremappings-targetmultimeasurename - TargetMultiMeasureName *types.Value `json:"TargetMultiMeasureName,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 *ScheduledQuery_MultiMeasureMappings) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.MultiMeasureMappings" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_notificationconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_notificationconfiguration.go deleted file mode 100644 index 808c680ab9..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_notificationconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_NotificationConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.NotificationConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-notificationconfiguration.html -type ScheduledQuery_NotificationConfiguration struct { - - // SnsConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-notificationconfiguration.html#cfn-timestream-scheduledquery-notificationconfiguration-snsconfiguration - SnsConfiguration *ScheduledQuery_SnsConfiguration `json:"SnsConfiguration,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 *ScheduledQuery_NotificationConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.NotificationConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_s3configuration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_s3configuration.go deleted file mode 100644 index 4c394768bf..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_s3configuration.go +++ /dev/null @@ -1,47 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_S3Configuration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.S3Configuration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-s3configuration.html -type ScheduledQuery_S3Configuration struct { - - // BucketName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-s3configuration.html#cfn-timestream-scheduledquery-s3configuration-bucketname - BucketName *types.Value `json:"BucketName,omitempty"` - - // EncryptionOption AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-s3configuration.html#cfn-timestream-scheduledquery-s3configuration-encryptionoption - EncryptionOption *types.Value `json:"EncryptionOption,omitempty"` - - // ObjectKeyPrefix AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-s3configuration.html#cfn-timestream-scheduledquery-s3configuration-objectkeyprefix - ObjectKeyPrefix *types.Value `json:"ObjectKeyPrefix,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 *ScheduledQuery_S3Configuration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.S3Configuration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_scheduleconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_scheduleconfiguration.go deleted file mode 100644 index 7a360e000e..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_scheduleconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_ScheduleConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.ScheduleConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-scheduleconfiguration.html -type ScheduledQuery_ScheduleConfiguration struct { - - // ScheduleExpression AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-scheduleconfiguration.html#cfn-timestream-scheduledquery-scheduleconfiguration-scheduleexpression - ScheduleExpression *types.Value `json:"ScheduleExpression,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 *ScheduledQuery_ScheduleConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.ScheduleConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_snsconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_snsconfiguration.go deleted file mode 100644 index 27f9ebfbe7..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_snsconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_SnsConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.SnsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-snsconfiguration.html -type ScheduledQuery_SnsConfiguration struct { - - // TopicArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-snsconfiguration.html#cfn-timestream-scheduledquery-snsconfiguration-topicarn - TopicArn *types.Value `json:"TopicArn,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 *ScheduledQuery_SnsConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.SnsConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_targetconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_targetconfiguration.go deleted file mode 100644 index 03c1377a3a..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_targetconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_TargetConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.TargetConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-targetconfiguration.html -type ScheduledQuery_TargetConfiguration struct { - - // TimestreamConfiguration AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-targetconfiguration.html#cfn-timestream-scheduledquery-targetconfiguration-timestreamconfiguration - TimestreamConfiguration *ScheduledQuery_TimestreamConfiguration `json:"TimestreamConfiguration,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 *ScheduledQuery_TargetConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.TargetConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_timestreamconfiguration.go b/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_timestreamconfiguration.go deleted file mode 100644 index f871e55208..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-scheduledquery_timestreamconfiguration.go +++ /dev/null @@ -1,67 +0,0 @@ -package timestream - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ScheduledQuery_TimestreamConfiguration AWS CloudFormation Resource (AWS::Timestream::ScheduledQuery.TimestreamConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html -type ScheduledQuery_TimestreamConfiguration struct { - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // DimensionMappings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-dimensionmappings - DimensionMappings []ScheduledQuery_DimensionMapping `json:"DimensionMappings,omitempty"` - - // MeasureNameColumn AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-measurenamecolumn - MeasureNameColumn *types.Value `json:"MeasureNameColumn,omitempty"` - - // MixedMeasureMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-mixedmeasuremappings - MixedMeasureMappings []ScheduledQuery_MixedMeasureMapping `json:"MixedMeasureMappings,omitempty"` - - // MultiMeasureMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-multimeasuremappings - MultiMeasureMappings *ScheduledQuery_MultiMeasureMappings `json:"MultiMeasureMappings,omitempty"` - - // TableName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // TimeColumn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-timestream-scheduledquery-timestreamconfiguration.html#cfn-timestream-scheduledquery-timestreamconfiguration-timecolumn - TimeColumn *types.Value `json:"TimeColumn,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 *ScheduledQuery_TimestreamConfiguration) AWSCloudFormationType() string { - return "AWS::Timestream::ScheduledQuery.TimestreamConfiguration" -} diff --git a/pkg/goformation/cloudformation/timestream/aws-timestream-table.go b/pkg/goformation/cloudformation/timestream/aws-timestream-table.go deleted file mode 100644 index 4ce1c52d64..0000000000 --- a/pkg/goformation/cloudformation/timestream/aws-timestream-table.go +++ /dev/null @@ -1,124 +0,0 @@ -package timestream - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Table AWS CloudFormation Resource (AWS::Timestream::Table) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html -type Table struct { - - // DatabaseName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html#cfn-timestream-table-databasename - DatabaseName *types.Value `json:"DatabaseName,omitempty"` - - // RetentionProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html#cfn-timestream-table-retentionproperties - RetentionProperties interface{} `json:"RetentionProperties,omitempty"` - - // TableName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html#cfn-timestream-table-tablename - TableName *types.Value `json:"TableName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html#cfn-timestream-table-tags - Tags []cloudformation.Tag `json:"Tags,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 *Table) AWSCloudFormationType() string { - return "AWS::Timestream::Table" -} - -// 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 (r Table) MarshalJSON() ([]byte, error) { - type Properties Table - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Table) UnmarshalJSON(b []byte) error { - type Properties Table - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Table(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server.go deleted file mode 100644 index 502c4d9dbc..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server.go +++ /dev/null @@ -1,164 +0,0 @@ -package transfer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server AWS CloudFormation Resource (AWS::Transfer::Server) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html -type Server struct { - - // Certificate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-certificate - Certificate *types.Value `json:"Certificate,omitempty"` - - // Domain AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-domain - Domain *types.Value `json:"Domain,omitempty"` - - // EndpointDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-endpointdetails - EndpointDetails *Server_EndpointDetails `json:"EndpointDetails,omitempty"` - - // EndpointType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-endpointtype - EndpointType *types.Value `json:"EndpointType,omitempty"` - - // IdentityProviderDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-identityproviderdetails - IdentityProviderDetails *Server_IdentityProviderDetails `json:"IdentityProviderDetails,omitempty"` - - // IdentityProviderType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-identityprovidertype - IdentityProviderType *types.Value `json:"IdentityProviderType,omitempty"` - - // LoggingRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-loggingrole - LoggingRole *types.Value `json:"LoggingRole,omitempty"` - - // ProtocolDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-protocoldetails - ProtocolDetails *Server_ProtocolDetails `json:"ProtocolDetails,omitempty"` - - // Protocols AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-protocols - Protocols []Server_Protocol `json:"Protocols,omitempty"` - - // SecurityPolicyName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-securitypolicyname - SecurityPolicyName *types.Value `json:"SecurityPolicyName,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // WorkflowDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#cfn-transfer-server-workflowdetails - WorkflowDetails *Server_WorkflowDetails `json:"WorkflowDetails,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 *Server) AWSCloudFormationType() string { - return "AWS::Transfer::Server" -} - -// 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 (r Server) MarshalJSON() ([]byte, error) { - type Properties Server - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Server) UnmarshalJSON(b []byte) error { - type Properties Server - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Server(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_identityproviderdetails.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server_identityproviderdetails.go deleted file mode 100644 index a3d1d66139..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_identityproviderdetails.go +++ /dev/null @@ -1,52 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_IdentityProviderDetails AWS CloudFormation Resource (AWS::Transfer::Server.IdentityProviderDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html -type Server_IdentityProviderDetails struct { - - // DirectoryId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html#cfn-transfer-server-identityproviderdetails-directoryid - DirectoryId *types.Value `json:"DirectoryId,omitempty"` - - // Function AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html#cfn-transfer-server-identityproviderdetails-function - Function *types.Value `json:"Function,omitempty"` - - // InvocationRole AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html#cfn-transfer-server-identityproviderdetails-invocationrole - InvocationRole *types.Value `json:"InvocationRole,omitempty"` - - // Url AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html#cfn-transfer-server-identityproviderdetails-url - Url *types.Value `json:"Url,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 *Server_IdentityProviderDetails) AWSCloudFormationType() string { - return "AWS::Transfer::Server.IdentityProviderDetails" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocol.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocol.go deleted file mode 100644 index b3fcb2fbdd..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocol.go +++ /dev/null @@ -1,30 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_Protocol AWS CloudFormation Resource (AWS::Transfer::Server.Protocol) -// See: -type Server_Protocol struct { - - // 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 *Server_Protocol) AWSCloudFormationType() string { - return "AWS::Transfer::Server.Protocol" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocoldetails.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocoldetails.go deleted file mode 100644 index bbd4b42a45..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_protocoldetails.go +++ /dev/null @@ -1,37 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_ProtocolDetails AWS CloudFormation Resource (AWS::Transfer::Server.ProtocolDetails) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocoldetails.html -type Server_ProtocolDetails struct { - - // PassiveIp AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocoldetails.html#cfn-transfer-server-protocoldetails-passiveip - PassiveIp *types.Value `json:"PassiveIp,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 *Server_ProtocolDetails) AWSCloudFormationType() string { - return "AWS::Transfer::Server.ProtocolDetails" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_securitygroupid.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server_securitygroupid.go deleted file mode 100644 index 770016a47a..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_securitygroupid.go +++ /dev/null @@ -1,30 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_SecurityGroupId AWS CloudFormation Resource (AWS::Transfer::Server.SecurityGroupId) -// See: -type Server_SecurityGroupId struct { - - // 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 *Server_SecurityGroupId) AWSCloudFormationType() string { - return "AWS::Transfer::Server.SecurityGroupId" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetail.go b/pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetail.go deleted file mode 100644 index 3525df661f..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-server_workflowdetail.go +++ /dev/null @@ -1,42 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Server_WorkflowDetail AWS CloudFormation Resource (AWS::Transfer::Server.WorkflowDetail) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetail.html -type Server_WorkflowDetail struct { - - // ExecutionRole AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetail.html#cfn-transfer-server-workflowdetail-executionrole - ExecutionRole *types.Value `json:"ExecutionRole,omitempty"` - - // WorkflowId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetail.html#cfn-transfer-server-workflowdetail-workflowid - WorkflowId *types.Value `json:"WorkflowId,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 *Server_WorkflowDetail) AWSCloudFormationType() string { - return "AWS::Transfer::Server.WorkflowDetail" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-user.go b/pkg/goformation/cloudformation/transfer/aws-transfer-user.go deleted file mode 100644 index 4c6314525e..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-user.go +++ /dev/null @@ -1,154 +0,0 @@ -package transfer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User AWS CloudFormation Resource (AWS::Transfer::User) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html -type User struct { - - // HomeDirectory AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-homedirectory - HomeDirectory *types.Value `json:"HomeDirectory,omitempty"` - - // HomeDirectoryMappings AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-homedirectorymappings - HomeDirectoryMappings []User_HomeDirectoryMapEntry `json:"HomeDirectoryMappings,omitempty"` - - // HomeDirectoryType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-homedirectorytype - HomeDirectoryType *types.Value `json:"HomeDirectoryType,omitempty"` - - // Policy AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-policy - Policy *types.Value `json:"Policy,omitempty"` - - // PosixProfile AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-posixprofile - PosixProfile *User_PosixProfile `json:"PosixProfile,omitempty"` - - // Role AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-role - Role *types.Value `json:"Role,omitempty"` - - // ServerId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-serverid - ServerId *types.Value `json:"ServerId,omitempty"` - - // SshPublicKeys AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-sshpublickeys - SshPublicKeys []User_SshPublicKey `json:"SshPublicKeys,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-username - UserName *types.Value `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 *User) AWSCloudFormationType() string { - return "AWS::Transfer::User" -} - -// 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 (r User) MarshalJSON() ([]byte, error) { - type Properties User - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *User) UnmarshalJSON(b []byte) error { - type Properties User - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = User(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-user_homedirectorymapentry.go b/pkg/goformation/cloudformation/transfer/aws-transfer-user_homedirectorymapentry.go deleted file mode 100644 index a1c18c7d8f..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-user_homedirectorymapentry.go +++ /dev/null @@ -1,42 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User_HomeDirectoryMapEntry AWS CloudFormation Resource (AWS::Transfer::User.HomeDirectoryMapEntry) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-homedirectorymapentry.html -type User_HomeDirectoryMapEntry struct { - - // Entry AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-homedirectorymapentry.html#cfn-transfer-user-homedirectorymapentry-entry - Entry *types.Value `json:"Entry,omitempty"` - - // Target AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-homedirectorymapentry.html#cfn-transfer-user-homedirectorymapentry-target - Target *types.Value `json:"Target,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 *User_HomeDirectoryMapEntry) AWSCloudFormationType() string { - return "AWS::Transfer::User.HomeDirectoryMapEntry" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-user_posixprofile.go b/pkg/goformation/cloudformation/transfer/aws-transfer-user_posixprofile.go deleted file mode 100644 index 79c8af2f36..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-user_posixprofile.go +++ /dev/null @@ -1,47 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User_PosixProfile AWS CloudFormation Resource (AWS::Transfer::User.PosixProfile) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-posixprofile.html -type User_PosixProfile struct { - - // Gid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-posixprofile.html#cfn-transfer-user-posixprofile-gid - Gid *types.Value `json:"Gid"` - - // SecondaryGids AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-posixprofile.html#cfn-transfer-user-posixprofile-secondarygids - SecondaryGids *types.Value `json:"SecondaryGids,omitempty"` - - // Uid AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-user-posixprofile.html#cfn-transfer-user-posixprofile-uid - Uid *types.Value `json:"Uid"` - - // 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 *User_PosixProfile) AWSCloudFormationType() string { - return "AWS::Transfer::User.PosixProfile" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-user_sshpublickey.go b/pkg/goformation/cloudformation/transfer/aws-transfer-user_sshpublickey.go deleted file mode 100644 index 5f856109f8..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-user_sshpublickey.go +++ /dev/null @@ -1,30 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// User_SshPublicKey AWS CloudFormation Resource (AWS::Transfer::User.SshPublicKey) -// See: -type User_SshPublicKey struct { - - // 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 *User_SshPublicKey) AWSCloudFormationType() string { - return "AWS::Transfer::User.SshPublicKey" -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-workflow.go b/pkg/goformation/cloudformation/transfer/aws-transfer-workflow.go deleted file mode 100644 index 94ef37f379..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-workflow.go +++ /dev/null @@ -1,124 +0,0 @@ -package transfer - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workflow AWS CloudFormation Resource (AWS::Transfer::Workflow) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html -type Workflow struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-description - Description *types.Value `json:"Description,omitempty"` - - // OnExceptionSteps AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-onexceptionsteps - OnExceptionSteps []Workflow_WorkflowStep `json:"OnExceptionSteps,omitempty"` - - // Steps AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-steps - Steps []Workflow_WorkflowStep `json:"Steps,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-tags - Tags []cloudformation.Tag `json:"Tags,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 *Workflow) AWSCloudFormationType() string { - return "AWS::Transfer::Workflow" -} - -// 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 (r Workflow) MarshalJSON() ([]byte, error) { - type Properties Workflow - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Workflow) UnmarshalJSON(b []byte) error { - type Properties Workflow - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Workflow(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/transfer/aws-transfer-workflow_workflowstep.go b/pkg/goformation/cloudformation/transfer/aws-transfer-workflow_workflowstep.go deleted file mode 100644 index 0e74fc0449..0000000000 --- a/pkg/goformation/cloudformation/transfer/aws-transfer-workflow_workflowstep.go +++ /dev/null @@ -1,57 +0,0 @@ -package transfer - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workflow_WorkflowStep AWS CloudFormation Resource (AWS::Transfer::Workflow.WorkflowStep) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html -type Workflow_WorkflowStep struct { - - // CopyStepDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html#cfn-transfer-workflow-workflowstep-copystepdetails - CopyStepDetails interface{} `json:"CopyStepDetails,omitempty"` - - // CustomStepDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html#cfn-transfer-workflow-workflowstep-customstepdetails - CustomStepDetails interface{} `json:"CustomStepDetails,omitempty"` - - // DeleteStepDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html#cfn-transfer-workflow-workflowstep-deletestepdetails - DeleteStepDetails interface{} `json:"DeleteStepDetails,omitempty"` - - // TagStepDetails AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html#cfn-transfer-workflow-workflowstep-tagstepdetails - TagStepDetails interface{} `json:"TagStepDetails,omitempty"` - - // Type AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-workflowstep.html#cfn-transfer-workflow-workflowstep-type - Type *types.Value `json:"Type,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 *Workflow_WorkflowStep) AWSCloudFormationType() string { - return "AWS::Transfer::Workflow.WorkflowStep" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset.go b/pkg/goformation/cloudformation/waf/aws-waf-bytematchset.go deleted file mode 100644 index eb64c8b193..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet AWS CloudFormation Resource (AWS::WAF::ByteMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-bytematchset.html -type ByteMatchSet struct { - - // ByteMatchTuples AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-bytematchset.html#cfn-waf-bytematchset-bytematchtuples - ByteMatchTuples []ByteMatchSet_ByteMatchTuple `json:"ByteMatchTuples,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-bytematchset.html#cfn-waf-bytematchset-name - Name *types.Value `json:"Name,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 *ByteMatchSet) AWSCloudFormationType() string { - return "AWS::WAF::ByteMatchSet" -} - -// 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 (r ByteMatchSet) MarshalJSON() ([]byte, error) { - type Properties ByteMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ByteMatchSet) UnmarshalJSON(b []byte) error { - type Properties ByteMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ByteMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_bytematchtuple.go b/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_bytematchtuple.go deleted file mode 100644 index affc930bea..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_bytematchtuple.go +++ /dev/null @@ -1,57 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet_ByteMatchTuple AWS CloudFormation Resource (AWS::WAF::ByteMatchSet.ByteMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html -type ByteMatchSet_ByteMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-fieldtomatch - FieldToMatch *ByteMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // PositionalConstraint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-positionalconstraint - PositionalConstraint *types.Value `json:"PositionalConstraint,omitempty"` - - // TargetString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-targetstring - TargetString *types.Value `json:"TargetString,omitempty"` - - // TargetStringBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-targetstringbase64 - TargetStringBase64 *types.Value `json:"TargetStringBase64,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *ByteMatchSet_ByteMatchTuple) AWSCloudFormationType() string { - return "AWS::WAF::ByteMatchSet.ByteMatchTuple" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_fieldtomatch.go b/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_fieldtomatch.go deleted file mode 100644 index 7ab47edf5b..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-bytematchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAF::ByteMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html -type ByteMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-bytematchset-bytematchtuples-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-bytematchset-bytematchtuples-fieldtomatch-type - Type *types.Value `json:"Type,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 *ByteMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAF::ByteMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-ipset.go b/pkg/goformation/cloudformation/waf/aws-waf-ipset.go deleted file mode 100644 index 492fced7fa..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-ipset.go +++ /dev/null @@ -1,113 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet AWS CloudFormation Resource (AWS::WAF::IPSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html -type IPSet struct { - - // IPSetDescriptors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html#cfn-waf-ipset-ipsetdescriptors - IPSetDescriptors []IPSet_IPSetDescriptor `json:"IPSetDescriptors,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html#cfn-waf-ipset-name - Name *types.Value `json:"Name,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 *IPSet) AWSCloudFormationType() string { - return "AWS::WAF::IPSet" -} - -// 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 (r IPSet) MarshalJSON() ([]byte, error) { - type Properties IPSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IPSet) UnmarshalJSON(b []byte) error { - type Properties IPSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IPSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-ipset_ipsetdescriptor.go b/pkg/goformation/cloudformation/waf/aws-waf-ipset_ipsetdescriptor.go deleted file mode 100644 index 7d78ea28f3..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-ipset_ipsetdescriptor.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet_IPSetDescriptor AWS CloudFormation Resource (AWS::WAF::IPSet.IPSetDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html -type IPSet_IPSetDescriptor struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html#cfn-waf-ipset-ipsetdescriptors-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html#cfn-waf-ipset-ipsetdescriptors-value - Value *types.Value `json:"Value,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 *IPSet_IPSetDescriptor) AWSCloudFormationType() string { - return "AWS::WAF::IPSet.IPSetDescriptor" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-rule.go b/pkg/goformation/cloudformation/waf/aws-waf-rule.go deleted file mode 100644 index bade9431d6..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-rule.go +++ /dev/null @@ -1,118 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Rule AWS CloudFormation Resource (AWS::WAF::Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html -type Rule struct { - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html#cfn-waf-rule-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html#cfn-waf-rule-name - Name *types.Value `json:"Name,omitempty"` - - // Predicates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html#cfn-waf-rule-predicates - Predicates []Rule_Predicate `json:"Predicates,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 *Rule) AWSCloudFormationType() string { - return "AWS::WAF::Rule" -} - -// 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 (r Rule) MarshalJSON() ([]byte, error) { - type Properties Rule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Rule) UnmarshalJSON(b []byte) error { - type Properties Rule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Rule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-rule_predicate.go b/pkg/goformation/cloudformation/waf/aws-waf-rule_predicate.go deleted file mode 100644 index 7085e6ba04..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-rule_predicate.go +++ /dev/null @@ -1,47 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Rule_Predicate AWS CloudFormation Resource (AWS::WAF::Rule.Predicate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-rule-predicates.html -type Rule_Predicate struct { - - // DataId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-rule-predicates.html#cfn-waf-rule-predicates-dataid - DataId *types.Value `json:"DataId,omitempty"` - - // Negated AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-rule-predicates.html#cfn-waf-rule-predicates-negated - Negated *types.Value `json:"Negated"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-rule-predicates.html#cfn-waf-rule-predicates-type - Type *types.Value `json:"Type,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 *Rule_Predicate) AWSCloudFormationType() string { - return "AWS::WAF::Rule.Predicate" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset.go b/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset.go deleted file mode 100644 index a24f8f0de9..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset.go +++ /dev/null @@ -1,113 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet AWS CloudFormation Resource (AWS::WAF::SizeConstraintSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html -type SizeConstraintSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-name - Name *types.Value `json:"Name,omitempty"` - - // SizeConstraints AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html#cfn-waf-sizeconstraintset-sizeconstraints - SizeConstraints []SizeConstraintSet_SizeConstraint `json:"SizeConstraints,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 *SizeConstraintSet) AWSCloudFormationType() string { - return "AWS::WAF::SizeConstraintSet" -} - -// 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 (r SizeConstraintSet) MarshalJSON() ([]byte, error) { - type Properties SizeConstraintSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SizeConstraintSet) UnmarshalJSON(b []byte) error { - type Properties SizeConstraintSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SizeConstraintSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_fieldtomatch.go b/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_fieldtomatch.go deleted file mode 100644 index 6b130d24e1..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet_FieldToMatch AWS CloudFormation Resource (AWS::WAF::SizeConstraintSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint-fieldtomatch.html -type SizeConstraintSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-type - Type *types.Value `json:"Type,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 *SizeConstraintSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAF::SizeConstraintSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_sizeconstraint.go b/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_sizeconstraint.go deleted file mode 100644 index 32cb7c6d2c..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sizeconstraintset_sizeconstraint.go +++ /dev/null @@ -1,52 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet_SizeConstraint AWS CloudFormation Resource (AWS::WAF::SizeConstraintSet.SizeConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html -type SizeConstraintSet_SizeConstraint struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch - FieldToMatch *SizeConstraintSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-size - Size *types.Value `json:"Size"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *SizeConstraintSet_SizeConstraint) AWSCloudFormationType() string { - return "AWS::WAF::SizeConstraintSet.SizeConstraint" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset.go b/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset.go deleted file mode 100644 index 54819415bf..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet AWS CloudFormation Resource (AWS::WAF::SqlInjectionMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sqlinjectionmatchset.html -type SqlInjectionMatchSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sqlinjectionmatchset.html#cfn-waf-sqlinjectionmatchset-name - Name *types.Value `json:"Name,omitempty"` - - // SqlInjectionMatchTuples AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sqlinjectionmatchset.html#cfn-waf-sqlinjectionmatchset-sqlinjectionmatchtuples - SqlInjectionMatchTuples []SqlInjectionMatchSet_SqlInjectionMatchTuple `json:"SqlInjectionMatchTuples,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 *SqlInjectionMatchSet) AWSCloudFormationType() string { - return "AWS::WAF::SqlInjectionMatchSet" -} - -// 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 (r SqlInjectionMatchSet) MarshalJSON() ([]byte, error) { - type Properties SqlInjectionMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SqlInjectionMatchSet) UnmarshalJSON(b []byte) error { - type Properties SqlInjectionMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SqlInjectionMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_fieldtomatch.go b/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_fieldtomatch.go deleted file mode 100644 index 60a092bde3..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAF::SqlInjectionMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html -type SqlInjectionMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-type - Type *types.Value `json:"Type,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 *SqlInjectionMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAF::SqlInjectionMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_sqlinjectionmatchtuple.go b/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_sqlinjectionmatchtuple.go deleted file mode 100644 index dc132d8e37..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-sqlinjectionmatchset_sqlinjectionmatchtuple.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet_SqlInjectionMatchTuple AWS CloudFormation Resource (AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html -type SqlInjectionMatchSet_SqlInjectionMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html#cfn-waf-sqlinjectionmatchset-sqlinjectionmatchtuples-fieldtomatch - FieldToMatch *SqlInjectionMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html#cfn-waf-sqlinjectionmatchset-sqlinjectionmatchtuples-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *SqlInjectionMatchSet_SqlInjectionMatchTuple) AWSCloudFormationType() string { - return "AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-webacl.go b/pkg/goformation/cloudformation/waf/aws-waf-webacl.go deleted file mode 100644 index 2edf1ea52b..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-webacl.go +++ /dev/null @@ -1,123 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL AWS CloudFormation Resource (AWS::WAF::WebACL) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html -type WebACL struct { - - // DefaultAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html#cfn-waf-webacl-defaultaction - DefaultAction *WebACL_WafAction `json:"DefaultAction,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html#cfn-waf-webacl-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html#cfn-waf-webacl-name - Name *types.Value `json:"Name,omitempty"` - - // Rules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html#cfn-waf-webacl-rules - Rules []WebACL_ActivatedRule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *WebACL) AWSCloudFormationType() string { - return "AWS::WAF::WebACL" -} - -// 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 (r WebACL) MarshalJSON() ([]byte, error) { - type Properties WebACL - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WebACL) UnmarshalJSON(b []byte) error { - type Properties WebACL - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WebACL(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-webacl_activatedrule.go b/pkg/goformation/cloudformation/waf/aws-waf-webacl_activatedrule.go deleted file mode 100644 index 82149b64cd..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-webacl_activatedrule.go +++ /dev/null @@ -1,47 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_ActivatedRule AWS CloudFormation Resource (AWS::WAF::WebACL.ActivatedRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html -type WebACL_ActivatedRule struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-action - Action *WebACL_WafAction `json:"Action,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-priority - Priority *types.Value `json:"Priority"` - - // RuleId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-ruleid - RuleId *types.Value `json:"RuleId,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 *WebACL_ActivatedRule) AWSCloudFormationType() string { - return "AWS::WAF::WebACL.ActivatedRule" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-webacl_wafaction.go b/pkg/goformation/cloudformation/waf/aws-waf-webacl_wafaction.go deleted file mode 100644 index a983989127..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-webacl_wafaction.go +++ /dev/null @@ -1,37 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_WafAction AWS CloudFormation Resource (AWS::WAF::WebACL.WafAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html -type WebACL_WafAction struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html#cfn-waf-webacl-action-type - Type *types.Value `json:"Type,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 *WebACL_WafAction) AWSCloudFormationType() string { - return "AWS::WAF::WebACL.WafAction" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset.go b/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset.go deleted file mode 100644 index feae70a3bc..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package waf - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet AWS CloudFormation Resource (AWS::WAF::XssMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html -type XssMatchSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html#cfn-waf-xssmatchset-name - Name *types.Value `json:"Name,omitempty"` - - // XssMatchTuples AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html#cfn-waf-xssmatchset-xssmatchtuples - XssMatchTuples []XssMatchSet_XssMatchTuple `json:"XssMatchTuples,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 *XssMatchSet) AWSCloudFormationType() string { - return "AWS::WAF::XssMatchSet" -} - -// 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 (r XssMatchSet) MarshalJSON() ([]byte, error) { - type Properties XssMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *XssMatchSet) UnmarshalJSON(b []byte) error { - type Properties XssMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = XssMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_fieldtomatch.go b/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_fieldtomatch.go deleted file mode 100644 index cbc409a262..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAF::XssMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html -type XssMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch-type - Type *types.Value `json:"Type,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 *XssMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAF::XssMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_xssmatchtuple.go b/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_xssmatchtuple.go deleted file mode 100644 index 9a7bb5a004..0000000000 --- a/pkg/goformation/cloudformation/waf/aws-waf-xssmatchset_xssmatchtuple.go +++ /dev/null @@ -1,42 +0,0 @@ -package waf - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet_XssMatchTuple AWS CloudFormation Resource (AWS::WAF::XssMatchSet.XssMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html -type XssMatchSet_XssMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch - FieldToMatch *XssMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html#cfn-waf-xssmatchset-xssmatchtuple-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *XssMatchSet_XssMatchTuple) AWSCloudFormationType() string { - return "AWS::WAF::XssMatchSet.XssMatchTuple" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset.go deleted file mode 100644 index 375c7b592e..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet AWS CloudFormation Resource (AWS::WAFRegional::ByteMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html -type ByteMatchSet struct { - - // ByteMatchTuples AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html#cfn-wafregional-bytematchset-bytematchtuples - ByteMatchTuples []ByteMatchSet_ByteMatchTuple `json:"ByteMatchTuples,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html#cfn-wafregional-bytematchset-name - Name *types.Value `json:"Name,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 *ByteMatchSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::ByteMatchSet" -} - -// 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 (r ByteMatchSet) MarshalJSON() ([]byte, error) { - type Properties ByteMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ByteMatchSet) UnmarshalJSON(b []byte) error { - type Properties ByteMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ByteMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_bytematchtuple.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_bytematchtuple.go deleted file mode 100644 index e80d172eb1..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_bytematchtuple.go +++ /dev/null @@ -1,57 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet_ByteMatchTuple AWS CloudFormation Resource (AWS::WAFRegional::ByteMatchSet.ByteMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html -type ByteMatchSet_ByteMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-fieldtomatch - FieldToMatch *ByteMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // PositionalConstraint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint - PositionalConstraint *types.Value `json:"PositionalConstraint,omitempty"` - - // TargetString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring - TargetString *types.Value `json:"TargetString,omitempty"` - - // TargetStringBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64 - TargetStringBase64 *types.Value `json:"TargetStringBase64,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *ByteMatchSet_ByteMatchTuple) AWSCloudFormationType() string { - return "AWS::WAFRegional::ByteMatchSet.ByteMatchTuple" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_fieldtomatch.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_fieldtomatch.go deleted file mode 100644 index b2f987745a..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-bytematchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ByteMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAFRegional::ByteMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html -type ByteMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-type - Type *types.Value `json:"Type,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 *ByteMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFRegional::ByteMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset.go deleted file mode 100644 index d14b5d6056..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GeoMatchSet AWS CloudFormation Resource (AWS::WAFRegional::GeoMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html -type GeoMatchSet struct { - - // GeoMatchConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html#cfn-wafregional-geomatchset-geomatchconstraints - GeoMatchConstraints []GeoMatchSet_GeoMatchConstraint `json:"GeoMatchConstraints,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html#cfn-wafregional-geomatchset-name - Name *types.Value `json:"Name,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 *GeoMatchSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::GeoMatchSet" -} - -// 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 (r GeoMatchSet) MarshalJSON() ([]byte, error) { - type Properties GeoMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *GeoMatchSet) UnmarshalJSON(b []byte) error { - type Properties GeoMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = GeoMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset_geomatchconstraint.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset_geomatchconstraint.go deleted file mode 100644 index 0e07f99eb3..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-geomatchset_geomatchconstraint.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// GeoMatchSet_GeoMatchConstraint AWS CloudFormation Resource (AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-geomatchset-geomatchconstraint.html -type GeoMatchSet_GeoMatchConstraint struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-geomatchset-geomatchconstraint.html#cfn-wafregional-geomatchset-geomatchconstraint-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-geomatchset-geomatchconstraint.html#cfn-wafregional-geomatchset-geomatchconstraint-value - Value *types.Value `json:"Value,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 *GeoMatchSet_GeoMatchConstraint) AWSCloudFormationType() string { - return "AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset.go deleted file mode 100644 index d0bc884c04..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet AWS CloudFormation Resource (AWS::WAFRegional::IPSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html -type IPSet struct { - - // IPSetDescriptors AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html#cfn-wafregional-ipset-ipsetdescriptors - IPSetDescriptors []IPSet_IPSetDescriptor `json:"IPSetDescriptors,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html#cfn-wafregional-ipset-name - Name *types.Value `json:"Name,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 *IPSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::IPSet" -} - -// 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 (r IPSet) MarshalJSON() ([]byte, error) { - type Properties IPSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IPSet) UnmarshalJSON(b []byte) error { - type Properties IPSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IPSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset_ipsetdescriptor.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset_ipsetdescriptor.go deleted file mode 100644 index 91e8de3e26..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ipset_ipsetdescriptor.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet_IPSetDescriptor AWS CloudFormation Resource (AWS::WAFRegional::IPSet.IPSetDescriptor) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html -type IPSet_IPSetDescriptor struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-type - Type *types.Value `json:"Type,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-value - Value *types.Value `json:"Value,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 *IPSet_IPSetDescriptor) AWSCloudFormationType() string { - return "AWS::WAFRegional::IPSet.IPSetDescriptor" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule.go deleted file mode 100644 index eb2028cfbb..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule.go +++ /dev/null @@ -1,128 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RateBasedRule AWS CloudFormation Resource (AWS::WAFRegional::RateBasedRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html -type RateBasedRule struct { - - // MatchPredicates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-matchpredicates - MatchPredicates []RateBasedRule_Predicate `json:"MatchPredicates,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-name - Name *types.Value `json:"Name,omitempty"` - - // RateKey AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-ratekey - RateKey *types.Value `json:"RateKey,omitempty"` - - // RateLimit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html#cfn-wafregional-ratebasedrule-ratelimit - RateLimit *types.Value `json:"RateLimit"` - - // 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 *RateBasedRule) AWSCloudFormationType() string { - return "AWS::WAFRegional::RateBasedRule" -} - -// 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 (r RateBasedRule) MarshalJSON() ([]byte, error) { - type Properties RateBasedRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RateBasedRule) UnmarshalJSON(b []byte) error { - type Properties RateBasedRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RateBasedRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule_predicate.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule_predicate.go deleted file mode 100644 index 86cd83e0bd..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-ratebasedrule_predicate.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RateBasedRule_Predicate AWS CloudFormation Resource (AWS::WAFRegional::RateBasedRule.Predicate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ratebasedrule-predicate.html -type RateBasedRule_Predicate struct { - - // DataId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ratebasedrule-predicate.html#cfn-wafregional-ratebasedrule-predicate-dataid - DataId *types.Value `json:"DataId,omitempty"` - - // Negated AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ratebasedrule-predicate.html#cfn-wafregional-ratebasedrule-predicate-negated - Negated *types.Value `json:"Negated"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ratebasedrule-predicate.html#cfn-wafregional-ratebasedrule-predicate-type - Type *types.Value `json:"Type,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 *RateBasedRule_Predicate) AWSCloudFormationType() string { - return "AWS::WAFRegional::RateBasedRule.Predicate" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-regexpatternset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-regexpatternset.go deleted file mode 100644 index 8927959bce..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-regexpatternset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RegexPatternSet AWS CloudFormation Resource (AWS::WAFRegional::RegexPatternSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.html -type RegexPatternSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.html#cfn-wafregional-regexpatternset-name - Name *types.Value `json:"Name,omitempty"` - - // RegexPatternStrings AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.html#cfn-wafregional-regexpatternset-regexpatternstrings - RegexPatternStrings *types.Value `json:"RegexPatternStrings,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 *RegexPatternSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::RegexPatternSet" -} - -// 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 (r RegexPatternSet) MarshalJSON() ([]byte, error) { - type Properties RegexPatternSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RegexPatternSet) UnmarshalJSON(b []byte) error { - type Properties RegexPatternSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RegexPatternSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule.go deleted file mode 100644 index a11837b132..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule.go +++ /dev/null @@ -1,118 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Rule AWS CloudFormation Resource (AWS::WAFRegional::Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html -type Rule struct { - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-name - Name *types.Value `json:"Name,omitempty"` - - // Predicates AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html#cfn-wafregional-rule-predicates - Predicates []Rule_Predicate `json:"Predicates,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 *Rule) AWSCloudFormationType() string { - return "AWS::WAFRegional::Rule" -} - -// 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 (r Rule) MarshalJSON() ([]byte, error) { - type Properties Rule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Rule) UnmarshalJSON(b []byte) error { - type Properties Rule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Rule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule_predicate.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule_predicate.go deleted file mode 100644 index 922494980f..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-rule_predicate.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Rule_Predicate AWS CloudFormation Resource (AWS::WAFRegional::Rule.Predicate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html -type Rule_Predicate struct { - - // DataId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-dataid - DataId *types.Value `json:"DataId,omitempty"` - - // Negated AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-negated - Negated *types.Value `json:"Negated"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-type - Type *types.Value `json:"Type,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 *Rule_Predicate) AWSCloudFormationType() string { - return "AWS::WAFRegional::Rule.Predicate" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset.go deleted file mode 100644 index 7eaaf8e501..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet AWS CloudFormation Resource (AWS::WAFRegional::SizeConstraintSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html -type SizeConstraintSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html#cfn-wafregional-sizeconstraintset-name - Name *types.Value `json:"Name,omitempty"` - - // SizeConstraints AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html#cfn-wafregional-sizeconstraintset-sizeconstraints - SizeConstraints []SizeConstraintSet_SizeConstraint `json:"SizeConstraints,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 *SizeConstraintSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::SizeConstraintSet" -} - -// 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 (r SizeConstraintSet) MarshalJSON() ([]byte, error) { - type Properties SizeConstraintSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SizeConstraintSet) UnmarshalJSON(b []byte) error { - type Properties SizeConstraintSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SizeConstraintSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_fieldtomatch.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_fieldtomatch.go deleted file mode 100644 index 3232bc0906..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet_FieldToMatch AWS CloudFormation Resource (AWS::WAFRegional::SizeConstraintSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html -type SizeConstraintSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-type - Type *types.Value `json:"Type,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 *SizeConstraintSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFRegional::SizeConstraintSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_sizeconstraint.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_sizeconstraint.go deleted file mode 100644 index 576273533e..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sizeconstraintset_sizeconstraint.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SizeConstraintSet_SizeConstraint AWS CloudFormation Resource (AWS::WAFRegional::SizeConstraintSet.SizeConstraint) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html -type SizeConstraintSet_SizeConstraint struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-fieldtomatch - FieldToMatch *SizeConstraintSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-size - Size *types.Value `json:"Size"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *SizeConstraintSet_SizeConstraint) AWSCloudFormationType() string { - return "AWS::WAFRegional::SizeConstraintSet.SizeConstraint" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset.go deleted file mode 100644 index 5ca7e16ef4..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet AWS CloudFormation Resource (AWS::WAFRegional::SqlInjectionMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html -type SqlInjectionMatchSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html#cfn-wafregional-sqlinjectionmatchset-name - Name *types.Value `json:"Name,omitempty"` - - // SqlInjectionMatchTuples AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuples - SqlInjectionMatchTuples []SqlInjectionMatchSet_SqlInjectionMatchTuple `json:"SqlInjectionMatchTuples,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 *SqlInjectionMatchSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::SqlInjectionMatchSet" -} - -// 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 (r SqlInjectionMatchSet) MarshalJSON() ([]byte, error) { - type Properties SqlInjectionMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SqlInjectionMatchSet) UnmarshalJSON(b []byte) error { - type Properties SqlInjectionMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SqlInjectionMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_fieldtomatch.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_fieldtomatch.go deleted file mode 100644 index 090be1b3ca..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html -type SqlInjectionMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-type - Type *types.Value `json:"Type,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 *SqlInjectionMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_sqlinjectionmatchtuple.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_sqlinjectionmatchtuple.go deleted file mode 100644 index 22bacaed9d..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-sqlinjectionmatchset_sqlinjectionmatchtuple.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SqlInjectionMatchSet_SqlInjectionMatchTuple AWS CloudFormation Resource (AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html -type SqlInjectionMatchSet_SqlInjectionMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple-fieldtomatch - FieldToMatch *SqlInjectionMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html#cfn-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *SqlInjectionMatchSet_SqlInjectionMatchTuple) AWSCloudFormationType() string { - return "AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl.go deleted file mode 100644 index 67f587d3c4..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl.go +++ /dev/null @@ -1,123 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL AWS CloudFormation Resource (AWS::WAFRegional::WebACL) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html -type WebACL struct { - - // DefaultAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-defaultaction - DefaultAction *WebACL_Action `json:"DefaultAction,omitempty"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-name - Name *types.Value `json:"Name,omitempty"` - - // Rules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html#cfn-wafregional-webacl-rules - Rules []WebACL_Rule `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:"-"` -} - -// AWSCloudFormationType returns the AWS CloudFormation resource type -func (r *WebACL) AWSCloudFormationType() string { - return "AWS::WAFRegional::WebACL" -} - -// 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 (r WebACL) MarshalJSON() ([]byte, error) { - type Properties WebACL - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WebACL) UnmarshalJSON(b []byte) error { - type Properties WebACL - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WebACL(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_action.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_action.go deleted file mode 100644 index 02e8d9335a..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webacl_action.go +++ /dev/null @@ -1,37 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_Action AWS CloudFormation Resource (AWS::WAFRegional::WebACL.Action) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html -type WebACL_Action struct { - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html#cfn-wafregional-webacl-action-type - Type *types.Value `json:"Type,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 *WebACL_Action) AWSCloudFormationType() string { - return "AWS::WAFRegional::WebACL.Action" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webaclassociation.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-webaclassociation.go deleted file mode 100644 index a6a51aafe1..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-webaclassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACLAssociation AWS CloudFormation Resource (AWS::WAFRegional::WebACLAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html -type WebACLAssociation struct { - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-resourcearn - ResourceArn *types.Value `json:"ResourceArn,omitempty"` - - // WebACLId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html#cfn-wafregional-webaclassociation-webaclid - WebACLId *types.Value `json:"WebACLId,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 *WebACLAssociation) AWSCloudFormationType() string { - return "AWS::WAFRegional::WebACLAssociation" -} - -// 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 (r WebACLAssociation) MarshalJSON() ([]byte, error) { - type Properties WebACLAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WebACLAssociation) UnmarshalJSON(b []byte) error { - type Properties WebACLAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WebACLAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset.go deleted file mode 100644 index ea1e106ba9..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafregional - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet AWS CloudFormation Resource (AWS::WAFRegional::XssMatchSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html -type XssMatchSet struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-name - Name *types.Value `json:"Name,omitempty"` - - // XssMatchTuples AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html#cfn-wafregional-xssmatchset-xssmatchtuples - XssMatchTuples []XssMatchSet_XssMatchTuple `json:"XssMatchTuples,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 *XssMatchSet) AWSCloudFormationType() string { - return "AWS::WAFRegional::XssMatchSet" -} - -// 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 (r XssMatchSet) MarshalJSON() ([]byte, error) { - type Properties XssMatchSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *XssMatchSet) UnmarshalJSON(b []byte) error { - type Properties XssMatchSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = XssMatchSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_fieldtomatch.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_fieldtomatch.go deleted file mode 100644 index f42482113b..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_fieldtomatch.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet_FieldToMatch AWS CloudFormation Resource (AWS::WAFRegional::XssMatchSet.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html -type XssMatchSet_FieldToMatch struct { - - // Data AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html#cfn-wafregional-xssmatchset-fieldtomatch-data - Data *types.Value `json:"Data,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html#cfn-wafregional-xssmatchset-fieldtomatch-type - Type *types.Value `json:"Type,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 *XssMatchSet_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFRegional::XssMatchSet.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_xssmatchtuple.go b/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_xssmatchtuple.go deleted file mode 100644 index 283e2bf14e..0000000000 --- a/pkg/goformation/cloudformation/wafregional/aws-wafregional-xssmatchset_xssmatchtuple.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafregional - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// XssMatchSet_XssMatchTuple AWS CloudFormation Resource (AWS::WAFRegional::XssMatchSet.XssMatchTuple) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html -type XssMatchSet_XssMatchTuple struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-fieldtomatch - FieldToMatch *XssMatchSet_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformation AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-texttransformation - TextTransformation *types.Value `json:"TextTransformation,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 *XssMatchSet_XssMatchTuple) AWSCloudFormationType() string { - return "AWS::WAFRegional::XssMatchSet.XssMatchTuple" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-ipset.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-ipset.go deleted file mode 100644 index e159ef0e8f..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-ipset.go +++ /dev/null @@ -1,134 +0,0 @@ -package wafv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// IPSet AWS CloudFormation Resource (AWS::WAFv2::IPSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html -type IPSet struct { - - // Addresses AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-addresses - Addresses *types.Value `json:"Addresses,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-description - Description *types.Value `json:"Description,omitempty"` - - // IPAddressVersion AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-ipaddressversion - IPAddressVersion *types.Value `json:"IPAddressVersion,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-name - Name *types.Value `json:"Name,omitempty"` - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-scope - Scope *types.Value `json:"Scope,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-tags - Tags []cloudformation.Tag `json:"Tags,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 *IPSet) AWSCloudFormationType() string { - return "AWS::WAFv2::IPSet" -} - -// 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 (r IPSet) MarshalJSON() ([]byte, error) { - type Properties IPSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *IPSet) UnmarshalJSON(b []byte) error { - type Properties IPSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = IPSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration.go deleted file mode 100644 index 0949ab8c46..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration.go +++ /dev/null @@ -1,123 +0,0 @@ -package wafv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggingConfiguration AWS CloudFormation Resource (AWS::WAFv2::LoggingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html -type LoggingConfiguration struct { - - // LogDestinationConfigs AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html#cfn-wafv2-loggingconfiguration-logdestinationconfigs - LogDestinationConfigs *types.Value `json:"LogDestinationConfigs,omitempty"` - - // LoggingFilter AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html#cfn-wafv2-loggingconfiguration-loggingfilter - LoggingFilter interface{} `json:"LoggingFilter,omitempty"` - - // RedactedFields AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html#cfn-wafv2-loggingconfiguration-redactedfields - RedactedFields []LoggingConfiguration_FieldToMatch `json:"RedactedFields,omitempty"` - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-loggingconfiguration.html#cfn-wafv2-loggingconfiguration-resourcearn - ResourceArn *types.Value `json:"ResourceArn,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 *LoggingConfiguration) AWSCloudFormationType() string { - return "AWS::WAFv2::LoggingConfiguration" -} - -// 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 (r LoggingConfiguration) MarshalJSON() ([]byte, error) { - type Properties LoggingConfiguration - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *LoggingConfiguration) UnmarshalJSON(b []byte) error { - type Properties LoggingConfiguration - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = LoggingConfiguration(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration_fieldtomatch.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration_fieldtomatch.go deleted file mode 100644 index b389e37226..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-loggingconfiguration_fieldtomatch.go +++ /dev/null @@ -1,55 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// LoggingConfiguration_FieldToMatch AWS CloudFormation Resource (AWS::WAFv2::LoggingConfiguration.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html -type LoggingConfiguration_FieldToMatch struct { - - // JsonBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html#cfn-wafv2-loggingconfiguration-fieldtomatch-jsonbody - JsonBody interface{} `json:"JsonBody,omitempty"` - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html#cfn-wafv2-loggingconfiguration-fieldtomatch-method - Method interface{} `json:"Method,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html#cfn-wafv2-loggingconfiguration-fieldtomatch-querystring - QueryString interface{} `json:"QueryString,omitempty"` - - // SingleHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html#cfn-wafv2-loggingconfiguration-fieldtomatch-singleheader - SingleHeader interface{} `json:"SingleHeader,omitempty"` - - // UriPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-loggingconfiguration-fieldtomatch.html#cfn-wafv2-loggingconfiguration-fieldtomatch-uripath - UriPath interface{} `json:"UriPath,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 *LoggingConfiguration_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFv2::LoggingConfiguration.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-regexpatternset.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-regexpatternset.go deleted file mode 100644 index 527a93a6f0..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-regexpatternset.go +++ /dev/null @@ -1,129 +0,0 @@ -package wafv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RegexPatternSet AWS CloudFormation Resource (AWS::WAFv2::RegexPatternSet) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html -type RegexPatternSet struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-name - Name *types.Value `json:"Name,omitempty"` - - // RegularExpressionList AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-regularexpressionlist - RegularExpressionList *types.Value `json:"RegularExpressionList,omitempty"` - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-scope - Scope *types.Value `json:"Scope,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-tags - Tags []cloudformation.Tag `json:"Tags,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 *RegexPatternSet) AWSCloudFormationType() string { - return "AWS::WAFv2::RegexPatternSet" -} - -// 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 (r RegexPatternSet) MarshalJSON() ([]byte, error) { - type Properties RegexPatternSet - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *RegexPatternSet) UnmarshalJSON(b []byte) error { - type Properties RegexPatternSet - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = RegexPatternSet(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatement.go deleted file mode 100644 index 7908248549..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatement.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_AndStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.AndStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatement.html -type RuleGroup_AndStatement struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatement.html#cfn-wafv2-rulegroup-andstatement-statements - Statements []RuleGroup_Statement `json:"Statements,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 *RuleGroup_AndStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.AndStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementone.go deleted file mode 100644 index 8eae3bb817..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_AndStatementOne AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.AndStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatementone.html -type RuleGroup_AndStatementOne struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatementone.html#cfn-wafv2-rulegroup-andstatementone-statements - Statements []RuleGroup_StatementTwo `json:"Statements,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 *RuleGroup_AndStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.AndStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementtwo.go deleted file mode 100644 index e150da8941..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_andstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_AndStatementTwo AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.AndStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatementtwo.html -type RuleGroup_AndStatementTwo struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-andstatementtwo.html#cfn-wafv2-rulegroup-andstatementtwo-statements - Statements []RuleGroup_StatementThree `json:"Statements,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 *RuleGroup_AndStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.AndStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_bytematchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_bytematchstatement.go deleted file mode 100644 index 35f8f8bdbc..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_bytematchstatement.go +++ /dev/null @@ -1,57 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_ByteMatchStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.ByteMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html -type RuleGroup_ByteMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html#cfn-wafv2-rulegroup-bytematchstatement-fieldtomatch - FieldToMatch *RuleGroup_FieldToMatch `json:"FieldToMatch,omitempty"` - - // PositionalConstraint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html#cfn-wafv2-rulegroup-bytematchstatement-positionalconstraint - PositionalConstraint *types.Value `json:"PositionalConstraint,omitempty"` - - // SearchString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html#cfn-wafv2-rulegroup-bytematchstatement-searchstring - SearchString *types.Value `json:"SearchString,omitempty"` - - // SearchStringBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html#cfn-wafv2-rulegroup-bytematchstatement-searchstringbase64 - SearchStringBase64 *types.Value `json:"SearchStringBase64,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-bytematchstatement.html#cfn-wafv2-rulegroup-bytematchstatement-texttransformations - TextTransformations []RuleGroup_TextTransformation `json:"TextTransformations,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 *RuleGroup_ByteMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.ByteMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_customresponsebody.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_customresponsebody.go deleted file mode 100644 index 39242ab3d6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_customresponsebody.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_CustomResponseBody AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.CustomResponseBody) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-customresponsebody.html -type RuleGroup_CustomResponseBody struct { - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-customresponsebody.html#cfn-wafv2-rulegroup-customresponsebody-content - Content *types.Value `json:"Content,omitempty"` - - // ContentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-customresponsebody.html#cfn-wafv2-rulegroup-customresponsebody-contenttype - ContentType *types.Value `json:"ContentType,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 *RuleGroup_CustomResponseBody) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.CustomResponseBody" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_fieldtomatch.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_fieldtomatch.go deleted file mode 100644 index 5bc8cf4db4..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_fieldtomatch.go +++ /dev/null @@ -1,70 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_FieldToMatch AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html -type RuleGroup_FieldToMatch struct { - - // AllQueryArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-allqueryarguments - AllQueryArguments interface{} `json:"AllQueryArguments,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-body - Body interface{} `json:"Body,omitempty"` - - // JsonBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-jsonbody - JsonBody *RuleGroup_JsonBody `json:"JsonBody,omitempty"` - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-method - Method interface{} `json:"Method,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-querystring - QueryString interface{} `json:"QueryString,omitempty"` - - // SingleHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-singleheader - SingleHeader interface{} `json:"SingleHeader,omitempty"` - - // SingleQueryArgument AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-singlequeryargument - SingleQueryArgument interface{} `json:"SingleQueryArgument,omitempty"` - - // UriPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-fieldtomatch.html#cfn-wafv2-rulegroup-fieldtomatch-uripath - UriPath interface{} `json:"UriPath,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 *RuleGroup_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_forwardedipconfiguration.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_forwardedipconfiguration.go deleted file mode 100644 index a2775aadeb..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_forwardedipconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_ForwardedIPConfiguration AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.ForwardedIPConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-forwardedipconfiguration.html -type RuleGroup_ForwardedIPConfiguration struct { - - // FallbackBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-forwardedipconfiguration.html#cfn-wafv2-rulegroup-forwardedipconfiguration-fallbackbehavior - FallbackBehavior *types.Value `json:"FallbackBehavior,omitempty"` - - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-forwardedipconfiguration.html#cfn-wafv2-rulegroup-forwardedipconfiguration-headername - HeaderName *types.Value `json:"HeaderName,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 *RuleGroup_ForwardedIPConfiguration) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_geomatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_geomatchstatement.go deleted file mode 100644 index 9612bc947a..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_geomatchstatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_GeoMatchStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.GeoMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-geomatchstatement.html -type RuleGroup_GeoMatchStatement struct { - - // CountryCodes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-geomatchstatement.html#cfn-wafv2-rulegroup-geomatchstatement-countrycodes - CountryCodes *types.Value `json:"CountryCodes,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-geomatchstatement.html#cfn-wafv2-rulegroup-geomatchstatement-forwardedipconfig - ForwardedIPConfig *RuleGroup_ForwardedIPConfiguration `json:"ForwardedIPConfig,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 *RuleGroup_GeoMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.GeoMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetreferencestatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetreferencestatement.go deleted file mode 100644 index 6e814517c6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ipsetreferencestatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_IPSetReferenceStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.IPSetReferenceStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetreferencestatement.html -type RuleGroup_IPSetReferenceStatement struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetreferencestatement.html#cfn-wafv2-rulegroup-ipsetreferencestatement-arn - Arn *types.Value `json:"Arn,omitempty"` - - // IPSetForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ipsetreferencestatement.html#cfn-wafv2-rulegroup-ipsetreferencestatement-ipsetforwardedipconfig - IPSetForwardedIPConfig *RuleGroup_IPSetForwardedIPConfiguration `json:"IPSetForwardedIPConfig,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 *RuleGroup_IPSetReferenceStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.IPSetReferenceStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonbody.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonbody.go deleted file mode 100644 index 415001349d..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonbody.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_JsonBody AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.JsonBody) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonbody.html -type RuleGroup_JsonBody struct { - - // InvalidFallbackBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonbody.html#cfn-wafv2-rulegroup-jsonbody-invalidfallbackbehavior - InvalidFallbackBehavior *types.Value `json:"InvalidFallbackBehavior,omitempty"` - - // MatchPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonbody.html#cfn-wafv2-rulegroup-jsonbody-matchpattern - MatchPattern *RuleGroup_JsonMatchPattern `json:"MatchPattern,omitempty"` - - // MatchScope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonbody.html#cfn-wafv2-rulegroup-jsonbody-matchscope - MatchScope *types.Value `json:"MatchScope,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 *RuleGroup_JsonBody) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.JsonBody" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonmatchpattern.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonmatchpattern.go deleted file mode 100644 index 8f92fa5556..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_jsonmatchpattern.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_JsonMatchPattern AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.JsonMatchPattern) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonmatchpattern.html -type RuleGroup_JsonMatchPattern struct { - - // All AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonmatchpattern.html#cfn-wafv2-rulegroup-jsonmatchpattern-all - All interface{} `json:"All,omitempty"` - - // IncludedPaths AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-jsonmatchpattern.html#cfn-wafv2-rulegroup-jsonmatchpattern-includedpaths - IncludedPaths *types.Value `json:"IncludedPaths,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 *RuleGroup_JsonMatchPattern) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.JsonMatchPattern" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_label.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_label.go deleted file mode 100644 index fff77ffa00..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_label.go +++ /dev/null @@ -1,37 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Label AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.Label) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-label.html -type RuleGroup_Label struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-label.html#cfn-wafv2-rulegroup-label-name - Name *types.Value `json:"Name,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 *RuleGroup_Label) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.Label" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelmatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelmatchstatement.go deleted file mode 100644 index 219a655e40..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_labelmatchstatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_LabelMatchStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.LabelMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-labelmatchstatement.html -type RuleGroup_LabelMatchStatement struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-labelmatchstatement.html#cfn-wafv2-rulegroup-labelmatchstatement-key - Key *types.Value `json:"Key,omitempty"` - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-labelmatchstatement.html#cfn-wafv2-rulegroup-labelmatchstatement-scope - Scope *types.Value `json:"Scope,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 *RuleGroup_LabelMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.LabelMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementone.go deleted file mode 100644 index d0fe64719a..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_NotStatementOne AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.NotStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatementone.html -type RuleGroup_NotStatementOne struct { - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatementone.html#cfn-wafv2-rulegroup-notstatementone-statement - Statement *RuleGroup_StatementTwo `json:"Statement,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 *RuleGroup_NotStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.NotStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementtwo.go deleted file mode 100644 index c765c11881..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_notstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_NotStatementTwo AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.NotStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatementtwo.html -type RuleGroup_NotStatementTwo struct { - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-notstatementtwo.html#cfn-wafv2-rulegroup-notstatementtwo-statement - Statement *RuleGroup_StatementThree `json:"Statement,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 *RuleGroup_NotStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.NotStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatement.go deleted file mode 100644 index 67b65f50b4..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatement.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_OrStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.OrStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatement.html -type RuleGroup_OrStatement struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatement.html#cfn-wafv2-rulegroup-orstatement-statements - Statements []RuleGroup_Statement `json:"Statements,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 *RuleGroup_OrStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.OrStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementone.go deleted file mode 100644 index 02d9c7bca8..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_OrStatementOne AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.OrStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatementone.html -type RuleGroup_OrStatementOne struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatementone.html#cfn-wafv2-rulegroup-orstatementone-statements - Statements []RuleGroup_StatementTwo `json:"Statements,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 *RuleGroup_OrStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.OrStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementtwo.go deleted file mode 100644 index 2b6358d2b0..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_orstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_OrStatementTwo AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.OrStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatementtwo.html -type RuleGroup_OrStatementTwo struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-orstatementtwo.html#cfn-wafv2-rulegroup-orstatementtwo-statements - Statements []RuleGroup_StatementThree `json:"Statements,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 *RuleGroup_OrStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.OrStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatement.go deleted file mode 100644 index 1d6c1c69d6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatement.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RateBasedStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.RateBasedStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html -type RuleGroup_RateBasedStatement struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html#cfn-wafv2-rulegroup-ratebasedstatement-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html#cfn-wafv2-rulegroup-ratebasedstatement-forwardedipconfig - ForwardedIPConfig *RuleGroup_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html#cfn-wafv2-rulegroup-ratebasedstatement-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatement.html#cfn-wafv2-rulegroup-ratebasedstatement-scopedownstatement - ScopeDownStatement *RuleGroup_Statement `json:"ScopeDownStatement,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 *RuleGroup_RateBasedStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.RateBasedStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementone.go deleted file mode 100644 index 031f48cb0f..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementone.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RateBasedStatementOne AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.RateBasedStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementone.html -type RuleGroup_RateBasedStatementOne struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementone.html#cfn-wafv2-rulegroup-ratebasedstatementone-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementone.html#cfn-wafv2-rulegroup-ratebasedstatementone-forwardedipconfig - ForwardedIPConfig *RuleGroup_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementone.html#cfn-wafv2-rulegroup-ratebasedstatementone-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementone.html#cfn-wafv2-rulegroup-ratebasedstatementone-scopedownstatement - ScopeDownStatement *RuleGroup_StatementTwo `json:"ScopeDownStatement,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 *RuleGroup_RateBasedStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.RateBasedStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementtwo.go deleted file mode 100644 index f353810298..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ratebasedstatementtwo.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RateBasedStatementTwo AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.RateBasedStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementtwo.html -type RuleGroup_RateBasedStatementTwo struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementtwo.html#cfn-wafv2-rulegroup-ratebasedstatementtwo-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementtwo.html#cfn-wafv2-rulegroup-ratebasedstatementtwo-forwardedipconfig - ForwardedIPConfig *RuleGroup_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementtwo.html#cfn-wafv2-rulegroup-ratebasedstatementtwo-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementtwo.html#cfn-wafv2-rulegroup-ratebasedstatementtwo-scopedownstatement - ScopeDownStatement *RuleGroup_StatementThree `json:"ScopeDownStatement,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 *RuleGroup_RateBasedStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.RateBasedStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_regexpatternsetreferencestatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_regexpatternsetreferencestatement.go deleted file mode 100644 index 8006787f30..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_regexpatternsetreferencestatement.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RegexPatternSetReferenceStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-regexpatternsetreferencestatement.html -type RuleGroup_RegexPatternSetReferenceStatement struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-regexpatternsetreferencestatement.html#cfn-wafv2-rulegroup-regexpatternsetreferencestatement-arn - Arn *types.Value `json:"Arn,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-regexpatternsetreferencestatement.html#cfn-wafv2-rulegroup-regexpatternsetreferencestatement-fieldtomatch - FieldToMatch *RuleGroup_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-regexpatternsetreferencestatement.html#cfn-wafv2-rulegroup-regexpatternsetreferencestatement-texttransformations - TextTransformations []RuleGroup_TextTransformation `json:"TextTransformations,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 *RuleGroup_RegexPatternSetReferenceStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_rule.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_rule.go deleted file mode 100644 index 3b27fe0dce..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_rule.go +++ /dev/null @@ -1,62 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Rule AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html -type RuleGroup_Rule struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-action - Action *RuleGroup_RuleAction `json:"Action,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-name - Name *types.Value `json:"Name,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-priority - Priority *types.Value `json:"Priority"` - - // RuleLabels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-rulelabels - RuleLabels []RuleGroup_Label `json:"RuleLabels,omitempty"` - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-statement - Statement *RuleGroup_Statement `json:"Statement,omitempty"` - - // VisibilityConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-rule.html#cfn-wafv2-rulegroup-rule-visibilityconfig - VisibilityConfig *RuleGroup_VisibilityConfig `json:"VisibilityConfig,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 *RuleGroup_Rule) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.Rule" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ruleaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ruleaction.go deleted file mode 100644 index 40b6a197f2..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_ruleaction.go +++ /dev/null @@ -1,45 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_RuleAction AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.RuleAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html -type RuleGroup_RuleAction struct { - - // Allow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-allow - Allow interface{} `json:"Allow,omitempty"` - - // Block AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-block - Block interface{} `json:"Block,omitempty"` - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ruleaction.html#cfn-wafv2-rulegroup-ruleaction-count - Count interface{} `json:"Count,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 *RuleGroup_RuleAction) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.RuleAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sizeconstraintstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sizeconstraintstatement.go deleted file mode 100644 index bb148c1f72..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sizeconstraintstatement.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_SizeConstraintStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.SizeConstraintStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sizeconstraintstatement.html -type RuleGroup_SizeConstraintStatement struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sizeconstraintstatement.html#cfn-wafv2-rulegroup-sizeconstraintstatement-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sizeconstraintstatement.html#cfn-wafv2-rulegroup-sizeconstraintstatement-fieldtomatch - FieldToMatch *RuleGroup_FieldToMatch `json:"FieldToMatch,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sizeconstraintstatement.html#cfn-wafv2-rulegroup-sizeconstraintstatement-size - Size *types.Value `json:"Size"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sizeconstraintstatement.html#cfn-wafv2-rulegroup-sizeconstraintstatement-texttransformations - TextTransformations []RuleGroup_TextTransformation `json:"TextTransformations,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 *RuleGroup_SizeConstraintStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.SizeConstraintStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sqlimatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sqlimatchstatement.go deleted file mode 100644 index 8dd0067360..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_sqlimatchstatement.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_SqliMatchStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.SqliMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sqlimatchstatement.html -type RuleGroup_SqliMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sqlimatchstatement.html#cfn-wafv2-rulegroup-sqlimatchstatement-fieldtomatch - FieldToMatch *RuleGroup_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-sqlimatchstatement.html#cfn-wafv2-rulegroup-sqlimatchstatement-texttransformations - TextTransformations []RuleGroup_TextTransformation `json:"TextTransformations,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 *RuleGroup_SqliMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.SqliMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statement.go deleted file mode 100644 index 8e253a3a26..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statement.go +++ /dev/null @@ -1,90 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_Statement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.Statement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html -type RuleGroup_Statement struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-andstatement - AndStatement *RuleGroup_AndStatement `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-bytematchstatement - ByteMatchStatement *RuleGroup_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-geomatchstatement - GeoMatchStatement *RuleGroup_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-ipsetreferencestatement - IPSetReferenceStatement *RuleGroup_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // LabelMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-labelmatchstatement - LabelMatchStatement *RuleGroup_LabelMatchStatement `json:"LabelMatchStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-notstatement - NotStatement *RuleGroup_NotStatement `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-orstatement - OrStatement *RuleGroup_OrStatement `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-ratebasedstatement - RateBasedStatement *RuleGroup_RateBasedStatement `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *RuleGroup_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-sizeconstraintstatement - SizeConstraintStatement *RuleGroup_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-sqlimatchstatement - SqliMatchStatement *RuleGroup_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-xssmatchstatement - XssMatchStatement *RuleGroup_XssMatchStatement `json:"XssMatchStatement,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 *RuleGroup_Statement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.Statement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementone.go deleted file mode 100644 index 7dc6c4bfea..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementone.go +++ /dev/null @@ -1,85 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatementOne AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.StatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html -type RuleGroup_StatementOne struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-andstatement - AndStatement *RuleGroup_AndStatementOne `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-bytematchstatement - ByteMatchStatement *RuleGroup_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-geomatchstatement - GeoMatchStatement *RuleGroup_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-ipsetreferencestatement - IPSetReferenceStatement *RuleGroup_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-notstatement - NotStatement *RuleGroup_NotStatementOne `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-orstatement - OrStatement *RuleGroup_OrStatementOne `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-ratebasedstatement - RateBasedStatement *RuleGroup_RateBasedStatementOne `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *RuleGroup_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-sizeconstraintstatement - SizeConstraintStatement *RuleGroup_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-sqlimatchstatement - SqliMatchStatement *RuleGroup_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementone.html#cfn-wafv2-rulegroup-statementone-xssmatchstatement - XssMatchStatement *RuleGroup_XssMatchStatement `json:"XssMatchStatement,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 *RuleGroup_StatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.StatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementthree.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementthree.go deleted file mode 100644 index 2976dbd8b1..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementthree.go +++ /dev/null @@ -1,65 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatementThree AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.StatementThree) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html -type RuleGroup_StatementThree struct { - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-bytematchstatement - ByteMatchStatement *RuleGroup_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-geomatchstatement - GeoMatchStatement *RuleGroup_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-ipsetreferencestatement - IPSetReferenceStatement *RuleGroup_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *RuleGroup_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-sizeconstraintstatement - SizeConstraintStatement *RuleGroup_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-sqlimatchstatement - SqliMatchStatement *RuleGroup_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementthree.html#cfn-wafv2-rulegroup-statementthree-xssmatchstatement - XssMatchStatement *RuleGroup_XssMatchStatement `json:"XssMatchStatement,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 *RuleGroup_StatementThree) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.StatementThree" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementtwo.go deleted file mode 100644 index 56c8ef4538..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_statementtwo.go +++ /dev/null @@ -1,85 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_StatementTwo AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.StatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html -type RuleGroup_StatementTwo struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-andstatement - AndStatement *RuleGroup_AndStatementTwo `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-bytematchstatement - ByteMatchStatement *RuleGroup_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-geomatchstatement - GeoMatchStatement *RuleGroup_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-ipsetreferencestatement - IPSetReferenceStatement *RuleGroup_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-notstatement - NotStatement *RuleGroup_NotStatementTwo `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-orstatement - OrStatement *RuleGroup_OrStatementTwo `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-ratebasedstatement - RateBasedStatement *RuleGroup_RateBasedStatementTwo `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *RuleGroup_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-sizeconstraintstatement - SizeConstraintStatement *RuleGroup_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-sqlimatchstatement - SqliMatchStatement *RuleGroup_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statementtwo.html#cfn-wafv2-rulegroup-statementtwo-xssmatchstatement - XssMatchStatement *RuleGroup_XssMatchStatement `json:"XssMatchStatement,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 *RuleGroup_StatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.StatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_texttransformation.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_texttransformation.go deleted file mode 100644 index 3e3ead9a75..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_texttransformation.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_TextTransformation AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.TextTransformation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-texttransformation.html -type RuleGroup_TextTransformation struct { - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-texttransformation.html#cfn-wafv2-rulegroup-texttransformation-priority - Priority *types.Value `json:"Priority"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-texttransformation.html#cfn-wafv2-rulegroup-texttransformation-type - Type *types.Value `json:"Type,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 *RuleGroup_TextTransformation) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.TextTransformation" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_visibilityconfig.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_visibilityconfig.go deleted file mode 100644 index 0829a4167f..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_visibilityconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_VisibilityConfig AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.VisibilityConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-visibilityconfig.html -type RuleGroup_VisibilityConfig struct { - - // CloudWatchMetricsEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-visibilityconfig.html#cfn-wafv2-rulegroup-visibilityconfig-cloudwatchmetricsenabled - CloudWatchMetricsEnabled *types.Value `json:"CloudWatchMetricsEnabled"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-visibilityconfig.html#cfn-wafv2-rulegroup-visibilityconfig-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // SampledRequestsEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-visibilityconfig.html#cfn-wafv2-rulegroup-visibilityconfig-sampledrequestsenabled - SampledRequestsEnabled *types.Value `json:"SampledRequestsEnabled"` - - // 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 *RuleGroup_VisibilityConfig) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.VisibilityConfig" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_xssmatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_xssmatchstatement.go deleted file mode 100644 index 58d64a3bff..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-rulegroup_xssmatchstatement.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// RuleGroup_XssMatchStatement AWS CloudFormation Resource (AWS::WAFv2::RuleGroup.XssMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-xssmatchstatement.html -type RuleGroup_XssMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-xssmatchstatement.html#cfn-wafv2-rulegroup-xssmatchstatement-fieldtomatch - FieldToMatch *RuleGroup_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-xssmatchstatement.html#cfn-wafv2-rulegroup-xssmatchstatement-texttransformations - TextTransformations []RuleGroup_TextTransformation `json:"TextTransformations,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 *RuleGroup_XssMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::RuleGroup.XssMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl.go deleted file mode 100644 index e388a9d665..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl.go +++ /dev/null @@ -1,144 +0,0 @@ -package wafv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL AWS CloudFormation Resource (AWS::WAFv2::WebACL) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html -type WebACL struct { - - // CustomResponseBodies AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-customresponsebodies - CustomResponseBodies map[string]WebACL_CustomResponseBody `json:"CustomResponseBodies,omitempty"` - - // DefaultAction AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-defaultaction - DefaultAction *WebACL_DefaultAction `json:"DefaultAction,omitempty"` - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-name - Name *types.Value `json:"Name,omitempty"` - - // Rules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-rules - Rules []WebACL_Rule `json:"Rules,omitempty"` - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-scope - Scope *types.Value `json:"Scope,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // VisibilityConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-visibilityconfig - VisibilityConfig *WebACL_VisibilityConfig `json:"VisibilityConfig,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 *WebACL) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL" -} - -// 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 (r WebACL) MarshalJSON() ([]byte, error) { - type Properties WebACL - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WebACL) UnmarshalJSON(b []byte) error { - type Properties WebACL - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WebACL(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_allowaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_allowaction.go deleted file mode 100644 index 9e121d2879..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_allowaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_AllowAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.AllowAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-allowaction.html -type WebACL_AllowAction struct { - - // CustomRequestHandling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-allowaction.html#cfn-wafv2-webacl-allowaction-customrequesthandling - CustomRequestHandling *WebACL_CustomRequestHandling `json:"CustomRequestHandling,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 *WebACL_AllowAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.AllowAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatement.go deleted file mode 100644 index dfa21f80fb..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatement.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_AndStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.AndStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatement.html -type WebACL_AndStatement struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatement.html#cfn-wafv2-webacl-andstatement-statements - Statements []WebACL_Statement `json:"Statements,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 *WebACL_AndStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.AndStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementone.go deleted file mode 100644 index 254bb67272..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_AndStatementOne AWS CloudFormation Resource (AWS::WAFv2::WebACL.AndStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatementone.html -type WebACL_AndStatementOne struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatementone.html#cfn-wafv2-webacl-andstatementone-statements - Statements []WebACL_StatementTwo `json:"Statements,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 *WebACL_AndStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.AndStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementtwo.go deleted file mode 100644 index 03e0d7b80d..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_andstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_AndStatementTwo AWS CloudFormation Resource (AWS::WAFv2::WebACL.AndStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatementtwo.html -type WebACL_AndStatementTwo struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-andstatementtwo.html#cfn-wafv2-webacl-andstatementtwo-statements - Statements []WebACL_StatementThree `json:"Statements,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 *WebACL_AndStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.AndStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_blockaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_blockaction.go deleted file mode 100644 index f4251a3413..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_blockaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_BlockAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.BlockAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-blockaction.html -type WebACL_BlockAction struct { - - // CustomResponse AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-blockaction.html#cfn-wafv2-webacl-blockaction-customresponse - CustomResponse *WebACL_CustomResponse `json:"CustomResponse,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 *WebACL_BlockAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.BlockAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_bytematchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_bytematchstatement.go deleted file mode 100644 index e85a6229d9..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_bytematchstatement.go +++ /dev/null @@ -1,57 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_ByteMatchStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.ByteMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html -type WebACL_ByteMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html#cfn-wafv2-webacl-bytematchstatement-fieldtomatch - FieldToMatch *WebACL_FieldToMatch `json:"FieldToMatch,omitempty"` - - // PositionalConstraint AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html#cfn-wafv2-webacl-bytematchstatement-positionalconstraint - PositionalConstraint *types.Value `json:"PositionalConstraint,omitempty"` - - // SearchString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html#cfn-wafv2-webacl-bytematchstatement-searchstring - SearchString *types.Value `json:"SearchString,omitempty"` - - // SearchStringBase64 AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html#cfn-wafv2-webacl-bytematchstatement-searchstringbase64 - SearchStringBase64 *types.Value `json:"SearchStringBase64,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-bytematchstatement.html#cfn-wafv2-webacl-bytematchstatement-texttransformations - TextTransformations []WebACL_TextTransformation `json:"TextTransformations,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 *WebACL_ByteMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.ByteMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_countaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_countaction.go deleted file mode 100644 index 059b262551..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_countaction.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_CountAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.CountAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-countaction.html -type WebACL_CountAction struct { - - // CustomRequestHandling AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-countaction.html#cfn-wafv2-webacl-countaction-customrequesthandling - CustomRequestHandling *WebACL_CustomRequestHandling `json:"CustomRequestHandling,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 *WebACL_CountAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.CountAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customhttpheader.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customhttpheader.go deleted file mode 100644 index 7868ff224d..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customhttpheader.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_CustomHTTPHeader AWS CloudFormation Resource (AWS::WAFv2::WebACL.CustomHTTPHeader) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customhttpheader.html -type WebACL_CustomHTTPHeader struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customhttpheader.html#cfn-wafv2-webacl-customhttpheader-name - Name *types.Value `json:"Name,omitempty"` - - // Value AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customhttpheader.html#cfn-wafv2-webacl-customhttpheader-value - Value *types.Value `json:"Value,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 *WebACL_CustomHTTPHeader) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.CustomHTTPHeader" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customrequesthandling.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customrequesthandling.go deleted file mode 100644 index 92a16a7ed9..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customrequesthandling.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_CustomRequestHandling AWS CloudFormation Resource (AWS::WAFv2::WebACL.CustomRequestHandling) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customrequesthandling.html -type WebACL_CustomRequestHandling struct { - - // InsertHeaders AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customrequesthandling.html#cfn-wafv2-webacl-customrequesthandling-insertheaders - InsertHeaders []WebACL_CustomHTTPHeader `json:"InsertHeaders,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 *WebACL_CustomRequestHandling) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.CustomRequestHandling" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponse.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponse.go deleted file mode 100644 index b34390e0d6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponse.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_CustomResponse AWS CloudFormation Resource (AWS::WAFv2::WebACL.CustomResponse) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponse.html -type WebACL_CustomResponse struct { - - // CustomResponseBodyKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponse.html#cfn-wafv2-webacl-customresponse-customresponsebodykey - CustomResponseBodyKey *types.Value `json:"CustomResponseBodyKey,omitempty"` - - // ResponseCode AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponse.html#cfn-wafv2-webacl-customresponse-responsecode - ResponseCode *types.Value `json:"ResponseCode"` - - // ResponseHeaders AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponse.html#cfn-wafv2-webacl-customresponse-responseheaders - ResponseHeaders []WebACL_CustomHTTPHeader `json:"ResponseHeaders,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 *WebACL_CustomResponse) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.CustomResponse" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponsebody.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponsebody.go deleted file mode 100644 index d52afd6fc7..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_customresponsebody.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_CustomResponseBody AWS CloudFormation Resource (AWS::WAFv2::WebACL.CustomResponseBody) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponsebody.html -type WebACL_CustomResponseBody struct { - - // Content AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponsebody.html#cfn-wafv2-webacl-customresponsebody-content - Content *types.Value `json:"Content,omitempty"` - - // ContentType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-customresponsebody.html#cfn-wafv2-webacl-customresponsebody-contenttype - ContentType *types.Value `json:"ContentType,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 *WebACL_CustomResponseBody) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.CustomResponseBody" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_defaultaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_defaultaction.go deleted file mode 100644 index ed7903fc0e..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_defaultaction.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_DefaultAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.DefaultAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-defaultaction.html -type WebACL_DefaultAction struct { - - // Allow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-defaultaction.html#cfn-wafv2-webacl-defaultaction-allow - Allow *WebACL_AllowAction `json:"Allow,omitempty"` - - // Block AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-defaultaction.html#cfn-wafv2-webacl-defaultaction-block - Block *WebACL_BlockAction `json:"Block,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 *WebACL_DefaultAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.DefaultAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_excludedrule.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_excludedrule.go deleted file mode 100644 index a607745d06..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_excludedrule.go +++ /dev/null @@ -1,37 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_ExcludedRule AWS CloudFormation Resource (AWS::WAFv2::WebACL.ExcludedRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrule.html -type WebACL_ExcludedRule struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-excludedrule.html#cfn-wafv2-webacl-excludedrule-name - Name *types.Value `json:"Name,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 *WebACL_ExcludedRule) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.ExcludedRule" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_fieldtomatch.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_fieldtomatch.go deleted file mode 100644 index f5ca22ecc5..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_fieldtomatch.go +++ /dev/null @@ -1,70 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_FieldToMatch AWS CloudFormation Resource (AWS::WAFv2::WebACL.FieldToMatch) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html -type WebACL_FieldToMatch struct { - - // AllQueryArguments AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-allqueryarguments - AllQueryArguments interface{} `json:"AllQueryArguments,omitempty"` - - // Body AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-body - Body interface{} `json:"Body,omitempty"` - - // JsonBody AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-jsonbody - JsonBody *WebACL_JsonBody `json:"JsonBody,omitempty"` - - // Method AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-method - Method interface{} `json:"Method,omitempty"` - - // QueryString AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-querystring - QueryString interface{} `json:"QueryString,omitempty"` - - // SingleHeader AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-singleheader - SingleHeader interface{} `json:"SingleHeader,omitempty"` - - // SingleQueryArgument AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-singlequeryargument - SingleQueryArgument interface{} `json:"SingleQueryArgument,omitempty"` - - // UriPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtomatch.html#cfn-wafv2-webacl-fieldtomatch-uripath - UriPath interface{} `json:"UriPath,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 *WebACL_FieldToMatch) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.FieldToMatch" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_forwardedipconfiguration.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_forwardedipconfiguration.go deleted file mode 100644 index e7ea21b6c4..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_forwardedipconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_ForwardedIPConfiguration AWS CloudFormation Resource (AWS::WAFv2::WebACL.ForwardedIPConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-forwardedipconfiguration.html -type WebACL_ForwardedIPConfiguration struct { - - // FallbackBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-forwardedipconfiguration.html#cfn-wafv2-webacl-forwardedipconfiguration-fallbackbehavior - FallbackBehavior *types.Value `json:"FallbackBehavior,omitempty"` - - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-forwardedipconfiguration.html#cfn-wafv2-webacl-forwardedipconfiguration-headername - HeaderName *types.Value `json:"HeaderName,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 *WebACL_ForwardedIPConfiguration) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.ForwardedIPConfiguration" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_geomatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_geomatchstatement.go deleted file mode 100644 index 1e7a24cb72..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_geomatchstatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_GeoMatchStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.GeoMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-geomatchstatement.html -type WebACL_GeoMatchStatement struct { - - // CountryCodes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-geomatchstatement.html#cfn-wafv2-webacl-geomatchstatement-countrycodes - CountryCodes *types.Value `json:"CountryCodes,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-geomatchstatement.html#cfn-wafv2-webacl-geomatchstatement-forwardedipconfig - ForwardedIPConfig *WebACL_ForwardedIPConfiguration `json:"ForwardedIPConfig,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 *WebACL_GeoMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.GeoMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetforwardedipconfiguration.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetforwardedipconfiguration.go deleted file mode 100644 index 9d47831849..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetforwardedipconfiguration.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_IPSetForwardedIPConfiguration AWS CloudFormation Resource (AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetforwardedipconfiguration.html -type WebACL_IPSetForwardedIPConfiguration struct { - - // FallbackBehavior AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetforwardedipconfiguration.html#cfn-wafv2-webacl-ipsetforwardedipconfiguration-fallbackbehavior - FallbackBehavior *types.Value `json:"FallbackBehavior,omitempty"` - - // HeaderName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetforwardedipconfiguration.html#cfn-wafv2-webacl-ipsetforwardedipconfiguration-headername - HeaderName *types.Value `json:"HeaderName,omitempty"` - - // Position AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetforwardedipconfiguration.html#cfn-wafv2-webacl-ipsetforwardedipconfiguration-position - Position *types.Value `json:"Position,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 *WebACL_IPSetForwardedIPConfiguration) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetreferencestatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetreferencestatement.go deleted file mode 100644 index 6b27c0a6ec..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ipsetreferencestatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_IPSetReferenceStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.IPSetReferenceStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetreferencestatement.html -type WebACL_IPSetReferenceStatement struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetreferencestatement.html#cfn-wafv2-webacl-ipsetreferencestatement-arn - Arn *types.Value `json:"Arn,omitempty"` - - // IPSetForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ipsetreferencestatement.html#cfn-wafv2-webacl-ipsetreferencestatement-ipsetforwardedipconfig - IPSetForwardedIPConfig *WebACL_IPSetForwardedIPConfiguration `json:"IPSetForwardedIPConfig,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 *WebACL_IPSetReferenceStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.IPSetReferenceStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonbody.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonbody.go deleted file mode 100644 index bbe2d918e6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonbody.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_JsonBody AWS CloudFormation Resource (AWS::WAFv2::WebACL.JsonBody) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonbody.html -type WebACL_JsonBody struct { - - // InvalidFallbackBehavior AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonbody.html#cfn-wafv2-webacl-jsonbody-invalidfallbackbehavior - InvalidFallbackBehavior *types.Value `json:"InvalidFallbackBehavior,omitempty"` - - // MatchPattern AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonbody.html#cfn-wafv2-webacl-jsonbody-matchpattern - MatchPattern *WebACL_JsonMatchPattern `json:"MatchPattern,omitempty"` - - // MatchScope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonbody.html#cfn-wafv2-webacl-jsonbody-matchscope - MatchScope *types.Value `json:"MatchScope,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 *WebACL_JsonBody) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.JsonBody" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonmatchpattern.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonmatchpattern.go deleted file mode 100644 index 7ed2a6c074..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_jsonmatchpattern.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_JsonMatchPattern AWS CloudFormation Resource (AWS::WAFv2::WebACL.JsonMatchPattern) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonmatchpattern.html -type WebACL_JsonMatchPattern struct { - - // All AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonmatchpattern.html#cfn-wafv2-webacl-jsonmatchpattern-all - All interface{} `json:"All,omitempty"` - - // IncludedPaths AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-jsonmatchpattern.html#cfn-wafv2-webacl-jsonmatchpattern-includedpaths - IncludedPaths *types.Value `json:"IncludedPaths,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 *WebACL_JsonMatchPattern) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.JsonMatchPattern" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_label.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_label.go deleted file mode 100644 index 478435b203..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_label.go +++ /dev/null @@ -1,37 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_Label AWS CloudFormation Resource (AWS::WAFv2::WebACL.Label) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-label.html -type WebACL_Label struct { - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-label.html#cfn-wafv2-webacl-label-name - Name *types.Value `json:"Name,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 *WebACL_Label) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.Label" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_labelmatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_labelmatchstatement.go deleted file mode 100644 index 1cebb50b14..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_labelmatchstatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_LabelMatchStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.LabelMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-labelmatchstatement.html -type WebACL_LabelMatchStatement struct { - - // Key AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-labelmatchstatement.html#cfn-wafv2-webacl-labelmatchstatement-key - Key *types.Value `json:"Key,omitempty"` - - // Scope AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-labelmatchstatement.html#cfn-wafv2-webacl-labelmatchstatement-scope - Scope *types.Value `json:"Scope,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 *WebACL_LabelMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.LabelMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_managedrulegroupstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_managedrulegroupstatement.go deleted file mode 100644 index f3b8b6db46..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_managedrulegroupstatement.go +++ /dev/null @@ -1,57 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_ManagedRuleGroupStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.ManagedRuleGroupStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html -type WebACL_ManagedRuleGroupStatement struct { - - // ExcludedRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-excludedrules - ExcludedRules []WebACL_ExcludedRule `json:"ExcludedRules,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-name - Name *types.Value `json:"Name,omitempty"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-scopedownstatement - ScopeDownStatement *WebACL_Statement `json:"ScopeDownStatement,omitempty"` - - // VendorName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-vendorname - VendorName *types.Value `json:"VendorName,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-managedrulegroupstatement.html#cfn-wafv2-webacl-managedrulegroupstatement-version - Version *types.Value `json:"Version,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 *WebACL_ManagedRuleGroupStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.ManagedRuleGroupStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementone.go deleted file mode 100644 index 4b0eef12e4..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_NotStatementOne AWS CloudFormation Resource (AWS::WAFv2::WebACL.NotStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatementone.html -type WebACL_NotStatementOne struct { - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatementone.html#cfn-wafv2-webacl-notstatementone-statement - Statement *WebACL_StatementTwo `json:"Statement,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 *WebACL_NotStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.NotStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementtwo.go deleted file mode 100644 index 13b904a686..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_notstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_NotStatementTwo AWS CloudFormation Resource (AWS::WAFv2::WebACL.NotStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatementtwo.html -type WebACL_NotStatementTwo struct { - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-notstatementtwo.html#cfn-wafv2-webacl-notstatementtwo-statement - Statement *WebACL_StatementThree `json:"Statement,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 *WebACL_NotStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.NotStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatement.go deleted file mode 100644 index b331948e31..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatement.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_OrStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.OrStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatement.html -type WebACL_OrStatement struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatement.html#cfn-wafv2-webacl-orstatement-statements - Statements []WebACL_Statement `json:"Statements,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 *WebACL_OrStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.OrStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementone.go deleted file mode 100644 index a15bd510ee..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementone.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_OrStatementOne AWS CloudFormation Resource (AWS::WAFv2::WebACL.OrStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatementone.html -type WebACL_OrStatementOne struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatementone.html#cfn-wafv2-webacl-orstatementone-statements - Statements []WebACL_StatementTwo `json:"Statements,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 *WebACL_OrStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.OrStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementtwo.go deleted file mode 100644 index ff9ee1370b..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_orstatementtwo.go +++ /dev/null @@ -1,35 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_OrStatementTwo AWS CloudFormation Resource (AWS::WAFv2::WebACL.OrStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatementtwo.html -type WebACL_OrStatementTwo struct { - - // Statements AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-orstatementtwo.html#cfn-wafv2-webacl-orstatementtwo-statements - Statements []WebACL_StatementThree `json:"Statements,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 *WebACL_OrStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.OrStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_overrideaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_overrideaction.go deleted file mode 100644 index 50d39fb1e5..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_overrideaction.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_OverrideAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.OverrideAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html -type WebACL_OverrideAction struct { - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html#cfn-wafv2-webacl-overrideaction-count - Count interface{} `json:"Count,omitempty"` - - // None AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-overrideaction.html#cfn-wafv2-webacl-overrideaction-none - None interface{} `json:"None,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 *WebACL_OverrideAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.OverrideAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatement.go deleted file mode 100644 index 52d78fcc6f..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatement.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RateBasedStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.RateBasedStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatement.html -type WebACL_RateBasedStatement struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatement.html#cfn-wafv2-webacl-ratebasedstatement-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatement.html#cfn-wafv2-webacl-ratebasedstatement-forwardedipconfig - ForwardedIPConfig *WebACL_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatement.html#cfn-wafv2-webacl-ratebasedstatement-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatement.html#cfn-wafv2-webacl-ratebasedstatement-scopedownstatement - ScopeDownStatement *WebACL_Statement `json:"ScopeDownStatement,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 *WebACL_RateBasedStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RateBasedStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementone.go deleted file mode 100644 index e5b24b0a68..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementone.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RateBasedStatementOne AWS CloudFormation Resource (AWS::WAFv2::WebACL.RateBasedStatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementone.html -type WebACL_RateBasedStatementOne struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementone.html#cfn-wafv2-webacl-ratebasedstatementone-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementone.html#cfn-wafv2-webacl-ratebasedstatementone-forwardedipconfig - ForwardedIPConfig *WebACL_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementone.html#cfn-wafv2-webacl-ratebasedstatementone-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementone.html#cfn-wafv2-webacl-ratebasedstatementone-scopedownstatement - ScopeDownStatement *WebACL_StatementTwo `json:"ScopeDownStatement,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 *WebACL_RateBasedStatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RateBasedStatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementtwo.go deleted file mode 100644 index 999f08be87..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ratebasedstatementtwo.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RateBasedStatementTwo AWS CloudFormation Resource (AWS::WAFv2::WebACL.RateBasedStatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementtwo.html -type WebACL_RateBasedStatementTwo struct { - - // AggregateKeyType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementtwo.html#cfn-wafv2-webacl-ratebasedstatementtwo-aggregatekeytype - AggregateKeyType *types.Value `json:"AggregateKeyType,omitempty"` - - // ForwardedIPConfig AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementtwo.html#cfn-wafv2-webacl-ratebasedstatementtwo-forwardedipconfig - ForwardedIPConfig *WebACL_ForwardedIPConfiguration `json:"ForwardedIPConfig,omitempty"` - - // Limit AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementtwo.html#cfn-wafv2-webacl-ratebasedstatementtwo-limit - Limit *types.Value `json:"Limit"` - - // ScopeDownStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ratebasedstatementtwo.html#cfn-wafv2-webacl-ratebasedstatementtwo-scopedownstatement - ScopeDownStatement *WebACL_StatementThree `json:"ScopeDownStatement,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 *WebACL_RateBasedStatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RateBasedStatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_regexpatternsetreferencestatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_regexpatternsetreferencestatement.go deleted file mode 100644 index 4606c9851c..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_regexpatternsetreferencestatement.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RegexPatternSetReferenceStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexpatternsetreferencestatement.html -type WebACL_RegexPatternSetReferenceStatement struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexpatternsetreferencestatement.html#cfn-wafv2-webacl-regexpatternsetreferencestatement-arn - Arn *types.Value `json:"Arn,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexpatternsetreferencestatement.html#cfn-wafv2-webacl-regexpatternsetreferencestatement-fieldtomatch - FieldToMatch *WebACL_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-regexpatternsetreferencestatement.html#cfn-wafv2-webacl-regexpatternsetreferencestatement-texttransformations - TextTransformations []WebACL_TextTransformation `json:"TextTransformations,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 *WebACL_RegexPatternSetReferenceStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rule.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rule.go deleted file mode 100644 index baa4035454..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rule.go +++ /dev/null @@ -1,67 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_Rule AWS CloudFormation Resource (AWS::WAFv2::WebACL.Rule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html -type WebACL_Rule struct { - - // Action AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-action - Action *WebACL_RuleAction `json:"Action,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-name - Name *types.Value `json:"Name,omitempty"` - - // OverrideAction AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-overrideaction - OverrideAction *WebACL_OverrideAction `json:"OverrideAction,omitempty"` - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-priority - Priority *types.Value `json:"Priority"` - - // RuleLabels AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-rulelabels - RuleLabels []WebACL_Label `json:"RuleLabels,omitempty"` - - // Statement AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-statement - Statement *WebACL_Statement `json:"Statement,omitempty"` - - // VisibilityConfig AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rule.html#cfn-wafv2-webacl-rule-visibilityconfig - VisibilityConfig *WebACL_VisibilityConfig `json:"VisibilityConfig,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 *WebACL_Rule) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.Rule" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ruleaction.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ruleaction.go deleted file mode 100644 index 81b0ab74a6..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_ruleaction.go +++ /dev/null @@ -1,45 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RuleAction AWS CloudFormation Resource (AWS::WAFv2::WebACL.RuleAction) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ruleaction.html -type WebACL_RuleAction struct { - - // Allow AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ruleaction.html#cfn-wafv2-webacl-ruleaction-allow - Allow *WebACL_AllowAction `json:"Allow,omitempty"` - - // Block AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ruleaction.html#cfn-wafv2-webacl-ruleaction-block - Block *WebACL_BlockAction `json:"Block,omitempty"` - - // Count AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-ruleaction.html#cfn-wafv2-webacl-ruleaction-count - Count *WebACL_CountAction `json:"Count,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 *WebACL_RuleAction) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RuleAction" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rulegroupreferencestatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rulegroupreferencestatement.go deleted file mode 100644 index 5b75a4aac4..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_rulegroupreferencestatement.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_RuleGroupReferenceStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.RuleGroupReferenceStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html -type WebACL_RuleGroupReferenceStatement struct { - - // Arn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-arn - Arn *types.Value `json:"Arn,omitempty"` - - // ExcludedRules AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-rulegroupreferencestatement.html#cfn-wafv2-webacl-rulegroupreferencestatement-excludedrules - ExcludedRules []WebACL_ExcludedRule `json:"ExcludedRules,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 *WebACL_RuleGroupReferenceStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.RuleGroupReferenceStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sizeconstraintstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sizeconstraintstatement.go deleted file mode 100644 index 3d6d72ea6d..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sizeconstraintstatement.go +++ /dev/null @@ -1,52 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_SizeConstraintStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.SizeConstraintStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sizeconstraintstatement.html -type WebACL_SizeConstraintStatement struct { - - // ComparisonOperator AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sizeconstraintstatement.html#cfn-wafv2-webacl-sizeconstraintstatement-comparisonoperator - ComparisonOperator *types.Value `json:"ComparisonOperator,omitempty"` - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sizeconstraintstatement.html#cfn-wafv2-webacl-sizeconstraintstatement-fieldtomatch - FieldToMatch *WebACL_FieldToMatch `json:"FieldToMatch,omitempty"` - - // Size AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sizeconstraintstatement.html#cfn-wafv2-webacl-sizeconstraintstatement-size - Size *types.Value `json:"Size"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sizeconstraintstatement.html#cfn-wafv2-webacl-sizeconstraintstatement-texttransformations - TextTransformations []WebACL_TextTransformation `json:"TextTransformations,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 *WebACL_SizeConstraintStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.SizeConstraintStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sqlimatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sqlimatchstatement.go deleted file mode 100644 index 99fc899e9d..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_sqlimatchstatement.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_SqliMatchStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.SqliMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sqlimatchstatement.html -type WebACL_SqliMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sqlimatchstatement.html#cfn-wafv2-webacl-sqlimatchstatement-fieldtomatch - FieldToMatch *WebACL_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-sqlimatchstatement.html#cfn-wafv2-webacl-sqlimatchstatement-texttransformations - TextTransformations []WebACL_TextTransformation `json:"TextTransformations,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 *WebACL_SqliMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.SqliMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statement.go deleted file mode 100644 index 831894378c..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statement.go +++ /dev/null @@ -1,100 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_Statement AWS CloudFormation Resource (AWS::WAFv2::WebACL.Statement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html -type WebACL_Statement struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-andstatement - AndStatement *WebACL_AndStatement `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-bytematchstatement - ByteMatchStatement *WebACL_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-geomatchstatement - GeoMatchStatement *WebACL_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-ipsetreferencestatement - IPSetReferenceStatement *WebACL_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // LabelMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-labelmatchstatement - LabelMatchStatement *WebACL_LabelMatchStatement `json:"LabelMatchStatement,omitempty"` - - // ManagedRuleGroupStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-managedrulegroupstatement - ManagedRuleGroupStatement *WebACL_ManagedRuleGroupStatement `json:"ManagedRuleGroupStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-notstatement - NotStatement *WebACL_NotStatement `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-orstatement - OrStatement *WebACL_OrStatement `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-ratebasedstatement - RateBasedStatement *WebACL_RateBasedStatement `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *WebACL_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // RuleGroupReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-rulegroupreferencestatement - RuleGroupReferenceStatement *WebACL_RuleGroupReferenceStatement `json:"RuleGroupReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-sizeconstraintstatement - SizeConstraintStatement *WebACL_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-sqlimatchstatement - SqliMatchStatement *WebACL_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statement.html#cfn-wafv2-webacl-statement-xssmatchstatement - XssMatchStatement *WebACL_XssMatchStatement `json:"XssMatchStatement,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 *WebACL_Statement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.Statement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementone.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementone.go deleted file mode 100644 index f57276e941..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementone.go +++ /dev/null @@ -1,95 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_StatementOne AWS CloudFormation Resource (AWS::WAFv2::WebACL.StatementOne) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html -type WebACL_StatementOne struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-andstatement - AndStatement *WebACL_AndStatementOne `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-bytematchstatement - ByteMatchStatement *WebACL_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-geomatchstatement - GeoMatchStatement *WebACL_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-ipsetreferencestatement - IPSetReferenceStatement *WebACL_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // ManagedRuleGroupStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-managedrulegroupstatement - ManagedRuleGroupStatement *WebACL_ManagedRuleGroupStatement `json:"ManagedRuleGroupStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-notstatement - NotStatement *WebACL_NotStatementOne `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-orstatement - OrStatement *WebACL_OrStatementOne `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-ratebasedstatement - RateBasedStatement *WebACL_RateBasedStatementOne `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *WebACL_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // RuleGroupReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-rulegroupreferencestatement - RuleGroupReferenceStatement *WebACL_RuleGroupReferenceStatement `json:"RuleGroupReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-sizeconstraintstatement - SizeConstraintStatement *WebACL_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-sqlimatchstatement - SqliMatchStatement *WebACL_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementone.html#cfn-wafv2-webacl-statementone-xssmatchstatement - XssMatchStatement *WebACL_XssMatchStatement `json:"XssMatchStatement,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 *WebACL_StatementOne) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.StatementOne" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementthree.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementthree.go deleted file mode 100644 index 15832b0dc9..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementthree.go +++ /dev/null @@ -1,75 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_StatementThree AWS CloudFormation Resource (AWS::WAFv2::WebACL.StatementThree) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html -type WebACL_StatementThree struct { - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-bytematchstatement - ByteMatchStatement *WebACL_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-geomatchstatement - GeoMatchStatement *WebACL_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-ipsetreferencestatement - IPSetReferenceStatement *WebACL_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // ManagedRuleGroupStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-managedrulegroupstatement - ManagedRuleGroupStatement *WebACL_ManagedRuleGroupStatement `json:"ManagedRuleGroupStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *WebACL_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // RuleGroupReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-rulegroupreferencestatement - RuleGroupReferenceStatement *WebACL_RuleGroupReferenceStatement `json:"RuleGroupReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-sizeconstraintstatement - SizeConstraintStatement *WebACL_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-sqlimatchstatement - SqliMatchStatement *WebACL_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementthree.html#cfn-wafv2-webacl-statementthree-xssmatchstatement - XssMatchStatement *WebACL_XssMatchStatement `json:"XssMatchStatement,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 *WebACL_StatementThree) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.StatementThree" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementtwo.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementtwo.go deleted file mode 100644 index 9cf07a2bee..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_statementtwo.go +++ /dev/null @@ -1,95 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_StatementTwo AWS CloudFormation Resource (AWS::WAFv2::WebACL.StatementTwo) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html -type WebACL_StatementTwo struct { - - // AndStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-andstatement - AndStatement *WebACL_AndStatementTwo `json:"AndStatement,omitempty"` - - // ByteMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-bytematchstatement - ByteMatchStatement *WebACL_ByteMatchStatement `json:"ByteMatchStatement,omitempty"` - - // GeoMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-geomatchstatement - GeoMatchStatement *WebACL_GeoMatchStatement `json:"GeoMatchStatement,omitempty"` - - // IPSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-ipsetreferencestatement - IPSetReferenceStatement *WebACL_IPSetReferenceStatement `json:"IPSetReferenceStatement,omitempty"` - - // ManagedRuleGroupStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-managedrulegroupstatement - ManagedRuleGroupStatement *WebACL_ManagedRuleGroupStatement `json:"ManagedRuleGroupStatement,omitempty"` - - // NotStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-notstatement - NotStatement *WebACL_NotStatementTwo `json:"NotStatement,omitempty"` - - // OrStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-orstatement - OrStatement *WebACL_OrStatementTwo `json:"OrStatement,omitempty"` - - // RateBasedStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-ratebasedstatement - RateBasedStatement *WebACL_RateBasedStatementTwo `json:"RateBasedStatement,omitempty"` - - // RegexPatternSetReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-regexpatternsetreferencestatement - RegexPatternSetReferenceStatement *WebACL_RegexPatternSetReferenceStatement `json:"RegexPatternSetReferenceStatement,omitempty"` - - // RuleGroupReferenceStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-rulegroupreferencestatement - RuleGroupReferenceStatement *WebACL_RuleGroupReferenceStatement `json:"RuleGroupReferenceStatement,omitempty"` - - // SizeConstraintStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-sizeconstraintstatement - SizeConstraintStatement *WebACL_SizeConstraintStatement `json:"SizeConstraintStatement,omitempty"` - - // SqliMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-sqlimatchstatement - SqliMatchStatement *WebACL_SqliMatchStatement `json:"SqliMatchStatement,omitempty"` - - // XssMatchStatement AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-statementtwo.html#cfn-wafv2-webacl-statementtwo-xssmatchstatement - XssMatchStatement *WebACL_XssMatchStatement `json:"XssMatchStatement,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 *WebACL_StatementTwo) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.StatementTwo" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_texttransformation.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_texttransformation.go deleted file mode 100644 index 9774947b87..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_texttransformation.go +++ /dev/null @@ -1,42 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_TextTransformation AWS CloudFormation Resource (AWS::WAFv2::WebACL.TextTransformation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-texttransformation.html -type WebACL_TextTransformation struct { - - // Priority AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-texttransformation.html#cfn-wafv2-webacl-texttransformation-priority - Priority *types.Value `json:"Priority"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-texttransformation.html#cfn-wafv2-webacl-texttransformation-type - Type *types.Value `json:"Type,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 *WebACL_TextTransformation) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.TextTransformation" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_visibilityconfig.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_visibilityconfig.go deleted file mode 100644 index 4c8a0ba6bf..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_visibilityconfig.go +++ /dev/null @@ -1,47 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_VisibilityConfig AWS CloudFormation Resource (AWS::WAFv2::WebACL.VisibilityConfig) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-visibilityconfig.html -type WebACL_VisibilityConfig struct { - - // CloudWatchMetricsEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-visibilityconfig.html#cfn-wafv2-webacl-visibilityconfig-cloudwatchmetricsenabled - CloudWatchMetricsEnabled *types.Value `json:"CloudWatchMetricsEnabled"` - - // MetricName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-visibilityconfig.html#cfn-wafv2-webacl-visibilityconfig-metricname - MetricName *types.Value `json:"MetricName,omitempty"` - - // SampledRequestsEnabled AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-visibilityconfig.html#cfn-wafv2-webacl-visibilityconfig-sampledrequestsenabled - SampledRequestsEnabled *types.Value `json:"SampledRequestsEnabled"` - - // 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 *WebACL_VisibilityConfig) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.VisibilityConfig" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_xssmatchstatement.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_xssmatchstatement.go deleted file mode 100644 index d81722f61c..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webacl_xssmatchstatement.go +++ /dev/null @@ -1,40 +0,0 @@ -package wafv2 - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACL_XssMatchStatement AWS CloudFormation Resource (AWS::WAFv2::WebACL.XssMatchStatement) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-xssmatchstatement.html -type WebACL_XssMatchStatement struct { - - // FieldToMatch AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-xssmatchstatement.html#cfn-wafv2-webacl-xssmatchstatement-fieldtomatch - FieldToMatch *WebACL_FieldToMatch `json:"FieldToMatch,omitempty"` - - // TextTransformations AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-xssmatchstatement.html#cfn-wafv2-webacl-xssmatchstatement-texttransformations - TextTransformations []WebACL_TextTransformation `json:"TextTransformations,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 *WebACL_XssMatchStatement) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACL.XssMatchStatement" -} diff --git a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webaclassociation.go b/pkg/goformation/cloudformation/wafv2/aws-wafv2-webaclassociation.go deleted file mode 100644 index 3e882e5378..0000000000 --- a/pkg/goformation/cloudformation/wafv2/aws-wafv2-webaclassociation.go +++ /dev/null @@ -1,113 +0,0 @@ -package wafv2 - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// WebACLAssociation AWS CloudFormation Resource (AWS::WAFv2::WebACLAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webaclassociation.html -type WebACLAssociation struct { - - // ResourceArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webaclassociation.html#cfn-wafv2-webaclassociation-resourcearn - ResourceArn *types.Value `json:"ResourceArn,omitempty"` - - // WebACLArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webaclassociation.html#cfn-wafv2-webaclassociation-webaclarn - WebACLArn *types.Value `json:"WebACLArn,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 *WebACLAssociation) AWSCloudFormationType() string { - return "AWS::WAFv2::WebACLAssociation" -} - -// 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 (r WebACLAssociation) MarshalJSON() ([]byte, error) { - type Properties WebACLAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *WebACLAssociation) UnmarshalJSON(b []byte) error { - type Properties WebACLAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = WebACLAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant.go deleted file mode 100644 index cbf9a0a65a..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistant.go +++ /dev/null @@ -1,129 +0,0 @@ -package wisdom - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Assistant AWS CloudFormation Resource (AWS::Wisdom::Assistant) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html -type Assistant struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html#cfn-wisdom-assistant-description - Description *types.Value `json:"Description,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html#cfn-wisdom-assistant-name - Name *types.Value `json:"Name,omitempty"` - - // ServerSideEncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html#cfn-wisdom-assistant-serversideencryptionconfiguration - ServerSideEncryptionConfiguration *Assistant_ServerSideEncryptionConfiguration `json:"ServerSideEncryptionConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html#cfn-wisdom-assistant-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // Type AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html#cfn-wisdom-assistant-type - Type *types.Value `json:"Type,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 *Assistant) AWSCloudFormationType() string { - return "AWS::Wisdom::Assistant" -} - -// 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 (r Assistant) MarshalJSON() ([]byte, error) { - type Properties Assistant - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Assistant) UnmarshalJSON(b []byte) error { - type Properties Assistant - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Assistant(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation.go deleted file mode 100644 index 593077de77..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-assistantassociation.go +++ /dev/null @@ -1,124 +0,0 @@ -package wisdom - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// AssistantAssociation AWS CloudFormation Resource (AWS::Wisdom::AssistantAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html -type AssistantAssociation struct { - - // AssistantId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html#cfn-wisdom-assistantassociation-assistantid - AssistantId *types.Value `json:"AssistantId,omitempty"` - - // Association AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html#cfn-wisdom-assistantassociation-association - Association *AssistantAssociation_AssociationData `json:"Association,omitempty"` - - // AssociationType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html#cfn-wisdom-assistantassociation-associationtype - AssociationType *types.Value `json:"AssociationType,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html#cfn-wisdom-assistantassociation-tags - Tags []cloudformation.Tag `json:"Tags,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 *AssistantAssociation) AWSCloudFormationType() string { - return "AWS::Wisdom::AssistantAssociation" -} - -// 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 (r AssistantAssociation) MarshalJSON() ([]byte, error) { - type Properties AssistantAssociation - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *AssistantAssociation) UnmarshalJSON(b []byte) error { - type Properties AssistantAssociation - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = AssistantAssociation(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase.go deleted file mode 100644 index de7383ba8f..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase.go +++ /dev/null @@ -1,139 +0,0 @@ -package wisdom - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KnowledgeBase AWS CloudFormation Resource (AWS::Wisdom::KnowledgeBase) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html -type KnowledgeBase struct { - - // Description AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-description - Description *types.Value `json:"Description,omitempty"` - - // KnowledgeBaseType AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-knowledgebasetype - KnowledgeBaseType *types.Value `json:"KnowledgeBaseType,omitempty"` - - // Name AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-name - Name *types.Value `json:"Name,omitempty"` - - // RenderingConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-renderingconfiguration - RenderingConfiguration *KnowledgeBase_RenderingConfiguration `json:"RenderingConfiguration,omitempty"` - - // ServerSideEncryptionConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-serversideencryptionconfiguration - ServerSideEncryptionConfiguration *KnowledgeBase_ServerSideEncryptionConfiguration `json:"ServerSideEncryptionConfiguration,omitempty"` - - // SourceConfiguration AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-sourceconfiguration - SourceConfiguration *KnowledgeBase_SourceConfiguration `json:"SourceConfiguration,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html#cfn-wisdom-knowledgebase-tags - Tags []cloudformation.Tag `json:"Tags,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 *KnowledgeBase) AWSCloudFormationType() string { - return "AWS::Wisdom::KnowledgeBase" -} - -// 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 (r KnowledgeBase) MarshalJSON() ([]byte, error) { - type Properties KnowledgeBase - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *KnowledgeBase) UnmarshalJSON(b []byte) error { - type Properties KnowledgeBase - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = KnowledgeBase(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_appintegrationsconfiguration.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_appintegrationsconfiguration.go deleted file mode 100644 index e53b410053..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_appintegrationsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package wisdom - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KnowledgeBase_AppIntegrationsConfiguration AWS CloudFormation Resource (AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-appintegrationsconfiguration.html -type KnowledgeBase_AppIntegrationsConfiguration struct { - - // AppIntegrationArn AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-appintegrationsconfiguration.html#cfn-wisdom-knowledgebase-appintegrationsconfiguration-appintegrationarn - AppIntegrationArn *types.Value `json:"AppIntegrationArn,omitempty"` - - // ObjectFields AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-appintegrationsconfiguration.html#cfn-wisdom-knowledgebase-appintegrationsconfiguration-objectfields - ObjectFields *types.Value `json:"ObjectFields,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 *KnowledgeBase_AppIntegrationsConfiguration) AWSCloudFormationType() string { - return "AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration" -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_renderingconfiguration.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_renderingconfiguration.go deleted file mode 100644 index 7bbecb4f56..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_renderingconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package wisdom - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KnowledgeBase_RenderingConfiguration AWS CloudFormation Resource (AWS::Wisdom::KnowledgeBase.RenderingConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-renderingconfiguration.html -type KnowledgeBase_RenderingConfiguration struct { - - // TemplateUri AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-renderingconfiguration.html#cfn-wisdom-knowledgebase-renderingconfiguration-templateuri - TemplateUri *types.Value `json:"TemplateUri,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 *KnowledgeBase_RenderingConfiguration) AWSCloudFormationType() string { - return "AWS::Wisdom::KnowledgeBase.RenderingConfiguration" -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_serversideencryptionconfiguration.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_serversideencryptionconfiguration.go deleted file mode 100644 index 7379592b35..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_serversideencryptionconfiguration.go +++ /dev/null @@ -1,37 +0,0 @@ -package wisdom - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KnowledgeBase_ServerSideEncryptionConfiguration AWS CloudFormation Resource (AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-serversideencryptionconfiguration.html -type KnowledgeBase_ServerSideEncryptionConfiguration struct { - - // KmsKeyId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-serversideencryptionconfiguration.html#cfn-wisdom-knowledgebase-serversideencryptionconfiguration-kmskeyid - KmsKeyId *types.Value `json:"KmsKeyId,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 *KnowledgeBase_ServerSideEncryptionConfiguration) AWSCloudFormationType() string { - return "AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration" -} diff --git a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_sourceconfiguration.go b/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_sourceconfiguration.go deleted file mode 100644 index e9f13a4128..0000000000 --- a/pkg/goformation/cloudformation/wisdom/aws-wisdom-knowledgebase_sourceconfiguration.go +++ /dev/null @@ -1,35 +0,0 @@ -package wisdom - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// KnowledgeBase_SourceConfiguration AWS CloudFormation Resource (AWS::Wisdom::KnowledgeBase.SourceConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-sourceconfiguration.html -type KnowledgeBase_SourceConfiguration struct { - - // AppIntegrations AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-sourceconfiguration.html#cfn-wisdom-knowledgebase-sourceconfiguration-appintegrations - AppIntegrations *KnowledgeBase_AppIntegrationsConfiguration `json:"AppIntegrations,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 *KnowledgeBase_SourceConfiguration) AWSCloudFormationType() string { - return "AWS::Wisdom::KnowledgeBase.SourceConfiguration" -} diff --git a/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias.go b/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias.go deleted file mode 100644 index b82101e3ed..0000000000 --- a/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias.go +++ /dev/null @@ -1,114 +0,0 @@ -package workspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectionAlias AWS CloudFormation Resource (AWS::WorkSpaces::ConnectionAlias) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-connectionalias.html -type ConnectionAlias struct { - - // ConnectionString AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-connectionalias.html#cfn-workspaces-connectionalias-connectionstring - ConnectionString *types.Value `json:"ConnectionString,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-connectionalias.html#cfn-workspaces-connectionalias-tags - Tags []cloudformation.Tag `json:"Tags,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 *ConnectionAlias) AWSCloudFormationType() string { - return "AWS::WorkSpaces::ConnectionAlias" -} - -// 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 (r ConnectionAlias) MarshalJSON() ([]byte, error) { - type Properties ConnectionAlias - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *ConnectionAlias) UnmarshalJSON(b []byte) error { - type Properties ConnectionAlias - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = ConnectionAlias(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias_connectionaliasassociation.go b/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias_connectionaliasassociation.go deleted file mode 100644 index 257bfd5fda..0000000000 --- a/pkg/goformation/cloudformation/workspaces/aws-workspaces-connectionalias_connectionaliasassociation.go +++ /dev/null @@ -1,52 +0,0 @@ -package workspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// ConnectionAlias_ConnectionAliasAssociation AWS CloudFormation Resource (AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-connectionalias-connectionaliasassociation.html -type ConnectionAlias_ConnectionAliasAssociation struct { - - // AssociatedAccountId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-connectionalias-connectionaliasassociation.html#cfn-workspaces-connectionalias-connectionaliasassociation-associatedaccountid - AssociatedAccountId *types.Value `json:"AssociatedAccountId,omitempty"` - - // AssociationStatus AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-connectionalias-connectionaliasassociation.html#cfn-workspaces-connectionalias-connectionaliasassociation-associationstatus - AssociationStatus *types.Value `json:"AssociationStatus,omitempty"` - - // ConnectionIdentifier AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-connectionalias-connectionaliasassociation.html#cfn-workspaces-connectionalias-connectionaliasassociation-connectionidentifier - ConnectionIdentifier *types.Value `json:"ConnectionIdentifier,omitempty"` - - // ResourceId AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-connectionalias-connectionaliasassociation.html#cfn-workspaces-connectionalias-connectionaliasassociation-resourceid - ResourceId *types.Value `json:"ResourceId,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 *ConnectionAlias_ConnectionAliasAssociation) AWSCloudFormationType() string { - return "AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation" -} diff --git a/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace.go b/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace.go deleted file mode 100644 index 8134f30e3d..0000000000 --- a/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace.go +++ /dev/null @@ -1,144 +0,0 @@ -package workspaces - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/cloudformation" - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workspace AWS CloudFormation Resource (AWS::WorkSpaces::Workspace) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html -type Workspace struct { - - // BundleId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-bundleid - BundleId *types.Value `json:"BundleId,omitempty"` - - // DirectoryId AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-directoryid - DirectoryId *types.Value `json:"DirectoryId,omitempty"` - - // RootVolumeEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-rootvolumeencryptionenabled - RootVolumeEncryptionEnabled *types.Value `json:"RootVolumeEncryptionEnabled,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-tags - Tags []cloudformation.Tag `json:"Tags,omitempty"` - - // UserName AWS CloudFormation Property - // Required: true - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-username - UserName *types.Value `json:"UserName,omitempty"` - - // UserVolumeEncryptionEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-uservolumeencryptionenabled - UserVolumeEncryptionEnabled *types.Value `json:"UserVolumeEncryptionEnabled,omitempty"` - - // VolumeEncryptionKey AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-volumeencryptionkey - VolumeEncryptionKey *types.Value `json:"VolumeEncryptionKey,omitempty"` - - // WorkspaceProperties AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspace.html#cfn-workspaces-workspace-workspaceproperties - WorkspaceProperties *Workspace_WorkspaceProperties `json:"WorkspaceProperties,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 *Workspace) AWSCloudFormationType() string { - return "AWS::WorkSpaces::Workspace" -} - -// 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 (r Workspace) MarshalJSON() ([]byte, error) { - type Properties Workspace - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *Workspace) UnmarshalJSON(b []byte) error { - type Properties Workspace - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = Workspace(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace_workspaceproperties.go b/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace_workspaceproperties.go deleted file mode 100644 index 16e9979216..0000000000 --- a/pkg/goformation/cloudformation/workspaces/aws-workspaces-workspace_workspaceproperties.go +++ /dev/null @@ -1,57 +0,0 @@ -package workspaces - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Workspace_WorkspaceProperties AWS CloudFormation Resource (AWS::WorkSpaces::Workspace.WorkspaceProperties) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html -type Workspace_WorkspaceProperties struct { - - // ComputeTypeName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html#cfn-workspaces-workspace-workspaceproperties-computetypename - ComputeTypeName *types.Value `json:"ComputeTypeName,omitempty"` - - // RootVolumeSizeGib AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html#cfn-workspaces-workspace-workspaceproperties-rootvolumesizegib - RootVolumeSizeGib *types.Value `json:"RootVolumeSizeGib,omitempty"` - - // RunningMode AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html#cfn-workspaces-workspace-workspaceproperties-runningmode - RunningMode *types.Value `json:"RunningMode,omitempty"` - - // RunningModeAutoStopTimeoutInMinutes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html#cfn-workspaces-workspace-workspaceproperties-runningmodeautostoptimeoutinminutes - RunningModeAutoStopTimeoutInMinutes *types.Value `json:"RunningModeAutoStopTimeoutInMinutes,omitempty"` - - // UserVolumeSizeGib AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspace-workspaceproperties.html#cfn-workspaces-workspace-workspaceproperties-uservolumesizegib - UserVolumeSizeGib *types.Value `json:"UserVolumeSizeGib,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 *Workspace_WorkspaceProperties) AWSCloudFormationType() string { - return "AWS::WorkSpaces::Workspace.WorkspaceProperties" -} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-group_insightsconfiguration.go b/pkg/goformation/cloudformation/xray/aws-xray-group_insightsconfiguration.go deleted file mode 100644 index e235866631..0000000000 --- a/pkg/goformation/cloudformation/xray/aws-xray-group_insightsconfiguration.go +++ /dev/null @@ -1,42 +0,0 @@ -package xray - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// Group_InsightsConfiguration AWS CloudFormation Resource (AWS::XRay::Group.InsightsConfiguration) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-group-insightsconfiguration.html -type Group_InsightsConfiguration struct { - - // InsightsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-group-insightsconfiguration.html#cfn-xray-group-insightsconfiguration-insightsenabled - InsightsEnabled *types.Value `json:"InsightsEnabled,omitempty"` - - // NotificationsEnabled AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-group-insightsconfiguration.html#cfn-xray-group-insightsconfiguration-notificationsenabled - NotificationsEnabled *types.Value `json:"NotificationsEnabled,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 *Group_InsightsConfiguration) AWSCloudFormationType() string { - return "AWS::XRay::Group.InsightsConfiguration" -} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule.go b/pkg/goformation/cloudformation/xray/aws-xray-samplingrule.go deleted file mode 100644 index 9a0a3604d8..0000000000 --- a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule.go +++ /dev/null @@ -1,128 +0,0 @@ -package xray - -import ( - "bytes" - "encoding/json" - "fmt" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SamplingRule AWS CloudFormation Resource (AWS::XRay::SamplingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html -type SamplingRule struct { - - // RuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-rulename - RuleName *types.Value `json:"RuleName,omitempty"` - - // SamplingRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingrule - SamplingRule *SamplingRule_SamplingRule `json:"SamplingRule,omitempty"` - - // SamplingRuleRecord AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingrulerecord - SamplingRuleRecord *SamplingRule_SamplingRuleRecord `json:"SamplingRuleRecord,omitempty"` - - // SamplingRuleUpdate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-samplingruleupdate - SamplingRuleUpdate *SamplingRule_SamplingRuleUpdate `json:"SamplingRuleUpdate,omitempty"` - - // Tags AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-samplingrule.html#cfn-xray-samplingrule-tags - Tags []interface{} `json:"Tags,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 *SamplingRule) AWSCloudFormationType() string { - return "AWS::XRay::SamplingRule" -} - -// 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 (r SamplingRule) MarshalJSON() ([]byte, error) { - type Properties SamplingRule - return json.Marshal(&struct { - Type string - Properties Properties - DependsOn []string `json:"DependsOn,omitempty"` - Metadata map[string]interface{} `json:"Metadata,omitempty"` - DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` - UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` - Condition string `json:"Condition,omitempty"` - }{ - Type: r.AWSCloudFormationType(), - Properties: (Properties)(r), - DependsOn: r.AWSCloudFormationDependsOn, - Metadata: r.AWSCloudFormationMetadata, - DeletionPolicy: r.AWSCloudFormationDeletionPolicy, - UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, - Condition: r.AWSCloudFormationCondition, - }) -} - -// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer -// AWS CloudFormation resource object, and just keeps the 'Properties' field. -func (r *SamplingRule) UnmarshalJSON(b []byte) error { - type Properties SamplingRule - res := &struct { - Type string - Properties *Properties - DependsOn []string - Metadata map[string]interface{} - DeletionPolicy string - UpdateReplacePolicy string - Condition string - }{} - - dec := json.NewDecoder(bytes.NewReader(b)) - dec.DisallowUnknownFields() // Force error if unknown field is found - - if err := dec.Decode(&res); err != nil { - fmt.Printf("ERROR: %s\n", err) - return err - } - - // If the resource has no Properties set, it could be nil - if res.Properties != nil { - *r = SamplingRule(*res.Properties) - } - if res.DependsOn != nil { - r.AWSCloudFormationDependsOn = res.DependsOn - } - if res.Metadata != nil { - r.AWSCloudFormationMetadata = res.Metadata - } - if res.DeletionPolicy != "" { - r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) - } - if res.UpdateReplacePolicy != "" { - r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) - } - if res.Condition != "" { - r.AWSCloudFormationCondition = res.Condition - } - return nil -} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrule.go b/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrule.go deleted file mode 100644 index 17831f76a0..0000000000 --- a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrule.go +++ /dev/null @@ -1,97 +0,0 @@ -package xray - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SamplingRule_SamplingRule AWS CloudFormation Resource (AWS::XRay::SamplingRule.SamplingRule) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html -type SamplingRule_SamplingRule struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // FixedRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-fixedrate - FixedRate *types.Value `json:"FixedRate,omitempty"` - - // HTTPMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-httpmethod - HTTPMethod *types.Value `json:"HTTPMethod,omitempty"` - - // Host AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-host - Host *types.Value `json:"Host,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-priority - Priority *types.Value `json:"Priority,omitempty"` - - // ReservoirSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-reservoirsize - ReservoirSize *types.Value `json:"ReservoirSize,omitempty"` - - // ResourceARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RuleARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-rulearn - RuleARN *types.Value `json:"RuleARN,omitempty"` - - // RuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-rulename - RuleName *types.Value `json:"RuleName,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` - - // ServiceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-servicetype - ServiceType *types.Value `json:"ServiceType,omitempty"` - - // URLPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-urlpath - URLPath *types.Value `json:"URLPath,omitempty"` - - // Version AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrule.html#cfn-xray-samplingrule-samplingrule-version - Version *types.Value `json:"Version,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 *SamplingRule_SamplingRule) AWSCloudFormationType() string { - return "AWS::XRay::SamplingRule.SamplingRule" -} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrulerecord.go b/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrulerecord.go deleted file mode 100644 index a8b78789a5..0000000000 --- a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingrulerecord.go +++ /dev/null @@ -1,47 +0,0 @@ -package xray - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SamplingRule_SamplingRuleRecord AWS CloudFormation Resource (AWS::XRay::SamplingRule.SamplingRuleRecord) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrulerecord.html -type SamplingRule_SamplingRuleRecord struct { - - // CreatedAt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrulerecord.html#cfn-xray-samplingrule-samplingrulerecord-createdat - CreatedAt *types.Value `json:"CreatedAt,omitempty"` - - // ModifiedAt AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrulerecord.html#cfn-xray-samplingrule-samplingrulerecord-modifiedat - ModifiedAt *types.Value `json:"ModifiedAt,omitempty"` - - // SamplingRule AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingrulerecord.html#cfn-xray-samplingrule-samplingrulerecord-samplingrule - SamplingRule *SamplingRule_SamplingRule `json:"SamplingRule,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 *SamplingRule_SamplingRuleRecord) AWSCloudFormationType() string { - return "AWS::XRay::SamplingRule.SamplingRuleRecord" -} diff --git a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingruleupdate.go b/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingruleupdate.go deleted file mode 100644 index ca5bd8ced6..0000000000 --- a/pkg/goformation/cloudformation/xray/aws-xray-samplingrule_samplingruleupdate.go +++ /dev/null @@ -1,92 +0,0 @@ -package xray - -import ( - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/types" - - "github.com/weaveworks/eksctl/pkg/goformation/cloudformation/policies" -) - -// SamplingRule_SamplingRuleUpdate AWS CloudFormation Resource (AWS::XRay::SamplingRule.SamplingRuleUpdate) -// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html -type SamplingRule_SamplingRuleUpdate struct { - - // Attributes AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-attributes - Attributes map[string]*types.Value `json:"Attributes,omitempty"` - - // FixedRate AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-fixedrate - FixedRate *types.Value `json:"FixedRate,omitempty"` - - // HTTPMethod AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-httpmethod - HTTPMethod *types.Value `json:"HTTPMethod,omitempty"` - - // Host AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-host - Host *types.Value `json:"Host,omitempty"` - - // Priority AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-priority - Priority *types.Value `json:"Priority,omitempty"` - - // ReservoirSize AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-reservoirsize - ReservoirSize *types.Value `json:"ReservoirSize,omitempty"` - - // ResourceARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-resourcearn - ResourceARN *types.Value `json:"ResourceARN,omitempty"` - - // RuleARN AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-rulearn - RuleARN *types.Value `json:"RuleARN,omitempty"` - - // RuleName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-rulename - RuleName *types.Value `json:"RuleName,omitempty"` - - // ServiceName AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-servicename - ServiceName *types.Value `json:"ServiceName,omitempty"` - - // ServiceType AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-servicetype - ServiceType *types.Value `json:"ServiceType,omitempty"` - - // URLPath AWS CloudFormation Property - // Required: false - // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-xray-samplingrule-samplingruleupdate.html#cfn-xray-samplingrule-samplingruleupdate-urlpath - URLPath *types.Value `json:"URLPath,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 *SamplingRule_SamplingRuleUpdate) AWSCloudFormationType() string { - return "AWS::XRay::SamplingRule.SamplingRuleUpdate" -} diff --git a/pkg/goformation/schema/cloudformation.go b/pkg/goformation/schema/cloudformation.go index 35a26e65c2..c1b24ac41f 100644 --- a/pkg/goformation/schema/cloudformation.go +++ b/pkg/goformation/schema/cloudformation.go @@ -5,9 +5,12 @@ var CloudformationSchema = `{ "$id": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { - "AWS::ACMPCA::Certificate": { + "AWS::AutoScaling::AutoScalingGroup": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -37,42 +40,154 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiPassthrough": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ApiPassthrough" + "AutoScalingGroupName": { + "type": "string" + }, + "AvailabilityZoneDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution" + }, + "AvailabilityZoneImpairmentPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CapacityRebalance": { + "type": "boolean" + }, + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification" + }, + "Context": { + "type": "string" + }, + "Cooldown": { + "type": "string" + }, + "DefaultInstanceWarmup": { + "type": "number" + }, + "DesiredCapacity": { + "type": "string" + }, + "DesiredCapacityType": { + "type": "string" }, - "CertificateAuthorityArn": { + "HealthCheckGracePeriod": { + "type": "number" + }, + "HealthCheckType": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "InstanceMaintenancePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy" + }, + "LaunchConfigurationName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" + }, + "LifecycleHookSpecificationList": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" + }, + "type": "array" + }, + "LoadBalancerNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxInstanceLifetime": { + "type": "number" + }, + "MaxSize": { "type": "string" }, - "CertificateSigningRequest": { + "MetricsCollection": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" + }, + "type": "array" + }, + "MinSize": { "type": "string" }, - "SigningAlgorithm": { + "MixedInstancesPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" + }, + "NewInstancesProtectedFromScaleIn": { + "type": "boolean" + }, + "NotificationConfigurations": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" + }, + "type": "array" + }, + "PlacementGroup": { "type": "string" }, - "TemplateArn": { + "ServiceLinkedRoleARN": { "type": "string" }, - "Validity": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "SkipZonalShiftValidation": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" + }, + "type": "array" + }, + "TargetGroupARNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TerminationPolicies": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TrafficSources": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier" + }, + "type": "array" }, - "ValidityNotBefore": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "VPCZoneIdentifier": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "CertificateAuthorityArn", - "CertificateSigningRequest", - "SigningAlgorithm", - "Validity" + "MaxSize", + "MinSize" ], "type": "object" }, "Type": { "enum": [ - "AWS::ACMPCA::Certificate" + "AWS::AutoScaling::AutoScalingGroup" ], "type": "string" }, + "UpdatePolicy": { + "type": "object" + }, "UpdateReplacePolicy": { "enum": [ "Delete", @@ -88,655 +203,523 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ACMPCA::Certificate.ApiPassthrough": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "Extensions": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Extensions" + "Max": { + "type": "number" }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.EdiPartyName": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "NameAssigner": { - "type": "string" + "Max": { + "type": "number" }, - "PartyName": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "NameAssigner", - "PartyName" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.ExtendedKeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution": { "additionalProperties": false, "properties": { - "ExtendedKeyUsageObjectIdentifier": { - "type": "string" - }, - "ExtendedKeyUsageType": { + "CapacityDistributionStrategy": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.Extensions": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy": { "additionalProperties": false, "properties": { - "CertificatePolicies": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyInformation" - }, - "type": "array" - }, - "ExtendedKeyUsage": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ExtendedKeyUsage" - }, - "type": "array" - }, - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.KeyUsage" + "ImpairedZoneHealthCheckBehavior": { + "type": "string" }, - "SubjectAlternativeNames": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.GeneralName" - }, - "type": "array" + "ZonalShiftEnabled": { + "type": "boolean" } }, + "required": [ + "ImpairedZoneHealthCheckBehavior", + "ZonalShiftEnabled" + ], "type": "object" }, - "AWS::ACMPCA::Certificate.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.EdiPartyName" - }, - "IpAddress": { - "type": "string" - }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.OtherName" - }, - "RegisteredId": { - "type": "string" - }, - "Rfc822Name": { - "type": "string" + "Max": { + "type": "number" }, - "UniformResourceIdentifier": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" - }, - "NonRepudiation": { - "type": "boolean" + "Cpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "TypeId": { + "CapacityReservationPreference": { "type": "string" }, - "Value": { - "type": "string" + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget" } }, "required": [ - "TypeId", - "Value" + "CapacityReservationPreference" ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyInformation": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "CertPolicyId": { - "type": "string" + "CapacityReservationIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "PolicyQualifiers": { + "CapacityReservationResourceGroupArns": { "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyQualifierInfo" + "type": "string" }, "type": "array" } }, - "required": [ - "CertPolicyId" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyQualifierInfo": { + "AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "PolicyQualifierId": { - "type": "string" - }, - "Qualifier": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Qualifier" + "References": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, - "required": [ - "PolicyQualifierId", - "Qualifier" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Qualifier": { + "AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy": { "additionalProperties": false, "properties": { - "CpsUri": { - "type": "string" + "MaxHealthyPercentage": { + "type": "number" + }, + "MinHealthyPercentage": { + "type": "number" } }, - "required": [ - "CpsUri" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Subject": { + "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "Country": { - "type": "string" + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "DistinguishedNameQualifier": { - "type": "string" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "GenerationQualifier": { - "type": "string" + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" }, - "GivenName": { - "type": "string" + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Initials": { - "type": "string" + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Locality": { + "BareMetal": { "type": "string" }, - "Organization": { - "type": "string" + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" }, - "OrganizationalUnit": { - "type": "string" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest" }, - "Pseudonym": { + "BurstablePerformance": { "type": "string" }, - "SerialNumber": { - "type": "string" + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "State": { - "type": "string" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Surname": { - "type": "string" + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::Certificate.Validity": { - "additionalProperties": false, - "properties": { - "Type": { + "LocalStorage": { "type": "string" }, - "Value": { + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" } }, "required": [ - "Type", - "Value" + "MemoryMiB", + "VCpuCount" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority": { + "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "OnDemandAllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "OnDemandBaseCapacity": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsrExtensions": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "KeyAlgorithm", - "SigningAlgorithm", - "Subject", - "Type" - ], - "type": "object" + "OnDemandPercentageAboveBaseCapacity": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthority" - ], + "SpotAllocationStrategy": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SpotInstancePools": { + "type": "number" + }, + "SpotMaxPrice": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessDescription": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { "additionalProperties": false, "properties": { - "AccessLocation": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.GeneralName" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "AccessMethod": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessMethod" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + }, + "type": "array" } }, "required": [ - "AccessLocation", - "AccessMethod" + "LaunchTemplateSpecification" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessMethod": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "AccessMethodType": { - "type": "string" + "InstanceRequirements": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" }, - "CustomObjectIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CustomCname": { + "InstanceType": { "type": "string" }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "number" - }, - "S3BucketName": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "S3ObjectAcl": { + "WeightedCapacity": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.CsrExtensions": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.KeyUsage" + "LaunchTemplateId": { + "type": "string" }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { + "LaunchTemplateName": { "type": "string" }, - "PartyName": { + "Version": { "type": "string" } }, "required": [ - "NameAssigner", - "PartyName" + "Version" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "DnsName": { + "DefaultResult": { "type": "string" }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.EdiPartyName" + "HeartbeatTimeout": { + "type": "number" }, - "IpAddress": { + "LifecycleHookName": { "type": "string" }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OtherName" + "LifecycleTransition": { + "type": "string" }, - "RegisteredId": { + "NotificationMetadata": { "type": "string" }, - "Rfc822Name": { + "NotificationTargetARN": { "type": "string" }, - "UniformResourceIdentifier": { + "RoleARN": { "type": "string" } }, + "required": [ + "LifecycleHookName", + "LifecycleTransition" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" + "Max": { + "type": "number" }, - "NonRepudiation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OcspConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Max": { + "type": "number" }, - "OcspCustomCname": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { "additionalProperties": false, "properties": { - "TypeId": { + "Granularity": { "type": "string" }, - "Value": { - "type": "string" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "TypeId", - "Value" + "Granularity" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { "additionalProperties": false, "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CrlConfiguration" + "InstancesDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" }, - "OcspConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OcspConfiguration" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" } }, + "required": [ + "LaunchTemplate" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.Subject": { + "AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" + "Max": { + "type": "number" }, - "GivenName": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "additionalProperties": false, + "properties": { + "NotificationTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Pseudonym": { + "TopicARN": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "TopicARN" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { "type": "string" - }, - "SerialNumber": { + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "State": { - "type": "string" + "PropagateAtLaunch": { + "type": "boolean" }, - "Surname": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "PropagateAtLaunch", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Title": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthorityActivation": { + "AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Identifier": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "CertificateAuthorityArn": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Certificate", - "CertificateAuthorityArn" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthorityActivation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Identifier", + "Type" ], "type": "object" }, - "AWS::ACMPCA::Permission": { + "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -768,108 +751,82 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Actions": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" + }, + "type": "array" + }, + "ClassicLinkVPCId": { + "type": "string" + }, + "ClassicLinkVPCSecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "CertificateAuthorityArn": { + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { "type": "string" }, - "Principal": { + "ImageId": { "type": "string" }, - "SourceAccount": { + "InstanceId": { "type": "string" - } - }, - "required": [ - "Actions", - "CertificateAuthorityArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ACMPCA::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::APS::RuleGroupsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "InstanceMonitoring": { + "type": "boolean" + }, + "InstanceType": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Data": { + "KernelId": { "type": "string" }, - "Name": { + "KeyName": { "type": "string" }, - "Tags": { + "LaunchConfigurationName": { + "type": "string" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + }, + "PlacementTenancy": { + "type": "string" + }, + "RamDiskId": { + "type": "string" + }, + "SecurityGroups": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Workspace": { + "SpotPrice": { + "type": "string" + }, + "UserData": { "type": "string" } }, "required": [ - "Data", - "Name", - "Workspace" + "ImageId", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::APS::RuleGroupsNamespace" + "AWS::AutoScaling::LaunchConfiguration" ], "type": "string" }, @@ -888,74 +845,70 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::APS::Workspace": { + "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Encrypted": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Iops": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlertManagerDefinition": { - "type": "string" - }, - "Alias": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" + "SnapshotId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::APS::Workspace" - ], + "Throughput": { + "type": "number" + }, + "VolumeSize": { + "type": "number" + }, + "VolumeType": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ebs": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" + }, + "NoDevice": { + "type": "boolean" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Type" + "DeviceName" ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer": { + "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { + "additionalProperties": false, + "properties": { + "HttpEndpoint": { + "type": "string" + }, + "HttpPutResponseHopLimit": { + "type": "number" + }, + "HttpTokens": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LifecycleHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -987,33 +940,40 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AnalyzerName": { + "AutoScalingGroupName": { "type": "string" }, - "ArchiveRules": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.ArchiveRule" - }, - "type": "array" + "DefaultResult": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HeartbeatTimeout": { + "type": "number" }, - "Type": { + "LifecycleHookName": { + "type": "string" + }, + "LifecycleTransition": { + "type": "string" + }, + "NotificationMetadata": { + "type": "string" + }, + "NotificationTargetARN": { + "type": "string" + }, + "RoleARN": { "type": "string" } }, "required": [ - "Type" + "AutoScalingGroupName", + "LifecycleTransition" ], "type": "object" }, "Type": { "enum": [ - "AWS::AccessAnalyzer::Analyzer" + "AWS::AutoScaling::LifecycleHook" ], "type": "string" }, @@ -1032,59 +992,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer.ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.Filter" - }, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "AWS::AccessAnalyzer::Analyzer.Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmazonMQ::Broker": { + "AWS::AutoScaling::ScalingPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1116,88 +1024,51 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AdjustmentType": { "type": "string" }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "BrokerName": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.ConfigurationId" - }, - "DeploymentMode": { + "Cooldown": { "type": "string" }, - "EncryptionOptions": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.EncryptionOptions" + "EstimatedInstanceWarmup": { + "type": "number" }, - "EngineType": { + "MetricAggregationType": { "type": "string" }, - "EngineVersion": { - "type": "string" + "MinAdjustmentMagnitude": { + "type": "number" }, - "HostInstanceType": { + "PolicyType": { "type": "string" }, - "LdapServerMetadata": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LdapServerMetadata" - }, - "Logs": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LogList" - }, - "MaintenanceWindowStartTime": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.MaintenanceWindow" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageType": { - "type": "string" + "PredictiveScalingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ScalingAdjustment": { + "type": "number" }, - "Tags": { + "StepAdjustments": { "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.TagsEntry" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" }, "type": "array" }, - "Users": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.User" - }, - "type": "array" + "TargetTrackingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoMinorVersionUpgrade", - "BrokerName", - "DeploymentMode", - "EngineType", - "EngineVersion", - "HostInstanceType", - "PubliclyAccessible", - "Users" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Broker" + "AWS::AutoScaling::ScalingPolicy" ], "type": "string" }, @@ -1216,162 +1087,371 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::Broker.ConfigurationId": { + "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { "additionalProperties": false, "properties": { - "Id": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery" + }, + "type": "array" + }, + "Namespace": { "type": "string" }, - "Revision": { + "Period": { "type": "number" + }, + "Statistic": { + "type": "string" + }, + "Unit": { + "type": "string" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::AmazonMQ::Broker.EncryptionOptions": { + "AWS::AutoScaling::ScalingPolicy.Metric": { "additionalProperties": false, "properties": { - "KmsKeyId": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "UseAwsOwnedKey": { - "type": "boolean" + "Namespace": { + "type": "string" } }, "required": [ - "UseAwsOwnedKey" + "MetricName", + "Namespace" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LdapServerMetadata": { + "AWS::AutoScaling::ScalingPolicy.MetricDataQuery": { "additionalProperties": false, "properties": { - "Hosts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleBase": { + "Expression": { "type": "string" }, - "RoleName": { + "Id": { "type": "string" }, - "RoleSearchMatching": { + "Label": { "type": "string" }, - "RoleSearchSubtree": { + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricStat" + }, + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricDimension": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" }, - "ServiceAccountPassword": { + "Value": { "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" }, - "ServiceAccountUsername": { + "Stat": { "type": "string" }, - "UserBase": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "UserRoleName": { + "ResourceLabel": { "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { + "additionalProperties": false, + "properties": { + "MaxCapacityBreachBehavior": { + "type": "string" + }, + "MaxCapacityBuffer": { + "type": "number" + }, + "MetricSpecifications": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + }, + "type": "array" }, - "UserSearchMatching": { + "Mode": { "type": "string" }, - "UserSearchSubtree": { - "type": "boolean" + "SchedulingBufferTime": { + "type": "number" } }, "required": [ - "Hosts", - "RoleBase", - "RoleSearchMatching", - "ServiceAccountPassword", - "ServiceAccountUsername", - "UserBase", - "UserSearchMatching" + "MetricSpecifications" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LogList": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric": { "additionalProperties": false, "properties": { - "Audit": { - "type": "boolean" + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { + "additionalProperties": false, + "properties": { + "CustomizedCapacityMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric" }, - "General": { - "type": "boolean" + "CustomizedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric" + }, + "CustomizedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric" + }, + "PredefinedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" + }, + "PredefinedMetricPairSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" + }, + "PredefinedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" + }, + "TargetValue": { + "type": "number" } }, + "required": [ + "TargetValue" + ], "type": "object" }, - "AWS::AmazonMQ::Broker.MaintenanceWindow": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { "additionalProperties": false, "properties": { - "DayOfWeek": { + "PredefinedMetricType": { "type": "string" }, - "TimeOfDay": { + "ResourceLabel": { + "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "TimeZone": { + "ResourceLabel": { "type": "string" } }, "required": [ - "DayOfWeek", - "TimeOfDay", - "TimeZone" + "PredefinedMetricType" ], "type": "object" }, - "AWS::AmazonMQ::Broker.TagsEntry": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { "additionalProperties": false, "properties": { - "Key": { + "PredefinedMetricType": { "type": "string" }, - "Value": { + "ResourceLabel": { "type": "string" } }, "required": [ - "Key", - "Value" + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { + "additionalProperties": false, + "properties": { + "MetricIntervalLowerBound": { + "type": "number" + }, + "MetricIntervalUpperBound": { + "type": "number" + }, + "ScalingAdjustment": { + "type": "number" + } + }, + "required": [ + "ScalingAdjustment" ], "type": "object" }, - "AWS::AmazonMQ::Broker.User": { + "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { "additionalProperties": false, "properties": { - "ConsoleAccess": { + "CustomizedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" + }, + "DisableScaleIn": { "type": "boolean" }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" + "PredefinedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" }, - "Password": { + "TargetValue": { + "type": "number" + } + }, + "required": [ + "TargetValue" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery": { + "additionalProperties": false, + "properties": { + "Expression": { "type": "string" }, - "Username": { + "Id": { + "type": "string" + }, + "Label": { "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" } }, "required": [ - "Password", - "Username" + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" ], "type": "object" }, - "AWS::AmazonMQ::Configuration": { + "AWS::AutoScaling::ScheduledAction": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1403,42 +1483,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AutoScalingGroupName": { "type": "string" }, - "Data": { - "type": "string" + "DesiredCapacity": { + "type": "number" }, - "Description": { + "EndTime": { "type": "string" }, - "EngineType": { - "type": "string" + "MaxSize": { + "type": "number" }, - "EngineVersion": { + "MinSize": { + "type": "number" + }, + "Recurrence": { "type": "string" }, - "Name": { + "StartTime": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration.TagsEntry" - }, - "type": "array" + "TimeZone": { + "type": "string" } }, "required": [ - "Data", - "EngineType", - "EngineVersion", - "Name" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Configuration" + "AWS::AutoScaling::ScheduledAction" ], "type": "string" }, @@ -1457,23 +1534,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::Configuration.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AmazonMQ::ConfigurationAssociation": { + "AWS::AutoScaling::WarmPool": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1505,22 +1566,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Broker": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId" + "InstanceReusePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::WarmPool.InstanceReusePolicy" + }, + "MaxGroupPreparedCapacity": { + "type": "number" + }, + "MinSize": { + "type": "number" + }, + "PoolState": { + "type": "string" } }, "required": [ - "Broker", - "Configuration" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::ConfigurationAssociation" + "AWS::AutoScaling::WarmPool" ], "type": "string" }, @@ -1539,23 +1608,16 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId": { + "AWS::AutoScaling::WarmPool.InstanceReusePolicy": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Revision": { - "type": "number" + "ReuseOnScaleIn": { + "type": "boolean" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::Amplify::App": { + "AWS::CloudFormation::CustomResource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1587,66 +1649,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "AutoBranchCreationConfig": { - "$ref": "#/definitions/AWS::Amplify::App.AutoBranchCreationConfig" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "CustomHeaders": { - "type": "string" - }, - "CustomRules": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.CustomRule" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "EnableBranchAutoDeletion": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "IAMServiceRole": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OauthToken": { - "type": "string" + "ServiceTimeout": { + "type": "number" }, - "Repository": { + "ServiceToken": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Name" + "ServiceToken" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::App" + "AWS::CloudFormation::CustomResource" ], "type": "string" }, @@ -1665,102 +1682,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Amplify::App.AutoBranchCreationConfig": { - "additionalProperties": false, - "properties": { - "AutoBranchCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "EnableAutoBranchCreation": { - "type": "boolean" - }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" - }, - "EnablePullRequestPreview": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "PullRequestEnvironmentName": { - "type": "string" - }, - "Stage": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.BasicAuthConfig": { - "additionalProperties": false, - "properties": { - "EnableBasicAuth": { - "type": "boolean" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.CustomRule": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Source", - "Target" - ], - "type": "object" - }, - "AWS::Amplify::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Amplify::Branch": { + "AWS::CloudFormation::GuardHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1792,58 +1714,53 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AppId": { + "Alias": { "type": "string" }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::Branch.BasicAuthConfig" - }, - "BranchName": { + "ExecutionRole": { "type": "string" }, - "BuildSpec": { + "FailureMode": { "type": "string" }, - "Description": { + "HookStatus": { "type": "string" }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" + "LogBucket": { + "type": "string" }, - "EnablePullRequestPreview": { - "type": "boolean" + "Options": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.Options" }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Branch.EnvironmentVariable" - }, - "type": "array" + "RuleLocation": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" }, - "PullRequestEnvironmentName": { - "type": "string" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackFilters" }, - "Stage": { - "type": "string" + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.TargetFilters" }, - "Tags": { + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "AppId", - "BranchName" + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "RuleLocation", + "TargetOperations" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::Branch" + "AWS::CloudFormation::GuardHook" ], "type": "string" }, @@ -1862,143 +1779,135 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Amplify::Branch.BasicAuthConfig": { + "AWS::CloudFormation::GuardHook.HookTarget": { "additionalProperties": false, "properties": { - "EnableBasicAuth": { - "type": "boolean" + "Action": { + "type": "string" }, - "Password": { + "InvocationPoint": { "type": "string" }, - "Username": { + "TargetName": { "type": "string" } }, "required": [ - "Password", - "Username" + "Action", + "InvocationPoint", + "TargetName" ], "type": "object" }, - "AWS::Amplify::Branch.EnvironmentVariable": { + "AWS::CloudFormation::GuardHook.Options": { "additionalProperties": false, "properties": { - "Name": { + "InputParams": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.S3Location": { + "additionalProperties": false, + "properties": { + "Uri": { "type": "string" }, - "Value": { + "VersionId": { "type": "string" } }, "required": [ - "Name", - "Value" + "Uri" ], "type": "object" }, - "AWS::Amplify::Domain": { + "AWS::CloudFormation::GuardHook.StackFilters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FilteringCriteria": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackNames" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppId": { - "type": "string" - }, - "AutoSubDomainCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoSubDomainIAMRole": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "EnableAutoSubDomain": { - "type": "boolean" - }, - "SubDomainSettings": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Domain.SubDomainSetting" - }, - "type": "array" - } + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" }, - "required": [ - "AppId", - "DomainName", - "SubDomainSettings" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Amplify::Domain" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Amplify::Domain.SubDomainSetting": { + "AWS::CloudFormation::GuardHook.TargetFilters": { "additionalProperties": false, "properties": { - "BranchName": { - "type": "string" + "Actions": { + "items": { + "type": "string" + }, + "type": "array" }, - "Prefix": { - "type": "string" + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.HookTarget" + }, + "type": "array" } }, - "required": [ - "BranchName", - "Prefix" - ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component": { + "AWS::CloudFormation::HookDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2030,78 +1939,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BindingProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue" - } - }, - "type": "object" - }, - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "CollectionProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration" - } - }, - "type": "object" - }, - "ComponentType": { + "TypeName": { "type": "string" }, - "Name": { + "TypeVersionArn": { "type": "string" }, - "Overrides": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverridesValue" - } - }, - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "SourceId": { + "VersionId": { "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Variants": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariant" - }, - "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Component" + "AWS::CloudFormation::HookDefaultVersion" ], "type": "string" }, @@ -2119,272 +1971,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties" - }, - "DefaultValue": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Field": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "UserAttribute": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentChild": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "ComponentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperties" - } - }, - "required": [ - "ComponentType", - "Name", - "Properties" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentConditionProperty": { - "additionalProperties": false, - "properties": { - "Else": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Property": { - "type": "string" - }, - "Then": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration": { - "additionalProperties": false, - "properties": { - "Identifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Model": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "Sort": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.SortProperty" - }, - "type": "array" - } - }, - "required": [ - "Model" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverrides": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverridesValue": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperties": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperty": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Bindings": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.FormBindings" - }, - "CollectionBindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Concat": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "type": "array" - }, - "Condition": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentConditionProperty" - }, - "Configured": { - "type": "boolean" - }, - "DefaultValue": { - "type": "string" - }, - "Event": { - "type": "string" - }, - "ImportedValue": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "UserAttribute": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariant": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverrides" - }, - "VariantValues": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariantValues" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariantValues": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.FormBindings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.Predicate": { - "additionalProperties": false, - "properties": { - "And": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Or": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.SortProperty": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "Field": { - "type": "string" - } - }, - "required": [ - "Direction", - "Field" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme": { + "AWS::CloudFormation::HookTypeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2416,40 +2003,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { + "Configuration": { "type": "string" }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "ConfigurationAlias": { + "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TypeArn": { + "type": "string" }, - "Values": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "TypeName": { + "type": "string" } }, "required": [ - "Name", - "Values" + "Configuration" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Theme" + "AWS::CloudFormation::HookTypeConfig" ], "type": "string" }, @@ -2468,34 +2042,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Theme.ThemeValue": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme.ThemeValues": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValue" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Account": { + "AWS::CloudFormation::HookVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2527,15 +2074,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchRoleArn": { + "ExecutionRoleArn": { + "type": "string" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::HookVersion.LoggingConfig" + }, + "SchemaHandlerPackage": { + "type": "string" + }, + "TypeName": { "type": "string" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Account" + "AWS::CloudFormation::HookVersion" ], "type": "string" }, @@ -2549,11 +2109,24 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey": { + "AWS::CloudFormation::HookVersion.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2585,42 +2158,47 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CustomerId": { + "Alias": { "type": "string" }, - "Description": { + "ExecutionRole": { "type": "string" }, - "Enabled": { - "type": "boolean" + "FailureMode": { + "type": "string" }, - "GenerateDistinctId": { - "type": "boolean" + "HookStatus": { + "type": "string" }, - "Name": { + "LambdaFunction": { "type": "string" }, - "StageKeys": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey.StageKey" - }, - "type": "array" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackFilters" }, - "Tags": { + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.TargetFilters" + }, + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "Value": { - "type": "string" } }, + "required": [ + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "LambdaFunction", + "TargetOperations" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ApiKey" + "AWS::CloudFormation::LambdaHook" ], "type": "string" }, @@ -2634,23 +2212,116 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey.StageKey": { + "AWS::CloudFormation::LambdaHook.HookTarget": { "additionalProperties": false, "properties": { - "RestApiId": { + "Action": { + "type": "string" + }, + "InvocationPoint": { "type": "string" }, - "StageName": { + "TargetName": { + "type": "string" + } + }, + "required": [ + "Action", + "InvocationPoint", + "TargetName" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackFilters": { + "additionalProperties": false, + "properties": { + "FilteringCriteria": { "type": "string" + }, + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackNames" + }, + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.TargetFilters": { + "additionalProperties": false, + "properties": { + "Actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.HookTarget" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Authorizer": { + "AWS::CloudFormation::Macro": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2682,50 +2353,31 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" - }, - "AuthorizerCredentials": { + "Description": { "type": "string" }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerUri": { + "FunctionName": { "type": "string" }, - "IdentitySource": { + "LogGroupName": { "type": "string" }, - "IdentityValidationExpression": { + "LogRoleARN": { "type": "string" }, "Name": { "type": "string" - }, - "ProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RestApiId": { - "type": "string" - }, - "Type": { - "type": "string" } }, "required": [ - "Name", - "RestApiId", - "Type" + "FunctionName", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Authorizer" + "AWS::CloudFormation::Macro" ], "type": "string" }, @@ -2744,7 +2396,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::BasePathMapping": { + "AWS::CloudFormation::ModuleDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2776,27 +2428,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BasePath": { - "type": "string" - }, - "DomainName": { + "Arn": { "type": "string" }, - "RestApiId": { + "ModuleName": { "type": "string" }, - "Stage": { + "VersionId": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::BasePathMapping" + "AWS::CloudFormation::ModuleDefaultVersion" ], "type": "string" }, @@ -2810,12 +2456,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::ClientCertificate": { + "AWS::CloudFormation::ModuleVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2847,21 +2492,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "ModuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ModulePackage": { + "type": "string" } }, + "required": [ + "ModuleName", + "ModulePackage" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ClientCertificate" + "AWS::CloudFormation::ModuleVersion" ], "type": "string" }, @@ -2875,11 +2521,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::Deployment": { + "AWS::CloudFormation::PublicTypeVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2911,30 +2558,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeploymentCanarySettings": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.DeploymentCanarySettings" + "Arn": { + "type": "string" }, - "Description": { + "LogDeliveryBucket": { "type": "string" }, - "RestApiId": { + "PublicVersionNumber": { "type": "string" }, - "StageDescription": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.StageDescription" + "Type": { + "type": "string" }, - "StageName": { + "TypeName": { "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Deployment" + "AWS::CloudFormation::PublicTypeVersion" ], "type": "string" }, @@ -2948,177 +2592,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Deployment.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.CanarySetting": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.DeploymentCanarySettings": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.MethodSetting": { - "additionalProperties": false, - "properties": { - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "HttpMethod": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "ResourcePath": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.StageDescription": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MethodSettings": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.MethodSetting" - }, - "type": "array" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationPart": { + "AWS::CloudFormation::Publisher": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3150,26 +2628,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Location": { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart.Location" - }, - "Properties": { - "type": "string" + "AcceptTermsAndConditions": { + "type": "boolean" }, - "RestApiId": { + "ConnectionArn": { "type": "string" } }, "required": [ - "Location", - "Properties", - "RestApiId" + "AcceptTermsAndConditions" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationPart" + "AWS::CloudFormation::Publisher" ], "type": "string" }, @@ -3188,28 +2661,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::DocumentationPart.Location": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationVersion": { + "AWS::CloudFormation::ResourceDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3241,25 +2693,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "TypeName": { "type": "string" }, - "DocumentationVersion": { + "TypeVersionArn": { "type": "string" }, - "RestApiId": { + "VersionId": { "type": "string" } }, - "required": [ - "DocumentationVersion", - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationVersion" + "AWS::CloudFormation::ResourceDefaultVersion" ], "type": "string" }, @@ -3273,12 +2721,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::DomainName": { + "AWS::CloudFormation::ResourceVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3310,39 +2757,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" - }, - "DomainName": { + "ExecutionRoleArn": { "type": "string" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.EndpointConfiguration" - }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.MutualTlsAuthentication" - }, - "OwnershipVerificationCertificateArn": { - "type": "string" + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" }, - "RegionalCertificateArn": { + "SchemaHandlerPackage": { "type": "string" }, - "SecurityPolicy": { + "TypeName": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DomainName" + "AWS::CloudFormation::ResourceVersion" ], "type": "string" }, @@ -3356,35 +2792,24 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::DomainName.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DomainName.MutualTlsAuthentication": { + "AWS::CloudFormation::ResourceVersion.LoggingConfig": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "LogGroupName": { "type": "string" }, - "TruststoreVersion": { + "LogRoleArn": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::GatewayResponse": { + "AWS::CloudFormation::Stack": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3416,16 +2841,13 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "NotificationARNs": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "ResponseTemplates": { + "Parameters": { "additionalProperties": true, "patternProperties": { "^[a-zA-Z0-9]+$": { @@ -3434,25 +2856,27 @@ var CloudformationSchema = `{ }, "type": "object" }, - "ResponseType": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RestApiId": { + "TemplateURL": { "type": "string" }, - "StatusCode": { - "type": "string" + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "ResponseType", - "RestApiId" + "TemplateURL" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::GatewayResponse" + "AWS::CloudFormation::Stack" ], "type": "string" }, @@ -3471,7 +2895,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::Method": { + "AWS::CloudFormation::StackSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3503,74 +2927,73 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeyRequired": { - "type": "boolean" + "AdministrationRoleARN": { + "type": "string" + }, + "AutoDeployment": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" + }, + "CallAs": { + "type": "string" }, - "AuthorizationScopes": { + "Capabilities": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { + "Description": { "type": "string" }, - "AuthorizerId": { + "ExecutionRoleName": { "type": "string" }, - "HttpMethod": { - "type": "string" + "ManagedExecution": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.ManagedExecution" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGateway::Method.Integration" + "OperationPreferences": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" }, - "MethodResponses": { + "Parameters": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.MethodResponse" + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, "type": "array" }, - "OperationName": { + "PermissionModel": { "type": "string" }, - "RequestModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "StackInstancesGroup": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" }, - "type": "object" + "type": "array" }, - "RequestValidatorId": { + "StackSetName": { "type": "string" }, - "ResourceId": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TemplateBody": { "type": "string" }, - "RestApiId": { + "TemplateURL": { "type": "string" } }, "required": [ - "HttpMethod", - "ResourceId", - "RestApiId" + "PermissionModel", + "StackSetName" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Method" + "AWS::CloudFormation::StackSet" ], "type": "string" }, @@ -3589,139 +3012,123 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::Method.Integration": { + "AWS::CloudFormation::StackSet.AutoDeployment": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + }, + "RetainStacksOnAccountRemoval": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.DeploymentTargets": { "additionalProperties": false, "properties": { - "CacheKeyParameters": { + "AccountFilterType": { + "type": "string" + }, + "Accounts": { "items": { "type": "string" }, "type": "array" }, - "CacheNamespace": { + "AccountsUrl": { "type": "string" }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandling": { - "type": "string" - }, - "Credentials": { - "type": "string" - }, - "IntegrationHttpMethod": { - "type": "string" - }, - "IntegrationResponses": { + "OrganizationalUnitIds": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.IntegrationResponse" + "type": "string" }, "type": "array" - }, - "PassthroughBehavior": { + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.ManagedExecution": { + "additionalProperties": false, + "properties": { + "Active": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.OperationPreferences": { + "additionalProperties": false, + "properties": { + "ConcurrencyMode": { "type": "string" }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureToleranceCount": { + "type": "number" }, - "RequestTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureTolerancePercentage": { + "type": "number" }, - "TimeoutInMillis": { + "MaxConcurrentCount": { "type": "number" }, - "Type": { - "type": "string" + "MaxConcurrentPercentage": { + "type": "number" }, - "Uri": { + "RegionConcurrencyType": { "type": "string" + }, + "RegionOrder": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Method.IntegrationResponse": { + "AWS::CloudFormation::StackSet.Parameter": { "additionalProperties": false, "properties": { - "ContentHandling": { - "type": "string" - }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResponseTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SelectionPattern": { + "ParameterKey": { "type": "string" }, - "StatusCode": { + "ParameterValue": { "type": "string" } }, "required": [ - "StatusCode" + "ParameterKey", + "ParameterValue" ], "type": "object" }, - "AWS::ApiGateway::Method.MethodResponse": { + "AWS::CloudFormation::StackSet.StackInstances": { "additionalProperties": false, "properties": { - "ResponseModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "DeploymentTargets": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "ParameterOverrides": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, - "type": "object" + "type": "array" }, - "StatusCode": { - "type": "string" + "Regions": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "StatusCode" + "DeploymentTargets", + "Regions" ], "type": "object" }, - "AWS::ApiGateway::Model": { + "AWS::CloudFormation::TypeActivation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3753,30 +3160,42 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ContentType": { + "AutoUpdate": { + "type": "boolean" + }, + "ExecutionRoleArn": { "type": "string" }, - "Description": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" + }, + "MajorVersion": { "type": "string" }, - "Name": { + "PublicTypeArn": { "type": "string" }, - "RestApiId": { + "PublisherId": { "type": "string" }, - "Schema": { - "type": "object" + "Type": { + "type": "string" + }, + "TypeName": { + "type": "string" + }, + "TypeNameAlias": { + "type": "string" + }, + "VersionBump": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Model" + "AWS::CloudFormation::TypeActivation" ], "type": "string" }, @@ -3790,14 +3209,28 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RequestValidator": { + "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::WaitCondition": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -3827,27 +3260,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "Count": { + "type": "number" }, - "RestApiId": { + "Handle": { "type": "string" }, - "ValidateRequestBody": { - "type": "boolean" - }, - "ValidateRequestParameters": { - "type": "boolean" + "Timeout": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RequestValidator" + "AWS::CloudFormation::WaitCondition" ], "type": "string" }, @@ -3861,12 +3288,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Resource": { + "AWS::CloudFormation::WaitConditionHandle": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3897,27 +3323,12 @@ var CloudformationSchema = `{ }, "Properties": { "additionalProperties": false, - "properties": { - "ParentId": { - "type": "string" - }, - "PathPart": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "ParentId", - "PathPart", - "RestApiId" - ], + "properties": {}, "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Resource" + "AWS::CloudFormation::WaitConditionHandle" ], "type": "string" }, @@ -3931,12 +3342,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RestApi": { + "AWS::CloudWatch::Alarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3968,69 +3378,100 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySourceType": { - "type": "string" + "ActionsEnabled": { + "type": "boolean" }, - "BinaryMediaTypes": { + "AlarmActions": { "items": { "type": "string" }, "type": "array" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.S3Location" + "AlarmDescription": { + "type": "string" }, - "CloneFrom": { + "AlarmName": { "type": "string" }, - "Description": { + "ComparisonOperator": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" + "DatapointsToAlarm": { + "type": "number" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.EndpointConfiguration" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + }, + "type": "array" }, - "FailOnWarnings": { - "type": "boolean" + "EvaluateLowSampleCountPercentile": { + "type": "string" }, - "MinimumCompressionSize": { + "EvaluationPeriods": { "type": "number" }, - "Mode": { + "ExtendedStatistic": { "type": "string" }, - "Name": { + "InsufficientDataActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" }, - "type": "object" + "type": "array" }, - "Policy": { - "type": "object" + "Namespace": { + "type": "string" + }, + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Period": { + "type": "number" + }, + "Statistic": { + "type": "string" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Threshold": { + "type": "number" + }, + "ThresholdMetricId": { + "type": "string" + }, + "TreatMissingData": { + "type": "string" + }, + "Unit": { + "type": "string" } }, + "required": [ + "ComparisonOperator", + "EvaluationPeriods" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RestApi" + "AWS::CloudWatch::Alarm" ], "type": "string" }, @@ -4044,47 +3485,99 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::RestApi.EndpointConfiguration": { + "AWS::CloudWatch::Alarm.Dimension": { "additionalProperties": false, "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, - "VpcEndpointIds": { + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" }, "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::RestApi.S3Location": { + "AWS::CloudWatch::Alarm.MetricDataQuery": { "additionalProperties": false, "properties": { - "Bucket": { + "AccountId": { "type": "string" }, - "ETag": { + "Expression": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { "type": "string" } }, + "required": [ + "Metric", + "Period", + "Stat" + ], "type": "object" }, - "AWS::ApiGateway::Stage": { + "AWS::CloudWatch::AnomalyDetector": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4116,69 +3609,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DeploymentId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" + "Configuration": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" }, - "MethodSettings": { + "Dimensions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.MethodSetting" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, "type": "array" }, - "RestApiId": { - "type": "string" + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, + "MetricMathAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, - "StageName": { + "MetricName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Namespace": { + "type": "string" }, - "TracingEnabled": { - "type": "boolean" + "SingleMetricAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "Stat": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Stage" + "AWS::CloudWatch::AnomalyDetector" ], "type": "string" }, @@ -4192,84 +3655,183 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Stage.AccessLogSetting": { + "AWS::CloudWatch::AnomalyDetector.Configuration": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "ExcludedTimeRanges": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" + }, + "type": "array" }, - "Format": { + "MetricTimeZone": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::Stage.CanarySetting": { + "AWS::CloudWatch::AnomalyDetector.Dimension": { "additionalProperties": false, "properties": { - "DeploymentId": { + "Name": { "type": "string" }, - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, - "type": "object" + "type": "array" }, - "UseStageCache": { - "type": "boolean" + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGateway::Stage.MethodSetting": { + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { "additionalProperties": false, "properties": { - "CacheDataEncrypted": { + "PeriodicSpikes": { "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" }, - "CacheTtlInSeconds": { + "Period": { "type": "number" }, - "CachingEnabled": { + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" }, - "DataTraceEnabled": { - "type": "boolean" + "Period": { + "type": "number" }, - "HttpMethod": { + "Stat": { "type": "string" }, - "LoggingLevel": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Period", + "Stat" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Range": { + "additionalProperties": false, + "properties": { + "EndTime": { "type": "string" }, - "MetricsEnabled": { - "type": "boolean" + "StartTime": { + "type": "string" + } + }, + "required": [ + "EndTime", + "StartTime" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" }, - "ResourcePath": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "ThrottlingBurstLimit": { - "type": "number" + "Namespace": { + "type": "string" }, - "ThrottlingRateLimit": { - "type": "number" + "Stat": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::UsagePlan": { + "AWS::CloudWatch::CompositeAlarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4301,36 +3863,60 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiStages": { + "ActionsEnabled": { + "type": "boolean" + }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, + "AlarmActions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ApiStage" + "type": "string" }, "type": "array" }, - "Description": { + "AlarmDescription": { "type": "string" }, - "Quota": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.QuotaSettings" + "AlarmName": { + "type": "string" }, - "Tags": { + "AlarmRule": { + "type": "string" + }, + "InsufficientDataActions": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Throttle": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" }, - "UsagePlanName": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "AlarmRule" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlan" + "AWS::CloudWatch::CompositeAlarm" ], "type": "string" }, @@ -4344,59 +3930,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::UsagePlan.ApiStage": { - "additionalProperties": false, - "properties": { - "ApiId": { - "type": "string" - }, - "Stage": { - "type": "string" - }, - "Throttle": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.QuotaSettings": { - "additionalProperties": false, - "properties": { - "Limit": { - "type": "number" - }, - "Offset": { - "type": "number" - }, - "Period": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.ThrottleSettings": { - "additionalProperties": false, - "properties": { - "BurstLimit": { - "type": "number" - }, - "RateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlanKey": { + "AWS::CloudWatch::Dashboard": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4428,26 +3967,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyId": { - "type": "string" - }, - "KeyType": { + "DashboardBody": { "type": "string" }, - "UsagePlanId": { + "DashboardName": { "type": "string" } }, "required": [ - "KeyId", - "KeyType", - "UsagePlanId" + "DashboardBody" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlanKey" + "AWS::CloudWatch::Dashboard" ], "type": "string" }, @@ -4466,7 +4000,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::VpcLink": { + "AWS::CloudWatch::InsightRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4498,34 +4032,29 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "RuleBody": { "type": "string" }, - "Name": { + "RuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RuleState": { + "type": "string" }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Tags": { + "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" } }, "required": [ - "Name", - "TargetArns" + "RuleBody", + "RuleName", + "RuleState" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::VpcLink" + "AWS::CloudWatch::InsightRule" ], "type": "string" }, @@ -4544,7 +4073,12 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Api": { + "AWS::CloudWatch::InsightRule.Tags": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::MetricStream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4576,63 +4110,56 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySelectionExpression": { - "type": "string" - }, - "BasePath": { - "type": "string" - }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.BodyS3Location" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.Cors" - }, - "CredentialsArn": { - "type": "string" + "ExcludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "Description": { + "FirehoseArn": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" - }, - "DisableSchemaValidation": { - "type": "boolean" + "IncludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "FailOnWarnings": { + "IncludeLinkedAccountsMetrics": { "type": "boolean" }, "Name": { "type": "string" }, - "ProtocolType": { + "OutputFormat": { "type": "string" }, - "RouteKey": { + "RoleArn": { "type": "string" }, - "RouteSelectionExpression": { - "type": "string" + "StatisticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration" + }, + "type": "array" }, "Tags": { - "type": "object" - }, - "Target": { - "type": "string" - }, - "Version": { - "type": "string" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "FirehoseArn", + "OutputFormat", + "RoleArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Api" + "AWS::CloudWatch::MetricStream" ], "type": "string" }, @@ -4646,65 +4173,68 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGatewayV2::Api.BodyS3Location": { + "AWS::CloudWatch::MetricStream.MetricStreamFilter": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Etag": { - "type": "string" - }, - "Key": { - "type": "string" + "MetricNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Version": { + "Namespace": { "type": "string" } }, + "required": [ + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::Api.Cors": { + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration": { "additionalProperties": false, "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowOrigins": { + "AdditionalStatistics": { "items": { "type": "string" }, "type": "array" }, - "ExposeHeaders": { + "IncludeMetrics": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric" }, "type": "array" + } + }, + "required": [ + "AdditionalStatistics", + "IncludeMetrics" + ], + "type": "object" + }, + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric": { + "additionalProperties": false, + "properties": { + "MetricName": { + "type": "string" }, - "MaxAge": { - "type": "number" + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides": { + "AWS::EC2::CapacityReservation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4736,27 +4266,65 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "EndDate": { + "type": "string" + }, + "EndDateType": { + "type": "string" + }, + "EphemeralStorage": { + "type": "boolean" + }, + "InstanceCount": { + "type": "number" + }, + "InstanceMatchCriteria": { + "type": "string" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutPostArn": { + "type": "string" + }, + "PlacementGroupArn": { "type": "string" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides" + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" + }, + "type": "array" }, - "Route": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides" + "Tenancy": { + "type": "string" }, - "Stage": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides" + "UnusedReservationBillingOwnerId": { + "type": "string" } }, "required": [ - "ApiId" + "InstanceCount", + "InstancePlatform", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides" + "AWS::EC2::CapacityReservation" ], "type": "string" }, @@ -4775,106 +4343,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides": { + "AWS::EC2::CapacityReservation.TagSpecification": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IntegrationMethod": { - "type": "string" - }, - "PayloadFormatVersion": { + "ResourceType": { "type": "string" }, - "TimeoutInMillis": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides": { - "additionalProperties": false, - "properties": { - "AuthorizationScopes": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings": { - "additionalProperties": false, - "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings" - }, - "AutoDeploy": { - "type": "boolean" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings" - }, - "Description": { - "type": "string" - }, - "RouteSettings": { - "type": "object" - }, - "StageVariables": { - "type": "object" } }, "type": "object" }, - "AWS::ApiGatewayV2::ApiMapping": { + "AWS::EC2::CapacityReservationFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4906,29 +4390,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AllocationStrategy": { "type": "string" }, - "ApiMappingKey": { + "EndDate": { "type": "string" }, - "DomainName": { + "InstanceMatchCriteria": { "type": "string" }, - "Stage": { + "InstanceTypeSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" + }, + "type": "array" + }, + "NoRemoveEndDate": { + "type": "boolean" + }, + "RemoveEndDate": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" + }, + "type": "array" + }, + "Tenancy": { "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" } }, - "required": [ - "ApiId", - "DomainName", - "Stage" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiMapping" + "AWS::EC2::CapacityReservationFleet" ], "type": "string" }, @@ -4942,12 +4442,53 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer": { + "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "additionalProperties": false, + "properties": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "Weight": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::CarrierGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4979,53 +4520,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "AuthorizerCredentialsArn": { - "type": "string" - }, - "AuthorizerPayloadFormatVersion": { - "type": "string" - }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerType": { - "type": "string" - }, - "AuthorizerUri": { - "type": "string" - }, - "EnableSimpleResponses": { - "type": "boolean" - }, - "IdentitySource": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "IdentityValidationExpression": { - "type": "string" - }, - "JwtConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer.JWTConfiguration" - }, - "Name": { + "VpcId": { "type": "string" } }, "required": [ - "ApiId", - "AuthorizerType", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Authorizer" + "AWS::EC2::CarrierGateway" ], "type": "string" }, @@ -5044,22 +4556,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer.JWTConfiguration": { - "additionalProperties": false, - "properties": { - "Audience": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Issuer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Deployment": { + "AWS::EC2::ClientVpnAuthorizationRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5091,24 +4588,31 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AccessGroupId": { + "type": "string" + }, + "AuthorizeAllGroups": { + "type": "boolean" + }, + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "StageName": { + "TargetNetworkCidr": { "type": "string" } }, "required": [ - "ApiId" + "ClientVpnEndpointId", + "TargetNetworkCidr" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Deployment" + "AWS::EC2::ClientVpnAuthorizationRule" ], "type": "string" }, @@ -5127,7 +4631,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName": { + "AWS::EC2::ClientVpnEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5159,30 +4663,81 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { + "AuthenticationOptions": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" + }, + "type": "array" + }, + "ClientCidrBlock": { "type": "string" }, - "DomainNameConfigurations": { + "ClientConnectOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" + }, + "ClientLoginBannerOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions" + }, + "ConnectionLogOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" + }, + "Description": { + "type": "string" + }, + "DisconnectOnSessionTimeout": { + "type": "boolean" + }, + "DnsServers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.DomainNameConfiguration" + "type": "string" }, "type": "array" }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication" + "SelfServicePortal": { + "type": "string" }, - "Tags": { - "type": "object" + "ServerCertificateArn": { + "type": "string" + }, + "SessionTimeoutHours": { + "type": "number" + }, + "SplitTunnel": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" + }, + "type": "array" + }, + "TransportProtocol": { + "type": "string" + }, + "VpcId": { + "type": "string" + }, + "VpnPort": { + "type": "number" } }, "required": [ - "DomainName" + "AuthenticationOptions", + "ClientCidrBlock", + "ConnectionLogOptions", + "ServerCertificateArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::DomainName" + "AWS::EC2::ClientVpnEndpoint" ], "type": "string" }, @@ -5201,40 +4756,134 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.DomainNameConfiguration": { + "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { "additionalProperties": false, "properties": { - "CertificateArn": { + "ClientRootCertificateChainArn": { + "type": "string" + } + }, + "required": [ + "ClientRootCertificateChainArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "ActiveDirectory": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + }, + "FederatedAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + }, + "MutualAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + }, + "Type": { "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "CertificateName": { + "LambdaFunctionArn": { + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions": { + "additionalProperties": false, + "properties": { + "BannerText": { "type": "string" }, - "EndpointType": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "additionalProperties": false, + "properties": { + "CloudwatchLogGroup": { "type": "string" }, - "OwnershipVerificationCertificateArn": { + "CloudwatchLogStream": { "type": "string" }, - "SecurityPolicy": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "DirectoryId": { "type": "string" } }, + "required": [ + "DirectoryId" + ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication": { + "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "SAMLProviderArn": { "type": "string" }, - "TruststoreVersion": { + "SelfServiceSAMLProviderArn": { + "type": "string" + } + }, + "required": [ + "SAMLProviderArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ResourceType", + "Tags" + ], "type": "object" }, - "AWS::ApiGatewayV2::Integration": { + "AWS::EC2::ClientVpnRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5266,70 +4915,29 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "CredentialsArn": { + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "IntegrationMethod": { - "type": "string" - }, - "IntegrationSubtype": { - "type": "string" - }, - "IntegrationType": { - "type": "string" - }, - "IntegrationUri": { - "type": "string" - }, - "PassthroughBehavior": { - "type": "string" - }, - "PayloadFormatVersion": { + "DestinationCidrBlock": { "type": "string" }, - "RequestParameters": { - "type": "object" - }, - "RequestTemplates": { - "type": "object" - }, - "ResponseParameters": { - "type": "object" - }, - "TemplateSelectionExpression": { + "TargetVpcSubnetId": { "type": "string" - }, - "TimeoutInMillis": { - "type": "number" - }, - "TlsConfig": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.TlsConfig" } }, "required": [ - "ApiId", - "IntegrationType" + "ClientVpnEndpointId", + "DestinationCidrBlock", + "TargetVpcSubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Integration" + "AWS::EC2::ClientVpnRoute" ], "type": "string" }, @@ -5348,44 +4956,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Integration.ResponseParameter": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "required": [ - "Destination", - "Source" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.ResponseParameterList": { - "additionalProperties": false, - "properties": { - "ResponseParameters": { - "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.ResponseParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.TlsConfig": { - "additionalProperties": false, - "properties": { - "ServerNameToVerify": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::IntegrationResponse": { + "AWS::EC2::ClientVpnTargetNetworkAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5417,38 +4988,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "IntegrationId": { - "type": "string" - }, - "IntegrationResponseKey": { + "ClientVpnEndpointId": { "type": "string" }, - "ResponseParameters": { - "type": "object" - }, - "ResponseTemplates": { - "type": "object" - }, - "TemplateSelectionExpression": { + "SubnetId": { "type": "string" } }, "required": [ - "ApiId", - "IntegrationId", - "IntegrationResponseKey" + "ClientVpnEndpointId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::IntegrationResponse" + "AWS::EC2::ClientVpnTargetNetworkAssociation" ], "type": "string" }, @@ -5467,7 +5022,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Model": { + "AWS::EC2::CustomerGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5499,32 +5054,40 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" + "BgpAsn": { + "type": "number" + }, + "BgpAsnExtended": { + "type": "number" }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "DeviceName": { "type": "string" }, - "Name": { + "IpAddress": { "type": "string" }, - "Schema": { - "type": "object" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" } }, "required": [ - "ApiId", - "Name", - "Schema" + "IpAddress", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Model" + "AWS::EC2::CustomerGateway" ], "type": "string" }, @@ -5543,7 +5106,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Route": { + "AWS::EC2::DHCPOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5575,55 +5138,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "DomainName": { "type": "string" }, - "ApiKeyRequired": { - "type": "boolean" - }, - "AuthorizationScopes": { + "DomainNameServers": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "ModelSelectionExpression": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "RequestModels": { - "type": "object" + "Ipv6AddressPreferredLeaseTime": { + "type": "number" }, - "RequestParameters": { - "type": "object" + "NetbiosNameServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "RouteKey": { - "type": "string" + "NetbiosNodeType": { + "type": "number" }, - "RouteResponseSelectionExpression": { - "type": "string" + "NtpServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Target": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiId", - "RouteKey" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Route" + "AWS::EC2::DHCPOptions" ], "type": "string" }, @@ -5637,24 +5190,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Route.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::RouteResponse": { + "AWS::EC2::EC2Fleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5686,143 +5226,58 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "Context": { "type": "string" }, - "ModelSelectionExpression": { + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "ResponseModels": { - "type": "object" + "LaunchTemplateConfigs": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" + }, + "type": "array" }, - "ResponseParameters": { - "type": "object" + "OnDemandOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" }, - "RouteId": { - "type": "string" + "ReplaceUnhealthyInstances": { + "type": "boolean" }, - "RouteResponseKey": { - "type": "string" - } - }, - "required": [ - "ApiId", - "RouteId", - "RouteResponseKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::RouteResponse" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::RouteResponse.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Stage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" }, - { + "TagSpecifications": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.AccessLogSettings" - }, - "AccessPolicyId": { - "type": "string" }, - "ApiId": { - "type": "string" + "TargetCapacitySpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" }, - "AutoDeploy": { + "TerminateInstancesWithExpiration": { "type": "boolean" }, - "ClientCertificateId": { - "type": "string" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.RouteSettings" - }, - "DeploymentId": { + "Type": { "type": "string" }, - "Description": { + "ValidFrom": { "type": "string" }, - "RouteSettings": { - "type": "object" - }, - "StageName": { + "ValidUntil": { "type": "string" - }, - "StageVariables": { - "type": "object" - }, - "Tags": { - "type": "object" } }, "required": [ - "ApiId", - "StageName" + "LaunchTemplateConfigs", + "TargetCapacitySpecification" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Stage" + "AWS::EC2::EC2Fleet" ], "type": "string" }, @@ -5841,330 +5296,480 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Stage.AccessLogSettings": { + "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "Max": { + "type": "number" }, - "Format": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::Stage.RouteSettings": { + "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { + "Max": { "type": "number" }, - "ThrottlingRateLimit": { + "Min": { "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::VpcLink": { + "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::VpcLink" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application": { + "AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Application.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application.Tags": { + "AWS::EC2::EC2Fleet.CapacityRebalance": { "additionalProperties": false, "properties": { - "Key": { + "ReplacementStrategy": { "type": "string" }, - "Value": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile": { + "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UsageStrategy": { "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RetrievalRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Tags" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Validators": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Validators" - }, - "type": "array" - } + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest": { + "additionalProperties": false, + "properties": { + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest" }, - "required": [ - "ApplicationId", - "LocationUri", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::ConfigurationProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Tags": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" }, - "Value": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Validators": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { "additionalProperties": false, "properties": { - "Content": { + "AvailabilityZone": { "type": "string" }, - "Type": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "MaxPrice": { + "type": "string" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" + }, + "Priority": { + "type": "number" + }, + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::Deployment": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LaunchTemplateId": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + "LaunchTemplateName": { + "type": "string" + }, + "Version": { + "type": "string" + } + }, + "required": [ + "Version" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "additionalProperties": false, + "properties": { + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "CapacityReservationOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.Placement": { + "additionalProperties": false, + "properties": { + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "GroupName": { + "type": "string" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" + }, + "Tenancy": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "InstanceInterruptionBehavior": { + "type": "string" + }, + "InstancePoolsToUseCount": { + "type": "number" + }, + "MaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "additionalProperties": false, + "properties": { + "DefaultTargetCapacityType": { + "type": "string" + }, + "OnDemandTargetCapacity": { + "type": "number" + }, + "SpotTargetCapacity": { + "type": "number" + }, + "TargetCapacityUnitType": { + "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" + } + }, + "required": [ + "TotalTargetCapacity" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EIP": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, { @@ -6182,43 +5787,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { + "Address": { "type": "string" }, - "ConfigurationProfileId": { + "Domain": { "type": "string" }, - "ConfigurationVersion": { + "InstanceId": { "type": "string" }, - "DeploymentStrategyId": { + "IpamPoolId": { "type": "string" }, - "Description": { + "NetworkBorderGroup": { "type": "string" }, - "EnvironmentId": { + "PublicIpv4Pool": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/AWS::AppConfig::Deployment.Tags" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransferAddress": { + "type": "string" } }, - "required": [ - "ApplicationId", - "ConfigurationProfileId", - "ConfigurationVersion", - "DeploymentStrategyId", - "EnvironmentId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Deployment" + "AWS::EC2::EIP" ], "type": "string" }, @@ -6232,24 +5833,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::Deployment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::DeploymentStrategy": { + "AWS::EC2::EIPAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6281,45 +5869,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { + "AllocationId": { "type": "string" }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { + "InstanceId": { "type": "string" }, - "Name": { + "NetworkInterfaceId": { "type": "string" }, - "ReplicateTo": { + "PrivateIpAddress": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy.Tags" - }, - "type": "array" } }, - "required": [ - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name", - "ReplicateTo" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::DeploymentStrategy" + "AWS::EC2::EIPAssociation" ], "type": "string" }, @@ -6333,24 +5900,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::DeploymentStrategy.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment": { + "AWS::EC2::EgressOnlyInternetGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6382,37 +5936,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Monitors": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Monitors" - }, - "type": "array" - }, - "Name": { + "VpcId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Tags" - }, - "type": "array" } }, "required": [ - "ApplicationId", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Environment" + "AWS::EC2::EgressOnlyInternetGateway" ], "type": "string" }, @@ -6431,31 +5966,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppConfig::Environment.Monitors": { - "additionalProperties": false, - "properties": { - "AlarmArn": { - "type": "string" - }, - "AlarmRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::HostedConfigurationVersion": { + "AWS::EC2::EnclaveCertificateIamRoleAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6487,36 +5998,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationProfileId": { - "type": "string" - }, - "Content": { - "type": "string" - }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "RoleArn": { "type": "string" - }, - "LatestVersionNumber": { - "type": "number" } }, "required": [ - "ApplicationId", - "ConfigurationProfileId", - "Content", - "ContentType" + "CertificateArn", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::HostedConfigurationVersion" + "AWS::EC2::EnclaveCertificateIamRoleAssociation" ], "type": "string" }, @@ -6535,7 +6032,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile": { + "AWS::EC2::FlowLog": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6567,32 +6064,55 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConnectionMode": { + "DeliverCrossAccountRole": { + "type": "string" + }, + "DeliverLogsPermissionArn": { + "type": "string" + }, + "DestinationOptions": { + "$ref": "#/definitions/AWS::EC2::FlowLog.DestinationOptions" + }, + "LogDestination": { + "type": "string" + }, + "LogDestinationType": { "type": "string" }, - "ConnectorProfileConfig": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig" + "LogFormat": { + "type": "string" + }, + "LogGroupName": { + "type": "string" + }, + "MaxAggregationInterval": { + "type": "number" }, - "ConnectorProfileName": { + "ResourceId": { "type": "string" }, - "ConnectorType": { + "ResourceType": { "type": "string" }, - "KMSArn": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficType": { "type": "string" } }, "required": [ - "ConnectionMode", - "ConnectorProfileName", - "ConnectorType" + "ResourceId", + "ResourceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::ConnectorProfile" + "AWS::EC2::FlowLog" ], "type": "string" }, @@ -6611,617 +6131,822 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "SecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest": { + "AWS::EC2::FlowLog.DestinationOptions": { "additionalProperties": false, "properties": { - "AuthCode": { + "FileFormat": { "type": "string" }, - "RedirectUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig": { - "additionalProperties": false, - "properties": { - "ConnectorProfileCredentials": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials" + "HiveCompatiblePartitions": { + "type": "boolean" }, - "ConnectorProfileProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties" + "PerHourPartition": { + "type": "boolean" } }, "required": [ - "ConnectorProfileCredentials" + "FileFormat", + "HiveCompatiblePartitions", + "PerHourPartition" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials": { + "AWS::EC2::GatewayRouteTableAssociation": { "additionalProperties": false, "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials" + "Metadata": { + "type": "object" }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials" + "Properties": { + "additionalProperties": false, + "properties": { + "GatewayId": { + "type": "string" + }, + "RouteTableId": { + "type": "string" + } + }, + "required": [ + "GatewayId", + "RouteTableId" + ], + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials" + "Type": { + "enum": [ + "AWS::EC2::GatewayRouteTableAssociation" + ], + "type": "string" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, + "required": [ + "Type", + "Properties" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties": { + "AWS::EC2::Host": { "additionalProperties": false, "properties": { - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties" + "Metadata": { + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties" + "Properties": { + "additionalProperties": false, + "properties": { + "AssetId": { + "type": "string" + }, + "AutoPlacement": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "HostMaintenance": { + "type": "string" + }, + "HostRecovery": { + "type": "string" + }, + "InstanceFamily": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutpostArn": { + "type": "string" + } + }, + "required": [ + "AvailabilityZone" + ], + "type": "object" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { + "Type": { + "enum": [ + "AWS::EC2::Host" + ], "type": "string" }, - "ApplicationKey": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ApiKey", - "ApplicationKey" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties": { + "AWS::EC2::IPAM": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "DefaultResourceDiscoveryOrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Description": { + "type": "string" + }, + "EnablePrivateGua": { + "type": "boolean" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Tier": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAM" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials": { + "AWS::EC2::IPAM.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "ApiToken": { + "RegionName": { "type": "string" } }, "required": [ - "ApiToken" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties": { + "AWS::EC2::IPAM.IpamOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "InstanceUrl" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials": { + "AWS::EC2::IPAMAllocation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "Type": { + "enum": [ + "AWS::EC2::IPAMAllocation" + ], + "type": "string" }, - "RefreshToken": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials": { + "AWS::EC2::IPAMPool": { "additionalProperties": false, "properties": { - "AccessKeyId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Datakey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AddressFamily": { + "type": "string" + }, + "AllocationDefaultNetmaskLength": { + "type": "number" + }, + "AllocationMaxNetmaskLength": { + "type": "number" + }, + "AllocationMinNetmaskLength": { + "type": "number" + }, + "AllocationResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "AutoImport": { + "type": "boolean" + }, + "AwsService": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamScopeId": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ProvisionedCidrs": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + }, + "type": "array" + }, + "PublicIpSource": { + "type": "string" + }, + "PubliclyAdvertisable": { + "type": "boolean" + }, + "SourceIpamPoolId": { + "type": "string" + }, + "SourceResource": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.SourceResource" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AddressFamily", + "IpamScopeId" + ], + "type": "object" }, - "SecretAccessKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPool" + ], "type": "string" }, - "UserId": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "AccessKeyId", - "Datakey", - "SecretAccessKey", - "UserId" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties": { + "AWS::EC2::IPAMPool.ProvisionedCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "Cidr": { "type": "string" } }, "required": [ - "InstanceUrl" + "Cidr" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials": { + "AWS::EC2::IPAMPool.SourceResource": { "additionalProperties": false, "properties": { - "AccessToken": { + "ResourceId": { "type": "string" }, - "ClientId": { + "ResourceOwner": { "type": "string" }, - "ClientSecret": { + "ResourceRegion": { "type": "string" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "ResourceType": { + "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "ResourceId", + "ResourceOwner", + "ResourceRegion", + "ResourceType" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties": { + "AWS::EC2::IPAMPoolCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMPoolCidr" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.OAuthProperties": { + "AWS::EC2::IPAMResourceDiscovery": { "additionalProperties": false, "properties": { - "AuthCodeUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "OAuthScopes": { - "items": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion" + }, + "type": "array" + }, + "OrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscovery" + ], + "type": "string" }, - "TokenUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "Password": { - "type": "string" - }, - "Username": { + "RegionName": { "type": "string" } }, "required": [ - "Password", - "Username" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "DatabaseUrl": { - "type": "string" - }, - "RoleArn": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "BucketName", - "DatabaseUrl", - "RoleArn" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "BasicAuthCredentials": { - "type": "object" - }, - "OAuthCredentials": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "ApplicationHostUrl": { - "type": "string" - }, - "ApplicationServicePath": { - "type": "string" - }, - "ClientNumber": { - "type": "string" - }, - "LogonLanguage": { - "type": "string" - }, - "OAuthProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.OAuthProperties" - }, - "PortNumber": { - "type": "number" - }, - "PrivateLinkServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "ClientCredentialsArn": { - "type": "string" - }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - }, - "isSandboxEnvironment": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscoveryAssociation": { "additionalProperties": false, "properties": { - "Password": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - } - }, - "required": [ - "ApiKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientId": { - "type": "string" + "Metadata": { + "type": "object" }, - "ClientSecret": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "IpamId": { + "type": "string" + }, + "IpamResourceDiscoveryId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId", + "IpamResourceDiscoveryId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscoveryAssociation" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties": { + "AWS::EC2::IPAMScope": { "additionalProperties": false, "properties": { - "AccountName": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "PrivateLinkServiceName": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Region": { - "type": "string" + "Metadata": { + "type": "object" }, - "Stage": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "IpamId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId" + ], + "type": "object" }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Stage", - "Warehouse" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiSecretKey": { - "type": "string" - } - }, - "required": [ - "ApiSecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMScope" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials": { + "AWS::EC2::Instance": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" + "CreationPolicy": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::Flow": { - "additionalProperties": false, - "properties": { "DeletionPolicy": { "enum": [ "Delete", @@ -7251,23 +6976,140 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AdditionalInfo": { + "type": "string" + }, + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" + }, + "type": "array" + }, + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" + }, + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + }, + "type": "array" + }, + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "IamInstanceProfile": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "InstanceInitiatedShutdownBehavior": { + "type": "string" + }, + "InstanceType": { "type": "string" }, - "DestinationFlowConfigList": { + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" + }, + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" + }, + "LicenseSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + }, + "type": "array" + }, + "Monitoring": { + "type": "boolean" + }, + "NetworkInterfaces": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationFlowConfig" + "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" }, "type": "array" }, - "FlowName": { + "PlacementGroupName": { + "type": "string" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateDnsNameOptions" + }, + "PrivateIpAddress": { "type": "string" }, - "KMSArn": { + "PropagateTagsToVolumeOnCreation": { + "type": "boolean" + }, + "RamdiskId": { "type": "string" }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceFlowConfig" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SsmAssociations": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -7275,28 +7117,24 @@ var CloudformationSchema = `{ }, "type": "array" }, - "Tasks": { + "Tenancy": { + "type": "string" + }, + "UserData": { + "type": "string" + }, + "Volumes": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.Task" + "$ref": "#/definitions/AWS::EC2::Instance.Volume" }, "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TriggerConfig" } }, - "required": [ - "DestinationFlowConfigList", - "FlowName", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::Flow" + "AWS::EC2::Instance" ], "type": "string" }, @@ -7310,719 +7148,461 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.AggregationConfig": { + "AWS::EC2::Instance.AssociationParameter": { "additionalProperties": false, "properties": { - "AggregationType": { + "Key": { "type": "string" + }, + "Value": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::AppFlow::Flow.AmplitudeSourceProperties": { + "AWS::EC2::Instance.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "Object": { + "DeviceName": { + "type": "string" + }, + "Ebs": { + "$ref": "#/definitions/AWS::EC2::Instance.Ebs" + }, + "NoDevice": { + "type": "object" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Object" + "DeviceName" ], "type": "object" }, - "AWS::AppFlow::Flow.ConnectorOperator": { + "AWS::EC2::Instance.CpuOptions": { "additionalProperties": false, "properties": { - "Amplitude": { - "type": "string" - }, - "Datadog": { - "type": "string" - }, - "Dynatrace": { - "type": "string" - }, - "GoogleAnalytics": { - "type": "string" - }, - "InforNexus": { - "type": "string" - }, - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "SAPOData": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Singular": { - "type": "string" - }, - "Slack": { - "type": "string" - }, - "Trendmicro": { - "type": "string" - }, - "Veeva": { - "type": "string" + "CoreCount": { + "type": "number" }, - "Zendesk": { - "type": "string" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppFlow::Flow.DatadogSourceProperties": { + "AWS::EC2::Instance.CreditSpecification": { "additionalProperties": false, "properties": { - "Object": { + "CPUCredits": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.DestinationConnectorProperties": { + "AWS::EC2::Instance.Ebs": { "additionalProperties": false, "properties": { - "EventBridge": { - "$ref": "#/definitions/AWS::AppFlow::Flow.EventBridgeDestinationProperties" - }, - "LookoutMetrics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.LookoutMetricsDestinationProperties" + "DeleteOnTermination": { + "type": "boolean" }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::Flow.RedshiftDestinationProperties" + "Encrypted": { + "type": "boolean" }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3DestinationProperties" + "Iops": { + "type": "number" }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceDestinationProperties" + "KmsKeyId": { + "type": "string" }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SnowflakeDestinationProperties" + "SnapshotId": { + "type": "string" }, - "Upsolver": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverDestinationProperties" + "VolumeSize": { + "type": "number" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskDestinationProperties" + "VolumeType": { + "type": "string" } }, "type": "object" }, - "AWS::AppFlow::Flow.DestinationFlowConfig": { + "AWS::EC2::Instance.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Type": { "type": "string" - }, - "DestinationConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationConnectorProperties" } }, "required": [ - "ConnectorType", - "DestinationConnectorProperties" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.DynatraceSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.ErrorHandlingConfig": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "FailOnFirstError": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.EventBridgeDestinationProperties": { + "AWS::EC2::Instance.ElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Count": { + "type": "number" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "Type": { "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.IncrementalPullConfig": { - "additionalProperties": false, - "properties": { - "DatetimeTypeFieldName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.InforNexusSourceProperties": { + "AWS::EC2::Instance.EnclaveOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.LookoutMetricsDestinationProperties": { + "AWS::EC2::Instance.HibernationOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppFlow::Flow.MarketoSourceProperties": { + "AWS::EC2::Instance.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "Object": { + "Ipv6Address": { "type": "string" } }, "required": [ - "Object" + "Ipv6Address" ], "type": "object" }, - "AWS::AppFlow::Flow.PrefixConfig": { - "additionalProperties": false, - "properties": { - "PrefixFormat": { - "type": "string" - }, - "PrefixType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.RedshiftDestinationProperties": { + "AWS::EC2::Instance.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "BucketPrefix": { + "LaunchTemplateId": { "type": "string" }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" - }, - "IntermediateBucketName": { + "LaunchTemplateName": { "type": "string" }, - "Object": { + "Version": { "type": "string" } }, "required": [ - "IntermediateBucketName", - "Object" + "Version" ], "type": "object" }, - "AWS::AppFlow::Flow.S3DestinationProperties": { + "AWS::EC2::Instance.LicenseSpecification": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "LicenseConfigurationArn": { "type": "string" - }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3OutputFormatConfig" } }, "required": [ - "BucketName" + "LicenseConfigurationArn" ], "type": "object" }, - "AWS::AppFlow::Flow.S3InputFormatConfig": { - "additionalProperties": false, - "properties": { - "S3InputFileType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3OutputFormatConfig": { + "AWS::EC2::Instance.NetworkInterface": { "additionalProperties": false, "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "AssociateCarrierIpAddress": { + "type": "boolean" }, - "FileType": { - "type": "string" + "AssociatePublicIpAddress": { + "type": "boolean" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "BucketPrefix": { + "Description": { "type": "string" }, - "S3InputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3InputFormatConfig" - } - }, - "required": [ - "BucketName", - "BucketPrefix" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SAPODataSourceProperties": { - "additionalProperties": false, - "properties": { - "ObjectPath": { + "DeviceIndex": { "type": "string" - } - }, - "required": [ - "ObjectPath" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" }, - "IdFieldNames": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "Object": { - "type": "string" - }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceSourceProperties": { - "additionalProperties": false, - "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" + "Ipv6AddressCount": { + "type": "number" }, - "IncludeDeletedRecords": { - "type": "boolean" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ScheduledTriggerProperties": { - "additionalProperties": false, - "properties": { - "DataPullMode": { + "NetworkInterfaceId": { "type": "string" }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { + "PrivateIpAddress": { "type": "string" }, - "ScheduleOffset": { - "type": "number" + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" + }, + "type": "array" }, - "ScheduleStartTime": { + "SecondaryPrivateIpAddressCount": { "type": "number" }, - "TimeZone": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ServiceNowSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SingularSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SlackSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "SubnetId": { "type": "string" } }, "required": [ - "Object" + "DeviceIndex" ], "type": "object" }, - "AWS::AppFlow::Flow.SnowflakeDestinationProperties": { + "AWS::EC2::Instance.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "BucketPrefix": { - "type": "string" - }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "IntermediateBucketName": { - "type": "string" + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "Object": { + "HostnameType": { "type": "string" } }, - "required": [ - "IntermediateBucketName", - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SourceConnectorProperties": { - "additionalProperties": false, - "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AmplitudeSourceProperties" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DatadogSourceProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DynatraceSourceProperties" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::Flow.InforNexusSourceProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::Flow.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3SourceProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SAPODataSourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ServiceNowSourceProperties" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SingularSourceProperties" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SlackSourceProperties" - }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TrendmicroSourceProperties" - }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::Flow.VeevaSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskSourceProperties" - } - }, "type": "object" }, - "AWS::AppFlow::Flow.SourceFlowConfig": { + "AWS::EC2::Instance.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" + "Primary": { + "type": "boolean" }, - "ConnectorType": { + "PrivateIpAddress": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceConnectorProperties" } }, "required": [ - "ConnectorType", - "SourceConnectorProperties" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppFlow::Flow.Task": { + "AWS::EC2::Instance.SsmAssociation": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { + "AssociationParameters": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TaskPropertiesObject" + "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" }, "type": "array" }, - "TaskType": { + "DocumentName": { "type": "string" } }, "required": [ - "SourceFields", - "TaskType" + "DocumentName" ], "type": "object" }, - "AWS::AppFlow::Flow.TaskPropertiesObject": { + "AWS::EC2::Instance.State": { "additionalProperties": false, "properties": { - "Key": { + "Code": { "type": "string" }, - "Value": { + "Name": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::AppFlow::Flow.TrendmicroSourceProperties": { + "AWS::EC2::Instance.Volume": { "additionalProperties": false, "properties": { - "Object": { + "Device": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ScheduledTriggerProperties" }, - "TriggerType": { + "VolumeId": { "type": "string" } }, "required": [ - "TriggerType" + "Device", + "VolumeId" ], "type": "object" }, - "AWS::AppFlow::Flow.UpsolverDestinationProperties": { + "AWS::EC2::InstanceConnectEndpoint": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig" - } - }, - "required": [ - "BucketName", - "S3OutputFormatConfig" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig": { - "additionalProperties": false, - "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ClientToken": { + "type": "string" + }, + "PreserveClientIp": { + "type": "boolean" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "SubnetId" + ], + "type": "object" }, - "FileType": { + "Type": { + "enum": [ + "AWS::EC2::InstanceConnectEndpoint" + ], "type": "string" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "PrefixConfig" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::Flow.VeevaSourceProperties": { + "AWS::EC2::InternetGateway": { "additionalProperties": false, "properties": { - "DocumentType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "IncludeAllVersions": { - "type": "boolean" - }, - "IncludeRenditions": { - "type": "boolean" - }, - "IncludeSourceFiles": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Metadata": { + "type": "object" }, - "IdFieldNames": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Object": { + "Type": { + "enum": [ + "AWS::EC2::InternetGateway" + ], "type": "string" }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration": { + "AWS::EC2::KeyPair": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8054,16 +7634,16 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "KeyFormat": { "type": "string" }, - "EventBridgeBus": { + "KeyName": { "type": "string" }, - "EventFilter": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.EventFilter" + "KeyType": { + "type": "string" }, - "Name": { + "PublicKeyMaterial": { "type": "string" }, "Tags": { @@ -8074,15 +7654,13 @@ var CloudformationSchema = `{ } }, "required": [ - "EventBridgeBus", - "EventFilter", - "Name" + "KeyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppIntegrations::EventIntegration" + "AWS::EC2::KeyPair" ], "type": "string" }, @@ -8101,59 +7679,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration.EventFilter": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation": { - "additionalProperties": false, - "properties": { - "ClientAssociationMetadata": { - "items": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.Metadata" - }, - "type": "array" - }, - "ClientId": { - "type": "string" - }, - "EventBridgeRuleName": { - "type": "string" - }, - "EventIntegrationAssociationArn": { - "type": "string" - }, - "EventIntegrationAssociationId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.Metadata": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute": { + "AWS::EC2::LaunchTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8185,38 +7711,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "GatewayRouteName": { - "type": "string" - }, - "MeshName": { - "type": "string" + "LaunchTemplateData": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" }, - "MeshOwner": { + "LaunchTemplateName": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteSpec" - }, - "Tags": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" }, "type": "array" }, - "VirtualGatewayName": { + "VersionDescription": { "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualGatewayName" + "LaunchTemplateData" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::GatewayRoute" + "AWS::EC2::LaunchTemplate" ], "type": "string" }, @@ -8235,955 +7753,844 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch": { + "AWS::EC2::LaunchTemplate.AcceleratorCount": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite": { + "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { "additionalProperties": false, "properties": { - "DefaultTargetHostname": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch": { + "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch": { + "AWS::EC2::LaunchTemplate.BaselinePerformanceFactors": { "additionalProperties": false, "properties": { - "End": { - "type": "number" - }, - "Start": { - "type": "number" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Cpu" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteSpec": { + "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRoute" + "DeviceName": { + "type": "string" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "NoDevice": { + "type": "string" }, - "Priority": { - "type": "number" + "VirtualName": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteTarget": { + "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService" - } - }, - "required": [ - "VirtualService" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService": { - "additionalProperties": false, - "properties": { - "VirtualServiceName": { + "CapacityReservationPreference": { "type": "string" + }, + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" } }, - "required": [ - "VirtualServiceName" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRoute": { + "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction" + "CapacityReservationId": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch" + "CapacityReservationResourceGroupArn": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite" + "TcpEstablishedTimeout": { + "type": "number" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" + "UdpStreamTimeout": { + "type": "number" + }, + "UdpTimeout": { + "type": "number" } }, - "required": [ - "Target" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.Cpu": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Metadata": { + "References": { "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Reference" }, "type": "array" - }, - "ServiceName": { - "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata": { + "AWS::EC2::LaunchTemplate.CpuOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" + "AmdSevSnp": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch" + "CoreCount": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite": { - "additionalProperties": false, - "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoute": { + "AWS::EC2::LaunchTemplate.CreditSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch" + "CpuCredits": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.Ebs": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite" + "DeleteOnTermination": { + "type": "boolean" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" - } - }, - "required": [ - "Target" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader": { - "additionalProperties": false, - "properties": { - "Invert": { + "Encrypted": { "type": "boolean" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch" + "Iops": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch": { - "additionalProperties": false, - "properties": { - "Exact": { + "KmsKeyId": { "type": "string" }, - "Prefix": { + "SnapshotId": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" + "Throughput": { + "type": "number" }, - "Regex": { - "type": "string" + "VolumeSize": { + "type": "number" }, - "Suffix": { + "VolumeType": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader" - }, - "type": "array" - }, - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Method": { - "type": "string" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpPathMatch" - }, - "Prefix": { + "Type": { "type": "string" - }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.QueryParameter" - }, - "type": "array" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdSpecification": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification": { "additionalProperties": false, "properties": { - "DefaultPrefix": { - "type": "string" - }, - "Value": { - "type": "string" + "EnaSrdUdpEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite": { + "AWS::EC2::LaunchTemplate.EnclaveOptions": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite" - }, - "Prefix": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.HibernationOptions": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.IamInstanceProfile": { "additionalProperties": false, "properties": { - "Exact": { + "Arn": { + "type": "string" + }, + "Name": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.QueryParameter": { + "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch" - }, - "Name": { + "MarketType": { "type": "string" + }, + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Mesh": { + "AWS::EC2::LaunchTemplate.InstanceRequirements": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorCount" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.MeshSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB" + }, + "AcceleratorTypes": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Mesh" - ], + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselinePerformanceFactors" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryMiB" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkBandwidthGbps" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterfaceCount" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TotalLocalStorageGB" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.VCpuCount" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.EgressFilter": { + "AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Type": { + "Ipv4Prefix": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.MeshSpec": { + "AWS::EC2::LaunchTemplate.Ipv6Add": { "additionalProperties": false, "properties": { - "EgressFilter": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.EgressFilter" + "Ipv6Address": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route": { + "AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ipv6Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "additionalProperties": false, + "properties": { + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" }, - "Metadata": { - "type": "object" + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { - "type": "string" - }, - "RouteName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Route.RouteSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VirtualRouterName": { - "type": "string" - } + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + }, + "DisableApiStop": { + "type": "boolean" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" }, - "required": [ - "MeshName", - "Spec", - "VirtualRouterName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Route" - ], + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + }, + "ImageId": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstanceInitiatedShutdownBehavior": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AppMesh::Route.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { + }, + "InstanceMarketOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceRequirements" + }, + "InstanceType": { "type": "string" }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::Route.GrpcRetryPolicy": { - "additionalProperties": false, - "properties": { - "GrpcRetryEvents": { + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LicenseSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" }, "type": "array" }, - "HttpRetryEvents": { + "MaintenanceOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MaintenanceOptions" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + }, + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + }, + "NetworkInterfaces": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" }, "type": "array" }, - "MaxRetries": { - "type": "number" + "NetworkPerformanceOptions": { + "type": "object" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateDnsNameOptions" }, - "TcpRetryEvents": { + "RamDiskId": { + "type": "string" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { "items": { "type": "string" }, "type": "array" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" + }, + "type": "array" + }, + "UserData": { + "type": "string" } }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRoute": { + "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMatch" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRetryPolicy" + "Count": { + "type": "number" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcTimeout" + "Type": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteAction": { + "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { "additionalProperties": false, "properties": { - "WeightedTargets": { + "ResourceType": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMatch": { + "AWS::EC2::LaunchTemplate.LicenseSpecification": { "additionalProperties": false, "properties": { - "Metadata": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadata" - }, - "type": "array" - }, - "MethodName": { - "type": "string" - }, - "ServiceName": { + "LicenseConfigurationArn": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadata": { + "AWS::EC2::LaunchTemplate.MaintenanceOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod" - }, - "Name": { + "AutoRecovery": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod": { + "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcTimeout": { + "AWS::EC2::LaunchTemplate.MemoryMiB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HeaderMatchMethod": { + "AWS::EC2::LaunchTemplate.MetadataOptions": { "additionalProperties": false, "properties": { - "Exact": { + "HttpEndpoint": { "type": "string" }, - "Prefix": { + "HttpProtocolIpv6": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" + "HttpPutResponseHopLimit": { + "type": "number" }, - "Regex": { + "HttpTokens": { "type": "string" }, - "Suffix": { + "InstanceMetadataTags": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.Monitoring": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.NetworkBandwidthGbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpRetryPolicy": { + "AWS::EC2::LaunchTemplate.NetworkInterface": { "additionalProperties": false, "properties": { - "HttpRetryEvents": { + "AssociateCarrierIpAddress": { + "type": "boolean" + }, + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdSpecification" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "MaxRetries": { + "InterfaceType": { + "type": "string" + }, + "Ipv4PrefixCount": { "type": "number" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Ipv4Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification" + }, + "type": "array" + }, + "Ipv6AddressCount": { + "type": "number" }, - "TcpRetryEvents": { + "Ipv6Addresses": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" }, "type": "array" - } - }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRoute": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteAction" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteMatch" + "Ipv6PrefixCount": { + "type": "number" }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRetryPolicy" + "Ipv6Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification" + }, + "type": "array" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpTimeout" - } - }, - "required": [ - "Action", - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "NetworkCardIndex": { + "type": "number" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PrimaryIpv6": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" }, "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { + "type": "string" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteHeader": { + "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HeaderMatchMethod" + "Max": { + "type": "number" }, - "Name": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteMatch": { + "AWS::EC2::LaunchTemplate.Placement": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteHeader" - }, - "type": "array" + "Affinity": { + "type": "string" }, - "Method": { + "AvailabilityZone": { "type": "string" }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpPathMatch" + "GroupId": { + "type": "string" }, - "Prefix": { + "GroupName": { "type": "string" }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.QueryParameter" - }, - "type": "array" + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" }, - "Scheme": { + "Tenancy": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpTimeout": { + "AWS::EC2::LaunchTemplate.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsARecord": { + "type": "boolean" + }, + "HostnameType": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.MatchRange": { + "AWS::EC2::LaunchTemplate.PrivateIpAdd": { "additionalProperties": false, "properties": { - "End": { - "type": "number" + "Primary": { + "type": "boolean" }, - "Start": { - "type": "number" + "PrivateIpAddress": { + "type": "string" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::Route.QueryParameter": { + "AWS::EC2::LaunchTemplate.Reference": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpQueryParameterMatch" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.RouteSpec": { + "AWS::EC2::LaunchTemplate.SpotOptions": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRoute" + "BlockDurationMinutes": { + "type": "number" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "InstanceInterruptionBehavior": { + "type": "string" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "MaxPrice": { + "type": "string" }, - "Priority": { - "type": "number" + "SpotInstanceType": { + "type": "string" }, - "TcpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRoute" + "ValidUntil": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.TcpRoute": { + "AWS::EC2::LaunchTemplate.TagSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRouteAction" + "ResourceType": { + "type": "string" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpTimeout" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::AppMesh::Route.TcpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.TcpTimeout": { + "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.WeightedTarget": { + "AWS::EC2::LaunchTemplate.VCpuCount": { "additionalProperties": false, "properties": { - "VirtualNode": { - "type": "string" + "Max": { + "type": "number" }, - "Weight": { + "Min": { "type": "number" } }, - "required": [ - "VirtualNode", - "Weight" - ], "type": "object" }, - "AWS::AppMesh::VirtualGateway": { + "AWS::EC2::LocalGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9215,34 +8622,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "DestinationCidrBlock": { "type": "string" }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewaySpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "LocalGatewayVirtualInterfaceGroupId": { + "type": "string" }, - "VirtualGatewayName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "DestinationCidrBlock", + "LocalGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualGateway" + "AWS::EC2::LocalGatewayRoute" ], "type": "string" }, @@ -9261,431 +8662,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayLogging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewaySpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayLogging" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode": { + "AWS::EC2::LocalGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9717,34 +8694,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayId": { "type": "string" }, - "MeshOwner": { + "Mode": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualNodeName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualNode" + "AWS::EC2::LocalGatewayRouteTable" ], "type": "string" }, @@ -9763,638 +8733,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualNode.AccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.FileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute" - }, - "type": "array" - }, - "NamespaceName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "NamespaceName", - "ServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Backend": { - "additionalProperties": false, - "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualServiceBackend" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.BackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.DnsServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "ResponseType": { - "type": "string" - } - }, - "required": [ - "Hostname" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.FileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.GrpcTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HttpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Listener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HealthCheck" - }, - "OutlierDetection": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.OutlierDetection" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.PortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTls" - }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTimeout" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTimeout": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.GrpcTimeout" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TcpTimeout" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Logging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.OutlierDetection": { - "additionalProperties": false, - "properties": { - "BaseEjectionDuration": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "Interval": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "MaxEjectionPercent": { - "type": "number" - }, - "MaxServerErrors": { - "type": "number" - } - }, - "required": [ - "BaseEjectionDuration", - "Interval", - "MaxEjectionPercent", - "MaxServerErrors" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ServiceDiscovery": { - "additionalProperties": false, - "properties": { - "AWSCloudMap": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery" - }, - "DNS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.DnsServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TcpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeSpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.BackendDefaults" - }, - "Backends": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Backend" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Listener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Logging" - }, - "ServiceDiscovery": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualServiceBackend": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - }, - "VirtualServiceName": { - "type": "string" - } - }, - "required": [ - "VirtualServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter": { + "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10426,34 +8765,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "VirtualRouterName": { + "VpcId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayRouteTableId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualRouter" + "AWS::EC2::LocalGatewayRouteTableVPCAssociation" ], "type": "string" }, @@ -10472,50 +8805,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualRouter.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterListener": { - "additionalProperties": false, - "properties": { - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.PortMapping" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterSpec": { - "additionalProperties": false, - "properties": { - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterListener" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService": { + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10547,35 +8837,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayRouteTableId": { "type": "string" }, - "MeshOwner": { + "LocalGatewayVirtualInterfaceGroupId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualServiceName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualServiceName" + "LocalGatewayRouteTableId", + "LocalGatewayVirtualInterfaceGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualService" + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" ], "type": "string" }, @@ -10594,52 +8877,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualService.VirtualNodeServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNodeName": { - "type": "string" - } - }, - "required": [ - "VirtualNodeName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualRouterServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualRouterName": { - "type": "string" - } - }, - "required": [ - "VirtualRouterName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNode": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualNodeServiceProvider" - }, - "VirtualRouter": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualRouterServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceSpec": { - "additionalProperties": false, - "properties": { - "Provider": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service": { + "AWS::EC2::NatGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10671,23 +8909,35 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingConfigurationArn": { + "AllocationId": { "type": "string" }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.EncryptionConfiguration" - }, - "HealthCheckConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.HealthCheckConfiguration" + "ConnectivityType": { + "type": "string" }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.InstanceConfiguration" + "MaxDrainDurationSeconds": { + "type": "number" }, - "ServiceName": { + "PrivateIpAddress": { "type": "string" }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceConfiguration" + "SecondaryAllocationIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SecondaryPrivateIpAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -10697,13 +8947,13 @@ var CloudformationSchema = `{ } }, "required": [ - "SourceConfiguration" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppRunner::Service" + "AWS::EC2::NatGateway" ], "type": "string" }, @@ -10722,214 +8972,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppRunner::Service.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "AccessRoleArn": { - "type": "string" - }, - "ConnectionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeConfigurationValues": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfigurationValues" - }, - "ConfigurationSource": { - "type": "string" - } - }, - "required": [ - "ConfigurationSource" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfigurationValues": { - "additionalProperties": false, - "properties": { - "BuildCommand": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "required": [ - "Runtime" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeRepository": { - "additionalProperties": false, - "properties": { - "CodeConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfiguration" - }, - "RepositoryUrl": { - "type": "string" - }, - "SourceCodeVersion": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceCodeVersion" - } - }, - "required": [ - "RepositoryUrl", - "SourceCodeVersion" - ], - "type": "object" - }, - "AWS::AppRunner::Service.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKey": { - "type": "string" - } - }, - "required": [ - "KmsKey" - ], - "type": "object" - }, - "AWS::AppRunner::Service.HealthCheckConfiguration": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Timeout": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageConfiguration": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageRepository": { - "additionalProperties": false, - "properties": { - "ImageConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageConfiguration" - }, - "ImageIdentifier": { - "type": "string" - }, - "ImageRepositoryType": { - "type": "string" - } - }, - "required": [ - "ImageIdentifier", - "ImageRepositoryType" - ], - "type": "object" - }, - "AWS::AppRunner::Service.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "Cpu": { - "type": "string" - }, - "InstanceRoleArn": { - "type": "string" - }, - "Memory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.SourceCodeVersion": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::AppRunner::Service.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.AuthenticationConfiguration" - }, - "AutoDeploymentsEnabled": { - "type": "boolean" - }, - "CodeRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeRepository" - }, - "ImageRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageRepository" - } - }, - "type": "object" - }, - "AWS::AppStream::AppBlock": { + "AWS::EC2::NetworkAcl": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10961,38 +9004,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SetupScriptDetails": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.ScriptDetails" - }, - "SourceS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "VpcId": { + "type": "string" } }, "required": [ - "Name", - "SetupScriptDetails", - "SourceS3Location" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::AppBlock" + "AWS::EC2::NetworkAcl" ], "type": "string" }, @@ -11011,46 +9040,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::AppBlock.S3Location": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::AppStream::AppBlock.ScriptDetails": { - "additionalProperties": false, - "properties": { - "ExecutableParameters": { - "type": "string" - }, - "ExecutablePath": { - "type": "string" - }, - "ScriptS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "ExecutablePath", - "ScriptS3Location", - "TimeoutInSeconds" - ], - "type": "object" - }, - "AWS::AppStream::Application": { + "AWS::EC2::NetworkAclEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11082,68 +9072,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AppBlockArn": { - "type": "string" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DisplayName": { + "CidrBlock": { "type": "string" }, - "IconS3Location": { - "$ref": "#/definitions/AWS::AppStream::Application.S3Location" - }, - "InstanceFamilies": { - "items": { - "type": "string" - }, - "type": "array" + "Egress": { + "type": "boolean" }, - "LaunchParameters": { - "type": "string" + "Icmp": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" }, - "LaunchPath": { + "Ipv6CidrBlock": { "type": "string" }, - "Name": { + "NetworkAclId": { "type": "string" }, - "Platforms": { - "items": { - "type": "string" - }, - "type": "array" + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Protocol": { + "type": "number" }, - "WorkingDirectory": { + "RuleAction": { "type": "string" + }, + "RuleNumber": { + "type": "number" } }, "required": [ - "AppBlockArn", - "IconS3Location", - "InstanceFamilies", - "LaunchPath", - "Name", - "Platforms" + "NetworkAclId", + "Protocol", + "RuleAction", + "RuleNumber" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Application" + "AWS::EC2::NetworkAclEntry" ], "type": "string" }, @@ -11162,23 +9129,31 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::Application.S3Location": { + "AWS::EC2::NetworkAclEntry.Icmp": { "additionalProperties": false, "properties": { - "S3Bucket": { - "type": "string" + "Code": { + "type": "number" }, - "S3Key": { - "type": "string" + "Type": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkAclEntry.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" } }, - "required": [ - "S3Bucket", - "S3Key" - ], "type": "object" }, - "AWS::AppStream::ApplicationFleetAssociation": { + "AWS::EC2::NetworkInsightsAccessScope": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11210,22 +9185,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationArn": { - "type": "string" + "ExcludePaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" }, - "FleetName": { - "type": "string" + "MatchPaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApplicationArn", - "FleetName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ApplicationFleetAssociation" + "AWS::EC2::NetworkInsightsAccessScope" ], "type": "string" }, @@ -11239,12 +9222,116 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppStream::DirectoryConfig": { + "AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest": { + "additionalProperties": false, + "properties": { + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "Source": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "ThroughResources": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest": { + "additionalProperties": false, + "properties": { + "PacketHeaderStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest" + }, + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Resources": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScopeAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11276,29 +9363,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DirectoryName": { + "NetworkInsightsAccessScopeId": { "type": "string" }, - "OrganizationalUnitDistinguishedNames": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "ServiceAccountCredentials": { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig.ServiceAccountCredentials" } }, "required": [ - "DirectoryName", - "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials" + "NetworkInsightsAccessScopeId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::DirectoryConfig" + "AWS::EC2::NetworkInsightsAccessScopeAnalysis" ], "type": "string" }, @@ -11317,23 +9399,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::DirectoryConfig.ServiceAccountCredentials": { - "additionalProperties": false, - "properties": { - "AccountName": { - "type": "string" - }, - "AccountPassword": { - "type": "string" - } - }, - "required": [ - "AccountName", - "AccountPassword" - ], - "type": "object" - }, - "AWS::AppStream::Fleet": { + "AWS::EC2::NetworkInsightsAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11365,82 +9431,36 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeCapacity": { - "$ref": "#/definitions/AWS::AppStream::Fleet.ComputeCapacity" - }, - "Description": { - "type": "string" - }, - "DisconnectTimeoutInSeconds": { - "type": "number" - }, - "DisplayName": { - "type": "string" - }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::Fleet.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" - }, - "FleetType": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - }, - "IdleDisconnectTimeoutInSeconds": { - "type": "number" - }, - "ImageArn": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "MaxConcurrentSessions": { - "type": "number" - }, - "MaxUserDurationInSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "StreamView": { - "type": "string" - }, - "Tags": { + "AdditionalAccounts": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "UsbDeviceFilterStrings": { + "FilterInArns": { "items": { "type": "string" }, "type": "array" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::Fleet.VpcConfig" + "NetworkInsightsPathId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "InstanceType", - "Name" + "NetworkInsightsPathId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Fleet" + "AWS::EC2::NetworkInsightsAnalysis" ], "type": "string" }, @@ -11459,57 +9479,492 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::Fleet.ComputeCapacity": { - "additionalProperties": false, - "properties": { - "DesiredInstances": { - "type": "number" - } - }, - "required": [ - "DesiredInstances" - ], - "type": "object" - }, - "AWS::AppStream::Fleet.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail": { "additionalProperties": false, "properties": { - "DirectoryName": { + "AdditionalDetailType": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancers": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "ServiceName": { "type": "string" } }, "type": "object" }, - "AWS::AppStream::Fleet.VpcConfig": { + "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentArn": { + "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentId": { + "type": "string" } }, "type": "object" }, - "AWS::AppStream::ImageBuilder": { + "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Cidr": { + "type": "string" + }, + "Egress": { + "type": "boolean" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "Protocol": { + "type": "string" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "Id": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "additionalProperties": false, + "properties": { + "InstancePort": { + "type": "number" + }, + "LoadBalancerPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "additionalProperties": false, + "properties": { + "Address": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "Instance": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Port": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "Protocol": { + "type": "string" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "additionalProperties": false, + "properties": { + "NatGatewayId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "Origin": { + "type": "string" + }, + "State": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcPeeringConnectionId": { + "type": "string" + }, + "destinationCidr": { + "type": "string" + }, + "destinationPrefixListId": { + "type": "string" + }, + "egressOnlyInternetGatewayId": { + "type": "string" + }, + "gatewayId": { + "type": "string" + }, + "instanceId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Direction": { + "type": "string" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "PrefixListId": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SecurityGroupId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "additionalProperties": false, + "properties": { + "Acl": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "Address": { + "type": "string" + }, + "Addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AttachedTo": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ClassicLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ComponentAccount": { + "type": "string" + }, + "ComponentRegion": { + "type": "string" + }, + "CustomerGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Direction": { + "type": "string" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ExplanationCode": { + "type": "string" + }, + "IngressRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "InternetGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerArn": { + "type": "string" + }, + "LoadBalancerListenerPort": { + "type": "number" + }, + "LoadBalancerTarget": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" + }, + "LoadBalancerTargetGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerTargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "LoadBalancerTargetPort": { + "type": "number" + }, + "MissingComponent": { + "type": "string" + }, + "NatGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "NetworkInterface": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "PacketField": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "PrefixList": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "RouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "State": { + "type": "string" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SubnetRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayAttachment": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpcPeeringConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "vpcEndpoint": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { + "additionalProperties": false, + "properties": { + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "AdditionalDetails": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail" + }, + "type": "array" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Explanations": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.Explanation" + }, + "type": "array" + }, + "InboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "OutboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SequenceNumber": { + "type": "number" + }, + "ServiceName": { + "type": "string" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute": { + "additionalProperties": false, + "properties": { + "AttachmentId": { + "type": "string" + }, + "DestinationCidr": { + "type": "string" + }, + "PrefixListId": { + "type": "string" + }, + "ResourceId": { + "type": "string" + }, + "ResourceType": { + "type": "string" + }, + "RouteOrigin": { + "type": "string" + }, + "State": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsPath": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, "DependsOn": { @@ -11533,40 +9988,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.AccessEndpoint" - }, - "type": "array" - }, - "AppstreamAgentVersion": { - "type": "string" - }, - "Description": { + "Destination": { "type": "string" }, - "DisplayName": { + "DestinationIp": { "type": "string" }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" + "DestinationPort": { + "type": "number" }, - "IamRoleArn": { - "type": "string" + "FilterAtDestination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageArn": { - "type": "string" + "FilterAtSource": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageName": { + "Protocol": { "type": "string" }, - "InstanceType": { + "Source": { "type": "string" }, - "Name": { + "SourceIp": { "type": "string" }, "Tags": { @@ -11574,20 +10017,17 @@ var CloudformationSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.VpcConfig" } }, "required": [ - "InstanceType", - "Name" + "Protocol", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ImageBuilder" + "AWS::EC2::NetworkInsightsPath" ], "type": "string" }, @@ -11606,53 +10046,37 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::ImageBuilder.AccessEndpoint": { + "AWS::EC2::NetworkInsightsPath.FilterPortRange": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "FromPort": { + "type": "number" }, - "VpceId": { - "type": "string" + "ToPort": { + "type": "number" } }, - "required": [ - "EndpointType", - "VpceId" - ], "type": "object" }, - "AWS::AppStream::ImageBuilder.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsPath.PathFilter": { "additionalProperties": false, "properties": { - "DirectoryName": { + "DestinationAddress": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" + }, + "SourceAddress": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppStream::ImageBuilder.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" } }, "type": "object" }, - "AWS::AppStream::Stack": { + "AWS::EC2::NetworkInterface": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11684,69 +10108,81 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.AccessEndpoint" - }, - "type": "array" + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.ConnectionTrackingSpecification" }, - "ApplicationSettings": { - "$ref": "#/definitions/AWS::AppStream::Stack.ApplicationSettings" + "Description": { + "type": "string" }, - "AttributesToDelete": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "DeleteStorageConnectors": { - "type": "boolean" - }, - "Description": { + "InterfaceType": { "type": "string" }, - "DisplayName": { - "type": "string" + "Ipv4PrefixCount": { + "type": "number" }, - "EmbedHostDomains": { + "Ipv4Prefixes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv4PrefixSpecification" }, "type": "array" }, - "FeedbackURL": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "Name": { - "type": "string" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" + }, + "type": "array" }, - "RedirectURL": { - "type": "string" + "Ipv6PrefixCount": { + "type": "number" }, - "StorageConnectors": { + "Ipv6Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.StorageConnector" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv6PrefixSpecification" }, "type": "array" }, - "Tags": { + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" }, "type": "array" }, - "UserSettings": { + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.UserSetting" + "$ref": "#/definitions/Tag" }, "type": "array" } }, + "required": [ + "SubnetId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Stack" + "AWS::EC2::NetworkInterface" ], "type": "string" }, @@ -11760,79 +10196,79 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppStream::Stack.AccessEndpoint": { + "AWS::EC2::NetworkInterface.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "TcpEstablishedTimeout": { + "type": "number" + }, + "UdpStreamTimeout": { + "type": "number" }, - "VpceId": { + "UdpTimeout": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterface.InstanceIpv6Address": { + "additionalProperties": false, + "properties": { + "Ipv6Address": { "type": "string" } }, "required": [ - "EndpointType", - "VpceId" + "Ipv6Address" ], "type": "object" }, - "AWS::AppStream::Stack.ApplicationSettings": { + "AWS::EC2::NetworkInterface.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "SettingsGroup": { + "Ipv4Prefix": { "type": "string" } }, "required": [ - "Enabled" + "Ipv4Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.StorageConnector": { + "AWS::EC2::NetworkInterface.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "ConnectorType": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdentifier": { + "Ipv6Prefix": { "type": "string" } }, "required": [ - "ConnectorType" + "Ipv6Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.UserSetting": { + "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "Action": { - "type": "string" + "Primary": { + "type": "boolean" }, - "Permission": { + "PrivateIpAddress": { "type": "string" } }, "required": [ - "Action", - "Permission" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppStream::StackFleetAssociation": { + "AWS::EC2::NetworkInterfaceAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11864,22 +10300,32 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FleetName": { + "DeleteOnTermination": { + "type": "boolean" + }, + "DeviceIndex": { "type": "string" }, - "StackName": { + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification" + }, + "InstanceId": { + "type": "string" + }, + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "FleetName", - "StackName" + "DeviceIndex", + "InstanceId", + "NetworkInterfaceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackFleetAssociation" + "AWS::EC2::NetworkInterfaceAttachment" ], "type": "string" }, @@ -11898,7 +10344,28 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::StackUserAssociation": { + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdUdpEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfacePermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11930,29 +10397,26 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "AwsAccountId": { "type": "string" }, - "SendEmailNotification": { - "type": "boolean" - }, - "StackName": { + "NetworkInterfaceId": { "type": "string" }, - "UserName": { + "Permission": { "type": "string" } }, "required": [ - "AuthenticationType", - "StackName", - "UserName" + "AwsAccountId", + "NetworkInterfaceId", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackUserAssociation" + "AWS::EC2::NetworkInterfacePermission" ], "type": "string" }, @@ -11971,7 +10435,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppStream::User": { + "AWS::EC2::NetworkPerformanceMetricSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12003,31 +10467,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { - "type": "string" - }, - "FirstName": { + "Destination": { "type": "string" }, - "LastName": { + "Metric": { "type": "string" }, - "MessageAction": { + "Source": { "type": "string" }, - "UserName": { + "Statistic": { "type": "string" } }, "required": [ - "AuthenticationType", - "UserName" + "Destination", + "Metric", + "Source", + "Statistic" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::User" + "AWS::EC2::NetworkPerformanceMetricSubscription" ], "type": "string" }, @@ -12046,7 +10509,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::ApiCache": { + "AWS::EC2::PlacementGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12078,36 +10541,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiCachingBehavior": { - "type": "string" + "PartitionCount": { + "type": "number" }, - "ApiId": { + "SpreadLevel": { "type": "string" }, - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "Ttl": { - "type": "number" - }, - "Type": { + "Strategy": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiCachingBehavior", - "ApiId", - "Ttl", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiCache" + "AWS::EC2::PlacementGroup" ], "type": "string" }, @@ -12121,12 +10575,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppSync::ApiKey": { + "AWS::EC2::PrefixList": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12158,27 +10611,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AddressFamily": { "type": "string" }, - "ApiKeyId": { - "type": "string" + "Entries": { + "items": { + "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" + }, + "type": "array" }, - "Description": { + "MaxEntries": { + "type": "number" + }, + "PrefixListName": { "type": "string" }, - "Expires": { - "type": "number" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ApiId" + "AddressFamily", + "PrefixListName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiKey" + "AWS::EC2::PrefixList" ], "type": "string" }, @@ -12197,7 +10660,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::DataSource": { + "AWS::EC2::PrefixList.Entry": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "required": [ + "Cidr" + ], + "type": "object" + }, + "AWS::EC2::Route": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12229,50 +10707,60 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CarrierGatewayId": { "type": "string" }, - "Description": { + "CoreNetworkArn": { "type": "string" }, - "DynamoDBConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DynamoDBConfig" + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationIpv6CidrBlock": { + "type": "string" }, - "ElasticsearchConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.ElasticsearchConfig" + "DestinationPrefixListId": { + "type": "string" }, - "HttpConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.HttpConfig" + "EgressOnlyInternetGatewayId": { + "type": "string" }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.LambdaConfig" + "GatewayId": { + "type": "string" }, - "Name": { + "InstanceId": { "type": "string" }, - "OpenSearchServiceConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.OpenSearchServiceConfig" + "LocalGatewayId": { + "type": "string" }, - "RelationalDatabaseConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RelationalDatabaseConfig" + "NatGatewayId": { + "type": "string" }, - "ServiceRoleArn": { + "NetworkInterfaceId": { "type": "string" }, - "Type": { + "RouteTableId": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcEndpointId": { + "type": "string" + }, + "VpcPeeringConnectionId": { "type": "string" } }, "required": [ - "ApiId", - "Name", - "Type" + "RouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::DataSource" + "AWS::EC2::Route" ], "type": "string" }, @@ -12291,179 +10779,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::DataSource.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationType": { - "type": "string" - }, - "AwsIamConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AwsIamConfig" - } - }, - "required": [ - "AuthorizationType" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.AwsIamConfig": { - "additionalProperties": false, - "properties": { - "SigningRegion": { - "type": "string" - }, - "SigningServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::DataSource.DeltaSyncConfig": { - "additionalProperties": false, - "properties": { - "BaseTableTTL": { - "type": "string" - }, - "DeltaSyncTableName": { - "type": "string" - }, - "DeltaSyncTableTTL": { - "type": "string" - } - }, - "required": [ - "BaseTableTTL", - "DeltaSyncTableName", - "DeltaSyncTableTTL" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.DynamoDBConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "DeltaSyncConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DeltaSyncConfig" - }, - "TableName": { - "type": "string" - }, - "UseCallerCredentials": { - "type": "boolean" - }, - "Versioned": { - "type": "boolean" - } - }, - "required": [ - "AwsRegion", - "TableName" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.ElasticsearchConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.HttpConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AuthorizationConfig" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.LambdaConfig": { - "additionalProperties": false, - "properties": { - "LambdaFunctionArn": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.OpenSearchServiceConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RdsHttpEndpointConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "AwsSecretStoreArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DbClusterIdentifier": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "AwsSecretStoreArn", - "DbClusterIdentifier" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RelationalDatabaseConfig": { - "additionalProperties": false, - "properties": { - "RdsHttpEndpointConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RdsHttpEndpointConfig" - }, - "RelationalDatabaseSourceType": { - "type": "string" - } - }, - "required": [ - "RelationalDatabaseSourceType" - ], - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration": { + "AWS::EC2::RouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12495,48 +10811,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "DataSourceName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RequestMappingTemplate": { - "type": "string" - }, - "RequestMappingTemplateS3Location": { - "type": "string" - }, - "ResponseMappingTemplate": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "ResponseMappingTemplateS3Location": { + "VpcId": { "type": "string" - }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.SyncConfig" } }, "required": [ - "ApiId", - "DataSourceName", - "FunctionVersion", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::FunctionConfiguration" + "AWS::EC2::RouteTable" ], "type": "string" }, @@ -12555,34 +10847,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi": { + "AWS::EC2::SecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12614,43 +10879,42 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdditionalAuthenticationProviders": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders" - }, - "AuthenticationType": { + "GroupDescription": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "LogConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LogConfig" - }, - "Name": { + "GroupName": { "type": "string" }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "SecurityGroupEgress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" + }, + "type": "array" }, - "Tags": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.Tags" + "SecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" + }, + "type": "array" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.UserPoolConfig" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "XrayEnabled": { - "type": "boolean" + "VpcId": { + "type": "string" } }, "required": [ - "AuthenticationType", - "Name" + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLApi" + "AWS::EC2::SecurityGroup" ], "type": "string" }, @@ -12669,119 +10933,79 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider": { + "AWS::EC2::SecurityGroup.Egress": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "CidrIp": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "CidrIpv6": { + "type": "string" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.CognitoUserPoolConfig" - } - }, - "required": [ - "AuthenticationType" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.CognitoUserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + "Description": { "type": "string" }, - "AwsRegion": { + "DestinationPrefixListId": { "type": "string" }, - "UserPoolId": { + "DestinationSecurityGroupId": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AuthorizerResultTtlInSeconds": { + }, + "FromPort": { "type": "number" }, - "AuthorizerUri": { + "IpProtocol": { "type": "string" }, - "IdentityValidationExpression": { - "type": "string" + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLApi.LogConfig": { + "AWS::EC2::SecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "CloudWatchLogsRoleArn": { + "CidrIp": { "type": "string" }, - "ExcludeVerboseContent": { - "type": "boolean" - }, - "FieldLogLevel": { + "CidrIpv6": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.OpenIDConnectConfig": { - "additionalProperties": false, - "properties": { - "AuthTTL": { - "type": "number" }, - "ClientId": { + "Description": { "type": "string" }, - "IatTTL": { + "FromPort": { "type": "number" }, - "Issuer": { + "IpProtocol": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.Tags": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.UserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + }, + "SourcePrefixListId": { "type": "string" }, - "AwsRegion": { + "SourceSecurityGroupId": { "type": "string" }, - "DefaultAction": { + "SourceSecurityGroupName": { "type": "string" }, - "UserPoolId": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLSchema": { + "AWS::EC2::SecurityGroupEgress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12813,24 +11037,43 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { "type": "string" }, - "Definition": { + "FromPort": { + "type": "number" + }, + "GroupId": { "type": "string" }, - "DefinitionS3Location": { + "IpProtocol": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId" + "GroupId", + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLSchema" + "AWS::EC2::SecurityGroupEgress" ], "type": "string" }, @@ -12849,7 +11092,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::Resolver": { + "AWS::EC2::SecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12881,53 +11124,51 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "CachingConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.CachingConfig" - }, - "DataSourceName": { + "CidrIpv6": { "type": "string" }, - "FieldName": { + "Description": { "type": "string" }, - "Kind": { - "type": "string" + "FromPort": { + "type": "number" }, - "PipelineConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.PipelineConfig" + "GroupId": { + "type": "string" }, - "RequestMappingTemplate": { + "GroupName": { "type": "string" }, - "RequestMappingTemplateS3Location": { + "IpProtocol": { "type": "string" }, - "ResponseMappingTemplate": { + "SourcePrefixListId": { "type": "string" }, - "ResponseMappingTemplateS3Location": { + "SourceSecurityGroupId": { "type": "string" }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.SyncConfig" + "SourceSecurityGroupName": { + "type": "string" }, - "TypeName": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId", - "FieldName", - "TypeName" + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::Resolver" + "AWS::EC2::SecurityGroupIngress" ], "type": "string" }, @@ -12946,61 +11187,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AppSync::Resolver.CachingConfig": { - "additionalProperties": false, - "properties": { - "CachingKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ttl": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.PipelineConfig": { - "additionalProperties": false, - "properties": { - "Functions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget": { + "AWS::EC2::SecurityGroupVpcAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13032,47 +11219,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "ScalableDimension": { + "GroupId": { "type": "string" }, - "ScheduledActions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction" - }, - "type": "array" - }, - "ServiceNamespace": { + "VpcId": { "type": "string" - }, - "SuspendedState": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "RoleARN", - "ScalableDimension", - "ServiceNamespace" + "GroupId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalableTarget" + "AWS::EC2::SecurityGroupVpcAssociation" ], "type": "string" }, @@ -13091,62 +11253,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "ScalableTargetAction": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "Schedule", - "ScheduledActionName" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState": { - "additionalProperties": false, - "properties": { - "DynamicScalingInSuspended": { - "type": "boolean" - }, - "DynamicScalingOutSuspended": { - "type": "boolean" - }, - "ScheduledScalingSuspended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy": { + "AWS::EC2::SnapshotBlockPublicAccess": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13178,40 +11285,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingTargetId": { - "type": "string" - }, - "ServiceNamespace": { + "State": { "type": "string" - }, - "StepScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration" } }, "required": [ - "PolicyName", - "PolicyType" + "State" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalingPolicy" + "AWS::EC2::SnapshotBlockPublicAccess" ], "type": "string" }, @@ -13230,136 +11315,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "Cooldown": { - "type": "number" - }, - "MetricAggregationType": { - "type": "string" - }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::ApplicationInsights::Application": { + "AWS::EC2::SpotFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13391,54 +11347,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentMonitoringSetting" - }, - "type": "array" - }, - "CustomComponents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.CustomComponent" - }, - "type": "array" - }, - "LogPatternSets": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPatternSet" - }, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "type": "string" - }, - "ResourceGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SpotFleetRequestConfigData": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" } }, "required": [ - "ResourceGroupName" + "SpotFleetRequestConfigData" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationInsights::Application" + "AWS::EC2::SpotFleet" ], "type": "string" }, @@ -13457,1405 +11377,716 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::ApplicationInsights::Application.Alarm": { + "AWS::EC2::SpotFleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "AlarmName": { - "type": "string" + "Max": { + "type": "number" }, - "Severity": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "AlarmName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.AlarmMetric": { + "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "AlarmMetricName": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, - "required": [ - "AlarmMetricName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentConfiguration": { + "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ConfigurationDetails" + "Max": { + "type": "number" }, - "SubComponentTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentTypeConfiguration" - }, - "type": "array" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentMonitoringSetting": { + "AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "ComponentARN": { + "Cpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.CpuPerformanceFactorRequest" + } + }, + "type": "object" + }, + "AWS::EC2::SpotFleet.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "ComponentConfigurationMode": { - "type": "string" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" }, - "ComponentName": { + "NoDevice": { "type": "string" }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "Tier": { + "VirtualName": { "type": "string" } }, "required": [ - "ComponentConfigurationMode", - "Tier" + "DeviceName" ], "type": "object" }, - "AWS::ApplicationInsights::Application.ConfigurationDetails": { + "AWS::EC2::SpotFleet.ClassicLoadBalancer": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Alarm" - }, - "type": "array" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.JMXPrometheusExporter" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Name": { + "type": "string" } }, + "required": [ + "Name" + ], "type": "object" }, - "AWS::ApplicationInsights::Application.CustomComponent": { + "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { "additionalProperties": false, "properties": { - "ComponentName": { - "type": "string" - }, - "ResourceList": { + "ClassicLoadBalancers": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" }, "type": "array" } }, "required": [ - "ComponentName", - "ResourceList" + "ClassicLoadBalancers" ], "type": "object" }, - "AWS::ApplicationInsights::Application.JMXPrometheusExporter": { + "AWS::EC2::SpotFleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.Log": { + "AWS::EC2::SpotFleet.EbsBlockDevice": { "additionalProperties": false, "properties": { - "Encoding": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "LogGroupName": { - "type": "string" + "Encrypted": { + "type": "boolean" }, - "LogPath": { - "type": "string" + "Iops": { + "type": "number" }, - "LogType": { + "SnapshotId": { "type": "string" }, - "PatternSet": { + "VolumeSize": { + "type": "number" + }, + "VolumeType": { "type": "string" } }, - "required": [ - "LogType" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPattern": { + "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "Pattern": { + "LaunchTemplateId": { "type": "string" }, - "PatternName": { + "LaunchTemplateName": { "type": "string" }, - "Rank": { - "type": "number" + "Version": { + "type": "string" } }, "required": [ - "Pattern", - "PatternName", - "Rank" + "Version" ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPatternSet": { + "AWS::EC2::SpotFleet.GroupIdentifier": { "additionalProperties": false, "properties": { - "LogPatterns": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPattern" - }, - "type": "array" - }, - "PatternSetName": { + "GroupId": { "type": "string" } }, "required": [ - "LogPatterns", - "PatternSetName" + "GroupId" ], "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentConfigurationDetails": { + "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Arn": { + "type": "string" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentTypeConfiguration": { + "AWS::EC2::SpotFleet.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentConfigurationDetails" - }, - "SubComponentType": { + "Ipv6Address": { "type": "string" } }, "required": [ - "SubComponentConfigurationDetails", - "SubComponentType" + "Ipv6Address" ], "type": "object" }, - "AWS::ApplicationInsights::Application.WindowsEvent": { + "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { "additionalProperties": false, "properties": { - "EventLevels": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "EventName": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "LogGroupName": { + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" + }, + "type": "array" + }, + "NetworkInterfaceId": { "type": "string" }, - "PatternSet": { + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { "type": "string" } }, - "required": [ - "EventLevels", - "EventName", - "LogGroupName" - ], "type": "object" }, - "AWS::Athena::DataCatalog": { + "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" }, - "Metadata": { - "type": "object" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Athena::DataCatalog" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::NamedQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BurstablePerformance": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } + "InstanceGenerations": { + "items": { + "type": "string" }, - "required": [ - "Database", - "QueryString" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Athena::NamedQuery" - ], + "LocalStorage": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::PreparedStatement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "QueryStatement": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } - }, - "required": [ - "QueryStatement", - "StatementName", - "WorkGroup" - ], - "type": "object" + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" }, - "Type": { - "enum": [ - "AWS::Athena::PreparedStatement" - ], - "type": "string" + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::WorkGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "RequireHibernateSupport": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecursiveDeleteOption": { - "type": "boolean" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkGroupConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfiguration" - }, - "WorkGroupConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates" - } - }, - "required": [ - "Name" - ], - "type": "object" + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Athena::WorkGroup" - ], - "type": "string" + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EncryptionConfiguration": { + "AWS::EC2::SpotFleet.LaunchTemplateConfig": { "additionalProperties": false, "properties": { - "EncryptionOption": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" }, - "KmsKey": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" + }, + "type": "array" } }, - "required": [ - "EncryptionOption" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EngineVersion": { + "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "EffectiveEngineVersion": { + "AvailabilityZone": { + "type": "string" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "SpotPrice": { "type": "string" }, - "SelectedEngineVersion": { + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfiguration": { + "AWS::EC2::SpotFleet.LoadBalancersConfig": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" + "ClassicLoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" }, - "OutputLocation": { - "type": "string" + "TargetGroupsConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfigurationUpdates": { + "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" - }, - "OutputLocation": { - "type": "string" - }, - "RemoveEncryptionConfiguration": { - "type": "boolean" + "Max": { + "type": "number" }, - "RemoveOutputLocation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfiguration": { + "AWS::EC2::SpotFleet.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfiguration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates": { + "AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RemoveBytesScannedCutoffPerQuery": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfigurationUpdates" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment": { + "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentReportsDestination": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AssessmentReportsDestination" - }, - "AwsAccount": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "Description": { - "type": "string" - }, - "FrameworkId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Roles": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Role" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Scope" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AuditManager::Assessment" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AuditManager::Assessment.AWSAccount": { + "AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest": { "additionalProperties": false, "properties": { - "EmailAddress": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, "type": "object" }, - "AWS::AuditManager::Assessment.AWSService": { + "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ServiceName": { + "Primary": { + "type": "boolean" + }, + "PrivateIpAddress": { "type": "string" } }, + "required": [ + "PrivateIpAddress" + ], "type": "object" }, - "AWS::AuditManager::Assessment.AssessmentReportsDestination": { + "AWS::EC2::SpotFleet.SpotCapacityRebalance": { "additionalProperties": false, "properties": { - "Destination": { + "ReplacementStrategy": { "type": "string" }, - "DestinationType": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Delegation": { + "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { "additionalProperties": false, "properties": { - "AssessmentId": { - "type": "string" + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" + }, + "type": "array" + }, + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" }, - "AssessmentName": { + "ImageId": { "type": "string" }, - "Comment": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { "type": "string" }, - "ControlSetId": { + "KernelId": { "type": "string" }, - "CreatedBy": { + "KeyName": { "type": "string" }, - "CreationTime": { - "type": "number" + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" }, - "Id": { + "NetworkInterfaces": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" + }, + "type": "array" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" + }, + "RamdiskId": { "type": "string" }, - "LastUpdated": { - "type": "number" + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" + }, + "type": "array" }, - "RoleArn": { + "SpotPrice": { "type": "string" }, - "RoleType": { + "SubnetId": { "type": "string" }, - "Status": { + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" + }, + "type": "array" + }, + "UserData": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, + "required": [ + "ImageId" + ], "type": "object" }, - "AWS::AuditManager::Assessment.Role": { + "AWS::EC2::SpotFleet.SpotFleetMonitoring": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "RoleType": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Scope": { + "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { "additionalProperties": false, "properties": { - "AwsAccounts": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "type": "array" + "AllocationStrategy": { + "type": "string" }, - "AwsServices": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSService" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup": { - "additionalProperties": false, - "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Context": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CapacityRebalance": { - "type": "boolean" - }, - "Context": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "DesiredCapacity": { - "type": "string" - }, - "DesiredCapacityType": { - "type": "string" - }, - "HealthCheckGracePeriod": { - "type": "number" - }, - "HealthCheckType": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LaunchConfigurationName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "LifecycleHookSpecificationList": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" - }, - "type": "array" - }, - "LoadBalancerNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxInstanceLifetime": { - "type": "number" - }, - "MaxSize": { - "type": "string" - }, - "MetricsCollection": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" - }, - "type": "array" - }, - "MinSize": { - "type": "string" - }, - "MixedInstancesPolicy": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - }, - "NotificationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" - }, - "type": "array" - }, - "PlacementGroup": { - "type": "string" - }, - "ServiceLinkedRoleARN": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" - }, - "type": "array" - }, - "TargetGroupARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TerminationPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VPCZoneIdentifier": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AutoScaling::AutoScalingGroup" - ], + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "UpdatePolicy": { - "type": "object" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IamFleetRole": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "InstanceInterruptionBehavior": { + "type": "string" }, - "Min": { + "InstancePoolsToUseCount": { "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { + "LaunchSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" }, "type": "array" }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { + "LaunchTemplateConfigs": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" }, "type": "array" }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" + "LoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" }, - "BurstablePerformance": { + "OnDemandAllocationStrategy": { "type": "string" }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { + "OnDemandMaxTotalPrice": { "type": "string" }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { + "OnDemandTargetCapacity": { "type": "number" }, - "RequireHibernateSupport": { + "ReplaceUnhealthyInstances": { "type": "boolean" }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { - "additionalProperties": false, - "properties": { - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandBaseCapacity": { - "type": "number" - }, - "OnDemandPercentageAboveBaseCapacity": { - "type": "number" + "SpotMaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" }, - "SpotAllocationStrategy": { + "SpotMaxTotalPrice": { "type": "string" }, - "SpotInstancePools": { - "type": "number" - }, - "SpotMaxPrice": { + "SpotPrice": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "Overrides": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" }, "type": "array" - } - }, - "required": [ - "LaunchTemplateSpecification" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "InstanceRequirements": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" - }, - "InstanceType": { - "type": "string" - }, - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { - "additionalProperties": false, - "properties": { - "DefaultResult": { - "type": "string" }, - "HeartbeatTimeout": { + "TargetCapacity": { "type": "number" }, - "LifecycleHookName": { + "TargetCapacityUnitType": { "type": "string" }, - "LifecycleTransition": { - "type": "string" + "TerminateInstancesWithExpiration": { + "type": "boolean" }, - "NotificationMetadata": { + "Type": { "type": "string" }, - "NotificationTargetARN": { + "ValidFrom": { "type": "string" }, - "RoleARN": { + "ValidUntil": { "type": "string" } }, "required": [ - "LifecycleHookName", - "LifecycleTransition" + "IamFleetRole", + "TargetCapacity" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { + "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { "additionalProperties": false, "properties": { - "Granularity": { + "ResourceType": { "type": "string" }, - "Metrics": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "Granularity" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { + "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { "additionalProperties": false, "properties": { - "InstancesDistribution": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" } }, - "required": [ - "LaunchTemplate" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "AWS::EC2::SpotFleet.SpotPlacement": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "AvailabilityZone": { + "type": "string" }, - "Min": { - "type": "number" + "GroupName": { + "type": "string" + }, + "Tenancy": { + "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "AWS::EC2::SpotFleet.TargetGroup": { "additionalProperties": false, "properties": { - "NotificationTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TopicARN": { + "Arn": { "type": "string" } }, "required": [ - "TopicARN" + "Arn" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "AWS::EC2::SpotFleet.TargetGroupsConfig": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "PropagateAtLaunch": { - "type": "boolean" - }, - "Value": { - "type": "string" + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" + }, + "type": "array" } }, "required": [ - "Key", - "PropagateAtLaunch", - "Value" + "TargetGroups" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14867,7 +12098,7 @@ var CloudformationSchema = `{ }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14879,7 +12110,7 @@ var CloudformationSchema = `{ }, "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration": { + "AWS::EC2::Subnet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -14911,82 +12142,69 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { + "AssignIpv6AddressOnCreation": { "type": "boolean" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" - }, - "type": "array" + "AvailabilityZone": { + "type": "string" }, - "ClassicLinkVPCId": { + "AvailabilityZoneId": { "type": "string" }, - "ClassicLinkVPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "EbsOptimized": { + "EnableDns64": { "type": "boolean" }, - "IamInstanceProfile": { - "type": "string" + "EnableLniAtDeviceIndex": { + "type": "number" }, - "ImageId": { + "Ipv4IpamPoolId": { "type": "string" }, - "InstanceId": { - "type": "string" - }, - "InstanceMonitoring": { - "type": "boolean" + "Ipv4NetmaskLength": { + "type": "number" }, - "InstanceType": { + "Ipv6CidrBlock": { "type": "string" }, - "KernelId": { + "Ipv6IpamPoolId": { "type": "string" }, - "KeyName": { - "type": "string" + "Ipv6Native": { + "type": "boolean" }, - "LaunchConfigurationName": { - "type": "string" + "Ipv6NetmaskLength": { + "type": "number" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + "MapPublicIpOnLaunch": { + "type": "boolean" }, - "PlacementTenancy": { + "OutpostArn": { "type": "string" }, - "RamDiskId": { - "type": "string" + "PrivateDnsNameOptionsOnLaunch": { + "$ref": "#/definitions/AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch" }, - "SecurityGroups": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SpotPrice": { - "type": "string" - }, - "UserData": { + "VpcId": { "type": "string" } }, "required": [ - "ImageId", - "InstanceType" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LaunchConfiguration" + "AWS::EC2::Subnet" ], "type": "string" }, @@ -15005,70 +12223,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { + "AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { + "EnableResourceNameDnsAAAARecord": { "type": "boolean" }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" - }, - "NoDevice": { + "EnableResourceNameDnsARecord": { "type": "boolean" }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "HostnameType": { "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::LifecycleHook": { + "AWS::EC2::SubnetCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15100,40 +12270,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Ipv6CidrBlock": { "type": "string" }, - "DefaultResult": { + "Ipv6IpamPoolId": { "type": "string" }, - "HeartbeatTimeout": { + "Ipv6NetmaskLength": { "type": "number" }, - "LifecycleHookName": { - "type": "string" - }, - "LifecycleTransition": { - "type": "string" - }, - "NotificationMetadata": { - "type": "string" - }, - "NotificationTargetARN": { - "type": "string" - }, - "RoleARN": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName", - "LifecycleTransition" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LifecycleHook" + "AWS::EC2::SubnetCidrBlock" ], "type": "string" }, @@ -15152,7 +12309,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy": { + "AWS::EC2::SubnetNetworkAclAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15184,51 +12341,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdjustmentType": { - "type": "string" - }, - "AutoScalingGroupName": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "MetricAggregationType": { + "NetworkAclId": { "type": "string" }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "PolicyType": { + "SubnetId": { "type": "string" - }, - "PredictiveScalingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" - }, - "ScalingAdjustment": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoScalingGroupName" + "NetworkAclId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScalingPolicy" + "AWS::EC2::SubnetNetworkAclAssociation" ], "type": "string" }, @@ -15247,199 +12375,73 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "AWS::EC2::SubnetRouteTableAssociation": { "additionalProperties": false, "properties": { - "PredefinedMetricType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacityBreachBehavior": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "MaxCapacityBuffer": { - "type": "number" + "Metadata": { + "type": "object" }, - "MetricSpecifications": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + "Properties": { + "additionalProperties": false, + "properties": { + "RouteTableId": { + "type": "string" + }, + "SubnetId": { + "type": "string" + } }, - "type": "array" - }, - "Mode": { - "type": "string" - }, - "SchedulingBufferTime": { - "type": "number" - } - }, - "required": [ - "MetricSpecifications" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" - }, - "PredefinedMetricPairSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" + "required": [ + "RouteTableId", + "SubnetId" + ], + "type": "object" }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { + "Type": { + "enum": [ + "AWS::EC2::SubnetRouteTableAssociation" + ], "type": "string" }, - "ResourceLabel": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" + "Type", + "Properties" ], "type": "object" }, - "AWS::AutoScaling::ScheduledAction": { + "AWS::EC2::TrafficMirrorFilter": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15471,39 +12473,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "DesiredCapacity": { - "type": "number" - }, - "EndTime": { - "type": "string" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "Recurrence": { + "Description": { "type": "string" }, - "StartTime": { - "type": "string" + "NetworkServices": { + "items": { + "type": "string" + }, + "type": "array" }, - "TimeZone": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "AutoScalingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScheduledAction" + "AWS::EC2::TrafficMirrorFilter" ], "type": "string" }, @@ -15517,12 +12507,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AutoScaling::WarmPool": { + "AWS::EC2::TrafficMirrorFilterRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15554,27 +12543,56 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Description": { "type": "string" }, - "MaxGroupPreparedCapacity": { + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Protocol": { "type": "number" }, - "MinSize": { + "RuleAction": { + "type": "string" + }, + "RuleNumber": { "type": "number" }, - "PoolState": { + "SourceCidrBlock": { + "type": "string" + }, + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficDirection": { + "type": "string" + }, + "TrafficMirrorFilterId": { "type": "string" } }, "required": [ - "AutoScalingGroupName" + "DestinationCidrBlock", + "RuleAction", + "RuleNumber", + "SourceCidrBlock", + "TrafficDirection", + "TrafficMirrorFilterId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::WarmPool" + "AWS::EC2::TrafficMirrorFilterRule" ], "type": "string" }, @@ -15593,7 +12611,23 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan": { + "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { + "additionalProperties": false, + "properties": { + "FromPort": { + "type": "number" + }, + "ToPort": { + "type": "number" + } + }, + "required": [ + "FromPort", + "ToPort" + ], + "type": "object" + }, + "AWS::EC2::TrafficMirrorSession": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15625,25 +12659,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationSource": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ApplicationSource" + "Description": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PacketLength": { + "type": "number" + }, + "SessionNumber": { + "type": "number" }, - "ScalingInstructions": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TrafficMirrorFilterId": { + "type": "string" + }, + "TrafficMirrorTargetId": { + "type": "string" + }, + "VirtualNetworkId": { + "type": "number" } }, "required": [ - "ApplicationSource", - "ScalingInstructions" + "NetworkInterfaceId", + "SessionNumber", + "TrafficMirrorFilterId", + "TrafficMirrorTargetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScalingPlans::ScalingPlan" + "AWS::EC2::TrafficMirrorSession" ], "type": "string" }, @@ -15662,233 +12716,80 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.ApplicationSource": { + "AWS::EC2::TrafficMirrorTarget": { "additionalProperties": false, "properties": { - "CloudFormationStackARN": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Statistic": { - "type": "string" + "Metadata": { + "type": "object" }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "GatewayLoadBalancerEndpointId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "NetworkLoadBalancerArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedLoadMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedScalingMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedScalingMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction": { - "additionalProperties": false, - "properties": { - "CustomizedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification" - }, - "DisableDynamicScaling": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification" - }, - "PredictiveScalingMaxCapacityBehavior": { - "type": "string" - }, - "PredictiveScalingMaxCapacityBuffer": { - "type": "number" - }, - "PredictiveScalingMode": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingPolicyUpdateBehavior": { - "type": "string" - }, - "ScheduledActionBufferTime": { - "type": "number" + "type": "object" }, - "ServiceNamespace": { + "Type": { + "enum": [ + "AWS::EC2::TrafficMirrorTarget" + ], "type": "string" }, - "TargetTrackingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration" - }, - "type": "array" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "ScalableDimension", - "ServiceNamespace", - "TargetTrackingConfigurations" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" } }, "required": [ - "TargetValue" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan": { + "AWS::EC2::TransitGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15920,27 +12821,57 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BackupPlan": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupPlanResourceType" + "AmazonSideAsn": { + "type": "number" }, - "BackupPlanTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "AssociationDefaultRouteTableId": { + "type": "string" + }, + "AutoAcceptSharedAttachments": { + "type": "string" + }, + "DefaultRouteTableAssociation": { + "type": "string" + }, + "DefaultRouteTablePropagation": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DnsSupport": { + "type": "string" + }, + "MulticastSupport": { + "type": "string" + }, + "PropagationDefaultRouteTableId": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" + }, + "TransitGatewayCidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpnEcmpSupport": { + "type": "string" } }, - "required": [ - "BackupPlan" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupPlan" + "AWS::EC2::TransitGateway" ], "type": "string" }, @@ -15954,126 +12885,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType": { - "additionalProperties": false, - "properties": { - "BackupOptions": { - "type": "object" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "BackupOptions", - "ResourceType" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupPlanResourceType": { - "additionalProperties": false, - "properties": { - "AdvancedBackupSettings": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType" - }, - "type": "array" - }, - "BackupPlanName": { - "type": "string" - }, - "BackupPlanRule": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupRuleResourceType" - }, - "type": "array" - } - }, - "required": [ - "BackupPlanName", - "BackupPlanRule" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupRuleResourceType": { - "additionalProperties": false, - "properties": { - "CompletionWindowMinutes": { - "type": "number" - }, - "CopyActions": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.CopyActionResourceType" - }, - "type": "array" - }, - "EnableContinuousBackup": { - "type": "boolean" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" - }, - "RecoveryPointTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RuleName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "StartWindowMinutes": { - "type": "number" - }, - "TargetBackupVault": { - "type": "string" - } - }, - "required": [ - "RuleName", - "TargetBackupVault" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.CopyActionResourceType": { - "additionalProperties": false, - "properties": { - "DestinationBackupVaultArn": { - "type": "string" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" - } - }, - "required": [ - "DestinationBackupVaultArn" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.LifecycleResourceType": { - "additionalProperties": false, - "properties": { - "DeleteAfterDays": { - "type": "number" - }, - "MoveToColdStorageAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Backup::BackupSelection": { + "AWS::EC2::TransitGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16105,22 +12921,38 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BackupPlanId": { + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment.Options" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "BackupSelection": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.BackupSelectionResourceType" + "VpcId": { + "type": "string" } }, "required": [ - "BackupPlanId", - "BackupSelection" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupSelection" + "AWS::EC2::TransitGatewayAttachment" ], "type": "string" }, @@ -16139,64 +12971,25 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Backup::BackupSelection.BackupSelectionResourceType": { + "AWS::EC2::TransitGatewayAttachment.Options": { "additionalProperties": false, "properties": { - "Conditions": { - "type": "object" - }, - "IamRoleArn": { + "ApplianceModeSupport": { "type": "string" }, - "ListOfTags": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.ConditionResourceType" - }, - "type": "array" - }, - "NotResources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelectionName": { - "type": "string" - } - }, - "required": [ - "IamRoleArn", - "SelectionName" - ], - "type": "object" - }, - "AWS::Backup::BackupSelection.ConditionResourceType": { - "additionalProperties": false, - "properties": { - "ConditionKey": { + "DnsSupport": { "type": "string" }, - "ConditionType": { + "Ipv6Support": { "type": "string" }, - "ConditionValue": { + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "ConditionKey", - "ConditionType", - "ConditionValue" - ], "type": "object" }, - "AWS::Backup::BackupVault": { + "AWS::EC2::TransitGatewayConnect": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16228,39 +13021,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessPolicy": { - "type": "object" - }, - "BackupVaultName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" }, - "BackupVaultTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "EncryptionKeyArn": { + "TransportTransitGatewayAttachmentId": { "type": "string" - }, - "LockConfiguration": { - "$ref": "#/definitions/AWS::Backup::BackupVault.LockConfigurationType" - }, - "Notifications": { - "$ref": "#/definitions/AWS::Backup::BackupVault.NotificationObjectType" } }, "required": [ - "BackupVaultName" + "Options", + "TransportTransitGatewayAttachmentId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupVault" + "AWS::EC2::TransitGatewayConnect" ], "type": "string" }, @@ -16279,44 +13061,16 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Backup::BackupVault.LockConfigurationType": { - "additionalProperties": false, - "properties": { - "ChangeableForDays": { - "type": "number" - }, - "MaxRetentionDays": { - "type": "number" - }, - "MinRetentionDays": { - "type": "number" - } - }, - "required": [ - "MinRetentionDays" - ], - "type": "object" - }, - "AWS::Backup::BackupVault.NotificationObjectType": { + "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { "additionalProperties": false, "properties": { - "BackupVaultEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SNSTopicArn": { + "Protocol": { "type": "string" } }, - "required": [ - "BackupVaultEvents", - "SNSTopicArn" - ], "type": "object" }, - "AWS::Backup::Framework": { + "AWS::EC2::TransitGatewayMulticastDomain": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16348,33 +13102,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FrameworkControls": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.FrameworkControl" - }, - "type": "array" - }, - "FrameworkDescription": { - "type": "string" - }, - "FrameworkName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain.Options" }, - "FrameworkTags": { + "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "FrameworkControls" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::Framework" + "AWS::EC2::TransitGatewayMulticastDomain" ], "type": "string" }, @@ -16393,44 +13141,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Backup::Framework.ControlInputParameter": { + "AWS::EC2::TransitGatewayMulticastDomain.Options": { "additionalProperties": false, "properties": { - "ParameterName": { + "AutoAcceptSharedAssociations": { "type": "string" }, - "ParameterValue": { + "Igmpv2Support": { "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Backup::Framework.FrameworkControl": { - "additionalProperties": false, - "properties": { - "ControlInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.ControlInputParameter" - }, - "type": "array" }, - "ControlName": { + "StaticSourcesSupport": { "type": "string" - }, - "ControlScope": { - "type": "object" } }, - "required": [ - "ControlName" - ], "type": "object" }, - "AWS::Backup::ReportPlan": { + "AWS::EC2::TransitGatewayMulticastDomainAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16462,34 +13188,26 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ReportDeliveryChannel": { - "type": "object" - }, - "ReportPlanDescription": { + "SubnetId": { "type": "string" }, - "ReportPlanName": { + "TransitGatewayAttachmentId": { "type": "string" }, - "ReportPlanTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ReportSetting": { - "type": "object" + "TransitGatewayMulticastDomainId": { + "type": "string" } }, "required": [ - "ReportDeliveryChannel", - "ReportSetting" + "SubnetId", + "TransitGatewayAttachmentId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::ReportPlan" + "AWS::EC2::TransitGatewayMulticastDomainAssociation" ], "type": "string" }, @@ -16508,7 +13226,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment": { + "AWS::EC2::TransitGatewayMulticastGroupMember": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16540,36 +13258,26 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentName": { - "type": "string" - }, - "ComputeResources": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.ComputeResources" - }, - "ServiceRole": { + "GroupIpAddress": { "type": "string" }, - "State": { + "NetworkInterfaceId": { "type": "string" }, - "Tags": { - "type": "object" - }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" - }, - "UnmanagedvCpus": { - "type": "number" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::ComputeEnvironment" + "AWS::EC2::TransitGatewayMulticastGroupMember" ], "type": "string" }, @@ -16588,111 +13296,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment.ComputeResources": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BidPercentage": { - "type": "number" - }, - "DesiredvCpus": { - "type": "number" - }, - "Ec2Configuration": { - "items": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject" - }, - "type": "array" - }, - "Ec2KeyPair": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification" - }, - "MaxvCpus": { - "type": "number" - }, - "MinvCpus": { - "type": "number" - }, - "PlacementGroup": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpotIamFleetRole": { - "type": "string" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "MaxvCpus", - "Subnets", - "Type" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject": { - "additionalProperties": false, - "properties": { - "ImageIdOverride": { - "type": "string" - }, - "ImageType": { - "type": "string" - } - }, - "required": [ - "ImageType" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition": { + "AWS::EC2::TransitGatewayMulticastGroupSource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16724,51 +13328,26 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ContainerProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "JobDefinitionName": { + "GroupIpAddress": { "type": "string" }, - "NodeProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeProperties" - }, - "Parameters": { - "type": "object" - }, - "PlatformCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PropagateTags": { - "type": "boolean" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.RetryStrategy" - }, - "SchedulingPriority": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Timeout" + "NetworkInterfaceId": { + "type": "string" }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobDefinition" + "AWS::EC2::TransitGatewayMulticastGroupSource" ], "type": "string" }, @@ -16787,424 +13366,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Batch::JobDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "Iam": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.ContainerProperties": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Environment" - }, - "type": "array" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FargatePlatformConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.FargatePlatformConfiguration" - }, - "Image": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobRoleArn": { - "type": "string" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.MountPoints" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NetworkConfiguration" - }, - "Privileged": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "Vcpus": { - "type": "number" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Volumes" - }, - "type": "array" - } - }, - "required": [ - "Image" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EfsVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.AuthorizationConfig" - }, - "FileSystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Environment": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EvaluateOnExit": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "OnExitCode": { - "type": "string" - }, - "OnReason": { - "type": "string" - }, - "OnStatusReason": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.FargatePlatformConfiguration": { - "additionalProperties": false, - "properties": { - "PlatformVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.MountPoints": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeProperties": { - "additionalProperties": false, - "properties": { - "MainNode": { - "type": "number" - }, - "NodeRangeProperties": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeRangeProperty" - }, - "type": "array" - }, - "NumNodes": { - "type": "number" - } - }, - "required": [ - "MainNode", - "NodeRangeProperties", - "NumNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeRangeProperty": { - "additionalProperties": false, - "properties": { - "Container": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "TargetNodes": { - "type": "string" - } - }, - "required": [ - "TargetNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.RetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - }, - "EvaluateOnExit": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EvaluateOnExit" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Timeout": { - "additionalProperties": false, - "properties": { - "AttemptDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "ContainerPath", - "Size" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Volumes": { - "additionalProperties": false, - "properties": { - "EfsVolumeConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EfsVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.VolumesHost" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.VolumesHost": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobQueue": { + "AWS::EC2::TransitGatewayPeeringAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17236,37 +13398,36 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentOrder": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobQueue.ComputeEnvironmentOrder" - }, - "type": "array" - }, - "JobQueueName": { + "PeerAccountId": { "type": "string" }, - "Priority": { - "type": "number" - }, - "SchedulingPolicyArn": { + "PeerRegion": { "type": "string" }, - "State": { + "PeerTransitGatewayId": { "type": "string" }, "Tags": { - "type": "object" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "ComputeEnvironmentOrder", - "Priority" + "PeerAccountId", + "PeerRegion", + "PeerTransitGatewayId", + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobQueue" + "AWS::EC2::TransitGatewayPeeringAttachment" ], "type": "string" }, @@ -17285,23 +13446,19 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Batch::JobQueue.ComputeEnvironmentOrder": { + "AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus": { "additionalProperties": false, "properties": { - "ComputeEnvironment": { + "Code": { "type": "string" }, - "Order": { - "type": "number" + "Message": { + "type": "string" } }, - "required": [ - "ComputeEnvironment", - "Order" - ], "type": "object" }, - "AWS::Batch::SchedulingPolicy": { + "AWS::EC2::TransitGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17333,27 +13490,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FairsharePolicy": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.FairsharePolicy" + "Blackhole": { + "type": "boolean" }, - "Name": { + "DestinationCidrBlock": { "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TransitGatewayAttachmentId": { + "type": "string" + }, + "TransitGatewayRouteTableId": { + "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "TransitGatewayRouteTableId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::SchedulingPolicy" + "AWS::EC2::TransitGatewayRoute" ], "type": "string" }, @@ -17367,41 +13525,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Batch::SchedulingPolicy.FairsharePolicy": { - "additionalProperties": false, - "properties": { - "ComputeReservation": { - "type": "number" - }, - "ShareDecaySeconds": { - "type": "number" - }, - "ShareDistribution": { - "items": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.ShareAttributes" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::SchedulingPolicy.ShareAttributes": { - "additionalProperties": false, - "properties": { - "ShareIdentifier": { - "type": "string" - }, - "WeightFactor": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget": { + "AWS::EC2::TransitGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17433,24 +13562,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Budget": { - "$ref": "#/definitions/AWS::Budgets::Budget.BudgetData" - }, - "NotificationsWithSubscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.NotificationWithSubscribers" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "Budget" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::Budget" + "AWS::EC2::TransitGatewayRouteTable" ], "type": "string" }, @@ -17469,166 +13598,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Budgets::Budget.BudgetData": { - "additionalProperties": false, - "properties": { - "BudgetLimit": { - "$ref": "#/definitions/AWS::Budgets::Budget.Spend" - }, - "BudgetName": { - "type": "string" - }, - "BudgetType": { - "type": "string" - }, - "CostFilters": { - "type": "object" - }, - "CostTypes": { - "$ref": "#/definitions/AWS::Budgets::Budget.CostTypes" - }, - "PlannedBudgetLimits": { - "type": "object" - }, - "TimePeriod": { - "$ref": "#/definitions/AWS::Budgets::Budget.TimePeriod" - }, - "TimeUnit": { - "type": "string" - } - }, - "required": [ - "BudgetType", - "TimeUnit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.CostTypes": { - "additionalProperties": false, - "properties": { - "IncludeCredit": { - "type": "boolean" - }, - "IncludeDiscount": { - "type": "boolean" - }, - "IncludeOtherSubscription": { - "type": "boolean" - }, - "IncludeRecurring": { - "type": "boolean" - }, - "IncludeRefund": { - "type": "boolean" - }, - "IncludeSubscription": { - "type": "boolean" - }, - "IncludeSupport": { - "type": "boolean" - }, - "IncludeTax": { - "type": "boolean" - }, - "IncludeUpfront": { - "type": "boolean" - }, - "UseAmortized": { - "type": "boolean" - }, - "UseBlended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget.Notification": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "NotificationType": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "ThresholdType": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "NotificationType", - "Threshold" - ], - "type": "object" - }, - "AWS::Budgets::Budget.NotificationWithSubscribers": { - "additionalProperties": false, - "properties": { - "Notification": { - "$ref": "#/definitions/AWS::Budgets::Budget.Notification" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.Subscriber" - }, - "type": "array" - } - }, - "required": [ - "Notification", - "Subscribers" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Spend": { - "additionalProperties": false, - "properties": { - "Amount": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Amount", - "Unit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "SubscriptionType": { - "type": "string" - } - }, - "required": [ - "Address", - "SubscriptionType" - ], - "type": "object" - }, - "AWS::Budgets::Budget.TimePeriod": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction": { + "AWS::EC2::TransitGatewayRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17660,48 +13630,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionThreshold": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ActionThreshold" - }, - "ActionType": { - "type": "string" - }, - "ApprovalModel": { - "type": "string" - }, - "BudgetName": { - "type": "string" - }, - "Definition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Definition" - }, - "ExecutionRoleArn": { + "TransitGatewayAttachmentId": { "type": "string" }, - "NotificationType": { + "TransitGatewayRouteTableId": { "type": "string" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Subscriber" - }, - "type": "array" } }, "required": [ - "ActionThreshold", - "ActionType", - "BudgetName", - "Definition", - "ExecutionRoleArn", - "NotificationType", - "Subscribers" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::BudgetsAction" + "AWS::EC2::TransitGatewayRouteTableAssociation" ], "type": "string" }, @@ -17720,126 +13664,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Budgets::BudgetsAction.ActionThreshold": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Definition": { - "additionalProperties": false, - "properties": { - "IamActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.IamActionDefinition" - }, - "ScpActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ScpActionDefinition" - }, - "SsmActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.SsmActionDefinition" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction.IamActionDefinition": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyArn": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyArn" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.ScpActionDefinition": { - "additionalProperties": false, - "properties": { - "PolicyId": { - "type": "string" - }, - "TargetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyId", - "TargetIds" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.SsmActionDefinition": { - "additionalProperties": false, - "properties": { - "InstanceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - }, - "Subtype": { - "type": "string" - } - }, - "required": [ - "InstanceIds", - "Region", - "Subtype" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Address", - "Type" - ], - "type": "object" - }, - "AWS::CE::AnomalyMonitor": { + "AWS::EC2::TransitGatewayRouteTablePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17871,28 +13696,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MonitorDimension": { - "type": "string" - }, - "MonitorName": { - "type": "string" - }, - "MonitorSpecification": { + "TransitGatewayAttachmentId": { "type": "string" }, - "MonitorType": { + "TransitGatewayRouteTableId": { "type": "string" } }, "required": [ - "MonitorName", - "MonitorType" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalyMonitor" + "AWS::EC2::TransitGatewayRouteTablePropagation" ], "type": "string" }, @@ -17911,7 +13730,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CE::AnomalySubscription": { + "AWS::EC2::TransitGatewayVpcAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17943,40 +13762,50 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Frequency": { - "type": "string" + "AddSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment.Options" }, - "MonitorArnList": { + "RemoveSubnetIds": { "items": { "type": "string" }, "type": "array" }, - "Subscribers": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::CE::AnomalySubscription.Subscriber" + "type": "string" }, "type": "array" }, - "SubscriptionName": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "Threshold": { - "type": "number" + "VpcId": { + "type": "string" } }, "required": [ - "Frequency", - "MonitorArnList", - "Subscribers", - "SubscriptionName", - "Threshold" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalySubscription" + "AWS::EC2::TransitGatewayVpcAttachment" ], "type": "string" }, @@ -17995,26 +13824,25 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CE::AnomalySubscription.Subscriber": { + "AWS::EC2::TransitGatewayVpcAttachment.Options": { "additionalProperties": false, "properties": { - "Address": { + "ApplianceModeSupport": { "type": "string" }, - "Status": { + "DnsSupport": { "type": "string" }, - "Type": { + "Ipv6Support": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "Address", - "Type" - ], "type": "object" }, - "AWS::CE::CostCategory": { + "AWS::EC2::VPC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18046,32 +13874,36 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DefaultValue": { + "CidrBlock": { "type": "string" }, - "Name": { - "type": "string" + "EnableDnsHostnames": { + "type": "boolean" }, - "RuleVersion": { - "type": "string" + "EnableDnsSupport": { + "type": "boolean" }, - "Rules": { + "InstanceTenancy": { "type": "string" }, - "SplitChargeRules": { + "Ipv4IpamPoolId": { "type": "string" + }, + "Ipv4NetmaskLength": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name", - "RuleVersion", - "Rules" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::CostCategory" + "AWS::EC2::VPC" ], "type": "string" }, @@ -18085,12 +13917,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CUR::ReportDefinition": { + "AWS::EC2::VPCBlockPublicAccessExclusion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18122,65 +13953,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdditionalArtifacts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSchemaElements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BillingViewArn": { - "type": "string" - }, - "Compression": { + "InternetGatewayExclusionMode": { "type": "string" }, - "Format": { - "type": "string" - }, - "RefreshClosedReports": { - "type": "boolean" - }, - "ReportName": { - "type": "string" - }, - "ReportVersioning": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { + "SubnetId": { "type": "string" }, - "S3Region": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeUnit": { + "VpcId": { "type": "string" } }, "required": [ - "Compression", - "Format", - "RefreshClosedReports", - "ReportName", - "ReportVersioning", - "S3Bucket", - "S3Prefix", - "S3Region", - "TimeUnit" + "InternetGatewayExclusionMode" ], "type": "object" }, "Type": { "enum": [ - "AWS::CUR::ReportDefinition" + "AWS::EC2::VPCBlockPublicAccessExclusion" ], "type": "string" }, @@ -18199,7 +13995,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cassandra::Keyspace": { + "AWS::EC2::VPCBlockPublicAccessOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18231,21 +14027,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyspaceName": { + "InternetGatewayBlockMode": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "InternetGatewayBlockMode" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Keyspace" + "AWS::EC2::VPCBlockPublicAccessOptions" ], "type": "string" }, @@ -18259,11 +14052,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Cassandra::Table": { + "AWS::EC2::VPCCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18295,58 +14089,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BillingMode": { - "$ref": "#/definitions/AWS::Cassandra::Table.BillingMode" + "AmazonProvidedIpv6CidrBlock": { + "type": "boolean" }, - "ClusteringKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.ClusteringKeyColumn" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "DefaultTimeToLive": { - "type": "number" + "Ipv4IpamPoolId": { + "type": "string" }, - "EncryptionSpecification": { - "$ref": "#/definitions/AWS::Cassandra::Table.EncryptionSpecification" + "Ipv4NetmaskLength": { + "type": "number" }, - "KeyspaceName": { + "Ipv6CidrBlock": { "type": "string" }, - "PartitionKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6CidrBlockNetworkBorderGroup": { + "type": "string" }, - "PointInTimeRecoveryEnabled": { - "type": "boolean" + "Ipv6IpamPoolId": { + "type": "string" }, - "RegularColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6NetmaskLength": { + "type": "number" }, - "TableName": { + "Ipv6Pool": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcId": { + "type": "string" } }, "required": [ - "KeyspaceName", - "PartitionKeyColumns" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Table" + "AWS::EC2::VPCCidrBlock" ], "type": "string" }, @@ -18365,84 +14146,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cassandra::Table.BillingMode": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Cassandra::Table.ProvisionedThroughput" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ClusteringKeyColumn": { - "additionalProperties": false, - "properties": { - "Column": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "OrderBy": { - "type": "string" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Cassandra::Table.Column": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "ColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "ColumnType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.EncryptionSpecification": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKeyIdentifier": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::CertificateManager::Account": { + "AWS::EC2::VPCDHCPOptionsAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18474,18 +14178,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExpiryEventsConfiguration": { - "$ref": "#/definitions/AWS::CertificateManager::Account.ExpiryEventsConfiguration" + "DhcpOptionsId": { + "type": "string" + }, + "VpcId": { + "type": "string" } }, "required": [ - "ExpiryEventsConfiguration" + "DhcpOptionsId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Account" + "AWS::EC2::VPCDHCPOptionsAssociation" ], "type": "string" }, @@ -18504,16 +14212,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CertificateManager::Account.ExpiryEventsConfiguration": { - "additionalProperties": false, - "properties": { - "DaysBeforeExpiry": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CertificateManager::Certificate": { + "AWS::EC2::VPCEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18545,22 +14244,40 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateAuthorityArn": { - "type": "string" + "DnsOptions": { + "$ref": "#/definitions/AWS::EC2::VPCEndpoint.DnsOptionsSpecification" }, - "CertificateTransparencyLoggingPreference": { + "IpAddressType": { "type": "string" }, - "DomainName": { + "PolicyDocument": { + "type": "object" + }, + "PrivateDnsEnabled": { + "type": "boolean" + }, + "ResourceConfigurationArn": { "type": "string" }, - "DomainValidationOptions": { + "RouteTableIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CertificateManager::Certificate.DomainValidationOption" + "type": "string" }, "type": "array" }, - "SubjectAlternativeNames": { + "ServiceName": { + "type": "string" + }, + "ServiceNetworkArn": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -18572,18 +14289,21 @@ var CloudformationSchema = `{ }, "type": "array" }, - "ValidationMethod": { + "VpcEndpointType": { + "type": "string" + }, + "VpcId": { "type": "string" } }, "required": [ - "DomainName" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Certificate" + "AWS::EC2::VPCEndpoint" ], "type": "string" }, @@ -18602,25 +14322,19 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CertificateManager::Certificate.DomainValidationOption": { + "AWS::EC2::VPCEndpoint.DnsOptionsSpecification": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneId": { + "DnsRecordIpType": { "type": "string" }, - "ValidationDomain": { + "PrivateDnsOnlyForInboundResolverEndpoint": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, - "AWS::Chatbot::SlackChannelConfiguration": { + "AWS::EC2::VPCEndpointConnectionNotification": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18652,48 +14366,31 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigurationName": { - "type": "string" - }, - "GuardrailPolicies": { + "ConnectionEvents": { "items": { "type": "string" }, "type": "array" }, - "IamRoleArn": { - "type": "string" - }, - "LoggingLevel": { + "ConnectionNotificationArn": { "type": "string" }, - "SlackChannelId": { + "ServiceId": { "type": "string" }, - "SlackWorkspaceId": { + "VPCEndpointId": { "type": "string" - }, - "SnsTopicArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserRoleRequired": { - "type": "boolean" } }, "required": [ - "ConfigurationName", - "IamRoleArn", - "SlackChannelId", - "SlackWorkspaceId" + "ConnectionEvents", + "ConnectionNotificationArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Chatbot::SlackChannelConfiguration" + "AWS::EC2::VPCEndpointConnectionNotification" ], "type": "string" }, @@ -18712,7 +14409,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cloud9::EnvironmentEC2": { + "AWS::EC2::VPCEndpointService": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18744,34 +14441,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutomaticStopTimeMinutes": { - "type": "number" + "AcceptanceRequired": { + "type": "boolean" }, - "ConnectionType": { - "type": "string" + "ContributorInsightsEnabled": { + "type": "boolean" }, - "Description": { - "type": "string" + "GatewayLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "ImageId": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerArn": { - "type": "string" - }, - "Repositories": { - "items": { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2.Repository" - }, - "type": "array" - }, - "SubnetId": { + "NetworkLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PayerResponsibility": { "type": "string" }, "Tags": { @@ -18781,14 +14469,11 @@ var CloudformationSchema = `{ "type": "array" } }, - "required": [ - "InstanceType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cloud9::EnvironmentEC2" + "AWS::EC2::VPCEndpointService" ], "type": "string" }, @@ -18802,28 +14487,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cloud9::EnvironmentEC2.Repository": { - "additionalProperties": false, - "properties": { - "PathComponent": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - } - }, - "required": [ - "PathComponent", - "RepositoryUrl" + "Type" ], "type": "object" }, - "AWS::CloudFormation::CustomResource": { + "AWS::EC2::VPCEndpointServicePermissions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18855,18 +14523,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ServiceToken": { + "AllowedPrincipals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ServiceId": { "type": "string" } }, "required": [ - "ServiceToken" + "ServiceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::CustomResource" + "AWS::EC2::VPCEndpointServicePermissions" ], "type": "string" }, @@ -18885,7 +14559,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::Macro": { + "AWS::EC2::VPCGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18917,31 +14591,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "LogGroupName": { + "InternetGatewayId": { "type": "string" }, - "LogRoleARN": { + "VpcId": { "type": "string" }, - "Name": { + "VpnGatewayId": { "type": "string" } }, "required": [ - "FunctionName", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Macro" + "AWS::EC2::VPCGatewayAttachment" ], "type": "string" }, @@ -18960,7 +14627,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::ModuleDefaultVersion": { + "AWS::EC2::VPCPeeringConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18992,86 +14659,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "PeerOwnerId": { "type": "string" }, - "ModuleName": { + "PeerRegion": { "type": "string" }, - "VersionId": { + "PeerRoleArn": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFormation::ModuleDefaultVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudFormation::ModuleVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "PeerVpcId": { "type": "string" }, - { + "Tags": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModuleName": { - "type": "string" }, - "ModulePackage": { + "VpcId": { "type": "string" } }, "required": [ - "ModuleName", - "ModulePackage" + "PeerVpcId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ModuleVersion" + "AWS::EC2::VPCPeeringConnection" ], "type": "string" }, @@ -19090,7 +14708,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::PublicTypeVersion": { + "AWS::EC2::VPNConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19122,27 +14740,67 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "CustomerGatewayId": { "type": "string" }, - "LogDeliveryBucket": { + "EnableAcceleration": { + "type": "boolean" + }, + "LocalIpv4NetworkCidr": { "type": "string" }, - "PublicVersionNumber": { + "LocalIpv6NetworkCidr": { + "type": "string" + }, + "OutsideIpAddressType": { + "type": "string" + }, + "RemoteIpv4NetworkCidr": { + "type": "string" + }, + "RemoteIpv6NetworkCidr": { + "type": "string" + }, + "StaticRoutesOnly": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" + }, + "TransportTransitGatewayAttachmentId": { + "type": "string" + }, + "TunnelInsideIpVersion": { "type": "string" }, "Type": { "type": "string" }, - "TypeName": { + "VpnGatewayId": { "type": "string" + }, + "VpnTunnelOptionsSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" + }, + "type": "array" } }, + "required": [ + "CustomerGatewayId", + "Type" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::PublicTypeVersion" + "AWS::EC2::VPNConnection" ], "type": "string" }, @@ -19156,76 +14814,186 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::Publisher": { + "AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LogEnabled": { + "type": "boolean" + }, + "LogGroupArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LogOutputFormat": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.IKEVersionsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification": { + "additionalProperties": false, + "properties": { + "CloudwatchLogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { + "additionalProperties": false, + "properties": { + "DPDTimeoutAction": { + "type": "string" }, - "Metadata": { - "type": "object" + "DPDTimeoutSeconds": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptTermsAndConditions": { - "type": "boolean" - }, - "ConnectionArn": { - "type": "string" - } + "EnableTunnelLifecycleControl": { + "type": "boolean" + }, + "IKEVersions": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.IKEVersionsRequestListValue" }, - "required": [ - "AcceptTermsAndConditions" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CloudFormation::Publisher" - ], + "LogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification" + }, + "Phase1DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase1EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1LifetimeSeconds": { + "type": "number" + }, + "Phase2DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase2EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2LifetimeSeconds": { + "type": "number" + }, + "PreSharedKey": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RekeyFuzzPercentage": { + "type": "number" + }, + "RekeyMarginTimeSeconds": { + "type": "number" + }, + "ReplayWindowSize": { + "type": "number" + }, + "StartupAction": { + "type": "string" + }, + "TunnelInsideCidr": { + "type": "string" + }, + "TunnelInsideIpv6Cidr": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFormation::ResourceDefaultVersion": { + "AWS::EC2::VPNConnectionRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19257,21 +15025,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "TypeName": { - "type": "string" - }, - "TypeVersionArn": { + "DestinationCidrBlock": { "type": "string" }, - "VersionId": { + "VpnConnectionId": { "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "VpnConnectionId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceDefaultVersion" + "AWS::EC2::VPNConnectionRoute" ], "type": "string" }, @@ -19285,11 +15054,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion": { + "AWS::EC2::VPNGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19321,28 +15091,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" + "AmazonSideAsn": { + "type": "number" }, - "SchemaHandlerPackage": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TypeName": { + "Type": { "type": "string" } }, "required": [ - "SchemaHandlerPackage", - "TypeName" + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceVersion" + "AWS::EC2::VPNGateway" ], "type": "string" }, @@ -19361,19 +15130,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion.LoggingConfig": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFormation::Stack": { + "AWS::EC2::VPNGatewayRoutePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19405,42 +15162,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "NotificationARNs": { + "RouteTableIds": { "items": { "type": "string" }, "type": "array" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateURL": { + "VpnGatewayId": { "type": "string" - }, - "TimeoutInMinutes": { - "type": "number" } }, "required": [ - "TemplateURL" + "RouteTableIds", + "VpnGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Stack" + "AWS::EC2::VPNGatewayRoutePropagation" ], "type": "string" }, @@ -19459,7 +15199,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::StackSet": { + "AWS::EC2::VerifiedAccessEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19491,50 +15231,50 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdministrationRoleARN": { + "ApplicationDomain": { "type": "string" }, - "AutoDeployment": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" - }, - "CallAs": { + "AttachmentType": { "type": "string" }, - "Capabilities": { - "items": { - "type": "string" - }, - "type": "array" + "CidrOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.CidrOptions" }, "Description": { "type": "string" }, - "ExecutionRoleName": { + "DomainCertificateArn": { "type": "string" }, - "ManagedExecution": { - "type": "object" + "EndpointDomainPrefix": { + "type": "string" }, - "OperationPreferences": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" + "EndpointType": { + "type": "string" }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "LoadBalancerOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions" }, - "PermissionModel": { + "NetworkInterfaceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions" + }, + "PolicyDocument": { "type": "string" }, - "StackInstancesGroup": { + "PolicyEnabled": { + "type": "boolean" + }, + "RdsOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.RdsOptions" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" + "type": "string" }, "type": "array" }, - "StackSetName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.SseSpecification" }, "Tags": { "items": { @@ -19542,22 +15282,20 @@ var CloudformationSchema = `{ }, "type": "array" }, - "TemplateBody": { - "type": "string" - }, - "TemplateURL": { + "VerifiedAccessGroupId": { "type": "string" } }, "required": [ - "PermissionModel", - "StackSetName" + "AttachmentType", + "EndpointType", + "VerifiedAccessGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::StackSet" + "AWS::EC2::VerifiedAccessEndpoint" ], "type": "string" }, @@ -19576,28 +15314,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::StackSet.AutoDeployment": { + "AWS::EC2::VerifiedAccessEndpoint.CidrOptions": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Cidr": { + "type": "string" }, - "RetainStacksOnAccountRemoval": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CloudFormation::StackSet.DeploymentTargets": { - "additionalProperties": false, - "properties": { - "Accounts": { + "PortRanges": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" }, "type": "array" }, - "OrganizationalUnitIds": { + "Protocol": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -19606,25 +15338,25 @@ var CloudformationSchema = `{ }, "type": "object" }, - "AWS::CloudFormation::StackSet.OperationPreferences": { + "AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions": { "additionalProperties": false, "properties": { - "FailureToleranceCount": { - "type": "number" + "LoadBalancerArn": { + "type": "string" }, - "FailureTolerancePercentage": { + "Port": { "type": "number" }, - "MaxConcurrentCount": { - "type": "number" - }, - "MaxConcurrentPercentage": { - "type": "number" + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" }, - "RegionConcurrencyType": { + "Protocol": { "type": "string" }, - "RegionOrder": { + "SubnetIds": { "items": { "type": "string" }, @@ -19633,48 +15365,82 @@ var CloudformationSchema = `{ }, "type": "object" }, - "AWS::CloudFormation::StackSet.Parameter": { + "AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions": { "additionalProperties": false, "properties": { - "ParameterKey": { + "NetworkInterfaceId": { "type": "string" }, - "ParameterValue": { + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" + }, + "Protocol": { "type": "string" } }, - "required": [ - "ParameterKey", - "ParameterValue" - ], "type": "object" }, - "AWS::CloudFormation::StackSet.StackInstances": { + "AWS::EC2::VerifiedAccessEndpoint.PortRange": { "additionalProperties": false, "properties": { - "DeploymentTargets": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" + "FromPort": { + "type": "number" }, - "ParameterOverrides": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "ToPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessEndpoint.RdsOptions": { + "additionalProperties": false, + "properties": { + "Port": { + "type": "number" }, - "Regions": { + "Protocol": { + "type": "string" + }, + "RdsDbClusterArn": { + "type": "string" + }, + "RdsDbInstanceArn": { + "type": "string" + }, + "RdsDbProxyArn": { + "type": "string" + }, + "RdsEndpoint": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "DeploymentTargets", - "Regions" - ], "type": "object" }, - "AWS::CloudFormation::TypeActivation": { + "AWS::EC2::VerifiedAccessEndpoint.SseSpecification": { + "additionalProperties": false, + "properties": { + "CustomerManagedKeyEnabled": { + "type": "boolean" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19706,42 +15472,36 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoUpdate": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" - }, - "MajorVersion": { - "type": "string" - }, - "PublicTypeArn": { + "Description": { "type": "string" }, - "PublisherId": { + "PolicyDocument": { "type": "string" }, - "Type": { - "type": "string" + "PolicyEnabled": { + "type": "boolean" }, - "TypeName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup.SseSpecification" }, - "TypeNameAlias": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "VersionBump": { + "VerifiedAccessInstanceId": { "type": "string" } }, + "required": [ + "VerifiedAccessInstanceId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::TypeActivation" + "AWS::EC2::VerifiedAccessGroup" ], "type": "string" }, @@ -19755,28 +15515,26 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "AWS::EC2::VerifiedAccessGroup.SseSpecification": { "additionalProperties": false, "properties": { - "LogGroupName": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "LogRoleArn": { + "KmsKeyArn": { "type": "string" } }, "type": "object" }, - "AWS::CloudFormation::WaitCondition": { + "AWS::EC2::VerifiedAccessInstance": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, "DeletionPolicy": { "enum": [ "Delete", @@ -19806,21 +15564,42 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Handle": { + "CidrEndpointsCustomSubDomain": { "type": "string" }, - "Timeout": { + "Description": { "type": "string" + }, + "FipsEnabled": { + "type": "boolean" + }, + "LoggingConfigurations": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VerifiedAccessTrustProviderIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VerifiedAccessTrustProviders": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider" + }, + "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::WaitCondition" + "AWS::EC2::VerifiedAccessInstance" ], "type": "string" }, @@ -19838,61 +15617,91 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::WaitConditionHandle": { + "AWS::EC2::VerifiedAccessInstance.CloudWatchLogs": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Enabled": { + "type": "boolean" + }, + "LogGroup": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose": { + "additionalProperties": false, + "properties": { + "DeliveryStream": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.S3": { + "additionalProperties": false, + "properties": { + "BucketName": { + "type": "string" }, - "Metadata": { - "type": "object" + "BucketOwner": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": {}, - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::CloudFormation::WaitConditionHandle" - ], + "Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs": { + "additionalProperties": false, + "properties": { + "CloudWatchLogs": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.CloudWatchLogs" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IncludeTrustContext": { + "type": "boolean" + }, + "KinesisDataFirehose": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose" + }, + "LogVersion": { + "type": "string" + }, + "S3": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.S3" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" + }, + "VerifiedAccessTrustProviderId": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy": { + "AWS::EC2::VerifiedAccessTrustProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19924,18 +15733,49 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CachePolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CachePolicyConfig" + "Description": { + "type": "string" + }, + "DeviceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "NativeApplicationOidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions" + }, + "OidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.OidcOptions" + }, + "PolicyReferenceName": { + "type": "string" + }, + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.SseSpecification" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" } }, "required": [ - "CachePolicyConfig" + "PolicyReferenceName", + "TrustProviderType" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CachePolicy" + "AWS::EC2::VerifiedAccessTrustProvider" ], "type": "string" }, @@ -19954,119 +15794,88 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CachePolicyConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions": { "additionalProperties": false, "properties": { - "Comment": { + "PublicSigningKeyUrl": { "type": "string" }, - "DefaultTTL": { - "type": "number" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "Name": { + "TenantId": { "type": "string" - }, - "ParametersInCacheKeyAndForwardedToOrigin": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin" } }, - "required": [ - "DefaultTTL", - "MaxTTL", - "MinTTL", - "Name", - "ParametersInCacheKeyAndForwardedToOrigin" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CookiesConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions": { "additionalProperties": false, "properties": { - "CookieBehavior": { + "AuthorizationEndpoint": { "type": "string" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CookieBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::CachePolicy.HeadersConfig": { - "additionalProperties": false, - "properties": { - "HeaderBehavior": { + "ClientId": { "type": "string" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "PublicSigningKeyEndpoint": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" + }, + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "HeaderBehavior" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin": { + "AWS::EC2::VerifiedAccessTrustProvider.OidcOptions": { "additionalProperties": false, "properties": { - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CookiesConfig" + "AuthorizationEndpoint": { + "type": "string" }, - "EnableAcceptEncodingBrotli": { - "type": "boolean" + "ClientId": { + "type": "string" }, - "EnableAcceptEncodingGzip": { - "type": "boolean" + "ClientSecret": { + "type": "string" }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.HeadersConfig" + "Issuer": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.QueryStringsConfig" + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "CookiesConfig", - "EnableAcceptEncodingGzip", - "HeadersConfig", - "QueryStringsConfig" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.QueryStringsConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.SseSpecification": { "additionalProperties": false, "properties": { - "QueryStringBehavior": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" + "KmsKeyArn": { + "type": "string" } }, - "required": [ - "QueryStringBehavior" - ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": { + "AWS::EC2::Volume": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20098,18 +15907,54 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudFrontOriginAccessIdentityConfig": { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig" + "AutoEnableIO": { + "type": "boolean" + }, + "AvailabilityZone": { + "type": "string" + }, + "Encrypted": { + "type": "boolean" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "MultiAttachEnabled": { + "type": "boolean" + }, + "OutpostArn": { + "type": "string" + }, + "Size": { + "type": "number" + }, + "SnapshotId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Throughput": { + "type": "number" + }, + "VolumeType": { + "type": "string" } }, "required": [ - "CloudFrontOriginAccessIdentityConfig" + "AvailabilityZone" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CloudFrontOriginAccessIdentity" + "AWS::EC2::Volume" ], "type": "string" }, @@ -20128,19 +15973,76 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig": { + "AWS::EC2::VolumeAttachment": { "additionalProperties": false, "properties": { - "Comment": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Device": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "VolumeId": { + "type": "string" + } + }, + "required": [ + "InstanceId", + "VolumeId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::VolumeAttachment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Comment" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution": { + "AWS::ECR::PublicRepository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20172,8 +16074,14 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DistributionConfig" + "RepositoryCatalogData": { + "$ref": "#/definitions/AWS::ECR::PublicRepository.RepositoryCatalogData" + }, + "RepositoryName": { + "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" }, "Tags": { "items": { @@ -20182,14 +16090,11 @@ var CloudformationSchema = `{ "type": "array" } }, - "required": [ - "DistributionConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Distribution" + "AWS::ECR::PublicRepository" ], "type": "string" }, @@ -20203,680 +16108,297 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.CacheBehavior": { + "AWS::ECR::PublicRepository.RepositoryCatalogData": { "additionalProperties": false, "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { + "AboutText": { "type": "string" }, - "CachedMethods": { + "Architectures": { "items": { "type": "string" }, "type": "array" }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" - }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" - }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" - }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "PathPattern": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "TargetOriginId": { - "type": "string" - }, - "TrustedKeyGroups": { + "OperatingSystems": { "items": { "type": "string" }, "type": "array" }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" + "RepositoryDescription": { + "type": "string" }, - "ViewerProtocolPolicy": { + "UsageText": { "type": "string" } }, - "required": [ - "PathPattern", - "TargetOriginId", - "ViewerProtocolPolicy" - ], "type": "object" }, - "AWS::CloudFront::Distribution.Cookies": { + "AWS::ECR::PullThroughCacheRule": { "additionalProperties": false, "properties": { - "Forward": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "WhitelistedNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Forward" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomErrorResponse": { - "additionalProperties": false, - "properties": { - "ErrorCachingMinTTL": { - "type": "number" - }, - "ErrorCode": { - "type": "number" - }, - "ResponseCode": { - "type": "number" - }, - "ResponsePagePath": { - "type": "string" - } - }, - "required": [ - "ErrorCode" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomOriginConfig": { - "additionalProperties": false, - "properties": { - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" - }, - "OriginKeepaliveTimeout": { - "type": "number" - }, - "OriginProtocolPolicy": { - "type": "string" - }, - "OriginReadTimeout": { - "type": "number" - }, - "OriginSSLProtocols": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OriginProtocolPolicy" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.DefaultCacheBehavior": { - "additionalProperties": false, - "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { - "type": "string" - }, - "CachedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" + "Metadata": { + "type": "object" }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" + "Properties": { + "additionalProperties": false, + "properties": { + "CredentialArn": { + "type": "string" + }, + "EcrRepositoryPrefix": { + "type": "string" + }, + "UpstreamRegistry": { + "type": "string" + }, + "UpstreamRegistryUrl": { + "type": "string" + } }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" + "type": "object" }, - "TargetOriginId": { + "Type": { + "enum": [ + "AWS::ECR::PullThroughCacheRule" + ], "type": "string" }, - "TrustedKeyGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ViewerProtocolPolicy": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "TargetOriginId", - "ViewerProtocolPolicy" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.DistributionConfig": { + "AWS::ECR::RegistryPolicy": { "additionalProperties": false, "properties": { - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CNAMEs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheBehaviors": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CacheBehavior" - }, - "type": "array" - }, - "Comment": { - "type": "string" - }, - "CustomErrorResponses": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomErrorResponse" - }, - "type": "array" - }, - "CustomOrigin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyCustomOrigin" - }, - "DefaultCacheBehavior": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DefaultCacheBehavior" - }, - "DefaultRootObject": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "HttpVersion": { - "type": "string" - }, - "IPV6Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Logging" - }, - "OriginGroups": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroups" - }, - "Origins": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Origin" - }, - "type": "array" - }, - "PriceClass": { - "type": "string" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Restrictions" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyS3Origin" - }, - "ViewerCertificate": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ViewerCertificate" - }, - "WebACLId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.ForwardedValues": { - "additionalProperties": false, - "properties": { - "Cookies": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Cookies" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "QueryString": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "QueryStringCacheKeys": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "PolicyText": { + "type": "object" + } }, - "type": "array" - } - }, - "required": [ - "QueryString" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.FunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" + "required": [ + "PolicyText" + ], + "type": "object" }, - "FunctionARN": { + "Type": { + "enum": [ + "AWS::ECR::RegistryPolicy" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.GeoRestriction": { - "additionalProperties": false, - "properties": { - "Locations": { - "items": { - "type": "string" - }, - "type": "array" }, - "RestrictionType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "RestrictionType" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.LambdaFunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" - }, - "IncludeBody": { - "type": "boolean" - }, - "LambdaFunctionARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyCustomOrigin": { + "AWS::ECR::ReplicationConfiguration": { "additionalProperties": false, "properties": { - "DNSName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OriginProtocolPolicy": { - "type": "string" + "Metadata": { + "type": "object" }, - "OriginSSLProtocols": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" + } }, - "type": "array" - } - }, - "required": [ - "DNSName", - "OriginProtocolPolicy", - "OriginSSLProtocols" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyS3Origin": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" + "required": [ + "ReplicationConfiguration" + ], + "type": "object" }, - "OriginAccessIdentity": { - "type": "string" - } - }, - "required": [ - "DNSName" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { + "Type": { + "enum": [ + "AWS::ECR::ReplicationConfiguration" + ], "type": "string" }, - "IncludeCookies": { - "type": "boolean" - }, - "Prefix": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Bucket" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.Origin": { + "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ConnectionAttempts": { - "type": "number" - }, - "ConnectionTimeout": { - "type": "number" - }, - "CustomOriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomOriginConfig" - }, - "DomainName": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "OriginCustomHeaders": { + "Rules": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginCustomHeader" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" }, "type": "array" - }, - "OriginPath": { - "type": "string" - }, - "OriginShield": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginShield" - }, - "S3OriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.S3OriginConfig" - } - }, - "required": [ - "DomainName", - "Id" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginCustomHeader": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" } }, "required": [ - "HeaderName", - "HeaderValue" + "Rules" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroup": { + "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { "additionalProperties": false, "properties": { - "FailoverCriteria": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupFailoverCriteria" - }, - "Id": { + "Region": { "type": "string" }, - "Members": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMembers" - } - }, - "required": [ - "FailoverCriteria", - "Id", - "Members" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupFailoverCriteria": { - "additionalProperties": false, - "properties": { - "StatusCodes": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.StatusCodes" - } - }, - "required": [ - "StatusCodes" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupMember": { - "additionalProperties": false, - "properties": { - "OriginId": { + "RegistryId": { "type": "string" } }, "required": [ - "OriginId" + "Region", + "RegistryId" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroupMembers": { + "AWS::ECR::ReplicationConfiguration.ReplicationRule": { "additionalProperties": false, "properties": { - "Items": { + "Destinations": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMember" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" }, "type": "array" }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Items", - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroups": { - "additionalProperties": false, - "properties": { - "Items": { + "RepositoryFilters": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroup" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" }, "type": "array" - }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginShield": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OriginShieldRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.Restrictions": { - "additionalProperties": false, - "properties": { - "GeoRestriction": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.GeoRestriction" } }, "required": [ - "GeoRestriction" + "Destinations" ], "type": "object" }, - "AWS::CloudFront::Distribution.S3OriginConfig": { + "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { "additionalProperties": false, "properties": { - "OriginAccessIdentity": { + "Filter": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.StatusCodes": { - "additionalProperties": false, - "properties": { - "Items": { - "items": { - "type": "number" - }, - "type": "array" }, - "Quantity": { - "type": "number" + "FilterType": { + "type": "string" } }, "required": [ - "Items", - "Quantity" + "Filter", + "FilterType" ], "type": "object" }, - "AWS::CloudFront::Distribution.ViewerCertificate": { - "additionalProperties": false, - "properties": { - "AcmCertificateArn": { - "type": "string" - }, - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IamCertificateId": { - "type": "string" - }, - "MinimumProtocolVersion": { - "type": "string" - }, - "SslSupportMethod": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Function": { + "AWS::ECR::Repository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20908,27 +16430,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoPublish": { + "EmptyOnDelete": { "type": "boolean" }, - "FunctionCode": { + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" + }, + "ImageScanningConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" + }, + "ImageTagMutability": { "type": "string" }, - "FunctionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Function.FunctionConfig" + "LifecyclePolicy": { + "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" }, - "Name": { + "RepositoryName": { "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Function" + "AWS::ECR::Repository" ], "type": "string" }, @@ -20942,37 +16476,47 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionConfig": { + "AWS::ECR::Repository.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Runtime": { + "KmsKey": { "type": "string" } }, "required": [ - "Comment", - "Runtime" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionMetadata": { + "AWS::ECR::Repository.ImageScanningConfiguration": { + "additionalProperties": false, + "properties": { + "ScanOnPush": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::ECR::Repository.LifecyclePolicy": { "additionalProperties": false, "properties": { - "FunctionARN": { + "LifecyclePolicyText": { + "type": "string" + }, + "RegistryId": { "type": "string" } }, "type": "object" }, - "AWS::CloudFront::KeyGroup": { + "AWS::ECR::RepositoryCreationTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21004,18 +16548,49 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyGroupConfig": { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup.KeyGroupConfig" - } - }, - "required": [ - "KeyGroupConfig" + "AppliedFor": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CustomRoleArn": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration" + }, + "ImageTagMutability": { + "type": "string" + }, + "LifecyclePolicy": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "RepositoryPolicy": { + "type": "string" + }, + "ResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AppliedFor", + "Prefix" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::KeyGroup" + "AWS::ECR::RepositoryCreationTemplate" ], "type": "string" }, @@ -21034,29 +16609,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::KeyGroup.KeyGroupConfig": { + "AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { + "KmsKey": { "type": "string" } }, "required": [ - "Items", - "Name" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy": { + "AWS::EKS::AccessEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21088,18 +16656,46 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "OriginRequestPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig" + "AccessPolicies": { + "items": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessPolicy" + }, + "type": "array" + }, + "ClusterName": { + "type": "string" + }, + "KubernetesGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PrincipalArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" + }, + "Username": { + "type": "string" } }, "required": [ - "OriginRequestPolicyConfig" + "ClusterName", + "PrincipalArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::OriginRequestPolicy" + "AWS::EKS::AccessEntry" ], "type": "string" }, @@ -21118,88 +16714,41 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.CookiesConfig": { + "AWS::EKS::AccessEntry.AccessPolicy": { "additionalProperties": false, "properties": { - "CookieBehavior": { - "type": "string" + "AccessScope": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessScope" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyArn": { + "type": "string" } }, "required": [ - "CookieBehavior" + "AccessScope", + "PolicyArn" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.HeadersConfig": { + "AWS::EKS::AccessEntry.AccessScope": { "additionalProperties": false, "properties": { - "HeaderBehavior": { - "type": "string" - }, - "Headers": { + "Namespaces": { "items": { "type": "string" }, "type": "array" - } - }, - "required": [ - "HeaderBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" }, - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.CookiesConfig" - }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.HeadersConfig" - }, - "Name": { - "type": "string" - }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig" - } - }, - "required": [ - "CookiesConfig", - "HeadersConfig", - "Name", - "QueryStringsConfig" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig": { - "additionalProperties": false, - "properties": { - "QueryStringBehavior": { + "Type": { "type": "string" - }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "QueryStringBehavior" + "Type" ], "type": "object" }, - "AWS::CloudFront::PublicKey": { + "AWS::EKS::Addon": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21231,18 +16780,49 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "PublicKeyConfig": { - "$ref": "#/definitions/AWS::CloudFront::PublicKey.PublicKeyConfig" + "AddonName": { + "type": "string" + }, + "AddonVersion": { + "type": "string" + }, + "ClusterName": { + "type": "string" + }, + "ConfigurationValues": { + "type": "string" + }, + "PodIdentityAssociations": { + "items": { + "$ref": "#/definitions/AWS::EKS::Addon.PodIdentityAssociation" + }, + "type": "array" + }, + "PreserveOnDelete": { + "type": "boolean" + }, + "ResolveConflicts": { + "type": "string" + }, + "ServiceAccountRoleArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "PublicKeyConfig" + "AddonName", + "ClusterName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::PublicKey" + "AWS::EKS::Addon" ], "type": "string" }, @@ -21261,30 +16841,23 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::PublicKey.PublicKeyConfig": { + "AWS::EKS::Addon.PodIdentityAssociation": { "additionalProperties": false, "properties": { - "CallerReference": { - "type": "string" - }, - "Comment": { - "type": "string" - }, - "EncodedKey": { + "RoleArn": { "type": "string" }, - "Name": { + "ServiceAccount": { "type": "string" } }, "required": [ - "CallerReference", - "EncodedKey", - "Name" + "RoleArn", + "ServiceAccount" ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig": { + "AWS::EKS::Cluster": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21316,36 +16889,70 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "EndPoints": { + "AccessConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.AccessConfig" + }, + "BootstrapSelfManagedAddons": { + "type": "boolean" + }, + "ComputeConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ComputeConfig" + }, + "EncryptionConfig": { "items": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.EndPoint" + "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" }, "type": "array" }, - "Fields": { + "KubernetesNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" + }, + "Logging": { + "$ref": "#/definitions/AWS::EKS::Cluster.Logging" + }, + "Name": { + "type": "string" + }, + "OutpostConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.OutpostConfig" + }, + "RemoteNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNetworkConfig" + }, + "ResourcesVpcConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" + }, + "RoleArn": { + "type": "string" + }, + "StorageConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.StorageConfig" + }, + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "Name": { + "UpgradePolicy": { + "$ref": "#/definitions/AWS::EKS::Cluster.UpgradePolicy" + }, + "Version": { "type": "string" }, - "SamplingRate": { - "type": "number" + "ZonalShiftConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ZonalShiftConfig" } }, "required": [ - "EndPoints", - "Fields", - "Name", - "SamplingRate" + "ResourcesVpcConfig", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::RealtimeLogConfig" + "AWS::EKS::Cluster" ], "type": "string" }, @@ -21364,382 +16971,269 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.EndPoint": { + "AWS::EKS::Cluster.AccessConfig": { "additionalProperties": false, "properties": { - "KinesisStreamConfig": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig" - }, - "StreamType": { + "AuthenticationMode": { "type": "string" + }, + "BootstrapClusterCreatorAdminPermissions": { + "type": "boolean" } }, - "required": [ - "KinesisStreamConfig", - "StreamType" - ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig": { + "AWS::EKS::Cluster.BlockStorage": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "RoleArn", - "StreamArn" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy": { + "AWS::EKS::Cluster.ClusterLogging": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResponseHeadersPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig" - } + "EnabledTypes": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" }, - "required": [ - "ResponseHeadersPolicyConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFront::ResponseHeadersPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders": { + "AWS::EKS::Cluster.ComputeConfig": { "additionalProperties": false, "properties": { - "Items": { + "Enabled": { + "type": "boolean" + }, + "NodePools": { "items": { "type": "string" }, "type": "array" + }, + "NodeRoleArn": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods": { + "AWS::EKS::Cluster.ControlPlanePlacement": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "GroupName": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins": { + "AWS::EKS::Cluster.ElasticLoadBalancing": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders": { + "AWS::EKS::Cluster.EncryptionConfig": { "additionalProperties": false, "properties": { - "Items": { + "Provider": { + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" + }, + "Resources": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy": { + "AWS::EKS::Cluster.KubernetesNetworkConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { + "ElasticLoadBalancing": { + "$ref": "#/definitions/AWS::EKS::Cluster.ElasticLoadBalancing" + }, + "IpFamily": { "type": "string" }, - "Override": { - "type": "boolean" + "ServiceIpv4Cidr": { + "type": "string" + }, + "ServiceIpv6Cidr": { + "type": "string" } }, - "required": [ - "ContentSecurityPolicy", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions": { + "AWS::EKS::Cluster.Logging": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" + "ClusterLogging": { + "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" } }, - "required": [ - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CorsConfig": { + "AWS::EKS::Cluster.LoggingTypeConfig": { "additionalProperties": false, "properties": { - "AccessControlAllowCredentials": { - "type": "boolean" - }, - "AccessControlAllowHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders" - }, - "AccessControlAllowMethods": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods" - }, - "AccessControlAllowOrigins": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins" - }, - "AccessControlExposeHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders" - }, - "AccessControlMaxAgeSec": { - "type": "number" - }, - "OriginOverride": { - "type": "boolean" + "Type": { + "type": "string" } }, - "required": [ - "AccessControlAllowCredentials", - "AccessControlAllowHeaders", - "AccessControlAllowMethods", - "AccessControlAllowOrigins", - "OriginOverride" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeader": { + "AWS::EKS::Cluster.OutpostConfig": { "additionalProperties": false, "properties": { - "Header": { + "ControlPlaneInstanceType": { "type": "string" }, - "Override": { - "type": "boolean" + "ControlPlanePlacement": { + "$ref": "#/definitions/AWS::EKS::Cluster.ControlPlanePlacement" }, - "Value": { - "type": "string" + "OutpostArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Header", - "Override", - "Value" + "ControlPlaneInstanceType", + "OutpostArns" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig": { + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EKS::Cluster.RemoteNetworkConfig": { "additionalProperties": false, "properties": { - "Items": { + "RemoteNodeNetworks": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNodeNetwork" + }, + "type": "array" + }, + "RemotePodNetworks": { "items": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeader" + "$ref": "#/definitions/AWS::EKS::Cluster.RemotePodNetwork" }, "type": "array" } }, "required": [ - "Items" + "RemoteNodeNetworks" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.FrameOptions": { + "AWS::EKS::Cluster.RemoteNodeNetwork": { "additionalProperties": false, "properties": { - "FrameOption": { - "type": "string" - }, - "Override": { - "type": "boolean" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "FrameOption", - "Override" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy": { + "AWS::EKS::Cluster.RemotePodNetwork": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" - }, - "ReferrerPolicy": { - "type": "string" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Override", - "ReferrerPolicy" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig": { + "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { - "Comment": { - "type": "string" + "EndpointPrivateAccess": { + "type": "boolean" }, - "CorsConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CorsConfig" + "EndpointPublicAccess": { + "type": "boolean" }, - "CustomHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig" + "PublicAccessCidrs": { + "items": { + "type": "string" + }, + "type": "array" }, - "Name": { - "type": "string" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "SecurityHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Name" + "SubnetIds" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig": { + "AWS::EKS::Cluster.StorageConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy" - }, - "ContentTypeOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions" - }, - "FrameOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.FrameOptions" - }, - "ReferrerPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy" - }, - "StrictTransportSecurity": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity" - }, - "XSSProtection": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.XSSProtection" + "BlockStorage": { + "$ref": "#/definitions/AWS::EKS::Cluster.BlockStorage" } }, "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity": { + "AWS::EKS::Cluster.UpgradePolicy": { "additionalProperties": false, "properties": { - "AccessControlMaxAgeSec": { - "type": "number" - }, - "IncludeSubdomains": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Preload": { - "type": "boolean" + "SupportType": { + "type": "string" } }, - "required": [ - "AccessControlMaxAgeSec", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.XSSProtection": { + "AWS::EKS::Cluster.ZonalShiftConfig": { "additionalProperties": false, "properties": { - "ModeBlock": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Protection": { + "Enabled": { "type": "boolean" - }, - "ReportUri": { - "type": "string" } }, - "required": [ - "Override", - "Protection" - ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution": { + "AWS::EKS::FargateProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21771,8 +17265,26 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "StreamingDistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig" + "ClusterName": { + "type": "string" + }, + "FargateProfileName": { + "type": "string" + }, + "PodExecutionRoleArn": { + "type": "string" + }, + "Selectors": { + "items": { + "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" + }, + "type": "array" + }, + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" }, "Tags": { "items": { @@ -21782,14 +17294,15 @@ var CloudformationSchema = `{ } }, "required": [ - "StreamingDistributionConfig", - "Tags" + "ClusterName", + "PodExecutionRoleArn", + "Selectors" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::StreamingDistribution" + "AWS::EKS::FargateProfile" ], "type": "string" }, @@ -21808,97 +17321,41 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Enabled", - "Prefix" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.S3Origin": { + "AWS::EKS::FargateProfile.Label": { "additionalProperties": false, "properties": { - "DomainName": { + "Key": { "type": "string" }, - "OriginAccessIdentity": { + "Value": { "type": "string" } }, "required": [ - "DomainName", - "OriginAccessIdentity" + "Key", + "Value" ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig": { + "AWS::EKS::FargateProfile.Selector": { "additionalProperties": false, "properties": { - "Aliases": { + "Labels": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" }, "type": "array" }, - "Comment": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.Logging" - }, - "PriceClass": { + "Namespace": { "type": "string" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.S3Origin" - }, - "TrustedSigners": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.TrustedSigners" - } - }, - "required": [ - "Comment", - "Enabled", - "S3Origin", - "TrustedSigners" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.TrustedSigners": { - "additionalProperties": false, - "properties": { - "AwsAccountNumbers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" } }, "required": [ - "Enabled" + "Namespace" ], "type": "object" }, - "AWS::CloudTrail::Trail": { + "AWS::EKS::IdentityProviderConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21930,50 +17387,14 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "CloudWatchLogsRoleArn": { - "type": "string" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "EventSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.EventSelector" - }, - "type": "array" - }, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "InsightSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.InsightSelector" - }, - "type": "array" - }, - "IsLogging": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "IsOrganizationTrail": { - "type": "boolean" - }, - "KMSKeyId": { - "type": "string" - }, - "S3BucketName": { + "ClusterName": { "type": "string" }, - "S3KeyPrefix": { + "IdentityProviderConfigName": { "type": "string" }, - "SnsTopicName": { - "type": "string" + "Oidc": { + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig" }, "Tags": { "items": { @@ -21981,19 +17402,19 @@ var CloudformationSchema = `{ }, "type": "array" }, - "TrailName": { + "Type": { "type": "string" } }, "required": [ - "IsLogging", - "S3BucketName" + "ClusterName", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudTrail::Trail" + "AWS::EKS::IdentityProviderConfig" ], "type": "string" }, @@ -22012,58 +17433,57 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudTrail::Trail.DataResource": { + "AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig": { "additionalProperties": false, "properties": { - "Type": { + "ClientId": { "type": "string" }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudTrail::Trail.EventSelector": { - "additionalProperties": false, - "properties": { - "DataResources": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.DataResource" - }, - "type": "array" + "GroupsClaim": { + "type": "string" + }, + "GroupsPrefix": { + "type": "string" }, - "ExcludeManagementEventSources": { + "IssuerUrl": { + "type": "string" + }, + "RequiredClaims": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.RequiredClaim" }, "type": "array" }, - "IncludeManagementEvents": { - "type": "boolean" + "UsernameClaim": { + "type": "string" }, - "ReadWriteType": { + "UsernamePrefix": { "type": "string" } }, + "required": [ + "ClientId", + "IssuerUrl" + ], "type": "object" }, - "AWS::CloudTrail::Trail.InsightSelector": { + "AWS::EKS::IdentityProviderConfig.RequiredClaim": { "additionalProperties": false, "properties": { - "InsightType": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::CloudWatch::Alarm": { + "AWS::EKS::Nodegroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22095,94 +17515,95 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { - "type": "boolean" - }, - "AlarmActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AlarmDescription": { + "AmiType": { "type": "string" }, - "AlarmName": { + "CapacityType": { "type": "string" }, - "ComparisonOperator": { + "ClusterName": { "type": "string" }, - "DatapointsToAlarm": { + "DiskSize": { "type": "number" }, - "Dimensions": { + "ForceUpdateEnabled": { + "type": "boolean" + }, + "InstanceTypes": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" }, - "EvaluateLowSampleCountPercentile": { - "type": "string" + "Labels": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "EvaluationPeriods": { - "type": "number" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" }, - "ExtendedStatistic": { + "NodeRepairConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.NodeRepairConfig" + }, + "NodeRole": { "type": "string" }, - "InsufficientDataActions": { - "items": { - "type": "string" - }, - "type": "array" + "NodegroupName": { + "type": "string" }, - "MetricName": { + "ReleaseVersion": { "type": "string" }, - "Metrics": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" - }, - "type": "array" + "RemoteAccess": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" }, - "Namespace": { - "type": "string" + "ScalingConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" + "Tags": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ThresholdMetricId": { - "type": "string" + "Taints": { + "items": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" + }, + "type": "array" }, - "TreatMissingData": { - "type": "string" + "UpdateConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" }, - "Unit": { + "Version": { "type": "string" } }, "required": [ - "ComparisonOperator", - "EvaluationPeriods" + "ClusterName", + "NodeRole", + "Subnets" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::Alarm" + "AWS::EKS::Nodegroup" ], "type": "string" }, @@ -22201,94 +17622,94 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudWatch::Alarm.Dimension": { + "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { + "Id": { + "type": "string" + }, "Name": { "type": "string" }, - "Value": { + "Version": { "type": "string" } }, - "required": [ - "Name", - "Value" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.Metric": { + "AWS::EKS::Nodegroup.NodeRepairConfig": { "additionalProperties": false, "properties": { - "Dimensions": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EKS::Nodegroup.RemoteAccess": { + "additionalProperties": false, + "properties": { + "Ec2SshKey": { + "type": "string" + }, + "SourceSecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" + } + }, + "required": [ + "Ec2SshKey" + ], + "type": "object" + }, + "AWS::EKS::Nodegroup.ScalingConfig": { + "additionalProperties": false, + "properties": { + "DesiredSize": { + "type": "number" }, - "MetricName": { - "type": "string" + "MaxSize": { + "type": "number" }, - "Namespace": { - "type": "string" + "MinSize": { + "type": "number" } }, "type": "object" }, - "AWS::CloudWatch::Alarm.MetricDataQuery": { + "AWS::EKS::Nodegroup.Taint": { "additionalProperties": false, "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { + "Effect": { "type": "string" }, - "Id": { + "Key": { "type": "string" }, - "Label": { + "Value": { "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" } }, - "required": [ - "Id" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.MetricStat": { + "AWS::EKS::Nodegroup.UpdateConfig": { "additionalProperties": false, "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" - }, - "Period": { + "MaxUnavailable": { "type": "number" }, - "Stat": { - "type": "string" + "MaxUnavailablePercentage": { + "type": "number" }, - "Unit": { + "UpdateStrategy": { "type": "string" } }, - "required": [ - "Metric", - "Period", - "Stat" - ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector": { + "AWS::EKS::PodIdentityAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22320,36 +17741,36 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricMathAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" - }, - "MetricName": { + "ClusterName": { "type": "string" }, "Namespace": { "type": "string" }, - "SingleMetricAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" + "RoleArn": { + "type": "string" }, - "Stat": { + "ServiceAccount": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ClusterName", + "Namespace", + "RoleArn", + "ServiceAccount" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::AnomalyDetector" + "AWS::EKS::PodIdentityAssociation" ], "type": "string" }, @@ -22363,171 +17784,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Configuration": { - "additionalProperties": false, - "properties": { - "ExcludedTimeRanges": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" - }, - "type": "array" - }, - "MetricTimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Dimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Label": { - "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { - "additionalProperties": false, - "properties": { - "MetricDataQueries": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricStat": { - "additionalProperties": false, - "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" - }, - "Period": { - "type": "number" - }, - "Stat": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Metric", - "Period", - "Stat" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Range": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "EndTime", - "StartTime" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Stat": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::CompositeAlarm": { + "AWS::ElasticLoadBalancing::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22559,46 +17821,90 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { + "AccessLoggingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" + }, + "AppCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" + }, + "type": "array" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ConnectionDrainingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" + }, + "ConnectionSettings": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" + }, + "CrossZone": { "type": "boolean" }, - "AlarmActions": { + "HealthCheck": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" + }, + "Instances": { "items": { "type": "string" }, "type": "array" }, - "AlarmDescription": { - "type": "string" + "LBCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" + }, + "type": "array" }, - "AlarmName": { + "Listeners": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" + }, + "type": "array" + }, + "LoadBalancerName": { "type": "string" }, - "AlarmRule": { + "Policies": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" + }, + "type": "array" + }, + "Scheme": { "type": "string" }, - "InsufficientDataActions": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "AlarmName", - "AlarmRule" + "Listeners" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::CompositeAlarm" + "AWS::ElasticLoadBalancing::LoadBalancer" ], "type": "string" }, @@ -22617,420 +17923,179 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CloudWatch::Dashboard": { + "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EmitInterval": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "S3BucketName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardBody": { - "type": "string" - }, - "DashboardName": { - "type": "string" - } - }, - "required": [ - "DashboardBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "S3BucketPrefix": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Enabled", + "S3BucketName" ], "type": "object" }, - "AWS::CloudWatch::InsightRule": { + "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CookieName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleBody": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "RuleState": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" - } - }, - "required": [ - "RuleBody", - "RuleName", - "RuleState" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::InsightRule" - ], + "PolicyName": { "type": "string" + } + }, + "required": [ + "CookieName", + "PolicyName" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Timeout": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled" ], "type": "object" }, - "AWS::CloudWatch::InsightRule.Tags": { + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { "additionalProperties": false, - "properties": {}, + "properties": { + "IdleTimeout": { + "type": "number" + } + }, + "required": [ + "IdleTimeout" + ], "type": "object" }, - "AWS::CloudWatch::MetricStream": { + "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HealthyThreshold": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Interval": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExcludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "FirehoseArn": { - "type": "string" - }, - "IncludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OutputFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirehoseArn", - "OutputFormat", - "RoleArn" - ], - "type": "object" + "Target": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CloudWatch::MetricStream" - ], + "Timeout": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UnhealthyThreshold": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HealthyThreshold", + "Interval", + "Target", + "Timeout", + "UnhealthyThreshold" ], "type": "object" }, - "AWS::CloudWatch::MetricStream.MetricStreamFilter": { + "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "Namespace": { + "CookieExpirationPeriod": { + "type": "string" + }, + "PolicyName": { "type": "string" } }, - "required": [ - "Namespace" - ], "type": "object" }, - "AWS::CodeArtifact::Domain": { + "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstancePort": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "InstanceProtocol": { + "type": "string" }, - "Metadata": { - "type": "object" + "LoadBalancerPort": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "PolicyNames": { + "items": { + "type": "string" }, - "required": [ - "DomainName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Domain" - ], + "Protocol": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SSLCertificateId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "InstancePort", + "LoadBalancerPort", + "Protocol" ], "type": "object" }, - "AWS::CodeArtifact::Repository": { + "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Attributes": { + "items": { + "type": "object" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "InstancePorts": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "DomainOwner": { - "type": "string" - }, - "ExternalConnections": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Upstreams": { - "items": { - "type": "string" - }, - "type": "array" - } + "LoadBalancerPorts": { + "items": { + "type": "string" }, - "required": [ - "DomainName", - "RepositoryName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Repository" - ], + "PolicyName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PolicyType": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Attributes", + "PolicyName", + "PolicyType" ], "type": "object" }, - "AWS::CodeBuild::Project": { + "AWS::ElasticLoadBalancingV2::Listener": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23062,105 +18127,55 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Artifacts": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" - }, - "BadgeEnabled": { - "type": "boolean" - }, - "BuildBatchConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectBuildBatchConfig" - }, - "Cache": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectCache" - }, - "ConcurrentBuildLimit": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Environment" - }, - "FileSystemLocations": { + "AlpnPolicy": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectFileSystemLocation" + "type": "string" }, "type": "array" }, - "LogsConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.LogsConfig" - }, - "Name": { - "type": "string" - }, - "QueuedTimeoutInMinutes": { - "type": "number" - }, - "ResourceAccessRole": { - "type": "string" - }, - "SecondaryArtifacts": { + "Certificates": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" }, "type": "array" }, - "SecondarySourceVersions": { + "DefaultActions": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectSourceVersion" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" }, "type": "array" }, - "SecondarySources": { + "ListenerAttributes": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute" }, "type": "array" }, - "ServiceRole": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" - }, - "SourceVersion": { + "LoadBalancerArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MutualAuthentication": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication" }, - "TimeoutInMinutes": { + "Port": { "type": "number" }, - "Triggers": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectTriggers" - }, - "Visibility": { + "Protocol": { "type": "string" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.VpcConfig" + "SslPolicy": { + "type": "string" } }, "required": [ - "Artifacts", - "Environment", - "ServiceRole", - "Source" + "DefaultActions", + "LoadBalancerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::Project" + "AWS::ElasticLoadBalancingV2::Listener" ], "type": "string" }, @@ -23179,31 +18194,28 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::Project.Artifacts": { + "AWS::ElasticLoadBalancingV2::Listener.Action": { "additionalProperties": false, "properties": { - "ArtifactIdentifier": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" }, - "Location": { - "type": "string" + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" }, - "Name": { - "type": "string" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" }, - "NamespaceType": { - "type": "string" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" }, - "OverrideArtifactName": { - "type": "boolean" + "Order": { + "type": "number" }, - "Packaging": { - "type": "string" + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" }, - "Path": { + "TargetGroupArn": { "type": "string" }, "Type": { @@ -23215,368 +18227,226 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::Project.BatchRestrictions": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "ComputeTypesAllowed": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "MaximumBuildsAllowed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.BuildStatusConfig": { - "additionalProperties": false, - "properties": { - "Context": { + "OnUnauthenticatedRequest": { "type": "string" }, - "TargetUrl": { + "Scope": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.CloudWatchLogsConfig": { - "additionalProperties": false, - "properties": { - "GroupName": { + }, + "SessionCookieName": { "type": "string" }, - "Status": { + "SessionTimeout": { + "type": "string" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { "type": "string" }, - "StreamName": { + "UserPoolDomain": { "type": "string" } }, "required": [ - "Status" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeBuild::Project.Environment": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Certificate": { - "type": "string" - }, - "ComputeType": { - "type": "string" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.EnvironmentVariable" - }, - "type": "array" - }, - "Image": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ImagePullCredentialsType": { + "AuthorizationEndpoint": { "type": "string" }, - "PrivilegedMode": { - "type": "boolean" - }, - "RegistryCredential": { - "$ref": "#/definitions/AWS::CodeBuild::Project.RegistryCredential" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ComputeType", - "Image", - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { + "ClientId": { "type": "string" }, - "Type": { + "ClientSecret": { "type": "string" }, - "Value": { + "Issuer": { "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.FilterGroup": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CodeBuild::Project.GitSubmodulesConfig": { - "additionalProperties": false, - "properties": { - "FetchSubmodules": { - "type": "boolean" - } - }, - "required": [ - "FetchSubmodules" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.LogsConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.CloudWatchLogsConfig" }, - "S3Logs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.S3LogsConfig" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectBuildBatchConfig": { - "additionalProperties": false, - "properties": { - "BatchReportMode": { + "OnUnauthenticatedRequest": { "type": "string" }, - "CombineArtifacts": { - "type": "boolean" + "Scope": { + "type": "string" }, - "Restrictions": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BatchRestrictions" + "SessionCookieName": { + "type": "string" }, - "ServiceRole": { + "SessionTimeout": { "type": "string" }, - "TimeoutInMins": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectCache": { - "additionalProperties": false, - "properties": { - "Location": { + "TokenEndpoint": { "type": "string" }, - "Modes": { - "items": { - "type": "string" - }, - "type": "array" + "UseExistingClientSecret": { + "type": "boolean" }, - "Type": { + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "Type" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectFileSystemLocation": { + "AWS::ElasticLoadBalancingV2::Listener.Certificate": { "additionalProperties": false, "properties": { - "Identifier": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "MountOptions": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Type": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Identifier", - "Location", - "MountPoint", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectSourceVersion": { + "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { "additionalProperties": false, "properties": { - "SourceIdentifier": { + "ContentType": { + "type": "string" + }, + "MessageBody": { "type": "string" }, - "SourceVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "SourceIdentifier" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectTriggers": { + "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { "additionalProperties": false, "properties": { - "BuildType": { - "type": "string" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" }, - "FilterGroups": { + "TargetGroups": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.FilterGroup" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" }, "type": "array" - }, - "Webhook": { - "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.RegistryCredential": { + "AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute": { "additionalProperties": false, "properties": { - "Credential": { + "Key": { "type": "string" }, - "CredentialProvider": { + "Value": { "type": "string" } }, - "required": [ - "Credential", - "CredentialProvider" - ], "type": "object" }, - "AWS::CodeBuild::Project.S3LogsConfig": { + "AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication": { "additionalProperties": false, "properties": { - "EncryptionDisabled": { + "AdvertiseTrustStoreCaNames": { + "type": "string" + }, + "IgnoreClientCertificateExpiry": { "type": "boolean" }, - "Location": { + "Mode": { "type": "string" }, - "Status": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Status" - ], "type": "object" }, - "AWS::CodeBuild::Project.Source": { + "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { "additionalProperties": false, "properties": { - "Auth": { - "$ref": "#/definitions/AWS::CodeBuild::Project.SourceAuth" - }, - "BuildSpec": { + "Host": { "type": "string" }, - "BuildStatusConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BuildStatusConfig" - }, - "GitCloneDepth": { - "type": "number" - }, - "GitSubmodulesConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.GitSubmodulesConfig" - }, - "InsecureSsl": { - "type": "boolean" - }, - "Location": { + "Path": { "type": "string" }, - "ReportBuildStatus": { - "type": "boolean" - }, - "SourceIdentifier": { + "Port": { "type": "string" }, - "Type": { + "Protocol": { "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.SourceAuth": { - "additionalProperties": false, - "properties": { - "Resource": { + }, + "Query": { "type": "string" }, - "Type": { + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.VpcConfig": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" + "DurationSeconds": { + "type": "number" }, - "VpcId": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.WebhookFilter": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { "additionalProperties": false, "properties": { - "ExcludeMatchedPattern": { - "type": "boolean" - }, - "Pattern": { + "TargetGroupArn": { "type": "string" }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, - "required": [ - "Pattern", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::ReportGroup": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23608,34 +18478,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeleteReports": { - "type": "boolean" - }, - "ExportConfig": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.ReportExportConfig" - }, - "Name": { - "type": "string" - }, - "Tags": { + "Certificates": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" }, "type": "array" }, - "Type": { + "ListenerArn": { "type": "string" } }, "required": [ - "ExportConfig", - "Type" + "Certificates", + "ListenerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::ReportGroup" + "AWS::ElasticLoadBalancingV2::ListenerCertificate" ], "type": "string" }, @@ -23654,49 +18515,16 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::ReportGroup.ReportExportConfig": { - "additionalProperties": false, - "properties": { - "ExportConfigType": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.S3ReportExportConfig" - } - }, - "required": [ - "ExportConfigType" - ], - "type": "object" - }, - "AWS::CodeBuild::ReportGroup.S3ReportExportConfig": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BucketOwner": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" - }, - "EncryptionKey": { - "type": "string" - }, - "Packaging": { - "type": "string" - }, - "Path": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Bucket" - ], "type": "object" }, - "AWS::CodeBuild::SourceCredential": { + "AWS::ElasticLoadBalancingV2::ListenerRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23728,29 +18556,35 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" + "Actions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" + }, + "type": "array" }, - "ServerType": { - "type": "string" + "Conditions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" + }, + "type": "array" }, - "Token": { + "ListenerArn": { "type": "string" }, - "Username": { - "type": "string" + "Priority": { + "type": "number" } }, "required": [ - "AuthType", - "ServerType", - "Token" + "Actions", + "Conditions", + "Priority" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::SourceCredential" + "AWS::ElasticLoadBalancingV2::ListenerRule" ], "type": "string" }, @@ -23769,353 +18603,340 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeCommit::Repository": { + "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" }, - "Metadata": { - "type": "object" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.Code" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.RepositoryTrigger" - }, - "type": "array" - } - }, - "required": [ - "RepositoryName" - ], - "type": "object" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" }, - "Type": { - "enum": [ - "AWS::CodeCommit::Repository" - ], + "Order": { + "type": "number" + }, + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" + }, + "TargetGroupArn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeCommit::Repository.Code": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "BranchName": { + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "OnUnauthenticatedRequest": { "type": "string" }, - "S3": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.S3" + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { + "type": "string" } }, "required": [ - "S3" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeCommit::Repository.RepositoryTrigger": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Branches": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "CustomData": { + "AuthorizationEndpoint": { "type": "string" }, - "DestinationArn": { + "ClientId": { "type": "string" }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" }, - "Name": { + "Issuer": { + "type": "string" + }, + "OnUnauthenticatedRequest": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "TokenEndpoint": { + "type": "string" + }, + "UseExistingClientSecret": { + "type": "boolean" + }, + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "DestinationArn", - "Events", - "Name" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeCommit::Repository.S3": { + "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { "additionalProperties": false, "properties": { - "Bucket": { + "ContentType": { "type": "string" }, - "Key": { + "MessageBody": { "type": "string" }, - "ObjectVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::Application": { + "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ComputePlatform": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeDeploy::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { + "additionalProperties": false, + "properties": { + "HttpHeaderName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" }, - "Metadata": { - "type": "object" + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { + "additionalProperties": false, + "properties": { + "Host": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ComputePlatform": { - "type": "string" - }, - "DeploymentConfigName": { - "type": "string" - }, - "MinimumHealthyHosts": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts" - }, - "TrafficRoutingConfig": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig" - } - }, - "type": "object" + "Path": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CodeDeploy::DeploymentConfig" - ], + "Port": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { + "type": "string" + }, + "Query": { + "type": "string" + }, + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts": { + "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { "additionalProperties": false, "properties": { - "Type": { + "Field": { "type": "string" }, - "Value": { - "type": "number" + "HostHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" + }, + "HttpHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" + }, + "HttpRequestMethodConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" + }, + "PathPatternConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" + }, + "QueryStringConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" + }, + "SourceIpConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" + }, + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Value" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary": { + "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { "additionalProperties": false, "properties": { - "CanaryInterval": { - "type": "number" - }, - "CanaryPercentage": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "CanaryInterval", - "CanaryPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "LinearInterval": { + "DurationSeconds": { "type": "number" }, - "LinearPercentage": { - "type": "number" + "Enabled": { + "type": "boolean" } }, - "required": [ - "LinearInterval", - "LinearPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { "additionalProperties": false, "properties": { - "TimeBasedCanary": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary" - }, - "TimeBasedLinear": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear" - }, - "Type": { + "TargetGroupArn": { "type": "string" + }, + "Weight": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24147,82 +18968,63 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AlarmConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration" + "EnablePrefixForIpv6SourceNat": { + "type": "string" }, - "ApplicationName": { + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": { "type": "string" }, - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration" + "IpAddressType": { + "type": "string" }, - "AutoScalingGroups": { + "LoadBalancerAttributes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" }, "type": "array" }, - "BlueGreenDeploymentConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration" + "MinimumLoadBalancerCapacity": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity" }, - "Deployment": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Deployment" - }, - "DeploymentConfigName": { + "Name": { "type": "string" }, - "DeploymentGroupName": { + "Scheme": { "type": "string" }, - "DeploymentStyle": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentStyle" - }, - "ECSServices": { + "SecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ECSService" + "type": "string" }, "type": "array" }, - "Ec2TagFilters": { + "SubnetMappings": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" }, "type": "array" }, - "Ec2TagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSet" - }, - "LoadBalancerInfo": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo" - }, - "OnPremisesInstanceTagFilters": { + "Subnets": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" + "type": "string" }, "type": "array" }, - "OnPremisesTagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TriggerConfigurations": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TriggerConfig" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Type": { + "type": "string" } }, - "required": [ - "ApplicationName", - "ServiceRoleArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeDeploy::DeploymentGroup" + "AWS::ElasticLoadBalancingV2::LoadBalancer" ], "type": "string" }, @@ -24236,336 +19038,222 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.Alarm": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Alarm" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "IgnorePollAlarmFailure": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentReadyOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption" }, - "GreenFleetProvisioningOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption" - }, - "TerminateBlueInstancesOnDeploymentSuccess": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption": { - "additionalProperties": false, - "properties": { - "Action": { + "Value": { "type": "string" - }, - "TerminationWaitTimeInMinutes": { - "type": "number" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.Deployment": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IgnoreApplicationStopFailures": { - "type": "boolean" - }, - "Revision": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.RevisionLocation" + "CapacityUnits": { + "type": "number" } }, "required": [ - "Revision" + "CapacityUnits" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption": { - "additionalProperties": false, - "properties": { - "ActionOnTimeout": { - "type": "string" - }, - "WaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentStyle": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { "additionalProperties": false, "properties": { - "DeploymentOption": { + "AllocationId": { "type": "string" }, - "DeploymentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "IPv6Address": { "type": "string" }, - "Type": { + "PrivateIPv4Address": { "type": "string" }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSet": { - "additionalProperties": false, - "properties": { - "Ec2TagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject": { - "additionalProperties": false, - "properties": { - "Ec2TagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ECSService": { - "additionalProperties": false, - "properties": { - "ClusterName": { + "SourceNatIpv6Prefix": { "type": "string" }, - "ServiceName": { + "SubnetId": { "type": "string" } }, "required": [ - "ClusterName", - "ServiceName" + "SubnetId" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.ELBInfo": { + "AWS::ElasticLoadBalancingV2::TargetGroup": { "additionalProperties": false, "properties": { - "Name": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.GitHubLocation": { - "additionalProperties": false, - "properties": { - "CommitId": { + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "HealthCheckEnabled": { + "type": "boolean" + }, + "HealthCheckIntervalSeconds": { + "type": "number" + }, + "HealthCheckPath": { + "type": "string" + }, + "HealthCheckPort": { + "type": "string" + }, + "HealthCheckProtocol": { + "type": "string" + }, + "HealthCheckTimeoutSeconds": { + "type": "number" + }, + "HealthyThresholdCount": { + "type": "number" + }, + "IpAddressType": { + "type": "string" + }, + "Matcher": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" + }, + "Name": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "Protocol": { + "type": "string" + }, + "ProtocolVersion": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TargetGroupAttributes": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" + }, + "type": "array" + }, + "TargetType": { + "type": "string" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" + }, + "type": "array" + }, + "UnhealthyThresholdCount": { + "type": "number" + }, + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::ElasticLoadBalancingV2::TargetGroup" + ], "type": "string" }, - "Repository": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "CommitId", - "Repository" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption": { + "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { "additionalProperties": false, "properties": { - "Action": { + "GrpcCode": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo": { - "additionalProperties": false, - "properties": { - "ElbInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ELBInfo" - }, - "type": "array" - }, - "TargetGroupInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet": { - "additionalProperties": false, - "properties": { - "OnPremisesTagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject": { - "additionalProperties": false, - "properties": { - "OnPremisesTagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.RevisionLocation": { - "additionalProperties": false, - "properties": { - "GitHubLocation": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GitHubLocation" }, - "RevisionType": { + "HttpCode": { "type": "string" - }, - "S3Location": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.S3Location" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.S3Location": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BundleType": { - "type": "string" - }, - "ETag": { + "AvailabilityZone": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { - "type": "string" + "Port": { + "type": "number" } }, "required": [ - "Bucket", - "Key" + "Id" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TagFilter": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { "additionalProperties": false, "properties": { "Key": { "type": "string" }, - "Type": { - "type": "string" - }, "Value": { "type": "string" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TriggerName": { - "type": "string" - }, - "TriggerTargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeGuruProfiler::ProfilingGroup": { + "AWS::ElasticLoadBalancingV2::TrustStore": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24597,19 +19285,16 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AgentPermissions": { - "type": "object" + "CaCertificatesBundleS3Bucket": { + "type": "string" }, - "AnomalyDetectionNotificationConfiguration": { - "items": { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup.Channel" - }, - "type": "array" + "CaCertificatesBundleS3Key": { + "type": "string" }, - "ComputePlatform": { + "CaCertificatesBundleS3ObjectVersion": { "type": "string" }, - "ProfilingGroupName": { + "Name": { "type": "string" }, "Tags": { @@ -24619,14 +19304,11 @@ var CloudformationSchema = `{ "type": "array" } }, - "required": [ - "ProfilingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruProfiler::ProfilingGroup" + "AWS::ElasticLoadBalancingV2::TrustStore" ], "type": "string" }, @@ -24640,27 +19322,111 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeGuruProfiler::ProfilingGroup.Channel": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation": { "additionalProperties": false, "properties": { - "channelId": { - "type": "string" - }, - "channelUri": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "RevocationContents": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent" + }, + "type": "array" + }, + "TrustStoreArn": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "channelUri" + "Type" ], "type": "object" }, - "AWS::CodeGuruReviewer::RepositoryAssociation": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent": { + "additionalProperties": false, + "properties": { + "RevocationType": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation": { + "additionalProperties": false, + "properties": { + "NumberOfRevokedEntries": { + "type": "number" + }, + "RevocationId": { + "type": "string" + }, + "RevocationType": { + "type": "string" + }, + "TrustStoreArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::ApiDestination": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24692,37 +19458,35 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BucketName": { + "ConnectionArn": { "type": "string" }, - "ConnectionArn": { + "Description": { "type": "string" }, - "Name": { + "HttpMethod": { "type": "string" }, - "Owner": { + "InvocationEndpoint": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "InvocationRateLimitPerSecond": { + "type": "number" }, - "Type": { + "Name": { "type": "string" } }, "required": [ - "Name", - "Type" + "ConnectionArn", + "HttpMethod", + "InvocationEndpoint" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruReviewer::RepositoryAssociation" + "AWS::Events::ApiDestination" ], "type": "string" }, @@ -24741,7 +19505,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodePipeline::CustomActionType": { + "AWS::Events::Archive": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24773,49 +19537,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Category": { + "ArchiveName": { "type": "string" }, - "ConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ConfigurationProperties" - }, - "type": "array" - }, - "InputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "OutputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "Provider": { + "Description": { "type": "string" }, - "Settings": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.Settings" + "EventPattern": { + "type": "object" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RetentionDays": { + "type": "number" }, - "Version": { + "SourceArn": { "type": "string" } }, "required": [ - "Category", - "InputArtifactDetails", - "OutputArtifactDetails", - "Provider", - "Version" + "SourceArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::CustomActionType" + "AWS::Events::Archive" ], "type": "string" }, @@ -24834,74 +19579,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.ArtifactDetails": { - "additionalProperties": false, - "properties": { - "MaximumCount": { - "type": "number" - }, - "MinimumCount": { - "type": "number" - } - }, - "required": [ - "MaximumCount", - "MinimumCount" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.ConfigurationProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Key": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Queryable": { - "type": "boolean" - }, - "Required": { - "type": "boolean" - }, - "Secret": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Key", - "Name", - "Required", - "Secret" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.Settings": { - "additionalProperties": false, - "properties": { - "EntityUrlTemplate": { - "type": "string" - }, - "ExecutionUrlTemplate": { - "type": "string" - }, - "RevisionUrlTemplate": { - "type": "string" - }, - "ThirdPartyConfigurationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodePipeline::Pipeline": { + "AWS::Events::Connection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24933,52 +19611,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" - }, - "ArtifactStores": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStoreMap" - }, - "type": "array" - }, - "DisableInboundStageTransitions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageTransition" - }, - "type": "array" + "AuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.AuthParameters" }, - "Name": { + "AuthorizationType": { "type": "string" }, - "RestartExecutionOnUpdate": { - "type": "boolean" - }, - "RoleArn": { + "Description": { "type": "string" }, - "Stages": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageDeclaration" - }, - "type": "array" + "InvocationConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.InvocationConnectivityParameters" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Name": { + "type": "string" } }, - "required": [ - "RoleArn", - "Stages" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Pipeline" + "AWS::Events::Connection" ], "type": "string" }, @@ -24992,211 +19645,185 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionDeclaration": { + "AWS::Events::Connection.ApiKeyAuthParameters": { "additionalProperties": false, "properties": { - "ActionTypeId": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionTypeId" - }, - "Configuration": { - "type": "object" - }, - "InputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.InputArtifact" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "OutputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.OutputArtifact" - }, - "type": "array" - }, - "Region": { + "ApiKeyName": { "type": "string" }, - "RoleArn": { + "ApiKeyValue": { "type": "string" - }, - "RunOrder": { - "type": "number" } }, "required": [ - "ActionTypeId", - "Name" + "ApiKeyName", + "ApiKeyValue" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionTypeId": { + "AWS::Events::Connection.AuthParameters": { "additionalProperties": false, "properties": { - "Category": { - "type": "string" + "ApiKeyAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ApiKeyAuthParameters" }, - "Owner": { - "type": "string" + "BasicAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.BasicAuthParameters" }, - "Provider": { - "type": "string" + "ConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectivityParameters" }, - "Version": { - "type": "string" + "InvocationHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" + }, + "OAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.OAuthParameters" } }, - "required": [ - "Category", - "Owner", - "Provider", - "Version" - ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStore": { + "AWS::Events::Connection.BasicAuthParameters": { "additionalProperties": false, "properties": { - "EncryptionKey": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.EncryptionKey" - }, - "Location": { + "Password": { "type": "string" }, - "Type": { + "Username": { "type": "string" } }, "required": [ - "Location", - "Type" + "Password", + "Username" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStoreMap": { + "AWS::Events::Connection.ClientParameters": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" + "ClientID": { + "type": "string" }, - "Region": { + "ClientSecret": { "type": "string" } }, "required": [ - "ArtifactStore", - "Region" + "ClientID", + "ClientSecret" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.BlockerDeclaration": { + "AWS::Events::Connection.ConnectionHttpParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "BodyParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" }, - "Type": { - "type": "string" + "HeaderParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + }, + "QueryStringParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" } }, - "required": [ - "Name", - "Type" - ], "type": "object" }, - "AWS::CodePipeline::Pipeline.EncryptionKey": { + "AWS::Events::Connection.ConnectivityParameters": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Type": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Id", - "Type" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.InputArtifact": { + "AWS::Events::Connection.InvocationConnectivityParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Name" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.OutputArtifact": { + "AWS::Events::Connection.OAuthParameters": { "additionalProperties": false, "properties": { - "Name": { + "AuthorizationEndpoint": { + "type": "string" + }, + "ClientParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ClientParameters" + }, + "HttpMethod": { "type": "string" + }, + "OAuthHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" } }, "required": [ - "Name" + "AuthorizationEndpoint", + "ClientParameters", + "HttpMethod" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageDeclaration": { + "AWS::Events::Connection.Parameter": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionDeclaration" - }, - "type": "array" + "IsValueSecret": { + "type": "boolean" }, - "Blockers": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.BlockerDeclaration" - }, - "type": "array" + "Key": { + "type": "string" }, - "Name": { + "Value": { "type": "string" } }, "required": [ - "Actions", - "Name" + "Key", + "Value" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageTransition": { + "AWS::Events::Connection.ResourceParameters": { "additionalProperties": false, "properties": { - "Reason": { + "ResourceAssociationArn": { "type": "string" }, - "StageName": { + "ResourceConfigurationArn": { "type": "string" } }, "required": [ - "Reason", - "StageName" + "ResourceConfigurationArn" ], "type": "object" }, - "AWS::CodePipeline::Webhook": { + "AWS::Events::Endpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25228,47 +19855,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Authentication": { + "Description": { "type": "string" }, - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookAuthConfiguration" - }, - "Filters": { + "EventBuses": { "items": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookFilterRule" + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" }, "type": "array" }, "Name": { "type": "string" }, - "RegisterWithThirdParty": { - "type": "boolean" - }, - "TargetAction": { - "type": "string" + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" }, - "TargetPipeline": { + "RoleArn": { "type": "string" }, - "TargetPipelineVersion": { - "type": "number" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" } }, "required": [ - "Authentication", - "AuthenticationConfiguration", - "Filters", - "TargetAction", - "TargetPipeline", - "TargetPipelineVersion" + "EventBuses", + "RoutingConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Webhook" + "AWS::Events::Endpoint" ], "type": "string" }, @@ -25287,149 +19904,83 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookAuthConfiguration": { + "AWS::Events::Endpoint.EndpointEventBus": { "additionalProperties": false, "properties": { - "AllowedIPRange": { - "type": "string" - }, - "SecretToken": { + "EventBusArn": { "type": "string" } }, + "required": [ + "EventBusArn" + ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookFilterRule": { + "AWS::Events::Endpoint.FailoverConfig": { "additionalProperties": false, "properties": { - "JsonPath": { - "type": "string" + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" }, - "MatchEquals": { - "type": "string" + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" } }, "required": [ - "JsonPath" + "Primary", + "Secondary" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository": { + "AWS::Events::Endpoint.Primary": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.Code" - }, - "ConnectionArn": { - "type": "string" - }, - "EnableIssues": { - "type": "boolean" - }, - "IsPrivate": { - "type": "boolean" - }, - "RepositoryAccessToken": { - "type": "string" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryOwner": { - "type": "string" - } - }, - "required": [ - "RepositoryName", - "RepositoryOwner" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeStar::GitHubRepository" - ], + "HealthCheck": { "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { "type": "string" } }, "required": [ - "Type", - "Properties" + "State" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.Code": { + "AWS::Events::Endpoint.RoutingConfig": { "additionalProperties": false, "properties": { - "S3": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.S3" + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" } }, "required": [ - "S3" + "FailoverConfig" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.S3": { + "AWS::Events::Endpoint.Secondary": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { + "Route": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "Route" ], "type": "object" }, - "AWS::CodeStarConnections::Connection": { + "AWS::Events::EventBus": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25461,15 +20012,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConnectionName": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::EventBus.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "HostArn": { + "EventSourceName": { + "type": "string" + }, + "KmsKeyIdentifier": { "type": "string" }, - "ProviderType": { + "Name": { "type": "string" }, + "Policy": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -25478,13 +20038,13 @@ var CloudformationSchema = `{ } }, "required": [ - "ConnectionName" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarConnections::Connection" + "AWS::Events::EventBus" ], "type": "string" }, @@ -25503,7 +20063,16 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule": { + "AWS::Events::EventBus.DeadLetterConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::EventBusPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25535,55 +20104,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CreatedBy": { - "type": "string" - }, - "DetailType": { - "type": "string" - }, - "EventTypeId": { + "Action": { "type": "string" }, - "EventTypeIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" + "Condition": { + "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" }, - "Resource": { + "EventBusName": { "type": "string" }, - "Status": { + "Principal": { "type": "string" }, - "Tags": { + "Statement": { "type": "object" }, - "TargetAddress": { + "StatementId": { "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule.Target" - }, - "type": "array" } }, "required": [ - "DetailType", - "EventTypeIds", - "Name", - "Resource", - "Targets" + "StatementId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarNotifications::NotificationRule" + "AWS::Events::EventBusPolicy" ], "type": "string" }, @@ -25602,23 +20149,22 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule.Target": { + "AWS::Events::EventBusPolicy.Condition": { "additionalProperties": false, "properties": { - "TargetAddress": { + "Key": { "type": "string" }, - "TargetType": { + "Type": { + "type": "string" + }, + "Value": { "type": "string" } }, - "required": [ - "TargetAddress", - "TargetType" - ], "type": "object" }, - "AWS::Cognito::IdentityPool": { + "AWS::Events::Rule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25650,57 +20196,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllowClassicFlow": { - "type": "boolean" + "Description": { + "type": "string" }, - "AllowUnauthenticatedIdentities": { - "type": "boolean" + "EventBusName": { + "type": "string" }, - "CognitoEvents": { + "EventPattern": { "type": "object" }, - "CognitoIdentityProviders": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoIdentityProvider" - }, - "type": "array" - }, - "CognitoStreams": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoStreams" - }, - "DeveloperProviderName": { + "Name": { "type": "string" }, - "IdentityPoolName": { + "RoleArn": { "type": "string" }, - "OpenIdConnectProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" + "ScheduleExpression": { + "type": "string" }, - "PushSync": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.PushSync" + "State": { + "type": "string" }, - "SamlProviderARNs": { + "Targets": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::Events::Rule.Target" }, "type": "array" - }, - "SupportedLoginProviders": { - "type": "object" } }, - "required": [ - "AllowUnauthenticatedIdentities" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::IdentityPool" + "AWS::Events::Rule" ], "type": "string" }, @@ -25714,615 +20242,453 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoIdentityProvider": { + "AWS::Events::Rule.AppSyncParameters": { "additionalProperties": false, "properties": { - "ClientId": { - "type": "string" - }, - "ProviderName": { + "GraphQLOperation": { "type": "string" - }, - "ServerSideTokenCheck": { - "type": "boolean" } }, + "required": [ + "GraphQLOperation" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoStreams": { + "AWS::Events::Rule.AwsVpcConfiguration": { "additionalProperties": false, "properties": { - "RoleArn": { + "AssignPublicIp": { "type": "string" }, - "StreamName": { - "type": "string" + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" }, - "StreamingStatus": { - "type": "string" + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Subnets" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.PushSync": { + "AWS::Events::Rule.BatchArrayProperties": { "additionalProperties": false, "properties": { - "ApplicationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" + "Size": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment": { + "AWS::Events::Rule.BatchParameters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityPoolId": { - "type": "string" - }, - "RoleMappings": { - "type": "object" - }, - "Roles": { - "type": "object" - } - }, - "required": [ - "IdentityPoolId" - ], - "type": "object" + "ArrayProperties": { + "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPoolRoleAttachment" - ], + "JobDefinition": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "JobName": { "type": "string" + }, + "RetryStrategy": { + "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" } }, "required": [ - "Type", - "Properties" + "JobDefinition", + "JobName" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.MappingRule": { + "AWS::Events::Rule.BatchRetryStrategy": { "additionalProperties": false, "properties": { - "Claim": { - "type": "string" - }, - "MatchType": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "Value": { - "type": "string" + "Attempts": { + "type": "number" } }, - "required": [ - "Claim", - "MatchType", - "RoleARN", - "Value" - ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping": { + "AWS::Events::Rule.CapacityProviderStrategyItem": { "additionalProperties": false, "properties": { - "AmbiguousRoleResolution": { - "type": "string" + "Base": { + "type": "number" }, - "IdentityProvider": { + "CapacityProvider": { "type": "string" }, - "RulesConfiguration": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType" - }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, "required": [ - "Type" + "CapacityProvider" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType": { + "AWS::Events::Rule.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.MappingRule" - }, - "type": "array" + "Arn": { + "type": "string" } }, - "required": [ - "Rules" - ], "type": "object" }, - "AWS::Cognito::UserPool": { + "AWS::Events::Rule.EcsParameters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CapacityProviderStrategy": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" + }, + "type": "array" + }, + "EnableECSManagedTags": { + "type": "boolean" + }, + "EnableExecuteCommand": { + "type": "boolean" + }, + "Group": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LaunchType": { + "type": "string" }, - "Metadata": { - "type": "object" + "NetworkConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.DeviceConfiguration" - }, - "EmailConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.EmailConfiguration" - }, - "EmailVerificationMessage": { - "type": "string" - }, - "EmailVerificationSubject": { - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.LambdaConfig" - }, - "MfaConfiguration": { - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/AWS::Cognito::UserPool.Policies" - }, - "Schema": { - "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SmsConfiguration" - }, - "SmsVerificationMessage": { - "type": "string" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UserPoolAddOns" - }, - "UserPoolName": { - "type": "string" - }, - "UserPoolTags": { - "type": "object" - }, - "UsernameAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.VerificationMessageTemplate" - } + "PlacementConstraints": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Cognito::UserPool" - ], + "PlacementStrategies": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" + }, + "type": "array" + }, + "PlatformVersion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PropagateTags": { + "type": "string" + }, + "ReferenceId": { + "type": "string" + }, + "TagList": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TaskCount": { + "type": "number" + }, + "TaskDefinitionArn": { "type": "string" } }, "required": [ - "Type" + "TaskDefinitionArn" ], "type": "object" }, - "AWS::Cognito::UserPool.AccountRecoverySetting": { + "AWS::Events::Rule.HttpParameters": { "additionalProperties": false, "properties": { - "RecoveryMechanisms": { + "HeaderParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "PathParameterValues": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.RecoveryOption" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "InviteMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.InviteMessageTemplate" }, - "UnusedAccountValidityDays": { - "type": "number" + "QueryStringParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "type": "object" }, - "AWS::Cognito::UserPool.CustomEmailSender": { + "AWS::Events::Rule.InputTransformer": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" + "InputPathsMap": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "LambdaVersion": { + "InputTemplate": { "type": "string" } }, + "required": [ + "InputTemplate" + ], "type": "object" }, - "AWS::Cognito::UserPool.CustomSMSSender": { + "AWS::Events::Rule.KinesisParameters": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { + "PartitionKeyPath": { "type": "string" } }, + "required": [ + "PartitionKeyPath" + ], "type": "object" }, - "AWS::Cognito::UserPool.DeviceConfiguration": { + "AWS::Events::Rule.NetworkConfiguration": { "additionalProperties": false, "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" + "AwsVpcConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" } }, "type": "object" }, - "AWS::Cognito::UserPool.EmailConfiguration": { + "AWS::Events::Rule.PlacementConstraint": { "additionalProperties": false, "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { + "Expression": { "type": "string" }, - "SourceArn": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.InviteMessageTemplate": { + "AWS::Events::Rule.PlacementStrategy": { "additionalProperties": false, "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { + "Field": { "type": "string" }, - "SMSMessage": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.LambdaConfig": { + "AWS::Events::Rule.RedshiftDataParameters": { "additionalProperties": false, "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { + "Database": { "type": "string" }, - "PreAuthentication": { + "DbUser": { "type": "string" }, - "PreSignUp": { + "SecretManagerArn": { "type": "string" }, - "PreTokenGeneration": { + "Sql": { "type": "string" }, - "UserMigration": { - "type": "string" + "Sqls": { + "items": { + "type": "string" + }, + "type": "array" }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { + "StatementName": { "type": "string" }, - "MinValue": { - "type": "string" + "WithEvent": { + "type": "boolean" } }, + "required": [ + "Database" + ], "type": "object" }, - "AWS::Cognito::UserPool.PasswordPolicy": { + "AWS::Events::Rule.RetryPolicy": { "additionalProperties": false, "properties": { - "MinimumLength": { + "MaximumEventAgeInSeconds": { "type": "number" }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { + "MaximumRetryAttempts": { "type": "number" } }, "type": "object" }, - "AWS::Cognito::UserPool.Policies": { + "AWS::Events::Rule.RunCommandParameters": { "additionalProperties": false, "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/AWS::Cognito::UserPool.PasswordPolicy" + "RunCommandTargets": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" + }, + "type": "array" } }, + "required": [ + "RunCommandTargets" + ], "type": "object" }, - "AWS::Cognito::UserPool.RecoveryOption": { + "AWS::Events::Rule.RunCommandTarget": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" }, - "Priority": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Values" + ], "type": "object" }, - "AWS::Cognito::UserPool.SchemaAttribute": { + "AWS::Events::Rule.SageMakerPipelineParameter": { "additionalProperties": false, "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, "Name": { "type": "string" }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.StringAttributeConstraints" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::Cognito::UserPool.StringAttributeConstraints": { + "AWS::Events::Rule.SageMakerPipelineParameters": { "additionalProperties": false, "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" + "PipelineParameterList": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameter" + }, + "type": "array" } }, "type": "object" }, - "AWS::Cognito::UserPool.UserPoolAddOns": { + "AWS::Events::Rule.SqsParameters": { "additionalProperties": false, "properties": { - "AdvancedSecurityMode": { + "MessageGroupId": { "type": "string" } }, + "required": [ + "MessageGroupId" + ], "type": "object" }, - "AWS::Cognito::UserPool.UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.VerificationMessageTemplate": { + "AWS::Events::Rule.Target": { "additionalProperties": false, "properties": { - "DefaultEmailOption": { - "type": "string" + "AppSyncParameters": { + "$ref": "#/definitions/AWS::Events::Rule.AppSyncParameters" }, - "EmailMessage": { + "Arn": { "type": "string" }, - "EmailMessageByLink": { + "BatchParameters": { + "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" + }, + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" + }, + "EcsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" + }, + "HttpParameters": { + "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" + }, + "Id": { "type": "string" }, - "EmailSubject": { + "Input": { "type": "string" }, - "EmailSubjectByLink": { + "InputPath": { "type": "string" }, - "SmsMessage": { + "InputTransformer": { + "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" + }, + "KinesisParameters": { + "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" + }, + "RedshiftDataParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" + }, + "RetryPolicy": { + "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" + }, + "RoleArn": { "type": "string" + }, + "RunCommandParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" + }, + "SageMakerPipelineParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameters" + }, + "SqsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" } }, + "required": [ + "Arn", + "Id" + ], "type": "object" }, - "AWS::Cognito::UserPoolClient": { + "AWS::IAM::AccessKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26354,99 +20720,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessTokenValidity": { + "Serial": { "type": "number" }, - "AllowedOAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - }, - "AllowedOAuthScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AnalyticsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.AnalyticsConfiguration" - }, - "CallbackURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClientName": { + "Status": { "type": "string" }, - "DefaultRedirectURI": { + "UserName": { "type": "string" - }, - "EnableTokenRevocation": { - "type": "boolean" - }, - "ExplicitAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GenerateSecret": { - "type": "boolean" - }, - "IdTokenValidity": { - "type": "number" - }, - "LogoutURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreventUserExistenceErrors": { - "type": "string" - }, - "ReadAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RefreshTokenValidity": { - "type": "number" - }, - "SupportedIdentityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TokenValidityUnits": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.TokenValidityUnits" - }, - "UserPoolId": { - "type": "string" - }, - "WriteAttributes": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "UserPoolId" + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolClient" + "AWS::IAM::AccessKey" ], "type": "string" }, @@ -26465,43 +20756,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolClient.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserDataShared": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolClient.TokenValidityUnits": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "IdToken": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolDomain": { + "AWS::IAM::Group": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26533,25 +20788,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CustomDomainConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain.CustomDomainConfigType" - }, - "Domain": { + "GroupName": { "type": "string" }, - "UserPoolId": { + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Path": { "type": "string" + }, + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::Group.Policy" + }, + "type": "array" } }, - "required": [ - "Domain", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolDomain" + "AWS::IAM::Group" ], "type": "string" }, @@ -26565,21 +20825,27 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolDomain.CustomDomainConfigType": { + "AWS::IAM::Group.Policy": { "additionalProperties": false, "properties": { - "CertificateArn": { + "PolicyDocument": { + "type": "object" + }, + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolGroup": { + "AWS::IAM::GroupPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26611,30 +20877,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, "GroupName": { "type": "string" }, - "Precedence": { - "type": "number" - }, - "RoleArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" } }, "required": [ - "UserPoolId" + "GroupName", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolGroup" + "AWS::IAM::GroupPolicy" ], "type": "string" }, @@ -26653,7 +20914,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolIdentityProvider": { + "AWS::IAM::InstanceProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26685,38 +20946,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AttributeMapping": { - "type": "object" + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" }, - "IdpIdentifiers": { + "Roles": { "items": { "type": "string" }, "type": "array" - }, - "ProviderDetails": { - "type": "object" - }, - "ProviderName": { - "type": "string" - }, - "ProviderType": { - "type": "string" - }, - "UserPoolId": { - "type": "string" } }, "required": [ - "ProviderName", - "ProviderType", - "UserPoolId" + "Roles" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolIdentityProvider" + "AWS::IAM::InstanceProfile" ], "type": "string" }, @@ -26735,7 +20985,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer": { + "AWS::IAM::ManagedPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26767,32 +21017,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Identifier": { + "Description": { "type": "string" }, - "Name": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ManagedPolicyName": { "type": "string" }, - "Scopes": { + "Path": { + "type": "string" + }, + "PolicyDocument": { + "type": "object" + }, + "Roles": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType" + "type": "string" }, "type": "array" }, - "UserPoolId": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Identifier", - "Name", - "UserPoolId" + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolResourceServer" + "AWS::IAM::ManagedPolicy" ], "type": "string" }, @@ -26811,23 +21074,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeDescription", - "ScopeName" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": { + "AWS::IAM::OIDCProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26859,31 +21106,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccountTakeoverRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType" - }, - "ClientId": { - "type": "string" + "ClientIdList": { + "items": { + "type": "string" + }, + "type": "array" }, - "CompromisedCredentialsRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RiskExceptionConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType" + "ThumbprintList": { + "items": { + "type": "string" + }, + "type": "array" }, - "UserPoolId": { + "Url": { "type": "string" } }, - "required": [ - "ClientId", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolRiskConfigurationAttachment" + "AWS::IAM::OIDCProvider" ], "type": "string" }, @@ -26897,151 +21146,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - }, - "Notify": { - "type": "boolean" - } - }, - "required": [ - "EventAction", - "Notify" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType": { - "additionalProperties": false, - "properties": { - "HighAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "LowAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "MediumAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType" - }, - "NotifyConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - } - }, - "required": [ - "EventAction" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType" - }, - "EventFilter": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "From": { - "type": "string" - }, - "MfaEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "NoActionEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "ReplyTo": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType": { - "additionalProperties": false, - "properties": { - "HtmlBody": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "TextBody": { - "type": "string" - } - }, - "required": [ - "Subject" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkippedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolUICustomizationAttachment": { + "AWS::IAM::Policy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27073,25 +21182,40 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CSS": { - "type": "string" + "Groups": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClientId": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" + }, + "Roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ClientId", - "UserPoolId" + "PolicyDocument", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUICustomizationAttachment" + "AWS::IAM::Policy" ], "type": "string" }, @@ -27110,7 +21234,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolUser": { + "AWS::IAM::Role": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27142,48 +21266,51 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientMetadata": { + "AssumeRolePolicyDocument": { "type": "object" }, - "DesiredDeliveryMediums": { + "Description": { + "type": "string" + }, + "ManagedPolicyArns": { "items": { "type": "string" }, "type": "array" }, - "ForceAliasCreation": { - "type": "boolean" + "MaxSessionDuration": { + "type": "number" + }, + "Path": { + "type": "string" }, - "MessageAction": { + "PermissionsBoundary": { "type": "string" }, - "UserAttributes": { + "Policies": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/AWS::IAM::Role.Policy" }, "type": "array" }, - "UserPoolId": { - "type": "string" - }, - "Username": { + "RoleName": { "type": "string" }, - "ValidationData": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "UserPoolId" + "AssumeRolePolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUser" + "AWS::IAM::Role" ], "type": "string" }, @@ -27202,19 +21329,23 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolUser.AttributeType": { + "AWS::IAM::Role.Policy": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Value": { + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolUserToGroupAttachment": { + "AWS::IAM::RolePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27246,26 +21377,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "GroupName": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" }, - "Username": { + "RoleName": { "type": "string" } }, "required": [ - "GroupName", - "UserPoolId", - "Username" + "PolicyName", + "RoleName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUserToGroupAttachment" + "AWS::IAM::RolePolicy" ], "type": "string" }, @@ -27284,7 +21414,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::AggregationAuthorization": { + "AWS::IAM::SAMLProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27316,10 +21446,10 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthorizedAccountId": { + "Name": { "type": "string" }, - "AuthorizedAwsRegion": { + "SamlMetadataDocument": { "type": "string" }, "Tags": { @@ -27330,14 +21460,13 @@ var CloudformationSchema = `{ } }, "required": [ - "AuthorizedAccountId", - "AuthorizedAwsRegion" + "SamlMetadataDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::AggregationAuthorization" + "AWS::IAM::SAMLProvider" ], "type": "string" }, @@ -27356,7 +21485,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigRule": { + "AWS::IAM::ServerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27388,33 +21517,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigRuleName": { + "CertificateBody": { "type": "string" }, - "Description": { + "CertificateChain": { "type": "string" }, - "InputParameters": { - "type": "object" + "Path": { + "type": "string" }, - "MaximumExecutionFrequency": { + "PrivateKey": { "type": "string" }, - "Scope": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Scope" + "ServerCertificateName": { + "type": "string" }, - "Source": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Source" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Source" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigRule" + "AWS::IAM::ServerCertificate" ], "type": "string" }, @@ -27428,74 +21557,75 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Config::ConfigRule.Scope": { + "AWS::IAM::ServiceLinkedRole": { "additionalProperties": false, "properties": { - "ComplianceResourceId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ComplianceResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "TagValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::ConfigRule.Source": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" + "Metadata": { + "type": "object" }, - "SourceDetails": { - "items": { - "$ref": "#/definitions/AWS::Config::ConfigRule.SourceDetail" + "Properties": { + "additionalProperties": false, + "properties": { + "AWSServiceName": { + "type": "string" + }, + "CustomSuffix": { + "type": "string" + }, + "Description": { + "type": "string" + } }, - "type": "array" - }, - "SourceIdentifier": { - "type": "string" - } - }, - "required": [ - "Owner", - "SourceIdentifier" - ], - "type": "object" - }, - "AWS::Config::ConfigRule.SourceDetail": { - "additionalProperties": false, - "properties": { - "EventSource": { - "type": "string" + "type": "object" }, - "MaximumExecutionFrequency": { + "Type": { + "enum": [ + "AWS::IAM::ServiceLinkedRole" + ], "type": "string" }, - "MessageType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EventSource", - "MessageType" + "Type" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator": { + "AWS::IAM::User": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27527,30 +21657,48 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccountAggregationSources": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoginProfile": { + "$ref": "#/definitions/AWS::IAM::User.LoginProfile" + }, + "ManagedPolicyArns": { "items": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.AccountAggregationSource" + "type": "string" }, "type": "array" }, - "ConfigurationAggregatorName": { + "Path": { + "type": "string" + }, + "PermissionsBoundary": { "type": "string" }, - "OrganizationAggregationSource": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.OrganizationAggregationSource" + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::User.Policy" + }, + "type": "array" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "UserName": { + "type": "string" } }, "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationAggregator" + "AWS::IAM::User" ], "type": "string" }, @@ -27568,52 +21716,38 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.AccountAggregationSource": { + "AWS::IAM::User.LoginProfile": { "additionalProperties": false, "properties": { - "AccountIds": { - "items": { - "type": "string" - }, - "type": "array" + "Password": { + "type": "string" }, - "AllAwsRegions": { + "PasswordResetRequired": { "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "AccountIds" + "Password" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.OrganizationAggregationSource": { + "AWS::IAM::User.Policy": { "additionalProperties": false, "properties": { - "AllAwsRegions": { - "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "PolicyName": { "type": "string" } }, "required": [ - "RoleArn" + "PolicyDocument", + "PolicyName" ], "type": "object" }, - "AWS::Config::ConfigurationRecorder": { + "AWS::IAM::UserPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27645,24 +21779,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RecordingGroup": { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder.RecordingGroup" + "PolicyName": { + "type": "string" }, - "RoleARN": { + "UserName": { "type": "string" } }, "required": [ - "RoleARN" + "PolicyName", + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationRecorder" + "AWS::IAM::UserPolicy" ], "type": "string" }, @@ -27681,25 +21816,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigurationRecorder.RecordingGroup": { - "additionalProperties": false, - "properties": { - "AllSupported": { - "type": "boolean" - }, - "IncludeGlobalResourceTypes": { - "type": "boolean" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::ConformancePack": { + "AWS::IAM::UserToGroupAddition": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27731,36 +21848,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { + "GroupName": { + "type": "string" + }, + "Users": { "items": { - "$ref": "#/definitions/AWS::Config::ConformancePack.ConformancePackInputParameter" + "type": "string" }, "type": "array" - }, - "ConformancePackName": { - "type": "string" - }, - "DeliveryS3Bucket": { - "type": "string" - }, - "DeliveryS3KeyPrefix": { - "type": "string" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateS3Uri": { - "type": "string" } }, "required": [ - "ConformancePackName" + "GroupName", + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConformancePack" + "AWS::IAM::UserToGroupAddition" ], "type": "string" }, @@ -27779,23 +21885,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::ConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Config::DeliveryChannel": { + "AWS::IAM::VirtualMFADevice": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27827,33 +21917,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigSnapshotDeliveryProperties": { - "$ref": "#/definitions/AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties" - }, - "Name": { - "type": "string" - }, - "S3BucketName": { + "Path": { "type": "string" }, - "S3KeyPrefix": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "S3KmsKeyArn": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" }, - "SnsTopicARN": { + "VirtualMfaDeviceName": { "type": "string" } }, "required": [ - "S3BucketName" + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::DeliveryChannel" + "AWS::IAM::VirtualMFADevice" ], "type": "string" }, @@ -27872,16 +21962,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties": { - "additionalProperties": false, - "properties": { - "DeliveryFrequency": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::OrganizationConfigRule": { + "AWS::KMS::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27913,30 +21994,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationConfigRuleName": { + "AliasName": { "type": "string" }, - "OrganizationCustomRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata" - }, - "OrganizationManagedRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata" + "TargetKeyId": { + "type": "string" } }, "required": [ - "OrganizationConfigRuleName" + "AliasName", + "TargetKeyId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConfigRule" + "AWS::KMS::Alias" ], "type": "string" }, @@ -27955,86 +22028,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "LambdaFunctionArn": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "OrganizationConfigRuleTriggerTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn", - "OrganizationConfigRuleTriggerTypes" - ], - "type": "object" - }, - "AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuleIdentifier": { - "type": "string" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "RuleIdentifier" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack": { + "AWS::KMS::Key": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28066,42 +22060,51 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack.ConformancePackInputParameter" - }, - "type": "array" + "BypassPolicyLockoutSafetyCheck": { + "type": "boolean" }, - "DeliveryS3Bucket": { + "Description": { "type": "string" }, - "DeliveryS3KeyPrefix": { - "type": "string" + "EnableKeyRotation": { + "type": "boolean" }, - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" + }, + "KeyPolicy": { + "type": "object" }, - "OrganizationConformancePackName": { + "KeySpec": { "type": "string" }, - "TemplateBody": { + "KeyUsage": { "type": "string" }, - "TemplateS3Uri": { + "MultiRegion": { + "type": "boolean" + }, + "Origin": { "type": "string" + }, + "PendingWindowInDays": { + "type": "number" + }, + "RotationPeriodInDays": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "OrganizationConformancePackName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConformancePack" + "AWS::KMS::Key" ], "type": "string" }, @@ -28115,28 +22118,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" + "Type" ], "type": "object" }, - "AWS::Config::RemediationConfiguration": { + "AWS::KMS::ReplicaKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28168,47 +22154,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Automatic": { - "type": "boolean" - }, - "ConfigRuleName": { + "Description": { "type": "string" }, - "ExecutionControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ExecutionControls" - }, - "MaximumAutomaticAttempts": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Parameters": { + "KeyPolicy": { "type": "object" }, - "ResourceType": { - "type": "string" - }, - "RetryAttemptSeconds": { + "PendingWindowInDays": { "type": "number" }, - "TargetId": { - "type": "string" - }, - "TargetType": { + "PrimaryKeyArn": { "type": "string" }, - "TargetVersion": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ConfigRuleName", - "TargetId", - "TargetType" + "KeyPolicy", + "PrimaryKeyArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::RemediationConfiguration" + "AWS::KMS::ReplicaKey" ], "type": "string" }, @@ -28227,61 +22203,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Config::RemediationConfiguration.ExecutionControls": { - "additionalProperties": false, - "properties": { - "SsmControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.SsmControls" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.RemediationParameterValue": { - "additionalProperties": false, - "properties": { - "ResourceValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ResourceValue" - }, - "StaticValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.StaticValue" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.ResourceValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.SsmControls": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutionRatePercentage": { - "type": "number" - }, - "ErrorPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.StaticValue": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::StoredQuery": { + "AWS::Kinesis::ResourcePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28313,31 +22235,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "QueryDescription": { - "type": "string" - }, - "QueryExpression": { - "type": "string" - }, - "QueryName": { + "ResourceArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ResourcePolicy": { + "type": "object" } }, "required": [ - "QueryExpression", - "QueryName" + "ResourceArn", + "ResourcePolicy" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::StoredQuery" + "AWS::Kinesis::ResourcePolicy" ], "type": "string" }, @@ -28356,7 +22269,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Connect::ContactFlow": { + "AWS::Kinesis::Stream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28388,41 +22301,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Content": { + "Name": { "type": "string" }, - "Description": { - "type": "string" + "RetentionPeriodHours": { + "type": "number" }, - "InstanceArn": { - "type": "string" + "ShardCount": { + "type": "number" }, - "Name": { - "type": "string" + "StreamEncryption": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" }, - "State": { - "type": "string" + "StreamModeDetails": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamModeDetails" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Content", - "InstanceArn", - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlow" + "AWS::Kinesis::Stream" ], "type": "string" }, @@ -28436,12 +22341,39 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamEncryption": { + "additionalProperties": false, + "properties": { + "EncryptionType": { + "type": "string" + }, + "KeyId": { + "type": "string" + } + }, + "required": [ + "EncryptionType", + "KeyId" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamModeDetails": { + "additionalProperties": false, + "properties": { + "StreamMode": { + "type": "string" + } + }, + "required": [ + "StreamMode" ], "type": "object" }, - "AWS::Connect::ContactFlowModule": { + "AWS::Kinesis::StreamConsumer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28473,38 +22405,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "InstanceArn": { + "ConsumerName": { "type": "string" }, - "Name": { + "StreamARN": { "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Content", - "InstanceArn", - "Name" + "ConsumerName", + "StreamARN" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlowModule" + "AWS::Kinesis::StreamConsumer" ], "type": "string" }, @@ -28523,7 +22439,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Connect::HoursOfOperation": { + "AWS::Lambda::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28555,42 +22471,35 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Config": { - "items": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationConfig" - }, - "type": "array" - }, "Description": { "type": "string" }, - "InstanceArn": { + "FunctionName": { + "type": "string" + }, + "FunctionVersion": { "type": "string" }, "Name": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" }, - "TimeZone": { - "type": "string" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" } }, "required": [ - "Config", - "InstanceArn", - "Name", - "TimeZone" + "FunctionName", + "FunctionVersion", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::HoursOfOperation" + "AWS::Lambda::Alias" ], "type": "string" }, @@ -28609,43 +22518,47 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationConfig": { + "AWS::Lambda::Alias.AliasRoutingConfiguration": { "additionalProperties": false, "properties": { - "Day": { - "type": "string" - }, - "EndTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" - }, - "StartTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" + "AdditionalVersionWeights": { + "items": { + "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { + "additionalProperties": false, + "properties": { + "ProvisionedConcurrentExecutions": { + "type": "number" } }, "required": [ - "Day", - "EndTime", - "StartTime" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice": { + "AWS::Lambda::Alias.VersionWeight": { "additionalProperties": false, "properties": { - "Hours": { - "type": "number" + "FunctionVersion": { + "type": "string" }, - "Minutes": { + "FunctionWeight": { "type": "number" } }, "required": [ - "Hours", - "Minutes" + "FunctionVersion", + "FunctionWeight" ], "type": "object" }, - "AWS::Connect::QuickConnect": { + "AWS::Lambda::CodeSigningConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28677,18 +22590,15 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "AllowedPublishers": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" }, - "InstanceArn": { - "type": "string" + "CodeSigningPolicies": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" }, - "Name": { + "Description": { "type": "string" }, - "QuickConnectConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QuickConnectConfig" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -28697,15 +22607,13 @@ var CloudformationSchema = `{ } }, "required": [ - "InstanceArn", - "Name", - "QuickConnectConfig" + "AllowedPublishers" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::QuickConnect" + "AWS::Lambda::CodeSigningConfig" ], "type": "string" }, @@ -28724,72 +22632,34 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "PhoneNumber": { - "type": "string" - } - }, - "required": [ - "PhoneNumber" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QueueQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "ContactFlowArn": { - "type": "string" - }, - "QueueArn": { - "type": "string" - } - }, - "required": [ - "ContactFlowArn", - "QueueArn" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { "additionalProperties": false, "properties": { - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig" - }, - "QueueConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QueueQuickConnectConfig" - }, - "QuickConnectType": { - "type": "string" - }, - "UserConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.UserQuickConnectConfig" + "SigningProfileVersionArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "QuickConnectType" + "SigningProfileVersionArns" ], "type": "object" }, - "AWS::Connect::QuickConnect.UserQuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { "additionalProperties": false, "properties": { - "ContactFlowArn": { - "type": "string" - }, - "UserArn": { + "UntrustedArtifactOnDeployment": { "type": "string" } }, "required": [ - "ContactFlowArn", - "UserArn" + "UntrustedArtifactOnDeployment" ], "type": "object" }, - "AWS::Connect::User": { + "AWS::Lambda::EventInvokeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28821,55 +22691,31 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DirectoryUserId": { - "type": "string" - }, - "HierarchyGroupArn": { - "type": "string" - }, - "IdentityInfo": { - "$ref": "#/definitions/AWS::Connect::User.UserIdentityInfo" - }, - "InstanceArn": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::User.UserPhoneConfig" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" }, - "RoutingProfileArn": { + "FunctionName": { "type": "string" }, - "SecurityProfileArns": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumEventAgeInSeconds": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "Username": { + "Qualifier": { "type": "string" } }, "required": [ - "InstanceArn", - "PhoneConfig", - "RoutingProfileArn", - "SecurityProfileArns", - "Username" + "FunctionName", + "Qualifier" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::User" + "AWS::Lambda::EventInvokeConfig" ], "type": "string" }, @@ -28888,112 +22734,43 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::Connect::User.UserIdentityInfo": { + "AWS::Lambda::EventInvokeConfig.DestinationConfig": { "additionalProperties": false, "properties": { - "Email": { - "type": "string" - }, - "FirstName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" }, - "LastName": { - "type": "string" + "OnSuccess": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" } }, "type": "object" }, - "AWS::Connect::User.UserPhoneConfig": { + "AWS::Lambda::EventInvokeConfig.OnFailure": { "additionalProperties": false, "properties": { - "AfterContactWorkTimeLimit": { - "type": "number" - }, - "AutoAccept": { - "type": "boolean" - }, - "DeskPhoneNumber": { - "type": "string" - }, - "PhoneType": { + "Destination": { "type": "string" } }, "required": [ - "PhoneType" + "Destination" ], "type": "object" }, - "AWS::Connect::UserHierarchyGroup": { + "AWS::Lambda::EventInvokeConfig.OnSuccess": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentGroupArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Connect::UserHierarchyGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Destination": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination" ], "type": "object" }, - "AWS::CustomerProfiles::Domain": { + "AWS::Lambda::EventSourceMapping": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29025,111 +22802,111 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeadLetterQueueUrl": { - "type": "string" + "AmazonManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig" + }, + "BatchSize": { + "type": "number" + }, + "BisectBatchOnFunctionError": { + "type": "boolean" + }, + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" + }, + "DocumentDBEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig" + }, + "Enabled": { + "type": "boolean" }, - "DefaultEncryptionKey": { + "EventSourceArn": { "type": "string" }, - "DefaultExpirationDays": { - "type": "number" + "FilterCriteria": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.FilterCriteria" }, - "DomainName": { + "FunctionName": { "type": "string" }, - "Tags": { + "FunctionResponseTypes": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CustomerProfiles::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "KmsKeyArn": { "type": "string" }, - { + "MaximumBatchingWindowInSeconds": { + "type": "number" + }, + "MaximumRecordAgeInSeconds": { + "type": "number" + }, + "MaximumRetryAttempts": { + "type": "number" + }, + "MetricsConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.MetricsConfig" + }, + "ParallelizationFactor": { + "type": "number" + }, + "ProvisionedPollerConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig" + }, + "Queues": { "items": { - "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" }, - "FlowDefinition": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.FlowDefinition" + "ScalingConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ScalingConfig" + }, + "SelfManagedEventSource": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" + }, + "SelfManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig" + }, + "SourceAccessConfigurations": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" + }, + "type": "array" }, - "ObjectTypeName": { + "StartingPosition": { "type": "string" }, + "StartingPositionTimestamp": { + "type": "number" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "Uri": { - "type": "string" + "Topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TumblingWindowInSeconds": { + "type": "number" } }, "required": [ - "DomainName", - "ObjectTypeName" + "FunctionName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::Integration" + "AWS::Lambda::EventSourceMapping" ], "type": "string" }, @@ -29148,284 +22925,145 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ConnectorOperator": { - "additionalProperties": false, - "properties": { - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Zendesk": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CustomerProfiles::Integration.FlowDefinition": { + "AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FlowName": { - "type": "string" - }, - "KmsArn": { + "ConsumerGroupId": { "type": "string" - }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceFlowConfig" - }, - "Tasks": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.Task" - }, - "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerConfig" } }, - "required": [ - "FlowName", - "KmsArn", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.IncrementalPullConfig": { + "AWS::Lambda::EventSourceMapping.DestinationConfig": { "additionalProperties": false, "properties": { - "DatetimeTypeFieldName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.MarketoSourceProperties": { + "AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig": { "additionalProperties": false, "properties": { - "Object": { + "CollectionName": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { + }, + "DatabaseName": { "type": "string" }, - "BucketPrefix": { + "FullDocument": { "type": "string" } }, - "required": [ - "BucketName" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SalesforceSourceProperties": { + "AWS::Lambda::EventSourceMapping.Endpoints": { "additionalProperties": false, "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" - }, - "IncludeDeletedRecords": { - "type": "boolean" - }, - "Object": { - "type": "string" + "KafkaBootstrapServers": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ScheduledTriggerProperties": { + "AWS::Lambda::EventSourceMapping.Filter": { "additionalProperties": false, "properties": { - "DataPullMode": { - "type": "string" - }, - "FirstExecutionFrom": { - "type": "number" - }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleStartTime": { - "type": "number" - }, - "Timezone": { + "Pattern": { "type": "string" } }, - "required": [ - "ScheduleExpression" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ServiceNowSourceProperties": { + "AWS::Lambda::EventSourceMapping.FilterCriteria": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Filters": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Filter" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceConnectorProperties": { + "AWS::Lambda::EventSourceMapping.MetricsConfig": { "additionalProperties": false, "properties": { - "Marketo": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.S3SourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ServiceNowSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ZendeskSourceProperties" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceFlowConfig": { + "AWS::Lambda::EventSourceMapping.OnFailure": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Destination": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceConnectorProperties" } }, - "required": [ - "ConnectorType", - "SourceConnectorProperties" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.Task": { + "AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TaskPropertiesMap" - }, - "type": "array" + "MaximumPollers": { + "type": "number" }, - "TaskType": { - "type": "string" + "MinimumPollers": { + "type": "number" } }, - "required": [ - "SourceFields", - "TaskType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TaskPropertiesMap": { + "AWS::Lambda::EventSourceMapping.ScalingConfig": { "additionalProperties": false, "properties": { - "OperatorPropertyKey": { - "type": "string" - }, - "Property": { - "type": "string" + "MaximumConcurrency": { + "type": "number" } }, - "required": [ - "OperatorPropertyKey", - "Property" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerConfig": { + "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { "additionalProperties": false, "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerProperties" - }, - "TriggerType": { - "type": "string" + "Endpoints": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" } }, - "required": [ - "TriggerType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerProperties": { + "AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Scheduled": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ScheduledTriggerProperties" + "ConsumerGroupId": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.ZendeskSourceProperties": { + "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { "additionalProperties": false, "properties": { - "Object": { + "Type": { + "type": "string" + }, + "URI": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType": { + "AWS::Lambda::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29457,54 +23095,106 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllowProfileCreation": { - "type": "boolean" + "Architectures": { + "items": { + "type": "string" + }, + "type": "array" }, - "Description": { - "type": "string" + "Code": { + "$ref": "#/definitions/AWS::Lambda::Function.Code" }, - "DomainName": { + "CodeSigningConfigArn": { "type": "string" }, - "EncryptionKey": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "ExpirationDays": { - "type": "number" + "Environment": { + "$ref": "#/definitions/AWS::Lambda::Function.Environment" }, - "Fields": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.FieldMap" - }, - "type": "array" + "EphemeralStorage": { + "$ref": "#/definitions/AWS::Lambda::Function.EphemeralStorage" }, - "Keys": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.KeyMap" + "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" }, "type": "array" }, - "ObjectTypeName": { + "FunctionName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "Handler": { + "type": "string" + }, + "ImageConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" + }, + "KmsKeyArn": { + "type": "string" + }, + "Layers": { + "items": { + "type": "string" }, "type": "array" }, - "TemplateId": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.LoggingConfig" + }, + "MemorySize": { + "type": "number" + }, + "PackageType": { + "type": "string" + }, + "RecursiveLoop": { + "type": "string" + }, + "ReservedConcurrentExecutions": { + "type": "number" + }, + "Role": { + "type": "string" + }, + "Runtime": { "type": "string" + }, + "RuntimeManagementConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.RuntimeManagementConfig" + }, + "SnapStart": { + "$ref": "#/definitions/AWS::Lambda::Function.SnapStart" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timeout": { + "type": "number" + }, + "TracingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" + }, + "VpcConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" } }, "required": [ - "DomainName" + "Code", + "Role" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::ObjectType" + "AWS::Lambda::Function" ], "type": "string" }, @@ -29523,58 +23213,182 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType.FieldMap": { + "AWS::Lambda::Function.Code": { "additionalProperties": false, "properties": { - "Name": { + "ImageUri": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "SourceKMSKeyArn": { "type": "string" }, - "ObjectTypeField": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeField" + "ZipFile": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.KeyMap": { + "AWS::Lambda::Function.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Name": { + "TargetArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.Environment": { + "additionalProperties": false, + "properties": { + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.EphemeralStorage": { + "additionalProperties": false, + "properties": { + "Size": { + "type": "number" + } + }, + "required": [ + "Size" + ], + "type": "object" + }, + "AWS::Lambda::Function.FileSystemConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "LocalMountPath": { "type": "string" + } + }, + "required": [ + "Arn", + "LocalMountPath" + ], + "type": "object" + }, + "AWS::Lambda::Function.ImageConfig": { + "additionalProperties": false, + "properties": { + "Command": { + "items": { + "type": "string" + }, + "type": "array" }, - "ObjectTypeKeyList": { + "EntryPoint": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeKey" + "type": "string" }, "type": "array" + }, + "WorkingDirectory": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeField": { + "AWS::Lambda::Function.LoggingConfig": { "additionalProperties": false, "properties": { - "ContentType": { + "ApplicationLogLevel": { "type": "string" }, - "Source": { + "LogFormat": { "type": "string" }, - "Target": { + "LogGroup": { + "type": "string" + }, + "SystemLogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.RuntimeManagementConfig": { + "additionalProperties": false, + "properties": { + "RuntimeVersionArn": { + "type": "string" + }, + "UpdateRuntimeOn": { + "type": "string" + } + }, + "required": [ + "UpdateRuntimeOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStart": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + } + }, + "required": [ + "ApplyOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStartResponse": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + }, + "OptimizationStatus": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.TracingConfig": { + "additionalProperties": false, + "properties": { + "Mode": { "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeKey": { + "AWS::Lambda::Function.VpcConfig": { "additionalProperties": false, "properties": { - "FieldNames": { + "Ipv6AllowedForDualStack": { + "type": "boolean" + }, + "SecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "StandardIdentifiers": { + "SubnetIds": { "items": { "type": "string" }, @@ -29583,7 +23397,7 @@ var CloudformationSchema = `{ }, "type": "object" }, - "AWS::DAX::Cluster": { + "AWS::Lambda::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29615,65 +23429,39 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { + "CompatibleArchitectures": { "items": { "type": "string" }, "type": "array" }, - "ClusterEndpointEncryptionType": { - "type": "string" + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClusterName": { - "type": "string" + "Content": { + "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" }, "Description": { "type": "string" }, - "IAMRoleARN": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NotificationTopicARN": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "LayerName": { "type": "string" }, - "ReplicationFactor": { - "type": "number" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DAX::Cluster.SSESpecification" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetGroupName": { + "LicenseInfo": { "type": "string" - }, - "Tags": { - "type": "object" } }, "required": [ - "IAMRoleARN", - "NodeType", - "ReplicationFactor" + "Content" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::Cluster" + "AWS::Lambda::LayerVersion" ], "type": "string" }, @@ -29692,16 +23480,26 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DAX::Cluster.SSESpecification": { + "AWS::Lambda::LayerVersion.Content": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" } }, + "required": [ + "S3Bucket", + "S3Key" + ], "type": "object" }, - "AWS::DAX::ParameterGroup": { + "AWS::Lambda::LayerVersionPermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29733,21 +23531,29 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "ParameterGroupName": { + "LayerVersionArn": { "type": "string" }, - "ParameterNameValues": { - "type": "object" + "OrganizationId": { + "type": "string" + }, + "Principal": { + "type": "string" } }, + "required": [ + "Action", + "LayerVersionArn", + "Principal" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::ParameterGroup" + "AWS::Lambda::LayerVersionPermission" ], "type": "string" }, @@ -29761,11 +23567,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DAX::SubnetGroup": { + "AWS::Lambda::Permission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29797,27 +23604,41 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "SubnetGroupName": { + "EventSourceToken": { "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "FunctionName": { + "type": "string" + }, + "FunctionUrlAuthType": { + "type": "string" + }, + "Principal": { + "type": "string" + }, + "PrincipalOrgID": { + "type": "string" + }, + "SourceAccount": { + "type": "string" + }, + "SourceArn": { + "type": "string" } }, "required": [ - "SubnetIds" + "Action", + "FunctionName", + "Principal" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::SubnetGroup" + "AWS::Lambda::Permission" ], "type": "string" }, @@ -29836,7 +23657,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy": { + "AWS::Lambda::Url": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29868,30 +23689,31 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AuthType": { "type": "string" }, - "ExecutionRoleArn": { - "type": "string" + "Cors": { + "$ref": "#/definitions/AWS::Lambda::Url.Cors" }, - "PolicyDetails": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.PolicyDetails" + "InvokeMode": { + "type": "string" }, - "State": { + "Qualifier": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "TargetFunctionArn": { + "type": "string" } }, + "required": [ + "AuthType", + "TargetFunctionArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DLM::LifecyclePolicy" + "AWS::Lambda::Url" ], "type": "string" }, @@ -29905,193 +23727,483 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Action": { + "AWS::Lambda::Url.Cors": { "additionalProperties": false, "properties": { - "CrossRegionCopy": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyAction" + "type": "string" }, "type": "array" }, - "Name": { - "type": "string" - } - }, - "required": [ - "CrossRegionCopy", - "Name" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.CreateRule": { - "additionalProperties": false, - "properties": { - "CronExpression": { - "type": "string" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" + "AllowMethods": { + "items": { + "type": "string" + }, + "type": "array" }, - "Location": { - "type": "string" + "AllowOrigins": { + "items": { + "type": "string" + }, + "type": "array" }, - "Times": { + "ExposeHeaders": { "items": { "type": "string" }, "type": "array" + }, + "MaxAge": { + "type": "number" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyAction": { + "AWS::Lambda::Version": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EncryptionConfiguration" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Metadata": { + "type": "object" }, - "Target": { + "Properties": { + "additionalProperties": false, + "properties": { + "CodeSha256": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FunctionName": { + "type": "string" + }, + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" + }, + "RuntimePolicy": { + "$ref": "#/definitions/AWS::Lambda::Version.RuntimePolicy" + } + }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Lambda::Version" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EncryptionConfiguration", - "Target" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule": { + "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { "additionalProperties": false, "properties": { - "Interval": { + "ProvisionedConcurrentExecutions": { "type": "number" - }, - "IntervalUnit": { - "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule": { + "AWS::Lambda::Version.RuntimePolicy": { "additionalProperties": false, "properties": { - "Interval": { - "type": "number" + "RuntimeVersionArn": { + "type": "string" }, - "IntervalUnit": { + "UpdateRuntimeOn": { "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "UpdateRuntimeOn" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRule": { + "AWS::RDS::CustomDBEngineVersion": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "CopyTags": { - "type": "boolean" - }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Encrypted": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Properties": { + "additionalProperties": false, + "properties": { + "DatabaseInstallationFilesS3BucketName": { + "type": "string" + }, + "DatabaseInstallationFilesS3Prefix": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "Engine": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "Manifest": { + "type": "string" + }, + "SourceCustomDbEngineVersionIdentifier": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseAwsProvidedLatestImage": { + "type": "boolean" + } + }, + "required": [ + "Engine", + "EngineVersion" + ], + "type": "object" }, - "Target": { + "Type": { + "enum": [ + "AWS::RDS::CustomDBEngineVersion" + ], "type": "string" }, - "TargetRegion": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Encrypted" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.DeprecateRule": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EncryptionConfiguration": { + "AWS::RDS::DBCluster": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Encrypted": { - "type": "boolean" - } - }, - "required": [ - "Encrypted" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventParameters": { - "additionalProperties": false, - "properties": { - "DescriptionRegex": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "EventType": { - "type": "string" + "Metadata": { + "type": "object" }, - "SnapshotOwner": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "AllocatedStorage": { + "type": "number" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BacktrackWindow": { + "type": "number" + }, + "BackupRetentionPeriod": { + "type": "number" + }, + "ClusterScalabilityType": { + "type": "string" + }, + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "DBClusterIdentifier": { + "type": "string" + }, + "DBClusterInstanceClass": { + "type": "string" + }, + "DBClusterParameterGroupName": { + "type": "string" + }, + "DBInstanceParameterGroupName": { + "type": "string" + }, + "DBSubnetGroupName": { + "type": "string" + }, + "DBSystemId": { + "type": "string" + }, + "DatabaseInsightsMode": { + "type": "string" + }, + "DatabaseName": { + "type": "string" + }, + "DeletionProtection": { + "type": "boolean" + }, + "Domain": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableGlobalWriteForwarding": { + "type": "boolean" + }, + "EnableHttpEndpoint": { + "type": "boolean" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnableLocalWriteForwarding": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineMode": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBCluster.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MonitoringInterval": { + "type": "number" + }, + "MonitoringRoleArn": { + "type": "string" + }, + "NetworkType": { + "type": "string" + }, + "PerformanceInsightsEnabled": { + "type": "boolean" + }, + "PerformanceInsightsKmsKeyId": { + "type": "string" + }, + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { + "type": "number" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicationSourceIdentifier": { + "type": "string" + }, + "RestoreToTime": { + "type": "string" + }, + "RestoreType": { + "type": "string" + }, + "ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" + }, + "ServerlessV2ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration" + }, + "SnapshotIdentifier": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VpcSecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - } - }, - "required": [ - "EventType", - "SnapshotOwner" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventSource": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventParameters" + "type": "object" }, "Type": { + "enum": [ + "AWS::RDS::DBCluster" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, @@ -30100,166 +24212,94 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.FastRestoreRule": { + "AWS::RDS::DBCluster.DBClusterRole": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" + "FeatureName": { + "type": "string" }, - "IntervalUnit": { + "RoleArn": { "type": "string" } }, + "required": [ + "RoleArn" + ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Parameters": { + "AWS::RDS::DBCluster.Endpoint": { "additionalProperties": false, "properties": { - "ExcludeBootVolume": { - "type": "boolean" + "Address": { + "type": "string" }, - "NoReboot": { - "type": "boolean" + "Port": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.PolicyDetails": { + "AWS::RDS::DBCluster.MasterUserSecret": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Action" - }, - "type": "array" - }, - "EventSource": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventSource" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Parameters" - }, - "PolicyType": { + "KmsKeyId": { "type": "string" }, - "ResourceLocations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Schedules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Schedule" - }, - "type": "array" - }, - "TargetTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SecretArn": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.RetainRule": { + "AWS::RDS::DBCluster.ReadEndpoint": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { + "Address": { "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.Schedule": { + "AWS::RDS::DBCluster.ScalingConfiguration": { "additionalProperties": false, "properties": { - "CopyTags": { + "AutoPause": { "type": "boolean" }, - "CreateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CreateRule" + "MaxCapacity": { + "type": "number" }, - "CrossRegionCopyRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRule" - }, - "type": "array" + "MinCapacity": { + "type": "number" }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.DeprecateRule" + "SecondsBeforeTimeout": { + "type": "number" }, - "FastRestoreRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.FastRestoreRule" + "SecondsUntilAutoPause": { + "type": "number" }, - "Name": { + "TimeoutAction": { "type": "string" - }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.RetainRule" - }, - "ShareRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.ShareRule" - }, - "type": "array" - }, - "TagsToAdd": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.ShareRule": { + "AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration": { "additionalProperties": false, "properties": { - "TargetAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "MaxCapacity": { + "type": "number" }, - "UnshareInterval": { + "MinCapacity": { "type": "number" }, - "UnshareIntervalUnit": { - "type": "string" + "SecondsUntilAutoPause": { + "type": "number" } }, "type": "object" }, - "AWS::DMS::Certificate": { + "AWS::RDS::DBClusterParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30291,21 +24331,35 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateIdentifier": { + "DBClusterParameterGroupName": { "type": "string" }, - "CertificatePem": { + "Description": { "type": "string" }, - "CertificateWallet": { + "Family": { "type": "string" + }, + "Parameters": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "Description", + "Family", + "Parameters" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::Certificate" + "AWS::RDS::DBClusterParameterGroup" ], "type": "string" }, @@ -30319,11 +24373,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DMS::Endpoint": { + "AWS::RDS::DBInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30355,467 +24410,352 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { + "AllocatedStorage": { "type": "string" }, - "DatabaseName": { + "AllowMajorVersionUpgrade": { + "type": "boolean" + }, + "ApplyImmediately": { + "type": "boolean" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AutomaticBackupReplicationKmsKeyId": { "type": "string" }, - "DocDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DocDbSettings" + "AutomaticBackupReplicationRegion": { + "type": "string" }, - "DynamoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DynamoDbSettings" + "AvailabilityZone": { + "type": "string" }, - "ElasticsearchSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.ElasticsearchSettings" + "BackupRetentionPeriod": { + "type": "number" }, - "EndpointIdentifier": { + "CACertificateIdentifier": { "type": "string" }, - "EndpointType": { + "CertificateDetails": { + "$ref": "#/definitions/AWS::RDS::DBInstance.CertificateDetails" + }, + "CertificateRotationRestart": { + "type": "boolean" + }, + "CharacterSetName": { "type": "string" }, - "EngineName": { + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "CustomIAMInstanceProfile": { "type": "string" }, - "ExtraConnectionAttributes": { + "DBClusterIdentifier": { "type": "string" }, - "IbmDb2Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.IbmDb2Settings" + "DBClusterSnapshotIdentifier": { + "type": "string" }, - "KafkaSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KafkaSettings" + "DBInstanceClass": { + "type": "string" }, - "KinesisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KinesisSettings" + "DBInstanceIdentifier": { + "type": "string" }, - "KmsKeyId": { + "DBName": { + "type": "string" + }, + "DBParameterGroupName": { + "type": "string" + }, + "DBSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DBSnapshotIdentifier": { + "type": "string" + }, + "DBSubnetGroupName": { "type": "string" }, - "MicrosoftSqlServerSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MicrosoftSqlServerSettings" + "DBSystemId": { + "type": "string" + }, + "DedicatedLogVolume": { + "type": "boolean" + }, + "DeleteAutomatedBackups": { + "type": "boolean" }, - "MongoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MongoDbSettings" + "DeletionProtection": { + "type": "boolean" }, - "MySqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MySqlSettings" + "Domain": { + "type": "string" }, - "NeptuneSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.NeptuneSettings" + "DomainAuthSecretArn": { + "type": "string" }, - "OracleSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.OracleSettings" + "DomainDnsIps": { + "items": { + "type": "string" + }, + "type": "array" }, - "Password": { + "DomainFqdn": { "type": "string" }, - "Port": { + "DomainIAMRoleName": { + "type": "string" + }, + "DomainOu": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnablePerformanceInsights": { + "type": "boolean" + }, + "Endpoint": { + "$ref": "#/definitions/AWS::RDS::DBInstance.Endpoint" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "LicenseModel": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBInstance.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MaxAllocatedStorage": { + "type": "number" + }, + "MonitoringInterval": { "type": "number" }, - "PostgreSqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.PostgreSqlSettings" + "MonitoringRoleArn": { + "type": "string" }, - "RedisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedisSettings" + "MultiAZ": { + "type": "boolean" }, - "RedshiftSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedshiftSettings" + "NcharCharacterSetName": { + "type": "string" }, - "ResourceIdentifier": { + "NetworkType": { "type": "string" }, - "S3Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.S3Settings" + "OptionGroupName": { + "type": "string" }, - "ServerName": { + "PerformanceInsightsKMSKeyId": { "type": "string" }, - "SslMode": { + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { "type": "string" }, - "SybaseSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.SybaseSettings" + "PreferredBackupWindow": { + "type": "string" }, - "Tags": { + "PreferredMaintenanceWindow": { + "type": "string" + }, + "ProcessorFeatures": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" }, "type": "array" }, - "Username": { + "PromotionTier": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicaMode": { "type": "string" - } - }, - "required": [ - "EndpointType", - "EngineName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DMS::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DMS::Endpoint.DocDbSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.DynamoDbSettings": { - "additionalProperties": false, - "properties": { - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.ElasticsearchSettings": { - "additionalProperties": false, - "properties": { - "EndpointUri": { - "type": "string" - }, - "ErrorRetryDuration": { - "type": "number" - }, - "FullLoadErrorPercentage": { - "type": "number" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.IbmDb2Settings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KafkaSettings": { - "additionalProperties": false, - "properties": { - "Broker": { - "type": "string" - }, - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "SaslPassword": { - "type": "string" - }, - "SaslUserName": { - "type": "string" - }, - "SecurityProtocol": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslClientCertificateArn": { - "type": "string" - }, - "SslClientKeyArn": { - "type": "string" - }, - "SslClientKeyPassword": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KinesisSettings": { - "additionalProperties": false, - "properties": { - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "MessageFormat": { - "type": "string" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "ServiceAccessRoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MongoDbSettings": { - "additionalProperties": false, - "properties": { - "AuthMechanism": { - "type": "string" - }, - "AuthSource": { - "type": "string" - }, - "AuthType": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DocsToInvestigate": { - "type": "string" - }, - "ExtractDocId": { - "type": "string" - }, - "NestingLevel": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MySqlSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.NeptuneSettings": { - "additionalProperties": false, - "properties": { - "ErrorRetryDuration": { - "type": "number" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "MaxFileSize": { - "type": "number" - }, - "MaxRetryCount": { - "type": "number" - }, - "S3BucketFolder": { - "type": "string" + }, + "RestoreTime": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceDBInstanceAutomatedBackupsArn": { + "type": "string" + }, + "SourceDBInstanceIdentifier": { + "type": "string" + }, + "SourceDbiResourceId": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageThroughput": { + "type": "number" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timezone": { + "type": "string" + }, + "UseDefaultProcessorFeatures": { + "type": "boolean" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VPCSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "S3BucketName": { + "Type": { + "enum": [ + "AWS::RDS::DBInstance" + ], "type": "string" }, - "ServiceAccessRoleArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::DMS::Endpoint.OracleSettings": { + "AWS::RDS::DBInstance.CertificateDetails": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmAccessRoleArn": { + "CAIdentifier": { "type": "string" }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecretId": { + "ValidTill": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.PostgreSqlSettings": { + "AWS::RDS::DBInstance.DBInstanceRole": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "FeatureName": { "type": "string" }, - "SecretsManagerSecretId": { + "RoleArn": { "type": "string" } }, + "required": [ + "FeatureName", + "RoleArn" + ], "type": "object" }, - "AWS::DMS::Endpoint.RedisSettings": { + "AWS::RDS::DBInstance.Endpoint": { "additionalProperties": false, "properties": { - "AuthPassword": { - "type": "string" - }, - "AuthType": { + "Address": { "type": "string" }, - "AuthUserName": { + "HostedZoneId": { "type": "string" }, "Port": { - "type": "number" - }, - "ServerName": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslSecurityProtocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.RedshiftSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.S3Settings": { + "AWS::RDS::DBInstance.MasterUserSecret": { "additionalProperties": false, "properties": { - "BucketFolder": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "CompressionType": { - "type": "string" - }, - "CsvDelimiter": { - "type": "string" - }, - "CsvRowDelimiter": { - "type": "string" - }, - "ExternalTableDefinition": { + "KmsKeyId": { "type": "string" }, - "ServiceAccessRoleArn": { + "SecretArn": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.SybaseSettings": { + "AWS::RDS::DBInstance.ProcessorFeature": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "Name": { "type": "string" }, - "SecretsManagerSecretId": { + "Value": { "type": "string" } }, "type": "object" }, - "AWS::DMS::EventSubscription": { + "AWS::RDS::DBParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30847,30 +24787,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { + "DBParameterGroupName": { "type": "string" }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { + "Description": { "type": "string" }, - "SubscriptionName": { + "Family": { "type": "string" }, + "Parameters": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -30879,13 +24807,14 @@ var CloudformationSchema = `{ } }, "required": [ - "SnsTopicArn" + "Description", + "Family" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::EventSubscription" + "AWS::RDS::DBParameterGroup" ], "type": "string" }, @@ -30904,7 +24833,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationInstance": { + "AWS::RDS::DBProxy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30936,48 +24865,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllocatedStorage": { - "type": "number" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" + "Auth": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" + }, + "type": "array" }, - "PreferredMaintenanceWindow": { + "DBProxyName": { "type": "string" }, - "PubliclyAccessible": { + "DebugLogging": { "type": "boolean" }, - "ReplicationInstanceClass": { + "EngineFamily": { "type": "string" }, - "ReplicationInstanceIdentifier": { - "type": "string" + "IdleClientTimeout": { + "type": "number" }, - "ReplicationSubnetGroupIdentifier": { - "type": "string" + "RequireTLS": { + "type": "boolean" }, - "ResourceIdentifier": { + "RoleArn": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" }, "type": "array" }, @@ -30986,16 +24900,26 @@ var CloudformationSchema = `{ "type": "string" }, "type": "array" + }, + "VpcSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ReplicationInstanceClass" + "Auth", + "DBProxyName", + "EngineFamily", + "RoleArn", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationInstance" + "AWS::RDS::DBProxy" ], "type": "string" }, @@ -31014,7 +24938,40 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationSubnetGroup": { + "AWS::RDS::DBProxy.AuthFormat": { + "additionalProperties": false, + "properties": { + "AuthScheme": { + "type": "string" + }, + "ClientPasswordAuthType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IAMAuth": { + "type": "string" + }, + "SecretArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxy.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31046,34 +25003,44 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ReplicationSubnetGroupDescription": { + "DBProxyEndpointName": { "type": "string" }, - "ReplicationSubnetGroupIdentifier": { + "DBProxyName": { "type": "string" }, - "SubnetIds": { + "Tags": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" + }, + "type": "array" + }, + "TargetRole": { + "type": "string" + }, + "VpcSecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "Tags": { + "VpcSubnetIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "ReplicationSubnetGroupDescription", - "SubnetIds" + "DBProxyEndpointName", + "DBProxyName", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationSubnetGroup" + "AWS::RDS::DBProxyEndpoint" ], "type": "string" }, @@ -31092,7 +25059,19 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationTask": { + "AWS::RDS::DBProxyEndpoint.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyTargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31124,61 +25103,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CdcStartPosition": { - "type": "string" - }, - "CdcStartTime": { - "type": "number" - }, - "CdcStopPosition": { - "type": "string" - }, - "MigrationType": { - "type": "string" - }, - "ReplicationInstanceArn": { - "type": "string" - }, - "ReplicationTaskIdentifier": { - "type": "string" - }, - "ReplicationTaskSettings": { - "type": "string" - }, - "ResourceIdentifier": { - "type": "string" - }, - "SourceEndpointArn": { - "type": "string" + "ConnectionPoolConfigurationInfo": { + "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" }, - "TableMappings": { - "type": "string" + "DBClusterIdentifiers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Tags": { + "DBInstanceIdentifiers": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "TargetEndpointArn": { + "DBProxyName": { "type": "string" }, - "TaskData": { + "TargetGroupName": { "type": "string" } }, "required": [ - "MigrationType", - "ReplicationInstanceArn", - "SourceEndpointArn", - "TableMappings", - "TargetEndpointArn" + "DBProxyName", + "TargetGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationTask" + "AWS::RDS::DBProxyTargetGroup" ], "type": "string" }, @@ -31197,7 +25152,31 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Dataset": { + "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { + "additionalProperties": false, + "properties": { + "ConnectionBorrowTimeout": { + "type": "number" + }, + "InitQuery": { + "type": "string" + }, + "MaxConnectionsPercent": { + "type": "number" + }, + "MaxIdleConnectionsPercent": { + "type": "number" + }, + "SessionPinningFilters": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::RDS::DBSecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31229,20 +25208,17 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FormatOptions" - }, - "Input": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Input" + "DBSecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" + }, + "type": "array" }, - "Name": { + "EC2VpcId": { "type": "string" }, - "PathOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathOptions" + "GroupDescription": { + "type": "string" }, "Tags": { "items": { @@ -31252,14 +25228,14 @@ var CloudformationSchema = `{ } }, "required": [ - "Input", - "Name" + "DBSecurityGroupIngress", + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Dataset" + "AWS::RDS::DBSecurityGroup" ], "type": "string" }, @@ -31278,275 +25254,25 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Dataset.CsvOptions": { + "AWS::RDS::DBSecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "Delimiter": { + "CIDRIP": { "type": "string" }, - "HeaderRow": { - "type": "boolean" + "EC2SecurityGroupId": { + "type": "string" + }, + "EC2SecurityGroupName": { + "type": "string" + }, + "EC2SecurityGroupOwnerId": { + "type": "string" } }, "type": "object" }, - "AWS::DataBrew::Dataset.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.DatabaseInputDefinition": { - "additionalProperties": false, - "properties": { - "DatabaseTableName": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "required": [ - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatasetParameter": { - "additionalProperties": false, - "properties": { - "CreateColumn": { - "type": "boolean" - }, - "DatetimeOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatetimeOptions" - }, - "Filter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatetimeOptions": { - "additionalProperties": false, - "properties": { - "Format": { - "type": "string" - }, - "LocaleCode": { - "type": "string" - }, - "TimezoneOffset": { - "type": "string" - } - }, - "required": [ - "Format" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.ExcelOptions": { - "additionalProperties": false, - "properties": { - "HeaderRow": { - "type": "boolean" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.FilesLimit": { - "additionalProperties": false, - "properties": { - "MaxFiles": { - "type": "number" - }, - "Order": { - "type": "string" - }, - "OrderedBy": { - "type": "string" - } - }, - "required": [ - "MaxFiles" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterExpression": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "ValuesMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterValue" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ValuesMap" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "ValueReference": { - "type": "string" - } - }, - "required": [ - "Value", - "ValueReference" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.CsvOptions" - }, - "Excel": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.ExcelOptions" - }, - "Json": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.JsonOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Input": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DataCatalogInputDefinition" - }, - "DatabaseInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatabaseInputDefinition" - }, - "Metadata": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Metadata" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.JsonOptions": { - "additionalProperties": false, - "properties": { - "MultiLine": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Metadata": { - "additionalProperties": false, - "properties": { - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathOptions": { - "additionalProperties": false, - "properties": { - "FilesLimit": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilesLimit" - }, - "LastModifiedDateCondition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathParameter": { - "additionalProperties": false, - "properties": { - "DatasetParameter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatasetParameter" - }, - "PathParameterName": { - "type": "string" - } - }, - "required": [ - "DatasetParameter", - "PathParameterName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job": { + "AWS::RDS::DBSecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31578,92 +25304,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DataCatalogOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DataCatalogOutput" - }, - "type": "array" - }, - "DatabaseOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseOutput" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "EncryptionKeyArn": { - "type": "string" - }, - "EncryptionMode": { - "type": "string" - }, - "JobSample": { - "$ref": "#/definitions/AWS::DataBrew::Job.JobSample" - }, - "LogSubscription": { + "CIDRIP": { "type": "string" }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { + "DBSecurityGroupName": { "type": "string" }, - "OutputLocation": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputLocation" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.Output" - }, - "type": "array" - }, - "ProfileConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.ProfileConfiguration" - }, - "ProjectName": { + "EC2SecurityGroupId": { "type": "string" }, - "Recipe": { - "$ref": "#/definitions/AWS::DataBrew::Job.Recipe" - }, - "RoleArn": { + "EC2SecurityGroupName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "Type": { + "EC2SecurityGroupOwnerId": { "type": "string" - }, - "ValidationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ValidationConfiguration" - }, - "type": "array" } }, "required": [ - "Name", - "RoleArn", - "Type" + "DBSecurityGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Job" + "AWS::RDS::DBSecurityGroupIngress" ], "type": "string" }, @@ -31682,327 +25346,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Job.AllowedStatistics": { - "additionalProperties": false, - "properties": { - "Statistics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ColumnStatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - }, - "Statistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.CsvOutputOptions": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.DataCatalogOutput": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "Overwrite": { - "type": "boolean" - }, - "S3Options": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3TableOutputOptions" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseOutput": { - "additionalProperties": false, - "properties": { - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "DatabaseOutputMode": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - } - }, - "required": [ - "DatabaseOptions", - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseTableOutputOptions": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.EntityDetectorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedStatistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.AllowedStatistics" - }, - "EntityTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes" - ], - "type": "object" - }, - "AWS::DataBrew::Job.JobSample": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Output": { - "additionalProperties": false, - "properties": { - "CompressionFormat": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputFormatOptions" - }, - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - }, - "Overwrite": { - "type": "boolean" - }, - "PartitionColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.OutputFormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Job.CsvOutputOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.OutputLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Job.ProfileConfiguration": { - "additionalProperties": false, - "properties": { - "ColumnStatisticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnStatisticsConfiguration" - }, - "type": "array" - }, - "DatasetStatisticsConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - }, - "EntityDetectorConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.EntityDetectorConfiguration" - }, - "ProfileColumns": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Recipe": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3TableOutputOptions": { - "additionalProperties": false, - "properties": { - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticOverride": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Job.ParameterMap" - }, - "Statistic": { - "type": "string" - } - }, - "required": [ - "Parameters", - "Statistic" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "IncludedStatistics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticOverride" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ValidationConfiguration": { - "additionalProperties": false, - "properties": { - "RulesetArn": { - "type": "string" - }, - "ValidationMode": { - "type": "string" - } - }, - "required": [ - "RulesetArn" - ], - "type": "object" - }, - "AWS::DataBrew::Project": { + "AWS::RDS::DBShardGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32034,20 +25378,23 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DatasetName": { - "type": "string" + "ComputeRedundancy": { + "type": "number" }, - "Name": { + "DBClusterIdentifier": { "type": "string" }, - "RecipeName": { + "DBShardGroupIdentifier": { "type": "string" }, - "RoleArn": { - "type": "string" + "MaxACU": { + "type": "number" + }, + "MinACU": { + "type": "number" }, - "Sample": { - "$ref": "#/definitions/AWS::DataBrew::Project.Sample" + "PubliclyAccessible": { + "type": "boolean" }, "Tags": { "items": { @@ -32057,16 +25404,14 @@ var CloudformationSchema = `{ } }, "required": [ - "DatasetName", - "Name", - "RecipeName", - "RoleArn" + "DBClusterIdentifier", + "MaxACU" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Project" + "AWS::RDS::DBShardGroup" ], "type": "string" }, @@ -32085,22 +25430,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Project.Sample": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe": { + "AWS::RDS::DBSubnetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32132,15 +25462,15 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "DBSubnetGroupDescription": { "type": "string" }, - "Name": { + "DBSubnetGroupName": { "type": "string" }, - "Steps": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.RecipeStep" + "type": "string" }, "type": "array" }, @@ -32152,14 +25482,14 @@ var CloudformationSchema = `{ } }, "required": [ - "Name", - "Steps" + "DBSubnetGroupDescription", + "SubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Recipe" + "AWS::RDS::DBSubnetGroup" ], "type": "string" }, @@ -32178,427 +25508,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Recipe.Action": { - "additionalProperties": false, - "properties": { - "Operation": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ParameterMap" - } - }, - "required": [ - "Operation" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.ConditionExpression": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Condition", - "TargetColumn" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeParameters": { - "additionalProperties": false, - "properties": { - "AggregateFunction": { - "type": "string" - }, - "Base": { - "type": "string" - }, - "CaseStatement": { - "type": "string" - }, - "CategoryMap": { - "type": "string" - }, - "CharsToRemove": { - "type": "string" - }, - "CollapseConsecutiveWhitespace": { - "type": "string" - }, - "ColumnDataType": { - "type": "string" - }, - "ColumnRange": { - "type": "string" - }, - "Count": { - "type": "string" - }, - "CustomCharacters": { - "type": "string" - }, - "CustomStopWords": { - "type": "string" - }, - "CustomValue": { - "type": "string" - }, - "DatasetsColumns": { - "type": "string" - }, - "DateAddValue": { - "type": "string" - }, - "DateTimeFormat": { - "type": "string" - }, - "DateTimeParameters": { - "type": "string" - }, - "DeleteOtherRows": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "EndPattern": { - "type": "string" - }, - "EndPosition": { - "type": "string" - }, - "EndValue": { - "type": "string" - }, - "ExpandContractions": { - "type": "string" - }, - "Exponent": { - "type": "string" - }, - "FalseString": { - "type": "string" - }, - "GroupByAggFunctionOptions": { - "type": "string" - }, - "GroupByColumns": { - "type": "string" - }, - "HiddenColumns": { - "type": "string" - }, - "IgnoreCase": { - "type": "string" - }, - "IncludeInSplit": { - "type": "string" - }, - "Input": { - "type": "object" - }, - "Interval": { - "type": "string" - }, - "IsText": { - "type": "string" - }, - "JoinKeys": { - "type": "string" - }, - "JoinType": { - "type": "string" - }, - "LeftColumns": { - "type": "string" - }, - "Limit": { - "type": "string" - }, - "LowerBound": { - "type": "string" - }, - "MapType": { - "type": "string" - }, - "ModeType": { - "type": "string" - }, - "MultiLine": { - "type": "boolean" - }, - "NumRows": { - "type": "string" - }, - "NumRowsAfter": { - "type": "string" - }, - "NumRowsBefore": { - "type": "string" - }, - "OrderByColumn": { - "type": "string" - }, - "OrderByColumns": { - "type": "string" - }, - "Other": { - "type": "string" - }, - "Pattern": { - "type": "string" - }, - "PatternOption1": { - "type": "string" - }, - "PatternOption2": { - "type": "string" - }, - "PatternOptions": { - "type": "string" - }, - "Period": { - "type": "string" - }, - "Position": { - "type": "string" - }, - "RemoveAllPunctuation": { - "type": "string" - }, - "RemoveAllQuotes": { - "type": "string" - }, - "RemoveAllWhitespace": { - "type": "string" - }, - "RemoveCustomCharacters": { - "type": "string" - }, - "RemoveCustomValue": { - "type": "string" - }, - "RemoveLeadingAndTrailingPunctuation": { - "type": "string" - }, - "RemoveLeadingAndTrailingQuotes": { - "type": "string" - }, - "RemoveLeadingAndTrailingWhitespace": { - "type": "string" - }, - "RemoveLetters": { - "type": "string" - }, - "RemoveNumbers": { - "type": "string" - }, - "RemoveSourceColumn": { - "type": "string" - }, - "RemoveSpecialCharacters": { - "type": "string" - }, - "RightColumns": { - "type": "string" - }, - "SampleSize": { - "type": "string" - }, - "SampleType": { - "type": "string" - }, - "SecondInput": { - "type": "string" - }, - "SecondaryInputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.SecondaryInput" - }, - "type": "array" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "SourceColumn1": { - "type": "string" - }, - "SourceColumn2": { - "type": "string" - }, - "SourceColumns": { - "type": "string" - }, - "StartColumnIndex": { - "type": "string" - }, - "StartPattern": { - "type": "string" - }, - "StartPosition": { - "type": "string" - }, - "StartValue": { - "type": "string" - }, - "StemmingMode": { - "type": "string" - }, - "StepCount": { - "type": "string" - }, - "StepIndex": { - "type": "string" - }, - "StopWordsMode": { - "type": "string" - }, - "Strategy": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "TargetColumnNames": { - "type": "string" - }, - "TargetDateFormat": { - "type": "string" - }, - "TargetIndex": { - "type": "string" - }, - "TimeZone": { - "type": "string" - }, - "TokenizerPattern": { - "type": "string" - }, - "TrueString": { - "type": "string" - }, - "UdfLang": { - "type": "string" - }, - "Units": { - "type": "string" - }, - "UnpivotColumn": { - "type": "string" - }, - "UpperBound": { - "type": "string" - }, - "UseNewDataFrame": { - "type": "string" - }, - "Value": { - "type": "string" - }, - "Value1": { - "type": "string" - }, - "Value2": { - "type": "string" - }, - "ValueColumn": { - "type": "string" - }, - "ViewFrame": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeStep": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.Action" - }, - "ConditionExpressions": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ConditionExpression" - }, - "type": "array" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.SecondaryInput": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.DataCatalogInputDefinition" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset": { + "AWS::RDS::EventSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32630,38 +25540,45 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Name": { + "EventCategories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SnsTopicArn": { "type": "string" }, - "Rules": { + "SourceIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Rule" + "type": "string" }, "type": "array" }, + "SourceType": { + "type": "string" + }, + "SubscriptionName": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "TargetArn": { - "type": "string" } }, "required": [ - "Name", - "Rules", - "TargetArn" + "SnsTopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Ruleset" + "AWS::RDS::EventSubscription" ], "type": "string" }, @@ -32680,87 +25597,101 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Ruleset.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset.Rule": { + "AWS::RDS::GlobalCluster": { "additionalProperties": false, "properties": { - "CheckExpression": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ColumnSelectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.ColumnSelector" - }, - "type": "array" - }, - "Disabled": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Name": { - "type": "string" + "Metadata": { + "type": "object" }, - "SubstitutionMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.SubstitutionValue" + "Properties": { + "additionalProperties": false, + "properties": { + "DeletionProtection": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "GlobalEndpoint": { + "$ref": "#/definitions/AWS::RDS::GlobalCluster.GlobalEndpoint" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Threshold": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Threshold" - } - }, - "required": [ - "CheckExpression", - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Ruleset.SubstitutionValue": { - "additionalProperties": false, - "properties": { - "Value": { + "Type": { + "enum": [ + "AWS::RDS::GlobalCluster" + ], "type": "string" }, - "ValueReference": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Value", - "ValueReference" + "Type" ], "type": "object" }, - "AWS::DataBrew::Ruleset.Threshold": { + "AWS::RDS::GlobalCluster.GlobalEndpoint": { "additionalProperties": false, "properties": { - "Type": { - "type": "string" - }, - "Unit": { + "Address": { "type": "string" - }, - "Value": { - "type": "number" } }, - "required": [ - "Value" - ], "type": "object" }, - "AWS::DataBrew::Schedule": { + "AWS::RDS::Integration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32792,16 +25723,28 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CronExpression": { + "AdditionalEncryptionContext": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DataFilter": { "type": "string" }, - "JobNames": { - "items": { - "type": "string" - }, - "type": "array" + "Description": { + "type": "string" }, - "Name": { + "IntegrationName": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "SourceArn": { "type": "string" }, "Tags": { @@ -32809,17 +25752,20 @@ var CloudformationSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetArn": { + "type": "string" } }, "required": [ - "CronExpression", - "Name" + "SourceArn", + "TargetArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Schedule" + "AWS::RDS::Integration" ], "type": "string" }, @@ -32838,7 +25784,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataPipeline::Pipeline": { + "AWS::RDS::OptionGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32870,49 +25816,41 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Activate": { - "type": "boolean" - }, - "Description": { + "EngineName": { "type": "string" }, - "Name": { + "MajorEngineVersion": { "type": "string" }, - "ParameterObjects": { + "OptionConfigurations": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterObject" + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" }, "type": "array" }, - "ParameterValues": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterValue" - }, - "type": "array" + "OptionGroupDescription": { + "type": "string" }, - "PipelineObjects": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineObject" - }, - "type": "array" + "OptionGroupName": { + "type": "string" }, - "PipelineTags": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineTag" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "Name", - "ParameterObjects" + "EngineName", + "MajorEngineVersion", + "OptionGroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataPipeline::Pipeline" + "AWS::RDS::OptionGroup" ], "type": "string" }, @@ -32931,115 +25869,55 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataPipeline::Pipeline.Field": { + "AWS::RDS::OptionGroup.OptionConfiguration": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "DBSecurityGroupMemberships": { + "items": { + "type": "string" + }, + "type": "array" }, - "RefValue": { + "OptionName": { "type": "string" }, - "StringValue": { + "OptionSettings": { + "items": { + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" + }, + "type": "array" + }, + "OptionVersion": { "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Key", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterObject": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterAttribute" - }, - "type": "array" }, - "Id": { - "type": "string" - } - }, - "required": [ - "Attributes", - "Id" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterValue": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" + "Port": { + "type": "number" }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Id", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.PipelineObject": { - "additionalProperties": false, - "properties": { - "Fields": { + "VpcSecurityGroupMemberships": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.Field" + "type": "string" }, "type": "array" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" } }, "required": [ - "Fields", - "Id", - "Name" + "OptionName" ], "type": "object" }, - "AWS::DataPipeline::Pipeline.PipelineTag": { + "AWS::RDS::OptionGroup.OptionSetting": { "additionalProperties": false, "properties": { - "Key": { + "Name": { "type": "string" }, "Value": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::DataSync::Agent": { + "AWS::RolesAnywhere::CRL": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33071,23 +25949,14 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActivationKey": { - "type": "string" - }, - "AgentName": { + "CrlData": { "type": "string" }, - "SecurityGroupArns": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" }, - "SubnetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, "Tags": { "items": { @@ -33095,18 +25964,19 @@ var CloudformationSchema = `{ }, "type": "array" }, - "VpcEndpointId": { + "TrustAnchorArn": { "type": "string" } }, "required": [ - "ActivationKey" + "CrlData", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Agent" + "AWS::RolesAnywhere::CRL" ], "type": "string" }, @@ -33125,7 +25995,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationEFS": { + "AWS::RolesAnywhere::Profile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33157,13 +26027,40 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Ec2Config": { - "$ref": "#/definitions/AWS::DataSync::LocationEFS.Ec2Config" + "AcceptRoleSessionName": { + "type": "boolean" + }, + "AttributeMappings": { + "items": { + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.AttributeMapping" + }, + "type": "array" + }, + "DurationSeconds": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "EfsFilesystemArn": { + "Name": { "type": "string" }, - "Subdirectory": { + "RequireInstanceProperties": { + "type": "boolean" + }, + "RoleArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SessionPolicy": { "type": "string" }, "Tags": { @@ -33174,14 +26071,14 @@ var CloudformationSchema = `{ } }, "required": [ - "Ec2Config", - "EfsFilesystemArn" + "Name", + "RoleArns" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationEFS" + "AWS::RolesAnywhere::Profile" ], "type": "string" }, @@ -33200,26 +26097,38 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationEFS.Ec2Config": { + "AWS::RolesAnywhere::Profile.AttributeMapping": { "additionalProperties": false, "properties": { - "SecurityGroupArns": { + "CertificateField": { + "type": "string" + }, + "MappingRules": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.MappingRule" }, "type": "array" - }, - "SubnetArn": { + } + }, + "required": [ + "CertificateField", + "MappingRules" + ], + "type": "object" + }, + "AWS::RolesAnywhere::Profile.MappingRule": { + "additionalProperties": false, + "properties": { + "Specifier": { "type": "string" } }, "required": [ - "SecurityGroupArns", - "SubnetArn" + "Specifier" ], "type": "object" }, - "AWS::DataSync::LocationFSxWindows": { + "AWS::RolesAnywhere::TrustAnchor": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33251,45 +26160,37 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "FsxFilesystemArn": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Password": { + "Name": { "type": "string" }, - "SecurityGroupArns": { + "NotificationSettings": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.NotificationSetting" }, "type": "array" }, - "Subdirectory": { - "type": "string" + "Source": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.Source" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "User": { - "type": "string" } }, "required": [ - "FsxFilesystemArn", - "Password", - "SecurityGroupArns", - "User" + "Name", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationFSxWindows" + "AWS::RolesAnywhere::TrustAnchor" ], "type": "string" }, @@ -33308,144 +26209,53 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationHDFS": { + "AWS::RolesAnywhere::TrustAnchor.NotificationSetting": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Channel": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationType": { - "type": "string" - }, - "BlockSize": { - "type": "number" - }, - "KerberosKeytab": { - "type": "string" - }, - "KerberosKrb5Conf": { - "type": "string" - }, - "KerberosPrincipal": { - "type": "string" - }, - "KmsKeyProviderUri": { - "type": "string" - }, - "NameNodes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.NameNode" - }, - "type": "array" - }, - "QopConfiguration": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.QopConfiguration" - }, - "ReplicationFactor": { - "type": "number" - }, - "SimpleUser": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AgentArns", - "AuthenticationType", - "NameNodes" - ], - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationHDFS" - ], + "Event": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Threshold": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled", + "Event" ], "type": "object" }, - "AWS::DataSync::LocationHDFS.NameNode": { + "AWS::RolesAnywhere::TrustAnchor.Source": { "additionalProperties": false, "properties": { - "Hostname": { - "type": "string" + "SourceData": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.SourceData" }, - "Port": { - "type": "number" + "SourceType": { + "type": "string" } }, - "required": [ - "Hostname", - "Port" - ], "type": "object" }, - "AWS::DataSync::LocationHDFS.QopConfiguration": { + "AWS::RolesAnywhere::TrustAnchor.SourceData": { "additionalProperties": false, "properties": { - "DataTransferProtection": { + "AcmPcaArn": { "type": "string" }, - "RpcProtection": { + "X509CertificateData": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::LocationNFS": { + "AWS::Route53::CidrCollection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33477,35 +26287,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.MountOptions" - }, - "OnPremConfig": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.OnPremConfig" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { + "Locations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::CidrCollection.Location" }, "type": "array" + }, + "Name": { + "type": "string" } }, "required": [ - "OnPremConfig", - "ServerHostname", - "Subdirectory" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationNFS" + "AWS::Route53::CidrCollection" ], "type": "string" }, @@ -33524,31 +26323,26 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationNFS.MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataSync::LocationNFS.OnPremConfig": { + "AWS::Route53::CidrCollection.Location": { "additionalProperties": false, "properties": { - "AgentArns": { + "CidrList": { "items": { "type": "string" }, "type": "array" + }, + "LocationName": { + "type": "string" } }, "required": [ - "AgentArns" + "CidrList", + "LocationName" ], "type": "object" }, - "AWS::DataSync::LocationObjectStorage": { + "AWS::Route53::DNSSEC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33580,50 +26374,18 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessKey": { - "type": "string" - }, - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BucketName": { - "type": "string" - }, - "SecretKey": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "ServerPort": { - "type": "number" - }, - "ServerProtocol": { - "type": "string" - }, - "Subdirectory": { + "HostedZoneId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AgentArns", - "BucketName", - "ServerHostname" + "HostedZoneId" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationObjectStorage" + "AWS::Route53::DNSSEC" ], "type": "string" }, @@ -33642,7 +26404,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationS3": { + "AWS::Route53::HealthCheck": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33674,34 +26436,24 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "S3BucketArn": { - "type": "string" - }, - "S3Config": { - "$ref": "#/definitions/AWS::DataSync::LocationS3.S3Config" - }, - "S3StorageClass": { - "type": "string" - }, - "Subdirectory": { - "type": "string" + "HealthCheckConfig": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckConfig" }, - "Tags": { + "HealthCheckTags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" }, "type": "array" } }, "required": [ - "S3BucketArn", - "S3Config" + "HealthCheckConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationS3" + "AWS::Route53::HealthCheck" ], "type": "string" }, @@ -33720,121 +26472,105 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationS3.S3Config": { + "AWS::Route53::HealthCheck.AlarmIdentifier": { "additionalProperties": false, "properties": { - "BucketAccessRoleArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" } }, "required": [ - "BucketAccessRoleArn" + "Name", + "Region" ], "type": "object" }, - "AWS::DataSync::LocationSMB": { + "AWS::Route53::HealthCheck.HealthCheckConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AlarmIdentifier": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.AlarmIdentifier" + }, + "ChildHealthChecks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableSNI": { + "type": "boolean" + }, + "FailureThreshold": { + "type": "number" + }, + "FullyQualifiedDomainName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "HealthThreshold": { + "type": "number" }, - "Metadata": { - "type": "object" + "IPAddress": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Domain": { - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationSMB.MountOptions" - }, - "Password": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "User": { - "type": "string" - } + "InsufficientDataHealthStatus": { + "type": "string" + }, + "Inverted": { + "type": "boolean" + }, + "MeasureLatency": { + "type": "boolean" + }, + "Port": { + "type": "number" + }, + "Regions": { + "items": { + "type": "string" }, - "required": [ - "AgentArns", - "Password", - "ServerHostname", - "Subdirectory", - "User" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationSMB" - ], + "RequestInterval": { + "type": "number" + }, + "ResourcePath": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RoutingControlArn": { + "type": "string" + }, + "SearchString": { + "type": "string" + }, + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::LocationSMB.MountOptions": { + "AWS::Route53::HealthCheck.HealthCheckTag": { "additionalProperties": false, "properties": { - "Version": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::DataSync::Task": { + "AWS::Route53::HostedZone": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33866,52 +26602,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "DestinationLocationArn": { - "type": "string" - }, - "Excludes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" - }, - "type": "array" + "HostedZoneConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" }, - "Includes": { + "HostedZoneTags": { "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" }, "type": "array" }, "Name": { "type": "string" }, - "Options": { - "$ref": "#/definitions/AWS::DataSync::Task.Options" - }, - "Schedule": { - "$ref": "#/definitions/AWS::DataSync::Task.TaskSchedule" - }, - "SourceLocationArn": { - "type": "string" + "QueryLoggingConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" }, - "Tags": { + "VPCs": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" }, "type": "array" } }, - "required": [ - "DestinationLocationArn", - "SourceLocationArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Task" + "AWS::Route53::HostedZone" ], "type": "string" }, @@ -33925,84 +26642,64 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::Task.FilterRule": { + "AWS::Route53::HostedZone.HostedZoneConfig": { "additionalProperties": false, "properties": { - "FilterType": { - "type": "string" - }, - "Value": { + "Comment": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::Task.Options": { + "AWS::Route53::HostedZone.HostedZoneTag": { "additionalProperties": false, "properties": { - "Atime": { - "type": "string" - }, - "BytesPerSecond": { - "type": "number" - }, - "Gid": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "Mtime": { - "type": "string" - }, - "OverwriteMode": { - "type": "string" - }, - "PosixPermissions": { - "type": "string" - }, - "PreserveDeletedFiles": { - "type": "string" - }, - "PreserveDevices": { - "type": "string" - }, - "SecurityDescriptorCopyFlags": { - "type": "string" - }, - "TaskQueueing": { - "type": "string" - }, - "TransferMode": { + "Key": { "type": "string" }, - "Uid": { + "Value": { "type": "string" - }, - "VerifyMode": { + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::Route53::HostedZone.QueryLoggingConfig": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsLogGroupArn": { "type": "string" } }, + "required": [ + "CloudWatchLogsLogGroupArn" + ], "type": "object" }, - "AWS::DataSync::Task.TaskSchedule": { + "AWS::Route53::HostedZone.VPC": { "additionalProperties": false, "properties": { - "ScheduleExpression": { + "VPCId": { + "type": "string" + }, + "VPCRegion": { "type": "string" } }, "required": [ - "ScheduleExpression" + "VPCId", + "VPCRegion" ], "type": "object" }, - "AWS::Detective::Graph": { + "AWS::Route53::KeySigningKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34034,18 +26731,30 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HostedZoneId": { + "type": "string" + }, + "KeyManagementServiceArn": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" } }, + "required": [ + "HostedZoneId", + "KeyManagementServiceArn", + "Name", + "Status" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::Graph" + "AWS::Route53::KeySigningKey" ], "type": "string" }, @@ -34059,11 +26768,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Detective::MemberInvitation": { + "AWS::Route53::RecordSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34095,32 +26805,70 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DisableEmailNotification": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSet.CidrRoutingConfig" + }, + "Comment": { + "type": "string" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { "type": "boolean" }, - "GraphArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" }, - "MemberEmailAddress": { + "ResourceRecords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SetIdentifier": { "type": "string" }, - "MemberId": { + "TTL": { "type": "string" }, - "Message": { + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "GraphArn", - "MemberEmailAddress", - "MemberId" + "Name", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::MemberInvitation" + "AWS::Route53::RecordSet" ], "type": "string" }, @@ -34139,87 +26887,91 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel": { + "AWS::Route53::RecordSet.AliasTarget": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DNSName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "EvaluateTargetHealth": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Config": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig" - } - }, - "required": [ - "Config" - ], - "type": "object" + "HostedZoneId": { + "type": "string" + } + }, + "required": [ + "DNSName", + "HostedZoneId" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.CidrRoutingConfig": { + "additionalProperties": false, + "properties": { + "CollectionId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DevOpsGuru::NotificationChannel" - ], + "LocationName": { + "type": "string" + } + }, + "required": [ + "CollectionId", + "LocationName" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.Coordinates": { + "additionalProperties": false, + "properties": { + "Latitude": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Longitude": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Latitude", + "Longitude" ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig": { + "AWS::Route53::RecordSet.GeoLocation": { "additionalProperties": false, "properties": { - "Sns": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig" + "ContinentCode": { + "type": "string" + }, + "CountryCode": { + "type": "string" + }, + "SubdivisionCode": { + "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig": { + "AWS::Route53::RecordSet.GeoProximityLocation": { "additionalProperties": false, "properties": { - "TopicArn": { + "AWSRegion": { + "type": "string" + }, + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSet.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection": { + "AWS::Route53::RecordSetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34251,18 +27003,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ResourceCollectionFilter": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter" + "Comment": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "RecordSets": { + "items": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" + }, + "type": "array" } }, - "required": [ - "ResourceCollectionFilter" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DevOpsGuru::ResourceCollection" + "AWS::Route53::RecordSetGroup" ], "type": "string" }, @@ -34276,134 +27037,156 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter": { + "AWS::Route53::RecordSetGroup.AliasTarget": { "additionalProperties": false, "properties": { - "StackNames": { - "items": { - "type": "string" - }, - "type": "array" + "DNSName": { + "type": "string" + }, + "EvaluateTargetHealth": { + "type": "boolean" + }, + "HostedZoneId": { + "type": "string" } }, + "required": [ + "DNSName", + "HostedZoneId" + ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter": { + "AWS::Route53::RecordSetGroup.CidrRoutingConfig": { "additionalProperties": false, "properties": { - "CloudFormation": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter" + "CollectionId": { + "type": "string" + }, + "LocationName": { + "type": "string" } }, + "required": [ + "CollectionId", + "LocationName" + ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD": { + "AWS::Route53::RecordSetGroup.Coordinates": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Latitude": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Longitude": { + "type": "string" + } + }, + "required": [ + "Latitude", + "Longitude" + ], + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoLocation": { + "additionalProperties": false, + "properties": { + "ContinentCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CreateAlias": { - "type": "boolean" - }, - "Edition": { - "type": "string" - }, - "EnableSso": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "ShortName": { - "type": "string" - }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD.VpcSettings" - } - }, - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "type": "object" + "CountryCode": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DirectoryService::MicrosoftAD" - ], + "SubdivisionCode": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoProximityLocation": { + "additionalProperties": false, + "properties": { + "AWSRegion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD.VpcSettings": { + "AWS::Route53::RecordSetGroup.RecordSet": { "additionalProperties": false, "properties": { - "SubnetIds": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.CidrRoutingConfig" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Region": { + "type": "string" + }, + "ResourceRecords": { "items": { "type": "string" }, "type": "array" }, - "VpcId": { + "SetIdentifier": { + "type": "string" + }, + "TTL": { + "type": "string" + }, + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "SubnetIds", - "VpcId" + "Name", + "Type" ], "type": "object" }, - "AWS::DirectoryService::SimpleAD": { + "AWS::S3::AccessGrant": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34435,42 +27218,41 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CreateAlias": { - "type": "boolean" + "AccessGrantsLocationConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessGrant.AccessGrantsLocationConfiguration" }, - "Description": { + "AccessGrantsLocationId": { "type": "string" }, - "EnableSso": { - "type": "boolean" - }, - "Name": { + "ApplicationArn": { "type": "string" }, - "Password": { - "type": "string" + "Grantee": { + "$ref": "#/definitions/AWS::S3::AccessGrant.Grantee" }, - "ShortName": { + "Permission": { "type": "string" }, - "Size": { + "S3PrefixType": { "type": "string" }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD.VpcSettings" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "Name", - "Password", - "Size", - "VpcSettings" + "AccessGrantsLocationId", + "Grantee", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::DirectoryService::SimpleAD" + "AWS::S3::AccessGrant" ], "type": "string" }, @@ -34489,26 +27271,35 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DirectoryService::SimpleAD.VpcSettings": { + "AWS::S3::AccessGrant.AccessGrantsLocationConfiguration": { "additionalProperties": false, "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "S3SubPrefix": { + "type": "string" + } + }, + "required": [ + "S3SubPrefix" + ], + "type": "object" + }, + "AWS::S3::AccessGrant.Grantee": { + "additionalProperties": false, + "properties": { + "GranteeIdentifier": { + "type": "string" }, - "VpcId": { + "GranteeType": { "type": "string" } }, "required": [ - "SubnetIds", - "VpcId" + "GranteeIdentifier", + "GranteeType" ], "type": "object" }, - "AWS::DocDB::DBCluster": { + "AWS::S3::AccessGrantsInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34540,82 +27331,21 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "IdentityCenterArn": { "type": "string" }, - "SnapshotIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" } }, - "required": [ - "MasterUserPassword", - "MasterUsername" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBCluster" + "AWS::S3::AccessGrantsInstance" ], "type": "string" }, @@ -34629,12 +27359,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBClusterParameterGroup": { + "AWS::S3::AccessGrantsLocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34666,18 +27395,12 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "Family": { + "IamRoleArn": { "type": "string" }, - "Name": { + "LocationScope": { "type": "string" }, - "Parameters": { - "type": "object" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -34685,16 +27408,11 @@ var CloudformationSchema = `{ "type": "array" } }, - "required": [ - "Description", - "Family", - "Parameters" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBClusterParameterGroup" + "AWS::S3::AccessGrantsLocation" ], "type": "string" }, @@ -34708,12 +27426,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBInstance": { + "AWS::S3::AccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34745,40 +27462,33 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { + "Bucket": { "type": "string" }, - "DBClusterIdentifier": { + "BucketAccountId": { "type": "string" }, - "DBInstanceClass": { + "Name": { "type": "string" }, - "DBInstanceIdentifier": { - "type": "string" + "Policy": { + "type": "object" }, - "PreferredMaintenanceWindow": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" } }, "required": [ - "DBClusterIdentifier", - "DBInstanceClass" + "Bucket" ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBInstance" + "AWS::S3::AccessPoint" ], "type": "string" }, @@ -34797,7 +27507,34 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::DocDB::DBSubnetGroup": { + "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::AccessPoint.VpcConfiguration": { + "additionalProperties": false, + "properties": { + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34829,143 +27566,90 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DBSubnetGroupDescription": { + "AccelerateConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" + }, + "AccessControl": { "type": "string" }, - "DBSubnetGroupName": { + "AnalyticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" + }, + "type": "array" + }, + "BucketEncryption": { + "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" + }, + "BucketName": { "type": "string" }, - "SubnetIds": { + "CorsConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" + }, + "IntelligentTieringConfigurations": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" }, "type": "array" }, - "Tags": { + "InventoryConfigurations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" }, "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DocDB::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DynamoDB::GlobalTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.AttributeDefinition" - }, - "type": "array" + "LifecycleConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" }, - "BillingMode": { - "type": "string" + "LoggingConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex" - }, - "type": "array" + "MetadataTableConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.MetadataTableConfiguration" }, - "KeySchema": { + "MetricsConfigurations": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" }, "type": "array" }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.LocalSecondaryIndex" - }, - "type": "array" + "NotificationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" }, - "Replicas": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSpecification" - }, - "type": "array" + "ObjectLockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.SSESpecification" + "ObjectLockEnabled": { + "type": "boolean" }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.StreamSpecification" + "OwnershipControls": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" }, - "TableName": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TimeToLiveSpecification" + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" + "VersioningConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" + }, + "WebsiteConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" } }, - "required": [ - "AttributeDefinitions", - "KeySchema", - "Replicas" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DynamoDB::GlobalTable" + "AWS::S3::Bucket" ], "type": "string" }, @@ -34979,1235 +27663,1073 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.AttributeDefinition": { + "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeType": { - "type": "string" + "DaysAfterInitiation": { + "type": "number" } }, "required": [ - "AttributeName", - "AttributeType" + "DaysAfterInitiation" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings": { + "AWS::S3::Bucket.AccelerateConfiguration": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SeedCapacity": { - "type": "number" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus": { + "type": "string" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification": { + "AWS::S3::Bucket.AccessControlTranslation": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Owner": { + "type": "string" } }, "required": [ - "Enabled" + "Owner" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex": { + "AWS::S3::Bucket.AnalyticsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "StorageClassAnalysis": { + "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" + }, + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id", + "StorageClassAnalysis" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.KeySchema": { + "AWS::S3::Bucket.BucketEncryption": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "ServerSideEncryptionConfiguration": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" + }, + "type": "array" } }, "required": [ - "AttributeName", - "KeyType" + "ServerSideEncryptionConfiguration" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.LocalSecondaryIndex": { + "AWS::S3::Bucket.CorsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { - "type": "string" - }, - "KeySchema": { + "CorsRules": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "CorsRules" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::GlobalTable.Projection": { + "AWS::S3::Bucket.CorsRule": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { + "AllowedHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedOrigins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExposedHeaders": { "items": { "type": "string" }, "type": "array" }, - "ProjectionType": { + "Id": { "type": "string" + }, + "MaxAge": { + "type": "number" } }, + "required": [ + "AllowedMethods", + "AllowedOrigins" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings": { + "AWS::S3::Bucket.DataExport": { "additionalProperties": false, "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "ReadCapacityUnits": { - "type": "number" + "OutputSchemaVersion": { + "type": "string" } }, + "required": [ + "Destination", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification": { + "AWS::S3::Bucket.DefaultRetention": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" + "Days": { + "type": "number" }, - "IndexName": { + "Mode": { "type": "string" }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "Years": { + "type": "number" } }, - "required": [ - "IndexName" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification": { + "AWS::S3::Bucket.DeleteMarkerReplication": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { + "Status": { "type": "string" } }, - "required": [ - "KMSMasterKeyId" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSpecification": { + "AWS::S3::Bucket.Destination": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "BucketAccountId": { + "type": "string" }, - "Region": { + "BucketArn": { "type": "string" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSSESpecification" + "Format": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Prefix": { + "type": "string" } }, "required": [ - "Region" + "BucketArn", + "Format" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.SSESpecification": { + "AWS::S3::Bucket.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { + "ReplicaKmsKeyID": { "type": "string" } }, "required": [ - "SSEEnabled" + "ReplicaKmsKeyID" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.StreamSpecification": { + "AWS::S3::Bucket.EventBridgeConfiguration": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "EventBridgeEnabled": { + "type": "boolean" } }, "required": [ - "StreamViewType" + "EventBridgeEnabled" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration": { + "AWS::S3::Bucket.FilterRule": { "additionalProperties": false, "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" + "Name": { + "type": "string" }, - "TargetValue": { - "type": "number" + "Value": { + "type": "string" } }, "required": [ - "TargetValue" + "Name", + "Value" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TimeToLiveSpecification": { + "AWS::S3::Bucket.IntelligentTieringConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Id": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Prefix": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Tierings": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Tiering" + }, + "type": "array" } }, "required": [ - "Enabled" + "Id", + "Status", + "Tierings" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table": { + "AWS::S3::Bucket.InventoryConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Id": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.AttributeDefinition" - }, - "type": "array" - }, - "BillingMode": { - "type": "string" - }, - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.GlobalSecondaryIndex" - }, - "type": "array" - }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KinesisStreamSpecification" - }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.LocalSecondaryIndex" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.PointInTimeRecoverySpecification" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.SSESpecification" - }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.StreamSpecification" - }, - "TableClass": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.TimeToLiveSpecification" - } + "IncludedObjectVersions": { + "type": "string" + }, + "OptionalFields": { + "items": { + "type": "string" }, - "required": [ - "KeySchema" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DynamoDB::Table" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ScheduleFrequency": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination", + "Enabled", + "Id", + "IncludedObjectVersions", + "ScheduleFrequency" ], "type": "object" }, - "AWS::DynamoDB::Table.AttributeDefinition": { + "AWS::S3::Bucket.LambdaConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Event": { "type": "string" }, - "AttributeType": { + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Function": { "type": "string" } }, "required": [ - "AttributeName", - "AttributeType" + "Event", + "Function" ], "type": "object" }, - "AWS::DynamoDB::Table.ContributorInsightsSpecification": { + "AWS::S3::Bucket.LifecycleConfiguration": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Rule" + }, + "type": "array" + }, + "TransitionDefaultMinimumObjectSize": { + "type": "string" } }, "required": [ - "Enabled" + "Rules" ], "type": "object" }, - "AWS::DynamoDB::Table.GlobalSecondaryIndex": { + "AWS::S3::Bucket.LoggingConfiguration": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "IndexName": { + "DestinationBucketName": { "type": "string" }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" + "LogFilePrefix": { + "type": "string" }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" + "TargetObjectKeyFormat": { + "$ref": "#/definitions/AWS::S3::Bucket.TargetObjectKeyFormat" } }, - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], "type": "object" }, - "AWS::DynamoDB::Table.KeySchema": { + "AWS::S3::Bucket.MetadataTableConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "S3TablesDestination": { + "$ref": "#/definitions/AWS::S3::Bucket.S3TablesDestination" } }, "required": [ - "AttributeName", - "KeyType" + "S3TablesDestination" ], "type": "object" }, - "AWS::DynamoDB::Table.KinesisStreamSpecification": { + "AWS::S3::Bucket.Metrics": { "additionalProperties": false, "properties": { - "StreamArn": { + "EventThreshold": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" + }, + "Status": { "type": "string" } }, "required": [ - "StreamArn" + "Status" ], "type": "object" }, - "AWS::DynamoDB::Table.LocalSecondaryIndex": { + "AWS::S3::Bucket.MetricsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "AccessPointArn": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id" ], "type": "object" }, - "AWS::DynamoDB::Table.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table.Projection": { + "AWS::S3::Bucket.NoncurrentVersionExpiration": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { - "items": { - "type": "string" - }, - "type": "array" + "NewerNoncurrentVersions": { + "type": "number" }, - "ProjectionType": { - "type": "string" + "NoncurrentDays": { + "type": "number" } }, + "required": [ + "NoncurrentDays" + ], "type": "object" }, - "AWS::DynamoDB::Table.ProvisionedThroughput": { + "AWS::S3::Bucket.NoncurrentVersionTransition": { "additionalProperties": false, "properties": { - "ReadCapacityUnits": { + "NewerNoncurrentVersions": { "type": "number" }, - "WriteCapacityUnits": { + "StorageClass": { + "type": "string" + }, + "TransitionInDays": { "type": "number" } }, "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" + "StorageClass", + "TransitionInDays" ], "type": "object" }, - "AWS::DynamoDB::Table.SSESpecification": { + "AWS::S3::Bucket.NotificationConfiguration": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { - "type": "string" + "EventBridgeConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" }, - "SSEEnabled": { - "type": "boolean" + "LambdaConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" + }, + "type": "array" }, - "SSEType": { - "type": "string" + "QueueConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" + }, + "type": "array" + }, + "TopicConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" + }, + "type": "array" } }, - "required": [ - "SSEEnabled" - ], "type": "object" }, - "AWS::DynamoDB::Table.StreamSpecification": { + "AWS::S3::Bucket.NotificationFilter": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" } }, "required": [ - "StreamViewType" + "S3Key" ], "type": "object" }, - "AWS::DynamoDB::Table.TimeToLiveSpecification": { + "AWS::S3::Bucket.ObjectLockConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "ObjectLockEnabled": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Rule": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" } }, - "required": [ - "AttributeName", - "Enabled" - ], "type": "object" }, - "AWS::EC2::CapacityReservation": { + "AWS::S3::Bucket.ObjectLockRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DefaultRetention": { + "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControls": { + "additionalProperties": false, + "properties": { + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" + }, + "type": "array" + } + }, + "required": [ + "Rules" + ], + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControlsRule": { + "additionalProperties": false, + "properties": { + "ObjectOwnership": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PartitionedPrefix": { + "additionalProperties": false, + "properties": { + "PartitionDateSource": { "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BlockPublicPolicy": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "IgnorePublicAcls": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "EbsOptimized": { - "type": "boolean" - }, - "EndDate": { - "type": "string" - }, - "EndDateType": { - "type": "string" - }, - "EphemeralStorage": { - "type": "boolean" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstancePlatform": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "OutPostArn": { - "type": "string" - }, - "PlacementGroupArn": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceCount", - "InstancePlatform", - "InstanceType" - ], - "type": "object" + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.QueueConfiguration": { + "additionalProperties": false, + "properties": { + "Event": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservation" - ], + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Queue": { + "type": "string" + } + }, + "required": [ + "Event", + "Queue" + ], + "type": "object" + }, + "AWS::S3::Bucket.RedirectAllRequestsTo": { + "additionalProperties": false, + "properties": { + "HostName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HostName" ], "type": "object" }, - "AWS::EC2::CapacityReservation.TagSpecification": { + "AWS::S3::Bucket.RedirectRule": { "additionalProperties": false, "properties": { - "ResourceType": { + "HostName": { "type": "string" }, - "Tags": { + "HttpRedirectCode": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "ReplaceKeyPrefixWith": { + "type": "string" + }, + "ReplaceKeyWith": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicaModifications": { + "additionalProperties": false, + "properties": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.ReplicationConfiguration": { + "additionalProperties": false, + "properties": { + "Role": { + "type": "string" + }, + "Rules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" }, "type": "array" } }, + "required": [ + "Role", + "Rules" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet": { + "AWS::S3::Bucket.ReplicationDestination": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AccessControlTranslation": { + "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" + }, + "Account": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Bucket": { + "type": "string" }, - "Metadata": { - "type": "object" + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "EndDate": { - "type": "string" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstanceTypeSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" - }, - "type": "array" - }, - "NoRemoveEndDate": { - "type": "boolean" - }, - "RemoveEndDate": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "TotalTargetCapacity": { - "type": "number" - } - }, - "type": "object" + "Metrics": { + "$ref": "#/definitions/AWS::S3::Bucket.Metrics" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservationFleet" - ], - "type": "string" + "ReplicationTime": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "StorageClass": { "type": "string" } }, "required": [ - "Type" + "Bucket" ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "AWS::S3::Bucket.ReplicationRule": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" + "DeleteMarkerReplication": { + "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" }, - "AvailabilityZoneId": { - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" }, - "EbsOptimized": { - "type": "boolean" + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" }, - "InstancePlatform": { + "Id": { "type": "string" }, - "InstanceType": { + "Prefix": { "type": "string" }, "Priority": { "type": "number" }, - "Weight": { - "type": "number" + "SourceSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" + }, + "Status": { + "type": "string" } }, + "required": [ + "Destination", + "Status" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "AWS::S3::Bucket.ReplicationRuleAndOperator": { "additionalProperties": false, "properties": { - "ResourceType": { + "Prefix": { "type": "string" }, - "Tags": { + "TagFilters": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" } }, "type": "object" }, - "AWS::EC2::CarrierGateway": { + "AWS::S3::Bucket.ReplicationRuleFilter": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" + "And": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" }, - "Type": { - "enum": [ - "AWS::EC2::CarrierGateway" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TagFilter": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicationTime": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" + }, + "Time": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" } }, "required": [ - "Type", - "Properties" + "Status", + "Time" ], "type": "object" }, - "AWS::EC2::ClientVpnAuthorizationRule": { + "AWS::S3::Bucket.ReplicationTimeValue": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessGroupId": { - "type": "string" - }, - "AuthorizeAllGroups": { - "type": "boolean" - }, - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "TargetNetworkCidr": { - "type": "string" - } - }, - "required": [ - "ClientVpnEndpointId", - "TargetNetworkCidr" - ], - "type": "object" + "Minutes": { + "type": "number" + } + }, + "required": [ + "Minutes" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRule": { + "additionalProperties": false, + "properties": { + "RedirectRule": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnAuthorizationRule" - ], + "RoutingRuleCondition": { + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" + } + }, + "required": [ + "RedirectRule" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRuleCondition": { + "additionalProperties": false, + "properties": { + "HttpErrorCodeReturnedEquals": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "KeyPrefixEquals": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint": { + "AWS::S3::Bucket.Rule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AbortIncompleteMultipartUpload": { + "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" + }, + "ExpirationDate": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "ExpirationInDays": { + "type": "number" }, - "Metadata": { - "type": "object" + "ExpiredObjectDeleteMarker": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationOptions": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" - }, - "type": "array" - }, - "ClientCidrBlock": { - "type": "string" - }, - "ClientConnectOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" - }, - "ConnectionLogOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" - }, - "Description": { - "type": "string" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfServicePortal": { - "type": "string" - }, - "ServerCertificateArn": { - "type": "string" - }, - "SplitTunnel": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" - }, - "type": "array" - }, - "TransportProtocol": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnPort": { - "type": "number" - } + "Id": { + "type": "string" + }, + "NoncurrentVersionExpiration": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" + }, + "NoncurrentVersionExpirationInDays": { + "type": "number" + }, + "NoncurrentVersionTransition": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" + }, + "NoncurrentVersionTransitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" }, - "required": [ - "AuthenticationOptions", - "ClientCidrBlock", - "ConnectionLogOptions", - "ServerCertificateArn" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnEndpoint" - ], + "ObjectSizeGreaterThan": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ObjectSizeLessThan": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Status": { "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Transition": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "Transitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { + "AWS::S3::Bucket.S3KeyFilter": { "additionalProperties": false, "properties": { - "ClientRootCertificateChainArn": { - "type": "string" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" + }, + "type": "array" } }, "required": [ - "ClientRootCertificateChainArn" + "Rules" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "AWS::S3::Bucket.S3TablesDestination": { "additionalProperties": false, "properties": { - "ActiveDirectory": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + "TableArn": { + "type": "string" }, - "FederatedAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + "TableBucketArn": { + "type": "string" }, - "MutualAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + "TableName": { + "type": "string" }, - "Type": { + "TableNamespace": { "type": "string" } }, "required": [ - "Type" + "TableBucketArn", + "TableName" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "AWS::S3::Bucket.ServerSideEncryptionByDefault": { "additionalProperties": false, "properties": { - "Enabled": { + "KMSMasterKeyID": { + "type": "string" + }, + "SSEAlgorithm": { + "type": "string" + } + }, + "required": [ + "SSEAlgorithm" + ], + "type": "object" + }, + "AWS::S3::Bucket.ServerSideEncryptionRule": { + "additionalProperties": false, + "properties": { + "BucketKeyEnabled": { "type": "boolean" }, - "LambdaFunctionArn": { + "ServerSideEncryptionByDefault": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SourceSelectionCriteria": { + "additionalProperties": false, + "properties": { + "ReplicaModifications": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" + }, + "SseKmsEncryptedObjects": { + "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SseKmsEncryptedObjects": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Enabled" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "AWS::S3::Bucket.StorageClassAnalysis": { "additionalProperties": false, "properties": { - "CloudwatchLogGroup": { + "DataExport": { + "$ref": "#/definitions/AWS::S3::Bucket.DataExport" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.TagFilter": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "CloudwatchLogStream": { + "Value": { + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::S3::Bucket.TargetObjectKeyFormat": { + "additionalProperties": false, + "properties": { + "PartitionedPrefix": { + "$ref": "#/definitions/AWS::S3::Bucket.PartitionedPrefix" + }, + "SimplePrefix": { + "type": "object" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Tiering": { + "additionalProperties": false, + "properties": { + "AccessTier": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Days": { + "type": "number" } }, "required": [ - "Enabled" + "AccessTier", + "Days" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "AWS::S3::Bucket.TopicConfiguration": { "additionalProperties": false, "properties": { - "DirectoryId": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Topic": { "type": "string" } }, "required": [ - "DirectoryId" + "Event", + "Topic" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { + "AWS::S3::Bucket.Transition": { "additionalProperties": false, "properties": { - "SAMLProviderArn": { + "StorageClass": { "type": "string" }, - "SelfServiceSAMLProviderArn": { + "TransitionDate": { "type": "string" + }, + "TransitionInDays": { + "type": "number" } }, "required": [ - "SAMLProviderArn" + "StorageClass" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "AWS::S3::Bucket.VersioningConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.WebsiteConfiguration": { + "additionalProperties": false, + "properties": { + "ErrorDocument": { "type": "string" }, - "Tags": { + "IndexDocument": { + "type": "string" + }, + "RedirectAllRequestsTo": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" + }, + "RoutingRules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" }, "type": "array" } }, - "required": [ - "ResourceType", - "Tags" - ], "type": "object" }, - "AWS::EC2::ClientVpnRoute": { + "AWS::S3::BucketPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36239,29 +28761,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { + "Bucket": { "type": "string" }, - "TargetVpcSubnetId": { - "type": "string" + "PolicyDocument": { + "type": "object" } }, "required": [ - "ClientVpnEndpointId", - "DestinationCidrBlock", - "TargetVpcSubnetId" + "Bucket", + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnRoute" + "AWS::S3::BucketPolicy" ], "type": "string" }, @@ -36280,7 +28795,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::ClientVpnTargetNetworkAssociation": { + "AWS::S3::MultiRegionAccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36312,22 +28827,27 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { + "Name": { "type": "string" }, - "SubnetId": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" + }, + "Regions": { + "items": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" + }, + "type": "array" } }, "required": [ - "ClientVpnEndpointId", - "SubnetId" + "Regions" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnTargetNetworkAssociation" + "AWS::S3::MultiRegionAccessPoint" ], "type": "string" }, @@ -36346,7 +28866,40 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::CustomerGateway": { + "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::MultiRegionAccessPoint.Region": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "BucketAccountId": { + "type": "string" + } + }, + "required": [ + "Bucket" + ], + "type": "object" + }, + "AWS::S3::MultiRegionAccessPointPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36378,32 +28931,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BgpAsn": { - "type": "number" - }, - "IpAddress": { + "MrapName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" + "Policy": { + "type": "object" } }, "required": [ - "BgpAsn", - "IpAddress", - "Type" + "MrapName", + "Policy" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::CustomerGateway" + "AWS::S3::MultiRegionAccessPointPolicy" ], "type": "string" }, @@ -36422,7 +28965,19 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::DHCPOptions": { + "AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus": { + "additionalProperties": false, + "properties": { + "IsPublic": { + "type": "string" + } + }, + "required": [ + "IsPublic" + ], + "type": "object" + }, + "AWS::S3::StorageLens": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36454,29 +29009,8 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "DomainNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNodeType": { - "type": "number" - }, - "NtpServers": { - "items": { - "type": "string" - }, - "type": "array" + "StorageLensConfiguration": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" }, "Tags": { "items": { @@ -36485,11 +29019,14 @@ var CloudformationSchema = `{ "type": "array" } }, + "required": [ + "StorageLensConfiguration" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::DHCPOptions" + "AWS::S3::StorageLens" ], "type": "string" }, @@ -36503,512 +29040,305 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EC2Fleet": { + "AWS::S3::StorageLens.AccountLevel": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "Metadata": { - "type": "object" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" - }, - "type": "array" - }, - "OnDemandOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" - }, - "type": "array" - }, - "TargetCapacitySpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "LaunchTemplateConfigs", - "TargetCapacitySpecification" - ], - "type": "object" + "BucketLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" }, - "Type": { - "enum": [ - "AWS::EC2::EC2Fleet" - ], - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "StorageLensGroupLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupLevel" } }, "required": [ - "Type", - "Properties" + "BucketLevel" ], "type": "object" }, - "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { + "AWS::S3::StorageLens.ActivityMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { + "AWS::S3::StorageLens.AdvancedCostOptimizationMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityRebalance": { + "AWS::S3::StorageLens.AdvancedDataProtectionMetrics": { "additionalProperties": false, "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { + "AWS::S3::StorageLens.AwsOrg": { "additionalProperties": false, "properties": { - "UsageStrategy": { + "Arn": { "type": "string" } }, + "required": [ + "Arn" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { + "AWS::S3::StorageLens.BucketLevel": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" - }, - "Priority": { - "type": "number" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "SubnetId": { - "type": "string" + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "LaunchTemplateName": { - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "Version": { - "type": "string" + "PrefixLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "AWS::S3::StorageLens.BucketsAndRegions": { "additionalProperties": false, "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { + "Buckets": { "items": { "type": "string" }, "type": "array" }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { + "Regions": { "items": { "type": "string" }, "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "AWS::S3::StorageLens.CloudWatchMetrics": { "additionalProperties": false, "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + "IsEnabled": { + "type": "boolean" } }, + "required": [ + "IsEnabled" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "AWS::S3::StorageLens.DataExport": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "CloudWatchMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" }, - "Min": { - "type": "number" + "S3BucketDestination": { + "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "AWS::S3::StorageLens.DetailedStatusCodesMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "AWS::S3::StorageLens.Encryption": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "SSEKMS": { + "$ref": "#/definitions/AWS::S3::StorageLens.SSEKMS" }, - "Min": { - "type": "number" + "SSES3": { + "type": "object" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "AWS::S3::StorageLens.PrefixLevel": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "CapacityReservationOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" - }, - "MaxTotalPrice": { - "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { + "StorageMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" + } + }, + "required": [ + "StorageMetrics" + ], + "type": "object" + }, + "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { + "additionalProperties": false, + "properties": { + "IsEnabled": { "type": "boolean" }, - "SingleInstanceType": { - "type": "boolean" + "SelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.Placement": { + "AWS::S3::StorageLens.S3BucketDestination": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { + "AccountId": { "type": "string" }, - "GroupName": { + "Arn": { "type": "string" }, - "HostId": { - "type": "string" + "Encryption": { + "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" }, - "HostResourceGroupArn": { + "Format": { "type": "string" }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { + "OutputSchemaVersion": { "type": "string" }, - "Tenancy": { + "Prefix": { "type": "string" } }, + "required": [ + "AccountId", + "Arn", + "Format", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "AWS::S3::StorageLens.SSEKMS": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "MaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" - }, - "MaxTotalPrice": { + "KeyId": { "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { - "type": "boolean" - }, - "SingleInstanceType": { - "type": "boolean" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.TagSpecification": { + "AWS::S3::StorageLens.SelectionCriteria": { "additionalProperties": false, "properties": { - "ResourceType": { + "Delimiter": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaxDepth": { + "type": "number" + }, + "MinStorageBytesPercentage": { + "type": "number" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "AWS::S3::StorageLens.StorageLensConfiguration": { "additionalProperties": false, "properties": { - "DefaultTargetCapacityType": { - "type": "string" + "AccountLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" }, - "OnDemandTargetCapacity": { - "type": "number" + "AwsOrg": { + "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" }, - "SpotTargetCapacity": { - "type": "number" + "DataExport": { + "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" }, - "TargetCapacityUnitType": { + "Exclude": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "Id": { "type": "string" }, - "TotalTargetCapacity": { - "type": "number" + "Include": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "IsEnabled": { + "type": "boolean" + }, + "StorageLensArn": { + "type": "string" } }, "required": [ - "TotalTargetCapacity" + "AccountLevel", + "Id", + "IsEnabled" ], "type": "object" }, - "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "AWS::S3::StorageLens.StorageLensGroupLevel": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StorageLensGroupSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupSelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "AWS::S3::StorageLens.StorageLensGroupSelectionCriteria": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "Min": { - "type": "number" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::EC2::EIP": { + "AWS::S3::StorageLensGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37040,13 +29370,10 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "InstanceId": { - "type": "string" + "Filter": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Filter" }, - "PublicIpv4Pool": { + "Name": { "type": "string" }, "Tags": { @@ -37056,11 +29383,15 @@ var CloudformationSchema = `{ "type": "array" } }, + "required": [ + "Filter", + "Name" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIP" + "AWS::S3::StorageLensGroup" ], "type": "string" }, @@ -37074,11 +29405,132 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EIPAssociation": { + "AWS::S3::StorageLensGroup.And": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Filter": { + "additionalProperties": false, + "properties": { + "And": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.And" + }, + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + }, + "Or": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Or" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectAge": { + "additionalProperties": false, + "properties": { + "DaysGreaterThan": { + "type": "number" + }, + "DaysLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectSize": { + "additionalProperties": false, + "properties": { + "BytesGreaterThan": { + "type": "number" + }, + "BytesLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Or": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::SNS::Subscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37110,88 +29562,49 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllocationId": { - "type": "string" + "DeliveryPolicy": { + "type": "object" }, - "EIP": { + "Endpoint": { "type": "string" }, - "InstanceId": { + "FilterPolicy": { + "type": "object" + }, + "FilterPolicyScope": { "type": "string" }, - "NetworkInterfaceId": { + "Protocol": { "type": "string" }, - "PrivateIpAddress": { + "RawMessageDelivery": { + "type": "boolean" + }, + "RedrivePolicy": { + "type": "object" + }, + "Region": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::EIPAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::EgressOnlyInternetGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "ReplayPolicy": { + "type": "object" + }, + "SubscriptionRoleArn": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "VpcId": { + "TopicArn": { "type": "string" } }, "required": [ - "VpcId" + "Protocol", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EgressOnlyInternetGateway" + "AWS::SNS::Subscription" ], "type": "string" }, @@ -37210,7 +29623,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::EnclaveCertificateIamRoleAssociation": { + "AWS::SNS::Topic": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37242,95 +29655,41 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" + "ArchivePolicy": { + "type": "object" }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::EnclaveCertificateIamRoleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::FlowLog": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "ContentBasedDeduplication": { + "type": "boolean" }, - { + "DataProtectionPolicy": { + "type": "object" + }, + "DeliveryStatusLogging": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::SNS::Topic.LoggingConfig" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliverLogsPermissionArn": { - "type": "string" }, - "LogDestination": { + "DisplayName": { "type": "string" }, - "LogDestinationType": { + "FifoThroughputScope": { "type": "string" }, - "LogFormat": { - "type": "string" + "FifoTopic": { + "type": "boolean" }, - "LogGroupName": { + "KmsMasterKeyId": { "type": "string" }, - "MaxAggregationInterval": { - "type": "number" - }, - "ResourceId": { + "SignatureVersion": { "type": "string" }, - "ResourceType": { - "type": "string" + "Subscription": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.Subscription" + }, + "type": "array" }, "Tags": { "items": { @@ -37338,20 +29697,18 @@ var CloudformationSchema = `{ }, "type": "array" }, - "TrafficType": { + "TopicName": { + "type": "string" + }, + "TracingConfig": { "type": "string" } }, - "required": [ - "ResourceId", - "ResourceType", - "TrafficType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::FlowLog" + "AWS::SNS::Topic" ], "type": "string" }, @@ -37365,78 +29722,48 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::GatewayRouteTableAssociation": { + "AWS::SNS::Topic.LoggingConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FailureFeedbackRoleArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Protocol": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - } - }, - "required": [ - "GatewayId", - "RouteTableId" - ], - "type": "object" + "SuccessFeedbackRoleArn": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::GatewayRouteTableAssociation" - ], + "SuccessFeedbackSampleRate": { + "type": "string" + } + }, + "required": [ + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::Topic.Subscription": { + "additionalProperties": false, + "properties": { + "Endpoint": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Endpoint", + "Protocol" ], "type": "object" }, - "AWS::EC2::Host": { + "AWS::SNS::TopicInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37468,28 +29795,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoPlacement": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "HostRecovery": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "InstanceType": { + "TopicArn": { "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "PolicyDocument", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Host" + "AWS::SNS::TopicInlinePolicy" ], "type": "string" }, @@ -37508,7 +29829,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::IPAM": { + "AWS::SNS::TopicPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37540,27 +29861,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "OperatingRegions": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Topics": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, + "required": [ + "PolicyDocument", + "Topics" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAM" + "AWS::SNS::TopicPolicy" ], "type": "string" }, @@ -37574,23 +29893,12 @@ var CloudformationSchema = `{ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::IPAM.IpamOperatingRegion": { - "additionalProperties": false, - "properties": { - "RegionName": { - "type": "string" - } - }, - "required": [ - "RegionName" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::IPAMAllocation": { + "AWS::SQS::Queue": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37622,27 +29930,63 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Cidr": { + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DeduplicationScope": { "type": "string" }, - "Description": { + "DelaySeconds": { + "type": "number" + }, + "FifoQueue": { + "type": "boolean" + }, + "FifoThroughputLimit": { "type": "string" }, - "IpamPoolId": { + "KmsDataKeyReusePeriodSeconds": { + "type": "number" + }, + "KmsMasterKeyId": { "type": "string" }, - "NetmaskLength": { + "MaximumMessageSize": { + "type": "number" + }, + "MessageRetentionPeriod": { + "type": "number" + }, + "QueueName": { + "type": "string" + }, + "ReceiveMessageWaitTimeSeconds": { + "type": "number" + }, + "RedriveAllowPolicy": { + "type": "object" + }, + "RedrivePolicy": { + "type": "object" + }, + "SqsManagedSseEnabled": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VisibilityTimeout": { "type": "number" } }, - "required": [ - "IpamPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMAllocation" + "AWS::SQS::Queue" ], "type": "string" }, @@ -37656,12 +30000,11 @@ var CloudformationSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::IPAMPool": { + "AWS::SQS::QueueInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37693,64 +30036,22 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AddressFamily": { - "type": "string" - }, - "AllocationDefaultNetmaskLength": { - "type": "number" - }, - "AllocationMaxNetmaskLength": { - "type": "number" - }, - "AllocationMinNetmaskLength": { - "type": "number" - }, - "AllocationResourceTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "AutoImport": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "IpamScopeId": { - "type": "string" - }, - "Locale": { - "type": "string" - }, - "ProvisionedCidrs": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" - }, - "type": "array" - }, - "PubliclyAdvertisable": { - "type": "boolean" + "PolicyDocument": { + "type": "object" }, - "SourceIpamPoolId": { + "Queue": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AddressFamily", - "IpamScopeId" + "PolicyDocument", + "Queue" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMPool" + "AWS::SQS::QueueInlinePolicy" ], "type": "string" }, @@ -37769,19 +30070,7 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::IPAMPool.ProvisionedCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::IPAMScope": { + "AWS::SQS::QueuePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37813,30 +30102,25 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IpamId": { - "type": "string" - }, - "IpamScopeType": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Queues": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "IpamId" + "PolicyDocument", + "Queues" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMScope" + "AWS::SQS::QueuePolicy" ], "type": "string" }, @@ -37855,321 +30139,91 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::Instance": { + "Parameter": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" + "AllowedPattern": { + "type": "string" }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AllowedValues": { + "type": "array" + }, + "ConstraintDescription": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Default": { + "type": "string" }, - "Metadata": { - "type": "object" + "Description": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "string" - }, - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" - }, - "type": "array" - }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" - }, - "type": "array" - }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" - }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" - }, - "type": "array" - }, - "Monitoring": { - "type": "boolean" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" - }, - "type": "array" - }, - "PlacementGroupName": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PropagateTagsToVolumeOnCreation": { - "type": "boolean" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SsmAssociations": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "UserData": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::Instance.AssociationParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EC2::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::Instance.Ebs" - }, - "NoDevice": { - "$ref": "#/definitions/AWS::EC2::Instance.NoDevice" - }, - "VirtualName": { + "MaxLength": { "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::Instance.CpuOptions": { - "additionalProperties": false, - "properties": { - "CoreCount": { - "type": "number" }, - "ThreadsPerCore": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.CreditSpecification": { - "additionalProperties": false, - "properties": { - "CPUCredits": { + "MaxValue": { "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.Ebs": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" }, - "KmsKeyId": { + "MinLength": { "type": "string" }, - "SnapshotId": { + "MinValue": { "type": "string" }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.ElasticGpuSpecification": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::Instance.ElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" + "NoEcho": { + "type": [ + "string", + "boolean" + ] }, "Type": { + "enum": [ + "String", + "Number", + "List\u003cNumber\u003e", + "CommaDelimitedList", + "AWS::EC2::AvailabilityZone::Name", + "AWS::EC2::Image::Id", + "AWS::EC2::Instance::Id", + "AWS::EC2::KeyPair::KeyName", + "AWS::EC2::SecurityGroup::GroupName", + "AWS::EC2::SecurityGroup::Id", + "AWS::EC2::Subnet::Id", + "AWS::EC2::Volume::Id", + "AWS::EC2::VPC::Id", + "AWS::Route53::HostedZone::Id", + "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "List\u003cAWS::EC2::Image::Id\u003e", + "List\u003cAWS::EC2::Instance::Id\u003e", + "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "List\u003cAWS::EC2::SecurityGroup::Id\u003e", + "List\u003cAWS::EC2::Subnet::Id\u003e", + "List\u003cAWS::EC2::Volume::Id\u003e", + "List\u003cAWS::EC2::VPC::Id\u003e", + "List\u003cAWS::Route53::HostedZone::Id\u003e", + "List\u003cString\u003e", + "AWS::SSM::Parameter::Name", + "AWS::SSM::Parameter::Value\u003cString\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" + ], "type": "string" } }, @@ -38178,85637 +30232,642 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::EC2::Instance.EnclaveOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::Instance.LaunchTemplateSpecification": { + "Tag": { "additionalProperties": false, "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { + "Key": { "type": "string" }, - "Version": { + "Value": { "type": "string" } }, "required": [ - "Version" + "Key", + "Value" ], "type": "object" - }, - "AWS::EC2::Instance.LicenseSpecification": { - "additionalProperties": false, - "properties": { - "LicenseConfigurationArn": { - "type": "string" - } - }, - "required": [ - "LicenseConfigurationArn" + } + }, + "properties": { + "AWSTemplateFormatVersion": { + "enum": [ + "2010-09-09" ], - "type": "object" + "type": "string" }, - "AWS::EC2::Instance.NetworkInterface": { + "Conditions": { "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" } }, - "required": [ - "DeviceIndex" - ], - "type": "object" - }, - "AWS::EC2::Instance.NoDevice": { - "additionalProperties": false, - "properties": {}, "type": "object" }, - "AWS::EC2::Instance.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" + "Description": { + "description": "Template description", + "maxLength": 1024, + "type": "string" }, - "AWS::EC2::Instance.SsmAssociation": { + "Mappings": { "additionalProperties": false, - "properties": { - "AssociationParameters": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" - }, - "type": "array" - }, - "DocumentName": { - "type": "string" + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" } }, - "required": [ - "DocumentName" - ], "type": "object" }, - "AWS::EC2::Instance.Volume": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "VolumeId" - ], + "Metadata": { "type": "object" }, - "AWS::EC2::InternetGateway": { + "Outputs": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::InternetGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::LaunchTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LaunchTemplateData": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" - }, - "LaunchTemplateName": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LaunchTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::LaunchTemplate.AcceleratorCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { - "additionalProperties": false, - "properties": { - "CapacityReservationPreference": { - "type": "string" - }, - "CapacityReservationTarget": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { - "additionalProperties": false, - "properties": { - "CapacityReservationId": { - "type": "string" - }, - "CapacityReservationResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CpuOptions": { - "additionalProperties": false, - "properties": { - "CoreCount": { - "type": "number" - }, - "ThreadsPerCore": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CreditSpecification": { - "additionalProperties": false, - "properties": { - "CpuCredits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Ebs": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.EnclaveOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.IamInstanceProfile": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { - "additionalProperties": false, - "properties": { - "MarketType": { - "type": "string" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Ipv6Add": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateData": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" - }, - "type": "array" - }, - "CapacityReservationSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" - }, - "type": "array" - }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" - }, - "type": "array" - }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceMarketOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" - }, - "type": "array" - }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" - }, - "RamDiskId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LicenseSpecification": { - "additionalProperties": false, - "properties": { - "LicenseConfigurationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpProtocolIpv6": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Monitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterface": { - "additionalProperties": false, - "properties": { - "AssociateCarrierIpAddress": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" - }, - "type": "array" - }, - "NetworkCardIndex": { - "type": "number" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Placement": { - "additionalProperties": false, - "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.PrivateIpAdd": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.SpotOptions": { - "additionalProperties": false, - "properties": { - "BlockDurationMinutes": { - "type": "number" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "SpotInstanceType": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.VCpuCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LocalGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayVirtualInterfaceGroupId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "LocalGatewayRouteTableId", - "LocalGatewayVirtualInterfaceGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LocalGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LocalGatewayRouteTableVPCAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NatGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "ConnectivityType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NatGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAcl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAcl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAclEntry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "Icmp": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "NetworkAclId": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "required": [ - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAclEntry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAclEntry.Icmp": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Type": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkAclEntry.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterInArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkInsightsPathId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "NetworkInsightsPathId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsAnalysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "ComponentId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "Protocol": { - "type": "string" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "number" - }, - "LoadBalancerPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "Instance": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { - "additionalProperties": false, - "properties": { - "DestinationAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SourceAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { - "additionalProperties": false, - "properties": { - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Origin": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - }, - "destinationCidr": { - "type": "string" - }, - "destinationPrefixListId": { - "type": "string" - }, - "egressOnlyInternetGatewayId": { - "type": "string" - }, - "gatewayId": { - "type": "string" - }, - "instanceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "PrefixListId": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.Explanation": { - "additionalProperties": false, - "properties": { - "Acl": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Address": { - "type": "string" - }, - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AttachedTo": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClassicLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "CustomerGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Destination": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Direction": { - "type": "string" - }, - "ElasticLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "ExplanationCode": { - "type": "string" - }, - "IngressRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InternetGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerArn": { - "type": "string" - }, - "LoadBalancerListenerPort": { - "type": "number" - }, - "LoadBalancerTarget": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" - }, - "LoadBalancerTargetGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerTargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "LoadBalancerTargetPort": { - "type": "number" - }, - "MissingComponent": { - "type": "string" - }, - "NatGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "NetworkInterface": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "PacketField": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "PrefixList": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Protocols": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "State": { - "type": "string" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SubnetRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpcPeeringConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "vpcEndpoint": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { - "additionalProperties": false, - "properties": { - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "OutboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SequenceNumber": { - "type": "number" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsPath": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationIp": { - "type": "string" - }, - "DestinationPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourceIp": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Destination", - "Protocol", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsPath" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" - }, - "type": "array" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "DeviceIndex": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "DeviceIndex", - "InstanceId", - "NetworkInterfaceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfaceAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterfacePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "NetworkInterfaceId", - "Permission" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfacePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PlacementGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Strategy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PlacementGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::PrefixList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddressFamily": { - "type": "string" - }, - "Entries": { - "items": { - "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" - }, - "type": "array" - }, - "MaxEntries": { - "type": "number" - }, - "PrefixListName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddressFamily", - "MaxEntries", - "PrefixListName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PrefixList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PrefixList.Entry": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CarrierGatewayId": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationIpv6CidrBlock": { - "type": "string" - }, - "EgressOnlyInternetGatewayId": { - "type": "string" - }, - "GatewayId": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LocalGatewayId": { - "type": "string" - }, - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - } - }, - "required": [ - "RouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::RouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::RouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupDescription": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "SecurityGroupEgress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" - }, - "type": "array" - }, - "SecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Egress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupEgress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "GroupId", - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupEgress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SpotFleetRequestConfigData": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" - } - }, - "required": [ - "SpotFleetRequestConfigData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SpotFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancer": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" - }, - "type": "array" - } - }, - "required": [ - "ClassicLoadBalancers" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.GroupIdentifier": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateConfig": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" - }, - "TargetGroupsConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotCapacityRebalance": { - "additionalProperties": false, - "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" - }, - "ImageId": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" - }, - "type": "array" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "ImageId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetMonitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "IamFleetRole": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "LaunchSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" - }, - "type": "array" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" - }, - "type": "array" - }, - "LoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" - }, - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandMaxTotalPrice": { - "type": "string" - }, - "OnDemandTargetCapacity": { - "type": "number" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotMaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" - }, - "SpotMaxTotalPrice": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - }, - "TargetCapacityUnitType": { - "type": "string" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "IamFleetRole", - "TargetCapacity" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { - "additionalProperties": false, - "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotPlacement": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroupsConfig": { - "additionalProperties": false, - "properties": { - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" - }, - "type": "array" - } - }, - "required": [ - "TargetGroups" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Subnet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssignIpv6AddressOnCreation": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "MapPublicIpOnLaunch": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "CidrBlock", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Subnet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ipv6CidrBlock": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "Ipv6CidrBlock", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetNetworkAclAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NetworkAclId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "NetworkAclId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetNetworkAclAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "RouteTableId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkServices": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationPortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - }, - "SourceCidrBlock": { - "type": "string" - }, - "SourcePortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "TrafficDirection": { - "type": "string" - }, - "TrafficMirrorFilterId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "RuleAction", - "RuleNumber", - "SourceCidrBlock", - "TrafficDirection", - "TrafficMirrorFilterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilterRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorSession": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PacketLength": { - "type": "number" - }, - "SessionNumber": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrafficMirrorFilterId": { - "type": "string" - }, - "TrafficMirrorTargetId": { - "type": "string" - }, - "VirtualNetworkId": { - "type": "number" - } - }, - "required": [ - "NetworkInterfaceId", - "SessionNumber", - "TrafficMirrorFilterId", - "TrafficMirrorTargetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorSession" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "NetworkLoadBalancerArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SubnetIds", - "TransitGatewayId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "required": [ - "Options", - "TransportTransitGatewayAttachmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayConnect" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomainAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "SubnetId", - "TransitGatewayAttachmentId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomainAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupMember": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupMember" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "PeerAccountId", - "PeerRegion", - "PeerTransitGatewayId", - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayPeeringAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions": { - "additionalProperties": false, - "properties": { - "DynamicRouting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Blackhole": { - "type": "boolean" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTablePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTablePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayVpcAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Options": { - "type": "object" - }, - "RemoveSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayVpcAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "EnableDnsHostnames": { - "type": "boolean" - }, - "EnableDnsSupport": { - "type": "boolean" - }, - "InstanceTenancy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CidrBlock" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonProvidedIpv6CidrBlock": { - "type": "boolean" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "Ipv6Pool": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCDHCPOptionsAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DhcpOptionsId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCDHCPOptionsAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PrivateDnsEnabled": { - "type": "boolean" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointType": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ServiceName", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointConnectionNotification": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionNotificationArn": { - "type": "string" - }, - "ServiceId": { - "type": "string" - }, - "VPCEndpointId": { - "type": "string" - } - }, - "required": [ - "ConnectionEvents", - "ConnectionNotificationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointConnectionNotification" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointService": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "GatewayLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointService" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointServicePermissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPrincipals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointServicePermissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InternetGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCPeeringConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PeerOwnerId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerRoleArn": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "PeerVpcId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCPeeringConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" - }, - "type": "array" - } - }, - "required": [ - "CustomerGatewayId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "PreSharedKey": { - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::VPNConnectionRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnectionRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGatewayRoutePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "RouteTableIds", - "VpnGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGatewayRoutePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoEnableIO": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAttachEnabled": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Size": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Throughput": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VolumeAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "InstanceId", - "VolumeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VolumeAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::PublicRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RepositoryCatalogData": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::PublicRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyText": { - "type": "object" - } - }, - "required": [ - "PolicyText" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" - } - }, - "required": [ - "ReplicationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::ReplicationConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "required": [ - "Region", - "RegistryId" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationRule": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" - }, - "type": "array" - }, - "RepositoryFilters": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" - }, - "type": "array" - } - }, - "required": [ - "Destinations" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "FilterType": { - "type": "string" - } - }, - "required": [ - "Filter", - "FilterType" - ], - "type": "object" - }, - "AWS::ECR::Repository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" - }, - "ImageScanningConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" - }, - "ImageTagMutability": { - "type": "string" - }, - "LifecyclePolicy": { - "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::Repository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::Repository.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKey": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::ECR::Repository.ImageScanningConfiguration": { - "additionalProperties": false, - "properties": { - "ScanOnPush": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ECR::Repository.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "LifecyclePolicyText": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::CapacityProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupProvider": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.AutoScalingGroupProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AutoScalingGroupProvider" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::CapacityProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.AutoScalingGroupProvider": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupArn": { - "type": "string" - }, - "ManagedScaling": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.ManagedScaling" - }, - "ManagedTerminationProtection": { - "type": "string" - } - }, - "required": [ - "AutoScalingGroupArn" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.ManagedScaling": { - "additionalProperties": false, - "properties": { - "InstanceWarmupPeriod": { - "type": "number" - }, - "MaximumScalingStepSize": { - "type": "number" - }, - "MinimumScalingStepSize": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Cluster.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy" - }, - "type": "array" - } - }, - "required": [ - "CapacityProviders", - "Cluster", - "DefaultCapacityProviderStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::ClusterCapacityProviderAssociations" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::ECS::PrimaryTaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "Service": { - "type": "string" - }, - "TaskSetId": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskSetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::PrimaryTaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DeploymentConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentConfiguration" - }, - "DeploymentController": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentController" - }, - "DesiredCount": { - "type": "number" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "HealthCheckGracePeriodSeconds": { - "type": "number" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "Role": { - "type": "string" - }, - "SchedulingStrategy": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.ServiceRegistry" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::Service.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentCircuitBreaker": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "Rollback": { - "type": "boolean" - } - }, - "required": [ - "Enable", - "Rollback" - ], - "type": "object" - }, - "AWS::ECS::Service.DeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentCircuitBreaker": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentCircuitBreaker" - }, - "MaximumPercent": { - "type": "number" - }, - "MinimumHealthyPercent": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentController": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsvpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Service.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerDefinitions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDefinition" - }, - "type": "array" - }, - "Cpu": { - "type": "string" - }, - "EphemeralStorage": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EphemeralStorage" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "InferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.InferenceAccelerator" - }, - "type": "array" - }, - "IpcMode": { - "type": "string" - }, - "Memory": { - "type": "string" - }, - "NetworkMode": { - "type": "string" - }, - "PidMode": { - "type": "string" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint" - }, - "type": "array" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ProxyConfiguration" - }, - "RequiresCompatibilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuntimePlatform": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RuntimePlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskRoleArn": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "IAM": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cpu": { - "type": "number" - }, - "DependsOn": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDependency" - }, - "type": "array" - }, - "DisableNetworking": { - "type": "boolean" - }, - "DnsSearchDomains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DockerLabels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DockerSecurityOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "EnvironmentFiles": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EnvironmentFile" - }, - "type": "array" - }, - "Essential": { - "type": "boolean" - }, - "ExtraHosts": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostEntry" - }, - "type": "array" - }, - "FirelensConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.FirelensConfiguration" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HealthCheck" - }, - "Hostname": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "Interactive": { - "type": "boolean" - }, - "Links": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MemoryReservation": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.MountPoint" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PortMappings": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.PortMapping" - }, - "type": "array" - }, - "Privileged": { - "type": "boolean" - }, - "PseudoTerminal": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "RepositoryCredentials": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RepositoryCredentials" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - }, - "StartTimeout": { - "type": "number" - }, - "StopTimeout": { - "type": "number" - }, - "SystemControls": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.SystemControl" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "VolumesFrom": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.VolumeFrom" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDependency": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "ContainerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.DockerVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Autoprovision": { - "type": "boolean" - }, - "Driver": { - "type": "string" - }, - "DriverOpts": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Labels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Scope": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EFSVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "type": "object" - }, - "FilesystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FilesystemId" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.EnvironmentFile": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EphemeralStorage": { - "additionalProperties": false, - "properties": { - "SizeInGiB": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.FirelensConfiguration": { - "additionalProperties": false, - "properties": { - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HealthCheck": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Interval": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "StartPeriod": { - "type": "number" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostEntry": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "IpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostVolumeProperties": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.InferenceAccelerator": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KernelCapabilities": { - "additionalProperties": false, - "properties": { - "Add": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Drop": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Capabilities": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KernelCapabilities" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.MountPoint": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.PortMapping": { - "additionalProperties": false, - "properties": { - "ContainerPort": { - "type": "number" - }, - "HostPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ProxyConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RepositoryCredentials": { - "additionalProperties": false, - "properties": { - "CredentialsParameter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RuntimePlatform": { - "additionalProperties": false, - "properties": { - "CpuArchitecture": { - "type": "string" - }, - "OperatingSystemFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.SystemControl": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "Size" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Volume": { - "additionalProperties": false, - "properties": { - "DockerVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.DockerVolumeConfiguration" - }, - "EFSVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EFSVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostVolumeProperties" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.VolumeFrom": { - "additionalProperties": false, - "properties": { - "ReadOnly": { - "type": "boolean" - }, - "SourceContainer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.NetworkConfiguration" - }, - "PlatformVersion": { - "type": "string" - }, - "Scale": { - "$ref": "#/definitions/AWS::ECS::TaskSet.Scale" - }, - "Service": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.ServiceRegistry" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.Scale": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPointTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.AccessPointTag" - }, - "type": "array" - }, - "ClientToken": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "PosixUser": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.PosixUser" - }, - "RootDirectory": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.RootDirectory" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.AccessPointTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint.CreationInfo": { - "additionalProperties": false, - "properties": { - "OwnerGid": { - "type": "string" - }, - "OwnerUid": { - "type": "string" - }, - "Permissions": { - "type": "string" - } - }, - "required": [ - "OwnerGid", - "OwnerUid", - "Permissions" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.PosixUser": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "string" - }, - "SecondaryGids": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Uid": { - "type": "string" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.RootDirectory": { - "additionalProperties": false, - "properties": { - "CreationInfo": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.CreationInfo" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneName": { - "type": "string" - }, - "BackupPolicy": { - "$ref": "#/definitions/AWS::EFS::FileSystem.BackupPolicy" - }, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "FileSystemPolicy": { - "type": "object" - }, - "FileSystemTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.ElasticFileSystemTag" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecyclePolicies": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.LifecyclePolicy" - }, - "type": "array" - }, - "PerformanceMode": { - "type": "string" - }, - "ProvisionedThroughputInMibps": { - "type": "number" - }, - "ThroughputMode": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.BackupPolicy": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.ElasticFileSystemTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "TransitionToIA": { - "type": "string" - }, - "TransitionToPrimaryStorageClass": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::MountTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "type": "string" - }, - "IpAddress": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FileSystemId", - "SecurityGroups", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::MountTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Addon": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddonName": { - "type": "string" - }, - "AddonVersion": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "ResolveConflicts": { - "type": "string" - }, - "ServiceAccountRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddonName", - "ClusterName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Addon" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfig": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" - }, - "type": "array" - }, - "KubernetesNetworkConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" - }, - "Logging": { - "$ref": "#/definitions/AWS::EKS::Cluster.Logging" - }, - "Name": { - "type": "string" - }, - "ResourcesVpcConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ResourcesVpcConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster.ClusterLogging": { - "additionalProperties": false, - "properties": { - "EnabledTypes": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.EncryptionConfig": { - "additionalProperties": false, - "properties": { - "Provider": { - "type": "object" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.KubernetesNetworkConfig": { - "additionalProperties": false, - "properties": { - "IpFamily": { - "type": "string" - }, - "ServiceIpv4Cidr": { - "type": "string" - }, - "ServiceIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.Logging": { - "additionalProperties": false, - "properties": { - "ClusterLogging": { - "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.LoggingTypeConfig": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.ResourcesVpcConfig": { - "additionalProperties": false, - "properties": { - "EndpointPrivateAccess": { - "type": "boolean" - }, - "EndpointPublicAccess": { - "type": "boolean" - }, - "PublicAccessCidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SubnetIds" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "FargateProfileName": { - "type": "string" - }, - "PodExecutionRoleArn": { - "type": "string" - }, - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ClusterName", - "PodExecutionRoleArn", - "Selectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::FargateProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Label": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Selector": { - "additionalProperties": false, - "properties": { - "Labels": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" - }, - "type": "array" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmiType": { - "type": "string" - }, - "CapacityType": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "DiskSize": { - "type": "number" - }, - "ForceUpdateEnabled": { - "type": "boolean" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Labels": { - "type": "object" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" - }, - "NodeRole": { - "type": "string" - }, - "NodegroupName": { - "type": "string" - }, - "ReleaseVersion": { - "type": "string" - }, - "RemoteAccess": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" - }, - "ScalingConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Taints": { - "items": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" - }, - "type": "array" - }, - "UpdateConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "NodeRole", - "Subnets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Nodegroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.RemoteAccess": { - "additionalProperties": false, - "properties": { - "Ec2SshKey": { - "type": "string" - }, - "SourceSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Ec2SshKey" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.ScalingConfig": { - "additionalProperties": false, - "properties": { - "DesiredSize": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.Taint": { - "additionalProperties": false, - "properties": { - "Effect": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.UpdateConfig": { - "additionalProperties": false, - "properties": { - "MaxUnavailable": { - "type": "number" - }, - "MaxUnavailablePercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "object" - }, - "Applications": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Application" - }, - "type": "array" - }, - "AutoScalingRole": { - "type": "string" - }, - "BootstrapActions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.BootstrapActionConfig" - }, - "type": "array" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsRootVolumeSize": { - "type": "number" - }, - "Instances": { - "$ref": "#/definitions/AWS::EMR::Cluster.JobFlowInstancesConfig" - }, - "JobFlowRole": { - "type": "string" - }, - "KerberosAttributes": { - "$ref": "#/definitions/AWS::EMR::Cluster.KerberosAttributes" - }, - "LogEncryptionKmsKeyId": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "ManagedScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.ManagedScalingPolicy" - }, - "Name": { - "type": "string" - }, - "ReleaseLabel": { - "type": "string" - }, - "ScaleDownBehavior": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "StepConcurrencyLevel": { - "type": "number" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - }, - "required": [ - "Instances", - "JobFlowRole", - "Name", - "ServiceRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Application": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::Cluster.BootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ScriptBootstrapAction": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScriptBootstrapActionConfig" - } - }, - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "type": "object" - }, - "AWS::EMR::Cluster.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ComputeLimits": { - "additionalProperties": false, - "properties": { - "MaximumCapacityUnits": { - "type": "number" - }, - "MaximumCoreCapacityUnits": { - "type": "number" - }, - "MaximumOnDemandCapacityUnits": { - "type": "number" - }, - "MinimumCapacityUnits": { - "type": "number" - }, - "UnitType": { - "type": "string" - } - }, - "required": [ - "MaximumCapacityUnits", - "MinimumCapacityUnits", - "UnitType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::Cluster.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.JobFlowInstancesConfig": { - "additionalProperties": false, - "properties": { - "AdditionalMasterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSlaveSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CoreInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "CoreInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Ec2KeyName": { - "type": "string" - }, - "Ec2SubnetId": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmrManagedMasterSecurityGroup": { - "type": "string" - }, - "EmrManagedSlaveSecurityGroup": { - "type": "string" - }, - "HadoopVersion": { - "type": "string" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "MasterInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "MasterInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Placement": { - "$ref": "#/definitions/AWS::EMR::Cluster.PlacementType" - }, - "ServiceAccessSecurityGroup": { - "type": "string" - }, - "TerminationProtected": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.KerberosAttributes": { - "additionalProperties": false, - "properties": { - "ADDomainJoinPassword": { - "type": "string" - }, - "ADDomainJoinUser": { - "type": "string" - }, - "CrossRealmTrustPrincipalPassword": { - "type": "string" - }, - "KdcAdminPassword": { - "type": "string" - }, - "Realm": { - "type": "string" - } - }, - "required": [ - "KdcAdminPassword", - "Realm" - ], - "type": "object" - }, - "AWS::EMR::Cluster.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.ManagedScalingPolicy": { - "additionalProperties": false, - "properties": { - "ComputeLimits": { - "$ref": "#/definitions/AWS::EMR::Cluster.ComputeLimits" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::Cluster.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::Cluster.PlacementType": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::Cluster.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScriptBootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::Cluster.StepConfig": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Cluster.HadoopJarStepConfig" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "HadoopJarStep", - "Name" - ], - "type": "object" - }, - "AWS::EMR::Cluster.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "InstanceFleetType": { - "type": "string" - }, - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "required": [ - "ClusterId", - "InstanceFleetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceFleetConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobFlowId": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceRole", - "InstanceType", - "JobFlowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceGroupConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "object" - } - }, - "required": [ - "SecurityConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Step.HadoopJarStepConfig" - }, - "JobFlowId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ActionOnFailure", - "HadoopJarStep", - "JobFlowId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Step" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Step.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Step.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthMode": { - "type": "string" - }, - "DefaultS3Location": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineSecurityGroupId": { - "type": "string" - }, - "IdpAuthUrl": { - "type": "string" - }, - "IdpRelayStateParameterName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserRole": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "WorkspaceSecurityGroupId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultS3Location", - "EngineSecurityGroupId", - "Name", - "ServiceRole", - "SubnetIds", - "VpcId", - "WorkspaceSecurityGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::StudioSessionMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - }, - "IdentityType": { - "type": "string" - }, - "SessionPolicyArn": { - "type": "string" - }, - "StudioId": { - "type": "string" - } - }, - "required": [ - "IdentityName", - "IdentityType", - "SessionPolicyArn", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::StudioSessionMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerProvider": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerProvider", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMRContainers::VirtualCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Info": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerInfo" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Id", - "Info", - "Type" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AZMode": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheNodes": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredAvailabilityZone": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CacheNodeType", - "Engine", - "NumCacheNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::CacheCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalNodeGroupCount": { - "type": "number" - }, - "GlobalReplicationGroupDescription": { - "type": "string" - }, - "GlobalReplicationGroupIdSuffix": { - "type": "string" - }, - "Members": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember" - }, - "type": "array" - }, - "RegionalConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Members" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::GlobalReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "Role": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "ReshardingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheParameterGroupFamily": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Properties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CacheParameterGroupFamily", - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "AuthToken": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "DataTieringEnabled": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalReplicationGroupId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "MultiAZEnabled": { - "type": "boolean" - }, - "NodeGroupConfiguration": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheClusters": { - "type": "number" - }, - "NumNodeGroups": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredCacheClusterAZs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PrimaryClusterId": { - "type": "string" - }, - "ReplicasPerNodeGroup": { - "type": "number" - }, - "ReplicationGroupDescription": { - "type": "string" - }, - "ReplicationGroupId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnapshottingClusterId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "UserGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ReplicationGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PrimaryAvailabilityZone": { - "type": "string" - }, - "ReplicaAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ReplicaCount": { - "type": "number" - }, - "Slots": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSubnetGroupName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "NoPasswordRequired": { - "type": "boolean" - }, - "Passwords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserId": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Engine", - "UserId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::UserGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Engine": { - "type": "string" - }, - "UserGroupId": { - "type": "string" - }, - "UserIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine", - "UserGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::UserGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ResourceLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "ServiceRole": { - "type": "string" - }, - "VersionLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig": { - "additionalProperties": false, - "properties": { - "MaxAgeRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxAgeRule" - }, - "MaxCountRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxCountRule" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxAgeRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxAgeInDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxCountRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SourceBundle": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle" - } - }, - "required": [ - "ApplicationName", - "SourceBundle" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentId": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ConfigurationTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ApplicationName", - "TemplateName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CNAMEPrefix": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentName": { - "type": "string" - }, - "OperationsRole": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.OptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateName": { - "type": "string" - }, - "Tier": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.Tier" - }, - "VersionLabel": { - "type": "string" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.OptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.Tier": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" - }, - "AppCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionDrainingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" - }, - "ConnectionSettings": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" - }, - "CrossZone": { - "type": "boolean" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" - }, - "Instances": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LBCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" - }, - "type": "array" - }, - "LoadBalancerName": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" - }, - "type": "array" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancing::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { - "additionalProperties": false, - "properties": { - "EmitInterval": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3BucketPrefix": { - "type": "string" - } - }, - "required": [ - "Enabled", - "S3BucketName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieName": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "CookieName", - "PolicyName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { - "additionalProperties": false, - "properties": { - "IdleTimeout": { - "type": "number" - } - }, - "required": [ - "IdleTimeout" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "string" - }, - "Interval": { - "type": "string" - }, - "Target": { - "type": "string" - }, - "Timeout": { - "type": "string" - }, - "UnhealthyThreshold": { - "type": "string" - } - }, - "required": [ - "HealthyThreshold", - "Interval", - "Target", - "Timeout", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieExpirationPeriod": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "string" - }, - "InstanceProtocol": { - "type": "string" - }, - "LoadBalancerPort": { - "type": "string" - }, - "PolicyNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SSLCertificateId": { - "type": "string" - } - }, - "required": [ - "InstancePort", - "LoadBalancerPort", - "Protocol" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "object" - }, - "type": "array" - }, - "InstancePorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoadBalancerPorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - } - }, - "required": [ - "Attributes", - "PolicyName", - "PolicyType" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlpnPolicy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" - }, - "type": "array" - }, - "DefaultActions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" - }, - "type": "array" - }, - "LoadBalancerArn": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "SslPolicy": { - "type": "string" - } - }, - "required": [ - "DefaultActions", - "LoadBalancerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "TokenEndpoint": { - "type": "string" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - } - }, - "required": [ - "Certificates", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" - }, - "type": "array" - }, - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Actions", - "Conditions", - "ListenerArn", - "Priority" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "TokenEndpoint": { - "type": "string" - }, - "UseExistingClientSecret": { - "type": "boolean" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { - "additionalProperties": false, - "properties": { - "HttpHeaderName": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "HostHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" - }, - "HttpHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" - }, - "HttpRequestMethodConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" - }, - "PathPatternConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" - }, - "QueryStringConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" - }, - "SourceIpConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IpAddressType": { - "type": "string" - }, - "LoadBalancerAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "IPv6Address": { - "type": "string" - }, - "PrivateIPv4Address": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckEnabled": { - "type": "boolean" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "string" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "HealthCheckTimeoutSeconds": { - "type": "number" - }, - "HealthyThresholdCount": { - "type": "number" - }, - "IpAddressType": { - "type": "string" - }, - "Matcher": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "ProtocolVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetGroupAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" - }, - "type": "array" - }, - "UnhealthyThresholdCount": { - "type": "number" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::TargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { - "additionalProperties": false, - "properties": { - "GrpcCode": { - "type": "string" - }, - "HttpCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EBSOptions" - }, - "ElasticsearchClusterConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ElasticsearchClusterConfig" - }, - "ElasticsearchVersion": { - "type": "string" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EncryptionAtRestOptions" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Elasticsearch::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ColdStorageOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ElasticsearchClusterConfig": { - "additionalProperties": false, - "properties": { - "ColdStorageOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ColdStorageOptions" - }, - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EventSchemas::Discoverer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CrossAccount": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Discoverer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Discoverer.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Registry.TagsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Policy": { - "type": "object" - }, - "RegistryName": { - "type": "string" - }, - "RevisionId": { - "type": "string" - } - }, - "required": [ - "Policy", - "RegistryName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "SchemaName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Schema.TagsEntry" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Content", - "RegistryName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Events::ApiDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HttpMethod": { - "type": "string" - }, - "InvocationEndpoint": { - "type": "string" - }, - "InvocationRateLimitPerSecond": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ConnectionArn", - "HttpMethod", - "InvocationEndpoint" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::ApiDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Archive": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArchiveName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "RetentionDays": { - "type": "number" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Archive" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthParameters": { - "type": "object" - }, - "AuthorizationType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "AuthParameters", - "AuthorizationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBus": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EventSourceName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBus" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Condition": { - "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" - }, - "EventBusName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "Statement": { - "type": "object" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBusPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy.Condition": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventBusName": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Events::Rule.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchArrayProperties": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.BatchParameters": { - "additionalProperties": false, - "properties": { - "ArrayProperties": { - "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" - }, - "JobDefinition": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" - } - }, - "required": [ - "JobDefinition", - "JobName" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchRetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::Events::Rule.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.EcsParameters": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "Group": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "ReferenceId": { - "type": "string" - }, - "TagList": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskCount": { - "type": "number" - }, - "TaskDefinitionArn": { - "type": "string" - } - }, - "required": [ - "TaskDefinitionArn" - ], - "type": "object" - }, - "AWS::Events::Rule.HttpParameters": { - "additionalProperties": false, - "properties": { - "HeaderParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "PathParameterValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QueryStringParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Events::Rule.InputTransformer": { - "additionalProperties": false, - "properties": { - "InputPathsMap": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "InputTemplate": { - "type": "string" - } - }, - "required": [ - "InputTemplate" - ], - "type": "object" - }, - "AWS::Events::Rule.KinesisParameters": { - "additionalProperties": false, - "properties": { - "PartitionKeyPath": { - "type": "string" - } - }, - "required": [ - "PartitionKeyPath" - ], - "type": "object" - }, - "AWS::Events::Rule.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RedshiftDataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "Sql": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WithEvent": { - "type": "boolean" - } - }, - "required": [ - "Database", - "Sql" - ], - "type": "object" - }, - "AWS::Events::Rule.RetryPolicy": { - "additionalProperties": false, - "properties": { - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RunCommandParameters": { - "additionalProperties": false, - "properties": { - "RunCommandTargets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" - }, - "type": "array" - } - }, - "required": [ - "RunCommandTargets" - ], - "type": "object" - }, - "AWS::Events::Rule.RunCommandTarget": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::Events::Rule.SqsParameters": { - "additionalProperties": false, - "properties": { - "MessageGroupId": { - "type": "string" - } - }, - "required": [ - "MessageGroupId" - ], - "type": "object" - }, - "AWS::Events::Rule.Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.Target": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "BatchParameters": { - "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" - }, - "EcsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" - }, - "HttpParameters": { - "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" - }, - "Id": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "InputTransformer": { - "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" - }, - "KinesisParameters": { - "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" - }, - "RedshiftDataParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" - }, - "RoleArn": { - "type": "string" - }, - "RunCommandParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" - }, - "SqsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" - } - }, - "required": [ - "Arn", - "Id" - ], - "type": "object" - }, - "AWS::Evidently::Experiment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MetricGoals": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.MetricGoalObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OnlineAbConfig": { - "$ref": "#/definitions/AWS::Evidently::Experiment.OnlineAbConfigObject" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "SamplingRate": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Treatments": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentObject" - }, - "type": "array" - } - }, - "required": [ - "MetricGoals", - "Name", - "OnlineAbConfig", - "Project", - "Treatments" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Experiment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.MetricGoalObject": { - "additionalProperties": false, - "properties": { - "DesiredChange": { - "type": "string" - }, - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "DesiredChange", - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.OnlineAbConfigObject": { - "additionalProperties": false, - "properties": { - "ControlTreatmentName": { - "type": "string" - }, - "TreatmentWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentToWeight" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "TreatmentName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentToWeight": { - "additionalProperties": false, - "properties": { - "SplitWeight": { - "type": "number" - }, - "Treatment": { - "type": "string" - } - }, - "required": [ - "SplitWeight", - "Treatment" - ], - "type": "object" - }, - "AWS::Evidently::Feature": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultVariation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityOverrides": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.EntityOverride" - }, - "type": "array" - }, - "EvaluationStrategy": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Variations": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.VariationObject" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Project", - "Variations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Feature" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Feature.EntityOverride": { - "additionalProperties": false, - "properties": { - "EntityId": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Feature.VariationObject": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "boolean" - }, - "DoubleValue": { - "type": "number" - }, - "LongValue": { - "type": "number" - }, - "StringValue": { - "type": "string" - }, - "VariationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Launch": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.LaunchGroupObject" - }, - "type": "array" - }, - "MetricMonitors": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.MetricDefinitionObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "ScheduledSplitsConfig": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Groups", - "Name", - "Project", - "ScheduledSplitsConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Launch" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Launch.GroupToWeight": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "SplitWeight": { - "type": "number" - } - }, - "required": [ - "GroupName", - "SplitWeight" - ], - "type": "object" - }, - "AWS::Evidently::Launch.LaunchGroupObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "GroupName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Launch.MetricDefinitionObject": { - "additionalProperties": false, - "properties": { - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Launch.StepConfig": { - "additionalProperties": false, - "properties": { - "GroupWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" - }, - "type": "array" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "GroupWeights", - "StartTime" - ], - "type": "object" - }, - "AWS::Evidently::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelivery": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Project.DataDeliveryObject": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - }, - "S3": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Evidently::Project.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateAction" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StopConditions": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Targets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget" - } - }, - "type": "object" - } - }, - "required": [ - "Description", - "RoleArn", - "StopConditions", - "Tags", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FIS::ExperimentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateAction": { - "additionalProperties": false, - "properties": { - "ActionId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "StartAfter": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "ActionId" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "SelectionMode": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "SelectionMode" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Path", - "Values" - ], - "type": "object" - }, - "AWS::FMS::NotificationChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SnsRoleName": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "SnsRoleName", - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::NotificationChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteAllPolicyResources": { - "type": "boolean" - }, - "ExcludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "ExcludeResourceTags": { - "type": "boolean" - }, - "IncludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "PolicyName": { - "type": "string" - }, - "RemediationEnabled": { - "type": "boolean" - }, - "ResourceTags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.ResourceTag" - }, - "type": "array" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourcesCleanUp": { - "type": "boolean" - }, - "SecurityServicePolicyData": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.PolicyTag" - }, - "type": "array" - } - }, - "required": [ - "ExcludeResourceTags", - "PolicyName", - "RemediationEnabled", - "ResourceType", - "SecurityServicePolicyData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy.IEMap": { - "additionalProperties": false, - "properties": { - "ACCOUNT": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ORGUNIT": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FMS::Policy.PolicyTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::FMS::Policy.ResourceTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::FSx::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BackupId": { - "type": "string" - }, - "FileSystemType": { - "type": "string" - }, - "FileSystemTypeVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LustreConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.LustreConfiguration" - }, - "OntapConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OntapConfiguration" - }, - "OpenZFSConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OpenZFSConfiguration" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageCapacity": { - "type": "number" - }, - "StorageType": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WindowsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.WindowsConfiguration" - } - }, - "required": [ - "FileSystemType", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FSx::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.AuditLogConfiguration": { - "additionalProperties": false, - "properties": { - "AuditLogDestination": { - "type": "string" - }, - "FileAccessAuditLogLevel": { - "type": "string" - }, - "FileShareAccessAuditLogLevel": { - "type": "string" - } - }, - "required": [ - "FileAccessAuditLogLevel", - "FileShareAccessAuditLogLevel" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.ClientConfigurations": { - "additionalProperties": false, - "properties": { - "Clients": { - "type": "string" - }, - "Options": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.DiskIopsConfiguration": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.LustreConfiguration": { - "additionalProperties": false, - "properties": { - "AutoImportPolicy": { - "type": "string" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DataCompressionType": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DriveCacheType": { - "type": "string" - }, - "ExportPath": { - "type": "string" - }, - "ImportPath": { - "type": "string" - }, - "ImportedFileChunkSize": { - "type": "number" - }, - "PerUnitStorageThroughput": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.NfsExports": { - "additionalProperties": false, - "properties": { - "ClientConfigurations": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.ClientConfigurations" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.OntapConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "EndpointIpAddressRange": { - "type": "string" - }, - "FsxAdminPassword": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.OpenZFSConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "CopyTagsToVolumes": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "RootVolumeConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.RootVolumeConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.RootVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "CopyTagsToSnapshots": { - "type": "boolean" - }, - "DataCompressionType": { - "type": "string" - }, - "NfsExports": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.NfsExports" - }, - "type": "array" - }, - "ReadOnly": { - "type": "boolean" - }, - "UserAndGroupQuotas": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.UserAndGroupQuotas" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "DnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainName": { - "type": "string" - }, - "FileSystemAdministratorsGroup": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.UserAndGroupQuotas": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "number" - }, - "StorageCapacityQuotaGiB": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.WindowsConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryId": { - "type": "string" - }, - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuditLogConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.AuditLogConfiguration" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "SelfManagedActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "ThroughputCapacity" - ], - "type": "object" - }, - "AWS::FinSpace::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataBundles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "FederationMode": { - "type": "string" - }, - "FederationParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.FederationParameters" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SuperuserParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.SuperuserParameters" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FinSpace::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FinSpace::Environment.FederationParameters": { - "additionalProperties": false, - "properties": { - "ApplicationCallBackURL": { - "type": "string" - }, - "AttributeMap": { - "type": "object" - }, - "FederationProviderName": { - "type": "string" - }, - "FederationURN": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "SamlMetadataURL": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FinSpace::Environment.SuperuserParameters": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": "string" - }, - "FirstName": { - "type": "string" - }, - "LastName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedModels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Model" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "DetectorVersionStatus": { - "type": "string" - }, - "EventType": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventType" - }, - "RuleExecutionMode": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Rule" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorId", - "EventType", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Detector.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventVariable" - }, - "type": "array" - }, - "Inline": { - "type": "boolean" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Label" - }, - "type": "array" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Model": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Outcome": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Rule": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Language": { - "type": "string" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Outcomes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Outcome" - }, - "type": "array" - }, - "RuleId": { - "type": "string" - }, - "RuleVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EntityType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EntityType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EventVariable" - }, - "type": "array" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.Label" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes", - "EventVariables", - "Labels", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EventType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Label": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Label" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Outcome": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Outcome" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Variable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "required": [ - "DataSource", - "DataType", - "DefaultValue", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Variable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoutingStrategy": { - "$ref": "#/definitions/AWS::GameLift::Alias.RoutingStrategy" - } - }, - "required": [ - "Name", - "RoutingStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias.RoutingStrategy": { - "additionalProperties": false, - "properties": { - "FleetId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Build.S3Location" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Build" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GameLift::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BuildId": { - "type": "string" - }, - "CertificateConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.CertificateConfiguration" - }, - "Description": { - "type": "string" - }, - "DesiredEC2Instances": { - "type": "number" - }, - "EC2InboundPermissions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.IpPermission" - }, - "type": "array" - }, - "EC2InstanceType": { - "type": "string" - }, - "FleetType": { - "type": "string" - }, - "InstanceRoleARN": { - "type": "string" - }, - "Locations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationConfiguration" - }, - "type": "array" - }, - "MaxSize": { - "type": "number" - }, - "MetricGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MinSize": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NewGameSessionProtectionPolicy": { - "type": "string" - }, - "PeerVpcAwsAccountId": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "ResourceCreationLimitPolicy": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ResourceCreationLimitPolicy" - }, - "RuntimeConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.RuntimeConfiguration" - }, - "ScriptId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.CertificateConfiguration": { - "additionalProperties": false, - "properties": { - "CertificateType": { - "type": "string" - } - }, - "required": [ - "CertificateType" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.IpPermission": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "IpRange": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "IpRange", - "Protocol", - "ToPort" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationCapacity": { - "additionalProperties": false, - "properties": { - "DesiredEC2Instances": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "required": [ - "DesiredEC2Instances", - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationConfiguration": { - "additionalProperties": false, - "properties": { - "Location": { - "type": "string" - }, - "LocationCapacity": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationCapacity" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.ResourceCreationLimitPolicy": { - "additionalProperties": false, - "properties": { - "NewGameSessionsPerCreator": { - "type": "number" - }, - "PolicyPeriodInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.RuntimeConfiguration": { - "additionalProperties": false, - "properties": { - "GameSessionActivationTimeoutSeconds": { - "type": "number" - }, - "MaxConcurrentGameSessionActivations": { - "type": "number" - }, - "ServerProcesses": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ServerProcess" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.ServerProcess": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutions": { - "type": "number" - }, - "LaunchPath": { - "type": "string" - }, - "Parameters": { - "type": "string" - } - }, - "required": [ - "ConcurrentExecutions", - "LaunchPath" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.AutoScalingPolicy" - }, - "BalancingStrategy": { - "type": "string" - }, - "DeleteOption": { - "type": "string" - }, - "GameServerGroupName": { - "type": "string" - }, - "GameServerProtectionPolicy": { - "type": "string" - }, - "InstanceDefinitions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.InstanceDefinition" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.LaunchTemplate" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSubnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GameServerGroupName", - "InstanceDefinitions", - "LaunchTemplate", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameServerGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "EstimatedInstanceWarmup": { - "type": "number" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.TargetTrackingConfiguration" - } - }, - "required": [ - "TargetTrackingConfiguration" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.InstanceDefinition": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameServerGroup.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomEventData": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.Destination" - }, - "type": "array" - }, - "FilterConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.FilterConfiguration" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "PlayerLatencyPolicies": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy" - }, - "type": "array" - }, - "PriorityConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PriorityConfiguration" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameSessionQueue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.Destination": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.FilterConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedLocations": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy": { - "additionalProperties": false, - "properties": { - "MaximumIndividualPlayerLatencyMilliseconds": { - "type": "number" - }, - "PolicyDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PriorityConfiguration": { - "additionalProperties": false, - "properties": { - "LocationOrder": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PriorityOrder": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "AcceptanceTimeoutSeconds": { - "type": "number" - }, - "AdditionalPlayerCount": { - "type": "number" - }, - "BackfillMode": { - "type": "string" - }, - "CustomEventData": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FlexMatchMode": { - "type": "string" - }, - "GameProperties": { - "items": { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration.GameProperty" - }, - "type": "array" - }, - "GameSessionData": { - "type": "string" - }, - "GameSessionQueueArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "RequestTimeoutSeconds": { - "type": "number" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "AcceptanceRequired", - "Name", - "RequestTimeoutSeconds", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration.GameProperty": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RuleSetBody": { - "type": "string" - } - }, - "required": [ - "Name", - "RuleSetBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Script.S3Location" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "StorageLocation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Script" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Accelerator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IpAddressType": { - "type": "string" - }, - "IpAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Accelerator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointConfigurations": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration" - }, - "type": "array" - }, - "EndpointGroupRegion": { - "type": "string" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "number" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "ListenerArn": { - "type": "string" - }, - "PortOverrides": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.PortOverride" - }, - "type": "array" - }, - "ThresholdCount": { - "type": "number" - }, - "TrafficDialPercentage": { - "type": "number" - } - }, - "required": [ - "EndpointGroupRegion", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::EndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "ClientIPPreservationEnabled": { - "type": "boolean" - }, - "EndpointId": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "EndpointId" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.PortOverride": { - "additionalProperties": false, - "properties": { - "EndpointPort": { - "type": "number" - }, - "ListenerPort": { - "type": "number" - } - }, - "required": [ - "EndpointPort", - "ListenerPort" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorArn": { - "type": "string" - }, - "ClientAffinity": { - "type": "string" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "AcceleratorArn", - "PortRanges", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::Glue::Classifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsvClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.CsvClassifier" - }, - "GrokClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.GrokClassifier" - }, - "JsonClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.JsonClassifier" - }, - "XMLClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.XMLClassifier" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Classifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Glue::Classifier.CsvClassifier": { - "additionalProperties": false, - "properties": { - "AllowSingleColumn": { - "type": "boolean" - }, - "ContainsHeader": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "DisableValueTrimming": { - "type": "boolean" - }, - "Header": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Classifier.GrokClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "CustomPatterns": { - "type": "string" - }, - "GrokPattern": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Classification", - "GrokPattern" - ], - "type": "object" - }, - "AWS::Glue::Classifier.JsonClassifier": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::Glue::Classifier.XMLClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RowTag": { - "type": "string" - } - }, - "required": [ - "Classification", - "RowTag" - ], - "type": "object" - }, - "AWS::Glue::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionInput": { - "$ref": "#/definitions/AWS::Glue::Connection.ConnectionInput" - } - }, - "required": [ - "CatalogId", - "ConnectionInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Connection.ConnectionInput": { - "additionalProperties": false, - "properties": { - "ConnectionProperties": { - "type": "object" - }, - "ConnectionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MatchCriteria": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PhysicalConnectionRequirements": { - "$ref": "#/definitions/AWS::Glue::Connection.PhysicalConnectionRequirements" - } - }, - "required": [ - "ConnectionType" - ], - "type": "object" - }, - "AWS::Glue::Connection.PhysicalConnectionRequirements": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Classifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Configuration": { - "type": "string" - }, - "CrawlerSecurityConfiguration": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecrawlPolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.RecrawlPolicy" - }, - "Role": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Glue::Crawler.Schedule" - }, - "SchemaChangePolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.SchemaChangePolicy" - }, - "TablePrefix": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Targets": { - "$ref": "#/definitions/AWS::Glue::Crawler.Targets" - } - }, - "required": [ - "Role", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Crawler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Crawler.CatalogTarget": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "Tables": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.DynamoDBTarget": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.JdbcTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.RecrawlPolicy": { - "additionalProperties": false, - "properties": { - "RecrawlBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.S3Target": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.SchemaChangePolicy": { - "additionalProperties": false, - "properties": { - "DeleteBehavior": { - "type": "string" - }, - "UpdateBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Targets": { - "additionalProperties": false, - "properties": { - "CatalogTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.CatalogTarget" - }, - "type": "array" - }, - "DynamoDBTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.DynamoDBTarget" - }, - "type": "array" - }, - "JdbcTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.JdbcTarget" - }, - "type": "array" - }, - "S3Targets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.S3Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DataCatalogEncryptionSettings": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings" - } - }, - "required": [ - "CatalogId", - "DataCatalogEncryptionSettings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DataCatalogEncryptionSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "ReturnConnectionPasswordEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "ConnectionPasswordEncryption": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption" - }, - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "CatalogEncryptionMode": { - "type": "string" - }, - "SseAwsKmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseInput": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseInput" - } - }, - "required": [ - "CatalogId", - "DatabaseInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Database.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseInput": { - "additionalProperties": false, - "properties": { - "CreateTableDefaultPermissions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Database.PrincipalPrivileges" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "TargetDatabase": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseIdentifier" - } - }, - "type": "object" - }, - "AWS::Glue::Database.PrincipalPrivileges": { - "additionalProperties": false, - "properties": { - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "$ref": "#/definitions/AWS::Glue::Database.DataLakePrincipal" - } - }, - "type": "object" - }, - "AWS::Glue::DevEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "EndpointName": { - "type": "string" - }, - "ExtraJarsS3Path": { - "type": "string" - }, - "ExtraPythonLibsS3Path": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "NumberOfWorkers": { - "type": "number" - }, - "PublicKey": { - "type": "string" - }, - "PublicKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DevEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/AWS::Glue::Job.JobCommand" - }, - "Connections": { - "$ref": "#/definitions/AWS::Glue::Job.ConnectionsList" - }, - "DefaultArguments": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/AWS::Glue::Job.ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Job.NotificationProperty" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "Command", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Job" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job.ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Job.ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Job.JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Job.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "InputRecordTables": { - "$ref": "#/definitions/AWS::Glue::MLTransform.InputRecordTables" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "TransformEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformEncryption" - }, - "TransformParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformParameters" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "InputRecordTables", - "Role", - "TransformParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::MLTransform" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.FindMatchesParameters": { - "additionalProperties": false, - "properties": { - "AccuracyCostTradeoff": { - "type": "number" - }, - "EnforceProvidedLabels": { - "type": "boolean" - }, - "PrecisionRecallTradeoff": { - "type": "number" - }, - "PrimaryKeyColumnName": { - "type": "string" - } - }, - "required": [ - "PrimaryKeyColumnName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.GlueTables": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.InputRecordTables": { - "additionalProperties": false, - "properties": { - "GlueTables": { - "items": { - "$ref": "#/definitions/AWS::Glue::MLTransform.GlueTables" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.MLUserDataEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MLUserDataEncryptionMode": { - "type": "string" - } - }, - "required": [ - "MLUserDataEncryptionMode" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.TransformEncryption": { - "additionalProperties": false, - "properties": { - "MLUserDataEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.MLUserDataEncryption" - }, - "TaskRunSecurityConfigurationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.TransformParameters": { - "additionalProperties": false, - "properties": { - "FindMatchesParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.FindMatchesParameters" - }, - "TransformType": { - "type": "string" - } - }, - "required": [ - "TransformType" - ], - "type": "object" - }, - "AWS::Glue::Partition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "PartitionInput": { - "$ref": "#/definitions/AWS::Glue::Partition.PartitionInput" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "PartitionInput", - "TableName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Partition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Partition.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Partition.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Glue::Partition.PartitionInput": { - "additionalProperties": false, - "properties": { - "Parameters": { - "type": "object" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Partition.StorageDescriptor" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Values" - ], - "type": "object" - }, - "AWS::Glue::Partition.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CheckpointVersion": { - "$ref": "#/definitions/AWS::Glue::Schema.SchemaVersion" - }, - "Compatibility": { - "type": "string" - }, - "DataFormat": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Registry": { - "$ref": "#/definitions/AWS::Glue::Schema.Registry" - }, - "SchemaDefinition": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Compatibility", - "DataFormat", - "Name", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema.Registry": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Schema.SchemaVersion": { - "additionalProperties": false, - "properties": { - "IsLatest": { - "type": "boolean" - }, - "VersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Schema": { - "$ref": "#/definitions/AWS::Glue::SchemaVersion.Schema" - }, - "SchemaDefinition": { - "type": "string" - } - }, - "required": [ - "Schema", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SchemaVersion.Schema": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersionMetadata": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "SchemaVersionId": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "SchemaVersionId", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersionMetadata" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.EncryptionConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "EncryptionConfiguration", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.CloudWatchEncryption": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.CloudWatchEncryption" - }, - "JobBookmarksEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.JobBookmarksEncryption" - }, - "S3Encryptions": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.S3Encryptions" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.JobBookmarksEncryption": { - "additionalProperties": false, - "properties": { - "JobBookmarksEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryption": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "S3EncryptionMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryptions": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Glue::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableInput": { - "$ref": "#/definitions/AWS::Glue::Table.TableInput" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "TableInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Table.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Table.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column", - "SortOrder" - ], - "type": "object" - }, - "AWS::Glue::Table.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Table.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableInput": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "PartitionKeys": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Retention": { - "type": "number" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Table.StorageDescriptor" - }, - "TableType": { - "type": "string" - }, - "TargetTable": { - "$ref": "#/definitions/AWS::Glue::Table.TableIdentifier" - }, - "ViewExpandedText": { - "type": "string" - }, - "ViewOriginalText": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Action" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::Glue::Trigger.Predicate" - }, - "Schedule": { - "type": "string" - }, - "StartOnCreation": { - "type": "boolean" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "WorkflowName": { - "type": "string" - } - }, - "required": [ - "Actions", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Trigger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Trigger.Action": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Trigger.NotificationProperty" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Condition": { - "additionalProperties": false, - "properties": { - "CrawlState": { - "type": "string" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "LogicalOperator": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Predicate": { - "additionalProperties": false, - "properties": { - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Condition" - }, - "type": "array" - }, - "Logical": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultRunProperties": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.Connector" - }, - "type": "array" - } - }, - "required": [ - "Connectors" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionId": { - "type": "string" - }, - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion.Connector" - }, - "type": "array" - } - }, - "required": [ - "ConnectorDefinitionId", - "Connectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.CoreDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.Core" - }, - "type": "array" - } - }, - "required": [ - "Cores" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CoreDefinitionId": { - "type": "string" - }, - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion.Core" - }, - "type": "array" - } - }, - "required": [ - "CoreDefinitionId", - "Cores" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.Device" - }, - "type": "array" - } - }, - "required": [ - "Devices" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceDefinitionId": { - "type": "string" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion.Device" - }, - "type": "array" - } - }, - "required": [ - "DeviceDefinitionId", - "Devices" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.DefaultConfig" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Function" - }, - "type": "array" - } - }, - "required": [ - "Functions" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig" - }, - "FunctionDefinitionId": { - "type": "string" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Function" - }, - "type": "array" - } - }, - "required": [ - "FunctionDefinitionId", - "Functions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::Group.GroupVersion" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::Group.GroupVersion": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Greengrass::GroupVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::GroupVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.Logger" - }, - "type": "array" - } - }, - "required": [ - "Loggers" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoggerDefinitionId": { - "type": "string" - }, - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion.Logger" - }, - "type": "array" - } - }, - "required": [ - "LoggerDefinitionId", - "Loggers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "Resources" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceDefinitionId": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "ResourceDefinitionId", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.Subscription" - }, - "type": "array" - } - }, - "required": [ - "Subscriptions" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubscriptionDefinitionId": { - "type": "string" - }, - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion.Subscription" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionDefinitionId", - "Subscriptions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InlineRecipe": { - "type": "string" - }, - "LambdaFunction": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GreengrassV2::ComponentVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement": { - "additionalProperties": false, - "properties": { - "DependencyType": { - "type": "string" - }, - "VersionRequirement": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentPlatform": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaContainerParams": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount" - }, - "type": "array" - }, - "MemorySizeInKB": { - "type": "number" - }, - "MountROSysfs": { - "type": "boolean" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaEventSource": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters": { - "additionalProperties": false, - "properties": { - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "EventSources": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaEventSource" - }, - "type": "array" - }, - "ExecArgs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InputPayloadEncodingType": { - "type": "string" - }, - "LinuxProcessParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams" - }, - "MaxIdleTimeInSeconds": { - "type": "number" - }, - "MaxInstancesCount": { - "type": "number" - }, - "MaxQueueSize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "StatusTimeoutInSeconds": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource": { - "additionalProperties": false, - "properties": { - "ComponentDependencies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement" - } - }, - "type": "object" - }, - "ComponentLambdaParameters": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters" - }, - "ComponentName": { - "type": "string" - }, - "ComponentPlatforms": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentPlatform" - }, - "type": "array" - }, - "ComponentVersion": { - "type": "string" - }, - "LambdaArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams": { - "additionalProperties": false, - "properties": { - "ContainerParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaContainerParams" - }, - "IsolationMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "DestinationPath": { - "type": "string" - }, - "Permission": { - "type": "string" - }, - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigData": { - "$ref": "#/definitions/AWS::GroundStation::Config.ConfigData" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConfigData", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::Config" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig": { - "additionalProperties": false, - "properties": { - "DecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DecodeConfig" - }, - "DemodulationConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DemodulationConfig" - }, - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaUplinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkSpectrumConfig" - }, - "TargetEirp": { - "$ref": "#/definitions/AWS::GroundStation::Config.Eirp" - }, - "TransmitDisabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.ConfigData": { - "additionalProperties": false, - "properties": { - "AntennaDownlinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkConfig" - }, - "AntennaDownlinkDemodDecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig" - }, - "AntennaUplinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaUplinkConfig" - }, - "DataflowEndpointConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DataflowEndpointConfig" - }, - "S3RecordingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.S3RecordingConfig" - }, - "TrackingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.TrackingConfig" - }, - "UplinkEchoConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkEchoConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DataflowEndpointConfig": { - "additionalProperties": false, - "properties": { - "DataflowEndpointName": { - "type": "string" - }, - "DataflowEndpointRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DecodeConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DemodulationConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Eirp": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Frequency": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.FrequencyBandwidth": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.S3RecordingConfig": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.SpectrumConfig": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::GroundStation::Config.FrequencyBandwidth" - }, - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.TrackingConfig": { - "additionalProperties": false, - "properties": { - "Autotrack": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkEchoConfig": { - "additionalProperties": false, - "properties": { - "AntennaUplinkConfigArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkSpectrumConfig": { - "additionalProperties": false, - "properties": { - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointDetails": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.EndpointDetails" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::DataflowEndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SocketAddress" - }, - "Mtu": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.EndpointDetails": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint" - }, - "SecurityDetails": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SecurityDetails" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SecurityDetails": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SocketAddress": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::MissionProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactPostPassDurationSeconds": { - "type": "number" - }, - "ContactPrePassDurationSeconds": { - "type": "number" - }, - "DataflowEdges": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile.DataflowEdge" - }, - "type": "array" - }, - "MinimumViableContactDurationSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrackingConfigArn": { - "type": "string" - } - }, - "required": [ - "DataflowEdges", - "MinimumViableContactDurationSeconds", - "Name", - "TrackingConfigArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::MissionProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::MissionProfile.DataflowEdge": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSources": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNDataSourceConfigurations" - }, - "Enable": { - "type": "boolean" - }, - "FindingPublishingFrequency": { - "type": "string" - } - }, - "required": [ - "Enable" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNDataSourceConfigurations": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNS3LogsConfiguration" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNS3LogsConfiguration": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Rank": { - "type": "number" - } - }, - "required": [ - "Action", - "Description", - "DetectorId", - "FindingCriteria", - "Name", - "Rank" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Filter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Filter.Condition": { - "additionalProperties": false, - "properties": { - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Gte": { - "type": "number" - }, - "Lt": { - "type": "number" - }, - "Lte": { - "type": "number" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "type": "object" - }, - "ItemType": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.Condition" - } - }, - "type": "object" - }, - "AWS::GuardDuty::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Master": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "InvitationId": { - "type": "string" - }, - "MasterId": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "MasterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Master" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "DisableEmailNotification": { - "type": "boolean" - }, - "Email": { - "type": "string" - }, - "MemberId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "Email", - "MemberId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::ThreatIntelSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::ThreatIntelSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastoreTypeVersion": { - "type": "string" - }, - "PreloadDataConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.PreloadDataConfig" - }, - "SseConfiguration": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.SseConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatastoreTypeVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::HealthLake::FHIRDatastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig": { - "additionalProperties": false, - "properties": { - "CmkType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CmkType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.PreloadDataConfig": { - "additionalProperties": false, - "properties": { - "PreloadDataType": { - "type": "string" - } - }, - "required": [ - "PreloadDataType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.SseConfiguration": { - "additionalProperties": false, - "properties": { - "KmsEncryptionConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig" - } - }, - "required": [ - "KmsEncryptionConfig" - ], - "type": "object" - }, - "AWS::IAM::AccessKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Serial": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::AccessKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Group.Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::Group.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::InstanceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceProfileName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Roles" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::InstanceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ManagedPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ManagedPolicyName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ManagedPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::OIDCProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThumbprintList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ThumbprintList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::OIDCProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssumeRolePolicyDocument": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionDuration": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Role.Policy" - }, - "type": "array" - }, - "RoleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssumeRolePolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Role" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::SAMLProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SamlMetadataDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::SAMLProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ServerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CertificateBody": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - }, - "ServerCertificateName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::ServiceLinkedRole": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AWSServiceName": { - "type": "string" - }, - "CustomSuffix": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AWSServiceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServiceLinkedRole" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoginProfile": { - "$ref": "#/definitions/AWS::IAM::User.LoginProfile" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::User.Policy" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::User.LoginProfile": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "PasswordResetRequired": { - "type": "boolean" - } - }, - "required": [ - "Password" - ], - "type": "object" - }, - "AWS::IAM::User.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::UserToGroupAddition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GroupName", - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::UserToGroupAddition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::VirtualMFADevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VirtualMfaDeviceName": { - "type": "string" - } - }, - "required": [ - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::VirtualMFADevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorized": { - "type": "boolean" - }, - "LatencyMode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecordingConfigurationArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IVS::PlaybackKeyPair": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicKeyMaterial": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PublicKeyMaterial" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::PlaybackKeyPair" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfiguration": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.DestinationConfiguration" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DestinationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::RecordingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.S3DestinationConfiguration" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::IVS::StreamKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ChannelArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::StreamKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Component": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChangeDescription": { - "type": "string" - }, - "Data": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "SupportedOsVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Uri": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Platform", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Component" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "ContainerType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DockerfileTemplateData": { - "type": "string" - }, - "DockerfileTemplateUri": { - "type": "string" - }, - "ImageOsVersionOverride": { - "type": "string" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "PlatformOverride": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TargetRepository": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "ContainerType", - "Name", - "ParentImage", - "TargetRepository", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ContainerRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Image": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository": { - "additionalProperties": false, - "properties": { - "RepositoryName": { - "type": "string" - }, - "Service": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Distributions": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.Distribution" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Distributions", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::DistributionConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.Distribution": { - "additionalProperties": false, - "properties": { - "AmiDistributionConfiguration": { - "type": "object" - }, - "ContainerDistributionConfiguration": { - "type": "object" - }, - "LaunchTemplateConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration" - }, - "type": "array" - }, - "LicenseConfigurationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "LaunchTemplateId": { - "type": "string" - }, - "SetDefaultVersion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::Image.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Image.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.Schedule" - }, - "Status": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImagePipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.Schedule": { - "additionalProperties": false, - "properties": { - "PipelineExecutionStartCondition": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "Name", - "ParentImage", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImageRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration": { - "additionalProperties": false, - "properties": { - "SystemsManagerAgent": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent" - }, - "UserDataOverride": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent": { - "additionalProperties": false, - "properties": { - "UninstallAfterBuild": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InstanceMetadataOptions": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions" - }, - "InstanceProfileName": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KeyPair": { - "type": "string" - }, - "Logging": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.Logging" - }, - "Name": { - "type": "string" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TerminateInstanceOnFailure": { - "type": "boolean" - } - }, - "required": [ - "InstanceProfileName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::InfrastructureConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.Logging": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.S3Logs" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.S3Logs": { - "additionalProperties": false, - "properties": { - "S3BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Inspector::AssessmentTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetName": { - "type": "string" - }, - "ResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Inspector::AssessmentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetArn": { - "type": "string" - }, - "AssessmentTemplateName": { - "type": "string" - }, - "DurationInSeconds": { - "type": "number" - }, - "RulesPackageArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserAttributesForFindings": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssessmentTargetArn", - "DurationInSeconds", - "RulesPackageArns" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Inspector::ResourceGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceGroupTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceGroupTags" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::ResourceGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "DeviceId", - "Enabled" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Placement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedDevices": { - "type": "object" - }, - "Attributes": { - "type": "object" - }, - "PlacementName": { - "type": "string" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Placement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "PlacementTemplate": { - "$ref": "#/definitions/AWS::IoT1Click::Project.PlacementTemplate" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "PlacementTemplate" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project.DeviceTemplate": { - "additionalProperties": false, - "properties": { - "CallbackOverrides": { - "type": "object" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT1Click::Project.PlacementTemplate": { - "additionalProperties": false, - "properties": { - "DefaultAttributes": { - "type": "object" - }, - "DeviceTemplates": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "AuditCheckConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations" - }, - "AuditNotificationTargetConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "AuditCheckConfigurations", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::AccountAuditConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations": { - "additionalProperties": false, - "properties": { - "AuthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "ConflictingClientIdsCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateSharedCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotPolicyOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasAllowsAccessToUnusedServicesCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "LoggingDisabledCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedCaCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedDeviceCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "UnauthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations": { - "additionalProperties": false, - "properties": { - "Sns": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget" - } - }, - "type": "object" - }, - "AWS::IoT::Authorizer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerFunctionArn": { - "type": "string" - }, - "AuthorizerName": { - "type": "string" - }, - "SigningDisabled": { - "type": "boolean" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TokenKeyName": { - "type": "string" - }, - "TokenSigningPublicKeys": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AuthorizerFunctionArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Authorizer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Certificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CACertificatePem": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "CertificatePem": { - "type": "string" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Certificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::CustomMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "MetricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MetricType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::CustomMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Dimension": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StringValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "StringValues", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Dimension" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerConfig": { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration.AuthorizerConfig" - }, - "DomainConfigurationName": { - "type": "string" - }, - "DomainConfigurationStatus": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "ServerCertificateArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ValidationCertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::DomainConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration.AuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AllowAuthorizerOverride": { - "type": "boolean" - }, - "DefaultAuthorizerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::DomainConfiguration.ServerCertificateSummary": { - "additionalProperties": false, - "properties": { - "ServerCertificateArn": { - "type": "string" - }, - "ServerCertificateStatus": { - "type": "string" - }, - "ServerCertificateStatusDetail": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::FleetMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AggregationField": { - "type": "string" - }, - "AggregationType": { - "$ref": "#/definitions/AWS::IoT::FleetMetric.AggregationType" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "QueryString": { - "type": "string" - }, - "QueryVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::FleetMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::FleetMetric.AggregationType": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::IoT::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AbortConfig": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Document": { - "type": "string" - }, - "DocumentSource": { - "type": "string" - }, - "JobArn": { - "type": "string" - }, - "JobExecutionsRolloutConfig": { - "type": "object" - }, - "JobTemplateId": { - "type": "string" - }, - "PresignedUrlConfig": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeoutConfig": { - "type": "object" - } - }, - "required": [ - "Description", - "JobTemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Logging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "DefaultLogLevel": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "DefaultLogLevel", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Logging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ActionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ActionParams" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ActionParams", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::MitigationAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ActionParams": { - "additionalProperties": false, - "properties": { - "AddThingsToThingGroupParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.AddThingsToThingGroupParams" - }, - "EnableIoTLoggingParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.EnableIoTLoggingParams" - }, - "PublishFindingToSnsParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.PublishFindingToSnsParams" - }, - "ReplaceDefaultPolicyVersionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams" - }, - "UpdateCACertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateCACertificateParams" - }, - "UpdateDeviceCertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateDeviceCertificateParams" - } - }, - "type": "object" - }, - "AWS::IoT::MitigationAction.AddThingsToThingGroupParams": { - "additionalProperties": false, - "properties": { - "OverrideDynamicGroups": { - "type": "boolean" - }, - "ThingGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ThingGroupNames" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.EnableIoTLoggingParams": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "RoleArnForLogging": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "RoleArnForLogging" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.PublishFindingToSnsParams": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams": { - "additionalProperties": false, - "properties": { - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateCACertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateDeviceCertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::PolicyPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyName": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "PolicyName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::PolicyPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PreProvisioningHook": { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate.ProvisioningHook" - }, - "ProvisioningRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ProvisioningRoleArn", - "TemplateBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ProvisioningTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate.ProvisioningHook": { - "additionalProperties": false, - "properties": { - "PayloadVersion": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::ResourceSpecificLogging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "TargetName": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "TargetName", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ResourceSpecificLogging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ScheduledAudit": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DayOfMonth": { - "type": "string" - }, - "DayOfWeek": { - "type": "string" - }, - "Frequency": { - "type": "string" - }, - "ScheduledAuditName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetCheckNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Frequency", - "TargetCheckNames" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ScheduledAudit" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalMetricsToRetainV2": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricToRetain" - }, - "type": "array" - }, - "AlertTargets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.AlertTarget" - } - }, - "type": "object" - }, - "Behaviors": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.Behavior" - }, - "type": "array" - }, - "SecurityProfileDescription": { - "type": "string" - }, - "SecurityProfileName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::SecurityProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.AlertTarget": { - "additionalProperties": false, - "properties": { - "AlertTargetArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AlertTargetArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.Behavior": { - "additionalProperties": false, - "properties": { - "Criteria": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.BehaviorCriteria" - }, - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - }, - "Name": { - "type": "string" - }, - "SuppressAlerts": { - "type": "boolean" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.BehaviorCriteria": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "ConsecutiveDatapointsToAlarm": { - "type": "number" - }, - "ConsecutiveDatapointsToClear": { - "type": "number" - }, - "DurationSeconds": { - "type": "number" - }, - "MlDetectionConfig": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MachineLearningDetectionConfig" - }, - "StatisticalThreshold": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.StatisticalThreshold" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricValue" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MachineLearningDetectionConfig": { - "additionalProperties": false, - "properties": { - "ConfidenceLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricDimension": { - "additionalProperties": false, - "properties": { - "DimensionName": { - "type": "string" - }, - "Operator": { - "type": "string" - } - }, - "required": [ - "DimensionName" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricToRetain": { - "additionalProperties": false, - "properties": { - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - } - }, - "required": [ - "Metric" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricValue": { - "additionalProperties": false, - "properties": { - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "string" - }, - "Number": { - "type": "number" - }, - "Numbers": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Strings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.StatisticalThreshold": { - "additionalProperties": false, - "properties": { - "Statistic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::Thing": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributePayload": { - "$ref": "#/definitions/AWS::IoT::Thing.AttributePayload" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Thing" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::Thing.AttributePayload": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::ThingPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Principal": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "required": [ - "Principal", - "ThingName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ThingPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicRulePayload": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TopicRulePayload" - } - }, - "required": [ - "TopicRulePayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.Action": { - "additionalProperties": false, - "properties": { - "CloudwatchAlarm": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchAlarmAction" - }, - "CloudwatchLogs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchLogsAction" - }, - "CloudwatchMetric": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchMetricAction" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBAction" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBv2Action" - }, - "Elasticsearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.ElasticsearchAction" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoT::TopicRule.FirehoseAction" - }, - "Http": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAction" - }, - "IotAnalytics": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotAnalyticsAction" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotEventsAction" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotSiteWiseAction" - }, - "Kafka": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KafkaAction" - }, - "Kinesis": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KinesisAction" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoT::TopicRule.LambdaAction" - }, - "OpenSearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.OpenSearchAction" - }, - "Republish": { - "$ref": "#/definitions/AWS::IoT::TopicRule.RepublishAction" - }, - "S3": { - "$ref": "#/definitions/AWS::IoT::TopicRule.S3Action" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SnsAction" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SqsAction" - }, - "StepFunctions": { - "$ref": "#/definitions/AWS::IoT::TopicRule.StepFunctionsAction" - }, - "Timestream": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamAction" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyVariant" - } - }, - "required": [ - "Timestamp", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchAlarmAction": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateReason": { - "type": "string" - }, - "StateValue": { - "type": "string" - } - }, - "required": [ - "AlarmName", - "RoleArn", - "StateReason", - "StateValue" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchLogsAction": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LogGroupName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchMetricAction": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricTimestamp": { - "type": "string" - }, - "MetricUnit": { - "type": "string" - }, - "MetricValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricUnit", - "MetricValue", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBAction": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBv2Action": { - "additionalProperties": false, - "properties": { - "PutItem": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutItemInput" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.ElasticsearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.FirehoseAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DeliveryStreamName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAction": { - "additionalProperties": false, - "properties": { - "Auth": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAuthorization" - }, - "ConfirmationUrl": { - "type": "string" - }, - "Headers": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpActionHeader" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpActionHeader": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAuthorization": { - "additionalProperties": false, - "properties": { - "Sigv4": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SigV4Authorization" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.IotAnalyticsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "ChannelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ChannelName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotEventsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "InputName": { - "type": "string" - }, - "MessageId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotSiteWiseAction": { - "additionalProperties": false, - "properties": { - "PutAssetPropertyValueEntries": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutAssetPropertyValueEntry" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PutAssetPropertyValueEntries", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KafkaAction": { - "additionalProperties": false, - "properties": { - "ClientProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DestinationArn": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Partition": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "ClientProperties", - "DestinationArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KinesisAction": { - "additionalProperties": false, - "properties": { - "PartitionKey": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.OpenSearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutAssetPropertyValueEntry": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValues": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyValue" - }, - "type": "array" - } - }, - "required": [ - "PropertyValues" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutItemInput": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.RepublishAction": { - "additionalProperties": false, - "properties": { - "Qos": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "CannedAcl": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SigV4Authorization": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "SigningRegion": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "ServiceName", - "SigningRegion" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SnsAction": { - "additionalProperties": false, - "properties": { - "MessageFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SqsAction": { - "additionalProperties": false, - "properties": { - "QueueUrl": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.StepFunctionsAction": { - "additionalProperties": false, - "properties": { - "ExecutionNamePrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StateMachineName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DatabaseName": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamDimension" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamTimestamp" - } - }, - "required": [ - "DatabaseName", - "Dimensions", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamTimestamp": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TopicRulePayload": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "type": "array" - }, - "AwsIotSqlVersion": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ErrorAction": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "RuleDisabled": { - "type": "boolean" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Actions", - "Sql" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HttpUrlProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary" - }, - "Status": { - "type": "string" - }, - "VpcProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.VpcDestinationProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRuleDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary": { - "additionalProperties": false, - "properties": { - "ConfirmationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.VpcDestinationProperties": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "ChannelStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ChannelStorage" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ChannelStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.CustomerManagedS3" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Action" - }, - "type": "array" - }, - "ContentDeliveryRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "LateDataRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRule" - }, - "type": "array" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Trigger" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.VersioningConfiguration" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Dataset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Action": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ContainerAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ContainerAction" - }, - "QueryAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.QueryAction" - } - }, - "required": [ - "ActionName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ContainerAction": { - "additionalProperties": false, - "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "ResourceConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ResourceConfiguration" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Variable" - }, - "type": "array" - } - }, - "required": [ - "ExecutionRoleArn", - "Image", - "ResourceConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination" - }, - "EntryName": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination": { - "additionalProperties": false, - "properties": { - "IotEventsDestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.S3DestinationConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentVersionValue": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTime": { - "additionalProperties": false, - "properties": { - "OffsetSeconds": { - "type": "number" - }, - "TimeExpression": { - "type": "string" - } - }, - "required": [ - "OffsetSeconds", - "TimeExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration": { - "additionalProperties": false, - "properties": { - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutInMinutes" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Filter": { - "additionalProperties": false, - "properties": { - "DeltaTime": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTime" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.GlueConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRule": { - "additionalProperties": false, - "properties": { - "RuleConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "RuleConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration": { - "additionalProperties": false, - "properties": { - "DeltaTimeSessionWindowConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.OutputFileUriValue": { - "additionalProperties": false, - "properties": { - "FileName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.QueryAction": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Filter" - }, - "type": "array" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "SqlQuery" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ResourceConfiguration": { - "additionalProperties": false, - "properties": { - "ComputeType": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "ComputeType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "required": [ - "NumberOfDays", - "Unlimited" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "GlueConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.GlueConfiguration" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Trigger": { - "additionalProperties": false, - "properties": { - "Schedule": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Schedule" - }, - "TriggeringDataset": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.TriggeringDataset" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.TriggeringDataset": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "required": [ - "DatasetName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Variable": { - "additionalProperties": false, - "properties": { - "DatasetContentVersionValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentVersionValue" - }, - "DoubleValue": { - "type": "number" - }, - "OutputFileUriValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.OutputFileUriValue" - }, - "StringValue": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "VariableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "MaxVersions": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastorePartitions": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartitions" - }, - "DatastoreStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastoreStorage" - }, - "FileFormatConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.FileFormatConfiguration" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Datastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Column": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartition": { - "additionalProperties": false, - "properties": { - "Partition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Partition" - }, - "TimestampPartition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.TimestampPartition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartitions": { - "additionalProperties": false, - "properties": { - "Partitions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartition" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastoreStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3" - }, - "IotSiteWiseMultiLayerStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.FileFormatConfiguration": { - "additionalProperties": false, - "properties": { - "JsonConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.JsonConfiguration" - }, - "ParquetConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ParquetConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3Storage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage" - } - }, - "required": [ - "CustomerManagedS3Storage" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.JsonConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ParquetConfiguration": { - "additionalProperties": false, - "properties": { - "SchemaDefinition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.SchemaDefinition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Partition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.SchemaDefinition": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Column" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.TimestampPartition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "TimestampFormat": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineActivities": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Activity" - }, - "type": "array" - }, - "PipelineName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineActivities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Activity": { - "additionalProperties": false, - "properties": { - "AddAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.AddAttributes" - }, - "Channel": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Channel" - }, - "Datastore": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Datastore" - }, - "DeviceRegistryEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich" - }, - "DeviceShadowEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich" - }, - "Filter": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Filter" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Lambda" - }, - "Math": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Math" - }, - "RemoveAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.RemoveAttributes" - }, - "SelectAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.SelectAttributes" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.AddAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Channel": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Datastore": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Filter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Lambda": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "LambdaName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Math": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Math": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.RemoveAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.SelectAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SuiteDefinitionConfiguration": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SuiteDefinitionConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorModelDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DetectorModelDefinition" - }, - "DetectorModelDescription": { - "type": "string" - }, - "DetectorModelName": { - "type": "string" - }, - "EvaluationMethod": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorModelDefinition", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::DetectorModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Action": { - "additionalProperties": false, - "properties": { - "ClearTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ClearTimer" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDB" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDBv2" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Firehose" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotEvents" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotSiteWise" - }, - "IotTopicPublish": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotTopicPublish" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Lambda" - }, - "ResetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ResetTimer" - }, - "SetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetTimer" - }, - "SetVariable": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetVariable" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sns" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sqs" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyVariant" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ClearTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DetectorModelDefinition": { - "additionalProperties": false, - "properties": { - "InitialStateName": { - "type": "string" - }, - "States": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.State" - }, - "type": "array" - } - }, - "required": [ - "InitialStateName", - "States" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDB": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "Operation": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDBv2": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Event": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - } - }, - "required": [ - "EventName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStreamName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotEvents": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "InputName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotSiteWise": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValue": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyValue" - } - }, - "required": [ - "PropertyValue" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotTopicPublish": { - "additionalProperties": false, - "properties": { - "MqttTopic": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "MqttTopic" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Lambda": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnEnter": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnExit": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnInput": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - }, - "TransitionEvents": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.TransitionEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Payload": { - "additionalProperties": false, - "properties": { - "ContentExpression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContentExpression", - "Type" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ResetTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetTimer": { - "additionalProperties": false, - "properties": { - "DurationExpression": { - "type": "string" - }, - "Seconds": { - "type": "number" - }, - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetVariable": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "Value", - "VariableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sns": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "TargetArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sqs": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "QueueUrl": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.State": { - "additionalProperties": false, - "properties": { - "OnEnter": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnEnter" - }, - "OnExit": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnExit" - }, - "OnInput": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnInput" - }, - "StateName": { - "type": "string" - } - }, - "required": [ - "StateName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.TransitionEvent": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - }, - "NextState": { - "type": "string" - } - }, - "required": [ - "Condition", - "EventName", - "NextState" - ], - "type": "object" - }, - "AWS::IoTEvents::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InputDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::Input.InputDefinition" - }, - "InputDescription": { - "type": "string" - }, - "InputName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InputDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.Attribute": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.InputDefinition": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::Input.Attribute" - }, - "type": "array" - } - }, - "required": [ - "Attributes" - ], - "type": "object" - }, - "AWS::IoTFleetHub::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ApplicationName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTFleetHub::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicyIdentity": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity" - }, - "AccessPolicyPermission": { - "type": "string" - }, - "AccessPolicyResource": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource" - } - }, - "required": [ - "AccessPolicyIdentity", - "AccessPolicyPermission", - "AccessPolicyResource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AccessPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity": { - "additionalProperties": false, - "properties": { - "IamRole": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamRole" - }, - "IamUser": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamUser" - }, - "User": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.User" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource": { - "additionalProperties": false, - "properties": { - "Portal": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Portal" - }, - "Project": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Project" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamRole": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamUser": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Portal": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Project": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.User": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetHierarchy" - }, - "type": "array" - }, - "AssetModelId": { - "type": "string" - }, - "AssetName": { - "type": "string" - }, - "AssetProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelId", - "AssetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - } - }, - "required": [ - "ChildAssetId", - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetProperty": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "NotificationState": { - "type": "string" - } - }, - "required": [ - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetModelCompositeModels": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel" - }, - "type": "array" - }, - "AssetModelDescription": { - "type": "string" - }, - "AssetModelHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelHierarchy" - }, - "type": "array" - }, - "AssetModelName": { - "type": "string" - }, - "AssetModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AssetModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel": { - "additionalProperties": false, - "properties": { - "CompositeModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetModelId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ChildAssetModelId", - "LogicalId", - "Name" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelProperty": { - "additionalProperties": false, - "properties": { - "DataType": { - "type": "string" - }, - "DataTypeSpec": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.PropertyType" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "DataType", - "LogicalId", - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Attribute": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.ExpressionVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.VariableValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Metric": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - }, - "Window": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.MetricWindow" - } - }, - "required": [ - "Expression", - "Variables", - "Window" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.MetricWindow": { - "additionalProperties": false, - "properties": { - "Tumbling": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.TumblingWindow" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.PropertyType": { - "additionalProperties": false, - "properties": { - "Attribute": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Attribute" - }, - "Metric": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Metric" - }, - "Transform": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Transform" - }, - "TypeName": { - "type": "string" - } - }, - "required": [ - "TypeName" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Transform": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "Variables" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.TumblingWindow": { - "additionalProperties": false, - "properties": { - "Interval": { - "type": "string" - }, - "Offset": { - "type": "string" - } - }, - "required": [ - "Interval" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.VariableValue": { - "additionalProperties": false, - "properties": { - "HierarchyLogicalId": { - "type": "string" - }, - "PropertyLogicalId": { - "type": "string" - } - }, - "required": [ - "PropertyLogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardDefinition": { - "type": "string" - }, - "DashboardDescription": { - "type": "string" - }, - "DashboardName": { - "type": "string" - }, - "ProjectId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DashboardDefinition", - "DashboardDescription", - "DashboardName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayCapabilitySummaries": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary" - }, - "type": "array" - }, - "GatewayName": { - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayPlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Gateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayPlatform": { - "additionalProperties": false, - "properties": { - "Greengrass": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.Greengrass" - } - }, - "required": [ - "Greengrass" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.Greengrass": { - "additionalProperties": false, - "properties": { - "GroupArn": { - "type": "string" - } - }, - "required": [ - "GroupArn" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Portal": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alarms": { - "type": "object" - }, - "NotificationSenderEmail": { - "type": "string" - }, - "PortalAuthMode": { - "type": "string" - }, - "PortalContactEmail": { - "type": "string" - }, - "PortalDescription": { - "type": "string" - }, - "PortalName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalContactEmail", - "PortalName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Portal" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortalId": { - "type": "string" - }, - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalId", - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleNamespaceVersion": { - "type": "number" - }, - "Definition": { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument" - } - }, - "required": [ - "Definition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTThingsGraph::FlowTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument": { - "additionalProperties": false, - "properties": { - "Language": { - "type": "string" - }, - "Text": { - "type": "string" - } - }, - "required": [ - "Language", - "Text" - ], - "type": "object" - }, - "AWS::IoTWireless::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "ExpressionType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ExpressionType", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::DeviceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile": { - "additionalProperties": false, - "properties": { - "ClassBTimeout": { - "type": "number" - }, - "ClassCTimeout": { - "type": "number" - }, - "MacVersion": { - "type": "string" - }, - "MaxDutyCycle": { - "type": "number" - }, - "MaxEirp": { - "type": "number" - }, - "PingSlotDr": { - "type": "number" - }, - "PingSlotFreq": { - "type": "number" - }, - "PingSlotPeriod": { - "type": "number" - }, - "RegParamsRevision": { - "type": "string" - }, - "RfRegion": { - "type": "string" - }, - "Supports32BitFCnt": { - "type": "boolean" - }, - "SupportsClassB": { - "type": "boolean" - }, - "SupportsClassC": { - "type": "boolean" - }, - "SupportsJoin": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTWireless::FuotaTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateMulticastGroup": { - "type": "string" - }, - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateMulticastGroup": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "FirmwareUpdateImage": { - "type": "string" - }, - "FirmwareUpdateRole": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirmwareUpdateImage", - "FirmwareUpdateRole", - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::FuotaTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::FuotaTask.LoRaWAN": { - "additionalProperties": false, - "properties": { - "RfRegion": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::MulticastGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup.LoRaWAN": { - "additionalProperties": false, - "properties": { - "DlClass": { - "type": "string" - }, - "NumberOfDevicesInGroup": { - "type": "number" - }, - "NumberOfDevicesRequested": { - "type": "number" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "DlClass", - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountLinked": { - "type": "boolean" - }, - "Fingerprint": { - "type": "string" - }, - "PartnerAccountId": { - "type": "string" - }, - "PartnerType": { - "type": "string" - }, - "Sidewalk": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo" - }, - "SidewalkUpdate": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::PartnerAccount" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "required": [ - "AppServerPrivateKey" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::ServiceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile": { - "additionalProperties": false, - "properties": { - "AddGwMetadata": { - "type": "boolean" - }, - "ChannelMask": { - "type": "string" - }, - "DevStatusReqFreq": { - "type": "number" - }, - "DlBucketSize": { - "type": "number" - }, - "DlRate": { - "type": "number" - }, - "DlRatePolicy": { - "type": "string" - }, - "DrMax": { - "type": "number" - }, - "DrMin": { - "type": "number" - }, - "HrAllowed": { - "type": "boolean" - }, - "MinGwDiversity": { - "type": "number" - }, - "NwkGeoLoc": { - "type": "boolean" - }, - "PrAllowed": { - "type": "boolean" - }, - "RaAllowed": { - "type": "boolean" - }, - "ReportDevStatusBattery": { - "type": "boolean" - }, - "ReportDevStatusMargin": { - "type": "boolean" - }, - "TargetPer": { - "type": "number" - }, - "UlBucketSize": { - "type": "number" - }, - "UlRate": { - "type": "number" - }, - "UlRatePolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoCreateTasks": { - "type": "boolean" - }, - "LoRaWANUpdateGatewayTaskEntry": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinitionType": { - "type": "string" - }, - "Update": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate" - } - }, - "required": [ - "AutoCreateTasks" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion": { - "additionalProperties": false, - "properties": { - "Model": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "Station": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "SigKeyCrc": { - "type": "number" - }, - "UpdateSignature": { - "type": "string" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate" - }, - "UpdateDataRole": { - "type": "string" - }, - "UpdateDataSource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationName": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.LoRaWANDevice" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessDevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV10x": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV11": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.LoRaWANDevice": { - "additionalProperties": false, - "properties": { - "AbpV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV10x" - }, - "AbpV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV11" - }, - "DevEui": { - "type": "string" - }, - "DeviceProfileId": { - "type": "string" - }, - "OtaaV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV10x" - }, - "OtaaV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV11" - }, - "ServiceProfileId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV10x": { - "additionalProperties": false, - "properties": { - "AppEui": { - "type": "string" - }, - "AppKey": { - "type": "string" - } - }, - "required": [ - "AppEui", - "AppKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV11": { - "additionalProperties": false, - "properties": { - "AppKey": { - "type": "string" - }, - "JoinEui": { - "type": "string" - }, - "NwkKey": { - "type": "string" - } - }, - "required": [ - "AppKey", - "JoinEui", - "NwkKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "NwkSKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "NwkSKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "FNwkSIntKey": { - "type": "string" - }, - "NwkSEncKey": { - "type": "string" - }, - "SNwkSIntKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "FNwkSIntKey", - "NwkSEncKey", - "SNwkSIntKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway.LoRaWANGateway" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway.LoRaWANGateway": { - "additionalProperties": false, - "properties": { - "GatewayEui": { - "type": "string" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "GatewayEui", - "RfRegion" - ], - "type": "object" - }, - "AWS::KMS::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasName": { - "type": "string" - }, - "TargetKeyId": { - "type": "string" - } - }, - "required": [ - "AliasName", - "TargetKeyId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::Key": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EnableKeyRotation": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "KeySpec": { - "type": "string" - }, - "KeyUsage": { - "type": "string" - }, - "MultiRegion": { - "type": "boolean" - }, - "PendingWindowInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Key" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::ReplicaKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "PendingWindowInDays": { - "type": "number" - }, - "PrimaryKeyArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy", - "PrimaryKeyArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::ReplicaKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "IndexId", - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.AccessControlListConfiguration": { - "additionalProperties": false, - "properties": { - "KeyPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.AclConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedGroupsColumnName": { - "type": "string" - } - }, - "required": [ - "AllowedGroupsColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ColumnConfiguration": { - "additionalProperties": false, - "properties": { - "ChangeDetectingColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DocumentDataColumnName": { - "type": "string" - }, - "DocumentIdColumnName": { - "type": "string" - }, - "DocumentTitleColumnName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "ChangeDetectingColumns", - "DocumentDataColumnName", - "DocumentIdColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping" - }, - "type": "array" - }, - "CrawlAttachments": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogConfiguration": { - "additionalProperties": false, - "properties": { - "BlogFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration" - }, - "BlogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PageConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "SpaceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceConfiguration" - }, - "Version": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "ServerUrl", - "Version" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageConfiguration": { - "additionalProperties": false, - "properties": { - "PageFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlArchivedSpaces": { - "type": "boolean" - }, - "CrawlPersonalSpaces": { - "type": "boolean" - }, - "ExcludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpaceFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConnectionConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "SecretArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "SecretArn", - "TableName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceConfiguration" - }, - "DatabaseConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DatabaseConfiguration" - }, - "GoogleDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.GoogleDriveConfiguration" - }, - "OneDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceConfiguration" - }, - "ServiceNowConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SharePointConfiguration" - }, - "WebCrawlerConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerConfiguration" - }, - "WorkDocsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WorkDocsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceVpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DatabaseConfiguration": { - "additionalProperties": false, - "properties": { - "AclConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AclConfiguration" - }, - "ColumnConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ColumnConfiguration" - }, - "ConnectionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConnectionConfiguration" - }, - "DatabaseEngineType": { - "type": "string" - }, - "SqlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SqlConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "ColumnConfiguration", - "ConnectionConfiguration", - "DatabaseEngineType" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DocumentsMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "S3Prefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.GoogleDriveConfiguration": { - "additionalProperties": false, - "properties": { - "ExcludeMimeTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeSharedDrives": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeUserAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "SecretArn" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveConfiguration": { - "additionalProperties": false, - "properties": { - "DisableLocalGroups": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUsers": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveUsers" - }, - "SecretArn": { - "type": "string" - }, - "TenantDomain": { - "type": "string" - } - }, - "required": [ - "OneDriveUsers", - "SecretArn", - "TenantDomain" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveUsers": { - "additionalProperties": false, - "properties": { - "OneDriveUserList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUserS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AccessControlListConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AccessControlListConfiguration" - }, - "BucketName": { - "type": "string" - }, - "DocumentsMetadataConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DocumentsMetadataConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPrefixes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeFilterTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceConfiguration": { - "additionalProperties": false, - "properties": { - "ChatterFeedConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration" - }, - "CrawlAttachments": { - "type": "boolean" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "StandardObjectAttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration" - }, - "StandardObjectConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SecretArn", - "ServerUrl" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CustomKnowledgeArticleTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration" - }, - "type": "array" - }, - "IncludedStates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StandardKnowledgeArticleTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration" - } - }, - "required": [ - "IncludedStates" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationType": { - "type": "string" - }, - "HostUrl": { - "type": "string" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServiceCatalogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration" - }, - "ServiceNowBuildVersion": { - "type": "string" - } - }, - "required": [ - "HostUrl", - "SecretArn", - "ServiceNowBuildVersion" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "FilterQuery": { - "type": "string" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SharePointConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DisableLocalGroups": { - "type": "boolean" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - }, - "SharePointVersion": { - "type": "string" - }, - "SslCertificateS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - }, - "Urls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UseChangeLog": { - "type": "boolean" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "SharePointVersion", - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SqlConfiguration": { - "additionalProperties": false, - "properties": { - "QueryIdentifiersEnclosingOption": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "BasicAuthentication": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerBasicAuthentication" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerBasicAuthentication": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Credentials", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration" - }, - "CrawlDepth": { - "type": "number" - }, - "MaxContentSizePerPageInMegaBytes": { - "type": "number" - }, - "MaxLinksPerPage": { - "type": "number" - }, - "MaxUrlsPerMinuteCrawlRate": { - "type": "number" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ProxyConfiguration" - }, - "UrlExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UrlInclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Urls": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerUrls" - } - }, - "required": [ - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WebCrawlerMode": { - "type": "string" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration": { - "additionalProperties": false, - "properties": { - "SiteMaps": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SiteMaps" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerUrls": { - "additionalProperties": false, - "properties": { - "SeedUrlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration" - }, - "SiteMapsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WorkDocsConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlComments": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationId": { - "type": "string" - }, - "UseChangeLog": { - "type": "boolean" - } - }, - "required": [ - "OrganizationId" - ], - "type": "object" - }, - "AWS::Kendra::Faq": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FileFormat": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "S3Path": { - "$ref": "#/definitions/AWS::Kendra::Faq.S3Path" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IndexId", - "Name", - "RoleArn", - "S3Path" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Faq" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Faq.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::Index": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityUnits": { - "$ref": "#/definitions/AWS::Kendra::Index.CapacityUnitsConfiguration" - }, - "Description": { - "type": "string" - }, - "DocumentMetadataConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.DocumentMetadataConfiguration" - }, - "type": "array" - }, - "Edition": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserContextPolicy": { - "type": "string" - }, - "UserTokenConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.UserTokenConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Edition", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Index" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Index.CapacityUnitsConfiguration": { - "additionalProperties": false, - "properties": { - "QueryCapacityUnits": { - "type": "number" - }, - "StorageCapacityUnits": { - "type": "number" - } - }, - "required": [ - "QueryCapacityUnits", - "StorageCapacityUnits" - ], - "type": "object" - }, - "AWS::Kendra::Index.DocumentMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Relevance": { - "$ref": "#/definitions/AWS::Kendra::Index.Relevance" - }, - "Search": { - "$ref": "#/definitions/AWS::Kendra::Index.Search" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Kendra::Index.JsonTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "GroupAttributeField": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "GroupAttributeField", - "UserNameAttributeField" - ], - "type": "object" - }, - "AWS::Kendra::Index.JwtTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "ClaimRegex": { - "type": "string" - }, - "GroupAttributeField": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "KeyLocation": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "URL": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "KeyLocation" - ], - "type": "object" - }, - "AWS::Kendra::Index.Relevance": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "Freshness": { - "type": "boolean" - }, - "Importance": { - "type": "number" - }, - "RankOrder": { - "type": "string" - }, - "ValueImportanceItems": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.ValueImportanceItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.Search": { - "additionalProperties": false, - "properties": { - "Displayable": { - "type": "boolean" - }, - "Facetable": { - "type": "boolean" - }, - "Searchable": { - "type": "boolean" - }, - "Sortable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.UserTokenConfiguration": { - "additionalProperties": false, - "properties": { - "JsonTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JsonTokenTypeConfiguration" - }, - "JwtTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JwtTokenTypeConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ValueImportanceItem": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Kinesis::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RetentionPeriodHours": { - "type": "number" - }, - "ShardCount": { - "type": "number" - }, - "StreamEncryption": { - "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ShardCount" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kinesis::Stream.StreamEncryption": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KeyId": { - "type": "string" - } - }, - "required": [ - "EncryptionType", - "KeyId" - ], - "type": "object" - }, - "AWS::Kinesis::StreamConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerName": { - "type": "string" - }, - "StreamARN": { - "type": "string" - } - }, - "required": [ - "ConsumerName", - "StreamARN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::StreamConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationCode": { - "type": "string" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.Input" - }, - "type": "array" - } - }, - "required": [ - "Inputs" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ReferenceRoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationMode": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RuntimeEnvironment": { - "type": "string" - }, - "ServiceExecutionRole": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RuntimeEnvironment", - "ServiceExecutionRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeContent": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CodeContent" - }, - "CodeContentType": { - "type": "string" - } - }, - "required": [ - "CodeContent", - "CodeContentType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationCodeConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration" - }, - "ApplicationSnapshotConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration" - }, - "EnvironmentProperties": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.EnvironmentProperties" - }, - "FlinkApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration" - }, - "SqlApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration" - }, - "ZeppelinApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration": { - "additionalProperties": false, - "properties": { - "SnapshotsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SnapshotsEnabled" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "GlueDataCatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointInterval": { - "type": "number" - }, - "CheckpointingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "MinPauseBetweenCheckpoints": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CodeContent": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - }, - "TextContent": { - "type": "string" - }, - "ZipFileContent": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration": { - "additionalProperties": false, - "properties": { - "ArtifactType": { - "type": "string" - }, - "MavenReference": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MavenReference" - }, - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - } - }, - "required": [ - "ArtifactType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation" - } - }, - "required": [ - "S3ContentLocation" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.EnvironmentProperties": { - "additionalProperties": false, - "properties": { - "PropertyGroups": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.PropertyGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration" - }, - "ParallelismConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MavenReference": { - "additionalProperties": false, - "properties": { - "ArtifactId": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ArtifactId", - "GroupId", - "Version" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationType": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "MetricsLevel": { - "type": "string" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration": { - "additionalProperties": false, - "properties": { - "AutoScalingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "Parallelism": { - "type": "number" - }, - "ParallelismPerKPU": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.PropertyGroup": { - "additionalProperties": false, - "properties": { - "PropertyGroupId": { - "type": "string" - }, - "PropertyMap": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation": { - "additionalProperties": false, - "properties": { - "BasePath": { - "type": "string" - }, - "BucketARN": { - "type": "string" - } - }, - "required": [ - "BasePath", - "BucketARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentLocation": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.Input" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CatalogConfiguration" - }, - "CustomArtifactsConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration" - }, - "DeployAsApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CloudWatchLoggingOption": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption" - } - }, - "required": [ - "ApplicationName", - "CloudWatchLoggingOption" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "LogStreamARN": { - "type": "string" - } - }, - "required": [ - "LogStreamARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "type": "string" - }, - "DeliveryStreamType": { - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisFirehose::DeliveryStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "type": "string" - }, - "DataTableColumns": { - "type": "string" - }, - "DataTableName": { - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeValue": { - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute" - }, - "type": "array" - }, - "ContentEncoding": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Deserializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "KinesisStreamARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "number" - }, - "StripeSizeBytes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Serializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "number" - }, - "PageSizeBytes": { - "type": "number" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Processor" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessorParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CopyCommand" - }, - "Password": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "ClusterJDBCURL", - "CopyCommand", - "Password", - "RoleARN", - "S3Configuration", - "Username" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ParquetSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "type": "number" - }, - "HECEndpoint": { - "type": "string" - }, - "HECEndpointType": { - "type": "string" - }, - "HECToken": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "HECEndpoint", - "HECEndpointType", - "HECToken", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "RoleARN", - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Admins": { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings.Admins" - }, - "TrustedResourceOwners": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::DataLakeSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.Admins": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLakePrincipal": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLakePrincipal" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsWithGrantOption": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.Resource" - } - }, - "required": [ - "DataLakePrincipal", - "Resource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Permissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LakeFormation::Permissions.ColumnWildcard": { - "additionalProperties": false, - "properties": { - "ExcludedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLocationResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "S3Resource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DatabaseResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.Resource": { - "additionalProperties": false, - "properties": { - "DataLocationResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLocationResource" - }, - "DatabaseResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DatabaseResource" - }, - "TableResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableResource" - }, - "TableWithColumnsResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWithColumnsResource" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "TableWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWildcard" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWildcard": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWithColumnsResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ColumnWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.ColumnWildcard" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Resource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseServiceLinkedRole": { - "type": "boolean" - } - }, - "required": [ - "ResourceArn", - "UseServiceLinkedRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Resource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" - }, - "RoutingConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" - } - }, - "required": [ - "FunctionName", - "FunctionVersion", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias.AliasRoutingConfiguration": { - "additionalProperties": false, - "properties": { - "AdditionalVersionWeights": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" - }, - "type": "array" - } - }, - "required": [ - "AdditionalVersionWeights" - ], - "type": "object" - }, - "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::Lambda::Alias.VersionWeight": { - "additionalProperties": false, - "properties": { - "FunctionVersion": { - "type": "string" - }, - "FunctionWeight": { - "type": "number" - } - }, - "required": [ - "FunctionVersion", - "FunctionWeight" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AllowedPublishers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::CodeSigningConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" - }, - "FunctionName": { - "type": "string" - }, - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "Qualifier": { - "type": "string" - } - }, - "required": [ - "FunctionName", - "Qualifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventInvokeConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" - }, - "OnSuccess": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" - } - }, - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnSuccess": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "type": "string" - }, - "FilterCriteria": { - "type": "object" - }, - "FunctionName": { - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" - }, - "type": "array" - }, - "StartingPosition": { - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TumblingWindowInSeconds": { - "type": "number" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventSourceMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "URI": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Code": { - "$ref": "#/definitions/AWS::Lambda::Function.Code" - }, - "CodeSigningConfigArn": { - "type": "string" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Lambda::Function.Environment" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PackageType": { - "type": "string" - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "TracingConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" - } - }, - "required": [ - "Code", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Function.Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "ZipFile": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.Environment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "required": [ - "Arn", - "LocalMountPath" - ], - "type": "object" - }, - "AWS::Lambda::Function.ImageConfig": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.TracingConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleArchitectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Content": { - "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersion.Content": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersionPermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "LayerVersionArn": { - "type": "string" - }, - "OrganizationId": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Action", - "LayerVersionArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersionPermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Permission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "EventSourceToken": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "SourceAccount": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "Action", - "FunctionName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeSha256": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Version" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::LicenseManager::Grant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedOperations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GrantName": { - "type": "string" - }, - "HomeRegion": { - "type": "string" - }, - "LicenseArn": { - "type": "string" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::Grant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LicenseManager::License": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Beneficiary": { - "type": "string" - }, - "ConsumptionConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ConsumptionConfiguration" - }, - "Entitlements": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Entitlement" - }, - "type": "array" - }, - "HomeRegion": { - "type": "string" - }, - "Issuer": { - "$ref": "#/definitions/AWS::LicenseManager::License.IssuerData" - }, - "LicenseMetadata": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Metadata" - }, - "type": "array" - }, - "LicenseName": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProductSKU": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Validity": { - "$ref": "#/definitions/AWS::LicenseManager::License.ValidityDateFormat" - } - }, - "required": [ - "ConsumptionConfiguration", - "Entitlements", - "HomeRegion", - "Issuer", - "LicenseName", - "ProductName", - "Validity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::License" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LicenseManager::License.BorrowConfiguration": { - "additionalProperties": false, - "properties": { - "AllowEarlyCheckIn": { - "type": "boolean" - }, - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "AllowEarlyCheckIn", - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ConsumptionConfiguration": { - "additionalProperties": false, - "properties": { - "BorrowConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.BorrowConfiguration" - }, - "ProvisionalConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ProvisionalConfiguration" - }, - "RenewType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LicenseManager::License.Entitlement": { - "additionalProperties": false, - "properties": { - "AllowCheckIn": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Overage": { - "type": "boolean" - }, - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Unit" - ], - "type": "object" - }, - "AWS::LicenseManager::License.IssuerData": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SignKey": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::LicenseManager::License.Metadata": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ProvisionalConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ValidityDateFormat": { - "additionalProperties": false, - "properties": { - "Begin": { - "type": "string" - }, - "End": { - "type": "string" - } - }, - "required": [ - "Begin", - "End" - ], - "type": "object" - }, - "AWS::Lightsail::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "BackupRetention": { - "type": "boolean" - }, - "CaCertificateIdentifier": { - "type": "string" - }, - "MasterDatabaseName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "RelationalDatabaseBlueprintId": { - "type": "string" - }, - "RelationalDatabaseBundleId": { - "type": "string" - }, - "RelationalDatabaseName": { - "type": "string" - }, - "RelationalDatabaseParameters": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Database.RelationalDatabaseParameter" - }, - "type": "array" - }, - "RotateMasterUserPassword": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MasterDatabaseName", - "MasterUsername", - "RelationalDatabaseBlueprintId", - "RelationalDatabaseBundleId", - "RelationalDatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Database.RelationalDatabaseParameter": { - "additionalProperties": false, - "properties": { - "AllowedValues": { - "type": "string" - }, - "ApplyMethod": { - "type": "string" - }, - "ApplyType": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IsModifiable": { - "type": "boolean" - }, - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Disk": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "SizeInGb": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DiskName", - "SizeInGb" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Disk" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlueprintId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Hardware": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Hardware" - }, - "InstanceName": { - "type": "string" - }, - "KeyPairName": { - "type": "string" - }, - "Networking": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Networking" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "required": [ - "BlueprintId", - "BundleId", - "InstanceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Disk": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "AttachmentState": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "IOPS": { - "type": "number" - }, - "IsSystemDisk": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "SizeInGb": { - "type": "string" - } - }, - "required": [ - "DiskName", - "Path" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Hardware": { - "additionalProperties": false, - "properties": { - "CpuCount": { - "type": "number" - }, - "Disks": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Disk" - }, - "type": "array" - }, - "RamSizeInGb": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Location": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.MonthlyTransfer": { - "additionalProperties": false, - "properties": { - "GbPerMonthAllocated": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Networking": { - "additionalProperties": false, - "properties": { - "MonthlyTransfer": { - "$ref": "#/definitions/AWS::Lightsail::Instance.MonthlyTransfer" - }, - "Ports": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Port" - }, - "type": "array" - } - }, - "required": [ - "Ports" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Port": { - "additionalProperties": false, - "properties": { - "AccessDirection": { - "type": "string" - }, - "AccessFrom": { - "type": "string" - }, - "AccessType": { - "type": "string" - }, - "CidrListAliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CommonName": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "Ipv6Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.State": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::StaticIp": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "StaticIpName": { - "type": "string" - } - }, - "required": [ - "StaticIpName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::StaticIp" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::GeofenceCollection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - } - }, - "required": [ - "CollectionName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::GeofenceCollection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::Location::Map.MapConfiguration" - }, - "Description": { - "type": "string" - }, - "MapName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "Configuration", - "MapName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Map" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map.MapConfiguration": { - "additionalProperties": false, - "properties": { - "Style": { - "type": "string" - } - }, - "required": [ - "Style" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Location::PlaceIndex.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "DataSource", - "IndexName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::PlaceIndex" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "IntendedUse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Location::RouteCalculator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CalculatorName": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "CalculatorName", - "DataSource", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::RouteCalculator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Tracker": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PositionFiltering": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "PricingPlan", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Tracker" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::TrackerConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerArn": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "ConsumerArn", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::TrackerConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationName": { - "type": "string" - }, - "DestinationPolicy": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "DestinationPolicy", - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::LogGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RetentionInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Logs::LogStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MetricTransformations": { - "items": { - "$ref": "#/definitions/AWS::Logs::MetricFilter.MetricTransformation" - }, - "type": "array" - } - }, - "required": [ - "FilterPattern", - "LogGroupName", - "MetricTransformations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::MetricFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter.MetricTransformation": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricValue": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricValue" - ], - "type": "object" - }, - "AWS::Logs::QueryDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - } - }, - "required": [ - "Name", - "QueryString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::QueryDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::SubscriptionFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "DestinationArn", - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::SubscriptionFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutEquipment::InferenceScheduler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelayOffsetInMinutes": { - "type": "number" - }, - "DataInputConfiguration": { - "type": "object" - }, - "DataOutputConfiguration": { - "type": "object" - }, - "DataUploadFrequency": { - "type": "string" - }, - "InferenceSchedulerName": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideKmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataInputConfiguration", - "DataOutputConfiguration", - "DataUploadFrequency", - "ModelName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutEquipment::InferenceScheduler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.Action" - }, - "AlertDescription": { - "type": "string" - }, - "AlertName": { - "type": "string" - }, - "AlertSensitivityThreshold": { - "type": "number" - }, - "AnomalyDetectorArn": { - "type": "string" - } - }, - "required": [ - "Action", - "AlertSensitivityThreshold", - "AnomalyDetectorArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::Alert" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.Action": { - "additionalProperties": false, - "properties": { - "LambdaConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.LambdaConfiguration" - }, - "SNSConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.SNSConfiguration" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::Alert.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LambdaArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.SNSConfiguration": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SnsTopicArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig" - }, - "AnomalyDetectorDescription": { - "type": "string" - }, - "AnomalyDetectorName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MetricSetList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSet" - }, - "type": "array" - } - }, - "required": [ - "AnomalyDetectorConfig", - "MetricSetList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::AnomalyDetector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorFrequency": { - "type": "string" - } - }, - "required": [ - "AnomalyDetectorFrequency" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig": { - "additionalProperties": false, - "properties": { - "FlowName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FlowName", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "FileCompression": { - "type": "string" - }, - "HeaderList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor": { - "additionalProperties": false, - "properties": { - "CsvFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor" - }, - "JsonFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "FileCompression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "AggregationFunction": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "AggregationFunction", - "MetricName" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSet": { - "additionalProperties": false, - "properties": { - "DimensionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MetricList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.Metric" - }, - "type": "array" - }, - "MetricSetDescription": { - "type": "string" - }, - "MetricSetFrequency": { - "type": "string" - }, - "MetricSetName": { - "type": "string" - }, - "MetricSource": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSource" - }, - "Offset": { - "type": "number" - }, - "TimestampColumn": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.TimestampColumn" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "MetricList", - "MetricSetName", - "MetricSource" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSource": { - "additionalProperties": false, - "properties": { - "AppFlowConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig" - }, - "CloudwatchConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig" - }, - "RDSSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig" - }, - "RedshiftSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig" - }, - "S3SourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig": { - "additionalProperties": false, - "properties": { - "DBInstanceIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "ClusterIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig": { - "additionalProperties": false, - "properties": { - "FileFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor" - }, - "HistoricalDataPathList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TemplatedPathList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "FileFormatDescriptor", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.TimestampColumn": { - "additionalProperties": false, - "properties": { - "ColumnFormat": { - "type": "string" - }, - "ColumnName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIdList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIdList", - "SubnetIdList" - ], - "type": "object" - }, - "AWS::LookoutVision::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutVision::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BrokerNodeGroupInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerNodeGroupInfo" - }, - "ClientAuthentication": { - "$ref": "#/definitions/AWS::MSK::Cluster.ClientAuthentication" - }, - "ClusterName": { - "type": "string" - }, - "ConfigurationInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConfigurationInfo" - }, - "EncryptionInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInfo" - }, - "EnhancedMonitoring": { - "type": "string" - }, - "KafkaVersion": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.LoggingInfo" - }, - "NumberOfBrokerNodes": { - "type": "number" - }, - "OpenMonitoring": { - "$ref": "#/definitions/AWS::MSK::Cluster.OpenMonitoring" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "BrokerNodeGroupInfo", - "ClusterName", - "KafkaVersion", - "NumberOfBrokerNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MSK::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster.BrokerLogs": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.CloudWatchLogs" - }, - "Firehose": { - "$ref": "#/definitions/AWS::MSK::Cluster.Firehose" - }, - "S3": { - "$ref": "#/definitions/AWS::MSK::Cluster.S3" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.BrokerNodeGroupInfo": { - "additionalProperties": false, - "properties": { - "BrokerAZDistribution": { - "type": "string" - }, - "ClientSubnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectivityInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConnectivityInfo" - }, - "InstanceType": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.StorageInfo" - } - }, - "required": [ - "ClientSubnets", - "InstanceType" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ClientAuthentication": { - "additionalProperties": false, - "properties": { - "Sasl": { - "$ref": "#/definitions/AWS::MSK::Cluster.Sasl" - }, - "Tls": { - "$ref": "#/definitions/AWS::MSK::Cluster.Tls" - }, - "Unauthenticated": { - "$ref": "#/definitions/AWS::MSK::Cluster.Unauthenticated" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.CloudWatchLogs": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroup": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConfigurationInfo": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Revision": { - "type": "number" - } - }, - "required": [ - "Arn", - "Revision" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConnectivityInfo": { - "additionalProperties": false, - "properties": { - "PublicAccess": { - "$ref": "#/definitions/AWS::MSK::Cluster.PublicAccess" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EBSStorageInfo": { - "additionalProperties": false, - "properties": { - "VolumeSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "DataVolumeKMSKeyId": { - "type": "string" - } - }, - "required": [ - "DataVolumeKMSKeyId" - ], - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInTransit": { - "additionalProperties": false, - "properties": { - "ClientBroker": { - "type": "string" - }, - "InCluster": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInfo": { - "additionalProperties": false, - "properties": { - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionAtRest" - }, - "EncryptionInTransit": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInTransit" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Iam": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.JmxExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.LoggingInfo": { - "additionalProperties": false, - "properties": { - "BrokerLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerLogs" - } - }, - "required": [ - "BrokerLogs" - ], - "type": "object" - }, - "AWS::MSK::Cluster.NodeExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.OpenMonitoring": { - "additionalProperties": false, - "properties": { - "Prometheus": { - "$ref": "#/definitions/AWS::MSK::Cluster.Prometheus" - } - }, - "required": [ - "Prometheus" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Prometheus": { - "additionalProperties": false, - "properties": { - "JmxExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.JmxExporter" - }, - "NodeExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.NodeExporter" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.PublicAccess": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.S3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Sasl": { - "additionalProperties": false, - "properties": { - "Iam": { - "$ref": "#/definitions/AWS::MSK::Cluster.Iam" - }, - "Scram": { - "$ref": "#/definitions/AWS::MSK::Cluster.Scram" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Scram": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.StorageInfo": { - "additionalProperties": false, - "properties": { - "EBSStorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EBSStorageInfo" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Tls": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArnList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Unauthenticated": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MWAA::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AirflowConfigurationOptions": { - "type": "object" - }, - "AirflowVersion": { - "type": "string" - }, - "DagS3Path": { - "type": "string" - }, - "EnvironmentClass": { - "type": "string" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "KmsKey": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.LoggingConfiguration" - }, - "MaxWorkers": { - "type": "number" - }, - "MinWorkers": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.NetworkConfiguration" - }, - "PluginsS3ObjectVersion": { - "type": "string" - }, - "PluginsS3Path": { - "type": "string" - }, - "RequirementsS3ObjectVersion": { - "type": "string" - }, - "RequirementsS3Path": { - "type": "string" - }, - "Schedulers": { - "type": "number" - }, - "SourceBucketArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WebserverAccessMode": { - "type": "string" - }, - "WeeklyMaintenanceWindowStart": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MWAA::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MWAA::Environment.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "SchedulerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "TaskLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WebserverLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WorkerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.ModuleLoggingConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Macie::CustomDataIdentifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreWords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Keywords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumMatchDistance": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "required": [ - "Name", - "Regex" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::CustomDataIdentifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Position": { - "type": "number" - } - }, - "required": [ - "FindingCriteria", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::FindingsFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter.Criterion": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.Criterion" - } - }, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingsFilterListItem": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Macie::Session": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FindingPublishingFrequency": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::Session" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InvitationId": { - "type": "string" - }, - "MemberConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberConfiguration" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkConfiguration" - }, - "NetworkId": { - "type": "string" - } - }, - "required": [ - "MemberConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy": { - "additionalProperties": false, - "properties": { - "ProposalDurationInHours": { - "type": "number" - }, - "ThresholdComparator": { - "type": "string" - }, - "ThresholdPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFabricConfiguration": { - "additionalProperties": false, - "properties": { - "AdminPassword": { - "type": "string" - }, - "AdminUsername": { - "type": "string" - } - }, - "required": [ - "AdminPassword", - "AdminUsername" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "MemberFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Framework": { - "type": "string" - }, - "FrameworkVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration" - }, - "VotingPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.VotingPolicy" - } - }, - "required": [ - "Framework", - "FrameworkVersion", - "Name", - "VotingPolicy" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFabricConfiguration": { - "additionalProperties": false, - "properties": { - "Edition": { - "type": "string" - } - }, - "required": [ - "Edition" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "NetworkFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.VotingPolicy": { - "additionalProperties": false, - "properties": { - "ApprovalThresholdPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Node": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MemberId": { - "type": "string" - }, - "NetworkId": { - "type": "string" - }, - "NodeConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node.NodeConfiguration" - } - }, - "required": [ - "NetworkId", - "NodeConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Node" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Node.NodeConfiguration": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceType" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Source" - }, - "SourceFailoverConfig": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.FailoverConfig" - } - }, - "required": [ - "Name", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::Flow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.FailoverConfig": { - "additionalProperties": false, - "properties": { - "RecoveryWindow": { - "type": "number" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::Flow.Source": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "IngestIp": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceIngestPort": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataTransferSubscriberFeePercent": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement.Encryption" - }, - "EntitlementStatus": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Subscribers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Description", - "FlowArn", - "Name", - "Subscribers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowEntitlement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrAllowList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Destination": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.Encryption" - }, - "FlowArn": { - "type": "string" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "RemoteId": { - "type": "string" - }, - "SmoothingLatency": { - "type": "number" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceAttachment": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment" - } - }, - "required": [ - "FlowArn", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SecretArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "VpcInterfaceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "required": [ - "Description", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowSource.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowVpcInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FlowArn", - "Name", - "RoleArn", - "SecurityGroupIds", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowVpcInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerationSettings": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.AccelerationSettings" - }, - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HopDestinations": { - "items": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.HopDestination" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "StatusUpdateInterval": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.AccelerationSettings": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.HopDestination": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "WaitMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaConvert::Preset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Preset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CdiInputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CdiInputSpecification" - }, - "ChannelClass": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestination" - }, - "type": "array" - }, - "EncoderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EncoderSettings" - }, - "InputAttachments": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputAttachment" - }, - "type": "array" - }, - "InputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSpecification" - }, - "LogLevel": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VpcOutputSettings" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel.AacSettings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "InputType": { - "type": "string" - }, - "Profile": { - "type": "string" - }, - "RateControlMode": { - "type": "string" - }, - "RawFormat": { - "type": "string" - }, - "SampleRate": { - "type": "number" - }, - "Spec": { - "type": "string" - }, - "VbrQuality": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Ac3Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcProfile": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "MetadataControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AncillarySourceSettings": { - "additionalProperties": false, - "properties": { - "SourceAncillaryChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveCdnSettings": { - "additionalProperties": false, - "properties": { - "ArchiveS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - }, - "RawSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RawSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveCdnSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "RolloverInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveOutputSettings": { - "additionalProperties": false, - "properties": { - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveContainerSettings" - }, - "Extension": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AribDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AribSourceSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioChannelMapping": { - "additionalProperties": false, - "properties": { - "InputChannelLevels": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputChannelLevel" - }, - "type": "array" - }, - "OutputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioCodecSettings": { - "additionalProperties": false, - "properties": { - "AacSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AacSettings" - }, - "Ac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Ac3Settings" - }, - "Eac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Eac3Settings" - }, - "Mp2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mp2Settings" - }, - "PassThroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.PassThroughSettings" - }, - "WavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioDescription": { - "additionalProperties": false, - "properties": { - "AudioNormalizationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioNormalizationSettings" - }, - "AudioSelectorName": { - "type": "string" - }, - "AudioType": { - "type": "string" - }, - "AudioTypeControl": { - "type": "string" - }, - "AudioWatermarkingSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioWatermarkSettings" - }, - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioCodecSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageCodeControl": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RemixSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RemixSettings" - }, - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioHlsRenditionSelection": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioLanguageSelection": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "LanguageSelectionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioNormalizationSettings": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "AlgorithmControl": { - "type": "string" - }, - "TargetLkfs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioOnlyHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioGroupId": { - "type": "string" - }, - "AudioOnlyImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "AudioTrackType": { - "type": "string" - }, - "SegmentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioPidSelection": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelectorSettings": { - "additionalProperties": false, - "properties": { - "AudioHlsRenditionSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioHlsRenditionSelection" - }, - "AudioLanguageSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioLanguageSelection" - }, - "AudioPidSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioPidSelection" - }, - "AudioTrackSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrackSelection" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSilenceFailoverSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectorName": { - "type": "string" - }, - "AudioSilenceThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrack": { - "additionalProperties": false, - "properties": { - "Track": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrackSelection": { - "additionalProperties": false, - "properties": { - "Tracks": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrack" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioWatermarkSettings": { - "additionalProperties": false, - "properties": { - "NielsenWatermarksSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenWatermarksSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AutomaticInputFailoverSettings": { - "additionalProperties": false, - "properties": { - "ErrorClearTimeMsec": { - "type": "number" - }, - "FailoverConditions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverCondition" - }, - "type": "array" - }, - "InputPreference": { - "type": "string" - }, - "SecondaryInputId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailBlanking": { - "additionalProperties": false, - "properties": { - "AvailBlankingImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailConfiguration": { - "additionalProperties": false, - "properties": { - "AvailSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailSettings": { - "additionalProperties": false, - "properties": { - "Scte35SpliceInsert": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35SpliceInsert" - }, - "Scte35TimeSignalApos": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35TimeSignalApos" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BlackoutSlate": { - "additionalProperties": false, - "properties": { - "BlackoutSlateImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkEndBlackout": { - "type": "string" - }, - "NetworkEndBlackoutImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkId": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BurnInDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDescription": { - "additionalProperties": false, - "properties": { - "CaptionSelectorName": { - "type": "string" - }, - "DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDestinationSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDestinationSettings": { - "additionalProperties": false, - "properties": { - "AribDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribDestinationSettings" - }, - "BurnInDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BurnInDestinationSettings" - }, - "DvbSubDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubDestinationSettings" - }, - "EbuTtDDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EbuTtDDestinationSettings" - }, - "EmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedDestinationSettings" - }, - "EmbeddedPlusScte20DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings" - }, - "RtmpCaptionInfoDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings" - }, - "Scte20PlusEmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings" - }, - "Scte27DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27DestinationSettings" - }, - "SmpteTtDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.SmpteTtDestinationSettings" - }, - "TeletextDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextDestinationSettings" - }, - "TtmlDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TtmlDestinationSettings" - }, - "WebvttDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WebvttDestinationSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionLanguageMapping": { - "additionalProperties": false, - "properties": { - "CaptionChannel": { - "type": "number" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionRectangle": { - "additionalProperties": false, - "properties": { - "Height": { - "type": "number" - }, - "LeftOffset": { - "type": "number" - }, - "TopOffset": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelector": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelectorSettings": { - "additionalProperties": false, - "properties": { - "AncillarySourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AncillarySourceSettings" - }, - "AribSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribSourceSettings" - }, - "DvbSubSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubSourceSettings" - }, - "EmbeddedSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedSourceSettings" - }, - "Scte20SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20SourceSettings" - }, - "Scte27SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27SourceSettings" - }, - "TeletextSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextSourceSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CdiInputSpecification": { - "additionalProperties": false, - "properties": { - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ColorSpacePassthroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbNitSettings": { - "additionalProperties": false, - "properties": { - "NetworkId": { - "type": "number" - }, - "NetworkName": { - "type": "string" - }, - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSdtSettings": { - "additionalProperties": false, - "properties": { - "OutputSdt": { - "type": "string" - }, - "RepInterval": { - "type": "number" - }, - "ServiceName": { - "type": "string" - }, - "ServiceProviderName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubSourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbTdtSettings": { - "additionalProperties": false, - "properties": { - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Eac3Settings": { - "additionalProperties": false, - "properties": { - "AttenuationControl": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "DcFilter": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcLine": { - "type": "string" - }, - "DrcRf": { - "type": "string" - }, - "LfeControl": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "LoRoCenterMixLevel": { - "type": "number" - }, - "LoRoSurroundMixLevel": { - "type": "number" - }, - "LtRtCenterMixLevel": { - "type": "number" - }, - "LtRtSurroundMixLevel": { - "type": "number" - }, - "MetadataControl": { - "type": "string" - }, - "PassthroughControl": { - "type": "string" - }, - "PhaseControl": { - "type": "string" - }, - "StereoDownmix": { - "type": "string" - }, - "SurroundExMode": { - "type": "string" - }, - "SurroundMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EbuTtDDestinationSettings": { - "additionalProperties": false, - "properties": { - "CopyrightHolder": { - "type": "string" - }, - "FillLineGap": { - "type": "string" - }, - "FontFamily": { - "type": "string" - }, - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedSourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Scte20Detection": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - }, - "Source608TrackNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EncoderSettings": { - "additionalProperties": false, - "properties": { - "AudioDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioDescription" - }, - "type": "array" - }, - "AvailBlanking": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailBlanking" - }, - "AvailConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailConfiguration" - }, - "BlackoutSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BlackoutSlate" - }, - "CaptionDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDescription" - }, - "type": "array" - }, - "FeatureActivations": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FeatureActivations" - }, - "GlobalConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.GlobalConfiguration" - }, - "MotionGraphicsConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsConfiguration" - }, - "NielsenConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenConfiguration" - }, - "OutputGroups": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroup" - }, - "type": "array" - }, - "TimecodeConfig": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TimecodeConfig" - }, - "VideoDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverCondition": { - "additionalProperties": false, - "properties": { - "FailoverConditionSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverConditionSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverConditionSettings": { - "additionalProperties": false, - "properties": { - "AudioSilenceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSilenceFailoverSettings" - }, - "InputLossSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossFailoverSettings" - }, - "VideoBlackSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoBlackFailoverSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FeatureActivations": { - "additionalProperties": false, - "properties": { - "InputPrepareScheduleActions": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FecOutputSettings": { - "additionalProperties": false, - "properties": { - "ColumnDepth": { - "type": "number" - }, - "IncludeFec": { - "type": "string" - }, - "RowLength": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Fmp4HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureCdnSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FrameCaptureCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureCdnSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureHlsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureOutputSettings": { - "additionalProperties": false, - "properties": { - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureSettings": { - "additionalProperties": false, - "properties": { - "CaptureInterval": { - "type": "number" - }, - "CaptureIntervalUnits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.GlobalConfiguration": { - "additionalProperties": false, - "properties": { - "InitialAudioGain": { - "type": "number" - }, - "InputEndAction": { - "type": "string" - }, - "InputLossBehavior": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossBehavior" - }, - "OutputLockingMode": { - "type": "string" - }, - "OutputTimingSource": { - "type": "string" - }, - "SupportLowFramerateInputs": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufFillPct": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264ColorSpaceSettings" - }, - "EntropyEncoding": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "ForceFieldPictures": { - "type": "string" - }, - "FramerateControl": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopBReference": { - "type": "string" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "NumRefFrames": { - "type": "number" - }, - "ParControl": { - "type": "string" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QualityLevel": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Softness": { - "type": "number" - }, - "SpatialAq": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "Syntax": { - "type": "string" - }, - "TemporalAq": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "AlternativeTransferFunction": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265ColorSpaceSettings" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Tier": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Hdr10Settings": { - "additionalProperties": false, - "properties": { - "MaxCll": { - "type": "number" - }, - "MaxFall": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsAkamaiSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "Salt": { - "type": "string" - }, - "Token": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsBasicPutSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsCdnSettings": { - "additionalProperties": false, - "properties": { - "HlsAkamaiSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsAkamaiSettings" - }, - "HlsBasicPutSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsBasicPutSettings" - }, - "HlsMediaStoreSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsMediaStoreSettings" - }, - "HlsS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsS3Settings" - }, - "HlsWebdavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsWebdavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BaseUrlContent": { - "type": "string" - }, - "BaseUrlContent1": { - "type": "string" - }, - "BaseUrlManifest": { - "type": "string" - }, - "BaseUrlManifest1": { - "type": "string" - }, - "CaptionLanguageMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionLanguageMapping" - }, - "type": "array" - }, - "CaptionLanguageSetting": { - "type": "string" - }, - "ClientCache": { - "type": "string" - }, - "CodecSpecification": { - "type": "string" - }, - "ConstantIv": { - "type": "string" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "DirectoryStructure": { - "type": "string" - }, - "DiscontinuityTags": { - "type": "string" - }, - "EncryptionType": { - "type": "string" - }, - "HlsCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsCdnSettings" - }, - "HlsId3SegmentTagging": { - "type": "string" - }, - "IFrameOnlyPlaylists": { - "type": "string" - }, - "IncompleteSegmentBehavior": { - "type": "string" - }, - "IndexNSegments": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "IvInManifest": { - "type": "string" - }, - "IvSource": { - "type": "string" - }, - "KeepSegments": { - "type": "number" - }, - "KeyFormat": { - "type": "string" - }, - "KeyFormatVersions": { - "type": "string" - }, - "KeyProviderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.KeyProviderSettings" - }, - "ManifestCompression": { - "type": "string" - }, - "ManifestDurationFormat": { - "type": "string" - }, - "MinSegmentLength": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "OutputSelection": { - "type": "string" - }, - "ProgramDateTime": { - "type": "string" - }, - "ProgramDateTimePeriod": { - "type": "number" - }, - "RedundantManifest": { - "type": "string" - }, - "SegmentLength": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SegmentsPerSubdirectory": { - "type": "number" - }, - "StreamInfResolution": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - }, - "TimestampDeltaMilliseconds": { - "type": "number" - }, - "TsFileMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsInputSettings": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "type": "number" - }, - "BufferSegments": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "RetryInterval": { - "type": "number" - }, - "Scte35Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsMediaStoreSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "MediaStoreStorageClass": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsSettings" - }, - "NameModifier": { - "type": "string" - }, - "SegmentModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioOnlyHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioOnlyHlsSettings" - }, - "Fmp4HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Fmp4HlsSettings" - }, - "FrameCaptureHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureHlsSettings" - }, - "StandardHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StandardHlsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsWebdavSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HtmlMotionGraphicsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.InputAttachment": { - "additionalProperties": false, - "properties": { - "AutomaticInputFailoverSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AutomaticInputFailoverSettings" - }, - "InputAttachmentName": { - "type": "string" - }, - "InputId": { - "type": "string" - }, - "InputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputChannelLevel": { - "additionalProperties": false, - "properties": { - "Gain": { - "type": "number" - }, - "InputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLocation": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Uri": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossBehavior": { - "additionalProperties": false, - "properties": { - "BlackFrameMsec": { - "type": "number" - }, - "InputLossImageColor": { - "type": "string" - }, - "InputLossImageSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "InputLossImageType": { - "type": "string" - }, - "RepeatFrameMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossFailoverSettings": { - "additionalProperties": false, - "properties": { - "InputLossThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelector" - }, - "type": "array" - }, - "CaptionSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelector" - }, - "type": "array" - }, - "DeblockFilter": { - "type": "string" - }, - "DenoiseFilter": { - "type": "string" - }, - "FilterStrength": { - "type": "number" - }, - "InputFilter": { - "type": "string" - }, - "NetworkInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NetworkInputSettings" - }, - "Smpte2038DataPreference": { - "type": "string" - }, - "SourceEndBehavior": { - "type": "string" - }, - "VideoSelector": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelector" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSpecification": { - "additionalProperties": false, - "properties": { - "Codec": { - "type": "string" - }, - "MaximumBitrate": { - "type": "string" - }, - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.KeyProviderSettings": { - "additionalProperties": false, - "properties": { - "StaticKeySettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StaticKeySettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M2tsSettings": { - "additionalProperties": false, - "properties": { - "AbsentInputAudioBehavior": { - "type": "string" - }, - "Arib": { - "type": "string" - }, - "AribCaptionsPid": { - "type": "string" - }, - "AribCaptionsPidControl": { - "type": "string" - }, - "AudioBufferModel": { - "type": "string" - }, - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "AudioStreamType": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufferModel": { - "type": "string" - }, - "CcDescriptor": { - "type": "string" - }, - "DvbNitSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbNitSettings" - }, - "DvbSdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSdtSettings" - }, - "DvbSubPids": { - "type": "string" - }, - "DvbTdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbTdtSettings" - }, - "DvbTeletextPid": { - "type": "string" - }, - "Ebif": { - "type": "string" - }, - "EbpAudioInterval": { - "type": "string" - }, - "EbpLookaheadMs": { - "type": "number" - }, - "EbpPlacement": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "EsRateInPes": { - "type": "string" - }, - "EtvPlatformPid": { - "type": "string" - }, - "EtvSignalPid": { - "type": "string" - }, - "FragmentTime": { - "type": "number" - }, - "Klv": { - "type": "string" - }, - "KlvDataPids": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "NullPacketBitrate": { - "type": "number" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "RateMode": { - "type": "string" - }, - "Scte27Pids": { - "type": "string" - }, - "Scte35Control": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "SegmentationMarkers": { - "type": "string" - }, - "SegmentationStyle": { - "type": "string" - }, - "SegmentationTime": { - "type": "number" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M3u8Settings": { - "additionalProperties": false, - "properties": { - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "Scte35Behavior": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsConfiguration": { - "additionalProperties": false, - "properties": { - "MotionGraphicsInsertion": { - "type": "string" - }, - "MotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsSettings": { - "additionalProperties": false, - "properties": { - "HtmlMotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HtmlMotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mp2Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpace": { - "type": "string" - }, - "DisplayAspectRatio": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothGroupSettings": { - "additionalProperties": false, - "properties": { - "AcquisitionPointId": { - "type": "string" - }, - "AudioOnlyTimecodeControl": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "EventId": { - "type": "string" - }, - "EventIdMode": { - "type": "string" - }, - "EventStopBehavior": { - "type": "string" - }, - "FilecacheDuration": { - "type": "number" - }, - "FragmentLength": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SendDelayMs": { - "type": "number" - }, - "SparseTrackType": { - "type": "string" - }, - "StreamManifestBehavior": { - "type": "string" - }, - "TimestampOffset": { - "type": "string" - }, - "TimestampOffsetMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexGroupSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexOutputSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings": { - "additionalProperties": false, - "properties": { - "MultiplexId": { - "type": "string" - }, - "ProgramName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NetworkInputSettings": { - "additionalProperties": false, - "properties": { - "HlsInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsInputSettings" - }, - "ServerValidation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenCBET": { - "additionalProperties": false, - "properties": { - "CbetCheckDigitString": { - "type": "string" - }, - "CbetStepaside": { - "type": "string" - }, - "Csid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenConfiguration": { - "additionalProperties": false, - "properties": { - "DistributorId": { - "type": "string" - }, - "NielsenPcmToId3Tagging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenNaesIiNw": { - "additionalProperties": false, - "properties": { - "CheckDigitString": { - "type": "string" - }, - "Sid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenWatermarksSettings": { - "additionalProperties": false, - "properties": { - "NielsenCbetSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenCBET" - }, - "NielsenDistributionType": { - "type": "string" - }, - "NielsenNaesIiNwSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenNaesIiNw" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Output": { - "additionalProperties": false, - "properties": { - "AudioDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CaptionDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OutputName": { - "type": "string" - }, - "OutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputSettings" - }, - "VideoDescriptionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestination": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "MediaPackageSettings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings" - }, - "type": "array" - }, - "MultiplexSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings" - }, - "Settings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestinationSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroup": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OutputGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroupSettings" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Output" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveGroupSettings" - }, - "FrameCaptureGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureGroupSettings" - }, - "HlsGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsGroupSettings" - }, - "MediaPackageGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageGroupSettings" - }, - "MsSmoothGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothGroupSettings" - }, - "MultiplexGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexGroupSettings" - }, - "RtmpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpGroupSettings" - }, - "UdpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpGroupSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputLocationRef": { - "additionalProperties": false, - "properties": { - "DestinationRefId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputSettings": { - "additionalProperties": false, - "properties": { - "ArchiveOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveOutputSettings" - }, - "FrameCaptureOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureOutputSettings" - }, - "HlsOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsOutputSettings" - }, - "MediaPackageOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputSettings" - }, - "MsSmoothOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothOutputSettings" - }, - "MultiplexOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexOutputSettings" - }, - "RtmpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpOutputSettings" - }, - "UdpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.PassThroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RawSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec601Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec709Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RemixSettings": { - "additionalProperties": false, - "properties": { - "ChannelMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioChannelMapping" - }, - "type": "array" - }, - "ChannelsIn": { - "type": "number" - }, - "ChannelsOut": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationScheme": { - "type": "string" - }, - "CacheFullBehavior": { - "type": "string" - }, - "CacheLength": { - "type": "number" - }, - "CaptionData": { - "type": "string" - }, - "InputLossAction": { - "type": "string" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpOutputSettings": { - "additionalProperties": false, - "properties": { - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "NumRetries": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20SourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27SourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35SpliceInsert": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35TimeSignalApos": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.SmpteTtDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.StandardHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "M3u8Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M3u8Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.StaticKeySettings": { - "additionalProperties": false, - "properties": { - "KeyProviderServer": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "StaticKeyValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextSourceSettings": { - "additionalProperties": false, - "properties": { - "OutputRectangle": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionRectangle" - }, - "PageNumber": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TemporalFilterSettings": { - "additionalProperties": false, - "properties": { - "PostFilterSharpening": { - "type": "string" - }, - "Strength": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TimecodeConfig": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "SyncThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TtmlDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpGroupSettings": { - "additionalProperties": false, - "properties": { - "InputLossAction": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpOutputSettings": { - "additionalProperties": false, - "properties": { - "BufferMsec": { - "type": "number" - }, - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpContainerSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FecOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FecOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoBlackFailoverSettings": { - "additionalProperties": false, - "properties": { - "BlackDetectThreshold": { - "type": "number" - }, - "VideoBlackThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoCodecSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureSettings" - }, - "H264Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264Settings" - }, - "H265Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265Settings" - }, - "Mpeg2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoDescription": { - "additionalProperties": false, - "properties": { - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoCodecSettings" - }, - "Height": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RespondToAfd": { - "type": "string" - }, - "ScalingBehavior": { - "type": "string" - }, - "Sharpness": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelector": { - "additionalProperties": false, - "properties": { - "ColorSpace": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings" - }, - "ColorSpaceUsage": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorPid": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorProgramId": { - "additionalProperties": false, - "properties": { - "ProgramId": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorSettings": { - "additionalProperties": false, - "properties": { - "VideoSelectorPid": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorPid" - }, - "VideoSelectorProgramId": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorProgramId" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VpcOutputSettings": { - "additionalProperties": false, - "properties": { - "PublicAddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WavSettings": { - "additionalProperties": false, - "properties": { - "BitDepth": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WebvttDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDestinationRequest" - }, - "type": "array" - }, - "InputDevices": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDeviceSettings" - }, - "type": "array" - }, - "InputSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MediaConnectFlows": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.MediaConnectFlowRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputSourceRequest" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputVpcRequest" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Input.InputDestinationRequest": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceRequest": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceSettings": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputSourceRequest": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputVpcRequest": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.MediaConnectFlowRequest": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - }, - "WhitelistRules": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::InputSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "PackagingGroupId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId", - "SourceArn", - "SourceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Asset.EgressEndpoint": { - "additionalProperties": false, - "properties": { - "PackagingConfigurationId": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "PackagingConfigurationId", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "IngressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.Authorization" - }, - "ChannelId": { - "type": "string" - }, - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashPackage" - }, - "Description": { - "type": "string" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsPackage" - }, - "Id": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssPackage" - }, - "Origination": { - "type": "string" - }, - "StartoverWindowSeconds": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeDelaySeconds": { - "type": "number" - }, - "Whitelist": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ChannelId", - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::OriginEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentPrefix": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashEncryption": { - "additionalProperties": false, - "properties": { - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashPackage": { - "additionalProperties": false, - "properties": { - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashEncryption" - }, - "ManifestLayout": { - "type": "string" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "MinUpdatePeriodSeconds": { - "type": "number" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Profile": { - "type": "string" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "SuggestedPresentationDelaySeconds": { - "type": "number" - }, - "UtcTiming": { - "type": "string" - }, - "UtcTimingUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsPackage": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsEncryption" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssEncryption" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashPackage" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsPackage" - }, - "Id": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssPackage" - }, - "PackagingGroupId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashManifest": { - "additionalProperties": false, - "properties": { - "ManifestLayout": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashPackage": { - "additionalProperties": false, - "properties": { - "DashManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashManifest" - }, - "type": "array" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashEncryption" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - } - }, - "required": [ - "DashManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssManifest": { - "additionalProperties": false, - "properties": { - "ManifestName": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssEncryption" - }, - "MssManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "MssManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.Authorization" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingEnabled": { - "type": "boolean" - }, - "ContainerName": { - "type": "string" - }, - "CorsPolicy": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.CorsRule" - }, - "type": "array" - }, - "LifecyclePolicy": { - "type": "string" - }, - "MetricPolicy": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicy" - }, - "Policy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaStore::Container" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaStore::Container.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposeHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxAgeSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicy": { - "additionalProperties": false, - "properties": { - "ContainerLevelMetrics": { - "type": "string" - }, - "MetricPolicyRules": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicyRule" - }, - "type": "array" - } - }, - "required": [ - "ContainerLevelMetrics" - ], - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicyRule": { - "additionalProperties": false, - "properties": { - "ObjectGroup": { - "type": "string" - }, - "ObjectGroupName": { - "type": "string" - } - }, - "required": [ - "ObjectGroup", - "ObjectGroupName" - ], - "type": "object" - }, - "AWS::MemoryDB::ACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ACLName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ClusterName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "FinalSnapshotName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumReplicasPerShard": { - "type": "number" - }, - "NumShards": { - "type": "number" - }, - "ParameterGroupName": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SnsTopicStatus": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "TLSEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ACLName", - "ClusterName", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MemoryDB::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Family", - "ParameterGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetGroupName", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "AuthenticationMode": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "AccessString", - "AuthenticationMode", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::Neptune::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::Neptune::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "FirewallPolicyArn": { - "type": "string" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall.SubnetMapping" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallName", - "FirewallPolicyArn", - "SubnetMappings", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::Firewall" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall.SubnetMapping": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy" - }, - "FirewallPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirewallPolicy", - "FirewallPolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::FirewallPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy": { - "additionalProperties": false, - "properties": { - "StatefulDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference" - }, - "type": "array" - }, - "StatelessCustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.CustomAction" - }, - "type": "array" - }, - "StatelessDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessFragmentDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference" - }, - "type": "array" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "Priority", - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallArn": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration" - } - }, - "required": [ - "FirewallArn", - "LoggingConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig": { - "additionalProperties": false, - "properties": { - "LogDestination": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LogDestinationType": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "LogDestination", - "LogDestinationType", - "LogType" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig" - }, - "type": "array" - } - }, - "required": [ - "LogDestinationConfigs" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleGroup" - }, - "RuleGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Capacity", - "RuleGroupName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationPort": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourcePort": { - "type": "string" - } - }, - "required": [ - "Destination", - "DestinationPort", - "Direction", - "Protocol", - "Source", - "SourcePort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "Protocols": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SourcePorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "TCPFlags": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.TCPFlagField" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MatchAttributes": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.MatchAttributes" - } - }, - "required": [ - "Actions", - "MatchAttributes" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleGroup": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "type": "string" - }, - "Settings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSourceList" - }, - "RulesString": { - "type": "string" - }, - "StatefulRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRule" - }, - "type": "array" - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "type": "string" - }, - "TargetTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GeneratedRulesType", - "TargetTypes", - "Targets" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Header": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Header" - }, - "RuleOptions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleOption" - }, - "type": "array" - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "RuleDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleDefinition" - } - }, - "required": [ - "Priority", - "RuleDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.CustomAction" - }, - "type": "array" - }, - "StatelessRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRule" - }, - "type": "array" - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Masks": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "AWS::NetworkManager::CustomerGatewayAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayArn": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "CustomerGatewayArn", - "DeviceId", - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::CustomerGatewayAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Device.Location" - }, - "Model": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Vendor": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::GlobalNetwork": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::GlobalNetwork" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::NetworkManager::Link": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::NetworkManager::Link.Bandwidth" - }, - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Provider": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Bandwidth", - "GlobalNetworkId", - "SiteId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Link" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Link.Bandwidth": { - "additionalProperties": false, - "properties": { - "DownloadSpeed": { - "type": "number" - }, - "UploadSpeed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::NetworkManager::LinkAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "DeviceId", - "GlobalNetworkId", - "LinkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::LinkAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Site.Location" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Site" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::TransitGatewayRegistration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GlobalNetworkId": { - "type": "string" - }, - "TransitGatewayArn": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId", - "TransitGatewayArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::TransitGatewayRegistration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchProfileProtocolVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "StreamConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile.StreamConfiguration" - }, - "StudioComponentIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2SubnetIds", - "LaunchProfileProtocolVersions", - "Name", - "StreamConfiguration", - "StudioComponentIds", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::LaunchProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile.StreamConfiguration": { - "additionalProperties": false, - "properties": { - "ClipboardMode": { - "type": "string" - }, - "Ec2InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionLengthInMinutes": { - "type": "number" - }, - "StreamingImageIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClipboardMode", - "Ec2InstanceTypes", - "StreamingImageIds" - ], - "type": "object" - }, - "AWS::NimbleStudio::StreamingImage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2ImageId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2ImageId", - "Name", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StreamingImage" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdminRoleArn": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "StudioEncryptionConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::Studio.StudioEncryptionConfiguration" - }, - "StudioName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UserRoleArn": { - "type": "string" - } - }, - "required": [ - "AdminRoleArn", - "DisplayName", - "StudioName", - "UserRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio.StudioEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KeyArn": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration" - }, - "Description": { - "type": "string" - }, - "Ec2SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InitializationScripts": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScriptParameters": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Subtype": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StudioId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StudioComponent" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "ComputerAttributes": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute" - }, - "type": "array" - }, - "DirectoryId": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryUser": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "LinuxMountPoint": { - "type": "string" - }, - "ShareName": { - "type": "string" - }, - "WindowsMountDrive": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration" - }, - "ComputeFarmConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration" - }, - "LicenseServiceConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration" - }, - "SharedFileSystemConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript": { - "additionalProperties": false, - "properties": { - "LaunchProfileProtocolVersion": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "RunContext": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput" - }, - "ClusterConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ClusterConfig" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EBSOptions" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EncryptionAtRestOptions" - }, - "EngineVersion": { - "type": "string" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpenSearchService::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ClusterConfig": { - "additionalProperties": false, - "properties": { - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppSource": { - "$ref": "#/definitions/AWS::OpsWorks::App.Source" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DataSources": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.DataSource" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableSsl": { - "type": "boolean" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.EnvironmentVariable" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Shortname": { - "type": "string" - }, - "SslConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::App.SslConfiguration" - }, - "StackId": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::App.DataSource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Secure": { - "type": "boolean" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::OpsWorks::App.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.SslConfiguration": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Chain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ElasticLoadBalancerName": { - "type": "string" - }, - "LayerId": { - "type": "string" - } - }, - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::ElasticLoadBalancerAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "AmiId": { - "type": "string" - }, - "Architecture": { - "type": "string" - }, - "AutoScalingType": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Hostname": { - "type": "string" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceType": { - "type": "string" - }, - "LayerIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Os": { - "type": "string" - }, - "RootDeviceType": { - "type": "string" - }, - "SshKeyName": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tenancy": { - "type": "string" - }, - "TimeBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.TimeBasedAutoScaling" - }, - "VirtualizationType": { - "type": "string" - }, - "Volumes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "InstanceType", - "LayerIds", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.TimeBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "Friday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Monday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Saturday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Sunday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Thursday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tuesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Wednesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomInstanceProfileArn": { - "type": "string" - }, - "CustomJson": { - "type": "object" - }, - "CustomRecipes": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.Recipes" - }, - "CustomSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LifecycleEventConfiguration" - }, - "LoadBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LoadBasedAutoScaling" - }, - "Name": { - "type": "string" - }, - "Packages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shortname": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "VolumeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.VolumeConfiguration" - }, - "type": "array" - } - }, - "required": [ - "AutoAssignElasticIps", - "AutoAssignPublicIps", - "EnableAutoHealing", - "Name", - "Shortname", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Layer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Layer.AutoScalingThresholds": { - "additionalProperties": false, - "properties": { - "CpuThreshold": { - "type": "number" - }, - "IgnoreMetricsTime": { - "type": "number" - }, - "InstanceCount": { - "type": "number" - }, - "LoadThreshold": { - "type": "number" - }, - "MemoryThreshold": { - "type": "number" - }, - "ThresholdsWaitTime": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LifecycleEventConfiguration": { - "additionalProperties": false, - "properties": { - "ShutdownEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.ShutdownEventConfiguration" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LoadBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "DownScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - }, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.Recipes": { - "additionalProperties": false, - "properties": { - "Configure": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Deploy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Setup": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shutdown": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Undeploy": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.ShutdownEventConfiguration": { - "additionalProperties": false, - "properties": { - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - }, - "ExecutionTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.VolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "MountPoint": { - "type": "string" - }, - "NumberOfDisks": { - "type": "number" - }, - "RaidLevel": { - "type": "number" - }, - "Size": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ChefConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ChefConfiguration" - }, - "CloneAppIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClonePermissions": { - "type": "boolean" - }, - "ConfigurationManager": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.StackConfigurationManager" - }, - "CustomCookbooksSource": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.Source" - }, - "CustomJson": { - "type": "object" - }, - "DefaultAvailabilityZone": { - "type": "string" - }, - "DefaultInstanceProfileArn": { - "type": "string" - }, - "DefaultOs": { - "type": "string" - }, - "DefaultRootDeviceType": { - "type": "string" - }, - "DefaultSshKeyName": { - "type": "string" - }, - "DefaultSubnetId": { - "type": "string" - }, - "EcsClusterArn": { - "type": "string" - }, - "ElasticIps": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ElasticIp" - }, - "type": "array" - }, - "HostnameTheme": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RdsDbInstances": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.RdsDbInstance" - }, - "type": "array" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SourceStackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DefaultInstanceProfileArn", - "Name", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Stack" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.ChefConfiguration": { - "additionalProperties": false, - "properties": { - "BerkshelfVersion": { - "type": "string" - }, - "ManageBerkshelf": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.ElasticIp": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.RdsDbInstance": { - "additionalProperties": false, - "properties": { - "DbPassword": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "RdsDbInstanceArn": { - "type": "string" - } - }, - "required": [ - "DbPassword", - "DbUser", - "RdsDbInstanceArn" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.StackConfigurationManager": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowSelfManagement": { - "type": "boolean" - }, - "IamUserArn": { - "type": "string" - }, - "SshPublicKey": { - "type": "string" - }, - "SshUsername": { - "type": "string" - } - }, - "required": [ - "IamUserArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ec2VolumeId": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StackId": { - "type": "string" - } - }, - "required": [ - "Ec2VolumeId", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "BackupId": { - "type": "string" - }, - "BackupRetentionCount": { - "type": "number" - }, - "CustomCertificate": { - "type": "string" - }, - "CustomDomain": { - "type": "string" - }, - "CustomPrivateKey": { - "type": "string" - }, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineAttributes": { - "items": { - "$ref": "#/definitions/AWS::OpsWorksCM::Server.EngineAttribute" - }, - "type": "array" - }, - "EngineModel": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "InstanceProfileArn": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KeyPair": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServerName": { - "type": "string" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorksCM::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server.EngineAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationInstanceIdToReplace": { - "type": "string" - }, - "DefaultRuntimeContextDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "ManifestOverridesPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestOverridesPayload" - }, - "ManifestPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestPayload" - }, - "Name": { - "type": "string" - }, - "RuntimeRoleArn": { - "type": "string" - }, - "StatusFilter": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DefaultRuntimeContextDevice", - "ManifestPayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::ApplicationInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestOverridesPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::Package": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PackageName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PackageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::Package" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::PackageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MarkLatest": { - "type": "boolean" - }, - "OwnerAccount": { - "type": "string" - }, - "PackageId": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "PatchVersion": { - "type": "string" - }, - "UpdatedLatestPatchVersion": { - "type": "string" - } - }, - "required": [ - "PackageId", - "PackageVersion", - "PatchVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::PackageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ADMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId", - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ADMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.CampaignHook" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.Limits" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.QuietTime" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ApplicationSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::BaiduChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationId", - "SecretKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::BaiduChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalTreatments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.WriteTreatmentResource" - }, - "type": "array" - }, - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignHook" - }, - "Description": { - "type": "string" - }, - "HoldoutPercent": { - "type": "number" - }, - "IsPaused": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Limits" - }, - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SegmentId": { - "type": "string" - }, - "SegmentVersion": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "MessageConfiguration", - "Name", - "Schedule", - "SegmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Campaign" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEmailMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "FromAddress": { - "type": "string" - }, - "HtmlBody": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEventFilter": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.EventDimensions" - }, - "FilterType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignInAppMessage": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignSmsMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "EntityId": { - "type": "string" - }, - "MessageType": { - "type": "string" - }, - "OriginationNumber": { - "type": "string" - }, - "SenderId": { - "type": "string" - }, - "TemplateId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.EventDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "EventType": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.SetDimension" - }, - "Metrics": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageBodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageButton": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageBodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageHeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageHeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Session": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Message": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageSmallIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "JsonBody": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "RawContent": { - "type": "string" - }, - "SilentPush": { - "type": "boolean" - }, - "TimeToLive": { - "type": "number" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MessageConfiguration": { - "additionalProperties": false, - "properties": { - "ADMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "APNSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "BaiduMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "DefaultMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "EmailMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEmailMessage" - }, - "GCMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "InAppMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignInAppMessage" - }, - "SMSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignSmsMessage" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MetricDimension": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.Schedule": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "EventFilter": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEventFilter" - }, - "Frequency": { - "type": "string" - }, - "IsLocalTime": { - "type": "boolean" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.QuietTime" - }, - "StartTime": { - "type": "string" - }, - "TimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.WriteTreatmentResource": { - "additionalProperties": false, - "properties": { - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SizePercent": { - "type": "number" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::EmailChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationSet": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "FromAddress": { - "type": "string" - }, - "Identity": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "FromAddress", - "Identity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EmailTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultSubstitutions": { - "type": "string" - }, - "HtmlPart": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "required": [ - "Subject", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EventStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "DestinationStreamArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "DestinationStreamArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EventStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::GCMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApiKey", - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::GCMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::InAppTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.BodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.ButtonConfig": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.HeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.BodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.HeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ADM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "APNS": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate" - }, - "Baidu": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Default": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "GCM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::PushTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "SmallImageIconUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::SMSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SenderId": { - "type": "string" - }, - "ShortCode": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SMSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "Name": { - "type": "string" - }, - "SegmentGroups": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentGroups" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "ApplicationId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Segment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Behavior": { - "additionalProperties": false, - "properties": { - "Recency": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Recency" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Coordinates": { - "additionalProperties": false, - "properties": { - "Latitude": { - "type": "number" - }, - "Longitude": { - "type": "number" - } - }, - "required": [ - "Latitude", - "Longitude" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Demographic": { - "additionalProperties": false, - "properties": { - "AppVersion": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Channel": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "DeviceType": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Make": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Model": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Platform": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.GPSPoint": { - "additionalProperties": false, - "properties": { - "Coordinates": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Coordinates" - }, - "RangeInKilometers": { - "type": "number" - } - }, - "required": [ - "Coordinates", - "RangeInKilometers" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Groups": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "type": "array" - }, - "SourceSegments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SourceSegments" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Location": { - "additionalProperties": false, - "properties": { - "Country": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "GPSPoint": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.GPSPoint" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Recency": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "RecencyType": { - "type": "string" - } - }, - "required": [ - "Duration", - "RecencyType" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Behavior": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Behavior" - }, - "Demographic": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Demographic" - }, - "Location": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Location" - }, - "Metrics": { - "type": "object" - }, - "UserAttributes": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentGroups": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Groups" - }, - "type": "array" - }, - "Include": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SourceSegments": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::Pinpoint::SmsTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "Body", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SmsTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::VoiceChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::VoiceChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.DeliveryOptions" - }, - "Name": { - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.SendingOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.Tags" - }, - "type": "array" - }, - "TrackingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.TrackingOptions" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination" - }, - "EventDestinationName": { - "type": "string" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestinationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PinpointDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination" - }, - "SnsDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamArn": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamArn", - "IamRoleArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PoolName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool.Tags" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::DedicatedIpPool" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DkimSigningEnabled": { - "type": "boolean" - }, - "FeedbackForwardingEnabled": { - "type": "boolean" - }, - "MailFromAttributes": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.MailFromAttributes" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::Identity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::Identity.MailFromAttributes": { - "additionalProperties": false, - "properties": { - "BehaviorOnMxFailure": { - "type": "string" - }, - "MailFromDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QLDB::Ledger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "KmsKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionsMode": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PermissionsMode" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Ledger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExclusiveEndTime": { - "type": "string" - }, - "InclusiveStartTime": { - "type": "string" - }, - "KinesisConfiguration": { - "$ref": "#/definitions/AWS::QLDB::Stream.KinesisConfiguration" - }, - "LedgerName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InclusiveStartTime", - "KinesisConfiguration", - "LedgerName", - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream.KinesisConfiguration": { - "additionalProperties": false, - "properties": { - "AggregationEnabled": { - "type": "boolean" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnalysisId": { - "type": "string" - }, - "AwsAccountId": { - "type": "string" - }, - "Errors": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisError" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - } - }, - "required": [ - "AnalysisId", - "AwsAccountId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Analysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisError": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Sheet": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SheetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "DashboardId": { - "type": "string" - }, - "DashboardPublishOptions": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardPublishOptions" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "DashboardId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.AdHocFilteringOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardPublishOptions": { - "additionalProperties": false, - "properties": { - "AdHocFilteringOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.AdHocFilteringOption" - }, - "ExportToCSVOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ExportToCSVOption" - }, - "SheetControlsOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.SheetControlsOption" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.ExportToCSVOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.SheetControlsOption": { - "additionalProperties": false, - "properties": { - "VisibilityState": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "ColumnGroups": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnGroup" - }, - "type": "array" - }, - "ColumnLevelPermissionRules": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnLevelPermissionRule" - }, - "type": "array" - }, - "DataSetId": { - "type": "string" - }, - "FieldFolders": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FieldFolder" - } - }, - "type": "object" - }, - "ImportMode": { - "type": "string" - }, - "IngestionWaitPolicy": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.IngestionWaitPolicy" - }, - "LogicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTable" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ResourcePermission" - }, - "type": "array" - }, - "PhysicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.PhysicalTable" - } - }, - "type": "object" - }, - "RowLevelPermissionDataSet": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RowLevelPermissionDataSet" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CalculatedColumn": { - "additionalProperties": false, - "properties": { - "ColumnId": { - "type": "string" - }, - "ColumnName": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "ColumnId", - "ColumnName", - "Expression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CastColumnTypeOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "NewColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnType" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnDescription": { - "additionalProperties": false, - "properties": { - "Text": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnGroup": { - "additionalProperties": false, - "properties": { - "GeoSpatialColumnGroup": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.GeoSpatialColumnGroup" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnLevelPermissionRule": { - "additionalProperties": false, - "properties": { - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnTag": { - "additionalProperties": false, - "properties": { - "ColumnDescription": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnDescription" - }, - "ColumnGeographicRole": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.CreateColumnsOperation": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CalculatedColumn" - }, - "type": "array" - } - }, - "required": [ - "Columns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CustomSql": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "DataSourceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "Columns", - "DataSourceArn", - "Name", - "SqlQuery" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.FieldFolder": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.FilterOperation": { - "additionalProperties": false, - "properties": { - "ConditionExpression": { - "type": "string" - } - }, - "required": [ - "ConditionExpression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.GeoSpatialColumnGroup": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CountryCode": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Columns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.IngestionWaitPolicy": { - "additionalProperties": false, - "properties": { - "IngestionWaitTimeInHours": { - "type": "number" - }, - "WaitForSpiceIngestion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.InputColumn": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinInstruction": { - "additionalProperties": false, - "properties": { - "LeftJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "LeftOperand": { - "type": "string" - }, - "OnClause": { - "type": "string" - }, - "RightJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "RightOperand": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "LeftOperand", - "OnClause", - "RightOperand", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinKeyProperties": { - "additionalProperties": false, - "properties": { - "UniqueKey": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTable": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DataTransforms": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TransformOperation" - }, - "type": "array" - }, - "Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTableSource" - } - }, - "required": [ - "Alias", - "Source" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTableSource": { - "additionalProperties": false, - "properties": { - "JoinInstruction": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinInstruction" - }, - "PhysicalTableId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.OutputColumn": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.PhysicalTable": { - "additionalProperties": false, - "properties": { - "CustomSql": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CustomSql" - }, - "RelationalTable": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RelationalTable" - }, - "S3Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.S3Source" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ProjectOperation": { - "additionalProperties": false, - "properties": { - "ProjectedColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ProjectedColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RelationalTable": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "DataSourceArn", - "InputColumns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RenameColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "NewColumnName": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnName" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RowLevelPermissionDataSet": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FormatVersion": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "PermissionPolicy": { - "type": "string" - } - }, - "required": [ - "Arn", - "PermissionPolicy" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.S3Source": { - "additionalProperties": false, - "properties": { - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "UploadSettings": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.UploadSettings" - } - }, - "required": [ - "DataSourceArn", - "InputColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TagColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnTag" - }, - "type": "array" - } - }, - "required": [ - "ColumnName", - "Tags" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TransformOperation": { - "additionalProperties": false, - "properties": { - "CastColumnTypeOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CastColumnTypeOperation" - }, - "CreateColumnsOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CreateColumnsOperation" - }, - "FilterOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FilterOperation" - }, - "ProjectOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ProjectOperation" - }, - "RenameColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RenameColumnOperation" - }, - "TagColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TagColumnOperation" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.UploadSettings": { - "additionalProperties": false, - "properties": { - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "StartFromRow": { - "type": "number" - }, - "TextQualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "AwsAccountId": { - "type": "string" - }, - "Credentials": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceCredentials" - }, - "DataSourceId": { - "type": "string" - }, - "DataSourceParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "ErrorInfo": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceErrorInfo" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ResourcePermission" - }, - "type": "array" - }, - "SslProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SslProperties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "VpcConnectionProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.VpcConnectionProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonElasticsearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonOpenSearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AthenaParameters": { - "additionalProperties": false, - "properties": { - "WorkGroup": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraPostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.CredentialPair": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceCredentials": { - "additionalProperties": false, - "properties": { - "CopySourceArn": { - "type": "string" - }, - "CredentialPair": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.CredentialPair" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceErrorInfo": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceParameters": { - "additionalProperties": false, - "properties": { - "AmazonElasticsearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonElasticsearchParameters" - }, - "AmazonOpenSearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonOpenSearchParameters" - }, - "AthenaParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AthenaParameters" - }, - "AuroraParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraParameters" - }, - "AuroraPostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraPostgreSqlParameters" - }, - "MariaDbParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MariaDbParameters" - }, - "MySqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MySqlParameters" - }, - "OracleParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.OracleParameters" - }, - "PostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PostgreSqlParameters" - }, - "PrestoParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PrestoParameters" - }, - "RdsParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RdsParameters" - }, - "RedshiftParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RedshiftParameters" - }, - "S3Parameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.S3Parameters" - }, - "SnowflakeParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SnowflakeParameters" - }, - "SparkParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SparkParameters" - }, - "SqlServerParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SqlServerParameters" - }, - "TeradataParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.TeradataParameters" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.ManifestFileLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MariaDbParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MySqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.OracleParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PrestoParameters": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Catalog", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RdsParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "InstanceId": { - "type": "string" - } - }, - "required": [ - "Database", - "InstanceId" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RedshiftParameters": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.S3Parameters": { - "additionalProperties": false, - "properties": { - "ManifestFileLocation": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ManifestFileLocation" - } - }, - "required": [ - "ManifestFileLocation" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SnowflakeParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "Database", - "Host", - "Warehouse" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SparkParameters": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SqlServerParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SslProperties": { - "additionalProperties": false, - "properties": { - "DisableSsl": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.TeradataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.VpcConnectionProperties": { - "additionalProperties": false, - "properties": { - "VpcConnectionArn": { - "type": "string" - } - }, - "required": [ - "VpcConnectionArn" - ], - "type": "object" - }, - "AWS::QuickSight::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "SourceEntity", - "TemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Template.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Template.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceAnalysis": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceAnalysis": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceAnalysis" - }, - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::QuickSight::Theme": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "BaseThemeId": { - "type": "string" - }, - "Configuration": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ThemeConfiguration" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ResourcePermission" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "ThemeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Theme" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.BorderStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.DataColorPalette": { - "additionalProperties": false, - "properties": { - "Colors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmptyFillColor": { - "type": "string" - }, - "MinMaxGradient": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Font": { - "additionalProperties": false, - "properties": { - "FontFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.GutterStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.MarginStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.SheetStyle": { - "additionalProperties": false, - "properties": { - "Tile": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileStyle" - }, - "TileLayout": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileLayoutStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ThemeConfiguration": { - "additionalProperties": false, - "properties": { - "DataColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.DataColorPalette" - }, - "Sheet": { - "$ref": "#/definitions/AWS::QuickSight::Theme.SheetStyle" - }, - "Typography": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Typography" - }, - "UIColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.UIColorPalette" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileLayoutStyle": { - "additionalProperties": false, - "properties": { - "Gutter": { - "$ref": "#/definitions/AWS::QuickSight::Theme.GutterStyle" - }, - "Margin": { - "$ref": "#/definitions/AWS::QuickSight::Theme.MarginStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileStyle": { - "additionalProperties": false, - "properties": { - "Border": { - "$ref": "#/definitions/AWS::QuickSight::Theme.BorderStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Typography": { - "additionalProperties": false, - "properties": { - "FontFamilies": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Font" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.UIColorPalette": { - "additionalProperties": false, - "properties": { - "Accent": { - "type": "string" - }, - "AccentForeground": { - "type": "string" - }, - "Danger": { - "type": "string" - }, - "DangerForeground": { - "type": "string" - }, - "Dimension": { - "type": "string" - }, - "DimensionForeground": { - "type": "string" - }, - "Measure": { - "type": "string" - }, - "MeasureForeground": { - "type": "string" - }, - "PrimaryBackground": { - "type": "string" - }, - "PrimaryForeground": { - "type": "string" - }, - "SecondaryBackground": { - "type": "string" - }, - "SecondaryForeground": { - "type": "string" - }, - "Success": { - "type": "string" - }, - "SuccessForeground": { - "type": "string" - }, - "Warning": { - "type": "string" - }, - "WarningForeground": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RAM::ResourceShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RAM::ResourceShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BacktrackWindow": { - "type": "number" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SecondsUntilAutoPause": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::RDS::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedStorage": { - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "number" - }, - "MonitoringInterval": { - "type": "number" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "number" - }, - "Port": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "type": "number" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Auth": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "DebugLogging": { - "type": "boolean" - }, - "EngineFamily": { - "type": "string" - }, - "IdleClientTimeout": { - "type": "number" - }, - "RequireTLS": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Auth", - "DBProxyName", - "EngineFamily", - "RoleArn", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy.AuthFormat": { - "additionalProperties": false, - "properties": { - "AuthScheme": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IAMAuth": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxy.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBProxyEndpointName": { - "type": "string" - }, - "DBProxyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" - }, - "type": "array" - }, - "TargetRole": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBProxyEndpointName", - "DBProxyName", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionPoolConfigurationInfo": { - "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" - }, - "DBClusterIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBInstanceIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "TargetGroupName": { - "type": "string" - } - }, - "required": [ - "DBProxyName", - "TargetGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyTargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { - "additionalProperties": false, - "properties": { - "ConnectionBorrowTimeout": { - "type": "number" - }, - "InitQuery": { - "type": "string" - }, - "MaxConnectionsPercent": { - "type": "number" - }, - "MaxIdleConnectionsPercent": { - "type": "number" - }, - "SessionPinningFilters": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" - }, - "type": "array" - }, - "EC2VpcId": { - "type": "string" - }, - "GroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSecurityGroupIngress", - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "DBSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "DBSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::GlobalCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::GlobalCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EngineName": { - "type": "string" - }, - "MajorEngineVersion": { - "type": "string" - }, - "OptionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" - }, - "type": "array" - }, - "OptionGroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EngineName", - "MajorEngineVersion", - "OptionConfigurations", - "OptionGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::OptionGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionConfiguration": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OptionName": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" - }, - "type": "array" - }, - "OptionVersion": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "VpcSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OptionName" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionSetting": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RUM::AppMonitor": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppMonitorConfiguration": { - "$ref": "#/definitions/AWS::RUM::AppMonitor.AppMonitorConfiguration" - }, - "CwLogEnabled": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RUM::AppMonitor" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RUM::AppMonitor.AppMonitorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCookies": { - "type": "boolean" - }, - "EnableXRay": { - "type": "boolean" - }, - "ExcludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FavoritePages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GuestRoleArn": { - "type": "string" - }, - "IdentityPoolId": { - "type": "string" - }, - "IncludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SessionSampleRate": { - "type": "number" - }, - "Telemetries": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowVersionUpgrade": { - "type": "boolean" - }, - "AquaConfigurationStatus": { - "type": "string" - }, - "AutomatedSnapshotRetentionPeriod": { - "type": "number" - }, - "AvailabilityZone": { - "type": "string" - }, - "AvailabilityZoneRelocation": { - "type": "boolean" - }, - "AvailabilityZoneRelocationStatus": { - "type": "string" - }, - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterParameterGroupName": { - "type": "string" - }, - "ClusterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterSubnetGroupName": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "ClusterVersion": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DeferMaintenance": { - "type": "boolean" - }, - "DeferMaintenanceDuration": { - "type": "number" - }, - "DeferMaintenanceEndTime": { - "type": "string" - }, - "DeferMaintenanceStartTime": { - "type": "string" - }, - "DestinationRegion": { - "type": "string" - }, - "ElasticIp": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": { - "type": "string" - }, - "HsmConfigurationIdentifier": { - "type": "string" - }, - "IamRoles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LoggingProperties": { - "$ref": "#/definitions/AWS::Redshift::Cluster.LoggingProperties" - }, - "MaintenanceTrackName": { - "type": "string" - }, - "ManualSnapshotRetentionPeriod": { - "type": "number" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "OwnerAccount": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ResourceAction": { - "type": "string" - }, - "RevisionTarget": { - "type": "string" - }, - "RotateEncryptionKey": { - "type": "boolean" - }, - "SnapshotClusterIdentifier": { - "type": "string" - }, - "SnapshotCopyGrantName": { - "type": "string" - }, - "SnapshotCopyManual": { - "type": "boolean" - }, - "SnapshotCopyRetentionPeriod": { - "type": "number" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClusterType", - "DBName", - "MasterUserPassword", - "MasterUsername", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster.LoggingProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "ParameterGroupFamily": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup.Parameter" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "ParameterGroupFamily" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup.Parameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "ClusterSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "ClusterSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ResourceOwner": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EndpointName", - "VpcSecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAccess" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess.VpcSecurityGroup": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "VpcSecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::EndpointAuthorization": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Account": { - "type": "string" - }, - "ClusterIdentifier": { - "type": "string" - }, - "Force": { - "type": "boolean" - }, - "VpcIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Account", - "ClusterIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAuthorization" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Severity": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "SubscriptionName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "EndTime": { - "type": "string" - }, - "IamRole": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionDescription": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "TargetAction": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ScheduledActionType" - } - }, - "required": [ - "ScheduledActionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ScheduledAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.PauseClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResizeClusterMessage": { - "additionalProperties": false, - "properties": { - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResumeClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ScheduledActionType": { - "additionalProperties": false, - "properties": { - "PauseCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.PauseClusterMessage" - }, - "ResizeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResizeClusterMessage" - }, - "ResumeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResumeClusterMessage" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiGatewayProxy": { - "$ref": "#/definitions/AWS::RefactorSpaces::Application.ApiGatewayProxyInput" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProxyType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Application.ApiGatewayProxyInput": { - "additionalProperties": false, - "properties": { - "EndpointType": { - "type": "string" - }, - "StageName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFabricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "RouteType": { - "type": "string" - }, - "ServiceIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UriPathRoute": { - "$ref": "#/definitions/AWS::RefactorSpaces::Route.UriPathRouteInput" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier", - "ServiceIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route.UriPathRouteInput": { - "additionalProperties": false, - "properties": { - "ActivationState": { - "type": "string" - }, - "IncludeChildPaths": { - "type": "boolean" - }, - "Methods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "ActivationState" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EndpointType": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "LambdaEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.LambdaEndpointInput" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UrlEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.UrlEndpointInput" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.LambdaEndpointInput": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.UrlEndpointInput": { - "additionalProperties": false, - "properties": { - "HealthUrl": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::Rekognition::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Rekognition::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppTemplateBody": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResiliencyPolicyArn": { - "type": "string" - }, - "ResourceMappings": { - "items": { - "$ref": "#/definitions/AWS::ResilienceHub::App.ResourceMapping" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AppTemplateBody", - "Name", - "ResourceMappings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.PhysicalResourceId": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "AwsRegion": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Identifier", - "Type" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.ResourceMapping": { - "additionalProperties": false, - "properties": { - "LogicalStackName": { - "type": "string" - }, - "MappingType": { - "type": "string" - }, - "PhysicalResourceId": { - "$ref": "#/definitions/AWS::ResilienceHub::App.PhysicalResourceId" - }, - "ResourceName": { - "type": "string" - } - }, - "required": [ - "MappingType", - "PhysicalResourceId" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLocationConstraint": { - "type": "string" - }, - "Policy": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy" - } - }, - "type": "object" - }, - "PolicyDescription": { - "type": "string" - }, - "PolicyName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tier": { - "type": "string" - } - }, - "required": [ - "Policy", - "PolicyName", - "Tier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::ResiliencyPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy": { - "additionalProperties": false, - "properties": { - "RpoInSecs": { - "type": "number" - }, - "RtoInSecs": { - "type": "number" - } - }, - "required": [ - "RpoInSecs", - "RtoInSecs" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationItem" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceQuery": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ResourceQuery" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResourceGroups::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationItem": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.Query": { - "additionalProperties": false, - "properties": { - "ResourceTypeFilters": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackIdentifier": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ResourceQuery": { - "additionalProperties": false, - "properties": { - "Query": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.Query" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RoboMaker::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RoboMaker::Robot": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "Fleet": { - "type": "string" - }, - "GreengrassGroupId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Architecture", - "GreengrassGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Robot" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.RobotSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "Sources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Environment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingEngine": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RenderingEngine" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite" - }, - "SimulationSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "SimulationSoftwareSuite" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RenderingEngine": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::DNSSEC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "HostedZoneId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::DNSSEC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckConfig": { - "type": "object" - }, - "HealthCheckTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" - }, - "type": "array" - } - }, - "required": [ - "HealthCheckConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HealthCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck.HealthCheckTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HostedZone" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCId", - "VPCRegion" - ], - "type": "object" - }, - "AWS::Route53::KeySigningKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - }, - "KeyManagementServiceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "HostedZoneId", - "KeyManagementServiceArn", - "Name", - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::KeySigningKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "RecordSets": { - "items": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup.RecordSet": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster.ClusterEndpoint": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryControl::ControlPanel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::ControlPanel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::RoutingControl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "ControlPanelArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::RoutingControl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssertionRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.AssertionRule" - }, - "ControlPanelArn": { - "type": "string" - }, - "GatingRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.GatingRule" - }, - "Name": { - "type": "string" - }, - "RuleConfig": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.RuleConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ControlPanelArn", - "Name", - "RuleConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::SafetyRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.AssertionRule": { - "additionalProperties": false, - "properties": { - "AssertedControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "AssertedControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.GatingRule": { - "additionalProperties": false, - "properties": { - "GatingControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TargetControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "GatingControls", - "TargetControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.RuleConfig": { - "additionalProperties": false, - "properties": { - "Inverted": { - "type": "boolean" - }, - "Threshold": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Inverted", - "Threshold", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::Cell": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CellName": { - "type": "string" - }, - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CellName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::Cell" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ReadinessCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReadinessCheckName": { - "type": "string" - }, - "ResourceSetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ReadinessCheckName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ReadinessCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::RecoveryGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RecoveryGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::RecoveryGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceSetName": { - "type": "string" - }, - "ResourceSetType": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.Resource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceSetName", - "ResourceSetType", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ResourceSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneArn": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - }, - "RecordType": { - "type": "string" - }, - "TargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.TargetResource" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.NLBResource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.Resource": { - "additionalProperties": false, - "properties": { - "ComponentId": { - "type": "string" - }, - "DnsTargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource" - }, - "ReadinessScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.TargetResource": { - "additionalProperties": false, - "properties": { - "NLBResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.NLBResource" - }, - "R53Resource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord" - } - }, - "type": "object" - }, - "AWS::Route53Resolver::FirewallDomainList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainFileUrl": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallDomainList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRules": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup.FirewallRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup.FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "BlockOverrideDnsType": { - "type": "string" - }, - "BlockOverrideDomain": { - "type": "string" - }, - "BlockOverrideTtl": { - "type": "number" - }, - "BlockResponse": { - "type": "string" - }, - "FirewallDomainListId": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Action", - "FirewallDomainListId", - "Priority" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRuleGroupId": { - "type": "string" - }, - "MutationProtection": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallRuleGroupId", - "Priority", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutodefinedReverseFlag": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "AutodefinedReverseFlag", - "ResourceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverDNSSECConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverDNSSECConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "IpAddresses": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Direction", - "IpAddresses", - "SecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResolverQueryLogConfigId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResolverEndpointId": { - "type": "string" - }, - "RuleType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetIps": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule.TargetAddress" - }, - "type": "array" - } - }, - "required": [ - "DomainName", - "RuleType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule.TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRuleAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "VPCId": { - "type": "string" - } - }, - "required": [ - "ResolverRuleId", - "VPCId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRuleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "PolicyStatus": { - "type": "object" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerateConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" - }, - "AccessControl": { - "type": "string" - }, - "AnalyticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" - }, - "type": "array" - }, - "BucketEncryption": { - "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" - }, - "BucketName": { - "type": "string" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" - }, - "IntelligentTieringConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" - }, - "type": "array" - }, - "InventoryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" - }, - "type": "array" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" - }, - "MetricsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" - }, - "ObjectLockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" - }, - "ObjectLockEnabled": { - "type": "boolean" - }, - "OwnershipControls": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" - }, - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" - }, - "WebsiteConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccelerateConfiguration": { - "additionalProperties": false, - "properties": { - "AccelerationStatus": { - "type": "string" - } - }, - "required": [ - "AccelerationStatus" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccessControlTranslation": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" - } - }, - "required": [ - "Owner" - ], - "type": "object" - }, - "AWS::S3::Bucket.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "StorageClassAnalysis": { - "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id", - "StorageClassAnalysis" - ], - "type": "object" - }, - "AWS::S3::Bucket.BucketEncryption": { - "additionalProperties": false, - "properties": { - "ServerSideEncryptionConfiguration": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" - }, - "type": "array" - } - }, - "required": [ - "ServerSideEncryptionConfiguration" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "CorsRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" - }, - "type": "array" - } - }, - "required": [ - "CorsRules" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Id": { - "type": "string" - }, - "MaxAge": { - "type": "number" - } - }, - "required": [ - "AllowedMethods", - "AllowedOrigins" - ], - "type": "object" - }, - "AWS::S3::Bucket.DataExport": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "OutputSchemaVersion": { - "type": "string" - } - }, - "required": [ - "Destination", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::Bucket.DefaultRetention": { - "additionalProperties": false, - "properties": { - "Days": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "Years": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.DeleteMarkerReplication": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Destination": { - "additionalProperties": false, - "properties": { - "BucketAccountId": { - "type": "string" - }, - "BucketArn": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketArn", - "Format" - ], - "type": "object" - }, - "AWS::S3::Bucket.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicaKmsKeyID": { - "type": "string" - } - }, - "required": [ - "ReplicaKmsKeyID" - ], - "type": "object" - }, - "AWS::S3::Bucket.EventBridgeConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.FilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.IntelligentTieringConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Tierings": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Tiering" - }, - "type": "array" - } - }, - "required": [ - "Id", - "Status", - "Tierings" - ], - "type": "object" - }, - "AWS::S3::Bucket.InventoryConfiguration": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "Enabled": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "IncludedObjectVersions": { - "type": "string" - }, - "OptionalFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Prefix": { - "type": "string" - }, - "ScheduleFrequency": { - "type": "string" - } - }, - "required": [ - "Destination", - "Enabled", - "Id", - "IncludedObjectVersions", - "ScheduleFrequency" - ], - "type": "object" - }, - "AWS::S3::Bucket.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Function": { - "type": "string" - } - }, - "required": [ - "Event", - "Function" - ], - "type": "object" - }, - "AWS::S3::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationBucketName": { - "type": "string" - }, - "LogFilePrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Metrics": { - "additionalProperties": false, - "properties": { - "EventThreshold": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.MetricsConfiguration": { - "additionalProperties": false, - "properties": { - "AccessPointArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionExpiration": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "NoncurrentDays": { - "type": "number" - } - }, - "required": [ - "NoncurrentDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionTransition": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "StorageClass": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass", - "TransitionInDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" - }, - "LambdaConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" - }, - "type": "array" - }, - "QueueConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" - }, - "type": "array" - }, - "TopicConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockConfiguration": { - "additionalProperties": false, - "properties": { - "ObjectLockEnabled": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockRule": { - "additionalProperties": false, - "properties": { - "DefaultRetention": { - "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControls": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControlsRule": { - "additionalProperties": false, - "properties": { - "ObjectOwnership": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.QueueConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Event", - "Queue" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectAllRequestsTo": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "HostName" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectRule": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "HttpRedirectCode": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ReplaceKeyPrefixWith": { - "type": "string" - }, - "ReplaceKeyWith": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicaModifications": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Role": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Role", - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "AccessControlTranslation": { - "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" - }, - "Account": { - "type": "string" - }, - "Bucket": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" - }, - "Metrics": { - "$ref": "#/definitions/AWS::S3::Bucket.Metrics" - }, - "ReplicationTime": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" - }, - "StorageClass": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRule": { - "additionalProperties": false, - "properties": { - "DeleteMarkerReplication": { - "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" - }, - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "SourceSelectionCriteria": { - "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Destination", - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleAndOperator": { - "additionalProperties": false, - "properties": { - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleFilter": { - "additionalProperties": false, - "properties": { - "And": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" - }, - "Prefix": { - "type": "string" - }, - "TagFilter": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTime": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "Time": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - } - }, - "required": [ - "Status", - "Time" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTimeValue": { - "additionalProperties": false, - "properties": { - "Minutes": { - "type": "number" - } - }, - "required": [ - "Minutes" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRule": { - "additionalProperties": false, - "properties": { - "RedirectRule": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" - }, - "RoutingRuleCondition": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" - } - }, - "required": [ - "RedirectRule" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRuleCondition": { - "additionalProperties": false, - "properties": { - "HttpErrorCodeReturnedEquals": { - "type": "string" - }, - "KeyPrefixEquals": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "NoncurrentVersionExpiration": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" - }, - "NoncurrentVersionExpirationInDays": { - "type": "number" - }, - "NoncurrentVersionTransition": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "NoncurrentVersionTransitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "type": "array" - }, - "ObjectSizeGreaterThan": { - "type": "number" - }, - "ObjectSizeLessThan": { - "type": "number" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Transition": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "Transitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "type": "array" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionByDefault": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyID": { - "type": "string" - }, - "SSEAlgorithm": { - "type": "string" - } - }, - "required": [ - "SSEAlgorithm" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionRule": { - "additionalProperties": false, - "properties": { - "BucketKeyEnabled": { - "type": "boolean" - }, - "ServerSideEncryptionByDefault": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SourceSelectionCriteria": { - "additionalProperties": false, - "properties": { - "ReplicaModifications": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" - }, - "SseKmsEncryptedObjects": { - "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SseKmsEncryptedObjects": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.StorageClassAnalysis": { - "additionalProperties": false, - "properties": { - "DataExport": { - "$ref": "#/definitions/AWS::S3::Bucket.DataExport" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.Tiering": { - "additionalProperties": false, - "properties": { - "AccessTier": { - "type": "string" - }, - "Days": { - "type": "number" - } - }, - "required": [ - "AccessTier", - "Days" - ], - "type": "object" - }, - "AWS::S3::Bucket.TopicConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "Event", - "Topic" - ], - "type": "object" - }, - "AWS::S3::Bucket.Transition": { - "additionalProperties": false, - "properties": { - "StorageClass": { - "type": "string" - }, - "TransitionDate": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass" - ], - "type": "object" - }, - "AWS::S3::Bucket.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.WebsiteConfiguration": { - "additionalProperties": false, - "properties": { - "ErrorDocument": { - "type": "string" - }, - "IndexDocument": { - "type": "string" - }, - "RedirectAllRequestsTo": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" - }, - "RoutingRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.Region": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MrapName": { - "type": "string" - }, - "Policy": { - "type": "object" - } - }, - "required": [ - "MrapName", - "Policy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "StorageLensConfiguration": { - "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "StorageLensConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::StorageLens" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens.AccountLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "BucketLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" - } - }, - "required": [ - "BucketLevel" - ], - "type": "object" - }, - "AWS::S3::StorageLens.ActivityMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.AwsOrg": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::S3::StorageLens.BucketLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "PrefixLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.BucketsAndRegions": { - "additionalProperties": false, - "properties": { - "Buckets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Regions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.CloudWatchMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "required": [ - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3::StorageLens.DataExport": { - "additionalProperties": false, - "properties": { - "CloudWatchMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" - }, - "S3BucketDestination": { - "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.Encryption": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevel": { - "additionalProperties": false, - "properties": { - "StorageMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" - } - }, - "required": [ - "StorageMetrics" - ], - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - }, - "SelectionCriteria": { - "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.S3BucketDestination": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" - }, - "Format": { - "type": "string" - }, - "OutputSchemaVersion": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "AccountId", - "Arn", - "Format", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::StorageLens.SelectionCriteria": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - }, - "MaxDepth": { - "type": "number" - }, - "MinStorageBytesPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.StorageLensConfiguration": { - "additionalProperties": false, - "properties": { - "AccountLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" - }, - "AwsOrg": { - "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" - }, - "DataExport": { - "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" - }, - "Exclude": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "Id": { - "type": "string" - }, - "Include": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "IsEnabled": { - "type": "boolean" - }, - "StorageLensArn": { - "type": "string" - } - }, - "required": [ - "AccountLevel", - "Id", - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ObjectLambdaConfiguration": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration" - } - }, - "required": [ - "ObjectLambdaConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedFeatures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "SupportingAccessPoint": { - "type": "string" - }, - "TransformationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SupportingAccessPoint", - "TransformationConfigurations" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentTransformation": { - "type": "object" - } - }, - "required": [ - "Actions", - "ContentTransformation" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ObjectLambdaAccessPoint": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "ObjectLambdaAccessPoint", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket", - "Name", - "VpcConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.LifecycleConfiguration" - }, - "OutpostId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "BucketName", - "OutpostId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "Filter": { - "type": "object" - }, - "Id": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessType": { - "type": "string" - }, - "CustomerOwnedIpv4Pool": { - "type": "string" - }, - "OutpostId": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "OutpostId", - "SecurityGroupId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint.NetworkInterface": { - "additionalProperties": false, - "properties": { - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "NetworkInterfaceId" - ], - "type": "object" - }, - "AWS::SDB::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SDB::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.EventDestination" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamARN": { - "type": "string" - }, - "IAMRoleARN": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamARN", - "IAMRoleARN" - ], - "type": "object" - }, - "AWS::SES::ContactList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactListName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Topics": { - "items": { - "$ref": "#/definitions/AWS::SES::ContactList.Topic" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ContactList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ContactList.Topic": { - "additionalProperties": false, - "properties": { - "DefaultSubscriptionStatus": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "TopicName": { - "type": "string" - } - }, - "required": [ - "DefaultSubscriptionStatus", - "DisplayName", - "TopicName" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Filter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.Filter" - } - }, - "required": [ - "Filter" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.Filter": { - "additionalProperties": false, - "properties": { - "IpFilter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.IpFilter" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "IpFilter" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.IpFilter": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Policy": { - "type": "string" - } - }, - "required": [ - "Cidr", - "Policy" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "After": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Rule" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "Rule", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Action": { - "additionalProperties": false, - "properties": { - "AddHeaderAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.AddHeaderAction" - }, - "BounceAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.BounceAction" - }, - "LambdaAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.LambdaAction" - }, - "S3Action": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.S3Action" - }, - "SNSAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.SNSAction" - }, - "StopAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.StopAction" - }, - "WorkmailAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.WorkmailAction" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.AddHeaderAction": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" - } - }, - "required": [ - "HeaderName", - "HeaderValue" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.BounceAction": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Sender": { - "type": "string" - }, - "SmtpReplyCode": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Message", - "Sender", - "SmtpReplyCode" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "InvocationType": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Rule": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Action" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Recipients": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScanEnabled": { - "type": "boolean" - }, - "TlsPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.SNSAction": { - "additionalProperties": false, - "properties": { - "Encoding": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.StopAction": { - "additionalProperties": false, - "properties": { - "Scope": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Scope" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.WorkmailAction": { - "additionalProperties": false, - "properties": { - "OrganizationArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "OrganizationArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleSetName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Template": { - "$ref": "#/definitions/AWS::SES::Template.Template" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template.Template": { - "additionalProperties": false, - "properties": { - "HtmlPart": { - "type": "string" - }, - "SubjectPart": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SNS::Subscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryPolicy": { - "type": "object" - }, - "Endpoint": { - "type": "string" - }, - "FilterPolicy": { - "type": "object" - }, - "Protocol": { - "type": "string" - }, - "RawMessageDelivery": { - "type": "boolean" - }, - "RedrivePolicy": { - "type": "object" - }, - "Region": { - "type": "string" - }, - "SubscriptionRoleArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Protocol", - "TopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Subscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SNS::Topic": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DisplayName": { - "type": "string" - }, - "FifoTopic": { - "type": "boolean" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "Subscription": { - "items": { - "$ref": "#/definitions/AWS::SNS::Topic.Subscription" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Topic" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SNS::Topic.Subscription": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Protocol" - ], - "type": "object" - }, - "AWS::SNS::TopicPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Topics" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::TopicPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SQS::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DeduplicationScope": { - "type": "string" - }, - "DelaySeconds": { - "type": "number" - }, - "FifoQueue": { - "type": "boolean" - }, - "FifoThroughputLimit": { - "type": "string" - }, - "KmsDataKeyReusePeriodSeconds": { - "type": "number" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "MaximumMessageSize": { - "type": "number" - }, - "MessageRetentionPeriod": { - "type": "number" - }, - "QueueName": { - "type": "string" - }, - "ReceiveMessageWaitTimeSeconds": { - "type": "number" - }, - "RedriveAllowPolicy": { - "type": "object" - }, - "RedrivePolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SQS::QueuePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Queues" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::QueuePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplyOnlyAtCronInterval": { - "type": "boolean" - }, - "AssociationName": { - "type": "string" - }, - "AutomationTargetParameterName": { - "type": "string" - }, - "CalendarNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ComplianceSeverity": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OutputLocation": { - "$ref": "#/definitions/AWS::SSM::Association.InstanceAssociationOutputLocation" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "ScheduleExpression": { - "type": "string" - }, - "SyncCompliance": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::Association.Target" - }, - "type": "array" - }, - "WaitForSuccessTimeoutSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Association" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association.InstanceAssociationOutputLocation": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/AWS::SSM::Association.S3OutputLocation" - } - }, - "type": "object" - }, - "AWS::SSM::Association.S3OutputLocation": { - "additionalProperties": false, - "properties": { - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "OutputS3Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::Association.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::Document": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attachments": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.AttachmentsSource" - }, - "type": "array" - }, - "Content": { - "type": "object" - }, - "DocumentFormat": { - "type": "string" - }, - "DocumentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Requires": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.DocumentRequires" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "VersionName": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Document" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Document.AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::Document.DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Cutoff": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Duration": { - "type": "number" - }, - "EndDate": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleTimezone": { - "type": "string" - }, - "StartDate": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AllowUnassociatedTargets", - "Cutoff", - "Duration", - "Name", - "Schedule" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerInformation": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget.Targets" - }, - "type": "array" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "Targets", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget.Targets": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CutoffBehavior": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.LoggingInfo" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ServiceRoleArn": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.Target" - }, - "type": "array" - }, - "TaskArn": { - "type": "string" - }, - "TaskInvocationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters" - }, - "TaskParameters": { - "type": "object" - }, - "TaskType": { - "type": "string" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "Priority", - "TaskArn", - "TaskType", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.LoggingInfo": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { - "type": "string" - } - }, - "required": [ - "Region", - "S3Bucket" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters": { - "additionalProperties": false, - "properties": { - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters": { - "additionalProperties": false, - "properties": { - "ClientContext": { - "type": "string" - }, - "Payload": { - "type": "string" - }, - "Qualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "DocumentHash": { - "type": "string" - }, - "DocumentHashType": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.NotificationConfig" - }, - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TimeoutSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.NotificationConfig": { - "additionalProperties": false, - "properties": { - "NotificationArn": { - "type": "string" - }, - "NotificationEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NotificationType": { - "type": "string" - } - }, - "required": [ - "NotificationArn" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters": { - "additionalProperties": false, - "properties": { - "MaintenanceWindowAutomationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters" - }, - "MaintenanceWindowLambdaParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters" - }, - "MaintenanceWindowRunCommandParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters" - }, - "MaintenanceWindowStepFunctionsParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters" - } - }, - "type": "object" - }, - "AWS::SSM::Parameter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policies": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Tier": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Parameter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApprovalRules": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.RuleGroup" - }, - "ApprovedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ApprovedPatchesComplianceLevel": { - "type": "string" - }, - "ApprovedPatchesEnableNonSecurity": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "GlobalFilters": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - }, - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "PatchGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatchesAction": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchSource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::PatchBaseline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilterGroup": { - "additionalProperties": false, - "properties": { - "PatchFilters": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchSource": { - "additionalProperties": false, - "properties": { - "Configuration": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Products": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchStringDate": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::SSM::PatchBaseline.Rule": { - "additionalProperties": false, - "properties": { - "ApproveAfterDays": { - "type": "number" - }, - "ApproveUntilDate": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchStringDate" - }, - "ComplianceLevel": { - "type": "string" - }, - "EnableNonSecurity": { - "type": "boolean" - }, - "PatchFilterGroup": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.RuleGroup": { - "additionalProperties": false, - "properties": { - "PatchRules": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::ResourceDataSync": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "required": [ - "SyncName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::ResourceDataSync" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceRegions", - "SourceType" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Plan": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Stage" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Alias", - "DisplayName", - "Plan", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::Contact" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ChannelTargetInfo": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - }, - "RetryIntervalInMinutes": { - "type": "number" - } - }, - "required": [ - "ChannelId", - "RetryIntervalInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ContactTargetInfo": { - "additionalProperties": false, - "properties": { - "ContactId": { - "type": "string" - }, - "IsEssential": { - "type": "boolean" - } - }, - "required": [ - "ContactId", - "IsEssential" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Stage": { - "additionalProperties": false, - "properties": { - "DurationInMinutes": { - "type": "number" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Targets" - }, - "type": "array" - } - }, - "required": [ - "DurationInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Targets": { - "additionalProperties": false, - "properties": { - "ChannelTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ChannelTargetInfo" - }, - "ContactTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ContactTargetInfo" - } - }, - "type": "object" - }, - "AWS::SSMContacts::ContactChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelAddress": { - "type": "string" - }, - "ChannelName": { - "type": "string" - }, - "ChannelType": { - "type": "string" - }, - "ContactId": { - "type": "string" - }, - "DeferActivation": { - "type": "boolean" - } - }, - "required": [ - "ChannelAddress", - "ChannelName", - "ChannelType", - "ContactId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::ContactChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtected": { - "type": "boolean" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.ReplicationRegion" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ReplicationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.RegionConfiguration": { - "additionalProperties": false, - "properties": { - "SseKmsKeyId": { - "type": "string" - } - }, - "required": [ - "SseKmsKeyId" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.ReplicationRegion": { - "additionalProperties": false, - "properties": { - "RegionConfiguration": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.RegionConfiguration" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.Action" - }, - "type": "array" - }, - "ChatChannel": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.ChatChannel" - }, - "DisplayName": { - "type": "string" - }, - "Engagements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncidentTemplate": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.IncidentTemplate" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IncidentTemplate", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ResponsePlan" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.Action": { - "additionalProperties": false, - "properties": { - "SsmAutomation": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmAutomation" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.ChatChannel": { - "additionalProperties": false, - "properties": { - "ChatbotSns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.IncidentTemplate": { - "additionalProperties": false, - "properties": { - "DedupeString": { - "type": "string" - }, - "Impact": { - "type": "number" - }, - "NotificationTargets": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.NotificationTargetItem" - }, - "type": "array" - }, - "Summary": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "required": [ - "Impact", - "Title" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.NotificationTargetItem": { - "additionalProperties": false, - "properties": { - "SnsTopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmAutomation": { - "additionalProperties": false, - "properties": { - "DocumentName": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmParameter" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TargetAccount": { - "type": "string" - } - }, - "required": [ - "DocumentName", - "RoleArn" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSO::Assignment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "PermissionSetArn": { - "type": "string" - }, - "PrincipalId": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "PermissionSetArn", - "PrincipalId", - "PrincipalType", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::Assignment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessControlAttributes": { - "items": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute" - }, - "type": "array" - }, - "InstanceArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::InstanceAccessControlAttributeConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue": { - "additionalProperties": false, - "properties": { - "Source": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::SSO::PermissionSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InlinePolicy": { - "type": "object" - }, - "InstanceArn": { - "type": "string" - }, - "ManagedPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RelayStateType": { - "type": "string" - }, - "SessionDuration": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::PermissionSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppName": { - "type": "string" - }, - "AppType": { - "type": "string" - }, - "DomainId": { - "type": "string" - }, - "ResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::App.ResourceSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - } - }, - "required": [ - "AppName", - "AppType", - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "KernelGatewayImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AppImageConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::AppImageConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "DefaultGid": { - "type": "number" - }, - "DefaultUid": { - "type": "number" - }, - "MountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig": { - "additionalProperties": false, - "properties": { - "FileSystemConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.FileSystemConfig" - }, - "KernelSpecs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelSpec" - }, - "type": "array" - } - }, - "required": [ - "KernelSpecs" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelSpec": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeRepositoryName": { - "type": "string" - }, - "GitConfig": { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository.GitConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GitConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::CodeRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository.GitConfig": { - "additionalProperties": false, - "properties": { - "Branch": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification" - }, - "DataQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig" - }, - "DataQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput" - }, - "DataQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig" - }, - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataQualityAppSpecification", - "DataQualityJobInput", - "DataQualityJobOutputConfig", - "JobResources", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DataQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "object" - }, - "DeviceFleetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Device.Device": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceName": { - "type": "string" - }, - "IotThingName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceFleetName": { - "type": "string" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet.EdgeOutputConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName", - "OutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DeviceFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet.EdgeOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "S3OutputLocation": { - "type": "string" - } - }, - "required": [ - "S3OutputLocation" - ], - "type": "object" - }, - "AWS::SageMaker::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppNetworkAccessType": { - "type": "string" - }, - "AuthMode": { - "type": "string" - }, - "DefaultUserSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.UserSettings" - }, - "DomainName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultUserSettings", - "DomainName", - "SubnetIds", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Domain.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeploymentConfig": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.DeploymentConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ExcludeRetainedVariantProperties": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.VariantProperty" - }, - "type": "array" - }, - "RetainAllVariantProperties": { - "type": "boolean" - }, - "RetainDeploymentConfig": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.AutoRollbackConfig": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.Alarm" - }, - "type": "array" - } - }, - "required": [ - "Alarms" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy": { - "additionalProperties": false, - "properties": { - "MaximumExecutionTimeoutInSeconds": { - "type": "number" - }, - "TerminationWaitInSeconds": { - "type": "number" - }, - "TrafficRoutingConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.TrafficRoutingConfig" - } - }, - "required": [ - "TrafficRoutingConfiguration" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.CapacitySize": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.DeploymentConfig": { - "additionalProperties": false, - "properties": { - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.AutoRollbackConfig" - }, - "BlueGreenUpdatePolicy": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy" - } - }, - "required": [ - "BlueGreenUpdatePolicy" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.TrafficRoutingConfig": { - "additionalProperties": false, - "properties": { - "CanarySize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "LinearStepSize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "Type": { - "type": "string" - }, - "WaitIntervalInSeconds": { - "type": "number" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.VariantProperty": { - "additionalProperties": false, - "properties": { - "VariantPropertyType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AsyncInferenceConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceConfig" - }, - "DataCaptureConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.DataCaptureConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "ProductionVariants": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ProductionVariant" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProductionVariants" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::EndpointConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrentInvocationsPerInstance": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceConfig": { - "additionalProperties": false, - "properties": { - "ClientConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig" - } - }, - "required": [ - "OutputConfig" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig": { - "additionalProperties": false, - "properties": { - "ErrorTopic": { - "type": "string" - }, - "SuccessTopic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig" - }, - "S3OutputPath": { - "type": "string" - } - }, - "required": [ - "S3OutputPath" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader": { - "additionalProperties": false, - "properties": { - "CsvContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "JsonContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureOption": { - "additionalProperties": false, - "properties": { - "CaptureMode": { - "type": "string" - } - }, - "required": [ - "CaptureMode" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.DataCaptureConfig": { - "additionalProperties": false, - "properties": { - "CaptureContentTypeHeader": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader" - }, - "CaptureOptions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureOption" - }, - "type": "array" - }, - "DestinationS3Uri": { - "type": "string" - }, - "EnableCapture": { - "type": "boolean" - }, - "InitialSamplingPercentage": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CaptureOptions", - "DestinationS3Uri", - "InitialSamplingPercentage" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ProductionVariant": { - "additionalProperties": false, - "properties": { - "AcceleratorType": { - "type": "string" - }, - "InitialInstanceCount": { - "type": "number" - }, - "InitialVariantWeight": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "ServerlessConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ServerlessConfig" - }, - "VariantName": { - "type": "string" - } - }, - "required": [ - "InitialVariantWeight", - "ModelName", - "VariantName" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ServerlessConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrency": { - "type": "number" - }, - "MemorySizeInMB": { - "type": "number" - } - }, - "required": [ - "MaxConcurrency", - "MemorySizeInMB" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventTimeFeatureName": { - "type": "string" - }, - "FeatureDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup.FeatureDefinition" - }, - "type": "array" - }, - "FeatureGroupName": { - "type": "string" - }, - "OfflineStoreConfig": { - "type": "object" - }, - "OnlineStoreConfig": { - "type": "object" - }, - "RecordIdentifierFeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EventTimeFeatureName", - "FeatureDefinitions", - "FeatureGroupName", - "RecordIdentifierFeatureName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::FeatureGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup.FeatureDefinition": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "FeatureType": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "FeatureType" - ], - "type": "object" - }, - "AWS::SageMaker::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ImageDescription": { - "type": "string" - }, - "ImageDisplayName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ImageName", - "ImageRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ImageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BaseImage": { - "type": "string" - }, - "ImageName": { - "type": "string" - } - }, - "required": [ - "BaseImage", - "ImageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ImageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Containers": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "type": "array" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "InferenceExecutionConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.InferenceExecutionConfig" - }, - "ModelName": { - "type": "string" - }, - "PrimaryContainer": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.VpcConfig" - } - }, - "required": [ - "ExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Model" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "ContainerHostname": { - "type": "string" - }, - "Environment": { - "type": "object" - }, - "Image": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.ImageConfig" - }, - "InferenceSpecificationName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "ModelDataUrl": { - "type": "string" - }, - "ModelPackageName": { - "type": "string" - }, - "MultiModelConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.MultiModelConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.ImageConfig": { - "additionalProperties": false, - "properties": { - "RepositoryAccessMode": { - "type": "string" - }, - "RepositoryAuthConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.RepositoryAuthConfig" - } - }, - "required": [ - "RepositoryAccessMode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.InferenceExecutionConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.MultiModelConfig": { - "additionalProperties": false, - "properties": { - "ModelCacheSetting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.RepositoryAuthConfig": { - "additionalProperties": false, - "properties": { - "RepositoryCredentialsProviderArn": { - "type": "string" - } - }, - "required": [ - "RepositoryCredentialsProviderArn" - ], - "type": "object" - }, - "AWS::SageMaker::Model.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources" - }, - "ModelBiasAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification" - }, - "ModelBiasBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig" - }, - "ModelBiasJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput" - }, - "ModelBiasJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelBiasAppSpecification", - "ModelBiasJobInput", - "ModelBiasJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelBiasJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources" - }, - "ModelExplainabilityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification" - }, - "ModelExplainabilityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig" - }, - "ModelExplainabilityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput" - }, - "ModelExplainabilityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelExplainabilityAppSpecification", - "ModelExplainabilityJobInput", - "ModelExplainabilityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelExplainabilityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelPackageGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModelPackageGroupDescription": { - "type": "string" - }, - "ModelPackageGroupName": { - "type": "string" - }, - "ModelPackageGroupPolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ModelPackageGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelPackageGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources" - }, - "ModelQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification" - }, - "ModelQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig" - }, - "ModelQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput" - }, - "ModelQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelQualityAppSpecification", - "ModelQualityJobInput", - "ModelQualityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "ProblemType": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri", - "ProblemType" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastMonitoringExecutionSummary": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary" - }, - "MonitoringScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "MonitoringScheduleStatus": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MonitoringScheduleConfig", - "MonitoringScheduleName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::MonitoringSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.BaselineConfig": { - "additionalProperties": false, - "properties": { - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary": { - "additionalProperties": false, - "properties": { - "CreationTime": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastModifiedTime": { - "type": "string" - }, - "MonitoringExecutionStatus": { - "type": "string" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "ProcessingJobArn": { - "type": "string" - }, - "ScheduledTime": { - "type": "string" - } - }, - "required": [ - "CreationTime", - "LastModifiedTime", - "MonitoringExecutionStatus", - "MonitoringScheduleName", - "ScheduledTime" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition": { - "additionalProperties": false, - "properties": { - "BaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.BaselineConfig" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MonitoringAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification" - }, - "MonitoringInputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringInput" - }, - "type": "array" - }, - "MonitoringOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig" - }, - "MonitoringResources": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StoppingCondition" - } - }, - "required": [ - "MonitoringAppSpecification", - "MonitoringInputs", - "MonitoringOutputConfig", - "MonitoringResources", - "RoleArn" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig": { - "additionalProperties": false, - "properties": { - "MonitoringJobDefinition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition" - }, - "MonitoringJobDefinitionName": { - "type": "string" - }, - "MonitoringType": { - "type": "string" - }, - "ScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ScheduleConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ScheduleConfig": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalCodeRepositories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DefaultCodeRepository": { - "type": "string" - }, - "DirectInternetAccess": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecycleConfigName": { - "type": "string" - }, - "NotebookInstanceName": { - "type": "string" - }, - "PlatformIdentifier": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "RootAccess": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceType", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NotebookInstanceLifecycleConfigName": { - "type": "string" - }, - "OnCreate": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - }, - "OnStart": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstanceLifecycleConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineDefinition": { - "type": "object" - }, - "PipelineDescription": { - "type": "string" - }, - "PipelineDisplayName": { - "type": "string" - }, - "PipelineName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineDefinition", - "PipelineName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "ServiceCatalogProvisioningDetails": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProjectName", - "ServiceCatalogProvisioningDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainId": { - "type": "string" - }, - "SingleSignOnUserIdentifier": { - "type": "string" - }, - "SingleSignOnUserValue": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - }, - "UserSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.UserSettings" - } - }, - "required": [ - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Workteam": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.MemberDefinition" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.NotificationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkteamName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Workteam" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.CognitoMemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoClientId": { - "type": "string" - }, - "CognitoUserGroup": { - "type": "string" - }, - "CognitoUserPool": { - "type": "string" - } - }, - "required": [ - "CognitoClientId", - "CognitoUserGroup", - "CognitoUserPool" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.MemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoMemberDefinition": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.CognitoMemberDefinition" - } - }, - "required": [ - "CognitoMemberDefinition" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "NotificationTopicArn": { - "type": "string" - } - }, - "required": [ - "NotificationTopicArn" - ], - "type": "object" - }, - "AWS::SecretsManager::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BlockPublicPolicy": { - "type": "boolean" - }, - "ResourcePolicy": { - "type": "object" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "ResourcePolicy", - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.HostedRotationLambda" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::RotationSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GenerateSecretString": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.GenerateSecretString" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicaRegions": { - "items": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.ReplicaRegion" - }, - "type": "array" - }, - "SecretString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::Secret" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SecretsManager::Secret.GenerateSecretString": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "ExcludeLowercase": { - "type": "boolean" - }, - "ExcludeNumbers": { - "type": "boolean" - }, - "ExcludePunctuation": { - "type": "boolean" - }, - "ExcludeUppercase": { - "type": "boolean" - }, - "GenerateStringKey": { - "type": "string" - }, - "IncludeSpace": { - "type": "boolean" - }, - "PasswordLength": { - "type": "number" - }, - "RequireEachIncludedType": { - "type": "boolean" - }, - "SecretStringTemplate": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret.ReplicaRegion": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::SecretsManager::SecretTargetAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SecretId": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "SecretId", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::SecretTargetAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecurityHub::Hub": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecurityHub::Hub" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::AcceptedPortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::AcceptedPortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Distributor": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "ProvisioningArtifactParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties" - }, - "type": "array" - }, - "ReplaceProvisioningArtifacts": { - "type": "boolean" - }, - "SupportDescription": { - "type": "string" - }, - "SupportEmail": { - "type": "string" - }, - "SupportUrl": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Owner", - "ProvisioningArtifactParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DisableTemplateValidation": { - "type": "boolean" - }, - "Info": { - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Info" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PathId": { - "type": "string" - }, - "PathName": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProvisionedProductName": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ProvisioningArtifactName": { - "type": "string" - }, - "ProvisioningParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter" - }, - "type": "array" - }, - "ProvisioningPreferences": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences": { - "additionalProperties": false, - "properties": { - "StackSetAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackSetFailureToleranceCount": { - "type": "number" - }, - "StackSetFailureTolerancePercentage": { - "type": "number" - }, - "StackSetMaxConcurrencyCount": { - "type": "number" - }, - "StackSetMaxConcurrencyPercentage": { - "type": "number" - }, - "StackSetOperationType": { - "type": "string" - }, - "StackSetRegions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ServiceCatalog::LaunchNotificationConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - } - }, - "required": [ - "NotificationArns", - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchNotificationConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchRoleConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocalRoleName": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchRoleConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchTemplateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "Rules": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchTemplateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::Portfolio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DisplayName", - "ProviderName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::Portfolio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "PrincipalARN": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "PrincipalARN", - "PrincipalType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioPrincipalAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioProductAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "SourcePortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioProductAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountId": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ShareTagOptions": { - "type": "boolean" - } - }, - "required": [ - "AccountId", - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ResourceUpdateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "TagUpdateOnProvisionedProduct": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "TagUpdateOnProvisionedProduct" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ResourceUpdateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Definition": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction.DefinitionParameter" - }, - "type": "array" - }, - "DefinitionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Definition", - "DefinitionType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction.DefinitionParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceActionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProductId": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ServiceActionId": { - "type": "string" - } - }, - "required": [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceActionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::StackSetConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdminRole": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ExecutionRole": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RegionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackInstanceControl": { - "type": "string" - } - }, - "required": [ - "AccountList", - "AdminRole", - "Description", - "ExecutionRole", - "PortfolioId", - "ProductId", - "RegionList", - "StackInstanceControl" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::StackSetConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Active": { - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOptionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - }, - "TagOptionId": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "TagOptionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOptionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Attributes", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "AttributeGroup": { - "type": "string" - } - }, - "required": [ - "Application", - "AttributeGroup" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::ResourceAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "Resource": { - "type": "string" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "Application", - "Resource", - "ResourceType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::ResourceAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::HttpNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::HttpNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceAttributes": { - "type": "object" - }, - "InstanceId": { - "type": "string" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "InstanceAttributes", - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Vpc": { - "type": "string" - } - }, - "required": [ - "Name", - "Vpc" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PrivateDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PublicDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DnsConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsConfig" - }, - "HealthCheckConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckConfig" - }, - "HealthCheckCustomConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckCustomConfig" - }, - "Name": { - "type": "string" - }, - "NamespaceId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsConfig": { - "additionalProperties": false, - "properties": { - "DnsRecords": { - "items": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsRecord" - }, - "type": "array" - }, - "NamespaceId": { - "type": "string" - }, - "RoutingPolicy": { - "type": "string" - } - }, - "required": [ - "DnsRecords" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsRecord": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TTL", - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - }, - "ResourcePath": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckCustomConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Signer::ProfilePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "ProfileName": { - "type": "string" - }, - "ProfileVersion": { - "type": "string" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "Action", - "Principal", - "ProfileName", - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::ProfilePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PlatformId": { - "type": "string" - }, - "SignatureValidityPeriod": { - "$ref": "#/definitions/AWS::Signer::SigningProfile.SignatureValidityPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PlatformId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::SigningProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile.SignatureValidityPeriod": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::StepFunctions::Activity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::Activity.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::Activity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::Activity.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.Definition" - }, - "DefinitionS3Location": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.S3Location" - }, - "DefinitionString": { - "type": "string" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LoggingConfiguration" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - }, - "StateMachineType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TagsEntry" - }, - "type": "array" - }, - "TracingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TracingConfiguration" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.Definition": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TracingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArtifactConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.ArtifactConfig" - }, - "ArtifactS3Location": { - "type": "string" - }, - "Code": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Code" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FailureRetentionPeriod": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RunConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.RunConfig" - }, - "RuntimeVersion": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Schedule" - }, - "StartCanaryAfterCreation": { - "type": "boolean" - }, - "SuccessRetentionPeriod": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VPCConfig" - }, - "VisualReference": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VisualReference" - } - }, - "required": [ - "ArtifactS3Location", - "Code", - "ExecutionRoleArn", - "Name", - "RuntimeVersion", - "Schedule", - "StartCanaryAfterCreation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Synthetics::Canary" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.ArtifactConfig": { - "additionalProperties": false, - "properties": { - "S3Encryption": { - "$ref": "#/definitions/AWS::Synthetics::Canary.S3Encryption" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.BaseScreenshot": { - "additionalProperties": false, - "properties": { - "IgnoreCoordinates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScreenshotName": { - "type": "string" - } - }, - "required": [ - "ScreenshotName" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.Code": { - "additionalProperties": false, - "properties": { - "Handler": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "required": [ - "Handler" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.RunConfig": { - "additionalProperties": false, - "properties": { - "ActiveTracing": { - "type": "boolean" - }, - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MemoryInMB": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.S3Encryption": { - "additionalProperties": false, - "properties": { - "EncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.Schedule": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "Expression" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VPCConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VisualReference": { - "additionalProperties": false, - "properties": { - "BaseCanaryRunId": { - "type": "string" - }, - "BaseScreenshots": { - "items": { - "$ref": "#/definitions/AWS::Synthetics::Canary.BaseScreenshot" - }, - "type": "array" - } - }, - "required": [ - "BaseCanaryRunId" - ], - "type": "object" - }, - "AWS::Timestream::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientToken": { - "type": "string" - }, - "ErrorReportConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ErrorReportConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.NotificationConfiguration" - }, - "QueryString": { - "type": "string" - }, - "ScheduleConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ScheduleConfiguration" - }, - "ScheduledQueryExecutionRoleArn": { - "type": "string" - }, - "ScheduledQueryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TargetConfiguration" - } - }, - "required": [ - "ErrorReportConfiguration", - "NotificationConfiguration", - "QueryString", - "ScheduleConfiguration", - "ScheduledQueryExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::ScheduledQuery" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.DimensionMapping": { - "additionalProperties": false, - "properties": { - "DimensionValueType": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DimensionValueType", - "Name" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ErrorReportConfiguration": { - "additionalProperties": false, - "properties": { - "S3Configuration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.S3Configuration" - } - }, - "required": [ - "S3Configuration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MixedMeasureMapping": { - "additionalProperties": false, - "properties": { - "MeasureName": { - "type": "string" - }, - "MeasureValueType": { - "type": "string" - }, - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMeasureName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping": { - "additionalProperties": false, - "properties": { - "MeasureValueType": { - "type": "string" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMultiMeasureAttributeName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType", - "SourceColumn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureMappings": { - "additionalProperties": false, - "properties": { - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "TargetMultiMeasureName": { - "type": "string" - } - }, - "required": [ - "MultiMeasureAttributeMappings" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "SnsConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.SnsConfiguration" - } - }, - "required": [ - "SnsConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "EncryptionOption": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ScheduleConfiguration": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.SnsConfiguration": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TargetConfiguration": { - "additionalProperties": false, - "properties": { - "TimestreamConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TimestreamConfiguration" - } - }, - "required": [ - "TimestreamConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TimestreamConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "DimensionMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.DimensionMapping" - }, - "type": "array" - }, - "MeasureNameColumn": { - "type": "string" - }, - "MixedMeasureMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MixedMeasureMapping" - }, - "type": "array" - }, - "MultiMeasureMappings": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureMappings" - }, - "TableName": { - "type": "string" - }, - "TimeColumn": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "DimensionMappings", - "TableName", - "TimeColumn" - ], - "type": "object" - }, - "AWS::Timestream::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "RetentionProperties": { - "type": "object" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Domain": { - "type": "string" - }, - "EndpointDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.EndpointDetails" - }, - "EndpointType": { - "type": "string" - }, - "IdentityProviderDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.IdentityProviderDetails" - }, - "IdentityProviderType": { - "type": "string" - }, - "LoggingRole": { - "type": "string" - }, - "ProtocolDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.ProtocolDetails" - }, - "Protocols": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.Protocol" - }, - "type": "array" - }, - "SecurityPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkflowDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetails" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Transfer::Server.EndpointDetails": { - "additionalProperties": false, - "properties": { - "AddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.IdentityProviderDetails": { - "additionalProperties": false, - "properties": { - "DirectoryId": { - "type": "string" - }, - "Function": { - "type": "string" - }, - "InvocationRole": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.Protocol": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Server.ProtocolDetails": { - "additionalProperties": false, - "properties": { - "PassiveIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetail": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "WorkflowId": { - "type": "string" - } - }, - "required": [ - "ExecutionRole", - "WorkflowId" - ], - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetails": { - "additionalProperties": false, - "properties": { - "OnUpload": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetail" - }, - "type": "array" - } - }, - "required": [ - "OnUpload" - ], - "type": "object" - }, - "AWS::Transfer::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HomeDirectory": { - "type": "string" - }, - "HomeDirectoryMappings": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.HomeDirectoryMapEntry" - }, - "type": "array" - }, - "HomeDirectoryType": { - "type": "string" - }, - "Policy": { - "type": "string" - }, - "PosixProfile": { - "$ref": "#/definitions/AWS::Transfer::User.PosixProfile" - }, - "Role": { - "type": "string" - }, - "ServerId": { - "type": "string" - }, - "SshPublicKeys": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.SshPublicKey" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Role", - "ServerId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::User.HomeDirectoryMapEntry": { - "additionalProperties": false, - "properties": { - "Entry": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Entry", - "Target" - ], - "type": "object" - }, - "AWS::Transfer::User.PosixProfile": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "SecondaryGids": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Uid": { - "type": "number" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::Transfer::User.SshPublicKey": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "OnExceptionSteps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Steps" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Workflow.WorkflowStep": { - "additionalProperties": false, - "properties": { - "CopyStepDetails": { - "type": "object" - }, - "CustomStepDetails": { - "type": "object" - }, - "DeleteStepDetails": { - "type": "object" - }, - "TagStepDetails": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAF::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAF::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAF::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAF::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name", - "SizeConstraints" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAF::WebACL.ActivatedRule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::WebACL.ActivatedRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAF::WebACL.WafAction": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name", - "XssMatchTuples" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GeoMatchConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::GeoMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MatchPredicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule.Predicate" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RateKey": { - "type": "string" - }, - "RateLimit": { - "type": "number" - } - }, - "required": [ - "MetricName", - "Name", - "RateKey", - "RateLimit" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RateBasedRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RegexPatternStrings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "RegexPatternStrings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Rule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Action": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Action", - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLId": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFv2::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "IPAddressVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoggingFilter": { - "type": "object" - }, - "RedactedFields": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration.FieldToMatch" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "LogDestinationConfigs", - "ResourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration.FieldToMatch": { - "additionalProperties": false, - "properties": { - "JsonBody": { - "type": "object" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RegularExpressionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RegularExpressionList", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.CustomResponseBody" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RuleAction" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "type": "object" - }, - "Block": { - "type": "object" - }, - "Count": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponseBody" - } - }, - "type": "object" - }, - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.DefaultAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponse" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "type": "string" - }, - "ResponseCode": { - "type": "number" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "VendorName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "object" - }, - "None": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleAction" - }, - "Name": { - "type": "string" - }, - "OverrideAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OverrideAction" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - }, - "Count": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CountAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::Assistant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssistantId": { - "type": "string" - }, - "Association": { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation.AssociationData" - }, - "AssociationType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssistantId", - "Association", - "AssociationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::AssistantAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation.AssociationData": { - "additionalProperties": false, - "properties": { - "KnowledgeBaseId": { - "type": "string" - } - }, - "required": [ - "KnowledgeBaseId" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KnowledgeBaseType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.RenderingConfiguration" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.SourceConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KnowledgeBaseType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::KnowledgeBase" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrationArn": { - "type": "string" - }, - "ObjectFields": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AppIntegrationArn", - "ObjectFields" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.RenderingConfiguration": { - "additionalProperties": false, - "properties": { - "TemplateUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrations": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConnectionString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::ConnectionAlias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation": { - "additionalProperties": false, - "properties": { - "AssociatedAccountId": { - "type": "string" - }, - "AssociationStatus": { - "type": "string" - }, - "ConnectionIdentifier": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::Workspace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BundleId": { - "type": "string" - }, - "DirectoryId": { - "type": "string" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - }, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "VolumeEncryptionKey": { - "type": "string" - }, - "WorkspaceProperties": { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace.WorkspaceProperties" - } - }, - "required": [ - "BundleId", - "DirectoryId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::Workspace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::Workspace.WorkspaceProperties": { - "additionalProperties": false, - "properties": { - "ComputeTypeName": { - "type": "string" - }, - "RootVolumeSizeGib": { - "type": "number" - }, - "RunningMode": { - "type": "string" - }, - "RunningModeAutoStopTimeoutInMinutes": { - "type": "number" - }, - "UserVolumeSizeGib": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterExpression": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "InsightsConfiguration": { - "$ref": "#/definitions/AWS::XRay::Group.InsightsConfiguration" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::Group.InsightsConfiguration": { - "additionalProperties": false, - "properties": { - "InsightsEnabled": { - "type": "boolean" - }, - "NotificationsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - }, - "SamplingRuleRecord": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleRecord" - }, - "SamplingRuleUpdate": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleUpdate" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::SamplingRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRule": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleRecord": { - "additionalProperties": false, - "properties": { - "CreatedAt": { - "type": "string" - }, - "ModifiedAt": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleUpdate": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/Alexa::ASK::Skill.AuthenticationConfiguration" - }, - "SkillPackage": { - "$ref": "#/definitions/Alexa::ASK::Skill.SkillPackage" - }, - "VendorId": { - "type": "string" - } - }, - "required": [ - "AuthenticationConfiguration", - "SkillPackage", - "VendorId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "Alexa::ASK::Skill" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "Alexa::ASK::Skill.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "required": [ - "ClientId", - "ClientSecret", - "RefreshToken" - ], - "type": "object" - }, - "Alexa::ASK::Skill.Overrides": { - "additionalProperties": false, - "properties": { - "Manifest": { - "type": "object" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill.SkillPackage": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/Alexa::ASK::Skill.Overrides" - }, - "S3Bucket": { - "type": "string" - }, - "S3BucketRole": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "AllowedValues": { - "type": "array" - }, - "ConstraintDescription": { - "type": "string" - }, - "Default": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MaxLength": { - "type": "string" - }, - "MaxValue": { - "type": "string" - }, - "MinLength": { - "type": "string" - }, - "MinValue": { - "type": "string" - }, - "NoEcho": { - "type": [ - "string", - "boolean" - ] - }, - "Type": { - "enum": [ - "String", - "Number", - "List\u003cNumber\u003e", - "CommaDelimitedList", - "AWS::EC2::AvailabilityZone::Name", - "AWS::EC2::Image::Id", - "AWS::EC2::Instance::Id", - "AWS::EC2::KeyPair::KeyName", - "AWS::EC2::SecurityGroup::GroupName", - "AWS::EC2::SecurityGroup::Id", - "AWS::EC2::Subnet::Id", - "AWS::EC2::Volume::Id", - "AWS::EC2::VPC::Id", - "AWS::Route53::HostedZone::Id", - "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "List\u003cAWS::EC2::Image::Id\u003e", - "List\u003cAWS::EC2::Instance::Id\u003e", - "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "List\u003cAWS::EC2::SecurityGroup::Id\u003e", - "List\u003cAWS::EC2::Subnet::Id\u003e", - "List\u003cAWS::EC2::Volume::Id\u003e", - "List\u003cAWS::EC2::VPC::Id\u003e", - "List\u003cAWS::Route53::HostedZone::Id\u003e", - "List\u003cString\u003e", - "AWS::SSM::Parameter::Name", - "AWS::SSM::Parameter::Value\u003cString\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "properties": { - "AWSTemplateFormatVersion": { - "enum": [ - "2010-09-09" - ], - "type": "string" - }, - "Conditions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Description": { - "description": "Template description", - "maxLength": 1024, - "type": "string" - }, - "Mappings": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Metadata": { - "type": "object" - }, - "Outputs": { - "additionalProperties": false, - "maxProperties": 60, - "minProperties": 1, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Parameters": { - "additionalProperties": false, - "maxProperties": 50, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/Parameter" - } - }, - "type": "object" - }, - "Resources": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::ACMPCA::Certificate" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthorityActivation" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::Permission" - }, - { - "$ref": "#/definitions/AWS::APS::RuleGroupsNamespace" - }, - { - "$ref": "#/definitions/AWS::APS::Workspace" - }, - { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Broker" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation" - }, - { - "$ref": "#/definitions/AWS::Amplify::App" - }, - { - "$ref": "#/definitions/AWS::Amplify::Branch" - }, - { - "$ref": "#/definitions/AWS::Amplify::Domain" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Account" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::BasePathMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ClientCertificate" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationVersion" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::GatewayResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Method" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RequestValidator" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Resource" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RestApi" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlanKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::VpcLink" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::IntegrationResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Route" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::RouteResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::VpcLink" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Application" - }, - { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Deployment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Environment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::HostedConfigurationVersion" - }, - { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile" - }, - { - "$ref": "#/definitions/AWS::AppFlow::Flow" - }, - { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration" - }, - { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Mesh" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Route" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualService" - }, - { - "$ref": "#/definitions/AWS::AppRunner::Service" - }, - { - "$ref": "#/definitions/AWS::AppStream::AppBlock" - }, - { - "$ref": "#/definitions/AWS::AppStream::Application" - }, - { - "$ref": "#/definitions/AWS::AppStream::ApplicationFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig" - }, - { - "$ref": "#/definitions/AWS::AppStream::Fleet" - }, - { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder" - }, - { - "$ref": "#/definitions/AWS::AppStream::Stack" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackUserAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::User" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiCache" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiKey" - }, - { - "$ref": "#/definitions/AWS::AppSync::DataSource" - }, - { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLSchema" - }, - { - "$ref": "#/definitions/AWS::AppSync::Resolver" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::ApplicationInsights::Application" - }, - { - "$ref": "#/definitions/AWS::Athena::DataCatalog" - }, - { - "$ref": "#/definitions/AWS::Athena::NamedQuery" - }, - { - "$ref": "#/definitions/AWS::Athena::PreparedStatement" - }, - { - "$ref": "#/definitions/AWS::Athena::WorkGroup" - }, - { - "$ref": "#/definitions/AWS::AuditManager::Assessment" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::WarmPool" - }, - { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupSelection" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupVault" - }, - { - "$ref": "#/definitions/AWS::Backup::Framework" - }, - { - "$ref": "#/definitions/AWS::Backup::ReportPlan" - }, - { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment" - }, - { - "$ref": "#/definitions/AWS::Batch::JobDefinition" - }, - { - "$ref": "#/definitions/AWS::Batch::JobQueue" - }, - { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy" - }, - { - "$ref": "#/definitions/AWS::Budgets::Budget" - }, - { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalyMonitor" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalySubscription" - }, - { - "$ref": "#/definitions/AWS::CE::CostCategory" - }, - { - "$ref": "#/definitions/AWS::CUR::ReportDefinition" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Keyspace" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Table" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Account" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Certificate" - }, - { - "$ref": "#/definitions/AWS::Chatbot::SlackChannelConfiguration" - }, - { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::CustomResource" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Macro" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Publisher" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Stack" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::StackSet" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Distribution" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Function" - }, - { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup" - }, - { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::PublicKey" - }, - { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig" - }, - { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution" - }, - { - "$ref": "#/definitions/AWS::CloudTrail::Trail" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Alarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Dashboard" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Domain" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::Project" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::SourceCredential" - }, - { - "$ref": "#/definitions/AWS::CodeCommit::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::Application" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruReviewer::RepositoryAssociation" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Webhook" - }, - { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository" - }, - { - "$ref": "#/definitions/AWS::CodeStarConnections::Connection" - }, - { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolGroup" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolIdentityProvider" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUICustomizationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUserToGroupAttachment" - }, - { - "$ref": "#/definitions/AWS::Config::AggregationAuthorization" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder" - }, - { - "$ref": "#/definitions/AWS::Config::ConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::DeliveryChannel" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration" - }, - { - "$ref": "#/definitions/AWS::Config::StoredQuery" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlow" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlowModule" - }, - { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation" - }, - { - "$ref": "#/definitions/AWS::Connect::QuickConnect" - }, - { - "$ref": "#/definitions/AWS::Connect::User" - }, - { - "$ref": "#/definitions/AWS::Connect::UserHierarchyGroup" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Domain" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType" - }, - { - "$ref": "#/definitions/AWS::DAX::Cluster" - }, - { - "$ref": "#/definitions/AWS::DAX::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DAX::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy" - }, - { - "$ref": "#/definitions/AWS::DMS::Certificate" - }, - { - "$ref": "#/definitions/AWS::DMS::Endpoint" - }, - { - "$ref": "#/definitions/AWS::DMS::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationInstance" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationTask" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Dataset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Job" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Project" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Recipe" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Ruleset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Schedule" - }, - { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::DataSync::Agent" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationEFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationFSxWindows" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationNFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationObjectStorage" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationS3" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationSMB" - }, - { - "$ref": "#/definitions/AWS::DataSync::Task" - }, - { - "$ref": "#/definitions/AWS::Detective::Graph" - }, - { - "$ref": "#/definitions/AWS::Detective::MemberInvitation" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBCluster" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBInstance" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::Table" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservation" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::CarrierGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::CustomerGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::DHCPOptions" - }, - { - "$ref": "#/definitions/AWS::EC2::EC2Fleet" - }, - { - "$ref": "#/definitions/AWS::EC2::EIP" - }, - { - "$ref": "#/definitions/AWS::EC2::EIPAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::FlowLog" - }, - { - "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::Host" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAM" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMAllocation" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMPool" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMScope" - }, - { - "$ref": "#/definitions/AWS::EC2::Instance" - }, - { - "$ref": "#/definitions/AWS::EC2::InternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::NatGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAcl" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterface" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" - }, - { - "$ref": "#/definitions/AWS::EC2::PlacementGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::PrefixList" - }, - { - "$ref": "#/definitions/AWS::EC2::Route" - }, - { - "$ref": "#/definitions/AWS::EC2::RouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::EC2::SpotFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::Subnet" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPC" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointService" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::Volume" - }, - { - "$ref": "#/definitions/AWS::EC2::VolumeAttachment" - }, - { - "$ref": "#/definitions/AWS::ECR::PublicRepository" - }, - { - "$ref": "#/definitions/AWS::ECR::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" - }, - { - "$ref": "#/definitions/AWS::ECR::Repository" - }, - { - "$ref": "#/definitions/AWS::ECS::CapacityProvider" - }, - { - "$ref": "#/definitions/AWS::ECS::Cluster" - }, - { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations" - }, - { - "$ref": "#/definitions/AWS::ECS::PrimaryTaskSet" - }, - { - "$ref": "#/definitions/AWS::ECS::Service" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskDefinition" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskSet" - }, - { - "$ref": "#/definitions/AWS::EFS::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::EFS::FileSystem" - }, - { - "$ref": "#/definitions/AWS::EFS::MountTarget" - }, - { - "$ref": "#/definitions/AWS::EKS::Addon" - }, - { - "$ref": "#/definitions/AWS::EKS::Cluster" - }, - { - "$ref": "#/definitions/AWS::EKS::FargateProfile" - }, - { - "$ref": "#/definitions/AWS::EKS::Nodegroup" - }, - { - "$ref": "#/definitions/AWS::EMR::Cluster" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::EMR::Step" - }, - { - "$ref": "#/definitions/AWS::EMR::Studio" - }, - { - "$ref": "#/definitions/AWS::EMR::StudioSessionMapping" - }, - { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::User" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::UserGroup" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" - }, - { - "$ref": "#/definitions/AWS::Elasticsearch::Domain" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Registry" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Schema" - }, - { - "$ref": "#/definitions/AWS::Events::ApiDestination" - }, - { - "$ref": "#/definitions/AWS::Events::Archive" - }, - { - "$ref": "#/definitions/AWS::Events::Connection" - }, - { - "$ref": "#/definitions/AWS::Events::EventBus" - }, - { - "$ref": "#/definitions/AWS::Events::EventBusPolicy" - }, - { - "$ref": "#/definitions/AWS::Events::Rule" - }, - { - "$ref": "#/definitions/AWS::Evidently::Experiment" - }, - { - "$ref": "#/definitions/AWS::Evidently::Feature" - }, - { - "$ref": "#/definitions/AWS::Evidently::Launch" - }, - { - "$ref": "#/definitions/AWS::Evidently::Project" - }, - { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" - }, - { - "$ref": "#/definitions/AWS::FMS::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::FMS::Policy" - }, - { - "$ref": "#/definitions/AWS::FSx::FileSystem" - }, - { - "$ref": "#/definitions/AWS::FinSpace::Environment" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Detector" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EntityType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EventType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Label" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Outcome" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Variable" - }, - { - "$ref": "#/definitions/AWS::GameLift::Alias" - }, - { - "$ref": "#/definitions/AWS::GameLift::Build" - }, - { - "$ref": "#/definitions/AWS::GameLift::Fleet" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingRuleSet" - }, - { - "$ref": "#/definitions/AWS::GameLift::Script" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Accelerator" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener" - }, - { - "$ref": "#/definitions/AWS::Glue::Classifier" - }, - { - "$ref": "#/definitions/AWS::Glue::Connection" - }, - { - "$ref": "#/definitions/AWS::Glue::Crawler" - }, - { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings" - }, - { - "$ref": "#/definitions/AWS::Glue::Database" - }, - { - "$ref": "#/definitions/AWS::Glue::DevEndpoint" - }, - { - "$ref": "#/definitions/AWS::Glue::Job" - }, - { - "$ref": "#/definitions/AWS::Glue::MLTransform" - }, - { - "$ref": "#/definitions/AWS::Glue::Partition" - }, - { - "$ref": "#/definitions/AWS::Glue::Registry" - }, - { - "$ref": "#/definitions/AWS::Glue::Schema" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersion" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersionMetadata" - }, - { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::Glue::Table" - }, - { - "$ref": "#/definitions/AWS::Glue::Trigger" - }, - { - "$ref": "#/definitions/AWS::Glue::Workflow" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::Group" - }, - { - "$ref": "#/definitions/AWS::Greengrass::GroupVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion" - }, - { - "$ref": "#/definitions/AWS::GroundStation::Config" - }, - { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Detector" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Filter" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::IPSet" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Master" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Member" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::ThreatIntelSet" - }, - { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore" - }, - { - "$ref": "#/definitions/AWS::IAM::AccessKey" - }, - { - "$ref": "#/definitions/AWS::IAM::Group" - }, - { - "$ref": "#/definitions/AWS::IAM::InstanceProfile" - }, - { - "$ref": "#/definitions/AWS::IAM::ManagedPolicy" - }, - { - "$ref": "#/definitions/AWS::IAM::OIDCProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::Policy" - }, - { - "$ref": "#/definitions/AWS::IAM::Role" - }, - { - "$ref": "#/definitions/AWS::IAM::SAMLProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::ServerCertificate" - }, - { - "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" - }, - { - "$ref": "#/definitions/AWS::IAM::User" - }, - { - "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" - }, - { - "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" - }, - { - "$ref": "#/definitions/AWS::IVS::Channel" - }, - { - "$ref": "#/definitions/AWS::IVS::PlaybackKeyPair" - }, - { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration" - }, - { - "$ref": "#/definitions/AWS::IVS::StreamKey" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Image" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTarget" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTemplate" - }, - { - "$ref": "#/definitions/AWS::Inspector::ResourceGroup" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Device" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Placement" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Project" - }, - { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration" - }, - { - "$ref": "#/definitions/AWS::IoT::Authorizer" - }, + "maxProperties": 60, + "minProperties": 1, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" + } + }, + "type": "object" + }, + "Parameters": { + "additionalProperties": false, + "maxProperties": 50, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/Parameter" + } + }, + "type": "object" + }, + "Resources": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "anyOf": [ { - "$ref": "#/definitions/AWS::IoT::Certificate" + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" }, { - "$ref": "#/definitions/AWS::IoT::CustomMetric" + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" }, { - "$ref": "#/definitions/AWS::IoT::Dimension" + "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" }, { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" }, { - "$ref": "#/definitions/AWS::IoT::FleetMetric" + "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" }, { - "$ref": "#/definitions/AWS::IoT::JobTemplate" + "$ref": "#/definitions/AWS::AutoScaling::WarmPool" }, { - "$ref": "#/definitions/AWS::IoT::Logging" + "$ref": "#/definitions/AWS::CloudFormation::CustomResource" }, { - "$ref": "#/definitions/AWS::IoT::MitigationAction" + "$ref": "#/definitions/AWS::CloudFormation::GuardHook" }, { - "$ref": "#/definitions/AWS::IoT::Policy" + "$ref": "#/definitions/AWS::CloudFormation::HookDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::PolicyPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::HookTypeConfig" }, { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate" + "$ref": "#/definitions/AWS::CloudFormation::HookVersion" }, { - "$ref": "#/definitions/AWS::IoT::ResourceSpecificLogging" + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook" }, { - "$ref": "#/definitions/AWS::IoT::ScheduledAudit" + "$ref": "#/definitions/AWS::CloudFormation::Macro" }, { - "$ref": "#/definitions/AWS::IoT::SecurityProfile" + "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::Thing" + "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" }, { - "$ref": "#/definitions/AWS::IoT::ThingPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" }, { - "$ref": "#/definitions/AWS::IoT::TopicRule" + "$ref": "#/definitions/AWS::CloudFormation::Publisher" }, { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination" + "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel" + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset" + "$ref": "#/definitions/AWS::CloudFormation::Stack" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore" + "$ref": "#/definitions/AWS::CloudFormation::StackSet" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline" + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" }, { - "$ref": "#/definitions/AWS::IoTCoreDeviceAdvisor::SuiteDefinition" + "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" }, { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel" + "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" }, { - "$ref": "#/definitions/AWS::IoTEvents::Input" + "$ref": "#/definitions/AWS::CloudWatch::Alarm" }, { - "$ref": "#/definitions/AWS::IoTFleetHub::Application" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy" + "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset" + "$ref": "#/definitions/AWS::CloudWatch::Dashboard" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel" + "$ref": "#/definitions/AWS::CloudWatch::InsightRule" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Dashboard" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway" + "$ref": "#/definitions/AWS::EC2::CapacityReservation" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Portal" + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Project" + "$ref": "#/definitions/AWS::EC2::CarrierGateway" }, { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate" + "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" }, { - "$ref": "#/definitions/AWS::IoTWireless::Destination" + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" }, { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile" + "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" }, { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask" + "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup" + "$ref": "#/definitions/AWS::EC2::CustomerGateway" }, { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount" + "$ref": "#/definitions/AWS::EC2::DHCPOptions" }, { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile" + "$ref": "#/definitions/AWS::EC2::EC2Fleet" }, { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition" + "$ref": "#/definitions/AWS::EC2::EIP" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice" + "$ref": "#/definitions/AWS::EC2::EIPAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway" + "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" }, { - "$ref": "#/definitions/AWS::KMS::Alias" + "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" }, { - "$ref": "#/definitions/AWS::KMS::Key" + "$ref": "#/definitions/AWS::EC2::FlowLog" }, { - "$ref": "#/definitions/AWS::KMS::ReplicaKey" + "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Kendra::DataSource" + "$ref": "#/definitions/AWS::EC2::Host" }, { - "$ref": "#/definitions/AWS::Kendra::Faq" + "$ref": "#/definitions/AWS::EC2::IPAM" }, { - "$ref": "#/definitions/AWS::Kendra::Index" + "$ref": "#/definitions/AWS::EC2::IPAMAllocation" }, { - "$ref": "#/definitions/AWS::Kinesis::Stream" + "$ref": "#/definitions/AWS::EC2::IPAMPool" }, { - "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" + "$ref": "#/definitions/AWS::EC2::IPAMPoolCidr" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscoveryAssociation" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::IPAMScope" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application" + "$ref": "#/definitions/AWS::EC2::Instance" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" + "$ref": "#/definitions/AWS::EC2::InstanceConnectEndpoint" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::InternetGateway" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::KeyPair" }, { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate" }, { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" }, { - "$ref": "#/definitions/AWS::LakeFormation::Permissions" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::LakeFormation::Resource" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::Alias" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" + "$ref": "#/definitions/AWS::EC2::NatGateway" }, { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" + "$ref": "#/definitions/AWS::EC2::NetworkAcl" }, { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" }, { - "$ref": "#/definitions/AWS::Lambda::Function" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersion" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScopeAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::Permission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" }, { - "$ref": "#/definitions/AWS::Lambda::Version" + "$ref": "#/definitions/AWS::EC2::NetworkInterface" }, { - "$ref": "#/definitions/AWS::LicenseManager::Grant" + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" }, { - "$ref": "#/definitions/AWS::LicenseManager::License" + "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" }, { - "$ref": "#/definitions/AWS::Lightsail::Database" + "$ref": "#/definitions/AWS::EC2::NetworkPerformanceMetricSubscription" }, { - "$ref": "#/definitions/AWS::Lightsail::Disk" + "$ref": "#/definitions/AWS::EC2::PlacementGroup" }, { - "$ref": "#/definitions/AWS::Lightsail::Instance" + "$ref": "#/definitions/AWS::EC2::PrefixList" }, { - "$ref": "#/definitions/AWS::Lightsail::StaticIp" + "$ref": "#/definitions/AWS::EC2::Route" }, { - "$ref": "#/definitions/AWS::Location::GeofenceCollection" + "$ref": "#/definitions/AWS::EC2::RouteTable" }, { - "$ref": "#/definitions/AWS::Location::Map" + "$ref": "#/definitions/AWS::EC2::SecurityGroup" }, { - "$ref": "#/definitions/AWS::Location::PlaceIndex" + "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" }, { - "$ref": "#/definitions/AWS::Location::RouteCalculator" + "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" }, { - "$ref": "#/definitions/AWS::Location::Tracker" + "$ref": "#/definitions/AWS::EC2::SecurityGroupVpcAssociation" }, { - "$ref": "#/definitions/AWS::Location::TrackerConsumer" + "$ref": "#/definitions/AWS::EC2::SnapshotBlockPublicAccess" }, { - "$ref": "#/definitions/AWS::Logs::Destination" + "$ref": "#/definitions/AWS::EC2::SpotFleet" }, { - "$ref": "#/definitions/AWS::Logs::LogGroup" + "$ref": "#/definitions/AWS::EC2::Subnet" }, { - "$ref": "#/definitions/AWS::Logs::LogStream" + "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" }, { - "$ref": "#/definitions/AWS::Logs::MetricFilter" + "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" }, { - "$ref": "#/definitions/AWS::Logs::QueryDefinition" + "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Logs::ResourcePolicy" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" }, { - "$ref": "#/definitions/AWS::Logs::SubscriptionFilter" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" }, { - "$ref": "#/definitions/AWS::LookoutEquipment::InferenceScheduler" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector" + "$ref": "#/definitions/AWS::EC2::TransitGateway" }, { - "$ref": "#/definitions/AWS::LookoutVision::Project" + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MSK::Cluster" + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" }, { - "$ref": "#/definitions/AWS::MWAA::Environment" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" }, { - "$ref": "#/definitions/AWS::Macie::CustomDataIdentifier" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" }, { - "$ref": "#/definitions/AWS::Macie::FindingsFilter" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" }, { - "$ref": "#/definitions/AWS::Macie::Session" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member" + "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" }, { - "$ref": "#/definitions/AWS::MediaConnect::Flow" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource" + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowVpcInterface" + "$ref": "#/definitions/AWS::EC2::VPC" }, { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessExclusion" }, { - "$ref": "#/definitions/AWS::MediaConvert::Preset" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessOptions" }, { - "$ref": "#/definitions/AWS::MediaConvert::Queue" + "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" }, { - "$ref": "#/definitions/AWS::MediaLive::Channel" + "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" }, { - "$ref": "#/definitions/AWS::MediaLive::Input" + "$ref": "#/definitions/AWS::EC2::VPCEndpoint" }, { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup" + "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" }, { - "$ref": "#/definitions/AWS::MediaPackage::Asset" + "$ref": "#/definitions/AWS::EC2::VPCEndpointService" }, { - "$ref": "#/definitions/AWS::MediaPackage::Channel" + "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" }, { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint" + "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration" + "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup" + "$ref": "#/definitions/AWS::EC2::VPNConnection" }, { - "$ref": "#/definitions/AWS::MediaStore::Container" + "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" }, { - "$ref": "#/definitions/AWS::MemoryDB::ACL" + "$ref": "#/definitions/AWS::EC2::VPNGateway" }, { - "$ref": "#/definitions/AWS::MemoryDB::Cluster" + "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" }, { - "$ref": "#/definitions/AWS::MemoryDB::ParameterGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint" }, { - "$ref": "#/definitions/AWS::MemoryDB::SubnetGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup" }, { - "$ref": "#/definitions/AWS::MemoryDB::User" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance" }, { - "$ref": "#/definitions/AWS::Neptune::DBCluster" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider" }, { - "$ref": "#/definitions/AWS::Neptune::DBClusterParameterGroup" + "$ref": "#/definitions/AWS::EC2::Volume" }, { - "$ref": "#/definitions/AWS::Neptune::DBInstance" + "$ref": "#/definitions/AWS::EC2::VolumeAttachment" }, { - "$ref": "#/definitions/AWS::Neptune::DBParameterGroup" + "$ref": "#/definitions/AWS::ECR::PublicRepository" }, { - "$ref": "#/definitions/AWS::Neptune::DBSubnetGroup" + "$ref": "#/definitions/AWS::ECR::PullThroughCacheRule" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall" + "$ref": "#/definitions/AWS::ECR::RegistryPolicy" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration" + "$ref": "#/definitions/AWS::ECR::Repository" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup" + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate" }, { - "$ref": "#/definitions/AWS::NetworkManager::CustomerGatewayAssociation" + "$ref": "#/definitions/AWS::EKS::AccessEntry" }, { - "$ref": "#/definitions/AWS::NetworkManager::Device" + "$ref": "#/definitions/AWS::EKS::Addon" }, { - "$ref": "#/definitions/AWS::NetworkManager::GlobalNetwork" + "$ref": "#/definitions/AWS::EKS::Cluster" }, { - "$ref": "#/definitions/AWS::NetworkManager::Link" + "$ref": "#/definitions/AWS::EKS::FargateProfile" }, { - "$ref": "#/definitions/AWS::NetworkManager::LinkAssociation" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig" }, { - "$ref": "#/definitions/AWS::NetworkManager::Site" + "$ref": "#/definitions/AWS::EKS::Nodegroup" }, { - "$ref": "#/definitions/AWS::NetworkManager::TransitGatewayRegistration" + "$ref": "#/definitions/AWS::EKS::PodIdentityAssociation" }, { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile" + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StreamingImage" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" }, { - "$ref": "#/definitions/AWS::NimbleStudio::Studio" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" }, { - "$ref": "#/definitions/AWS::OpenSearchService::Domain" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" }, { - "$ref": "#/definitions/AWS::OpsWorks::App" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" }, { - "$ref": "#/definitions/AWS::OpsWorks::ElasticLoadBalancerAttachment" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStore" }, { - "$ref": "#/definitions/AWS::OpsWorks::Instance" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation" }, { - "$ref": "#/definitions/AWS::OpsWorks::Layer" + "$ref": "#/definitions/AWS::Events::ApiDestination" }, { - "$ref": "#/definitions/AWS::OpsWorks::Stack" + "$ref": "#/definitions/AWS::Events::Archive" }, { - "$ref": "#/definitions/AWS::OpsWorks::UserProfile" + "$ref": "#/definitions/AWS::Events::Connection" }, { - "$ref": "#/definitions/AWS::OpsWorks::Volume" + "$ref": "#/definitions/AWS::Events::Endpoint" }, { - "$ref": "#/definitions/AWS::OpsWorksCM::Server" + "$ref": "#/definitions/AWS::Events::EventBus" }, { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance" + "$ref": "#/definitions/AWS::Events::EventBusPolicy" }, { - "$ref": "#/definitions/AWS::Panorama::Package" + "$ref": "#/definitions/AWS::Events::Rule" }, { - "$ref": "#/definitions/AWS::Panorama::PackageVersion" + "$ref": "#/definitions/AWS::IAM::AccessKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::ADMChannel" + "$ref": "#/definitions/AWS::IAM::Group" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSChannel" + "$ref": "#/definitions/AWS::IAM::GroupPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSSandboxChannel" + "$ref": "#/definitions/AWS::IAM::InstanceProfile" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipChannel" + "$ref": "#/definitions/AWS::IAM::ManagedPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipSandboxChannel" + "$ref": "#/definitions/AWS::IAM::OIDCProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::App" + "$ref": "#/definitions/AWS::IAM::Policy" }, { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings" + "$ref": "#/definitions/AWS::IAM::Role" }, { - "$ref": "#/definitions/AWS::Pinpoint::BaiduChannel" + "$ref": "#/definitions/AWS::IAM::RolePolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::Campaign" + "$ref": "#/definitions/AWS::IAM::SAMLProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailChannel" + "$ref": "#/definitions/AWS::IAM::ServerCertificate" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailTemplate" + "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" }, { - "$ref": "#/definitions/AWS::Pinpoint::EventStream" + "$ref": "#/definitions/AWS::IAM::User" }, { - "$ref": "#/definitions/AWS::Pinpoint::GCMChannel" + "$ref": "#/definitions/AWS::IAM::UserPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate" + "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" }, { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate" + "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" }, { - "$ref": "#/definitions/AWS::Pinpoint::SMSChannel" + "$ref": "#/definitions/AWS::KMS::Alias" }, { - "$ref": "#/definitions/AWS::Pinpoint::Segment" + "$ref": "#/definitions/AWS::KMS::Key" }, { - "$ref": "#/definitions/AWS::Pinpoint::SmsTemplate" + "$ref": "#/definitions/AWS::KMS::ReplicaKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::VoiceChannel" + "$ref": "#/definitions/AWS::Kinesis::ResourcePolicy" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet" + "$ref": "#/definitions/AWS::Kinesis::Stream" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination" + "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" }, { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool" + "$ref": "#/definitions/AWS::Lambda::Alias" }, { - "$ref": "#/definitions/AWS::PinpointEmail::Identity" + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Ledger" + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Stream" + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" }, { - "$ref": "#/definitions/AWS::QuickSight::Analysis" + "$ref": "#/definitions/AWS::Lambda::Function" }, { - "$ref": "#/definitions/AWS::QuickSight::Dashboard" + "$ref": "#/definitions/AWS::Lambda::LayerVersion" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSet" + "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSource" + "$ref": "#/definitions/AWS::Lambda::Permission" }, { - "$ref": "#/definitions/AWS::QuickSight::Template" + "$ref": "#/definitions/AWS::Lambda::Url" }, { - "$ref": "#/definitions/AWS::QuickSight::Theme" + "$ref": "#/definitions/AWS::Lambda::Version" }, { - "$ref": "#/definitions/AWS::RAM::ResourceShare" + "$ref": "#/definitions/AWS::RDS::CustomDBEngineVersion" }, { "$ref": "#/definitions/AWS::RDS::DBCluster" @@ -123837,6 +30896,9 @@ var CloudformationSchema = `{ { "$ref": "#/definitions/AWS::RDS::DBSecurityGroupIngress" }, + { + "$ref": "#/definitions/AWS::RDS::DBShardGroup" + }, { "$ref": "#/definitions/AWS::RDS::DBSubnetGroup" }, @@ -123847,79 +30909,22 @@ var CloudformationSchema = `{ "$ref": "#/definitions/AWS::RDS::GlobalCluster" }, { - "$ref": "#/definitions/AWS::RDS::OptionGroup" - }, - { - "$ref": "#/definitions/AWS::RUM::AppMonitor" - }, - { - "$ref": "#/definitions/AWS::Redshift::Cluster" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAccess" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAuthorization" - }, - { - "$ref": "#/definitions/AWS::Redshift::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Application" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Environment" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Route" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Service" - }, - { - "$ref": "#/definitions/AWS::Rekognition::Project" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::App" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy" - }, - { - "$ref": "#/definitions/AWS::ResourceGroups::Group" - }, - { - "$ref": "#/definitions/AWS::RoboMaker::Fleet" + "$ref": "#/definitions/AWS::RDS::Integration" }, { - "$ref": "#/definitions/AWS::RoboMaker::Robot" + "$ref": "#/definitions/AWS::RDS::OptionGroup" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::CRL" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplicationVersion" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplicationVersion" + "$ref": "#/definitions/AWS::Route53::CidrCollection" }, { "$ref": "#/definitions/AWS::Route53::DNSSEC" @@ -123940,58 +30945,13 @@ var CloudformationSchema = `{ "$ref": "#/definitions/AWS::Route53::RecordSetGroup" }, { - "$ref": "#/definitions/AWS::Route53RecoveryControl::Cluster" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::ControlPanel" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::RoutingControl" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::Cell" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ReadinessCheck" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::RecoveryGroup" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallDomainList" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverDNSSECConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint" + "$ref": "#/definitions/AWS::S3::AccessGrant" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfig" + "$ref": "#/definitions/AWS::S3::AccessGrantsInstance" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRuleAssociation" + "$ref": "#/definitions/AWS::S3::AccessGrantsLocation" }, { "$ref": "#/definitions/AWS::S3::AccessPoint" @@ -124012,46 +30972,7 @@ var CloudformationSchema = `{ "$ref": "#/definitions/AWS::S3::StorageLens" }, { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPointPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Bucket" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::BucketPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SDB::Domain" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSet" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination" - }, - { - "$ref": "#/definitions/AWS::SES::ContactList" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptFilter" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRule" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRuleSet" - }, - { - "$ref": "#/definitions/AWS::SES::Template" + "$ref": "#/definitions/AWS::S3::StorageLensGroup" }, { "$ref": "#/definitions/AWS::SNS::Subscription" @@ -124060,349 +30981,19 @@ var CloudformationSchema = `{ "$ref": "#/definitions/AWS::SNS::Topic" }, { - "$ref": "#/definitions/AWS::SNS::TopicPolicy" - }, - { - "$ref": "#/definitions/AWS::SQS::Queue" - }, - { - "$ref": "#/definitions/AWS::SQS::QueuePolicy" - }, - { - "$ref": "#/definitions/AWS::SSM::Association" - }, - { - "$ref": "#/definitions/AWS::SSM::Document" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindow" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask" - }, - { - "$ref": "#/definitions/AWS::SSM::Parameter" - }, - { - "$ref": "#/definitions/AWS::SSM::PatchBaseline" - }, - { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::Contact" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::ContactChannel" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan" - }, - { - "$ref": "#/definitions/AWS::SSO::Assignment" - }, - { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration" - }, - { - "$ref": "#/definitions/AWS::SSO::PermissionSet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::App" - }, - { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Device" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Domain" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Image" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ImageVersion" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Model" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelPackageGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstance" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Pipeline" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Project" - }, - { - "$ref": "#/definitions/AWS::SageMaker::UserProfile" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Workteam" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::ResourcePolicy" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::Secret" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::SecretTargetAttachment" - }, - { - "$ref": "#/definitions/AWS::SecurityHub::Hub" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::AcceptedPortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchNotificationConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchRoleConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchTemplateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::Portfolio" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioPrincipalAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioProductAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ResourceUpdateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceActionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::StackSetConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOption" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOptionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::Application" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroup" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::ResourceAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::HttpNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Instance" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service" - }, - { - "$ref": "#/definitions/AWS::Signer::ProfilePermission" - }, - { - "$ref": "#/definitions/AWS::Signer::SigningProfile" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::Activity" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine" - }, - { - "$ref": "#/definitions/AWS::Synthetics::Canary" - }, - { - "$ref": "#/definitions/AWS::Timestream::Database" - }, - { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery" - }, - { - "$ref": "#/definitions/AWS::Timestream::Table" - }, - { - "$ref": "#/definitions/AWS::Transfer::Server" - }, - { - "$ref": "#/definitions/AWS::Transfer::User" - }, - { - "$ref": "#/definitions/AWS::Transfer::Workflow" - }, - { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAF::Rule" - }, - { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAF::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::Rule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::Assistant" - }, - { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::ConnectionAlias" + "$ref": "#/definitions/AWS::SNS::TopicInlinePolicy" }, { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace" + "$ref": "#/definitions/AWS::SNS::TopicPolicy" }, { - "$ref": "#/definitions/AWS::XRay::Group" + "$ref": "#/definitions/AWS::SQS::Queue" }, { - "$ref": "#/definitions/AWS::XRay::SamplingRule" + "$ref": "#/definitions/AWS::SQS::QueueInlinePolicy" }, { - "$ref": "#/definitions/Alexa::ASK::Skill" + "$ref": "#/definitions/AWS::SQS::QueuePolicy" } ] } diff --git a/pkg/goformation/schema/cloudformation.schema.json b/pkg/goformation/schema/cloudformation.schema.json index 5662089a8c..1808485678 100644 --- a/pkg/goformation/schema/cloudformation.schema.json +++ b/pkg/goformation/schema/cloudformation.schema.json @@ -2,9 +2,12 @@ "$id": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { - "AWS::ACMPCA::Certificate": { + "AWS::AutoScaling::AutoScalingGroup": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -34,42 +37,154 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiPassthrough": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ApiPassthrough" + "AutoScalingGroupName": { + "type": "string" + }, + "AvailabilityZoneDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution" + }, + "AvailabilityZoneImpairmentPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CapacityRebalance": { + "type": "boolean" + }, + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification" + }, + "Context": { + "type": "string" + }, + "Cooldown": { + "type": "string" + }, + "DefaultInstanceWarmup": { + "type": "number" + }, + "DesiredCapacity": { + "type": "string" + }, + "DesiredCapacityType": { + "type": "string" }, - "CertificateAuthorityArn": { + "HealthCheckGracePeriod": { + "type": "number" + }, + "HealthCheckType": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "InstanceMaintenancePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy" + }, + "LaunchConfigurationName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" + }, + "LifecycleHookSpecificationList": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" + }, + "type": "array" + }, + "LoadBalancerNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxInstanceLifetime": { + "type": "number" + }, + "MaxSize": { "type": "string" }, - "CertificateSigningRequest": { + "MetricsCollection": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" + }, + "type": "array" + }, + "MinSize": { "type": "string" }, - "SigningAlgorithm": { + "MixedInstancesPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" + }, + "NewInstancesProtectedFromScaleIn": { + "type": "boolean" + }, + "NotificationConfigurations": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" + }, + "type": "array" + }, + "PlacementGroup": { "type": "string" }, - "TemplateArn": { + "ServiceLinkedRoleARN": { "type": "string" }, - "Validity": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "SkipZonalShiftValidation": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" + }, + "type": "array" + }, + "TargetGroupARNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TerminationPolicies": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TrafficSources": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier" + }, + "type": "array" }, - "ValidityNotBefore": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "VPCZoneIdentifier": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "CertificateAuthorityArn", - "CertificateSigningRequest", - "SigningAlgorithm", - "Validity" + "MaxSize", + "MinSize" ], "type": "object" }, "Type": { "enum": [ - "AWS::ACMPCA::Certificate" + "AWS::AutoScaling::AutoScalingGroup" ], "type": "string" }, + "UpdatePolicy": { + "type": "object" + }, "UpdateReplacePolicy": { "enum": [ "Delete", @@ -85,655 +200,523 @@ ], "type": "object" }, - "AWS::ACMPCA::Certificate.ApiPassthrough": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "Extensions": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Extensions" + "Max": { + "type": "number" }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.EdiPartyName": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "NameAssigner": { - "type": "string" + "Max": { + "type": "number" }, - "PartyName": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "NameAssigner", - "PartyName" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.ExtendedKeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution": { "additionalProperties": false, "properties": { - "ExtendedKeyUsageObjectIdentifier": { - "type": "string" - }, - "ExtendedKeyUsageType": { + "CapacityDistributionStrategy": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.Extensions": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy": { "additionalProperties": false, "properties": { - "CertificatePolicies": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyInformation" - }, - "type": "array" - }, - "ExtendedKeyUsage": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ExtendedKeyUsage" - }, - "type": "array" - }, - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.KeyUsage" + "ImpairedZoneHealthCheckBehavior": { + "type": "string" }, - "SubjectAlternativeNames": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.GeneralName" - }, - "type": "array" + "ZonalShiftEnabled": { + "type": "boolean" } }, + "required": [ + "ImpairedZoneHealthCheckBehavior", + "ZonalShiftEnabled" + ], "type": "object" }, - "AWS::ACMPCA::Certificate.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.EdiPartyName" - }, - "IpAddress": { - "type": "string" - }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.OtherName" - }, - "RegisteredId": { - "type": "string" - }, - "Rfc822Name": { - "type": "string" + "Max": { + "type": "number" }, - "UniformResourceIdentifier": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" - }, - "NonRepudiation": { - "type": "boolean" + "Cpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "TypeId": { + "CapacityReservationPreference": { "type": "string" }, - "Value": { - "type": "string" + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget" } }, "required": [ - "TypeId", - "Value" + "CapacityReservationPreference" ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyInformation": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "CertPolicyId": { - "type": "string" + "CapacityReservationIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "PolicyQualifiers": { + "CapacityReservationResourceGroupArns": { "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyQualifierInfo" + "type": "string" }, "type": "array" } }, - "required": [ - "CertPolicyId" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyQualifierInfo": { + "AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "PolicyQualifierId": { - "type": "string" - }, - "Qualifier": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Qualifier" + "References": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, - "required": [ - "PolicyQualifierId", - "Qualifier" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Qualifier": { + "AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy": { "additionalProperties": false, "properties": { - "CpsUri": { - "type": "string" + "MaxHealthyPercentage": { + "type": "number" + }, + "MinHealthyPercentage": { + "type": "number" } }, - "required": [ - "CpsUri" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Subject": { + "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "Country": { - "type": "string" + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "DistinguishedNameQualifier": { - "type": "string" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "GenerationQualifier": { - "type": "string" + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" }, - "GivenName": { - "type": "string" + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Initials": { - "type": "string" + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Locality": { + "BareMetal": { "type": "string" }, - "Organization": { - "type": "string" + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" }, - "OrganizationalUnit": { - "type": "string" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest" }, - "Pseudonym": { + "BurstablePerformance": { "type": "string" }, - "SerialNumber": { - "type": "string" + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "State": { - "type": "string" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Surname": { - "type": "string" + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::Certificate.Validity": { - "additionalProperties": false, - "properties": { - "Type": { + "LocalStorage": { "type": "string" }, - "Value": { + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" } }, "required": [ - "Type", - "Value" + "MemoryMiB", + "VCpuCount" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority": { + "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "OnDemandAllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "OnDemandBaseCapacity": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsrExtensions": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "KeyAlgorithm", - "SigningAlgorithm", - "Subject", - "Type" - ], - "type": "object" + "OnDemandPercentageAboveBaseCapacity": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthority" - ], + "SpotAllocationStrategy": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SpotInstancePools": { + "type": "number" + }, + "SpotMaxPrice": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessDescription": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { "additionalProperties": false, "properties": { - "AccessLocation": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.GeneralName" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "AccessMethod": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessMethod" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + }, + "type": "array" } }, "required": [ - "AccessLocation", - "AccessMethod" + "LaunchTemplateSpecification" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessMethod": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "AccessMethodType": { - "type": "string" + "InstanceRequirements": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" }, - "CustomObjectIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CustomCname": { + "InstanceType": { "type": "string" }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "number" - }, - "S3BucketName": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "S3ObjectAcl": { + "WeightedCapacity": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.CsrExtensions": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.KeyUsage" + "LaunchTemplateId": { + "type": "string" }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { + "LaunchTemplateName": { "type": "string" }, - "PartyName": { + "Version": { "type": "string" } }, "required": [ - "NameAssigner", - "PartyName" + "Version" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "DnsName": { + "DefaultResult": { "type": "string" }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.EdiPartyName" + "HeartbeatTimeout": { + "type": "number" }, - "IpAddress": { + "LifecycleHookName": { "type": "string" }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OtherName" + "LifecycleTransition": { + "type": "string" }, - "RegisteredId": { + "NotificationMetadata": { "type": "string" }, - "Rfc822Name": { + "NotificationTargetARN": { "type": "string" }, - "UniformResourceIdentifier": { + "RoleARN": { "type": "string" } }, + "required": [ + "LifecycleHookName", + "LifecycleTransition" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" + "Max": { + "type": "number" }, - "NonRepudiation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OcspConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Max": { + "type": "number" }, - "OcspCustomCname": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { "additionalProperties": false, "properties": { - "TypeId": { + "Granularity": { "type": "string" }, - "Value": { - "type": "string" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "TypeId", - "Value" + "Granularity" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { "additionalProperties": false, "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CrlConfiguration" + "InstancesDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" }, - "OcspConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OcspConfiguration" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" } }, + "required": [ + "LaunchTemplate" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.Subject": { + "AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" + "Max": { + "type": "number" }, - "GivenName": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "additionalProperties": false, + "properties": { + "NotificationTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Pseudonym": { + "TopicARN": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "TopicARN" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { "type": "string" - }, - "SerialNumber": { + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "State": { - "type": "string" + "PropagateAtLaunch": { + "type": "boolean" }, - "Surname": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "PropagateAtLaunch", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Title": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthorityActivation": { + "AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Identifier": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "CertificateAuthorityArn": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Certificate", - "CertificateAuthorityArn" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthorityActivation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Identifier", + "Type" ], "type": "object" }, - "AWS::ACMPCA::Permission": { + "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -765,108 +748,82 @@ "Properties": { "additionalProperties": false, "properties": { - "Actions": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" + }, + "type": "array" + }, + "ClassicLinkVPCId": { + "type": "string" + }, + "ClassicLinkVPCSecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "CertificateAuthorityArn": { + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { "type": "string" }, - "Principal": { + "ImageId": { "type": "string" }, - "SourceAccount": { + "InstanceId": { "type": "string" - } - }, - "required": [ - "Actions", - "CertificateAuthorityArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ACMPCA::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::APS::RuleGroupsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "InstanceMonitoring": { + "type": "boolean" + }, + "InstanceType": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Data": { + "KernelId": { "type": "string" }, - "Name": { + "KeyName": { "type": "string" }, - "Tags": { + "LaunchConfigurationName": { + "type": "string" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + }, + "PlacementTenancy": { + "type": "string" + }, + "RamDiskId": { + "type": "string" + }, + "SecurityGroups": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Workspace": { + "SpotPrice": { + "type": "string" + }, + "UserData": { "type": "string" } }, "required": [ - "Data", - "Name", - "Workspace" + "ImageId", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::APS::RuleGroupsNamespace" + "AWS::AutoScaling::LaunchConfiguration" ], "type": "string" }, @@ -885,74 +842,70 @@ ], "type": "object" }, - "AWS::APS::Workspace": { + "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Encrypted": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Iops": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlertManagerDefinition": { - "type": "string" - }, - "Alias": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" + "SnapshotId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::APS::Workspace" - ], + "Throughput": { + "type": "number" + }, + "VolumeSize": { + "type": "number" + }, + "VolumeType": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ebs": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" + }, + "NoDevice": { + "type": "boolean" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Type" + "DeviceName" ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer": { + "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { + "additionalProperties": false, + "properties": { + "HttpEndpoint": { + "type": "string" + }, + "HttpPutResponseHopLimit": { + "type": "number" + }, + "HttpTokens": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LifecycleHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -984,33 +937,40 @@ "Properties": { "additionalProperties": false, "properties": { - "AnalyzerName": { + "AutoScalingGroupName": { "type": "string" }, - "ArchiveRules": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.ArchiveRule" - }, - "type": "array" + "DefaultResult": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HeartbeatTimeout": { + "type": "number" }, - "Type": { + "LifecycleHookName": { + "type": "string" + }, + "LifecycleTransition": { + "type": "string" + }, + "NotificationMetadata": { + "type": "string" + }, + "NotificationTargetARN": { + "type": "string" + }, + "RoleARN": { "type": "string" } }, "required": [ - "Type" + "AutoScalingGroupName", + "LifecycleTransition" ], "type": "object" }, "Type": { "enum": [ - "AWS::AccessAnalyzer::Analyzer" + "AWS::AutoScaling::LifecycleHook" ], "type": "string" }, @@ -1029,59 +989,7 @@ ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer.ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.Filter" - }, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "AWS::AccessAnalyzer::Analyzer.Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmazonMQ::Broker": { + "AWS::AutoScaling::ScalingPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1113,88 +1021,51 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AdjustmentType": { "type": "string" }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "BrokerName": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.ConfigurationId" - }, - "DeploymentMode": { + "Cooldown": { "type": "string" }, - "EncryptionOptions": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.EncryptionOptions" + "EstimatedInstanceWarmup": { + "type": "number" }, - "EngineType": { + "MetricAggregationType": { "type": "string" }, - "EngineVersion": { - "type": "string" + "MinAdjustmentMagnitude": { + "type": "number" }, - "HostInstanceType": { + "PolicyType": { "type": "string" }, - "LdapServerMetadata": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LdapServerMetadata" - }, - "Logs": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LogList" - }, - "MaintenanceWindowStartTime": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.MaintenanceWindow" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageType": { - "type": "string" + "PredictiveScalingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ScalingAdjustment": { + "type": "number" }, - "Tags": { + "StepAdjustments": { "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.TagsEntry" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" }, "type": "array" }, - "Users": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.User" - }, - "type": "array" + "TargetTrackingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoMinorVersionUpgrade", - "BrokerName", - "DeploymentMode", - "EngineType", - "EngineVersion", - "HostInstanceType", - "PubliclyAccessible", - "Users" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Broker" + "AWS::AutoScaling::ScalingPolicy" ], "type": "string" }, @@ -1213,162 +1084,371 @@ ], "type": "object" }, - "AWS::AmazonMQ::Broker.ConfigurationId": { + "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { "additionalProperties": false, "properties": { - "Id": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery" + }, + "type": "array" + }, + "Namespace": { "type": "string" }, - "Revision": { + "Period": { "type": "number" + }, + "Statistic": { + "type": "string" + }, + "Unit": { + "type": "string" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::AmazonMQ::Broker.EncryptionOptions": { + "AWS::AutoScaling::ScalingPolicy.Metric": { "additionalProperties": false, "properties": { - "KmsKeyId": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "UseAwsOwnedKey": { - "type": "boolean" + "Namespace": { + "type": "string" } }, "required": [ - "UseAwsOwnedKey" + "MetricName", + "Namespace" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LdapServerMetadata": { + "AWS::AutoScaling::ScalingPolicy.MetricDataQuery": { "additionalProperties": false, "properties": { - "Hosts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleBase": { + "Expression": { "type": "string" }, - "RoleName": { + "Id": { "type": "string" }, - "RoleSearchMatching": { + "Label": { "type": "string" }, - "RoleSearchSubtree": { + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricStat" + }, + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricDimension": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" }, - "ServiceAccountPassword": { + "Value": { "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" }, - "ServiceAccountUsername": { + "Stat": { "type": "string" }, - "UserBase": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "UserRoleName": { + "ResourceLabel": { "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { + "additionalProperties": false, + "properties": { + "MaxCapacityBreachBehavior": { + "type": "string" + }, + "MaxCapacityBuffer": { + "type": "number" + }, + "MetricSpecifications": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + }, + "type": "array" }, - "UserSearchMatching": { + "Mode": { "type": "string" }, - "UserSearchSubtree": { - "type": "boolean" + "SchedulingBufferTime": { + "type": "number" } }, "required": [ - "Hosts", - "RoleBase", - "RoleSearchMatching", - "ServiceAccountPassword", - "ServiceAccountUsername", - "UserBase", - "UserSearchMatching" + "MetricSpecifications" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LogList": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric": { "additionalProperties": false, "properties": { - "Audit": { - "type": "boolean" + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { + "additionalProperties": false, + "properties": { + "CustomizedCapacityMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric" }, - "General": { - "type": "boolean" + "CustomizedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric" + }, + "CustomizedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric" + }, + "PredefinedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" + }, + "PredefinedMetricPairSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" + }, + "PredefinedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" + }, + "TargetValue": { + "type": "number" } }, + "required": [ + "TargetValue" + ], "type": "object" }, - "AWS::AmazonMQ::Broker.MaintenanceWindow": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { "additionalProperties": false, "properties": { - "DayOfWeek": { + "PredefinedMetricType": { "type": "string" }, - "TimeOfDay": { + "ResourceLabel": { + "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "TimeZone": { + "ResourceLabel": { "type": "string" } }, "required": [ - "DayOfWeek", - "TimeOfDay", - "TimeZone" + "PredefinedMetricType" ], "type": "object" }, - "AWS::AmazonMQ::Broker.TagsEntry": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { "additionalProperties": false, "properties": { - "Key": { + "PredefinedMetricType": { "type": "string" }, - "Value": { + "ResourceLabel": { "type": "string" } }, "required": [ - "Key", - "Value" + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { + "additionalProperties": false, + "properties": { + "MetricIntervalLowerBound": { + "type": "number" + }, + "MetricIntervalUpperBound": { + "type": "number" + }, + "ScalingAdjustment": { + "type": "number" + } + }, + "required": [ + "ScalingAdjustment" ], "type": "object" }, - "AWS::AmazonMQ::Broker.User": { + "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { "additionalProperties": false, "properties": { - "ConsoleAccess": { + "CustomizedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" + }, + "DisableScaleIn": { "type": "boolean" }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" + "PredefinedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" }, - "Password": { + "TargetValue": { + "type": "number" + } + }, + "required": [ + "TargetValue" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery": { + "additionalProperties": false, + "properties": { + "Expression": { "type": "string" }, - "Username": { + "Id": { + "type": "string" + }, + "Label": { "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" } }, "required": [ - "Password", - "Username" + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" ], "type": "object" }, - "AWS::AmazonMQ::Configuration": { + "AWS::AutoScaling::ScheduledAction": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1400,42 +1480,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AutoScalingGroupName": { "type": "string" }, - "Data": { - "type": "string" + "DesiredCapacity": { + "type": "number" }, - "Description": { + "EndTime": { "type": "string" }, - "EngineType": { - "type": "string" + "MaxSize": { + "type": "number" }, - "EngineVersion": { + "MinSize": { + "type": "number" + }, + "Recurrence": { "type": "string" }, - "Name": { + "StartTime": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration.TagsEntry" - }, - "type": "array" + "TimeZone": { + "type": "string" } }, "required": [ - "Data", - "EngineType", - "EngineVersion", - "Name" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Configuration" + "AWS::AutoScaling::ScheduledAction" ], "type": "string" }, @@ -1454,23 +1531,7 @@ ], "type": "object" }, - "AWS::AmazonMQ::Configuration.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AmazonMQ::ConfigurationAssociation": { + "AWS::AutoScaling::WarmPool": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1502,22 +1563,30 @@ "Properties": { "additionalProperties": false, "properties": { - "Broker": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId" + "InstanceReusePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::WarmPool.InstanceReusePolicy" + }, + "MaxGroupPreparedCapacity": { + "type": "number" + }, + "MinSize": { + "type": "number" + }, + "PoolState": { + "type": "string" } }, "required": [ - "Broker", - "Configuration" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::ConfigurationAssociation" + "AWS::AutoScaling::WarmPool" ], "type": "string" }, @@ -1536,23 +1605,16 @@ ], "type": "object" }, - "AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId": { + "AWS::AutoScaling::WarmPool.InstanceReusePolicy": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Revision": { - "type": "number" + "ReuseOnScaleIn": { + "type": "boolean" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::Amplify::App": { + "AWS::CloudFormation::CustomResource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1584,66 +1646,21 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "AutoBranchCreationConfig": { - "$ref": "#/definitions/AWS::Amplify::App.AutoBranchCreationConfig" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "CustomHeaders": { - "type": "string" - }, - "CustomRules": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.CustomRule" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "EnableBranchAutoDeletion": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "IAMServiceRole": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OauthToken": { - "type": "string" + "ServiceTimeout": { + "type": "number" }, - "Repository": { + "ServiceToken": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Name" + "ServiceToken" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::App" + "AWS::CloudFormation::CustomResource" ], "type": "string" }, @@ -1662,102 +1679,7 @@ ], "type": "object" }, - "AWS::Amplify::App.AutoBranchCreationConfig": { - "additionalProperties": false, - "properties": { - "AutoBranchCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "EnableAutoBranchCreation": { - "type": "boolean" - }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" - }, - "EnablePullRequestPreview": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "PullRequestEnvironmentName": { - "type": "string" - }, - "Stage": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.BasicAuthConfig": { - "additionalProperties": false, - "properties": { - "EnableBasicAuth": { - "type": "boolean" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.CustomRule": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Source", - "Target" - ], - "type": "object" - }, - "AWS::Amplify::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Amplify::Branch": { + "AWS::CloudFormation::GuardHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1789,58 +1711,53 @@ "Properties": { "additionalProperties": false, "properties": { - "AppId": { + "Alias": { "type": "string" }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::Branch.BasicAuthConfig" - }, - "BranchName": { + "ExecutionRole": { "type": "string" }, - "BuildSpec": { + "FailureMode": { "type": "string" }, - "Description": { + "HookStatus": { "type": "string" }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" + "LogBucket": { + "type": "string" }, - "EnablePullRequestPreview": { - "type": "boolean" + "Options": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.Options" }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Branch.EnvironmentVariable" - }, - "type": "array" + "RuleLocation": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" }, - "PullRequestEnvironmentName": { - "type": "string" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackFilters" }, - "Stage": { - "type": "string" + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.TargetFilters" }, - "Tags": { + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "AppId", - "BranchName" + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "RuleLocation", + "TargetOperations" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::Branch" + "AWS::CloudFormation::GuardHook" ], "type": "string" }, @@ -1859,143 +1776,135 @@ ], "type": "object" }, - "AWS::Amplify::Branch.BasicAuthConfig": { + "AWS::CloudFormation::GuardHook.HookTarget": { "additionalProperties": false, "properties": { - "EnableBasicAuth": { - "type": "boolean" + "Action": { + "type": "string" }, - "Password": { + "InvocationPoint": { "type": "string" }, - "Username": { + "TargetName": { "type": "string" } }, "required": [ - "Password", - "Username" + "Action", + "InvocationPoint", + "TargetName" ], "type": "object" }, - "AWS::Amplify::Branch.EnvironmentVariable": { + "AWS::CloudFormation::GuardHook.Options": { "additionalProperties": false, "properties": { - "Name": { + "InputParams": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.S3Location": { + "additionalProperties": false, + "properties": { + "Uri": { "type": "string" }, - "Value": { + "VersionId": { "type": "string" } }, "required": [ - "Name", - "Value" + "Uri" ], "type": "object" }, - "AWS::Amplify::Domain": { + "AWS::CloudFormation::GuardHook.StackFilters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FilteringCriteria": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackNames" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppId": { - "type": "string" - }, - "AutoSubDomainCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoSubDomainIAMRole": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "EnableAutoSubDomain": { - "type": "boolean" - }, - "SubDomainSettings": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Domain.SubDomainSetting" - }, - "type": "array" - } + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" }, - "required": [ - "AppId", - "DomainName", - "SubDomainSettings" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Amplify::Domain" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Amplify::Domain.SubDomainSetting": { + "AWS::CloudFormation::GuardHook.TargetFilters": { "additionalProperties": false, "properties": { - "BranchName": { - "type": "string" + "Actions": { + "items": { + "type": "string" + }, + "type": "array" }, - "Prefix": { - "type": "string" + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.HookTarget" + }, + "type": "array" } }, - "required": [ - "BranchName", - "Prefix" - ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component": { + "AWS::CloudFormation::HookDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2027,78 +1936,21 @@ "Properties": { "additionalProperties": false, "properties": { - "BindingProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue" - } - }, - "type": "object" - }, - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "CollectionProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration" - } - }, - "type": "object" - }, - "ComponentType": { + "TypeName": { "type": "string" }, - "Name": { + "TypeVersionArn": { "type": "string" }, - "Overrides": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverridesValue" - } - }, - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "SourceId": { + "VersionId": { "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Variants": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariant" - }, - "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Component" + "AWS::CloudFormation::HookDefaultVersion" ], "type": "string" }, @@ -2116,272 +1968,7 @@ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties" - }, - "DefaultValue": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Field": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "UserAttribute": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentChild": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "ComponentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperties" - } - }, - "required": [ - "ComponentType", - "Name", - "Properties" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentConditionProperty": { - "additionalProperties": false, - "properties": { - "Else": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Property": { - "type": "string" - }, - "Then": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration": { - "additionalProperties": false, - "properties": { - "Identifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Model": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "Sort": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.SortProperty" - }, - "type": "array" - } - }, - "required": [ - "Model" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverrides": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverridesValue": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperties": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperty": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Bindings": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.FormBindings" - }, - "CollectionBindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Concat": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "type": "array" - }, - "Condition": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentConditionProperty" - }, - "Configured": { - "type": "boolean" - }, - "DefaultValue": { - "type": "string" - }, - "Event": { - "type": "string" - }, - "ImportedValue": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "UserAttribute": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariant": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverrides" - }, - "VariantValues": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariantValues" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariantValues": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.FormBindings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.Predicate": { - "additionalProperties": false, - "properties": { - "And": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Or": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.SortProperty": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "Field": { - "type": "string" - } - }, - "required": [ - "Direction", - "Field" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme": { + "AWS::CloudFormation::HookTypeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2413,40 +2000,27 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { + "Configuration": { "type": "string" }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "ConfigurationAlias": { + "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TypeArn": { + "type": "string" }, - "Values": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "TypeName": { + "type": "string" } }, "required": [ - "Name", - "Values" + "Configuration" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Theme" + "AWS::CloudFormation::HookTypeConfig" ], "type": "string" }, @@ -2465,34 +2039,7 @@ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Theme.ThemeValue": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme.ThemeValues": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValue" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Account": { + "AWS::CloudFormation::HookVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2524,15 +2071,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchRoleArn": { + "ExecutionRoleArn": { + "type": "string" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::HookVersion.LoggingConfig" + }, + "SchemaHandlerPackage": { + "type": "string" + }, + "TypeName": { "type": "string" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Account" + "AWS::CloudFormation::HookVersion" ], "type": "string" }, @@ -2546,11 +2106,24 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey": { + "AWS::CloudFormation::HookVersion.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2582,42 +2155,47 @@ "Properties": { "additionalProperties": false, "properties": { - "CustomerId": { + "Alias": { "type": "string" }, - "Description": { + "ExecutionRole": { "type": "string" }, - "Enabled": { - "type": "boolean" + "FailureMode": { + "type": "string" }, - "GenerateDistinctId": { - "type": "boolean" + "HookStatus": { + "type": "string" }, - "Name": { + "LambdaFunction": { "type": "string" }, - "StageKeys": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey.StageKey" - }, - "type": "array" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackFilters" }, - "Tags": { + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.TargetFilters" + }, + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "Value": { - "type": "string" } }, + "required": [ + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "LambdaFunction", + "TargetOperations" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ApiKey" + "AWS::CloudFormation::LambdaHook" ], "type": "string" }, @@ -2631,23 +2209,116 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey.StageKey": { + "AWS::CloudFormation::LambdaHook.HookTarget": { "additionalProperties": false, "properties": { - "RestApiId": { + "Action": { + "type": "string" + }, + "InvocationPoint": { "type": "string" }, - "StageName": { + "TargetName": { + "type": "string" + } + }, + "required": [ + "Action", + "InvocationPoint", + "TargetName" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackFilters": { + "additionalProperties": false, + "properties": { + "FilteringCriteria": { "type": "string" + }, + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackNames" + }, + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.TargetFilters": { + "additionalProperties": false, + "properties": { + "Actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.HookTarget" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Authorizer": { + "AWS::CloudFormation::Macro": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2679,50 +2350,31 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" - }, - "AuthorizerCredentials": { + "Description": { "type": "string" }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerUri": { + "FunctionName": { "type": "string" }, - "IdentitySource": { + "LogGroupName": { "type": "string" }, - "IdentityValidationExpression": { + "LogRoleARN": { "type": "string" }, "Name": { "type": "string" - }, - "ProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RestApiId": { - "type": "string" - }, - "Type": { - "type": "string" } }, "required": [ - "Name", - "RestApiId", - "Type" + "FunctionName", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Authorizer" + "AWS::CloudFormation::Macro" ], "type": "string" }, @@ -2741,7 +2393,7 @@ ], "type": "object" }, - "AWS::ApiGateway::BasePathMapping": { + "AWS::CloudFormation::ModuleDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2773,27 +2425,21 @@ "Properties": { "additionalProperties": false, "properties": { - "BasePath": { - "type": "string" - }, - "DomainName": { + "Arn": { "type": "string" }, - "RestApiId": { + "ModuleName": { "type": "string" }, - "Stage": { + "VersionId": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::BasePathMapping" + "AWS::CloudFormation::ModuleDefaultVersion" ], "type": "string" }, @@ -2807,12 +2453,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::ClientCertificate": { + "AWS::CloudFormation::ModuleVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2844,21 +2489,22 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "ModuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ModulePackage": { + "type": "string" } }, + "required": [ + "ModuleName", + "ModulePackage" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ClientCertificate" + "AWS::CloudFormation::ModuleVersion" ], "type": "string" }, @@ -2872,11 +2518,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::Deployment": { + "AWS::CloudFormation::PublicTypeVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2908,30 +2555,27 @@ "Properties": { "additionalProperties": false, "properties": { - "DeploymentCanarySettings": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.DeploymentCanarySettings" + "Arn": { + "type": "string" }, - "Description": { + "LogDeliveryBucket": { "type": "string" }, - "RestApiId": { + "PublicVersionNumber": { "type": "string" }, - "StageDescription": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.StageDescription" + "Type": { + "type": "string" }, - "StageName": { + "TypeName": { "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Deployment" + "AWS::CloudFormation::PublicTypeVersion" ], "type": "string" }, @@ -2945,177 +2589,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Deployment.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.CanarySetting": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.DeploymentCanarySettings": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.MethodSetting": { - "additionalProperties": false, - "properties": { - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "HttpMethod": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "ResourcePath": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.StageDescription": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MethodSettings": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.MethodSetting" - }, - "type": "array" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationPart": { + "AWS::CloudFormation::Publisher": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3147,26 +2625,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Location": { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart.Location" - }, - "Properties": { - "type": "string" + "AcceptTermsAndConditions": { + "type": "boolean" }, - "RestApiId": { + "ConnectionArn": { "type": "string" } }, "required": [ - "Location", - "Properties", - "RestApiId" + "AcceptTermsAndConditions" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationPart" + "AWS::CloudFormation::Publisher" ], "type": "string" }, @@ -3185,28 +2658,7 @@ ], "type": "object" }, - "AWS::ApiGateway::DocumentationPart.Location": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationVersion": { + "AWS::CloudFormation::ResourceDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3238,25 +2690,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "TypeName": { "type": "string" }, - "DocumentationVersion": { + "TypeVersionArn": { "type": "string" }, - "RestApiId": { + "VersionId": { "type": "string" } }, - "required": [ - "DocumentationVersion", - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationVersion" + "AWS::CloudFormation::ResourceDefaultVersion" ], "type": "string" }, @@ -3270,12 +2718,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::DomainName": { + "AWS::CloudFormation::ResourceVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3307,39 +2754,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" - }, - "DomainName": { + "ExecutionRoleArn": { "type": "string" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.EndpointConfiguration" - }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.MutualTlsAuthentication" - }, - "OwnershipVerificationCertificateArn": { - "type": "string" + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" }, - "RegionalCertificateArn": { + "SchemaHandlerPackage": { "type": "string" }, - "SecurityPolicy": { + "TypeName": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DomainName" + "AWS::CloudFormation::ResourceVersion" ], "type": "string" }, @@ -3353,35 +2789,24 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::DomainName.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DomainName.MutualTlsAuthentication": { + "AWS::CloudFormation::ResourceVersion.LoggingConfig": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "LogGroupName": { "type": "string" }, - "TruststoreVersion": { + "LogRoleArn": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::GatewayResponse": { + "AWS::CloudFormation::Stack": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3413,16 +2838,13 @@ "Properties": { "additionalProperties": false, "properties": { - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "NotificationARNs": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "ResponseTemplates": { + "Parameters": { "additionalProperties": true, "patternProperties": { "^[a-zA-Z0-9]+$": { @@ -3431,25 +2853,27 @@ }, "type": "object" }, - "ResponseType": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RestApiId": { + "TemplateURL": { "type": "string" }, - "StatusCode": { - "type": "string" + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "ResponseType", - "RestApiId" + "TemplateURL" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::GatewayResponse" + "AWS::CloudFormation::Stack" ], "type": "string" }, @@ -3468,7 +2892,7 @@ ], "type": "object" }, - "AWS::ApiGateway::Method": { + "AWS::CloudFormation::StackSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3500,74 +2924,73 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeyRequired": { - "type": "boolean" + "AdministrationRoleARN": { + "type": "string" + }, + "AutoDeployment": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" + }, + "CallAs": { + "type": "string" }, - "AuthorizationScopes": { + "Capabilities": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { + "Description": { "type": "string" }, - "AuthorizerId": { + "ExecutionRoleName": { "type": "string" }, - "HttpMethod": { - "type": "string" + "ManagedExecution": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.ManagedExecution" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGateway::Method.Integration" + "OperationPreferences": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" }, - "MethodResponses": { + "Parameters": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.MethodResponse" + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, "type": "array" }, - "OperationName": { + "PermissionModel": { "type": "string" }, - "RequestModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "StackInstancesGroup": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" }, - "type": "object" + "type": "array" }, - "RequestValidatorId": { + "StackSetName": { "type": "string" }, - "ResourceId": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TemplateBody": { "type": "string" }, - "RestApiId": { + "TemplateURL": { "type": "string" } }, "required": [ - "HttpMethod", - "ResourceId", - "RestApiId" + "PermissionModel", + "StackSetName" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Method" + "AWS::CloudFormation::StackSet" ], "type": "string" }, @@ -3586,139 +3009,123 @@ ], "type": "object" }, - "AWS::ApiGateway::Method.Integration": { + "AWS::CloudFormation::StackSet.AutoDeployment": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + }, + "RetainStacksOnAccountRemoval": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.DeploymentTargets": { "additionalProperties": false, "properties": { - "CacheKeyParameters": { + "AccountFilterType": { + "type": "string" + }, + "Accounts": { "items": { "type": "string" }, "type": "array" }, - "CacheNamespace": { + "AccountsUrl": { "type": "string" }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandling": { - "type": "string" - }, - "Credentials": { - "type": "string" - }, - "IntegrationHttpMethod": { - "type": "string" - }, - "IntegrationResponses": { + "OrganizationalUnitIds": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.IntegrationResponse" + "type": "string" }, "type": "array" - }, - "PassthroughBehavior": { + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.ManagedExecution": { + "additionalProperties": false, + "properties": { + "Active": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.OperationPreferences": { + "additionalProperties": false, + "properties": { + "ConcurrencyMode": { "type": "string" }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureToleranceCount": { + "type": "number" }, - "RequestTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureTolerancePercentage": { + "type": "number" }, - "TimeoutInMillis": { + "MaxConcurrentCount": { "type": "number" }, - "Type": { - "type": "string" + "MaxConcurrentPercentage": { + "type": "number" }, - "Uri": { + "RegionConcurrencyType": { "type": "string" + }, + "RegionOrder": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Method.IntegrationResponse": { + "AWS::CloudFormation::StackSet.Parameter": { "additionalProperties": false, "properties": { - "ContentHandling": { - "type": "string" - }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResponseTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SelectionPattern": { + "ParameterKey": { "type": "string" }, - "StatusCode": { + "ParameterValue": { "type": "string" } }, "required": [ - "StatusCode" + "ParameterKey", + "ParameterValue" ], "type": "object" }, - "AWS::ApiGateway::Method.MethodResponse": { + "AWS::CloudFormation::StackSet.StackInstances": { "additionalProperties": false, "properties": { - "ResponseModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "DeploymentTargets": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "ParameterOverrides": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, - "type": "object" + "type": "array" }, - "StatusCode": { - "type": "string" + "Regions": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "StatusCode" + "DeploymentTargets", + "Regions" ], "type": "object" }, - "AWS::ApiGateway::Model": { + "AWS::CloudFormation::TypeActivation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3750,30 +3157,42 @@ "Properties": { "additionalProperties": false, "properties": { - "ContentType": { + "AutoUpdate": { + "type": "boolean" + }, + "ExecutionRoleArn": { "type": "string" }, - "Description": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" + }, + "MajorVersion": { "type": "string" }, - "Name": { + "PublicTypeArn": { "type": "string" }, - "RestApiId": { + "PublisherId": { "type": "string" }, - "Schema": { - "type": "object" + "Type": { + "type": "string" + }, + "TypeName": { + "type": "string" + }, + "TypeNameAlias": { + "type": "string" + }, + "VersionBump": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Model" + "AWS::CloudFormation::TypeActivation" ], "type": "string" }, @@ -3787,14 +3206,28 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RequestValidator": { + "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::WaitCondition": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -3824,27 +3257,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "Count": { + "type": "number" }, - "RestApiId": { + "Handle": { "type": "string" }, - "ValidateRequestBody": { - "type": "boolean" - }, - "ValidateRequestParameters": { - "type": "boolean" + "Timeout": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RequestValidator" + "AWS::CloudFormation::WaitCondition" ], "type": "string" }, @@ -3858,12 +3285,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Resource": { + "AWS::CloudFormation::WaitConditionHandle": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3894,27 +3320,12 @@ }, "Properties": { "additionalProperties": false, - "properties": { - "ParentId": { - "type": "string" - }, - "PathPart": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "ParentId", - "PathPart", - "RestApiId" - ], + "properties": {}, "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Resource" + "AWS::CloudFormation::WaitConditionHandle" ], "type": "string" }, @@ -3928,12 +3339,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RestApi": { + "AWS::CloudWatch::Alarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3965,69 +3375,100 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySourceType": { - "type": "string" + "ActionsEnabled": { + "type": "boolean" }, - "BinaryMediaTypes": { + "AlarmActions": { "items": { "type": "string" }, "type": "array" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.S3Location" + "AlarmDescription": { + "type": "string" }, - "CloneFrom": { + "AlarmName": { "type": "string" }, - "Description": { + "ComparisonOperator": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" + "DatapointsToAlarm": { + "type": "number" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.EndpointConfiguration" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + }, + "type": "array" }, - "FailOnWarnings": { - "type": "boolean" + "EvaluateLowSampleCountPercentile": { + "type": "string" }, - "MinimumCompressionSize": { + "EvaluationPeriods": { "type": "number" }, - "Mode": { + "ExtendedStatistic": { "type": "string" }, - "Name": { + "InsufficientDataActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" }, - "type": "object" + "type": "array" }, - "Policy": { - "type": "object" + "Namespace": { + "type": "string" + }, + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Period": { + "type": "number" + }, + "Statistic": { + "type": "string" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Threshold": { + "type": "number" + }, + "ThresholdMetricId": { + "type": "string" + }, + "TreatMissingData": { + "type": "string" + }, + "Unit": { + "type": "string" } }, + "required": [ + "ComparisonOperator", + "EvaluationPeriods" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RestApi" + "AWS::CloudWatch::Alarm" ], "type": "string" }, @@ -4041,47 +3482,99 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::RestApi.EndpointConfiguration": { + "AWS::CloudWatch::Alarm.Dimension": { "additionalProperties": false, "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, - "VpcEndpointIds": { + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" }, "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::RestApi.S3Location": { + "AWS::CloudWatch::Alarm.MetricDataQuery": { "additionalProperties": false, "properties": { - "Bucket": { + "AccountId": { "type": "string" }, - "ETag": { + "Expression": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { "type": "string" } }, + "required": [ + "Metric", + "Period", + "Stat" + ], "type": "object" }, - "AWS::ApiGateway::Stage": { + "AWS::CloudWatch::AnomalyDetector": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4113,69 +3606,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DeploymentId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" + "Configuration": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" }, - "MethodSettings": { + "Dimensions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.MethodSetting" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, "type": "array" }, - "RestApiId": { - "type": "string" + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, + "MetricMathAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, - "StageName": { + "MetricName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Namespace": { + "type": "string" }, - "TracingEnabled": { - "type": "boolean" + "SingleMetricAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "Stat": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Stage" + "AWS::CloudWatch::AnomalyDetector" ], "type": "string" }, @@ -4189,84 +3652,183 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Stage.AccessLogSetting": { + "AWS::CloudWatch::AnomalyDetector.Configuration": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "ExcludedTimeRanges": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" + }, + "type": "array" }, - "Format": { + "MetricTimeZone": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::Stage.CanarySetting": { + "AWS::CloudWatch::AnomalyDetector.Dimension": { "additionalProperties": false, "properties": { - "DeploymentId": { + "Name": { "type": "string" }, - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, - "type": "object" + "type": "array" }, - "UseStageCache": { - "type": "boolean" + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGateway::Stage.MethodSetting": { + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { "additionalProperties": false, "properties": { - "CacheDataEncrypted": { + "PeriodicSpikes": { "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" }, - "CacheTtlInSeconds": { + "Period": { "type": "number" }, - "CachingEnabled": { + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" }, - "DataTraceEnabled": { - "type": "boolean" + "Period": { + "type": "number" }, - "HttpMethod": { + "Stat": { "type": "string" }, - "LoggingLevel": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Period", + "Stat" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Range": { + "additionalProperties": false, + "properties": { + "EndTime": { "type": "string" }, - "MetricsEnabled": { - "type": "boolean" + "StartTime": { + "type": "string" + } + }, + "required": [ + "EndTime", + "StartTime" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" }, - "ResourcePath": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "ThrottlingBurstLimit": { - "type": "number" + "Namespace": { + "type": "string" }, - "ThrottlingRateLimit": { - "type": "number" + "Stat": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::UsagePlan": { + "AWS::CloudWatch::CompositeAlarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4298,36 +3860,60 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiStages": { + "ActionsEnabled": { + "type": "boolean" + }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, + "AlarmActions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ApiStage" + "type": "string" }, "type": "array" }, - "Description": { + "AlarmDescription": { "type": "string" }, - "Quota": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.QuotaSettings" + "AlarmName": { + "type": "string" }, - "Tags": { + "AlarmRule": { + "type": "string" + }, + "InsufficientDataActions": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Throttle": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" }, - "UsagePlanName": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "AlarmRule" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlan" + "AWS::CloudWatch::CompositeAlarm" ], "type": "string" }, @@ -4341,59 +3927,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::UsagePlan.ApiStage": { - "additionalProperties": false, - "properties": { - "ApiId": { - "type": "string" - }, - "Stage": { - "type": "string" - }, - "Throttle": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.QuotaSettings": { - "additionalProperties": false, - "properties": { - "Limit": { - "type": "number" - }, - "Offset": { - "type": "number" - }, - "Period": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.ThrottleSettings": { - "additionalProperties": false, - "properties": { - "BurstLimit": { - "type": "number" - }, - "RateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlanKey": { + "AWS::CloudWatch::Dashboard": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4425,26 +3964,21 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyId": { - "type": "string" - }, - "KeyType": { + "DashboardBody": { "type": "string" }, - "UsagePlanId": { + "DashboardName": { "type": "string" } }, "required": [ - "KeyId", - "KeyType", - "UsagePlanId" + "DashboardBody" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlanKey" + "AWS::CloudWatch::Dashboard" ], "type": "string" }, @@ -4463,7 +3997,7 @@ ], "type": "object" }, - "AWS::ApiGateway::VpcLink": { + "AWS::CloudWatch::InsightRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4495,34 +4029,29 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "RuleBody": { "type": "string" }, - "Name": { + "RuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RuleState": { + "type": "string" }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Tags": { + "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" } }, "required": [ - "Name", - "TargetArns" + "RuleBody", + "RuleName", + "RuleState" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::VpcLink" + "AWS::CloudWatch::InsightRule" ], "type": "string" }, @@ -4541,7 +4070,12 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Api": { + "AWS::CloudWatch::InsightRule.Tags": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::MetricStream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4573,63 +4107,56 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySelectionExpression": { - "type": "string" - }, - "BasePath": { - "type": "string" - }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.BodyS3Location" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.Cors" - }, - "CredentialsArn": { - "type": "string" + "ExcludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "Description": { + "FirehoseArn": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" - }, - "DisableSchemaValidation": { - "type": "boolean" + "IncludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "FailOnWarnings": { + "IncludeLinkedAccountsMetrics": { "type": "boolean" }, "Name": { "type": "string" }, - "ProtocolType": { + "OutputFormat": { "type": "string" }, - "RouteKey": { + "RoleArn": { "type": "string" }, - "RouteSelectionExpression": { - "type": "string" + "StatisticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration" + }, + "type": "array" }, "Tags": { - "type": "object" - }, - "Target": { - "type": "string" - }, - "Version": { - "type": "string" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "FirehoseArn", + "OutputFormat", + "RoleArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Api" + "AWS::CloudWatch::MetricStream" ], "type": "string" }, @@ -4643,65 +4170,68 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGatewayV2::Api.BodyS3Location": { + "AWS::CloudWatch::MetricStream.MetricStreamFilter": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Etag": { - "type": "string" - }, - "Key": { - "type": "string" + "MetricNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Version": { + "Namespace": { "type": "string" } }, + "required": [ + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::Api.Cors": { + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration": { "additionalProperties": false, "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowOrigins": { + "AdditionalStatistics": { "items": { "type": "string" }, "type": "array" }, - "ExposeHeaders": { + "IncludeMetrics": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric" }, "type": "array" + } + }, + "required": [ + "AdditionalStatistics", + "IncludeMetrics" + ], + "type": "object" + }, + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric": { + "additionalProperties": false, + "properties": { + "MetricName": { + "type": "string" }, - "MaxAge": { - "type": "number" + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides": { + "AWS::EC2::CapacityReservation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4733,27 +4263,65 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "EndDate": { + "type": "string" + }, + "EndDateType": { + "type": "string" + }, + "EphemeralStorage": { + "type": "boolean" + }, + "InstanceCount": { + "type": "number" + }, + "InstanceMatchCriteria": { + "type": "string" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutPostArn": { + "type": "string" + }, + "PlacementGroupArn": { "type": "string" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides" + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" + }, + "type": "array" }, - "Route": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides" + "Tenancy": { + "type": "string" }, - "Stage": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides" + "UnusedReservationBillingOwnerId": { + "type": "string" } }, "required": [ - "ApiId" + "InstanceCount", + "InstancePlatform", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides" + "AWS::EC2::CapacityReservation" ], "type": "string" }, @@ -4772,106 +4340,22 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides": { + "AWS::EC2::CapacityReservation.TagSpecification": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IntegrationMethod": { - "type": "string" - }, - "PayloadFormatVersion": { + "ResourceType": { "type": "string" }, - "TimeoutInMillis": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides": { - "additionalProperties": false, - "properties": { - "AuthorizationScopes": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings": { - "additionalProperties": false, - "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings" - }, - "AutoDeploy": { - "type": "boolean" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings" - }, - "Description": { - "type": "string" - }, - "RouteSettings": { - "type": "object" - }, - "StageVariables": { - "type": "object" } }, "type": "object" }, - "AWS::ApiGatewayV2::ApiMapping": { + "AWS::EC2::CapacityReservationFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4903,29 +4387,45 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AllocationStrategy": { "type": "string" }, - "ApiMappingKey": { + "EndDate": { "type": "string" }, - "DomainName": { + "InstanceMatchCriteria": { "type": "string" }, - "Stage": { + "InstanceTypeSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" + }, + "type": "array" + }, + "NoRemoveEndDate": { + "type": "boolean" + }, + "RemoveEndDate": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" + }, + "type": "array" + }, + "Tenancy": { "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" } }, - "required": [ - "ApiId", - "DomainName", - "Stage" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiMapping" + "AWS::EC2::CapacityReservationFleet" ], "type": "string" }, @@ -4939,12 +4439,53 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer": { + "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "additionalProperties": false, + "properties": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "Weight": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::CarrierGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4976,53 +4517,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "AuthorizerCredentialsArn": { - "type": "string" - }, - "AuthorizerPayloadFormatVersion": { - "type": "string" - }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerType": { - "type": "string" - }, - "AuthorizerUri": { - "type": "string" - }, - "EnableSimpleResponses": { - "type": "boolean" - }, - "IdentitySource": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "IdentityValidationExpression": { - "type": "string" - }, - "JwtConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer.JWTConfiguration" - }, - "Name": { + "VpcId": { "type": "string" } }, "required": [ - "ApiId", - "AuthorizerType", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Authorizer" + "AWS::EC2::CarrierGateway" ], "type": "string" }, @@ -5041,22 +4553,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer.JWTConfiguration": { - "additionalProperties": false, - "properties": { - "Audience": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Issuer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Deployment": { + "AWS::EC2::ClientVpnAuthorizationRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5088,24 +4585,31 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AccessGroupId": { + "type": "string" + }, + "AuthorizeAllGroups": { + "type": "boolean" + }, + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "StageName": { + "TargetNetworkCidr": { "type": "string" } }, "required": [ - "ApiId" + "ClientVpnEndpointId", + "TargetNetworkCidr" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Deployment" + "AWS::EC2::ClientVpnAuthorizationRule" ], "type": "string" }, @@ -5124,7 +4628,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName": { + "AWS::EC2::ClientVpnEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5156,30 +4660,81 @@ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { + "AuthenticationOptions": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" + }, + "type": "array" + }, + "ClientCidrBlock": { "type": "string" }, - "DomainNameConfigurations": { + "ClientConnectOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" + }, + "ClientLoginBannerOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions" + }, + "ConnectionLogOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" + }, + "Description": { + "type": "string" + }, + "DisconnectOnSessionTimeout": { + "type": "boolean" + }, + "DnsServers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.DomainNameConfiguration" + "type": "string" }, "type": "array" }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication" + "SelfServicePortal": { + "type": "string" }, - "Tags": { - "type": "object" + "ServerCertificateArn": { + "type": "string" + }, + "SessionTimeoutHours": { + "type": "number" + }, + "SplitTunnel": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" + }, + "type": "array" + }, + "TransportProtocol": { + "type": "string" + }, + "VpcId": { + "type": "string" + }, + "VpnPort": { + "type": "number" } }, "required": [ - "DomainName" + "AuthenticationOptions", + "ClientCidrBlock", + "ConnectionLogOptions", + "ServerCertificateArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::DomainName" + "AWS::EC2::ClientVpnEndpoint" ], "type": "string" }, @@ -5198,40 +4753,134 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.DomainNameConfiguration": { + "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { "additionalProperties": false, "properties": { - "CertificateArn": { + "ClientRootCertificateChainArn": { + "type": "string" + } + }, + "required": [ + "ClientRootCertificateChainArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "ActiveDirectory": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + }, + "FederatedAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + }, + "MutualAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + }, + "Type": { "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "CertificateName": { + "LambdaFunctionArn": { + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions": { + "additionalProperties": false, + "properties": { + "BannerText": { "type": "string" }, - "EndpointType": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "additionalProperties": false, + "properties": { + "CloudwatchLogGroup": { "type": "string" }, - "OwnershipVerificationCertificateArn": { + "CloudwatchLogStream": { "type": "string" }, - "SecurityPolicy": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "DirectoryId": { "type": "string" } }, + "required": [ + "DirectoryId" + ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication": { + "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "SAMLProviderArn": { "type": "string" }, - "TruststoreVersion": { + "SelfServiceSAMLProviderArn": { + "type": "string" + } + }, + "required": [ + "SAMLProviderArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ResourceType", + "Tags" + ], "type": "object" }, - "AWS::ApiGatewayV2::Integration": { + "AWS::EC2::ClientVpnRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5263,70 +4912,29 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "CredentialsArn": { + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "IntegrationMethod": { - "type": "string" - }, - "IntegrationSubtype": { - "type": "string" - }, - "IntegrationType": { - "type": "string" - }, - "IntegrationUri": { - "type": "string" - }, - "PassthroughBehavior": { - "type": "string" - }, - "PayloadFormatVersion": { + "DestinationCidrBlock": { "type": "string" }, - "RequestParameters": { - "type": "object" - }, - "RequestTemplates": { - "type": "object" - }, - "ResponseParameters": { - "type": "object" - }, - "TemplateSelectionExpression": { + "TargetVpcSubnetId": { "type": "string" - }, - "TimeoutInMillis": { - "type": "number" - }, - "TlsConfig": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.TlsConfig" } }, "required": [ - "ApiId", - "IntegrationType" + "ClientVpnEndpointId", + "DestinationCidrBlock", + "TargetVpcSubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Integration" + "AWS::EC2::ClientVpnRoute" ], "type": "string" }, @@ -5345,44 +4953,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Integration.ResponseParameter": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "required": [ - "Destination", - "Source" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.ResponseParameterList": { - "additionalProperties": false, - "properties": { - "ResponseParameters": { - "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.ResponseParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.TlsConfig": { - "additionalProperties": false, - "properties": { - "ServerNameToVerify": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::IntegrationResponse": { + "AWS::EC2::ClientVpnTargetNetworkAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5414,38 +4985,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "IntegrationId": { - "type": "string" - }, - "IntegrationResponseKey": { + "ClientVpnEndpointId": { "type": "string" }, - "ResponseParameters": { - "type": "object" - }, - "ResponseTemplates": { - "type": "object" - }, - "TemplateSelectionExpression": { + "SubnetId": { "type": "string" } }, "required": [ - "ApiId", - "IntegrationId", - "IntegrationResponseKey" + "ClientVpnEndpointId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::IntegrationResponse" + "AWS::EC2::ClientVpnTargetNetworkAssociation" ], "type": "string" }, @@ -5464,7 +5019,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Model": { + "AWS::EC2::CustomerGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5496,32 +5051,40 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" + "BgpAsn": { + "type": "number" + }, + "BgpAsnExtended": { + "type": "number" }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "DeviceName": { "type": "string" }, - "Name": { + "IpAddress": { "type": "string" }, - "Schema": { - "type": "object" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" } }, "required": [ - "ApiId", - "Name", - "Schema" + "IpAddress", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Model" + "AWS::EC2::CustomerGateway" ], "type": "string" }, @@ -5540,7 +5103,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Route": { + "AWS::EC2::DHCPOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5572,55 +5135,45 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "DomainName": { "type": "string" }, - "ApiKeyRequired": { - "type": "boolean" - }, - "AuthorizationScopes": { + "DomainNameServers": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "ModelSelectionExpression": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "RequestModels": { - "type": "object" + "Ipv6AddressPreferredLeaseTime": { + "type": "number" }, - "RequestParameters": { - "type": "object" + "NetbiosNameServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "RouteKey": { - "type": "string" + "NetbiosNodeType": { + "type": "number" }, - "RouteResponseSelectionExpression": { - "type": "string" + "NtpServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Target": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiId", - "RouteKey" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Route" + "AWS::EC2::DHCPOptions" ], "type": "string" }, @@ -5634,24 +5187,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Route.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::RouteResponse": { + "AWS::EC2::EC2Fleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5683,143 +5223,58 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "Context": { "type": "string" }, - "ModelSelectionExpression": { + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "ResponseModels": { - "type": "object" + "LaunchTemplateConfigs": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" + }, + "type": "array" }, - "ResponseParameters": { - "type": "object" + "OnDemandOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" }, - "RouteId": { - "type": "string" + "ReplaceUnhealthyInstances": { + "type": "boolean" }, - "RouteResponseKey": { - "type": "string" - } - }, - "required": [ - "ApiId", - "RouteId", - "RouteResponseKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::RouteResponse" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::RouteResponse.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Stage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" }, - { + "TagSpecifications": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.AccessLogSettings" - }, - "AccessPolicyId": { - "type": "string" }, - "ApiId": { - "type": "string" + "TargetCapacitySpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" }, - "AutoDeploy": { + "TerminateInstancesWithExpiration": { "type": "boolean" }, - "ClientCertificateId": { - "type": "string" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.RouteSettings" - }, - "DeploymentId": { + "Type": { "type": "string" }, - "Description": { + "ValidFrom": { "type": "string" }, - "RouteSettings": { - "type": "object" - }, - "StageName": { + "ValidUntil": { "type": "string" - }, - "StageVariables": { - "type": "object" - }, - "Tags": { - "type": "object" } }, "required": [ - "ApiId", - "StageName" + "LaunchTemplateConfigs", + "TargetCapacitySpecification" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Stage" + "AWS::EC2::EC2Fleet" ], "type": "string" }, @@ -5838,330 +5293,480 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Stage.AccessLogSettings": { + "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "Max": { + "type": "number" }, - "Format": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::Stage.RouteSettings": { + "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { + "Max": { "type": "number" }, - "ThrottlingRateLimit": { + "Min": { "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::VpcLink": { + "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::VpcLink" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application": { + "AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Application.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application.Tags": { + "AWS::EC2::EC2Fleet.CapacityRebalance": { "additionalProperties": false, "properties": { - "Key": { + "ReplacementStrategy": { "type": "string" }, - "Value": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile": { + "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UsageStrategy": { "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RetrievalRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Tags" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Validators": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Validators" - }, - "type": "array" - } + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest": { + "additionalProperties": false, + "properties": { + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest" }, - "required": [ - "ApplicationId", - "LocationUri", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::ConfigurationProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Tags": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" }, - "Value": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Validators": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { "additionalProperties": false, "properties": { - "Content": { + "AvailabilityZone": { "type": "string" }, - "Type": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "MaxPrice": { + "type": "string" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" + }, + "Priority": { + "type": "number" + }, + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::Deployment": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LaunchTemplateId": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + "LaunchTemplateName": { + "type": "string" + }, + "Version": { + "type": "string" + } + }, + "required": [ + "Version" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "additionalProperties": false, + "properties": { + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "CapacityReservationOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.Placement": { + "additionalProperties": false, + "properties": { + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "GroupName": { + "type": "string" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" + }, + "Tenancy": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "InstanceInterruptionBehavior": { + "type": "string" + }, + "InstancePoolsToUseCount": { + "type": "number" + }, + "MaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "additionalProperties": false, + "properties": { + "DefaultTargetCapacityType": { + "type": "string" + }, + "OnDemandTargetCapacity": { + "type": "number" + }, + "SpotTargetCapacity": { + "type": "number" + }, + "TargetCapacityUnitType": { + "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" + } + }, + "required": [ + "TotalTargetCapacity" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EIP": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, { @@ -6179,43 +5784,39 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { + "Address": { "type": "string" }, - "ConfigurationProfileId": { + "Domain": { "type": "string" }, - "ConfigurationVersion": { + "InstanceId": { "type": "string" }, - "DeploymentStrategyId": { + "IpamPoolId": { "type": "string" }, - "Description": { + "NetworkBorderGroup": { "type": "string" }, - "EnvironmentId": { + "PublicIpv4Pool": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/AWS::AppConfig::Deployment.Tags" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransferAddress": { + "type": "string" } }, - "required": [ - "ApplicationId", - "ConfigurationProfileId", - "ConfigurationVersion", - "DeploymentStrategyId", - "EnvironmentId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Deployment" + "AWS::EC2::EIP" ], "type": "string" }, @@ -6229,24 +5830,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::Deployment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::DeploymentStrategy": { + "AWS::EC2::EIPAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6278,45 +5866,24 @@ "Properties": { "additionalProperties": false, "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { + "AllocationId": { "type": "string" }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { + "InstanceId": { "type": "string" }, - "Name": { + "NetworkInterfaceId": { "type": "string" }, - "ReplicateTo": { + "PrivateIpAddress": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy.Tags" - }, - "type": "array" } }, - "required": [ - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name", - "ReplicateTo" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::DeploymentStrategy" + "AWS::EC2::EIPAssociation" ], "type": "string" }, @@ -6330,24 +5897,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::DeploymentStrategy.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment": { + "AWS::EC2::EgressOnlyInternetGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6379,37 +5933,18 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Monitors": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Monitors" - }, - "type": "array" - }, - "Name": { + "VpcId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Tags" - }, - "type": "array" } }, "required": [ - "ApplicationId", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Environment" + "AWS::EC2::EgressOnlyInternetGateway" ], "type": "string" }, @@ -6428,31 +5963,7 @@ ], "type": "object" }, - "AWS::AppConfig::Environment.Monitors": { - "additionalProperties": false, - "properties": { - "AlarmArn": { - "type": "string" - }, - "AlarmRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::HostedConfigurationVersion": { + "AWS::EC2::EnclaveCertificateIamRoleAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6484,36 +5995,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationProfileId": { - "type": "string" - }, - "Content": { - "type": "string" - }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "RoleArn": { "type": "string" - }, - "LatestVersionNumber": { - "type": "number" } }, "required": [ - "ApplicationId", - "ConfigurationProfileId", - "Content", - "ContentType" + "CertificateArn", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::HostedConfigurationVersion" + "AWS::EC2::EnclaveCertificateIamRoleAssociation" ], "type": "string" }, @@ -6532,7 +6029,7 @@ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile": { + "AWS::EC2::FlowLog": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6564,32 +6061,55 @@ "Properties": { "additionalProperties": false, "properties": { - "ConnectionMode": { + "DeliverCrossAccountRole": { + "type": "string" + }, + "DeliverLogsPermissionArn": { + "type": "string" + }, + "DestinationOptions": { + "$ref": "#/definitions/AWS::EC2::FlowLog.DestinationOptions" + }, + "LogDestination": { + "type": "string" + }, + "LogDestinationType": { "type": "string" }, - "ConnectorProfileConfig": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig" + "LogFormat": { + "type": "string" + }, + "LogGroupName": { + "type": "string" + }, + "MaxAggregationInterval": { + "type": "number" }, - "ConnectorProfileName": { + "ResourceId": { "type": "string" }, - "ConnectorType": { + "ResourceType": { "type": "string" }, - "KMSArn": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficType": { "type": "string" } }, "required": [ - "ConnectionMode", - "ConnectorProfileName", - "ConnectorType" + "ResourceId", + "ResourceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::ConnectorProfile" + "AWS::EC2::FlowLog" ], "type": "string" }, @@ -6608,617 +6128,822 @@ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "SecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest": { + "AWS::EC2::FlowLog.DestinationOptions": { "additionalProperties": false, "properties": { - "AuthCode": { + "FileFormat": { "type": "string" }, - "RedirectUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig": { - "additionalProperties": false, - "properties": { - "ConnectorProfileCredentials": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials" + "HiveCompatiblePartitions": { + "type": "boolean" }, - "ConnectorProfileProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties" + "PerHourPartition": { + "type": "boolean" } }, "required": [ - "ConnectorProfileCredentials" + "FileFormat", + "HiveCompatiblePartitions", + "PerHourPartition" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials": { + "AWS::EC2::GatewayRouteTableAssociation": { "additionalProperties": false, "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials" + "Metadata": { + "type": "object" }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials" + "Properties": { + "additionalProperties": false, + "properties": { + "GatewayId": { + "type": "string" + }, + "RouteTableId": { + "type": "string" + } + }, + "required": [ + "GatewayId", + "RouteTableId" + ], + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials" + "Type": { + "enum": [ + "AWS::EC2::GatewayRouteTableAssociation" + ], + "type": "string" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, + "required": [ + "Type", + "Properties" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties": { + "AWS::EC2::Host": { "additionalProperties": false, "properties": { - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties" + "Metadata": { + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties" + "Properties": { + "additionalProperties": false, + "properties": { + "AssetId": { + "type": "string" + }, + "AutoPlacement": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "HostMaintenance": { + "type": "string" + }, + "HostRecovery": { + "type": "string" + }, + "InstanceFamily": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutpostArn": { + "type": "string" + } + }, + "required": [ + "AvailabilityZone" + ], + "type": "object" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { + "Type": { + "enum": [ + "AWS::EC2::Host" + ], "type": "string" }, - "ApplicationKey": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ApiKey", - "ApplicationKey" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties": { + "AWS::EC2::IPAM": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "DefaultResourceDiscoveryOrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Description": { + "type": "string" + }, + "EnablePrivateGua": { + "type": "boolean" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Tier": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAM" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials": { + "AWS::EC2::IPAM.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "ApiToken": { + "RegionName": { "type": "string" } }, "required": [ - "ApiToken" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties": { + "AWS::EC2::IPAM.IpamOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "InstanceUrl" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials": { + "AWS::EC2::IPAMAllocation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "Type": { + "enum": [ + "AWS::EC2::IPAMAllocation" + ], + "type": "string" }, - "RefreshToken": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials": { + "AWS::EC2::IPAMPool": { "additionalProperties": false, "properties": { - "AccessKeyId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Datakey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AddressFamily": { + "type": "string" + }, + "AllocationDefaultNetmaskLength": { + "type": "number" + }, + "AllocationMaxNetmaskLength": { + "type": "number" + }, + "AllocationMinNetmaskLength": { + "type": "number" + }, + "AllocationResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "AutoImport": { + "type": "boolean" + }, + "AwsService": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamScopeId": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ProvisionedCidrs": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + }, + "type": "array" + }, + "PublicIpSource": { + "type": "string" + }, + "PubliclyAdvertisable": { + "type": "boolean" + }, + "SourceIpamPoolId": { + "type": "string" + }, + "SourceResource": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.SourceResource" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AddressFamily", + "IpamScopeId" + ], + "type": "object" }, - "SecretAccessKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPool" + ], "type": "string" }, - "UserId": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "AccessKeyId", - "Datakey", - "SecretAccessKey", - "UserId" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties": { + "AWS::EC2::IPAMPool.ProvisionedCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "Cidr": { "type": "string" } }, "required": [ - "InstanceUrl" + "Cidr" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials": { + "AWS::EC2::IPAMPool.SourceResource": { "additionalProperties": false, "properties": { - "AccessToken": { + "ResourceId": { "type": "string" }, - "ClientId": { + "ResourceOwner": { "type": "string" }, - "ClientSecret": { + "ResourceRegion": { "type": "string" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "ResourceType": { + "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "ResourceId", + "ResourceOwner", + "ResourceRegion", + "ResourceType" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties": { + "AWS::EC2::IPAMPoolCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMPoolCidr" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.OAuthProperties": { + "AWS::EC2::IPAMResourceDiscovery": { "additionalProperties": false, "properties": { - "AuthCodeUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "OAuthScopes": { - "items": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion" + }, + "type": "array" + }, + "OrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscovery" + ], + "type": "string" }, - "TokenUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "Password": { - "type": "string" - }, - "Username": { + "RegionName": { "type": "string" } }, "required": [ - "Password", - "Username" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "DatabaseUrl": { - "type": "string" - }, - "RoleArn": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "BucketName", - "DatabaseUrl", - "RoleArn" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "BasicAuthCredentials": { - "type": "object" - }, - "OAuthCredentials": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "ApplicationHostUrl": { - "type": "string" - }, - "ApplicationServicePath": { - "type": "string" - }, - "ClientNumber": { - "type": "string" - }, - "LogonLanguage": { - "type": "string" - }, - "OAuthProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.OAuthProperties" - }, - "PortNumber": { - "type": "number" - }, - "PrivateLinkServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "ClientCredentialsArn": { - "type": "string" - }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - }, - "isSandboxEnvironment": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscoveryAssociation": { "additionalProperties": false, "properties": { - "Password": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - } - }, - "required": [ - "ApiKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientId": { - "type": "string" + "Metadata": { + "type": "object" }, - "ClientSecret": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "IpamId": { + "type": "string" + }, + "IpamResourceDiscoveryId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId", + "IpamResourceDiscoveryId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscoveryAssociation" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties": { + "AWS::EC2::IPAMScope": { "additionalProperties": false, "properties": { - "AccountName": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "PrivateLinkServiceName": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Region": { - "type": "string" + "Metadata": { + "type": "object" }, - "Stage": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "IpamId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId" + ], + "type": "object" }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Stage", - "Warehouse" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiSecretKey": { - "type": "string" - } - }, - "required": [ - "ApiSecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMScope" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials": { + "AWS::EC2::Instance": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" + "CreationPolicy": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::Flow": { - "additionalProperties": false, - "properties": { "DeletionPolicy": { "enum": [ "Delete", @@ -7248,23 +6973,140 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AdditionalInfo": { + "type": "string" + }, + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" + }, + "type": "array" + }, + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" + }, + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + }, + "type": "array" + }, + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "IamInstanceProfile": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "InstanceInitiatedShutdownBehavior": { + "type": "string" + }, + "InstanceType": { "type": "string" }, - "DestinationFlowConfigList": { + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" + }, + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" + }, + "LicenseSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + }, + "type": "array" + }, + "Monitoring": { + "type": "boolean" + }, + "NetworkInterfaces": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationFlowConfig" + "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" }, "type": "array" }, - "FlowName": { + "PlacementGroupName": { + "type": "string" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateDnsNameOptions" + }, + "PrivateIpAddress": { "type": "string" }, - "KMSArn": { + "PropagateTagsToVolumeOnCreation": { + "type": "boolean" + }, + "RamdiskId": { "type": "string" }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceFlowConfig" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SsmAssociations": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -7272,28 +7114,24 @@ }, "type": "array" }, - "Tasks": { + "Tenancy": { + "type": "string" + }, + "UserData": { + "type": "string" + }, + "Volumes": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.Task" + "$ref": "#/definitions/AWS::EC2::Instance.Volume" }, "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TriggerConfig" } }, - "required": [ - "DestinationFlowConfigList", - "FlowName", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::Flow" + "AWS::EC2::Instance" ], "type": "string" }, @@ -7307,719 +7145,461 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.AggregationConfig": { + "AWS::EC2::Instance.AssociationParameter": { "additionalProperties": false, "properties": { - "AggregationType": { + "Key": { "type": "string" + }, + "Value": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::AppFlow::Flow.AmplitudeSourceProperties": { + "AWS::EC2::Instance.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "Object": { + "DeviceName": { + "type": "string" + }, + "Ebs": { + "$ref": "#/definitions/AWS::EC2::Instance.Ebs" + }, + "NoDevice": { + "type": "object" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Object" + "DeviceName" ], "type": "object" }, - "AWS::AppFlow::Flow.ConnectorOperator": { + "AWS::EC2::Instance.CpuOptions": { "additionalProperties": false, "properties": { - "Amplitude": { - "type": "string" - }, - "Datadog": { - "type": "string" - }, - "Dynatrace": { - "type": "string" - }, - "GoogleAnalytics": { - "type": "string" - }, - "InforNexus": { - "type": "string" - }, - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "SAPOData": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Singular": { - "type": "string" - }, - "Slack": { - "type": "string" - }, - "Trendmicro": { - "type": "string" - }, - "Veeva": { - "type": "string" + "CoreCount": { + "type": "number" }, - "Zendesk": { - "type": "string" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppFlow::Flow.DatadogSourceProperties": { + "AWS::EC2::Instance.CreditSpecification": { "additionalProperties": false, "properties": { - "Object": { + "CPUCredits": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.DestinationConnectorProperties": { + "AWS::EC2::Instance.Ebs": { "additionalProperties": false, "properties": { - "EventBridge": { - "$ref": "#/definitions/AWS::AppFlow::Flow.EventBridgeDestinationProperties" - }, - "LookoutMetrics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.LookoutMetricsDestinationProperties" + "DeleteOnTermination": { + "type": "boolean" }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::Flow.RedshiftDestinationProperties" + "Encrypted": { + "type": "boolean" }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3DestinationProperties" + "Iops": { + "type": "number" }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceDestinationProperties" + "KmsKeyId": { + "type": "string" }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SnowflakeDestinationProperties" + "SnapshotId": { + "type": "string" }, - "Upsolver": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverDestinationProperties" + "VolumeSize": { + "type": "number" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskDestinationProperties" + "VolumeType": { + "type": "string" } }, "type": "object" }, - "AWS::AppFlow::Flow.DestinationFlowConfig": { + "AWS::EC2::Instance.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Type": { "type": "string" - }, - "DestinationConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationConnectorProperties" } }, "required": [ - "ConnectorType", - "DestinationConnectorProperties" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.DynatraceSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.ErrorHandlingConfig": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "FailOnFirstError": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.EventBridgeDestinationProperties": { + "AWS::EC2::Instance.ElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Count": { + "type": "number" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "Type": { "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.IncrementalPullConfig": { - "additionalProperties": false, - "properties": { - "DatetimeTypeFieldName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.InforNexusSourceProperties": { + "AWS::EC2::Instance.EnclaveOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.LookoutMetricsDestinationProperties": { + "AWS::EC2::Instance.HibernationOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppFlow::Flow.MarketoSourceProperties": { + "AWS::EC2::Instance.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "Object": { + "Ipv6Address": { "type": "string" } }, "required": [ - "Object" + "Ipv6Address" ], "type": "object" }, - "AWS::AppFlow::Flow.PrefixConfig": { - "additionalProperties": false, - "properties": { - "PrefixFormat": { - "type": "string" - }, - "PrefixType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.RedshiftDestinationProperties": { + "AWS::EC2::Instance.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "BucketPrefix": { + "LaunchTemplateId": { "type": "string" }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" - }, - "IntermediateBucketName": { + "LaunchTemplateName": { "type": "string" }, - "Object": { + "Version": { "type": "string" } }, "required": [ - "IntermediateBucketName", - "Object" + "Version" ], "type": "object" }, - "AWS::AppFlow::Flow.S3DestinationProperties": { + "AWS::EC2::Instance.LicenseSpecification": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "LicenseConfigurationArn": { "type": "string" - }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3OutputFormatConfig" } }, "required": [ - "BucketName" + "LicenseConfigurationArn" ], "type": "object" }, - "AWS::AppFlow::Flow.S3InputFormatConfig": { - "additionalProperties": false, - "properties": { - "S3InputFileType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3OutputFormatConfig": { + "AWS::EC2::Instance.NetworkInterface": { "additionalProperties": false, "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "AssociateCarrierIpAddress": { + "type": "boolean" }, - "FileType": { - "type": "string" + "AssociatePublicIpAddress": { + "type": "boolean" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "BucketPrefix": { + "Description": { "type": "string" }, - "S3InputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3InputFormatConfig" - } - }, - "required": [ - "BucketName", - "BucketPrefix" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SAPODataSourceProperties": { - "additionalProperties": false, - "properties": { - "ObjectPath": { + "DeviceIndex": { "type": "string" - } - }, - "required": [ - "ObjectPath" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" }, - "IdFieldNames": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "Object": { - "type": "string" - }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceSourceProperties": { - "additionalProperties": false, - "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" + "Ipv6AddressCount": { + "type": "number" }, - "IncludeDeletedRecords": { - "type": "boolean" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ScheduledTriggerProperties": { - "additionalProperties": false, - "properties": { - "DataPullMode": { + "NetworkInterfaceId": { "type": "string" }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { + "PrivateIpAddress": { "type": "string" }, - "ScheduleOffset": { - "type": "number" + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" + }, + "type": "array" }, - "ScheduleStartTime": { + "SecondaryPrivateIpAddressCount": { "type": "number" }, - "TimeZone": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ServiceNowSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SingularSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SlackSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "SubnetId": { "type": "string" } }, "required": [ - "Object" + "DeviceIndex" ], "type": "object" }, - "AWS::AppFlow::Flow.SnowflakeDestinationProperties": { + "AWS::EC2::Instance.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "BucketPrefix": { - "type": "string" - }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "IntermediateBucketName": { - "type": "string" + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "Object": { + "HostnameType": { "type": "string" } }, - "required": [ - "IntermediateBucketName", - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SourceConnectorProperties": { - "additionalProperties": false, - "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AmplitudeSourceProperties" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DatadogSourceProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DynatraceSourceProperties" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::Flow.InforNexusSourceProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::Flow.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3SourceProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SAPODataSourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ServiceNowSourceProperties" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SingularSourceProperties" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SlackSourceProperties" - }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TrendmicroSourceProperties" - }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::Flow.VeevaSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskSourceProperties" - } - }, "type": "object" }, - "AWS::AppFlow::Flow.SourceFlowConfig": { + "AWS::EC2::Instance.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" + "Primary": { + "type": "boolean" }, - "ConnectorType": { + "PrivateIpAddress": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceConnectorProperties" } }, "required": [ - "ConnectorType", - "SourceConnectorProperties" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppFlow::Flow.Task": { + "AWS::EC2::Instance.SsmAssociation": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { + "AssociationParameters": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TaskPropertiesObject" + "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" }, "type": "array" }, - "TaskType": { + "DocumentName": { "type": "string" } }, "required": [ - "SourceFields", - "TaskType" + "DocumentName" ], "type": "object" }, - "AWS::AppFlow::Flow.TaskPropertiesObject": { + "AWS::EC2::Instance.State": { "additionalProperties": false, "properties": { - "Key": { + "Code": { "type": "string" }, - "Value": { + "Name": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::AppFlow::Flow.TrendmicroSourceProperties": { + "AWS::EC2::Instance.Volume": { "additionalProperties": false, "properties": { - "Object": { + "Device": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ScheduledTriggerProperties" }, - "TriggerType": { + "VolumeId": { "type": "string" } }, "required": [ - "TriggerType" + "Device", + "VolumeId" ], "type": "object" }, - "AWS::AppFlow::Flow.UpsolverDestinationProperties": { + "AWS::EC2::InstanceConnectEndpoint": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig" - } - }, - "required": [ - "BucketName", - "S3OutputFormatConfig" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig": { - "additionalProperties": false, - "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ClientToken": { + "type": "string" + }, + "PreserveClientIp": { + "type": "boolean" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "SubnetId" + ], + "type": "object" }, - "FileType": { + "Type": { + "enum": [ + "AWS::EC2::InstanceConnectEndpoint" + ], "type": "string" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "PrefixConfig" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::Flow.VeevaSourceProperties": { + "AWS::EC2::InternetGateway": { "additionalProperties": false, "properties": { - "DocumentType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "IncludeAllVersions": { - "type": "boolean" - }, - "IncludeRenditions": { - "type": "boolean" - }, - "IncludeSourceFiles": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Metadata": { + "type": "object" }, - "IdFieldNames": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Object": { + "Type": { + "enum": [ + "AWS::EC2::InternetGateway" + ], "type": "string" }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration": { + "AWS::EC2::KeyPair": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8051,16 +7631,16 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "KeyFormat": { "type": "string" }, - "EventBridgeBus": { + "KeyName": { "type": "string" }, - "EventFilter": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.EventFilter" + "KeyType": { + "type": "string" }, - "Name": { + "PublicKeyMaterial": { "type": "string" }, "Tags": { @@ -8071,15 +7651,13 @@ } }, "required": [ - "EventBridgeBus", - "EventFilter", - "Name" + "KeyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppIntegrations::EventIntegration" + "AWS::EC2::KeyPair" ], "type": "string" }, @@ -8098,59 +7676,7 @@ ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration.EventFilter": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation": { - "additionalProperties": false, - "properties": { - "ClientAssociationMetadata": { - "items": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.Metadata" - }, - "type": "array" - }, - "ClientId": { - "type": "string" - }, - "EventBridgeRuleName": { - "type": "string" - }, - "EventIntegrationAssociationArn": { - "type": "string" - }, - "EventIntegrationAssociationId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.Metadata": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute": { + "AWS::EC2::LaunchTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8182,38 +7708,30 @@ "Properties": { "additionalProperties": false, "properties": { - "GatewayRouteName": { - "type": "string" - }, - "MeshName": { - "type": "string" + "LaunchTemplateData": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" }, - "MeshOwner": { + "LaunchTemplateName": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteSpec" - }, - "Tags": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" }, "type": "array" }, - "VirtualGatewayName": { + "VersionDescription": { "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualGatewayName" + "LaunchTemplateData" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::GatewayRoute" + "AWS::EC2::LaunchTemplate" ], "type": "string" }, @@ -8232,955 +7750,844 @@ ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch": { + "AWS::EC2::LaunchTemplate.AcceleratorCount": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite": { + "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { "additionalProperties": false, "properties": { - "DefaultTargetHostname": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch": { + "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch": { + "AWS::EC2::LaunchTemplate.BaselinePerformanceFactors": { "additionalProperties": false, "properties": { - "End": { - "type": "number" - }, - "Start": { - "type": "number" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Cpu" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteSpec": { + "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRoute" + "DeviceName": { + "type": "string" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "NoDevice": { + "type": "string" }, - "Priority": { - "type": "number" + "VirtualName": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteTarget": { + "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService" - } - }, - "required": [ - "VirtualService" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService": { - "additionalProperties": false, - "properties": { - "VirtualServiceName": { + "CapacityReservationPreference": { "type": "string" + }, + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" } }, - "required": [ - "VirtualServiceName" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRoute": { + "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction" + "CapacityReservationId": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch" + "CapacityReservationResourceGroupArn": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite" + "TcpEstablishedTimeout": { + "type": "number" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" + "UdpStreamTimeout": { + "type": "number" + }, + "UdpTimeout": { + "type": "number" } }, - "required": [ - "Target" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.Cpu": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Metadata": { + "References": { "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Reference" }, "type": "array" - }, - "ServiceName": { - "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata": { + "AWS::EC2::LaunchTemplate.CpuOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" + "AmdSevSnp": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch" + "CoreCount": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite": { - "additionalProperties": false, - "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoute": { + "AWS::EC2::LaunchTemplate.CreditSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch" + "CpuCredits": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.Ebs": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite" + "DeleteOnTermination": { + "type": "boolean" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" - } - }, - "required": [ - "Target" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader": { - "additionalProperties": false, - "properties": { - "Invert": { + "Encrypted": { "type": "boolean" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch" + "Iops": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch": { - "additionalProperties": false, - "properties": { - "Exact": { + "KmsKeyId": { "type": "string" }, - "Prefix": { + "SnapshotId": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" + "Throughput": { + "type": "number" }, - "Regex": { - "type": "string" + "VolumeSize": { + "type": "number" }, - "Suffix": { + "VolumeType": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader" - }, - "type": "array" - }, - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Method": { - "type": "string" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpPathMatch" - }, - "Prefix": { + "Type": { "type": "string" - }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.QueryParameter" - }, - "type": "array" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdSpecification": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification": { "additionalProperties": false, "properties": { - "DefaultPrefix": { - "type": "string" - }, - "Value": { - "type": "string" + "EnaSrdUdpEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite": { + "AWS::EC2::LaunchTemplate.EnclaveOptions": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite" - }, - "Prefix": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.HibernationOptions": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.IamInstanceProfile": { "additionalProperties": false, "properties": { - "Exact": { + "Arn": { + "type": "string" + }, + "Name": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.QueryParameter": { + "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch" - }, - "Name": { + "MarketType": { "type": "string" + }, + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Mesh": { + "AWS::EC2::LaunchTemplate.InstanceRequirements": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorCount" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.MeshSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB" + }, + "AcceleratorTypes": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Mesh" - ], + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselinePerformanceFactors" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryMiB" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkBandwidthGbps" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterfaceCount" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TotalLocalStorageGB" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.VCpuCount" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.EgressFilter": { + "AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Type": { + "Ipv4Prefix": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.MeshSpec": { + "AWS::EC2::LaunchTemplate.Ipv6Add": { "additionalProperties": false, "properties": { - "EgressFilter": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.EgressFilter" + "Ipv6Address": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route": { + "AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ipv6Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "additionalProperties": false, + "properties": { + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" }, - "Metadata": { - "type": "object" + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { - "type": "string" - }, - "RouteName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Route.RouteSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VirtualRouterName": { - "type": "string" - } + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + }, + "DisableApiStop": { + "type": "boolean" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" }, - "required": [ - "MeshName", - "Spec", - "VirtualRouterName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Route" - ], + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + }, + "ImageId": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstanceInitiatedShutdownBehavior": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AppMesh::Route.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { + }, + "InstanceMarketOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceRequirements" + }, + "InstanceType": { "type": "string" }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::Route.GrpcRetryPolicy": { - "additionalProperties": false, - "properties": { - "GrpcRetryEvents": { + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LicenseSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" }, "type": "array" }, - "HttpRetryEvents": { + "MaintenanceOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MaintenanceOptions" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + }, + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + }, + "NetworkInterfaces": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" }, "type": "array" }, - "MaxRetries": { - "type": "number" + "NetworkPerformanceOptions": { + "type": "object" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateDnsNameOptions" }, - "TcpRetryEvents": { + "RamDiskId": { + "type": "string" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { "items": { "type": "string" }, "type": "array" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" + }, + "type": "array" + }, + "UserData": { + "type": "string" } }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRoute": { + "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMatch" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRetryPolicy" + "Count": { + "type": "number" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcTimeout" + "Type": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteAction": { + "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { "additionalProperties": false, "properties": { - "WeightedTargets": { + "ResourceType": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMatch": { + "AWS::EC2::LaunchTemplate.LicenseSpecification": { "additionalProperties": false, "properties": { - "Metadata": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadata" - }, - "type": "array" - }, - "MethodName": { - "type": "string" - }, - "ServiceName": { + "LicenseConfigurationArn": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadata": { + "AWS::EC2::LaunchTemplate.MaintenanceOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod" - }, - "Name": { + "AutoRecovery": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod": { + "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcTimeout": { + "AWS::EC2::LaunchTemplate.MemoryMiB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HeaderMatchMethod": { + "AWS::EC2::LaunchTemplate.MetadataOptions": { "additionalProperties": false, "properties": { - "Exact": { + "HttpEndpoint": { "type": "string" }, - "Prefix": { + "HttpProtocolIpv6": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" + "HttpPutResponseHopLimit": { + "type": "number" }, - "Regex": { + "HttpTokens": { "type": "string" }, - "Suffix": { + "InstanceMetadataTags": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.Monitoring": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.NetworkBandwidthGbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpRetryPolicy": { + "AWS::EC2::LaunchTemplate.NetworkInterface": { "additionalProperties": false, "properties": { - "HttpRetryEvents": { + "AssociateCarrierIpAddress": { + "type": "boolean" + }, + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdSpecification" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "MaxRetries": { + "InterfaceType": { + "type": "string" + }, + "Ipv4PrefixCount": { "type": "number" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Ipv4Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification" + }, + "type": "array" + }, + "Ipv6AddressCount": { + "type": "number" }, - "TcpRetryEvents": { + "Ipv6Addresses": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" }, "type": "array" - } - }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRoute": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteAction" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteMatch" + "Ipv6PrefixCount": { + "type": "number" }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRetryPolicy" + "Ipv6Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification" + }, + "type": "array" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpTimeout" - } - }, - "required": [ - "Action", - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "NetworkCardIndex": { + "type": "number" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PrimaryIpv6": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" }, "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { + "type": "string" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteHeader": { + "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HeaderMatchMethod" + "Max": { + "type": "number" }, - "Name": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteMatch": { + "AWS::EC2::LaunchTemplate.Placement": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteHeader" - }, - "type": "array" + "Affinity": { + "type": "string" }, - "Method": { + "AvailabilityZone": { "type": "string" }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpPathMatch" + "GroupId": { + "type": "string" }, - "Prefix": { + "GroupName": { "type": "string" }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.QueryParameter" - }, - "type": "array" + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" }, - "Scheme": { + "Tenancy": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpTimeout": { + "AWS::EC2::LaunchTemplate.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsARecord": { + "type": "boolean" + }, + "HostnameType": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.MatchRange": { + "AWS::EC2::LaunchTemplate.PrivateIpAdd": { "additionalProperties": false, "properties": { - "End": { - "type": "number" + "Primary": { + "type": "boolean" }, - "Start": { - "type": "number" + "PrivateIpAddress": { + "type": "string" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::Route.QueryParameter": { + "AWS::EC2::LaunchTemplate.Reference": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpQueryParameterMatch" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.RouteSpec": { + "AWS::EC2::LaunchTemplate.SpotOptions": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRoute" + "BlockDurationMinutes": { + "type": "number" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "InstanceInterruptionBehavior": { + "type": "string" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "MaxPrice": { + "type": "string" }, - "Priority": { - "type": "number" + "SpotInstanceType": { + "type": "string" }, - "TcpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRoute" + "ValidUntil": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.TcpRoute": { + "AWS::EC2::LaunchTemplate.TagSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRouteAction" + "ResourceType": { + "type": "string" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpTimeout" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::AppMesh::Route.TcpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.TcpTimeout": { + "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.WeightedTarget": { + "AWS::EC2::LaunchTemplate.VCpuCount": { "additionalProperties": false, "properties": { - "VirtualNode": { - "type": "string" + "Max": { + "type": "number" }, - "Weight": { + "Min": { "type": "number" } }, - "required": [ - "VirtualNode", - "Weight" - ], "type": "object" }, - "AWS::AppMesh::VirtualGateway": { + "AWS::EC2::LocalGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9212,34 +8619,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "DestinationCidrBlock": { "type": "string" }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewaySpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "LocalGatewayVirtualInterfaceGroupId": { + "type": "string" }, - "VirtualGatewayName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "DestinationCidrBlock", + "LocalGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualGateway" + "AWS::EC2::LocalGatewayRoute" ], "type": "string" }, @@ -9258,431 +8659,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayLogging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewaySpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayLogging" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode": { + "AWS::EC2::LocalGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9714,34 +8691,27 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayId": { "type": "string" }, - "MeshOwner": { + "Mode": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualNodeName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualNode" + "AWS::EC2::LocalGatewayRouteTable" ], "type": "string" }, @@ -9760,638 +8730,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualNode.AccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.FileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute" - }, - "type": "array" - }, - "NamespaceName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "NamespaceName", - "ServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Backend": { - "additionalProperties": false, - "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualServiceBackend" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.BackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.DnsServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "ResponseType": { - "type": "string" - } - }, - "required": [ - "Hostname" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.FileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.GrpcTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HttpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Listener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HealthCheck" - }, - "OutlierDetection": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.OutlierDetection" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.PortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTls" - }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTimeout" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTimeout": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.GrpcTimeout" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TcpTimeout" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Logging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.OutlierDetection": { - "additionalProperties": false, - "properties": { - "BaseEjectionDuration": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "Interval": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "MaxEjectionPercent": { - "type": "number" - }, - "MaxServerErrors": { - "type": "number" - } - }, - "required": [ - "BaseEjectionDuration", - "Interval", - "MaxEjectionPercent", - "MaxServerErrors" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ServiceDiscovery": { - "additionalProperties": false, - "properties": { - "AWSCloudMap": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery" - }, - "DNS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.DnsServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TcpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeSpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.BackendDefaults" - }, - "Backends": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Backend" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Listener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Logging" - }, - "ServiceDiscovery": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualServiceBackend": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - }, - "VirtualServiceName": { - "type": "string" - } - }, - "required": [ - "VirtualServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter": { + "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10423,34 +8762,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "VirtualRouterName": { + "VpcId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayRouteTableId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualRouter" + "AWS::EC2::LocalGatewayRouteTableVPCAssociation" ], "type": "string" }, @@ -10469,50 +8802,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualRouter.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterListener": { - "additionalProperties": false, - "properties": { - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.PortMapping" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterSpec": { - "additionalProperties": false, - "properties": { - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterListener" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService": { + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10544,35 +8834,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayRouteTableId": { "type": "string" }, - "MeshOwner": { + "LocalGatewayVirtualInterfaceGroupId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualServiceName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualServiceName" + "LocalGatewayRouteTableId", + "LocalGatewayVirtualInterfaceGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualService" + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" ], "type": "string" }, @@ -10591,52 +8874,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualService.VirtualNodeServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNodeName": { - "type": "string" - } - }, - "required": [ - "VirtualNodeName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualRouterServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualRouterName": { - "type": "string" - } - }, - "required": [ - "VirtualRouterName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNode": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualNodeServiceProvider" - }, - "VirtualRouter": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualRouterServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceSpec": { - "additionalProperties": false, - "properties": { - "Provider": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service": { + "AWS::EC2::NatGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10668,23 +8906,35 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingConfigurationArn": { + "AllocationId": { "type": "string" }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.EncryptionConfiguration" - }, - "HealthCheckConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.HealthCheckConfiguration" + "ConnectivityType": { + "type": "string" }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.InstanceConfiguration" + "MaxDrainDurationSeconds": { + "type": "number" }, - "ServiceName": { + "PrivateIpAddress": { "type": "string" }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceConfiguration" + "SecondaryAllocationIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SecondaryPrivateIpAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -10694,13 +8944,13 @@ } }, "required": [ - "SourceConfiguration" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppRunner::Service" + "AWS::EC2::NatGateway" ], "type": "string" }, @@ -10719,214 +8969,7 @@ ], "type": "object" }, - "AWS::AppRunner::Service.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "AccessRoleArn": { - "type": "string" - }, - "ConnectionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeConfigurationValues": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfigurationValues" - }, - "ConfigurationSource": { - "type": "string" - } - }, - "required": [ - "ConfigurationSource" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfigurationValues": { - "additionalProperties": false, - "properties": { - "BuildCommand": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "required": [ - "Runtime" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeRepository": { - "additionalProperties": false, - "properties": { - "CodeConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfiguration" - }, - "RepositoryUrl": { - "type": "string" - }, - "SourceCodeVersion": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceCodeVersion" - } - }, - "required": [ - "RepositoryUrl", - "SourceCodeVersion" - ], - "type": "object" - }, - "AWS::AppRunner::Service.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKey": { - "type": "string" - } - }, - "required": [ - "KmsKey" - ], - "type": "object" - }, - "AWS::AppRunner::Service.HealthCheckConfiguration": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Timeout": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageConfiguration": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageRepository": { - "additionalProperties": false, - "properties": { - "ImageConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageConfiguration" - }, - "ImageIdentifier": { - "type": "string" - }, - "ImageRepositoryType": { - "type": "string" - } - }, - "required": [ - "ImageIdentifier", - "ImageRepositoryType" - ], - "type": "object" - }, - "AWS::AppRunner::Service.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "Cpu": { - "type": "string" - }, - "InstanceRoleArn": { - "type": "string" - }, - "Memory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.SourceCodeVersion": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::AppRunner::Service.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.AuthenticationConfiguration" - }, - "AutoDeploymentsEnabled": { - "type": "boolean" - }, - "CodeRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeRepository" - }, - "ImageRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageRepository" - } - }, - "type": "object" - }, - "AWS::AppStream::AppBlock": { + "AWS::EC2::NetworkAcl": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10958,38 +9001,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SetupScriptDetails": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.ScriptDetails" - }, - "SourceS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "VpcId": { + "type": "string" } }, "required": [ - "Name", - "SetupScriptDetails", - "SourceS3Location" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::AppBlock" + "AWS::EC2::NetworkAcl" ], "type": "string" }, @@ -11008,46 +9037,7 @@ ], "type": "object" }, - "AWS::AppStream::AppBlock.S3Location": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::AppStream::AppBlock.ScriptDetails": { - "additionalProperties": false, - "properties": { - "ExecutableParameters": { - "type": "string" - }, - "ExecutablePath": { - "type": "string" - }, - "ScriptS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "ExecutablePath", - "ScriptS3Location", - "TimeoutInSeconds" - ], - "type": "object" - }, - "AWS::AppStream::Application": { + "AWS::EC2::NetworkAclEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11079,68 +9069,45 @@ "Properties": { "additionalProperties": false, "properties": { - "AppBlockArn": { - "type": "string" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DisplayName": { + "CidrBlock": { "type": "string" }, - "IconS3Location": { - "$ref": "#/definitions/AWS::AppStream::Application.S3Location" - }, - "InstanceFamilies": { - "items": { - "type": "string" - }, - "type": "array" + "Egress": { + "type": "boolean" }, - "LaunchParameters": { - "type": "string" + "Icmp": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" }, - "LaunchPath": { + "Ipv6CidrBlock": { "type": "string" }, - "Name": { + "NetworkAclId": { "type": "string" }, - "Platforms": { - "items": { - "type": "string" - }, - "type": "array" + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Protocol": { + "type": "number" }, - "WorkingDirectory": { + "RuleAction": { "type": "string" + }, + "RuleNumber": { + "type": "number" } }, "required": [ - "AppBlockArn", - "IconS3Location", - "InstanceFamilies", - "LaunchPath", - "Name", - "Platforms" + "NetworkAclId", + "Protocol", + "RuleAction", + "RuleNumber" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Application" + "AWS::EC2::NetworkAclEntry" ], "type": "string" }, @@ -11159,23 +9126,31 @@ ], "type": "object" }, - "AWS::AppStream::Application.S3Location": { + "AWS::EC2::NetworkAclEntry.Icmp": { "additionalProperties": false, "properties": { - "S3Bucket": { - "type": "string" + "Code": { + "type": "number" }, - "S3Key": { - "type": "string" + "Type": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkAclEntry.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" } }, - "required": [ - "S3Bucket", - "S3Key" - ], "type": "object" }, - "AWS::AppStream::ApplicationFleetAssociation": { + "AWS::EC2::NetworkInsightsAccessScope": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11207,22 +9182,30 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationArn": { - "type": "string" + "ExcludePaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" }, - "FleetName": { - "type": "string" + "MatchPaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApplicationArn", - "FleetName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ApplicationFleetAssociation" + "AWS::EC2::NetworkInsightsAccessScope" ], "type": "string" }, @@ -11236,12 +9219,116 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppStream::DirectoryConfig": { + "AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest": { + "additionalProperties": false, + "properties": { + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "Source": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "ThroughResources": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest": { + "additionalProperties": false, + "properties": { + "PacketHeaderStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest" + }, + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Resources": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScopeAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11273,29 +9360,24 @@ "Properties": { "additionalProperties": false, "properties": { - "DirectoryName": { + "NetworkInsightsAccessScopeId": { "type": "string" }, - "OrganizationalUnitDistinguishedNames": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "ServiceAccountCredentials": { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig.ServiceAccountCredentials" } }, "required": [ - "DirectoryName", - "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials" + "NetworkInsightsAccessScopeId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::DirectoryConfig" + "AWS::EC2::NetworkInsightsAccessScopeAnalysis" ], "type": "string" }, @@ -11314,23 +9396,7 @@ ], "type": "object" }, - "AWS::AppStream::DirectoryConfig.ServiceAccountCredentials": { - "additionalProperties": false, - "properties": { - "AccountName": { - "type": "string" - }, - "AccountPassword": { - "type": "string" - } - }, - "required": [ - "AccountName", - "AccountPassword" - ], - "type": "object" - }, - "AWS::AppStream::Fleet": { + "AWS::EC2::NetworkInsightsAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11362,82 +9428,36 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeCapacity": { - "$ref": "#/definitions/AWS::AppStream::Fleet.ComputeCapacity" - }, - "Description": { - "type": "string" - }, - "DisconnectTimeoutInSeconds": { - "type": "number" - }, - "DisplayName": { - "type": "string" - }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::Fleet.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" - }, - "FleetType": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - }, - "IdleDisconnectTimeoutInSeconds": { - "type": "number" - }, - "ImageArn": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "MaxConcurrentSessions": { - "type": "number" - }, - "MaxUserDurationInSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "StreamView": { - "type": "string" - }, - "Tags": { + "AdditionalAccounts": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "UsbDeviceFilterStrings": { + "FilterInArns": { "items": { "type": "string" }, "type": "array" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::Fleet.VpcConfig" + "NetworkInsightsPathId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "InstanceType", - "Name" + "NetworkInsightsPathId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Fleet" + "AWS::EC2::NetworkInsightsAnalysis" ], "type": "string" }, @@ -11456,57 +9476,492 @@ ], "type": "object" }, - "AWS::AppStream::Fleet.ComputeCapacity": { - "additionalProperties": false, - "properties": { - "DesiredInstances": { - "type": "number" - } - }, - "required": [ - "DesiredInstances" - ], - "type": "object" - }, - "AWS::AppStream::Fleet.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail": { "additionalProperties": false, "properties": { - "DirectoryName": { + "AdditionalDetailType": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancers": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "ServiceName": { "type": "string" } }, "type": "object" }, - "AWS::AppStream::Fleet.VpcConfig": { + "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentArn": { + "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentId": { + "type": "string" } }, "type": "object" }, - "AWS::AppStream::ImageBuilder": { + "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Cidr": { + "type": "string" + }, + "Egress": { + "type": "boolean" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "Protocol": { + "type": "string" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "Id": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "additionalProperties": false, + "properties": { + "InstancePort": { + "type": "number" + }, + "LoadBalancerPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "additionalProperties": false, + "properties": { + "Address": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "Instance": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Port": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "Protocol": { + "type": "string" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "additionalProperties": false, + "properties": { + "NatGatewayId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "Origin": { + "type": "string" + }, + "State": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcPeeringConnectionId": { + "type": "string" + }, + "destinationCidr": { + "type": "string" + }, + "destinationPrefixListId": { + "type": "string" + }, + "egressOnlyInternetGatewayId": { + "type": "string" + }, + "gatewayId": { + "type": "string" + }, + "instanceId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Direction": { + "type": "string" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "PrefixListId": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SecurityGroupId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "additionalProperties": false, + "properties": { + "Acl": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "Address": { + "type": "string" + }, + "Addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AttachedTo": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ClassicLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ComponentAccount": { + "type": "string" + }, + "ComponentRegion": { + "type": "string" + }, + "CustomerGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Direction": { + "type": "string" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ExplanationCode": { + "type": "string" + }, + "IngressRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "InternetGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerArn": { + "type": "string" + }, + "LoadBalancerListenerPort": { + "type": "number" + }, + "LoadBalancerTarget": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" + }, + "LoadBalancerTargetGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerTargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "LoadBalancerTargetPort": { + "type": "number" + }, + "MissingComponent": { + "type": "string" + }, + "NatGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "NetworkInterface": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "PacketField": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "PrefixList": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "RouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "State": { + "type": "string" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SubnetRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayAttachment": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpcPeeringConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "vpcEndpoint": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { + "additionalProperties": false, + "properties": { + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "AdditionalDetails": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail" + }, + "type": "array" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Explanations": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.Explanation" + }, + "type": "array" + }, + "InboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "OutboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SequenceNumber": { + "type": "number" + }, + "ServiceName": { + "type": "string" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute": { + "additionalProperties": false, + "properties": { + "AttachmentId": { + "type": "string" + }, + "DestinationCidr": { + "type": "string" + }, + "PrefixListId": { + "type": "string" + }, + "ResourceId": { + "type": "string" + }, + "ResourceType": { + "type": "string" + }, + "RouteOrigin": { + "type": "string" + }, + "State": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsPath": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, "DependsOn": { @@ -11530,40 +9985,28 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.AccessEndpoint" - }, - "type": "array" - }, - "AppstreamAgentVersion": { - "type": "string" - }, - "Description": { + "Destination": { "type": "string" }, - "DisplayName": { + "DestinationIp": { "type": "string" }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" + "DestinationPort": { + "type": "number" }, - "IamRoleArn": { - "type": "string" + "FilterAtDestination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageArn": { - "type": "string" + "FilterAtSource": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageName": { + "Protocol": { "type": "string" }, - "InstanceType": { + "Source": { "type": "string" }, - "Name": { + "SourceIp": { "type": "string" }, "Tags": { @@ -11571,20 +10014,17 @@ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.VpcConfig" } }, "required": [ - "InstanceType", - "Name" + "Protocol", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ImageBuilder" + "AWS::EC2::NetworkInsightsPath" ], "type": "string" }, @@ -11603,53 +10043,37 @@ ], "type": "object" }, - "AWS::AppStream::ImageBuilder.AccessEndpoint": { + "AWS::EC2::NetworkInsightsPath.FilterPortRange": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "FromPort": { + "type": "number" }, - "VpceId": { - "type": "string" + "ToPort": { + "type": "number" } }, - "required": [ - "EndpointType", - "VpceId" - ], "type": "object" }, - "AWS::AppStream::ImageBuilder.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsPath.PathFilter": { "additionalProperties": false, "properties": { - "DirectoryName": { + "DestinationAddress": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" + }, + "SourceAddress": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppStream::ImageBuilder.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" } }, "type": "object" }, - "AWS::AppStream::Stack": { + "AWS::EC2::NetworkInterface": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11681,69 +10105,81 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.AccessEndpoint" - }, - "type": "array" + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.ConnectionTrackingSpecification" }, - "ApplicationSettings": { - "$ref": "#/definitions/AWS::AppStream::Stack.ApplicationSettings" + "Description": { + "type": "string" }, - "AttributesToDelete": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "DeleteStorageConnectors": { - "type": "boolean" - }, - "Description": { + "InterfaceType": { "type": "string" }, - "DisplayName": { - "type": "string" + "Ipv4PrefixCount": { + "type": "number" }, - "EmbedHostDomains": { + "Ipv4Prefixes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv4PrefixSpecification" }, "type": "array" }, - "FeedbackURL": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "Name": { - "type": "string" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" + }, + "type": "array" }, - "RedirectURL": { - "type": "string" + "Ipv6PrefixCount": { + "type": "number" }, - "StorageConnectors": { + "Ipv6Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.StorageConnector" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv6PrefixSpecification" }, "type": "array" }, - "Tags": { + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" }, "type": "array" }, - "UserSettings": { + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.UserSetting" + "$ref": "#/definitions/Tag" }, "type": "array" } }, + "required": [ + "SubnetId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Stack" + "AWS::EC2::NetworkInterface" ], "type": "string" }, @@ -11757,79 +10193,79 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppStream::Stack.AccessEndpoint": { + "AWS::EC2::NetworkInterface.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "TcpEstablishedTimeout": { + "type": "number" + }, + "UdpStreamTimeout": { + "type": "number" }, - "VpceId": { + "UdpTimeout": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterface.InstanceIpv6Address": { + "additionalProperties": false, + "properties": { + "Ipv6Address": { "type": "string" } }, "required": [ - "EndpointType", - "VpceId" + "Ipv6Address" ], "type": "object" }, - "AWS::AppStream::Stack.ApplicationSettings": { + "AWS::EC2::NetworkInterface.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "SettingsGroup": { + "Ipv4Prefix": { "type": "string" } }, "required": [ - "Enabled" + "Ipv4Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.StorageConnector": { + "AWS::EC2::NetworkInterface.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "ConnectorType": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdentifier": { + "Ipv6Prefix": { "type": "string" } }, "required": [ - "ConnectorType" + "Ipv6Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.UserSetting": { + "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "Action": { - "type": "string" + "Primary": { + "type": "boolean" }, - "Permission": { + "PrivateIpAddress": { "type": "string" } }, "required": [ - "Action", - "Permission" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppStream::StackFleetAssociation": { + "AWS::EC2::NetworkInterfaceAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11861,22 +10297,32 @@ "Properties": { "additionalProperties": false, "properties": { - "FleetName": { + "DeleteOnTermination": { + "type": "boolean" + }, + "DeviceIndex": { "type": "string" }, - "StackName": { + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification" + }, + "InstanceId": { + "type": "string" + }, + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "FleetName", - "StackName" + "DeviceIndex", + "InstanceId", + "NetworkInterfaceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackFleetAssociation" + "AWS::EC2::NetworkInterfaceAttachment" ], "type": "string" }, @@ -11895,7 +10341,28 @@ ], "type": "object" }, - "AWS::AppStream::StackUserAssociation": { + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdUdpEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfacePermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11927,29 +10394,26 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "AwsAccountId": { "type": "string" }, - "SendEmailNotification": { - "type": "boolean" - }, - "StackName": { + "NetworkInterfaceId": { "type": "string" }, - "UserName": { + "Permission": { "type": "string" } }, "required": [ - "AuthenticationType", - "StackName", - "UserName" + "AwsAccountId", + "NetworkInterfaceId", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackUserAssociation" + "AWS::EC2::NetworkInterfacePermission" ], "type": "string" }, @@ -11968,7 +10432,7 @@ ], "type": "object" }, - "AWS::AppStream::User": { + "AWS::EC2::NetworkPerformanceMetricSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12000,31 +10464,30 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { - "type": "string" - }, - "FirstName": { + "Destination": { "type": "string" }, - "LastName": { + "Metric": { "type": "string" }, - "MessageAction": { + "Source": { "type": "string" }, - "UserName": { + "Statistic": { "type": "string" } }, "required": [ - "AuthenticationType", - "UserName" + "Destination", + "Metric", + "Source", + "Statistic" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::User" + "AWS::EC2::NetworkPerformanceMetricSubscription" ], "type": "string" }, @@ -12043,7 +10506,7 @@ ], "type": "object" }, - "AWS::AppSync::ApiCache": { + "AWS::EC2::PlacementGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12075,36 +10538,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiCachingBehavior": { - "type": "string" + "PartitionCount": { + "type": "number" }, - "ApiId": { + "SpreadLevel": { "type": "string" }, - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "Ttl": { - "type": "number" - }, - "Type": { + "Strategy": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiCachingBehavior", - "ApiId", - "Ttl", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiCache" + "AWS::EC2::PlacementGroup" ], "type": "string" }, @@ -12118,12 +10572,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppSync::ApiKey": { + "AWS::EC2::PrefixList": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12155,27 +10608,37 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AddressFamily": { "type": "string" }, - "ApiKeyId": { - "type": "string" + "Entries": { + "items": { + "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" + }, + "type": "array" }, - "Description": { + "MaxEntries": { + "type": "number" + }, + "PrefixListName": { "type": "string" }, - "Expires": { - "type": "number" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ApiId" + "AddressFamily", + "PrefixListName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiKey" + "AWS::EC2::PrefixList" ], "type": "string" }, @@ -12194,7 +10657,22 @@ ], "type": "object" }, - "AWS::AppSync::DataSource": { + "AWS::EC2::PrefixList.Entry": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "required": [ + "Cidr" + ], + "type": "object" + }, + "AWS::EC2::Route": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12226,50 +10704,60 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CarrierGatewayId": { "type": "string" }, - "Description": { + "CoreNetworkArn": { "type": "string" }, - "DynamoDBConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DynamoDBConfig" + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationIpv6CidrBlock": { + "type": "string" }, - "ElasticsearchConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.ElasticsearchConfig" + "DestinationPrefixListId": { + "type": "string" }, - "HttpConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.HttpConfig" + "EgressOnlyInternetGatewayId": { + "type": "string" }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.LambdaConfig" + "GatewayId": { + "type": "string" }, - "Name": { + "InstanceId": { "type": "string" }, - "OpenSearchServiceConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.OpenSearchServiceConfig" + "LocalGatewayId": { + "type": "string" }, - "RelationalDatabaseConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RelationalDatabaseConfig" + "NatGatewayId": { + "type": "string" }, - "ServiceRoleArn": { + "NetworkInterfaceId": { "type": "string" }, - "Type": { + "RouteTableId": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcEndpointId": { + "type": "string" + }, + "VpcPeeringConnectionId": { "type": "string" } }, "required": [ - "ApiId", - "Name", - "Type" + "RouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::DataSource" + "AWS::EC2::Route" ], "type": "string" }, @@ -12288,179 +10776,7 @@ ], "type": "object" }, - "AWS::AppSync::DataSource.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationType": { - "type": "string" - }, - "AwsIamConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AwsIamConfig" - } - }, - "required": [ - "AuthorizationType" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.AwsIamConfig": { - "additionalProperties": false, - "properties": { - "SigningRegion": { - "type": "string" - }, - "SigningServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::DataSource.DeltaSyncConfig": { - "additionalProperties": false, - "properties": { - "BaseTableTTL": { - "type": "string" - }, - "DeltaSyncTableName": { - "type": "string" - }, - "DeltaSyncTableTTL": { - "type": "string" - } - }, - "required": [ - "BaseTableTTL", - "DeltaSyncTableName", - "DeltaSyncTableTTL" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.DynamoDBConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "DeltaSyncConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DeltaSyncConfig" - }, - "TableName": { - "type": "string" - }, - "UseCallerCredentials": { - "type": "boolean" - }, - "Versioned": { - "type": "boolean" - } - }, - "required": [ - "AwsRegion", - "TableName" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.ElasticsearchConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.HttpConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AuthorizationConfig" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.LambdaConfig": { - "additionalProperties": false, - "properties": { - "LambdaFunctionArn": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.OpenSearchServiceConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RdsHttpEndpointConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "AwsSecretStoreArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DbClusterIdentifier": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "AwsSecretStoreArn", - "DbClusterIdentifier" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RelationalDatabaseConfig": { - "additionalProperties": false, - "properties": { - "RdsHttpEndpointConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RdsHttpEndpointConfig" - }, - "RelationalDatabaseSourceType": { - "type": "string" - } - }, - "required": [ - "RelationalDatabaseSourceType" - ], - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration": { + "AWS::EC2::RouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12492,48 +10808,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "DataSourceName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RequestMappingTemplate": { - "type": "string" - }, - "RequestMappingTemplateS3Location": { - "type": "string" - }, - "ResponseMappingTemplate": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "ResponseMappingTemplateS3Location": { + "VpcId": { "type": "string" - }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.SyncConfig" } }, "required": [ - "ApiId", - "DataSourceName", - "FunctionVersion", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::FunctionConfiguration" + "AWS::EC2::RouteTable" ], "type": "string" }, @@ -12552,34 +10844,7 @@ ], "type": "object" }, - "AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi": { + "AWS::EC2::SecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12611,43 +10876,42 @@ "Properties": { "additionalProperties": false, "properties": { - "AdditionalAuthenticationProviders": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders" - }, - "AuthenticationType": { + "GroupDescription": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "LogConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LogConfig" - }, - "Name": { + "GroupName": { "type": "string" }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "SecurityGroupEgress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" + }, + "type": "array" }, - "Tags": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.Tags" + "SecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" + }, + "type": "array" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.UserPoolConfig" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "XrayEnabled": { - "type": "boolean" + "VpcId": { + "type": "string" } }, "required": [ - "AuthenticationType", - "Name" + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLApi" + "AWS::EC2::SecurityGroup" ], "type": "string" }, @@ -12666,119 +10930,79 @@ ], "type": "object" }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider": { + "AWS::EC2::SecurityGroup.Egress": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "CidrIp": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "CidrIpv6": { + "type": "string" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.CognitoUserPoolConfig" - } - }, - "required": [ - "AuthenticationType" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.CognitoUserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + "Description": { "type": "string" }, - "AwsRegion": { + "DestinationPrefixListId": { "type": "string" }, - "UserPoolId": { + "DestinationSecurityGroupId": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AuthorizerResultTtlInSeconds": { + }, + "FromPort": { "type": "number" }, - "AuthorizerUri": { + "IpProtocol": { "type": "string" }, - "IdentityValidationExpression": { - "type": "string" + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLApi.LogConfig": { + "AWS::EC2::SecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "CloudWatchLogsRoleArn": { + "CidrIp": { "type": "string" }, - "ExcludeVerboseContent": { - "type": "boolean" - }, - "FieldLogLevel": { + "CidrIpv6": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.OpenIDConnectConfig": { - "additionalProperties": false, - "properties": { - "AuthTTL": { - "type": "number" }, - "ClientId": { + "Description": { "type": "string" }, - "IatTTL": { + "FromPort": { "type": "number" }, - "Issuer": { + "IpProtocol": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.Tags": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.UserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + }, + "SourcePrefixListId": { "type": "string" }, - "AwsRegion": { + "SourceSecurityGroupId": { "type": "string" }, - "DefaultAction": { + "SourceSecurityGroupName": { "type": "string" }, - "UserPoolId": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLSchema": { + "AWS::EC2::SecurityGroupEgress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12810,24 +11034,43 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { + "type": "string" + }, + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { "type": "string" }, - "Definition": { + "FromPort": { + "type": "number" + }, + "GroupId": { "type": "string" }, - "DefinitionS3Location": { + "IpProtocol": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId" + "GroupId", + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLSchema" + "AWS::EC2::SecurityGroupEgress" ], "type": "string" }, @@ -12846,7 +11089,7 @@ ], "type": "object" }, - "AWS::AppSync::Resolver": { + "AWS::EC2::SecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12878,53 +11121,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "CachingConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.CachingConfig" - }, - "DataSourceName": { + "CidrIpv6": { "type": "string" }, - "FieldName": { + "Description": { "type": "string" }, - "Kind": { - "type": "string" + "FromPort": { + "type": "number" }, - "PipelineConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.PipelineConfig" + "GroupId": { + "type": "string" }, - "RequestMappingTemplate": { + "GroupName": { "type": "string" }, - "RequestMappingTemplateS3Location": { + "IpProtocol": { "type": "string" }, - "ResponseMappingTemplate": { + "SourcePrefixListId": { "type": "string" }, - "ResponseMappingTemplateS3Location": { + "SourceSecurityGroupId": { "type": "string" }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.SyncConfig" + "SourceSecurityGroupName": { + "type": "string" }, - "TypeName": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId", - "FieldName", - "TypeName" + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::Resolver" + "AWS::EC2::SecurityGroupIngress" ], "type": "string" }, @@ -12943,61 +11184,7 @@ ], "type": "object" }, - "AWS::AppSync::Resolver.CachingConfig": { - "additionalProperties": false, - "properties": { - "CachingKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ttl": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.PipelineConfig": { - "additionalProperties": false, - "properties": { - "Functions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget": { + "AWS::EC2::SecurityGroupVpcAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13029,47 +11216,22 @@ "Properties": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "ScalableDimension": { + "GroupId": { "type": "string" }, - "ScheduledActions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction" - }, - "type": "array" - }, - "ServiceNamespace": { + "VpcId": { "type": "string" - }, - "SuspendedState": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "RoleARN", - "ScalableDimension", - "ServiceNamespace" + "GroupId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalableTarget" + "AWS::EC2::SecurityGroupVpcAssociation" ], "type": "string" }, @@ -13088,62 +11250,7 @@ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "ScalableTargetAction": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "Schedule", - "ScheduledActionName" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState": { - "additionalProperties": false, - "properties": { - "DynamicScalingInSuspended": { - "type": "boolean" - }, - "DynamicScalingOutSuspended": { - "type": "boolean" - }, - "ScheduledScalingSuspended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy": { + "AWS::EC2::SnapshotBlockPublicAccess": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13175,40 +11282,18 @@ "Properties": { "additionalProperties": false, "properties": { - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingTargetId": { - "type": "string" - }, - "ServiceNamespace": { + "State": { "type": "string" - }, - "StepScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration" } }, "required": [ - "PolicyName", - "PolicyType" + "State" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalingPolicy" + "AWS::EC2::SnapshotBlockPublicAccess" ], "type": "string" }, @@ -13227,136 +11312,7 @@ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "Cooldown": { - "type": "number" - }, - "MetricAggregationType": { - "type": "string" - }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::ApplicationInsights::Application": { + "AWS::EC2::SpotFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13388,54 +11344,18 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentMonitoringSetting" - }, - "type": "array" - }, - "CustomComponents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.CustomComponent" - }, - "type": "array" - }, - "LogPatternSets": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPatternSet" - }, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "type": "string" - }, - "ResourceGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SpotFleetRequestConfigData": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" } }, "required": [ - "ResourceGroupName" + "SpotFleetRequestConfigData" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationInsights::Application" + "AWS::EC2::SpotFleet" ], "type": "string" }, @@ -13454,1405 +11374,716 @@ ], "type": "object" }, - "AWS::ApplicationInsights::Application.Alarm": { + "AWS::EC2::SpotFleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "AlarmName": { - "type": "string" + "Max": { + "type": "number" }, - "Severity": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "AlarmName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.AlarmMetric": { + "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "AlarmMetricName": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, - "required": [ - "AlarmMetricName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentConfiguration": { + "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ConfigurationDetails" + "Max": { + "type": "number" }, - "SubComponentTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentTypeConfiguration" - }, - "type": "array" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentMonitoringSetting": { + "AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "ComponentARN": { + "Cpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.CpuPerformanceFactorRequest" + } + }, + "type": "object" + }, + "AWS::EC2::SpotFleet.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "ComponentConfigurationMode": { - "type": "string" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" }, - "ComponentName": { + "NoDevice": { "type": "string" }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "Tier": { + "VirtualName": { "type": "string" } }, "required": [ - "ComponentConfigurationMode", - "Tier" + "DeviceName" ], "type": "object" }, - "AWS::ApplicationInsights::Application.ConfigurationDetails": { + "AWS::EC2::SpotFleet.ClassicLoadBalancer": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Alarm" - }, - "type": "array" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.JMXPrometheusExporter" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Name": { + "type": "string" } }, + "required": [ + "Name" + ], "type": "object" }, - "AWS::ApplicationInsights::Application.CustomComponent": { + "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { "additionalProperties": false, "properties": { - "ComponentName": { - "type": "string" - }, - "ResourceList": { + "ClassicLoadBalancers": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" }, "type": "array" } }, "required": [ - "ComponentName", - "ResourceList" + "ClassicLoadBalancers" ], "type": "object" }, - "AWS::ApplicationInsights::Application.JMXPrometheusExporter": { + "AWS::EC2::SpotFleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.Log": { + "AWS::EC2::SpotFleet.EbsBlockDevice": { "additionalProperties": false, "properties": { - "Encoding": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "LogGroupName": { - "type": "string" + "Encrypted": { + "type": "boolean" }, - "LogPath": { - "type": "string" + "Iops": { + "type": "number" }, - "LogType": { + "SnapshotId": { "type": "string" }, - "PatternSet": { + "VolumeSize": { + "type": "number" + }, + "VolumeType": { "type": "string" } }, - "required": [ - "LogType" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPattern": { + "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "Pattern": { + "LaunchTemplateId": { "type": "string" }, - "PatternName": { + "LaunchTemplateName": { "type": "string" }, - "Rank": { - "type": "number" + "Version": { + "type": "string" } }, "required": [ - "Pattern", - "PatternName", - "Rank" + "Version" ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPatternSet": { + "AWS::EC2::SpotFleet.GroupIdentifier": { "additionalProperties": false, "properties": { - "LogPatterns": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPattern" - }, - "type": "array" - }, - "PatternSetName": { + "GroupId": { "type": "string" } }, "required": [ - "LogPatterns", - "PatternSetName" + "GroupId" ], "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentConfigurationDetails": { + "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Arn": { + "type": "string" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentTypeConfiguration": { + "AWS::EC2::SpotFleet.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentConfigurationDetails" - }, - "SubComponentType": { + "Ipv6Address": { "type": "string" } }, "required": [ - "SubComponentConfigurationDetails", - "SubComponentType" + "Ipv6Address" ], "type": "object" }, - "AWS::ApplicationInsights::Application.WindowsEvent": { + "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { "additionalProperties": false, "properties": { - "EventLevels": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "EventName": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "LogGroupName": { + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" + }, + "type": "array" + }, + "NetworkInterfaceId": { "type": "string" }, - "PatternSet": { + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { "type": "string" } }, - "required": [ - "EventLevels", - "EventName", - "LogGroupName" - ], "type": "object" }, - "AWS::Athena::DataCatalog": { + "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" }, - "Metadata": { - "type": "object" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Athena::DataCatalog" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::NamedQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BurstablePerformance": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } + "InstanceGenerations": { + "items": { + "type": "string" }, - "required": [ - "Database", - "QueryString" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Athena::NamedQuery" - ], + "LocalStorage": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::PreparedStatement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "QueryStatement": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } - }, - "required": [ - "QueryStatement", - "StatementName", - "WorkGroup" - ], - "type": "object" + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" }, - "Type": { - "enum": [ - "AWS::Athena::PreparedStatement" - ], - "type": "string" + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::WorkGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "RequireHibernateSupport": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecursiveDeleteOption": { - "type": "boolean" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkGroupConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfiguration" - }, - "WorkGroupConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates" - } - }, - "required": [ - "Name" - ], - "type": "object" + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Athena::WorkGroup" - ], - "type": "string" + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EncryptionConfiguration": { + "AWS::EC2::SpotFleet.LaunchTemplateConfig": { "additionalProperties": false, "properties": { - "EncryptionOption": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" }, - "KmsKey": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" + }, + "type": "array" } }, - "required": [ - "EncryptionOption" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EngineVersion": { + "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "EffectiveEngineVersion": { + "AvailabilityZone": { + "type": "string" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "SpotPrice": { "type": "string" }, - "SelectedEngineVersion": { + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfiguration": { + "AWS::EC2::SpotFleet.LoadBalancersConfig": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" + "ClassicLoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" }, - "OutputLocation": { - "type": "string" + "TargetGroupsConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfigurationUpdates": { + "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" - }, - "OutputLocation": { - "type": "string" - }, - "RemoveEncryptionConfiguration": { - "type": "boolean" + "Max": { + "type": "number" }, - "RemoveOutputLocation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfiguration": { + "AWS::EC2::SpotFleet.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfiguration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates": { + "AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RemoveBytesScannedCutoffPerQuery": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfigurationUpdates" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment": { + "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentReportsDestination": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AssessmentReportsDestination" - }, - "AwsAccount": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "Description": { - "type": "string" - }, - "FrameworkId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Roles": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Role" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Scope" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AuditManager::Assessment" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AuditManager::Assessment.AWSAccount": { + "AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest": { "additionalProperties": false, "properties": { - "EmailAddress": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, "type": "object" }, - "AWS::AuditManager::Assessment.AWSService": { + "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ServiceName": { + "Primary": { + "type": "boolean" + }, + "PrivateIpAddress": { "type": "string" } }, + "required": [ + "PrivateIpAddress" + ], "type": "object" }, - "AWS::AuditManager::Assessment.AssessmentReportsDestination": { + "AWS::EC2::SpotFleet.SpotCapacityRebalance": { "additionalProperties": false, "properties": { - "Destination": { + "ReplacementStrategy": { "type": "string" }, - "DestinationType": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Delegation": { + "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { "additionalProperties": false, "properties": { - "AssessmentId": { - "type": "string" + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" + }, + "type": "array" + }, + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" }, - "AssessmentName": { + "ImageId": { "type": "string" }, - "Comment": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { "type": "string" }, - "ControlSetId": { + "KernelId": { "type": "string" }, - "CreatedBy": { + "KeyName": { "type": "string" }, - "CreationTime": { - "type": "number" + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" }, - "Id": { + "NetworkInterfaces": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" + }, + "type": "array" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" + }, + "RamdiskId": { "type": "string" }, - "LastUpdated": { - "type": "number" + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" + }, + "type": "array" }, - "RoleArn": { + "SpotPrice": { "type": "string" }, - "RoleType": { + "SubnetId": { "type": "string" }, - "Status": { + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" + }, + "type": "array" + }, + "UserData": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, + "required": [ + "ImageId" + ], "type": "object" }, - "AWS::AuditManager::Assessment.Role": { + "AWS::EC2::SpotFleet.SpotFleetMonitoring": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "RoleType": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Scope": { + "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { "additionalProperties": false, "properties": { - "AwsAccounts": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "type": "array" + "AllocationStrategy": { + "type": "string" }, - "AwsServices": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSService" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup": { - "additionalProperties": false, - "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Context": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CapacityRebalance": { - "type": "boolean" - }, - "Context": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "DesiredCapacity": { - "type": "string" - }, - "DesiredCapacityType": { - "type": "string" - }, - "HealthCheckGracePeriod": { - "type": "number" - }, - "HealthCheckType": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LaunchConfigurationName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "LifecycleHookSpecificationList": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" - }, - "type": "array" - }, - "LoadBalancerNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxInstanceLifetime": { - "type": "number" - }, - "MaxSize": { - "type": "string" - }, - "MetricsCollection": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" - }, - "type": "array" - }, - "MinSize": { - "type": "string" - }, - "MixedInstancesPolicy": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - }, - "NotificationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" - }, - "type": "array" - }, - "PlacementGroup": { - "type": "string" - }, - "ServiceLinkedRoleARN": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" - }, - "type": "array" - }, - "TargetGroupARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TerminationPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VPCZoneIdentifier": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AutoScaling::AutoScalingGroup" - ], + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "UpdatePolicy": { - "type": "object" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IamFleetRole": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "InstanceInterruptionBehavior": { + "type": "string" }, - "Min": { + "InstancePoolsToUseCount": { "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { + "LaunchSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" }, "type": "array" }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { + "LaunchTemplateConfigs": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" }, "type": "array" }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" + "LoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" }, - "BurstablePerformance": { + "OnDemandAllocationStrategy": { "type": "string" }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { + "OnDemandMaxTotalPrice": { "type": "string" }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { + "OnDemandTargetCapacity": { "type": "number" }, - "RequireHibernateSupport": { + "ReplaceUnhealthyInstances": { "type": "boolean" }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { - "additionalProperties": false, - "properties": { - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandBaseCapacity": { - "type": "number" - }, - "OnDemandPercentageAboveBaseCapacity": { - "type": "number" + "SpotMaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" }, - "SpotAllocationStrategy": { + "SpotMaxTotalPrice": { "type": "string" }, - "SpotInstancePools": { - "type": "number" - }, - "SpotMaxPrice": { + "SpotPrice": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "Overrides": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" }, "type": "array" - } - }, - "required": [ - "LaunchTemplateSpecification" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "InstanceRequirements": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" - }, - "InstanceType": { - "type": "string" - }, - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { - "additionalProperties": false, - "properties": { - "DefaultResult": { - "type": "string" }, - "HeartbeatTimeout": { + "TargetCapacity": { "type": "number" }, - "LifecycleHookName": { + "TargetCapacityUnitType": { "type": "string" }, - "LifecycleTransition": { - "type": "string" + "TerminateInstancesWithExpiration": { + "type": "boolean" }, - "NotificationMetadata": { + "Type": { "type": "string" }, - "NotificationTargetARN": { + "ValidFrom": { "type": "string" }, - "RoleARN": { + "ValidUntil": { "type": "string" } }, "required": [ - "LifecycleHookName", - "LifecycleTransition" + "IamFleetRole", + "TargetCapacity" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { + "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { "additionalProperties": false, "properties": { - "Granularity": { + "ResourceType": { "type": "string" }, - "Metrics": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "Granularity" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { + "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { "additionalProperties": false, "properties": { - "InstancesDistribution": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" } }, - "required": [ - "LaunchTemplate" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "AWS::EC2::SpotFleet.SpotPlacement": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "AvailabilityZone": { + "type": "string" }, - "Min": { - "type": "number" + "GroupName": { + "type": "string" + }, + "Tenancy": { + "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "AWS::EC2::SpotFleet.TargetGroup": { "additionalProperties": false, "properties": { - "NotificationTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TopicARN": { + "Arn": { "type": "string" } }, "required": [ - "TopicARN" + "Arn" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "AWS::EC2::SpotFleet.TargetGroupsConfig": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "PropagateAtLaunch": { - "type": "boolean" - }, - "Value": { - "type": "string" + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" + }, + "type": "array" } }, "required": [ - "Key", - "PropagateAtLaunch", - "Value" + "TargetGroups" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14864,7 +12095,7 @@ }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14876,7 +12107,7 @@ }, "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration": { + "AWS::EC2::Subnet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -14908,82 +12139,69 @@ "Properties": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { + "AssignIpv6AddressOnCreation": { "type": "boolean" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" - }, - "type": "array" + "AvailabilityZone": { + "type": "string" }, - "ClassicLinkVPCId": { + "AvailabilityZoneId": { "type": "string" }, - "ClassicLinkVPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "EbsOptimized": { + "EnableDns64": { "type": "boolean" }, - "IamInstanceProfile": { - "type": "string" + "EnableLniAtDeviceIndex": { + "type": "number" }, - "ImageId": { + "Ipv4IpamPoolId": { "type": "string" }, - "InstanceId": { - "type": "string" - }, - "InstanceMonitoring": { - "type": "boolean" + "Ipv4NetmaskLength": { + "type": "number" }, - "InstanceType": { + "Ipv6CidrBlock": { "type": "string" }, - "KernelId": { + "Ipv6IpamPoolId": { "type": "string" }, - "KeyName": { - "type": "string" + "Ipv6Native": { + "type": "boolean" }, - "LaunchConfigurationName": { - "type": "string" + "Ipv6NetmaskLength": { + "type": "number" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + "MapPublicIpOnLaunch": { + "type": "boolean" }, - "PlacementTenancy": { + "OutpostArn": { "type": "string" }, - "RamDiskId": { - "type": "string" + "PrivateDnsNameOptionsOnLaunch": { + "$ref": "#/definitions/AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch" }, - "SecurityGroups": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SpotPrice": { - "type": "string" - }, - "UserData": { + "VpcId": { "type": "string" } }, "required": [ - "ImageId", - "InstanceType" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LaunchConfiguration" + "AWS::EC2::Subnet" ], "type": "string" }, @@ -15002,70 +12220,22 @@ ], "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { + "AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { + "EnableResourceNameDnsAAAARecord": { "type": "boolean" }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" - }, - "NoDevice": { + "EnableResourceNameDnsARecord": { "type": "boolean" }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "HostnameType": { "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::LifecycleHook": { + "AWS::EC2::SubnetCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15097,40 +12267,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Ipv6CidrBlock": { "type": "string" }, - "DefaultResult": { + "Ipv6IpamPoolId": { "type": "string" }, - "HeartbeatTimeout": { + "Ipv6NetmaskLength": { "type": "number" }, - "LifecycleHookName": { - "type": "string" - }, - "LifecycleTransition": { - "type": "string" - }, - "NotificationMetadata": { - "type": "string" - }, - "NotificationTargetARN": { - "type": "string" - }, - "RoleARN": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName", - "LifecycleTransition" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LifecycleHook" + "AWS::EC2::SubnetCidrBlock" ], "type": "string" }, @@ -15149,7 +12306,7 @@ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy": { + "AWS::EC2::SubnetNetworkAclAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15181,51 +12338,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AdjustmentType": { - "type": "string" - }, - "AutoScalingGroupName": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "MetricAggregationType": { + "NetworkAclId": { "type": "string" }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "PolicyType": { + "SubnetId": { "type": "string" - }, - "PredictiveScalingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" - }, - "ScalingAdjustment": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoScalingGroupName" + "NetworkAclId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScalingPolicy" + "AWS::EC2::SubnetNetworkAclAssociation" ], "type": "string" }, @@ -15244,199 +12372,73 @@ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "AWS::EC2::SubnetRouteTableAssociation": { "additionalProperties": false, "properties": { - "PredefinedMetricType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacityBreachBehavior": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "MaxCapacityBuffer": { - "type": "number" + "Metadata": { + "type": "object" }, - "MetricSpecifications": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + "Properties": { + "additionalProperties": false, + "properties": { + "RouteTableId": { + "type": "string" + }, + "SubnetId": { + "type": "string" + } }, - "type": "array" - }, - "Mode": { - "type": "string" - }, - "SchedulingBufferTime": { - "type": "number" - } - }, - "required": [ - "MetricSpecifications" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" - }, - "PredefinedMetricPairSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" + "required": [ + "RouteTableId", + "SubnetId" + ], + "type": "object" }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { + "Type": { + "enum": [ + "AWS::EC2::SubnetRouteTableAssociation" + ], "type": "string" }, - "ResourceLabel": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" + "Type", + "Properties" ], "type": "object" }, - "AWS::AutoScaling::ScheduledAction": { + "AWS::EC2::TrafficMirrorFilter": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15468,39 +12470,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "DesiredCapacity": { - "type": "number" - }, - "EndTime": { - "type": "string" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "Recurrence": { + "Description": { "type": "string" }, - "StartTime": { - "type": "string" + "NetworkServices": { + "items": { + "type": "string" + }, + "type": "array" }, - "TimeZone": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "AutoScalingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScheduledAction" + "AWS::EC2::TrafficMirrorFilter" ], "type": "string" }, @@ -15514,12 +12504,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AutoScaling::WarmPool": { + "AWS::EC2::TrafficMirrorFilterRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15551,27 +12540,56 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Description": { "type": "string" }, - "MaxGroupPreparedCapacity": { + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Protocol": { "type": "number" }, - "MinSize": { + "RuleAction": { + "type": "string" + }, + "RuleNumber": { "type": "number" }, - "PoolState": { + "SourceCidrBlock": { + "type": "string" + }, + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficDirection": { + "type": "string" + }, + "TrafficMirrorFilterId": { "type": "string" } }, "required": [ - "AutoScalingGroupName" + "DestinationCidrBlock", + "RuleAction", + "RuleNumber", + "SourceCidrBlock", + "TrafficDirection", + "TrafficMirrorFilterId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::WarmPool" + "AWS::EC2::TrafficMirrorFilterRule" ], "type": "string" }, @@ -15590,7 +12608,23 @@ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan": { + "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { + "additionalProperties": false, + "properties": { + "FromPort": { + "type": "number" + }, + "ToPort": { + "type": "number" + } + }, + "required": [ + "FromPort", + "ToPort" + ], + "type": "object" + }, + "AWS::EC2::TrafficMirrorSession": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15622,25 +12656,45 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationSource": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ApplicationSource" + "Description": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PacketLength": { + "type": "number" + }, + "SessionNumber": { + "type": "number" }, - "ScalingInstructions": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TrafficMirrorFilterId": { + "type": "string" + }, + "TrafficMirrorTargetId": { + "type": "string" + }, + "VirtualNetworkId": { + "type": "number" } }, "required": [ - "ApplicationSource", - "ScalingInstructions" + "NetworkInterfaceId", + "SessionNumber", + "TrafficMirrorFilterId", + "TrafficMirrorTargetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScalingPlans::ScalingPlan" + "AWS::EC2::TrafficMirrorSession" ], "type": "string" }, @@ -15659,233 +12713,80 @@ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.ApplicationSource": { + "AWS::EC2::TrafficMirrorTarget": { "additionalProperties": false, "properties": { - "CloudFormationStackARN": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Statistic": { - "type": "string" + "Metadata": { + "type": "object" }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "GatewayLoadBalancerEndpointId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "NetworkLoadBalancerArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedLoadMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedScalingMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedScalingMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction": { - "additionalProperties": false, - "properties": { - "CustomizedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification" - }, - "DisableDynamicScaling": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification" - }, - "PredictiveScalingMaxCapacityBehavior": { - "type": "string" - }, - "PredictiveScalingMaxCapacityBuffer": { - "type": "number" - }, - "PredictiveScalingMode": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingPolicyUpdateBehavior": { - "type": "string" - }, - "ScheduledActionBufferTime": { - "type": "number" + "type": "object" }, - "ServiceNamespace": { + "Type": { + "enum": [ + "AWS::EC2::TrafficMirrorTarget" + ], "type": "string" }, - "TargetTrackingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration" - }, - "type": "array" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "ScalableDimension", - "ServiceNamespace", - "TargetTrackingConfigurations" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" } }, "required": [ - "TargetValue" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan": { + "AWS::EC2::TransitGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15917,27 +12818,57 @@ "Properties": { "additionalProperties": false, "properties": { - "BackupPlan": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupPlanResourceType" + "AmazonSideAsn": { + "type": "number" }, - "BackupPlanTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "AssociationDefaultRouteTableId": { + "type": "string" + }, + "AutoAcceptSharedAttachments": { + "type": "string" + }, + "DefaultRouteTableAssociation": { + "type": "string" + }, + "DefaultRouteTablePropagation": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DnsSupport": { + "type": "string" + }, + "MulticastSupport": { + "type": "string" + }, + "PropagationDefaultRouteTableId": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" + }, + "TransitGatewayCidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpnEcmpSupport": { + "type": "string" } }, - "required": [ - "BackupPlan" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupPlan" + "AWS::EC2::TransitGateway" ], "type": "string" }, @@ -15951,126 +12882,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType": { - "additionalProperties": false, - "properties": { - "BackupOptions": { - "type": "object" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "BackupOptions", - "ResourceType" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupPlanResourceType": { - "additionalProperties": false, - "properties": { - "AdvancedBackupSettings": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType" - }, - "type": "array" - }, - "BackupPlanName": { - "type": "string" - }, - "BackupPlanRule": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupRuleResourceType" - }, - "type": "array" - } - }, - "required": [ - "BackupPlanName", - "BackupPlanRule" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupRuleResourceType": { - "additionalProperties": false, - "properties": { - "CompletionWindowMinutes": { - "type": "number" - }, - "CopyActions": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.CopyActionResourceType" - }, - "type": "array" - }, - "EnableContinuousBackup": { - "type": "boolean" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" - }, - "RecoveryPointTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RuleName": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "StartWindowMinutes": { - "type": "number" - }, - "TargetBackupVault": { - "type": "string" - } - }, - "required": [ - "RuleName", - "TargetBackupVault" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.CopyActionResourceType": { - "additionalProperties": false, - "properties": { - "DestinationBackupVaultArn": { - "type": "string" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" - } - }, - "required": [ - "DestinationBackupVaultArn" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.LifecycleResourceType": { - "additionalProperties": false, - "properties": { - "DeleteAfterDays": { - "type": "number" - }, - "MoveToColdStorageAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Backup::BackupSelection": { + "AWS::EC2::TransitGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16102,22 +12918,38 @@ "Properties": { "additionalProperties": false, "properties": { - "BackupPlanId": { + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment.Options" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "BackupSelection": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.BackupSelectionResourceType" + "VpcId": { + "type": "string" } }, "required": [ - "BackupPlanId", - "BackupSelection" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupSelection" + "AWS::EC2::TransitGatewayAttachment" ], "type": "string" }, @@ -16136,64 +12968,25 @@ ], "type": "object" }, - "AWS::Backup::BackupSelection.BackupSelectionResourceType": { + "AWS::EC2::TransitGatewayAttachment.Options": { "additionalProperties": false, "properties": { - "Conditions": { - "type": "object" - }, - "IamRoleArn": { + "ApplianceModeSupport": { "type": "string" }, - "ListOfTags": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.ConditionResourceType" - }, - "type": "array" - }, - "NotResources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelectionName": { - "type": "string" - } - }, - "required": [ - "IamRoleArn", - "SelectionName" - ], - "type": "object" - }, - "AWS::Backup::BackupSelection.ConditionResourceType": { - "additionalProperties": false, - "properties": { - "ConditionKey": { + "DnsSupport": { "type": "string" }, - "ConditionType": { + "Ipv6Support": { "type": "string" }, - "ConditionValue": { + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "ConditionKey", - "ConditionType", - "ConditionValue" - ], "type": "object" }, - "AWS::Backup::BackupVault": { + "AWS::EC2::TransitGatewayConnect": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16225,39 +13018,28 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessPolicy": { - "type": "object" - }, - "BackupVaultName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" }, - "BackupVaultTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "EncryptionKeyArn": { + "TransportTransitGatewayAttachmentId": { "type": "string" - }, - "LockConfiguration": { - "$ref": "#/definitions/AWS::Backup::BackupVault.LockConfigurationType" - }, - "Notifications": { - "$ref": "#/definitions/AWS::Backup::BackupVault.NotificationObjectType" } }, "required": [ - "BackupVaultName" + "Options", + "TransportTransitGatewayAttachmentId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupVault" + "AWS::EC2::TransitGatewayConnect" ], "type": "string" }, @@ -16276,44 +13058,16 @@ ], "type": "object" }, - "AWS::Backup::BackupVault.LockConfigurationType": { - "additionalProperties": false, - "properties": { - "ChangeableForDays": { - "type": "number" - }, - "MaxRetentionDays": { - "type": "number" - }, - "MinRetentionDays": { - "type": "number" - } - }, - "required": [ - "MinRetentionDays" - ], - "type": "object" - }, - "AWS::Backup::BackupVault.NotificationObjectType": { + "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { "additionalProperties": false, "properties": { - "BackupVaultEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SNSTopicArn": { + "Protocol": { "type": "string" } }, - "required": [ - "BackupVaultEvents", - "SNSTopicArn" - ], "type": "object" }, - "AWS::Backup::Framework": { + "AWS::EC2::TransitGatewayMulticastDomain": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16345,33 +13099,27 @@ "Properties": { "additionalProperties": false, "properties": { - "FrameworkControls": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.FrameworkControl" - }, - "type": "array" - }, - "FrameworkDescription": { - "type": "string" - }, - "FrameworkName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain.Options" }, - "FrameworkTags": { + "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "FrameworkControls" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::Framework" + "AWS::EC2::TransitGatewayMulticastDomain" ], "type": "string" }, @@ -16390,44 +13138,22 @@ ], "type": "object" }, - "AWS::Backup::Framework.ControlInputParameter": { + "AWS::EC2::TransitGatewayMulticastDomain.Options": { "additionalProperties": false, "properties": { - "ParameterName": { + "AutoAcceptSharedAssociations": { "type": "string" }, - "ParameterValue": { + "Igmpv2Support": { "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Backup::Framework.FrameworkControl": { - "additionalProperties": false, - "properties": { - "ControlInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.ControlInputParameter" - }, - "type": "array" }, - "ControlName": { + "StaticSourcesSupport": { "type": "string" - }, - "ControlScope": { - "type": "object" } }, - "required": [ - "ControlName" - ], "type": "object" }, - "AWS::Backup::ReportPlan": { + "AWS::EC2::TransitGatewayMulticastDomainAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16459,34 +13185,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ReportDeliveryChannel": { - "type": "object" - }, - "ReportPlanDescription": { + "SubnetId": { "type": "string" }, - "ReportPlanName": { + "TransitGatewayAttachmentId": { "type": "string" }, - "ReportPlanTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ReportSetting": { - "type": "object" + "TransitGatewayMulticastDomainId": { + "type": "string" } }, "required": [ - "ReportDeliveryChannel", - "ReportSetting" + "SubnetId", + "TransitGatewayAttachmentId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::ReportPlan" + "AWS::EC2::TransitGatewayMulticastDomainAssociation" ], "type": "string" }, @@ -16505,7 +13223,7 @@ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment": { + "AWS::EC2::TransitGatewayMulticastGroupMember": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16537,36 +13255,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentName": { - "type": "string" - }, - "ComputeResources": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.ComputeResources" - }, - "ServiceRole": { + "GroupIpAddress": { "type": "string" }, - "State": { + "NetworkInterfaceId": { "type": "string" }, - "Tags": { - "type": "object" - }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" - }, - "UnmanagedvCpus": { - "type": "number" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::ComputeEnvironment" + "AWS::EC2::TransitGatewayMulticastGroupMember" ], "type": "string" }, @@ -16585,111 +13293,7 @@ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment.ComputeResources": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BidPercentage": { - "type": "number" - }, - "DesiredvCpus": { - "type": "number" - }, - "Ec2Configuration": { - "items": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject" - }, - "type": "array" - }, - "Ec2KeyPair": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification" - }, - "MaxvCpus": { - "type": "number" - }, - "MinvCpus": { - "type": "number" - }, - "PlacementGroup": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpotIamFleetRole": { - "type": "string" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "MaxvCpus", - "Subnets", - "Type" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject": { - "additionalProperties": false, - "properties": { - "ImageIdOverride": { - "type": "string" - }, - "ImageType": { - "type": "string" - } - }, - "required": [ - "ImageType" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition": { + "AWS::EC2::TransitGatewayMulticastGroupSource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16721,51 +13325,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ContainerProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "JobDefinitionName": { + "GroupIpAddress": { "type": "string" }, - "NodeProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeProperties" - }, - "Parameters": { - "type": "object" - }, - "PlatformCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PropagateTags": { - "type": "boolean" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.RetryStrategy" - }, - "SchedulingPriority": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Timeout" + "NetworkInterfaceId": { + "type": "string" }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobDefinition" + "AWS::EC2::TransitGatewayMulticastGroupSource" ], "type": "string" }, @@ -16784,424 +13363,7 @@ ], "type": "object" }, - "AWS::Batch::JobDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "Iam": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.ContainerProperties": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Environment" - }, - "type": "array" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FargatePlatformConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.FargatePlatformConfiguration" - }, - "Image": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobRoleArn": { - "type": "string" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.MountPoints" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NetworkConfiguration" - }, - "Privileged": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "Vcpus": { - "type": "number" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Volumes" - }, - "type": "array" - } - }, - "required": [ - "Image" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EfsVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.AuthorizationConfig" - }, - "FileSystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Environment": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EvaluateOnExit": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "OnExitCode": { - "type": "string" - }, - "OnReason": { - "type": "string" - }, - "OnStatusReason": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.FargatePlatformConfiguration": { - "additionalProperties": false, - "properties": { - "PlatformVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.MountPoints": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeProperties": { - "additionalProperties": false, - "properties": { - "MainNode": { - "type": "number" - }, - "NodeRangeProperties": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeRangeProperty" - }, - "type": "array" - }, - "NumNodes": { - "type": "number" - } - }, - "required": [ - "MainNode", - "NodeRangeProperties", - "NumNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeRangeProperty": { - "additionalProperties": false, - "properties": { - "Container": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "TargetNodes": { - "type": "string" - } - }, - "required": [ - "TargetNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.RetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - }, - "EvaluateOnExit": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EvaluateOnExit" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Timeout": { - "additionalProperties": false, - "properties": { - "AttemptDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "ContainerPath", - "Size" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Volumes": { - "additionalProperties": false, - "properties": { - "EfsVolumeConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EfsVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.VolumesHost" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.VolumesHost": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobQueue": { + "AWS::EC2::TransitGatewayPeeringAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17233,37 +13395,36 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentOrder": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobQueue.ComputeEnvironmentOrder" - }, - "type": "array" - }, - "JobQueueName": { + "PeerAccountId": { "type": "string" }, - "Priority": { - "type": "number" - }, - "SchedulingPolicyArn": { + "PeerRegion": { "type": "string" }, - "State": { + "PeerTransitGatewayId": { "type": "string" }, "Tags": { - "type": "object" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "ComputeEnvironmentOrder", - "Priority" + "PeerAccountId", + "PeerRegion", + "PeerTransitGatewayId", + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobQueue" + "AWS::EC2::TransitGatewayPeeringAttachment" ], "type": "string" }, @@ -17282,23 +13443,19 @@ ], "type": "object" }, - "AWS::Batch::JobQueue.ComputeEnvironmentOrder": { + "AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus": { "additionalProperties": false, "properties": { - "ComputeEnvironment": { + "Code": { "type": "string" }, - "Order": { - "type": "number" + "Message": { + "type": "string" } }, - "required": [ - "ComputeEnvironment", - "Order" - ], "type": "object" }, - "AWS::Batch::SchedulingPolicy": { + "AWS::EC2::TransitGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17330,27 +13487,28 @@ "Properties": { "additionalProperties": false, "properties": { - "FairsharePolicy": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.FairsharePolicy" + "Blackhole": { + "type": "boolean" }, - "Name": { + "DestinationCidrBlock": { "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TransitGatewayAttachmentId": { + "type": "string" + }, + "TransitGatewayRouteTableId": { + "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "TransitGatewayRouteTableId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::SchedulingPolicy" + "AWS::EC2::TransitGatewayRoute" ], "type": "string" }, @@ -17364,41 +13522,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Batch::SchedulingPolicy.FairsharePolicy": { - "additionalProperties": false, - "properties": { - "ComputeReservation": { - "type": "number" - }, - "ShareDecaySeconds": { - "type": "number" - }, - "ShareDistribution": { - "items": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.ShareAttributes" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::SchedulingPolicy.ShareAttributes": { - "additionalProperties": false, - "properties": { - "ShareIdentifier": { - "type": "string" - }, - "WeightFactor": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget": { + "AWS::EC2::TransitGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17430,24 +13559,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Budget": { - "$ref": "#/definitions/AWS::Budgets::Budget.BudgetData" - }, - "NotificationsWithSubscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.NotificationWithSubscribers" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "Budget" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::Budget" + "AWS::EC2::TransitGatewayRouteTable" ], "type": "string" }, @@ -17466,166 +13595,7 @@ ], "type": "object" }, - "AWS::Budgets::Budget.BudgetData": { - "additionalProperties": false, - "properties": { - "BudgetLimit": { - "$ref": "#/definitions/AWS::Budgets::Budget.Spend" - }, - "BudgetName": { - "type": "string" - }, - "BudgetType": { - "type": "string" - }, - "CostFilters": { - "type": "object" - }, - "CostTypes": { - "$ref": "#/definitions/AWS::Budgets::Budget.CostTypes" - }, - "PlannedBudgetLimits": { - "type": "object" - }, - "TimePeriod": { - "$ref": "#/definitions/AWS::Budgets::Budget.TimePeriod" - }, - "TimeUnit": { - "type": "string" - } - }, - "required": [ - "BudgetType", - "TimeUnit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.CostTypes": { - "additionalProperties": false, - "properties": { - "IncludeCredit": { - "type": "boolean" - }, - "IncludeDiscount": { - "type": "boolean" - }, - "IncludeOtherSubscription": { - "type": "boolean" - }, - "IncludeRecurring": { - "type": "boolean" - }, - "IncludeRefund": { - "type": "boolean" - }, - "IncludeSubscription": { - "type": "boolean" - }, - "IncludeSupport": { - "type": "boolean" - }, - "IncludeTax": { - "type": "boolean" - }, - "IncludeUpfront": { - "type": "boolean" - }, - "UseAmortized": { - "type": "boolean" - }, - "UseBlended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget.Notification": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "NotificationType": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "ThresholdType": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "NotificationType", - "Threshold" - ], - "type": "object" - }, - "AWS::Budgets::Budget.NotificationWithSubscribers": { - "additionalProperties": false, - "properties": { - "Notification": { - "$ref": "#/definitions/AWS::Budgets::Budget.Notification" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.Subscriber" - }, - "type": "array" - } - }, - "required": [ - "Notification", - "Subscribers" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Spend": { - "additionalProperties": false, - "properties": { - "Amount": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Amount", - "Unit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "SubscriptionType": { - "type": "string" - } - }, - "required": [ - "Address", - "SubscriptionType" - ], - "type": "object" - }, - "AWS::Budgets::Budget.TimePeriod": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction": { + "AWS::EC2::TransitGatewayRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17657,48 +13627,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionThreshold": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ActionThreshold" - }, - "ActionType": { - "type": "string" - }, - "ApprovalModel": { - "type": "string" - }, - "BudgetName": { - "type": "string" - }, - "Definition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Definition" - }, - "ExecutionRoleArn": { + "TransitGatewayAttachmentId": { "type": "string" }, - "NotificationType": { + "TransitGatewayRouteTableId": { "type": "string" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Subscriber" - }, - "type": "array" } }, "required": [ - "ActionThreshold", - "ActionType", - "BudgetName", - "Definition", - "ExecutionRoleArn", - "NotificationType", - "Subscribers" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::BudgetsAction" + "AWS::EC2::TransitGatewayRouteTableAssociation" ], "type": "string" }, @@ -17717,126 +13661,7 @@ ], "type": "object" }, - "AWS::Budgets::BudgetsAction.ActionThreshold": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Definition": { - "additionalProperties": false, - "properties": { - "IamActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.IamActionDefinition" - }, - "ScpActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ScpActionDefinition" - }, - "SsmActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.SsmActionDefinition" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction.IamActionDefinition": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyArn": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyArn" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.ScpActionDefinition": { - "additionalProperties": false, - "properties": { - "PolicyId": { - "type": "string" - }, - "TargetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyId", - "TargetIds" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.SsmActionDefinition": { - "additionalProperties": false, - "properties": { - "InstanceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - }, - "Subtype": { - "type": "string" - } - }, - "required": [ - "InstanceIds", - "Region", - "Subtype" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Address", - "Type" - ], - "type": "object" - }, - "AWS::CE::AnomalyMonitor": { + "AWS::EC2::TransitGatewayRouteTablePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17868,28 +13693,22 @@ "Properties": { "additionalProperties": false, "properties": { - "MonitorDimension": { - "type": "string" - }, - "MonitorName": { - "type": "string" - }, - "MonitorSpecification": { + "TransitGatewayAttachmentId": { "type": "string" }, - "MonitorType": { + "TransitGatewayRouteTableId": { "type": "string" } }, "required": [ - "MonitorName", - "MonitorType" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalyMonitor" + "AWS::EC2::TransitGatewayRouteTablePropagation" ], "type": "string" }, @@ -17908,7 +13727,7 @@ ], "type": "object" }, - "AWS::CE::AnomalySubscription": { + "AWS::EC2::TransitGatewayVpcAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17940,40 +13759,50 @@ "Properties": { "additionalProperties": false, "properties": { - "Frequency": { - "type": "string" + "AddSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment.Options" }, - "MonitorArnList": { + "RemoveSubnetIds": { "items": { "type": "string" }, "type": "array" }, - "Subscribers": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::CE::AnomalySubscription.Subscriber" + "type": "string" }, "type": "array" }, - "SubscriptionName": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "Threshold": { - "type": "number" + "VpcId": { + "type": "string" } }, "required": [ - "Frequency", - "MonitorArnList", - "Subscribers", - "SubscriptionName", - "Threshold" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalySubscription" + "AWS::EC2::TransitGatewayVpcAttachment" ], "type": "string" }, @@ -17992,26 +13821,25 @@ ], "type": "object" }, - "AWS::CE::AnomalySubscription.Subscriber": { + "AWS::EC2::TransitGatewayVpcAttachment.Options": { "additionalProperties": false, "properties": { - "Address": { + "ApplianceModeSupport": { "type": "string" }, - "Status": { + "DnsSupport": { "type": "string" }, - "Type": { + "Ipv6Support": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "Address", - "Type" - ], "type": "object" }, - "AWS::CE::CostCategory": { + "AWS::EC2::VPC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18043,32 +13871,36 @@ "Properties": { "additionalProperties": false, "properties": { - "DefaultValue": { + "CidrBlock": { "type": "string" }, - "Name": { - "type": "string" + "EnableDnsHostnames": { + "type": "boolean" }, - "RuleVersion": { - "type": "string" + "EnableDnsSupport": { + "type": "boolean" }, - "Rules": { + "InstanceTenancy": { "type": "string" }, - "SplitChargeRules": { + "Ipv4IpamPoolId": { "type": "string" + }, + "Ipv4NetmaskLength": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name", - "RuleVersion", - "Rules" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::CostCategory" + "AWS::EC2::VPC" ], "type": "string" }, @@ -18082,12 +13914,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CUR::ReportDefinition": { + "AWS::EC2::VPCBlockPublicAccessExclusion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18119,65 +13950,30 @@ "Properties": { "additionalProperties": false, "properties": { - "AdditionalArtifacts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSchemaElements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BillingViewArn": { - "type": "string" - }, - "Compression": { + "InternetGatewayExclusionMode": { "type": "string" }, - "Format": { - "type": "string" - }, - "RefreshClosedReports": { - "type": "boolean" - }, - "ReportName": { - "type": "string" - }, - "ReportVersioning": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { + "SubnetId": { "type": "string" }, - "S3Region": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeUnit": { + "VpcId": { "type": "string" } }, "required": [ - "Compression", - "Format", - "RefreshClosedReports", - "ReportName", - "ReportVersioning", - "S3Bucket", - "S3Prefix", - "S3Region", - "TimeUnit" + "InternetGatewayExclusionMode" ], "type": "object" }, "Type": { "enum": [ - "AWS::CUR::ReportDefinition" + "AWS::EC2::VPCBlockPublicAccessExclusion" ], "type": "string" }, @@ -18196,7 +13992,7 @@ ], "type": "object" }, - "AWS::Cassandra::Keyspace": { + "AWS::EC2::VPCBlockPublicAccessOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18228,21 +14024,18 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyspaceName": { + "InternetGatewayBlockMode": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "InternetGatewayBlockMode" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Keyspace" + "AWS::EC2::VPCBlockPublicAccessOptions" ], "type": "string" }, @@ -18256,11 +14049,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Cassandra::Table": { + "AWS::EC2::VPCCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18292,58 +14086,45 @@ "Properties": { "additionalProperties": false, "properties": { - "BillingMode": { - "$ref": "#/definitions/AWS::Cassandra::Table.BillingMode" + "AmazonProvidedIpv6CidrBlock": { + "type": "boolean" }, - "ClusteringKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.ClusteringKeyColumn" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "DefaultTimeToLive": { - "type": "number" + "Ipv4IpamPoolId": { + "type": "string" }, - "EncryptionSpecification": { - "$ref": "#/definitions/AWS::Cassandra::Table.EncryptionSpecification" + "Ipv4NetmaskLength": { + "type": "number" }, - "KeyspaceName": { + "Ipv6CidrBlock": { "type": "string" }, - "PartitionKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6CidrBlockNetworkBorderGroup": { + "type": "string" }, - "PointInTimeRecoveryEnabled": { - "type": "boolean" + "Ipv6IpamPoolId": { + "type": "string" }, - "RegularColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6NetmaskLength": { + "type": "number" }, - "TableName": { + "Ipv6Pool": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcId": { + "type": "string" } }, "required": [ - "KeyspaceName", - "PartitionKeyColumns" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Table" + "AWS::EC2::VPCCidrBlock" ], "type": "string" }, @@ -18362,84 +14143,7 @@ ], "type": "object" }, - "AWS::Cassandra::Table.BillingMode": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Cassandra::Table.ProvisionedThroughput" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ClusteringKeyColumn": { - "additionalProperties": false, - "properties": { - "Column": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "OrderBy": { - "type": "string" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Cassandra::Table.Column": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "ColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "ColumnType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.EncryptionSpecification": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKeyIdentifier": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::CertificateManager::Account": { + "AWS::EC2::VPCDHCPOptionsAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18471,18 +14175,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ExpiryEventsConfiguration": { - "$ref": "#/definitions/AWS::CertificateManager::Account.ExpiryEventsConfiguration" + "DhcpOptionsId": { + "type": "string" + }, + "VpcId": { + "type": "string" } }, "required": [ - "ExpiryEventsConfiguration" + "DhcpOptionsId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Account" + "AWS::EC2::VPCDHCPOptionsAssociation" ], "type": "string" }, @@ -18501,16 +14209,7 @@ ], "type": "object" }, - "AWS::CertificateManager::Account.ExpiryEventsConfiguration": { - "additionalProperties": false, - "properties": { - "DaysBeforeExpiry": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CertificateManager::Certificate": { + "AWS::EC2::VPCEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18542,22 +14241,40 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateAuthorityArn": { - "type": "string" + "DnsOptions": { + "$ref": "#/definitions/AWS::EC2::VPCEndpoint.DnsOptionsSpecification" }, - "CertificateTransparencyLoggingPreference": { + "IpAddressType": { "type": "string" }, - "DomainName": { + "PolicyDocument": { + "type": "object" + }, + "PrivateDnsEnabled": { + "type": "boolean" + }, + "ResourceConfigurationArn": { "type": "string" }, - "DomainValidationOptions": { + "RouteTableIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CertificateManager::Certificate.DomainValidationOption" + "type": "string" }, "type": "array" }, - "SubjectAlternativeNames": { + "ServiceName": { + "type": "string" + }, + "ServiceNetworkArn": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -18569,18 +14286,21 @@ }, "type": "array" }, - "ValidationMethod": { + "VpcEndpointType": { + "type": "string" + }, + "VpcId": { "type": "string" } }, "required": [ - "DomainName" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Certificate" + "AWS::EC2::VPCEndpoint" ], "type": "string" }, @@ -18599,25 +14319,19 @@ ], "type": "object" }, - "AWS::CertificateManager::Certificate.DomainValidationOption": { + "AWS::EC2::VPCEndpoint.DnsOptionsSpecification": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneId": { + "DnsRecordIpType": { "type": "string" }, - "ValidationDomain": { + "PrivateDnsOnlyForInboundResolverEndpoint": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, - "AWS::Chatbot::SlackChannelConfiguration": { + "AWS::EC2::VPCEndpointConnectionNotification": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18649,48 +14363,31 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigurationName": { - "type": "string" - }, - "GuardrailPolicies": { + "ConnectionEvents": { "items": { "type": "string" }, "type": "array" }, - "IamRoleArn": { - "type": "string" - }, - "LoggingLevel": { + "ConnectionNotificationArn": { "type": "string" }, - "SlackChannelId": { + "ServiceId": { "type": "string" }, - "SlackWorkspaceId": { + "VPCEndpointId": { "type": "string" - }, - "SnsTopicArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserRoleRequired": { - "type": "boolean" } }, "required": [ - "ConfigurationName", - "IamRoleArn", - "SlackChannelId", - "SlackWorkspaceId" + "ConnectionEvents", + "ConnectionNotificationArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Chatbot::SlackChannelConfiguration" + "AWS::EC2::VPCEndpointConnectionNotification" ], "type": "string" }, @@ -18709,7 +14406,7 @@ ], "type": "object" }, - "AWS::Cloud9::EnvironmentEC2": { + "AWS::EC2::VPCEndpointService": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18741,34 +14438,25 @@ "Properties": { "additionalProperties": false, "properties": { - "AutomaticStopTimeMinutes": { - "type": "number" + "AcceptanceRequired": { + "type": "boolean" }, - "ConnectionType": { - "type": "string" + "ContributorInsightsEnabled": { + "type": "boolean" }, - "Description": { - "type": "string" + "GatewayLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "ImageId": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerArn": { - "type": "string" - }, - "Repositories": { - "items": { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2.Repository" - }, - "type": "array" - }, - "SubnetId": { + "NetworkLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PayerResponsibility": { "type": "string" }, "Tags": { @@ -18778,14 +14466,11 @@ "type": "array" } }, - "required": [ - "InstanceType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cloud9::EnvironmentEC2" + "AWS::EC2::VPCEndpointService" ], "type": "string" }, @@ -18799,28 +14484,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cloud9::EnvironmentEC2.Repository": { - "additionalProperties": false, - "properties": { - "PathComponent": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - } - }, - "required": [ - "PathComponent", - "RepositoryUrl" + "Type" ], "type": "object" }, - "AWS::CloudFormation::CustomResource": { + "AWS::EC2::VPCEndpointServicePermissions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18852,18 +14520,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ServiceToken": { + "AllowedPrincipals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ServiceId": { "type": "string" } }, "required": [ - "ServiceToken" + "ServiceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::CustomResource" + "AWS::EC2::VPCEndpointServicePermissions" ], "type": "string" }, @@ -18882,7 +14556,7 @@ ], "type": "object" }, - "AWS::CloudFormation::Macro": { + "AWS::EC2::VPCGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18914,31 +14588,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "LogGroupName": { + "InternetGatewayId": { "type": "string" }, - "LogRoleARN": { + "VpcId": { "type": "string" }, - "Name": { + "VpnGatewayId": { "type": "string" } }, "required": [ - "FunctionName", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Macro" + "AWS::EC2::VPCGatewayAttachment" ], "type": "string" }, @@ -18957,7 +14624,7 @@ ], "type": "object" }, - "AWS::CloudFormation::ModuleDefaultVersion": { + "AWS::EC2::VPCPeeringConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18989,86 +14656,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "PeerOwnerId": { "type": "string" }, - "ModuleName": { + "PeerRegion": { "type": "string" }, - "VersionId": { + "PeerRoleArn": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFormation::ModuleDefaultVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudFormation::ModuleVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "PeerVpcId": { "type": "string" }, - { + "Tags": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModuleName": { - "type": "string" }, - "ModulePackage": { + "VpcId": { "type": "string" } }, "required": [ - "ModuleName", - "ModulePackage" + "PeerVpcId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ModuleVersion" + "AWS::EC2::VPCPeeringConnection" ], "type": "string" }, @@ -19087,7 +14705,7 @@ ], "type": "object" }, - "AWS::CloudFormation::PublicTypeVersion": { + "AWS::EC2::VPNConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19119,27 +14737,67 @@ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "CustomerGatewayId": { "type": "string" }, - "LogDeliveryBucket": { + "EnableAcceleration": { + "type": "boolean" + }, + "LocalIpv4NetworkCidr": { "type": "string" }, - "PublicVersionNumber": { + "LocalIpv6NetworkCidr": { + "type": "string" + }, + "OutsideIpAddressType": { + "type": "string" + }, + "RemoteIpv4NetworkCidr": { + "type": "string" + }, + "RemoteIpv6NetworkCidr": { + "type": "string" + }, + "StaticRoutesOnly": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" + }, + "TransportTransitGatewayAttachmentId": { + "type": "string" + }, + "TunnelInsideIpVersion": { "type": "string" }, "Type": { "type": "string" }, - "TypeName": { + "VpnGatewayId": { "type": "string" + }, + "VpnTunnelOptionsSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" + }, + "type": "array" } }, + "required": [ + "CustomerGatewayId", + "Type" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::PublicTypeVersion" + "AWS::EC2::VPNConnection" ], "type": "string" }, @@ -19153,76 +14811,186 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::Publisher": { + "AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LogEnabled": { + "type": "boolean" + }, + "LogGroupArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LogOutputFormat": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.IKEVersionsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification": { + "additionalProperties": false, + "properties": { + "CloudwatchLogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { + "additionalProperties": false, + "properties": { + "DPDTimeoutAction": { + "type": "string" }, - "Metadata": { - "type": "object" + "DPDTimeoutSeconds": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptTermsAndConditions": { - "type": "boolean" - }, - "ConnectionArn": { - "type": "string" - } + "EnableTunnelLifecycleControl": { + "type": "boolean" + }, + "IKEVersions": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.IKEVersionsRequestListValue" }, - "required": [ - "AcceptTermsAndConditions" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CloudFormation::Publisher" - ], + "LogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification" + }, + "Phase1DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase1EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1LifetimeSeconds": { + "type": "number" + }, + "Phase2DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase2EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2LifetimeSeconds": { + "type": "number" + }, + "PreSharedKey": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RekeyFuzzPercentage": { + "type": "number" + }, + "RekeyMarginTimeSeconds": { + "type": "number" + }, + "ReplayWindowSize": { + "type": "number" + }, + "StartupAction": { + "type": "string" + }, + "TunnelInsideCidr": { + "type": "string" + }, + "TunnelInsideIpv6Cidr": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFormation::ResourceDefaultVersion": { + "AWS::EC2::VPNConnectionRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19254,21 +15022,22 @@ "Properties": { "additionalProperties": false, "properties": { - "TypeName": { - "type": "string" - }, - "TypeVersionArn": { + "DestinationCidrBlock": { "type": "string" }, - "VersionId": { + "VpnConnectionId": { "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "VpnConnectionId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceDefaultVersion" + "AWS::EC2::VPNConnectionRoute" ], "type": "string" }, @@ -19282,11 +15051,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion": { + "AWS::EC2::VPNGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19318,28 +15088,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" + "AmazonSideAsn": { + "type": "number" }, - "SchemaHandlerPackage": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TypeName": { + "Type": { "type": "string" } }, "required": [ - "SchemaHandlerPackage", - "TypeName" + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceVersion" + "AWS::EC2::VPNGateway" ], "type": "string" }, @@ -19358,19 +15127,7 @@ ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion.LoggingConfig": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFormation::Stack": { + "AWS::EC2::VPNGatewayRoutePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19402,42 +15159,25 @@ "Properties": { "additionalProperties": false, "properties": { - "NotificationARNs": { + "RouteTableIds": { "items": { "type": "string" }, "type": "array" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateURL": { + "VpnGatewayId": { "type": "string" - }, - "TimeoutInMinutes": { - "type": "number" } }, "required": [ - "TemplateURL" + "RouteTableIds", + "VpnGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Stack" + "AWS::EC2::VPNGatewayRoutePropagation" ], "type": "string" }, @@ -19456,7 +15196,7 @@ ], "type": "object" }, - "AWS::CloudFormation::StackSet": { + "AWS::EC2::VerifiedAccessEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19488,50 +15228,50 @@ "Properties": { "additionalProperties": false, "properties": { - "AdministrationRoleARN": { + "ApplicationDomain": { "type": "string" }, - "AutoDeployment": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" - }, - "CallAs": { + "AttachmentType": { "type": "string" }, - "Capabilities": { - "items": { - "type": "string" - }, - "type": "array" + "CidrOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.CidrOptions" }, "Description": { "type": "string" }, - "ExecutionRoleName": { + "DomainCertificateArn": { "type": "string" }, - "ManagedExecution": { - "type": "object" + "EndpointDomainPrefix": { + "type": "string" }, - "OperationPreferences": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" + "EndpointType": { + "type": "string" }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "LoadBalancerOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions" }, - "PermissionModel": { + "NetworkInterfaceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions" + }, + "PolicyDocument": { "type": "string" }, - "StackInstancesGroup": { + "PolicyEnabled": { + "type": "boolean" + }, + "RdsOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.RdsOptions" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" + "type": "string" }, "type": "array" }, - "StackSetName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.SseSpecification" }, "Tags": { "items": { @@ -19539,22 +15279,20 @@ }, "type": "array" }, - "TemplateBody": { - "type": "string" - }, - "TemplateURL": { + "VerifiedAccessGroupId": { "type": "string" } }, "required": [ - "PermissionModel", - "StackSetName" + "AttachmentType", + "EndpointType", + "VerifiedAccessGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::StackSet" + "AWS::EC2::VerifiedAccessEndpoint" ], "type": "string" }, @@ -19573,28 +15311,22 @@ ], "type": "object" }, - "AWS::CloudFormation::StackSet.AutoDeployment": { + "AWS::EC2::VerifiedAccessEndpoint.CidrOptions": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Cidr": { + "type": "string" }, - "RetainStacksOnAccountRemoval": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CloudFormation::StackSet.DeploymentTargets": { - "additionalProperties": false, - "properties": { - "Accounts": { + "PortRanges": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" }, "type": "array" }, - "OrganizationalUnitIds": { + "Protocol": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -19603,25 +15335,25 @@ }, "type": "object" }, - "AWS::CloudFormation::StackSet.OperationPreferences": { + "AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions": { "additionalProperties": false, "properties": { - "FailureToleranceCount": { - "type": "number" + "LoadBalancerArn": { + "type": "string" }, - "FailureTolerancePercentage": { + "Port": { "type": "number" }, - "MaxConcurrentCount": { - "type": "number" - }, - "MaxConcurrentPercentage": { - "type": "number" + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" }, - "RegionConcurrencyType": { + "Protocol": { "type": "string" }, - "RegionOrder": { + "SubnetIds": { "items": { "type": "string" }, @@ -19630,48 +15362,82 @@ }, "type": "object" }, - "AWS::CloudFormation::StackSet.Parameter": { + "AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions": { "additionalProperties": false, "properties": { - "ParameterKey": { + "NetworkInterfaceId": { "type": "string" }, - "ParameterValue": { + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" + }, + "Protocol": { "type": "string" } }, - "required": [ - "ParameterKey", - "ParameterValue" - ], "type": "object" }, - "AWS::CloudFormation::StackSet.StackInstances": { + "AWS::EC2::VerifiedAccessEndpoint.PortRange": { "additionalProperties": false, "properties": { - "DeploymentTargets": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" + "FromPort": { + "type": "number" }, - "ParameterOverrides": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "ToPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessEndpoint.RdsOptions": { + "additionalProperties": false, + "properties": { + "Port": { + "type": "number" }, - "Regions": { + "Protocol": { + "type": "string" + }, + "RdsDbClusterArn": { + "type": "string" + }, + "RdsDbInstanceArn": { + "type": "string" + }, + "RdsDbProxyArn": { + "type": "string" + }, + "RdsEndpoint": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "DeploymentTargets", - "Regions" - ], "type": "object" }, - "AWS::CloudFormation::TypeActivation": { + "AWS::EC2::VerifiedAccessEndpoint.SseSpecification": { + "additionalProperties": false, + "properties": { + "CustomerManagedKeyEnabled": { + "type": "boolean" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19703,42 +15469,36 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoUpdate": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" - }, - "MajorVersion": { - "type": "string" - }, - "PublicTypeArn": { + "Description": { "type": "string" }, - "PublisherId": { + "PolicyDocument": { "type": "string" }, - "Type": { - "type": "string" + "PolicyEnabled": { + "type": "boolean" }, - "TypeName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup.SseSpecification" }, - "TypeNameAlias": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "VersionBump": { + "VerifiedAccessInstanceId": { "type": "string" } }, + "required": [ + "VerifiedAccessInstanceId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::TypeActivation" + "AWS::EC2::VerifiedAccessGroup" ], "type": "string" }, @@ -19752,28 +15512,26 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "AWS::EC2::VerifiedAccessGroup.SseSpecification": { "additionalProperties": false, "properties": { - "LogGroupName": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "LogRoleArn": { + "KmsKeyArn": { "type": "string" } }, "type": "object" }, - "AWS::CloudFormation::WaitCondition": { + "AWS::EC2::VerifiedAccessInstance": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, "DeletionPolicy": { "enum": [ "Delete", @@ -19803,21 +15561,42 @@ "Properties": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Handle": { + "CidrEndpointsCustomSubDomain": { "type": "string" }, - "Timeout": { + "Description": { "type": "string" + }, + "FipsEnabled": { + "type": "boolean" + }, + "LoggingConfigurations": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VerifiedAccessTrustProviderIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VerifiedAccessTrustProviders": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider" + }, + "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::WaitCondition" + "AWS::EC2::VerifiedAccessInstance" ], "type": "string" }, @@ -19835,61 +15614,91 @@ ], "type": "object" }, - "AWS::CloudFormation::WaitConditionHandle": { + "AWS::EC2::VerifiedAccessInstance.CloudWatchLogs": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Enabled": { + "type": "boolean" + }, + "LogGroup": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose": { + "additionalProperties": false, + "properties": { + "DeliveryStream": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.S3": { + "additionalProperties": false, + "properties": { + "BucketName": { + "type": "string" }, - "Metadata": { - "type": "object" + "BucketOwner": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": {}, - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::CloudFormation::WaitConditionHandle" - ], + "Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs": { + "additionalProperties": false, + "properties": { + "CloudWatchLogs": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.CloudWatchLogs" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IncludeTrustContext": { + "type": "boolean" + }, + "KinesisDataFirehose": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose" + }, + "LogVersion": { + "type": "string" + }, + "S3": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.S3" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" + }, + "VerifiedAccessTrustProviderId": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy": { + "AWS::EC2::VerifiedAccessTrustProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19921,18 +15730,49 @@ "Properties": { "additionalProperties": false, "properties": { - "CachePolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CachePolicyConfig" + "Description": { + "type": "string" + }, + "DeviceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "NativeApplicationOidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions" + }, + "OidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.OidcOptions" + }, + "PolicyReferenceName": { + "type": "string" + }, + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.SseSpecification" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" } }, "required": [ - "CachePolicyConfig" + "PolicyReferenceName", + "TrustProviderType" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CachePolicy" + "AWS::EC2::VerifiedAccessTrustProvider" ], "type": "string" }, @@ -19951,119 +15791,88 @@ ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CachePolicyConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions": { "additionalProperties": false, "properties": { - "Comment": { + "PublicSigningKeyUrl": { "type": "string" }, - "DefaultTTL": { - "type": "number" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "Name": { + "TenantId": { "type": "string" - }, - "ParametersInCacheKeyAndForwardedToOrigin": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin" } }, - "required": [ - "DefaultTTL", - "MaxTTL", - "MinTTL", - "Name", - "ParametersInCacheKeyAndForwardedToOrigin" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CookiesConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions": { "additionalProperties": false, "properties": { - "CookieBehavior": { + "AuthorizationEndpoint": { "type": "string" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CookieBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::CachePolicy.HeadersConfig": { - "additionalProperties": false, - "properties": { - "HeaderBehavior": { + "ClientId": { "type": "string" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "PublicSigningKeyEndpoint": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" + }, + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "HeaderBehavior" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin": { + "AWS::EC2::VerifiedAccessTrustProvider.OidcOptions": { "additionalProperties": false, "properties": { - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CookiesConfig" + "AuthorizationEndpoint": { + "type": "string" }, - "EnableAcceptEncodingBrotli": { - "type": "boolean" + "ClientId": { + "type": "string" }, - "EnableAcceptEncodingGzip": { - "type": "boolean" + "ClientSecret": { + "type": "string" }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.HeadersConfig" + "Issuer": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.QueryStringsConfig" + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "CookiesConfig", - "EnableAcceptEncodingGzip", - "HeadersConfig", - "QueryStringsConfig" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.QueryStringsConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.SseSpecification": { "additionalProperties": false, "properties": { - "QueryStringBehavior": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" + "KmsKeyArn": { + "type": "string" } }, - "required": [ - "QueryStringBehavior" - ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": { + "AWS::EC2::Volume": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20095,18 +15904,54 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudFrontOriginAccessIdentityConfig": { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig" + "AutoEnableIO": { + "type": "boolean" + }, + "AvailabilityZone": { + "type": "string" + }, + "Encrypted": { + "type": "boolean" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "MultiAttachEnabled": { + "type": "boolean" + }, + "OutpostArn": { + "type": "string" + }, + "Size": { + "type": "number" + }, + "SnapshotId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Throughput": { + "type": "number" + }, + "VolumeType": { + "type": "string" } }, "required": [ - "CloudFrontOriginAccessIdentityConfig" + "AvailabilityZone" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CloudFrontOriginAccessIdentity" + "AWS::EC2::Volume" ], "type": "string" }, @@ -20125,19 +15970,76 @@ ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig": { + "AWS::EC2::VolumeAttachment": { "additionalProperties": false, "properties": { - "Comment": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Device": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "VolumeId": { + "type": "string" + } + }, + "required": [ + "InstanceId", + "VolumeId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::VolumeAttachment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Comment" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution": { + "AWS::ECR::PublicRepository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20169,8 +16071,14 @@ "Properties": { "additionalProperties": false, "properties": { - "DistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DistributionConfig" + "RepositoryCatalogData": { + "$ref": "#/definitions/AWS::ECR::PublicRepository.RepositoryCatalogData" + }, + "RepositoryName": { + "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" }, "Tags": { "items": { @@ -20179,14 +16087,11 @@ "type": "array" } }, - "required": [ - "DistributionConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Distribution" + "AWS::ECR::PublicRepository" ], "type": "string" }, @@ -20200,680 +16105,297 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.CacheBehavior": { + "AWS::ECR::PublicRepository.RepositoryCatalogData": { "additionalProperties": false, "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { + "AboutText": { "type": "string" }, - "CachedMethods": { + "Architectures": { "items": { "type": "string" }, "type": "array" }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" - }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" - }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" - }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "PathPattern": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "TargetOriginId": { - "type": "string" - }, - "TrustedKeyGroups": { + "OperatingSystems": { "items": { "type": "string" }, "type": "array" }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" + "RepositoryDescription": { + "type": "string" }, - "ViewerProtocolPolicy": { + "UsageText": { "type": "string" } }, - "required": [ - "PathPattern", - "TargetOriginId", - "ViewerProtocolPolicy" - ], "type": "object" }, - "AWS::CloudFront::Distribution.Cookies": { + "AWS::ECR::PullThroughCacheRule": { "additionalProperties": false, "properties": { - "Forward": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "WhitelistedNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Forward" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomErrorResponse": { - "additionalProperties": false, - "properties": { - "ErrorCachingMinTTL": { - "type": "number" - }, - "ErrorCode": { - "type": "number" - }, - "ResponseCode": { - "type": "number" - }, - "ResponsePagePath": { - "type": "string" - } - }, - "required": [ - "ErrorCode" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomOriginConfig": { - "additionalProperties": false, - "properties": { - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" - }, - "OriginKeepaliveTimeout": { - "type": "number" - }, - "OriginProtocolPolicy": { - "type": "string" - }, - "OriginReadTimeout": { - "type": "number" - }, - "OriginSSLProtocols": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OriginProtocolPolicy" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.DefaultCacheBehavior": { - "additionalProperties": false, - "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { - "type": "string" - }, - "CachedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" + "Metadata": { + "type": "object" }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" + "Properties": { + "additionalProperties": false, + "properties": { + "CredentialArn": { + "type": "string" + }, + "EcrRepositoryPrefix": { + "type": "string" + }, + "UpstreamRegistry": { + "type": "string" + }, + "UpstreamRegistryUrl": { + "type": "string" + } }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" + "type": "object" }, - "TargetOriginId": { + "Type": { + "enum": [ + "AWS::ECR::PullThroughCacheRule" + ], "type": "string" }, - "TrustedKeyGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ViewerProtocolPolicy": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "TargetOriginId", - "ViewerProtocolPolicy" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.DistributionConfig": { + "AWS::ECR::RegistryPolicy": { "additionalProperties": false, "properties": { - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CNAMEs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheBehaviors": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CacheBehavior" - }, - "type": "array" - }, - "Comment": { - "type": "string" - }, - "CustomErrorResponses": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomErrorResponse" - }, - "type": "array" - }, - "CustomOrigin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyCustomOrigin" - }, - "DefaultCacheBehavior": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DefaultCacheBehavior" - }, - "DefaultRootObject": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "HttpVersion": { - "type": "string" - }, - "IPV6Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Logging" - }, - "OriginGroups": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroups" - }, - "Origins": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Origin" - }, - "type": "array" - }, - "PriceClass": { - "type": "string" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Restrictions" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyS3Origin" - }, - "ViewerCertificate": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ViewerCertificate" - }, - "WebACLId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.ForwardedValues": { - "additionalProperties": false, - "properties": { - "Cookies": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Cookies" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "QueryString": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "QueryStringCacheKeys": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "PolicyText": { + "type": "object" + } }, - "type": "array" - } - }, - "required": [ - "QueryString" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.FunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" + "required": [ + "PolicyText" + ], + "type": "object" }, - "FunctionARN": { + "Type": { + "enum": [ + "AWS::ECR::RegistryPolicy" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.GeoRestriction": { - "additionalProperties": false, - "properties": { - "Locations": { - "items": { - "type": "string" - }, - "type": "array" }, - "RestrictionType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "RestrictionType" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.LambdaFunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" - }, - "IncludeBody": { - "type": "boolean" - }, - "LambdaFunctionARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyCustomOrigin": { + "AWS::ECR::ReplicationConfiguration": { "additionalProperties": false, "properties": { - "DNSName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OriginProtocolPolicy": { - "type": "string" + "Metadata": { + "type": "object" }, - "OriginSSLProtocols": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" + } }, - "type": "array" - } - }, - "required": [ - "DNSName", - "OriginProtocolPolicy", - "OriginSSLProtocols" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyS3Origin": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" + "required": [ + "ReplicationConfiguration" + ], + "type": "object" }, - "OriginAccessIdentity": { - "type": "string" - } - }, - "required": [ - "DNSName" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { + "Type": { + "enum": [ + "AWS::ECR::ReplicationConfiguration" + ], "type": "string" }, - "IncludeCookies": { - "type": "boolean" - }, - "Prefix": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Bucket" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.Origin": { + "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ConnectionAttempts": { - "type": "number" - }, - "ConnectionTimeout": { - "type": "number" - }, - "CustomOriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomOriginConfig" - }, - "DomainName": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "OriginCustomHeaders": { + "Rules": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginCustomHeader" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" }, "type": "array" - }, - "OriginPath": { - "type": "string" - }, - "OriginShield": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginShield" - }, - "S3OriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.S3OriginConfig" - } - }, - "required": [ - "DomainName", - "Id" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginCustomHeader": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" } }, "required": [ - "HeaderName", - "HeaderValue" + "Rules" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroup": { + "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { "additionalProperties": false, "properties": { - "FailoverCriteria": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupFailoverCriteria" - }, - "Id": { + "Region": { "type": "string" }, - "Members": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMembers" - } - }, - "required": [ - "FailoverCriteria", - "Id", - "Members" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupFailoverCriteria": { - "additionalProperties": false, - "properties": { - "StatusCodes": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.StatusCodes" - } - }, - "required": [ - "StatusCodes" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupMember": { - "additionalProperties": false, - "properties": { - "OriginId": { + "RegistryId": { "type": "string" } }, "required": [ - "OriginId" + "Region", + "RegistryId" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroupMembers": { + "AWS::ECR::ReplicationConfiguration.ReplicationRule": { "additionalProperties": false, "properties": { - "Items": { + "Destinations": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMember" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" }, "type": "array" }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Items", - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroups": { - "additionalProperties": false, - "properties": { - "Items": { + "RepositoryFilters": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroup" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" }, "type": "array" - }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginShield": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OriginShieldRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.Restrictions": { - "additionalProperties": false, - "properties": { - "GeoRestriction": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.GeoRestriction" } }, "required": [ - "GeoRestriction" + "Destinations" ], "type": "object" }, - "AWS::CloudFront::Distribution.S3OriginConfig": { + "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { "additionalProperties": false, "properties": { - "OriginAccessIdentity": { + "Filter": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.StatusCodes": { - "additionalProperties": false, - "properties": { - "Items": { - "items": { - "type": "number" - }, - "type": "array" }, - "Quantity": { - "type": "number" + "FilterType": { + "type": "string" } }, "required": [ - "Items", - "Quantity" + "Filter", + "FilterType" ], "type": "object" }, - "AWS::CloudFront::Distribution.ViewerCertificate": { - "additionalProperties": false, - "properties": { - "AcmCertificateArn": { - "type": "string" - }, - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IamCertificateId": { - "type": "string" - }, - "MinimumProtocolVersion": { - "type": "string" - }, - "SslSupportMethod": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Function": { + "AWS::ECR::Repository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20905,27 +16427,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoPublish": { + "EmptyOnDelete": { "type": "boolean" }, - "FunctionCode": { + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" + }, + "ImageScanningConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" + }, + "ImageTagMutability": { "type": "string" }, - "FunctionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Function.FunctionConfig" + "LifecyclePolicy": { + "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" }, - "Name": { + "RepositoryName": { "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Function" + "AWS::ECR::Repository" ], "type": "string" }, @@ -20939,37 +16473,47 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionConfig": { + "AWS::ECR::Repository.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Runtime": { + "KmsKey": { "type": "string" } }, "required": [ - "Comment", - "Runtime" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionMetadata": { + "AWS::ECR::Repository.ImageScanningConfiguration": { + "additionalProperties": false, + "properties": { + "ScanOnPush": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::ECR::Repository.LifecyclePolicy": { "additionalProperties": false, "properties": { - "FunctionARN": { + "LifecyclePolicyText": { + "type": "string" + }, + "RegistryId": { "type": "string" } }, "type": "object" }, - "AWS::CloudFront::KeyGroup": { + "AWS::ECR::RepositoryCreationTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21001,18 +16545,49 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyGroupConfig": { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup.KeyGroupConfig" - } - }, - "required": [ - "KeyGroupConfig" + "AppliedFor": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CustomRoleArn": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration" + }, + "ImageTagMutability": { + "type": "string" + }, + "LifecyclePolicy": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "RepositoryPolicy": { + "type": "string" + }, + "ResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AppliedFor", + "Prefix" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::KeyGroup" + "AWS::ECR::RepositoryCreationTemplate" ], "type": "string" }, @@ -21031,29 +16606,22 @@ ], "type": "object" }, - "AWS::CloudFront::KeyGroup.KeyGroupConfig": { + "AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { + "KmsKey": { "type": "string" } }, "required": [ - "Items", - "Name" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy": { + "AWS::EKS::AccessEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21085,18 +16653,46 @@ "Properties": { "additionalProperties": false, "properties": { - "OriginRequestPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig" + "AccessPolicies": { + "items": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessPolicy" + }, + "type": "array" + }, + "ClusterName": { + "type": "string" + }, + "KubernetesGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PrincipalArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" + }, + "Username": { + "type": "string" } }, "required": [ - "OriginRequestPolicyConfig" + "ClusterName", + "PrincipalArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::OriginRequestPolicy" + "AWS::EKS::AccessEntry" ], "type": "string" }, @@ -21115,88 +16711,41 @@ ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.CookiesConfig": { + "AWS::EKS::AccessEntry.AccessPolicy": { "additionalProperties": false, "properties": { - "CookieBehavior": { - "type": "string" + "AccessScope": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessScope" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyArn": { + "type": "string" } }, "required": [ - "CookieBehavior" + "AccessScope", + "PolicyArn" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.HeadersConfig": { + "AWS::EKS::AccessEntry.AccessScope": { "additionalProperties": false, "properties": { - "HeaderBehavior": { - "type": "string" - }, - "Headers": { + "Namespaces": { "items": { "type": "string" }, "type": "array" - } - }, - "required": [ - "HeaderBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" }, - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.CookiesConfig" - }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.HeadersConfig" - }, - "Name": { - "type": "string" - }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig" - } - }, - "required": [ - "CookiesConfig", - "HeadersConfig", - "Name", - "QueryStringsConfig" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig": { - "additionalProperties": false, - "properties": { - "QueryStringBehavior": { + "Type": { "type": "string" - }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "QueryStringBehavior" + "Type" ], "type": "object" }, - "AWS::CloudFront::PublicKey": { + "AWS::EKS::Addon": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21228,18 +16777,49 @@ "Properties": { "additionalProperties": false, "properties": { - "PublicKeyConfig": { - "$ref": "#/definitions/AWS::CloudFront::PublicKey.PublicKeyConfig" + "AddonName": { + "type": "string" + }, + "AddonVersion": { + "type": "string" + }, + "ClusterName": { + "type": "string" + }, + "ConfigurationValues": { + "type": "string" + }, + "PodIdentityAssociations": { + "items": { + "$ref": "#/definitions/AWS::EKS::Addon.PodIdentityAssociation" + }, + "type": "array" + }, + "PreserveOnDelete": { + "type": "boolean" + }, + "ResolveConflicts": { + "type": "string" + }, + "ServiceAccountRoleArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "PublicKeyConfig" + "AddonName", + "ClusterName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::PublicKey" + "AWS::EKS::Addon" ], "type": "string" }, @@ -21258,30 +16838,23 @@ ], "type": "object" }, - "AWS::CloudFront::PublicKey.PublicKeyConfig": { + "AWS::EKS::Addon.PodIdentityAssociation": { "additionalProperties": false, "properties": { - "CallerReference": { - "type": "string" - }, - "Comment": { - "type": "string" - }, - "EncodedKey": { + "RoleArn": { "type": "string" }, - "Name": { + "ServiceAccount": { "type": "string" } }, "required": [ - "CallerReference", - "EncodedKey", - "Name" + "RoleArn", + "ServiceAccount" ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig": { + "AWS::EKS::Cluster": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21313,36 +16886,70 @@ "Properties": { "additionalProperties": false, "properties": { - "EndPoints": { + "AccessConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.AccessConfig" + }, + "BootstrapSelfManagedAddons": { + "type": "boolean" + }, + "ComputeConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ComputeConfig" + }, + "EncryptionConfig": { "items": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.EndPoint" + "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" }, "type": "array" }, - "Fields": { + "KubernetesNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" + }, + "Logging": { + "$ref": "#/definitions/AWS::EKS::Cluster.Logging" + }, + "Name": { + "type": "string" + }, + "OutpostConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.OutpostConfig" + }, + "RemoteNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNetworkConfig" + }, + "ResourcesVpcConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" + }, + "RoleArn": { + "type": "string" + }, + "StorageConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.StorageConfig" + }, + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "Name": { + "UpgradePolicy": { + "$ref": "#/definitions/AWS::EKS::Cluster.UpgradePolicy" + }, + "Version": { "type": "string" }, - "SamplingRate": { - "type": "number" + "ZonalShiftConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ZonalShiftConfig" } }, "required": [ - "EndPoints", - "Fields", - "Name", - "SamplingRate" + "ResourcesVpcConfig", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::RealtimeLogConfig" + "AWS::EKS::Cluster" ], "type": "string" }, @@ -21361,382 +16968,269 @@ ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.EndPoint": { + "AWS::EKS::Cluster.AccessConfig": { "additionalProperties": false, "properties": { - "KinesisStreamConfig": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig" - }, - "StreamType": { + "AuthenticationMode": { "type": "string" + }, + "BootstrapClusterCreatorAdminPermissions": { + "type": "boolean" } }, - "required": [ - "KinesisStreamConfig", - "StreamType" - ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig": { + "AWS::EKS::Cluster.BlockStorage": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "RoleArn", - "StreamArn" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy": { + "AWS::EKS::Cluster.ClusterLogging": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResponseHeadersPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig" - } + "EnabledTypes": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" }, - "required": [ - "ResponseHeadersPolicyConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFront::ResponseHeadersPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders": { + "AWS::EKS::Cluster.ComputeConfig": { "additionalProperties": false, "properties": { - "Items": { + "Enabled": { + "type": "boolean" + }, + "NodePools": { "items": { "type": "string" }, "type": "array" + }, + "NodeRoleArn": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods": { + "AWS::EKS::Cluster.ControlPlanePlacement": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "GroupName": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins": { + "AWS::EKS::Cluster.ElasticLoadBalancing": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders": { + "AWS::EKS::Cluster.EncryptionConfig": { "additionalProperties": false, "properties": { - "Items": { + "Provider": { + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" + }, + "Resources": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy": { + "AWS::EKS::Cluster.KubernetesNetworkConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { + "ElasticLoadBalancing": { + "$ref": "#/definitions/AWS::EKS::Cluster.ElasticLoadBalancing" + }, + "IpFamily": { "type": "string" }, - "Override": { - "type": "boolean" + "ServiceIpv4Cidr": { + "type": "string" + }, + "ServiceIpv6Cidr": { + "type": "string" } }, - "required": [ - "ContentSecurityPolicy", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions": { + "AWS::EKS::Cluster.Logging": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" + "ClusterLogging": { + "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" } }, - "required": [ - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CorsConfig": { + "AWS::EKS::Cluster.LoggingTypeConfig": { "additionalProperties": false, "properties": { - "AccessControlAllowCredentials": { - "type": "boolean" - }, - "AccessControlAllowHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders" - }, - "AccessControlAllowMethods": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods" - }, - "AccessControlAllowOrigins": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins" - }, - "AccessControlExposeHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders" - }, - "AccessControlMaxAgeSec": { - "type": "number" - }, - "OriginOverride": { - "type": "boolean" + "Type": { + "type": "string" } }, - "required": [ - "AccessControlAllowCredentials", - "AccessControlAllowHeaders", - "AccessControlAllowMethods", - "AccessControlAllowOrigins", - "OriginOverride" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeader": { + "AWS::EKS::Cluster.OutpostConfig": { "additionalProperties": false, "properties": { - "Header": { + "ControlPlaneInstanceType": { "type": "string" }, - "Override": { - "type": "boolean" + "ControlPlanePlacement": { + "$ref": "#/definitions/AWS::EKS::Cluster.ControlPlanePlacement" }, - "Value": { - "type": "string" + "OutpostArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Header", - "Override", - "Value" + "ControlPlaneInstanceType", + "OutpostArns" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig": { + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EKS::Cluster.RemoteNetworkConfig": { "additionalProperties": false, "properties": { - "Items": { + "RemoteNodeNetworks": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNodeNetwork" + }, + "type": "array" + }, + "RemotePodNetworks": { "items": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeader" + "$ref": "#/definitions/AWS::EKS::Cluster.RemotePodNetwork" }, "type": "array" } }, "required": [ - "Items" + "RemoteNodeNetworks" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.FrameOptions": { + "AWS::EKS::Cluster.RemoteNodeNetwork": { "additionalProperties": false, "properties": { - "FrameOption": { - "type": "string" - }, - "Override": { - "type": "boolean" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "FrameOption", - "Override" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy": { + "AWS::EKS::Cluster.RemotePodNetwork": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" - }, - "ReferrerPolicy": { - "type": "string" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Override", - "ReferrerPolicy" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig": { + "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { - "Comment": { - "type": "string" + "EndpointPrivateAccess": { + "type": "boolean" }, - "CorsConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CorsConfig" + "EndpointPublicAccess": { + "type": "boolean" }, - "CustomHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig" + "PublicAccessCidrs": { + "items": { + "type": "string" + }, + "type": "array" }, - "Name": { - "type": "string" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "SecurityHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Name" + "SubnetIds" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig": { + "AWS::EKS::Cluster.StorageConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy" - }, - "ContentTypeOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions" - }, - "FrameOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.FrameOptions" - }, - "ReferrerPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy" - }, - "StrictTransportSecurity": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity" - }, - "XSSProtection": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.XSSProtection" + "BlockStorage": { + "$ref": "#/definitions/AWS::EKS::Cluster.BlockStorage" } }, "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity": { + "AWS::EKS::Cluster.UpgradePolicy": { "additionalProperties": false, "properties": { - "AccessControlMaxAgeSec": { - "type": "number" - }, - "IncludeSubdomains": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Preload": { - "type": "boolean" + "SupportType": { + "type": "string" } }, - "required": [ - "AccessControlMaxAgeSec", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.XSSProtection": { + "AWS::EKS::Cluster.ZonalShiftConfig": { "additionalProperties": false, "properties": { - "ModeBlock": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Protection": { + "Enabled": { "type": "boolean" - }, - "ReportUri": { - "type": "string" } }, - "required": [ - "Override", - "Protection" - ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution": { + "AWS::EKS::FargateProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21768,8 +17262,26 @@ "Properties": { "additionalProperties": false, "properties": { - "StreamingDistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig" + "ClusterName": { + "type": "string" + }, + "FargateProfileName": { + "type": "string" + }, + "PodExecutionRoleArn": { + "type": "string" + }, + "Selectors": { + "items": { + "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" + }, + "type": "array" + }, + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" }, "Tags": { "items": { @@ -21779,14 +17291,15 @@ } }, "required": [ - "StreamingDistributionConfig", - "Tags" + "ClusterName", + "PodExecutionRoleArn", + "Selectors" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::StreamingDistribution" + "AWS::EKS::FargateProfile" ], "type": "string" }, @@ -21805,97 +17318,41 @@ ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Enabled", - "Prefix" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.S3Origin": { + "AWS::EKS::FargateProfile.Label": { "additionalProperties": false, "properties": { - "DomainName": { + "Key": { "type": "string" }, - "OriginAccessIdentity": { + "Value": { "type": "string" } }, "required": [ - "DomainName", - "OriginAccessIdentity" + "Key", + "Value" ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig": { + "AWS::EKS::FargateProfile.Selector": { "additionalProperties": false, "properties": { - "Aliases": { + "Labels": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" }, "type": "array" }, - "Comment": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.Logging" - }, - "PriceClass": { + "Namespace": { "type": "string" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.S3Origin" - }, - "TrustedSigners": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.TrustedSigners" - } - }, - "required": [ - "Comment", - "Enabled", - "S3Origin", - "TrustedSigners" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.TrustedSigners": { - "additionalProperties": false, - "properties": { - "AwsAccountNumbers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" } }, "required": [ - "Enabled" + "Namespace" ], "type": "object" }, - "AWS::CloudTrail::Trail": { + "AWS::EKS::IdentityProviderConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21927,50 +17384,14 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "CloudWatchLogsRoleArn": { - "type": "string" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "EventSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.EventSelector" - }, - "type": "array" - }, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "InsightSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.InsightSelector" - }, - "type": "array" - }, - "IsLogging": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "IsOrganizationTrail": { - "type": "boolean" - }, - "KMSKeyId": { - "type": "string" - }, - "S3BucketName": { + "ClusterName": { "type": "string" }, - "S3KeyPrefix": { + "IdentityProviderConfigName": { "type": "string" }, - "SnsTopicName": { - "type": "string" + "Oidc": { + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig" }, "Tags": { "items": { @@ -21978,19 +17399,19 @@ }, "type": "array" }, - "TrailName": { + "Type": { "type": "string" } }, "required": [ - "IsLogging", - "S3BucketName" + "ClusterName", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudTrail::Trail" + "AWS::EKS::IdentityProviderConfig" ], "type": "string" }, @@ -22009,58 +17430,57 @@ ], "type": "object" }, - "AWS::CloudTrail::Trail.DataResource": { + "AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig": { "additionalProperties": false, "properties": { - "Type": { + "ClientId": { "type": "string" }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudTrail::Trail.EventSelector": { - "additionalProperties": false, - "properties": { - "DataResources": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.DataResource" - }, - "type": "array" + "GroupsClaim": { + "type": "string" + }, + "GroupsPrefix": { + "type": "string" }, - "ExcludeManagementEventSources": { + "IssuerUrl": { + "type": "string" + }, + "RequiredClaims": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.RequiredClaim" }, "type": "array" }, - "IncludeManagementEvents": { - "type": "boolean" + "UsernameClaim": { + "type": "string" }, - "ReadWriteType": { + "UsernamePrefix": { "type": "string" } }, + "required": [ + "ClientId", + "IssuerUrl" + ], "type": "object" }, - "AWS::CloudTrail::Trail.InsightSelector": { + "AWS::EKS::IdentityProviderConfig.RequiredClaim": { "additionalProperties": false, "properties": { - "InsightType": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::CloudWatch::Alarm": { + "AWS::EKS::Nodegroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22092,94 +17512,95 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { - "type": "boolean" - }, - "AlarmActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AlarmDescription": { + "AmiType": { "type": "string" }, - "AlarmName": { + "CapacityType": { "type": "string" }, - "ComparisonOperator": { + "ClusterName": { "type": "string" }, - "DatapointsToAlarm": { + "DiskSize": { "type": "number" }, - "Dimensions": { + "ForceUpdateEnabled": { + "type": "boolean" + }, + "InstanceTypes": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" }, - "EvaluateLowSampleCountPercentile": { - "type": "string" + "Labels": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "EvaluationPeriods": { - "type": "number" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" }, - "ExtendedStatistic": { + "NodeRepairConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.NodeRepairConfig" + }, + "NodeRole": { "type": "string" }, - "InsufficientDataActions": { - "items": { - "type": "string" - }, - "type": "array" + "NodegroupName": { + "type": "string" }, - "MetricName": { + "ReleaseVersion": { "type": "string" }, - "Metrics": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" - }, - "type": "array" + "RemoteAccess": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" }, - "Namespace": { - "type": "string" + "ScalingConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" + "Tags": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ThresholdMetricId": { - "type": "string" + "Taints": { + "items": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" + }, + "type": "array" }, - "TreatMissingData": { - "type": "string" + "UpdateConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" }, - "Unit": { + "Version": { "type": "string" } }, "required": [ - "ComparisonOperator", - "EvaluationPeriods" + "ClusterName", + "NodeRole", + "Subnets" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::Alarm" + "AWS::EKS::Nodegroup" ], "type": "string" }, @@ -22198,94 +17619,94 @@ ], "type": "object" }, - "AWS::CloudWatch::Alarm.Dimension": { + "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { + "Id": { + "type": "string" + }, "Name": { "type": "string" }, - "Value": { + "Version": { "type": "string" } }, - "required": [ - "Name", - "Value" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.Metric": { + "AWS::EKS::Nodegroup.NodeRepairConfig": { "additionalProperties": false, "properties": { - "Dimensions": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EKS::Nodegroup.RemoteAccess": { + "additionalProperties": false, + "properties": { + "Ec2SshKey": { + "type": "string" + }, + "SourceSecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" + } + }, + "required": [ + "Ec2SshKey" + ], + "type": "object" + }, + "AWS::EKS::Nodegroup.ScalingConfig": { + "additionalProperties": false, + "properties": { + "DesiredSize": { + "type": "number" }, - "MetricName": { - "type": "string" + "MaxSize": { + "type": "number" }, - "Namespace": { - "type": "string" + "MinSize": { + "type": "number" } }, "type": "object" }, - "AWS::CloudWatch::Alarm.MetricDataQuery": { + "AWS::EKS::Nodegroup.Taint": { "additionalProperties": false, "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { + "Effect": { "type": "string" }, - "Id": { + "Key": { "type": "string" }, - "Label": { + "Value": { "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" } }, - "required": [ - "Id" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.MetricStat": { + "AWS::EKS::Nodegroup.UpdateConfig": { "additionalProperties": false, "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" - }, - "Period": { + "MaxUnavailable": { "type": "number" }, - "Stat": { - "type": "string" + "MaxUnavailablePercentage": { + "type": "number" }, - "Unit": { + "UpdateStrategy": { "type": "string" } }, - "required": [ - "Metric", - "Period", - "Stat" - ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector": { + "AWS::EKS::PodIdentityAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22317,36 +17738,36 @@ "Properties": { "additionalProperties": false, "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricMathAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" - }, - "MetricName": { + "ClusterName": { "type": "string" }, "Namespace": { "type": "string" }, - "SingleMetricAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" + "RoleArn": { + "type": "string" }, - "Stat": { + "ServiceAccount": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ClusterName", + "Namespace", + "RoleArn", + "ServiceAccount" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::AnomalyDetector" + "AWS::EKS::PodIdentityAssociation" ], "type": "string" }, @@ -22360,171 +17781,12 @@ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Configuration": { - "additionalProperties": false, - "properties": { - "ExcludedTimeRanges": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" - }, - "type": "array" - }, - "MetricTimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Dimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Label": { - "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { - "additionalProperties": false, - "properties": { - "MetricDataQueries": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricStat": { - "additionalProperties": false, - "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" - }, - "Period": { - "type": "number" - }, - "Stat": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Metric", - "Period", - "Stat" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Range": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "EndTime", - "StartTime" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Stat": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::CompositeAlarm": { + "AWS::ElasticLoadBalancing::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22556,46 +17818,90 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { + "AccessLoggingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" + }, + "AppCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" + }, + "type": "array" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ConnectionDrainingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" + }, + "ConnectionSettings": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" + }, + "CrossZone": { "type": "boolean" }, - "AlarmActions": { + "HealthCheck": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" + }, + "Instances": { "items": { "type": "string" }, "type": "array" }, - "AlarmDescription": { - "type": "string" + "LBCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" + }, + "type": "array" }, - "AlarmName": { + "Listeners": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" + }, + "type": "array" + }, + "LoadBalancerName": { "type": "string" }, - "AlarmRule": { + "Policies": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" + }, + "type": "array" + }, + "Scheme": { "type": "string" }, - "InsufficientDataActions": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "AlarmName", - "AlarmRule" + "Listeners" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::CompositeAlarm" + "AWS::ElasticLoadBalancing::LoadBalancer" ], "type": "string" }, @@ -22614,420 +17920,179 @@ ], "type": "object" }, - "AWS::CloudWatch::Dashboard": { + "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EmitInterval": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "S3BucketName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardBody": { - "type": "string" - }, - "DashboardName": { - "type": "string" - } - }, - "required": [ - "DashboardBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "S3BucketPrefix": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Enabled", + "S3BucketName" ], "type": "object" }, - "AWS::CloudWatch::InsightRule": { + "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CookieName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleBody": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "RuleState": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" - } - }, - "required": [ - "RuleBody", - "RuleName", - "RuleState" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::InsightRule" - ], + "PolicyName": { "type": "string" + } + }, + "required": [ + "CookieName", + "PolicyName" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Timeout": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled" ], "type": "object" }, - "AWS::CloudWatch::InsightRule.Tags": { + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { "additionalProperties": false, - "properties": {}, + "properties": { + "IdleTimeout": { + "type": "number" + } + }, + "required": [ + "IdleTimeout" + ], "type": "object" }, - "AWS::CloudWatch::MetricStream": { + "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HealthyThreshold": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Interval": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExcludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "FirehoseArn": { - "type": "string" - }, - "IncludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OutputFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirehoseArn", - "OutputFormat", - "RoleArn" - ], - "type": "object" + "Target": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CloudWatch::MetricStream" - ], + "Timeout": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UnhealthyThreshold": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HealthyThreshold", + "Interval", + "Target", + "Timeout", + "UnhealthyThreshold" ], "type": "object" }, - "AWS::CloudWatch::MetricStream.MetricStreamFilter": { + "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "Namespace": { + "CookieExpirationPeriod": { + "type": "string" + }, + "PolicyName": { "type": "string" } }, - "required": [ - "Namespace" - ], "type": "object" }, - "AWS::CodeArtifact::Domain": { + "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstancePort": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "InstanceProtocol": { + "type": "string" }, - "Metadata": { - "type": "object" + "LoadBalancerPort": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "PolicyNames": { + "items": { + "type": "string" }, - "required": [ - "DomainName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Domain" - ], + "Protocol": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SSLCertificateId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "InstancePort", + "LoadBalancerPort", + "Protocol" ], "type": "object" }, - "AWS::CodeArtifact::Repository": { + "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Attributes": { + "items": { + "type": "object" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "InstancePorts": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "DomainOwner": { - "type": "string" - }, - "ExternalConnections": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Upstreams": { - "items": { - "type": "string" - }, - "type": "array" - } + "LoadBalancerPorts": { + "items": { + "type": "string" }, - "required": [ - "DomainName", - "RepositoryName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Repository" - ], + "PolicyName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PolicyType": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Attributes", + "PolicyName", + "PolicyType" ], "type": "object" }, - "AWS::CodeBuild::Project": { + "AWS::ElasticLoadBalancingV2::Listener": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23059,105 +18124,55 @@ "Properties": { "additionalProperties": false, "properties": { - "Artifacts": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" - }, - "BadgeEnabled": { - "type": "boolean" - }, - "BuildBatchConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectBuildBatchConfig" - }, - "Cache": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectCache" - }, - "ConcurrentBuildLimit": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Environment" - }, - "FileSystemLocations": { + "AlpnPolicy": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectFileSystemLocation" + "type": "string" }, "type": "array" }, - "LogsConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.LogsConfig" - }, - "Name": { - "type": "string" - }, - "QueuedTimeoutInMinutes": { - "type": "number" - }, - "ResourceAccessRole": { - "type": "string" - }, - "SecondaryArtifacts": { + "Certificates": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" }, "type": "array" }, - "SecondarySourceVersions": { + "DefaultActions": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectSourceVersion" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" }, "type": "array" }, - "SecondarySources": { + "ListenerAttributes": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute" }, "type": "array" }, - "ServiceRole": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" - }, - "SourceVersion": { + "LoadBalancerArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MutualAuthentication": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication" }, - "TimeoutInMinutes": { + "Port": { "type": "number" }, - "Triggers": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectTriggers" - }, - "Visibility": { + "Protocol": { "type": "string" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.VpcConfig" + "SslPolicy": { + "type": "string" } }, "required": [ - "Artifacts", - "Environment", - "ServiceRole", - "Source" + "DefaultActions", + "LoadBalancerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::Project" + "AWS::ElasticLoadBalancingV2::Listener" ], "type": "string" }, @@ -23176,31 +18191,28 @@ ], "type": "object" }, - "AWS::CodeBuild::Project.Artifacts": { + "AWS::ElasticLoadBalancingV2::Listener.Action": { "additionalProperties": false, "properties": { - "ArtifactIdentifier": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" }, - "Location": { - "type": "string" + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" }, - "Name": { - "type": "string" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" }, - "NamespaceType": { - "type": "string" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" }, - "OverrideArtifactName": { - "type": "boolean" + "Order": { + "type": "number" }, - "Packaging": { - "type": "string" + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" }, - "Path": { + "TargetGroupArn": { "type": "string" }, "Type": { @@ -23212,368 +18224,226 @@ ], "type": "object" }, - "AWS::CodeBuild::Project.BatchRestrictions": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "ComputeTypesAllowed": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "MaximumBuildsAllowed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.BuildStatusConfig": { - "additionalProperties": false, - "properties": { - "Context": { + "OnUnauthenticatedRequest": { "type": "string" }, - "TargetUrl": { + "Scope": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.CloudWatchLogsConfig": { - "additionalProperties": false, - "properties": { - "GroupName": { + }, + "SessionCookieName": { "type": "string" }, - "Status": { + "SessionTimeout": { + "type": "string" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { "type": "string" }, - "StreamName": { + "UserPoolDomain": { "type": "string" } }, "required": [ - "Status" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeBuild::Project.Environment": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Certificate": { - "type": "string" - }, - "ComputeType": { - "type": "string" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.EnvironmentVariable" - }, - "type": "array" - }, - "Image": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ImagePullCredentialsType": { + "AuthorizationEndpoint": { "type": "string" }, - "PrivilegedMode": { - "type": "boolean" - }, - "RegistryCredential": { - "$ref": "#/definitions/AWS::CodeBuild::Project.RegistryCredential" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ComputeType", - "Image", - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { + "ClientId": { "type": "string" }, - "Type": { + "ClientSecret": { "type": "string" }, - "Value": { + "Issuer": { "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.FilterGroup": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CodeBuild::Project.GitSubmodulesConfig": { - "additionalProperties": false, - "properties": { - "FetchSubmodules": { - "type": "boolean" - } - }, - "required": [ - "FetchSubmodules" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.LogsConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.CloudWatchLogsConfig" }, - "S3Logs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.S3LogsConfig" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectBuildBatchConfig": { - "additionalProperties": false, - "properties": { - "BatchReportMode": { + "OnUnauthenticatedRequest": { "type": "string" }, - "CombineArtifacts": { - "type": "boolean" + "Scope": { + "type": "string" }, - "Restrictions": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BatchRestrictions" + "SessionCookieName": { + "type": "string" }, - "ServiceRole": { + "SessionTimeout": { "type": "string" }, - "TimeoutInMins": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectCache": { - "additionalProperties": false, - "properties": { - "Location": { + "TokenEndpoint": { "type": "string" }, - "Modes": { - "items": { - "type": "string" - }, - "type": "array" + "UseExistingClientSecret": { + "type": "boolean" }, - "Type": { + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "Type" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectFileSystemLocation": { + "AWS::ElasticLoadBalancingV2::Listener.Certificate": { "additionalProperties": false, "properties": { - "Identifier": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "MountOptions": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Type": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Identifier", - "Location", - "MountPoint", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectSourceVersion": { + "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { "additionalProperties": false, "properties": { - "SourceIdentifier": { + "ContentType": { + "type": "string" + }, + "MessageBody": { "type": "string" }, - "SourceVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "SourceIdentifier" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectTriggers": { + "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { "additionalProperties": false, "properties": { - "BuildType": { - "type": "string" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" }, - "FilterGroups": { + "TargetGroups": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.FilterGroup" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" }, "type": "array" - }, - "Webhook": { - "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.RegistryCredential": { + "AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute": { "additionalProperties": false, "properties": { - "Credential": { + "Key": { "type": "string" }, - "CredentialProvider": { + "Value": { "type": "string" } }, - "required": [ - "Credential", - "CredentialProvider" - ], "type": "object" }, - "AWS::CodeBuild::Project.S3LogsConfig": { + "AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication": { "additionalProperties": false, "properties": { - "EncryptionDisabled": { + "AdvertiseTrustStoreCaNames": { + "type": "string" + }, + "IgnoreClientCertificateExpiry": { "type": "boolean" }, - "Location": { + "Mode": { "type": "string" }, - "Status": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Status" - ], "type": "object" }, - "AWS::CodeBuild::Project.Source": { + "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { "additionalProperties": false, "properties": { - "Auth": { - "$ref": "#/definitions/AWS::CodeBuild::Project.SourceAuth" - }, - "BuildSpec": { + "Host": { "type": "string" }, - "BuildStatusConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BuildStatusConfig" - }, - "GitCloneDepth": { - "type": "number" - }, - "GitSubmodulesConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.GitSubmodulesConfig" - }, - "InsecureSsl": { - "type": "boolean" - }, - "Location": { + "Path": { "type": "string" }, - "ReportBuildStatus": { - "type": "boolean" - }, - "SourceIdentifier": { + "Port": { "type": "string" }, - "Type": { + "Protocol": { "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.SourceAuth": { - "additionalProperties": false, - "properties": { - "Resource": { + }, + "Query": { "type": "string" }, - "Type": { + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.VpcConfig": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" + "DurationSeconds": { + "type": "number" }, - "VpcId": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.WebhookFilter": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { "additionalProperties": false, "properties": { - "ExcludeMatchedPattern": { - "type": "boolean" - }, - "Pattern": { + "TargetGroupArn": { "type": "string" }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, - "required": [ - "Pattern", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::ReportGroup": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23605,34 +18475,25 @@ "Properties": { "additionalProperties": false, "properties": { - "DeleteReports": { - "type": "boolean" - }, - "ExportConfig": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.ReportExportConfig" - }, - "Name": { - "type": "string" - }, - "Tags": { + "Certificates": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" }, "type": "array" }, - "Type": { + "ListenerArn": { "type": "string" } }, "required": [ - "ExportConfig", - "Type" + "Certificates", + "ListenerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::ReportGroup" + "AWS::ElasticLoadBalancingV2::ListenerCertificate" ], "type": "string" }, @@ -23651,49 +18512,16 @@ ], "type": "object" }, - "AWS::CodeBuild::ReportGroup.ReportExportConfig": { - "additionalProperties": false, - "properties": { - "ExportConfigType": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.S3ReportExportConfig" - } - }, - "required": [ - "ExportConfigType" - ], - "type": "object" - }, - "AWS::CodeBuild::ReportGroup.S3ReportExportConfig": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BucketOwner": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" - }, - "EncryptionKey": { - "type": "string" - }, - "Packaging": { - "type": "string" - }, - "Path": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Bucket" - ], "type": "object" }, - "AWS::CodeBuild::SourceCredential": { + "AWS::ElasticLoadBalancingV2::ListenerRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23725,29 +18553,35 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" + "Actions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" + }, + "type": "array" }, - "ServerType": { - "type": "string" + "Conditions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" + }, + "type": "array" }, - "Token": { + "ListenerArn": { "type": "string" }, - "Username": { - "type": "string" + "Priority": { + "type": "number" } }, "required": [ - "AuthType", - "ServerType", - "Token" + "Actions", + "Conditions", + "Priority" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::SourceCredential" + "AWS::ElasticLoadBalancingV2::ListenerRule" ], "type": "string" }, @@ -23766,353 +18600,340 @@ ], "type": "object" }, - "AWS::CodeCommit::Repository": { + "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" }, - "Metadata": { - "type": "object" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.Code" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.RepositoryTrigger" - }, - "type": "array" - } - }, - "required": [ - "RepositoryName" - ], - "type": "object" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" }, - "Type": { - "enum": [ - "AWS::CodeCommit::Repository" - ], + "Order": { + "type": "number" + }, + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" + }, + "TargetGroupArn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeCommit::Repository.Code": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "BranchName": { + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "OnUnauthenticatedRequest": { "type": "string" }, - "S3": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.S3" + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { + "type": "string" } }, "required": [ - "S3" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeCommit::Repository.RepositoryTrigger": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Branches": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "CustomData": { + "AuthorizationEndpoint": { "type": "string" }, - "DestinationArn": { + "ClientId": { "type": "string" }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" }, - "Name": { + "Issuer": { + "type": "string" + }, + "OnUnauthenticatedRequest": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "TokenEndpoint": { + "type": "string" + }, + "UseExistingClientSecret": { + "type": "boolean" + }, + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "DestinationArn", - "Events", - "Name" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeCommit::Repository.S3": { + "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { "additionalProperties": false, "properties": { - "Bucket": { + "ContentType": { "type": "string" }, - "Key": { + "MessageBody": { "type": "string" }, - "ObjectVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::Application": { + "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ComputePlatform": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeDeploy::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { + "additionalProperties": false, + "properties": { + "HttpHeaderName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" }, - "Metadata": { - "type": "object" + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { + "additionalProperties": false, + "properties": { + "Host": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ComputePlatform": { - "type": "string" - }, - "DeploymentConfigName": { - "type": "string" - }, - "MinimumHealthyHosts": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts" - }, - "TrafficRoutingConfig": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig" - } - }, - "type": "object" + "Path": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CodeDeploy::DeploymentConfig" - ], + "Port": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { + "type": "string" + }, + "Query": { + "type": "string" + }, + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts": { + "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { "additionalProperties": false, "properties": { - "Type": { + "Field": { "type": "string" }, - "Value": { - "type": "number" + "HostHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" + }, + "HttpHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" + }, + "HttpRequestMethodConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" + }, + "PathPatternConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" + }, + "QueryStringConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" + }, + "SourceIpConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" + }, + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Value" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary": { + "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { "additionalProperties": false, "properties": { - "CanaryInterval": { - "type": "number" - }, - "CanaryPercentage": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "CanaryInterval", - "CanaryPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "LinearInterval": { + "DurationSeconds": { "type": "number" }, - "LinearPercentage": { - "type": "number" + "Enabled": { + "type": "boolean" } }, - "required": [ - "LinearInterval", - "LinearPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { "additionalProperties": false, "properties": { - "TimeBasedCanary": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary" - }, - "TimeBasedLinear": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear" - }, - "Type": { + "TargetGroupArn": { "type": "string" + }, + "Weight": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24144,82 +18965,63 @@ "Properties": { "additionalProperties": false, "properties": { - "AlarmConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration" + "EnablePrefixForIpv6SourceNat": { + "type": "string" }, - "ApplicationName": { + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": { "type": "string" }, - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration" + "IpAddressType": { + "type": "string" }, - "AutoScalingGroups": { + "LoadBalancerAttributes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" }, "type": "array" }, - "BlueGreenDeploymentConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration" + "MinimumLoadBalancerCapacity": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity" }, - "Deployment": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Deployment" - }, - "DeploymentConfigName": { + "Name": { "type": "string" }, - "DeploymentGroupName": { + "Scheme": { "type": "string" }, - "DeploymentStyle": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentStyle" - }, - "ECSServices": { + "SecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ECSService" + "type": "string" }, "type": "array" }, - "Ec2TagFilters": { + "SubnetMappings": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" }, "type": "array" }, - "Ec2TagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSet" - }, - "LoadBalancerInfo": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo" - }, - "OnPremisesInstanceTagFilters": { + "Subnets": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" + "type": "string" }, "type": "array" }, - "OnPremisesTagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TriggerConfigurations": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TriggerConfig" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Type": { + "type": "string" } }, - "required": [ - "ApplicationName", - "ServiceRoleArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeDeploy::DeploymentGroup" + "AWS::ElasticLoadBalancingV2::LoadBalancer" ], "type": "string" }, @@ -24233,336 +19035,222 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.Alarm": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Alarm" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "IgnorePollAlarmFailure": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentReadyOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption" }, - "GreenFleetProvisioningOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption" - }, - "TerminateBlueInstancesOnDeploymentSuccess": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption": { - "additionalProperties": false, - "properties": { - "Action": { + "Value": { "type": "string" - }, - "TerminationWaitTimeInMinutes": { - "type": "number" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.Deployment": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IgnoreApplicationStopFailures": { - "type": "boolean" - }, - "Revision": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.RevisionLocation" + "CapacityUnits": { + "type": "number" } }, "required": [ - "Revision" + "CapacityUnits" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption": { - "additionalProperties": false, - "properties": { - "ActionOnTimeout": { - "type": "string" - }, - "WaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentStyle": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { "additionalProperties": false, "properties": { - "DeploymentOption": { + "AllocationId": { "type": "string" }, - "DeploymentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "IPv6Address": { "type": "string" }, - "Type": { + "PrivateIPv4Address": { "type": "string" }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSet": { - "additionalProperties": false, - "properties": { - "Ec2TagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject": { - "additionalProperties": false, - "properties": { - "Ec2TagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ECSService": { - "additionalProperties": false, - "properties": { - "ClusterName": { + "SourceNatIpv6Prefix": { "type": "string" }, - "ServiceName": { + "SubnetId": { "type": "string" } }, "required": [ - "ClusterName", - "ServiceName" + "SubnetId" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.ELBInfo": { + "AWS::ElasticLoadBalancingV2::TargetGroup": { "additionalProperties": false, "properties": { - "Name": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.GitHubLocation": { - "additionalProperties": false, - "properties": { - "CommitId": { + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "HealthCheckEnabled": { + "type": "boolean" + }, + "HealthCheckIntervalSeconds": { + "type": "number" + }, + "HealthCheckPath": { + "type": "string" + }, + "HealthCheckPort": { + "type": "string" + }, + "HealthCheckProtocol": { + "type": "string" + }, + "HealthCheckTimeoutSeconds": { + "type": "number" + }, + "HealthyThresholdCount": { + "type": "number" + }, + "IpAddressType": { + "type": "string" + }, + "Matcher": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" + }, + "Name": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "Protocol": { + "type": "string" + }, + "ProtocolVersion": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TargetGroupAttributes": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" + }, + "type": "array" + }, + "TargetType": { + "type": "string" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" + }, + "type": "array" + }, + "UnhealthyThresholdCount": { + "type": "number" + }, + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::ElasticLoadBalancingV2::TargetGroup" + ], "type": "string" }, - "Repository": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "CommitId", - "Repository" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption": { + "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { "additionalProperties": false, "properties": { - "Action": { + "GrpcCode": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo": { - "additionalProperties": false, - "properties": { - "ElbInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ELBInfo" - }, - "type": "array" - }, - "TargetGroupInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet": { - "additionalProperties": false, - "properties": { - "OnPremisesTagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject": { - "additionalProperties": false, - "properties": { - "OnPremisesTagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.RevisionLocation": { - "additionalProperties": false, - "properties": { - "GitHubLocation": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GitHubLocation" }, - "RevisionType": { + "HttpCode": { "type": "string" - }, - "S3Location": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.S3Location" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.S3Location": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BundleType": { - "type": "string" - }, - "ETag": { + "AvailabilityZone": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { - "type": "string" + "Port": { + "type": "number" } }, "required": [ - "Bucket", - "Key" + "Id" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TagFilter": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { "additionalProperties": false, "properties": { "Key": { "type": "string" }, - "Type": { - "type": "string" - }, "Value": { "type": "string" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TriggerName": { - "type": "string" - }, - "TriggerTargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeGuruProfiler::ProfilingGroup": { + "AWS::ElasticLoadBalancingV2::TrustStore": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24594,19 +19282,16 @@ "Properties": { "additionalProperties": false, "properties": { - "AgentPermissions": { - "type": "object" + "CaCertificatesBundleS3Bucket": { + "type": "string" }, - "AnomalyDetectionNotificationConfiguration": { - "items": { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup.Channel" - }, - "type": "array" + "CaCertificatesBundleS3Key": { + "type": "string" }, - "ComputePlatform": { + "CaCertificatesBundleS3ObjectVersion": { "type": "string" }, - "ProfilingGroupName": { + "Name": { "type": "string" }, "Tags": { @@ -24616,14 +19301,11 @@ "type": "array" } }, - "required": [ - "ProfilingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruProfiler::ProfilingGroup" + "AWS::ElasticLoadBalancingV2::TrustStore" ], "type": "string" }, @@ -24637,27 +19319,111 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeGuruProfiler::ProfilingGroup.Channel": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation": { "additionalProperties": false, "properties": { - "channelId": { - "type": "string" - }, - "channelUri": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "RevocationContents": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent" + }, + "type": "array" + }, + "TrustStoreArn": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "channelUri" + "Type" ], "type": "object" }, - "AWS::CodeGuruReviewer::RepositoryAssociation": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent": { + "additionalProperties": false, + "properties": { + "RevocationType": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation": { + "additionalProperties": false, + "properties": { + "NumberOfRevokedEntries": { + "type": "number" + }, + "RevocationId": { + "type": "string" + }, + "RevocationType": { + "type": "string" + }, + "TrustStoreArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::ApiDestination": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24689,37 +19455,35 @@ "Properties": { "additionalProperties": false, "properties": { - "BucketName": { + "ConnectionArn": { "type": "string" }, - "ConnectionArn": { + "Description": { "type": "string" }, - "Name": { + "HttpMethod": { "type": "string" }, - "Owner": { + "InvocationEndpoint": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "InvocationRateLimitPerSecond": { + "type": "number" }, - "Type": { + "Name": { "type": "string" } }, "required": [ - "Name", - "Type" + "ConnectionArn", + "HttpMethod", + "InvocationEndpoint" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruReviewer::RepositoryAssociation" + "AWS::Events::ApiDestination" ], "type": "string" }, @@ -24738,7 +19502,7 @@ ], "type": "object" }, - "AWS::CodePipeline::CustomActionType": { + "AWS::Events::Archive": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24770,49 +19534,30 @@ "Properties": { "additionalProperties": false, "properties": { - "Category": { + "ArchiveName": { "type": "string" }, - "ConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ConfigurationProperties" - }, - "type": "array" - }, - "InputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "OutputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "Provider": { + "Description": { "type": "string" }, - "Settings": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.Settings" + "EventPattern": { + "type": "object" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RetentionDays": { + "type": "number" }, - "Version": { + "SourceArn": { "type": "string" } }, "required": [ - "Category", - "InputArtifactDetails", - "OutputArtifactDetails", - "Provider", - "Version" + "SourceArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::CustomActionType" + "AWS::Events::Archive" ], "type": "string" }, @@ -24831,74 +19576,7 @@ ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.ArtifactDetails": { - "additionalProperties": false, - "properties": { - "MaximumCount": { - "type": "number" - }, - "MinimumCount": { - "type": "number" - } - }, - "required": [ - "MaximumCount", - "MinimumCount" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.ConfigurationProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Key": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Queryable": { - "type": "boolean" - }, - "Required": { - "type": "boolean" - }, - "Secret": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Key", - "Name", - "Required", - "Secret" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.Settings": { - "additionalProperties": false, - "properties": { - "EntityUrlTemplate": { - "type": "string" - }, - "ExecutionUrlTemplate": { - "type": "string" - }, - "RevisionUrlTemplate": { - "type": "string" - }, - "ThirdPartyConfigurationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodePipeline::Pipeline": { + "AWS::Events::Connection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24930,52 +19608,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" - }, - "ArtifactStores": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStoreMap" - }, - "type": "array" - }, - "DisableInboundStageTransitions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageTransition" - }, - "type": "array" + "AuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.AuthParameters" }, - "Name": { + "AuthorizationType": { "type": "string" }, - "RestartExecutionOnUpdate": { - "type": "boolean" - }, - "RoleArn": { + "Description": { "type": "string" }, - "Stages": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageDeclaration" - }, - "type": "array" + "InvocationConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.InvocationConnectivityParameters" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Name": { + "type": "string" } }, - "required": [ - "RoleArn", - "Stages" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Pipeline" + "AWS::Events::Connection" ], "type": "string" }, @@ -24989,211 +19642,185 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionDeclaration": { + "AWS::Events::Connection.ApiKeyAuthParameters": { "additionalProperties": false, "properties": { - "ActionTypeId": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionTypeId" - }, - "Configuration": { - "type": "object" - }, - "InputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.InputArtifact" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "OutputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.OutputArtifact" - }, - "type": "array" - }, - "Region": { + "ApiKeyName": { "type": "string" }, - "RoleArn": { + "ApiKeyValue": { "type": "string" - }, - "RunOrder": { - "type": "number" } }, "required": [ - "ActionTypeId", - "Name" + "ApiKeyName", + "ApiKeyValue" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionTypeId": { + "AWS::Events::Connection.AuthParameters": { "additionalProperties": false, "properties": { - "Category": { - "type": "string" + "ApiKeyAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ApiKeyAuthParameters" }, - "Owner": { - "type": "string" + "BasicAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.BasicAuthParameters" }, - "Provider": { - "type": "string" + "ConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectivityParameters" }, - "Version": { - "type": "string" + "InvocationHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" + }, + "OAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.OAuthParameters" } }, - "required": [ - "Category", - "Owner", - "Provider", - "Version" - ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStore": { + "AWS::Events::Connection.BasicAuthParameters": { "additionalProperties": false, "properties": { - "EncryptionKey": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.EncryptionKey" - }, - "Location": { + "Password": { "type": "string" }, - "Type": { + "Username": { "type": "string" } }, "required": [ - "Location", - "Type" + "Password", + "Username" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStoreMap": { + "AWS::Events::Connection.ClientParameters": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" + "ClientID": { + "type": "string" }, - "Region": { + "ClientSecret": { "type": "string" } }, "required": [ - "ArtifactStore", - "Region" + "ClientID", + "ClientSecret" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.BlockerDeclaration": { + "AWS::Events::Connection.ConnectionHttpParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "BodyParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" }, - "Type": { - "type": "string" + "HeaderParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + }, + "QueryStringParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" } }, - "required": [ - "Name", - "Type" - ], "type": "object" }, - "AWS::CodePipeline::Pipeline.EncryptionKey": { + "AWS::Events::Connection.ConnectivityParameters": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Type": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Id", - "Type" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.InputArtifact": { + "AWS::Events::Connection.InvocationConnectivityParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Name" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.OutputArtifact": { + "AWS::Events::Connection.OAuthParameters": { "additionalProperties": false, "properties": { - "Name": { + "AuthorizationEndpoint": { + "type": "string" + }, + "ClientParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ClientParameters" + }, + "HttpMethod": { "type": "string" + }, + "OAuthHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" } }, "required": [ - "Name" + "AuthorizationEndpoint", + "ClientParameters", + "HttpMethod" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageDeclaration": { + "AWS::Events::Connection.Parameter": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionDeclaration" - }, - "type": "array" + "IsValueSecret": { + "type": "boolean" }, - "Blockers": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.BlockerDeclaration" - }, - "type": "array" + "Key": { + "type": "string" }, - "Name": { + "Value": { "type": "string" } }, "required": [ - "Actions", - "Name" + "Key", + "Value" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageTransition": { + "AWS::Events::Connection.ResourceParameters": { "additionalProperties": false, "properties": { - "Reason": { + "ResourceAssociationArn": { "type": "string" }, - "StageName": { + "ResourceConfigurationArn": { "type": "string" } }, "required": [ - "Reason", - "StageName" + "ResourceConfigurationArn" ], "type": "object" }, - "AWS::CodePipeline::Webhook": { + "AWS::Events::Endpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25225,47 +19852,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Authentication": { + "Description": { "type": "string" }, - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookAuthConfiguration" - }, - "Filters": { + "EventBuses": { "items": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookFilterRule" + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" }, "type": "array" }, "Name": { "type": "string" }, - "RegisterWithThirdParty": { - "type": "boolean" - }, - "TargetAction": { - "type": "string" + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" }, - "TargetPipeline": { + "RoleArn": { "type": "string" }, - "TargetPipelineVersion": { - "type": "number" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" } }, "required": [ - "Authentication", - "AuthenticationConfiguration", - "Filters", - "TargetAction", - "TargetPipeline", - "TargetPipelineVersion" + "EventBuses", + "RoutingConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Webhook" + "AWS::Events::Endpoint" ], "type": "string" }, @@ -25284,149 +19901,83 @@ ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookAuthConfiguration": { + "AWS::Events::Endpoint.EndpointEventBus": { "additionalProperties": false, "properties": { - "AllowedIPRange": { - "type": "string" - }, - "SecretToken": { + "EventBusArn": { "type": "string" } }, + "required": [ + "EventBusArn" + ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookFilterRule": { + "AWS::Events::Endpoint.FailoverConfig": { "additionalProperties": false, "properties": { - "JsonPath": { - "type": "string" + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" }, - "MatchEquals": { - "type": "string" + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" } }, "required": [ - "JsonPath" + "Primary", + "Secondary" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository": { + "AWS::Events::Endpoint.Primary": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.Code" - }, - "ConnectionArn": { - "type": "string" - }, - "EnableIssues": { - "type": "boolean" - }, - "IsPrivate": { - "type": "boolean" - }, - "RepositoryAccessToken": { - "type": "string" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryOwner": { - "type": "string" - } - }, - "required": [ - "RepositoryName", - "RepositoryOwner" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeStar::GitHubRepository" - ], + "HealthCheck": { "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { "type": "string" } }, "required": [ - "Type", - "Properties" + "State" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.Code": { + "AWS::Events::Endpoint.RoutingConfig": { "additionalProperties": false, "properties": { - "S3": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.S3" + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" } }, "required": [ - "S3" + "FailoverConfig" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.S3": { + "AWS::Events::Endpoint.Secondary": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { + "Route": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "Route" ], "type": "object" }, - "AWS::CodeStarConnections::Connection": { + "AWS::Events::EventBus": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25458,15 +20009,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ConnectionName": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::EventBus.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "HostArn": { + "EventSourceName": { + "type": "string" + }, + "KmsKeyIdentifier": { "type": "string" }, - "ProviderType": { + "Name": { "type": "string" }, + "Policy": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -25475,13 +20035,13 @@ } }, "required": [ - "ConnectionName" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarConnections::Connection" + "AWS::Events::EventBus" ], "type": "string" }, @@ -25500,7 +20060,16 @@ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule": { + "AWS::Events::EventBus.DeadLetterConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::EventBusPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25532,55 +20101,33 @@ "Properties": { "additionalProperties": false, "properties": { - "CreatedBy": { - "type": "string" - }, - "DetailType": { - "type": "string" - }, - "EventTypeId": { + "Action": { "type": "string" }, - "EventTypeIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" + "Condition": { + "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" }, - "Resource": { + "EventBusName": { "type": "string" }, - "Status": { + "Principal": { "type": "string" }, - "Tags": { + "Statement": { "type": "object" }, - "TargetAddress": { + "StatementId": { "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule.Target" - }, - "type": "array" } }, "required": [ - "DetailType", - "EventTypeIds", - "Name", - "Resource", - "Targets" + "StatementId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarNotifications::NotificationRule" + "AWS::Events::EventBusPolicy" ], "type": "string" }, @@ -25599,23 +20146,22 @@ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule.Target": { + "AWS::Events::EventBusPolicy.Condition": { "additionalProperties": false, "properties": { - "TargetAddress": { + "Key": { "type": "string" }, - "TargetType": { + "Type": { + "type": "string" + }, + "Value": { "type": "string" } }, - "required": [ - "TargetAddress", - "TargetType" - ], "type": "object" }, - "AWS::Cognito::IdentityPool": { + "AWS::Events::Rule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25647,57 +20193,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AllowClassicFlow": { - "type": "boolean" + "Description": { + "type": "string" }, - "AllowUnauthenticatedIdentities": { - "type": "boolean" + "EventBusName": { + "type": "string" }, - "CognitoEvents": { + "EventPattern": { "type": "object" }, - "CognitoIdentityProviders": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoIdentityProvider" - }, - "type": "array" - }, - "CognitoStreams": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoStreams" - }, - "DeveloperProviderName": { + "Name": { "type": "string" }, - "IdentityPoolName": { + "RoleArn": { "type": "string" }, - "OpenIdConnectProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" + "ScheduleExpression": { + "type": "string" }, - "PushSync": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.PushSync" + "State": { + "type": "string" }, - "SamlProviderARNs": { + "Targets": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::Events::Rule.Target" }, "type": "array" - }, - "SupportedLoginProviders": { - "type": "object" } }, - "required": [ - "AllowUnauthenticatedIdentities" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::IdentityPool" + "AWS::Events::Rule" ], "type": "string" }, @@ -25711,615 +20239,453 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoIdentityProvider": { + "AWS::Events::Rule.AppSyncParameters": { "additionalProperties": false, "properties": { - "ClientId": { - "type": "string" - }, - "ProviderName": { + "GraphQLOperation": { "type": "string" - }, - "ServerSideTokenCheck": { - "type": "boolean" } }, + "required": [ + "GraphQLOperation" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoStreams": { + "AWS::Events::Rule.AwsVpcConfiguration": { "additionalProperties": false, "properties": { - "RoleArn": { + "AssignPublicIp": { "type": "string" }, - "StreamName": { - "type": "string" + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" }, - "StreamingStatus": { - "type": "string" + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Subnets" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.PushSync": { + "AWS::Events::Rule.BatchArrayProperties": { "additionalProperties": false, "properties": { - "ApplicationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" + "Size": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment": { + "AWS::Events::Rule.BatchParameters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityPoolId": { - "type": "string" - }, - "RoleMappings": { - "type": "object" - }, - "Roles": { - "type": "object" - } - }, - "required": [ - "IdentityPoolId" - ], - "type": "object" + "ArrayProperties": { + "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPoolRoleAttachment" - ], + "JobDefinition": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "JobName": { "type": "string" + }, + "RetryStrategy": { + "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" } }, "required": [ - "Type", - "Properties" + "JobDefinition", + "JobName" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.MappingRule": { + "AWS::Events::Rule.BatchRetryStrategy": { "additionalProperties": false, "properties": { - "Claim": { - "type": "string" - }, - "MatchType": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "Value": { - "type": "string" + "Attempts": { + "type": "number" } }, - "required": [ - "Claim", - "MatchType", - "RoleARN", - "Value" - ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping": { + "AWS::Events::Rule.CapacityProviderStrategyItem": { "additionalProperties": false, "properties": { - "AmbiguousRoleResolution": { - "type": "string" + "Base": { + "type": "number" }, - "IdentityProvider": { + "CapacityProvider": { "type": "string" }, - "RulesConfiguration": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType" - }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, "required": [ - "Type" + "CapacityProvider" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType": { + "AWS::Events::Rule.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.MappingRule" - }, - "type": "array" + "Arn": { + "type": "string" } }, - "required": [ - "Rules" - ], "type": "object" }, - "AWS::Cognito::UserPool": { + "AWS::Events::Rule.EcsParameters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CapacityProviderStrategy": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" + }, + "type": "array" + }, + "EnableECSManagedTags": { + "type": "boolean" + }, + "EnableExecuteCommand": { + "type": "boolean" + }, + "Group": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LaunchType": { + "type": "string" }, - "Metadata": { - "type": "object" + "NetworkConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.DeviceConfiguration" - }, - "EmailConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.EmailConfiguration" - }, - "EmailVerificationMessage": { - "type": "string" - }, - "EmailVerificationSubject": { - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.LambdaConfig" - }, - "MfaConfiguration": { - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/AWS::Cognito::UserPool.Policies" - }, - "Schema": { - "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SmsConfiguration" - }, - "SmsVerificationMessage": { - "type": "string" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UserPoolAddOns" - }, - "UserPoolName": { - "type": "string" - }, - "UserPoolTags": { - "type": "object" - }, - "UsernameAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.VerificationMessageTemplate" - } + "PlacementConstraints": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Cognito::UserPool" - ], + "PlacementStrategies": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" + }, + "type": "array" + }, + "PlatformVersion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PropagateTags": { + "type": "string" + }, + "ReferenceId": { + "type": "string" + }, + "TagList": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TaskCount": { + "type": "number" + }, + "TaskDefinitionArn": { "type": "string" } }, "required": [ - "Type" + "TaskDefinitionArn" ], "type": "object" }, - "AWS::Cognito::UserPool.AccountRecoverySetting": { + "AWS::Events::Rule.HttpParameters": { "additionalProperties": false, "properties": { - "RecoveryMechanisms": { + "HeaderParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "PathParameterValues": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.RecoveryOption" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" - }, - "InviteMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.InviteMessageTemplate" }, - "UnusedAccountValidityDays": { - "type": "number" + "QueryStringParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "type": "object" }, - "AWS::Cognito::UserPool.CustomEmailSender": { + "AWS::Events::Rule.InputTransformer": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" + "InputPathsMap": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "LambdaVersion": { + "InputTemplate": { "type": "string" } }, + "required": [ + "InputTemplate" + ], "type": "object" }, - "AWS::Cognito::UserPool.CustomSMSSender": { + "AWS::Events::Rule.KinesisParameters": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { + "PartitionKeyPath": { "type": "string" } }, + "required": [ + "PartitionKeyPath" + ], "type": "object" }, - "AWS::Cognito::UserPool.DeviceConfiguration": { + "AWS::Events::Rule.NetworkConfiguration": { "additionalProperties": false, "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" + "AwsVpcConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" } }, "type": "object" }, - "AWS::Cognito::UserPool.EmailConfiguration": { + "AWS::Events::Rule.PlacementConstraint": { "additionalProperties": false, "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { + "Expression": { "type": "string" }, - "SourceArn": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.InviteMessageTemplate": { + "AWS::Events::Rule.PlacementStrategy": { "additionalProperties": false, "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { + "Field": { "type": "string" }, - "SMSMessage": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.LambdaConfig": { + "AWS::Events::Rule.RedshiftDataParameters": { "additionalProperties": false, "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { + "Database": { "type": "string" }, - "PreAuthentication": { + "DbUser": { "type": "string" }, - "PreSignUp": { + "SecretManagerArn": { "type": "string" }, - "PreTokenGeneration": { + "Sql": { "type": "string" }, - "UserMigration": { - "type": "string" + "Sqls": { + "items": { + "type": "string" + }, + "type": "array" }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { + "StatementName": { "type": "string" }, - "MinValue": { - "type": "string" + "WithEvent": { + "type": "boolean" } }, + "required": [ + "Database" + ], "type": "object" }, - "AWS::Cognito::UserPool.PasswordPolicy": { + "AWS::Events::Rule.RetryPolicy": { "additionalProperties": false, "properties": { - "MinimumLength": { + "MaximumEventAgeInSeconds": { "type": "number" }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { + "MaximumRetryAttempts": { "type": "number" } }, "type": "object" }, - "AWS::Cognito::UserPool.Policies": { + "AWS::Events::Rule.RunCommandParameters": { "additionalProperties": false, "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/AWS::Cognito::UserPool.PasswordPolicy" + "RunCommandTargets": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" + }, + "type": "array" } }, + "required": [ + "RunCommandTargets" + ], "type": "object" }, - "AWS::Cognito::UserPool.RecoveryOption": { + "AWS::Events::Rule.RunCommandTarget": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" }, - "Priority": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Values" + ], "type": "object" }, - "AWS::Cognito::UserPool.SchemaAttribute": { + "AWS::Events::Rule.SageMakerPipelineParameter": { "additionalProperties": false, "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, "Name": { "type": "string" }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.StringAttributeConstraints" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::Cognito::UserPool.StringAttributeConstraints": { + "AWS::Events::Rule.SageMakerPipelineParameters": { "additionalProperties": false, "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" + "PipelineParameterList": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameter" + }, + "type": "array" } }, "type": "object" }, - "AWS::Cognito::UserPool.UserPoolAddOns": { + "AWS::Events::Rule.SqsParameters": { "additionalProperties": false, "properties": { - "AdvancedSecurityMode": { + "MessageGroupId": { "type": "string" } }, + "required": [ + "MessageGroupId" + ], "type": "object" }, - "AWS::Cognito::UserPool.UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.VerificationMessageTemplate": { + "AWS::Events::Rule.Target": { "additionalProperties": false, "properties": { - "DefaultEmailOption": { - "type": "string" + "AppSyncParameters": { + "$ref": "#/definitions/AWS::Events::Rule.AppSyncParameters" }, - "EmailMessage": { + "Arn": { "type": "string" }, - "EmailMessageByLink": { + "BatchParameters": { + "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" + }, + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" + }, + "EcsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" + }, + "HttpParameters": { + "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" + }, + "Id": { "type": "string" }, - "EmailSubject": { + "Input": { "type": "string" }, - "EmailSubjectByLink": { + "InputPath": { "type": "string" }, - "SmsMessage": { + "InputTransformer": { + "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" + }, + "KinesisParameters": { + "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" + }, + "RedshiftDataParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" + }, + "RetryPolicy": { + "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" + }, + "RoleArn": { "type": "string" + }, + "RunCommandParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" + }, + "SageMakerPipelineParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameters" + }, + "SqsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" } }, + "required": [ + "Arn", + "Id" + ], "type": "object" }, - "AWS::Cognito::UserPoolClient": { + "AWS::IAM::AccessKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26351,99 +20717,24 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessTokenValidity": { + "Serial": { "type": "number" }, - "AllowedOAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - }, - "AllowedOAuthScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AnalyticsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.AnalyticsConfiguration" - }, - "CallbackURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClientName": { + "Status": { "type": "string" }, - "DefaultRedirectURI": { + "UserName": { "type": "string" - }, - "EnableTokenRevocation": { - "type": "boolean" - }, - "ExplicitAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GenerateSecret": { - "type": "boolean" - }, - "IdTokenValidity": { - "type": "number" - }, - "LogoutURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreventUserExistenceErrors": { - "type": "string" - }, - "ReadAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RefreshTokenValidity": { - "type": "number" - }, - "SupportedIdentityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TokenValidityUnits": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.TokenValidityUnits" - }, - "UserPoolId": { - "type": "string" - }, - "WriteAttributes": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "UserPoolId" + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolClient" + "AWS::IAM::AccessKey" ], "type": "string" }, @@ -26462,43 +20753,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolClient.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserDataShared": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolClient.TokenValidityUnits": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "IdToken": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolDomain": { + "AWS::IAM::Group": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26530,25 +20785,30 @@ "Properties": { "additionalProperties": false, "properties": { - "CustomDomainConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain.CustomDomainConfigType" - }, - "Domain": { + "GroupName": { "type": "string" }, - "UserPoolId": { + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Path": { "type": "string" + }, + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::Group.Policy" + }, + "type": "array" } }, - "required": [ - "Domain", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolDomain" + "AWS::IAM::Group" ], "type": "string" }, @@ -26562,21 +20822,27 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolDomain.CustomDomainConfigType": { + "AWS::IAM::Group.Policy": { "additionalProperties": false, "properties": { - "CertificateArn": { + "PolicyDocument": { + "type": "object" + }, + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolGroup": { + "AWS::IAM::GroupPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26608,30 +20874,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, "GroupName": { "type": "string" }, - "Precedence": { - "type": "number" - }, - "RoleArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" } }, "required": [ - "UserPoolId" + "GroupName", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolGroup" + "AWS::IAM::GroupPolicy" ], "type": "string" }, @@ -26650,7 +20911,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolIdentityProvider": { + "AWS::IAM::InstanceProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26682,38 +20943,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AttributeMapping": { - "type": "object" + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" }, - "IdpIdentifiers": { + "Roles": { "items": { "type": "string" }, "type": "array" - }, - "ProviderDetails": { - "type": "object" - }, - "ProviderName": { - "type": "string" - }, - "ProviderType": { - "type": "string" - }, - "UserPoolId": { - "type": "string" } }, "required": [ - "ProviderName", - "ProviderType", - "UserPoolId" + "Roles" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolIdentityProvider" + "AWS::IAM::InstanceProfile" ], "type": "string" }, @@ -26732,7 +20982,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer": { + "AWS::IAM::ManagedPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26764,32 +21014,45 @@ "Properties": { "additionalProperties": false, "properties": { - "Identifier": { + "Description": { "type": "string" }, - "Name": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ManagedPolicyName": { "type": "string" }, - "Scopes": { + "Path": { + "type": "string" + }, + "PolicyDocument": { + "type": "object" + }, + "Roles": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType" + "type": "string" }, "type": "array" }, - "UserPoolId": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Identifier", - "Name", - "UserPoolId" + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolResourceServer" + "AWS::IAM::ManagedPolicy" ], "type": "string" }, @@ -26808,23 +21071,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeDescription", - "ScopeName" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": { + "AWS::IAM::OIDCProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26856,31 +21103,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AccountTakeoverRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType" - }, - "ClientId": { - "type": "string" + "ClientIdList": { + "items": { + "type": "string" + }, + "type": "array" }, - "CompromisedCredentialsRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RiskExceptionConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType" + "ThumbprintList": { + "items": { + "type": "string" + }, + "type": "array" }, - "UserPoolId": { + "Url": { "type": "string" } }, - "required": [ - "ClientId", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolRiskConfigurationAttachment" + "AWS::IAM::OIDCProvider" ], "type": "string" }, @@ -26894,151 +21143,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - }, - "Notify": { - "type": "boolean" - } - }, - "required": [ - "EventAction", - "Notify" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType": { - "additionalProperties": false, - "properties": { - "HighAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "LowAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "MediumAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType" - }, - "NotifyConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - } - }, - "required": [ - "EventAction" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType" - }, - "EventFilter": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "From": { - "type": "string" - }, - "MfaEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "NoActionEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "ReplyTo": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType": { - "additionalProperties": false, - "properties": { - "HtmlBody": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "TextBody": { - "type": "string" - } - }, - "required": [ - "Subject" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkippedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolUICustomizationAttachment": { + "AWS::IAM::Policy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27070,25 +21179,40 @@ "Properties": { "additionalProperties": false, "properties": { - "CSS": { - "type": "string" + "Groups": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClientId": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" + }, + "Roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ClientId", - "UserPoolId" + "PolicyDocument", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUICustomizationAttachment" + "AWS::IAM::Policy" ], "type": "string" }, @@ -27107,7 +21231,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolUser": { + "AWS::IAM::Role": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27139,48 +21263,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientMetadata": { + "AssumeRolePolicyDocument": { "type": "object" }, - "DesiredDeliveryMediums": { + "Description": { + "type": "string" + }, + "ManagedPolicyArns": { "items": { "type": "string" }, "type": "array" }, - "ForceAliasCreation": { - "type": "boolean" + "MaxSessionDuration": { + "type": "number" + }, + "Path": { + "type": "string" }, - "MessageAction": { + "PermissionsBoundary": { "type": "string" }, - "UserAttributes": { + "Policies": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/AWS::IAM::Role.Policy" }, "type": "array" }, - "UserPoolId": { - "type": "string" - }, - "Username": { + "RoleName": { "type": "string" }, - "ValidationData": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "UserPoolId" + "AssumeRolePolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUser" + "AWS::IAM::Role" ], "type": "string" }, @@ -27199,19 +21326,23 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolUser.AttributeType": { + "AWS::IAM::Role.Policy": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Value": { + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolUserToGroupAttachment": { + "AWS::IAM::RolePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27243,26 +21374,25 @@ "Properties": { "additionalProperties": false, "properties": { - "GroupName": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" }, - "Username": { + "RoleName": { "type": "string" } }, "required": [ - "GroupName", - "UserPoolId", - "Username" + "PolicyName", + "RoleName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUserToGroupAttachment" + "AWS::IAM::RolePolicy" ], "type": "string" }, @@ -27281,7 +21411,7 @@ ], "type": "object" }, - "AWS::Config::AggregationAuthorization": { + "AWS::IAM::SAMLProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27313,10 +21443,10 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthorizedAccountId": { + "Name": { "type": "string" }, - "AuthorizedAwsRegion": { + "SamlMetadataDocument": { "type": "string" }, "Tags": { @@ -27327,14 +21457,13 @@ } }, "required": [ - "AuthorizedAccountId", - "AuthorizedAwsRegion" + "SamlMetadataDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::AggregationAuthorization" + "AWS::IAM::SAMLProvider" ], "type": "string" }, @@ -27353,7 +21482,7 @@ ], "type": "object" }, - "AWS::Config::ConfigRule": { + "AWS::IAM::ServerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27385,33 +21514,33 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigRuleName": { + "CertificateBody": { "type": "string" }, - "Description": { + "CertificateChain": { "type": "string" }, - "InputParameters": { - "type": "object" + "Path": { + "type": "string" }, - "MaximumExecutionFrequency": { + "PrivateKey": { "type": "string" }, - "Scope": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Scope" + "ServerCertificateName": { + "type": "string" }, - "Source": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Source" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Source" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigRule" + "AWS::IAM::ServerCertificate" ], "type": "string" }, @@ -27425,74 +21554,75 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Config::ConfigRule.Scope": { + "AWS::IAM::ServiceLinkedRole": { "additionalProperties": false, "properties": { - "ComplianceResourceId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ComplianceResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "TagValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::ConfigRule.Source": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" + "Metadata": { + "type": "object" }, - "SourceDetails": { - "items": { - "$ref": "#/definitions/AWS::Config::ConfigRule.SourceDetail" + "Properties": { + "additionalProperties": false, + "properties": { + "AWSServiceName": { + "type": "string" + }, + "CustomSuffix": { + "type": "string" + }, + "Description": { + "type": "string" + } }, - "type": "array" - }, - "SourceIdentifier": { - "type": "string" - } - }, - "required": [ - "Owner", - "SourceIdentifier" - ], - "type": "object" - }, - "AWS::Config::ConfigRule.SourceDetail": { - "additionalProperties": false, - "properties": { - "EventSource": { - "type": "string" + "type": "object" }, - "MaximumExecutionFrequency": { + "Type": { + "enum": [ + "AWS::IAM::ServiceLinkedRole" + ], "type": "string" }, - "MessageType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EventSource", - "MessageType" + "Type" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator": { + "AWS::IAM::User": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27524,30 +21654,48 @@ "Properties": { "additionalProperties": false, "properties": { - "AccountAggregationSources": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoginProfile": { + "$ref": "#/definitions/AWS::IAM::User.LoginProfile" + }, + "ManagedPolicyArns": { "items": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.AccountAggregationSource" + "type": "string" }, "type": "array" }, - "ConfigurationAggregatorName": { + "Path": { + "type": "string" + }, + "PermissionsBoundary": { "type": "string" }, - "OrganizationAggregationSource": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.OrganizationAggregationSource" + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::User.Policy" + }, + "type": "array" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "UserName": { + "type": "string" } }, "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationAggregator" + "AWS::IAM::User" ], "type": "string" }, @@ -27565,52 +21713,38 @@ ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.AccountAggregationSource": { + "AWS::IAM::User.LoginProfile": { "additionalProperties": false, "properties": { - "AccountIds": { - "items": { - "type": "string" - }, - "type": "array" + "Password": { + "type": "string" }, - "AllAwsRegions": { + "PasswordResetRequired": { "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "AccountIds" + "Password" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.OrganizationAggregationSource": { + "AWS::IAM::User.Policy": { "additionalProperties": false, "properties": { - "AllAwsRegions": { - "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "PolicyName": { "type": "string" } }, "required": [ - "RoleArn" + "PolicyDocument", + "PolicyName" ], "type": "object" }, - "AWS::Config::ConfigurationRecorder": { + "AWS::IAM::UserPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27642,24 +21776,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RecordingGroup": { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder.RecordingGroup" + "PolicyName": { + "type": "string" }, - "RoleARN": { + "UserName": { "type": "string" } }, "required": [ - "RoleARN" + "PolicyName", + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationRecorder" + "AWS::IAM::UserPolicy" ], "type": "string" }, @@ -27678,25 +21813,7 @@ ], "type": "object" }, - "AWS::Config::ConfigurationRecorder.RecordingGroup": { - "additionalProperties": false, - "properties": { - "AllSupported": { - "type": "boolean" - }, - "IncludeGlobalResourceTypes": { - "type": "boolean" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::ConformancePack": { + "AWS::IAM::UserToGroupAddition": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27728,36 +21845,25 @@ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { + "GroupName": { + "type": "string" + }, + "Users": { "items": { - "$ref": "#/definitions/AWS::Config::ConformancePack.ConformancePackInputParameter" + "type": "string" }, "type": "array" - }, - "ConformancePackName": { - "type": "string" - }, - "DeliveryS3Bucket": { - "type": "string" - }, - "DeliveryS3KeyPrefix": { - "type": "string" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateS3Uri": { - "type": "string" } }, "required": [ - "ConformancePackName" + "GroupName", + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConformancePack" + "AWS::IAM::UserToGroupAddition" ], "type": "string" }, @@ -27776,23 +21882,7 @@ ], "type": "object" }, - "AWS::Config::ConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Config::DeliveryChannel": { + "AWS::IAM::VirtualMFADevice": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27824,33 +21914,33 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigSnapshotDeliveryProperties": { - "$ref": "#/definitions/AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties" - }, - "Name": { - "type": "string" - }, - "S3BucketName": { + "Path": { "type": "string" }, - "S3KeyPrefix": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "S3KmsKeyArn": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" }, - "SnsTopicARN": { + "VirtualMfaDeviceName": { "type": "string" } }, "required": [ - "S3BucketName" + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::DeliveryChannel" + "AWS::IAM::VirtualMFADevice" ], "type": "string" }, @@ -27869,16 +21959,7 @@ ], "type": "object" }, - "AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties": { - "additionalProperties": false, - "properties": { - "DeliveryFrequency": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::OrganizationConfigRule": { + "AWS::KMS::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27910,30 +21991,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationConfigRuleName": { + "AliasName": { "type": "string" }, - "OrganizationCustomRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata" - }, - "OrganizationManagedRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata" + "TargetKeyId": { + "type": "string" } }, "required": [ - "OrganizationConfigRuleName" + "AliasName", + "TargetKeyId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConfigRule" + "AWS::KMS::Alias" ], "type": "string" }, @@ -27952,86 +22025,7 @@ ], "type": "object" }, - "AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "LambdaFunctionArn": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "OrganizationConfigRuleTriggerTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn", - "OrganizationConfigRuleTriggerTypes" - ], - "type": "object" - }, - "AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuleIdentifier": { - "type": "string" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "RuleIdentifier" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack": { + "AWS::KMS::Key": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28063,42 +22057,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack.ConformancePackInputParameter" - }, - "type": "array" + "BypassPolicyLockoutSafetyCheck": { + "type": "boolean" }, - "DeliveryS3Bucket": { + "Description": { "type": "string" }, - "DeliveryS3KeyPrefix": { - "type": "string" + "EnableKeyRotation": { + "type": "boolean" }, - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" + }, + "KeyPolicy": { + "type": "object" }, - "OrganizationConformancePackName": { + "KeySpec": { "type": "string" }, - "TemplateBody": { + "KeyUsage": { "type": "string" }, - "TemplateS3Uri": { + "MultiRegion": { + "type": "boolean" + }, + "Origin": { "type": "string" + }, + "PendingWindowInDays": { + "type": "number" + }, + "RotationPeriodInDays": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "OrganizationConformancePackName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConformancePack" + "AWS::KMS::Key" ], "type": "string" }, @@ -28112,28 +22115,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" + "Type" ], "type": "object" }, - "AWS::Config::RemediationConfiguration": { + "AWS::KMS::ReplicaKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28165,47 +22151,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Automatic": { - "type": "boolean" - }, - "ConfigRuleName": { + "Description": { "type": "string" }, - "ExecutionControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ExecutionControls" - }, - "MaximumAutomaticAttempts": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Parameters": { + "KeyPolicy": { "type": "object" }, - "ResourceType": { - "type": "string" - }, - "RetryAttemptSeconds": { + "PendingWindowInDays": { "type": "number" }, - "TargetId": { - "type": "string" - }, - "TargetType": { + "PrimaryKeyArn": { "type": "string" }, - "TargetVersion": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ConfigRuleName", - "TargetId", - "TargetType" + "KeyPolicy", + "PrimaryKeyArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::RemediationConfiguration" + "AWS::KMS::ReplicaKey" ], "type": "string" }, @@ -28224,61 +22200,7 @@ ], "type": "object" }, - "AWS::Config::RemediationConfiguration.ExecutionControls": { - "additionalProperties": false, - "properties": { - "SsmControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.SsmControls" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.RemediationParameterValue": { - "additionalProperties": false, - "properties": { - "ResourceValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ResourceValue" - }, - "StaticValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.StaticValue" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.ResourceValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.SsmControls": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutionRatePercentage": { - "type": "number" - }, - "ErrorPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.StaticValue": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::StoredQuery": { + "AWS::Kinesis::ResourcePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28310,31 +22232,22 @@ "Properties": { "additionalProperties": false, "properties": { - "QueryDescription": { - "type": "string" - }, - "QueryExpression": { - "type": "string" - }, - "QueryName": { + "ResourceArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ResourcePolicy": { + "type": "object" } }, "required": [ - "QueryExpression", - "QueryName" + "ResourceArn", + "ResourcePolicy" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::StoredQuery" + "AWS::Kinesis::ResourcePolicy" ], "type": "string" }, @@ -28353,7 +22266,7 @@ ], "type": "object" }, - "AWS::Connect::ContactFlow": { + "AWS::Kinesis::Stream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28385,41 +22298,33 @@ "Properties": { "additionalProperties": false, "properties": { - "Content": { + "Name": { "type": "string" }, - "Description": { - "type": "string" + "RetentionPeriodHours": { + "type": "number" }, - "InstanceArn": { - "type": "string" + "ShardCount": { + "type": "number" }, - "Name": { - "type": "string" + "StreamEncryption": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" }, - "State": { - "type": "string" + "StreamModeDetails": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamModeDetails" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Content", - "InstanceArn", - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlow" + "AWS::Kinesis::Stream" ], "type": "string" }, @@ -28433,12 +22338,39 @@ } }, "required": [ - "Type", - "Properties" + "Type" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamEncryption": { + "additionalProperties": false, + "properties": { + "EncryptionType": { + "type": "string" + }, + "KeyId": { + "type": "string" + } + }, + "required": [ + "EncryptionType", + "KeyId" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamModeDetails": { + "additionalProperties": false, + "properties": { + "StreamMode": { + "type": "string" + } + }, + "required": [ + "StreamMode" ], "type": "object" }, - "AWS::Connect::ContactFlowModule": { + "AWS::Kinesis::StreamConsumer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28470,38 +22402,22 @@ "Properties": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "InstanceArn": { + "ConsumerName": { "type": "string" }, - "Name": { + "StreamARN": { "type": "string" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Content", - "InstanceArn", - "Name" + "ConsumerName", + "StreamARN" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlowModule" + "AWS::Kinesis::StreamConsumer" ], "type": "string" }, @@ -28520,7 +22436,7 @@ ], "type": "object" }, - "AWS::Connect::HoursOfOperation": { + "AWS::Lambda::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28552,42 +22468,35 @@ "Properties": { "additionalProperties": false, "properties": { - "Config": { - "items": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationConfig" - }, - "type": "array" - }, "Description": { "type": "string" }, - "InstanceArn": { + "FunctionName": { + "type": "string" + }, + "FunctionVersion": { "type": "string" }, "Name": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" }, - "TimeZone": { - "type": "string" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" } }, "required": [ - "Config", - "InstanceArn", - "Name", - "TimeZone" + "FunctionName", + "FunctionVersion", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::HoursOfOperation" + "AWS::Lambda::Alias" ], "type": "string" }, @@ -28606,43 +22515,47 @@ ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationConfig": { + "AWS::Lambda::Alias.AliasRoutingConfiguration": { "additionalProperties": false, "properties": { - "Day": { - "type": "string" - }, - "EndTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" - }, - "StartTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" + "AdditionalVersionWeights": { + "items": { + "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { + "additionalProperties": false, + "properties": { + "ProvisionedConcurrentExecutions": { + "type": "number" } }, "required": [ - "Day", - "EndTime", - "StartTime" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice": { + "AWS::Lambda::Alias.VersionWeight": { "additionalProperties": false, "properties": { - "Hours": { - "type": "number" + "FunctionVersion": { + "type": "string" }, - "Minutes": { + "FunctionWeight": { "type": "number" } }, "required": [ - "Hours", - "Minutes" + "FunctionVersion", + "FunctionWeight" ], "type": "object" }, - "AWS::Connect::QuickConnect": { + "AWS::Lambda::CodeSigningConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28674,18 +22587,15 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "AllowedPublishers": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" }, - "InstanceArn": { - "type": "string" + "CodeSigningPolicies": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" }, - "Name": { + "Description": { "type": "string" }, - "QuickConnectConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QuickConnectConfig" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -28694,15 +22604,13 @@ } }, "required": [ - "InstanceArn", - "Name", - "QuickConnectConfig" + "AllowedPublishers" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::QuickConnect" + "AWS::Lambda::CodeSigningConfig" ], "type": "string" }, @@ -28721,72 +22629,34 @@ ], "type": "object" }, - "AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "PhoneNumber": { - "type": "string" - } - }, - "required": [ - "PhoneNumber" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QueueQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "ContactFlowArn": { - "type": "string" - }, - "QueueArn": { - "type": "string" - } - }, - "required": [ - "ContactFlowArn", - "QueueArn" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { "additionalProperties": false, "properties": { - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig" - }, - "QueueConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QueueQuickConnectConfig" - }, - "QuickConnectType": { - "type": "string" - }, - "UserConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.UserQuickConnectConfig" + "SigningProfileVersionArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "QuickConnectType" + "SigningProfileVersionArns" ], "type": "object" }, - "AWS::Connect::QuickConnect.UserQuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { "additionalProperties": false, "properties": { - "ContactFlowArn": { - "type": "string" - }, - "UserArn": { + "UntrustedArtifactOnDeployment": { "type": "string" } }, "required": [ - "ContactFlowArn", - "UserArn" + "UntrustedArtifactOnDeployment" ], "type": "object" }, - "AWS::Connect::User": { + "AWS::Lambda::EventInvokeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28818,55 +22688,31 @@ "Properties": { "additionalProperties": false, "properties": { - "DirectoryUserId": { - "type": "string" - }, - "HierarchyGroupArn": { - "type": "string" - }, - "IdentityInfo": { - "$ref": "#/definitions/AWS::Connect::User.UserIdentityInfo" - }, - "InstanceArn": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::User.UserPhoneConfig" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" }, - "RoutingProfileArn": { + "FunctionName": { "type": "string" }, - "SecurityProfileArns": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumEventAgeInSeconds": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "Username": { + "Qualifier": { "type": "string" } }, "required": [ - "InstanceArn", - "PhoneConfig", - "RoutingProfileArn", - "SecurityProfileArns", - "Username" + "FunctionName", + "Qualifier" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::User" + "AWS::Lambda::EventInvokeConfig" ], "type": "string" }, @@ -28885,112 +22731,43 @@ ], "type": "object" }, - "AWS::Connect::User.UserIdentityInfo": { + "AWS::Lambda::EventInvokeConfig.DestinationConfig": { "additionalProperties": false, "properties": { - "Email": { - "type": "string" - }, - "FirstName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" }, - "LastName": { - "type": "string" + "OnSuccess": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" } }, "type": "object" }, - "AWS::Connect::User.UserPhoneConfig": { + "AWS::Lambda::EventInvokeConfig.OnFailure": { "additionalProperties": false, "properties": { - "AfterContactWorkTimeLimit": { - "type": "number" - }, - "AutoAccept": { - "type": "boolean" - }, - "DeskPhoneNumber": { - "type": "string" - }, - "PhoneType": { + "Destination": { "type": "string" } }, "required": [ - "PhoneType" + "Destination" ], "type": "object" }, - "AWS::Connect::UserHierarchyGroup": { + "AWS::Lambda::EventInvokeConfig.OnSuccess": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentGroupArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Connect::UserHierarchyGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Destination": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination" ], "type": "object" }, - "AWS::CustomerProfiles::Domain": { + "AWS::Lambda::EventSourceMapping": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29022,111 +22799,111 @@ "Properties": { "additionalProperties": false, "properties": { - "DeadLetterQueueUrl": { - "type": "string" + "AmazonManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig" + }, + "BatchSize": { + "type": "number" + }, + "BisectBatchOnFunctionError": { + "type": "boolean" + }, + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" + }, + "DocumentDBEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig" + }, + "Enabled": { + "type": "boolean" }, - "DefaultEncryptionKey": { + "EventSourceArn": { "type": "string" }, - "DefaultExpirationDays": { - "type": "number" + "FilterCriteria": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.FilterCriteria" }, - "DomainName": { + "FunctionName": { "type": "string" }, - "Tags": { + "FunctionResponseTypes": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CustomerProfiles::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "KmsKeyArn": { "type": "string" }, - { + "MaximumBatchingWindowInSeconds": { + "type": "number" + }, + "MaximumRecordAgeInSeconds": { + "type": "number" + }, + "MaximumRetryAttempts": { + "type": "number" + }, + "MetricsConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.MetricsConfig" + }, + "ParallelizationFactor": { + "type": "number" + }, + "ProvisionedPollerConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig" + }, + "Queues": { "items": { - "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" }, - "FlowDefinition": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.FlowDefinition" + "ScalingConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ScalingConfig" + }, + "SelfManagedEventSource": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" + }, + "SelfManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig" + }, + "SourceAccessConfigurations": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" + }, + "type": "array" }, - "ObjectTypeName": { + "StartingPosition": { "type": "string" }, + "StartingPositionTimestamp": { + "type": "number" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "Uri": { - "type": "string" + "Topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TumblingWindowInSeconds": { + "type": "number" } }, "required": [ - "DomainName", - "ObjectTypeName" + "FunctionName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::Integration" + "AWS::Lambda::EventSourceMapping" ], "type": "string" }, @@ -29145,284 +22922,145 @@ ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ConnectorOperator": { - "additionalProperties": false, - "properties": { - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Zendesk": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CustomerProfiles::Integration.FlowDefinition": { + "AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FlowName": { - "type": "string" - }, - "KmsArn": { + "ConsumerGroupId": { "type": "string" - }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceFlowConfig" - }, - "Tasks": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.Task" - }, - "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerConfig" } }, - "required": [ - "FlowName", - "KmsArn", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.IncrementalPullConfig": { + "AWS::Lambda::EventSourceMapping.DestinationConfig": { "additionalProperties": false, "properties": { - "DatetimeTypeFieldName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.MarketoSourceProperties": { + "AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig": { "additionalProperties": false, "properties": { - "Object": { + "CollectionName": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { + }, + "DatabaseName": { "type": "string" }, - "BucketPrefix": { + "FullDocument": { "type": "string" } }, - "required": [ - "BucketName" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SalesforceSourceProperties": { + "AWS::Lambda::EventSourceMapping.Endpoints": { "additionalProperties": false, "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" - }, - "IncludeDeletedRecords": { - "type": "boolean" - }, - "Object": { - "type": "string" + "KafkaBootstrapServers": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ScheduledTriggerProperties": { + "AWS::Lambda::EventSourceMapping.Filter": { "additionalProperties": false, "properties": { - "DataPullMode": { - "type": "string" - }, - "FirstExecutionFrom": { - "type": "number" - }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleStartTime": { - "type": "number" - }, - "Timezone": { + "Pattern": { "type": "string" } }, - "required": [ - "ScheduleExpression" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ServiceNowSourceProperties": { + "AWS::Lambda::EventSourceMapping.FilterCriteria": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Filters": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Filter" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceConnectorProperties": { + "AWS::Lambda::EventSourceMapping.MetricsConfig": { "additionalProperties": false, "properties": { - "Marketo": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.S3SourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ServiceNowSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ZendeskSourceProperties" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceFlowConfig": { + "AWS::Lambda::EventSourceMapping.OnFailure": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Destination": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceConnectorProperties" } }, - "required": [ - "ConnectorType", - "SourceConnectorProperties" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.Task": { + "AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TaskPropertiesMap" - }, - "type": "array" + "MaximumPollers": { + "type": "number" }, - "TaskType": { - "type": "string" + "MinimumPollers": { + "type": "number" } }, - "required": [ - "SourceFields", - "TaskType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TaskPropertiesMap": { + "AWS::Lambda::EventSourceMapping.ScalingConfig": { "additionalProperties": false, "properties": { - "OperatorPropertyKey": { - "type": "string" - }, - "Property": { - "type": "string" + "MaximumConcurrency": { + "type": "number" } }, - "required": [ - "OperatorPropertyKey", - "Property" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerConfig": { + "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { "additionalProperties": false, "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerProperties" - }, - "TriggerType": { - "type": "string" + "Endpoints": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" } }, - "required": [ - "TriggerType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerProperties": { + "AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Scheduled": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ScheduledTriggerProperties" + "ConsumerGroupId": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.ZendeskSourceProperties": { + "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { "additionalProperties": false, "properties": { - "Object": { + "Type": { + "type": "string" + }, + "URI": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType": { + "AWS::Lambda::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29454,54 +23092,106 @@ "Properties": { "additionalProperties": false, "properties": { - "AllowProfileCreation": { - "type": "boolean" + "Architectures": { + "items": { + "type": "string" + }, + "type": "array" }, - "Description": { - "type": "string" + "Code": { + "$ref": "#/definitions/AWS::Lambda::Function.Code" }, - "DomainName": { + "CodeSigningConfigArn": { "type": "string" }, - "EncryptionKey": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "ExpirationDays": { - "type": "number" + "Environment": { + "$ref": "#/definitions/AWS::Lambda::Function.Environment" }, - "Fields": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.FieldMap" - }, - "type": "array" + "EphemeralStorage": { + "$ref": "#/definitions/AWS::Lambda::Function.EphemeralStorage" }, - "Keys": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.KeyMap" + "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" }, "type": "array" }, - "ObjectTypeName": { + "FunctionName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "Handler": { + "type": "string" + }, + "ImageConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" + }, + "KmsKeyArn": { + "type": "string" + }, + "Layers": { + "items": { + "type": "string" }, "type": "array" }, - "TemplateId": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.LoggingConfig" + }, + "MemorySize": { + "type": "number" + }, + "PackageType": { + "type": "string" + }, + "RecursiveLoop": { + "type": "string" + }, + "ReservedConcurrentExecutions": { + "type": "number" + }, + "Role": { + "type": "string" + }, + "Runtime": { "type": "string" + }, + "RuntimeManagementConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.RuntimeManagementConfig" + }, + "SnapStart": { + "$ref": "#/definitions/AWS::Lambda::Function.SnapStart" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timeout": { + "type": "number" + }, + "TracingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" + }, + "VpcConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" } }, "required": [ - "DomainName" + "Code", + "Role" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::ObjectType" + "AWS::Lambda::Function" ], "type": "string" }, @@ -29520,58 +23210,182 @@ ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType.FieldMap": { + "AWS::Lambda::Function.Code": { "additionalProperties": false, "properties": { - "Name": { + "ImageUri": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "SourceKMSKeyArn": { "type": "string" }, - "ObjectTypeField": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeField" + "ZipFile": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.KeyMap": { + "AWS::Lambda::Function.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Name": { + "TargetArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.Environment": { + "additionalProperties": false, + "properties": { + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.EphemeralStorage": { + "additionalProperties": false, + "properties": { + "Size": { + "type": "number" + } + }, + "required": [ + "Size" + ], + "type": "object" + }, + "AWS::Lambda::Function.FileSystemConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "LocalMountPath": { "type": "string" + } + }, + "required": [ + "Arn", + "LocalMountPath" + ], + "type": "object" + }, + "AWS::Lambda::Function.ImageConfig": { + "additionalProperties": false, + "properties": { + "Command": { + "items": { + "type": "string" + }, + "type": "array" }, - "ObjectTypeKeyList": { + "EntryPoint": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeKey" + "type": "string" }, "type": "array" + }, + "WorkingDirectory": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeField": { + "AWS::Lambda::Function.LoggingConfig": { "additionalProperties": false, "properties": { - "ContentType": { + "ApplicationLogLevel": { "type": "string" }, - "Source": { + "LogFormat": { "type": "string" }, - "Target": { + "LogGroup": { + "type": "string" + }, + "SystemLogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.RuntimeManagementConfig": { + "additionalProperties": false, + "properties": { + "RuntimeVersionArn": { + "type": "string" + }, + "UpdateRuntimeOn": { + "type": "string" + } + }, + "required": [ + "UpdateRuntimeOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStart": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + } + }, + "required": [ + "ApplyOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStartResponse": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + }, + "OptimizationStatus": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.TracingConfig": { + "additionalProperties": false, + "properties": { + "Mode": { "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeKey": { + "AWS::Lambda::Function.VpcConfig": { "additionalProperties": false, "properties": { - "FieldNames": { + "Ipv6AllowedForDualStack": { + "type": "boolean" + }, + "SecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "StandardIdentifiers": { + "SubnetIds": { "items": { "type": "string" }, @@ -29580,7 +23394,7 @@ }, "type": "object" }, - "AWS::DAX::Cluster": { + "AWS::Lambda::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29612,65 +23426,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { + "CompatibleArchitectures": { "items": { "type": "string" }, "type": "array" }, - "ClusterEndpointEncryptionType": { - "type": "string" + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClusterName": { - "type": "string" + "Content": { + "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" }, "Description": { "type": "string" }, - "IAMRoleARN": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NotificationTopicARN": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "LayerName": { "type": "string" }, - "ReplicationFactor": { - "type": "number" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DAX::Cluster.SSESpecification" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetGroupName": { + "LicenseInfo": { "type": "string" - }, - "Tags": { - "type": "object" } }, "required": [ - "IAMRoleARN", - "NodeType", - "ReplicationFactor" + "Content" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::Cluster" + "AWS::Lambda::LayerVersion" ], "type": "string" }, @@ -29689,16 +23477,26 @@ ], "type": "object" }, - "AWS::DAX::Cluster.SSESpecification": { + "AWS::Lambda::LayerVersion.Content": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" } }, + "required": [ + "S3Bucket", + "S3Key" + ], "type": "object" }, - "AWS::DAX::ParameterGroup": { + "AWS::Lambda::LayerVersionPermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29730,21 +23528,29 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "ParameterGroupName": { + "LayerVersionArn": { "type": "string" }, - "ParameterNameValues": { - "type": "object" + "OrganizationId": { + "type": "string" + }, + "Principal": { + "type": "string" } }, + "required": [ + "Action", + "LayerVersionArn", + "Principal" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::ParameterGroup" + "AWS::Lambda::LayerVersionPermission" ], "type": "string" }, @@ -29758,11 +23564,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DAX::SubnetGroup": { + "AWS::Lambda::Permission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29794,27 +23601,41 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "SubnetGroupName": { + "EventSourceToken": { "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "FunctionName": { + "type": "string" + }, + "FunctionUrlAuthType": { + "type": "string" + }, + "Principal": { + "type": "string" + }, + "PrincipalOrgID": { + "type": "string" + }, + "SourceAccount": { + "type": "string" + }, + "SourceArn": { + "type": "string" } }, "required": [ - "SubnetIds" + "Action", + "FunctionName", + "Principal" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::SubnetGroup" + "AWS::Lambda::Permission" ], "type": "string" }, @@ -29833,7 +23654,7 @@ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy": { + "AWS::Lambda::Url": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29865,30 +23686,31 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AuthType": { "type": "string" }, - "ExecutionRoleArn": { - "type": "string" + "Cors": { + "$ref": "#/definitions/AWS::Lambda::Url.Cors" }, - "PolicyDetails": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.PolicyDetails" + "InvokeMode": { + "type": "string" }, - "State": { + "Qualifier": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "TargetFunctionArn": { + "type": "string" } }, + "required": [ + "AuthType", + "TargetFunctionArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DLM::LifecyclePolicy" + "AWS::Lambda::Url" ], "type": "string" }, @@ -29902,193 +23724,483 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Action": { + "AWS::Lambda::Url.Cors": { "additionalProperties": false, "properties": { - "CrossRegionCopy": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyAction" + "type": "string" }, "type": "array" }, - "Name": { - "type": "string" - } - }, - "required": [ - "CrossRegionCopy", - "Name" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.CreateRule": { - "additionalProperties": false, - "properties": { - "CronExpression": { - "type": "string" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" + "AllowMethods": { + "items": { + "type": "string" + }, + "type": "array" }, - "Location": { - "type": "string" + "AllowOrigins": { + "items": { + "type": "string" + }, + "type": "array" }, - "Times": { + "ExposeHeaders": { "items": { "type": "string" }, "type": "array" + }, + "MaxAge": { + "type": "number" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyAction": { + "AWS::Lambda::Version": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EncryptionConfiguration" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Metadata": { + "type": "object" }, - "Target": { + "Properties": { + "additionalProperties": false, + "properties": { + "CodeSha256": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FunctionName": { + "type": "string" + }, + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" + }, + "RuntimePolicy": { + "$ref": "#/definitions/AWS::Lambda::Version.RuntimePolicy" + } + }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Lambda::Version" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EncryptionConfiguration", - "Target" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule": { + "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { "additionalProperties": false, "properties": { - "Interval": { + "ProvisionedConcurrentExecutions": { "type": "number" - }, - "IntervalUnit": { - "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule": { + "AWS::Lambda::Version.RuntimePolicy": { "additionalProperties": false, "properties": { - "Interval": { - "type": "number" + "RuntimeVersionArn": { + "type": "string" }, - "IntervalUnit": { + "UpdateRuntimeOn": { "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "UpdateRuntimeOn" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRule": { + "AWS::RDS::CustomDBEngineVersion": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "CopyTags": { - "type": "boolean" - }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Encrypted": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Properties": { + "additionalProperties": false, + "properties": { + "DatabaseInstallationFilesS3BucketName": { + "type": "string" + }, + "DatabaseInstallationFilesS3Prefix": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "Engine": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "Manifest": { + "type": "string" + }, + "SourceCustomDbEngineVersionIdentifier": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseAwsProvidedLatestImage": { + "type": "boolean" + } + }, + "required": [ + "Engine", + "EngineVersion" + ], + "type": "object" }, - "Target": { + "Type": { + "enum": [ + "AWS::RDS::CustomDBEngineVersion" + ], "type": "string" }, - "TargetRegion": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Encrypted" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.DeprecateRule": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EncryptionConfiguration": { + "AWS::RDS::DBCluster": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Encrypted": { - "type": "boolean" - } - }, - "required": [ - "Encrypted" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventParameters": { - "additionalProperties": false, - "properties": { - "DescriptionRegex": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "EventType": { - "type": "string" + "Metadata": { + "type": "object" }, - "SnapshotOwner": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "AllocatedStorage": { + "type": "number" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BacktrackWindow": { + "type": "number" + }, + "BackupRetentionPeriod": { + "type": "number" + }, + "ClusterScalabilityType": { + "type": "string" + }, + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "DBClusterIdentifier": { + "type": "string" + }, + "DBClusterInstanceClass": { + "type": "string" + }, + "DBClusterParameterGroupName": { + "type": "string" + }, + "DBInstanceParameterGroupName": { + "type": "string" + }, + "DBSubnetGroupName": { + "type": "string" + }, + "DBSystemId": { + "type": "string" + }, + "DatabaseInsightsMode": { + "type": "string" + }, + "DatabaseName": { + "type": "string" + }, + "DeletionProtection": { + "type": "boolean" + }, + "Domain": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableGlobalWriteForwarding": { + "type": "boolean" + }, + "EnableHttpEndpoint": { + "type": "boolean" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnableLocalWriteForwarding": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineMode": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBCluster.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MonitoringInterval": { + "type": "number" + }, + "MonitoringRoleArn": { + "type": "string" + }, + "NetworkType": { + "type": "string" + }, + "PerformanceInsightsEnabled": { + "type": "boolean" + }, + "PerformanceInsightsKmsKeyId": { + "type": "string" + }, + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { + "type": "number" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicationSourceIdentifier": { + "type": "string" + }, + "RestoreToTime": { + "type": "string" + }, + "RestoreType": { + "type": "string" + }, + "ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" + }, + "ServerlessV2ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration" + }, + "SnapshotIdentifier": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VpcSecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - } - }, - "required": [ - "EventType", - "SnapshotOwner" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventSource": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventParameters" + "type": "object" }, "Type": { + "enum": [ + "AWS::RDS::DBCluster" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, @@ -30097,166 +24209,94 @@ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.FastRestoreRule": { + "AWS::RDS::DBCluster.DBClusterRole": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" + "FeatureName": { + "type": "string" }, - "IntervalUnit": { + "RoleArn": { "type": "string" } }, + "required": [ + "RoleArn" + ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Parameters": { + "AWS::RDS::DBCluster.Endpoint": { "additionalProperties": false, "properties": { - "ExcludeBootVolume": { - "type": "boolean" + "Address": { + "type": "string" }, - "NoReboot": { - "type": "boolean" + "Port": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.PolicyDetails": { + "AWS::RDS::DBCluster.MasterUserSecret": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Action" - }, - "type": "array" - }, - "EventSource": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventSource" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Parameters" - }, - "PolicyType": { + "KmsKeyId": { "type": "string" }, - "ResourceLocations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Schedules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Schedule" - }, - "type": "array" - }, - "TargetTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SecretArn": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.RetainRule": { + "AWS::RDS::DBCluster.ReadEndpoint": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { + "Address": { "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.Schedule": { + "AWS::RDS::DBCluster.ScalingConfiguration": { "additionalProperties": false, "properties": { - "CopyTags": { + "AutoPause": { "type": "boolean" }, - "CreateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CreateRule" + "MaxCapacity": { + "type": "number" }, - "CrossRegionCopyRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRule" - }, - "type": "array" + "MinCapacity": { + "type": "number" }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.DeprecateRule" + "SecondsBeforeTimeout": { + "type": "number" }, - "FastRestoreRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.FastRestoreRule" + "SecondsUntilAutoPause": { + "type": "number" }, - "Name": { + "TimeoutAction": { "type": "string" - }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.RetainRule" - }, - "ShareRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.ShareRule" - }, - "type": "array" - }, - "TagsToAdd": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.ShareRule": { + "AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration": { "additionalProperties": false, "properties": { - "TargetAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "MaxCapacity": { + "type": "number" }, - "UnshareInterval": { + "MinCapacity": { "type": "number" }, - "UnshareIntervalUnit": { - "type": "string" + "SecondsUntilAutoPause": { + "type": "number" } }, "type": "object" }, - "AWS::DMS::Certificate": { + "AWS::RDS::DBClusterParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30288,21 +24328,35 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateIdentifier": { + "DBClusterParameterGroupName": { "type": "string" }, - "CertificatePem": { + "Description": { "type": "string" }, - "CertificateWallet": { + "Family": { "type": "string" + }, + "Parameters": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "Description", + "Family", + "Parameters" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::Certificate" + "AWS::RDS::DBClusterParameterGroup" ], "type": "string" }, @@ -30316,11 +24370,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DMS::Endpoint": { + "AWS::RDS::DBInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30352,467 +24407,352 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { + "AllocatedStorage": { "type": "string" }, - "DatabaseName": { + "AllowMajorVersionUpgrade": { + "type": "boolean" + }, + "ApplyImmediately": { + "type": "boolean" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AutomaticBackupReplicationKmsKeyId": { "type": "string" }, - "DocDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DocDbSettings" + "AutomaticBackupReplicationRegion": { + "type": "string" }, - "DynamoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DynamoDbSettings" + "AvailabilityZone": { + "type": "string" }, - "ElasticsearchSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.ElasticsearchSettings" + "BackupRetentionPeriod": { + "type": "number" }, - "EndpointIdentifier": { + "CACertificateIdentifier": { "type": "string" }, - "EndpointType": { + "CertificateDetails": { + "$ref": "#/definitions/AWS::RDS::DBInstance.CertificateDetails" + }, + "CertificateRotationRestart": { + "type": "boolean" + }, + "CharacterSetName": { "type": "string" }, - "EngineName": { + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "CustomIAMInstanceProfile": { "type": "string" }, - "ExtraConnectionAttributes": { + "DBClusterIdentifier": { "type": "string" }, - "IbmDb2Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.IbmDb2Settings" + "DBClusterSnapshotIdentifier": { + "type": "string" }, - "KafkaSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KafkaSettings" + "DBInstanceClass": { + "type": "string" }, - "KinesisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KinesisSettings" + "DBInstanceIdentifier": { + "type": "string" }, - "KmsKeyId": { + "DBName": { + "type": "string" + }, + "DBParameterGroupName": { + "type": "string" + }, + "DBSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DBSnapshotIdentifier": { + "type": "string" + }, + "DBSubnetGroupName": { "type": "string" }, - "MicrosoftSqlServerSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MicrosoftSqlServerSettings" + "DBSystemId": { + "type": "string" + }, + "DedicatedLogVolume": { + "type": "boolean" + }, + "DeleteAutomatedBackups": { + "type": "boolean" }, - "MongoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MongoDbSettings" + "DeletionProtection": { + "type": "boolean" }, - "MySqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MySqlSettings" + "Domain": { + "type": "string" }, - "NeptuneSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.NeptuneSettings" + "DomainAuthSecretArn": { + "type": "string" }, - "OracleSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.OracleSettings" + "DomainDnsIps": { + "items": { + "type": "string" + }, + "type": "array" }, - "Password": { + "DomainFqdn": { "type": "string" }, - "Port": { + "DomainIAMRoleName": { + "type": "string" + }, + "DomainOu": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnablePerformanceInsights": { + "type": "boolean" + }, + "Endpoint": { + "$ref": "#/definitions/AWS::RDS::DBInstance.Endpoint" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "LicenseModel": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBInstance.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MaxAllocatedStorage": { + "type": "number" + }, + "MonitoringInterval": { "type": "number" }, - "PostgreSqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.PostgreSqlSettings" + "MonitoringRoleArn": { + "type": "string" }, - "RedisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedisSettings" + "MultiAZ": { + "type": "boolean" }, - "RedshiftSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedshiftSettings" + "NcharCharacterSetName": { + "type": "string" }, - "ResourceIdentifier": { + "NetworkType": { "type": "string" }, - "S3Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.S3Settings" + "OptionGroupName": { + "type": "string" }, - "ServerName": { + "PerformanceInsightsKMSKeyId": { "type": "string" }, - "SslMode": { + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { "type": "string" }, - "SybaseSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.SybaseSettings" + "PreferredBackupWindow": { + "type": "string" }, - "Tags": { + "PreferredMaintenanceWindow": { + "type": "string" + }, + "ProcessorFeatures": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" }, "type": "array" }, - "Username": { + "PromotionTier": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicaMode": { "type": "string" - } - }, - "required": [ - "EndpointType", - "EngineName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DMS::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DMS::Endpoint.DocDbSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.DynamoDbSettings": { - "additionalProperties": false, - "properties": { - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.ElasticsearchSettings": { - "additionalProperties": false, - "properties": { - "EndpointUri": { - "type": "string" - }, - "ErrorRetryDuration": { - "type": "number" - }, - "FullLoadErrorPercentage": { - "type": "number" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.IbmDb2Settings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KafkaSettings": { - "additionalProperties": false, - "properties": { - "Broker": { - "type": "string" - }, - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "SaslPassword": { - "type": "string" - }, - "SaslUserName": { - "type": "string" - }, - "SecurityProtocol": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslClientCertificateArn": { - "type": "string" - }, - "SslClientKeyArn": { - "type": "string" - }, - "SslClientKeyPassword": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KinesisSettings": { - "additionalProperties": false, - "properties": { - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "MessageFormat": { - "type": "string" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "ServiceAccessRoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MongoDbSettings": { - "additionalProperties": false, - "properties": { - "AuthMechanism": { - "type": "string" - }, - "AuthSource": { - "type": "string" - }, - "AuthType": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DocsToInvestigate": { - "type": "string" - }, - "ExtractDocId": { - "type": "string" - }, - "NestingLevel": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MySqlSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.NeptuneSettings": { - "additionalProperties": false, - "properties": { - "ErrorRetryDuration": { - "type": "number" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "MaxFileSize": { - "type": "number" - }, - "MaxRetryCount": { - "type": "number" - }, - "S3BucketFolder": { - "type": "string" + }, + "RestoreTime": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceDBInstanceAutomatedBackupsArn": { + "type": "string" + }, + "SourceDBInstanceIdentifier": { + "type": "string" + }, + "SourceDbiResourceId": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageThroughput": { + "type": "number" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timezone": { + "type": "string" + }, + "UseDefaultProcessorFeatures": { + "type": "boolean" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VPCSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" }, - "S3BucketName": { + "Type": { + "enum": [ + "AWS::RDS::DBInstance" + ], "type": "string" }, - "ServiceAccessRoleArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::DMS::Endpoint.OracleSettings": { + "AWS::RDS::DBInstance.CertificateDetails": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmAccessRoleArn": { + "CAIdentifier": { "type": "string" }, - "SecretsManagerOracleAsmSecretId": { - "type": "string" - }, - "SecretsManagerSecretId": { + "ValidTill": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.PostgreSqlSettings": { + "AWS::RDS::DBInstance.DBInstanceRole": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "FeatureName": { "type": "string" }, - "SecretsManagerSecretId": { + "RoleArn": { "type": "string" } }, + "required": [ + "FeatureName", + "RoleArn" + ], "type": "object" }, - "AWS::DMS::Endpoint.RedisSettings": { + "AWS::RDS::DBInstance.Endpoint": { "additionalProperties": false, "properties": { - "AuthPassword": { - "type": "string" - }, - "AuthType": { + "Address": { "type": "string" }, - "AuthUserName": { + "HostedZoneId": { "type": "string" }, "Port": { - "type": "number" - }, - "ServerName": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslSecurityProtocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.RedshiftSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.S3Settings": { + "AWS::RDS::DBInstance.MasterUserSecret": { "additionalProperties": false, "properties": { - "BucketFolder": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "CompressionType": { - "type": "string" - }, - "CsvDelimiter": { - "type": "string" - }, - "CsvRowDelimiter": { - "type": "string" - }, - "ExternalTableDefinition": { + "KmsKeyId": { "type": "string" }, - "ServiceAccessRoleArn": { + "SecretArn": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.SybaseSettings": { + "AWS::RDS::DBInstance.ProcessorFeature": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "Name": { "type": "string" }, - "SecretsManagerSecretId": { + "Value": { "type": "string" } }, "type": "object" }, - "AWS::DMS::EventSubscription": { + "AWS::RDS::DBParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30844,30 +24784,18 @@ "Properties": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { + "DBParameterGroupName": { "type": "string" }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { + "Description": { "type": "string" }, - "SubscriptionName": { + "Family": { "type": "string" }, + "Parameters": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -30876,13 +24804,14 @@ } }, "required": [ - "SnsTopicArn" + "Description", + "Family" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::EventSubscription" + "AWS::RDS::DBParameterGroup" ], "type": "string" }, @@ -30901,7 +24830,7 @@ ], "type": "object" }, - "AWS::DMS::ReplicationInstance": { + "AWS::RDS::DBProxy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30933,48 +24862,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AllocatedStorage": { - "type": "number" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" + "Auth": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" + }, + "type": "array" }, - "PreferredMaintenanceWindow": { + "DBProxyName": { "type": "string" }, - "PubliclyAccessible": { + "DebugLogging": { "type": "boolean" }, - "ReplicationInstanceClass": { + "EngineFamily": { "type": "string" }, - "ReplicationInstanceIdentifier": { - "type": "string" + "IdleClientTimeout": { + "type": "number" }, - "ReplicationSubnetGroupIdentifier": { - "type": "string" + "RequireTLS": { + "type": "boolean" }, - "ResourceIdentifier": { + "RoleArn": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" }, "type": "array" }, @@ -30983,16 +24897,26 @@ "type": "string" }, "type": "array" + }, + "VpcSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ReplicationInstanceClass" + "Auth", + "DBProxyName", + "EngineFamily", + "RoleArn", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationInstance" + "AWS::RDS::DBProxy" ], "type": "string" }, @@ -31011,7 +24935,40 @@ ], "type": "object" }, - "AWS::DMS::ReplicationSubnetGroup": { + "AWS::RDS::DBProxy.AuthFormat": { + "additionalProperties": false, + "properties": { + "AuthScheme": { + "type": "string" + }, + "ClientPasswordAuthType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IAMAuth": { + "type": "string" + }, + "SecretArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxy.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31043,34 +25000,44 @@ "Properties": { "additionalProperties": false, "properties": { - "ReplicationSubnetGroupDescription": { + "DBProxyEndpointName": { "type": "string" }, - "ReplicationSubnetGroupIdentifier": { + "DBProxyName": { "type": "string" }, - "SubnetIds": { + "Tags": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" + }, + "type": "array" + }, + "TargetRole": { + "type": "string" + }, + "VpcSecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "Tags": { + "VpcSubnetIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "ReplicationSubnetGroupDescription", - "SubnetIds" + "DBProxyEndpointName", + "DBProxyName", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationSubnetGroup" + "AWS::RDS::DBProxyEndpoint" ], "type": "string" }, @@ -31089,7 +25056,19 @@ ], "type": "object" }, - "AWS::DMS::ReplicationTask": { + "AWS::RDS::DBProxyEndpoint.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyTargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31121,61 +25100,37 @@ "Properties": { "additionalProperties": false, "properties": { - "CdcStartPosition": { - "type": "string" - }, - "CdcStartTime": { - "type": "number" - }, - "CdcStopPosition": { - "type": "string" - }, - "MigrationType": { - "type": "string" - }, - "ReplicationInstanceArn": { - "type": "string" - }, - "ReplicationTaskIdentifier": { - "type": "string" - }, - "ReplicationTaskSettings": { - "type": "string" - }, - "ResourceIdentifier": { - "type": "string" - }, - "SourceEndpointArn": { - "type": "string" + "ConnectionPoolConfigurationInfo": { + "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" }, - "TableMappings": { - "type": "string" + "DBClusterIdentifiers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Tags": { + "DBInstanceIdentifiers": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "TargetEndpointArn": { + "DBProxyName": { "type": "string" }, - "TaskData": { + "TargetGroupName": { "type": "string" } }, "required": [ - "MigrationType", - "ReplicationInstanceArn", - "SourceEndpointArn", - "TableMappings", - "TargetEndpointArn" + "DBProxyName", + "TargetGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationTask" + "AWS::RDS::DBProxyTargetGroup" ], "type": "string" }, @@ -31194,7 +25149,31 @@ ], "type": "object" }, - "AWS::DataBrew::Dataset": { + "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { + "additionalProperties": false, + "properties": { + "ConnectionBorrowTimeout": { + "type": "number" + }, + "InitQuery": { + "type": "string" + }, + "MaxConnectionsPercent": { + "type": "number" + }, + "MaxIdleConnectionsPercent": { + "type": "number" + }, + "SessionPinningFilters": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::RDS::DBSecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31226,20 +25205,17 @@ "Properties": { "additionalProperties": false, "properties": { - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FormatOptions" - }, - "Input": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Input" + "DBSecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" + }, + "type": "array" }, - "Name": { + "EC2VpcId": { "type": "string" }, - "PathOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathOptions" + "GroupDescription": { + "type": "string" }, "Tags": { "items": { @@ -31249,14 +25225,14 @@ } }, "required": [ - "Input", - "Name" + "DBSecurityGroupIngress", + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Dataset" + "AWS::RDS::DBSecurityGroup" ], "type": "string" }, @@ -31275,275 +25251,25 @@ ], "type": "object" }, - "AWS::DataBrew::Dataset.CsvOptions": { + "AWS::RDS::DBSecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "Delimiter": { + "CIDRIP": { "type": "string" }, - "HeaderRow": { - "type": "boolean" + "EC2SecurityGroupId": { + "type": "string" + }, + "EC2SecurityGroupName": { + "type": "string" + }, + "EC2SecurityGroupOwnerId": { + "type": "string" } }, "type": "object" }, - "AWS::DataBrew::Dataset.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.DatabaseInputDefinition": { - "additionalProperties": false, - "properties": { - "DatabaseTableName": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "required": [ - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatasetParameter": { - "additionalProperties": false, - "properties": { - "CreateColumn": { - "type": "boolean" - }, - "DatetimeOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatetimeOptions" - }, - "Filter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatetimeOptions": { - "additionalProperties": false, - "properties": { - "Format": { - "type": "string" - }, - "LocaleCode": { - "type": "string" - }, - "TimezoneOffset": { - "type": "string" - } - }, - "required": [ - "Format" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.ExcelOptions": { - "additionalProperties": false, - "properties": { - "HeaderRow": { - "type": "boolean" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.FilesLimit": { - "additionalProperties": false, - "properties": { - "MaxFiles": { - "type": "number" - }, - "Order": { - "type": "string" - }, - "OrderedBy": { - "type": "string" - } - }, - "required": [ - "MaxFiles" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterExpression": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "ValuesMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterValue" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ValuesMap" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "ValueReference": { - "type": "string" - } - }, - "required": [ - "Value", - "ValueReference" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.CsvOptions" - }, - "Excel": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.ExcelOptions" - }, - "Json": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.JsonOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Input": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DataCatalogInputDefinition" - }, - "DatabaseInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatabaseInputDefinition" - }, - "Metadata": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Metadata" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.JsonOptions": { - "additionalProperties": false, - "properties": { - "MultiLine": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Metadata": { - "additionalProperties": false, - "properties": { - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathOptions": { - "additionalProperties": false, - "properties": { - "FilesLimit": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilesLimit" - }, - "LastModifiedDateCondition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathParameter": { - "additionalProperties": false, - "properties": { - "DatasetParameter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatasetParameter" - }, - "PathParameterName": { - "type": "string" - } - }, - "required": [ - "DatasetParameter", - "PathParameterName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job": { + "AWS::RDS::DBSecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31575,92 +25301,30 @@ "Properties": { "additionalProperties": false, "properties": { - "DataCatalogOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DataCatalogOutput" - }, - "type": "array" - }, - "DatabaseOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseOutput" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "EncryptionKeyArn": { - "type": "string" - }, - "EncryptionMode": { - "type": "string" - }, - "JobSample": { - "$ref": "#/definitions/AWS::DataBrew::Job.JobSample" - }, - "LogSubscription": { + "CIDRIP": { "type": "string" }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { + "DBSecurityGroupName": { "type": "string" }, - "OutputLocation": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputLocation" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.Output" - }, - "type": "array" - }, - "ProfileConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.ProfileConfiguration" - }, - "ProjectName": { + "EC2SecurityGroupId": { "type": "string" }, - "Recipe": { - "$ref": "#/definitions/AWS::DataBrew::Job.Recipe" - }, - "RoleArn": { + "EC2SecurityGroupName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "Type": { + "EC2SecurityGroupOwnerId": { "type": "string" - }, - "ValidationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ValidationConfiguration" - }, - "type": "array" } }, "required": [ - "Name", - "RoleArn", - "Type" + "DBSecurityGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Job" + "AWS::RDS::DBSecurityGroupIngress" ], "type": "string" }, @@ -31679,327 +25343,7 @@ ], "type": "object" }, - "AWS::DataBrew::Job.AllowedStatistics": { - "additionalProperties": false, - "properties": { - "Statistics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ColumnStatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - }, - "Statistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.CsvOutputOptions": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.DataCatalogOutput": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "Overwrite": { - "type": "boolean" - }, - "S3Options": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3TableOutputOptions" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseOutput": { - "additionalProperties": false, - "properties": { - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "DatabaseOutputMode": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - } - }, - "required": [ - "DatabaseOptions", - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseTableOutputOptions": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.EntityDetectorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedStatistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.AllowedStatistics" - }, - "EntityTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes" - ], - "type": "object" - }, - "AWS::DataBrew::Job.JobSample": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Output": { - "additionalProperties": false, - "properties": { - "CompressionFormat": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputFormatOptions" - }, - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - }, - "Overwrite": { - "type": "boolean" - }, - "PartitionColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.OutputFormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Job.CsvOutputOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.OutputLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Job.ProfileConfiguration": { - "additionalProperties": false, - "properties": { - "ColumnStatisticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnStatisticsConfiguration" - }, - "type": "array" - }, - "DatasetStatisticsConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - }, - "EntityDetectorConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.EntityDetectorConfiguration" - }, - "ProfileColumns": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Recipe": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3TableOutputOptions": { - "additionalProperties": false, - "properties": { - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticOverride": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Job.ParameterMap" - }, - "Statistic": { - "type": "string" - } - }, - "required": [ - "Parameters", - "Statistic" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "IncludedStatistics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticOverride" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ValidationConfiguration": { - "additionalProperties": false, - "properties": { - "RulesetArn": { - "type": "string" - }, - "ValidationMode": { - "type": "string" - } - }, - "required": [ - "RulesetArn" - ], - "type": "object" - }, - "AWS::DataBrew::Project": { + "AWS::RDS::DBShardGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32031,20 +25375,23 @@ "Properties": { "additionalProperties": false, "properties": { - "DatasetName": { - "type": "string" + "ComputeRedundancy": { + "type": "number" }, - "Name": { + "DBClusterIdentifier": { "type": "string" }, - "RecipeName": { + "DBShardGroupIdentifier": { "type": "string" }, - "RoleArn": { - "type": "string" + "MaxACU": { + "type": "number" + }, + "MinACU": { + "type": "number" }, - "Sample": { - "$ref": "#/definitions/AWS::DataBrew::Project.Sample" + "PubliclyAccessible": { + "type": "boolean" }, "Tags": { "items": { @@ -32054,16 +25401,14 @@ } }, "required": [ - "DatasetName", - "Name", - "RecipeName", - "RoleArn" + "DBClusterIdentifier", + "MaxACU" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Project" + "AWS::RDS::DBShardGroup" ], "type": "string" }, @@ -32082,22 +25427,7 @@ ], "type": "object" }, - "AWS::DataBrew::Project.Sample": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe": { + "AWS::RDS::DBSubnetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32129,15 +25459,15 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "DBSubnetGroupDescription": { "type": "string" }, - "Name": { + "DBSubnetGroupName": { "type": "string" }, - "Steps": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.RecipeStep" + "type": "string" }, "type": "array" }, @@ -32149,14 +25479,14 @@ } }, "required": [ - "Name", - "Steps" + "DBSubnetGroupDescription", + "SubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Recipe" + "AWS::RDS::DBSubnetGroup" ], "type": "string" }, @@ -32175,427 +25505,7 @@ ], "type": "object" }, - "AWS::DataBrew::Recipe.Action": { - "additionalProperties": false, - "properties": { - "Operation": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ParameterMap" - } - }, - "required": [ - "Operation" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.ConditionExpression": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Condition", - "TargetColumn" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeParameters": { - "additionalProperties": false, - "properties": { - "AggregateFunction": { - "type": "string" - }, - "Base": { - "type": "string" - }, - "CaseStatement": { - "type": "string" - }, - "CategoryMap": { - "type": "string" - }, - "CharsToRemove": { - "type": "string" - }, - "CollapseConsecutiveWhitespace": { - "type": "string" - }, - "ColumnDataType": { - "type": "string" - }, - "ColumnRange": { - "type": "string" - }, - "Count": { - "type": "string" - }, - "CustomCharacters": { - "type": "string" - }, - "CustomStopWords": { - "type": "string" - }, - "CustomValue": { - "type": "string" - }, - "DatasetsColumns": { - "type": "string" - }, - "DateAddValue": { - "type": "string" - }, - "DateTimeFormat": { - "type": "string" - }, - "DateTimeParameters": { - "type": "string" - }, - "DeleteOtherRows": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "EndPattern": { - "type": "string" - }, - "EndPosition": { - "type": "string" - }, - "EndValue": { - "type": "string" - }, - "ExpandContractions": { - "type": "string" - }, - "Exponent": { - "type": "string" - }, - "FalseString": { - "type": "string" - }, - "GroupByAggFunctionOptions": { - "type": "string" - }, - "GroupByColumns": { - "type": "string" - }, - "HiddenColumns": { - "type": "string" - }, - "IgnoreCase": { - "type": "string" - }, - "IncludeInSplit": { - "type": "string" - }, - "Input": { - "type": "object" - }, - "Interval": { - "type": "string" - }, - "IsText": { - "type": "string" - }, - "JoinKeys": { - "type": "string" - }, - "JoinType": { - "type": "string" - }, - "LeftColumns": { - "type": "string" - }, - "Limit": { - "type": "string" - }, - "LowerBound": { - "type": "string" - }, - "MapType": { - "type": "string" - }, - "ModeType": { - "type": "string" - }, - "MultiLine": { - "type": "boolean" - }, - "NumRows": { - "type": "string" - }, - "NumRowsAfter": { - "type": "string" - }, - "NumRowsBefore": { - "type": "string" - }, - "OrderByColumn": { - "type": "string" - }, - "OrderByColumns": { - "type": "string" - }, - "Other": { - "type": "string" - }, - "Pattern": { - "type": "string" - }, - "PatternOption1": { - "type": "string" - }, - "PatternOption2": { - "type": "string" - }, - "PatternOptions": { - "type": "string" - }, - "Period": { - "type": "string" - }, - "Position": { - "type": "string" - }, - "RemoveAllPunctuation": { - "type": "string" - }, - "RemoveAllQuotes": { - "type": "string" - }, - "RemoveAllWhitespace": { - "type": "string" - }, - "RemoveCustomCharacters": { - "type": "string" - }, - "RemoveCustomValue": { - "type": "string" - }, - "RemoveLeadingAndTrailingPunctuation": { - "type": "string" - }, - "RemoveLeadingAndTrailingQuotes": { - "type": "string" - }, - "RemoveLeadingAndTrailingWhitespace": { - "type": "string" - }, - "RemoveLetters": { - "type": "string" - }, - "RemoveNumbers": { - "type": "string" - }, - "RemoveSourceColumn": { - "type": "string" - }, - "RemoveSpecialCharacters": { - "type": "string" - }, - "RightColumns": { - "type": "string" - }, - "SampleSize": { - "type": "string" - }, - "SampleType": { - "type": "string" - }, - "SecondInput": { - "type": "string" - }, - "SecondaryInputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.SecondaryInput" - }, - "type": "array" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "SourceColumn1": { - "type": "string" - }, - "SourceColumn2": { - "type": "string" - }, - "SourceColumns": { - "type": "string" - }, - "StartColumnIndex": { - "type": "string" - }, - "StartPattern": { - "type": "string" - }, - "StartPosition": { - "type": "string" - }, - "StartValue": { - "type": "string" - }, - "StemmingMode": { - "type": "string" - }, - "StepCount": { - "type": "string" - }, - "StepIndex": { - "type": "string" - }, - "StopWordsMode": { - "type": "string" - }, - "Strategy": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "TargetColumnNames": { - "type": "string" - }, - "TargetDateFormat": { - "type": "string" - }, - "TargetIndex": { - "type": "string" - }, - "TimeZone": { - "type": "string" - }, - "TokenizerPattern": { - "type": "string" - }, - "TrueString": { - "type": "string" - }, - "UdfLang": { - "type": "string" - }, - "Units": { - "type": "string" - }, - "UnpivotColumn": { - "type": "string" - }, - "UpperBound": { - "type": "string" - }, - "UseNewDataFrame": { - "type": "string" - }, - "Value": { - "type": "string" - }, - "Value1": { - "type": "string" - }, - "Value2": { - "type": "string" - }, - "ValueColumn": { - "type": "string" - }, - "ViewFrame": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeStep": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.Action" - }, - "ConditionExpressions": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ConditionExpression" - }, - "type": "array" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.SecondaryInput": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.DataCatalogInputDefinition" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset": { + "AWS::RDS::EventSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32627,38 +25537,45 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Name": { + "EventCategories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SnsTopicArn": { "type": "string" }, - "Rules": { + "SourceIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Rule" + "type": "string" }, "type": "array" }, + "SourceType": { + "type": "string" + }, + "SubscriptionName": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "TargetArn": { - "type": "string" } }, "required": [ - "Name", - "Rules", - "TargetArn" + "SnsTopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Ruleset" + "AWS::RDS::EventSubscription" ], "type": "string" }, @@ -32677,87 +25594,101 @@ ], "type": "object" }, - "AWS::DataBrew::Ruleset.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset.Rule": { + "AWS::RDS::GlobalCluster": { "additionalProperties": false, "properties": { - "CheckExpression": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ColumnSelectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.ColumnSelector" - }, - "type": "array" - }, - "Disabled": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Name": { - "type": "string" + "Metadata": { + "type": "object" }, - "SubstitutionMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.SubstitutionValue" + "Properties": { + "additionalProperties": false, + "properties": { + "DeletionProtection": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "GlobalEndpoint": { + "$ref": "#/definitions/AWS::RDS::GlobalCluster.GlobalEndpoint" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Threshold": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Threshold" - } - }, - "required": [ - "CheckExpression", - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Ruleset.SubstitutionValue": { - "additionalProperties": false, - "properties": { - "Value": { + "Type": { + "enum": [ + "AWS::RDS::GlobalCluster" + ], "type": "string" }, - "ValueReference": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Value", - "ValueReference" + "Type" ], "type": "object" }, - "AWS::DataBrew::Ruleset.Threshold": { + "AWS::RDS::GlobalCluster.GlobalEndpoint": { "additionalProperties": false, "properties": { - "Type": { - "type": "string" - }, - "Unit": { + "Address": { "type": "string" - }, - "Value": { - "type": "number" } }, - "required": [ - "Value" - ], "type": "object" }, - "AWS::DataBrew::Schedule": { + "AWS::RDS::Integration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32789,16 +25720,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CronExpression": { + "AdditionalEncryptionContext": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DataFilter": { "type": "string" }, - "JobNames": { - "items": { - "type": "string" - }, - "type": "array" + "Description": { + "type": "string" }, - "Name": { + "IntegrationName": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "SourceArn": { "type": "string" }, "Tags": { @@ -32806,17 +25749,20 @@ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetArn": { + "type": "string" } }, "required": [ - "CronExpression", - "Name" + "SourceArn", + "TargetArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Schedule" + "AWS::RDS::Integration" ], "type": "string" }, @@ -32835,7 +25781,7 @@ ], "type": "object" }, - "AWS::DataPipeline::Pipeline": { + "AWS::RDS::OptionGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32867,49 +25813,41 @@ "Properties": { "additionalProperties": false, "properties": { - "Activate": { - "type": "boolean" - }, - "Description": { + "EngineName": { "type": "string" }, - "Name": { + "MajorEngineVersion": { "type": "string" }, - "ParameterObjects": { + "OptionConfigurations": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterObject" + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" }, "type": "array" }, - "ParameterValues": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterValue" - }, - "type": "array" + "OptionGroupDescription": { + "type": "string" }, - "PipelineObjects": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineObject" - }, - "type": "array" + "OptionGroupName": { + "type": "string" }, - "PipelineTags": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineTag" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "Name", - "ParameterObjects" + "EngineName", + "MajorEngineVersion", + "OptionGroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataPipeline::Pipeline" + "AWS::RDS::OptionGroup" ], "type": "string" }, @@ -32928,115 +25866,55 @@ ], "type": "object" }, - "AWS::DataPipeline::Pipeline.Field": { + "AWS::RDS::OptionGroup.OptionConfiguration": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "DBSecurityGroupMemberships": { + "items": { + "type": "string" + }, + "type": "array" }, - "RefValue": { + "OptionName": { "type": "string" }, - "StringValue": { + "OptionSettings": { + "items": { + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" + }, + "type": "array" + }, + "OptionVersion": { "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Key", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterObject": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterAttribute" - }, - "type": "array" }, - "Id": { - "type": "string" - } - }, - "required": [ - "Attributes", - "Id" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterValue": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" + "Port": { + "type": "number" }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Id", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.PipelineObject": { - "additionalProperties": false, - "properties": { - "Fields": { + "VpcSecurityGroupMemberships": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.Field" + "type": "string" }, "type": "array" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" } }, "required": [ - "Fields", - "Id", - "Name" + "OptionName" ], "type": "object" }, - "AWS::DataPipeline::Pipeline.PipelineTag": { + "AWS::RDS::OptionGroup.OptionSetting": { "additionalProperties": false, "properties": { - "Key": { + "Name": { "type": "string" }, "Value": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::DataSync::Agent": { + "AWS::RolesAnywhere::CRL": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33068,23 +25946,14 @@ "Properties": { "additionalProperties": false, "properties": { - "ActivationKey": { - "type": "string" - }, - "AgentName": { + "CrlData": { "type": "string" }, - "SecurityGroupArns": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" }, - "SubnetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, "Tags": { "items": { @@ -33092,18 +25961,19 @@ }, "type": "array" }, - "VpcEndpointId": { + "TrustAnchorArn": { "type": "string" } }, "required": [ - "ActivationKey" + "CrlData", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Agent" + "AWS::RolesAnywhere::CRL" ], "type": "string" }, @@ -33122,7 +25992,7 @@ ], "type": "object" }, - "AWS::DataSync::LocationEFS": { + "AWS::RolesAnywhere::Profile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33154,13 +26024,40 @@ "Properties": { "additionalProperties": false, "properties": { - "Ec2Config": { - "$ref": "#/definitions/AWS::DataSync::LocationEFS.Ec2Config" + "AcceptRoleSessionName": { + "type": "boolean" + }, + "AttributeMappings": { + "items": { + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.AttributeMapping" + }, + "type": "array" + }, + "DurationSeconds": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "EfsFilesystemArn": { + "Name": { "type": "string" }, - "Subdirectory": { + "RequireInstanceProperties": { + "type": "boolean" + }, + "RoleArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SessionPolicy": { "type": "string" }, "Tags": { @@ -33171,14 +26068,14 @@ } }, "required": [ - "Ec2Config", - "EfsFilesystemArn" + "Name", + "RoleArns" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationEFS" + "AWS::RolesAnywhere::Profile" ], "type": "string" }, @@ -33197,26 +26094,38 @@ ], "type": "object" }, - "AWS::DataSync::LocationEFS.Ec2Config": { + "AWS::RolesAnywhere::Profile.AttributeMapping": { "additionalProperties": false, "properties": { - "SecurityGroupArns": { + "CertificateField": { + "type": "string" + }, + "MappingRules": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.MappingRule" }, "type": "array" - }, - "SubnetArn": { + } + }, + "required": [ + "CertificateField", + "MappingRules" + ], + "type": "object" + }, + "AWS::RolesAnywhere::Profile.MappingRule": { + "additionalProperties": false, + "properties": { + "Specifier": { "type": "string" } }, "required": [ - "SecurityGroupArns", - "SubnetArn" + "Specifier" ], "type": "object" }, - "AWS::DataSync::LocationFSxWindows": { + "AWS::RolesAnywhere::TrustAnchor": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33248,45 +26157,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "FsxFilesystemArn": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Password": { + "Name": { "type": "string" }, - "SecurityGroupArns": { + "NotificationSettings": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.NotificationSetting" }, "type": "array" }, - "Subdirectory": { - "type": "string" + "Source": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.Source" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "User": { - "type": "string" } }, "required": [ - "FsxFilesystemArn", - "Password", - "SecurityGroupArns", - "User" + "Name", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationFSxWindows" + "AWS::RolesAnywhere::TrustAnchor" ], "type": "string" }, @@ -33305,144 +26206,53 @@ ], "type": "object" }, - "AWS::DataSync::LocationHDFS": { + "AWS::RolesAnywhere::TrustAnchor.NotificationSetting": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Channel": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationType": { - "type": "string" - }, - "BlockSize": { - "type": "number" - }, - "KerberosKeytab": { - "type": "string" - }, - "KerberosKrb5Conf": { - "type": "string" - }, - "KerberosPrincipal": { - "type": "string" - }, - "KmsKeyProviderUri": { - "type": "string" - }, - "NameNodes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.NameNode" - }, - "type": "array" - }, - "QopConfiguration": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.QopConfiguration" - }, - "ReplicationFactor": { - "type": "number" - }, - "SimpleUser": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AgentArns", - "AuthenticationType", - "NameNodes" - ], - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationHDFS" - ], + "Event": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Threshold": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled", + "Event" ], "type": "object" }, - "AWS::DataSync::LocationHDFS.NameNode": { + "AWS::RolesAnywhere::TrustAnchor.Source": { "additionalProperties": false, "properties": { - "Hostname": { - "type": "string" + "SourceData": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.SourceData" }, - "Port": { - "type": "number" + "SourceType": { + "type": "string" } }, - "required": [ - "Hostname", - "Port" - ], "type": "object" }, - "AWS::DataSync::LocationHDFS.QopConfiguration": { + "AWS::RolesAnywhere::TrustAnchor.SourceData": { "additionalProperties": false, "properties": { - "DataTransferProtection": { + "AcmPcaArn": { "type": "string" }, - "RpcProtection": { + "X509CertificateData": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::LocationNFS": { + "AWS::Route53::CidrCollection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33474,35 +26284,24 @@ "Properties": { "additionalProperties": false, "properties": { - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.MountOptions" - }, - "OnPremConfig": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.OnPremConfig" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { + "Locations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::CidrCollection.Location" }, "type": "array" + }, + "Name": { + "type": "string" } }, "required": [ - "OnPremConfig", - "ServerHostname", - "Subdirectory" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationNFS" + "AWS::Route53::CidrCollection" ], "type": "string" }, @@ -33521,31 +26320,26 @@ ], "type": "object" }, - "AWS::DataSync::LocationNFS.MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataSync::LocationNFS.OnPremConfig": { + "AWS::Route53::CidrCollection.Location": { "additionalProperties": false, "properties": { - "AgentArns": { + "CidrList": { "items": { "type": "string" }, "type": "array" + }, + "LocationName": { + "type": "string" } }, "required": [ - "AgentArns" + "CidrList", + "LocationName" ], "type": "object" }, - "AWS::DataSync::LocationObjectStorage": { + "AWS::Route53::DNSSEC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33577,50 +26371,18 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessKey": { - "type": "string" - }, - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BucketName": { - "type": "string" - }, - "SecretKey": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "ServerPort": { - "type": "number" - }, - "ServerProtocol": { - "type": "string" - }, - "Subdirectory": { + "HostedZoneId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AgentArns", - "BucketName", - "ServerHostname" + "HostedZoneId" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationObjectStorage" + "AWS::Route53::DNSSEC" ], "type": "string" }, @@ -33639,7 +26401,7 @@ ], "type": "object" }, - "AWS::DataSync::LocationS3": { + "AWS::Route53::HealthCheck": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33671,34 +26433,24 @@ "Properties": { "additionalProperties": false, "properties": { - "S3BucketArn": { - "type": "string" - }, - "S3Config": { - "$ref": "#/definitions/AWS::DataSync::LocationS3.S3Config" - }, - "S3StorageClass": { - "type": "string" - }, - "Subdirectory": { - "type": "string" + "HealthCheckConfig": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckConfig" }, - "Tags": { + "HealthCheckTags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" }, "type": "array" } }, "required": [ - "S3BucketArn", - "S3Config" + "HealthCheckConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationS3" + "AWS::Route53::HealthCheck" ], "type": "string" }, @@ -33717,121 +26469,105 @@ ], "type": "object" }, - "AWS::DataSync::LocationS3.S3Config": { + "AWS::Route53::HealthCheck.AlarmIdentifier": { "additionalProperties": false, "properties": { - "BucketAccessRoleArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" } }, "required": [ - "BucketAccessRoleArn" + "Name", + "Region" ], "type": "object" }, - "AWS::DataSync::LocationSMB": { + "AWS::Route53::HealthCheck.HealthCheckConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AlarmIdentifier": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.AlarmIdentifier" + }, + "ChildHealthChecks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableSNI": { + "type": "boolean" + }, + "FailureThreshold": { + "type": "number" + }, + "FullyQualifiedDomainName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "HealthThreshold": { + "type": "number" }, - "Metadata": { - "type": "object" + "IPAddress": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Domain": { - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationSMB.MountOptions" - }, - "Password": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "User": { - "type": "string" - } + "InsufficientDataHealthStatus": { + "type": "string" + }, + "Inverted": { + "type": "boolean" + }, + "MeasureLatency": { + "type": "boolean" + }, + "Port": { + "type": "number" + }, + "Regions": { + "items": { + "type": "string" }, - "required": [ - "AgentArns", - "Password", - "ServerHostname", - "Subdirectory", - "User" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationSMB" - ], + "RequestInterval": { + "type": "number" + }, + "ResourcePath": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RoutingControlArn": { + "type": "string" + }, + "SearchString": { + "type": "string" + }, + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::LocationSMB.MountOptions": { + "AWS::Route53::HealthCheck.HealthCheckTag": { "additionalProperties": false, "properties": { - "Version": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::DataSync::Task": { + "AWS::Route53::HostedZone": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33863,52 +26599,33 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "DestinationLocationArn": { - "type": "string" - }, - "Excludes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" - }, - "type": "array" + "HostedZoneConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" }, - "Includes": { + "HostedZoneTags": { "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" }, "type": "array" }, "Name": { "type": "string" }, - "Options": { - "$ref": "#/definitions/AWS::DataSync::Task.Options" - }, - "Schedule": { - "$ref": "#/definitions/AWS::DataSync::Task.TaskSchedule" - }, - "SourceLocationArn": { - "type": "string" + "QueryLoggingConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" }, - "Tags": { + "VPCs": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" }, "type": "array" } }, - "required": [ - "DestinationLocationArn", - "SourceLocationArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Task" + "AWS::Route53::HostedZone" ], "type": "string" }, @@ -33922,84 +26639,64 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::Task.FilterRule": { + "AWS::Route53::HostedZone.HostedZoneConfig": { "additionalProperties": false, "properties": { - "FilterType": { - "type": "string" - }, - "Value": { + "Comment": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::Task.Options": { + "AWS::Route53::HostedZone.HostedZoneTag": { "additionalProperties": false, "properties": { - "Atime": { - "type": "string" - }, - "BytesPerSecond": { - "type": "number" - }, - "Gid": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "Mtime": { - "type": "string" - }, - "OverwriteMode": { - "type": "string" - }, - "PosixPermissions": { - "type": "string" - }, - "PreserveDeletedFiles": { - "type": "string" - }, - "PreserveDevices": { - "type": "string" - }, - "SecurityDescriptorCopyFlags": { - "type": "string" - }, - "TaskQueueing": { - "type": "string" - }, - "TransferMode": { + "Key": { "type": "string" }, - "Uid": { + "Value": { "type": "string" - }, - "VerifyMode": { + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::Route53::HostedZone.QueryLoggingConfig": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsLogGroupArn": { "type": "string" } }, + "required": [ + "CloudWatchLogsLogGroupArn" + ], "type": "object" }, - "AWS::DataSync::Task.TaskSchedule": { + "AWS::Route53::HostedZone.VPC": { "additionalProperties": false, "properties": { - "ScheduleExpression": { + "VPCId": { + "type": "string" + }, + "VPCRegion": { "type": "string" } }, "required": [ - "ScheduleExpression" + "VPCId", + "VPCRegion" ], "type": "object" }, - "AWS::Detective::Graph": { + "AWS::Route53::KeySigningKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34031,18 +26728,30 @@ "Properties": { "additionalProperties": false, "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HostedZoneId": { + "type": "string" + }, + "KeyManagementServiceArn": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" } }, + "required": [ + "HostedZoneId", + "KeyManagementServiceArn", + "Name", + "Status" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::Graph" + "AWS::Route53::KeySigningKey" ], "type": "string" }, @@ -34056,11 +26765,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Detective::MemberInvitation": { + "AWS::Route53::RecordSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34092,32 +26802,70 @@ "Properties": { "additionalProperties": false, "properties": { - "DisableEmailNotification": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSet.CidrRoutingConfig" + }, + "Comment": { + "type": "string" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { "type": "boolean" }, - "GraphArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" }, - "MemberEmailAddress": { + "ResourceRecords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SetIdentifier": { "type": "string" }, - "MemberId": { + "TTL": { "type": "string" }, - "Message": { + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "GraphArn", - "MemberEmailAddress", - "MemberId" + "Name", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::MemberInvitation" + "AWS::Route53::RecordSet" ], "type": "string" }, @@ -34136,87 +26884,91 @@ ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel": { + "AWS::Route53::RecordSet.AliasTarget": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DNSName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "EvaluateTargetHealth": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Config": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig" - } - }, - "required": [ - "Config" - ], - "type": "object" + "HostedZoneId": { + "type": "string" + } + }, + "required": [ + "DNSName", + "HostedZoneId" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.CidrRoutingConfig": { + "additionalProperties": false, + "properties": { + "CollectionId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DevOpsGuru::NotificationChannel" - ], + "LocationName": { + "type": "string" + } + }, + "required": [ + "CollectionId", + "LocationName" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.Coordinates": { + "additionalProperties": false, + "properties": { + "Latitude": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Longitude": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Latitude", + "Longitude" ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig": { + "AWS::Route53::RecordSet.GeoLocation": { "additionalProperties": false, "properties": { - "Sns": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig" + "ContinentCode": { + "type": "string" + }, + "CountryCode": { + "type": "string" + }, + "SubdivisionCode": { + "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig": { + "AWS::Route53::RecordSet.GeoProximityLocation": { "additionalProperties": false, "properties": { - "TopicArn": { + "AWSRegion": { + "type": "string" + }, + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSet.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection": { + "AWS::Route53::RecordSetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34248,18 +27000,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ResourceCollectionFilter": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter" + "Comment": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "RecordSets": { + "items": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" + }, + "type": "array" } }, - "required": [ - "ResourceCollectionFilter" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DevOpsGuru::ResourceCollection" + "AWS::Route53::RecordSetGroup" ], "type": "string" }, @@ -34273,134 +27034,156 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter": { + "AWS::Route53::RecordSetGroup.AliasTarget": { "additionalProperties": false, "properties": { - "StackNames": { - "items": { - "type": "string" - }, - "type": "array" + "DNSName": { + "type": "string" + }, + "EvaluateTargetHealth": { + "type": "boolean" + }, + "HostedZoneId": { + "type": "string" } }, + "required": [ + "DNSName", + "HostedZoneId" + ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter": { + "AWS::Route53::RecordSetGroup.CidrRoutingConfig": { "additionalProperties": false, "properties": { - "CloudFormation": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter" + "CollectionId": { + "type": "string" + }, + "LocationName": { + "type": "string" } }, + "required": [ + "CollectionId", + "LocationName" + ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD": { + "AWS::Route53::RecordSetGroup.Coordinates": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Latitude": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Longitude": { + "type": "string" + } + }, + "required": [ + "Latitude", + "Longitude" + ], + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoLocation": { + "additionalProperties": false, + "properties": { + "ContinentCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CreateAlias": { - "type": "boolean" - }, - "Edition": { - "type": "string" - }, - "EnableSso": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "ShortName": { - "type": "string" - }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD.VpcSettings" - } - }, - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "type": "object" + "CountryCode": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DirectoryService::MicrosoftAD" - ], + "SubdivisionCode": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoProximityLocation": { + "additionalProperties": false, + "properties": { + "AWSRegion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD.VpcSettings": { + "AWS::Route53::RecordSetGroup.RecordSet": { "additionalProperties": false, "properties": { - "SubnetIds": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.CidrRoutingConfig" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Region": { + "type": "string" + }, + "ResourceRecords": { "items": { "type": "string" }, "type": "array" }, - "VpcId": { + "SetIdentifier": { + "type": "string" + }, + "TTL": { + "type": "string" + }, + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "SubnetIds", - "VpcId" + "Name", + "Type" ], "type": "object" }, - "AWS::DirectoryService::SimpleAD": { + "AWS::S3::AccessGrant": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34432,42 +27215,41 @@ "Properties": { "additionalProperties": false, "properties": { - "CreateAlias": { - "type": "boolean" + "AccessGrantsLocationConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessGrant.AccessGrantsLocationConfiguration" }, - "Description": { + "AccessGrantsLocationId": { "type": "string" }, - "EnableSso": { - "type": "boolean" - }, - "Name": { + "ApplicationArn": { "type": "string" }, - "Password": { - "type": "string" + "Grantee": { + "$ref": "#/definitions/AWS::S3::AccessGrant.Grantee" }, - "ShortName": { + "Permission": { "type": "string" }, - "Size": { + "S3PrefixType": { "type": "string" }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD.VpcSettings" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "Name", - "Password", - "Size", - "VpcSettings" + "AccessGrantsLocationId", + "Grantee", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::DirectoryService::SimpleAD" + "AWS::S3::AccessGrant" ], "type": "string" }, @@ -34486,26 +27268,35 @@ ], "type": "object" }, - "AWS::DirectoryService::SimpleAD.VpcSettings": { + "AWS::S3::AccessGrant.AccessGrantsLocationConfiguration": { "additionalProperties": false, "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "S3SubPrefix": { + "type": "string" + } + }, + "required": [ + "S3SubPrefix" + ], + "type": "object" + }, + "AWS::S3::AccessGrant.Grantee": { + "additionalProperties": false, + "properties": { + "GranteeIdentifier": { + "type": "string" }, - "VpcId": { + "GranteeType": { "type": "string" } }, "required": [ - "SubnetIds", - "VpcId" + "GranteeIdentifier", + "GranteeType" ], "type": "object" }, - "AWS::DocDB::DBCluster": { + "AWS::S3::AccessGrantsInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34537,82 +27328,21 @@ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "IdentityCenterArn": { "type": "string" }, - "SnapshotIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" } }, - "required": [ - "MasterUserPassword", - "MasterUsername" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBCluster" + "AWS::S3::AccessGrantsInstance" ], "type": "string" }, @@ -34626,12 +27356,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBClusterParameterGroup": { + "AWS::S3::AccessGrantsLocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34663,18 +27392,12 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "Family": { + "IamRoleArn": { "type": "string" }, - "Name": { + "LocationScope": { "type": "string" }, - "Parameters": { - "type": "object" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -34682,16 +27405,11 @@ "type": "array" } }, - "required": [ - "Description", - "Family", - "Parameters" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBClusterParameterGroup" + "AWS::S3::AccessGrantsLocation" ], "type": "string" }, @@ -34705,12 +27423,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBInstance": { + "AWS::S3::AccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34742,40 +27459,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { + "Bucket": { "type": "string" }, - "DBClusterIdentifier": { + "BucketAccountId": { "type": "string" }, - "DBInstanceClass": { + "Name": { "type": "string" }, - "DBInstanceIdentifier": { - "type": "string" + "Policy": { + "type": "object" }, - "PreferredMaintenanceWindow": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" } }, "required": [ - "DBClusterIdentifier", - "DBInstanceClass" + "Bucket" ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBInstance" + "AWS::S3::AccessPoint" ], "type": "string" }, @@ -34794,7 +27504,34 @@ ], "type": "object" }, - "AWS::DocDB::DBSubnetGroup": { + "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::AccessPoint.VpcConfiguration": { + "additionalProperties": false, + "properties": { + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34826,143 +27563,90 @@ "Properties": { "additionalProperties": false, "properties": { - "DBSubnetGroupDescription": { + "AccelerateConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" + }, + "AccessControl": { "type": "string" }, - "DBSubnetGroupName": { + "AnalyticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" + }, + "type": "array" + }, + "BucketEncryption": { + "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" + }, + "BucketName": { "type": "string" }, - "SubnetIds": { + "CorsConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" + }, + "IntelligentTieringConfigurations": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" }, "type": "array" }, - "Tags": { + "InventoryConfigurations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" }, "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DocDB::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DynamoDB::GlobalTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.AttributeDefinition" - }, - "type": "array" + "LifecycleConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" }, - "BillingMode": { - "type": "string" + "LoggingConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex" - }, - "type": "array" + "MetadataTableConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.MetadataTableConfiguration" }, - "KeySchema": { + "MetricsConfigurations": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" }, "type": "array" }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.LocalSecondaryIndex" - }, - "type": "array" + "NotificationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" }, - "Replicas": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSpecification" - }, - "type": "array" + "ObjectLockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.SSESpecification" + "ObjectLockEnabled": { + "type": "boolean" }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.StreamSpecification" + "OwnershipControls": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" }, - "TableName": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TimeToLiveSpecification" + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" + "VersioningConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" + }, + "WebsiteConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" } }, - "required": [ - "AttributeDefinitions", - "KeySchema", - "Replicas" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DynamoDB::GlobalTable" + "AWS::S3::Bucket" ], "type": "string" }, @@ -34976,1235 +27660,1073 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.AttributeDefinition": { + "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeType": { - "type": "string" + "DaysAfterInitiation": { + "type": "number" } }, "required": [ - "AttributeName", - "AttributeType" + "DaysAfterInitiation" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings": { + "AWS::S3::Bucket.AccelerateConfiguration": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SeedCapacity": { - "type": "number" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus": { + "type": "string" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification": { + "AWS::S3::Bucket.AccessControlTranslation": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Owner": { + "type": "string" } }, "required": [ - "Enabled" + "Owner" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex": { + "AWS::S3::Bucket.AnalyticsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "StorageClassAnalysis": { + "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" + }, + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id", + "StorageClassAnalysis" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.KeySchema": { + "AWS::S3::Bucket.BucketEncryption": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "ServerSideEncryptionConfiguration": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" + }, + "type": "array" } }, "required": [ - "AttributeName", - "KeyType" + "ServerSideEncryptionConfiguration" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.LocalSecondaryIndex": { + "AWS::S3::Bucket.CorsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { - "type": "string" - }, - "KeySchema": { + "CorsRules": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "CorsRules" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::GlobalTable.Projection": { + "AWS::S3::Bucket.CorsRule": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { + "AllowedHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedOrigins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExposedHeaders": { "items": { "type": "string" }, "type": "array" }, - "ProjectionType": { + "Id": { "type": "string" + }, + "MaxAge": { + "type": "number" } }, + "required": [ + "AllowedMethods", + "AllowedOrigins" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings": { + "AWS::S3::Bucket.DataExport": { "additionalProperties": false, "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "ReadCapacityUnits": { - "type": "number" + "OutputSchemaVersion": { + "type": "string" } }, + "required": [ + "Destination", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification": { + "AWS::S3::Bucket.DefaultRetention": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" + "Days": { + "type": "number" }, - "IndexName": { + "Mode": { "type": "string" }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "Years": { + "type": "number" } }, - "required": [ - "IndexName" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification": { + "AWS::S3::Bucket.DeleteMarkerReplication": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { + "Status": { "type": "string" } }, - "required": [ - "KMSMasterKeyId" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSpecification": { + "AWS::S3::Bucket.Destination": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "BucketAccountId": { + "type": "string" }, - "Region": { + "BucketArn": { "type": "string" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSSESpecification" + "Format": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Prefix": { + "type": "string" } }, "required": [ - "Region" + "BucketArn", + "Format" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.SSESpecification": { + "AWS::S3::Bucket.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { + "ReplicaKmsKeyID": { "type": "string" } }, "required": [ - "SSEEnabled" + "ReplicaKmsKeyID" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.StreamSpecification": { + "AWS::S3::Bucket.EventBridgeConfiguration": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "EventBridgeEnabled": { + "type": "boolean" } }, "required": [ - "StreamViewType" + "EventBridgeEnabled" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration": { + "AWS::S3::Bucket.FilterRule": { "additionalProperties": false, "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" + "Name": { + "type": "string" }, - "TargetValue": { - "type": "number" + "Value": { + "type": "string" } }, "required": [ - "TargetValue" + "Name", + "Value" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TimeToLiveSpecification": { + "AWS::S3::Bucket.IntelligentTieringConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Id": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Prefix": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Tierings": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Tiering" + }, + "type": "array" } }, "required": [ - "Enabled" + "Id", + "Status", + "Tierings" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table": { + "AWS::S3::Bucket.InventoryConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Id": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.AttributeDefinition" - }, - "type": "array" - }, - "BillingMode": { - "type": "string" - }, - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.GlobalSecondaryIndex" - }, - "type": "array" - }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KinesisStreamSpecification" - }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.LocalSecondaryIndex" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.PointInTimeRecoverySpecification" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.SSESpecification" - }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.StreamSpecification" - }, - "TableClass": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.TimeToLiveSpecification" - } + "IncludedObjectVersions": { + "type": "string" + }, + "OptionalFields": { + "items": { + "type": "string" }, - "required": [ - "KeySchema" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DynamoDB::Table" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ScheduleFrequency": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination", + "Enabled", + "Id", + "IncludedObjectVersions", + "ScheduleFrequency" ], "type": "object" }, - "AWS::DynamoDB::Table.AttributeDefinition": { + "AWS::S3::Bucket.LambdaConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Event": { "type": "string" }, - "AttributeType": { + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Function": { "type": "string" } }, "required": [ - "AttributeName", - "AttributeType" + "Event", + "Function" ], "type": "object" }, - "AWS::DynamoDB::Table.ContributorInsightsSpecification": { + "AWS::S3::Bucket.LifecycleConfiguration": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Rule" + }, + "type": "array" + }, + "TransitionDefaultMinimumObjectSize": { + "type": "string" } }, "required": [ - "Enabled" + "Rules" ], "type": "object" }, - "AWS::DynamoDB::Table.GlobalSecondaryIndex": { + "AWS::S3::Bucket.LoggingConfiguration": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "IndexName": { + "DestinationBucketName": { "type": "string" }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" + "LogFilePrefix": { + "type": "string" }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" + "TargetObjectKeyFormat": { + "$ref": "#/definitions/AWS::S3::Bucket.TargetObjectKeyFormat" } }, - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], "type": "object" }, - "AWS::DynamoDB::Table.KeySchema": { + "AWS::S3::Bucket.MetadataTableConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "S3TablesDestination": { + "$ref": "#/definitions/AWS::S3::Bucket.S3TablesDestination" } }, "required": [ - "AttributeName", - "KeyType" + "S3TablesDestination" ], "type": "object" }, - "AWS::DynamoDB::Table.KinesisStreamSpecification": { + "AWS::S3::Bucket.Metrics": { "additionalProperties": false, "properties": { - "StreamArn": { + "EventThreshold": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" + }, + "Status": { "type": "string" } }, "required": [ - "StreamArn" + "Status" ], "type": "object" }, - "AWS::DynamoDB::Table.LocalSecondaryIndex": { + "AWS::S3::Bucket.MetricsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "AccessPointArn": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id" ], "type": "object" }, - "AWS::DynamoDB::Table.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table.Projection": { + "AWS::S3::Bucket.NoncurrentVersionExpiration": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { - "items": { - "type": "string" - }, - "type": "array" + "NewerNoncurrentVersions": { + "type": "number" }, - "ProjectionType": { - "type": "string" + "NoncurrentDays": { + "type": "number" } }, + "required": [ + "NoncurrentDays" + ], "type": "object" }, - "AWS::DynamoDB::Table.ProvisionedThroughput": { + "AWS::S3::Bucket.NoncurrentVersionTransition": { "additionalProperties": false, "properties": { - "ReadCapacityUnits": { + "NewerNoncurrentVersions": { "type": "number" }, - "WriteCapacityUnits": { + "StorageClass": { + "type": "string" + }, + "TransitionInDays": { "type": "number" } }, "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" + "StorageClass", + "TransitionInDays" ], "type": "object" }, - "AWS::DynamoDB::Table.SSESpecification": { + "AWS::S3::Bucket.NotificationConfiguration": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { - "type": "string" + "EventBridgeConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" }, - "SSEEnabled": { - "type": "boolean" + "LambdaConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" + }, + "type": "array" }, - "SSEType": { - "type": "string" + "QueueConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" + }, + "type": "array" + }, + "TopicConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" + }, + "type": "array" } }, - "required": [ - "SSEEnabled" - ], "type": "object" }, - "AWS::DynamoDB::Table.StreamSpecification": { + "AWS::S3::Bucket.NotificationFilter": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" } }, "required": [ - "StreamViewType" + "S3Key" ], "type": "object" }, - "AWS::DynamoDB::Table.TimeToLiveSpecification": { + "AWS::S3::Bucket.ObjectLockConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "ObjectLockEnabled": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Rule": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" } }, - "required": [ - "AttributeName", - "Enabled" - ], "type": "object" }, - "AWS::EC2::CapacityReservation": { + "AWS::S3::Bucket.ObjectLockRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DefaultRetention": { + "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControls": { + "additionalProperties": false, + "properties": { + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" + }, + "type": "array" + } + }, + "required": [ + "Rules" + ], + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControlsRule": { + "additionalProperties": false, + "properties": { + "ObjectOwnership": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PartitionedPrefix": { + "additionalProperties": false, + "properties": { + "PartitionDateSource": { "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BlockPublicPolicy": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "IgnorePublicAcls": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "EbsOptimized": { - "type": "boolean" - }, - "EndDate": { - "type": "string" - }, - "EndDateType": { - "type": "string" - }, - "EphemeralStorage": { - "type": "boolean" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstancePlatform": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "OutPostArn": { - "type": "string" - }, - "PlacementGroupArn": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceCount", - "InstancePlatform", - "InstanceType" - ], - "type": "object" + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.QueueConfiguration": { + "additionalProperties": false, + "properties": { + "Event": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservation" - ], + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Queue": { + "type": "string" + } + }, + "required": [ + "Event", + "Queue" + ], + "type": "object" + }, + "AWS::S3::Bucket.RedirectAllRequestsTo": { + "additionalProperties": false, + "properties": { + "HostName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HostName" ], "type": "object" }, - "AWS::EC2::CapacityReservation.TagSpecification": { + "AWS::S3::Bucket.RedirectRule": { "additionalProperties": false, "properties": { - "ResourceType": { + "HostName": { "type": "string" }, - "Tags": { + "HttpRedirectCode": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "ReplaceKeyPrefixWith": { + "type": "string" + }, + "ReplaceKeyWith": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicaModifications": { + "additionalProperties": false, + "properties": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.ReplicationConfiguration": { + "additionalProperties": false, + "properties": { + "Role": { + "type": "string" + }, + "Rules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" }, "type": "array" } }, + "required": [ + "Role", + "Rules" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet": { + "AWS::S3::Bucket.ReplicationDestination": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AccessControlTranslation": { + "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" + }, + "Account": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Bucket": { + "type": "string" }, - "Metadata": { - "type": "object" + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "EndDate": { - "type": "string" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstanceTypeSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" - }, - "type": "array" - }, - "NoRemoveEndDate": { - "type": "boolean" - }, - "RemoveEndDate": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "TotalTargetCapacity": { - "type": "number" - } - }, - "type": "object" + "Metrics": { + "$ref": "#/definitions/AWS::S3::Bucket.Metrics" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservationFleet" - ], - "type": "string" + "ReplicationTime": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "StorageClass": { "type": "string" } }, "required": [ - "Type" + "Bucket" ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "AWS::S3::Bucket.ReplicationRule": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" + "DeleteMarkerReplication": { + "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" }, - "AvailabilityZoneId": { - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" }, - "EbsOptimized": { - "type": "boolean" + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" }, - "InstancePlatform": { + "Id": { "type": "string" }, - "InstanceType": { + "Prefix": { "type": "string" }, "Priority": { "type": "number" }, - "Weight": { - "type": "number" + "SourceSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" + }, + "Status": { + "type": "string" } }, + "required": [ + "Destination", + "Status" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "AWS::S3::Bucket.ReplicationRuleAndOperator": { "additionalProperties": false, "properties": { - "ResourceType": { + "Prefix": { "type": "string" }, - "Tags": { + "TagFilters": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" } }, "type": "object" }, - "AWS::EC2::CarrierGateway": { + "AWS::S3::Bucket.ReplicationRuleFilter": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" + "And": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" }, - "Type": { - "enum": [ - "AWS::EC2::CarrierGateway" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TagFilter": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicationTime": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" + }, + "Time": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" } }, "required": [ - "Type", - "Properties" + "Status", + "Time" ], "type": "object" }, - "AWS::EC2::ClientVpnAuthorizationRule": { + "AWS::S3::Bucket.ReplicationTimeValue": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessGroupId": { - "type": "string" - }, - "AuthorizeAllGroups": { - "type": "boolean" - }, - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "TargetNetworkCidr": { - "type": "string" - } - }, - "required": [ - "ClientVpnEndpointId", - "TargetNetworkCidr" - ], - "type": "object" + "Minutes": { + "type": "number" + } + }, + "required": [ + "Minutes" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRule": { + "additionalProperties": false, + "properties": { + "RedirectRule": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnAuthorizationRule" - ], + "RoutingRuleCondition": { + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" + } + }, + "required": [ + "RedirectRule" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRuleCondition": { + "additionalProperties": false, + "properties": { + "HttpErrorCodeReturnedEquals": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "KeyPrefixEquals": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint": { + "AWS::S3::Bucket.Rule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AbortIncompleteMultipartUpload": { + "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" + }, + "ExpirationDate": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "ExpirationInDays": { + "type": "number" }, - "Metadata": { - "type": "object" + "ExpiredObjectDeleteMarker": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationOptions": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" - }, - "type": "array" - }, - "ClientCidrBlock": { - "type": "string" - }, - "ClientConnectOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" - }, - "ConnectionLogOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" - }, - "Description": { - "type": "string" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfServicePortal": { - "type": "string" - }, - "ServerCertificateArn": { - "type": "string" - }, - "SplitTunnel": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" - }, - "type": "array" - }, - "TransportProtocol": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnPort": { - "type": "number" - } + "Id": { + "type": "string" + }, + "NoncurrentVersionExpiration": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" + }, + "NoncurrentVersionExpirationInDays": { + "type": "number" + }, + "NoncurrentVersionTransition": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" + }, + "NoncurrentVersionTransitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" }, - "required": [ - "AuthenticationOptions", - "ClientCidrBlock", - "ConnectionLogOptions", - "ServerCertificateArn" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnEndpoint" - ], + "ObjectSizeGreaterThan": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ObjectSizeLessThan": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Status": { "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Transition": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "Transitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { + "AWS::S3::Bucket.S3KeyFilter": { "additionalProperties": false, "properties": { - "ClientRootCertificateChainArn": { - "type": "string" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" + }, + "type": "array" } }, "required": [ - "ClientRootCertificateChainArn" + "Rules" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "AWS::S3::Bucket.S3TablesDestination": { "additionalProperties": false, "properties": { - "ActiveDirectory": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + "TableArn": { + "type": "string" }, - "FederatedAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + "TableBucketArn": { + "type": "string" }, - "MutualAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + "TableName": { + "type": "string" }, - "Type": { + "TableNamespace": { "type": "string" } }, "required": [ - "Type" + "TableBucketArn", + "TableName" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "AWS::S3::Bucket.ServerSideEncryptionByDefault": { "additionalProperties": false, "properties": { - "Enabled": { + "KMSMasterKeyID": { + "type": "string" + }, + "SSEAlgorithm": { + "type": "string" + } + }, + "required": [ + "SSEAlgorithm" + ], + "type": "object" + }, + "AWS::S3::Bucket.ServerSideEncryptionRule": { + "additionalProperties": false, + "properties": { + "BucketKeyEnabled": { "type": "boolean" }, - "LambdaFunctionArn": { + "ServerSideEncryptionByDefault": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SourceSelectionCriteria": { + "additionalProperties": false, + "properties": { + "ReplicaModifications": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" + }, + "SseKmsEncryptedObjects": { + "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SseKmsEncryptedObjects": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Enabled" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "AWS::S3::Bucket.StorageClassAnalysis": { "additionalProperties": false, "properties": { - "CloudwatchLogGroup": { + "DataExport": { + "$ref": "#/definitions/AWS::S3::Bucket.DataExport" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.TagFilter": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "CloudwatchLogStream": { + "Value": { + "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::S3::Bucket.TargetObjectKeyFormat": { + "additionalProperties": false, + "properties": { + "PartitionedPrefix": { + "$ref": "#/definitions/AWS::S3::Bucket.PartitionedPrefix" + }, + "SimplePrefix": { + "type": "object" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Tiering": { + "additionalProperties": false, + "properties": { + "AccessTier": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Days": { + "type": "number" } }, "required": [ - "Enabled" + "AccessTier", + "Days" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "AWS::S3::Bucket.TopicConfiguration": { "additionalProperties": false, "properties": { - "DirectoryId": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Topic": { "type": "string" } }, "required": [ - "DirectoryId" + "Event", + "Topic" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { + "AWS::S3::Bucket.Transition": { "additionalProperties": false, "properties": { - "SAMLProviderArn": { + "StorageClass": { "type": "string" }, - "SelfServiceSAMLProviderArn": { + "TransitionDate": { "type": "string" + }, + "TransitionInDays": { + "type": "number" } }, "required": [ - "SAMLProviderArn" + "StorageClass" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "AWS::S3::Bucket.VersioningConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.WebsiteConfiguration": { + "additionalProperties": false, + "properties": { + "ErrorDocument": { "type": "string" }, - "Tags": { + "IndexDocument": { + "type": "string" + }, + "RedirectAllRequestsTo": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" + }, + "RoutingRules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" }, "type": "array" } }, - "required": [ - "ResourceType", - "Tags" - ], "type": "object" }, - "AWS::EC2::ClientVpnRoute": { + "AWS::S3::BucketPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36236,29 +28758,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { + "Bucket": { "type": "string" }, - "TargetVpcSubnetId": { - "type": "string" + "PolicyDocument": { + "type": "object" } }, "required": [ - "ClientVpnEndpointId", - "DestinationCidrBlock", - "TargetVpcSubnetId" + "Bucket", + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnRoute" + "AWS::S3::BucketPolicy" ], "type": "string" }, @@ -36277,7 +28792,7 @@ ], "type": "object" }, - "AWS::EC2::ClientVpnTargetNetworkAssociation": { + "AWS::S3::MultiRegionAccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36309,22 +28824,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { + "Name": { "type": "string" }, - "SubnetId": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" + }, + "Regions": { + "items": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" + }, + "type": "array" } }, "required": [ - "ClientVpnEndpointId", - "SubnetId" + "Regions" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnTargetNetworkAssociation" + "AWS::S3::MultiRegionAccessPoint" ], "type": "string" }, @@ -36343,7 +28863,40 @@ ], "type": "object" }, - "AWS::EC2::CustomerGateway": { + "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::MultiRegionAccessPoint.Region": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "BucketAccountId": { + "type": "string" + } + }, + "required": [ + "Bucket" + ], + "type": "object" + }, + "AWS::S3::MultiRegionAccessPointPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36375,32 +28928,22 @@ "Properties": { "additionalProperties": false, "properties": { - "BgpAsn": { - "type": "number" - }, - "IpAddress": { + "MrapName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" + "Policy": { + "type": "object" } }, "required": [ - "BgpAsn", - "IpAddress", - "Type" + "MrapName", + "Policy" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::CustomerGateway" + "AWS::S3::MultiRegionAccessPointPolicy" ], "type": "string" }, @@ -36419,7 +28962,19 @@ ], "type": "object" }, - "AWS::EC2::DHCPOptions": { + "AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus": { + "additionalProperties": false, + "properties": { + "IsPublic": { + "type": "string" + } + }, + "required": [ + "IsPublic" + ], + "type": "object" + }, + "AWS::S3::StorageLens": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36451,29 +29006,8 @@ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "DomainNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNodeType": { - "type": "number" - }, - "NtpServers": { - "items": { - "type": "string" - }, - "type": "array" + "StorageLensConfiguration": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" }, "Tags": { "items": { @@ -36482,11 +29016,14 @@ "type": "array" } }, + "required": [ + "StorageLensConfiguration" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::DHCPOptions" + "AWS::S3::StorageLens" ], "type": "string" }, @@ -36500,512 +29037,305 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EC2Fleet": { + "AWS::S3::StorageLens.AccountLevel": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "Metadata": { - "type": "object" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" - }, - "type": "array" - }, - "OnDemandOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" - }, - "type": "array" - }, - "TargetCapacitySpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "LaunchTemplateConfigs", - "TargetCapacitySpecification" - ], - "type": "object" + "BucketLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" }, - "Type": { - "enum": [ - "AWS::EC2::EC2Fleet" - ], - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "StorageLensGroupLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupLevel" } }, "required": [ - "Type", - "Properties" + "BucketLevel" ], "type": "object" }, - "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { + "AWS::S3::StorageLens.ActivityMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { + "AWS::S3::StorageLens.AdvancedCostOptimizationMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityRebalance": { + "AWS::S3::StorageLens.AdvancedDataProtectionMetrics": { "additionalProperties": false, "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { + "AWS::S3::StorageLens.AwsOrg": { "additionalProperties": false, "properties": { - "UsageStrategy": { + "Arn": { "type": "string" } }, + "required": [ + "Arn" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { + "AWS::S3::StorageLens.BucketLevel": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" - }, - "Priority": { - "type": "number" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "SubnetId": { - "type": "string" + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "LaunchTemplateName": { - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "Version": { - "type": "string" + "PrefixLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "AWS::S3::StorageLens.BucketsAndRegions": { "additionalProperties": false, "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { + "Buckets": { "items": { "type": "string" }, "type": "array" }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { + "Regions": { "items": { "type": "string" }, "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "AWS::S3::StorageLens.CloudWatchMetrics": { "additionalProperties": false, "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + "IsEnabled": { + "type": "boolean" } }, + "required": [ + "IsEnabled" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "AWS::S3::StorageLens.DataExport": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "CloudWatchMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" }, - "Min": { - "type": "number" + "S3BucketDestination": { + "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "AWS::S3::StorageLens.DetailedStatusCodesMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "AWS::S3::StorageLens.Encryption": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "SSEKMS": { + "$ref": "#/definitions/AWS::S3::StorageLens.SSEKMS" }, - "Min": { - "type": "number" + "SSES3": { + "type": "object" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "AWS::S3::StorageLens.PrefixLevel": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "CapacityReservationOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" - }, - "MaxTotalPrice": { - "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { + "StorageMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" + } + }, + "required": [ + "StorageMetrics" + ], + "type": "object" + }, + "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { + "additionalProperties": false, + "properties": { + "IsEnabled": { "type": "boolean" }, - "SingleInstanceType": { - "type": "boolean" + "SelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.Placement": { + "AWS::S3::StorageLens.S3BucketDestination": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { + "AccountId": { "type": "string" }, - "GroupName": { + "Arn": { "type": "string" }, - "HostId": { - "type": "string" + "Encryption": { + "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" }, - "HostResourceGroupArn": { + "Format": { "type": "string" }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { + "OutputSchemaVersion": { "type": "string" }, - "Tenancy": { + "Prefix": { "type": "string" } }, + "required": [ + "AccountId", + "Arn", + "Format", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "AWS::S3::StorageLens.SSEKMS": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "MaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" - }, - "MaxTotalPrice": { + "KeyId": { "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { - "type": "boolean" - }, - "SingleInstanceType": { - "type": "boolean" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.TagSpecification": { + "AWS::S3::StorageLens.SelectionCriteria": { "additionalProperties": false, "properties": { - "ResourceType": { + "Delimiter": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaxDepth": { + "type": "number" + }, + "MinStorageBytesPercentage": { + "type": "number" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "AWS::S3::StorageLens.StorageLensConfiguration": { "additionalProperties": false, "properties": { - "DefaultTargetCapacityType": { - "type": "string" + "AccountLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" }, - "OnDemandTargetCapacity": { - "type": "number" + "AwsOrg": { + "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" }, - "SpotTargetCapacity": { - "type": "number" + "DataExport": { + "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" }, - "TargetCapacityUnitType": { + "Exclude": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "Id": { "type": "string" }, - "TotalTargetCapacity": { - "type": "number" + "Include": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "IsEnabled": { + "type": "boolean" + }, + "StorageLensArn": { + "type": "string" } }, "required": [ - "TotalTargetCapacity" + "AccountLevel", + "Id", + "IsEnabled" ], "type": "object" }, - "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "AWS::S3::StorageLens.StorageLensGroupLevel": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StorageLensGroupSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupSelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "AWS::S3::StorageLens.StorageLensGroupSelectionCriteria": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "Min": { - "type": "number" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::EC2::EIP": { + "AWS::S3::StorageLensGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37037,13 +29367,10 @@ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "InstanceId": { - "type": "string" + "Filter": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Filter" }, - "PublicIpv4Pool": { + "Name": { "type": "string" }, "Tags": { @@ -37053,11 +29380,15 @@ "type": "array" } }, + "required": [ + "Filter", + "Name" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIP" + "AWS::S3::StorageLensGroup" ], "type": "string" }, @@ -37071,11 +29402,132 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EIPAssociation": { + "AWS::S3::StorageLensGroup.And": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Filter": { + "additionalProperties": false, + "properties": { + "And": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.And" + }, + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + }, + "Or": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Or" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectAge": { + "additionalProperties": false, + "properties": { + "DaysGreaterThan": { + "type": "number" + }, + "DaysLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectSize": { + "additionalProperties": false, + "properties": { + "BytesGreaterThan": { + "type": "number" + }, + "BytesLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Or": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::SNS::Subscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37107,88 +29559,49 @@ "Properties": { "additionalProperties": false, "properties": { - "AllocationId": { - "type": "string" + "DeliveryPolicy": { + "type": "object" }, - "EIP": { + "Endpoint": { "type": "string" }, - "InstanceId": { + "FilterPolicy": { + "type": "object" + }, + "FilterPolicyScope": { "type": "string" }, - "NetworkInterfaceId": { + "Protocol": { "type": "string" }, - "PrivateIpAddress": { + "RawMessageDelivery": { + "type": "boolean" + }, + "RedrivePolicy": { + "type": "object" + }, + "Region": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::EIPAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::EgressOnlyInternetGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "ReplayPolicy": { + "type": "object" + }, + "SubscriptionRoleArn": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "VpcId": { + "TopicArn": { "type": "string" } }, "required": [ - "VpcId" + "Protocol", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EgressOnlyInternetGateway" + "AWS::SNS::Subscription" ], "type": "string" }, @@ -37207,7 +29620,7 @@ ], "type": "object" }, - "AWS::EC2::EnclaveCertificateIamRoleAssociation": { + "AWS::SNS::Topic": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37239,95 +29652,41 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" + "ArchivePolicy": { + "type": "object" }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::EnclaveCertificateIamRoleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::FlowLog": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "ContentBasedDeduplication": { + "type": "boolean" }, - { + "DataProtectionPolicy": { + "type": "object" + }, + "DeliveryStatusLogging": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::SNS::Topic.LoggingConfig" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliverLogsPermissionArn": { - "type": "string" }, - "LogDestination": { + "DisplayName": { "type": "string" }, - "LogDestinationType": { + "FifoThroughputScope": { "type": "string" }, - "LogFormat": { - "type": "string" + "FifoTopic": { + "type": "boolean" }, - "LogGroupName": { + "KmsMasterKeyId": { "type": "string" }, - "MaxAggregationInterval": { - "type": "number" - }, - "ResourceId": { + "SignatureVersion": { "type": "string" }, - "ResourceType": { - "type": "string" + "Subscription": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.Subscription" + }, + "type": "array" }, "Tags": { "items": { @@ -37335,20 +29694,18 @@ }, "type": "array" }, - "TrafficType": { + "TopicName": { + "type": "string" + }, + "TracingConfig": { "type": "string" } }, - "required": [ - "ResourceId", - "ResourceType", - "TrafficType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::FlowLog" + "AWS::SNS::Topic" ], "type": "string" }, @@ -37362,78 +29719,48 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::GatewayRouteTableAssociation": { + "AWS::SNS::Topic.LoggingConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FailureFeedbackRoleArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Protocol": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - } - }, - "required": [ - "GatewayId", - "RouteTableId" - ], - "type": "object" + "SuccessFeedbackRoleArn": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::GatewayRouteTableAssociation" - ], + "SuccessFeedbackSampleRate": { + "type": "string" + } + }, + "required": [ + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::Topic.Subscription": { + "additionalProperties": false, + "properties": { + "Endpoint": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Endpoint", + "Protocol" ], "type": "object" }, - "AWS::EC2::Host": { + "AWS::SNS::TopicInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37465,28 +29792,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoPlacement": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "HostRecovery": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "InstanceType": { + "TopicArn": { "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "PolicyDocument", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Host" + "AWS::SNS::TopicInlinePolicy" ], "type": "string" }, @@ -37505,7 +29826,7 @@ ], "type": "object" }, - "AWS::EC2::IPAM": { + "AWS::SNS::TopicPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37537,27 +29858,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "OperatingRegions": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Topics": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, + "required": [ + "PolicyDocument", + "Topics" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAM" + "AWS::SNS::TopicPolicy" ], "type": "string" }, @@ -37571,23 +29890,12 @@ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::IPAM.IpamOperatingRegion": { - "additionalProperties": false, - "properties": { - "RegionName": { - "type": "string" - } - }, - "required": [ - "RegionName" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::IPAMAllocation": { + "AWS::SQS::Queue": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37619,27 +29927,63 @@ "Properties": { "additionalProperties": false, "properties": { - "Cidr": { + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DeduplicationScope": { "type": "string" }, - "Description": { + "DelaySeconds": { + "type": "number" + }, + "FifoQueue": { + "type": "boolean" + }, + "FifoThroughputLimit": { "type": "string" }, - "IpamPoolId": { + "KmsDataKeyReusePeriodSeconds": { + "type": "number" + }, + "KmsMasterKeyId": { "type": "string" }, - "NetmaskLength": { + "MaximumMessageSize": { + "type": "number" + }, + "MessageRetentionPeriod": { + "type": "number" + }, + "QueueName": { + "type": "string" + }, + "ReceiveMessageWaitTimeSeconds": { + "type": "number" + }, + "RedriveAllowPolicy": { + "type": "object" + }, + "RedrivePolicy": { + "type": "object" + }, + "SqsManagedSseEnabled": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VisibilityTimeout": { "type": "number" } }, - "required": [ - "IpamPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMAllocation" + "AWS::SQS::Queue" ], "type": "string" }, @@ -37653,12 +29997,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::IPAMPool": { + "AWS::SQS::QueueInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37690,64 +30033,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AddressFamily": { - "type": "string" - }, - "AllocationDefaultNetmaskLength": { - "type": "number" - }, - "AllocationMaxNetmaskLength": { - "type": "number" - }, - "AllocationMinNetmaskLength": { - "type": "number" - }, - "AllocationResourceTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "AutoImport": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "IpamScopeId": { - "type": "string" - }, - "Locale": { - "type": "string" - }, - "ProvisionedCidrs": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" - }, - "type": "array" - }, - "PubliclyAdvertisable": { - "type": "boolean" + "PolicyDocument": { + "type": "object" }, - "SourceIpamPoolId": { + "Queue": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AddressFamily", - "IpamScopeId" + "PolicyDocument", + "Queue" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMPool" + "AWS::SQS::QueueInlinePolicy" ], "type": "string" }, @@ -37766,19 +30067,7 @@ ], "type": "object" }, - "AWS::EC2::IPAMPool.ProvisionedCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::IPAMScope": { + "AWS::SQS::QueuePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37810,30 +30099,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IpamId": { - "type": "string" - }, - "IpamScopeType": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Queues": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "IpamId" + "PolicyDocument", + "Queues" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMScope" + "AWS::SQS::QueuePolicy" ], "type": "string" }, @@ -37852,321 +30136,91 @@ ], "type": "object" }, - "AWS::EC2::Instance": { + "Parameter": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" + "AllowedPattern": { + "type": "string" }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AllowedValues": { + "type": "array" + }, + "ConstraintDescription": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Default": { + "type": "string" }, - "Metadata": { - "type": "object" + "Description": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "string" - }, - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" - }, - "type": "array" - }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" - }, - "type": "array" - }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" - }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" - }, - "type": "array" - }, - "Monitoring": { - "type": "boolean" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" - }, - "type": "array" - }, - "PlacementGroupName": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PropagateTagsToVolumeOnCreation": { - "type": "boolean" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SsmAssociations": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "UserData": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::Instance.AssociationParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EC2::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::Instance.Ebs" - }, - "NoDevice": { - "$ref": "#/definitions/AWS::EC2::Instance.NoDevice" - }, - "VirtualName": { + "MaxLength": { "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::Instance.CpuOptions": { - "additionalProperties": false, - "properties": { - "CoreCount": { - "type": "number" }, - "ThreadsPerCore": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.CreditSpecification": { - "additionalProperties": false, - "properties": { - "CPUCredits": { + "MaxValue": { "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.Ebs": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" }, - "KmsKeyId": { + "MinLength": { "type": "string" }, - "SnapshotId": { + "MinValue": { "type": "string" }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.ElasticGpuSpecification": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::Instance.ElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" + "NoEcho": { + "type": [ + "string", + "boolean" + ] }, "Type": { + "enum": [ + "String", + "Number", + "List\u003cNumber\u003e", + "CommaDelimitedList", + "AWS::EC2::AvailabilityZone::Name", + "AWS::EC2::Image::Id", + "AWS::EC2::Instance::Id", + "AWS::EC2::KeyPair::KeyName", + "AWS::EC2::SecurityGroup::GroupName", + "AWS::EC2::SecurityGroup::Id", + "AWS::EC2::Subnet::Id", + "AWS::EC2::Volume::Id", + "AWS::EC2::VPC::Id", + "AWS::Route53::HostedZone::Id", + "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "List\u003cAWS::EC2::Image::Id\u003e", + "List\u003cAWS::EC2::Instance::Id\u003e", + "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "List\u003cAWS::EC2::SecurityGroup::Id\u003e", + "List\u003cAWS::EC2::Subnet::Id\u003e", + "List\u003cAWS::EC2::Volume::Id\u003e", + "List\u003cAWS::EC2::VPC::Id\u003e", + "List\u003cAWS::Route53::HostedZone::Id\u003e", + "List\u003cString\u003e", + "AWS::SSM::Parameter::Name", + "AWS::SSM::Parameter::Value\u003cString\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" + ], "type": "string" } }, @@ -38175,85637 +30229,642 @@ ], "type": "object" }, - "AWS::EC2::Instance.EnclaveOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::Instance.LaunchTemplateSpecification": { + "Tag": { "additionalProperties": false, "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { + "Key": { "type": "string" }, - "Version": { + "Value": { "type": "string" } }, "required": [ - "Version" + "Key", + "Value" ], "type": "object" - }, - "AWS::EC2::Instance.LicenseSpecification": { - "additionalProperties": false, - "properties": { - "LicenseConfigurationArn": { - "type": "string" - } - }, - "required": [ - "LicenseConfigurationArn" + } + }, + "properties": { + "AWSTemplateFormatVersion": { + "enum": [ + "2010-09-09" ], - "type": "object" + "type": "string" }, - "AWS::EC2::Instance.NetworkInterface": { + "Conditions": { "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" } }, - "required": [ - "DeviceIndex" - ], - "type": "object" - }, - "AWS::EC2::Instance.NoDevice": { - "additionalProperties": false, - "properties": {}, "type": "object" }, - "AWS::EC2::Instance.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" + "Description": { + "description": "Template description", + "maxLength": 1024, + "type": "string" }, - "AWS::EC2::Instance.SsmAssociation": { + "Mappings": { "additionalProperties": false, - "properties": { - "AssociationParameters": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" - }, - "type": "array" - }, - "DocumentName": { - "type": "string" + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" } }, - "required": [ - "DocumentName" - ], "type": "object" }, - "AWS::EC2::Instance.Volume": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "VolumeId" - ], + "Metadata": { "type": "object" }, - "AWS::EC2::InternetGateway": { + "Outputs": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::InternetGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::LaunchTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LaunchTemplateData": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" - }, - "LaunchTemplateName": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LaunchTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::LaunchTemplate.AcceleratorCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { - "additionalProperties": false, - "properties": { - "CapacityReservationPreference": { - "type": "string" - }, - "CapacityReservationTarget": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { - "additionalProperties": false, - "properties": { - "CapacityReservationId": { - "type": "string" - }, - "CapacityReservationResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CpuOptions": { - "additionalProperties": false, - "properties": { - "CoreCount": { - "type": "number" - }, - "ThreadsPerCore": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.CreditSpecification": { - "additionalProperties": false, - "properties": { - "CpuCredits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Ebs": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.EnclaveOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.IamInstanceProfile": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { - "additionalProperties": false, - "properties": { - "MarketType": { - "type": "string" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Ipv6Add": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateData": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" - }, - "type": "array" - }, - "CapacityReservationSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" - }, - "type": "array" - }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" - }, - "type": "array" - }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceMarketOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" - }, - "type": "array" - }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" - }, - "RamDiskId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LicenseSpecification": { - "additionalProperties": false, - "properties": { - "LicenseConfigurationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpProtocolIpv6": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Monitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterface": { - "additionalProperties": false, - "properties": { - "AssociateCarrierIpAddress": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" - }, - "type": "array" - }, - "NetworkCardIndex": { - "type": "number" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.Placement": { - "additionalProperties": false, - "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.PrivateIpAdd": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.SpotOptions": { - "additionalProperties": false, - "properties": { - "BlockDurationMinutes": { - "type": "number" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "SpotInstanceType": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.VCpuCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LocalGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "LocalGatewayRouteTableId": { - "type": "string" - }, - "LocalGatewayVirtualInterfaceGroupId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "LocalGatewayRouteTableId", - "LocalGatewayVirtualInterfaceGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LocalGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LocalGatewayRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LocalGatewayRouteTableVPCAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NatGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "ConnectivityType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NatGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAcl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAcl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAclEntry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "Icmp": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "NetworkAclId": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "required": [ - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAclEntry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkAclEntry.Icmp": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Type": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkAclEntry.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterInArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkInsightsPathId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "NetworkInsightsPathId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsAnalysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "ComponentId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "Protocol": { - "type": "string" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "number" - }, - "LoadBalancerPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "Instance": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { - "additionalProperties": false, - "properties": { - "DestinationAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SourceAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { - "additionalProperties": false, - "properties": { - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Origin": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - }, - "destinationCidr": { - "type": "string" - }, - "destinationPrefixListId": { - "type": "string" - }, - "egressOnlyInternetGatewayId": { - "type": "string" - }, - "gatewayId": { - "type": "string" - }, - "instanceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "PrefixListId": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.Explanation": { - "additionalProperties": false, - "properties": { - "Acl": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Address": { - "type": "string" - }, - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AttachedTo": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClassicLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "CustomerGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Destination": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Direction": { - "type": "string" - }, - "ElasticLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "ExplanationCode": { - "type": "string" - }, - "IngressRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InternetGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerArn": { - "type": "string" - }, - "LoadBalancerListenerPort": { - "type": "number" - }, - "LoadBalancerTarget": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" - }, - "LoadBalancerTargetGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerTargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "LoadBalancerTargetPort": { - "type": "number" - }, - "MissingComponent": { - "type": "string" - }, - "NatGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "NetworkInterface": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "PacketField": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "PrefixList": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Protocols": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "State": { - "type": "string" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SubnetRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpcPeeringConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "vpcEndpoint": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { - "additionalProperties": false, - "properties": { - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "OutboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SequenceNumber": { - "type": "number" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsPath": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationIp": { - "type": "string" - }, - "DestinationPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourceIp": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Destination", - "Protocol", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsPath" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" - }, - "type": "array" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "DeviceIndex": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "DeviceIndex", - "InstanceId", - "NetworkInterfaceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfaceAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterfacePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "NetworkInterfaceId", - "Permission" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfacePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PlacementGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Strategy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PlacementGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::PrefixList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddressFamily": { - "type": "string" - }, - "Entries": { - "items": { - "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" - }, - "type": "array" - }, - "MaxEntries": { - "type": "number" - }, - "PrefixListName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddressFamily", - "MaxEntries", - "PrefixListName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PrefixList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PrefixList.Entry": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CarrierGatewayId": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationIpv6CidrBlock": { - "type": "string" - }, - "EgressOnlyInternetGatewayId": { - "type": "string" - }, - "GatewayId": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LocalGatewayId": { - "type": "string" - }, - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - } - }, - "required": [ - "RouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::RouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::RouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupDescription": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "SecurityGroupEgress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" - }, - "type": "array" - }, - "SecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Egress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupEgress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "GroupId", - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupEgress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SpotFleetRequestConfigData": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" - } - }, - "required": [ - "SpotFleetRequestConfigData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SpotFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancer": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" - }, - "type": "array" - } - }, - "required": [ - "ClassicLoadBalancers" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.GroupIdentifier": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateConfig": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" - }, - "TargetGroupsConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotCapacityRebalance": { - "additionalProperties": false, - "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" - }, - "ImageId": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" - }, - "type": "array" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "ImageId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetMonitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "IamFleetRole": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "LaunchSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" - }, - "type": "array" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" - }, - "type": "array" - }, - "LoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" - }, - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandMaxTotalPrice": { - "type": "string" - }, - "OnDemandTargetCapacity": { - "type": "number" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotMaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" - }, - "SpotMaxTotalPrice": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - }, - "TargetCapacityUnitType": { - "type": "string" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "IamFleetRole", - "TargetCapacity" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { - "additionalProperties": false, - "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotPlacement": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroupsConfig": { - "additionalProperties": false, - "properties": { - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" - }, - "type": "array" - } - }, - "required": [ - "TargetGroups" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Subnet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssignIpv6AddressOnCreation": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "MapPublicIpOnLaunch": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "CidrBlock", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Subnet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ipv6CidrBlock": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "Ipv6CidrBlock", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetNetworkAclAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NetworkAclId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "NetworkAclId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetNetworkAclAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "RouteTableId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkServices": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationPortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - }, - "SourceCidrBlock": { - "type": "string" - }, - "SourcePortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "TrafficDirection": { - "type": "string" - }, - "TrafficMirrorFilterId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "RuleAction", - "RuleNumber", - "SourceCidrBlock", - "TrafficDirection", - "TrafficMirrorFilterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilterRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorSession": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PacketLength": { - "type": "number" - }, - "SessionNumber": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrafficMirrorFilterId": { - "type": "string" - }, - "TrafficMirrorTargetId": { - "type": "string" - }, - "VirtualNetworkId": { - "type": "number" - } - }, - "required": [ - "NetworkInterfaceId", - "SessionNumber", - "TrafficMirrorFilterId", - "TrafficMirrorTargetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorSession" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "NetworkLoadBalancerArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SubnetIds", - "TransitGatewayId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "required": [ - "Options", - "TransportTransitGatewayAttachmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayConnect" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomainAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "SubnetId", - "TransitGatewayAttachmentId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomainAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupMember": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupMember" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "PeerAccountId", - "PeerRegion", - "PeerTransitGatewayId", - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayPeeringAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions": { - "additionalProperties": false, - "properties": { - "DynamicRouting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Blackhole": { - "type": "boolean" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTablePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTablePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayVpcAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Options": { - "type": "object" - }, - "RemoveSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayVpcAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "EnableDnsHostnames": { - "type": "boolean" - }, - "EnableDnsSupport": { - "type": "boolean" - }, - "InstanceTenancy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CidrBlock" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonProvidedIpv6CidrBlock": { - "type": "boolean" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "Ipv6Pool": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCDHCPOptionsAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DhcpOptionsId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCDHCPOptionsAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PrivateDnsEnabled": { - "type": "boolean" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointType": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ServiceName", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointConnectionNotification": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionNotificationArn": { - "type": "string" - }, - "ServiceId": { - "type": "string" - }, - "VPCEndpointId": { - "type": "string" - } - }, - "required": [ - "ConnectionEvents", - "ConnectionNotificationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointConnectionNotification" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointService": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "GatewayLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointService" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointServicePermissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPrincipals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointServicePermissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InternetGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCPeeringConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PeerOwnerId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerRoleArn": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "PeerVpcId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCPeeringConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" - }, - "type": "array" - } - }, - "required": [ - "CustomerGatewayId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "PreSharedKey": { - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::VPNConnectionRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnectionRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGatewayRoutePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "RouteTableIds", - "VpnGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGatewayRoutePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoEnableIO": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAttachEnabled": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Size": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Throughput": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VolumeAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "InstanceId", - "VolumeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VolumeAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::PublicRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RepositoryCatalogData": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::PublicRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyText": { - "type": "object" - } - }, - "required": [ - "PolicyText" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" - } - }, - "required": [ - "ReplicationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::ReplicationConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "required": [ - "Region", - "RegistryId" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationRule": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" - }, - "type": "array" - }, - "RepositoryFilters": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" - }, - "type": "array" - } - }, - "required": [ - "Destinations" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "FilterType": { - "type": "string" - } - }, - "required": [ - "Filter", - "FilterType" - ], - "type": "object" - }, - "AWS::ECR::Repository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" - }, - "ImageScanningConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" - }, - "ImageTagMutability": { - "type": "string" - }, - "LifecyclePolicy": { - "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::Repository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::Repository.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKey": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::ECR::Repository.ImageScanningConfiguration": { - "additionalProperties": false, - "properties": { - "ScanOnPush": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ECR::Repository.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "LifecyclePolicyText": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::CapacityProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupProvider": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.AutoScalingGroupProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AutoScalingGroupProvider" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::CapacityProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.AutoScalingGroupProvider": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupArn": { - "type": "string" - }, - "ManagedScaling": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.ManagedScaling" - }, - "ManagedTerminationProtection": { - "type": "string" - } - }, - "required": [ - "AutoScalingGroupArn" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.ManagedScaling": { - "additionalProperties": false, - "properties": { - "InstanceWarmupPeriod": { - "type": "number" - }, - "MaximumScalingStepSize": { - "type": "number" - }, - "MinimumScalingStepSize": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Cluster.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy" - }, - "type": "array" - } - }, - "required": [ - "CapacityProviders", - "Cluster", - "DefaultCapacityProviderStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::ClusterCapacityProviderAssociations" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::ECS::PrimaryTaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "Service": { - "type": "string" - }, - "TaskSetId": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskSetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::PrimaryTaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DeploymentConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentConfiguration" - }, - "DeploymentController": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentController" - }, - "DesiredCount": { - "type": "number" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "HealthCheckGracePeriodSeconds": { - "type": "number" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "Role": { - "type": "string" - }, - "SchedulingStrategy": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.ServiceRegistry" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::Service.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentCircuitBreaker": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "Rollback": { - "type": "boolean" - } - }, - "required": [ - "Enable", - "Rollback" - ], - "type": "object" - }, - "AWS::ECS::Service.DeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentCircuitBreaker": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentCircuitBreaker" - }, - "MaximumPercent": { - "type": "number" - }, - "MinimumHealthyPercent": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentController": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsvpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Service.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerDefinitions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDefinition" - }, - "type": "array" - }, - "Cpu": { - "type": "string" - }, - "EphemeralStorage": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EphemeralStorage" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "InferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.InferenceAccelerator" - }, - "type": "array" - }, - "IpcMode": { - "type": "string" - }, - "Memory": { - "type": "string" - }, - "NetworkMode": { - "type": "string" - }, - "PidMode": { - "type": "string" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint" - }, - "type": "array" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ProxyConfiguration" - }, - "RequiresCompatibilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuntimePlatform": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RuntimePlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskRoleArn": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "IAM": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cpu": { - "type": "number" - }, - "DependsOn": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDependency" - }, - "type": "array" - }, - "DisableNetworking": { - "type": "boolean" - }, - "DnsSearchDomains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DockerLabels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DockerSecurityOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "EnvironmentFiles": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EnvironmentFile" - }, - "type": "array" - }, - "Essential": { - "type": "boolean" - }, - "ExtraHosts": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostEntry" - }, - "type": "array" - }, - "FirelensConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.FirelensConfiguration" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HealthCheck" - }, - "Hostname": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "Interactive": { - "type": "boolean" - }, - "Links": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MemoryReservation": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.MountPoint" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PortMappings": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.PortMapping" - }, - "type": "array" - }, - "Privileged": { - "type": "boolean" - }, - "PseudoTerminal": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "RepositoryCredentials": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RepositoryCredentials" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - }, - "StartTimeout": { - "type": "number" - }, - "StopTimeout": { - "type": "number" - }, - "SystemControls": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.SystemControl" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "VolumesFrom": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.VolumeFrom" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDependency": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "ContainerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.DockerVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Autoprovision": { - "type": "boolean" - }, - "Driver": { - "type": "string" - }, - "DriverOpts": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Labels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Scope": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EFSVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "type": "object" - }, - "FilesystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FilesystemId" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.EnvironmentFile": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EphemeralStorage": { - "additionalProperties": false, - "properties": { - "SizeInGiB": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.FirelensConfiguration": { - "additionalProperties": false, - "properties": { - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HealthCheck": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Interval": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "StartPeriod": { - "type": "number" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostEntry": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "IpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostVolumeProperties": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.InferenceAccelerator": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KernelCapabilities": { - "additionalProperties": false, - "properties": { - "Add": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Drop": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Capabilities": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KernelCapabilities" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.MountPoint": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.PortMapping": { - "additionalProperties": false, - "properties": { - "ContainerPort": { - "type": "number" - }, - "HostPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ProxyConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RepositoryCredentials": { - "additionalProperties": false, - "properties": { - "CredentialsParameter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RuntimePlatform": { - "additionalProperties": false, - "properties": { - "CpuArchitecture": { - "type": "string" - }, - "OperatingSystemFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.SystemControl": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "Size" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Volume": { - "additionalProperties": false, - "properties": { - "DockerVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.DockerVolumeConfiguration" - }, - "EFSVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EFSVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostVolumeProperties" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.VolumeFrom": { - "additionalProperties": false, - "properties": { - "ReadOnly": { - "type": "boolean" - }, - "SourceContainer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.NetworkConfiguration" - }, - "PlatformVersion": { - "type": "string" - }, - "Scale": { - "$ref": "#/definitions/AWS::ECS::TaskSet.Scale" - }, - "Service": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.ServiceRegistry" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.Scale": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPointTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.AccessPointTag" - }, - "type": "array" - }, - "ClientToken": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "PosixUser": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.PosixUser" - }, - "RootDirectory": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.RootDirectory" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.AccessPointTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint.CreationInfo": { - "additionalProperties": false, - "properties": { - "OwnerGid": { - "type": "string" - }, - "OwnerUid": { - "type": "string" - }, - "Permissions": { - "type": "string" - } - }, - "required": [ - "OwnerGid", - "OwnerUid", - "Permissions" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.PosixUser": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "string" - }, - "SecondaryGids": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Uid": { - "type": "string" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.RootDirectory": { - "additionalProperties": false, - "properties": { - "CreationInfo": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.CreationInfo" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneName": { - "type": "string" - }, - "BackupPolicy": { - "$ref": "#/definitions/AWS::EFS::FileSystem.BackupPolicy" - }, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "FileSystemPolicy": { - "type": "object" - }, - "FileSystemTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.ElasticFileSystemTag" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecyclePolicies": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.LifecyclePolicy" - }, - "type": "array" - }, - "PerformanceMode": { - "type": "string" - }, - "ProvisionedThroughputInMibps": { - "type": "number" - }, - "ThroughputMode": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.BackupPolicy": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.ElasticFileSystemTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "TransitionToIA": { - "type": "string" - }, - "TransitionToPrimaryStorageClass": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::MountTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "type": "string" - }, - "IpAddress": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FileSystemId", - "SecurityGroups", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::MountTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Addon": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddonName": { - "type": "string" - }, - "AddonVersion": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "ResolveConflicts": { - "type": "string" - }, - "ServiceAccountRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddonName", - "ClusterName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Addon" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfig": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" - }, - "type": "array" - }, - "KubernetesNetworkConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" - }, - "Logging": { - "$ref": "#/definitions/AWS::EKS::Cluster.Logging" - }, - "Name": { - "type": "string" - }, - "ResourcesVpcConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ResourcesVpcConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster.ClusterLogging": { - "additionalProperties": false, - "properties": { - "EnabledTypes": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.EncryptionConfig": { - "additionalProperties": false, - "properties": { - "Provider": { - "type": "object" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.KubernetesNetworkConfig": { - "additionalProperties": false, - "properties": { - "IpFamily": { - "type": "string" - }, - "ServiceIpv4Cidr": { - "type": "string" - }, - "ServiceIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.Logging": { - "additionalProperties": false, - "properties": { - "ClusterLogging": { - "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.LoggingTypeConfig": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.ResourcesVpcConfig": { - "additionalProperties": false, - "properties": { - "EndpointPrivateAccess": { - "type": "boolean" - }, - "EndpointPublicAccess": { - "type": "boolean" - }, - "PublicAccessCidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SubnetIds" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "FargateProfileName": { - "type": "string" - }, - "PodExecutionRoleArn": { - "type": "string" - }, - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ClusterName", - "PodExecutionRoleArn", - "Selectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::FargateProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Label": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Selector": { - "additionalProperties": false, - "properties": { - "Labels": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" - }, - "type": "array" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmiType": { - "type": "string" - }, - "CapacityType": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "DiskSize": { - "type": "number" - }, - "ForceUpdateEnabled": { - "type": "boolean" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Labels": { - "type": "object" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" - }, - "NodeRole": { - "type": "string" - }, - "NodegroupName": { - "type": "string" - }, - "ReleaseVersion": { - "type": "string" - }, - "RemoteAccess": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" - }, - "ScalingConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Taints": { - "items": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" - }, - "type": "array" - }, - "UpdateConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "NodeRole", - "Subnets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Nodegroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.RemoteAccess": { - "additionalProperties": false, - "properties": { - "Ec2SshKey": { - "type": "string" - }, - "SourceSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Ec2SshKey" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.ScalingConfig": { - "additionalProperties": false, - "properties": { - "DesiredSize": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.Taint": { - "additionalProperties": false, - "properties": { - "Effect": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.UpdateConfig": { - "additionalProperties": false, - "properties": { - "MaxUnavailable": { - "type": "number" - }, - "MaxUnavailablePercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "object" - }, - "Applications": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Application" - }, - "type": "array" - }, - "AutoScalingRole": { - "type": "string" - }, - "BootstrapActions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.BootstrapActionConfig" - }, - "type": "array" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsRootVolumeSize": { - "type": "number" - }, - "Instances": { - "$ref": "#/definitions/AWS::EMR::Cluster.JobFlowInstancesConfig" - }, - "JobFlowRole": { - "type": "string" - }, - "KerberosAttributes": { - "$ref": "#/definitions/AWS::EMR::Cluster.KerberosAttributes" - }, - "LogEncryptionKmsKeyId": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "ManagedScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.ManagedScalingPolicy" - }, - "Name": { - "type": "string" - }, - "ReleaseLabel": { - "type": "string" - }, - "ScaleDownBehavior": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "StepConcurrencyLevel": { - "type": "number" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - }, - "required": [ - "Instances", - "JobFlowRole", - "Name", - "ServiceRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Application": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::Cluster.BootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ScriptBootstrapAction": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScriptBootstrapActionConfig" - } - }, - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "type": "object" - }, - "AWS::EMR::Cluster.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ComputeLimits": { - "additionalProperties": false, - "properties": { - "MaximumCapacityUnits": { - "type": "number" - }, - "MaximumCoreCapacityUnits": { - "type": "number" - }, - "MaximumOnDemandCapacityUnits": { - "type": "number" - }, - "MinimumCapacityUnits": { - "type": "number" - }, - "UnitType": { - "type": "string" - } - }, - "required": [ - "MaximumCapacityUnits", - "MinimumCapacityUnits", - "UnitType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::Cluster.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.JobFlowInstancesConfig": { - "additionalProperties": false, - "properties": { - "AdditionalMasterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSlaveSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CoreInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "CoreInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Ec2KeyName": { - "type": "string" - }, - "Ec2SubnetId": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmrManagedMasterSecurityGroup": { - "type": "string" - }, - "EmrManagedSlaveSecurityGroup": { - "type": "string" - }, - "HadoopVersion": { - "type": "string" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "MasterInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "MasterInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Placement": { - "$ref": "#/definitions/AWS::EMR::Cluster.PlacementType" - }, - "ServiceAccessSecurityGroup": { - "type": "string" - }, - "TerminationProtected": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.KerberosAttributes": { - "additionalProperties": false, - "properties": { - "ADDomainJoinPassword": { - "type": "string" - }, - "ADDomainJoinUser": { - "type": "string" - }, - "CrossRealmTrustPrincipalPassword": { - "type": "string" - }, - "KdcAdminPassword": { - "type": "string" - }, - "Realm": { - "type": "string" - } - }, - "required": [ - "KdcAdminPassword", - "Realm" - ], - "type": "object" - }, - "AWS::EMR::Cluster.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.ManagedScalingPolicy": { - "additionalProperties": false, - "properties": { - "ComputeLimits": { - "$ref": "#/definitions/AWS::EMR::Cluster.ComputeLimits" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::Cluster.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::Cluster.PlacementType": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::Cluster.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScriptBootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::Cluster.StepConfig": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Cluster.HadoopJarStepConfig" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "HadoopJarStep", - "Name" - ], - "type": "object" - }, - "AWS::EMR::Cluster.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "InstanceFleetType": { - "type": "string" - }, - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "required": [ - "ClusterId", - "InstanceFleetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceFleetConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobFlowId": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceRole", - "InstanceType", - "JobFlowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceGroupConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "object" - } - }, - "required": [ - "SecurityConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Step.HadoopJarStepConfig" - }, - "JobFlowId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ActionOnFailure", - "HadoopJarStep", - "JobFlowId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Step" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Step.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Step.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthMode": { - "type": "string" - }, - "DefaultS3Location": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineSecurityGroupId": { - "type": "string" - }, - "IdpAuthUrl": { - "type": "string" - }, - "IdpRelayStateParameterName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserRole": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "WorkspaceSecurityGroupId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultS3Location", - "EngineSecurityGroupId", - "Name", - "ServiceRole", - "SubnetIds", - "VpcId", - "WorkspaceSecurityGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::StudioSessionMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - }, - "IdentityType": { - "type": "string" - }, - "SessionPolicyArn": { - "type": "string" - }, - "StudioId": { - "type": "string" - } - }, - "required": [ - "IdentityName", - "IdentityType", - "SessionPolicyArn", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::StudioSessionMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerProvider": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerProvider", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMRContainers::VirtualCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Info": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerInfo" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Id", - "Info", - "Type" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AZMode": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheNodes": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredAvailabilityZone": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CacheNodeType", - "Engine", - "NumCacheNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::CacheCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalNodeGroupCount": { - "type": "number" - }, - "GlobalReplicationGroupDescription": { - "type": "string" - }, - "GlobalReplicationGroupIdSuffix": { - "type": "string" - }, - "Members": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember" - }, - "type": "array" - }, - "RegionalConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Members" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::GlobalReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "Role": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "ReshardingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheParameterGroupFamily": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Properties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CacheParameterGroupFamily", - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "AuthToken": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "DataTieringEnabled": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalReplicationGroupId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "MultiAZEnabled": { - "type": "boolean" - }, - "NodeGroupConfiguration": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheClusters": { - "type": "number" - }, - "NumNodeGroups": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredCacheClusterAZs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PrimaryClusterId": { - "type": "string" - }, - "ReplicasPerNodeGroup": { - "type": "number" - }, - "ReplicationGroupDescription": { - "type": "string" - }, - "ReplicationGroupId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnapshottingClusterId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "UserGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ReplicationGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PrimaryAvailabilityZone": { - "type": "string" - }, - "ReplicaAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ReplicaCount": { - "type": "number" - }, - "Slots": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSubnetGroupName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "NoPasswordRequired": { - "type": "boolean" - }, - "Passwords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserId": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Engine", - "UserId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::UserGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Engine": { - "type": "string" - }, - "UserGroupId": { - "type": "string" - }, - "UserIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine", - "UserGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::UserGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ResourceLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "ServiceRole": { - "type": "string" - }, - "VersionLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig": { - "additionalProperties": false, - "properties": { - "MaxAgeRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxAgeRule" - }, - "MaxCountRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxCountRule" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxAgeRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxAgeInDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxCountRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SourceBundle": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle" - } - }, - "required": [ - "ApplicationName", - "SourceBundle" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentId": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ConfigurationTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ApplicationName", - "TemplateName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CNAMEPrefix": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentName": { - "type": "string" - }, - "OperationsRole": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.OptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateName": { - "type": "string" - }, - "Tier": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.Tier" - }, - "VersionLabel": { - "type": "string" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.OptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.Tier": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" - }, - "AppCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionDrainingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" - }, - "ConnectionSettings": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" - }, - "CrossZone": { - "type": "boolean" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" - }, - "Instances": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LBCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" - }, - "type": "array" - }, - "LoadBalancerName": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" - }, - "type": "array" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancing::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { - "additionalProperties": false, - "properties": { - "EmitInterval": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3BucketPrefix": { - "type": "string" - } - }, - "required": [ - "Enabled", - "S3BucketName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieName": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "CookieName", - "PolicyName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { - "additionalProperties": false, - "properties": { - "IdleTimeout": { - "type": "number" - } - }, - "required": [ - "IdleTimeout" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "string" - }, - "Interval": { - "type": "string" - }, - "Target": { - "type": "string" - }, - "Timeout": { - "type": "string" - }, - "UnhealthyThreshold": { - "type": "string" - } - }, - "required": [ - "HealthyThreshold", - "Interval", - "Target", - "Timeout", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieExpirationPeriod": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "string" - }, - "InstanceProtocol": { - "type": "string" - }, - "LoadBalancerPort": { - "type": "string" - }, - "PolicyNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SSLCertificateId": { - "type": "string" - } - }, - "required": [ - "InstancePort", - "LoadBalancerPort", - "Protocol" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "object" - }, - "type": "array" - }, - "InstancePorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoadBalancerPorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - } - }, - "required": [ - "Attributes", - "PolicyName", - "PolicyType" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlpnPolicy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" - }, - "type": "array" - }, - "DefaultActions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" - }, - "type": "array" - }, - "LoadBalancerArn": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "SslPolicy": { - "type": "string" - } - }, - "required": [ - "DefaultActions", - "LoadBalancerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "TokenEndpoint": { - "type": "string" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - } - }, - "required": [ - "Certificates", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" - }, - "type": "array" - }, - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Actions", - "Conditions", - "ListenerArn", - "Priority" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "TokenEndpoint": { - "type": "string" - }, - "UseExistingClientSecret": { - "type": "boolean" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { - "additionalProperties": false, - "properties": { - "HttpHeaderName": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "HostHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" - }, - "HttpHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" - }, - "HttpRequestMethodConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" - }, - "PathPatternConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" - }, - "QueryStringConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" - }, - "SourceIpConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IpAddressType": { - "type": "string" - }, - "LoadBalancerAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "IPv6Address": { - "type": "string" - }, - "PrivateIPv4Address": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckEnabled": { - "type": "boolean" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "string" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "HealthCheckTimeoutSeconds": { - "type": "number" - }, - "HealthyThresholdCount": { - "type": "number" - }, - "IpAddressType": { - "type": "string" - }, - "Matcher": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "ProtocolVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetGroupAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" - }, - "type": "array" - }, - "UnhealthyThresholdCount": { - "type": "number" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::TargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { - "additionalProperties": false, - "properties": { - "GrpcCode": { - "type": "string" - }, - "HttpCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EBSOptions" - }, - "ElasticsearchClusterConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ElasticsearchClusterConfig" - }, - "ElasticsearchVersion": { - "type": "string" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EncryptionAtRestOptions" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Elasticsearch::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ColdStorageOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ElasticsearchClusterConfig": { - "additionalProperties": false, - "properties": { - "ColdStorageOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ColdStorageOptions" - }, - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EventSchemas::Discoverer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CrossAccount": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Discoverer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Discoverer.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Registry.TagsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Policy": { - "type": "object" - }, - "RegistryName": { - "type": "string" - }, - "RevisionId": { - "type": "string" - } - }, - "required": [ - "Policy", - "RegistryName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "SchemaName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Schema.TagsEntry" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Content", - "RegistryName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Events::ApiDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HttpMethod": { - "type": "string" - }, - "InvocationEndpoint": { - "type": "string" - }, - "InvocationRateLimitPerSecond": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ConnectionArn", - "HttpMethod", - "InvocationEndpoint" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::ApiDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Archive": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArchiveName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "RetentionDays": { - "type": "number" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Archive" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthParameters": { - "type": "object" - }, - "AuthorizationType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "AuthParameters", - "AuthorizationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBus": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EventSourceName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBus" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Condition": { - "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" - }, - "EventBusName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "Statement": { - "type": "object" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBusPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy.Condition": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventBusName": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Events::Rule.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchArrayProperties": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.BatchParameters": { - "additionalProperties": false, - "properties": { - "ArrayProperties": { - "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" - }, - "JobDefinition": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" - } - }, - "required": [ - "JobDefinition", - "JobName" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchRetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::Events::Rule.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.EcsParameters": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "Group": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "ReferenceId": { - "type": "string" - }, - "TagList": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskCount": { - "type": "number" - }, - "TaskDefinitionArn": { - "type": "string" - } - }, - "required": [ - "TaskDefinitionArn" - ], - "type": "object" - }, - "AWS::Events::Rule.HttpParameters": { - "additionalProperties": false, - "properties": { - "HeaderParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "PathParameterValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QueryStringParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Events::Rule.InputTransformer": { - "additionalProperties": false, - "properties": { - "InputPathsMap": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "InputTemplate": { - "type": "string" - } - }, - "required": [ - "InputTemplate" - ], - "type": "object" - }, - "AWS::Events::Rule.KinesisParameters": { - "additionalProperties": false, - "properties": { - "PartitionKeyPath": { - "type": "string" - } - }, - "required": [ - "PartitionKeyPath" - ], - "type": "object" - }, - "AWS::Events::Rule.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RedshiftDataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "Sql": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WithEvent": { - "type": "boolean" - } - }, - "required": [ - "Database", - "Sql" - ], - "type": "object" - }, - "AWS::Events::Rule.RetryPolicy": { - "additionalProperties": false, - "properties": { - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RunCommandParameters": { - "additionalProperties": false, - "properties": { - "RunCommandTargets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" - }, - "type": "array" - } - }, - "required": [ - "RunCommandTargets" - ], - "type": "object" - }, - "AWS::Events::Rule.RunCommandTarget": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::Events::Rule.SqsParameters": { - "additionalProperties": false, - "properties": { - "MessageGroupId": { - "type": "string" - } - }, - "required": [ - "MessageGroupId" - ], - "type": "object" - }, - "AWS::Events::Rule.Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.Target": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "BatchParameters": { - "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" - }, - "EcsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" - }, - "HttpParameters": { - "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" - }, - "Id": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "InputTransformer": { - "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" - }, - "KinesisParameters": { - "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" - }, - "RedshiftDataParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" - }, - "RoleArn": { - "type": "string" - }, - "RunCommandParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" - }, - "SqsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" - } - }, - "required": [ - "Arn", - "Id" - ], - "type": "object" - }, - "AWS::Evidently::Experiment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MetricGoals": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.MetricGoalObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OnlineAbConfig": { - "$ref": "#/definitions/AWS::Evidently::Experiment.OnlineAbConfigObject" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "SamplingRate": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Treatments": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentObject" - }, - "type": "array" - } - }, - "required": [ - "MetricGoals", - "Name", - "OnlineAbConfig", - "Project", - "Treatments" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Experiment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.MetricGoalObject": { - "additionalProperties": false, - "properties": { - "DesiredChange": { - "type": "string" - }, - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "DesiredChange", - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.OnlineAbConfigObject": { - "additionalProperties": false, - "properties": { - "ControlTreatmentName": { - "type": "string" - }, - "TreatmentWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentToWeight" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "TreatmentName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentToWeight": { - "additionalProperties": false, - "properties": { - "SplitWeight": { - "type": "number" - }, - "Treatment": { - "type": "string" - } - }, - "required": [ - "SplitWeight", - "Treatment" - ], - "type": "object" - }, - "AWS::Evidently::Feature": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultVariation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityOverrides": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.EntityOverride" - }, - "type": "array" - }, - "EvaluationStrategy": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Variations": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.VariationObject" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Project", - "Variations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Feature" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Feature.EntityOverride": { - "additionalProperties": false, - "properties": { - "EntityId": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Feature.VariationObject": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "boolean" - }, - "DoubleValue": { - "type": "number" - }, - "LongValue": { - "type": "number" - }, - "StringValue": { - "type": "string" - }, - "VariationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Launch": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.LaunchGroupObject" - }, - "type": "array" - }, - "MetricMonitors": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.MetricDefinitionObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "ScheduledSplitsConfig": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Groups", - "Name", - "Project", - "ScheduledSplitsConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Launch" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Launch.GroupToWeight": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "SplitWeight": { - "type": "number" - } - }, - "required": [ - "GroupName", - "SplitWeight" - ], - "type": "object" - }, - "AWS::Evidently::Launch.LaunchGroupObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "GroupName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Launch.MetricDefinitionObject": { - "additionalProperties": false, - "properties": { - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Launch.StepConfig": { - "additionalProperties": false, - "properties": { - "GroupWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" - }, - "type": "array" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "GroupWeights", - "StartTime" - ], - "type": "object" - }, - "AWS::Evidently::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelivery": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Project.DataDeliveryObject": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - }, - "S3": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Evidently::Project.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateAction" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StopConditions": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Targets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget" - } - }, - "type": "object" - } - }, - "required": [ - "Description", - "RoleArn", - "StopConditions", - "Tags", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FIS::ExperimentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateAction": { - "additionalProperties": false, - "properties": { - "ActionId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "StartAfter": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "ActionId" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "SelectionMode": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "SelectionMode" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Path", - "Values" - ], - "type": "object" - }, - "AWS::FMS::NotificationChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SnsRoleName": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "SnsRoleName", - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::NotificationChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteAllPolicyResources": { - "type": "boolean" - }, - "ExcludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "ExcludeResourceTags": { - "type": "boolean" - }, - "IncludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "PolicyName": { - "type": "string" - }, - "RemediationEnabled": { - "type": "boolean" - }, - "ResourceTags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.ResourceTag" - }, - "type": "array" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourcesCleanUp": { - "type": "boolean" - }, - "SecurityServicePolicyData": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.PolicyTag" - }, - "type": "array" - } - }, - "required": [ - "ExcludeResourceTags", - "PolicyName", - "RemediationEnabled", - "ResourceType", - "SecurityServicePolicyData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy.IEMap": { - "additionalProperties": false, - "properties": { - "ACCOUNT": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ORGUNIT": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FMS::Policy.PolicyTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::FMS::Policy.ResourceTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::FSx::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BackupId": { - "type": "string" - }, - "FileSystemType": { - "type": "string" - }, - "FileSystemTypeVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LustreConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.LustreConfiguration" - }, - "OntapConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OntapConfiguration" - }, - "OpenZFSConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OpenZFSConfiguration" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageCapacity": { - "type": "number" - }, - "StorageType": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WindowsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.WindowsConfiguration" - } - }, - "required": [ - "FileSystemType", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FSx::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.AuditLogConfiguration": { - "additionalProperties": false, - "properties": { - "AuditLogDestination": { - "type": "string" - }, - "FileAccessAuditLogLevel": { - "type": "string" - }, - "FileShareAccessAuditLogLevel": { - "type": "string" - } - }, - "required": [ - "FileAccessAuditLogLevel", - "FileShareAccessAuditLogLevel" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.ClientConfigurations": { - "additionalProperties": false, - "properties": { - "Clients": { - "type": "string" - }, - "Options": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.DiskIopsConfiguration": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.LustreConfiguration": { - "additionalProperties": false, - "properties": { - "AutoImportPolicy": { - "type": "string" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DataCompressionType": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DriveCacheType": { - "type": "string" - }, - "ExportPath": { - "type": "string" - }, - "ImportPath": { - "type": "string" - }, - "ImportedFileChunkSize": { - "type": "number" - }, - "PerUnitStorageThroughput": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.NfsExports": { - "additionalProperties": false, - "properties": { - "ClientConfigurations": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.ClientConfigurations" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.OntapConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "EndpointIpAddressRange": { - "type": "string" - }, - "FsxAdminPassword": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.OpenZFSConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "CopyTagsToVolumes": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "RootVolumeConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.RootVolumeConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.RootVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "CopyTagsToSnapshots": { - "type": "boolean" - }, - "DataCompressionType": { - "type": "string" - }, - "NfsExports": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.NfsExports" - }, - "type": "array" - }, - "ReadOnly": { - "type": "boolean" - }, - "UserAndGroupQuotas": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.UserAndGroupQuotas" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "DnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainName": { - "type": "string" - }, - "FileSystemAdministratorsGroup": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.UserAndGroupQuotas": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "number" - }, - "StorageCapacityQuotaGiB": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.WindowsConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryId": { - "type": "string" - }, - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuditLogConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.AuditLogConfiguration" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "SelfManagedActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "ThroughputCapacity" - ], - "type": "object" - }, - "AWS::FinSpace::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataBundles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "FederationMode": { - "type": "string" - }, - "FederationParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.FederationParameters" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SuperuserParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.SuperuserParameters" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FinSpace::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FinSpace::Environment.FederationParameters": { - "additionalProperties": false, - "properties": { - "ApplicationCallBackURL": { - "type": "string" - }, - "AttributeMap": { - "type": "object" - }, - "FederationProviderName": { - "type": "string" - }, - "FederationURN": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "SamlMetadataURL": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FinSpace::Environment.SuperuserParameters": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": "string" - }, - "FirstName": { - "type": "string" - }, - "LastName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedModels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Model" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "DetectorVersionStatus": { - "type": "string" - }, - "EventType": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventType" - }, - "RuleExecutionMode": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Rule" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorId", - "EventType", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Detector.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventVariable" - }, - "type": "array" - }, - "Inline": { - "type": "boolean" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Label" - }, - "type": "array" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Model": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Outcome": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Rule": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Language": { - "type": "string" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Outcomes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Outcome" - }, - "type": "array" - }, - "RuleId": { - "type": "string" - }, - "RuleVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EntityType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EntityType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EventVariable" - }, - "type": "array" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.Label" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes", - "EventVariables", - "Labels", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EventType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Label": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Label" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Outcome": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Outcome" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Variable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "required": [ - "DataSource", - "DataType", - "DefaultValue", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Variable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoutingStrategy": { - "$ref": "#/definitions/AWS::GameLift::Alias.RoutingStrategy" - } - }, - "required": [ - "Name", - "RoutingStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias.RoutingStrategy": { - "additionalProperties": false, - "properties": { - "FleetId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Build.S3Location" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Build" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GameLift::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BuildId": { - "type": "string" - }, - "CertificateConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.CertificateConfiguration" - }, - "Description": { - "type": "string" - }, - "DesiredEC2Instances": { - "type": "number" - }, - "EC2InboundPermissions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.IpPermission" - }, - "type": "array" - }, - "EC2InstanceType": { - "type": "string" - }, - "FleetType": { - "type": "string" - }, - "InstanceRoleARN": { - "type": "string" - }, - "Locations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationConfiguration" - }, - "type": "array" - }, - "MaxSize": { - "type": "number" - }, - "MetricGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MinSize": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NewGameSessionProtectionPolicy": { - "type": "string" - }, - "PeerVpcAwsAccountId": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "ResourceCreationLimitPolicy": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ResourceCreationLimitPolicy" - }, - "RuntimeConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.RuntimeConfiguration" - }, - "ScriptId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.CertificateConfiguration": { - "additionalProperties": false, - "properties": { - "CertificateType": { - "type": "string" - } - }, - "required": [ - "CertificateType" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.IpPermission": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "IpRange": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "IpRange", - "Protocol", - "ToPort" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationCapacity": { - "additionalProperties": false, - "properties": { - "DesiredEC2Instances": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "required": [ - "DesiredEC2Instances", - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationConfiguration": { - "additionalProperties": false, - "properties": { - "Location": { - "type": "string" - }, - "LocationCapacity": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationCapacity" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.ResourceCreationLimitPolicy": { - "additionalProperties": false, - "properties": { - "NewGameSessionsPerCreator": { - "type": "number" - }, - "PolicyPeriodInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.RuntimeConfiguration": { - "additionalProperties": false, - "properties": { - "GameSessionActivationTimeoutSeconds": { - "type": "number" - }, - "MaxConcurrentGameSessionActivations": { - "type": "number" - }, - "ServerProcesses": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ServerProcess" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.ServerProcess": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutions": { - "type": "number" - }, - "LaunchPath": { - "type": "string" - }, - "Parameters": { - "type": "string" - } - }, - "required": [ - "ConcurrentExecutions", - "LaunchPath" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.AutoScalingPolicy" - }, - "BalancingStrategy": { - "type": "string" - }, - "DeleteOption": { - "type": "string" - }, - "GameServerGroupName": { - "type": "string" - }, - "GameServerProtectionPolicy": { - "type": "string" - }, - "InstanceDefinitions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.InstanceDefinition" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.LaunchTemplate" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSubnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GameServerGroupName", - "InstanceDefinitions", - "LaunchTemplate", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameServerGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "EstimatedInstanceWarmup": { - "type": "number" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.TargetTrackingConfiguration" - } - }, - "required": [ - "TargetTrackingConfiguration" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.InstanceDefinition": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameServerGroup.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomEventData": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.Destination" - }, - "type": "array" - }, - "FilterConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.FilterConfiguration" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "PlayerLatencyPolicies": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy" - }, - "type": "array" - }, - "PriorityConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PriorityConfiguration" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameSessionQueue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.Destination": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.FilterConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedLocations": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy": { - "additionalProperties": false, - "properties": { - "MaximumIndividualPlayerLatencyMilliseconds": { - "type": "number" - }, - "PolicyDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PriorityConfiguration": { - "additionalProperties": false, - "properties": { - "LocationOrder": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PriorityOrder": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "AcceptanceTimeoutSeconds": { - "type": "number" - }, - "AdditionalPlayerCount": { - "type": "number" - }, - "BackfillMode": { - "type": "string" - }, - "CustomEventData": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FlexMatchMode": { - "type": "string" - }, - "GameProperties": { - "items": { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration.GameProperty" - }, - "type": "array" - }, - "GameSessionData": { - "type": "string" - }, - "GameSessionQueueArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "RequestTimeoutSeconds": { - "type": "number" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "AcceptanceRequired", - "Name", - "RequestTimeoutSeconds", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration.GameProperty": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RuleSetBody": { - "type": "string" - } - }, - "required": [ - "Name", - "RuleSetBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Script.S3Location" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "StorageLocation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Script" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Accelerator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IpAddressType": { - "type": "string" - }, - "IpAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Accelerator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointConfigurations": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration" - }, - "type": "array" - }, - "EndpointGroupRegion": { - "type": "string" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "number" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "ListenerArn": { - "type": "string" - }, - "PortOverrides": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.PortOverride" - }, - "type": "array" - }, - "ThresholdCount": { - "type": "number" - }, - "TrafficDialPercentage": { - "type": "number" - } - }, - "required": [ - "EndpointGroupRegion", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::EndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "ClientIPPreservationEnabled": { - "type": "boolean" - }, - "EndpointId": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "EndpointId" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.PortOverride": { - "additionalProperties": false, - "properties": { - "EndpointPort": { - "type": "number" - }, - "ListenerPort": { - "type": "number" - } - }, - "required": [ - "EndpointPort", - "ListenerPort" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorArn": { - "type": "string" - }, - "ClientAffinity": { - "type": "string" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "AcceleratorArn", - "PortRanges", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::Glue::Classifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsvClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.CsvClassifier" - }, - "GrokClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.GrokClassifier" - }, - "JsonClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.JsonClassifier" - }, - "XMLClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.XMLClassifier" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Classifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Glue::Classifier.CsvClassifier": { - "additionalProperties": false, - "properties": { - "AllowSingleColumn": { - "type": "boolean" - }, - "ContainsHeader": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "DisableValueTrimming": { - "type": "boolean" - }, - "Header": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Classifier.GrokClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "CustomPatterns": { - "type": "string" - }, - "GrokPattern": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Classification", - "GrokPattern" - ], - "type": "object" - }, - "AWS::Glue::Classifier.JsonClassifier": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::Glue::Classifier.XMLClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RowTag": { - "type": "string" - } - }, - "required": [ - "Classification", - "RowTag" - ], - "type": "object" - }, - "AWS::Glue::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionInput": { - "$ref": "#/definitions/AWS::Glue::Connection.ConnectionInput" - } - }, - "required": [ - "CatalogId", - "ConnectionInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Connection.ConnectionInput": { - "additionalProperties": false, - "properties": { - "ConnectionProperties": { - "type": "object" - }, - "ConnectionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MatchCriteria": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PhysicalConnectionRequirements": { - "$ref": "#/definitions/AWS::Glue::Connection.PhysicalConnectionRequirements" - } - }, - "required": [ - "ConnectionType" - ], - "type": "object" - }, - "AWS::Glue::Connection.PhysicalConnectionRequirements": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Classifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Configuration": { - "type": "string" - }, - "CrawlerSecurityConfiguration": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecrawlPolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.RecrawlPolicy" - }, - "Role": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Glue::Crawler.Schedule" - }, - "SchemaChangePolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.SchemaChangePolicy" - }, - "TablePrefix": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Targets": { - "$ref": "#/definitions/AWS::Glue::Crawler.Targets" - } - }, - "required": [ - "Role", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Crawler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Crawler.CatalogTarget": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "Tables": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.DynamoDBTarget": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.JdbcTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.RecrawlPolicy": { - "additionalProperties": false, - "properties": { - "RecrawlBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.S3Target": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.SchemaChangePolicy": { - "additionalProperties": false, - "properties": { - "DeleteBehavior": { - "type": "string" - }, - "UpdateBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Targets": { - "additionalProperties": false, - "properties": { - "CatalogTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.CatalogTarget" - }, - "type": "array" - }, - "DynamoDBTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.DynamoDBTarget" - }, - "type": "array" - }, - "JdbcTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.JdbcTarget" - }, - "type": "array" - }, - "S3Targets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.S3Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DataCatalogEncryptionSettings": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings" - } - }, - "required": [ - "CatalogId", - "DataCatalogEncryptionSettings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DataCatalogEncryptionSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "ReturnConnectionPasswordEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "ConnectionPasswordEncryption": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption" - }, - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "CatalogEncryptionMode": { - "type": "string" - }, - "SseAwsKmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseInput": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseInput" - } - }, - "required": [ - "CatalogId", - "DatabaseInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Database.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseInput": { - "additionalProperties": false, - "properties": { - "CreateTableDefaultPermissions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Database.PrincipalPrivileges" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "TargetDatabase": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseIdentifier" - } - }, - "type": "object" - }, - "AWS::Glue::Database.PrincipalPrivileges": { - "additionalProperties": false, - "properties": { - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "$ref": "#/definitions/AWS::Glue::Database.DataLakePrincipal" - } - }, - "type": "object" - }, - "AWS::Glue::DevEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "EndpointName": { - "type": "string" - }, - "ExtraJarsS3Path": { - "type": "string" - }, - "ExtraPythonLibsS3Path": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "NumberOfWorkers": { - "type": "number" - }, - "PublicKey": { - "type": "string" - }, - "PublicKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DevEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/AWS::Glue::Job.JobCommand" - }, - "Connections": { - "$ref": "#/definitions/AWS::Glue::Job.ConnectionsList" - }, - "DefaultArguments": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/AWS::Glue::Job.ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Job.NotificationProperty" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "Command", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Job" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job.ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Job.ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Job.JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Job.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "InputRecordTables": { - "$ref": "#/definitions/AWS::Glue::MLTransform.InputRecordTables" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "TransformEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformEncryption" - }, - "TransformParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformParameters" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "InputRecordTables", - "Role", - "TransformParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::MLTransform" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.FindMatchesParameters": { - "additionalProperties": false, - "properties": { - "AccuracyCostTradeoff": { - "type": "number" - }, - "EnforceProvidedLabels": { - "type": "boolean" - }, - "PrecisionRecallTradeoff": { - "type": "number" - }, - "PrimaryKeyColumnName": { - "type": "string" - } - }, - "required": [ - "PrimaryKeyColumnName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.GlueTables": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.InputRecordTables": { - "additionalProperties": false, - "properties": { - "GlueTables": { - "items": { - "$ref": "#/definitions/AWS::Glue::MLTransform.GlueTables" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.MLUserDataEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MLUserDataEncryptionMode": { - "type": "string" - } - }, - "required": [ - "MLUserDataEncryptionMode" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.TransformEncryption": { - "additionalProperties": false, - "properties": { - "MLUserDataEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.MLUserDataEncryption" - }, - "TaskRunSecurityConfigurationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.TransformParameters": { - "additionalProperties": false, - "properties": { - "FindMatchesParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.FindMatchesParameters" - }, - "TransformType": { - "type": "string" - } - }, - "required": [ - "TransformType" - ], - "type": "object" - }, - "AWS::Glue::Partition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "PartitionInput": { - "$ref": "#/definitions/AWS::Glue::Partition.PartitionInput" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "PartitionInput", - "TableName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Partition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Partition.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Partition.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Glue::Partition.PartitionInput": { - "additionalProperties": false, - "properties": { - "Parameters": { - "type": "object" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Partition.StorageDescriptor" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Values" - ], - "type": "object" - }, - "AWS::Glue::Partition.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CheckpointVersion": { - "$ref": "#/definitions/AWS::Glue::Schema.SchemaVersion" - }, - "Compatibility": { - "type": "string" - }, - "DataFormat": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Registry": { - "$ref": "#/definitions/AWS::Glue::Schema.Registry" - }, - "SchemaDefinition": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Compatibility", - "DataFormat", - "Name", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema.Registry": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Schema.SchemaVersion": { - "additionalProperties": false, - "properties": { - "IsLatest": { - "type": "boolean" - }, - "VersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Schema": { - "$ref": "#/definitions/AWS::Glue::SchemaVersion.Schema" - }, - "SchemaDefinition": { - "type": "string" - } - }, - "required": [ - "Schema", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SchemaVersion.Schema": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersionMetadata": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "SchemaVersionId": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "SchemaVersionId", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersionMetadata" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.EncryptionConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "EncryptionConfiguration", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.CloudWatchEncryption": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.CloudWatchEncryption" - }, - "JobBookmarksEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.JobBookmarksEncryption" - }, - "S3Encryptions": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.S3Encryptions" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.JobBookmarksEncryption": { - "additionalProperties": false, - "properties": { - "JobBookmarksEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryption": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "S3EncryptionMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryptions": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Glue::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableInput": { - "$ref": "#/definitions/AWS::Glue::Table.TableInput" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "TableInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Table.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Table.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column", - "SortOrder" - ], - "type": "object" - }, - "AWS::Glue::Table.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Table.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableInput": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "PartitionKeys": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Retention": { - "type": "number" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Table.StorageDescriptor" - }, - "TableType": { - "type": "string" - }, - "TargetTable": { - "$ref": "#/definitions/AWS::Glue::Table.TableIdentifier" - }, - "ViewExpandedText": { - "type": "string" - }, - "ViewOriginalText": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Action" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::Glue::Trigger.Predicate" - }, - "Schedule": { - "type": "string" - }, - "StartOnCreation": { - "type": "boolean" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "WorkflowName": { - "type": "string" - } - }, - "required": [ - "Actions", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Trigger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Trigger.Action": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Trigger.NotificationProperty" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Condition": { - "additionalProperties": false, - "properties": { - "CrawlState": { - "type": "string" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "LogicalOperator": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Predicate": { - "additionalProperties": false, - "properties": { - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Condition" - }, - "type": "array" - }, - "Logical": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultRunProperties": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.Connector" - }, - "type": "array" - } - }, - "required": [ - "Connectors" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionId": { - "type": "string" - }, - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion.Connector" - }, - "type": "array" - } - }, - "required": [ - "ConnectorDefinitionId", - "Connectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.CoreDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.Core" - }, - "type": "array" - } - }, - "required": [ - "Cores" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CoreDefinitionId": { - "type": "string" - }, - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion.Core" - }, - "type": "array" - } - }, - "required": [ - "CoreDefinitionId", - "Cores" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.Device" - }, - "type": "array" - } - }, - "required": [ - "Devices" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceDefinitionId": { - "type": "string" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion.Device" - }, - "type": "array" - } - }, - "required": [ - "DeviceDefinitionId", - "Devices" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.DefaultConfig" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Function" - }, - "type": "array" - } - }, - "required": [ - "Functions" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig" - }, - "FunctionDefinitionId": { - "type": "string" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Function" - }, - "type": "array" - } - }, - "required": [ - "FunctionDefinitionId", - "Functions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::Group.GroupVersion" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::Group.GroupVersion": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Greengrass::GroupVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::GroupVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.Logger" - }, - "type": "array" - } - }, - "required": [ - "Loggers" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoggerDefinitionId": { - "type": "string" - }, - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion.Logger" - }, - "type": "array" - } - }, - "required": [ - "LoggerDefinitionId", - "Loggers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "Resources" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceDefinitionId": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "ResourceDefinitionId", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.Subscription" - }, - "type": "array" - } - }, - "required": [ - "Subscriptions" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubscriptionDefinitionId": { - "type": "string" - }, - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion.Subscription" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionDefinitionId", - "Subscriptions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InlineRecipe": { - "type": "string" - }, - "LambdaFunction": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GreengrassV2::ComponentVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement": { - "additionalProperties": false, - "properties": { - "DependencyType": { - "type": "string" - }, - "VersionRequirement": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentPlatform": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaContainerParams": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount" - }, - "type": "array" - }, - "MemorySizeInKB": { - "type": "number" - }, - "MountROSysfs": { - "type": "boolean" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaEventSource": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters": { - "additionalProperties": false, - "properties": { - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "EventSources": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaEventSource" - }, - "type": "array" - }, - "ExecArgs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InputPayloadEncodingType": { - "type": "string" - }, - "LinuxProcessParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams" - }, - "MaxIdleTimeInSeconds": { - "type": "number" - }, - "MaxInstancesCount": { - "type": "number" - }, - "MaxQueueSize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "StatusTimeoutInSeconds": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource": { - "additionalProperties": false, - "properties": { - "ComponentDependencies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement" - } - }, - "type": "object" - }, - "ComponentLambdaParameters": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters" - }, - "ComponentName": { - "type": "string" - }, - "ComponentPlatforms": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentPlatform" - }, - "type": "array" - }, - "ComponentVersion": { - "type": "string" - }, - "LambdaArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams": { - "additionalProperties": false, - "properties": { - "ContainerParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaContainerParams" - }, - "IsolationMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "DestinationPath": { - "type": "string" - }, - "Permission": { - "type": "string" - }, - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigData": { - "$ref": "#/definitions/AWS::GroundStation::Config.ConfigData" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConfigData", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::Config" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig": { - "additionalProperties": false, - "properties": { - "DecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DecodeConfig" - }, - "DemodulationConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DemodulationConfig" - }, - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaUplinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkSpectrumConfig" - }, - "TargetEirp": { - "$ref": "#/definitions/AWS::GroundStation::Config.Eirp" - }, - "TransmitDisabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.ConfigData": { - "additionalProperties": false, - "properties": { - "AntennaDownlinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkConfig" - }, - "AntennaDownlinkDemodDecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig" - }, - "AntennaUplinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaUplinkConfig" - }, - "DataflowEndpointConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DataflowEndpointConfig" - }, - "S3RecordingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.S3RecordingConfig" - }, - "TrackingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.TrackingConfig" - }, - "UplinkEchoConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkEchoConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DataflowEndpointConfig": { - "additionalProperties": false, - "properties": { - "DataflowEndpointName": { - "type": "string" - }, - "DataflowEndpointRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DecodeConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DemodulationConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Eirp": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Frequency": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.FrequencyBandwidth": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.S3RecordingConfig": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.SpectrumConfig": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::GroundStation::Config.FrequencyBandwidth" - }, - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.TrackingConfig": { - "additionalProperties": false, - "properties": { - "Autotrack": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkEchoConfig": { - "additionalProperties": false, - "properties": { - "AntennaUplinkConfigArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkSpectrumConfig": { - "additionalProperties": false, - "properties": { - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointDetails": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.EndpointDetails" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::DataflowEndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SocketAddress" - }, - "Mtu": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.EndpointDetails": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint" - }, - "SecurityDetails": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SecurityDetails" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SecurityDetails": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SocketAddress": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::MissionProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactPostPassDurationSeconds": { - "type": "number" - }, - "ContactPrePassDurationSeconds": { - "type": "number" - }, - "DataflowEdges": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile.DataflowEdge" - }, - "type": "array" - }, - "MinimumViableContactDurationSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrackingConfigArn": { - "type": "string" - } - }, - "required": [ - "DataflowEdges", - "MinimumViableContactDurationSeconds", - "Name", - "TrackingConfigArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::MissionProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::MissionProfile.DataflowEdge": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSources": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNDataSourceConfigurations" - }, - "Enable": { - "type": "boolean" - }, - "FindingPublishingFrequency": { - "type": "string" - } - }, - "required": [ - "Enable" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNDataSourceConfigurations": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNS3LogsConfiguration" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNS3LogsConfiguration": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Rank": { - "type": "number" - } - }, - "required": [ - "Action", - "Description", - "DetectorId", - "FindingCriteria", - "Name", - "Rank" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Filter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Filter.Condition": { - "additionalProperties": false, - "properties": { - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Gte": { - "type": "number" - }, - "Lt": { - "type": "number" - }, - "Lte": { - "type": "number" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "type": "object" - }, - "ItemType": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.Condition" - } - }, - "type": "object" - }, - "AWS::GuardDuty::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Master": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "InvitationId": { - "type": "string" - }, - "MasterId": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "MasterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Master" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "DisableEmailNotification": { - "type": "boolean" - }, - "Email": { - "type": "string" - }, - "MemberId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "Email", - "MemberId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::ThreatIntelSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::ThreatIntelSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastoreTypeVersion": { - "type": "string" - }, - "PreloadDataConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.PreloadDataConfig" - }, - "SseConfiguration": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.SseConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatastoreTypeVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::HealthLake::FHIRDatastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig": { - "additionalProperties": false, - "properties": { - "CmkType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CmkType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.PreloadDataConfig": { - "additionalProperties": false, - "properties": { - "PreloadDataType": { - "type": "string" - } - }, - "required": [ - "PreloadDataType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.SseConfiguration": { - "additionalProperties": false, - "properties": { - "KmsEncryptionConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig" - } - }, - "required": [ - "KmsEncryptionConfig" - ], - "type": "object" - }, - "AWS::IAM::AccessKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Serial": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::AccessKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Group.Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::Group.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::InstanceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceProfileName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Roles" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::InstanceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ManagedPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ManagedPolicyName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ManagedPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::OIDCProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThumbprintList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ThumbprintList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::OIDCProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssumeRolePolicyDocument": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionDuration": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Role.Policy" - }, - "type": "array" - }, - "RoleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssumeRolePolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Role" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::SAMLProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SamlMetadataDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::SAMLProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ServerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CertificateBody": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - }, - "ServerCertificateName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::ServiceLinkedRole": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AWSServiceName": { - "type": "string" - }, - "CustomSuffix": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AWSServiceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServiceLinkedRole" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoginProfile": { - "$ref": "#/definitions/AWS::IAM::User.LoginProfile" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::User.Policy" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::User.LoginProfile": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "PasswordResetRequired": { - "type": "boolean" - } - }, - "required": [ - "Password" - ], - "type": "object" - }, - "AWS::IAM::User.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::UserToGroupAddition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GroupName", - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::UserToGroupAddition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::VirtualMFADevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VirtualMfaDeviceName": { - "type": "string" - } - }, - "required": [ - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::VirtualMFADevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorized": { - "type": "boolean" - }, - "LatencyMode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecordingConfigurationArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IVS::PlaybackKeyPair": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicKeyMaterial": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PublicKeyMaterial" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::PlaybackKeyPair" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfiguration": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.DestinationConfiguration" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DestinationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::RecordingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.S3DestinationConfiguration" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::IVS::StreamKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ChannelArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::StreamKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Component": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChangeDescription": { - "type": "string" - }, - "Data": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "SupportedOsVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Uri": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Platform", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Component" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "ContainerType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DockerfileTemplateData": { - "type": "string" - }, - "DockerfileTemplateUri": { - "type": "string" - }, - "ImageOsVersionOverride": { - "type": "string" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "PlatformOverride": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TargetRepository": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "ContainerType", - "Name", - "ParentImage", - "TargetRepository", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ContainerRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Image": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository": { - "additionalProperties": false, - "properties": { - "RepositoryName": { - "type": "string" - }, - "Service": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Distributions": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.Distribution" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Distributions", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::DistributionConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.Distribution": { - "additionalProperties": false, - "properties": { - "AmiDistributionConfiguration": { - "type": "object" - }, - "ContainerDistributionConfiguration": { - "type": "object" - }, - "LaunchTemplateConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration" - }, - "type": "array" - }, - "LicenseConfigurationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "LaunchTemplateId": { - "type": "string" - }, - "SetDefaultVersion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::Image.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Image.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.Schedule" - }, - "Status": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImagePipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.Schedule": { - "additionalProperties": false, - "properties": { - "PipelineExecutionStartCondition": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "Name", - "ParentImage", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImageRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration": { - "additionalProperties": false, - "properties": { - "SystemsManagerAgent": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent" - }, - "UserDataOverride": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent": { - "additionalProperties": false, - "properties": { - "UninstallAfterBuild": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InstanceMetadataOptions": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions" - }, - "InstanceProfileName": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KeyPair": { - "type": "string" - }, - "Logging": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.Logging" - }, - "Name": { - "type": "string" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TerminateInstanceOnFailure": { - "type": "boolean" - } - }, - "required": [ - "InstanceProfileName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::InfrastructureConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.Logging": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.S3Logs" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.S3Logs": { - "additionalProperties": false, - "properties": { - "S3BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Inspector::AssessmentTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetName": { - "type": "string" - }, - "ResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Inspector::AssessmentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetArn": { - "type": "string" - }, - "AssessmentTemplateName": { - "type": "string" - }, - "DurationInSeconds": { - "type": "number" - }, - "RulesPackageArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserAttributesForFindings": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssessmentTargetArn", - "DurationInSeconds", - "RulesPackageArns" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Inspector::ResourceGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceGroupTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceGroupTags" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::ResourceGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "DeviceId", - "Enabled" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Placement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedDevices": { - "type": "object" - }, - "Attributes": { - "type": "object" - }, - "PlacementName": { - "type": "string" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Placement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "PlacementTemplate": { - "$ref": "#/definitions/AWS::IoT1Click::Project.PlacementTemplate" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "PlacementTemplate" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project.DeviceTemplate": { - "additionalProperties": false, - "properties": { - "CallbackOverrides": { - "type": "object" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT1Click::Project.PlacementTemplate": { - "additionalProperties": false, - "properties": { - "DefaultAttributes": { - "type": "object" - }, - "DeviceTemplates": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "AuditCheckConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations" - }, - "AuditNotificationTargetConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "AuditCheckConfigurations", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::AccountAuditConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations": { - "additionalProperties": false, - "properties": { - "AuthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "ConflictingClientIdsCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateSharedCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotPolicyOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasAllowsAccessToUnusedServicesCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "LoggingDisabledCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedCaCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedDeviceCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "UnauthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations": { - "additionalProperties": false, - "properties": { - "Sns": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget" - } - }, - "type": "object" - }, - "AWS::IoT::Authorizer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerFunctionArn": { - "type": "string" - }, - "AuthorizerName": { - "type": "string" - }, - "SigningDisabled": { - "type": "boolean" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TokenKeyName": { - "type": "string" - }, - "TokenSigningPublicKeys": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AuthorizerFunctionArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Authorizer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Certificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CACertificatePem": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "CertificatePem": { - "type": "string" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Certificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::CustomMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "MetricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MetricType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::CustomMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Dimension": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StringValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "StringValues", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Dimension" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerConfig": { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration.AuthorizerConfig" - }, - "DomainConfigurationName": { - "type": "string" - }, - "DomainConfigurationStatus": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "ServerCertificateArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ValidationCertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::DomainConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration.AuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AllowAuthorizerOverride": { - "type": "boolean" - }, - "DefaultAuthorizerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::DomainConfiguration.ServerCertificateSummary": { - "additionalProperties": false, - "properties": { - "ServerCertificateArn": { - "type": "string" - }, - "ServerCertificateStatus": { - "type": "string" - }, - "ServerCertificateStatusDetail": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::FleetMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AggregationField": { - "type": "string" - }, - "AggregationType": { - "$ref": "#/definitions/AWS::IoT::FleetMetric.AggregationType" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "QueryString": { - "type": "string" - }, - "QueryVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::FleetMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::FleetMetric.AggregationType": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::IoT::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AbortConfig": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Document": { - "type": "string" - }, - "DocumentSource": { - "type": "string" - }, - "JobArn": { - "type": "string" - }, - "JobExecutionsRolloutConfig": { - "type": "object" - }, - "JobTemplateId": { - "type": "string" - }, - "PresignedUrlConfig": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeoutConfig": { - "type": "object" - } - }, - "required": [ - "Description", - "JobTemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Logging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "DefaultLogLevel": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "DefaultLogLevel", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Logging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ActionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ActionParams" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ActionParams", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::MitigationAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ActionParams": { - "additionalProperties": false, - "properties": { - "AddThingsToThingGroupParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.AddThingsToThingGroupParams" - }, - "EnableIoTLoggingParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.EnableIoTLoggingParams" - }, - "PublishFindingToSnsParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.PublishFindingToSnsParams" - }, - "ReplaceDefaultPolicyVersionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams" - }, - "UpdateCACertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateCACertificateParams" - }, - "UpdateDeviceCertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateDeviceCertificateParams" - } - }, - "type": "object" - }, - "AWS::IoT::MitigationAction.AddThingsToThingGroupParams": { - "additionalProperties": false, - "properties": { - "OverrideDynamicGroups": { - "type": "boolean" - }, - "ThingGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ThingGroupNames" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.EnableIoTLoggingParams": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "RoleArnForLogging": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "RoleArnForLogging" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.PublishFindingToSnsParams": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams": { - "additionalProperties": false, - "properties": { - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateCACertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateDeviceCertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::PolicyPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyName": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "PolicyName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::PolicyPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PreProvisioningHook": { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate.ProvisioningHook" - }, - "ProvisioningRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ProvisioningRoleArn", - "TemplateBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ProvisioningTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate.ProvisioningHook": { - "additionalProperties": false, - "properties": { - "PayloadVersion": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::ResourceSpecificLogging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "TargetName": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "TargetName", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ResourceSpecificLogging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ScheduledAudit": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DayOfMonth": { - "type": "string" - }, - "DayOfWeek": { - "type": "string" - }, - "Frequency": { - "type": "string" - }, - "ScheduledAuditName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetCheckNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Frequency", - "TargetCheckNames" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ScheduledAudit" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalMetricsToRetainV2": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricToRetain" - }, - "type": "array" - }, - "AlertTargets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.AlertTarget" - } - }, - "type": "object" - }, - "Behaviors": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.Behavior" - }, - "type": "array" - }, - "SecurityProfileDescription": { - "type": "string" - }, - "SecurityProfileName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::SecurityProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.AlertTarget": { - "additionalProperties": false, - "properties": { - "AlertTargetArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AlertTargetArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.Behavior": { - "additionalProperties": false, - "properties": { - "Criteria": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.BehaviorCriteria" - }, - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - }, - "Name": { - "type": "string" - }, - "SuppressAlerts": { - "type": "boolean" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.BehaviorCriteria": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "ConsecutiveDatapointsToAlarm": { - "type": "number" - }, - "ConsecutiveDatapointsToClear": { - "type": "number" - }, - "DurationSeconds": { - "type": "number" - }, - "MlDetectionConfig": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MachineLearningDetectionConfig" - }, - "StatisticalThreshold": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.StatisticalThreshold" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricValue" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MachineLearningDetectionConfig": { - "additionalProperties": false, - "properties": { - "ConfidenceLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricDimension": { - "additionalProperties": false, - "properties": { - "DimensionName": { - "type": "string" - }, - "Operator": { - "type": "string" - } - }, - "required": [ - "DimensionName" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricToRetain": { - "additionalProperties": false, - "properties": { - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - } - }, - "required": [ - "Metric" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricValue": { - "additionalProperties": false, - "properties": { - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "string" - }, - "Number": { - "type": "number" - }, - "Numbers": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Strings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.StatisticalThreshold": { - "additionalProperties": false, - "properties": { - "Statistic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::Thing": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributePayload": { - "$ref": "#/definitions/AWS::IoT::Thing.AttributePayload" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Thing" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::Thing.AttributePayload": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::ThingPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Principal": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "required": [ - "Principal", - "ThingName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ThingPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicRulePayload": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TopicRulePayload" - } - }, - "required": [ - "TopicRulePayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.Action": { - "additionalProperties": false, - "properties": { - "CloudwatchAlarm": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchAlarmAction" - }, - "CloudwatchLogs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchLogsAction" - }, - "CloudwatchMetric": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchMetricAction" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBAction" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBv2Action" - }, - "Elasticsearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.ElasticsearchAction" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoT::TopicRule.FirehoseAction" - }, - "Http": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAction" - }, - "IotAnalytics": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotAnalyticsAction" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotEventsAction" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotSiteWiseAction" - }, - "Kafka": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KafkaAction" - }, - "Kinesis": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KinesisAction" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoT::TopicRule.LambdaAction" - }, - "OpenSearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.OpenSearchAction" - }, - "Republish": { - "$ref": "#/definitions/AWS::IoT::TopicRule.RepublishAction" - }, - "S3": { - "$ref": "#/definitions/AWS::IoT::TopicRule.S3Action" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SnsAction" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SqsAction" - }, - "StepFunctions": { - "$ref": "#/definitions/AWS::IoT::TopicRule.StepFunctionsAction" - }, - "Timestream": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamAction" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyVariant" - } - }, - "required": [ - "Timestamp", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchAlarmAction": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateReason": { - "type": "string" - }, - "StateValue": { - "type": "string" - } - }, - "required": [ - "AlarmName", - "RoleArn", - "StateReason", - "StateValue" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchLogsAction": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LogGroupName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchMetricAction": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricTimestamp": { - "type": "string" - }, - "MetricUnit": { - "type": "string" - }, - "MetricValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricUnit", - "MetricValue", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBAction": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBv2Action": { - "additionalProperties": false, - "properties": { - "PutItem": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutItemInput" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.ElasticsearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.FirehoseAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DeliveryStreamName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAction": { - "additionalProperties": false, - "properties": { - "Auth": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAuthorization" - }, - "ConfirmationUrl": { - "type": "string" - }, - "Headers": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpActionHeader" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpActionHeader": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAuthorization": { - "additionalProperties": false, - "properties": { - "Sigv4": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SigV4Authorization" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.IotAnalyticsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "ChannelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ChannelName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotEventsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "InputName": { - "type": "string" - }, - "MessageId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotSiteWiseAction": { - "additionalProperties": false, - "properties": { - "PutAssetPropertyValueEntries": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutAssetPropertyValueEntry" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PutAssetPropertyValueEntries", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KafkaAction": { - "additionalProperties": false, - "properties": { - "ClientProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DestinationArn": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Partition": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "ClientProperties", - "DestinationArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KinesisAction": { - "additionalProperties": false, - "properties": { - "PartitionKey": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.OpenSearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutAssetPropertyValueEntry": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValues": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyValue" - }, - "type": "array" - } - }, - "required": [ - "PropertyValues" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutItemInput": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.RepublishAction": { - "additionalProperties": false, - "properties": { - "Qos": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "CannedAcl": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SigV4Authorization": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "SigningRegion": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "ServiceName", - "SigningRegion" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SnsAction": { - "additionalProperties": false, - "properties": { - "MessageFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SqsAction": { - "additionalProperties": false, - "properties": { - "QueueUrl": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.StepFunctionsAction": { - "additionalProperties": false, - "properties": { - "ExecutionNamePrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StateMachineName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DatabaseName": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamDimension" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamTimestamp" - } - }, - "required": [ - "DatabaseName", - "Dimensions", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamTimestamp": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TopicRulePayload": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "type": "array" - }, - "AwsIotSqlVersion": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ErrorAction": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "RuleDisabled": { - "type": "boolean" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Actions", - "Sql" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HttpUrlProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary" - }, - "Status": { - "type": "string" - }, - "VpcProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.VpcDestinationProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRuleDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary": { - "additionalProperties": false, - "properties": { - "ConfirmationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.VpcDestinationProperties": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "ChannelStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ChannelStorage" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ChannelStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.CustomerManagedS3" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Action" - }, - "type": "array" - }, - "ContentDeliveryRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "LateDataRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRule" - }, - "type": "array" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Trigger" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.VersioningConfiguration" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Dataset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Action": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ContainerAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ContainerAction" - }, - "QueryAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.QueryAction" - } - }, - "required": [ - "ActionName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ContainerAction": { - "additionalProperties": false, - "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "ResourceConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ResourceConfiguration" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Variable" - }, - "type": "array" - } - }, - "required": [ - "ExecutionRoleArn", - "Image", - "ResourceConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination" - }, - "EntryName": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination": { - "additionalProperties": false, - "properties": { - "IotEventsDestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.S3DestinationConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentVersionValue": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTime": { - "additionalProperties": false, - "properties": { - "OffsetSeconds": { - "type": "number" - }, - "TimeExpression": { - "type": "string" - } - }, - "required": [ - "OffsetSeconds", - "TimeExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration": { - "additionalProperties": false, - "properties": { - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutInMinutes" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Filter": { - "additionalProperties": false, - "properties": { - "DeltaTime": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTime" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.GlueConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRule": { - "additionalProperties": false, - "properties": { - "RuleConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "RuleConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration": { - "additionalProperties": false, - "properties": { - "DeltaTimeSessionWindowConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.OutputFileUriValue": { - "additionalProperties": false, - "properties": { - "FileName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.QueryAction": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Filter" - }, - "type": "array" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "SqlQuery" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ResourceConfiguration": { - "additionalProperties": false, - "properties": { - "ComputeType": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "ComputeType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "required": [ - "NumberOfDays", - "Unlimited" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "GlueConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.GlueConfiguration" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Trigger": { - "additionalProperties": false, - "properties": { - "Schedule": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Schedule" - }, - "TriggeringDataset": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.TriggeringDataset" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.TriggeringDataset": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "required": [ - "DatasetName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Variable": { - "additionalProperties": false, - "properties": { - "DatasetContentVersionValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentVersionValue" - }, - "DoubleValue": { - "type": "number" - }, - "OutputFileUriValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.OutputFileUriValue" - }, - "StringValue": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "VariableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "MaxVersions": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastorePartitions": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartitions" - }, - "DatastoreStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastoreStorage" - }, - "FileFormatConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.FileFormatConfiguration" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Datastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Column": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartition": { - "additionalProperties": false, - "properties": { - "Partition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Partition" - }, - "TimestampPartition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.TimestampPartition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartitions": { - "additionalProperties": false, - "properties": { - "Partitions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartition" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastoreStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3" - }, - "IotSiteWiseMultiLayerStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.FileFormatConfiguration": { - "additionalProperties": false, - "properties": { - "JsonConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.JsonConfiguration" - }, - "ParquetConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ParquetConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3Storage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage" - } - }, - "required": [ - "CustomerManagedS3Storage" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.JsonConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ParquetConfiguration": { - "additionalProperties": false, - "properties": { - "SchemaDefinition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.SchemaDefinition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Partition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.SchemaDefinition": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Column" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.TimestampPartition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "TimestampFormat": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineActivities": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Activity" - }, - "type": "array" - }, - "PipelineName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineActivities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Activity": { - "additionalProperties": false, - "properties": { - "AddAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.AddAttributes" - }, - "Channel": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Channel" - }, - "Datastore": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Datastore" - }, - "DeviceRegistryEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich" - }, - "DeviceShadowEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich" - }, - "Filter": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Filter" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Lambda" - }, - "Math": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Math" - }, - "RemoveAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.RemoveAttributes" - }, - "SelectAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.SelectAttributes" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.AddAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Channel": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Datastore": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Filter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Lambda": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "LambdaName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Math": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Math": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.RemoveAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.SelectAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SuiteDefinitionConfiguration": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SuiteDefinitionConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorModelDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DetectorModelDefinition" - }, - "DetectorModelDescription": { - "type": "string" - }, - "DetectorModelName": { - "type": "string" - }, - "EvaluationMethod": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorModelDefinition", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::DetectorModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Action": { - "additionalProperties": false, - "properties": { - "ClearTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ClearTimer" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDB" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDBv2" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Firehose" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotEvents" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotSiteWise" - }, - "IotTopicPublish": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotTopicPublish" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Lambda" - }, - "ResetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ResetTimer" - }, - "SetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetTimer" - }, - "SetVariable": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetVariable" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sns" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sqs" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyVariant" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ClearTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DetectorModelDefinition": { - "additionalProperties": false, - "properties": { - "InitialStateName": { - "type": "string" - }, - "States": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.State" - }, - "type": "array" - } - }, - "required": [ - "InitialStateName", - "States" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDB": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "Operation": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDBv2": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Event": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - } - }, - "required": [ - "EventName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStreamName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotEvents": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "InputName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotSiteWise": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValue": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyValue" - } - }, - "required": [ - "PropertyValue" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotTopicPublish": { - "additionalProperties": false, - "properties": { - "MqttTopic": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "MqttTopic" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Lambda": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnEnter": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnExit": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnInput": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - }, - "TransitionEvents": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.TransitionEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Payload": { - "additionalProperties": false, - "properties": { - "ContentExpression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContentExpression", - "Type" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ResetTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetTimer": { - "additionalProperties": false, - "properties": { - "DurationExpression": { - "type": "string" - }, - "Seconds": { - "type": "number" - }, - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetVariable": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "Value", - "VariableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sns": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "TargetArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sqs": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "QueueUrl": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.State": { - "additionalProperties": false, - "properties": { - "OnEnter": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnEnter" - }, - "OnExit": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnExit" - }, - "OnInput": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnInput" - }, - "StateName": { - "type": "string" - } - }, - "required": [ - "StateName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.TransitionEvent": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - }, - "NextState": { - "type": "string" - } - }, - "required": [ - "Condition", - "EventName", - "NextState" - ], - "type": "object" - }, - "AWS::IoTEvents::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InputDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::Input.InputDefinition" - }, - "InputDescription": { - "type": "string" - }, - "InputName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InputDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.Attribute": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.InputDefinition": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::Input.Attribute" - }, - "type": "array" - } - }, - "required": [ - "Attributes" - ], - "type": "object" - }, - "AWS::IoTFleetHub::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ApplicationName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTFleetHub::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicyIdentity": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity" - }, - "AccessPolicyPermission": { - "type": "string" - }, - "AccessPolicyResource": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource" - } - }, - "required": [ - "AccessPolicyIdentity", - "AccessPolicyPermission", - "AccessPolicyResource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AccessPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity": { - "additionalProperties": false, - "properties": { - "IamRole": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamRole" - }, - "IamUser": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamUser" - }, - "User": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.User" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource": { - "additionalProperties": false, - "properties": { - "Portal": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Portal" - }, - "Project": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Project" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamRole": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamUser": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Portal": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Project": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.User": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetHierarchy" - }, - "type": "array" - }, - "AssetModelId": { - "type": "string" - }, - "AssetName": { - "type": "string" - }, - "AssetProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelId", - "AssetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - } - }, - "required": [ - "ChildAssetId", - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetProperty": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "NotificationState": { - "type": "string" - } - }, - "required": [ - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetModelCompositeModels": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel" - }, - "type": "array" - }, - "AssetModelDescription": { - "type": "string" - }, - "AssetModelHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelHierarchy" - }, - "type": "array" - }, - "AssetModelName": { - "type": "string" - }, - "AssetModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AssetModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel": { - "additionalProperties": false, - "properties": { - "CompositeModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetModelId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ChildAssetModelId", - "LogicalId", - "Name" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelProperty": { - "additionalProperties": false, - "properties": { - "DataType": { - "type": "string" - }, - "DataTypeSpec": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.PropertyType" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "DataType", - "LogicalId", - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Attribute": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.ExpressionVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.VariableValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Metric": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - }, - "Window": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.MetricWindow" - } - }, - "required": [ - "Expression", - "Variables", - "Window" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.MetricWindow": { - "additionalProperties": false, - "properties": { - "Tumbling": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.TumblingWindow" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.PropertyType": { - "additionalProperties": false, - "properties": { - "Attribute": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Attribute" - }, - "Metric": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Metric" - }, - "Transform": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Transform" - }, - "TypeName": { - "type": "string" - } - }, - "required": [ - "TypeName" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Transform": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "Variables" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.TumblingWindow": { - "additionalProperties": false, - "properties": { - "Interval": { - "type": "string" - }, - "Offset": { - "type": "string" - } - }, - "required": [ - "Interval" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.VariableValue": { - "additionalProperties": false, - "properties": { - "HierarchyLogicalId": { - "type": "string" - }, - "PropertyLogicalId": { - "type": "string" - } - }, - "required": [ - "PropertyLogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardDefinition": { - "type": "string" - }, - "DashboardDescription": { - "type": "string" - }, - "DashboardName": { - "type": "string" - }, - "ProjectId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DashboardDefinition", - "DashboardDescription", - "DashboardName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayCapabilitySummaries": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary" - }, - "type": "array" - }, - "GatewayName": { - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayPlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Gateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayPlatform": { - "additionalProperties": false, - "properties": { - "Greengrass": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.Greengrass" - } - }, - "required": [ - "Greengrass" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.Greengrass": { - "additionalProperties": false, - "properties": { - "GroupArn": { - "type": "string" - } - }, - "required": [ - "GroupArn" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Portal": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alarms": { - "type": "object" - }, - "NotificationSenderEmail": { - "type": "string" - }, - "PortalAuthMode": { - "type": "string" - }, - "PortalContactEmail": { - "type": "string" - }, - "PortalDescription": { - "type": "string" - }, - "PortalName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalContactEmail", - "PortalName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Portal" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortalId": { - "type": "string" - }, - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalId", - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleNamespaceVersion": { - "type": "number" - }, - "Definition": { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument" - } - }, - "required": [ - "Definition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTThingsGraph::FlowTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument": { - "additionalProperties": false, - "properties": { - "Language": { - "type": "string" - }, - "Text": { - "type": "string" - } - }, - "required": [ - "Language", - "Text" - ], - "type": "object" - }, - "AWS::IoTWireless::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "ExpressionType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ExpressionType", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::DeviceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile": { - "additionalProperties": false, - "properties": { - "ClassBTimeout": { - "type": "number" - }, - "ClassCTimeout": { - "type": "number" - }, - "MacVersion": { - "type": "string" - }, - "MaxDutyCycle": { - "type": "number" - }, - "MaxEirp": { - "type": "number" - }, - "PingSlotDr": { - "type": "number" - }, - "PingSlotFreq": { - "type": "number" - }, - "PingSlotPeriod": { - "type": "number" - }, - "RegParamsRevision": { - "type": "string" - }, - "RfRegion": { - "type": "string" - }, - "Supports32BitFCnt": { - "type": "boolean" - }, - "SupportsClassB": { - "type": "boolean" - }, - "SupportsClassC": { - "type": "boolean" - }, - "SupportsJoin": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTWireless::FuotaTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateMulticastGroup": { - "type": "string" - }, - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateMulticastGroup": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "FirmwareUpdateImage": { - "type": "string" - }, - "FirmwareUpdateRole": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirmwareUpdateImage", - "FirmwareUpdateRole", - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::FuotaTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::FuotaTask.LoRaWAN": { - "additionalProperties": false, - "properties": { - "RfRegion": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::MulticastGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup.LoRaWAN": { - "additionalProperties": false, - "properties": { - "DlClass": { - "type": "string" - }, - "NumberOfDevicesInGroup": { - "type": "number" - }, - "NumberOfDevicesRequested": { - "type": "number" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "DlClass", - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountLinked": { - "type": "boolean" - }, - "Fingerprint": { - "type": "string" - }, - "PartnerAccountId": { - "type": "string" - }, - "PartnerType": { - "type": "string" - }, - "Sidewalk": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo" - }, - "SidewalkUpdate": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::PartnerAccount" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "required": [ - "AppServerPrivateKey" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::ServiceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile": { - "additionalProperties": false, - "properties": { - "AddGwMetadata": { - "type": "boolean" - }, - "ChannelMask": { - "type": "string" - }, - "DevStatusReqFreq": { - "type": "number" - }, - "DlBucketSize": { - "type": "number" - }, - "DlRate": { - "type": "number" - }, - "DlRatePolicy": { - "type": "string" - }, - "DrMax": { - "type": "number" - }, - "DrMin": { - "type": "number" - }, - "HrAllowed": { - "type": "boolean" - }, - "MinGwDiversity": { - "type": "number" - }, - "NwkGeoLoc": { - "type": "boolean" - }, - "PrAllowed": { - "type": "boolean" - }, - "RaAllowed": { - "type": "boolean" - }, - "ReportDevStatusBattery": { - "type": "boolean" - }, - "ReportDevStatusMargin": { - "type": "boolean" - }, - "TargetPer": { - "type": "number" - }, - "UlBucketSize": { - "type": "number" - }, - "UlRate": { - "type": "number" - }, - "UlRatePolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoCreateTasks": { - "type": "boolean" - }, - "LoRaWANUpdateGatewayTaskEntry": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinitionType": { - "type": "string" - }, - "Update": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate" - } - }, - "required": [ - "AutoCreateTasks" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion": { - "additionalProperties": false, - "properties": { - "Model": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "Station": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "SigKeyCrc": { - "type": "number" - }, - "UpdateSignature": { - "type": "string" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate" - }, - "UpdateDataRole": { - "type": "string" - }, - "UpdateDataSource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationName": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.LoRaWANDevice" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessDevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV10x": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV11": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.LoRaWANDevice": { - "additionalProperties": false, - "properties": { - "AbpV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV10x" - }, - "AbpV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV11" - }, - "DevEui": { - "type": "string" - }, - "DeviceProfileId": { - "type": "string" - }, - "OtaaV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV10x" - }, - "OtaaV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV11" - }, - "ServiceProfileId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV10x": { - "additionalProperties": false, - "properties": { - "AppEui": { - "type": "string" - }, - "AppKey": { - "type": "string" - } - }, - "required": [ - "AppEui", - "AppKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV11": { - "additionalProperties": false, - "properties": { - "AppKey": { - "type": "string" - }, - "JoinEui": { - "type": "string" - }, - "NwkKey": { - "type": "string" - } - }, - "required": [ - "AppKey", - "JoinEui", - "NwkKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "NwkSKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "NwkSKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "FNwkSIntKey": { - "type": "string" - }, - "NwkSEncKey": { - "type": "string" - }, - "SNwkSIntKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "FNwkSIntKey", - "NwkSEncKey", - "SNwkSIntKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway.LoRaWANGateway" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway.LoRaWANGateway": { - "additionalProperties": false, - "properties": { - "GatewayEui": { - "type": "string" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "GatewayEui", - "RfRegion" - ], - "type": "object" - }, - "AWS::KMS::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasName": { - "type": "string" - }, - "TargetKeyId": { - "type": "string" - } - }, - "required": [ - "AliasName", - "TargetKeyId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::Key": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EnableKeyRotation": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "KeySpec": { - "type": "string" - }, - "KeyUsage": { - "type": "string" - }, - "MultiRegion": { - "type": "boolean" - }, - "PendingWindowInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Key" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::ReplicaKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "PendingWindowInDays": { - "type": "number" - }, - "PrimaryKeyArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy", - "PrimaryKeyArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::ReplicaKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "IndexId", - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.AccessControlListConfiguration": { - "additionalProperties": false, - "properties": { - "KeyPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.AclConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedGroupsColumnName": { - "type": "string" - } - }, - "required": [ - "AllowedGroupsColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ColumnConfiguration": { - "additionalProperties": false, - "properties": { - "ChangeDetectingColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DocumentDataColumnName": { - "type": "string" - }, - "DocumentIdColumnName": { - "type": "string" - }, - "DocumentTitleColumnName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "ChangeDetectingColumns", - "DocumentDataColumnName", - "DocumentIdColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping" - }, - "type": "array" - }, - "CrawlAttachments": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogConfiguration": { - "additionalProperties": false, - "properties": { - "BlogFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration" - }, - "BlogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PageConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "SpaceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceConfiguration" - }, - "Version": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "ServerUrl", - "Version" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageConfiguration": { - "additionalProperties": false, - "properties": { - "PageFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlArchivedSpaces": { - "type": "boolean" - }, - "CrawlPersonalSpaces": { - "type": "boolean" - }, - "ExcludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpaceFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConnectionConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "SecretArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "SecretArn", - "TableName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceConfiguration" - }, - "DatabaseConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DatabaseConfiguration" - }, - "GoogleDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.GoogleDriveConfiguration" - }, - "OneDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceConfiguration" - }, - "ServiceNowConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SharePointConfiguration" - }, - "WebCrawlerConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerConfiguration" - }, - "WorkDocsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WorkDocsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceVpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DatabaseConfiguration": { - "additionalProperties": false, - "properties": { - "AclConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AclConfiguration" - }, - "ColumnConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ColumnConfiguration" - }, - "ConnectionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConnectionConfiguration" - }, - "DatabaseEngineType": { - "type": "string" - }, - "SqlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SqlConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "ColumnConfiguration", - "ConnectionConfiguration", - "DatabaseEngineType" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DocumentsMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "S3Prefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.GoogleDriveConfiguration": { - "additionalProperties": false, - "properties": { - "ExcludeMimeTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeSharedDrives": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeUserAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "SecretArn" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveConfiguration": { - "additionalProperties": false, - "properties": { - "DisableLocalGroups": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUsers": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveUsers" - }, - "SecretArn": { - "type": "string" - }, - "TenantDomain": { - "type": "string" - } - }, - "required": [ - "OneDriveUsers", - "SecretArn", - "TenantDomain" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveUsers": { - "additionalProperties": false, - "properties": { - "OneDriveUserList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUserS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AccessControlListConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AccessControlListConfiguration" - }, - "BucketName": { - "type": "string" - }, - "DocumentsMetadataConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DocumentsMetadataConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPrefixes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeFilterTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceConfiguration": { - "additionalProperties": false, - "properties": { - "ChatterFeedConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration" - }, - "CrawlAttachments": { - "type": "boolean" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "StandardObjectAttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration" - }, - "StandardObjectConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SecretArn", - "ServerUrl" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CustomKnowledgeArticleTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration" - }, - "type": "array" - }, - "IncludedStates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StandardKnowledgeArticleTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration" - } - }, - "required": [ - "IncludedStates" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationType": { - "type": "string" - }, - "HostUrl": { - "type": "string" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServiceCatalogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration" - }, - "ServiceNowBuildVersion": { - "type": "string" - } - }, - "required": [ - "HostUrl", - "SecretArn", - "ServiceNowBuildVersion" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "FilterQuery": { - "type": "string" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SharePointConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DisableLocalGroups": { - "type": "boolean" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - }, - "SharePointVersion": { - "type": "string" - }, - "SslCertificateS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - }, - "Urls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UseChangeLog": { - "type": "boolean" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "SharePointVersion", - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SqlConfiguration": { - "additionalProperties": false, - "properties": { - "QueryIdentifiersEnclosingOption": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "BasicAuthentication": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerBasicAuthentication" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerBasicAuthentication": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Credentials", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration" - }, - "CrawlDepth": { - "type": "number" - }, - "MaxContentSizePerPageInMegaBytes": { - "type": "number" - }, - "MaxLinksPerPage": { - "type": "number" - }, - "MaxUrlsPerMinuteCrawlRate": { - "type": "number" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ProxyConfiguration" - }, - "UrlExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UrlInclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Urls": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerUrls" - } - }, - "required": [ - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WebCrawlerMode": { - "type": "string" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration": { - "additionalProperties": false, - "properties": { - "SiteMaps": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SiteMaps" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerUrls": { - "additionalProperties": false, - "properties": { - "SeedUrlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration" - }, - "SiteMapsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WorkDocsConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlComments": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationId": { - "type": "string" - }, - "UseChangeLog": { - "type": "boolean" - } - }, - "required": [ - "OrganizationId" - ], - "type": "object" - }, - "AWS::Kendra::Faq": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FileFormat": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "S3Path": { - "$ref": "#/definitions/AWS::Kendra::Faq.S3Path" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IndexId", - "Name", - "RoleArn", - "S3Path" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Faq" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Faq.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::Index": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityUnits": { - "$ref": "#/definitions/AWS::Kendra::Index.CapacityUnitsConfiguration" - }, - "Description": { - "type": "string" - }, - "DocumentMetadataConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.DocumentMetadataConfiguration" - }, - "type": "array" - }, - "Edition": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserContextPolicy": { - "type": "string" - }, - "UserTokenConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.UserTokenConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Edition", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Index" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Index.CapacityUnitsConfiguration": { - "additionalProperties": false, - "properties": { - "QueryCapacityUnits": { - "type": "number" - }, - "StorageCapacityUnits": { - "type": "number" - } - }, - "required": [ - "QueryCapacityUnits", - "StorageCapacityUnits" - ], - "type": "object" - }, - "AWS::Kendra::Index.DocumentMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Relevance": { - "$ref": "#/definitions/AWS::Kendra::Index.Relevance" - }, - "Search": { - "$ref": "#/definitions/AWS::Kendra::Index.Search" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Kendra::Index.JsonTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "GroupAttributeField": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "GroupAttributeField", - "UserNameAttributeField" - ], - "type": "object" - }, - "AWS::Kendra::Index.JwtTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "ClaimRegex": { - "type": "string" - }, - "GroupAttributeField": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "KeyLocation": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "URL": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "KeyLocation" - ], - "type": "object" - }, - "AWS::Kendra::Index.Relevance": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "Freshness": { - "type": "boolean" - }, - "Importance": { - "type": "number" - }, - "RankOrder": { - "type": "string" - }, - "ValueImportanceItems": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.ValueImportanceItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.Search": { - "additionalProperties": false, - "properties": { - "Displayable": { - "type": "boolean" - }, - "Facetable": { - "type": "boolean" - }, - "Searchable": { - "type": "boolean" - }, - "Sortable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.UserTokenConfiguration": { - "additionalProperties": false, - "properties": { - "JsonTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JsonTokenTypeConfiguration" - }, - "JwtTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JwtTokenTypeConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ValueImportanceItem": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Kinesis::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RetentionPeriodHours": { - "type": "number" - }, - "ShardCount": { - "type": "number" - }, - "StreamEncryption": { - "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ShardCount" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kinesis::Stream.StreamEncryption": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KeyId": { - "type": "string" - } - }, - "required": [ - "EncryptionType", - "KeyId" - ], - "type": "object" - }, - "AWS::Kinesis::StreamConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerName": { - "type": "string" - }, - "StreamARN": { - "type": "string" - } - }, - "required": [ - "ConsumerName", - "StreamARN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::StreamConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationCode": { - "type": "string" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.Input" - }, - "type": "array" - } - }, - "required": [ - "Inputs" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ReferenceRoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationMode": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RuntimeEnvironment": { - "type": "string" - }, - "ServiceExecutionRole": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RuntimeEnvironment", - "ServiceExecutionRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeContent": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CodeContent" - }, - "CodeContentType": { - "type": "string" - } - }, - "required": [ - "CodeContent", - "CodeContentType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationCodeConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration" - }, - "ApplicationSnapshotConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration" - }, - "EnvironmentProperties": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.EnvironmentProperties" - }, - "FlinkApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration" - }, - "SqlApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration" - }, - "ZeppelinApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration": { - "additionalProperties": false, - "properties": { - "SnapshotsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SnapshotsEnabled" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "GlueDataCatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointInterval": { - "type": "number" - }, - "CheckpointingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "MinPauseBetweenCheckpoints": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CodeContent": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - }, - "TextContent": { - "type": "string" - }, - "ZipFileContent": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration": { - "additionalProperties": false, - "properties": { - "ArtifactType": { - "type": "string" - }, - "MavenReference": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MavenReference" - }, - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - } - }, - "required": [ - "ArtifactType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation" - } - }, - "required": [ - "S3ContentLocation" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.EnvironmentProperties": { - "additionalProperties": false, - "properties": { - "PropertyGroups": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.PropertyGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration" - }, - "ParallelismConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MavenReference": { - "additionalProperties": false, - "properties": { - "ArtifactId": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ArtifactId", - "GroupId", - "Version" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationType": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "MetricsLevel": { - "type": "string" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration": { - "additionalProperties": false, - "properties": { - "AutoScalingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "Parallelism": { - "type": "number" - }, - "ParallelismPerKPU": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.PropertyGroup": { - "additionalProperties": false, - "properties": { - "PropertyGroupId": { - "type": "string" - }, - "PropertyMap": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation": { - "additionalProperties": false, - "properties": { - "BasePath": { - "type": "string" - }, - "BucketARN": { - "type": "string" - } - }, - "required": [ - "BasePath", - "BucketARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentLocation": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.Input" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CatalogConfiguration" - }, - "CustomArtifactsConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration" - }, - "DeployAsApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CloudWatchLoggingOption": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption" - } - }, - "required": [ - "ApplicationName", - "CloudWatchLoggingOption" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "LogStreamARN": { - "type": "string" - } - }, - "required": [ - "LogStreamARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "type": "string" - }, - "DeliveryStreamType": { - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisFirehose::DeliveryStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "type": "string" - }, - "DataTableColumns": { - "type": "string" - }, - "DataTableName": { - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeValue": { - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute" - }, - "type": "array" - }, - "ContentEncoding": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Deserializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "KinesisStreamARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "number" - }, - "StripeSizeBytes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Serializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "number" - }, - "PageSizeBytes": { - "type": "number" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Processor" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessorParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CopyCommand" - }, - "Password": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "ClusterJDBCURL", - "CopyCommand", - "Password", - "RoleARN", - "S3Configuration", - "Username" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ParquetSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "type": "number" - }, - "HECEndpoint": { - "type": "string" - }, - "HECEndpointType": { - "type": "string" - }, - "HECToken": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "HECEndpoint", - "HECEndpointType", - "HECToken", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "RoleARN", - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Admins": { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings.Admins" - }, - "TrustedResourceOwners": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::DataLakeSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.Admins": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLakePrincipal": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLakePrincipal" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsWithGrantOption": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.Resource" - } - }, - "required": [ - "DataLakePrincipal", - "Resource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Permissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LakeFormation::Permissions.ColumnWildcard": { - "additionalProperties": false, - "properties": { - "ExcludedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLocationResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "S3Resource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DatabaseResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.Resource": { - "additionalProperties": false, - "properties": { - "DataLocationResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLocationResource" - }, - "DatabaseResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DatabaseResource" - }, - "TableResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableResource" - }, - "TableWithColumnsResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWithColumnsResource" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "TableWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWildcard" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWildcard": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWithColumnsResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ColumnWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.ColumnWildcard" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Resource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseServiceLinkedRole": { - "type": "boolean" - } - }, - "required": [ - "ResourceArn", - "UseServiceLinkedRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Resource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" - }, - "RoutingConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" - } - }, - "required": [ - "FunctionName", - "FunctionVersion", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias.AliasRoutingConfiguration": { - "additionalProperties": false, - "properties": { - "AdditionalVersionWeights": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" - }, - "type": "array" - } - }, - "required": [ - "AdditionalVersionWeights" - ], - "type": "object" - }, - "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::Lambda::Alias.VersionWeight": { - "additionalProperties": false, - "properties": { - "FunctionVersion": { - "type": "string" - }, - "FunctionWeight": { - "type": "number" - } - }, - "required": [ - "FunctionVersion", - "FunctionWeight" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AllowedPublishers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::CodeSigningConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" - }, - "FunctionName": { - "type": "string" - }, - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "Qualifier": { - "type": "string" - } - }, - "required": [ - "FunctionName", - "Qualifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventInvokeConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" - }, - "OnSuccess": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" - } - }, - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnSuccess": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "type": "string" - }, - "FilterCriteria": { - "type": "object" - }, - "FunctionName": { - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" - }, - "type": "array" - }, - "StartingPosition": { - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TumblingWindowInSeconds": { - "type": "number" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventSourceMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "URI": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Code": { - "$ref": "#/definitions/AWS::Lambda::Function.Code" - }, - "CodeSigningConfigArn": { - "type": "string" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Lambda::Function.Environment" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PackageType": { - "type": "string" - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "TracingConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" - } - }, - "required": [ - "Code", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Function.Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "ZipFile": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.Environment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "required": [ - "Arn", - "LocalMountPath" - ], - "type": "object" - }, - "AWS::Lambda::Function.ImageConfig": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.TracingConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleArchitectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Content": { - "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersion.Content": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersionPermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "LayerVersionArn": { - "type": "string" - }, - "OrganizationId": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Action", - "LayerVersionArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersionPermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Permission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "EventSourceToken": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "SourceAccount": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "Action", - "FunctionName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeSha256": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Version" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::LicenseManager::Grant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedOperations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GrantName": { - "type": "string" - }, - "HomeRegion": { - "type": "string" - }, - "LicenseArn": { - "type": "string" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::Grant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LicenseManager::License": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Beneficiary": { - "type": "string" - }, - "ConsumptionConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ConsumptionConfiguration" - }, - "Entitlements": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Entitlement" - }, - "type": "array" - }, - "HomeRegion": { - "type": "string" - }, - "Issuer": { - "$ref": "#/definitions/AWS::LicenseManager::License.IssuerData" - }, - "LicenseMetadata": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Metadata" - }, - "type": "array" - }, - "LicenseName": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProductSKU": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Validity": { - "$ref": "#/definitions/AWS::LicenseManager::License.ValidityDateFormat" - } - }, - "required": [ - "ConsumptionConfiguration", - "Entitlements", - "HomeRegion", - "Issuer", - "LicenseName", - "ProductName", - "Validity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::License" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LicenseManager::License.BorrowConfiguration": { - "additionalProperties": false, - "properties": { - "AllowEarlyCheckIn": { - "type": "boolean" - }, - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "AllowEarlyCheckIn", - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ConsumptionConfiguration": { - "additionalProperties": false, - "properties": { - "BorrowConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.BorrowConfiguration" - }, - "ProvisionalConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ProvisionalConfiguration" - }, - "RenewType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LicenseManager::License.Entitlement": { - "additionalProperties": false, - "properties": { - "AllowCheckIn": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Overage": { - "type": "boolean" - }, - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Unit" - ], - "type": "object" - }, - "AWS::LicenseManager::License.IssuerData": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SignKey": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::LicenseManager::License.Metadata": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ProvisionalConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ValidityDateFormat": { - "additionalProperties": false, - "properties": { - "Begin": { - "type": "string" - }, - "End": { - "type": "string" - } - }, - "required": [ - "Begin", - "End" - ], - "type": "object" - }, - "AWS::Lightsail::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "BackupRetention": { - "type": "boolean" - }, - "CaCertificateIdentifier": { - "type": "string" - }, - "MasterDatabaseName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "RelationalDatabaseBlueprintId": { - "type": "string" - }, - "RelationalDatabaseBundleId": { - "type": "string" - }, - "RelationalDatabaseName": { - "type": "string" - }, - "RelationalDatabaseParameters": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Database.RelationalDatabaseParameter" - }, - "type": "array" - }, - "RotateMasterUserPassword": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MasterDatabaseName", - "MasterUsername", - "RelationalDatabaseBlueprintId", - "RelationalDatabaseBundleId", - "RelationalDatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Database.RelationalDatabaseParameter": { - "additionalProperties": false, - "properties": { - "AllowedValues": { - "type": "string" - }, - "ApplyMethod": { - "type": "string" - }, - "ApplyType": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IsModifiable": { - "type": "boolean" - }, - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Disk": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "SizeInGb": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DiskName", - "SizeInGb" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Disk" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlueprintId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Hardware": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Hardware" - }, - "InstanceName": { - "type": "string" - }, - "KeyPairName": { - "type": "string" - }, - "Networking": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Networking" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "required": [ - "BlueprintId", - "BundleId", - "InstanceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Disk": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "AttachmentState": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "IOPS": { - "type": "number" - }, - "IsSystemDisk": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "SizeInGb": { - "type": "string" - } - }, - "required": [ - "DiskName", - "Path" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Hardware": { - "additionalProperties": false, - "properties": { - "CpuCount": { - "type": "number" - }, - "Disks": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Disk" - }, - "type": "array" - }, - "RamSizeInGb": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Location": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.MonthlyTransfer": { - "additionalProperties": false, - "properties": { - "GbPerMonthAllocated": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Networking": { - "additionalProperties": false, - "properties": { - "MonthlyTransfer": { - "$ref": "#/definitions/AWS::Lightsail::Instance.MonthlyTransfer" - }, - "Ports": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Port" - }, - "type": "array" - } - }, - "required": [ - "Ports" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Port": { - "additionalProperties": false, - "properties": { - "AccessDirection": { - "type": "string" - }, - "AccessFrom": { - "type": "string" - }, - "AccessType": { - "type": "string" - }, - "CidrListAliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CommonName": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "Ipv6Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.State": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::StaticIp": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "StaticIpName": { - "type": "string" - } - }, - "required": [ - "StaticIpName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::StaticIp" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::GeofenceCollection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - } - }, - "required": [ - "CollectionName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::GeofenceCollection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::Location::Map.MapConfiguration" - }, - "Description": { - "type": "string" - }, - "MapName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "Configuration", - "MapName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Map" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map.MapConfiguration": { - "additionalProperties": false, - "properties": { - "Style": { - "type": "string" - } - }, - "required": [ - "Style" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Location::PlaceIndex.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "DataSource", - "IndexName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::PlaceIndex" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "IntendedUse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Location::RouteCalculator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CalculatorName": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "CalculatorName", - "DataSource", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::RouteCalculator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Tracker": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PositionFiltering": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "PricingPlan", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Tracker" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::TrackerConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerArn": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "ConsumerArn", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::TrackerConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationName": { - "type": "string" - }, - "DestinationPolicy": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "DestinationPolicy", - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::LogGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RetentionInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Logs::LogStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MetricTransformations": { - "items": { - "$ref": "#/definitions/AWS::Logs::MetricFilter.MetricTransformation" - }, - "type": "array" - } - }, - "required": [ - "FilterPattern", - "LogGroupName", - "MetricTransformations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::MetricFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter.MetricTransformation": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricValue": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricValue" - ], - "type": "object" - }, - "AWS::Logs::QueryDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - } - }, - "required": [ - "Name", - "QueryString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::QueryDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::SubscriptionFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "DestinationArn", - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::SubscriptionFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutEquipment::InferenceScheduler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelayOffsetInMinutes": { - "type": "number" - }, - "DataInputConfiguration": { - "type": "object" - }, - "DataOutputConfiguration": { - "type": "object" - }, - "DataUploadFrequency": { - "type": "string" - }, - "InferenceSchedulerName": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideKmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataInputConfiguration", - "DataOutputConfiguration", - "DataUploadFrequency", - "ModelName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutEquipment::InferenceScheduler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.Action" - }, - "AlertDescription": { - "type": "string" - }, - "AlertName": { - "type": "string" - }, - "AlertSensitivityThreshold": { - "type": "number" - }, - "AnomalyDetectorArn": { - "type": "string" - } - }, - "required": [ - "Action", - "AlertSensitivityThreshold", - "AnomalyDetectorArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::Alert" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.Action": { - "additionalProperties": false, - "properties": { - "LambdaConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.LambdaConfiguration" - }, - "SNSConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.SNSConfiguration" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::Alert.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LambdaArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.SNSConfiguration": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SnsTopicArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig" - }, - "AnomalyDetectorDescription": { - "type": "string" - }, - "AnomalyDetectorName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MetricSetList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSet" - }, - "type": "array" - } - }, - "required": [ - "AnomalyDetectorConfig", - "MetricSetList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::AnomalyDetector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorFrequency": { - "type": "string" - } - }, - "required": [ - "AnomalyDetectorFrequency" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig": { - "additionalProperties": false, - "properties": { - "FlowName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FlowName", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "FileCompression": { - "type": "string" - }, - "HeaderList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor": { - "additionalProperties": false, - "properties": { - "CsvFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor" - }, - "JsonFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "FileCompression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "AggregationFunction": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "AggregationFunction", - "MetricName" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSet": { - "additionalProperties": false, - "properties": { - "DimensionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MetricList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.Metric" - }, - "type": "array" - }, - "MetricSetDescription": { - "type": "string" - }, - "MetricSetFrequency": { - "type": "string" - }, - "MetricSetName": { - "type": "string" - }, - "MetricSource": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSource" - }, - "Offset": { - "type": "number" - }, - "TimestampColumn": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.TimestampColumn" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "MetricList", - "MetricSetName", - "MetricSource" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSource": { - "additionalProperties": false, - "properties": { - "AppFlowConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig" - }, - "CloudwatchConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig" - }, - "RDSSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig" - }, - "RedshiftSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig" - }, - "S3SourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig": { - "additionalProperties": false, - "properties": { - "DBInstanceIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "ClusterIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig": { - "additionalProperties": false, - "properties": { - "FileFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor" - }, - "HistoricalDataPathList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TemplatedPathList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "FileFormatDescriptor", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.TimestampColumn": { - "additionalProperties": false, - "properties": { - "ColumnFormat": { - "type": "string" - }, - "ColumnName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIdList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIdList", - "SubnetIdList" - ], - "type": "object" - }, - "AWS::LookoutVision::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutVision::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BrokerNodeGroupInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerNodeGroupInfo" - }, - "ClientAuthentication": { - "$ref": "#/definitions/AWS::MSK::Cluster.ClientAuthentication" - }, - "ClusterName": { - "type": "string" - }, - "ConfigurationInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConfigurationInfo" - }, - "EncryptionInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInfo" - }, - "EnhancedMonitoring": { - "type": "string" - }, - "KafkaVersion": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.LoggingInfo" - }, - "NumberOfBrokerNodes": { - "type": "number" - }, - "OpenMonitoring": { - "$ref": "#/definitions/AWS::MSK::Cluster.OpenMonitoring" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "BrokerNodeGroupInfo", - "ClusterName", - "KafkaVersion", - "NumberOfBrokerNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MSK::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster.BrokerLogs": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.CloudWatchLogs" - }, - "Firehose": { - "$ref": "#/definitions/AWS::MSK::Cluster.Firehose" - }, - "S3": { - "$ref": "#/definitions/AWS::MSK::Cluster.S3" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.BrokerNodeGroupInfo": { - "additionalProperties": false, - "properties": { - "BrokerAZDistribution": { - "type": "string" - }, - "ClientSubnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectivityInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConnectivityInfo" - }, - "InstanceType": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.StorageInfo" - } - }, - "required": [ - "ClientSubnets", - "InstanceType" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ClientAuthentication": { - "additionalProperties": false, - "properties": { - "Sasl": { - "$ref": "#/definitions/AWS::MSK::Cluster.Sasl" - }, - "Tls": { - "$ref": "#/definitions/AWS::MSK::Cluster.Tls" - }, - "Unauthenticated": { - "$ref": "#/definitions/AWS::MSK::Cluster.Unauthenticated" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.CloudWatchLogs": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroup": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConfigurationInfo": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Revision": { - "type": "number" - } - }, - "required": [ - "Arn", - "Revision" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConnectivityInfo": { - "additionalProperties": false, - "properties": { - "PublicAccess": { - "$ref": "#/definitions/AWS::MSK::Cluster.PublicAccess" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EBSStorageInfo": { - "additionalProperties": false, - "properties": { - "VolumeSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "DataVolumeKMSKeyId": { - "type": "string" - } - }, - "required": [ - "DataVolumeKMSKeyId" - ], - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInTransit": { - "additionalProperties": false, - "properties": { - "ClientBroker": { - "type": "string" - }, - "InCluster": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInfo": { - "additionalProperties": false, - "properties": { - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionAtRest" - }, - "EncryptionInTransit": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInTransit" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Iam": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.JmxExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.LoggingInfo": { - "additionalProperties": false, - "properties": { - "BrokerLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerLogs" - } - }, - "required": [ - "BrokerLogs" - ], - "type": "object" - }, - "AWS::MSK::Cluster.NodeExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.OpenMonitoring": { - "additionalProperties": false, - "properties": { - "Prometheus": { - "$ref": "#/definitions/AWS::MSK::Cluster.Prometheus" - } - }, - "required": [ - "Prometheus" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Prometheus": { - "additionalProperties": false, - "properties": { - "JmxExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.JmxExporter" - }, - "NodeExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.NodeExporter" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.PublicAccess": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.S3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Sasl": { - "additionalProperties": false, - "properties": { - "Iam": { - "$ref": "#/definitions/AWS::MSK::Cluster.Iam" - }, - "Scram": { - "$ref": "#/definitions/AWS::MSK::Cluster.Scram" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Scram": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.StorageInfo": { - "additionalProperties": false, - "properties": { - "EBSStorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EBSStorageInfo" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Tls": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArnList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Unauthenticated": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MWAA::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AirflowConfigurationOptions": { - "type": "object" - }, - "AirflowVersion": { - "type": "string" - }, - "DagS3Path": { - "type": "string" - }, - "EnvironmentClass": { - "type": "string" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "KmsKey": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.LoggingConfiguration" - }, - "MaxWorkers": { - "type": "number" - }, - "MinWorkers": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.NetworkConfiguration" - }, - "PluginsS3ObjectVersion": { - "type": "string" - }, - "PluginsS3Path": { - "type": "string" - }, - "RequirementsS3ObjectVersion": { - "type": "string" - }, - "RequirementsS3Path": { - "type": "string" - }, - "Schedulers": { - "type": "number" - }, - "SourceBucketArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WebserverAccessMode": { - "type": "string" - }, - "WeeklyMaintenanceWindowStart": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MWAA::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MWAA::Environment.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "SchedulerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "TaskLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WebserverLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WorkerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.ModuleLoggingConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Macie::CustomDataIdentifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreWords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Keywords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumMatchDistance": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "required": [ - "Name", - "Regex" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::CustomDataIdentifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Position": { - "type": "number" - } - }, - "required": [ - "FindingCriteria", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::FindingsFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter.Criterion": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.Criterion" - } - }, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingsFilterListItem": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Macie::Session": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FindingPublishingFrequency": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::Session" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InvitationId": { - "type": "string" - }, - "MemberConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberConfiguration" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkConfiguration" - }, - "NetworkId": { - "type": "string" - } - }, - "required": [ - "MemberConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy": { - "additionalProperties": false, - "properties": { - "ProposalDurationInHours": { - "type": "number" - }, - "ThresholdComparator": { - "type": "string" - }, - "ThresholdPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFabricConfiguration": { - "additionalProperties": false, - "properties": { - "AdminPassword": { - "type": "string" - }, - "AdminUsername": { - "type": "string" - } - }, - "required": [ - "AdminPassword", - "AdminUsername" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "MemberFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Framework": { - "type": "string" - }, - "FrameworkVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration" - }, - "VotingPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.VotingPolicy" - } - }, - "required": [ - "Framework", - "FrameworkVersion", - "Name", - "VotingPolicy" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFabricConfiguration": { - "additionalProperties": false, - "properties": { - "Edition": { - "type": "string" - } - }, - "required": [ - "Edition" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "NetworkFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.VotingPolicy": { - "additionalProperties": false, - "properties": { - "ApprovalThresholdPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Node": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MemberId": { - "type": "string" - }, - "NetworkId": { - "type": "string" - }, - "NodeConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node.NodeConfiguration" - } - }, - "required": [ - "NetworkId", - "NodeConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Node" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Node.NodeConfiguration": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceType" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Source" - }, - "SourceFailoverConfig": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.FailoverConfig" - } - }, - "required": [ - "Name", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::Flow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.FailoverConfig": { - "additionalProperties": false, - "properties": { - "RecoveryWindow": { - "type": "number" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::Flow.Source": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "IngestIp": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceIngestPort": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataTransferSubscriberFeePercent": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement.Encryption" - }, - "EntitlementStatus": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Subscribers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Description", - "FlowArn", - "Name", - "Subscribers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowEntitlement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrAllowList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Destination": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.Encryption" - }, - "FlowArn": { - "type": "string" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "RemoteId": { - "type": "string" - }, - "SmoothingLatency": { - "type": "number" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceAttachment": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment" - } - }, - "required": [ - "FlowArn", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SecretArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "VpcInterfaceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "required": [ - "Description", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowSource.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowVpcInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FlowArn", - "Name", - "RoleArn", - "SecurityGroupIds", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowVpcInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerationSettings": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.AccelerationSettings" - }, - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HopDestinations": { - "items": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.HopDestination" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "StatusUpdateInterval": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.AccelerationSettings": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.HopDestination": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "WaitMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaConvert::Preset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Preset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CdiInputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CdiInputSpecification" - }, - "ChannelClass": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestination" - }, - "type": "array" - }, - "EncoderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EncoderSettings" - }, - "InputAttachments": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputAttachment" - }, - "type": "array" - }, - "InputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSpecification" - }, - "LogLevel": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VpcOutputSettings" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel.AacSettings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "InputType": { - "type": "string" - }, - "Profile": { - "type": "string" - }, - "RateControlMode": { - "type": "string" - }, - "RawFormat": { - "type": "string" - }, - "SampleRate": { - "type": "number" - }, - "Spec": { - "type": "string" - }, - "VbrQuality": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Ac3Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcProfile": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "MetadataControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AncillarySourceSettings": { - "additionalProperties": false, - "properties": { - "SourceAncillaryChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveCdnSettings": { - "additionalProperties": false, - "properties": { - "ArchiveS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - }, - "RawSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RawSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveCdnSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "RolloverInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveOutputSettings": { - "additionalProperties": false, - "properties": { - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveContainerSettings" - }, - "Extension": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AribDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AribSourceSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioChannelMapping": { - "additionalProperties": false, - "properties": { - "InputChannelLevels": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputChannelLevel" - }, - "type": "array" - }, - "OutputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioCodecSettings": { - "additionalProperties": false, - "properties": { - "AacSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AacSettings" - }, - "Ac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Ac3Settings" - }, - "Eac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Eac3Settings" - }, - "Mp2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mp2Settings" - }, - "PassThroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.PassThroughSettings" - }, - "WavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioDescription": { - "additionalProperties": false, - "properties": { - "AudioNormalizationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioNormalizationSettings" - }, - "AudioSelectorName": { - "type": "string" - }, - "AudioType": { - "type": "string" - }, - "AudioTypeControl": { - "type": "string" - }, - "AudioWatermarkingSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioWatermarkSettings" - }, - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioCodecSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageCodeControl": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RemixSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RemixSettings" - }, - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioHlsRenditionSelection": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioLanguageSelection": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "LanguageSelectionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioNormalizationSettings": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "AlgorithmControl": { - "type": "string" - }, - "TargetLkfs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioOnlyHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioGroupId": { - "type": "string" - }, - "AudioOnlyImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "AudioTrackType": { - "type": "string" - }, - "SegmentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioPidSelection": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelectorSettings": { - "additionalProperties": false, - "properties": { - "AudioHlsRenditionSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioHlsRenditionSelection" - }, - "AudioLanguageSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioLanguageSelection" - }, - "AudioPidSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioPidSelection" - }, - "AudioTrackSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrackSelection" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSilenceFailoverSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectorName": { - "type": "string" - }, - "AudioSilenceThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrack": { - "additionalProperties": false, - "properties": { - "Track": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrackSelection": { - "additionalProperties": false, - "properties": { - "Tracks": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrack" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioWatermarkSettings": { - "additionalProperties": false, - "properties": { - "NielsenWatermarksSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenWatermarksSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AutomaticInputFailoverSettings": { - "additionalProperties": false, - "properties": { - "ErrorClearTimeMsec": { - "type": "number" - }, - "FailoverConditions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverCondition" - }, - "type": "array" - }, - "InputPreference": { - "type": "string" - }, - "SecondaryInputId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailBlanking": { - "additionalProperties": false, - "properties": { - "AvailBlankingImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailConfiguration": { - "additionalProperties": false, - "properties": { - "AvailSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailSettings": { - "additionalProperties": false, - "properties": { - "Scte35SpliceInsert": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35SpliceInsert" - }, - "Scte35TimeSignalApos": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35TimeSignalApos" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BlackoutSlate": { - "additionalProperties": false, - "properties": { - "BlackoutSlateImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkEndBlackout": { - "type": "string" - }, - "NetworkEndBlackoutImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkId": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BurnInDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDescription": { - "additionalProperties": false, - "properties": { - "CaptionSelectorName": { - "type": "string" - }, - "DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDestinationSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDestinationSettings": { - "additionalProperties": false, - "properties": { - "AribDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribDestinationSettings" - }, - "BurnInDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BurnInDestinationSettings" - }, - "DvbSubDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubDestinationSettings" - }, - "EbuTtDDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EbuTtDDestinationSettings" - }, - "EmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedDestinationSettings" - }, - "EmbeddedPlusScte20DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings" - }, - "RtmpCaptionInfoDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings" - }, - "Scte20PlusEmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings" - }, - "Scte27DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27DestinationSettings" - }, - "SmpteTtDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.SmpteTtDestinationSettings" - }, - "TeletextDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextDestinationSettings" - }, - "TtmlDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TtmlDestinationSettings" - }, - "WebvttDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WebvttDestinationSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionLanguageMapping": { - "additionalProperties": false, - "properties": { - "CaptionChannel": { - "type": "number" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionRectangle": { - "additionalProperties": false, - "properties": { - "Height": { - "type": "number" - }, - "LeftOffset": { - "type": "number" - }, - "TopOffset": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelector": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelectorSettings": { - "additionalProperties": false, - "properties": { - "AncillarySourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AncillarySourceSettings" - }, - "AribSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribSourceSettings" - }, - "DvbSubSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubSourceSettings" - }, - "EmbeddedSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedSourceSettings" - }, - "Scte20SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20SourceSettings" - }, - "Scte27SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27SourceSettings" - }, - "TeletextSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextSourceSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CdiInputSpecification": { - "additionalProperties": false, - "properties": { - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ColorSpacePassthroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbNitSettings": { - "additionalProperties": false, - "properties": { - "NetworkId": { - "type": "number" - }, - "NetworkName": { - "type": "string" - }, - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSdtSettings": { - "additionalProperties": false, - "properties": { - "OutputSdt": { - "type": "string" - }, - "RepInterval": { - "type": "number" - }, - "ServiceName": { - "type": "string" - }, - "ServiceProviderName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubSourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbTdtSettings": { - "additionalProperties": false, - "properties": { - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Eac3Settings": { - "additionalProperties": false, - "properties": { - "AttenuationControl": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "DcFilter": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcLine": { - "type": "string" - }, - "DrcRf": { - "type": "string" - }, - "LfeControl": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "LoRoCenterMixLevel": { - "type": "number" - }, - "LoRoSurroundMixLevel": { - "type": "number" - }, - "LtRtCenterMixLevel": { - "type": "number" - }, - "LtRtSurroundMixLevel": { - "type": "number" - }, - "MetadataControl": { - "type": "string" - }, - "PassthroughControl": { - "type": "string" - }, - "PhaseControl": { - "type": "string" - }, - "StereoDownmix": { - "type": "string" - }, - "SurroundExMode": { - "type": "string" - }, - "SurroundMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EbuTtDDestinationSettings": { - "additionalProperties": false, - "properties": { - "CopyrightHolder": { - "type": "string" - }, - "FillLineGap": { - "type": "string" - }, - "FontFamily": { - "type": "string" - }, - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedSourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Scte20Detection": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - }, - "Source608TrackNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EncoderSettings": { - "additionalProperties": false, - "properties": { - "AudioDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioDescription" - }, - "type": "array" - }, - "AvailBlanking": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailBlanking" - }, - "AvailConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailConfiguration" - }, - "BlackoutSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BlackoutSlate" - }, - "CaptionDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDescription" - }, - "type": "array" - }, - "FeatureActivations": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FeatureActivations" - }, - "GlobalConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.GlobalConfiguration" - }, - "MotionGraphicsConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsConfiguration" - }, - "NielsenConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenConfiguration" - }, - "OutputGroups": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroup" - }, - "type": "array" - }, - "TimecodeConfig": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TimecodeConfig" - }, - "VideoDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverCondition": { - "additionalProperties": false, - "properties": { - "FailoverConditionSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverConditionSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverConditionSettings": { - "additionalProperties": false, - "properties": { - "AudioSilenceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSilenceFailoverSettings" - }, - "InputLossSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossFailoverSettings" - }, - "VideoBlackSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoBlackFailoverSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FeatureActivations": { - "additionalProperties": false, - "properties": { - "InputPrepareScheduleActions": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FecOutputSettings": { - "additionalProperties": false, - "properties": { - "ColumnDepth": { - "type": "number" - }, - "IncludeFec": { - "type": "string" - }, - "RowLength": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Fmp4HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureCdnSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FrameCaptureCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureCdnSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureHlsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureOutputSettings": { - "additionalProperties": false, - "properties": { - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureSettings": { - "additionalProperties": false, - "properties": { - "CaptureInterval": { - "type": "number" - }, - "CaptureIntervalUnits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.GlobalConfiguration": { - "additionalProperties": false, - "properties": { - "InitialAudioGain": { - "type": "number" - }, - "InputEndAction": { - "type": "string" - }, - "InputLossBehavior": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossBehavior" - }, - "OutputLockingMode": { - "type": "string" - }, - "OutputTimingSource": { - "type": "string" - }, - "SupportLowFramerateInputs": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufFillPct": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264ColorSpaceSettings" - }, - "EntropyEncoding": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "ForceFieldPictures": { - "type": "string" - }, - "FramerateControl": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopBReference": { - "type": "string" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "NumRefFrames": { - "type": "number" - }, - "ParControl": { - "type": "string" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QualityLevel": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Softness": { - "type": "number" - }, - "SpatialAq": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "Syntax": { - "type": "string" - }, - "TemporalAq": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "AlternativeTransferFunction": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265ColorSpaceSettings" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Tier": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Hdr10Settings": { - "additionalProperties": false, - "properties": { - "MaxCll": { - "type": "number" - }, - "MaxFall": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsAkamaiSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "Salt": { - "type": "string" - }, - "Token": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsBasicPutSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsCdnSettings": { - "additionalProperties": false, - "properties": { - "HlsAkamaiSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsAkamaiSettings" - }, - "HlsBasicPutSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsBasicPutSettings" - }, - "HlsMediaStoreSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsMediaStoreSettings" - }, - "HlsS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsS3Settings" - }, - "HlsWebdavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsWebdavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BaseUrlContent": { - "type": "string" - }, - "BaseUrlContent1": { - "type": "string" - }, - "BaseUrlManifest": { - "type": "string" - }, - "BaseUrlManifest1": { - "type": "string" - }, - "CaptionLanguageMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionLanguageMapping" - }, - "type": "array" - }, - "CaptionLanguageSetting": { - "type": "string" - }, - "ClientCache": { - "type": "string" - }, - "CodecSpecification": { - "type": "string" - }, - "ConstantIv": { - "type": "string" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "DirectoryStructure": { - "type": "string" - }, - "DiscontinuityTags": { - "type": "string" - }, - "EncryptionType": { - "type": "string" - }, - "HlsCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsCdnSettings" - }, - "HlsId3SegmentTagging": { - "type": "string" - }, - "IFrameOnlyPlaylists": { - "type": "string" - }, - "IncompleteSegmentBehavior": { - "type": "string" - }, - "IndexNSegments": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "IvInManifest": { - "type": "string" - }, - "IvSource": { - "type": "string" - }, - "KeepSegments": { - "type": "number" - }, - "KeyFormat": { - "type": "string" - }, - "KeyFormatVersions": { - "type": "string" - }, - "KeyProviderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.KeyProviderSettings" - }, - "ManifestCompression": { - "type": "string" - }, - "ManifestDurationFormat": { - "type": "string" - }, - "MinSegmentLength": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "OutputSelection": { - "type": "string" - }, - "ProgramDateTime": { - "type": "string" - }, - "ProgramDateTimePeriod": { - "type": "number" - }, - "RedundantManifest": { - "type": "string" - }, - "SegmentLength": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SegmentsPerSubdirectory": { - "type": "number" - }, - "StreamInfResolution": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - }, - "TimestampDeltaMilliseconds": { - "type": "number" - }, - "TsFileMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsInputSettings": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "type": "number" - }, - "BufferSegments": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "RetryInterval": { - "type": "number" - }, - "Scte35Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsMediaStoreSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "MediaStoreStorageClass": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsSettings" - }, - "NameModifier": { - "type": "string" - }, - "SegmentModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioOnlyHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioOnlyHlsSettings" - }, - "Fmp4HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Fmp4HlsSettings" - }, - "FrameCaptureHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureHlsSettings" - }, - "StandardHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StandardHlsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsWebdavSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HtmlMotionGraphicsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.InputAttachment": { - "additionalProperties": false, - "properties": { - "AutomaticInputFailoverSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AutomaticInputFailoverSettings" - }, - "InputAttachmentName": { - "type": "string" - }, - "InputId": { - "type": "string" - }, - "InputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputChannelLevel": { - "additionalProperties": false, - "properties": { - "Gain": { - "type": "number" - }, - "InputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLocation": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Uri": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossBehavior": { - "additionalProperties": false, - "properties": { - "BlackFrameMsec": { - "type": "number" - }, - "InputLossImageColor": { - "type": "string" - }, - "InputLossImageSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "InputLossImageType": { - "type": "string" - }, - "RepeatFrameMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossFailoverSettings": { - "additionalProperties": false, - "properties": { - "InputLossThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelector" - }, - "type": "array" - }, - "CaptionSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelector" - }, - "type": "array" - }, - "DeblockFilter": { - "type": "string" - }, - "DenoiseFilter": { - "type": "string" - }, - "FilterStrength": { - "type": "number" - }, - "InputFilter": { - "type": "string" - }, - "NetworkInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NetworkInputSettings" - }, - "Smpte2038DataPreference": { - "type": "string" - }, - "SourceEndBehavior": { - "type": "string" - }, - "VideoSelector": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelector" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSpecification": { - "additionalProperties": false, - "properties": { - "Codec": { - "type": "string" - }, - "MaximumBitrate": { - "type": "string" - }, - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.KeyProviderSettings": { - "additionalProperties": false, - "properties": { - "StaticKeySettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StaticKeySettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M2tsSettings": { - "additionalProperties": false, - "properties": { - "AbsentInputAudioBehavior": { - "type": "string" - }, - "Arib": { - "type": "string" - }, - "AribCaptionsPid": { - "type": "string" - }, - "AribCaptionsPidControl": { - "type": "string" - }, - "AudioBufferModel": { - "type": "string" - }, - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "AudioStreamType": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufferModel": { - "type": "string" - }, - "CcDescriptor": { - "type": "string" - }, - "DvbNitSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbNitSettings" - }, - "DvbSdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSdtSettings" - }, - "DvbSubPids": { - "type": "string" - }, - "DvbTdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbTdtSettings" - }, - "DvbTeletextPid": { - "type": "string" - }, - "Ebif": { - "type": "string" - }, - "EbpAudioInterval": { - "type": "string" - }, - "EbpLookaheadMs": { - "type": "number" - }, - "EbpPlacement": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "EsRateInPes": { - "type": "string" - }, - "EtvPlatformPid": { - "type": "string" - }, - "EtvSignalPid": { - "type": "string" - }, - "FragmentTime": { - "type": "number" - }, - "Klv": { - "type": "string" - }, - "KlvDataPids": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "NullPacketBitrate": { - "type": "number" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "RateMode": { - "type": "string" - }, - "Scte27Pids": { - "type": "string" - }, - "Scte35Control": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "SegmentationMarkers": { - "type": "string" - }, - "SegmentationStyle": { - "type": "string" - }, - "SegmentationTime": { - "type": "number" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M3u8Settings": { - "additionalProperties": false, - "properties": { - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "Scte35Behavior": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsConfiguration": { - "additionalProperties": false, - "properties": { - "MotionGraphicsInsertion": { - "type": "string" - }, - "MotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsSettings": { - "additionalProperties": false, - "properties": { - "HtmlMotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HtmlMotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mp2Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpace": { - "type": "string" - }, - "DisplayAspectRatio": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothGroupSettings": { - "additionalProperties": false, - "properties": { - "AcquisitionPointId": { - "type": "string" - }, - "AudioOnlyTimecodeControl": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "EventId": { - "type": "string" - }, - "EventIdMode": { - "type": "string" - }, - "EventStopBehavior": { - "type": "string" - }, - "FilecacheDuration": { - "type": "number" - }, - "FragmentLength": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SendDelayMs": { - "type": "number" - }, - "SparseTrackType": { - "type": "string" - }, - "StreamManifestBehavior": { - "type": "string" - }, - "TimestampOffset": { - "type": "string" - }, - "TimestampOffsetMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexGroupSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexOutputSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings": { - "additionalProperties": false, - "properties": { - "MultiplexId": { - "type": "string" - }, - "ProgramName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NetworkInputSettings": { - "additionalProperties": false, - "properties": { - "HlsInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsInputSettings" - }, - "ServerValidation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenCBET": { - "additionalProperties": false, - "properties": { - "CbetCheckDigitString": { - "type": "string" - }, - "CbetStepaside": { - "type": "string" - }, - "Csid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenConfiguration": { - "additionalProperties": false, - "properties": { - "DistributorId": { - "type": "string" - }, - "NielsenPcmToId3Tagging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenNaesIiNw": { - "additionalProperties": false, - "properties": { - "CheckDigitString": { - "type": "string" - }, - "Sid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenWatermarksSettings": { - "additionalProperties": false, - "properties": { - "NielsenCbetSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenCBET" - }, - "NielsenDistributionType": { - "type": "string" - }, - "NielsenNaesIiNwSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenNaesIiNw" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Output": { - "additionalProperties": false, - "properties": { - "AudioDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CaptionDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OutputName": { - "type": "string" - }, - "OutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputSettings" - }, - "VideoDescriptionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestination": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "MediaPackageSettings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings" - }, - "type": "array" - }, - "MultiplexSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings" - }, - "Settings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestinationSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroup": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OutputGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroupSettings" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Output" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveGroupSettings" - }, - "FrameCaptureGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureGroupSettings" - }, - "HlsGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsGroupSettings" - }, - "MediaPackageGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageGroupSettings" - }, - "MsSmoothGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothGroupSettings" - }, - "MultiplexGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexGroupSettings" - }, - "RtmpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpGroupSettings" - }, - "UdpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpGroupSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputLocationRef": { - "additionalProperties": false, - "properties": { - "DestinationRefId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputSettings": { - "additionalProperties": false, - "properties": { - "ArchiveOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveOutputSettings" - }, - "FrameCaptureOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureOutputSettings" - }, - "HlsOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsOutputSettings" - }, - "MediaPackageOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputSettings" - }, - "MsSmoothOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothOutputSettings" - }, - "MultiplexOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexOutputSettings" - }, - "RtmpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpOutputSettings" - }, - "UdpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.PassThroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RawSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec601Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec709Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RemixSettings": { - "additionalProperties": false, - "properties": { - "ChannelMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioChannelMapping" - }, - "type": "array" - }, - "ChannelsIn": { - "type": "number" - }, - "ChannelsOut": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationScheme": { - "type": "string" - }, - "CacheFullBehavior": { - "type": "string" - }, - "CacheLength": { - "type": "number" - }, - "CaptionData": { - "type": "string" - }, - "InputLossAction": { - "type": "string" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpOutputSettings": { - "additionalProperties": false, - "properties": { - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "NumRetries": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20SourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27SourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35SpliceInsert": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35TimeSignalApos": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.SmpteTtDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.StandardHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "M3u8Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M3u8Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.StaticKeySettings": { - "additionalProperties": false, - "properties": { - "KeyProviderServer": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "StaticKeyValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextSourceSettings": { - "additionalProperties": false, - "properties": { - "OutputRectangle": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionRectangle" - }, - "PageNumber": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TemporalFilterSettings": { - "additionalProperties": false, - "properties": { - "PostFilterSharpening": { - "type": "string" - }, - "Strength": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TimecodeConfig": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "SyncThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TtmlDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpGroupSettings": { - "additionalProperties": false, - "properties": { - "InputLossAction": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpOutputSettings": { - "additionalProperties": false, - "properties": { - "BufferMsec": { - "type": "number" - }, - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpContainerSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FecOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FecOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoBlackFailoverSettings": { - "additionalProperties": false, - "properties": { - "BlackDetectThreshold": { - "type": "number" - }, - "VideoBlackThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoCodecSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureSettings" - }, - "H264Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264Settings" - }, - "H265Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265Settings" - }, - "Mpeg2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoDescription": { - "additionalProperties": false, - "properties": { - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoCodecSettings" - }, - "Height": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RespondToAfd": { - "type": "string" - }, - "ScalingBehavior": { - "type": "string" - }, - "Sharpness": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelector": { - "additionalProperties": false, - "properties": { - "ColorSpace": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings" - }, - "ColorSpaceUsage": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorPid": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorProgramId": { - "additionalProperties": false, - "properties": { - "ProgramId": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorSettings": { - "additionalProperties": false, - "properties": { - "VideoSelectorPid": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorPid" - }, - "VideoSelectorProgramId": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorProgramId" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VpcOutputSettings": { - "additionalProperties": false, - "properties": { - "PublicAddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WavSettings": { - "additionalProperties": false, - "properties": { - "BitDepth": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WebvttDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDestinationRequest" - }, - "type": "array" - }, - "InputDevices": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDeviceSettings" - }, - "type": "array" - }, - "InputSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MediaConnectFlows": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.MediaConnectFlowRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputSourceRequest" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputVpcRequest" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Input.InputDestinationRequest": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceRequest": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceSettings": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputSourceRequest": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputVpcRequest": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.MediaConnectFlowRequest": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - }, - "WhitelistRules": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::InputSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "PackagingGroupId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId", - "SourceArn", - "SourceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Asset.EgressEndpoint": { - "additionalProperties": false, - "properties": { - "PackagingConfigurationId": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "PackagingConfigurationId", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "IngressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.Authorization" - }, - "ChannelId": { - "type": "string" - }, - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashPackage" - }, - "Description": { - "type": "string" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsPackage" - }, - "Id": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssPackage" - }, - "Origination": { - "type": "string" - }, - "StartoverWindowSeconds": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeDelaySeconds": { - "type": "number" - }, - "Whitelist": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ChannelId", - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::OriginEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentPrefix": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashEncryption": { - "additionalProperties": false, - "properties": { - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashPackage": { - "additionalProperties": false, - "properties": { - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashEncryption" - }, - "ManifestLayout": { - "type": "string" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "MinUpdatePeriodSeconds": { - "type": "number" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Profile": { - "type": "string" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "SuggestedPresentationDelaySeconds": { - "type": "number" - }, - "UtcTiming": { - "type": "string" - }, - "UtcTimingUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsPackage": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsEncryption" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssEncryption" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashPackage" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsPackage" - }, - "Id": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssPackage" - }, - "PackagingGroupId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashManifest": { - "additionalProperties": false, - "properties": { - "ManifestLayout": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashPackage": { - "additionalProperties": false, - "properties": { - "DashManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashManifest" - }, - "type": "array" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashEncryption" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - } - }, - "required": [ - "DashManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssManifest": { - "additionalProperties": false, - "properties": { - "ManifestName": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssEncryption" - }, - "MssManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "MssManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.Authorization" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingEnabled": { - "type": "boolean" - }, - "ContainerName": { - "type": "string" - }, - "CorsPolicy": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.CorsRule" - }, - "type": "array" - }, - "LifecyclePolicy": { - "type": "string" - }, - "MetricPolicy": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicy" - }, - "Policy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaStore::Container" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaStore::Container.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposeHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxAgeSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicy": { - "additionalProperties": false, - "properties": { - "ContainerLevelMetrics": { - "type": "string" - }, - "MetricPolicyRules": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicyRule" - }, - "type": "array" - } - }, - "required": [ - "ContainerLevelMetrics" - ], - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicyRule": { - "additionalProperties": false, - "properties": { - "ObjectGroup": { - "type": "string" - }, - "ObjectGroupName": { - "type": "string" - } - }, - "required": [ - "ObjectGroup", - "ObjectGroupName" - ], - "type": "object" - }, - "AWS::MemoryDB::ACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ACLName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ClusterName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "FinalSnapshotName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumReplicasPerShard": { - "type": "number" - }, - "NumShards": { - "type": "number" - }, - "ParameterGroupName": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SnsTopicStatus": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "TLSEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ACLName", - "ClusterName", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MemoryDB::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Family", - "ParameterGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetGroupName", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "AuthenticationMode": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "AccessString", - "AuthenticationMode", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::Neptune::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::Neptune::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "FirewallPolicyArn": { - "type": "string" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall.SubnetMapping" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallName", - "FirewallPolicyArn", - "SubnetMappings", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::Firewall" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall.SubnetMapping": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy" - }, - "FirewallPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirewallPolicy", - "FirewallPolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::FirewallPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy": { - "additionalProperties": false, - "properties": { - "StatefulDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference" - }, - "type": "array" - }, - "StatelessCustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.CustomAction" - }, - "type": "array" - }, - "StatelessDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessFragmentDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference" - }, - "type": "array" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "Priority", - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallArn": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration" - } - }, - "required": [ - "FirewallArn", - "LoggingConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig": { - "additionalProperties": false, - "properties": { - "LogDestination": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LogDestinationType": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "LogDestination", - "LogDestinationType", - "LogType" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig" - }, - "type": "array" - } - }, - "required": [ - "LogDestinationConfigs" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleGroup" - }, - "RuleGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Capacity", - "RuleGroupName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationPort": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourcePort": { - "type": "string" - } - }, - "required": [ - "Destination", - "DestinationPort", - "Direction", - "Protocol", - "Source", - "SourcePort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "Protocols": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SourcePorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "TCPFlags": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.TCPFlagField" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MatchAttributes": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.MatchAttributes" - } - }, - "required": [ - "Actions", - "MatchAttributes" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleGroup": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "type": "string" - }, - "Settings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSourceList" - }, - "RulesString": { - "type": "string" - }, - "StatefulRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRule" - }, - "type": "array" - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "type": "string" - }, - "TargetTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GeneratedRulesType", - "TargetTypes", - "Targets" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Header": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Header" - }, - "RuleOptions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleOption" - }, - "type": "array" - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "RuleDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleDefinition" - } - }, - "required": [ - "Priority", - "RuleDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.CustomAction" - }, - "type": "array" - }, - "StatelessRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRule" - }, - "type": "array" - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Masks": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "AWS::NetworkManager::CustomerGatewayAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayArn": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "CustomerGatewayArn", - "DeviceId", - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::CustomerGatewayAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Device.Location" - }, - "Model": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Vendor": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::GlobalNetwork": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::GlobalNetwork" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::NetworkManager::Link": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::NetworkManager::Link.Bandwidth" - }, - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Provider": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Bandwidth", - "GlobalNetworkId", - "SiteId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Link" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Link.Bandwidth": { - "additionalProperties": false, - "properties": { - "DownloadSpeed": { - "type": "number" - }, - "UploadSpeed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::NetworkManager::LinkAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "DeviceId", - "GlobalNetworkId", - "LinkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::LinkAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Site.Location" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Site" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::TransitGatewayRegistration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GlobalNetworkId": { - "type": "string" - }, - "TransitGatewayArn": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId", - "TransitGatewayArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::TransitGatewayRegistration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchProfileProtocolVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "StreamConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile.StreamConfiguration" - }, - "StudioComponentIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2SubnetIds", - "LaunchProfileProtocolVersions", - "Name", - "StreamConfiguration", - "StudioComponentIds", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::LaunchProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile.StreamConfiguration": { - "additionalProperties": false, - "properties": { - "ClipboardMode": { - "type": "string" - }, - "Ec2InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionLengthInMinutes": { - "type": "number" - }, - "StreamingImageIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClipboardMode", - "Ec2InstanceTypes", - "StreamingImageIds" - ], - "type": "object" - }, - "AWS::NimbleStudio::StreamingImage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2ImageId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2ImageId", - "Name", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StreamingImage" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdminRoleArn": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "StudioEncryptionConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::Studio.StudioEncryptionConfiguration" - }, - "StudioName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UserRoleArn": { - "type": "string" - } - }, - "required": [ - "AdminRoleArn", - "DisplayName", - "StudioName", - "UserRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio.StudioEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KeyArn": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration" - }, - "Description": { - "type": "string" - }, - "Ec2SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InitializationScripts": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScriptParameters": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Subtype": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StudioId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StudioComponent" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "ComputerAttributes": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute" - }, - "type": "array" - }, - "DirectoryId": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryUser": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "LinuxMountPoint": { - "type": "string" - }, - "ShareName": { - "type": "string" - }, - "WindowsMountDrive": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration" - }, - "ComputeFarmConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration" - }, - "LicenseServiceConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration" - }, - "SharedFileSystemConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript": { - "additionalProperties": false, - "properties": { - "LaunchProfileProtocolVersion": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "RunContext": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput" - }, - "ClusterConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ClusterConfig" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EBSOptions" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EncryptionAtRestOptions" - }, - "EngineVersion": { - "type": "string" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpenSearchService::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ClusterConfig": { - "additionalProperties": false, - "properties": { - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppSource": { - "$ref": "#/definitions/AWS::OpsWorks::App.Source" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DataSources": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.DataSource" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableSsl": { - "type": "boolean" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.EnvironmentVariable" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Shortname": { - "type": "string" - }, - "SslConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::App.SslConfiguration" - }, - "StackId": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::App.DataSource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Secure": { - "type": "boolean" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::OpsWorks::App.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.SslConfiguration": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Chain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ElasticLoadBalancerName": { - "type": "string" - }, - "LayerId": { - "type": "string" - } - }, - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::ElasticLoadBalancerAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "AmiId": { - "type": "string" - }, - "Architecture": { - "type": "string" - }, - "AutoScalingType": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Hostname": { - "type": "string" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceType": { - "type": "string" - }, - "LayerIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Os": { - "type": "string" - }, - "RootDeviceType": { - "type": "string" - }, - "SshKeyName": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tenancy": { - "type": "string" - }, - "TimeBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.TimeBasedAutoScaling" - }, - "VirtualizationType": { - "type": "string" - }, - "Volumes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "InstanceType", - "LayerIds", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.TimeBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "Friday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Monday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Saturday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Sunday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Thursday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tuesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Wednesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomInstanceProfileArn": { - "type": "string" - }, - "CustomJson": { - "type": "object" - }, - "CustomRecipes": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.Recipes" - }, - "CustomSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LifecycleEventConfiguration" - }, - "LoadBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LoadBasedAutoScaling" - }, - "Name": { - "type": "string" - }, - "Packages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shortname": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "VolumeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.VolumeConfiguration" - }, - "type": "array" - } - }, - "required": [ - "AutoAssignElasticIps", - "AutoAssignPublicIps", - "EnableAutoHealing", - "Name", - "Shortname", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Layer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Layer.AutoScalingThresholds": { - "additionalProperties": false, - "properties": { - "CpuThreshold": { - "type": "number" - }, - "IgnoreMetricsTime": { - "type": "number" - }, - "InstanceCount": { - "type": "number" - }, - "LoadThreshold": { - "type": "number" - }, - "MemoryThreshold": { - "type": "number" - }, - "ThresholdsWaitTime": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LifecycleEventConfiguration": { - "additionalProperties": false, - "properties": { - "ShutdownEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.ShutdownEventConfiguration" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LoadBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "DownScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - }, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.Recipes": { - "additionalProperties": false, - "properties": { - "Configure": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Deploy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Setup": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shutdown": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Undeploy": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.ShutdownEventConfiguration": { - "additionalProperties": false, - "properties": { - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - }, - "ExecutionTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.VolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "MountPoint": { - "type": "string" - }, - "NumberOfDisks": { - "type": "number" - }, - "RaidLevel": { - "type": "number" - }, - "Size": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ChefConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ChefConfiguration" - }, - "CloneAppIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClonePermissions": { - "type": "boolean" - }, - "ConfigurationManager": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.StackConfigurationManager" - }, - "CustomCookbooksSource": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.Source" - }, - "CustomJson": { - "type": "object" - }, - "DefaultAvailabilityZone": { - "type": "string" - }, - "DefaultInstanceProfileArn": { - "type": "string" - }, - "DefaultOs": { - "type": "string" - }, - "DefaultRootDeviceType": { - "type": "string" - }, - "DefaultSshKeyName": { - "type": "string" - }, - "DefaultSubnetId": { - "type": "string" - }, - "EcsClusterArn": { - "type": "string" - }, - "ElasticIps": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ElasticIp" - }, - "type": "array" - }, - "HostnameTheme": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RdsDbInstances": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.RdsDbInstance" - }, - "type": "array" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SourceStackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DefaultInstanceProfileArn", - "Name", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Stack" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.ChefConfiguration": { - "additionalProperties": false, - "properties": { - "BerkshelfVersion": { - "type": "string" - }, - "ManageBerkshelf": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.ElasticIp": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.RdsDbInstance": { - "additionalProperties": false, - "properties": { - "DbPassword": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "RdsDbInstanceArn": { - "type": "string" - } - }, - "required": [ - "DbPassword", - "DbUser", - "RdsDbInstanceArn" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.StackConfigurationManager": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowSelfManagement": { - "type": "boolean" - }, - "IamUserArn": { - "type": "string" - }, - "SshPublicKey": { - "type": "string" - }, - "SshUsername": { - "type": "string" - } - }, - "required": [ - "IamUserArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ec2VolumeId": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StackId": { - "type": "string" - } - }, - "required": [ - "Ec2VolumeId", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "BackupId": { - "type": "string" - }, - "BackupRetentionCount": { - "type": "number" - }, - "CustomCertificate": { - "type": "string" - }, - "CustomDomain": { - "type": "string" - }, - "CustomPrivateKey": { - "type": "string" - }, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineAttributes": { - "items": { - "$ref": "#/definitions/AWS::OpsWorksCM::Server.EngineAttribute" - }, - "type": "array" - }, - "EngineModel": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "InstanceProfileArn": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KeyPair": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServerName": { - "type": "string" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorksCM::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server.EngineAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationInstanceIdToReplace": { - "type": "string" - }, - "DefaultRuntimeContextDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "ManifestOverridesPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestOverridesPayload" - }, - "ManifestPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestPayload" - }, - "Name": { - "type": "string" - }, - "RuntimeRoleArn": { - "type": "string" - }, - "StatusFilter": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DefaultRuntimeContextDevice", - "ManifestPayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::ApplicationInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestOverridesPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::Package": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PackageName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PackageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::Package" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::PackageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MarkLatest": { - "type": "boolean" - }, - "OwnerAccount": { - "type": "string" - }, - "PackageId": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "PatchVersion": { - "type": "string" - }, - "UpdatedLatestPatchVersion": { - "type": "string" - } - }, - "required": [ - "PackageId", - "PackageVersion", - "PatchVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::PackageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ADMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId", - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ADMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.CampaignHook" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.Limits" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.QuietTime" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ApplicationSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::BaiduChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationId", - "SecretKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::BaiduChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalTreatments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.WriteTreatmentResource" - }, - "type": "array" - }, - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignHook" - }, - "Description": { - "type": "string" - }, - "HoldoutPercent": { - "type": "number" - }, - "IsPaused": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Limits" - }, - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SegmentId": { - "type": "string" - }, - "SegmentVersion": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "MessageConfiguration", - "Name", - "Schedule", - "SegmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Campaign" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEmailMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "FromAddress": { - "type": "string" - }, - "HtmlBody": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEventFilter": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.EventDimensions" - }, - "FilterType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignInAppMessage": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignSmsMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "EntityId": { - "type": "string" - }, - "MessageType": { - "type": "string" - }, - "OriginationNumber": { - "type": "string" - }, - "SenderId": { - "type": "string" - }, - "TemplateId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.EventDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "EventType": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.SetDimension" - }, - "Metrics": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageBodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageButton": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageBodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageHeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageHeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Session": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Message": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageSmallIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "JsonBody": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "RawContent": { - "type": "string" - }, - "SilentPush": { - "type": "boolean" - }, - "TimeToLive": { - "type": "number" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MessageConfiguration": { - "additionalProperties": false, - "properties": { - "ADMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "APNSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "BaiduMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "DefaultMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "EmailMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEmailMessage" - }, - "GCMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "InAppMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignInAppMessage" - }, - "SMSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignSmsMessage" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MetricDimension": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.Schedule": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "EventFilter": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEventFilter" - }, - "Frequency": { - "type": "string" - }, - "IsLocalTime": { - "type": "boolean" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.QuietTime" - }, - "StartTime": { - "type": "string" - }, - "TimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.WriteTreatmentResource": { - "additionalProperties": false, - "properties": { - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SizePercent": { - "type": "number" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::EmailChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationSet": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "FromAddress": { - "type": "string" - }, - "Identity": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "FromAddress", - "Identity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EmailTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultSubstitutions": { - "type": "string" - }, - "HtmlPart": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "required": [ - "Subject", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EventStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "DestinationStreamArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "DestinationStreamArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EventStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::GCMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApiKey", - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::GCMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::InAppTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.BodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.ButtonConfig": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.HeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.BodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.HeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ADM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "APNS": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate" - }, - "Baidu": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Default": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "GCM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::PushTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "SmallImageIconUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::SMSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SenderId": { - "type": "string" - }, - "ShortCode": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SMSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "Name": { - "type": "string" - }, - "SegmentGroups": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentGroups" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "ApplicationId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Segment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Behavior": { - "additionalProperties": false, - "properties": { - "Recency": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Recency" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Coordinates": { - "additionalProperties": false, - "properties": { - "Latitude": { - "type": "number" - }, - "Longitude": { - "type": "number" - } - }, - "required": [ - "Latitude", - "Longitude" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Demographic": { - "additionalProperties": false, - "properties": { - "AppVersion": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Channel": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "DeviceType": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Make": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Model": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Platform": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.GPSPoint": { - "additionalProperties": false, - "properties": { - "Coordinates": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Coordinates" - }, - "RangeInKilometers": { - "type": "number" - } - }, - "required": [ - "Coordinates", - "RangeInKilometers" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Groups": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "type": "array" - }, - "SourceSegments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SourceSegments" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Location": { - "additionalProperties": false, - "properties": { - "Country": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "GPSPoint": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.GPSPoint" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Recency": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "RecencyType": { - "type": "string" - } - }, - "required": [ - "Duration", - "RecencyType" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Behavior": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Behavior" - }, - "Demographic": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Demographic" - }, - "Location": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Location" - }, - "Metrics": { - "type": "object" - }, - "UserAttributes": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentGroups": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Groups" - }, - "type": "array" - }, - "Include": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SourceSegments": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::Pinpoint::SmsTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "Body", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SmsTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::VoiceChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::VoiceChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.DeliveryOptions" - }, - "Name": { - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.SendingOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.Tags" - }, - "type": "array" - }, - "TrackingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.TrackingOptions" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination" - }, - "EventDestinationName": { - "type": "string" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestinationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PinpointDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination" - }, - "SnsDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamArn": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamArn", - "IamRoleArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PoolName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool.Tags" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::DedicatedIpPool" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DkimSigningEnabled": { - "type": "boolean" - }, - "FeedbackForwardingEnabled": { - "type": "boolean" - }, - "MailFromAttributes": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.MailFromAttributes" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::Identity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::Identity.MailFromAttributes": { - "additionalProperties": false, - "properties": { - "BehaviorOnMxFailure": { - "type": "string" - }, - "MailFromDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QLDB::Ledger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "KmsKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionsMode": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PermissionsMode" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Ledger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExclusiveEndTime": { - "type": "string" - }, - "InclusiveStartTime": { - "type": "string" - }, - "KinesisConfiguration": { - "$ref": "#/definitions/AWS::QLDB::Stream.KinesisConfiguration" - }, - "LedgerName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InclusiveStartTime", - "KinesisConfiguration", - "LedgerName", - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream.KinesisConfiguration": { - "additionalProperties": false, - "properties": { - "AggregationEnabled": { - "type": "boolean" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnalysisId": { - "type": "string" - }, - "AwsAccountId": { - "type": "string" - }, - "Errors": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisError" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - } - }, - "required": [ - "AnalysisId", - "AwsAccountId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Analysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisError": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Sheet": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SheetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "DashboardId": { - "type": "string" - }, - "DashboardPublishOptions": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardPublishOptions" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "DashboardId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.AdHocFilteringOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardPublishOptions": { - "additionalProperties": false, - "properties": { - "AdHocFilteringOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.AdHocFilteringOption" - }, - "ExportToCSVOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ExportToCSVOption" - }, - "SheetControlsOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.SheetControlsOption" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.ExportToCSVOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.SheetControlsOption": { - "additionalProperties": false, - "properties": { - "VisibilityState": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "ColumnGroups": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnGroup" - }, - "type": "array" - }, - "ColumnLevelPermissionRules": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnLevelPermissionRule" - }, - "type": "array" - }, - "DataSetId": { - "type": "string" - }, - "FieldFolders": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FieldFolder" - } - }, - "type": "object" - }, - "ImportMode": { - "type": "string" - }, - "IngestionWaitPolicy": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.IngestionWaitPolicy" - }, - "LogicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTable" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ResourcePermission" - }, - "type": "array" - }, - "PhysicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.PhysicalTable" - } - }, - "type": "object" - }, - "RowLevelPermissionDataSet": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RowLevelPermissionDataSet" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CalculatedColumn": { - "additionalProperties": false, - "properties": { - "ColumnId": { - "type": "string" - }, - "ColumnName": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "ColumnId", - "ColumnName", - "Expression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CastColumnTypeOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "NewColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnType" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnDescription": { - "additionalProperties": false, - "properties": { - "Text": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnGroup": { - "additionalProperties": false, - "properties": { - "GeoSpatialColumnGroup": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.GeoSpatialColumnGroup" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnLevelPermissionRule": { - "additionalProperties": false, - "properties": { - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnTag": { - "additionalProperties": false, - "properties": { - "ColumnDescription": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnDescription" - }, - "ColumnGeographicRole": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.CreateColumnsOperation": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CalculatedColumn" - }, - "type": "array" - } - }, - "required": [ - "Columns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CustomSql": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "DataSourceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "Columns", - "DataSourceArn", - "Name", - "SqlQuery" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.FieldFolder": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.FilterOperation": { - "additionalProperties": false, - "properties": { - "ConditionExpression": { - "type": "string" - } - }, - "required": [ - "ConditionExpression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.GeoSpatialColumnGroup": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CountryCode": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Columns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.IngestionWaitPolicy": { - "additionalProperties": false, - "properties": { - "IngestionWaitTimeInHours": { - "type": "number" - }, - "WaitForSpiceIngestion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.InputColumn": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinInstruction": { - "additionalProperties": false, - "properties": { - "LeftJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "LeftOperand": { - "type": "string" - }, - "OnClause": { - "type": "string" - }, - "RightJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "RightOperand": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "LeftOperand", - "OnClause", - "RightOperand", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinKeyProperties": { - "additionalProperties": false, - "properties": { - "UniqueKey": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTable": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DataTransforms": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TransformOperation" - }, - "type": "array" - }, - "Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTableSource" - } - }, - "required": [ - "Alias", - "Source" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTableSource": { - "additionalProperties": false, - "properties": { - "JoinInstruction": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinInstruction" - }, - "PhysicalTableId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.OutputColumn": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.PhysicalTable": { - "additionalProperties": false, - "properties": { - "CustomSql": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CustomSql" - }, - "RelationalTable": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RelationalTable" - }, - "S3Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.S3Source" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ProjectOperation": { - "additionalProperties": false, - "properties": { - "ProjectedColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ProjectedColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RelationalTable": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "DataSourceArn", - "InputColumns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RenameColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "NewColumnName": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnName" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RowLevelPermissionDataSet": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FormatVersion": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "PermissionPolicy": { - "type": "string" - } - }, - "required": [ - "Arn", - "PermissionPolicy" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.S3Source": { - "additionalProperties": false, - "properties": { - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "UploadSettings": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.UploadSettings" - } - }, - "required": [ - "DataSourceArn", - "InputColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TagColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnTag" - }, - "type": "array" - } - }, - "required": [ - "ColumnName", - "Tags" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TransformOperation": { - "additionalProperties": false, - "properties": { - "CastColumnTypeOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CastColumnTypeOperation" - }, - "CreateColumnsOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CreateColumnsOperation" - }, - "FilterOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FilterOperation" - }, - "ProjectOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ProjectOperation" - }, - "RenameColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RenameColumnOperation" - }, - "TagColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TagColumnOperation" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.UploadSettings": { - "additionalProperties": false, - "properties": { - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "StartFromRow": { - "type": "number" - }, - "TextQualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "AwsAccountId": { - "type": "string" - }, - "Credentials": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceCredentials" - }, - "DataSourceId": { - "type": "string" - }, - "DataSourceParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "ErrorInfo": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceErrorInfo" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ResourcePermission" - }, - "type": "array" - }, - "SslProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SslProperties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "VpcConnectionProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.VpcConnectionProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonElasticsearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonOpenSearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AthenaParameters": { - "additionalProperties": false, - "properties": { - "WorkGroup": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraPostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.CredentialPair": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceCredentials": { - "additionalProperties": false, - "properties": { - "CopySourceArn": { - "type": "string" - }, - "CredentialPair": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.CredentialPair" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceErrorInfo": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceParameters": { - "additionalProperties": false, - "properties": { - "AmazonElasticsearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonElasticsearchParameters" - }, - "AmazonOpenSearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonOpenSearchParameters" - }, - "AthenaParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AthenaParameters" - }, - "AuroraParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraParameters" - }, - "AuroraPostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraPostgreSqlParameters" - }, - "MariaDbParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MariaDbParameters" - }, - "MySqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MySqlParameters" - }, - "OracleParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.OracleParameters" - }, - "PostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PostgreSqlParameters" - }, - "PrestoParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PrestoParameters" - }, - "RdsParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RdsParameters" - }, - "RedshiftParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RedshiftParameters" - }, - "S3Parameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.S3Parameters" - }, - "SnowflakeParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SnowflakeParameters" - }, - "SparkParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SparkParameters" - }, - "SqlServerParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SqlServerParameters" - }, - "TeradataParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.TeradataParameters" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.ManifestFileLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MariaDbParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MySqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.OracleParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PrestoParameters": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Catalog", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RdsParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "InstanceId": { - "type": "string" - } - }, - "required": [ - "Database", - "InstanceId" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RedshiftParameters": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.S3Parameters": { - "additionalProperties": false, - "properties": { - "ManifestFileLocation": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ManifestFileLocation" - } - }, - "required": [ - "ManifestFileLocation" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SnowflakeParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "Database", - "Host", - "Warehouse" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SparkParameters": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SqlServerParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SslProperties": { - "additionalProperties": false, - "properties": { - "DisableSsl": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.TeradataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.VpcConnectionProperties": { - "additionalProperties": false, - "properties": { - "VpcConnectionArn": { - "type": "string" - } - }, - "required": [ - "VpcConnectionArn" - ], - "type": "object" - }, - "AWS::QuickSight::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "SourceEntity", - "TemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Template.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Template.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceAnalysis": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceAnalysis": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceAnalysis" - }, - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::QuickSight::Theme": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "BaseThemeId": { - "type": "string" - }, - "Configuration": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ThemeConfiguration" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ResourcePermission" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "ThemeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Theme" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.BorderStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.DataColorPalette": { - "additionalProperties": false, - "properties": { - "Colors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmptyFillColor": { - "type": "string" - }, - "MinMaxGradient": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Font": { - "additionalProperties": false, - "properties": { - "FontFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.GutterStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.MarginStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.SheetStyle": { - "additionalProperties": false, - "properties": { - "Tile": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileStyle" - }, - "TileLayout": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileLayoutStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ThemeConfiguration": { - "additionalProperties": false, - "properties": { - "DataColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.DataColorPalette" - }, - "Sheet": { - "$ref": "#/definitions/AWS::QuickSight::Theme.SheetStyle" - }, - "Typography": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Typography" - }, - "UIColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.UIColorPalette" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileLayoutStyle": { - "additionalProperties": false, - "properties": { - "Gutter": { - "$ref": "#/definitions/AWS::QuickSight::Theme.GutterStyle" - }, - "Margin": { - "$ref": "#/definitions/AWS::QuickSight::Theme.MarginStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileStyle": { - "additionalProperties": false, - "properties": { - "Border": { - "$ref": "#/definitions/AWS::QuickSight::Theme.BorderStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Typography": { - "additionalProperties": false, - "properties": { - "FontFamilies": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Font" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.UIColorPalette": { - "additionalProperties": false, - "properties": { - "Accent": { - "type": "string" - }, - "AccentForeground": { - "type": "string" - }, - "Danger": { - "type": "string" - }, - "DangerForeground": { - "type": "string" - }, - "Dimension": { - "type": "string" - }, - "DimensionForeground": { - "type": "string" - }, - "Measure": { - "type": "string" - }, - "MeasureForeground": { - "type": "string" - }, - "PrimaryBackground": { - "type": "string" - }, - "PrimaryForeground": { - "type": "string" - }, - "SecondaryBackground": { - "type": "string" - }, - "SecondaryForeground": { - "type": "string" - }, - "Success": { - "type": "string" - }, - "SuccessForeground": { - "type": "string" - }, - "Warning": { - "type": "string" - }, - "WarningForeground": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RAM::ResourceShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RAM::ResourceShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BacktrackWindow": { - "type": "number" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SecondsUntilAutoPause": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::RDS::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedStorage": { - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "number" - }, - "MonitoringInterval": { - "type": "number" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "number" - }, - "Port": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "type": "number" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Auth": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "DebugLogging": { - "type": "boolean" - }, - "EngineFamily": { - "type": "string" - }, - "IdleClientTimeout": { - "type": "number" - }, - "RequireTLS": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Auth", - "DBProxyName", - "EngineFamily", - "RoleArn", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy.AuthFormat": { - "additionalProperties": false, - "properties": { - "AuthScheme": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IAMAuth": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxy.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBProxyEndpointName": { - "type": "string" - }, - "DBProxyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" - }, - "type": "array" - }, - "TargetRole": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBProxyEndpointName", - "DBProxyName", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionPoolConfigurationInfo": { - "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" - }, - "DBClusterIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBInstanceIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "TargetGroupName": { - "type": "string" - } - }, - "required": [ - "DBProxyName", - "TargetGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyTargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { - "additionalProperties": false, - "properties": { - "ConnectionBorrowTimeout": { - "type": "number" - }, - "InitQuery": { - "type": "string" - }, - "MaxConnectionsPercent": { - "type": "number" - }, - "MaxIdleConnectionsPercent": { - "type": "number" - }, - "SessionPinningFilters": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" - }, - "type": "array" - }, - "EC2VpcId": { - "type": "string" - }, - "GroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSecurityGroupIngress", - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "DBSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "DBSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::GlobalCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::GlobalCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EngineName": { - "type": "string" - }, - "MajorEngineVersion": { - "type": "string" - }, - "OptionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" - }, - "type": "array" - }, - "OptionGroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EngineName", - "MajorEngineVersion", - "OptionConfigurations", - "OptionGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::OptionGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionConfiguration": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OptionName": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" - }, - "type": "array" - }, - "OptionVersion": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "VpcSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OptionName" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionSetting": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RUM::AppMonitor": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppMonitorConfiguration": { - "$ref": "#/definitions/AWS::RUM::AppMonitor.AppMonitorConfiguration" - }, - "CwLogEnabled": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RUM::AppMonitor" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RUM::AppMonitor.AppMonitorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCookies": { - "type": "boolean" - }, - "EnableXRay": { - "type": "boolean" - }, - "ExcludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FavoritePages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GuestRoleArn": { - "type": "string" - }, - "IdentityPoolId": { - "type": "string" - }, - "IncludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SessionSampleRate": { - "type": "number" - }, - "Telemetries": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowVersionUpgrade": { - "type": "boolean" - }, - "AquaConfigurationStatus": { - "type": "string" - }, - "AutomatedSnapshotRetentionPeriod": { - "type": "number" - }, - "AvailabilityZone": { - "type": "string" - }, - "AvailabilityZoneRelocation": { - "type": "boolean" - }, - "AvailabilityZoneRelocationStatus": { - "type": "string" - }, - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterParameterGroupName": { - "type": "string" - }, - "ClusterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterSubnetGroupName": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "ClusterVersion": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DeferMaintenance": { - "type": "boolean" - }, - "DeferMaintenanceDuration": { - "type": "number" - }, - "DeferMaintenanceEndTime": { - "type": "string" - }, - "DeferMaintenanceStartTime": { - "type": "string" - }, - "DestinationRegion": { - "type": "string" - }, - "ElasticIp": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": { - "type": "string" - }, - "HsmConfigurationIdentifier": { - "type": "string" - }, - "IamRoles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LoggingProperties": { - "$ref": "#/definitions/AWS::Redshift::Cluster.LoggingProperties" - }, - "MaintenanceTrackName": { - "type": "string" - }, - "ManualSnapshotRetentionPeriod": { - "type": "number" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "OwnerAccount": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ResourceAction": { - "type": "string" - }, - "RevisionTarget": { - "type": "string" - }, - "RotateEncryptionKey": { - "type": "boolean" - }, - "SnapshotClusterIdentifier": { - "type": "string" - }, - "SnapshotCopyGrantName": { - "type": "string" - }, - "SnapshotCopyManual": { - "type": "boolean" - }, - "SnapshotCopyRetentionPeriod": { - "type": "number" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClusterType", - "DBName", - "MasterUserPassword", - "MasterUsername", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster.LoggingProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "ParameterGroupFamily": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup.Parameter" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "ParameterGroupFamily" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup.Parameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "ClusterSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "ClusterSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ResourceOwner": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EndpointName", - "VpcSecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAccess" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess.VpcSecurityGroup": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "VpcSecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::EndpointAuthorization": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Account": { - "type": "string" - }, - "ClusterIdentifier": { - "type": "string" - }, - "Force": { - "type": "boolean" - }, - "VpcIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Account", - "ClusterIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAuthorization" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Severity": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "SubscriptionName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "EndTime": { - "type": "string" - }, - "IamRole": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionDescription": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "TargetAction": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ScheduledActionType" - } - }, - "required": [ - "ScheduledActionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ScheduledAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.PauseClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResizeClusterMessage": { - "additionalProperties": false, - "properties": { - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResumeClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ScheduledActionType": { - "additionalProperties": false, - "properties": { - "PauseCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.PauseClusterMessage" - }, - "ResizeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResizeClusterMessage" - }, - "ResumeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResumeClusterMessage" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiGatewayProxy": { - "$ref": "#/definitions/AWS::RefactorSpaces::Application.ApiGatewayProxyInput" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProxyType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Application.ApiGatewayProxyInput": { - "additionalProperties": false, - "properties": { - "EndpointType": { - "type": "string" - }, - "StageName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFabricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "RouteType": { - "type": "string" - }, - "ServiceIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UriPathRoute": { - "$ref": "#/definitions/AWS::RefactorSpaces::Route.UriPathRouteInput" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier", - "ServiceIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route.UriPathRouteInput": { - "additionalProperties": false, - "properties": { - "ActivationState": { - "type": "string" - }, - "IncludeChildPaths": { - "type": "boolean" - }, - "Methods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "ActivationState" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EndpointType": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "LambdaEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.LambdaEndpointInput" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UrlEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.UrlEndpointInput" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.LambdaEndpointInput": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.UrlEndpointInput": { - "additionalProperties": false, - "properties": { - "HealthUrl": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::Rekognition::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Rekognition::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppTemplateBody": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResiliencyPolicyArn": { - "type": "string" - }, - "ResourceMappings": { - "items": { - "$ref": "#/definitions/AWS::ResilienceHub::App.ResourceMapping" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AppTemplateBody", - "Name", - "ResourceMappings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.PhysicalResourceId": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "AwsRegion": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Identifier", - "Type" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.ResourceMapping": { - "additionalProperties": false, - "properties": { - "LogicalStackName": { - "type": "string" - }, - "MappingType": { - "type": "string" - }, - "PhysicalResourceId": { - "$ref": "#/definitions/AWS::ResilienceHub::App.PhysicalResourceId" - }, - "ResourceName": { - "type": "string" - } - }, - "required": [ - "MappingType", - "PhysicalResourceId" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLocationConstraint": { - "type": "string" - }, - "Policy": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy" - } - }, - "type": "object" - }, - "PolicyDescription": { - "type": "string" - }, - "PolicyName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tier": { - "type": "string" - } - }, - "required": [ - "Policy", - "PolicyName", - "Tier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::ResiliencyPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy": { - "additionalProperties": false, - "properties": { - "RpoInSecs": { - "type": "number" - }, - "RtoInSecs": { - "type": "number" - } - }, - "required": [ - "RpoInSecs", - "RtoInSecs" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationItem" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceQuery": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ResourceQuery" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResourceGroups::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationItem": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.Query": { - "additionalProperties": false, - "properties": { - "ResourceTypeFilters": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackIdentifier": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ResourceQuery": { - "additionalProperties": false, - "properties": { - "Query": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.Query" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RoboMaker::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RoboMaker::Robot": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "Fleet": { - "type": "string" - }, - "GreengrassGroupId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Architecture", - "GreengrassGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Robot" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.RobotSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "Sources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Environment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingEngine": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RenderingEngine" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite" - }, - "SimulationSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "SimulationSoftwareSuite" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RenderingEngine": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::DNSSEC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "HostedZoneId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::DNSSEC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckConfig": { - "type": "object" - }, - "HealthCheckTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" - }, - "type": "array" - } - }, - "required": [ - "HealthCheckConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HealthCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck.HealthCheckTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HostedZone" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCId", - "VPCRegion" - ], - "type": "object" - }, - "AWS::Route53::KeySigningKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - }, - "KeyManagementServiceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "HostedZoneId", - "KeyManagementServiceArn", - "Name", - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::KeySigningKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "RecordSets": { - "items": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup.RecordSet": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster.ClusterEndpoint": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryControl::ControlPanel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::ControlPanel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::RoutingControl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "ControlPanelArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::RoutingControl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssertionRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.AssertionRule" - }, - "ControlPanelArn": { - "type": "string" - }, - "GatingRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.GatingRule" - }, - "Name": { - "type": "string" - }, - "RuleConfig": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.RuleConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ControlPanelArn", - "Name", - "RuleConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::SafetyRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.AssertionRule": { - "additionalProperties": false, - "properties": { - "AssertedControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "AssertedControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.GatingRule": { - "additionalProperties": false, - "properties": { - "GatingControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TargetControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "GatingControls", - "TargetControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.RuleConfig": { - "additionalProperties": false, - "properties": { - "Inverted": { - "type": "boolean" - }, - "Threshold": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Inverted", - "Threshold", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::Cell": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CellName": { - "type": "string" - }, - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CellName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::Cell" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ReadinessCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReadinessCheckName": { - "type": "string" - }, - "ResourceSetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ReadinessCheckName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ReadinessCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::RecoveryGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RecoveryGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::RecoveryGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceSetName": { - "type": "string" - }, - "ResourceSetType": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.Resource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceSetName", - "ResourceSetType", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ResourceSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneArn": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - }, - "RecordType": { - "type": "string" - }, - "TargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.TargetResource" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.NLBResource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.Resource": { - "additionalProperties": false, - "properties": { - "ComponentId": { - "type": "string" - }, - "DnsTargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource" - }, - "ReadinessScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.TargetResource": { - "additionalProperties": false, - "properties": { - "NLBResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.NLBResource" - }, - "R53Resource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord" - } - }, - "type": "object" - }, - "AWS::Route53Resolver::FirewallDomainList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainFileUrl": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallDomainList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRules": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup.FirewallRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup.FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "BlockOverrideDnsType": { - "type": "string" - }, - "BlockOverrideDomain": { - "type": "string" - }, - "BlockOverrideTtl": { - "type": "number" - }, - "BlockResponse": { - "type": "string" - }, - "FirewallDomainListId": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Action", - "FirewallDomainListId", - "Priority" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRuleGroupId": { - "type": "string" - }, - "MutationProtection": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallRuleGroupId", - "Priority", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutodefinedReverseFlag": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "AutodefinedReverseFlag", - "ResourceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverDNSSECConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverDNSSECConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "IpAddresses": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Direction", - "IpAddresses", - "SecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResolverQueryLogConfigId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResolverEndpointId": { - "type": "string" - }, - "RuleType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetIps": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule.TargetAddress" - }, - "type": "array" - } - }, - "required": [ - "DomainName", - "RuleType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule.TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRuleAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "VPCId": { - "type": "string" - } - }, - "required": [ - "ResolverRuleId", - "VPCId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRuleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "PolicyStatus": { - "type": "object" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerateConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" - }, - "AccessControl": { - "type": "string" - }, - "AnalyticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" - }, - "type": "array" - }, - "BucketEncryption": { - "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" - }, - "BucketName": { - "type": "string" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" - }, - "IntelligentTieringConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" - }, - "type": "array" - }, - "InventoryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" - }, - "type": "array" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" - }, - "MetricsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" - }, - "ObjectLockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" - }, - "ObjectLockEnabled": { - "type": "boolean" - }, - "OwnershipControls": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" - }, - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" - }, - "WebsiteConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccelerateConfiguration": { - "additionalProperties": false, - "properties": { - "AccelerationStatus": { - "type": "string" - } - }, - "required": [ - "AccelerationStatus" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccessControlTranslation": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" - } - }, - "required": [ - "Owner" - ], - "type": "object" - }, - "AWS::S3::Bucket.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "StorageClassAnalysis": { - "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id", - "StorageClassAnalysis" - ], - "type": "object" - }, - "AWS::S3::Bucket.BucketEncryption": { - "additionalProperties": false, - "properties": { - "ServerSideEncryptionConfiguration": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" - }, - "type": "array" - } - }, - "required": [ - "ServerSideEncryptionConfiguration" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "CorsRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" - }, - "type": "array" - } - }, - "required": [ - "CorsRules" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Id": { - "type": "string" - }, - "MaxAge": { - "type": "number" - } - }, - "required": [ - "AllowedMethods", - "AllowedOrigins" - ], - "type": "object" - }, - "AWS::S3::Bucket.DataExport": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "OutputSchemaVersion": { - "type": "string" - } - }, - "required": [ - "Destination", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::Bucket.DefaultRetention": { - "additionalProperties": false, - "properties": { - "Days": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "Years": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.DeleteMarkerReplication": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Destination": { - "additionalProperties": false, - "properties": { - "BucketAccountId": { - "type": "string" - }, - "BucketArn": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketArn", - "Format" - ], - "type": "object" - }, - "AWS::S3::Bucket.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicaKmsKeyID": { - "type": "string" - } - }, - "required": [ - "ReplicaKmsKeyID" - ], - "type": "object" - }, - "AWS::S3::Bucket.EventBridgeConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.FilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.IntelligentTieringConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Tierings": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Tiering" - }, - "type": "array" - } - }, - "required": [ - "Id", - "Status", - "Tierings" - ], - "type": "object" - }, - "AWS::S3::Bucket.InventoryConfiguration": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "Enabled": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "IncludedObjectVersions": { - "type": "string" - }, - "OptionalFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Prefix": { - "type": "string" - }, - "ScheduleFrequency": { - "type": "string" - } - }, - "required": [ - "Destination", - "Enabled", - "Id", - "IncludedObjectVersions", - "ScheduleFrequency" - ], - "type": "object" - }, - "AWS::S3::Bucket.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Function": { - "type": "string" - } - }, - "required": [ - "Event", - "Function" - ], - "type": "object" - }, - "AWS::S3::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationBucketName": { - "type": "string" - }, - "LogFilePrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Metrics": { - "additionalProperties": false, - "properties": { - "EventThreshold": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.MetricsConfiguration": { - "additionalProperties": false, - "properties": { - "AccessPointArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionExpiration": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "NoncurrentDays": { - "type": "number" - } - }, - "required": [ - "NoncurrentDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionTransition": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "StorageClass": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass", - "TransitionInDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" - }, - "LambdaConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" - }, - "type": "array" - }, - "QueueConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" - }, - "type": "array" - }, - "TopicConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockConfiguration": { - "additionalProperties": false, - "properties": { - "ObjectLockEnabled": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockRule": { - "additionalProperties": false, - "properties": { - "DefaultRetention": { - "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControls": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControlsRule": { - "additionalProperties": false, - "properties": { - "ObjectOwnership": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.QueueConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Event", - "Queue" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectAllRequestsTo": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "HostName" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectRule": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "HttpRedirectCode": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ReplaceKeyPrefixWith": { - "type": "string" - }, - "ReplaceKeyWith": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicaModifications": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Role": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Role", - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "AccessControlTranslation": { - "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" - }, - "Account": { - "type": "string" - }, - "Bucket": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" - }, - "Metrics": { - "$ref": "#/definitions/AWS::S3::Bucket.Metrics" - }, - "ReplicationTime": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" - }, - "StorageClass": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRule": { - "additionalProperties": false, - "properties": { - "DeleteMarkerReplication": { - "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" - }, - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "SourceSelectionCriteria": { - "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Destination", - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleAndOperator": { - "additionalProperties": false, - "properties": { - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleFilter": { - "additionalProperties": false, - "properties": { - "And": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" - }, - "Prefix": { - "type": "string" - }, - "TagFilter": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTime": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "Time": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - } - }, - "required": [ - "Status", - "Time" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTimeValue": { - "additionalProperties": false, - "properties": { - "Minutes": { - "type": "number" - } - }, - "required": [ - "Minutes" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRule": { - "additionalProperties": false, - "properties": { - "RedirectRule": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" - }, - "RoutingRuleCondition": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" - } - }, - "required": [ - "RedirectRule" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRuleCondition": { - "additionalProperties": false, - "properties": { - "HttpErrorCodeReturnedEquals": { - "type": "string" - }, - "KeyPrefixEquals": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "NoncurrentVersionExpiration": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" - }, - "NoncurrentVersionExpirationInDays": { - "type": "number" - }, - "NoncurrentVersionTransition": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "NoncurrentVersionTransitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "type": "array" - }, - "ObjectSizeGreaterThan": { - "type": "number" - }, - "ObjectSizeLessThan": { - "type": "number" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Transition": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "Transitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "type": "array" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionByDefault": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyID": { - "type": "string" - }, - "SSEAlgorithm": { - "type": "string" - } - }, - "required": [ - "SSEAlgorithm" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionRule": { - "additionalProperties": false, - "properties": { - "BucketKeyEnabled": { - "type": "boolean" - }, - "ServerSideEncryptionByDefault": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SourceSelectionCriteria": { - "additionalProperties": false, - "properties": { - "ReplicaModifications": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" - }, - "SseKmsEncryptedObjects": { - "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SseKmsEncryptedObjects": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.StorageClassAnalysis": { - "additionalProperties": false, - "properties": { - "DataExport": { - "$ref": "#/definitions/AWS::S3::Bucket.DataExport" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.Tiering": { - "additionalProperties": false, - "properties": { - "AccessTier": { - "type": "string" - }, - "Days": { - "type": "number" - } - }, - "required": [ - "AccessTier", - "Days" - ], - "type": "object" - }, - "AWS::S3::Bucket.TopicConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "Event", - "Topic" - ], - "type": "object" - }, - "AWS::S3::Bucket.Transition": { - "additionalProperties": false, - "properties": { - "StorageClass": { - "type": "string" - }, - "TransitionDate": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass" - ], - "type": "object" - }, - "AWS::S3::Bucket.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.WebsiteConfiguration": { - "additionalProperties": false, - "properties": { - "ErrorDocument": { - "type": "string" - }, - "IndexDocument": { - "type": "string" - }, - "RedirectAllRequestsTo": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" - }, - "RoutingRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.Region": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MrapName": { - "type": "string" - }, - "Policy": { - "type": "object" - } - }, - "required": [ - "MrapName", - "Policy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "StorageLensConfiguration": { - "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "StorageLensConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::StorageLens" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens.AccountLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "BucketLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" - } - }, - "required": [ - "BucketLevel" - ], - "type": "object" - }, - "AWS::S3::StorageLens.ActivityMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.AwsOrg": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::S3::StorageLens.BucketLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "PrefixLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.BucketsAndRegions": { - "additionalProperties": false, - "properties": { - "Buckets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Regions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.CloudWatchMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "required": [ - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3::StorageLens.DataExport": { - "additionalProperties": false, - "properties": { - "CloudWatchMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" - }, - "S3BucketDestination": { - "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.Encryption": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevel": { - "additionalProperties": false, - "properties": { - "StorageMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" - } - }, - "required": [ - "StorageMetrics" - ], - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - }, - "SelectionCriteria": { - "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.S3BucketDestination": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" - }, - "Format": { - "type": "string" - }, - "OutputSchemaVersion": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "AccountId", - "Arn", - "Format", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::StorageLens.SelectionCriteria": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - }, - "MaxDepth": { - "type": "number" - }, - "MinStorageBytesPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.StorageLensConfiguration": { - "additionalProperties": false, - "properties": { - "AccountLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" - }, - "AwsOrg": { - "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" - }, - "DataExport": { - "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" - }, - "Exclude": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "Id": { - "type": "string" - }, - "Include": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "IsEnabled": { - "type": "boolean" - }, - "StorageLensArn": { - "type": "string" - } - }, - "required": [ - "AccountLevel", - "Id", - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ObjectLambdaConfiguration": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration" - } - }, - "required": [ - "ObjectLambdaConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedFeatures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "SupportingAccessPoint": { - "type": "string" - }, - "TransformationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SupportingAccessPoint", - "TransformationConfigurations" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentTransformation": { - "type": "object" - } - }, - "required": [ - "Actions", - "ContentTransformation" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ObjectLambdaAccessPoint": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "ObjectLambdaAccessPoint", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket", - "Name", - "VpcConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.LifecycleConfiguration" - }, - "OutpostId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "BucketName", - "OutpostId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "Filter": { - "type": "object" - }, - "Id": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessType": { - "type": "string" - }, - "CustomerOwnedIpv4Pool": { - "type": "string" - }, - "OutpostId": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "OutpostId", - "SecurityGroupId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint.NetworkInterface": { - "additionalProperties": false, - "properties": { - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "NetworkInterfaceId" - ], - "type": "object" - }, - "AWS::SDB::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SDB::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.EventDestination" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamARN": { - "type": "string" - }, - "IAMRoleARN": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamARN", - "IAMRoleARN" - ], - "type": "object" - }, - "AWS::SES::ContactList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactListName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Topics": { - "items": { - "$ref": "#/definitions/AWS::SES::ContactList.Topic" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ContactList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ContactList.Topic": { - "additionalProperties": false, - "properties": { - "DefaultSubscriptionStatus": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "TopicName": { - "type": "string" - } - }, - "required": [ - "DefaultSubscriptionStatus", - "DisplayName", - "TopicName" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Filter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.Filter" - } - }, - "required": [ - "Filter" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.Filter": { - "additionalProperties": false, - "properties": { - "IpFilter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.IpFilter" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "IpFilter" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.IpFilter": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Policy": { - "type": "string" - } - }, - "required": [ - "Cidr", - "Policy" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "After": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Rule" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "Rule", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Action": { - "additionalProperties": false, - "properties": { - "AddHeaderAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.AddHeaderAction" - }, - "BounceAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.BounceAction" - }, - "LambdaAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.LambdaAction" - }, - "S3Action": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.S3Action" - }, - "SNSAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.SNSAction" - }, - "StopAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.StopAction" - }, - "WorkmailAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.WorkmailAction" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.AddHeaderAction": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" - } - }, - "required": [ - "HeaderName", - "HeaderValue" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.BounceAction": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Sender": { - "type": "string" - }, - "SmtpReplyCode": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Message", - "Sender", - "SmtpReplyCode" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "InvocationType": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Rule": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Action" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Recipients": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScanEnabled": { - "type": "boolean" - }, - "TlsPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.SNSAction": { - "additionalProperties": false, - "properties": { - "Encoding": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.StopAction": { - "additionalProperties": false, - "properties": { - "Scope": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Scope" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.WorkmailAction": { - "additionalProperties": false, - "properties": { - "OrganizationArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "OrganizationArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleSetName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Template": { - "$ref": "#/definitions/AWS::SES::Template.Template" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template.Template": { - "additionalProperties": false, - "properties": { - "HtmlPart": { - "type": "string" - }, - "SubjectPart": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SNS::Subscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryPolicy": { - "type": "object" - }, - "Endpoint": { - "type": "string" - }, - "FilterPolicy": { - "type": "object" - }, - "Protocol": { - "type": "string" - }, - "RawMessageDelivery": { - "type": "boolean" - }, - "RedrivePolicy": { - "type": "object" - }, - "Region": { - "type": "string" - }, - "SubscriptionRoleArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Protocol", - "TopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Subscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SNS::Topic": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DisplayName": { - "type": "string" - }, - "FifoTopic": { - "type": "boolean" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "Subscription": { - "items": { - "$ref": "#/definitions/AWS::SNS::Topic.Subscription" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Topic" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SNS::Topic.Subscription": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Protocol" - ], - "type": "object" - }, - "AWS::SNS::TopicPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Topics" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::TopicPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SQS::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DeduplicationScope": { - "type": "string" - }, - "DelaySeconds": { - "type": "number" - }, - "FifoQueue": { - "type": "boolean" - }, - "FifoThroughputLimit": { - "type": "string" - }, - "KmsDataKeyReusePeriodSeconds": { - "type": "number" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "MaximumMessageSize": { - "type": "number" - }, - "MessageRetentionPeriod": { - "type": "number" - }, - "QueueName": { - "type": "string" - }, - "ReceiveMessageWaitTimeSeconds": { - "type": "number" - }, - "RedriveAllowPolicy": { - "type": "object" - }, - "RedrivePolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SQS::QueuePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Queues" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::QueuePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplyOnlyAtCronInterval": { - "type": "boolean" - }, - "AssociationName": { - "type": "string" - }, - "AutomationTargetParameterName": { - "type": "string" - }, - "CalendarNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ComplianceSeverity": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OutputLocation": { - "$ref": "#/definitions/AWS::SSM::Association.InstanceAssociationOutputLocation" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "ScheduleExpression": { - "type": "string" - }, - "SyncCompliance": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::Association.Target" - }, - "type": "array" - }, - "WaitForSuccessTimeoutSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Association" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association.InstanceAssociationOutputLocation": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/AWS::SSM::Association.S3OutputLocation" - } - }, - "type": "object" - }, - "AWS::SSM::Association.S3OutputLocation": { - "additionalProperties": false, - "properties": { - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "OutputS3Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::Association.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::Document": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attachments": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.AttachmentsSource" - }, - "type": "array" - }, - "Content": { - "type": "object" - }, - "DocumentFormat": { - "type": "string" - }, - "DocumentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Requires": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.DocumentRequires" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "VersionName": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Document" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Document.AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::Document.DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Cutoff": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Duration": { - "type": "number" - }, - "EndDate": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleTimezone": { - "type": "string" - }, - "StartDate": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AllowUnassociatedTargets", - "Cutoff", - "Duration", - "Name", - "Schedule" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerInformation": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget.Targets" - }, - "type": "array" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "Targets", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget.Targets": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CutoffBehavior": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.LoggingInfo" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ServiceRoleArn": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.Target" - }, - "type": "array" - }, - "TaskArn": { - "type": "string" - }, - "TaskInvocationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters" - }, - "TaskParameters": { - "type": "object" - }, - "TaskType": { - "type": "string" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "Priority", - "TaskArn", - "TaskType", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.LoggingInfo": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { - "type": "string" - } - }, - "required": [ - "Region", - "S3Bucket" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters": { - "additionalProperties": false, - "properties": { - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters": { - "additionalProperties": false, - "properties": { - "ClientContext": { - "type": "string" - }, - "Payload": { - "type": "string" - }, - "Qualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "DocumentHash": { - "type": "string" - }, - "DocumentHashType": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.NotificationConfig" - }, - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TimeoutSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.NotificationConfig": { - "additionalProperties": false, - "properties": { - "NotificationArn": { - "type": "string" - }, - "NotificationEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NotificationType": { - "type": "string" - } - }, - "required": [ - "NotificationArn" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters": { - "additionalProperties": false, - "properties": { - "MaintenanceWindowAutomationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters" - }, - "MaintenanceWindowLambdaParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters" - }, - "MaintenanceWindowRunCommandParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters" - }, - "MaintenanceWindowStepFunctionsParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters" - } - }, - "type": "object" - }, - "AWS::SSM::Parameter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policies": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Tier": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Parameter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApprovalRules": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.RuleGroup" - }, - "ApprovedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ApprovedPatchesComplianceLevel": { - "type": "string" - }, - "ApprovedPatchesEnableNonSecurity": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "GlobalFilters": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - }, - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "PatchGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatchesAction": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchSource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::PatchBaseline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilterGroup": { - "additionalProperties": false, - "properties": { - "PatchFilters": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchSource": { - "additionalProperties": false, - "properties": { - "Configuration": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Products": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchStringDate": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::SSM::PatchBaseline.Rule": { - "additionalProperties": false, - "properties": { - "ApproveAfterDays": { - "type": "number" - }, - "ApproveUntilDate": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchStringDate" - }, - "ComplianceLevel": { - "type": "string" - }, - "EnableNonSecurity": { - "type": "boolean" - }, - "PatchFilterGroup": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.RuleGroup": { - "additionalProperties": false, - "properties": { - "PatchRules": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::ResourceDataSync": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "required": [ - "SyncName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::ResourceDataSync" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceRegions", - "SourceType" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Plan": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Stage" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Alias", - "DisplayName", - "Plan", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::Contact" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ChannelTargetInfo": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - }, - "RetryIntervalInMinutes": { - "type": "number" - } - }, - "required": [ - "ChannelId", - "RetryIntervalInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ContactTargetInfo": { - "additionalProperties": false, - "properties": { - "ContactId": { - "type": "string" - }, - "IsEssential": { - "type": "boolean" - } - }, - "required": [ - "ContactId", - "IsEssential" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Stage": { - "additionalProperties": false, - "properties": { - "DurationInMinutes": { - "type": "number" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Targets" - }, - "type": "array" - } - }, - "required": [ - "DurationInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Targets": { - "additionalProperties": false, - "properties": { - "ChannelTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ChannelTargetInfo" - }, - "ContactTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ContactTargetInfo" - } - }, - "type": "object" - }, - "AWS::SSMContacts::ContactChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelAddress": { - "type": "string" - }, - "ChannelName": { - "type": "string" - }, - "ChannelType": { - "type": "string" - }, - "ContactId": { - "type": "string" - }, - "DeferActivation": { - "type": "boolean" - } - }, - "required": [ - "ChannelAddress", - "ChannelName", - "ChannelType", - "ContactId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::ContactChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtected": { - "type": "boolean" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.ReplicationRegion" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ReplicationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.RegionConfiguration": { - "additionalProperties": false, - "properties": { - "SseKmsKeyId": { - "type": "string" - } - }, - "required": [ - "SseKmsKeyId" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.ReplicationRegion": { - "additionalProperties": false, - "properties": { - "RegionConfiguration": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.RegionConfiguration" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.Action" - }, - "type": "array" - }, - "ChatChannel": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.ChatChannel" - }, - "DisplayName": { - "type": "string" - }, - "Engagements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncidentTemplate": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.IncidentTemplate" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IncidentTemplate", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ResponsePlan" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.Action": { - "additionalProperties": false, - "properties": { - "SsmAutomation": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmAutomation" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.ChatChannel": { - "additionalProperties": false, - "properties": { - "ChatbotSns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.IncidentTemplate": { - "additionalProperties": false, - "properties": { - "DedupeString": { - "type": "string" - }, - "Impact": { - "type": "number" - }, - "NotificationTargets": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.NotificationTargetItem" - }, - "type": "array" - }, - "Summary": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "required": [ - "Impact", - "Title" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.NotificationTargetItem": { - "additionalProperties": false, - "properties": { - "SnsTopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmAutomation": { - "additionalProperties": false, - "properties": { - "DocumentName": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmParameter" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TargetAccount": { - "type": "string" - } - }, - "required": [ - "DocumentName", - "RoleArn" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSO::Assignment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "PermissionSetArn": { - "type": "string" - }, - "PrincipalId": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "PermissionSetArn", - "PrincipalId", - "PrincipalType", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::Assignment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessControlAttributes": { - "items": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute" - }, - "type": "array" - }, - "InstanceArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::InstanceAccessControlAttributeConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue": { - "additionalProperties": false, - "properties": { - "Source": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::SSO::PermissionSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InlinePolicy": { - "type": "object" - }, - "InstanceArn": { - "type": "string" - }, - "ManagedPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RelayStateType": { - "type": "string" - }, - "SessionDuration": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::PermissionSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppName": { - "type": "string" - }, - "AppType": { - "type": "string" - }, - "DomainId": { - "type": "string" - }, - "ResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::App.ResourceSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - } - }, - "required": [ - "AppName", - "AppType", - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "KernelGatewayImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AppImageConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::AppImageConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "DefaultGid": { - "type": "number" - }, - "DefaultUid": { - "type": "number" - }, - "MountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig": { - "additionalProperties": false, - "properties": { - "FileSystemConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.FileSystemConfig" - }, - "KernelSpecs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelSpec" - }, - "type": "array" - } - }, - "required": [ - "KernelSpecs" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelSpec": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeRepositoryName": { - "type": "string" - }, - "GitConfig": { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository.GitConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GitConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::CodeRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository.GitConfig": { - "additionalProperties": false, - "properties": { - "Branch": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification" - }, - "DataQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig" - }, - "DataQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput" - }, - "DataQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig" - }, - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataQualityAppSpecification", - "DataQualityJobInput", - "DataQualityJobOutputConfig", - "JobResources", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DataQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "object" - }, - "DeviceFleetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Device.Device": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceName": { - "type": "string" - }, - "IotThingName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceFleetName": { - "type": "string" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet.EdgeOutputConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName", - "OutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DeviceFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet.EdgeOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "S3OutputLocation": { - "type": "string" - } - }, - "required": [ - "S3OutputLocation" - ], - "type": "object" - }, - "AWS::SageMaker::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppNetworkAccessType": { - "type": "string" - }, - "AuthMode": { - "type": "string" - }, - "DefaultUserSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.UserSettings" - }, - "DomainName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultUserSettings", - "DomainName", - "SubnetIds", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Domain.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeploymentConfig": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.DeploymentConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ExcludeRetainedVariantProperties": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.VariantProperty" - }, - "type": "array" - }, - "RetainAllVariantProperties": { - "type": "boolean" - }, - "RetainDeploymentConfig": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.AutoRollbackConfig": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.Alarm" - }, - "type": "array" - } - }, - "required": [ - "Alarms" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy": { - "additionalProperties": false, - "properties": { - "MaximumExecutionTimeoutInSeconds": { - "type": "number" - }, - "TerminationWaitInSeconds": { - "type": "number" - }, - "TrafficRoutingConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.TrafficRoutingConfig" - } - }, - "required": [ - "TrafficRoutingConfiguration" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.CapacitySize": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.DeploymentConfig": { - "additionalProperties": false, - "properties": { - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.AutoRollbackConfig" - }, - "BlueGreenUpdatePolicy": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy" - } - }, - "required": [ - "BlueGreenUpdatePolicy" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.TrafficRoutingConfig": { - "additionalProperties": false, - "properties": { - "CanarySize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "LinearStepSize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "Type": { - "type": "string" - }, - "WaitIntervalInSeconds": { - "type": "number" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.VariantProperty": { - "additionalProperties": false, - "properties": { - "VariantPropertyType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AsyncInferenceConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceConfig" - }, - "DataCaptureConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.DataCaptureConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "ProductionVariants": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ProductionVariant" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProductionVariants" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::EndpointConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrentInvocationsPerInstance": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceConfig": { - "additionalProperties": false, - "properties": { - "ClientConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig" - } - }, - "required": [ - "OutputConfig" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig": { - "additionalProperties": false, - "properties": { - "ErrorTopic": { - "type": "string" - }, - "SuccessTopic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig" - }, - "S3OutputPath": { - "type": "string" - } - }, - "required": [ - "S3OutputPath" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader": { - "additionalProperties": false, - "properties": { - "CsvContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "JsonContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureOption": { - "additionalProperties": false, - "properties": { - "CaptureMode": { - "type": "string" - } - }, - "required": [ - "CaptureMode" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.DataCaptureConfig": { - "additionalProperties": false, - "properties": { - "CaptureContentTypeHeader": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader" - }, - "CaptureOptions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureOption" - }, - "type": "array" - }, - "DestinationS3Uri": { - "type": "string" - }, - "EnableCapture": { - "type": "boolean" - }, - "InitialSamplingPercentage": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CaptureOptions", - "DestinationS3Uri", - "InitialSamplingPercentage" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ProductionVariant": { - "additionalProperties": false, - "properties": { - "AcceleratorType": { - "type": "string" - }, - "InitialInstanceCount": { - "type": "number" - }, - "InitialVariantWeight": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "ServerlessConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ServerlessConfig" - }, - "VariantName": { - "type": "string" - } - }, - "required": [ - "InitialVariantWeight", - "ModelName", - "VariantName" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ServerlessConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrency": { - "type": "number" - }, - "MemorySizeInMB": { - "type": "number" - } - }, - "required": [ - "MaxConcurrency", - "MemorySizeInMB" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventTimeFeatureName": { - "type": "string" - }, - "FeatureDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup.FeatureDefinition" - }, - "type": "array" - }, - "FeatureGroupName": { - "type": "string" - }, - "OfflineStoreConfig": { - "type": "object" - }, - "OnlineStoreConfig": { - "type": "object" - }, - "RecordIdentifierFeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EventTimeFeatureName", - "FeatureDefinitions", - "FeatureGroupName", - "RecordIdentifierFeatureName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::FeatureGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup.FeatureDefinition": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "FeatureType": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "FeatureType" - ], - "type": "object" - }, - "AWS::SageMaker::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ImageDescription": { - "type": "string" - }, - "ImageDisplayName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ImageName", - "ImageRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ImageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BaseImage": { - "type": "string" - }, - "ImageName": { - "type": "string" - } - }, - "required": [ - "BaseImage", - "ImageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ImageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Containers": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "type": "array" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "InferenceExecutionConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.InferenceExecutionConfig" - }, - "ModelName": { - "type": "string" - }, - "PrimaryContainer": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.VpcConfig" - } - }, - "required": [ - "ExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Model" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "ContainerHostname": { - "type": "string" - }, - "Environment": { - "type": "object" - }, - "Image": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.ImageConfig" - }, - "InferenceSpecificationName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "ModelDataUrl": { - "type": "string" - }, - "ModelPackageName": { - "type": "string" - }, - "MultiModelConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.MultiModelConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.ImageConfig": { - "additionalProperties": false, - "properties": { - "RepositoryAccessMode": { - "type": "string" - }, - "RepositoryAuthConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.RepositoryAuthConfig" - } - }, - "required": [ - "RepositoryAccessMode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.InferenceExecutionConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.MultiModelConfig": { - "additionalProperties": false, - "properties": { - "ModelCacheSetting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.RepositoryAuthConfig": { - "additionalProperties": false, - "properties": { - "RepositoryCredentialsProviderArn": { - "type": "string" - } - }, - "required": [ - "RepositoryCredentialsProviderArn" - ], - "type": "object" - }, - "AWS::SageMaker::Model.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources" - }, - "ModelBiasAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification" - }, - "ModelBiasBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig" - }, - "ModelBiasJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput" - }, - "ModelBiasJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelBiasAppSpecification", - "ModelBiasJobInput", - "ModelBiasJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelBiasJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources" - }, - "ModelExplainabilityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification" - }, - "ModelExplainabilityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig" - }, - "ModelExplainabilityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput" - }, - "ModelExplainabilityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelExplainabilityAppSpecification", - "ModelExplainabilityJobInput", - "ModelExplainabilityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelExplainabilityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelPackageGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModelPackageGroupDescription": { - "type": "string" - }, - "ModelPackageGroupName": { - "type": "string" - }, - "ModelPackageGroupPolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ModelPackageGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelPackageGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources" - }, - "ModelQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification" - }, - "ModelQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig" - }, - "ModelQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput" - }, - "ModelQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelQualityAppSpecification", - "ModelQualityJobInput", - "ModelQualityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "ProblemType": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri", - "ProblemType" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastMonitoringExecutionSummary": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary" - }, - "MonitoringScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "MonitoringScheduleStatus": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MonitoringScheduleConfig", - "MonitoringScheduleName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::MonitoringSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.BaselineConfig": { - "additionalProperties": false, - "properties": { - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary": { - "additionalProperties": false, - "properties": { - "CreationTime": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastModifiedTime": { - "type": "string" - }, - "MonitoringExecutionStatus": { - "type": "string" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "ProcessingJobArn": { - "type": "string" - }, - "ScheduledTime": { - "type": "string" - } - }, - "required": [ - "CreationTime", - "LastModifiedTime", - "MonitoringExecutionStatus", - "MonitoringScheduleName", - "ScheduledTime" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition": { - "additionalProperties": false, - "properties": { - "BaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.BaselineConfig" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MonitoringAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification" - }, - "MonitoringInputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringInput" - }, - "type": "array" - }, - "MonitoringOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig" - }, - "MonitoringResources": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StoppingCondition" - } - }, - "required": [ - "MonitoringAppSpecification", - "MonitoringInputs", - "MonitoringOutputConfig", - "MonitoringResources", - "RoleArn" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig": { - "additionalProperties": false, - "properties": { - "MonitoringJobDefinition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition" - }, - "MonitoringJobDefinitionName": { - "type": "string" - }, - "MonitoringType": { - "type": "string" - }, - "ScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ScheduleConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ScheduleConfig": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalCodeRepositories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DefaultCodeRepository": { - "type": "string" - }, - "DirectInternetAccess": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecycleConfigName": { - "type": "string" - }, - "NotebookInstanceName": { - "type": "string" - }, - "PlatformIdentifier": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "RootAccess": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceType", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NotebookInstanceLifecycleConfigName": { - "type": "string" - }, - "OnCreate": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - }, - "OnStart": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstanceLifecycleConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineDefinition": { - "type": "object" - }, - "PipelineDescription": { - "type": "string" - }, - "PipelineDisplayName": { - "type": "string" - }, - "PipelineName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineDefinition", - "PipelineName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "ServiceCatalogProvisioningDetails": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProjectName", - "ServiceCatalogProvisioningDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainId": { - "type": "string" - }, - "SingleSignOnUserIdentifier": { - "type": "string" - }, - "SingleSignOnUserValue": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - }, - "UserSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.UserSettings" - } - }, - "required": [ - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Workteam": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.MemberDefinition" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.NotificationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkteamName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Workteam" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.CognitoMemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoClientId": { - "type": "string" - }, - "CognitoUserGroup": { - "type": "string" - }, - "CognitoUserPool": { - "type": "string" - } - }, - "required": [ - "CognitoClientId", - "CognitoUserGroup", - "CognitoUserPool" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.MemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoMemberDefinition": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.CognitoMemberDefinition" - } - }, - "required": [ - "CognitoMemberDefinition" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "NotificationTopicArn": { - "type": "string" - } - }, - "required": [ - "NotificationTopicArn" - ], - "type": "object" - }, - "AWS::SecretsManager::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BlockPublicPolicy": { - "type": "boolean" - }, - "ResourcePolicy": { - "type": "object" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "ResourcePolicy", - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.HostedRotationLambda" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::RotationSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GenerateSecretString": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.GenerateSecretString" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicaRegions": { - "items": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.ReplicaRegion" - }, - "type": "array" - }, - "SecretString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::Secret" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SecretsManager::Secret.GenerateSecretString": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "ExcludeLowercase": { - "type": "boolean" - }, - "ExcludeNumbers": { - "type": "boolean" - }, - "ExcludePunctuation": { - "type": "boolean" - }, - "ExcludeUppercase": { - "type": "boolean" - }, - "GenerateStringKey": { - "type": "string" - }, - "IncludeSpace": { - "type": "boolean" - }, - "PasswordLength": { - "type": "number" - }, - "RequireEachIncludedType": { - "type": "boolean" - }, - "SecretStringTemplate": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret.ReplicaRegion": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::SecretsManager::SecretTargetAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SecretId": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "SecretId", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::SecretTargetAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecurityHub::Hub": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecurityHub::Hub" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::AcceptedPortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::AcceptedPortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Distributor": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "ProvisioningArtifactParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties" - }, - "type": "array" - }, - "ReplaceProvisioningArtifacts": { - "type": "boolean" - }, - "SupportDescription": { - "type": "string" - }, - "SupportEmail": { - "type": "string" - }, - "SupportUrl": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Owner", - "ProvisioningArtifactParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DisableTemplateValidation": { - "type": "boolean" - }, - "Info": { - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Info" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PathId": { - "type": "string" - }, - "PathName": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProvisionedProductName": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ProvisioningArtifactName": { - "type": "string" - }, - "ProvisioningParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter" - }, - "type": "array" - }, - "ProvisioningPreferences": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences": { - "additionalProperties": false, - "properties": { - "StackSetAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackSetFailureToleranceCount": { - "type": "number" - }, - "StackSetFailureTolerancePercentage": { - "type": "number" - }, - "StackSetMaxConcurrencyCount": { - "type": "number" - }, - "StackSetMaxConcurrencyPercentage": { - "type": "number" - }, - "StackSetOperationType": { - "type": "string" - }, - "StackSetRegions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ServiceCatalog::LaunchNotificationConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - } - }, - "required": [ - "NotificationArns", - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchNotificationConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchRoleConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocalRoleName": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchRoleConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchTemplateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "Rules": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchTemplateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::Portfolio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DisplayName", - "ProviderName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::Portfolio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "PrincipalARN": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "PrincipalARN", - "PrincipalType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioPrincipalAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioProductAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "SourcePortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioProductAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountId": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ShareTagOptions": { - "type": "boolean" - } - }, - "required": [ - "AccountId", - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ResourceUpdateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "TagUpdateOnProvisionedProduct": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "TagUpdateOnProvisionedProduct" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ResourceUpdateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Definition": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction.DefinitionParameter" - }, - "type": "array" - }, - "DefinitionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Definition", - "DefinitionType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction.DefinitionParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceActionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProductId": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ServiceActionId": { - "type": "string" - } - }, - "required": [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceActionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::StackSetConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdminRole": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ExecutionRole": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RegionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackInstanceControl": { - "type": "string" - } - }, - "required": [ - "AccountList", - "AdminRole", - "Description", - "ExecutionRole", - "PortfolioId", - "ProductId", - "RegionList", - "StackInstanceControl" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::StackSetConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Active": { - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOptionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - }, - "TagOptionId": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "TagOptionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOptionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Attributes", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "AttributeGroup": { - "type": "string" - } - }, - "required": [ - "Application", - "AttributeGroup" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::ResourceAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "Resource": { - "type": "string" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "Application", - "Resource", - "ResourceType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::ResourceAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::HttpNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::HttpNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceAttributes": { - "type": "object" - }, - "InstanceId": { - "type": "string" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "InstanceAttributes", - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Vpc": { - "type": "string" - } - }, - "required": [ - "Name", - "Vpc" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PrivateDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PublicDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DnsConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsConfig" - }, - "HealthCheckConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckConfig" - }, - "HealthCheckCustomConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckCustomConfig" - }, - "Name": { - "type": "string" - }, - "NamespaceId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsConfig": { - "additionalProperties": false, - "properties": { - "DnsRecords": { - "items": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsRecord" - }, - "type": "array" - }, - "NamespaceId": { - "type": "string" - }, - "RoutingPolicy": { - "type": "string" - } - }, - "required": [ - "DnsRecords" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsRecord": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TTL", - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - }, - "ResourcePath": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckCustomConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Signer::ProfilePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "ProfileName": { - "type": "string" - }, - "ProfileVersion": { - "type": "string" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "Action", - "Principal", - "ProfileName", - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::ProfilePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PlatformId": { - "type": "string" - }, - "SignatureValidityPeriod": { - "$ref": "#/definitions/AWS::Signer::SigningProfile.SignatureValidityPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PlatformId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::SigningProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile.SignatureValidityPeriod": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::StepFunctions::Activity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::Activity.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::Activity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::Activity.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.Definition" - }, - "DefinitionS3Location": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.S3Location" - }, - "DefinitionString": { - "type": "string" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LoggingConfiguration" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - }, - "StateMachineType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TagsEntry" - }, - "type": "array" - }, - "TracingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TracingConfiguration" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.Definition": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TracingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArtifactConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.ArtifactConfig" - }, - "ArtifactS3Location": { - "type": "string" - }, - "Code": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Code" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FailureRetentionPeriod": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RunConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.RunConfig" - }, - "RuntimeVersion": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Schedule" - }, - "StartCanaryAfterCreation": { - "type": "boolean" - }, - "SuccessRetentionPeriod": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VPCConfig" - }, - "VisualReference": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VisualReference" - } - }, - "required": [ - "ArtifactS3Location", - "Code", - "ExecutionRoleArn", - "Name", - "RuntimeVersion", - "Schedule", - "StartCanaryAfterCreation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Synthetics::Canary" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.ArtifactConfig": { - "additionalProperties": false, - "properties": { - "S3Encryption": { - "$ref": "#/definitions/AWS::Synthetics::Canary.S3Encryption" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.BaseScreenshot": { - "additionalProperties": false, - "properties": { - "IgnoreCoordinates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScreenshotName": { - "type": "string" - } - }, - "required": [ - "ScreenshotName" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.Code": { - "additionalProperties": false, - "properties": { - "Handler": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "required": [ - "Handler" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.RunConfig": { - "additionalProperties": false, - "properties": { - "ActiveTracing": { - "type": "boolean" - }, - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MemoryInMB": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.S3Encryption": { - "additionalProperties": false, - "properties": { - "EncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.Schedule": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "Expression" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VPCConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VisualReference": { - "additionalProperties": false, - "properties": { - "BaseCanaryRunId": { - "type": "string" - }, - "BaseScreenshots": { - "items": { - "$ref": "#/definitions/AWS::Synthetics::Canary.BaseScreenshot" - }, - "type": "array" - } - }, - "required": [ - "BaseCanaryRunId" - ], - "type": "object" - }, - "AWS::Timestream::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientToken": { - "type": "string" - }, - "ErrorReportConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ErrorReportConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.NotificationConfiguration" - }, - "QueryString": { - "type": "string" - }, - "ScheduleConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ScheduleConfiguration" - }, - "ScheduledQueryExecutionRoleArn": { - "type": "string" - }, - "ScheduledQueryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TargetConfiguration" - } - }, - "required": [ - "ErrorReportConfiguration", - "NotificationConfiguration", - "QueryString", - "ScheduleConfiguration", - "ScheduledQueryExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::ScheduledQuery" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.DimensionMapping": { - "additionalProperties": false, - "properties": { - "DimensionValueType": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DimensionValueType", - "Name" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ErrorReportConfiguration": { - "additionalProperties": false, - "properties": { - "S3Configuration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.S3Configuration" - } - }, - "required": [ - "S3Configuration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MixedMeasureMapping": { - "additionalProperties": false, - "properties": { - "MeasureName": { - "type": "string" - }, - "MeasureValueType": { - "type": "string" - }, - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMeasureName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping": { - "additionalProperties": false, - "properties": { - "MeasureValueType": { - "type": "string" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMultiMeasureAttributeName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType", - "SourceColumn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureMappings": { - "additionalProperties": false, - "properties": { - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "TargetMultiMeasureName": { - "type": "string" - } - }, - "required": [ - "MultiMeasureAttributeMappings" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "SnsConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.SnsConfiguration" - } - }, - "required": [ - "SnsConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "EncryptionOption": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ScheduleConfiguration": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.SnsConfiguration": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TargetConfiguration": { - "additionalProperties": false, - "properties": { - "TimestreamConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TimestreamConfiguration" - } - }, - "required": [ - "TimestreamConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TimestreamConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "DimensionMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.DimensionMapping" - }, - "type": "array" - }, - "MeasureNameColumn": { - "type": "string" - }, - "MixedMeasureMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MixedMeasureMapping" - }, - "type": "array" - }, - "MultiMeasureMappings": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureMappings" - }, - "TableName": { - "type": "string" - }, - "TimeColumn": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "DimensionMappings", - "TableName", - "TimeColumn" - ], - "type": "object" - }, - "AWS::Timestream::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "RetentionProperties": { - "type": "object" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Domain": { - "type": "string" - }, - "EndpointDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.EndpointDetails" - }, - "EndpointType": { - "type": "string" - }, - "IdentityProviderDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.IdentityProviderDetails" - }, - "IdentityProviderType": { - "type": "string" - }, - "LoggingRole": { - "type": "string" - }, - "ProtocolDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.ProtocolDetails" - }, - "Protocols": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.Protocol" - }, - "type": "array" - }, - "SecurityPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkflowDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetails" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Transfer::Server.EndpointDetails": { - "additionalProperties": false, - "properties": { - "AddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.IdentityProviderDetails": { - "additionalProperties": false, - "properties": { - "DirectoryId": { - "type": "string" - }, - "Function": { - "type": "string" - }, - "InvocationRole": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.Protocol": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Server.ProtocolDetails": { - "additionalProperties": false, - "properties": { - "PassiveIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetail": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "WorkflowId": { - "type": "string" - } - }, - "required": [ - "ExecutionRole", - "WorkflowId" - ], - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetails": { - "additionalProperties": false, - "properties": { - "OnUpload": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetail" - }, - "type": "array" - } - }, - "required": [ - "OnUpload" - ], - "type": "object" - }, - "AWS::Transfer::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HomeDirectory": { - "type": "string" - }, - "HomeDirectoryMappings": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.HomeDirectoryMapEntry" - }, - "type": "array" - }, - "HomeDirectoryType": { - "type": "string" - }, - "Policy": { - "type": "string" - }, - "PosixProfile": { - "$ref": "#/definitions/AWS::Transfer::User.PosixProfile" - }, - "Role": { - "type": "string" - }, - "ServerId": { - "type": "string" - }, - "SshPublicKeys": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.SshPublicKey" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Role", - "ServerId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::User.HomeDirectoryMapEntry": { - "additionalProperties": false, - "properties": { - "Entry": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Entry", - "Target" - ], - "type": "object" - }, - "AWS::Transfer::User.PosixProfile": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "SecondaryGids": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Uid": { - "type": "number" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::Transfer::User.SshPublicKey": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "OnExceptionSteps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Steps" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Workflow.WorkflowStep": { - "additionalProperties": false, - "properties": { - "CopyStepDetails": { - "type": "object" - }, - "CustomStepDetails": { - "type": "object" - }, - "DeleteStepDetails": { - "type": "object" - }, - "TagStepDetails": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAF::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAF::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAF::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAF::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name", - "SizeConstraints" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAF::WebACL.ActivatedRule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::WebACL.ActivatedRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAF::WebACL.WafAction": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name", - "XssMatchTuples" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GeoMatchConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::GeoMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MatchPredicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule.Predicate" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RateKey": { - "type": "string" - }, - "RateLimit": { - "type": "number" - } - }, - "required": [ - "MetricName", - "Name", - "RateKey", - "RateLimit" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RateBasedRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RegexPatternStrings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "RegexPatternStrings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Rule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Action": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Action", - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLId": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFv2::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "IPAddressVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoggingFilter": { - "type": "object" - }, - "RedactedFields": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration.FieldToMatch" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "LogDestinationConfigs", - "ResourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration.FieldToMatch": { - "additionalProperties": false, - "properties": { - "JsonBody": { - "type": "object" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RegularExpressionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RegularExpressionList", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.CustomResponseBody" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RuleAction" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "type": "object" - }, - "Block": { - "type": "object" - }, - "Count": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponseBody" - } - }, - "type": "object" - }, - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.DefaultAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponse" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "type": "string" - }, - "ResponseCode": { - "type": "number" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "VendorName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "object" - }, - "None": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleAction" - }, - "Name": { - "type": "string" - }, - "OverrideAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OverrideAction" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - }, - "Count": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CountAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::Assistant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssistantId": { - "type": "string" - }, - "Association": { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation.AssociationData" - }, - "AssociationType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssistantId", - "Association", - "AssociationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::AssistantAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation.AssociationData": { - "additionalProperties": false, - "properties": { - "KnowledgeBaseId": { - "type": "string" - } - }, - "required": [ - "KnowledgeBaseId" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KnowledgeBaseType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.RenderingConfiguration" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.SourceConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KnowledgeBaseType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::KnowledgeBase" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrationArn": { - "type": "string" - }, - "ObjectFields": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AppIntegrationArn", - "ObjectFields" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.RenderingConfiguration": { - "additionalProperties": false, - "properties": { - "TemplateUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrations": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConnectionString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::ConnectionAlias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation": { - "additionalProperties": false, - "properties": { - "AssociatedAccountId": { - "type": "string" - }, - "AssociationStatus": { - "type": "string" - }, - "ConnectionIdentifier": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::Workspace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BundleId": { - "type": "string" - }, - "DirectoryId": { - "type": "string" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - }, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "VolumeEncryptionKey": { - "type": "string" - }, - "WorkspaceProperties": { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace.WorkspaceProperties" - } - }, - "required": [ - "BundleId", - "DirectoryId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::Workspace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::Workspace.WorkspaceProperties": { - "additionalProperties": false, - "properties": { - "ComputeTypeName": { - "type": "string" - }, - "RootVolumeSizeGib": { - "type": "number" - }, - "RunningMode": { - "type": "string" - }, - "RunningModeAutoStopTimeoutInMinutes": { - "type": "number" - }, - "UserVolumeSizeGib": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterExpression": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "InsightsConfiguration": { - "$ref": "#/definitions/AWS::XRay::Group.InsightsConfiguration" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::Group.InsightsConfiguration": { - "additionalProperties": false, - "properties": { - "InsightsEnabled": { - "type": "boolean" - }, - "NotificationsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - }, - "SamplingRuleRecord": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleRecord" - }, - "SamplingRuleUpdate": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleUpdate" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::SamplingRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRule": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleRecord": { - "additionalProperties": false, - "properties": { - "CreatedAt": { - "type": "string" - }, - "ModifiedAt": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleUpdate": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/Alexa::ASK::Skill.AuthenticationConfiguration" - }, - "SkillPackage": { - "$ref": "#/definitions/Alexa::ASK::Skill.SkillPackage" - }, - "VendorId": { - "type": "string" - } - }, - "required": [ - "AuthenticationConfiguration", - "SkillPackage", - "VendorId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "Alexa::ASK::Skill" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "Alexa::ASK::Skill.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "required": [ - "ClientId", - "ClientSecret", - "RefreshToken" - ], - "type": "object" - }, - "Alexa::ASK::Skill.Overrides": { - "additionalProperties": false, - "properties": { - "Manifest": { - "type": "object" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill.SkillPackage": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/Alexa::ASK::Skill.Overrides" - }, - "S3Bucket": { - "type": "string" - }, - "S3BucketRole": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "AllowedValues": { - "type": "array" - }, - "ConstraintDescription": { - "type": "string" - }, - "Default": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MaxLength": { - "type": "string" - }, - "MaxValue": { - "type": "string" - }, - "MinLength": { - "type": "string" - }, - "MinValue": { - "type": "string" - }, - "NoEcho": { - "type": [ - "string", - "boolean" - ] - }, - "Type": { - "enum": [ - "String", - "Number", - "List\u003cNumber\u003e", - "CommaDelimitedList", - "AWS::EC2::AvailabilityZone::Name", - "AWS::EC2::Image::Id", - "AWS::EC2::Instance::Id", - "AWS::EC2::KeyPair::KeyName", - "AWS::EC2::SecurityGroup::GroupName", - "AWS::EC2::SecurityGroup::Id", - "AWS::EC2::Subnet::Id", - "AWS::EC2::Volume::Id", - "AWS::EC2::VPC::Id", - "AWS::Route53::HostedZone::Id", - "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "List\u003cAWS::EC2::Image::Id\u003e", - "List\u003cAWS::EC2::Instance::Id\u003e", - "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "List\u003cAWS::EC2::SecurityGroup::Id\u003e", - "List\u003cAWS::EC2::Subnet::Id\u003e", - "List\u003cAWS::EC2::Volume::Id\u003e", - "List\u003cAWS::EC2::VPC::Id\u003e", - "List\u003cAWS::Route53::HostedZone::Id\u003e", - "List\u003cString\u003e", - "AWS::SSM::Parameter::Name", - "AWS::SSM::Parameter::Value\u003cString\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "properties": { - "AWSTemplateFormatVersion": { - "enum": [ - "2010-09-09" - ], - "type": "string" - }, - "Conditions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Description": { - "description": "Template description", - "maxLength": 1024, - "type": "string" - }, - "Mappings": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Metadata": { - "type": "object" - }, - "Outputs": { - "additionalProperties": false, - "maxProperties": 60, - "minProperties": 1, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Parameters": { - "additionalProperties": false, - "maxProperties": 50, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/Parameter" - } - }, - "type": "object" - }, - "Resources": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::ACMPCA::Certificate" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthorityActivation" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::Permission" - }, - { - "$ref": "#/definitions/AWS::APS::RuleGroupsNamespace" - }, - { - "$ref": "#/definitions/AWS::APS::Workspace" - }, - { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Broker" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation" - }, - { - "$ref": "#/definitions/AWS::Amplify::App" - }, - { - "$ref": "#/definitions/AWS::Amplify::Branch" - }, - { - "$ref": "#/definitions/AWS::Amplify::Domain" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Account" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::BasePathMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ClientCertificate" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationVersion" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::GatewayResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Method" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RequestValidator" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Resource" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RestApi" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlanKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::VpcLink" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::IntegrationResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Route" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::RouteResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::VpcLink" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Application" - }, - { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Deployment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Environment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::HostedConfigurationVersion" - }, - { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile" - }, - { - "$ref": "#/definitions/AWS::AppFlow::Flow" - }, - { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration" - }, - { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Mesh" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Route" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualService" - }, - { - "$ref": "#/definitions/AWS::AppRunner::Service" - }, - { - "$ref": "#/definitions/AWS::AppStream::AppBlock" - }, - { - "$ref": "#/definitions/AWS::AppStream::Application" - }, - { - "$ref": "#/definitions/AWS::AppStream::ApplicationFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig" - }, - { - "$ref": "#/definitions/AWS::AppStream::Fleet" - }, - { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder" - }, - { - "$ref": "#/definitions/AWS::AppStream::Stack" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackUserAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::User" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiCache" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiKey" - }, - { - "$ref": "#/definitions/AWS::AppSync::DataSource" - }, - { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLSchema" - }, - { - "$ref": "#/definitions/AWS::AppSync::Resolver" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::ApplicationInsights::Application" - }, - { - "$ref": "#/definitions/AWS::Athena::DataCatalog" - }, - { - "$ref": "#/definitions/AWS::Athena::NamedQuery" - }, - { - "$ref": "#/definitions/AWS::Athena::PreparedStatement" - }, - { - "$ref": "#/definitions/AWS::Athena::WorkGroup" - }, - { - "$ref": "#/definitions/AWS::AuditManager::Assessment" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::WarmPool" - }, - { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupSelection" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupVault" - }, - { - "$ref": "#/definitions/AWS::Backup::Framework" - }, - { - "$ref": "#/definitions/AWS::Backup::ReportPlan" - }, - { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment" - }, - { - "$ref": "#/definitions/AWS::Batch::JobDefinition" - }, - { - "$ref": "#/definitions/AWS::Batch::JobQueue" - }, - { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy" - }, - { - "$ref": "#/definitions/AWS::Budgets::Budget" - }, - { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalyMonitor" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalySubscription" - }, - { - "$ref": "#/definitions/AWS::CE::CostCategory" - }, - { - "$ref": "#/definitions/AWS::CUR::ReportDefinition" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Keyspace" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Table" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Account" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Certificate" - }, - { - "$ref": "#/definitions/AWS::Chatbot::SlackChannelConfiguration" - }, - { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::CustomResource" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Macro" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Publisher" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Stack" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::StackSet" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Distribution" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Function" - }, - { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup" - }, - { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::PublicKey" - }, - { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig" - }, - { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution" - }, - { - "$ref": "#/definitions/AWS::CloudTrail::Trail" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Alarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Dashboard" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Domain" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::Project" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::SourceCredential" - }, - { - "$ref": "#/definitions/AWS::CodeCommit::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::Application" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruReviewer::RepositoryAssociation" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Webhook" - }, - { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository" - }, - { - "$ref": "#/definitions/AWS::CodeStarConnections::Connection" - }, - { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolGroup" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolIdentityProvider" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUICustomizationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUserToGroupAttachment" - }, - { - "$ref": "#/definitions/AWS::Config::AggregationAuthorization" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder" - }, - { - "$ref": "#/definitions/AWS::Config::ConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::DeliveryChannel" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration" - }, - { - "$ref": "#/definitions/AWS::Config::StoredQuery" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlow" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlowModule" - }, - { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation" - }, - { - "$ref": "#/definitions/AWS::Connect::QuickConnect" - }, - { - "$ref": "#/definitions/AWS::Connect::User" - }, - { - "$ref": "#/definitions/AWS::Connect::UserHierarchyGroup" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Domain" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType" - }, - { - "$ref": "#/definitions/AWS::DAX::Cluster" - }, - { - "$ref": "#/definitions/AWS::DAX::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DAX::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy" - }, - { - "$ref": "#/definitions/AWS::DMS::Certificate" - }, - { - "$ref": "#/definitions/AWS::DMS::Endpoint" - }, - { - "$ref": "#/definitions/AWS::DMS::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationInstance" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationTask" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Dataset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Job" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Project" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Recipe" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Ruleset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Schedule" - }, - { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::DataSync::Agent" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationEFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationFSxWindows" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationNFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationObjectStorage" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationS3" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationSMB" - }, - { - "$ref": "#/definitions/AWS::DataSync::Task" - }, - { - "$ref": "#/definitions/AWS::Detective::Graph" - }, - { - "$ref": "#/definitions/AWS::Detective::MemberInvitation" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBCluster" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBInstance" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::Table" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservation" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::CarrierGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::CustomerGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::DHCPOptions" - }, - { - "$ref": "#/definitions/AWS::EC2::EC2Fleet" - }, - { - "$ref": "#/definitions/AWS::EC2::EIP" - }, - { - "$ref": "#/definitions/AWS::EC2::EIPAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::FlowLog" - }, - { - "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::Host" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAM" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMAllocation" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMPool" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMScope" - }, - { - "$ref": "#/definitions/AWS::EC2::Instance" - }, - { - "$ref": "#/definitions/AWS::EC2::InternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::NatGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAcl" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterface" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" - }, - { - "$ref": "#/definitions/AWS::EC2::PlacementGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::PrefixList" - }, - { - "$ref": "#/definitions/AWS::EC2::Route" - }, - { - "$ref": "#/definitions/AWS::EC2::RouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::EC2::SpotFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::Subnet" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPC" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointService" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::Volume" - }, - { - "$ref": "#/definitions/AWS::EC2::VolumeAttachment" - }, - { - "$ref": "#/definitions/AWS::ECR::PublicRepository" - }, - { - "$ref": "#/definitions/AWS::ECR::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" - }, - { - "$ref": "#/definitions/AWS::ECR::Repository" - }, - { - "$ref": "#/definitions/AWS::ECS::CapacityProvider" - }, - { - "$ref": "#/definitions/AWS::ECS::Cluster" - }, - { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations" - }, - { - "$ref": "#/definitions/AWS::ECS::PrimaryTaskSet" - }, - { - "$ref": "#/definitions/AWS::ECS::Service" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskDefinition" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskSet" - }, - { - "$ref": "#/definitions/AWS::EFS::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::EFS::FileSystem" - }, - { - "$ref": "#/definitions/AWS::EFS::MountTarget" - }, - { - "$ref": "#/definitions/AWS::EKS::Addon" - }, - { - "$ref": "#/definitions/AWS::EKS::Cluster" - }, - { - "$ref": "#/definitions/AWS::EKS::FargateProfile" - }, - { - "$ref": "#/definitions/AWS::EKS::Nodegroup" - }, - { - "$ref": "#/definitions/AWS::EMR::Cluster" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::EMR::Step" - }, - { - "$ref": "#/definitions/AWS::EMR::Studio" - }, - { - "$ref": "#/definitions/AWS::EMR::StudioSessionMapping" - }, - { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::User" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::UserGroup" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" - }, - { - "$ref": "#/definitions/AWS::Elasticsearch::Domain" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Registry" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Schema" - }, - { - "$ref": "#/definitions/AWS::Events::ApiDestination" - }, - { - "$ref": "#/definitions/AWS::Events::Archive" - }, - { - "$ref": "#/definitions/AWS::Events::Connection" - }, - { - "$ref": "#/definitions/AWS::Events::EventBus" - }, - { - "$ref": "#/definitions/AWS::Events::EventBusPolicy" - }, - { - "$ref": "#/definitions/AWS::Events::Rule" - }, - { - "$ref": "#/definitions/AWS::Evidently::Experiment" - }, - { - "$ref": "#/definitions/AWS::Evidently::Feature" - }, - { - "$ref": "#/definitions/AWS::Evidently::Launch" - }, - { - "$ref": "#/definitions/AWS::Evidently::Project" - }, - { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" - }, - { - "$ref": "#/definitions/AWS::FMS::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::FMS::Policy" - }, - { - "$ref": "#/definitions/AWS::FSx::FileSystem" - }, - { - "$ref": "#/definitions/AWS::FinSpace::Environment" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Detector" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EntityType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EventType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Label" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Outcome" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Variable" - }, - { - "$ref": "#/definitions/AWS::GameLift::Alias" - }, - { - "$ref": "#/definitions/AWS::GameLift::Build" - }, - { - "$ref": "#/definitions/AWS::GameLift::Fleet" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingRuleSet" - }, - { - "$ref": "#/definitions/AWS::GameLift::Script" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Accelerator" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener" - }, - { - "$ref": "#/definitions/AWS::Glue::Classifier" - }, - { - "$ref": "#/definitions/AWS::Glue::Connection" - }, - { - "$ref": "#/definitions/AWS::Glue::Crawler" - }, - { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings" - }, - { - "$ref": "#/definitions/AWS::Glue::Database" - }, - { - "$ref": "#/definitions/AWS::Glue::DevEndpoint" - }, - { - "$ref": "#/definitions/AWS::Glue::Job" - }, - { - "$ref": "#/definitions/AWS::Glue::MLTransform" - }, - { - "$ref": "#/definitions/AWS::Glue::Partition" - }, - { - "$ref": "#/definitions/AWS::Glue::Registry" - }, - { - "$ref": "#/definitions/AWS::Glue::Schema" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersion" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersionMetadata" - }, - { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::Glue::Table" - }, - { - "$ref": "#/definitions/AWS::Glue::Trigger" - }, - { - "$ref": "#/definitions/AWS::Glue::Workflow" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::Group" - }, - { - "$ref": "#/definitions/AWS::Greengrass::GroupVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion" - }, - { - "$ref": "#/definitions/AWS::GroundStation::Config" - }, - { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Detector" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Filter" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::IPSet" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Master" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Member" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::ThreatIntelSet" - }, - { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore" - }, - { - "$ref": "#/definitions/AWS::IAM::AccessKey" - }, - { - "$ref": "#/definitions/AWS::IAM::Group" - }, - { - "$ref": "#/definitions/AWS::IAM::InstanceProfile" - }, - { - "$ref": "#/definitions/AWS::IAM::ManagedPolicy" - }, - { - "$ref": "#/definitions/AWS::IAM::OIDCProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::Policy" - }, - { - "$ref": "#/definitions/AWS::IAM::Role" - }, - { - "$ref": "#/definitions/AWS::IAM::SAMLProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::ServerCertificate" - }, - { - "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" - }, - { - "$ref": "#/definitions/AWS::IAM::User" - }, - { - "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" - }, - { - "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" - }, - { - "$ref": "#/definitions/AWS::IVS::Channel" - }, - { - "$ref": "#/definitions/AWS::IVS::PlaybackKeyPair" - }, - { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration" - }, - { - "$ref": "#/definitions/AWS::IVS::StreamKey" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Image" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTarget" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTemplate" - }, - { - "$ref": "#/definitions/AWS::Inspector::ResourceGroup" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Device" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Placement" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Project" - }, - { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration" - }, - { - "$ref": "#/definitions/AWS::IoT::Authorizer" - }, + "maxProperties": 60, + "minProperties": 1, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" + } + }, + "type": "object" + }, + "Parameters": { + "additionalProperties": false, + "maxProperties": 50, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/Parameter" + } + }, + "type": "object" + }, + "Resources": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "anyOf": [ { - "$ref": "#/definitions/AWS::IoT::Certificate" + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" }, { - "$ref": "#/definitions/AWS::IoT::CustomMetric" + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" }, { - "$ref": "#/definitions/AWS::IoT::Dimension" + "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" }, { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" }, { - "$ref": "#/definitions/AWS::IoT::FleetMetric" + "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" }, { - "$ref": "#/definitions/AWS::IoT::JobTemplate" + "$ref": "#/definitions/AWS::AutoScaling::WarmPool" }, { - "$ref": "#/definitions/AWS::IoT::Logging" + "$ref": "#/definitions/AWS::CloudFormation::CustomResource" }, { - "$ref": "#/definitions/AWS::IoT::MitigationAction" + "$ref": "#/definitions/AWS::CloudFormation::GuardHook" }, { - "$ref": "#/definitions/AWS::IoT::Policy" + "$ref": "#/definitions/AWS::CloudFormation::HookDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::PolicyPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::HookTypeConfig" }, { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate" + "$ref": "#/definitions/AWS::CloudFormation::HookVersion" }, { - "$ref": "#/definitions/AWS::IoT::ResourceSpecificLogging" + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook" }, { - "$ref": "#/definitions/AWS::IoT::ScheduledAudit" + "$ref": "#/definitions/AWS::CloudFormation::Macro" }, { - "$ref": "#/definitions/AWS::IoT::SecurityProfile" + "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::Thing" + "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" }, { - "$ref": "#/definitions/AWS::IoT::ThingPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" }, { - "$ref": "#/definitions/AWS::IoT::TopicRule" + "$ref": "#/definitions/AWS::CloudFormation::Publisher" }, { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination" + "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel" + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset" + "$ref": "#/definitions/AWS::CloudFormation::Stack" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore" + "$ref": "#/definitions/AWS::CloudFormation::StackSet" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline" + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" }, { - "$ref": "#/definitions/AWS::IoTCoreDeviceAdvisor::SuiteDefinition" + "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" }, { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel" + "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" }, { - "$ref": "#/definitions/AWS::IoTEvents::Input" + "$ref": "#/definitions/AWS::CloudWatch::Alarm" }, { - "$ref": "#/definitions/AWS::IoTFleetHub::Application" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy" + "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset" + "$ref": "#/definitions/AWS::CloudWatch::Dashboard" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel" + "$ref": "#/definitions/AWS::CloudWatch::InsightRule" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Dashboard" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway" + "$ref": "#/definitions/AWS::EC2::CapacityReservation" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Portal" + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Project" + "$ref": "#/definitions/AWS::EC2::CarrierGateway" }, { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate" + "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" }, { - "$ref": "#/definitions/AWS::IoTWireless::Destination" + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" }, { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile" + "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" }, { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask" + "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup" + "$ref": "#/definitions/AWS::EC2::CustomerGateway" }, { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount" + "$ref": "#/definitions/AWS::EC2::DHCPOptions" }, { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile" + "$ref": "#/definitions/AWS::EC2::EC2Fleet" }, { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition" + "$ref": "#/definitions/AWS::EC2::EIP" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice" + "$ref": "#/definitions/AWS::EC2::EIPAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway" + "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" }, { - "$ref": "#/definitions/AWS::KMS::Alias" + "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" }, { - "$ref": "#/definitions/AWS::KMS::Key" + "$ref": "#/definitions/AWS::EC2::FlowLog" }, { - "$ref": "#/definitions/AWS::KMS::ReplicaKey" + "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Kendra::DataSource" + "$ref": "#/definitions/AWS::EC2::Host" }, { - "$ref": "#/definitions/AWS::Kendra::Faq" + "$ref": "#/definitions/AWS::EC2::IPAM" }, { - "$ref": "#/definitions/AWS::Kendra::Index" + "$ref": "#/definitions/AWS::EC2::IPAMAllocation" }, { - "$ref": "#/definitions/AWS::Kinesis::Stream" + "$ref": "#/definitions/AWS::EC2::IPAMPool" }, { - "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" + "$ref": "#/definitions/AWS::EC2::IPAMPoolCidr" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscoveryAssociation" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::IPAMScope" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application" + "$ref": "#/definitions/AWS::EC2::Instance" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" + "$ref": "#/definitions/AWS::EC2::InstanceConnectEndpoint" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::InternetGateway" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::KeyPair" }, { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate" }, { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" }, { - "$ref": "#/definitions/AWS::LakeFormation::Permissions" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::LakeFormation::Resource" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::Alias" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" + "$ref": "#/definitions/AWS::EC2::NatGateway" }, { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" + "$ref": "#/definitions/AWS::EC2::NetworkAcl" }, { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" }, { - "$ref": "#/definitions/AWS::Lambda::Function" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersion" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScopeAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::Permission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" }, { - "$ref": "#/definitions/AWS::Lambda::Version" + "$ref": "#/definitions/AWS::EC2::NetworkInterface" }, { - "$ref": "#/definitions/AWS::LicenseManager::Grant" + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" }, { - "$ref": "#/definitions/AWS::LicenseManager::License" + "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" }, { - "$ref": "#/definitions/AWS::Lightsail::Database" + "$ref": "#/definitions/AWS::EC2::NetworkPerformanceMetricSubscription" }, { - "$ref": "#/definitions/AWS::Lightsail::Disk" + "$ref": "#/definitions/AWS::EC2::PlacementGroup" }, { - "$ref": "#/definitions/AWS::Lightsail::Instance" + "$ref": "#/definitions/AWS::EC2::PrefixList" }, { - "$ref": "#/definitions/AWS::Lightsail::StaticIp" + "$ref": "#/definitions/AWS::EC2::Route" }, { - "$ref": "#/definitions/AWS::Location::GeofenceCollection" + "$ref": "#/definitions/AWS::EC2::RouteTable" }, { - "$ref": "#/definitions/AWS::Location::Map" + "$ref": "#/definitions/AWS::EC2::SecurityGroup" }, { - "$ref": "#/definitions/AWS::Location::PlaceIndex" + "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" }, { - "$ref": "#/definitions/AWS::Location::RouteCalculator" + "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" }, { - "$ref": "#/definitions/AWS::Location::Tracker" + "$ref": "#/definitions/AWS::EC2::SecurityGroupVpcAssociation" }, { - "$ref": "#/definitions/AWS::Location::TrackerConsumer" + "$ref": "#/definitions/AWS::EC2::SnapshotBlockPublicAccess" }, { - "$ref": "#/definitions/AWS::Logs::Destination" + "$ref": "#/definitions/AWS::EC2::SpotFleet" }, { - "$ref": "#/definitions/AWS::Logs::LogGroup" + "$ref": "#/definitions/AWS::EC2::Subnet" }, { - "$ref": "#/definitions/AWS::Logs::LogStream" + "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" }, { - "$ref": "#/definitions/AWS::Logs::MetricFilter" + "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" }, { - "$ref": "#/definitions/AWS::Logs::QueryDefinition" + "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Logs::ResourcePolicy" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" }, { - "$ref": "#/definitions/AWS::Logs::SubscriptionFilter" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" }, { - "$ref": "#/definitions/AWS::LookoutEquipment::InferenceScheduler" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector" + "$ref": "#/definitions/AWS::EC2::TransitGateway" }, { - "$ref": "#/definitions/AWS::LookoutVision::Project" + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MSK::Cluster" + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" }, { - "$ref": "#/definitions/AWS::MWAA::Environment" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" }, { - "$ref": "#/definitions/AWS::Macie::CustomDataIdentifier" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" }, { - "$ref": "#/definitions/AWS::Macie::FindingsFilter" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" }, { - "$ref": "#/definitions/AWS::Macie::Session" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member" + "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" }, { - "$ref": "#/definitions/AWS::MediaConnect::Flow" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource" + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowVpcInterface" + "$ref": "#/definitions/AWS::EC2::VPC" }, { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessExclusion" }, { - "$ref": "#/definitions/AWS::MediaConvert::Preset" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessOptions" }, { - "$ref": "#/definitions/AWS::MediaConvert::Queue" + "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" }, { - "$ref": "#/definitions/AWS::MediaLive::Channel" + "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" }, { - "$ref": "#/definitions/AWS::MediaLive::Input" + "$ref": "#/definitions/AWS::EC2::VPCEndpoint" }, { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup" + "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" }, { - "$ref": "#/definitions/AWS::MediaPackage::Asset" + "$ref": "#/definitions/AWS::EC2::VPCEndpointService" }, { - "$ref": "#/definitions/AWS::MediaPackage::Channel" + "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" }, { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint" + "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration" + "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup" + "$ref": "#/definitions/AWS::EC2::VPNConnection" }, { - "$ref": "#/definitions/AWS::MediaStore::Container" + "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" }, { - "$ref": "#/definitions/AWS::MemoryDB::ACL" + "$ref": "#/definitions/AWS::EC2::VPNGateway" }, { - "$ref": "#/definitions/AWS::MemoryDB::Cluster" + "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" }, { - "$ref": "#/definitions/AWS::MemoryDB::ParameterGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint" }, { - "$ref": "#/definitions/AWS::MemoryDB::SubnetGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup" }, { - "$ref": "#/definitions/AWS::MemoryDB::User" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance" }, { - "$ref": "#/definitions/AWS::Neptune::DBCluster" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider" }, { - "$ref": "#/definitions/AWS::Neptune::DBClusterParameterGroup" + "$ref": "#/definitions/AWS::EC2::Volume" }, { - "$ref": "#/definitions/AWS::Neptune::DBInstance" + "$ref": "#/definitions/AWS::EC2::VolumeAttachment" }, { - "$ref": "#/definitions/AWS::Neptune::DBParameterGroup" + "$ref": "#/definitions/AWS::ECR::PublicRepository" }, { - "$ref": "#/definitions/AWS::Neptune::DBSubnetGroup" + "$ref": "#/definitions/AWS::ECR::PullThroughCacheRule" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall" + "$ref": "#/definitions/AWS::ECR::RegistryPolicy" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration" + "$ref": "#/definitions/AWS::ECR::Repository" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup" + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate" }, { - "$ref": "#/definitions/AWS::NetworkManager::CustomerGatewayAssociation" + "$ref": "#/definitions/AWS::EKS::AccessEntry" }, { - "$ref": "#/definitions/AWS::NetworkManager::Device" + "$ref": "#/definitions/AWS::EKS::Addon" }, { - "$ref": "#/definitions/AWS::NetworkManager::GlobalNetwork" + "$ref": "#/definitions/AWS::EKS::Cluster" }, { - "$ref": "#/definitions/AWS::NetworkManager::Link" + "$ref": "#/definitions/AWS::EKS::FargateProfile" }, { - "$ref": "#/definitions/AWS::NetworkManager::LinkAssociation" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig" }, { - "$ref": "#/definitions/AWS::NetworkManager::Site" + "$ref": "#/definitions/AWS::EKS::Nodegroup" }, { - "$ref": "#/definitions/AWS::NetworkManager::TransitGatewayRegistration" + "$ref": "#/definitions/AWS::EKS::PodIdentityAssociation" }, { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile" + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StreamingImage" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" }, { - "$ref": "#/definitions/AWS::NimbleStudio::Studio" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" }, { - "$ref": "#/definitions/AWS::OpenSearchService::Domain" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" }, { - "$ref": "#/definitions/AWS::OpsWorks::App" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" }, { - "$ref": "#/definitions/AWS::OpsWorks::ElasticLoadBalancerAttachment" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStore" }, { - "$ref": "#/definitions/AWS::OpsWorks::Instance" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation" }, { - "$ref": "#/definitions/AWS::OpsWorks::Layer" + "$ref": "#/definitions/AWS::Events::ApiDestination" }, { - "$ref": "#/definitions/AWS::OpsWorks::Stack" + "$ref": "#/definitions/AWS::Events::Archive" }, { - "$ref": "#/definitions/AWS::OpsWorks::UserProfile" + "$ref": "#/definitions/AWS::Events::Connection" }, { - "$ref": "#/definitions/AWS::OpsWorks::Volume" + "$ref": "#/definitions/AWS::Events::Endpoint" }, { - "$ref": "#/definitions/AWS::OpsWorksCM::Server" + "$ref": "#/definitions/AWS::Events::EventBus" }, { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance" + "$ref": "#/definitions/AWS::Events::EventBusPolicy" }, { - "$ref": "#/definitions/AWS::Panorama::Package" + "$ref": "#/definitions/AWS::Events::Rule" }, { - "$ref": "#/definitions/AWS::Panorama::PackageVersion" + "$ref": "#/definitions/AWS::IAM::AccessKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::ADMChannel" + "$ref": "#/definitions/AWS::IAM::Group" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSChannel" + "$ref": "#/definitions/AWS::IAM::GroupPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSSandboxChannel" + "$ref": "#/definitions/AWS::IAM::InstanceProfile" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipChannel" + "$ref": "#/definitions/AWS::IAM::ManagedPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipSandboxChannel" + "$ref": "#/definitions/AWS::IAM::OIDCProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::App" + "$ref": "#/definitions/AWS::IAM::Policy" }, { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings" + "$ref": "#/definitions/AWS::IAM::Role" }, { - "$ref": "#/definitions/AWS::Pinpoint::BaiduChannel" + "$ref": "#/definitions/AWS::IAM::RolePolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::Campaign" + "$ref": "#/definitions/AWS::IAM::SAMLProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailChannel" + "$ref": "#/definitions/AWS::IAM::ServerCertificate" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailTemplate" + "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" }, { - "$ref": "#/definitions/AWS::Pinpoint::EventStream" + "$ref": "#/definitions/AWS::IAM::User" }, { - "$ref": "#/definitions/AWS::Pinpoint::GCMChannel" + "$ref": "#/definitions/AWS::IAM::UserPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate" + "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" }, { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate" + "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" }, { - "$ref": "#/definitions/AWS::Pinpoint::SMSChannel" + "$ref": "#/definitions/AWS::KMS::Alias" }, { - "$ref": "#/definitions/AWS::Pinpoint::Segment" + "$ref": "#/definitions/AWS::KMS::Key" }, { - "$ref": "#/definitions/AWS::Pinpoint::SmsTemplate" + "$ref": "#/definitions/AWS::KMS::ReplicaKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::VoiceChannel" + "$ref": "#/definitions/AWS::Kinesis::ResourcePolicy" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet" + "$ref": "#/definitions/AWS::Kinesis::Stream" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination" + "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" }, { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool" + "$ref": "#/definitions/AWS::Lambda::Alias" }, { - "$ref": "#/definitions/AWS::PinpointEmail::Identity" + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Ledger" + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Stream" + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" }, { - "$ref": "#/definitions/AWS::QuickSight::Analysis" + "$ref": "#/definitions/AWS::Lambda::Function" }, { - "$ref": "#/definitions/AWS::QuickSight::Dashboard" + "$ref": "#/definitions/AWS::Lambda::LayerVersion" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSet" + "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSource" + "$ref": "#/definitions/AWS::Lambda::Permission" }, { - "$ref": "#/definitions/AWS::QuickSight::Template" + "$ref": "#/definitions/AWS::Lambda::Url" }, { - "$ref": "#/definitions/AWS::QuickSight::Theme" + "$ref": "#/definitions/AWS::Lambda::Version" }, { - "$ref": "#/definitions/AWS::RAM::ResourceShare" + "$ref": "#/definitions/AWS::RDS::CustomDBEngineVersion" }, { "$ref": "#/definitions/AWS::RDS::DBCluster" @@ -123834,6 +30893,9 @@ { "$ref": "#/definitions/AWS::RDS::DBSecurityGroupIngress" }, + { + "$ref": "#/definitions/AWS::RDS::DBShardGroup" + }, { "$ref": "#/definitions/AWS::RDS::DBSubnetGroup" }, @@ -123844,79 +30906,22 @@ "$ref": "#/definitions/AWS::RDS::GlobalCluster" }, { - "$ref": "#/definitions/AWS::RDS::OptionGroup" - }, - { - "$ref": "#/definitions/AWS::RUM::AppMonitor" - }, - { - "$ref": "#/definitions/AWS::Redshift::Cluster" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAccess" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAuthorization" - }, - { - "$ref": "#/definitions/AWS::Redshift::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Application" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Environment" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Route" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Service" - }, - { - "$ref": "#/definitions/AWS::Rekognition::Project" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::App" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy" - }, - { - "$ref": "#/definitions/AWS::ResourceGroups::Group" - }, - { - "$ref": "#/definitions/AWS::RoboMaker::Fleet" + "$ref": "#/definitions/AWS::RDS::Integration" }, { - "$ref": "#/definitions/AWS::RoboMaker::Robot" + "$ref": "#/definitions/AWS::RDS::OptionGroup" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::CRL" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplicationVersion" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplicationVersion" + "$ref": "#/definitions/AWS::Route53::CidrCollection" }, { "$ref": "#/definitions/AWS::Route53::DNSSEC" @@ -123937,58 +30942,13 @@ "$ref": "#/definitions/AWS::Route53::RecordSetGroup" }, { - "$ref": "#/definitions/AWS::Route53RecoveryControl::Cluster" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::ControlPanel" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::RoutingControl" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::Cell" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ReadinessCheck" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::RecoveryGroup" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallDomainList" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverDNSSECConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint" + "$ref": "#/definitions/AWS::S3::AccessGrant" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfig" + "$ref": "#/definitions/AWS::S3::AccessGrantsInstance" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRuleAssociation" + "$ref": "#/definitions/AWS::S3::AccessGrantsLocation" }, { "$ref": "#/definitions/AWS::S3::AccessPoint" @@ -124009,46 +30969,7 @@ "$ref": "#/definitions/AWS::S3::StorageLens" }, { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPointPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Bucket" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::BucketPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SDB::Domain" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSet" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination" - }, - { - "$ref": "#/definitions/AWS::SES::ContactList" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptFilter" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRule" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRuleSet" - }, - { - "$ref": "#/definitions/AWS::SES::Template" + "$ref": "#/definitions/AWS::S3::StorageLensGroup" }, { "$ref": "#/definitions/AWS::SNS::Subscription" @@ -124057,349 +30978,19 @@ "$ref": "#/definitions/AWS::SNS::Topic" }, { - "$ref": "#/definitions/AWS::SNS::TopicPolicy" - }, - { - "$ref": "#/definitions/AWS::SQS::Queue" - }, - { - "$ref": "#/definitions/AWS::SQS::QueuePolicy" - }, - { - "$ref": "#/definitions/AWS::SSM::Association" - }, - { - "$ref": "#/definitions/AWS::SSM::Document" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindow" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask" - }, - { - "$ref": "#/definitions/AWS::SSM::Parameter" - }, - { - "$ref": "#/definitions/AWS::SSM::PatchBaseline" - }, - { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::Contact" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::ContactChannel" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan" - }, - { - "$ref": "#/definitions/AWS::SSO::Assignment" - }, - { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration" - }, - { - "$ref": "#/definitions/AWS::SSO::PermissionSet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::App" - }, - { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Device" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Domain" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Image" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ImageVersion" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Model" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelPackageGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstance" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Pipeline" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Project" - }, - { - "$ref": "#/definitions/AWS::SageMaker::UserProfile" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Workteam" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::ResourcePolicy" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::Secret" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::SecretTargetAttachment" - }, - { - "$ref": "#/definitions/AWS::SecurityHub::Hub" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::AcceptedPortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchNotificationConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchRoleConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchTemplateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::Portfolio" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioPrincipalAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioProductAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ResourceUpdateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceActionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::StackSetConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOption" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOptionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::Application" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroup" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::ResourceAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::HttpNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Instance" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service" - }, - { - "$ref": "#/definitions/AWS::Signer::ProfilePermission" - }, - { - "$ref": "#/definitions/AWS::Signer::SigningProfile" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::Activity" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine" - }, - { - "$ref": "#/definitions/AWS::Synthetics::Canary" - }, - { - "$ref": "#/definitions/AWS::Timestream::Database" - }, - { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery" - }, - { - "$ref": "#/definitions/AWS::Timestream::Table" - }, - { - "$ref": "#/definitions/AWS::Transfer::Server" - }, - { - "$ref": "#/definitions/AWS::Transfer::User" - }, - { - "$ref": "#/definitions/AWS::Transfer::Workflow" - }, - { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAF::Rule" - }, - { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAF::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::Rule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::Assistant" - }, - { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::ConnectionAlias" + "$ref": "#/definitions/AWS::SNS::TopicInlinePolicy" }, { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace" + "$ref": "#/definitions/AWS::SNS::TopicPolicy" }, { - "$ref": "#/definitions/AWS::XRay::Group" + "$ref": "#/definitions/AWS::SQS::Queue" }, { - "$ref": "#/definitions/AWS::XRay::SamplingRule" + "$ref": "#/definitions/AWS::SQS::QueueInlinePolicy" }, { - "$ref": "#/definitions/Alexa::ASK::Skill" + "$ref": "#/definitions/AWS::SQS::QueuePolicy" } ] } diff --git a/pkg/goformation/schema/sam.go b/pkg/goformation/schema/sam.go index a00477ec42..8d9e086552 100644 --- a/pkg/goformation/schema/sam.go +++ b/pkg/goformation/schema/sam.go @@ -5,9 +5,12 @@ var SamSchema = `{ "$id": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { - "AWS::ACMPCA::Certificate": { + "AWS::AutoScaling::AutoScalingGroup": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -37,42 +40,154 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiPassthrough": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ApiPassthrough" + "AutoScalingGroupName": { + "type": "string" + }, + "AvailabilityZoneDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution" + }, + "AvailabilityZoneImpairmentPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CapacityRebalance": { + "type": "boolean" + }, + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification" + }, + "Context": { + "type": "string" + }, + "Cooldown": { + "type": "string" + }, + "DefaultInstanceWarmup": { + "type": "number" + }, + "DesiredCapacity": { + "type": "string" + }, + "DesiredCapacityType": { + "type": "string" }, - "CertificateAuthorityArn": { + "HealthCheckGracePeriod": { + "type": "number" + }, + "HealthCheckType": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "InstanceMaintenancePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy" + }, + "LaunchConfigurationName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" + }, + "LifecycleHookSpecificationList": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" + }, + "type": "array" + }, + "LoadBalancerNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxInstanceLifetime": { + "type": "number" + }, + "MaxSize": { "type": "string" }, - "CertificateSigningRequest": { + "MetricsCollection": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" + }, + "type": "array" + }, + "MinSize": { "type": "string" }, - "SigningAlgorithm": { + "MixedInstancesPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" + }, + "NewInstancesProtectedFromScaleIn": { + "type": "boolean" + }, + "NotificationConfigurations": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" + }, + "type": "array" + }, + "PlacementGroup": { "type": "string" }, - "TemplateArn": { + "ServiceLinkedRoleARN": { "type": "string" }, - "Validity": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "SkipZonalShiftValidation": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" + }, + "type": "array" + }, + "TargetGroupARNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TerminationPolicies": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TrafficSources": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier" + }, + "type": "array" }, - "ValidityNotBefore": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "VPCZoneIdentifier": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "CertificateAuthorityArn", - "CertificateSigningRequest", - "SigningAlgorithm", - "Validity" + "MaxSize", + "MinSize" ], "type": "object" }, "Type": { "enum": [ - "AWS::ACMPCA::Certificate" + "AWS::AutoScaling::AutoScalingGroup" ], "type": "string" }, + "UpdatePolicy": { + "type": "object" + }, "UpdateReplacePolicy": { "enum": [ "Delete", @@ -88,655 +203,523 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ACMPCA::Certificate.ApiPassthrough": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "Extensions": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Extensions" + "Max": { + "type": "number" }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.EdiPartyName": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "NameAssigner": { - "type": "string" + "Max": { + "type": "number" }, - "PartyName": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "NameAssigner", - "PartyName" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.ExtendedKeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution": { "additionalProperties": false, "properties": { - "ExtendedKeyUsageObjectIdentifier": { - "type": "string" - }, - "ExtendedKeyUsageType": { + "CapacityDistributionStrategy": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.Extensions": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy": { "additionalProperties": false, "properties": { - "CertificatePolicies": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyInformation" - }, - "type": "array" - }, - "ExtendedKeyUsage": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ExtendedKeyUsage" - }, - "type": "array" - }, - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.KeyUsage" + "ImpairedZoneHealthCheckBehavior": { + "type": "string" }, - "SubjectAlternativeNames": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.GeneralName" - }, - "type": "array" + "ZonalShiftEnabled": { + "type": "boolean" } }, + "required": [ + "ImpairedZoneHealthCheckBehavior", + "ZonalShiftEnabled" + ], "type": "object" }, - "AWS::ACMPCA::Certificate.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.EdiPartyName" - }, - "IpAddress": { - "type": "string" - }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.OtherName" - }, - "RegisteredId": { - "type": "string" - }, - "Rfc822Name": { - "type": "string" + "Max": { + "type": "number" }, - "UniformResourceIdentifier": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" - }, - "NonRepudiation": { - "type": "boolean" + "Cpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "TypeId": { + "CapacityReservationPreference": { "type": "string" }, - "Value": { - "type": "string" + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget" } }, "required": [ - "TypeId", - "Value" + "CapacityReservationPreference" ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyInformation": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "CertPolicyId": { - "type": "string" + "CapacityReservationIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "PolicyQualifiers": { + "CapacityReservationResourceGroupArns": { "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyQualifierInfo" + "type": "string" }, "type": "array" } }, - "required": [ - "CertPolicyId" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyQualifierInfo": { + "AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "PolicyQualifierId": { - "type": "string" - }, - "Qualifier": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Qualifier" + "References": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, - "required": [ - "PolicyQualifierId", - "Qualifier" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Qualifier": { + "AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy": { "additionalProperties": false, "properties": { - "CpsUri": { - "type": "string" + "MaxHealthyPercentage": { + "type": "number" + }, + "MinHealthyPercentage": { + "type": "number" } }, - "required": [ - "CpsUri" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Subject": { + "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "Country": { - "type": "string" + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "DistinguishedNameQualifier": { - "type": "string" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "GenerationQualifier": { - "type": "string" + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" }, - "GivenName": { - "type": "string" + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Initials": { - "type": "string" + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Locality": { + "BareMetal": { "type": "string" }, - "Organization": { - "type": "string" + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" }, - "OrganizationalUnit": { - "type": "string" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest" }, - "Pseudonym": { + "BurstablePerformance": { "type": "string" }, - "SerialNumber": { - "type": "string" + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "State": { - "type": "string" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Surname": { - "type": "string" + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::Certificate.Validity": { - "additionalProperties": false, - "properties": { - "Type": { + "LocalStorage": { "type": "string" }, - "Value": { + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" } }, "required": [ - "Type", - "Value" + "MemoryMiB", + "VCpuCount" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority": { + "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "OnDemandAllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "OnDemandBaseCapacity": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsrExtensions": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "KeyAlgorithm", - "SigningAlgorithm", - "Subject", - "Type" - ], - "type": "object" + "OnDemandPercentageAboveBaseCapacity": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthority" - ], + "SpotAllocationStrategy": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SpotInstancePools": { + "type": "number" + }, + "SpotMaxPrice": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessDescription": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { "additionalProperties": false, "properties": { - "AccessLocation": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.GeneralName" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "AccessMethod": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessMethod" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + }, + "type": "array" } }, "required": [ - "AccessLocation", - "AccessMethod" + "LaunchTemplateSpecification" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessMethod": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "AccessMethodType": { - "type": "string" + "InstanceRequirements": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" }, - "CustomObjectIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CustomCname": { + "InstanceType": { "type": "string" }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "number" - }, - "S3BucketName": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "S3ObjectAcl": { + "WeightedCapacity": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.CsrExtensions": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.KeyUsage" + "LaunchTemplateId": { + "type": "string" }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { + "LaunchTemplateName": { "type": "string" }, - "PartyName": { + "Version": { "type": "string" } }, "required": [ - "NameAssigner", - "PartyName" + "Version" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "DnsName": { + "DefaultResult": { "type": "string" }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.EdiPartyName" + "HeartbeatTimeout": { + "type": "number" }, - "IpAddress": { + "LifecycleHookName": { "type": "string" }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OtherName" + "LifecycleTransition": { + "type": "string" }, - "RegisteredId": { + "NotificationMetadata": { "type": "string" }, - "Rfc822Name": { + "NotificationTargetARN": { "type": "string" }, - "UniformResourceIdentifier": { + "RoleARN": { "type": "string" } }, + "required": [ + "LifecycleHookName", + "LifecycleTransition" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" + "Max": { + "type": "number" }, - "NonRepudiation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OcspConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Max": { + "type": "number" }, - "OcspCustomCname": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { "additionalProperties": false, "properties": { - "TypeId": { + "Granularity": { "type": "string" }, - "Value": { - "type": "string" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "TypeId", - "Value" + "Granularity" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { "additionalProperties": false, "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CrlConfiguration" + "InstancesDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" }, - "OcspConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OcspConfiguration" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" } }, + "required": [ + "LaunchTemplate" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.Subject": { + "AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" + "Max": { + "type": "number" }, - "GivenName": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "additionalProperties": false, + "properties": { + "NotificationTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Pseudonym": { + "TopicARN": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "TopicARN" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { "type": "string" - }, - "SerialNumber": { + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "State": { - "type": "string" + "PropagateAtLaunch": { + "type": "boolean" }, - "Surname": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "PropagateAtLaunch", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Title": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthorityActivation": { + "AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Identifier": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "CertificateAuthorityArn": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Certificate", - "CertificateAuthorityArn" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthorityActivation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Identifier", + "Type" ], "type": "object" }, - "AWS::ACMPCA::Permission": { + "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -768,108 +751,82 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Actions": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" + }, + "type": "array" + }, + "ClassicLinkVPCId": { + "type": "string" + }, + "ClassicLinkVPCSecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "CertificateAuthorityArn": { + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { "type": "string" }, - "Principal": { + "ImageId": { "type": "string" }, - "SourceAccount": { + "InstanceId": { "type": "string" - } - }, - "required": [ - "Actions", - "CertificateAuthorityArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ACMPCA::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::APS::RuleGroupsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "InstanceMonitoring": { + "type": "boolean" + }, + "InstanceType": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Data": { + "KernelId": { "type": "string" }, - "Name": { + "KeyName": { "type": "string" }, - "Tags": { + "LaunchConfigurationName": { + "type": "string" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + }, + "PlacementTenancy": { + "type": "string" + }, + "RamDiskId": { + "type": "string" + }, + "SecurityGroups": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Workspace": { + "SpotPrice": { + "type": "string" + }, + "UserData": { "type": "string" } }, "required": [ - "Data", - "Name", - "Workspace" + "ImageId", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::APS::RuleGroupsNamespace" + "AWS::AutoScaling::LaunchConfiguration" ], "type": "string" }, @@ -888,74 +845,70 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::APS::Workspace": { + "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Encrypted": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Iops": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlertManagerDefinition": { - "type": "string" - }, - "Alias": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" + "SnapshotId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::APS::Workspace" - ], + "Throughput": { + "type": "number" + }, + "VolumeSize": { + "type": "number" + }, + "VolumeType": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ebs": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" + }, + "NoDevice": { + "type": "boolean" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Type" + "DeviceName" ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer": { + "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { + "additionalProperties": false, + "properties": { + "HttpEndpoint": { + "type": "string" + }, + "HttpPutResponseHopLimit": { + "type": "number" + }, + "HttpTokens": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LifecycleHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -987,33 +940,40 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AnalyzerName": { + "AutoScalingGroupName": { "type": "string" }, - "ArchiveRules": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.ArchiveRule" - }, - "type": "array" + "DefaultResult": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HeartbeatTimeout": { + "type": "number" }, - "Type": { + "LifecycleHookName": { + "type": "string" + }, + "LifecycleTransition": { + "type": "string" + }, + "NotificationMetadata": { + "type": "string" + }, + "NotificationTargetARN": { + "type": "string" + }, + "RoleARN": { "type": "string" } }, "required": [ - "Type" + "AutoScalingGroupName", + "LifecycleTransition" ], "type": "object" }, "Type": { "enum": [ - "AWS::AccessAnalyzer::Analyzer" + "AWS::AutoScaling::LifecycleHook" ], "type": "string" }, @@ -1032,59 +992,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer.ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.Filter" - }, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "AWS::AccessAnalyzer::Analyzer.Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmazonMQ::Broker": { + "AWS::AutoScaling::ScalingPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1116,88 +1024,51 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AdjustmentType": { "type": "string" }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "BrokerName": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.ConfigurationId" - }, - "DeploymentMode": { + "Cooldown": { "type": "string" }, - "EncryptionOptions": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.EncryptionOptions" + "EstimatedInstanceWarmup": { + "type": "number" }, - "EngineType": { + "MetricAggregationType": { "type": "string" }, - "EngineVersion": { - "type": "string" + "MinAdjustmentMagnitude": { + "type": "number" }, - "HostInstanceType": { + "PolicyType": { "type": "string" }, - "LdapServerMetadata": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LdapServerMetadata" - }, - "Logs": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LogList" - }, - "MaintenanceWindowStartTime": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.MaintenanceWindow" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageType": { - "type": "string" + "PredictiveScalingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ScalingAdjustment": { + "type": "number" }, - "Tags": { + "StepAdjustments": { "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.TagsEntry" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" }, "type": "array" }, - "Users": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.User" - }, - "type": "array" + "TargetTrackingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoMinorVersionUpgrade", - "BrokerName", - "DeploymentMode", - "EngineType", - "EngineVersion", - "HostInstanceType", - "PubliclyAccessible", - "Users" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Broker" + "AWS::AutoScaling::ScalingPolicy" ], "type": "string" }, @@ -1216,162 +1087,371 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::Broker.ConfigurationId": { + "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { "additionalProperties": false, "properties": { - "Id": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery" + }, + "type": "array" + }, + "Namespace": { "type": "string" }, - "Revision": { + "Period": { "type": "number" + }, + "Statistic": { + "type": "string" + }, + "Unit": { + "type": "string" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::AmazonMQ::Broker.EncryptionOptions": { + "AWS::AutoScaling::ScalingPolicy.Metric": { "additionalProperties": false, "properties": { - "KmsKeyId": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "UseAwsOwnedKey": { - "type": "boolean" + "Namespace": { + "type": "string" } }, "required": [ - "UseAwsOwnedKey" + "MetricName", + "Namespace" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LdapServerMetadata": { + "AWS::AutoScaling::ScalingPolicy.MetricDataQuery": { "additionalProperties": false, "properties": { - "Hosts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleBase": { + "Expression": { "type": "string" }, - "RoleName": { + "Id": { "type": "string" }, - "RoleSearchMatching": { + "Label": { "type": "string" }, - "RoleSearchSubtree": { + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricStat" + }, + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricDimension": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" }, - "ServiceAccountPassword": { + "Value": { "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" }, - "ServiceAccountUsername": { + "Stat": { "type": "string" }, - "UserBase": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "UserRoleName": { + "ResourceLabel": { "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { + "additionalProperties": false, + "properties": { + "MaxCapacityBreachBehavior": { + "type": "string" + }, + "MaxCapacityBuffer": { + "type": "number" + }, + "MetricSpecifications": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + }, + "type": "array" }, - "UserSearchMatching": { + "Mode": { "type": "string" }, - "UserSearchSubtree": { - "type": "boolean" + "SchedulingBufferTime": { + "type": "number" } }, "required": [ - "Hosts", - "RoleBase", - "RoleSearchMatching", - "ServiceAccountPassword", - "ServiceAccountUsername", - "UserBase", - "UserSearchMatching" + "MetricSpecifications" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LogList": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric": { "additionalProperties": false, "properties": { - "Audit": { - "type": "boolean" + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { + "additionalProperties": false, + "properties": { + "CustomizedCapacityMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric" }, - "General": { - "type": "boolean" + "CustomizedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric" + }, + "CustomizedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric" + }, + "PredefinedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" + }, + "PredefinedMetricPairSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" + }, + "PredefinedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" + }, + "TargetValue": { + "type": "number" } }, + "required": [ + "TargetValue" + ], "type": "object" }, - "AWS::AmazonMQ::Broker.MaintenanceWindow": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { "additionalProperties": false, "properties": { - "DayOfWeek": { + "PredefinedMetricType": { "type": "string" }, - "TimeOfDay": { + "ResourceLabel": { + "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "TimeZone": { + "ResourceLabel": { "type": "string" } }, "required": [ - "DayOfWeek", - "TimeOfDay", - "TimeZone" + "PredefinedMetricType" ], "type": "object" }, - "AWS::AmazonMQ::Broker.TagsEntry": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { "additionalProperties": false, "properties": { - "Key": { + "PredefinedMetricType": { "type": "string" }, - "Value": { + "ResourceLabel": { "type": "string" } }, "required": [ - "Key", - "Value" + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { + "additionalProperties": false, + "properties": { + "MetricIntervalLowerBound": { + "type": "number" + }, + "MetricIntervalUpperBound": { + "type": "number" + }, + "ScalingAdjustment": { + "type": "number" + } + }, + "required": [ + "ScalingAdjustment" ], "type": "object" }, - "AWS::AmazonMQ::Broker.User": { + "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { "additionalProperties": false, "properties": { - "ConsoleAccess": { + "CustomizedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" + }, + "DisableScaleIn": { "type": "boolean" }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" + "PredefinedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" }, - "Password": { + "TargetValue": { + "type": "number" + } + }, + "required": [ + "TargetValue" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery": { + "additionalProperties": false, + "properties": { + "Expression": { "type": "string" }, - "Username": { + "Id": { + "type": "string" + }, + "Label": { "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" } }, "required": [ - "Password", - "Username" + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" ], "type": "object" }, - "AWS::AmazonMQ::Configuration": { + "AWS::AutoScaling::ScheduledAction": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1403,42 +1483,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AutoScalingGroupName": { "type": "string" }, - "Data": { - "type": "string" + "DesiredCapacity": { + "type": "number" }, - "Description": { + "EndTime": { "type": "string" }, - "EngineType": { - "type": "string" + "MaxSize": { + "type": "number" }, - "EngineVersion": { + "MinSize": { + "type": "number" + }, + "Recurrence": { "type": "string" }, - "Name": { + "StartTime": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration.TagsEntry" - }, - "type": "array" + "TimeZone": { + "type": "string" } }, "required": [ - "Data", - "EngineType", - "EngineVersion", - "Name" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Configuration" + "AWS::AutoScaling::ScheduledAction" ], "type": "string" }, @@ -1457,23 +1534,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::Configuration.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AmazonMQ::ConfigurationAssociation": { + "AWS::AutoScaling::WarmPool": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1505,22 +1566,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Broker": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId" + "InstanceReusePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::WarmPool.InstanceReusePolicy" + }, + "MaxGroupPreparedCapacity": { + "type": "number" + }, + "MinSize": { + "type": "number" + }, + "PoolState": { + "type": "string" } }, "required": [ - "Broker", - "Configuration" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::ConfigurationAssociation" + "AWS::AutoScaling::WarmPool" ], "type": "string" }, @@ -1539,23 +1608,16 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId": { + "AWS::AutoScaling::WarmPool.InstanceReusePolicy": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Revision": { - "type": "number" + "ReuseOnScaleIn": { + "type": "boolean" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::Amplify::App": { + "AWS::CloudFormation::CustomResource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1587,66 +1649,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "AutoBranchCreationConfig": { - "$ref": "#/definitions/AWS::Amplify::App.AutoBranchCreationConfig" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "CustomHeaders": { - "type": "string" - }, - "CustomRules": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.CustomRule" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "EnableBranchAutoDeletion": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "IAMServiceRole": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OauthToken": { - "type": "string" + "ServiceTimeout": { + "type": "number" }, - "Repository": { + "ServiceToken": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Name" + "ServiceToken" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::App" + "AWS::CloudFormation::CustomResource" ], "type": "string" }, @@ -1665,102 +1682,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Amplify::App.AutoBranchCreationConfig": { - "additionalProperties": false, - "properties": { - "AutoBranchCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "EnableAutoBranchCreation": { - "type": "boolean" - }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" - }, - "EnablePullRequestPreview": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "PullRequestEnvironmentName": { - "type": "string" - }, - "Stage": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.BasicAuthConfig": { - "additionalProperties": false, - "properties": { - "EnableBasicAuth": { - "type": "boolean" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.CustomRule": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Source", - "Target" - ], - "type": "object" - }, - "AWS::Amplify::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Amplify::Branch": { + "AWS::CloudFormation::GuardHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1792,58 +1714,53 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AppId": { + "Alias": { "type": "string" }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::Branch.BasicAuthConfig" - }, - "BranchName": { + "ExecutionRole": { "type": "string" }, - "BuildSpec": { + "FailureMode": { "type": "string" }, - "Description": { + "HookStatus": { "type": "string" }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" + "LogBucket": { + "type": "string" }, - "EnablePullRequestPreview": { - "type": "boolean" + "Options": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.Options" }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Branch.EnvironmentVariable" - }, - "type": "array" + "RuleLocation": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" }, - "PullRequestEnvironmentName": { - "type": "string" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackFilters" }, - "Stage": { - "type": "string" + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.TargetFilters" }, - "Tags": { + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "AppId", - "BranchName" + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "RuleLocation", + "TargetOperations" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::Branch" + "AWS::CloudFormation::GuardHook" ], "type": "string" }, @@ -1862,143 +1779,135 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Amplify::Branch.BasicAuthConfig": { + "AWS::CloudFormation::GuardHook.HookTarget": { "additionalProperties": false, "properties": { - "EnableBasicAuth": { - "type": "boolean" + "Action": { + "type": "string" }, - "Password": { + "InvocationPoint": { "type": "string" }, - "Username": { + "TargetName": { "type": "string" } }, "required": [ - "Password", - "Username" + "Action", + "InvocationPoint", + "TargetName" ], "type": "object" }, - "AWS::Amplify::Branch.EnvironmentVariable": { + "AWS::CloudFormation::GuardHook.Options": { "additionalProperties": false, "properties": { - "Name": { + "InputParams": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.S3Location": { + "additionalProperties": false, + "properties": { + "Uri": { "type": "string" }, - "Value": { + "VersionId": { "type": "string" } }, "required": [ - "Name", - "Value" + "Uri" ], "type": "object" }, - "AWS::Amplify::Domain": { + "AWS::CloudFormation::GuardHook.StackFilters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FilteringCriteria": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackNames" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppId": { - "type": "string" - }, - "AutoSubDomainCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoSubDomainIAMRole": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "EnableAutoSubDomain": { - "type": "boolean" - }, - "SubDomainSettings": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Domain.SubDomainSetting" - }, - "type": "array" - } + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" }, - "required": [ - "AppId", - "DomainName", - "SubDomainSettings" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Amplify::Domain" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Amplify::Domain.SubDomainSetting": { + "AWS::CloudFormation::GuardHook.TargetFilters": { "additionalProperties": false, "properties": { - "BranchName": { - "type": "string" + "Actions": { + "items": { + "type": "string" + }, + "type": "array" }, - "Prefix": { - "type": "string" + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.HookTarget" + }, + "type": "array" } }, - "required": [ - "BranchName", - "Prefix" - ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component": { + "AWS::CloudFormation::HookDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2030,78 +1939,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BindingProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue" - } - }, - "type": "object" - }, - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "CollectionProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration" - } - }, - "type": "object" - }, - "ComponentType": { + "TypeName": { "type": "string" }, - "Name": { + "TypeVersionArn": { "type": "string" }, - "Overrides": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverridesValue" - } - }, - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "SourceId": { + "VersionId": { "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Variants": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariant" - }, - "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Component" + "AWS::CloudFormation::HookDefaultVersion" ], "type": "string" }, @@ -2119,272 +1971,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties" - }, - "DefaultValue": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Field": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "UserAttribute": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentChild": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "ComponentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperties" - } - }, - "required": [ - "ComponentType", - "Name", - "Properties" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentConditionProperty": { - "additionalProperties": false, - "properties": { - "Else": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Property": { - "type": "string" - }, - "Then": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration": { - "additionalProperties": false, - "properties": { - "Identifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Model": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "Sort": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.SortProperty" - }, - "type": "array" - } - }, - "required": [ - "Model" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverrides": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverridesValue": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperties": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperty": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Bindings": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.FormBindings" - }, - "CollectionBindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Concat": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "type": "array" - }, - "Condition": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentConditionProperty" - }, - "Configured": { - "type": "boolean" - }, - "DefaultValue": { - "type": "string" - }, - "Event": { - "type": "string" - }, - "ImportedValue": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "UserAttribute": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariant": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverrides" - }, - "VariantValues": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariantValues" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariantValues": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.FormBindings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.Predicate": { - "additionalProperties": false, - "properties": { - "And": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Or": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.SortProperty": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "Field": { - "type": "string" - } - }, - "required": [ - "Direction", - "Field" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme": { + "AWS::CloudFormation::HookTypeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2416,40 +2003,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { + "Configuration": { "type": "string" }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "ConfigurationAlias": { + "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TypeArn": { + "type": "string" }, - "Values": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "TypeName": { + "type": "string" } }, "required": [ - "Name", - "Values" + "Configuration" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Theme" + "AWS::CloudFormation::HookTypeConfig" ], "type": "string" }, @@ -2468,34 +2042,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Theme.ThemeValue": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme.ThemeValues": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValue" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Account": { + "AWS::CloudFormation::HookVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2527,15 +2074,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchRoleArn": { + "ExecutionRoleArn": { + "type": "string" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::HookVersion.LoggingConfig" + }, + "SchemaHandlerPackage": { + "type": "string" + }, + "TypeName": { "type": "string" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Account" + "AWS::CloudFormation::HookVersion" ], "type": "string" }, @@ -2549,11 +2109,24 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey": { + "AWS::CloudFormation::HookVersion.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2585,42 +2158,47 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CustomerId": { + "Alias": { "type": "string" }, - "Description": { + "ExecutionRole": { "type": "string" }, - "Enabled": { - "type": "boolean" + "FailureMode": { + "type": "string" }, - "GenerateDistinctId": { - "type": "boolean" + "HookStatus": { + "type": "string" }, - "Name": { + "LambdaFunction": { "type": "string" }, - "StageKeys": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey.StageKey" - }, - "type": "array" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackFilters" }, - "Tags": { + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.TargetFilters" + }, + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "Value": { - "type": "string" } }, + "required": [ + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "LambdaFunction", + "TargetOperations" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ApiKey" + "AWS::CloudFormation::LambdaHook" ], "type": "string" }, @@ -2634,23 +2212,116 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey.StageKey": { + "AWS::CloudFormation::LambdaHook.HookTarget": { "additionalProperties": false, "properties": { - "RestApiId": { + "Action": { + "type": "string" + }, + "InvocationPoint": { "type": "string" }, - "StageName": { + "TargetName": { + "type": "string" + } + }, + "required": [ + "Action", + "InvocationPoint", + "TargetName" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackFilters": { + "additionalProperties": false, + "properties": { + "FilteringCriteria": { "type": "string" + }, + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackNames" + }, + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.TargetFilters": { + "additionalProperties": false, + "properties": { + "Actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.HookTarget" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Authorizer": { + "AWS::CloudFormation::Macro": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2682,50 +2353,31 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" - }, - "AuthorizerCredentials": { + "Description": { "type": "string" }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerUri": { + "FunctionName": { "type": "string" }, - "IdentitySource": { + "LogGroupName": { "type": "string" }, - "IdentityValidationExpression": { + "LogRoleARN": { "type": "string" }, "Name": { "type": "string" - }, - "ProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RestApiId": { - "type": "string" - }, - "Type": { - "type": "string" } }, "required": [ - "Name", - "RestApiId", - "Type" + "FunctionName", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Authorizer" + "AWS::CloudFormation::Macro" ], "type": "string" }, @@ -2744,7 +2396,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::BasePathMapping": { + "AWS::CloudFormation::ModuleDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2776,27 +2428,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BasePath": { + "Arn": { "type": "string" }, - "DomainName": { - "type": "string" - }, - "RestApiId": { + "ModuleName": { "type": "string" }, - "Stage": { + "VersionId": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::BasePathMapping" + "AWS::CloudFormation::ModuleDefaultVersion" ], "type": "string" }, @@ -2810,12 +2456,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::ClientCertificate": { + "AWS::CloudFormation::ModuleVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2847,21 +2492,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "ModuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ModulePackage": { + "type": "string" } }, + "required": [ + "ModuleName", + "ModulePackage" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ClientCertificate" + "AWS::CloudFormation::ModuleVersion" ], "type": "string" }, @@ -2875,11 +2521,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::Deployment": { + "AWS::CloudFormation::PublicTypeVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2911,30 +2558,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeploymentCanarySettings": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.DeploymentCanarySettings" + "Arn": { + "type": "string" }, - "Description": { + "LogDeliveryBucket": { "type": "string" }, - "RestApiId": { + "PublicVersionNumber": { "type": "string" }, - "StageDescription": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.StageDescription" + "Type": { + "type": "string" }, - "StageName": { + "TypeName": { "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Deployment" + "AWS::CloudFormation::PublicTypeVersion" ], "type": "string" }, @@ -2948,177 +2592,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Deployment.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.CanarySetting": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.DeploymentCanarySettings": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.MethodSetting": { - "additionalProperties": false, - "properties": { - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "HttpMethod": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "ResourcePath": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.StageDescription": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MethodSettings": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.MethodSetting" - }, - "type": "array" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationPart": { + "AWS::CloudFormation::Publisher": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3150,26 +2628,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Location": { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart.Location" - }, - "Properties": { - "type": "string" + "AcceptTermsAndConditions": { + "type": "boolean" }, - "RestApiId": { + "ConnectionArn": { "type": "string" } }, "required": [ - "Location", - "Properties", - "RestApiId" + "AcceptTermsAndConditions" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationPart" + "AWS::CloudFormation::Publisher" ], "type": "string" }, @@ -3188,28 +2661,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::DocumentationPart.Location": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationVersion": { + "AWS::CloudFormation::ResourceDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3241,25 +2693,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "TypeName": { "type": "string" }, - "DocumentationVersion": { + "TypeVersionArn": { "type": "string" }, - "RestApiId": { + "VersionId": { "type": "string" } }, - "required": [ - "DocumentationVersion", - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationVersion" + "AWS::CloudFormation::ResourceDefaultVersion" ], "type": "string" }, @@ -3273,12 +2721,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::DomainName": { + "AWS::CloudFormation::ResourceVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3310,39 +2757,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" - }, - "DomainName": { + "ExecutionRoleArn": { "type": "string" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.EndpointConfiguration" - }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.MutualTlsAuthentication" - }, - "OwnershipVerificationCertificateArn": { - "type": "string" + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" }, - "RegionalCertificateArn": { + "SchemaHandlerPackage": { "type": "string" }, - "SecurityPolicy": { + "TypeName": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DomainName" + "AWS::CloudFormation::ResourceVersion" ], "type": "string" }, @@ -3356,35 +2792,24 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::DomainName.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DomainName.MutualTlsAuthentication": { + "AWS::CloudFormation::ResourceVersion.LoggingConfig": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "LogGroupName": { "type": "string" }, - "TruststoreVersion": { + "LogRoleArn": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::GatewayResponse": { + "AWS::CloudFormation::Stack": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3416,16 +2841,13 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "NotificationARNs": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "ResponseTemplates": { + "Parameters": { "additionalProperties": true, "patternProperties": { "^[a-zA-Z0-9]+$": { @@ -3434,25 +2856,27 @@ var SamSchema = `{ }, "type": "object" }, - "ResponseType": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RestApiId": { + "TemplateURL": { "type": "string" }, - "StatusCode": { - "type": "string" + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "ResponseType", - "RestApiId" + "TemplateURL" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::GatewayResponse" + "AWS::CloudFormation::Stack" ], "type": "string" }, @@ -3471,7 +2895,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::Method": { + "AWS::CloudFormation::StackSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3503,74 +2927,73 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeyRequired": { - "type": "boolean" + "AdministrationRoleARN": { + "type": "string" }, - "AuthorizationScopes": { + "AutoDeployment": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" + }, + "CallAs": { + "type": "string" + }, + "Capabilities": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { + "Description": { "type": "string" }, - "AuthorizerId": { + "ExecutionRoleName": { "type": "string" }, - "HttpMethod": { - "type": "string" + "ManagedExecution": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.ManagedExecution" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGateway::Method.Integration" + "OperationPreferences": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" }, - "MethodResponses": { + "Parameters": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.MethodResponse" + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, "type": "array" }, - "OperationName": { + "PermissionModel": { "type": "string" }, - "RequestModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "StackInstancesGroup": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" }, - "type": "object" + "type": "array" }, - "RequestValidatorId": { + "StackSetName": { "type": "string" }, - "ResourceId": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TemplateBody": { "type": "string" }, - "RestApiId": { + "TemplateURL": { "type": "string" } }, "required": [ - "HttpMethod", - "ResourceId", - "RestApiId" + "PermissionModel", + "StackSetName" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Method" + "AWS::CloudFormation::StackSet" ], "type": "string" }, @@ -3589,139 +3012,123 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::Method.Integration": { + "AWS::CloudFormation::StackSet.AutoDeployment": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + }, + "RetainStacksOnAccountRemoval": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.DeploymentTargets": { "additionalProperties": false, "properties": { - "CacheKeyParameters": { + "AccountFilterType": { + "type": "string" + }, + "Accounts": { "items": { "type": "string" }, "type": "array" }, - "CacheNamespace": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandling": { + "AccountsUrl": { "type": "string" }, - "Credentials": { - "type": "string" - }, - "IntegrationHttpMethod": { - "type": "string" - }, - "IntegrationResponses": { + "OrganizationalUnitIds": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.IntegrationResponse" + "type": "string" }, "type": "array" - }, - "PassthroughBehavior": { + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.ManagedExecution": { + "additionalProperties": false, + "properties": { + "Active": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.OperationPreferences": { + "additionalProperties": false, + "properties": { + "ConcurrencyMode": { "type": "string" }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureToleranceCount": { + "type": "number" }, - "RequestTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureTolerancePercentage": { + "type": "number" + }, + "MaxConcurrentCount": { + "type": "number" }, - "TimeoutInMillis": { + "MaxConcurrentPercentage": { "type": "number" }, - "Type": { + "RegionConcurrencyType": { "type": "string" }, - "Uri": { - "type": "string" + "RegionOrder": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Method.IntegrationResponse": { + "AWS::CloudFormation::StackSet.Parameter": { "additionalProperties": false, "properties": { - "ContentHandling": { - "type": "string" - }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResponseTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SelectionPattern": { + "ParameterKey": { "type": "string" }, - "StatusCode": { + "ParameterValue": { "type": "string" } }, "required": [ - "StatusCode" + "ParameterKey", + "ParameterValue" ], "type": "object" }, - "AWS::ApiGateway::Method.MethodResponse": { + "AWS::CloudFormation::StackSet.StackInstances": { "additionalProperties": false, "properties": { - "ResponseModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "DeploymentTargets": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "ParameterOverrides": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, - "type": "object" + "type": "array" }, - "StatusCode": { - "type": "string" + "Regions": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "StatusCode" + "DeploymentTargets", + "Regions" ], "type": "object" }, - "AWS::ApiGateway::Model": { + "AWS::CloudFormation::TypeActivation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3753,30 +3160,42 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ContentType": { + "AutoUpdate": { + "type": "boolean" + }, + "ExecutionRoleArn": { "type": "string" }, - "Description": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" + }, + "MajorVersion": { "type": "string" }, - "Name": { + "PublicTypeArn": { + "type": "string" + }, + "PublisherId": { "type": "string" }, - "RestApiId": { + "Type": { "type": "string" }, - "Schema": { - "type": "object" + "TypeName": { + "type": "string" + }, + "TypeNameAlias": { + "type": "string" + }, + "VersionBump": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Model" + "AWS::CloudFormation::TypeActivation" ], "type": "string" }, @@ -3790,14 +3209,28 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RequestValidator": { + "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::WaitCondition": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -3827,27 +3260,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "Count": { + "type": "number" }, - "RestApiId": { + "Handle": { "type": "string" }, - "ValidateRequestBody": { - "type": "boolean" - }, - "ValidateRequestParameters": { - "type": "boolean" + "Timeout": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RequestValidator" + "AWS::CloudFormation::WaitCondition" ], "type": "string" }, @@ -3861,12 +3288,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Resource": { + "AWS::CloudFormation::WaitConditionHandle": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3897,27 +3323,12 @@ var SamSchema = `{ }, "Properties": { "additionalProperties": false, - "properties": { - "ParentId": { - "type": "string" - }, - "PathPart": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "ParentId", - "PathPart", - "RestApiId" - ], + "properties": {}, "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Resource" + "AWS::CloudFormation::WaitConditionHandle" ], "type": "string" }, @@ -3931,12 +3342,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RestApi": { + "AWS::CloudWatch::Alarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3968,69 +3378,100 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySourceType": { - "type": "string" + "ActionsEnabled": { + "type": "boolean" }, - "BinaryMediaTypes": { + "AlarmActions": { "items": { "type": "string" }, "type": "array" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.S3Location" + "AlarmDescription": { + "type": "string" }, - "CloneFrom": { + "AlarmName": { "type": "string" }, - "Description": { + "ComparisonOperator": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" + "DatapointsToAlarm": { + "type": "number" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.EndpointConfiguration" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + }, + "type": "array" }, - "FailOnWarnings": { - "type": "boolean" + "EvaluateLowSampleCountPercentile": { + "type": "string" }, - "MinimumCompressionSize": { + "EvaluationPeriods": { "type": "number" }, - "Mode": { + "ExtendedStatistic": { "type": "string" }, - "Name": { + "InsufficientDataActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" }, - "type": "object" + "type": "array" }, - "Policy": { - "type": "object" + "Namespace": { + "type": "string" + }, + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Period": { + "type": "number" + }, + "Statistic": { + "type": "string" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Threshold": { + "type": "number" + }, + "ThresholdMetricId": { + "type": "string" + }, + "TreatMissingData": { + "type": "string" + }, + "Unit": { + "type": "string" } }, + "required": [ + "ComparisonOperator", + "EvaluationPeriods" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RestApi" + "AWS::CloudWatch::Alarm" ], "type": "string" }, @@ -4044,47 +3485,99 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::RestApi.EndpointConfiguration": { + "AWS::CloudWatch::Alarm.Dimension": { "additionalProperties": false, "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, - "VpcEndpointIds": { + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" }, "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::RestApi.S3Location": { + "AWS::CloudWatch::Alarm.MetricDataQuery": { "additionalProperties": false, "properties": { - "Bucket": { + "AccountId": { "type": "string" }, - "ETag": { + "Expression": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { "type": "string" } }, + "required": [ + "Metric", + "Period", + "Stat" + ], "type": "object" }, - "AWS::ApiGateway::Stage": { + "AWS::CloudWatch::AnomalyDetector": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4116,69 +3609,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DeploymentId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" + "Configuration": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" }, - "MethodSettings": { + "Dimensions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.MethodSetting" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, "type": "array" }, - "RestApiId": { - "type": "string" + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" }, - "StageName": { + "MetricMathAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" + }, + "MetricName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Namespace": { + "type": "string" }, - "TracingEnabled": { - "type": "boolean" + "SingleMetricAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "Stat": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Stage" + "AWS::CloudWatch::AnomalyDetector" ], "type": "string" }, @@ -4192,84 +3655,183 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Stage.AccessLogSetting": { + "AWS::CloudWatch::AnomalyDetector.Configuration": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "ExcludedTimeRanges": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" + }, + "type": "array" }, - "Format": { + "MetricTimeZone": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::Stage.CanarySetting": { + "AWS::CloudWatch::AnomalyDetector.Dimension": { "additionalProperties": false, "properties": { - "DeploymentId": { + "Name": { "type": "string" }, - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, - "type": "object" + "type": "array" }, - "UseStageCache": { - "type": "boolean" + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGateway::Stage.MethodSetting": { + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { "additionalProperties": false, "properties": { - "CacheDataEncrypted": { + "PeriodicSpikes": { "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Id": { + "type": "string" }, - "CacheTtlInSeconds": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" + }, + "Period": { "type": "number" }, - "CachingEnabled": { + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" }, - "DataTraceEnabled": { - "type": "boolean" + "Period": { + "type": "number" }, - "HttpMethod": { + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Period", + "Stat" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Range": { + "additionalProperties": false, + "properties": { + "EndTime": { "type": "string" }, - "LoggingLevel": { + "StartTime": { + "type": "string" + } + }, + "required": [ + "EndTime", + "StartTime" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { + "additionalProperties": false, + "properties": { + "AccountId": { "type": "string" }, - "MetricsEnabled": { - "type": "boolean" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" + }, + "type": "array" }, - "ResourcePath": { + "MetricName": { "type": "string" }, - "ThrottlingBurstLimit": { - "type": "number" + "Namespace": { + "type": "string" }, - "ThrottlingRateLimit": { - "type": "number" + "Stat": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::UsagePlan": { + "AWS::CloudWatch::CompositeAlarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4301,36 +3863,60 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiStages": { + "ActionsEnabled": { + "type": "boolean" + }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, + "AlarmActions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ApiStage" + "type": "string" }, "type": "array" }, - "Description": { + "AlarmDescription": { "type": "string" }, - "Quota": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.QuotaSettings" + "AlarmName": { + "type": "string" }, - "Tags": { + "AlarmRule": { + "type": "string" + }, + "InsufficientDataActions": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Throttle": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" }, - "UsagePlanName": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "AlarmRule" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlan" + "AWS::CloudWatch::CompositeAlarm" ], "type": "string" }, @@ -4344,59 +3930,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::UsagePlan.ApiStage": { - "additionalProperties": false, - "properties": { - "ApiId": { - "type": "string" - }, - "Stage": { - "type": "string" - }, - "Throttle": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.QuotaSettings": { - "additionalProperties": false, - "properties": { - "Limit": { - "type": "number" - }, - "Offset": { - "type": "number" - }, - "Period": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.ThrottleSettings": { - "additionalProperties": false, - "properties": { - "BurstLimit": { - "type": "number" - }, - "RateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlanKey": { + "AWS::CloudWatch::Dashboard": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4428,26 +3967,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyId": { - "type": "string" - }, - "KeyType": { + "DashboardBody": { "type": "string" }, - "UsagePlanId": { + "DashboardName": { "type": "string" } }, "required": [ - "KeyId", - "KeyType", - "UsagePlanId" + "DashboardBody" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlanKey" + "AWS::CloudWatch::Dashboard" ], "type": "string" }, @@ -4466,7 +4000,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGateway::VpcLink": { + "AWS::CloudWatch::InsightRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4498,34 +4032,29 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "RuleBody": { "type": "string" }, - "Name": { + "RuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RuleState": { + "type": "string" }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Tags": { + "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" } }, "required": [ - "Name", - "TargetArns" + "RuleBody", + "RuleName", + "RuleState" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::VpcLink" + "AWS::CloudWatch::InsightRule" ], "type": "string" }, @@ -4544,7 +4073,12 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Api": { + "AWS::CloudWatch::InsightRule.Tags": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::MetricStream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4576,63 +4110,56 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySelectionExpression": { - "type": "string" + "ExcludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "BasePath": { + "FirehoseArn": { "type": "string" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.BodyS3Location" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.Cors" - }, - "CredentialsArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisableExecuteApiEndpoint": { - "type": "boolean" - }, - "DisableSchemaValidation": { - "type": "boolean" + "IncludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "FailOnWarnings": { + "IncludeLinkedAccountsMetrics": { "type": "boolean" }, "Name": { "type": "string" }, - "ProtocolType": { + "OutputFormat": { "type": "string" }, - "RouteKey": { + "RoleArn": { "type": "string" }, - "RouteSelectionExpression": { - "type": "string" + "StatisticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration" + }, + "type": "array" }, "Tags": { - "type": "object" - }, - "Target": { - "type": "string" - }, - "Version": { - "type": "string" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "FirehoseArn", + "OutputFormat", + "RoleArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Api" + "AWS::CloudWatch::MetricStream" ], "type": "string" }, @@ -4646,65 +4173,68 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGatewayV2::Api.BodyS3Location": { + "AWS::CloudWatch::MetricStream.MetricStreamFilter": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Etag": { - "type": "string" - }, - "Key": { - "type": "string" + "MetricNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Version": { + "Namespace": { "type": "string" } }, + "required": [ + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::Api.Cors": { + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration": { "additionalProperties": false, "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowOrigins": { + "AdditionalStatistics": { "items": { "type": "string" }, "type": "array" }, - "ExposeHeaders": { + "IncludeMetrics": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric" }, "type": "array" + } + }, + "required": [ + "AdditionalStatistics", + "IncludeMetrics" + ], + "type": "object" + }, + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric": { + "additionalProperties": false, + "properties": { + "MetricName": { + "type": "string" }, - "MaxAge": { - "type": "number" + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides": { + "AWS::EC2::CapacityReservation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4736,27 +4266,65 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { "type": "string" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides" + "EbsOptimized": { + "type": "boolean" + }, + "EndDate": { + "type": "string" + }, + "EndDateType": { + "type": "string" + }, + "EphemeralStorage": { + "type": "boolean" + }, + "InstanceCount": { + "type": "number" + }, + "InstanceMatchCriteria": { + "type": "string" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutPostArn": { + "type": "string" + }, + "PlacementGroupArn": { + "type": "string" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" + }, + "type": "array" }, - "Route": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides" + "Tenancy": { + "type": "string" }, - "Stage": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides" + "UnusedReservationBillingOwnerId": { + "type": "string" } }, "required": [ - "ApiId" + "InstanceCount", + "InstancePlatform", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides" + "AWS::EC2::CapacityReservation" ], "type": "string" }, @@ -4775,106 +4343,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides": { + "AWS::EC2::CapacityReservation.TagSpecification": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IntegrationMethod": { - "type": "string" - }, - "PayloadFormatVersion": { + "ResourceType": { "type": "string" }, - "TimeoutInMillis": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides": { - "additionalProperties": false, - "properties": { - "AuthorizationScopes": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings": { - "additionalProperties": false, - "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings" - }, - "AutoDeploy": { - "type": "boolean" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings" - }, - "Description": { - "type": "string" - }, - "RouteSettings": { - "type": "object" - }, - "StageVariables": { - "type": "object" } }, "type": "object" }, - "AWS::ApiGatewayV2::ApiMapping": { + "AWS::EC2::CapacityReservationFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4906,29 +4390,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AllocationStrategy": { "type": "string" }, - "ApiMappingKey": { + "EndDate": { "type": "string" }, - "DomainName": { + "InstanceMatchCriteria": { "type": "string" }, - "Stage": { + "InstanceTypeSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" + }, + "type": "array" + }, + "NoRemoveEndDate": { + "type": "boolean" + }, + "RemoveEndDate": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" + }, + "type": "array" + }, + "Tenancy": { "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" } }, - "required": [ - "ApiId", - "DomainName", - "Stage" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiMapping" + "AWS::EC2::CapacityReservationFleet" ], "type": "string" }, @@ -4942,12 +4442,53 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer": { + "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "additionalProperties": false, + "properties": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "Weight": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::CarrierGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4979,53 +4520,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "AuthorizerCredentialsArn": { - "type": "string" - }, - "AuthorizerPayloadFormatVersion": { - "type": "string" - }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerType": { - "type": "string" - }, - "AuthorizerUri": { - "type": "string" - }, - "EnableSimpleResponses": { - "type": "boolean" - }, - "IdentitySource": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "IdentityValidationExpression": { - "type": "string" - }, - "JwtConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer.JWTConfiguration" - }, - "Name": { + "VpcId": { "type": "string" } }, "required": [ - "ApiId", - "AuthorizerType", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Authorizer" + "AWS::EC2::CarrierGateway" ], "type": "string" }, @@ -5044,22 +4556,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer.JWTConfiguration": { - "additionalProperties": false, - "properties": { - "Audience": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Issuer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Deployment": { + "AWS::EC2::ClientVpnAuthorizationRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5091,24 +4588,31 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AccessGroupId": { + "type": "string" + }, + "AuthorizeAllGroups": { + "type": "boolean" + }, + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "StageName": { + "TargetNetworkCidr": { "type": "string" } }, "required": [ - "ApiId" + "ClientVpnEndpointId", + "TargetNetworkCidr" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Deployment" + "AWS::EC2::ClientVpnAuthorizationRule" ], "type": "string" }, @@ -5127,7 +4631,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName": { + "AWS::EC2::ClientVpnEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5159,30 +4663,81 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { + "AuthenticationOptions": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" + }, + "type": "array" + }, + "ClientCidrBlock": { + "type": "string" + }, + "ClientConnectOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" + }, + "ClientLoginBannerOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions" + }, + "ConnectionLogOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" + }, + "Description": { "type": "string" }, - "DomainNameConfigurations": { + "DisconnectOnSessionTimeout": { + "type": "boolean" + }, + "DnsServers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.DomainNameConfiguration" + "type": "string" }, "type": "array" }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication" + "SelfServicePortal": { + "type": "string" }, - "Tags": { - "type": "object" + "ServerCertificateArn": { + "type": "string" + }, + "SessionTimeoutHours": { + "type": "number" + }, + "SplitTunnel": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" + }, + "type": "array" + }, + "TransportProtocol": { + "type": "string" + }, + "VpcId": { + "type": "string" + }, + "VpnPort": { + "type": "number" } }, "required": [ - "DomainName" + "AuthenticationOptions", + "ClientCidrBlock", + "ConnectionLogOptions", + "ServerCertificateArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::DomainName" + "AWS::EC2::ClientVpnEndpoint" ], "type": "string" }, @@ -5201,40 +4756,134 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.DomainNameConfiguration": { + "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { "additionalProperties": false, "properties": { - "CertificateArn": { + "ClientRootCertificateChainArn": { + "type": "string" + } + }, + "required": [ + "ClientRootCertificateChainArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "ActiveDirectory": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + }, + "FederatedAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + }, + "MutualAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + }, + "Type": { "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "CertificateName": { + "LambdaFunctionArn": { + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions": { + "additionalProperties": false, + "properties": { + "BannerText": { "type": "string" }, - "EndpointType": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "additionalProperties": false, + "properties": { + "CloudwatchLogGroup": { "type": "string" }, - "OwnershipVerificationCertificateArn": { + "CloudwatchLogStream": { "type": "string" }, - "SecurityPolicy": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "DirectoryId": { "type": "string" } }, + "required": [ + "DirectoryId" + ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication": { + "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "SAMLProviderArn": { "type": "string" }, - "TruststoreVersion": { + "SelfServiceSAMLProviderArn": { + "type": "string" + } + }, + "required": [ + "SAMLProviderArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ResourceType", + "Tags" + ], "type": "object" }, - "AWS::ApiGatewayV2::Integration": { + "AWS::EC2::ClientVpnRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5266,70 +4915,29 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "CredentialsArn": { + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "IntegrationMethod": { - "type": "string" - }, - "IntegrationSubtype": { - "type": "string" - }, - "IntegrationType": { + "DestinationCidrBlock": { "type": "string" }, - "IntegrationUri": { + "TargetVpcSubnetId": { "type": "string" - }, - "PassthroughBehavior": { - "type": "string" - }, - "PayloadFormatVersion": { - "type": "string" - }, - "RequestParameters": { - "type": "object" - }, - "RequestTemplates": { - "type": "object" - }, - "ResponseParameters": { - "type": "object" - }, - "TemplateSelectionExpression": { - "type": "string" - }, - "TimeoutInMillis": { - "type": "number" - }, - "TlsConfig": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.TlsConfig" } }, "required": [ - "ApiId", - "IntegrationType" + "ClientVpnEndpointId", + "DestinationCidrBlock", + "TargetVpcSubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Integration" + "AWS::EC2::ClientVpnRoute" ], "type": "string" }, @@ -5348,44 +4956,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Integration.ResponseParameter": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "required": [ - "Destination", - "Source" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.ResponseParameterList": { - "additionalProperties": false, - "properties": { - "ResponseParameters": { - "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.ResponseParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.TlsConfig": { - "additionalProperties": false, - "properties": { - "ServerNameToVerify": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::IntegrationResponse": { + "AWS::EC2::ClientVpnTargetNetworkAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5417,38 +4988,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "IntegrationId": { - "type": "string" - }, - "IntegrationResponseKey": { + "ClientVpnEndpointId": { "type": "string" }, - "ResponseParameters": { - "type": "object" - }, - "ResponseTemplates": { - "type": "object" - }, - "TemplateSelectionExpression": { + "SubnetId": { "type": "string" } }, "required": [ - "ApiId", - "IntegrationId", - "IntegrationResponseKey" + "ClientVpnEndpointId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::IntegrationResponse" + "AWS::EC2::ClientVpnTargetNetworkAssociation" ], "type": "string" }, @@ -5467,7 +5022,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Model": { + "AWS::EC2::CustomerGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5499,32 +5054,40 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" + "BgpAsn": { + "type": "number" }, - "ContentType": { + "BgpAsnExtended": { + "type": "number" + }, + "CertificateArn": { "type": "string" }, - "Description": { + "DeviceName": { "type": "string" }, - "Name": { + "IpAddress": { "type": "string" }, - "Schema": { - "type": "object" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" } }, "required": [ - "ApiId", - "Name", - "Schema" + "IpAddress", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Model" + "AWS::EC2::CustomerGateway" ], "type": "string" }, @@ -5543,7 +5106,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Route": { + "AWS::EC2::DHCPOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5575,55 +5138,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "DomainName": { "type": "string" }, - "ApiKeyRequired": { - "type": "boolean" - }, - "AuthorizationScopes": { + "DomainNameServers": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "ModelSelectionExpression": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "RequestModels": { - "type": "object" + "Ipv6AddressPreferredLeaseTime": { + "type": "number" }, - "RequestParameters": { - "type": "object" + "NetbiosNameServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "RouteKey": { - "type": "string" + "NetbiosNodeType": { + "type": "number" }, - "RouteResponseSelectionExpression": { - "type": "string" + "NtpServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Target": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiId", - "RouteKey" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Route" + "AWS::EC2::DHCPOptions" ], "type": "string" }, @@ -5637,24 +5190,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Route.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::RouteResponse": { + "AWS::EC2::EC2Fleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5686,143 +5226,58 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "Context": { "type": "string" }, - "ModelSelectionExpression": { + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "ResponseModels": { - "type": "object" + "LaunchTemplateConfigs": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" + }, + "type": "array" }, - "ResponseParameters": { - "type": "object" + "OnDemandOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" }, - "RouteId": { - "type": "string" + "ReplaceUnhealthyInstances": { + "type": "boolean" }, - "RouteResponseKey": { - "type": "string" - } - }, - "required": [ - "ApiId", - "RouteId", - "RouteResponseKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::RouteResponse" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::RouteResponse.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Stage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" }, - { + "TagSpecifications": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.AccessLogSettings" - }, - "AccessPolicyId": { - "type": "string" }, - "ApiId": { - "type": "string" + "TargetCapacitySpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" }, - "AutoDeploy": { + "TerminateInstancesWithExpiration": { "type": "boolean" }, - "ClientCertificateId": { - "type": "string" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.RouteSettings" - }, - "DeploymentId": { + "Type": { "type": "string" }, - "Description": { + "ValidFrom": { "type": "string" }, - "RouteSettings": { - "type": "object" - }, - "StageName": { + "ValidUntil": { "type": "string" - }, - "StageVariables": { - "type": "object" - }, - "Tags": { - "type": "object" } }, "required": [ - "ApiId", - "StageName" + "LaunchTemplateConfigs", + "TargetCapacitySpecification" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Stage" + "AWS::EC2::EC2Fleet" ], "type": "string" }, @@ -5841,327 +5296,477 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApiGatewayV2::Stage.AccessLogSettings": { + "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "Max": { + "type": "number" }, - "Format": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::Stage.RouteSettings": { + "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { + "Max": { "type": "number" }, - "ThrottlingRateLimit": { + "Min": { "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::VpcLink": { + "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::VpcLink" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application": { + "AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Application.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application.Tags": { + "AWS::EC2::EC2Fleet.CapacityRebalance": { "additionalProperties": false, "properties": { - "Key": { + "ReplacementStrategy": { "type": "string" }, - "Value": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile": { + "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RetrievalRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Tags" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Validators": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Validators" - }, - "type": "array" - } - }, - "required": [ - "ApplicationId", - "LocationUri", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::ConfigurationProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UsageStrategy": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Tags": { + "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Validators": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" }, - "Type": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::Deployment": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AvailabilityZone": { "type": "string" }, - "DependsOn": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "MaxPrice": { + "type": "string" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" + }, + "Priority": { + "type": "number" + }, + "SubnetId": { + "type": "string" + }, + "WeightedCapacity": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { + "additionalProperties": false, + "properties": { + "LaunchTemplateId": { + "type": "string" + }, + "LaunchTemplateName": { + "type": "string" + }, + "Version": { + "type": "string" + } + }, + "required": [ + "Version" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "additionalProperties": false, + "properties": { + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "CapacityReservationOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.Placement": { + "additionalProperties": false, + "properties": { + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "GroupName": { + "type": "string" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" + }, + "Tenancy": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "InstanceInterruptionBehavior": { + "type": "string" + }, + "InstancePoolsToUseCount": { + "type": "number" + }, + "MaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "additionalProperties": false, + "properties": { + "DefaultTargetCapacityType": { + "type": "string" + }, + "OnDemandTargetCapacity": { + "type": "number" + }, + "SpotTargetCapacity": { + "type": "number" + }, + "TargetCapacityUnitType": { + "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" + } + }, + "required": [ + "TotalTargetCapacity" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EIP": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { "anyOf": [ { "pattern": "^[a-zA-Z0-9]+$", @@ -6182,43 +5787,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { + "Address": { "type": "string" }, - "ConfigurationProfileId": { + "Domain": { "type": "string" }, - "ConfigurationVersion": { + "InstanceId": { "type": "string" }, - "DeploymentStrategyId": { + "IpamPoolId": { "type": "string" }, - "Description": { + "NetworkBorderGroup": { "type": "string" }, - "EnvironmentId": { + "PublicIpv4Pool": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/AWS::AppConfig::Deployment.Tags" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransferAddress": { + "type": "string" } }, - "required": [ - "ApplicationId", - "ConfigurationProfileId", - "ConfigurationVersion", - "DeploymentStrategyId", - "EnvironmentId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Deployment" + "AWS::EC2::EIP" ], "type": "string" }, @@ -6232,24 +5833,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::Deployment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::DeploymentStrategy": { + "AWS::EC2::EIPAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6281,45 +5869,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { + "AllocationId": { "type": "string" }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { + "InstanceId": { "type": "string" }, - "Name": { + "NetworkInterfaceId": { "type": "string" }, - "ReplicateTo": { + "PrivateIpAddress": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy.Tags" - }, - "type": "array" } }, - "required": [ - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name", - "ReplicateTo" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::DeploymentStrategy" + "AWS::EC2::EIPAssociation" ], "type": "string" }, @@ -6333,24 +5900,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::DeploymentStrategy.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment": { + "AWS::EC2::EgressOnlyInternetGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6382,37 +5936,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Monitors": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Monitors" - }, - "type": "array" - }, - "Name": { + "VpcId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Tags" - }, - "type": "array" } }, "required": [ - "ApplicationId", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Environment" + "AWS::EC2::EgressOnlyInternetGateway" ], "type": "string" }, @@ -6431,31 +5966,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppConfig::Environment.Monitors": { - "additionalProperties": false, - "properties": { - "AlarmArn": { - "type": "string" - }, - "AlarmRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::HostedConfigurationVersion": { + "AWS::EC2::EnclaveCertificateIamRoleAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6487,36 +5998,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationProfileId": { - "type": "string" - }, - "Content": { - "type": "string" - }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "RoleArn": { "type": "string" - }, - "LatestVersionNumber": { - "type": "number" } }, "required": [ - "ApplicationId", - "ConfigurationProfileId", - "Content", - "ContentType" + "CertificateArn", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::HostedConfigurationVersion" + "AWS::EC2::EnclaveCertificateIamRoleAssociation" ], "type": "string" }, @@ -6535,7 +6032,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile": { + "AWS::EC2::FlowLog": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6567,32 +6064,55 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConnectionMode": { + "DeliverCrossAccountRole": { + "type": "string" + }, + "DeliverLogsPermissionArn": { + "type": "string" + }, + "DestinationOptions": { + "$ref": "#/definitions/AWS::EC2::FlowLog.DestinationOptions" + }, + "LogDestination": { + "type": "string" + }, + "LogDestinationType": { + "type": "string" + }, + "LogFormat": { + "type": "string" + }, + "LogGroupName": { "type": "string" }, - "ConnectorProfileConfig": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig" + "MaxAggregationInterval": { + "type": "number" }, - "ConnectorProfileName": { + "ResourceId": { "type": "string" }, - "ConnectorType": { + "ResourceType": { "type": "string" }, - "KMSArn": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficType": { "type": "string" } }, "required": [ - "ConnectionMode", - "ConnectorProfileName", - "ConnectorType" + "ResourceId", + "ResourceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::ConnectorProfile" + "AWS::EC2::FlowLog" ], "type": "string" }, @@ -6611,617 +6131,822 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials": { + "AWS::EC2::FlowLog.DestinationOptions": { "additionalProperties": false, "properties": { - "ApiKey": { + "FileFormat": { "type": "string" }, - "SecretKey": { - "type": "string" + "HiveCompatiblePartitions": { + "type": "boolean" + }, + "PerHourPartition": { + "type": "boolean" } }, "required": [ - "ApiKey", - "SecretKey" + "FileFormat", + "HiveCompatiblePartitions", + "PerHourPartition" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest": { + "AWS::EC2::GatewayRouteTableAssociation": { "additionalProperties": false, "properties": { - "AuthCode": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "RedirectUri": { + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "GatewayId": { + "type": "string" + }, + "RouteTableId": { + "type": "string" + } + }, + "required": [ + "GatewayId", + "RouteTableId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::GatewayRouteTableAssociation" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig": { - "additionalProperties": false, - "properties": { - "ConnectorProfileCredentials": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials" }, - "ConnectorProfileProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "ConnectorProfileCredentials" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials": { + "AWS::EC2::Host": { "additionalProperties": false, "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials" + "Metadata": { + "type": "object" }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials" + "Properties": { + "additionalProperties": false, + "properties": { + "AssetId": { + "type": "string" + }, + "AutoPlacement": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "HostMaintenance": { + "type": "string" + }, + "HostRecovery": { + "type": "string" + }, + "InstanceFamily": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutpostArn": { + "type": "string" + } + }, + "required": [ + "AvailabilityZone" + ], + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials" + "Type": { + "enum": [ + "AWS::EC2::Host" + ], + "type": "string" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, + "required": [ + "Type", + "Properties" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties": { + "AWS::EC2::IPAM": { "additionalProperties": false, "properties": { - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties" + "Metadata": { + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties" + "Properties": { + "additionalProperties": false, + "properties": { + "DefaultResourceDiscoveryOrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Description": { + "type": "string" + }, + "EnablePrivateGua": { + "type": "boolean" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Tier": { + "type": "string" + } + }, + "type": "object" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAM" + ], "type": "string" }, - "ApplicationKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials": { + "AWS::EC2::IPAM.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "ApiToken": { + "RegionName": { "type": "string" } }, "required": [ - "ApiToken" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties": { + "AWS::EC2::IPAM.IpamOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "InstanceUrl" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials": { + "AWS::EC2::IPAMAllocation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "Type": { + "enum": [ + "AWS::EC2::IPAMAllocation" + ], + "type": "string" }, - "RefreshToken": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials": { + "AWS::EC2::IPAMPool": { "additionalProperties": false, "properties": { - "AccessKeyId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Datakey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AddressFamily": { + "type": "string" + }, + "AllocationDefaultNetmaskLength": { + "type": "number" + }, + "AllocationMaxNetmaskLength": { + "type": "number" + }, + "AllocationMinNetmaskLength": { + "type": "number" + }, + "AllocationResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "AutoImport": { + "type": "boolean" + }, + "AwsService": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamScopeId": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ProvisionedCidrs": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + }, + "type": "array" + }, + "PublicIpSource": { + "type": "string" + }, + "PubliclyAdvertisable": { + "type": "boolean" + }, + "SourceIpamPoolId": { + "type": "string" + }, + "SourceResource": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.SourceResource" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AddressFamily", + "IpamScopeId" + ], + "type": "object" }, - "SecretAccessKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPool" + ], "type": "string" }, - "UserId": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "AccessKeyId", - "Datakey", - "SecretAccessKey", - "UserId" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties": { + "AWS::EC2::IPAMPool.ProvisionedCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "Cidr": { "type": "string" } }, "required": [ - "InstanceUrl" + "Cidr" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials": { + "AWS::EC2::IPAMPool.SourceResource": { "additionalProperties": false, "properties": { - "AccessToken": { + "ResourceId": { "type": "string" }, - "ClientId": { + "ResourceOwner": { "type": "string" }, - "ClientSecret": { + "ResourceRegion": { "type": "string" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "ResourceType": { "type": "string" } }, "required": [ - "InstanceUrl" + "ResourceId", + "ResourceOwner", + "ResourceRegion", + "ResourceType" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.OAuthProperties": { + "AWS::EC2::IPAMPoolCidr": { "additionalProperties": false, "properties": { - "AuthCodeUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "OAuthScopes": { - "items": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } }, - "type": "array" + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "TokenUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPoolCidr" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "DatabaseUrl": { - "type": "string" + "Metadata": { + "type": "object" }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "DatabaseUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "BasicAuthCredentials": { - "type": "object" - }, - "OAuthCredentials": { + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion" + }, + "type": "array" + }, + "OrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, "type": "object" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "ApplicationHostUrl": { - "type": "string" - }, - "ApplicationServicePath": { - "type": "string" - }, - "ClientNumber": { - "type": "string" - }, - "LogonLanguage": { - "type": "string" - }, - "OAuthProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.OAuthProperties" - }, - "PortNumber": { - "type": "number" - }, - "PrivateLinkServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "ClientCredentialsArn": { - "type": "string" - }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" }, - "isSandboxEnvironment": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscovery" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "RegionName": { "type": "string" } }, "required": [ - "InstanceUrl" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "ApiKey": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "ApiKey" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscoveryAssociation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Properties": { + "additionalProperties": false, + "properties": { + "IpamId": { + "type": "string" + }, + "IpamResourceDiscoveryId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId", + "IpamResourceDiscoveryId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscoveryAssociation" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties": { + "AWS::EC2::IPAMScope": { "additionalProperties": false, "properties": { - "AccountName": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "PrivateLinkServiceName": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Region": { - "type": "string" + "Metadata": { + "type": "object" }, - "Stage": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "IpamId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId" + ], + "type": "object" }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Stage", - "Warehouse" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiSecretKey": { - "type": "string" - } - }, - "required": [ - "ApiSecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMScope" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials": { + "AWS::EC2::Instance": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" + "CreationPolicy": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::Flow": { - "additionalProperties": false, - "properties": { "DeletionPolicy": { "enum": [ "Delete", @@ -7251,23 +6976,140 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AdditionalInfo": { + "type": "string" + }, + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" + }, + "type": "array" + }, + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" + }, + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + }, + "type": "array" + }, + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "IamInstanceProfile": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "InstanceInitiatedShutdownBehavior": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" + }, + "KernelId": { + "type": "string" + }, + "KeyName": { "type": "string" }, - "DestinationFlowConfigList": { + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" + }, + "LicenseSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + }, + "type": "array" + }, + "Monitoring": { + "type": "boolean" + }, + "NetworkInterfaces": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationFlowConfig" + "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" }, "type": "array" }, - "FlowName": { + "PlacementGroupName": { + "type": "string" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateDnsNameOptions" + }, + "PrivateIpAddress": { "type": "string" }, - "KMSArn": { + "PropagateTagsToVolumeOnCreation": { + "type": "boolean" + }, + "RamdiskId": { "type": "string" }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceFlowConfig" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SsmAssociations": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -7275,28 +7117,24 @@ var SamSchema = `{ }, "type": "array" }, - "Tasks": { + "Tenancy": { + "type": "string" + }, + "UserData": { + "type": "string" + }, + "Volumes": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.Task" + "$ref": "#/definitions/AWS::EC2::Instance.Volume" }, "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TriggerConfig" } }, - "required": [ - "DestinationFlowConfigList", - "FlowName", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::Flow" + "AWS::EC2::Instance" ], "type": "string" }, @@ -7310,719 +7148,461 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.AggregationConfig": { + "AWS::EC2::Instance.AssociationParameter": { "additionalProperties": false, "properties": { - "AggregationType": { + "Key": { "type": "string" + }, + "Value": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::AppFlow::Flow.AmplitudeSourceProperties": { + "AWS::EC2::Instance.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "Object": { + "DeviceName": { + "type": "string" + }, + "Ebs": { + "$ref": "#/definitions/AWS::EC2::Instance.Ebs" + }, + "NoDevice": { + "type": "object" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Object" + "DeviceName" ], "type": "object" }, - "AWS::AppFlow::Flow.ConnectorOperator": { + "AWS::EC2::Instance.CpuOptions": { "additionalProperties": false, "properties": { - "Amplitude": { - "type": "string" - }, - "Datadog": { - "type": "string" - }, - "Dynatrace": { - "type": "string" - }, - "GoogleAnalytics": { - "type": "string" - }, - "InforNexus": { - "type": "string" - }, - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "SAPOData": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Singular": { - "type": "string" - }, - "Slack": { - "type": "string" - }, - "Trendmicro": { - "type": "string" - }, - "Veeva": { - "type": "string" + "CoreCount": { + "type": "number" }, - "Zendesk": { - "type": "string" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppFlow::Flow.DatadogSourceProperties": { + "AWS::EC2::Instance.CreditSpecification": { "additionalProperties": false, "properties": { - "Object": { + "CPUCredits": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.DestinationConnectorProperties": { + "AWS::EC2::Instance.Ebs": { "additionalProperties": false, "properties": { - "EventBridge": { - "$ref": "#/definitions/AWS::AppFlow::Flow.EventBridgeDestinationProperties" - }, - "LookoutMetrics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.LookoutMetricsDestinationProperties" + "DeleteOnTermination": { + "type": "boolean" }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::Flow.RedshiftDestinationProperties" + "Encrypted": { + "type": "boolean" }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3DestinationProperties" + "Iops": { + "type": "number" }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceDestinationProperties" + "KmsKeyId": { + "type": "string" }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SnowflakeDestinationProperties" + "SnapshotId": { + "type": "string" }, - "Upsolver": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverDestinationProperties" + "VolumeSize": { + "type": "number" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskDestinationProperties" + "VolumeType": { + "type": "string" } }, "type": "object" }, - "AWS::AppFlow::Flow.DestinationFlowConfig": { + "AWS::EC2::Instance.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Type": { "type": "string" - }, - "DestinationConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationConnectorProperties" } }, "required": [ - "ConnectorType", - "DestinationConnectorProperties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.DynatraceSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ErrorHandlingConfig": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "FailOnFirstError": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.EventBridgeDestinationProperties": { + "AWS::EC2::Instance.ElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Count": { + "type": "number" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "Type": { "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.IncrementalPullConfig": { - "additionalProperties": false, - "properties": { - "DatetimeTypeFieldName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.InforNexusSourceProperties": { + "AWS::EC2::Instance.EnclaveOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.LookoutMetricsDestinationProperties": { + "AWS::EC2::Instance.HibernationOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppFlow::Flow.MarketoSourceProperties": { + "AWS::EC2::Instance.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "Object": { + "Ipv6Address": { "type": "string" } }, "required": [ - "Object" + "Ipv6Address" ], "type": "object" }, - "AWS::AppFlow::Flow.PrefixConfig": { - "additionalProperties": false, - "properties": { - "PrefixFormat": { - "type": "string" - }, - "PrefixType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.RedshiftDestinationProperties": { + "AWS::EC2::Instance.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "BucketPrefix": { + "LaunchTemplateId": { "type": "string" }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" - }, - "IntermediateBucketName": { + "LaunchTemplateName": { "type": "string" }, - "Object": { + "Version": { "type": "string" } }, "required": [ - "IntermediateBucketName", - "Object" + "Version" ], "type": "object" }, - "AWS::AppFlow::Flow.S3DestinationProperties": { + "AWS::EC2::Instance.LicenseSpecification": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "LicenseConfigurationArn": { "type": "string" - }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3OutputFormatConfig" } }, "required": [ - "BucketName" + "LicenseConfigurationArn" ], "type": "object" }, - "AWS::AppFlow::Flow.S3InputFormatConfig": { - "additionalProperties": false, - "properties": { - "S3InputFileType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3OutputFormatConfig": { + "AWS::EC2::Instance.NetworkInterface": { "additionalProperties": false, "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "AssociateCarrierIpAddress": { + "type": "boolean" }, - "FileType": { - "type": "string" + "AssociatePublicIpAddress": { + "type": "boolean" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "BucketPrefix": { + "Description": { "type": "string" }, - "S3InputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3InputFormatConfig" - } - }, - "required": [ - "BucketName", - "BucketPrefix" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SAPODataSourceProperties": { - "additionalProperties": false, - "properties": { - "ObjectPath": { + "DeviceIndex": { "type": "string" - } - }, - "required": [ - "ObjectPath" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" }, - "IdFieldNames": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "Object": { - "type": "string" - }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceSourceProperties": { - "additionalProperties": false, - "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" + "Ipv6AddressCount": { + "type": "number" }, - "IncludeDeletedRecords": { - "type": "boolean" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ScheduledTriggerProperties": { - "additionalProperties": false, - "properties": { - "DataPullMode": { + "NetworkInterfaceId": { "type": "string" }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { + "PrivateIpAddress": { "type": "string" }, - "ScheduleOffset": { - "type": "number" + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" + }, + "type": "array" }, - "ScheduleStartTime": { + "SecondaryPrivateIpAddressCount": { "type": "number" }, - "TimeZone": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ServiceNowSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SingularSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SlackSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "SubnetId": { "type": "string" } }, "required": [ - "Object" + "DeviceIndex" ], "type": "object" }, - "AWS::AppFlow::Flow.SnowflakeDestinationProperties": { + "AWS::EC2::Instance.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "BucketPrefix": { - "type": "string" - }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "IntermediateBucketName": { - "type": "string" + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "Object": { + "HostnameType": { "type": "string" } }, - "required": [ - "IntermediateBucketName", - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SourceConnectorProperties": { - "additionalProperties": false, - "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AmplitudeSourceProperties" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DatadogSourceProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DynatraceSourceProperties" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::Flow.InforNexusSourceProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::Flow.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3SourceProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SAPODataSourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ServiceNowSourceProperties" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SingularSourceProperties" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SlackSourceProperties" - }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TrendmicroSourceProperties" - }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::Flow.VeevaSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskSourceProperties" - } - }, "type": "object" }, - "AWS::AppFlow::Flow.SourceFlowConfig": { + "AWS::EC2::Instance.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" + "Primary": { + "type": "boolean" }, - "ConnectorType": { + "PrivateIpAddress": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceConnectorProperties" } }, "required": [ - "ConnectorType", - "SourceConnectorProperties" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppFlow::Flow.Task": { + "AWS::EC2::Instance.SsmAssociation": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { + "AssociationParameters": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TaskPropertiesObject" + "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" }, "type": "array" }, - "TaskType": { + "DocumentName": { "type": "string" } }, "required": [ - "SourceFields", - "TaskType" + "DocumentName" ], "type": "object" }, - "AWS::AppFlow::Flow.TaskPropertiesObject": { + "AWS::EC2::Instance.State": { "additionalProperties": false, "properties": { - "Key": { + "Code": { "type": "string" }, - "Value": { + "Name": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::AppFlow::Flow.TrendmicroSourceProperties": { + "AWS::EC2::Instance.Volume": { "additionalProperties": false, "properties": { - "Object": { + "Device": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ScheduledTriggerProperties" }, - "TriggerType": { + "VolumeId": { "type": "string" } }, "required": [ - "TriggerType" + "Device", + "VolumeId" ], "type": "object" }, - "AWS::AppFlow::Flow.UpsolverDestinationProperties": { + "AWS::EC2::InstanceConnectEndpoint": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig" - } - }, - "required": [ - "BucketName", - "S3OutputFormatConfig" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig": { - "additionalProperties": false, - "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ClientToken": { + "type": "string" + }, + "PreserveClientIp": { + "type": "boolean" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "SubnetId" + ], + "type": "object" }, - "FileType": { + "Type": { + "enum": [ + "AWS::EC2::InstanceConnectEndpoint" + ], "type": "string" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "PrefixConfig" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::Flow.VeevaSourceProperties": { + "AWS::EC2::InternetGateway": { "additionalProperties": false, "properties": { - "DocumentType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "IncludeAllVersions": { - "type": "boolean" - }, - "IncludeRenditions": { - "type": "boolean" - }, - "IncludeSourceFiles": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Metadata": { + "type": "object" }, - "IdFieldNames": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Object": { + "Type": { + "enum": [ + "AWS::EC2::InternetGateway" + ], "type": "string" }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration": { + "AWS::EC2::KeyPair": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8054,16 +7634,16 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "KeyFormat": { "type": "string" }, - "EventBridgeBus": { + "KeyName": { "type": "string" }, - "EventFilter": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.EventFilter" + "KeyType": { + "type": "string" }, - "Name": { + "PublicKeyMaterial": { "type": "string" }, "Tags": { @@ -8074,15 +7654,13 @@ var SamSchema = `{ } }, "required": [ - "EventBridgeBus", - "EventFilter", - "Name" + "KeyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppIntegrations::EventIntegration" + "AWS::EC2::KeyPair" ], "type": "string" }, @@ -8101,59 +7679,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration.EventFilter": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation": { - "additionalProperties": false, - "properties": { - "ClientAssociationMetadata": { - "items": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.Metadata" - }, - "type": "array" - }, - "ClientId": { - "type": "string" - }, - "EventBridgeRuleName": { - "type": "string" - }, - "EventIntegrationAssociationArn": { - "type": "string" - }, - "EventIntegrationAssociationId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.Metadata": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute": { + "AWS::EC2::LaunchTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8185,38 +7711,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "GatewayRouteName": { - "type": "string" - }, - "MeshName": { - "type": "string" + "LaunchTemplateData": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" }, - "MeshOwner": { + "LaunchTemplateName": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteSpec" - }, - "Tags": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" }, "type": "array" }, - "VirtualGatewayName": { + "VersionDescription": { "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualGatewayName" + "LaunchTemplateData" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::GatewayRoute" + "AWS::EC2::LaunchTemplate" ], "type": "string" }, @@ -8235,955 +7753,844 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch": { + "AWS::EC2::LaunchTemplate.AcceleratorCount": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite": { + "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { "additionalProperties": false, "properties": { - "DefaultTargetHostname": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch": { + "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch": { + "AWS::EC2::LaunchTemplate.BaselinePerformanceFactors": { "additionalProperties": false, "properties": { - "End": { - "type": "number" - }, - "Start": { - "type": "number" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Cpu" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteSpec": { + "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRoute" + "DeviceName": { + "type": "string" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "NoDevice": { + "type": "string" }, - "Priority": { - "type": "number" + "VirtualName": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteTarget": { + "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService" - } - }, - "required": [ - "VirtualService" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService": { - "additionalProperties": false, - "properties": { - "VirtualServiceName": { + "CapacityReservationPreference": { "type": "string" + }, + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" } }, - "required": [ - "VirtualServiceName" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRoute": { + "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction" + "CapacityReservationId": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch" + "CapacityReservationResourceGroupArn": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite" + "TcpEstablishedTimeout": { + "type": "number" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" + "UdpStreamTimeout": { + "type": "number" + }, + "UdpTimeout": { + "type": "number" } }, - "required": [ - "Target" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.Cpu": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Metadata": { + "References": { "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Reference" }, "type": "array" - }, - "ServiceName": { - "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata": { + "AWS::EC2::LaunchTemplate.CpuOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" + "AmdSevSnp": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch" + "CoreCount": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite": { - "additionalProperties": false, - "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoute": { + "AWS::EC2::LaunchTemplate.CreditSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch" + "CpuCredits": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.Ebs": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite" + "DeleteOnTermination": { + "type": "boolean" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" - } - }, - "required": [ - "Target" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader": { - "additionalProperties": false, - "properties": { - "Invert": { + "Encrypted": { "type": "boolean" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch" + "Iops": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch": { - "additionalProperties": false, - "properties": { - "Exact": { + "KmsKeyId": { "type": "string" }, - "Prefix": { + "SnapshotId": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" + "Throughput": { + "type": "number" }, - "Regex": { - "type": "string" + "VolumeSize": { + "type": "number" }, - "Suffix": { + "VolumeType": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader" - }, - "type": "array" - }, - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Method": { - "type": "string" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpPathMatch" - }, - "Prefix": { + "Type": { "type": "string" - }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.QueryParameter" - }, - "type": "array" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdSpecification": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification": { "additionalProperties": false, "properties": { - "DefaultPrefix": { - "type": "string" - }, - "Value": { - "type": "string" + "EnaSrdUdpEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite": { + "AWS::EC2::LaunchTemplate.EnclaveOptions": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite" - }, - "Prefix": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.HibernationOptions": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.IamInstanceProfile": { "additionalProperties": false, "properties": { - "Exact": { + "Arn": { + "type": "string" + }, + "Name": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.QueryParameter": { + "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch" - }, - "Name": { + "MarketType": { "type": "string" + }, + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Mesh": { + "AWS::EC2::LaunchTemplate.InstanceRequirements": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorCount" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.MeshSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB" + }, + "AcceleratorTypes": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Mesh" - ], + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselinePerformanceFactors" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryMiB" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkBandwidthGbps" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterfaceCount" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TotalLocalStorageGB" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.VCpuCount" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.EgressFilter": { + "AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Type": { + "Ipv4Prefix": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.MeshSpec": { + "AWS::EC2::LaunchTemplate.Ipv6Add": { "additionalProperties": false, "properties": { - "EgressFilter": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.EgressFilter" + "Ipv6Address": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route": { + "AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ipv6Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "additionalProperties": false, + "properties": { + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" }, - "Metadata": { - "type": "object" + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { - "type": "string" - }, - "RouteName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Route.RouteSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VirtualRouterName": { - "type": "string" - } + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + }, + "DisableApiStop": { + "type": "boolean" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" }, - "required": [ - "MeshName", - "Spec", - "VirtualRouterName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Route" - ], + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + }, + "ImageId": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstanceInitiatedShutdownBehavior": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AppMesh::Route.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { + }, + "InstanceMarketOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceRequirements" + }, + "InstanceType": { "type": "string" }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::Route.GrpcRetryPolicy": { - "additionalProperties": false, - "properties": { - "GrpcRetryEvents": { + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LicenseSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" }, "type": "array" }, - "HttpRetryEvents": { + "MaintenanceOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MaintenanceOptions" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + }, + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + }, + "NetworkInterfaces": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" }, "type": "array" }, - "MaxRetries": { - "type": "number" + "NetworkPerformanceOptions": { + "type": "object" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateDnsNameOptions" + }, + "RamDiskId": { + "type": "string" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "TcpRetryEvents": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" + }, + "type": "array" + }, + "UserData": { + "type": "string" } }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRoute": { + "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMatch" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRetryPolicy" + "Count": { + "type": "number" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcTimeout" + "Type": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteAction": { + "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { "additionalProperties": false, "properties": { - "WeightedTargets": { + "ResourceType": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMatch": { + "AWS::EC2::LaunchTemplate.LicenseSpecification": { "additionalProperties": false, "properties": { - "Metadata": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadata" - }, - "type": "array" - }, - "MethodName": { - "type": "string" - }, - "ServiceName": { + "LicenseConfigurationArn": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadata": { + "AWS::EC2::LaunchTemplate.MaintenanceOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod" - }, - "Name": { + "AutoRecovery": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod": { + "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcTimeout": { + "AWS::EC2::LaunchTemplate.MemoryMiB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HeaderMatchMethod": { + "AWS::EC2::LaunchTemplate.MetadataOptions": { "additionalProperties": false, "properties": { - "Exact": { + "HttpEndpoint": { "type": "string" }, - "Prefix": { + "HttpProtocolIpv6": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" + "HttpPutResponseHopLimit": { + "type": "number" }, - "Regex": { + "HttpTokens": { "type": "string" }, - "Suffix": { + "InstanceMetadataTags": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.Monitoring": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.NetworkBandwidthGbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpRetryPolicy": { + "AWS::EC2::LaunchTemplate.NetworkInterface": { "additionalProperties": false, "properties": { - "HttpRetryEvents": { + "AssociateCarrierIpAddress": { + "type": "boolean" + }, + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdSpecification" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "MaxRetries": { + "InterfaceType": { + "type": "string" + }, + "Ipv4PrefixCount": { "type": "number" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Ipv4Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification" + }, + "type": "array" + }, + "Ipv6AddressCount": { + "type": "number" }, - "TcpRetryEvents": { + "Ipv6Addresses": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" }, "type": "array" - } - }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRoute": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteAction" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteMatch" + "Ipv6PrefixCount": { + "type": "number" }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRetryPolicy" + "Ipv6Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification" + }, + "type": "array" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpTimeout" - } - }, - "required": [ - "Action", - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "NetworkCardIndex": { + "type": "number" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PrimaryIpv6": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" }, "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { + "type": "string" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteHeader": { + "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HeaderMatchMethod" + "Max": { + "type": "number" }, - "Name": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteMatch": { + "AWS::EC2::LaunchTemplate.Placement": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteHeader" - }, - "type": "array" + "Affinity": { + "type": "string" }, - "Method": { + "AvailabilityZone": { "type": "string" }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpPathMatch" + "GroupId": { + "type": "string" }, - "Prefix": { + "GroupName": { "type": "string" }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.QueryParameter" - }, - "type": "array" + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" }, - "Scheme": { + "Tenancy": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpTimeout": { + "AWS::EC2::LaunchTemplate.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" + }, + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "HostnameType": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.MatchRange": { + "AWS::EC2::LaunchTemplate.PrivateIpAdd": { "additionalProperties": false, "properties": { - "End": { - "type": "number" + "Primary": { + "type": "boolean" }, - "Start": { - "type": "number" + "PrivateIpAddress": { + "type": "string" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::Route.QueryParameter": { + "AWS::EC2::LaunchTemplate.Reference": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpQueryParameterMatch" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.RouteSpec": { + "AWS::EC2::LaunchTemplate.SpotOptions": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRoute" + "BlockDurationMinutes": { + "type": "number" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "InstanceInterruptionBehavior": { + "type": "string" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "MaxPrice": { + "type": "string" }, - "Priority": { - "type": "number" + "SpotInstanceType": { + "type": "string" }, - "TcpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRoute" + "ValidUntil": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.TcpRoute": { + "AWS::EC2::LaunchTemplate.TagSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRouteAction" + "ResourceType": { + "type": "string" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpTimeout" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::AppMesh::Route.TcpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.TcpTimeout": { + "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.WeightedTarget": { + "AWS::EC2::LaunchTemplate.VCpuCount": { "additionalProperties": false, "properties": { - "VirtualNode": { - "type": "string" + "Max": { + "type": "number" }, - "Weight": { + "Min": { "type": "number" } }, - "required": [ - "VirtualNode", - "Weight" - ], "type": "object" }, - "AWS::AppMesh::VirtualGateway": { + "AWS::EC2::LocalGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9215,34 +8622,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "DestinationCidrBlock": { "type": "string" }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewaySpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "LocalGatewayVirtualInterfaceGroupId": { + "type": "string" }, - "VirtualGatewayName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "DestinationCidrBlock", + "LocalGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualGateway" + "AWS::EC2::LocalGatewayRoute" ], "type": "string" }, @@ -9261,431 +8662,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayLogging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewaySpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayLogging" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode": { + "AWS::EC2::LocalGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9717,34 +8694,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayId": { "type": "string" }, - "MeshOwner": { + "Mode": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualNodeName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualNode" + "AWS::EC2::LocalGatewayRouteTable" ], "type": "string" }, @@ -9763,638 +8733,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualNode.AccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.FileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute" - }, - "type": "array" - }, - "NamespaceName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "NamespaceName", - "ServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Backend": { - "additionalProperties": false, - "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualServiceBackend" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.BackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.DnsServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "ResponseType": { - "type": "string" - } - }, - "required": [ - "Hostname" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.FileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.GrpcTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HttpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Listener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HealthCheck" - }, - "OutlierDetection": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.OutlierDetection" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.PortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTls" - }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTimeout" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTimeout": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.GrpcTimeout" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TcpTimeout" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Logging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.OutlierDetection": { - "additionalProperties": false, - "properties": { - "BaseEjectionDuration": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "Interval": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "MaxEjectionPercent": { - "type": "number" - }, - "MaxServerErrors": { - "type": "number" - } - }, - "required": [ - "BaseEjectionDuration", - "Interval", - "MaxEjectionPercent", - "MaxServerErrors" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ServiceDiscovery": { - "additionalProperties": false, - "properties": { - "AWSCloudMap": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery" - }, - "DNS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.DnsServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TcpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeSpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.BackendDefaults" - }, - "Backends": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Backend" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Listener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Logging" - }, - "ServiceDiscovery": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualServiceBackend": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - }, - "VirtualServiceName": { - "type": "string" - } - }, - "required": [ - "VirtualServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter": { + "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10426,34 +8765,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "VirtualRouterName": { + "VpcId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayRouteTableId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualRouter" + "AWS::EC2::LocalGatewayRouteTableVPCAssociation" ], "type": "string" }, @@ -10472,50 +8805,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualRouter.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterListener": { - "additionalProperties": false, - "properties": { - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.PortMapping" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterSpec": { - "additionalProperties": false, - "properties": { - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterListener" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService": { + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10547,35 +8837,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayRouteTableId": { "type": "string" }, - "MeshOwner": { + "LocalGatewayVirtualInterfaceGroupId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualServiceName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualServiceName" + "LocalGatewayRouteTableId", + "LocalGatewayVirtualInterfaceGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualService" + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" ], "type": "string" }, @@ -10594,52 +8877,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppMesh::VirtualService.VirtualNodeServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNodeName": { - "type": "string" - } - }, - "required": [ - "VirtualNodeName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualRouterServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualRouterName": { - "type": "string" - } - }, - "required": [ - "VirtualRouterName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNode": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualNodeServiceProvider" - }, - "VirtualRouter": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualRouterServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceSpec": { - "additionalProperties": false, - "properties": { - "Provider": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service": { + "AWS::EC2::NatGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10671,23 +8909,35 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingConfigurationArn": { + "AllocationId": { "type": "string" }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.EncryptionConfiguration" + "ConnectivityType": { + "type": "string" }, - "HealthCheckConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.HealthCheckConfiguration" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.InstanceConfiguration" + "MaxDrainDurationSeconds": { + "type": "number" }, - "ServiceName": { + "PrivateIpAddress": { "type": "string" }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceConfiguration" + "SecondaryAllocationIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SecondaryPrivateIpAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -10697,13 +8947,13 @@ var SamSchema = `{ } }, "required": [ - "SourceConfiguration" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppRunner::Service" + "AWS::EC2::NatGateway" ], "type": "string" }, @@ -10722,214 +8972,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppRunner::Service.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "AccessRoleArn": { - "type": "string" - }, - "ConnectionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeConfigurationValues": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfigurationValues" - }, - "ConfigurationSource": { - "type": "string" - } - }, - "required": [ - "ConfigurationSource" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfigurationValues": { - "additionalProperties": false, - "properties": { - "BuildCommand": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "required": [ - "Runtime" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeRepository": { - "additionalProperties": false, - "properties": { - "CodeConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfiguration" - }, - "RepositoryUrl": { - "type": "string" - }, - "SourceCodeVersion": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceCodeVersion" - } - }, - "required": [ - "RepositoryUrl", - "SourceCodeVersion" - ], - "type": "object" - }, - "AWS::AppRunner::Service.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKey": { - "type": "string" - } - }, - "required": [ - "KmsKey" - ], - "type": "object" - }, - "AWS::AppRunner::Service.HealthCheckConfiguration": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Timeout": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageConfiguration": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageRepository": { - "additionalProperties": false, - "properties": { - "ImageConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageConfiguration" - }, - "ImageIdentifier": { - "type": "string" - }, - "ImageRepositoryType": { - "type": "string" - } - }, - "required": [ - "ImageIdentifier", - "ImageRepositoryType" - ], - "type": "object" - }, - "AWS::AppRunner::Service.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "Cpu": { - "type": "string" - }, - "InstanceRoleArn": { - "type": "string" - }, - "Memory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.SourceCodeVersion": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::AppRunner::Service.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.AuthenticationConfiguration" - }, - "AutoDeploymentsEnabled": { - "type": "boolean" - }, - "CodeRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeRepository" - }, - "ImageRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageRepository" - } - }, - "type": "object" - }, - "AWS::AppStream::AppBlock": { + "AWS::EC2::NetworkAcl": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10961,38 +9004,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SetupScriptDetails": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.ScriptDetails" - }, - "SourceS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "VpcId": { + "type": "string" } }, "required": [ - "Name", - "SetupScriptDetails", - "SourceS3Location" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::AppBlock" + "AWS::EC2::NetworkAcl" ], "type": "string" }, @@ -11011,46 +9040,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::AppBlock.S3Location": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::AppStream::AppBlock.ScriptDetails": { - "additionalProperties": false, - "properties": { - "ExecutableParameters": { - "type": "string" - }, - "ExecutablePath": { - "type": "string" - }, - "ScriptS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "ExecutablePath", - "ScriptS3Location", - "TimeoutInSeconds" - ], - "type": "object" - }, - "AWS::AppStream::Application": { + "AWS::EC2::NetworkAclEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11082,68 +9072,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AppBlockArn": { - "type": "string" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DisplayName": { + "CidrBlock": { "type": "string" }, - "IconS3Location": { - "$ref": "#/definitions/AWS::AppStream::Application.S3Location" - }, - "InstanceFamilies": { - "items": { - "type": "string" - }, - "type": "array" + "Egress": { + "type": "boolean" }, - "LaunchParameters": { - "type": "string" + "Icmp": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" }, - "LaunchPath": { + "Ipv6CidrBlock": { "type": "string" }, - "Name": { + "NetworkAclId": { "type": "string" }, - "Platforms": { - "items": { - "type": "string" - }, - "type": "array" + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Protocol": { + "type": "number" }, - "WorkingDirectory": { + "RuleAction": { "type": "string" + }, + "RuleNumber": { + "type": "number" } }, "required": [ - "AppBlockArn", - "IconS3Location", - "InstanceFamilies", - "LaunchPath", - "Name", - "Platforms" + "NetworkAclId", + "Protocol", + "RuleAction", + "RuleNumber" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Application" + "AWS::EC2::NetworkAclEntry" ], "type": "string" }, @@ -11162,23 +9129,31 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::Application.S3Location": { + "AWS::EC2::NetworkAclEntry.Icmp": { "additionalProperties": false, "properties": { - "S3Bucket": { - "type": "string" + "Code": { + "type": "number" }, - "S3Key": { - "type": "string" + "Type": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkAclEntry.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" } }, - "required": [ - "S3Bucket", - "S3Key" - ], "type": "object" }, - "AWS::AppStream::ApplicationFleetAssociation": { + "AWS::EC2::NetworkInsightsAccessScope": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11210,22 +9185,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationArn": { - "type": "string" + "ExcludePaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" }, - "FleetName": { - "type": "string" + "MatchPaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApplicationArn", - "FleetName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ApplicationFleetAssociation" + "AWS::EC2::NetworkInsightsAccessScope" ], "type": "string" }, @@ -11239,12 +9222,116 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppStream::DirectoryConfig": { + "AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest": { + "additionalProperties": false, + "properties": { + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "Source": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "ThroughResources": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest": { + "additionalProperties": false, + "properties": { + "PacketHeaderStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest" + }, + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Resources": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScopeAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11276,29 +9363,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DirectoryName": { + "NetworkInsightsAccessScopeId": { "type": "string" }, - "OrganizationalUnitDistinguishedNames": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "ServiceAccountCredentials": { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig.ServiceAccountCredentials" } }, "required": [ - "DirectoryName", - "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials" + "NetworkInsightsAccessScopeId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::DirectoryConfig" + "AWS::EC2::NetworkInsightsAccessScopeAnalysis" ], "type": "string" }, @@ -11317,23 +9399,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::DirectoryConfig.ServiceAccountCredentials": { - "additionalProperties": false, - "properties": { - "AccountName": { - "type": "string" - }, - "AccountPassword": { - "type": "string" - } - }, - "required": [ - "AccountName", - "AccountPassword" - ], - "type": "object" - }, - "AWS::AppStream::Fleet": { + "AWS::EC2::NetworkInsightsAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11365,82 +9431,36 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeCapacity": { - "$ref": "#/definitions/AWS::AppStream::Fleet.ComputeCapacity" - }, - "Description": { - "type": "string" - }, - "DisconnectTimeoutInSeconds": { - "type": "number" - }, - "DisplayName": { - "type": "string" - }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::Fleet.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" - }, - "FleetType": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - }, - "IdleDisconnectTimeoutInSeconds": { - "type": "number" - }, - "ImageArn": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "MaxConcurrentSessions": { - "type": "number" - }, - "MaxUserDurationInSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "StreamView": { - "type": "string" - }, - "Tags": { + "AdditionalAccounts": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "UsbDeviceFilterStrings": { + "FilterInArns": { "items": { "type": "string" }, "type": "array" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::Fleet.VpcConfig" + "NetworkInsightsPathId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "InstanceType", - "Name" + "NetworkInsightsPathId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Fleet" + "AWS::EC2::NetworkInsightsAnalysis" ], "type": "string" }, @@ -11459,53 +9479,488 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::Fleet.ComputeCapacity": { - "additionalProperties": false, - "properties": { - "DesiredInstances": { - "type": "number" - } - }, - "required": [ - "DesiredInstances" - ], - "type": "object" - }, - "AWS::AppStream::Fleet.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail": { "additionalProperties": false, "properties": { - "DirectoryName": { + "AdditionalDetailType": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancers": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "ServiceName": { "type": "string" } }, "type": "object" }, - "AWS::AppStream::Fleet.VpcConfig": { + "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentArn": { + "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentId": { + "type": "string" } }, "type": "object" }, - "AWS::AppStream::ImageBuilder": { + "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ + "Cidr": { + "type": "string" + }, + "Egress": { + "type": "boolean" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "Protocol": { + "type": "string" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "Id": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "additionalProperties": false, + "properties": { + "InstancePort": { + "type": "number" + }, + "LoadBalancerPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "additionalProperties": false, + "properties": { + "Address": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "Instance": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Port": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "Protocol": { + "type": "string" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "additionalProperties": false, + "properties": { + "NatGatewayId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "Origin": { + "type": "string" + }, + "State": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcPeeringConnectionId": { + "type": "string" + }, + "destinationCidr": { + "type": "string" + }, + "destinationPrefixListId": { + "type": "string" + }, + "egressOnlyInternetGatewayId": { + "type": "string" + }, + "gatewayId": { + "type": "string" + }, + "instanceId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Direction": { + "type": "string" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "PrefixListId": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SecurityGroupId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "additionalProperties": false, + "properties": { + "Acl": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "Address": { + "type": "string" + }, + "Addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AttachedTo": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ClassicLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ComponentAccount": { + "type": "string" + }, + "ComponentRegion": { + "type": "string" + }, + "CustomerGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Direction": { + "type": "string" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ExplanationCode": { + "type": "string" + }, + "IngressRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "InternetGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerArn": { + "type": "string" + }, + "LoadBalancerListenerPort": { + "type": "number" + }, + "LoadBalancerTarget": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" + }, + "LoadBalancerTargetGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerTargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "LoadBalancerTargetPort": { + "type": "number" + }, + "MissingComponent": { + "type": "string" + }, + "NatGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "NetworkInterface": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "PacketField": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "PrefixList": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "RouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "State": { + "type": "string" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SubnetRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayAttachment": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpcPeeringConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "vpcEndpoint": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { + "additionalProperties": false, + "properties": { + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "AdditionalDetails": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail" + }, + "type": "array" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Explanations": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.Explanation" + }, + "type": "array" + }, + "InboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "OutboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SequenceNumber": { + "type": "number" + }, + "ServiceName": { + "type": "string" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute": { + "additionalProperties": false, + "properties": { + "AttachmentId": { + "type": "string" + }, + "DestinationCidr": { + "type": "string" + }, + "PrefixListId": { + "type": "string" + }, + "ResourceId": { + "type": "string" + }, + "ResourceType": { + "type": "string" + }, + "RouteOrigin": { + "type": "string" + }, + "State": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsPath": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ "Delete", "Retain", "Snapshot" @@ -11533,40 +9988,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.AccessEndpoint" - }, - "type": "array" - }, - "AppstreamAgentVersion": { - "type": "string" - }, - "Description": { + "Destination": { "type": "string" }, - "DisplayName": { + "DestinationIp": { "type": "string" }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" + "DestinationPort": { + "type": "number" }, - "IamRoleArn": { - "type": "string" + "FilterAtDestination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageArn": { - "type": "string" + "FilterAtSource": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageName": { + "Protocol": { "type": "string" }, - "InstanceType": { + "Source": { "type": "string" }, - "Name": { + "SourceIp": { "type": "string" }, "Tags": { @@ -11574,20 +10017,17 @@ var SamSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.VpcConfig" } }, "required": [ - "InstanceType", - "Name" + "Protocol", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ImageBuilder" + "AWS::EC2::NetworkInsightsPath" ], "type": "string" }, @@ -11606,53 +10046,37 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::ImageBuilder.AccessEndpoint": { + "AWS::EC2::NetworkInsightsPath.FilterPortRange": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "FromPort": { + "type": "number" }, - "VpceId": { - "type": "string" + "ToPort": { + "type": "number" } }, - "required": [ - "EndpointType", - "VpceId" - ], "type": "object" }, - "AWS::AppStream::ImageBuilder.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsPath.PathFilter": { "additionalProperties": false, "properties": { - "DirectoryName": { + "DestinationAddress": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" + }, + "SourceAddress": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppStream::ImageBuilder.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" } }, "type": "object" }, - "AWS::AppStream::Stack": { + "AWS::EC2::NetworkInterface": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11684,69 +10108,81 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.AccessEndpoint" - }, - "type": "array" - }, - "ApplicationSettings": { - "$ref": "#/definitions/AWS::AppStream::Stack.ApplicationSettings" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeleteStorageConnectors": { - "type": "boolean" + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.ConnectionTrackingSpecification" }, "Description": { "type": "string" }, - "DisplayName": { - "type": "string" - }, - "EmbedHostDomains": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "FeedbackURL": { - "type": "string" - }, - "Name": { + "InterfaceType": { "type": "string" }, - "RedirectURL": { - "type": "string" + "Ipv4PrefixCount": { + "type": "number" }, - "StorageConnectors": { + "Ipv4Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.StorageConnector" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv4PrefixSpecification" }, "type": "array" }, - "Tags": { + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" }, "type": "array" }, - "UserSettings": { + "Ipv6PrefixCount": { + "type": "number" + }, + "Ipv6Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.UserSetting" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv6PrefixSpecification" + }, + "type": "array" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, "type": "array" } }, + "required": [ + "SubnetId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Stack" + "AWS::EC2::NetworkInterface" ], "type": "string" }, @@ -11760,79 +10196,79 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppStream::Stack.AccessEndpoint": { + "AWS::EC2::NetworkInterface.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "TcpEstablishedTimeout": { + "type": "number" + }, + "UdpStreamTimeout": { + "type": "number" }, - "VpceId": { + "UdpTimeout": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterface.InstanceIpv6Address": { + "additionalProperties": false, + "properties": { + "Ipv6Address": { "type": "string" } }, "required": [ - "EndpointType", - "VpceId" + "Ipv6Address" ], "type": "object" }, - "AWS::AppStream::Stack.ApplicationSettings": { + "AWS::EC2::NetworkInterface.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "SettingsGroup": { + "Ipv4Prefix": { "type": "string" } }, "required": [ - "Enabled" + "Ipv4Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.StorageConnector": { + "AWS::EC2::NetworkInterface.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "ConnectorType": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdentifier": { + "Ipv6Prefix": { "type": "string" } }, "required": [ - "ConnectorType" + "Ipv6Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.UserSetting": { + "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "Action": { - "type": "string" + "Primary": { + "type": "boolean" }, - "Permission": { + "PrivateIpAddress": { "type": "string" } }, "required": [ - "Action", - "Permission" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppStream::StackFleetAssociation": { + "AWS::EC2::NetworkInterfaceAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11864,22 +10300,32 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FleetName": { + "DeleteOnTermination": { + "type": "boolean" + }, + "DeviceIndex": { + "type": "string" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification" + }, + "InstanceId": { "type": "string" }, - "StackName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "FleetName", - "StackName" + "DeviceIndex", + "InstanceId", + "NetworkInterfaceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackFleetAssociation" + "AWS::EC2::NetworkInterfaceAttachment" ], "type": "string" }, @@ -11898,7 +10344,28 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::StackUserAssociation": { + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdUdpEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfacePermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11930,29 +10397,26 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "AwsAccountId": { "type": "string" }, - "SendEmailNotification": { - "type": "boolean" - }, - "StackName": { + "NetworkInterfaceId": { "type": "string" }, - "UserName": { + "Permission": { "type": "string" } }, "required": [ - "AuthenticationType", - "StackName", - "UserName" + "AwsAccountId", + "NetworkInterfaceId", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackUserAssociation" + "AWS::EC2::NetworkInterfacePermission" ], "type": "string" }, @@ -11971,7 +10435,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppStream::User": { + "AWS::EC2::NetworkPerformanceMetricSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12003,31 +10467,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { - "type": "string" - }, - "FirstName": { + "Destination": { "type": "string" }, - "LastName": { + "Metric": { "type": "string" }, - "MessageAction": { + "Source": { "type": "string" }, - "UserName": { + "Statistic": { "type": "string" } }, "required": [ - "AuthenticationType", - "UserName" + "Destination", + "Metric", + "Source", + "Statistic" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::User" + "AWS::EC2::NetworkPerformanceMetricSubscription" ], "type": "string" }, @@ -12046,7 +10509,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::ApiCache": { + "AWS::EC2::PlacementGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12078,36 +10541,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiCachingBehavior": { - "type": "string" + "PartitionCount": { + "type": "number" }, - "ApiId": { + "SpreadLevel": { "type": "string" }, - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "Ttl": { - "type": "number" - }, - "Type": { + "Strategy": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiCachingBehavior", - "ApiId", - "Ttl", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiCache" + "AWS::EC2::PlacementGroup" ], "type": "string" }, @@ -12121,12 +10575,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppSync::ApiKey": { + "AWS::EC2::PrefixList": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12158,27 +10611,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AddressFamily": { "type": "string" }, - "ApiKeyId": { - "type": "string" + "Entries": { + "items": { + "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" + }, + "type": "array" }, - "Description": { + "MaxEntries": { + "type": "number" + }, + "PrefixListName": { "type": "string" }, - "Expires": { - "type": "number" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ApiId" + "AddressFamily", + "PrefixListName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiKey" + "AWS::EC2::PrefixList" ], "type": "string" }, @@ -12197,7 +10660,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::DataSource": { + "AWS::EC2::PrefixList.Entry": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "required": [ + "Cidr" + ], + "type": "object" + }, + "AWS::EC2::Route": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12229,50 +10707,60 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CarrierGatewayId": { "type": "string" }, - "Description": { + "CoreNetworkArn": { + "type": "string" + }, + "DestinationCidrBlock": { "type": "string" }, - "DynamoDBConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DynamoDBConfig" + "DestinationIpv6CidrBlock": { + "type": "string" }, - "ElasticsearchConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.ElasticsearchConfig" + "DestinationPrefixListId": { + "type": "string" }, - "HttpConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.HttpConfig" + "EgressOnlyInternetGatewayId": { + "type": "string" }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.LambdaConfig" + "GatewayId": { + "type": "string" }, - "Name": { + "InstanceId": { + "type": "string" + }, + "LocalGatewayId": { "type": "string" }, - "OpenSearchServiceConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.OpenSearchServiceConfig" + "NatGatewayId": { + "type": "string" }, - "RelationalDatabaseConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RelationalDatabaseConfig" + "NetworkInterfaceId": { + "type": "string" }, - "ServiceRoleArn": { + "RouteTableId": { "type": "string" }, - "Type": { + "TransitGatewayId": { + "type": "string" + }, + "VpcEndpointId": { + "type": "string" + }, + "VpcPeeringConnectionId": { "type": "string" } }, "required": [ - "ApiId", - "Name", - "Type" + "RouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::DataSource" + "AWS::EC2::Route" ], "type": "string" }, @@ -12291,179 +10779,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::DataSource.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationType": { - "type": "string" - }, - "AwsIamConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AwsIamConfig" - } - }, - "required": [ - "AuthorizationType" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.AwsIamConfig": { - "additionalProperties": false, - "properties": { - "SigningRegion": { - "type": "string" - }, - "SigningServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::DataSource.DeltaSyncConfig": { - "additionalProperties": false, - "properties": { - "BaseTableTTL": { - "type": "string" - }, - "DeltaSyncTableName": { - "type": "string" - }, - "DeltaSyncTableTTL": { - "type": "string" - } - }, - "required": [ - "BaseTableTTL", - "DeltaSyncTableName", - "DeltaSyncTableTTL" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.DynamoDBConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "DeltaSyncConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DeltaSyncConfig" - }, - "TableName": { - "type": "string" - }, - "UseCallerCredentials": { - "type": "boolean" - }, - "Versioned": { - "type": "boolean" - } - }, - "required": [ - "AwsRegion", - "TableName" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.ElasticsearchConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.HttpConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AuthorizationConfig" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.LambdaConfig": { - "additionalProperties": false, - "properties": { - "LambdaFunctionArn": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.OpenSearchServiceConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RdsHttpEndpointConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "AwsSecretStoreArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DbClusterIdentifier": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "AwsSecretStoreArn", - "DbClusterIdentifier" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RelationalDatabaseConfig": { - "additionalProperties": false, - "properties": { - "RdsHttpEndpointConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RdsHttpEndpointConfig" - }, - "RelationalDatabaseSourceType": { - "type": "string" - } - }, - "required": [ - "RelationalDatabaseSourceType" - ], - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration": { + "AWS::EC2::RouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12495,48 +10811,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "DataSourceName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RequestMappingTemplate": { - "type": "string" - }, - "RequestMappingTemplateS3Location": { - "type": "string" - }, - "ResponseMappingTemplate": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "ResponseMappingTemplateS3Location": { + "VpcId": { "type": "string" - }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.SyncConfig" } }, "required": [ - "ApiId", - "DataSourceName", - "FunctionVersion", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::FunctionConfiguration" + "AWS::EC2::RouteTable" ], "type": "string" }, @@ -12555,34 +10847,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi": { + "AWS::EC2::SecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12614,43 +10879,42 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdditionalAuthenticationProviders": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders" - }, - "AuthenticationType": { + "GroupDescription": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "LogConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LogConfig" - }, - "Name": { + "GroupName": { "type": "string" }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "SecurityGroupEgress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" + }, + "type": "array" }, - "Tags": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.Tags" + "SecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" + }, + "type": "array" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.UserPoolConfig" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "XrayEnabled": { - "type": "boolean" + "VpcId": { + "type": "string" } }, "required": [ - "AuthenticationType", - "Name" + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLApi" + "AWS::EC2::SecurityGroup" ], "type": "string" }, @@ -12669,119 +10933,79 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider": { + "AWS::EC2::SecurityGroup.Egress": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "CidrIp": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "CidrIpv6": { + "type": "string" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.CognitoUserPoolConfig" - } - }, - "required": [ - "AuthenticationType" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.CognitoUserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + "Description": { "type": "string" }, - "AwsRegion": { + "DestinationPrefixListId": { "type": "string" }, - "UserPoolId": { + "DestinationSecurityGroupId": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AuthorizerResultTtlInSeconds": { + }, + "FromPort": { "type": "number" }, - "AuthorizerUri": { + "IpProtocol": { "type": "string" }, - "IdentityValidationExpression": { - "type": "string" + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLApi.LogConfig": { + "AWS::EC2::SecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "CloudWatchLogsRoleArn": { + "CidrIp": { "type": "string" }, - "ExcludeVerboseContent": { - "type": "boolean" - }, - "FieldLogLevel": { + "CidrIpv6": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.OpenIDConnectConfig": { - "additionalProperties": false, - "properties": { - "AuthTTL": { - "type": "number" }, - "ClientId": { + "Description": { "type": "string" }, - "IatTTL": { + "FromPort": { "type": "number" }, - "Issuer": { + "IpProtocol": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.Tags": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.UserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + }, + "SourcePrefixListId": { "type": "string" }, - "AwsRegion": { + "SourceSecurityGroupId": { "type": "string" }, - "DefaultAction": { + "SourceSecurityGroupName": { "type": "string" }, - "UserPoolId": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLSchema": { + "AWS::EC2::SecurityGroupEgress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12813,24 +11037,43 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "Definition": { + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { + "type": "string" + }, + "FromPort": { + "type": "number" + }, + "GroupId": { "type": "string" }, - "DefinitionS3Location": { + "IpProtocol": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId" + "GroupId", + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLSchema" + "AWS::EC2::SecurityGroupEgress" ], "type": "string" }, @@ -12849,7 +11092,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::Resolver": { + "AWS::EC2::SecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12881,53 +11124,51 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "CachingConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.CachingConfig" - }, - "DataSourceName": { + "CidrIpv6": { "type": "string" }, - "FieldName": { + "Description": { "type": "string" }, - "Kind": { - "type": "string" + "FromPort": { + "type": "number" }, - "PipelineConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.PipelineConfig" + "GroupId": { + "type": "string" }, - "RequestMappingTemplate": { + "GroupName": { "type": "string" }, - "RequestMappingTemplateS3Location": { + "IpProtocol": { "type": "string" }, - "ResponseMappingTemplate": { + "SourcePrefixListId": { "type": "string" }, - "ResponseMappingTemplateS3Location": { + "SourceSecurityGroupId": { "type": "string" }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.SyncConfig" + "SourceSecurityGroupName": { + "type": "string" }, - "TypeName": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId", - "FieldName", - "TypeName" + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::Resolver" + "AWS::EC2::SecurityGroupIngress" ], "type": "string" }, @@ -12946,61 +11187,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AppSync::Resolver.CachingConfig": { - "additionalProperties": false, - "properties": { - "CachingKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ttl": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.PipelineConfig": { - "additionalProperties": false, - "properties": { - "Functions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget": { + "AWS::EC2::SecurityGroupVpcAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13032,47 +11219,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "ScalableDimension": { + "GroupId": { "type": "string" }, - "ScheduledActions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction" - }, - "type": "array" - }, - "ServiceNamespace": { + "VpcId": { "type": "string" - }, - "SuspendedState": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "RoleARN", - "ScalableDimension", - "ServiceNamespace" + "GroupId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalableTarget" + "AWS::EC2::SecurityGroupVpcAssociation" ], "type": "string" }, @@ -13091,62 +11253,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "ScalableTargetAction": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "Schedule", - "ScheduledActionName" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState": { - "additionalProperties": false, - "properties": { - "DynamicScalingInSuspended": { - "type": "boolean" - }, - "DynamicScalingOutSuspended": { - "type": "boolean" - }, - "ScheduledScalingSuspended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy": { + "AWS::EC2::SnapshotBlockPublicAccess": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13178,40 +11285,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingTargetId": { - "type": "string" - }, - "ServiceNamespace": { + "State": { "type": "string" - }, - "StepScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration" } }, "required": [ - "PolicyName", - "PolicyType" + "State" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalingPolicy" + "AWS::EC2::SnapshotBlockPublicAccess" ], "type": "string" }, @@ -13230,136 +11315,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "Cooldown": { - "type": "number" - }, - "MetricAggregationType": { - "type": "string" - }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::ApplicationInsights::Application": { + "AWS::EC2::SpotFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13391,54 +11347,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentMonitoringSetting" - }, - "type": "array" - }, - "CustomComponents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.CustomComponent" - }, - "type": "array" - }, - "LogPatternSets": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPatternSet" - }, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "type": "string" - }, - "ResourceGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SpotFleetRequestConfigData": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" } }, "required": [ - "ResourceGroupName" + "SpotFleetRequestConfigData" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationInsights::Application" + "AWS::EC2::SpotFleet" ], "type": "string" }, @@ -13457,1405 +11377,716 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::ApplicationInsights::Application.Alarm": { + "AWS::EC2::SpotFleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "AlarmName": { - "type": "string" + "Max": { + "type": "number" }, - "Severity": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "AlarmName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.AlarmMetric": { + "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "AlarmMetricName": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, - "required": [ - "AlarmMetricName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentConfiguration": { + "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ConfigurationDetails" + "Max": { + "type": "number" }, - "SubComponentTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentTypeConfiguration" - }, - "type": "array" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentMonitoringSetting": { + "AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest": { + "additionalProperties": false, + "properties": { + "Cpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.CpuPerformanceFactorRequest" + } + }, + "type": "object" + }, + "AWS::EC2::SpotFleet.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "ComponentARN": { + "DeviceName": { "type": "string" }, - "ComponentConfigurationMode": { - "type": "string" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" }, - "ComponentName": { + "NoDevice": { "type": "string" }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "Tier": { + "VirtualName": { "type": "string" } }, "required": [ - "ComponentConfigurationMode", - "Tier" + "DeviceName" ], "type": "object" }, - "AWS::ApplicationInsights::Application.ConfigurationDetails": { + "AWS::EC2::SpotFleet.ClassicLoadBalancer": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Alarm" - }, - "type": "array" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.JMXPrometheusExporter" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Name": { + "type": "string" } }, + "required": [ + "Name" + ], "type": "object" }, - "AWS::ApplicationInsights::Application.CustomComponent": { + "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { "additionalProperties": false, "properties": { - "ComponentName": { - "type": "string" - }, - "ResourceList": { + "ClassicLoadBalancers": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" }, "type": "array" } }, "required": [ - "ComponentName", - "ResourceList" + "ClassicLoadBalancers" ], "type": "object" }, - "AWS::ApplicationInsights::Application.JMXPrometheusExporter": { + "AWS::EC2::SpotFleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.Log": { + "AWS::EC2::SpotFleet.EbsBlockDevice": { "additionalProperties": false, "properties": { - "Encoding": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "LogGroupName": { - "type": "string" + "Encrypted": { + "type": "boolean" }, - "LogPath": { - "type": "string" + "Iops": { + "type": "number" }, - "LogType": { + "SnapshotId": { "type": "string" }, - "PatternSet": { + "VolumeSize": { + "type": "number" + }, + "VolumeType": { "type": "string" } }, - "required": [ - "LogType" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPattern": { + "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "Pattern": { + "LaunchTemplateId": { "type": "string" }, - "PatternName": { + "LaunchTemplateName": { "type": "string" }, - "Rank": { - "type": "number" + "Version": { + "type": "string" } }, "required": [ - "Pattern", - "PatternName", - "Rank" + "Version" ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPatternSet": { + "AWS::EC2::SpotFleet.GroupIdentifier": { "additionalProperties": false, "properties": { - "LogPatterns": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPattern" - }, - "type": "array" - }, - "PatternSetName": { + "GroupId": { "type": "string" } }, "required": [ - "LogPatterns", - "PatternSetName" + "GroupId" ], "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentConfigurationDetails": { + "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Arn": { + "type": "string" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentTypeConfiguration": { + "AWS::EC2::SpotFleet.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentConfigurationDetails" - }, - "SubComponentType": { + "Ipv6Address": { "type": "string" } }, "required": [ - "SubComponentConfigurationDetails", - "SubComponentType" + "Ipv6Address" ], "type": "object" }, - "AWS::ApplicationInsights::Application.WindowsEvent": { + "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { "additionalProperties": false, "properties": { - "EventLevels": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "EventName": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "LogGroupName": { + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" + }, + "type": "array" + }, + "NetworkInterfaceId": { "type": "string" }, - "PatternSet": { + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { "type": "string" } }, - "required": [ - "EventLevels", - "EventName", - "LogGroupName" - ], "type": "object" }, - "AWS::Athena::DataCatalog": { + "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" }, - "Metadata": { - "type": "object" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Athena::DataCatalog" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::NamedQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BurstablePerformance": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } + "InstanceGenerations": { + "items": { + "type": "string" }, - "required": [ - "Database", - "QueryString" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Athena::NamedQuery" - ], + "LocalStorage": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::PreparedStatement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "QueryStatement": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } - }, - "required": [ - "QueryStatement", - "StatementName", - "WorkGroup" - ], - "type": "object" + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" }, - "Type": { - "enum": [ - "AWS::Athena::PreparedStatement" - ], - "type": "string" + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::WorkGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "RequireHibernateSupport": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecursiveDeleteOption": { - "type": "boolean" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkGroupConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfiguration" - }, - "WorkGroupConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates" - } - }, - "required": [ - "Name" - ], - "type": "object" + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Athena::WorkGroup" - ], - "type": "string" + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EncryptionConfiguration": { + "AWS::EC2::SpotFleet.LaunchTemplateConfig": { "additionalProperties": false, "properties": { - "EncryptionOption": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" }, - "KmsKey": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" + }, + "type": "array" } }, - "required": [ - "EncryptionOption" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EngineVersion": { + "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "EffectiveEngineVersion": { + "AvailabilityZone": { + "type": "string" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "SpotPrice": { "type": "string" }, - "SelectedEngineVersion": { + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfiguration": { + "AWS::EC2::SpotFleet.LoadBalancersConfig": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" + "ClassicLoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" }, - "OutputLocation": { - "type": "string" + "TargetGroupsConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfigurationUpdates": { + "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" - }, - "OutputLocation": { - "type": "string" - }, - "RemoveEncryptionConfiguration": { - "type": "boolean" + "Max": { + "type": "number" }, - "RemoveOutputLocation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfiguration": { + "AWS::EC2::SpotFleet.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfiguration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates": { + "AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RemoveBytesScannedCutoffPerQuery": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfigurationUpdates" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment": { + "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentReportsDestination": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AssessmentReportsDestination" - }, - "AwsAccount": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "Description": { - "type": "string" - }, - "FrameworkId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Roles": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Role" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Scope" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AuditManager::Assessment" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AuditManager::Assessment.AWSAccount": { + "AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest": { "additionalProperties": false, "properties": { - "EmailAddress": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, "type": "object" }, - "AWS::AuditManager::Assessment.AWSService": { + "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ServiceName": { + "Primary": { + "type": "boolean" + }, + "PrivateIpAddress": { "type": "string" } }, + "required": [ + "PrivateIpAddress" + ], "type": "object" }, - "AWS::AuditManager::Assessment.AssessmentReportsDestination": { + "AWS::EC2::SpotFleet.SpotCapacityRebalance": { "additionalProperties": false, "properties": { - "Destination": { + "ReplacementStrategy": { "type": "string" }, - "DestinationType": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Delegation": { + "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { "additionalProperties": false, "properties": { - "AssessmentId": { - "type": "string" + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" + }, + "type": "array" + }, + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" }, - "AssessmentName": { + "ImageId": { "type": "string" }, - "Comment": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { "type": "string" }, - "ControlSetId": { + "KernelId": { "type": "string" }, - "CreatedBy": { + "KeyName": { "type": "string" }, - "CreationTime": { - "type": "number" + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" }, - "Id": { + "NetworkInterfaces": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" + }, + "type": "array" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" + }, + "RamdiskId": { "type": "string" }, - "LastUpdated": { - "type": "number" + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" + }, + "type": "array" }, - "RoleArn": { + "SpotPrice": { "type": "string" }, - "RoleType": { + "SubnetId": { "type": "string" }, - "Status": { + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" + }, + "type": "array" + }, + "UserData": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, + "required": [ + "ImageId" + ], "type": "object" }, - "AWS::AuditManager::Assessment.Role": { + "AWS::EC2::SpotFleet.SpotFleetMonitoring": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "RoleType": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Scope": { - "additionalProperties": false, - "properties": { - "AwsAccounts": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "type": "array" - }, - "AwsServices": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSService" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup": { + "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CapacityRebalance": { - "type": "boolean" - }, - "Context": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "DesiredCapacity": { - "type": "string" - }, - "DesiredCapacityType": { - "type": "string" - }, - "HealthCheckGracePeriod": { - "type": "number" - }, - "HealthCheckType": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LaunchConfigurationName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "LifecycleHookSpecificationList": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" - }, - "type": "array" - }, - "LoadBalancerNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxInstanceLifetime": { - "type": "number" - }, - "MaxSize": { - "type": "string" - }, - "MetricsCollection": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" - }, - "type": "array" - }, - "MinSize": { - "type": "string" - }, - "MixedInstancesPolicy": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - }, - "NotificationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" - }, - "type": "array" - }, - "PlacementGroup": { - "type": "string" - }, - "ServiceLinkedRoleARN": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" - }, - "type": "array" - }, - "TargetGroupARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TerminationPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VPCZoneIdentifier": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AutoScaling::AutoScalingGroup" - ], + "Context": { "type": "string" }, - "UpdatePolicy": { - "type": "object" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ExcessCapacityTerminationPolicy": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "IamFleetRole": { + "type": "string" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "InstanceInterruptionBehavior": { + "type": "string" }, - "Min": { + "InstancePoolsToUseCount": { "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" }, - "AcceleratorNames": { + "LaunchSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" }, "type": "array" }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { + "LaunchTemplateConfigs": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" }, "type": "array" }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" + "LoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" }, - "BurstablePerformance": { + "OnDemandAllocationStrategy": { "type": "string" }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { + "OnDemandMaxTotalPrice": { "type": "string" }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { + "OnDemandTargetCapacity": { "type": "number" }, - "RequireHibernateSupport": { + "ReplaceUnhealthyInstances": { "type": "boolean" }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { - "additionalProperties": false, - "properties": { - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandBaseCapacity": { - "type": "number" - }, - "OnDemandPercentageAboveBaseCapacity": { - "type": "number" + "SpotMaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" }, - "SpotAllocationStrategy": { + "SpotMaxTotalPrice": { "type": "string" }, - "SpotInstancePools": { - "type": "number" - }, - "SpotMaxPrice": { + "SpotPrice": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "Overrides": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" }, "type": "array" - } - }, - "required": [ - "LaunchTemplateSpecification" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "InstanceRequirements": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" - }, - "InstanceType": { - "type": "string" - }, - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { - "additionalProperties": false, - "properties": { - "DefaultResult": { - "type": "string" }, - "HeartbeatTimeout": { + "TargetCapacity": { "type": "number" }, - "LifecycleHookName": { + "TargetCapacityUnitType": { "type": "string" }, - "LifecycleTransition": { - "type": "string" + "TerminateInstancesWithExpiration": { + "type": "boolean" }, - "NotificationMetadata": { + "Type": { "type": "string" }, - "NotificationTargetARN": { + "ValidFrom": { "type": "string" }, - "RoleARN": { + "ValidUntil": { "type": "string" } }, "required": [ - "LifecycleHookName", - "LifecycleTransition" + "IamFleetRole", + "TargetCapacity" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { + "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { "additionalProperties": false, "properties": { - "Granularity": { + "ResourceType": { "type": "string" }, - "Metrics": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "Granularity" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { + "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { "additionalProperties": false, "properties": { - "InstancesDistribution": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" } }, - "required": [ - "LaunchTemplate" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "AWS::EC2::SpotFleet.SpotPlacement": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "AvailabilityZone": { + "type": "string" }, - "Min": { - "type": "number" + "GroupName": { + "type": "string" + }, + "Tenancy": { + "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "AWS::EC2::SpotFleet.TargetGroup": { "additionalProperties": false, "properties": { - "NotificationTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TopicARN": { + "Arn": { "type": "string" } }, "required": [ - "TopicARN" + "Arn" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "AWS::EC2::SpotFleet.TargetGroupsConfig": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "PropagateAtLaunch": { - "type": "boolean" - }, - "Value": { - "type": "string" + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" + }, + "type": "array" } }, "required": [ - "Key", - "PropagateAtLaunch", - "Value" + "TargetGroups" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14867,7 +12098,7 @@ var SamSchema = `{ }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14879,7 +12110,7 @@ var SamSchema = `{ }, "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration": { + "AWS::EC2::Subnet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -14911,82 +12142,69 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { + "AssignIpv6AddressOnCreation": { "type": "boolean" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" - }, - "type": "array" + "AvailabilityZone": { + "type": "string" }, - "ClassicLinkVPCId": { + "AvailabilityZoneId": { "type": "string" }, - "ClassicLinkVPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "EbsOptimized": { + "EnableDns64": { "type": "boolean" }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" + "EnableLniAtDeviceIndex": { + "type": "number" }, - "InstanceId": { + "Ipv4IpamPoolId": { "type": "string" }, - "InstanceMonitoring": { - "type": "boolean" + "Ipv4NetmaskLength": { + "type": "number" }, - "InstanceType": { + "Ipv6CidrBlock": { "type": "string" }, - "KernelId": { + "Ipv6IpamPoolId": { "type": "string" }, - "KeyName": { - "type": "string" + "Ipv6Native": { + "type": "boolean" }, - "LaunchConfigurationName": { - "type": "string" + "Ipv6NetmaskLength": { + "type": "number" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + "MapPublicIpOnLaunch": { + "type": "boolean" }, - "PlacementTenancy": { + "OutpostArn": { "type": "string" }, - "RamDiskId": { - "type": "string" + "PrivateDnsNameOptionsOnLaunch": { + "$ref": "#/definitions/AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch" }, - "SecurityGroups": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SpotPrice": { - "type": "string" - }, - "UserData": { + "VpcId": { "type": "string" } }, "required": [ - "ImageId", - "InstanceType" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LaunchConfiguration" + "AWS::EC2::Subnet" ], "type": "string" }, @@ -15005,70 +12223,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { + "AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { + "EnableResourceNameDnsAAAARecord": { "type": "boolean" }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" - }, - "NoDevice": { + "EnableResourceNameDnsARecord": { "type": "boolean" }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "HostnameType": { "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::LifecycleHook": { + "AWS::EC2::SubnetCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15100,40 +12270,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Ipv6CidrBlock": { "type": "string" }, - "DefaultResult": { + "Ipv6IpamPoolId": { "type": "string" }, - "HeartbeatTimeout": { + "Ipv6NetmaskLength": { "type": "number" }, - "LifecycleHookName": { - "type": "string" - }, - "LifecycleTransition": { - "type": "string" - }, - "NotificationMetadata": { - "type": "string" - }, - "NotificationTargetARN": { - "type": "string" - }, - "RoleARN": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName", - "LifecycleTransition" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LifecycleHook" + "AWS::EC2::SubnetCidrBlock" ], "type": "string" }, @@ -15152,7 +12309,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy": { + "AWS::EC2::SubnetNetworkAclAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15184,51 +12341,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdjustmentType": { - "type": "string" - }, - "AutoScalingGroupName": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "MetricAggregationType": { + "NetworkAclId": { "type": "string" }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "PolicyType": { + "SubnetId": { "type": "string" - }, - "PredictiveScalingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" - }, - "ScalingAdjustment": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoScalingGroupName" + "NetworkAclId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScalingPolicy" + "AWS::EC2::SubnetNetworkAclAssociation" ], "type": "string" }, @@ -15247,199 +12375,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacityBreachBehavior": { - "type": "string" - }, - "MaxCapacityBuffer": { - "type": "number" - }, - "MetricSpecifications": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" - }, - "type": "array" - }, - "Mode": { - "type": "string" - }, - "SchedulingBufferTime": { - "type": "number" - } - }, - "required": [ - "MetricSpecifications" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" - }, - "PredefinedMetricPairSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScheduledAction": { + "AWS::EC2::SubnetRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15471,39 +12407,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "DesiredCapacity": { - "type": "number" - }, - "EndTime": { - "type": "string" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "Recurrence": { - "type": "string" - }, - "StartTime": { + "RouteTableId": { "type": "string" }, - "TimeZone": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName" + "RouteTableId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScheduledAction" + "AWS::EC2::SubnetRouteTableAssociation" ], "type": "string" }, @@ -15522,7 +12441,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AutoScaling::WarmPool": { + "AWS::EC2::TrafficMirrorFilter": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15554,27 +12473,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Description": { "type": "string" }, - "MaxGroupPreparedCapacity": { - "type": "number" - }, - "MinSize": { - "type": "number" + "NetworkServices": { + "items": { + "type": "string" + }, + "type": "array" }, - "PoolState": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "AutoScalingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::WarmPool" + "AWS::EC2::TrafficMirrorFilter" ], "type": "string" }, @@ -15588,12 +12507,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan": { + "AWS::EC2::TrafficMirrorFilterRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15625,25 +12543,56 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ApplicationSource": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ApplicationSource" + "Description": { + "type": "string" + }, + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Protocol": { + "type": "number" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + }, + "SourceCidrBlock": { + "type": "string" + }, + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" }, - "ScalingInstructions": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TrafficDirection": { + "type": "string" + }, + "TrafficMirrorFilterId": { + "type": "string" } }, "required": [ - "ApplicationSource", - "ScalingInstructions" + "DestinationCidrBlock", + "RuleAction", + "RuleNumber", + "SourceCidrBlock", + "TrafficDirection", + "TrafficMirrorFilterId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScalingPlans::ScalingPlan" + "AWS::EC2::TrafficMirrorFilterRule" ], "type": "string" }, @@ -15662,233 +12611,112 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.ApplicationSource": { - "additionalProperties": false, - "properties": { - "CloudFormationStackARN": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification": { + "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { "additionalProperties": false, "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" + "FromPort": { + "type": "number" }, - "Unit": { - "type": "string" + "ToPort": { + "type": "number" } }, "required": [ - "MetricName", - "Namespace", - "Statistic" + "FromPort", + "ToPort" ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification": { + "AWS::EC2::TrafficMirrorSession": { "additionalProperties": false, "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedLoadMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedScalingMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedScalingMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction": { - "additionalProperties": false, - "properties": { - "CustomizedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification" - }, - "DisableDynamicScaling": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification" - }, - "PredictiveScalingMaxCapacityBehavior": { - "type": "string" - }, - "PredictiveScalingMaxCapacityBuffer": { - "type": "number" - }, - "PredictiveScalingMode": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ScalingPolicyUpdateBehavior": { - "type": "string" + "Metadata": { + "type": "object" }, - "ScheduledActionBufferTime": { - "type": "number" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PacketLength": { + "type": "number" + }, + "SessionNumber": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficMirrorFilterId": { + "type": "string" + }, + "TrafficMirrorTargetId": { + "type": "string" + }, + "VirtualNetworkId": { + "type": "number" + } + }, + "required": [ + "NetworkInterfaceId", + "SessionNumber", + "TrafficMirrorFilterId", + "TrafficMirrorTargetId" + ], + "type": "object" }, - "ServiceNamespace": { + "Type": { + "enum": [ + "AWS::EC2::TrafficMirrorSession" + ], "type": "string" }, - "TargetTrackingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration" - }, - "type": "array" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "ScalableDimension", - "ServiceNamespace", - "TargetTrackingConfigurations" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" } }, "required": [ - "TargetValue" + "Type", + "Properties" ], "type": "object" }, - "AWS::Backup::BackupPlan": { + "AWS::EC2::TrafficMirrorTarget": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15920,27 +12748,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BackupPlan": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupPlanResourceType" + "Description": { + "type": "string" }, - "BackupPlanTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "GatewayLoadBalancerEndpointId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "NetworkLoadBalancerArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" } }, - "required": [ - "BackupPlan" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupPlan" + "AWS::EC2::TrafficMirrorTarget" ], "type": "string" }, @@ -15954,126 +12785,111 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType": { - "additionalProperties": false, - "properties": { - "BackupOptions": { - "type": "object" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "BackupOptions", - "ResourceType" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.BackupPlanResourceType": { + "AWS::EC2::TransitGateway": { "additionalProperties": false, "properties": { - "AdvancedBackupSettings": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType" - }, - "type": "array" - }, - "BackupPlanName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BackupPlanRule": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupRuleResourceType" - }, - "type": "array" - } - }, - "required": [ - "BackupPlanName", - "BackupPlanRule" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupRuleResourceType": { - "additionalProperties": false, - "properties": { - "CompletionWindowMinutes": { - "type": "number" - }, - "CopyActions": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.CopyActionResourceType" - }, - "type": "array" - }, - "EnableContinuousBackup": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" + "Metadata": { + "type": "object" }, - "RecoveryPointTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { + "Properties": { + "additionalProperties": false, + "properties": { + "AmazonSideAsn": { + "type": "number" + }, + "AssociationDefaultRouteTableId": { + "type": "string" + }, + "AutoAcceptSharedAttachments": { + "type": "string" + }, + "DefaultRouteTableAssociation": { + "type": "string" + }, + "DefaultRouteTablePropagation": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DnsSupport": { + "type": "string" + }, + "MulticastSupport": { + "type": "string" + }, + "PropagationDefaultRouteTableId": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayCidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpnEcmpSupport": { "type": "string" } }, "type": "object" }, - "RuleName": { - "type": "string" - }, - "ScheduleExpression": { + "Type": { + "enum": [ + "AWS::EC2::TransitGateway" + ], "type": "string" }, - "StartWindowMinutes": { - "type": "number" - }, - "TargetBackupVault": { - "type": "string" - } - }, - "required": [ - "RuleName", - "TargetBackupVault" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.CopyActionResourceType": { - "additionalProperties": false, - "properties": { - "DestinationBackupVaultArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" } }, "required": [ - "DestinationBackupVaultArn" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.LifecycleResourceType": { - "additionalProperties": false, - "properties": { - "DeleteAfterDays": { - "type": "number" - }, - "MoveToColdStorageAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Backup::BackupSelection": { + "AWS::EC2::TransitGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16105,22 +12921,38 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BackupPlanId": { + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment.Options" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "BackupSelection": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.BackupSelectionResourceType" + "VpcId": { + "type": "string" } }, "required": [ - "BackupPlanId", - "BackupSelection" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupSelection" + "AWS::EC2::TransitGatewayAttachment" ], "type": "string" }, @@ -16139,64 +12971,25 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Backup::BackupSelection.BackupSelectionResourceType": { + "AWS::EC2::TransitGatewayAttachment.Options": { "additionalProperties": false, "properties": { - "Conditions": { - "type": "object" - }, - "IamRoleArn": { + "ApplianceModeSupport": { "type": "string" }, - "ListOfTags": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.ConditionResourceType" - }, - "type": "array" - }, - "NotResources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelectionName": { - "type": "string" - } - }, - "required": [ - "IamRoleArn", - "SelectionName" - ], - "type": "object" - }, - "AWS::Backup::BackupSelection.ConditionResourceType": { - "additionalProperties": false, - "properties": { - "ConditionKey": { + "DnsSupport": { "type": "string" }, - "ConditionType": { + "Ipv6Support": { "type": "string" }, - "ConditionValue": { + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "ConditionKey", - "ConditionType", - "ConditionValue" - ], "type": "object" }, - "AWS::Backup::BackupVault": { + "AWS::EC2::TransitGatewayConnect": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16228,39 +13021,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessPolicy": { - "type": "object" - }, - "BackupVaultName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" }, - "BackupVaultTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "EncryptionKeyArn": { + "TransportTransitGatewayAttachmentId": { "type": "string" - }, - "LockConfiguration": { - "$ref": "#/definitions/AWS::Backup::BackupVault.LockConfigurationType" - }, - "Notifications": { - "$ref": "#/definitions/AWS::Backup::BackupVault.NotificationObjectType" } }, "required": [ - "BackupVaultName" + "Options", + "TransportTransitGatewayAttachmentId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupVault" + "AWS::EC2::TransitGatewayConnect" ], "type": "string" }, @@ -16279,44 +13061,16 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Backup::BackupVault.LockConfigurationType": { - "additionalProperties": false, - "properties": { - "ChangeableForDays": { - "type": "number" - }, - "MaxRetentionDays": { - "type": "number" - }, - "MinRetentionDays": { - "type": "number" - } - }, - "required": [ - "MinRetentionDays" - ], - "type": "object" - }, - "AWS::Backup::BackupVault.NotificationObjectType": { + "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { "additionalProperties": false, "properties": { - "BackupVaultEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SNSTopicArn": { + "Protocol": { "type": "string" } }, - "required": [ - "BackupVaultEvents", - "SNSTopicArn" - ], "type": "object" }, - "AWS::Backup::Framework": { + "AWS::EC2::TransitGatewayMulticastDomain": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16348,33 +13102,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FrameworkControls": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.FrameworkControl" - }, - "type": "array" - }, - "FrameworkDescription": { - "type": "string" - }, - "FrameworkName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain.Options" }, - "FrameworkTags": { + "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "FrameworkControls" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::Framework" + "AWS::EC2::TransitGatewayMulticastDomain" ], "type": "string" }, @@ -16393,44 +13141,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Backup::Framework.ControlInputParameter": { + "AWS::EC2::TransitGatewayMulticastDomain.Options": { "additionalProperties": false, "properties": { - "ParameterName": { + "AutoAcceptSharedAssociations": { "type": "string" }, - "ParameterValue": { + "Igmpv2Support": { "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Backup::Framework.FrameworkControl": { - "additionalProperties": false, - "properties": { - "ControlInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.ControlInputParameter" - }, - "type": "array" }, - "ControlName": { + "StaticSourcesSupport": { "type": "string" - }, - "ControlScope": { - "type": "object" } }, - "required": [ - "ControlName" - ], "type": "object" }, - "AWS::Backup::ReportPlan": { + "AWS::EC2::TransitGatewayMulticastDomainAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16462,34 +13188,26 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ReportDeliveryChannel": { - "type": "object" - }, - "ReportPlanDescription": { + "SubnetId": { "type": "string" }, - "ReportPlanName": { + "TransitGatewayAttachmentId": { "type": "string" }, - "ReportPlanTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ReportSetting": { - "type": "object" + "TransitGatewayMulticastDomainId": { + "type": "string" } }, "required": [ - "ReportDeliveryChannel", - "ReportSetting" + "SubnetId", + "TransitGatewayAttachmentId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::ReportPlan" + "AWS::EC2::TransitGatewayMulticastDomainAssociation" ], "type": "string" }, @@ -16508,7 +13226,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment": { + "AWS::EC2::TransitGatewayMulticastGroupMember": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16540,36 +13258,26 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentName": { - "type": "string" - }, - "ComputeResources": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.ComputeResources" - }, - "ServiceRole": { + "GroupIpAddress": { "type": "string" }, - "State": { + "NetworkInterfaceId": { "type": "string" }, - "Tags": { - "type": "object" - }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" - }, - "UnmanagedvCpus": { - "type": "number" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::ComputeEnvironment" + "AWS::EC2::TransitGatewayMulticastGroupMember" ], "type": "string" }, @@ -16588,111 +13296,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment.ComputeResources": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BidPercentage": { - "type": "number" - }, - "DesiredvCpus": { - "type": "number" - }, - "Ec2Configuration": { - "items": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject" - }, - "type": "array" - }, - "Ec2KeyPair": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification" - }, - "MaxvCpus": { - "type": "number" - }, - "MinvCpus": { - "type": "number" - }, - "PlacementGroup": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpotIamFleetRole": { - "type": "string" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "MaxvCpus", - "Subnets", - "Type" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject": { - "additionalProperties": false, - "properties": { - "ImageIdOverride": { - "type": "string" - }, - "ImageType": { - "type": "string" - } - }, - "required": [ - "ImageType" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition": { + "AWS::EC2::TransitGatewayMulticastGroupSource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16724,51 +13328,26 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ContainerProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "JobDefinitionName": { + "GroupIpAddress": { "type": "string" }, - "NodeProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeProperties" - }, - "Parameters": { - "type": "object" - }, - "PlatformCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PropagateTags": { - "type": "boolean" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.RetryStrategy" - }, - "SchedulingPriority": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Timeout" + "NetworkInterfaceId": { + "type": "string" }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobDefinition" + "AWS::EC2::TransitGatewayMulticastGroupSource" ], "type": "string" }, @@ -16787,424 +13366,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Batch::JobDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "Iam": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.ContainerProperties": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Environment" - }, - "type": "array" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FargatePlatformConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.FargatePlatformConfiguration" - }, - "Image": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobRoleArn": { - "type": "string" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.MountPoints" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NetworkConfiguration" - }, - "Privileged": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "Vcpus": { - "type": "number" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Volumes" - }, - "type": "array" - } - }, - "required": [ - "Image" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EfsVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.AuthorizationConfig" - }, - "FileSystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Environment": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EvaluateOnExit": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "OnExitCode": { - "type": "string" - }, - "OnReason": { - "type": "string" - }, - "OnStatusReason": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.FargatePlatformConfiguration": { - "additionalProperties": false, - "properties": { - "PlatformVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.MountPoints": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeProperties": { - "additionalProperties": false, - "properties": { - "MainNode": { - "type": "number" - }, - "NodeRangeProperties": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeRangeProperty" - }, - "type": "array" - }, - "NumNodes": { - "type": "number" - } - }, - "required": [ - "MainNode", - "NodeRangeProperties", - "NumNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeRangeProperty": { - "additionalProperties": false, - "properties": { - "Container": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "TargetNodes": { - "type": "string" - } - }, - "required": [ - "TargetNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.RetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - }, - "EvaluateOnExit": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EvaluateOnExit" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Timeout": { - "additionalProperties": false, - "properties": { - "AttemptDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "ContainerPath", - "Size" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Volumes": { - "additionalProperties": false, - "properties": { - "EfsVolumeConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EfsVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.VolumesHost" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.VolumesHost": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobQueue": { + "AWS::EC2::TransitGatewayPeeringAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17236,37 +13398,36 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentOrder": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobQueue.ComputeEnvironmentOrder" - }, - "type": "array" - }, - "JobQueueName": { + "PeerAccountId": { "type": "string" }, - "Priority": { - "type": "number" - }, - "SchedulingPolicyArn": { + "PeerRegion": { "type": "string" }, - "State": { + "PeerTransitGatewayId": { "type": "string" }, "Tags": { - "type": "object" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "ComputeEnvironmentOrder", - "Priority" + "PeerAccountId", + "PeerRegion", + "PeerTransitGatewayId", + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobQueue" + "AWS::EC2::TransitGatewayPeeringAttachment" ], "type": "string" }, @@ -17285,23 +13446,19 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Batch::JobQueue.ComputeEnvironmentOrder": { + "AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus": { "additionalProperties": false, "properties": { - "ComputeEnvironment": { + "Code": { "type": "string" }, - "Order": { - "type": "number" + "Message": { + "type": "string" } }, - "required": [ - "ComputeEnvironment", - "Order" - ], "type": "object" }, - "AWS::Batch::SchedulingPolicy": { + "AWS::EC2::TransitGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17333,27 +13490,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "FairsharePolicy": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.FairsharePolicy" + "Blackhole": { + "type": "boolean" }, - "Name": { + "DestinationCidrBlock": { "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TransitGatewayAttachmentId": { + "type": "string" + }, + "TransitGatewayRouteTableId": { + "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "TransitGatewayRouteTableId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::SchedulingPolicy" + "AWS::EC2::TransitGatewayRoute" ], "type": "string" }, @@ -17367,41 +13525,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Batch::SchedulingPolicy.FairsharePolicy": { - "additionalProperties": false, - "properties": { - "ComputeReservation": { - "type": "number" - }, - "ShareDecaySeconds": { - "type": "number" - }, - "ShareDistribution": { - "items": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.ShareAttributes" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::SchedulingPolicy.ShareAttributes": { - "additionalProperties": false, - "properties": { - "ShareIdentifier": { - "type": "string" - }, - "WeightFactor": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget": { + "AWS::EC2::TransitGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17433,24 +13562,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Budget": { - "$ref": "#/definitions/AWS::Budgets::Budget.BudgetData" - }, - "NotificationsWithSubscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.NotificationWithSubscribers" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "Budget" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::Budget" + "AWS::EC2::TransitGatewayRouteTable" ], "type": "string" }, @@ -17469,166 +13598,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Budgets::Budget.BudgetData": { - "additionalProperties": false, - "properties": { - "BudgetLimit": { - "$ref": "#/definitions/AWS::Budgets::Budget.Spend" - }, - "BudgetName": { - "type": "string" - }, - "BudgetType": { - "type": "string" - }, - "CostFilters": { - "type": "object" - }, - "CostTypes": { - "$ref": "#/definitions/AWS::Budgets::Budget.CostTypes" - }, - "PlannedBudgetLimits": { - "type": "object" - }, - "TimePeriod": { - "$ref": "#/definitions/AWS::Budgets::Budget.TimePeriod" - }, - "TimeUnit": { - "type": "string" - } - }, - "required": [ - "BudgetType", - "TimeUnit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.CostTypes": { - "additionalProperties": false, - "properties": { - "IncludeCredit": { - "type": "boolean" - }, - "IncludeDiscount": { - "type": "boolean" - }, - "IncludeOtherSubscription": { - "type": "boolean" - }, - "IncludeRecurring": { - "type": "boolean" - }, - "IncludeRefund": { - "type": "boolean" - }, - "IncludeSubscription": { - "type": "boolean" - }, - "IncludeSupport": { - "type": "boolean" - }, - "IncludeTax": { - "type": "boolean" - }, - "IncludeUpfront": { - "type": "boolean" - }, - "UseAmortized": { - "type": "boolean" - }, - "UseBlended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget.Notification": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "NotificationType": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "ThresholdType": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "NotificationType", - "Threshold" - ], - "type": "object" - }, - "AWS::Budgets::Budget.NotificationWithSubscribers": { - "additionalProperties": false, - "properties": { - "Notification": { - "$ref": "#/definitions/AWS::Budgets::Budget.Notification" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.Subscriber" - }, - "type": "array" - } - }, - "required": [ - "Notification", - "Subscribers" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Spend": { - "additionalProperties": false, - "properties": { - "Amount": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Amount", - "Unit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "SubscriptionType": { - "type": "string" - } - }, - "required": [ - "Address", - "SubscriptionType" - ], - "type": "object" - }, - "AWS::Budgets::Budget.TimePeriod": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction": { + "AWS::EC2::TransitGatewayRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17660,48 +13630,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionThreshold": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ActionThreshold" - }, - "ActionType": { - "type": "string" - }, - "ApprovalModel": { - "type": "string" - }, - "BudgetName": { - "type": "string" - }, - "Definition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Definition" - }, - "ExecutionRoleArn": { + "TransitGatewayAttachmentId": { "type": "string" }, - "NotificationType": { + "TransitGatewayRouteTableId": { "type": "string" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Subscriber" - }, - "type": "array" } }, "required": [ - "ActionThreshold", - "ActionType", - "BudgetName", - "Definition", - "ExecutionRoleArn", - "NotificationType", - "Subscribers" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::BudgetsAction" + "AWS::EC2::TransitGatewayRouteTableAssociation" ], "type": "string" }, @@ -17720,126 +13664,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Budgets::BudgetsAction.ActionThreshold": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Definition": { - "additionalProperties": false, - "properties": { - "IamActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.IamActionDefinition" - }, - "ScpActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ScpActionDefinition" - }, - "SsmActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.SsmActionDefinition" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction.IamActionDefinition": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyArn": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyArn" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.ScpActionDefinition": { - "additionalProperties": false, - "properties": { - "PolicyId": { - "type": "string" - }, - "TargetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyId", - "TargetIds" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.SsmActionDefinition": { - "additionalProperties": false, - "properties": { - "InstanceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - }, - "Subtype": { - "type": "string" - } - }, - "required": [ - "InstanceIds", - "Region", - "Subtype" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Address", - "Type" - ], - "type": "object" - }, - "AWS::CE::AnomalyMonitor": { + "AWS::EC2::TransitGatewayRouteTablePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17871,28 +13696,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MonitorDimension": { - "type": "string" - }, - "MonitorName": { - "type": "string" - }, - "MonitorSpecification": { + "TransitGatewayAttachmentId": { "type": "string" }, - "MonitorType": { + "TransitGatewayRouteTableId": { "type": "string" } }, "required": [ - "MonitorName", - "MonitorType" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalyMonitor" + "AWS::EC2::TransitGatewayRouteTablePropagation" ], "type": "string" }, @@ -17911,7 +13730,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CE::AnomalySubscription": { + "AWS::EC2::TransitGatewayVpcAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17943,40 +13762,50 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Frequency": { - "type": "string" + "AddSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment.Options" + }, + "RemoveSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "MonitorArnList": { + "SubnetIds": { "items": { "type": "string" }, "type": "array" }, - "Subscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CE::AnomalySubscription.Subscriber" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SubscriptionName": { + "TransitGatewayId": { "type": "string" }, - "Threshold": { - "type": "number" + "VpcId": { + "type": "string" } }, "required": [ - "Frequency", - "MonitorArnList", - "Subscribers", - "SubscriptionName", - "Threshold" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalySubscription" + "AWS::EC2::TransitGatewayVpcAttachment" ], "type": "string" }, @@ -17995,26 +13824,25 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CE::AnomalySubscription.Subscriber": { + "AWS::EC2::TransitGatewayVpcAttachment.Options": { "additionalProperties": false, "properties": { - "Address": { + "ApplianceModeSupport": { "type": "string" }, - "Status": { + "DnsSupport": { "type": "string" }, - "Type": { + "Ipv6Support": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "Address", - "Type" - ], "type": "object" }, - "AWS::CE::CostCategory": { + "AWS::EC2::VPC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18046,32 +13874,36 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DefaultValue": { + "CidrBlock": { "type": "string" }, - "Name": { - "type": "string" + "EnableDnsHostnames": { + "type": "boolean" }, - "RuleVersion": { - "type": "string" + "EnableDnsSupport": { + "type": "boolean" }, - "Rules": { + "InstanceTenancy": { "type": "string" }, - "SplitChargeRules": { + "Ipv4IpamPoolId": { "type": "string" + }, + "Ipv4NetmaskLength": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name", - "RuleVersion", - "Rules" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::CostCategory" + "AWS::EC2::VPC" ], "type": "string" }, @@ -18085,12 +13917,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CUR::ReportDefinition": { + "AWS::EC2::VPCBlockPublicAccessExclusion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18122,65 +13953,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdditionalArtifacts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSchemaElements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BillingViewArn": { - "type": "string" - }, - "Compression": { - "type": "string" - }, - "Format": { + "InternetGatewayExclusionMode": { "type": "string" }, - "RefreshClosedReports": { - "type": "boolean" - }, - "ReportName": { - "type": "string" - }, - "ReportVersioning": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { + "SubnetId": { "type": "string" }, - "S3Region": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeUnit": { + "VpcId": { "type": "string" } }, "required": [ - "Compression", - "Format", - "RefreshClosedReports", - "ReportName", - "ReportVersioning", - "S3Bucket", - "S3Prefix", - "S3Region", - "TimeUnit" + "InternetGatewayExclusionMode" ], "type": "object" }, "Type": { "enum": [ - "AWS::CUR::ReportDefinition" + "AWS::EC2::VPCBlockPublicAccessExclusion" ], "type": "string" }, @@ -18199,7 +13995,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cassandra::Keyspace": { + "AWS::EC2::VPCBlockPublicAccessOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18231,21 +14027,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyspaceName": { + "InternetGatewayBlockMode": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "InternetGatewayBlockMode" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Keyspace" + "AWS::EC2::VPCBlockPublicAccessOptions" ], "type": "string" }, @@ -18259,11 +14052,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Cassandra::Table": { + "AWS::EC2::VPCCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18295,58 +14089,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BillingMode": { - "$ref": "#/definitions/AWS::Cassandra::Table.BillingMode" + "AmazonProvidedIpv6CidrBlock": { + "type": "boolean" }, - "ClusteringKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.ClusteringKeyColumn" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "DefaultTimeToLive": { - "type": "number" + "Ipv4IpamPoolId": { + "type": "string" }, - "EncryptionSpecification": { - "$ref": "#/definitions/AWS::Cassandra::Table.EncryptionSpecification" + "Ipv4NetmaskLength": { + "type": "number" }, - "KeyspaceName": { + "Ipv6CidrBlock": { "type": "string" }, - "PartitionKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6CidrBlockNetworkBorderGroup": { + "type": "string" }, - "PointInTimeRecoveryEnabled": { - "type": "boolean" + "Ipv6IpamPoolId": { + "type": "string" }, - "RegularColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6NetmaskLength": { + "type": "number" }, - "TableName": { + "Ipv6Pool": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcId": { + "type": "string" } }, "required": [ - "KeyspaceName", - "PartitionKeyColumns" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Table" + "AWS::EC2::VPCCidrBlock" ], "type": "string" }, @@ -18365,84 +14146,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cassandra::Table.BillingMode": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Cassandra::Table.ProvisionedThroughput" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ClusteringKeyColumn": { - "additionalProperties": false, - "properties": { - "Column": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "OrderBy": { - "type": "string" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Cassandra::Table.Column": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "ColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "ColumnType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.EncryptionSpecification": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKeyIdentifier": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::CertificateManager::Account": { + "AWS::EC2::VPCDHCPOptionsAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18474,18 +14178,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExpiryEventsConfiguration": { - "$ref": "#/definitions/AWS::CertificateManager::Account.ExpiryEventsConfiguration" + "DhcpOptionsId": { + "type": "string" + }, + "VpcId": { + "type": "string" } }, "required": [ - "ExpiryEventsConfiguration" + "DhcpOptionsId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Account" + "AWS::EC2::VPCDHCPOptionsAssociation" ], "type": "string" }, @@ -18504,16 +14212,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CertificateManager::Account.ExpiryEventsConfiguration": { - "additionalProperties": false, - "properties": { - "DaysBeforeExpiry": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CertificateManager::Certificate": { + "AWS::EC2::VPCEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18545,22 +14244,40 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateAuthorityArn": { - "type": "string" + "DnsOptions": { + "$ref": "#/definitions/AWS::EC2::VPCEndpoint.DnsOptionsSpecification" }, - "CertificateTransparencyLoggingPreference": { + "IpAddressType": { "type": "string" }, - "DomainName": { + "PolicyDocument": { + "type": "object" + }, + "PrivateDnsEnabled": { + "type": "boolean" + }, + "ResourceConfigurationArn": { "type": "string" }, - "DomainValidationOptions": { + "RouteTableIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CertificateManager::Certificate.DomainValidationOption" + "type": "string" }, "type": "array" }, - "SubjectAlternativeNames": { + "ServiceName": { + "type": "string" + }, + "ServiceNetworkArn": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -18572,18 +14289,21 @@ var SamSchema = `{ }, "type": "array" }, - "ValidationMethod": { + "VpcEndpointType": { + "type": "string" + }, + "VpcId": { "type": "string" } }, "required": [ - "DomainName" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Certificate" + "AWS::EC2::VPCEndpoint" ], "type": "string" }, @@ -18602,25 +14322,19 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CertificateManager::Certificate.DomainValidationOption": { + "AWS::EC2::VPCEndpoint.DnsOptionsSpecification": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneId": { + "DnsRecordIpType": { "type": "string" }, - "ValidationDomain": { + "PrivateDnsOnlyForInboundResolverEndpoint": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, - "AWS::Chatbot::SlackChannelConfiguration": { + "AWS::EC2::VPCEndpointConnectionNotification": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18652,48 +14366,31 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigurationName": { - "type": "string" - }, - "GuardrailPolicies": { + "ConnectionEvents": { "items": { "type": "string" }, "type": "array" }, - "IamRoleArn": { - "type": "string" - }, - "LoggingLevel": { + "ConnectionNotificationArn": { "type": "string" }, - "SlackChannelId": { + "ServiceId": { "type": "string" }, - "SlackWorkspaceId": { + "VPCEndpointId": { "type": "string" - }, - "SnsTopicArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserRoleRequired": { - "type": "boolean" } }, "required": [ - "ConfigurationName", - "IamRoleArn", - "SlackChannelId", - "SlackWorkspaceId" + "ConnectionEvents", + "ConnectionNotificationArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Chatbot::SlackChannelConfiguration" + "AWS::EC2::VPCEndpointConnectionNotification" ], "type": "string" }, @@ -18712,7 +14409,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cloud9::EnvironmentEC2": { + "AWS::EC2::VPCEndpointService": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18744,34 +14441,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutomaticStopTimeMinutes": { - "type": "number" - }, - "ConnectionType": { - "type": "string" + "AcceptanceRequired": { + "type": "boolean" }, - "Description": { - "type": "string" + "ContributorInsightsEnabled": { + "type": "boolean" }, - "ImageId": { - "type": "string" + "GatewayLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "InstanceType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerArn": { - "type": "string" - }, - "Repositories": { + "NetworkLoadBalancerArns": { "items": { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2.Repository" + "type": "string" }, "type": "array" }, - "SubnetId": { + "PayerResponsibility": { "type": "string" }, "Tags": { @@ -18781,14 +14469,11 @@ var SamSchema = `{ "type": "array" } }, - "required": [ - "InstanceType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cloud9::EnvironmentEC2" + "AWS::EC2::VPCEndpointService" ], "type": "string" }, @@ -18802,28 +14487,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cloud9::EnvironmentEC2.Repository": { - "additionalProperties": false, - "properties": { - "PathComponent": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - } - }, - "required": [ - "PathComponent", - "RepositoryUrl" + "Type" ], "type": "object" }, - "AWS::CloudFormation::CustomResource": { + "AWS::EC2::VPCEndpointServicePermissions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18855,18 +14523,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ServiceToken": { + "AllowedPrincipals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ServiceId": { "type": "string" } }, "required": [ - "ServiceToken" + "ServiceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::CustomResource" + "AWS::EC2::VPCEndpointServicePermissions" ], "type": "string" }, @@ -18885,7 +14559,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::Macro": { + "AWS::EC2::VPCGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18917,31 +14591,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "LogGroupName": { + "InternetGatewayId": { "type": "string" }, - "LogRoleARN": { + "VpcId": { "type": "string" }, - "Name": { + "VpnGatewayId": { "type": "string" } }, "required": [ - "FunctionName", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Macro" + "AWS::EC2::VPCGatewayAttachment" ], "type": "string" }, @@ -18960,7 +14627,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::ModuleDefaultVersion": { + "AWS::EC2::VPCPeeringConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18992,86 +14659,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "PeerOwnerId": { "type": "string" }, - "ModuleName": { + "PeerRegion": { "type": "string" }, - "VersionId": { + "PeerRoleArn": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFormation::ModuleDefaultVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudFormation::ModuleVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "PeerVpcId": { "type": "string" }, - { + "Tags": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModuleName": { - "type": "string" }, - "ModulePackage": { + "VpcId": { "type": "string" } }, "required": [ - "ModuleName", - "ModulePackage" + "PeerVpcId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ModuleVersion" + "AWS::EC2::VPCPeeringConnection" ], "type": "string" }, @@ -19090,7 +14708,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::PublicTypeVersion": { + "AWS::EC2::VPNConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19122,27 +14740,67 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "CustomerGatewayId": { "type": "string" }, - "LogDeliveryBucket": { + "EnableAcceleration": { + "type": "boolean" + }, + "LocalIpv4NetworkCidr": { "type": "string" }, - "PublicVersionNumber": { + "LocalIpv6NetworkCidr": { + "type": "string" + }, + "OutsideIpAddressType": { + "type": "string" + }, + "RemoteIpv4NetworkCidr": { + "type": "string" + }, + "RemoteIpv6NetworkCidr": { + "type": "string" + }, + "StaticRoutesOnly": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" + }, + "TransportTransitGatewayAttachmentId": { + "type": "string" + }, + "TunnelInsideIpVersion": { "type": "string" }, "Type": { "type": "string" }, - "TypeName": { + "VpnGatewayId": { "type": "string" + }, + "VpnTunnelOptionsSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" + }, + "type": "array" } }, + "required": [ + "CustomerGatewayId", + "Type" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::PublicTypeVersion" + "AWS::EC2::VPNConnection" ], "type": "string" }, @@ -19156,76 +14814,186 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::Publisher": { + "AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LogEnabled": { + "type": "boolean" + }, + "LogGroupArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LogOutputFormat": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.IKEVersionsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification": { + "additionalProperties": false, + "properties": { + "CloudwatchLogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { + "additionalProperties": false, + "properties": { + "DPDTimeoutAction": { + "type": "string" }, - "Metadata": { - "type": "object" + "DPDTimeoutSeconds": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptTermsAndConditions": { - "type": "boolean" - }, - "ConnectionArn": { - "type": "string" - } + "EnableTunnelLifecycleControl": { + "type": "boolean" + }, + "IKEVersions": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.IKEVersionsRequestListValue" }, - "required": [ - "AcceptTermsAndConditions" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CloudFormation::Publisher" - ], + "LogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification" + }, + "Phase1DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase1EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1LifetimeSeconds": { + "type": "number" + }, + "Phase2DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase2EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2LifetimeSeconds": { + "type": "number" + }, + "PreSharedKey": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RekeyFuzzPercentage": { + "type": "number" + }, + "RekeyMarginTimeSeconds": { + "type": "number" + }, + "ReplayWindowSize": { + "type": "number" + }, + "StartupAction": { + "type": "string" + }, + "TunnelInsideCidr": { + "type": "string" + }, + "TunnelInsideIpv6Cidr": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFormation::ResourceDefaultVersion": { + "AWS::EC2::VPNConnectionRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19257,21 +15025,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "TypeName": { - "type": "string" - }, - "TypeVersionArn": { + "DestinationCidrBlock": { "type": "string" }, - "VersionId": { + "VpnConnectionId": { "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "VpnConnectionId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceDefaultVersion" + "AWS::EC2::VPNConnectionRoute" ], "type": "string" }, @@ -19285,11 +15054,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion": { + "AWS::EC2::VPNGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19321,28 +15091,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" + "AmazonSideAsn": { + "type": "number" }, - "SchemaHandlerPackage": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TypeName": { + "Type": { "type": "string" } }, "required": [ - "SchemaHandlerPackage", - "TypeName" + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceVersion" + "AWS::EC2::VPNGateway" ], "type": "string" }, @@ -19361,19 +15130,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion.LoggingConfig": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFormation::Stack": { + "AWS::EC2::VPNGatewayRoutePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19405,42 +15162,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "NotificationARNs": { + "RouteTableIds": { "items": { "type": "string" }, "type": "array" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateURL": { + "VpnGatewayId": { "type": "string" - }, - "TimeoutInMinutes": { - "type": "number" } }, "required": [ - "TemplateURL" + "RouteTableIds", + "VpnGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Stack" + "AWS::EC2::VPNGatewayRoutePropagation" ], "type": "string" }, @@ -19459,7 +15199,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::StackSet": { + "AWS::EC2::VerifiedAccessEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19491,50 +15231,50 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AdministrationRoleARN": { + "ApplicationDomain": { "type": "string" }, - "AutoDeployment": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" - }, - "CallAs": { + "AttachmentType": { "type": "string" }, - "Capabilities": { - "items": { - "type": "string" - }, - "type": "array" + "CidrOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.CidrOptions" }, "Description": { "type": "string" }, - "ExecutionRoleName": { + "DomainCertificateArn": { "type": "string" }, - "ManagedExecution": { - "type": "object" + "EndpointDomainPrefix": { + "type": "string" }, - "OperationPreferences": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" + "EndpointType": { + "type": "string" }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "LoadBalancerOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions" }, - "PermissionModel": { + "NetworkInterfaceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions" + }, + "PolicyDocument": { "type": "string" }, - "StackInstancesGroup": { + "PolicyEnabled": { + "type": "boolean" + }, + "RdsOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.RdsOptions" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" + "type": "string" }, "type": "array" }, - "StackSetName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.SseSpecification" }, "Tags": { "items": { @@ -19542,22 +15282,20 @@ var SamSchema = `{ }, "type": "array" }, - "TemplateBody": { - "type": "string" - }, - "TemplateURL": { + "VerifiedAccessGroupId": { "type": "string" } }, "required": [ - "PermissionModel", - "StackSetName" + "AttachmentType", + "EndpointType", + "VerifiedAccessGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::StackSet" + "AWS::EC2::VerifiedAccessEndpoint" ], "type": "string" }, @@ -19576,28 +15314,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::StackSet.AutoDeployment": { + "AWS::EC2::VerifiedAccessEndpoint.CidrOptions": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Cidr": { + "type": "string" }, - "RetainStacksOnAccountRemoval": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CloudFormation::StackSet.DeploymentTargets": { - "additionalProperties": false, - "properties": { - "Accounts": { + "PortRanges": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" }, "type": "array" }, - "OrganizationalUnitIds": { + "Protocol": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -19606,25 +15338,25 @@ var SamSchema = `{ }, "type": "object" }, - "AWS::CloudFormation::StackSet.OperationPreferences": { + "AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions": { "additionalProperties": false, "properties": { - "FailureToleranceCount": { - "type": "number" - }, - "FailureTolerancePercentage": { - "type": "number" + "LoadBalancerArn": { + "type": "string" }, - "MaxConcurrentCount": { + "Port": { "type": "number" }, - "MaxConcurrentPercentage": { - "type": "number" + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" }, - "RegionConcurrencyType": { + "Protocol": { "type": "string" }, - "RegionOrder": { + "SubnetIds": { "items": { "type": "string" }, @@ -19633,48 +15365,82 @@ var SamSchema = `{ }, "type": "object" }, - "AWS::CloudFormation::StackSet.Parameter": { + "AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions": { "additionalProperties": false, "properties": { - "ParameterKey": { + "NetworkInterfaceId": { "type": "string" }, - "ParameterValue": { + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" + }, + "Protocol": { "type": "string" } }, - "required": [ - "ParameterKey", - "ParameterValue" - ], "type": "object" }, - "AWS::CloudFormation::StackSet.StackInstances": { + "AWS::EC2::VerifiedAccessEndpoint.PortRange": { "additionalProperties": false, "properties": { - "DeploymentTargets": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" + "FromPort": { + "type": "number" }, - "ParameterOverrides": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "ToPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessEndpoint.RdsOptions": { + "additionalProperties": false, + "properties": { + "Port": { + "type": "number" }, - "Regions": { + "Protocol": { + "type": "string" + }, + "RdsDbClusterArn": { + "type": "string" + }, + "RdsDbInstanceArn": { + "type": "string" + }, + "RdsDbProxyArn": { + "type": "string" + }, + "RdsEndpoint": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "DeploymentTargets", - "Regions" - ], "type": "object" }, - "AWS::CloudFormation::TypeActivation": { + "AWS::EC2::VerifiedAccessEndpoint.SseSpecification": { + "additionalProperties": false, + "properties": { + "CustomerManagedKeyEnabled": { + "type": "boolean" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19706,42 +15472,36 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoUpdate": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" - }, - "MajorVersion": { - "type": "string" - }, - "PublicTypeArn": { + "Description": { "type": "string" }, - "PublisherId": { + "PolicyDocument": { "type": "string" }, - "Type": { - "type": "string" + "PolicyEnabled": { + "type": "boolean" }, - "TypeName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup.SseSpecification" }, - "TypeNameAlias": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "VersionBump": { + "VerifiedAccessInstanceId": { "type": "string" } }, + "required": [ + "VerifiedAccessInstanceId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::TypeActivation" + "AWS::EC2::VerifiedAccessGroup" ], "type": "string" }, @@ -19755,28 +15515,26 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "AWS::EC2::VerifiedAccessGroup.SseSpecification": { "additionalProperties": false, "properties": { - "LogGroupName": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "LogRoleArn": { + "KmsKeyArn": { "type": "string" } }, "type": "object" }, - "AWS::CloudFormation::WaitCondition": { + "AWS::EC2::VerifiedAccessInstance": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, "DeletionPolicy": { "enum": [ "Delete", @@ -19806,21 +15564,42 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Handle": { + "CidrEndpointsCustomSubDomain": { "type": "string" }, - "Timeout": { + "Description": { "type": "string" + }, + "FipsEnabled": { + "type": "boolean" + }, + "LoggingConfigurations": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VerifiedAccessTrustProviderIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VerifiedAccessTrustProviders": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider" + }, + "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::WaitCondition" + "AWS::EC2::VerifiedAccessInstance" ], "type": "string" }, @@ -19838,61 +15617,91 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFormation::WaitConditionHandle": { + "AWS::EC2::VerifiedAccessInstance.CloudWatchLogs": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Enabled": { + "type": "boolean" + }, + "LogGroup": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose": { + "additionalProperties": false, + "properties": { + "DeliveryStream": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.S3": { + "additionalProperties": false, + "properties": { + "BucketName": { + "type": "string" }, - "Metadata": { - "type": "object" + "BucketOwner": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": {}, - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::CloudFormation::WaitConditionHandle" - ], + "Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs": { + "additionalProperties": false, + "properties": { + "CloudWatchLogs": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.CloudWatchLogs" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IncludeTrustContext": { + "type": "boolean" + }, + "KinesisDataFirehose": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose" + }, + "LogVersion": { "type": "string" + }, + "S3": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.S3" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy": { + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" + }, + "VerifiedAccessTrustProviderId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessTrustProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19924,18 +15733,49 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CachePolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CachePolicyConfig" + "Description": { + "type": "string" + }, + "DeviceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "NativeApplicationOidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions" + }, + "OidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.OidcOptions" + }, + "PolicyReferenceName": { + "type": "string" + }, + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.SseSpecification" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" } }, "required": [ - "CachePolicyConfig" + "PolicyReferenceName", + "TrustProviderType" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CachePolicy" + "AWS::EC2::VerifiedAccessTrustProvider" ], "type": "string" }, @@ -19954,119 +15794,88 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CachePolicyConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions": { "additionalProperties": false, "properties": { - "Comment": { + "PublicSigningKeyUrl": { "type": "string" }, - "DefaultTTL": { - "type": "number" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "Name": { + "TenantId": { "type": "string" - }, - "ParametersInCacheKeyAndForwardedToOrigin": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin" } }, - "required": [ - "DefaultTTL", - "MaxTTL", - "MinTTL", - "Name", - "ParametersInCacheKeyAndForwardedToOrigin" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CookiesConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions": { "additionalProperties": false, "properties": { - "CookieBehavior": { + "AuthorizationEndpoint": { "type": "string" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CookieBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::CachePolicy.HeadersConfig": { - "additionalProperties": false, - "properties": { - "HeaderBehavior": { + "ClientId": { "type": "string" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "PublicSigningKeyEndpoint": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" + }, + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "HeaderBehavior" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin": { + "AWS::EC2::VerifiedAccessTrustProvider.OidcOptions": { "additionalProperties": false, "properties": { - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CookiesConfig" + "AuthorizationEndpoint": { + "type": "string" }, - "EnableAcceptEncodingBrotli": { - "type": "boolean" + "ClientId": { + "type": "string" }, - "EnableAcceptEncodingGzip": { - "type": "boolean" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "Scope": { + "type": "string" }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.HeadersConfig" + "TokenEndpoint": { + "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.QueryStringsConfig" + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "CookiesConfig", - "EnableAcceptEncodingGzip", - "HeadersConfig", - "QueryStringsConfig" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.QueryStringsConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.SseSpecification": { "additionalProperties": false, "properties": { - "QueryStringBehavior": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" + "KmsKeyArn": { + "type": "string" } }, - "required": [ - "QueryStringBehavior" - ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": { + "AWS::EC2::Volume": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20098,18 +15907,54 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudFrontOriginAccessIdentityConfig": { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig" + "AutoEnableIO": { + "type": "boolean" + }, + "AvailabilityZone": { + "type": "string" + }, + "Encrypted": { + "type": "boolean" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "MultiAttachEnabled": { + "type": "boolean" + }, + "OutpostArn": { + "type": "string" + }, + "Size": { + "type": "number" + }, + "SnapshotId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Throughput": { + "type": "number" + }, + "VolumeType": { + "type": "string" } }, "required": [ - "CloudFrontOriginAccessIdentityConfig" + "AvailabilityZone" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CloudFrontOriginAccessIdentity" + "AWS::EC2::Volume" ], "type": "string" }, @@ -20128,19 +15973,76 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig": { + "AWS::EC2::VolumeAttachment": { "additionalProperties": false, "properties": { - "Comment": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Device": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "VolumeId": { + "type": "string" + } + }, + "required": [ + "InstanceId", + "VolumeId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::VolumeAttachment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Comment" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution": { + "AWS::ECR::PublicRepository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20172,8 +16074,14 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DistributionConfig" + "RepositoryCatalogData": { + "$ref": "#/definitions/AWS::ECR::PublicRepository.RepositoryCatalogData" + }, + "RepositoryName": { + "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" }, "Tags": { "items": { @@ -20182,14 +16090,11 @@ var SamSchema = `{ "type": "array" } }, - "required": [ - "DistributionConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Distribution" + "AWS::ECR::PublicRepository" ], "type": "string" }, @@ -20203,680 +16108,297 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.CacheBehavior": { + "AWS::ECR::PublicRepository.RepositoryCatalogData": { "additionalProperties": false, "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { + "AboutText": { "type": "string" }, - "CachedMethods": { + "Architectures": { "items": { "type": "string" }, "type": "array" }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" - }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" - }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" - }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "PathPattern": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "TargetOriginId": { - "type": "string" - }, - "TrustedKeyGroups": { + "OperatingSystems": { "items": { "type": "string" }, "type": "array" }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" + "RepositoryDescription": { + "type": "string" }, - "ViewerProtocolPolicy": { + "UsageText": { "type": "string" } }, - "required": [ - "PathPattern", - "TargetOriginId", - "ViewerProtocolPolicy" - ], "type": "object" }, - "AWS::CloudFront::Distribution.Cookies": { + "AWS::ECR::PullThroughCacheRule": { "additionalProperties": false, "properties": { - "Forward": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "WhitelistedNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Forward" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomErrorResponse": { - "additionalProperties": false, - "properties": { - "ErrorCachingMinTTL": { - "type": "number" - }, - "ErrorCode": { - "type": "number" - }, - "ResponseCode": { - "type": "number" - }, - "ResponsePagePath": { - "type": "string" - } - }, - "required": [ - "ErrorCode" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomOriginConfig": { - "additionalProperties": false, - "properties": { - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" - }, - "OriginKeepaliveTimeout": { - "type": "number" - }, - "OriginProtocolPolicy": { - "type": "string" - }, - "OriginReadTimeout": { - "type": "number" - }, - "OriginSSLProtocols": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OriginProtocolPolicy" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.DefaultCacheBehavior": { - "additionalProperties": false, - "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { - "type": "string" - }, - "CachedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" + "Metadata": { + "type": "object" }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" + "Properties": { + "additionalProperties": false, + "properties": { + "CredentialArn": { + "type": "string" + }, + "EcrRepositoryPrefix": { + "type": "string" + }, + "UpstreamRegistry": { + "type": "string" + }, + "UpstreamRegistryUrl": { + "type": "string" + } }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" + "type": "object" }, - "TargetOriginId": { + "Type": { + "enum": [ + "AWS::ECR::PullThroughCacheRule" + ], "type": "string" }, - "TrustedKeyGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ViewerProtocolPolicy": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "TargetOriginId", - "ViewerProtocolPolicy" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.DistributionConfig": { + "AWS::ECR::RegistryPolicy": { "additionalProperties": false, "properties": { - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CNAMEs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheBehaviors": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CacheBehavior" - }, - "type": "array" - }, - "Comment": { - "type": "string" - }, - "CustomErrorResponses": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomErrorResponse" - }, - "type": "array" - }, - "CustomOrigin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyCustomOrigin" - }, - "DefaultCacheBehavior": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DefaultCacheBehavior" - }, - "DefaultRootObject": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "HttpVersion": { - "type": "string" - }, - "IPV6Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Logging" - }, - "OriginGroups": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroups" - }, - "Origins": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Origin" - }, - "type": "array" - }, - "PriceClass": { - "type": "string" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Restrictions" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyS3Origin" - }, - "ViewerCertificate": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ViewerCertificate" - }, - "WebACLId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.ForwardedValues": { - "additionalProperties": false, - "properties": { - "Cookies": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Cookies" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "QueryString": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "QueryStringCacheKeys": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "PolicyText": { + "type": "object" + } }, - "type": "array" - } - }, - "required": [ - "QueryString" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.FunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" + "required": [ + "PolicyText" + ], + "type": "object" }, - "FunctionARN": { + "Type": { + "enum": [ + "AWS::ECR::RegistryPolicy" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.GeoRestriction": { - "additionalProperties": false, - "properties": { - "Locations": { - "items": { - "type": "string" - }, - "type": "array" }, - "RestrictionType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "RestrictionType" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.LambdaFunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" - }, - "IncludeBody": { - "type": "boolean" - }, - "LambdaFunctionARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyCustomOrigin": { + "AWS::ECR::ReplicationConfiguration": { "additionalProperties": false, "properties": { - "DNSName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OriginProtocolPolicy": { - "type": "string" + "Metadata": { + "type": "object" }, - "OriginSSLProtocols": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" + } }, - "type": "array" - } - }, - "required": [ - "DNSName", - "OriginProtocolPolicy", - "OriginSSLProtocols" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyS3Origin": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" + "required": [ + "ReplicationConfiguration" + ], + "type": "object" }, - "OriginAccessIdentity": { - "type": "string" - } - }, - "required": [ - "DNSName" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { + "Type": { + "enum": [ + "AWS::ECR::ReplicationConfiguration" + ], "type": "string" }, - "IncludeCookies": { - "type": "boolean" - }, - "Prefix": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Bucket" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.Origin": { + "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ConnectionAttempts": { - "type": "number" - }, - "ConnectionTimeout": { - "type": "number" - }, - "CustomOriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomOriginConfig" - }, - "DomainName": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "OriginCustomHeaders": { + "Rules": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginCustomHeader" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" }, "type": "array" - }, - "OriginPath": { - "type": "string" - }, - "OriginShield": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginShield" - }, - "S3OriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.S3OriginConfig" - } - }, - "required": [ - "DomainName", - "Id" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginCustomHeader": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" } }, "required": [ - "HeaderName", - "HeaderValue" + "Rules" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroup": { + "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { "additionalProperties": false, "properties": { - "FailoverCriteria": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupFailoverCriteria" - }, - "Id": { + "Region": { "type": "string" }, - "Members": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMembers" - } - }, - "required": [ - "FailoverCriteria", - "Id", - "Members" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupFailoverCriteria": { - "additionalProperties": false, - "properties": { - "StatusCodes": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.StatusCodes" - } - }, - "required": [ - "StatusCodes" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupMember": { - "additionalProperties": false, - "properties": { - "OriginId": { + "RegistryId": { "type": "string" } }, "required": [ - "OriginId" + "Region", + "RegistryId" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroupMembers": { + "AWS::ECR::ReplicationConfiguration.ReplicationRule": { "additionalProperties": false, "properties": { - "Items": { + "Destinations": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMember" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" }, "type": "array" }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Items", - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroups": { - "additionalProperties": false, - "properties": { - "Items": { + "RepositoryFilters": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroup" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" }, "type": "array" - }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginShield": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OriginShieldRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.Restrictions": { - "additionalProperties": false, - "properties": { - "GeoRestriction": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.GeoRestriction" } }, "required": [ - "GeoRestriction" + "Destinations" ], "type": "object" }, - "AWS::CloudFront::Distribution.S3OriginConfig": { + "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { "additionalProperties": false, "properties": { - "OriginAccessIdentity": { + "Filter": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.StatusCodes": { - "additionalProperties": false, - "properties": { - "Items": { - "items": { - "type": "number" - }, - "type": "array" }, - "Quantity": { - "type": "number" + "FilterType": { + "type": "string" } }, "required": [ - "Items", - "Quantity" + "Filter", + "FilterType" ], "type": "object" }, - "AWS::CloudFront::Distribution.ViewerCertificate": { - "additionalProperties": false, - "properties": { - "AcmCertificateArn": { - "type": "string" - }, - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IamCertificateId": { - "type": "string" - }, - "MinimumProtocolVersion": { - "type": "string" - }, - "SslSupportMethod": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Function": { + "AWS::ECR::Repository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20908,27 +16430,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoPublish": { + "EmptyOnDelete": { "type": "boolean" }, - "FunctionCode": { + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" + }, + "ImageScanningConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" + }, + "ImageTagMutability": { "type": "string" }, - "FunctionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Function.FunctionConfig" + "LifecyclePolicy": { + "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" }, - "Name": { + "RepositoryName": { "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Function" + "AWS::ECR::Repository" ], "type": "string" }, @@ -20942,37 +16476,47 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionConfig": { + "AWS::ECR::Repository.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Runtime": { + "KmsKey": { "type": "string" } }, "required": [ - "Comment", - "Runtime" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionMetadata": { + "AWS::ECR::Repository.ImageScanningConfiguration": { + "additionalProperties": false, + "properties": { + "ScanOnPush": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::ECR::Repository.LifecyclePolicy": { "additionalProperties": false, "properties": { - "FunctionARN": { + "LifecyclePolicyText": { + "type": "string" + }, + "RegistryId": { "type": "string" } }, "type": "object" }, - "AWS::CloudFront::KeyGroup": { + "AWS::ECR::RepositoryCreationTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21004,18 +16548,49 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "KeyGroupConfig": { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup.KeyGroupConfig" - } - }, - "required": [ - "KeyGroupConfig" - ], - "type": "object" - }, + "AppliedFor": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CustomRoleArn": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration" + }, + "ImageTagMutability": { + "type": "string" + }, + "LifecyclePolicy": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "RepositoryPolicy": { + "type": "string" + }, + "ResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AppliedFor", + "Prefix" + ], + "type": "object" + }, "Type": { "enum": [ - "AWS::CloudFront::KeyGroup" + "AWS::ECR::RepositoryCreationTemplate" ], "type": "string" }, @@ -21034,29 +16609,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::KeyGroup.KeyGroupConfig": { + "AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { + "KmsKey": { "type": "string" } }, "required": [ - "Items", - "Name" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy": { + "AWS::EKS::AccessEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21088,18 +16656,46 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "OriginRequestPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig" + "AccessPolicies": { + "items": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessPolicy" + }, + "type": "array" + }, + "ClusterName": { + "type": "string" + }, + "KubernetesGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PrincipalArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" + }, + "Username": { + "type": "string" } }, "required": [ - "OriginRequestPolicyConfig" + "ClusterName", + "PrincipalArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::OriginRequestPolicy" + "AWS::EKS::AccessEntry" ], "type": "string" }, @@ -21118,88 +16714,41 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.CookiesConfig": { + "AWS::EKS::AccessEntry.AccessPolicy": { "additionalProperties": false, "properties": { - "CookieBehavior": { - "type": "string" + "AccessScope": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessScope" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyArn": { + "type": "string" } }, "required": [ - "CookieBehavior" + "AccessScope", + "PolicyArn" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.HeadersConfig": { + "AWS::EKS::AccessEntry.AccessScope": { "additionalProperties": false, "properties": { - "HeaderBehavior": { - "type": "string" - }, - "Headers": { + "Namespaces": { "items": { "type": "string" }, "type": "array" - } - }, - "required": [ - "HeaderBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.CookiesConfig" - }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.HeadersConfig" - }, - "Name": { - "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig" - } - }, - "required": [ - "CookiesConfig", - "HeadersConfig", - "Name", - "QueryStringsConfig" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig": { - "additionalProperties": false, - "properties": { - "QueryStringBehavior": { + "Type": { "type": "string" - }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "QueryStringBehavior" + "Type" ], "type": "object" }, - "AWS::CloudFront::PublicKey": { + "AWS::EKS::Addon": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21231,18 +16780,49 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "PublicKeyConfig": { - "$ref": "#/definitions/AWS::CloudFront::PublicKey.PublicKeyConfig" + "AddonName": { + "type": "string" + }, + "AddonVersion": { + "type": "string" + }, + "ClusterName": { + "type": "string" + }, + "ConfigurationValues": { + "type": "string" + }, + "PodIdentityAssociations": { + "items": { + "$ref": "#/definitions/AWS::EKS::Addon.PodIdentityAssociation" + }, + "type": "array" + }, + "PreserveOnDelete": { + "type": "boolean" + }, + "ResolveConflicts": { + "type": "string" + }, + "ServiceAccountRoleArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "PublicKeyConfig" + "AddonName", + "ClusterName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::PublicKey" + "AWS::EKS::Addon" ], "type": "string" }, @@ -21261,30 +16841,23 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::PublicKey.PublicKeyConfig": { + "AWS::EKS::Addon.PodIdentityAssociation": { "additionalProperties": false, "properties": { - "CallerReference": { - "type": "string" - }, - "Comment": { - "type": "string" - }, - "EncodedKey": { + "RoleArn": { "type": "string" }, - "Name": { + "ServiceAccount": { "type": "string" } }, "required": [ - "CallerReference", - "EncodedKey", - "Name" + "RoleArn", + "ServiceAccount" ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig": { + "AWS::EKS::Cluster": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21316,36 +16889,70 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "EndPoints": { + "AccessConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.AccessConfig" + }, + "BootstrapSelfManagedAddons": { + "type": "boolean" + }, + "ComputeConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ComputeConfig" + }, + "EncryptionConfig": { "items": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.EndPoint" + "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" }, "type": "array" }, - "Fields": { + "KubernetesNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" + }, + "Logging": { + "$ref": "#/definitions/AWS::EKS::Cluster.Logging" + }, + "Name": { + "type": "string" + }, + "OutpostConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.OutpostConfig" + }, + "RemoteNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNetworkConfig" + }, + "ResourcesVpcConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" + }, + "RoleArn": { + "type": "string" + }, + "StorageConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.StorageConfig" + }, + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "Name": { + "UpgradePolicy": { + "$ref": "#/definitions/AWS::EKS::Cluster.UpgradePolicy" + }, + "Version": { "type": "string" }, - "SamplingRate": { - "type": "number" + "ZonalShiftConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ZonalShiftConfig" } }, "required": [ - "EndPoints", - "Fields", - "Name", - "SamplingRate" + "ResourcesVpcConfig", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::RealtimeLogConfig" + "AWS::EKS::Cluster" ], "type": "string" }, @@ -21364,382 +16971,269 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.EndPoint": { + "AWS::EKS::Cluster.AccessConfig": { "additionalProperties": false, "properties": { - "KinesisStreamConfig": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig" - }, - "StreamType": { + "AuthenticationMode": { "type": "string" + }, + "BootstrapClusterCreatorAdminPermissions": { + "type": "boolean" } }, - "required": [ - "KinesisStreamConfig", - "StreamType" - ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig": { + "AWS::EKS::Cluster.BlockStorage": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "RoleArn", - "StreamArn" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy": { + "AWS::EKS::Cluster.ClusterLogging": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResponseHeadersPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig" - } + "EnabledTypes": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" }, - "required": [ - "ResponseHeadersPolicyConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFront::ResponseHeadersPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders": { + "AWS::EKS::Cluster.ComputeConfig": { "additionalProperties": false, "properties": { - "Items": { + "Enabled": { + "type": "boolean" + }, + "NodePools": { "items": { "type": "string" }, "type": "array" + }, + "NodeRoleArn": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods": { + "AWS::EKS::Cluster.ControlPlanePlacement": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "GroupName": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins": { + "AWS::EKS::Cluster.ElasticLoadBalancing": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders": { + "AWS::EKS::Cluster.EncryptionConfig": { "additionalProperties": false, "properties": { - "Items": { + "Provider": { + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" + }, + "Resources": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy": { + "AWS::EKS::Cluster.KubernetesNetworkConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { + "ElasticLoadBalancing": { + "$ref": "#/definitions/AWS::EKS::Cluster.ElasticLoadBalancing" + }, + "IpFamily": { "type": "string" }, - "Override": { - "type": "boolean" + "ServiceIpv4Cidr": { + "type": "string" + }, + "ServiceIpv6Cidr": { + "type": "string" } }, - "required": [ - "ContentSecurityPolicy", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions": { + "AWS::EKS::Cluster.Logging": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" + "ClusterLogging": { + "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" } }, - "required": [ - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CorsConfig": { + "AWS::EKS::Cluster.LoggingTypeConfig": { "additionalProperties": false, "properties": { - "AccessControlAllowCredentials": { - "type": "boolean" - }, - "AccessControlAllowHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders" - }, - "AccessControlAllowMethods": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods" - }, - "AccessControlAllowOrigins": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins" - }, - "AccessControlExposeHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders" - }, - "AccessControlMaxAgeSec": { - "type": "number" - }, - "OriginOverride": { - "type": "boolean" + "Type": { + "type": "string" } }, - "required": [ - "AccessControlAllowCredentials", - "AccessControlAllowHeaders", - "AccessControlAllowMethods", - "AccessControlAllowOrigins", - "OriginOverride" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeader": { + "AWS::EKS::Cluster.OutpostConfig": { "additionalProperties": false, "properties": { - "Header": { + "ControlPlaneInstanceType": { "type": "string" }, - "Override": { - "type": "boolean" + "ControlPlanePlacement": { + "$ref": "#/definitions/AWS::EKS::Cluster.ControlPlanePlacement" }, - "Value": { - "type": "string" + "OutpostArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Header", - "Override", - "Value" + "ControlPlaneInstanceType", + "OutpostArns" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig": { + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EKS::Cluster.RemoteNetworkConfig": { "additionalProperties": false, "properties": { - "Items": { + "RemoteNodeNetworks": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNodeNetwork" + }, + "type": "array" + }, + "RemotePodNetworks": { "items": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeader" + "$ref": "#/definitions/AWS::EKS::Cluster.RemotePodNetwork" }, "type": "array" } }, "required": [ - "Items" + "RemoteNodeNetworks" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.FrameOptions": { + "AWS::EKS::Cluster.RemoteNodeNetwork": { "additionalProperties": false, "properties": { - "FrameOption": { - "type": "string" - }, - "Override": { - "type": "boolean" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "FrameOption", - "Override" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy": { + "AWS::EKS::Cluster.RemotePodNetwork": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" - }, - "ReferrerPolicy": { - "type": "string" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Override", - "ReferrerPolicy" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig": { + "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { - "Comment": { - "type": "string" + "EndpointPrivateAccess": { + "type": "boolean" }, - "CorsConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CorsConfig" + "EndpointPublicAccess": { + "type": "boolean" }, - "CustomHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig" + "PublicAccessCidrs": { + "items": { + "type": "string" + }, + "type": "array" }, - "Name": { - "type": "string" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "SecurityHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Name" + "SubnetIds" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig": { + "AWS::EKS::Cluster.StorageConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy" - }, - "ContentTypeOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions" - }, - "FrameOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.FrameOptions" - }, - "ReferrerPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy" - }, - "StrictTransportSecurity": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity" - }, - "XSSProtection": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.XSSProtection" + "BlockStorage": { + "$ref": "#/definitions/AWS::EKS::Cluster.BlockStorage" } }, "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity": { + "AWS::EKS::Cluster.UpgradePolicy": { "additionalProperties": false, "properties": { - "AccessControlMaxAgeSec": { - "type": "number" - }, - "IncludeSubdomains": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Preload": { - "type": "boolean" + "SupportType": { + "type": "string" } }, - "required": [ - "AccessControlMaxAgeSec", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.XSSProtection": { + "AWS::EKS::Cluster.ZonalShiftConfig": { "additionalProperties": false, "properties": { - "ModeBlock": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Protection": { + "Enabled": { "type": "boolean" - }, - "ReportUri": { - "type": "string" } }, - "required": [ - "Override", - "Protection" - ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution": { + "AWS::EKS::FargateProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21771,8 +17265,26 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "StreamingDistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig" + "ClusterName": { + "type": "string" + }, + "FargateProfileName": { + "type": "string" + }, + "PodExecutionRoleArn": { + "type": "string" + }, + "Selectors": { + "items": { + "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" + }, + "type": "array" + }, + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" }, "Tags": { "items": { @@ -21782,14 +17294,15 @@ var SamSchema = `{ } }, "required": [ - "StreamingDistributionConfig", - "Tags" + "ClusterName", + "PodExecutionRoleArn", + "Selectors" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::StreamingDistribution" + "AWS::EKS::FargateProfile" ], "type": "string" }, @@ -21808,97 +17321,41 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Enabled", - "Prefix" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.S3Origin": { + "AWS::EKS::FargateProfile.Label": { "additionalProperties": false, "properties": { - "DomainName": { + "Key": { "type": "string" }, - "OriginAccessIdentity": { + "Value": { "type": "string" } }, "required": [ - "DomainName", - "OriginAccessIdentity" + "Key", + "Value" ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig": { + "AWS::EKS::FargateProfile.Selector": { "additionalProperties": false, "properties": { - "Aliases": { + "Labels": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" }, "type": "array" }, - "Comment": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.Logging" - }, - "PriceClass": { + "Namespace": { "type": "string" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.S3Origin" - }, - "TrustedSigners": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.TrustedSigners" - } - }, - "required": [ - "Comment", - "Enabled", - "S3Origin", - "TrustedSigners" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.TrustedSigners": { - "additionalProperties": false, - "properties": { - "AwsAccountNumbers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" } }, "required": [ - "Enabled" + "Namespace" ], "type": "object" }, - "AWS::CloudTrail::Trail": { + "AWS::EKS::IdentityProviderConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21930,50 +17387,14 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "CloudWatchLogsRoleArn": { - "type": "string" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "EventSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.EventSelector" - }, - "type": "array" - }, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "InsightSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.InsightSelector" - }, - "type": "array" - }, - "IsLogging": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "IsOrganizationTrail": { - "type": "boolean" - }, - "KMSKeyId": { - "type": "string" - }, - "S3BucketName": { + "ClusterName": { "type": "string" }, - "S3KeyPrefix": { + "IdentityProviderConfigName": { "type": "string" }, - "SnsTopicName": { - "type": "string" + "Oidc": { + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig" }, "Tags": { "items": { @@ -21981,19 +17402,19 @@ var SamSchema = `{ }, "type": "array" }, - "TrailName": { + "Type": { "type": "string" } }, "required": [ - "IsLogging", - "S3BucketName" + "ClusterName", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudTrail::Trail" + "AWS::EKS::IdentityProviderConfig" ], "type": "string" }, @@ -22012,58 +17433,57 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudTrail::Trail.DataResource": { + "AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig": { "additionalProperties": false, "properties": { - "Type": { + "ClientId": { "type": "string" }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudTrail::Trail.EventSelector": { - "additionalProperties": false, - "properties": { - "DataResources": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.DataResource" - }, - "type": "array" + "GroupsClaim": { + "type": "string" + }, + "GroupsPrefix": { + "type": "string" + }, + "IssuerUrl": { + "type": "string" }, - "ExcludeManagementEventSources": { + "RequiredClaims": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.RequiredClaim" }, "type": "array" }, - "IncludeManagementEvents": { - "type": "boolean" + "UsernameClaim": { + "type": "string" }, - "ReadWriteType": { + "UsernamePrefix": { "type": "string" } }, + "required": [ + "ClientId", + "IssuerUrl" + ], "type": "object" }, - "AWS::CloudTrail::Trail.InsightSelector": { + "AWS::EKS::IdentityProviderConfig.RequiredClaim": { "additionalProperties": false, "properties": { - "InsightType": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::CloudWatch::Alarm": { + "AWS::EKS::Nodegroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22095,94 +17515,95 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { - "type": "boolean" - }, - "AlarmActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AlarmDescription": { + "AmiType": { "type": "string" }, - "AlarmName": { + "CapacityType": { "type": "string" }, - "ComparisonOperator": { + "ClusterName": { "type": "string" }, - "DatapointsToAlarm": { + "DiskSize": { "type": "number" }, - "Dimensions": { + "ForceUpdateEnabled": { + "type": "boolean" + }, + "InstanceTypes": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" }, - "EvaluateLowSampleCountPercentile": { - "type": "string" + "Labels": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "EvaluationPeriods": { - "type": "number" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" }, - "ExtendedStatistic": { + "NodeRepairConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.NodeRepairConfig" + }, + "NodeRole": { "type": "string" }, - "InsufficientDataActions": { - "items": { - "type": "string" - }, - "type": "array" + "NodegroupName": { + "type": "string" }, - "MetricName": { + "ReleaseVersion": { "type": "string" }, - "Metrics": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" - }, - "type": "array" + "RemoteAccess": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" }, - "Namespace": { - "type": "string" + "ScalingConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" + "Tags": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ThresholdMetricId": { - "type": "string" + "Taints": { + "items": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" + }, + "type": "array" }, - "TreatMissingData": { - "type": "string" + "UpdateConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" }, - "Unit": { + "Version": { "type": "string" } }, "required": [ - "ComparisonOperator", - "EvaluationPeriods" + "ClusterName", + "NodeRole", + "Subnets" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::Alarm" + "AWS::EKS::Nodegroup" ], "type": "string" }, @@ -22201,94 +17622,94 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudWatch::Alarm.Dimension": { + "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { + "Id": { + "type": "string" + }, "Name": { "type": "string" }, - "Value": { + "Version": { "type": "string" } }, - "required": [ - "Name", - "Value" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.Metric": { + "AWS::EKS::Nodegroup.NodeRepairConfig": { "additionalProperties": false, "properties": { - "Dimensions": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EKS::Nodegroup.RemoteAccess": { + "additionalProperties": false, + "properties": { + "Ec2SshKey": { + "type": "string" + }, + "SourceSecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" + } + }, + "required": [ + "Ec2SshKey" + ], + "type": "object" + }, + "AWS::EKS::Nodegroup.ScalingConfig": { + "additionalProperties": false, + "properties": { + "DesiredSize": { + "type": "number" }, - "MetricName": { - "type": "string" + "MaxSize": { + "type": "number" }, - "Namespace": { - "type": "string" + "MinSize": { + "type": "number" } }, "type": "object" }, - "AWS::CloudWatch::Alarm.MetricDataQuery": { + "AWS::EKS::Nodegroup.Taint": { "additionalProperties": false, "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { + "Effect": { "type": "string" }, - "Id": { + "Key": { "type": "string" }, - "Label": { + "Value": { "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" } }, - "required": [ - "Id" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.MetricStat": { + "AWS::EKS::Nodegroup.UpdateConfig": { "additionalProperties": false, "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" - }, - "Period": { + "MaxUnavailable": { "type": "number" }, - "Stat": { - "type": "string" + "MaxUnavailablePercentage": { + "type": "number" }, - "Unit": { + "UpdateStrategy": { "type": "string" } }, - "required": [ - "Metric", - "Period", - "Stat" - ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector": { + "AWS::EKS::PodIdentityAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22320,36 +17741,36 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricMathAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" - }, - "MetricName": { + "ClusterName": { "type": "string" }, "Namespace": { "type": "string" }, - "SingleMetricAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" + "RoleArn": { + "type": "string" }, - "Stat": { + "ServiceAccount": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ClusterName", + "Namespace", + "RoleArn", + "ServiceAccount" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::AnomalyDetector" + "AWS::EKS::PodIdentityAssociation" ], "type": "string" }, @@ -22363,171 +17784,12 @@ var SamSchema = `{ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Configuration": { - "additionalProperties": false, - "properties": { - "ExcludedTimeRanges": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" - }, - "type": "array" - }, - "MetricTimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Dimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Label": { - "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { - "additionalProperties": false, - "properties": { - "MetricDataQueries": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricStat": { - "additionalProperties": false, - "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" - }, - "Period": { - "type": "number" - }, - "Stat": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Metric", - "Period", - "Stat" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Range": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "EndTime", - "StartTime" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Stat": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::CompositeAlarm": { + "AWS::ElasticLoadBalancing::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22559,46 +17821,90 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { + "AccessLoggingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" + }, + "AppCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" + }, + "type": "array" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ConnectionDrainingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" + }, + "ConnectionSettings": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" + }, + "CrossZone": { "type": "boolean" }, - "AlarmActions": { + "HealthCheck": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" + }, + "Instances": { "items": { "type": "string" }, "type": "array" }, - "AlarmDescription": { - "type": "string" + "LBCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" + }, + "type": "array" }, - "AlarmName": { + "Listeners": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" + }, + "type": "array" + }, + "LoadBalancerName": { "type": "string" }, - "AlarmRule": { + "Policies": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" + }, + "type": "array" + }, + "Scheme": { "type": "string" }, - "InsufficientDataActions": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "AlarmName", - "AlarmRule" + "Listeners" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::CompositeAlarm" + "AWS::ElasticLoadBalancing::LoadBalancer" ], "type": "string" }, @@ -22617,420 +17923,179 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CloudWatch::Dashboard": { + "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EmitInterval": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "S3BucketName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardBody": { - "type": "string" - }, - "DashboardName": { - "type": "string" - } - }, - "required": [ - "DashboardBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "S3BucketPrefix": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Enabled", + "S3BucketName" ], "type": "object" }, - "AWS::CloudWatch::InsightRule": { + "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CookieName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleBody": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "RuleState": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" - } - }, - "required": [ - "RuleBody", - "RuleName", - "RuleState" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::InsightRule" - ], + "PolicyName": { "type": "string" + } + }, + "required": [ + "CookieName", + "PolicyName" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Timeout": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled" ], "type": "object" }, - "AWS::CloudWatch::InsightRule.Tags": { + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { "additionalProperties": false, - "properties": {}, + "properties": { + "IdleTimeout": { + "type": "number" + } + }, + "required": [ + "IdleTimeout" + ], "type": "object" }, - "AWS::CloudWatch::MetricStream": { + "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HealthyThreshold": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Interval": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExcludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "FirehoseArn": { - "type": "string" - }, - "IncludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OutputFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirehoseArn", - "OutputFormat", - "RoleArn" - ], - "type": "object" + "Target": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CloudWatch::MetricStream" - ], + "Timeout": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UnhealthyThreshold": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HealthyThreshold", + "Interval", + "Target", + "Timeout", + "UnhealthyThreshold" ], "type": "object" }, - "AWS::CloudWatch::MetricStream.MetricStreamFilter": { + "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "Namespace": { + "CookieExpirationPeriod": { + "type": "string" + }, + "PolicyName": { "type": "string" } }, - "required": [ - "Namespace" - ], "type": "object" }, - "AWS::CodeArtifact::Domain": { + "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstancePort": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "InstanceProtocol": { + "type": "string" }, - "Metadata": { - "type": "object" + "LoadBalancerPort": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "PolicyNames": { + "items": { + "type": "string" }, - "required": [ - "DomainName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Domain" - ], + "Protocol": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SSLCertificateId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "InstancePort", + "LoadBalancerPort", + "Protocol" ], "type": "object" }, - "AWS::CodeArtifact::Repository": { + "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Attributes": { + "items": { + "type": "object" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "InstancePorts": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "DomainOwner": { - "type": "string" - }, - "ExternalConnections": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Upstreams": { - "items": { - "type": "string" - }, - "type": "array" - } + "LoadBalancerPorts": { + "items": { + "type": "string" }, - "required": [ - "DomainName", - "RepositoryName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Repository" - ], + "PolicyName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PolicyType": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Attributes", + "PolicyName", + "PolicyType" ], "type": "object" }, - "AWS::CodeBuild::Project": { + "AWS::ElasticLoadBalancingV2::Listener": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23062,105 +18127,55 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Artifacts": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" - }, - "BadgeEnabled": { - "type": "boolean" - }, - "BuildBatchConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectBuildBatchConfig" - }, - "Cache": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectCache" - }, - "ConcurrentBuildLimit": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Environment" - }, - "FileSystemLocations": { + "AlpnPolicy": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectFileSystemLocation" + "type": "string" }, "type": "array" }, - "LogsConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.LogsConfig" - }, - "Name": { - "type": "string" - }, - "QueuedTimeoutInMinutes": { - "type": "number" - }, - "ResourceAccessRole": { - "type": "string" - }, - "SecondaryArtifacts": { + "Certificates": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" }, "type": "array" }, - "SecondarySourceVersions": { + "DefaultActions": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectSourceVersion" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" }, "type": "array" }, - "SecondarySources": { + "ListenerAttributes": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute" }, "type": "array" }, - "ServiceRole": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" - }, - "SourceVersion": { + "LoadBalancerArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MutualAuthentication": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication" }, - "TimeoutInMinutes": { + "Port": { "type": "number" }, - "Triggers": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectTriggers" - }, - "Visibility": { + "Protocol": { "type": "string" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.VpcConfig" + "SslPolicy": { + "type": "string" } }, "required": [ - "Artifacts", - "Environment", - "ServiceRole", - "Source" + "DefaultActions", + "LoadBalancerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::Project" + "AWS::ElasticLoadBalancingV2::Listener" ], "type": "string" }, @@ -23179,31 +18194,28 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::Project.Artifacts": { + "AWS::ElasticLoadBalancingV2::Listener.Action": { "additionalProperties": false, "properties": { - "ArtifactIdentifier": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" }, - "Location": { - "type": "string" + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" }, - "Name": { - "type": "string" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" }, - "NamespaceType": { - "type": "string" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" }, - "OverrideArtifactName": { - "type": "boolean" + "Order": { + "type": "number" }, - "Packaging": { - "type": "string" + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" }, - "Path": { + "TargetGroupArn": { "type": "string" }, "Type": { @@ -23215,368 +18227,226 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::Project.BatchRestrictions": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "ComputeTypesAllowed": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "MaximumBuildsAllowed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.BuildStatusConfig": { - "additionalProperties": false, - "properties": { - "Context": { + "OnUnauthenticatedRequest": { "type": "string" }, - "TargetUrl": { + "Scope": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.CloudWatchLogsConfig": { - "additionalProperties": false, - "properties": { - "GroupName": { + }, + "SessionCookieName": { "type": "string" }, - "Status": { + "SessionTimeout": { "type": "string" }, - "StreamName": { + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { "type": "string" } }, "required": [ - "Status" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeBuild::Project.Environment": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Certificate": { - "type": "string" - }, - "ComputeType": { - "type": "string" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.EnvironmentVariable" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "Image": { + "AuthorizationEndpoint": { "type": "string" }, - "ImagePullCredentialsType": { + "ClientId": { "type": "string" }, - "PrivilegedMode": { - "type": "boolean" - }, - "RegistryCredential": { - "$ref": "#/definitions/AWS::CodeBuild::Project.RegistryCredential" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ComputeType", - "Image", - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { + "ClientSecret": { "type": "string" }, - "Type": { + "Issuer": { "type": "string" }, - "Value": { + "OnUnauthenticatedRequest": { "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.FilterGroup": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CodeBuild::Project.GitSubmodulesConfig": { - "additionalProperties": false, - "properties": { - "FetchSubmodules": { - "type": "boolean" - } - }, - "required": [ - "FetchSubmodules" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.LogsConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.CloudWatchLogsConfig" }, - "S3Logs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.S3LogsConfig" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectBuildBatchConfig": { - "additionalProperties": false, - "properties": { - "BatchReportMode": { + "Scope": { "type": "string" }, - "CombineArtifacts": { - "type": "boolean" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BatchRestrictions" + "SessionCookieName": { + "type": "string" }, - "ServiceRole": { + "SessionTimeout": { "type": "string" }, - "TimeoutInMins": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectCache": { - "additionalProperties": false, - "properties": { - "Location": { + "TokenEndpoint": { "type": "string" }, - "Modes": { - "items": { - "type": "string" - }, - "type": "array" + "UseExistingClientSecret": { + "type": "boolean" }, - "Type": { + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "Type" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectFileSystemLocation": { + "AWS::ElasticLoadBalancingV2::Listener.Certificate": { "additionalProperties": false, "properties": { - "Identifier": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "MountOptions": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Type": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Identifier", - "Location", - "MountPoint", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectSourceVersion": { + "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { "additionalProperties": false, "properties": { - "SourceIdentifier": { + "ContentType": { + "type": "string" + }, + "MessageBody": { "type": "string" }, - "SourceVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "SourceIdentifier" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectTriggers": { + "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { "additionalProperties": false, "properties": { - "BuildType": { - "type": "string" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" }, - "FilterGroups": { + "TargetGroups": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.FilterGroup" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" }, "type": "array" - }, - "Webhook": { - "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.RegistryCredential": { + "AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute": { "additionalProperties": false, "properties": { - "Credential": { + "Key": { "type": "string" }, - "CredentialProvider": { + "Value": { "type": "string" } }, - "required": [ - "Credential", - "CredentialProvider" - ], "type": "object" }, - "AWS::CodeBuild::Project.S3LogsConfig": { + "AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication": { "additionalProperties": false, "properties": { - "EncryptionDisabled": { + "AdvertiseTrustStoreCaNames": { + "type": "string" + }, + "IgnoreClientCertificateExpiry": { "type": "boolean" }, - "Location": { + "Mode": { "type": "string" }, - "Status": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Status" - ], "type": "object" }, - "AWS::CodeBuild::Project.Source": { + "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { "additionalProperties": false, "properties": { - "Auth": { - "$ref": "#/definitions/AWS::CodeBuild::Project.SourceAuth" - }, - "BuildSpec": { + "Host": { "type": "string" }, - "BuildStatusConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BuildStatusConfig" - }, - "GitCloneDepth": { - "type": "number" - }, - "GitSubmodulesConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.GitSubmodulesConfig" - }, - "InsecureSsl": { - "type": "boolean" - }, - "Location": { + "Path": { "type": "string" }, - "ReportBuildStatus": { - "type": "boolean" - }, - "SourceIdentifier": { + "Port": { "type": "string" }, - "Type": { + "Protocol": { "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.SourceAuth": { - "additionalProperties": false, - "properties": { - "Resource": { + }, + "Query": { "type": "string" }, - "Type": { + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.VpcConfig": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" + "DurationSeconds": { + "type": "number" }, - "VpcId": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.WebhookFilter": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { "additionalProperties": false, "properties": { - "ExcludeMatchedPattern": { - "type": "boolean" - }, - "Pattern": { + "TargetGroupArn": { "type": "string" }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, - "required": [ - "Pattern", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::ReportGroup": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23608,34 +18478,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeleteReports": { - "type": "boolean" - }, - "ExportConfig": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.ReportExportConfig" - }, - "Name": { - "type": "string" - }, - "Tags": { + "Certificates": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" }, "type": "array" }, - "Type": { + "ListenerArn": { "type": "string" } }, "required": [ - "ExportConfig", - "Type" + "Certificates", + "ListenerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::ReportGroup" + "AWS::ElasticLoadBalancingV2::ListenerCertificate" ], "type": "string" }, @@ -23654,49 +18515,16 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeBuild::ReportGroup.ReportExportConfig": { - "additionalProperties": false, - "properties": { - "ExportConfigType": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.S3ReportExportConfig" - } - }, - "required": [ - "ExportConfigType" - ], - "type": "object" - }, - "AWS::CodeBuild::ReportGroup.S3ReportExportConfig": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BucketOwner": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" - }, - "EncryptionKey": { - "type": "string" - }, - "Packaging": { - "type": "string" - }, - "Path": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Bucket" - ], "type": "object" }, - "AWS::CodeBuild::SourceCredential": { + "AWS::ElasticLoadBalancingV2::ListenerRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23728,29 +18556,35 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" + "Actions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" + }, + "type": "array" }, - "ServerType": { - "type": "string" + "Conditions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" + }, + "type": "array" }, - "Token": { + "ListenerArn": { "type": "string" }, - "Username": { - "type": "string" + "Priority": { + "type": "number" } }, "required": [ - "AuthType", - "ServerType", - "Token" + "Actions", + "Conditions", + "Priority" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::SourceCredential" + "AWS::ElasticLoadBalancingV2::ListenerRule" ], "type": "string" }, @@ -23769,353 +18603,340 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeCommit::Repository": { + "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" }, - "Metadata": { - "type": "object" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.Code" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.RepositoryTrigger" - }, - "type": "array" - } - }, - "required": [ - "RepositoryName" - ], - "type": "object" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" }, - "Type": { - "enum": [ - "AWS::CodeCommit::Repository" - ], + "Order": { + "type": "number" + }, + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" + }, + "TargetGroupArn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeCommit::Repository.Code": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "BranchName": { + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "OnUnauthenticatedRequest": { "type": "string" }, - "S3": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.S3" + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { + "type": "string" } }, "required": [ - "S3" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeCommit::Repository.RepositoryTrigger": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Branches": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "CustomData": { + "AuthorizationEndpoint": { "type": "string" }, - "DestinationArn": { + "ClientId": { "type": "string" }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" }, - "Name": { + "Issuer": { + "type": "string" + }, + "OnUnauthenticatedRequest": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "TokenEndpoint": { + "type": "string" + }, + "UseExistingClientSecret": { + "type": "boolean" + }, + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "DestinationArn", - "Events", - "Name" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeCommit::Repository.S3": { + "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { "additionalProperties": false, "properties": { - "Bucket": { + "ContentType": { "type": "string" }, - "Key": { + "MessageBody": { "type": "string" }, - "ObjectVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::Application": { + "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ComputePlatform": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeDeploy::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { + "additionalProperties": false, + "properties": { + "HttpHeaderName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" }, - "Metadata": { - "type": "object" + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { + "additionalProperties": false, + "properties": { + "Host": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ComputePlatform": { - "type": "string" - }, - "DeploymentConfigName": { - "type": "string" - }, - "MinimumHealthyHosts": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts" - }, - "TrafficRoutingConfig": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig" - } - }, - "type": "object" + "Path": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CodeDeploy::DeploymentConfig" - ], + "Port": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { + "type": "string" + }, + "Query": { + "type": "string" + }, + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts": { + "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { "additionalProperties": false, "properties": { - "Type": { + "Field": { "type": "string" }, - "Value": { - "type": "number" + "HostHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" + }, + "HttpHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" + }, + "HttpRequestMethodConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" + }, + "PathPatternConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" + }, + "QueryStringConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" + }, + "SourceIpConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" + }, + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Value" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary": { + "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { "additionalProperties": false, "properties": { - "CanaryInterval": { - "type": "number" - }, - "CanaryPercentage": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "CanaryInterval", - "CanaryPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "LinearInterval": { + "DurationSeconds": { "type": "number" }, - "LinearPercentage": { - "type": "number" + "Enabled": { + "type": "boolean" } }, - "required": [ - "LinearInterval", - "LinearPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { "additionalProperties": false, "properties": { - "TimeBasedCanary": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary" - }, - "TimeBasedLinear": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear" - }, - "Type": { + "TargetGroupArn": { "type": "string" + }, + "Weight": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24147,82 +18968,63 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AlarmConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration" + "EnablePrefixForIpv6SourceNat": { + "type": "string" }, - "ApplicationName": { + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": { "type": "string" }, - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration" + "IpAddressType": { + "type": "string" }, - "AutoScalingGroups": { + "LoadBalancerAttributes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" }, "type": "array" }, - "BlueGreenDeploymentConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration" + "MinimumLoadBalancerCapacity": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity" }, - "Deployment": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Deployment" - }, - "DeploymentConfigName": { + "Name": { "type": "string" }, - "DeploymentGroupName": { + "Scheme": { "type": "string" }, - "DeploymentStyle": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentStyle" - }, - "ECSServices": { + "SecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ECSService" + "type": "string" }, "type": "array" }, - "Ec2TagFilters": { + "SubnetMappings": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" }, "type": "array" }, - "Ec2TagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSet" - }, - "LoadBalancerInfo": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo" - }, - "OnPremisesInstanceTagFilters": { + "Subnets": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" + "type": "string" }, "type": "array" }, - "OnPremisesTagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TriggerConfigurations": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TriggerConfig" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Type": { + "type": "string" } }, - "required": [ - "ApplicationName", - "ServiceRoleArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeDeploy::DeploymentGroup" + "AWS::ElasticLoadBalancingV2::LoadBalancer" ], "type": "string" }, @@ -24236,336 +19038,59 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.Alarm": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Alarm" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "IgnorePollAlarmFailure": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentReadyOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption" - }, - "GreenFleetProvisioningOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption" - }, - "TerminateBlueInstancesOnDeploymentSuccess": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "TerminationWaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.Deployment": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreApplicationStopFailures": { - "type": "boolean" - }, - "Revision": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.RevisionLocation" - } - }, - "required": [ - "Revision" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption": { - "additionalProperties": false, - "properties": { - "ActionOnTimeout": { - "type": "string" - }, - "WaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentStyle": { - "additionalProperties": false, - "properties": { - "DeploymentOption": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagFilter": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { "additionalProperties": false, "properties": { "Key": { "type": "string" }, - "Type": { - "type": "string" - }, "Value": { "type": "string" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSet": { - "additionalProperties": false, - "properties": { - "Ec2TagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject": { - "additionalProperties": false, - "properties": { - "Ec2TagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ECSService": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "ServiceName" - ], - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ELBInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.GitHubLocation": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity": { "additionalProperties": false, "properties": { - "CommitId": { - "type": "string" - }, - "Repository": { - "type": "string" + "CapacityUnits": { + "type": "number" } }, "required": [ - "CommitId", - "Repository" + "CapacityUnits" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo": { - "additionalProperties": false, - "properties": { - "ElbInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ELBInfo" - }, - "type": "array" - }, - "TargetGroupInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet": { - "additionalProperties": false, - "properties": { - "OnPremisesTagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject": { - "additionalProperties": false, - "properties": { - "OnPremisesTagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.RevisionLocation": { - "additionalProperties": false, - "properties": { - "GitHubLocation": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GitHubLocation" - }, - "RevisionType": { - "type": "string" - }, - "S3Location": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.S3Location" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.S3Location": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { "additionalProperties": false, "properties": { - "Bucket": { + "AllocationId": { "type": "string" }, - "BundleType": { + "IPv6Address": { "type": "string" }, - "ETag": { + "PrivateIPv4Address": { "type": "string" }, - "Key": { + "SourceNatIpv6Prefix": { "type": "string" }, - "Version": { + "SubnetId": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "SubnetId" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TriggerName": { - "type": "string" - }, - "TriggerTargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeGuruProfiler::ProfilingGroup": { + "AWS::ElasticLoadBalancingV2::TargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24597,19 +19122,43 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AgentPermissions": { - "type": "object" + "HealthCheckEnabled": { + "type": "boolean" }, - "AnomalyDetectionNotificationConfiguration": { - "items": { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup.Channel" - }, - "type": "array" + "HealthCheckIntervalSeconds": { + "type": "number" + }, + "HealthCheckPath": { + "type": "string" + }, + "HealthCheckPort": { + "type": "string" + }, + "HealthCheckProtocol": { + "type": "string" + }, + "HealthCheckTimeoutSeconds": { + "type": "number" + }, + "HealthyThresholdCount": { + "type": "number" + }, + "IpAddressType": { + "type": "string" + }, + "Matcher": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" + }, + "Name": { + "type": "string" + }, + "Port": { + "type": "number" }, - "ComputePlatform": { + "Protocol": { "type": "string" }, - "ProfilingGroupName": { + "ProtocolVersion": { "type": "string" }, "Tags": { @@ -24617,16 +19166,34 @@ var SamSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetGroupAttributes": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" + }, + "type": "array" + }, + "TargetType": { + "type": "string" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" + }, + "type": "array" + }, + "UnhealthyThresholdCount": { + "type": "number" + }, + "VpcId": { + "type": "string" } }, - "required": [ - "ProfilingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruProfiler::ProfilingGroup" + "AWS::ElasticLoadBalancingV2::TargetGroup" ], "type": "string" }, @@ -24640,42 +19207,68 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeGuruProfiler::ProfilingGroup.Channel": { + "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { "additionalProperties": false, "properties": { - "channelId": { + "GrpcCode": { "type": "string" }, - "channelUri": { + "HttpCode": { "type": "string" } }, - "required": [ - "channelUri" - ], "type": "object" }, - "AWS::CodeGuruReviewer::RepositoryAssociation": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AvailabilityZone": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "Id": { + "type": "string" + }, + "Port": { + "type": "number" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TrustStore": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" }, { "items": { @@ -24692,16 +19285,16 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BucketName": { + "CaCertificatesBundleS3Bucket": { "type": "string" }, - "ConnectionArn": { + "CaCertificatesBundleS3Key": { "type": "string" }, - "Name": { + "CaCertificatesBundleS3ObjectVersion": { "type": "string" }, - "Owner": { + "Name": { "type": "string" }, "Tags": { @@ -24709,20 +19302,13 @@ var SamSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Name", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruReviewer::RepositoryAssociation" + "AWS::ElasticLoadBalancingV2::TrustStore" ], "type": "string" }, @@ -24736,12 +19322,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodePipeline::CustomActionType": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24773,49 +19358,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Category": { - "type": "string" - }, - "ConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ConfigurationProperties" - }, - "type": "array" - }, - "InputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "OutputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "Provider": { - "type": "string" - }, - "Settings": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.Settings" - }, - "Tags": { + "RevocationContents": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent" }, "type": "array" }, - "Version": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Category", - "InputArtifactDetails", - "OutputArtifactDetails", - "Provider", - "Version" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::CustomActionType" + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation" ], "type": "string" }, @@ -24829,79 +19386,47 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.ArtifactDetails": { - "additionalProperties": false, - "properties": { - "MaximumCount": { - "type": "number" - }, - "MinimumCount": { - "type": "number" - } - }, - "required": [ - "MaximumCount", - "MinimumCount" + "Type" ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.ConfigurationProperties": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent": { "additionalProperties": false, "properties": { - "Description": { + "RevocationType": { "type": "string" }, - "Key": { - "type": "boolean" - }, - "Name": { + "S3Bucket": { "type": "string" }, - "Queryable": { - "type": "boolean" - }, - "Required": { - "type": "boolean" - }, - "Secret": { - "type": "boolean" + "S3Key": { + "type": "string" }, - "Type": { + "S3ObjectVersion": { "type": "string" } }, - "required": [ - "Key", - "Name", - "Required", - "Secret" - ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.Settings": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation": { "additionalProperties": false, "properties": { - "EntityUrlTemplate": { - "type": "string" + "NumberOfRevokedEntries": { + "type": "number" }, - "ExecutionUrlTemplate": { + "RevocationId": { "type": "string" }, - "RevisionUrlTemplate": { + "RevocationType": { "type": "string" }, - "ThirdPartyConfigurationUrl": { + "TrustStoreArn": { "type": "string" } }, "type": "object" }, - "AWS::CodePipeline::Pipeline": { + "AWS::Events::ApiDestination": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24933,52 +19458,35 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" - }, - "ArtifactStores": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStoreMap" - }, - "type": "array" - }, - "DisableInboundStageTransitions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageTransition" - }, - "type": "array" + "ConnectionArn": { + "type": "string" }, - "Name": { + "Description": { "type": "string" }, - "RestartExecutionOnUpdate": { - "type": "boolean" + "HttpMethod": { + "type": "string" }, - "RoleArn": { + "InvocationEndpoint": { "type": "string" }, - "Stages": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageDeclaration" - }, - "type": "array" + "InvocationRateLimitPerSecond": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Name": { + "type": "string" } }, "required": [ - "RoleArn", - "Stages" + "ConnectionArn", + "HttpMethod", + "InvocationEndpoint" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Pipeline" + "AWS::Events::ApiDestination" ], "type": "string" }, @@ -24997,206 +19505,325 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionDeclaration": { + "AWS::Events::Archive": { "additionalProperties": false, "properties": { - "ActionTypeId": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionTypeId" - }, - "Configuration": { - "type": "object" - }, - "InputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.InputArtifact" - }, - "type": "array" - }, - "Name": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Namespace": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OutputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.OutputArtifact" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ArchiveName": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EventPattern": { + "type": "object" + }, + "RetentionDays": { + "type": "number" + }, + "SourceArn": { + "type": "string" + } }, - "type": "array" + "required": [ + "SourceArn" + ], + "type": "object" }, - "Region": { + "Type": { + "enum": [ + "AWS::Events::Archive" + ], "type": "string" }, - "RoleArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "RunOrder": { - "type": "number" } }, "required": [ - "ActionTypeId", - "Name" + "Type", + "Properties" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionTypeId": { + "AWS::Events::Connection": { "additionalProperties": false, "properties": { - "Category": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Owner": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Provider": { + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.AuthParameters" + }, + "AuthorizationType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "InvocationConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.InvocationConnectivityParameters" + }, + "Name": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Connection" + ], "type": "string" }, - "Version": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Category", - "Owner", - "Provider", - "Version" + "Type" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStore": { + "AWS::Events::Connection.ApiKeyAuthParameters": { "additionalProperties": false, "properties": { - "EncryptionKey": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.EncryptionKey" - }, - "Location": { + "ApiKeyName": { "type": "string" }, - "Type": { + "ApiKeyValue": { "type": "string" } }, "required": [ - "Location", - "Type" + "ApiKeyName", + "ApiKeyValue" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStoreMap": { + "AWS::Events::Connection.AuthParameters": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" + "ApiKeyAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ApiKeyAuthParameters" }, - "Region": { + "BasicAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.BasicAuthParameters" + }, + "ConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectivityParameters" + }, + "InvocationHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" + }, + "OAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.OAuthParameters" + } + }, + "type": "object" + }, + "AWS::Events::Connection.BasicAuthParameters": { + "additionalProperties": false, + "properties": { + "Password": { + "type": "string" + }, + "Username": { "type": "string" } }, "required": [ - "ArtifactStore", - "Region" + "Password", + "Username" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.BlockerDeclaration": { + "AWS::Events::Connection.ClientParameters": { "additionalProperties": false, "properties": { - "Name": { + "ClientID": { "type": "string" }, - "Type": { + "ClientSecret": { "type": "string" } }, "required": [ - "Name", - "Type" + "ClientID", + "ClientSecret" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.EncryptionKey": { + "AWS::Events::Connection.ConnectionHttpParameters": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" + "BodyParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" }, - "Type": { - "type": "string" + "HeaderParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + }, + "QueryStringParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Events::Connection.ConnectivityParameters": { + "additionalProperties": false, + "properties": { + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Id", - "Type" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.InputArtifact": { + "AWS::Events::Connection.InvocationConnectivityParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Name" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.OutputArtifact": { + "AWS::Events::Connection.OAuthParameters": { "additionalProperties": false, "properties": { - "Name": { + "AuthorizationEndpoint": { + "type": "string" + }, + "ClientParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ClientParameters" + }, + "HttpMethod": { "type": "string" + }, + "OAuthHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" } }, "required": [ - "Name" + "AuthorizationEndpoint", + "ClientParameters", + "HttpMethod" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageDeclaration": { + "AWS::Events::Connection.Parameter": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionDeclaration" - }, - "type": "array" + "IsValueSecret": { + "type": "boolean" }, - "Blockers": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.BlockerDeclaration" - }, - "type": "array" + "Key": { + "type": "string" }, - "Name": { + "Value": { "type": "string" } }, "required": [ - "Actions", - "Name" + "Key", + "Value" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageTransition": { + "AWS::Events::Connection.ResourceParameters": { "additionalProperties": false, "properties": { - "Reason": { + "ResourceAssociationArn": { "type": "string" }, - "StageName": { + "ResourceConfigurationArn": { "type": "string" } }, "required": [ - "Reason", - "StageName" + "ResourceConfigurationArn" ], "type": "object" }, - "AWS::CodePipeline::Webhook": { + "AWS::Events::Endpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25228,47 +19855,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Authentication": { + "Description": { "type": "string" }, - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookAuthConfiguration" - }, - "Filters": { + "EventBuses": { "items": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookFilterRule" + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" }, "type": "array" }, "Name": { "type": "string" }, - "RegisterWithThirdParty": { - "type": "boolean" - }, - "TargetAction": { - "type": "string" + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" }, - "TargetPipeline": { + "RoleArn": { "type": "string" }, - "TargetPipelineVersion": { - "type": "number" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" } }, "required": [ - "Authentication", - "AuthenticationConfiguration", - "Filters", - "TargetAction", - "TargetPipeline", - "TargetPipelineVersion" + "EventBuses", + "RoutingConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Webhook" + "AWS::Events::Endpoint" ], "type": "string" }, @@ -25287,34 +19904,83 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookAuthConfiguration": { + "AWS::Events::Endpoint.EndpointEventBus": { "additionalProperties": false, "properties": { - "AllowedIPRange": { + "EventBusArn": { "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" }, - "SecretToken": { + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { "type": "string" } }, + "required": [ + "HealthCheck" + ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookFilterRule": { + "AWS::Events::Endpoint.ReplicationConfig": { "additionalProperties": false, "properties": { - "JsonPath": { + "State": { "type": "string" - }, - "MatchEquals": { + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { "type": "string" } }, "required": [ - "JsonPath" + "Route" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository": { + "AWS::Events::EventBus": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25346,40 +20012,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.Code" + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::EventBus.DeadLetterConfig" }, - "ConnectionArn": { + "Description": { "type": "string" }, - "EnableIssues": { - "type": "boolean" - }, - "IsPrivate": { - "type": "boolean" - }, - "RepositoryAccessToken": { + "EventSourceName": { "type": "string" }, - "RepositoryDescription": { + "KmsKeyIdentifier": { "type": "string" }, - "RepositoryName": { + "Name": { "type": "string" }, - "RepositoryOwner": { - "type": "string" + "Policy": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "RepositoryName", - "RepositoryOwner" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStar::GitHubRepository" + "AWS::Events::EventBus" ], "type": "string" }, @@ -25398,38 +20063,16 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.Code": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.S3" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::CodeStar::GitHubRepository.S3": { + "AWS::Events::EventBus.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { + "Arn": { "type": "string" } }, - "required": [ - "Bucket", - "Key" - ], "type": "object" }, - "AWS::CodeStarConnections::Connection": { + "AWS::Events::EventBusPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25461,30 +20104,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConnectionName": { + "Action": { "type": "string" }, - "HostArn": { + "Condition": { + "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" + }, + "EventBusName": { "type": "string" }, - "ProviderType": { + "Principal": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Statement": { + "type": "object" + }, + "StatementId": { + "type": "string" } }, "required": [ - "ConnectionName" + "StatementId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarConnections::Connection" + "AWS::Events::EventBusPolicy" ], "type": "string" }, @@ -25503,7 +20149,22 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule": { + "AWS::Events::EventBusPolicy.Condition": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Type": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::Rule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25535,55 +20196,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CreatedBy": { - "type": "string" - }, - "DetailType": { + "Description": { "type": "string" }, - "EventTypeId": { + "EventBusName": { "type": "string" }, - "EventTypeIds": { - "items": { - "type": "string" - }, - "type": "array" + "EventPattern": { + "type": "object" }, "Name": { "type": "string" }, - "Resource": { + "RoleArn": { "type": "string" }, - "Status": { + "ScheduleExpression": { "type": "string" }, - "Tags": { - "type": "object" - }, - "TargetAddress": { + "State": { "type": "string" }, "Targets": { "items": { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule.Target" + "$ref": "#/definitions/AWS::Events::Rule.Target" }, "type": "array" } }, - "required": [ - "DetailType", - "EventTypeIds", - "Name", - "Resource", - "Targets" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarNotifications::NotificationRule" + "AWS::Events::Rule" ], "type": "string" }, @@ -25597,732 +20242,453 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule.Target": { + "AWS::Events::Rule.AppSyncParameters": { "additionalProperties": false, "properties": { - "TargetAddress": { - "type": "string" - }, - "TargetType": { + "GraphQLOperation": { "type": "string" } }, "required": [ - "TargetAddress", - "TargetType" + "GraphQLOperation" ], "type": "object" }, - "AWS::Cognito::IdentityPool": { + "AWS::Events::Rule.AwsVpcConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AssignPublicIp": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowClassicFlow": { - "type": "boolean" - }, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "CognitoEvents": { - "type": "object" - }, - "CognitoIdentityProviders": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoIdentityProvider" - }, - "type": "array" - }, - "CognitoStreams": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoStreams" - }, - "DeveloperProviderName": { - "type": "string" - }, - "IdentityPoolName": { - "type": "string" - }, - "OpenIdConnectProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PushSync": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.PushSync" - }, - "SamlProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SupportedLoginProviders": { - "type": "object" - } + "SecurityGroups": { + "items": { + "type": "string" }, - "required": [ - "AllowUnauthenticatedIdentities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPool" - ], - "type": "string" + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Subnets" ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoIdentityProvider": { + "AWS::Events::Rule.BatchArrayProperties": { "additionalProperties": false, "properties": { - "ClientId": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "ServerSideTokenCheck": { - "type": "boolean" + "Size": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoStreams": { + "AWS::Events::Rule.BatchParameters": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" + "ArrayProperties": { + "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" }, - "StreamName": { + "JobDefinition": { "type": "string" }, - "StreamingStatus": { + "JobName": { "type": "string" + }, + "RetryStrategy": { + "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" } }, + "required": [ + "JobDefinition", + "JobName" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.PushSync": { + "AWS::Events::Rule.BatchRetryStrategy": { "additionalProperties": false, "properties": { - "ApplicationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" + "Attempts": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment": { + "AWS::Events::Rule.CapacityProviderStrategyItem": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityPoolId": { - "type": "string" - }, - "RoleMappings": { - "type": "object" - }, - "Roles": { - "type": "object" - } - }, - "required": [ - "IdentityPoolId" - ], - "type": "object" + "Base": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPoolRoleAttachment" - ], + "CapacityProvider": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Weight": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "CapacityProvider" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.MappingRule": { + "AWS::Events::Rule.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Claim": { - "type": "string" - }, - "MatchType": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "Value": { + "Arn": { "type": "string" } }, - "required": [ - "Claim", - "MatchType", - "RoleARN", - "Value" - ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping": { + "AWS::Events::Rule.EcsParameters": { "additionalProperties": false, "properties": { - "AmbiguousRoleResolution": { + "CapacityProviderStrategy": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" + }, + "type": "array" + }, + "EnableECSManagedTags": { + "type": "boolean" + }, + "EnableExecuteCommand": { + "type": "boolean" + }, + "Group": { "type": "string" }, - "IdentityProvider": { + "LaunchType": { "type": "string" }, - "RulesConfiguration": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType" + "NetworkConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType": { - "additionalProperties": false, - "properties": { - "Rules": { + "PlacementConstraints": { "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.MappingRule" + "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" }, "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::Cognito::UserPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + }, + "PlacementStrategies": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" + }, + "type": "array" + }, + "PlatformVersion": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "PropagateTags": { + "type": "string" }, - "Metadata": { - "type": "object" + "ReferenceId": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.DeviceConfiguration" - }, - "EmailConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.EmailConfiguration" - }, - "EmailVerificationMessage": { - "type": "string" - }, - "EmailVerificationSubject": { - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.LambdaConfig" - }, - "MfaConfiguration": { - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/AWS::Cognito::UserPool.Policies" - }, - "Schema": { - "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SmsConfiguration" - }, - "SmsVerificationMessage": { - "type": "string" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UserPoolAddOns" - }, - "UserPoolName": { - "type": "string" - }, - "UserPoolTags": { - "type": "object" - }, - "UsernameAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.VerificationMessageTemplate" - } + "TagList": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Cognito::UserPool" - ], - "type": "string" + "TaskCount": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TaskDefinitionArn": { "type": "string" } }, "required": [ - "Type" + "TaskDefinitionArn" ], "type": "object" }, - "AWS::Cognito::UserPool.AccountRecoverySetting": { + "AWS::Events::Rule.HttpParameters": { "additionalProperties": false, "properties": { - "RecoveryMechanisms": { + "HeaderParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "PathParameterValues": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.RecoveryOption" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" }, - "InviteMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.InviteMessageTemplate" - }, - "UnusedAccountValidityDays": { - "type": "number" + "QueryStringParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "type": "object" }, - "AWS::Cognito::UserPool.CustomEmailSender": { + "AWS::Events::Rule.InputTransformer": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" + "InputPathsMap": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "LambdaVersion": { + "InputTemplate": { "type": "string" } }, + "required": [ + "InputTemplate" + ], "type": "object" }, - "AWS::Cognito::UserPool.CustomSMSSender": { + "AWS::Events::Rule.KinesisParameters": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { + "PartitionKeyPath": { "type": "string" } }, + "required": [ + "PartitionKeyPath" + ], "type": "object" }, - "AWS::Cognito::UserPool.DeviceConfiguration": { + "AWS::Events::Rule.NetworkConfiguration": { "additionalProperties": false, "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" + "AwsVpcConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" } }, "type": "object" }, - "AWS::Cognito::UserPool.EmailConfiguration": { + "AWS::Events::Rule.PlacementConstraint": { "additionalProperties": false, "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { + "Expression": { "type": "string" }, - "SourceArn": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.InviteMessageTemplate": { + "AWS::Events::Rule.PlacementStrategy": { "additionalProperties": false, "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { + "Field": { "type": "string" }, - "SMSMessage": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.LambdaConfig": { + "AWS::Events::Rule.RedshiftDataParameters": { "additionalProperties": false, "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { + "Database": { "type": "string" }, - "PreAuthentication": { + "DbUser": { "type": "string" }, - "PreSignUp": { + "SecretManagerArn": { "type": "string" }, - "PreTokenGeneration": { + "Sql": { "type": "string" }, - "UserMigration": { - "type": "string" + "Sqls": { + "items": { + "type": "string" + }, + "type": "array" }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { + "StatementName": { "type": "string" }, - "MinValue": { - "type": "string" + "WithEvent": { + "type": "boolean" } }, + "required": [ + "Database" + ], "type": "object" }, - "AWS::Cognito::UserPool.PasswordPolicy": { + "AWS::Events::Rule.RetryPolicy": { "additionalProperties": false, "properties": { - "MinimumLength": { + "MaximumEventAgeInSeconds": { "type": "number" }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { + "MaximumRetryAttempts": { "type": "number" } }, "type": "object" }, - "AWS::Cognito::UserPool.Policies": { + "AWS::Events::Rule.RunCommandParameters": { "additionalProperties": false, "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/AWS::Cognito::UserPool.PasswordPolicy" + "RunCommandTargets": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" + }, + "type": "array" } }, + "required": [ + "RunCommandTargets" + ], "type": "object" }, - "AWS::Cognito::UserPool.RecoveryOption": { + "AWS::Events::Rule.RunCommandTarget": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" }, - "Priority": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Values" + ], "type": "object" }, - "AWS::Cognito::UserPool.SchemaAttribute": { + "AWS::Events::Rule.SageMakerPipelineParameter": { "additionalProperties": false, "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, "Name": { "type": "string" }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.StringAttributeConstraints" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::Cognito::UserPool.StringAttributeConstraints": { + "AWS::Events::Rule.SageMakerPipelineParameters": { "additionalProperties": false, "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" + "PipelineParameterList": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameter" + }, + "type": "array" } }, "type": "object" }, - "AWS::Cognito::UserPool.UserPoolAddOns": { + "AWS::Events::Rule.SqsParameters": { "additionalProperties": false, "properties": { - "AdvancedSecurityMode": { + "MessageGroupId": { "type": "string" } }, + "required": [ + "MessageGroupId" + ], "type": "object" }, - "AWS::Cognito::UserPool.UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.VerificationMessageTemplate": { + "AWS::Events::Rule.Target": { "additionalProperties": false, "properties": { - "DefaultEmailOption": { - "type": "string" + "AppSyncParameters": { + "$ref": "#/definitions/AWS::Events::Rule.AppSyncParameters" }, - "EmailMessage": { + "Arn": { "type": "string" }, - "EmailMessageByLink": { + "BatchParameters": { + "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" + }, + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" + }, + "EcsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" + }, + "HttpParameters": { + "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" + }, + "Id": { "type": "string" }, - "EmailSubject": { + "Input": { "type": "string" }, - "EmailSubjectByLink": { + "InputPath": { "type": "string" }, - "SmsMessage": { + "InputTransformer": { + "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" + }, + "KinesisParameters": { + "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" + }, + "RedshiftDataParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" + }, + "RetryPolicy": { + "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" + }, + "RoleArn": { "type": "string" + }, + "RunCommandParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" + }, + "SageMakerPipelineParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameters" + }, + "SqsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" } }, + "required": [ + "Arn", + "Id" + ], "type": "object" }, - "AWS::Cognito::UserPoolClient": { + "AWS::IAM::AccessKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26354,99 +20720,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessTokenValidity": { - "type": "number" - }, - "AllowedOAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - }, - "AllowedOAuthScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AnalyticsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.AnalyticsConfiguration" - }, - "CallbackURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClientName": { - "type": "string" - }, - "DefaultRedirectURI": { - "type": "string" - }, - "EnableTokenRevocation": { - "type": "boolean" - }, - "ExplicitAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GenerateSecret": { - "type": "boolean" - }, - "IdTokenValidity": { + "Serial": { "type": "number" }, - "LogoutURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreventUserExistenceErrors": { + "Status": { "type": "string" }, - "ReadAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RefreshTokenValidity": { - "type": "number" - }, - "SupportedIdentityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TokenValidityUnits": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.TokenValidityUnits" - }, - "UserPoolId": { + "UserName": { "type": "string" - }, - "WriteAttributes": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "UserPoolId" + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolClient" + "AWS::IAM::AccessKey" ], "type": "string" }, @@ -26465,43 +20756,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolClient.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserDataShared": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolClient.TokenValidityUnits": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "IdToken": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolDomain": { + "AWS::IAM::Group": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26533,25 +20788,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CustomDomainConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain.CustomDomainConfigType" - }, - "Domain": { + "GroupName": { "type": "string" }, - "UserPoolId": { + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Path": { "type": "string" + }, + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::Group.Policy" + }, + "type": "array" } }, - "required": [ - "Domain", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolDomain" + "AWS::IAM::Group" ], "type": "string" }, @@ -26565,21 +20825,27 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolDomain.CustomDomainConfigType": { + "AWS::IAM::Group.Policy": { "additionalProperties": false, "properties": { - "CertificateArn": { + "PolicyDocument": { + "type": "object" + }, + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolGroup": { + "AWS::IAM::GroupPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26611,30 +20877,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, "GroupName": { "type": "string" }, - "Precedence": { - "type": "number" - }, - "RoleArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" } }, "required": [ - "UserPoolId" + "GroupName", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolGroup" + "AWS::IAM::GroupPolicy" ], "type": "string" }, @@ -26653,7 +20914,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolIdentityProvider": { + "AWS::IAM::InstanceProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26685,38 +20946,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AttributeMapping": { - "type": "object" + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" }, - "IdpIdentifiers": { + "Roles": { "items": { "type": "string" }, "type": "array" - }, - "ProviderDetails": { - "type": "object" - }, - "ProviderName": { - "type": "string" - }, - "ProviderType": { - "type": "string" - }, - "UserPoolId": { - "type": "string" } }, "required": [ - "ProviderName", - "ProviderType", - "UserPoolId" + "Roles" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolIdentityProvider" + "AWS::IAM::InstanceProfile" ], "type": "string" }, @@ -26735,7 +20985,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer": { + "AWS::IAM::ManagedPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26767,32 +21017,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Identifier": { + "Description": { "type": "string" }, - "Name": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ManagedPolicyName": { "type": "string" }, - "Scopes": { + "Path": { + "type": "string" + }, + "PolicyDocument": { + "type": "object" + }, + "Roles": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType" + "type": "string" }, "type": "array" }, - "UserPoolId": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Identifier", - "Name", - "UserPoolId" + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolResourceServer" + "AWS::IAM::ManagedPolicy" ], "type": "string" }, @@ -26811,23 +21074,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeDescription", - "ScopeName" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": { + "AWS::IAM::OIDCProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26859,31 +21106,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccountTakeoverRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType" - }, - "ClientId": { - "type": "string" + "ClientIdList": { + "items": { + "type": "string" + }, + "type": "array" }, - "CompromisedCredentialsRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RiskExceptionConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType" + "ThumbprintList": { + "items": { + "type": "string" + }, + "type": "array" }, - "UserPoolId": { + "Url": { "type": "string" } }, - "required": [ - "ClientId", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolRiskConfigurationAttachment" + "AWS::IAM::OIDCProvider" ], "type": "string" }, @@ -26897,151 +21146,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - }, - "Notify": { - "type": "boolean" - } - }, - "required": [ - "EventAction", - "Notify" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType": { - "additionalProperties": false, - "properties": { - "HighAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "LowAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "MediumAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType" - }, - "NotifyConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - } - }, - "required": [ - "EventAction" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType" - }, - "EventFilter": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "From": { - "type": "string" - }, - "MfaEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "NoActionEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "ReplyTo": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType": { - "additionalProperties": false, - "properties": { - "HtmlBody": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "TextBody": { - "type": "string" - } - }, - "required": [ - "Subject" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkippedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolUICustomizationAttachment": { + "AWS::IAM::Policy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27073,25 +21182,40 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CSS": { - "type": "string" + "Groups": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClientId": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" + }, + "Roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ClientId", - "UserPoolId" + "PolicyDocument", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUICustomizationAttachment" + "AWS::IAM::Policy" ], "type": "string" }, @@ -27110,7 +21234,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolUser": { + "AWS::IAM::Role": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27142,48 +21266,51 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientMetadata": { + "AssumeRolePolicyDocument": { "type": "object" }, - "DesiredDeliveryMediums": { + "Description": { + "type": "string" + }, + "ManagedPolicyArns": { "items": { "type": "string" }, "type": "array" }, - "ForceAliasCreation": { - "type": "boolean" + "MaxSessionDuration": { + "type": "number" }, - "MessageAction": { + "Path": { "type": "string" }, - "UserAttributes": { + "PermissionsBoundary": { + "type": "string" + }, + "Policies": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/AWS::IAM::Role.Policy" }, "type": "array" }, - "UserPoolId": { - "type": "string" - }, - "Username": { + "RoleName": { "type": "string" }, - "ValidationData": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "UserPoolId" + "AssumeRolePolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUser" + "AWS::IAM::Role" ], "type": "string" }, @@ -27202,19 +21329,23 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Cognito::UserPoolUser.AttributeType": { + "AWS::IAM::Role.Policy": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Value": { + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolUserToGroupAttachment": { + "AWS::IAM::RolePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27246,26 +21377,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "GroupName": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" }, - "Username": { + "RoleName": { "type": "string" } }, "required": [ - "GroupName", - "UserPoolId", - "Username" + "PolicyName", + "RoleName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUserToGroupAttachment" + "AWS::IAM::RolePolicy" ], "type": "string" }, @@ -27284,7 +21414,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::AggregationAuthorization": { + "AWS::IAM::SAMLProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27316,10 +21446,10 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AuthorizedAccountId": { + "Name": { "type": "string" }, - "AuthorizedAwsRegion": { + "SamlMetadataDocument": { "type": "string" }, "Tags": { @@ -27330,14 +21460,13 @@ var SamSchema = `{ } }, "required": [ - "AuthorizedAccountId", - "AuthorizedAwsRegion" + "SamlMetadataDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::AggregationAuthorization" + "AWS::IAM::SAMLProvider" ], "type": "string" }, @@ -27356,7 +21485,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigRule": { + "AWS::IAM::ServerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27388,33 +21517,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigRuleName": { + "CertificateBody": { "type": "string" }, - "Description": { + "CertificateChain": { "type": "string" }, - "InputParameters": { - "type": "object" + "Path": { + "type": "string" }, - "MaximumExecutionFrequency": { + "PrivateKey": { "type": "string" }, - "Scope": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Scope" + "ServerCertificateName": { + "type": "string" }, - "Source": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Source" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Source" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigRule" + "AWS::IAM::ServerCertificate" ], "type": "string" }, @@ -27428,74 +21557,75 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Config::ConfigRule.Scope": { + "AWS::IAM::ServiceLinkedRole": { "additionalProperties": false, "properties": { - "ComplianceResourceId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ComplianceResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "TagValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::ConfigRule.Source": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" + "Metadata": { + "type": "object" }, - "SourceDetails": { - "items": { - "$ref": "#/definitions/AWS::Config::ConfigRule.SourceDetail" + "Properties": { + "additionalProperties": false, + "properties": { + "AWSServiceName": { + "type": "string" + }, + "CustomSuffix": { + "type": "string" + }, + "Description": { + "type": "string" + } }, - "type": "array" - }, - "SourceIdentifier": { - "type": "string" - } - }, - "required": [ - "Owner", - "SourceIdentifier" - ], - "type": "object" - }, - "AWS::Config::ConfigRule.SourceDetail": { - "additionalProperties": false, - "properties": { - "EventSource": { - "type": "string" + "type": "object" }, - "MaximumExecutionFrequency": { + "Type": { + "enum": [ + "AWS::IAM::ServiceLinkedRole" + ], "type": "string" }, - "MessageType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EventSource", - "MessageType" + "Type" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator": { + "AWS::IAM::User": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27527,30 +21657,48 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccountAggregationSources": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoginProfile": { + "$ref": "#/definitions/AWS::IAM::User.LoginProfile" + }, + "ManagedPolicyArns": { "items": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.AccountAggregationSource" + "type": "string" }, "type": "array" }, - "ConfigurationAggregatorName": { + "Path": { + "type": "string" + }, + "PermissionsBoundary": { "type": "string" }, - "OrganizationAggregationSource": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.OrganizationAggregationSource" + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::User.Policy" + }, + "type": "array" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "UserName": { + "type": "string" } }, "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationAggregator" + "AWS::IAM::User" ], "type": "string" }, @@ -27568,52 +21716,38 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.AccountAggregationSource": { + "AWS::IAM::User.LoginProfile": { "additionalProperties": false, "properties": { - "AccountIds": { - "items": { - "type": "string" - }, - "type": "array" + "Password": { + "type": "string" }, - "AllAwsRegions": { + "PasswordResetRequired": { "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "AccountIds" + "Password" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.OrganizationAggregationSource": { + "AWS::IAM::User.Policy": { "additionalProperties": false, "properties": { - "AllAwsRegions": { - "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "PolicyName": { "type": "string" } }, "required": [ - "RoleArn" + "PolicyDocument", + "PolicyName" ], "type": "object" }, - "AWS::Config::ConfigurationRecorder": { + "AWS::IAM::UserPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27645,24 +21779,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RecordingGroup": { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder.RecordingGroup" + "PolicyName": { + "type": "string" }, - "RoleARN": { + "UserName": { "type": "string" } }, "required": [ - "RoleARN" + "PolicyName", + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationRecorder" + "AWS::IAM::UserPolicy" ], "type": "string" }, @@ -27681,25 +21816,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::ConfigurationRecorder.RecordingGroup": { - "additionalProperties": false, - "properties": { - "AllSupported": { - "type": "boolean" - }, - "IncludeGlobalResourceTypes": { - "type": "boolean" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::ConformancePack": { + "AWS::IAM::UserToGroupAddition": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27731,36 +21848,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { + "GroupName": { + "type": "string" + }, + "Users": { "items": { - "$ref": "#/definitions/AWS::Config::ConformancePack.ConformancePackInputParameter" + "type": "string" }, "type": "array" - }, - "ConformancePackName": { - "type": "string" - }, - "DeliveryS3Bucket": { - "type": "string" - }, - "DeliveryS3KeyPrefix": { - "type": "string" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateS3Uri": { - "type": "string" } }, "required": [ - "ConformancePackName" + "GroupName", + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConformancePack" + "AWS::IAM::UserToGroupAddition" ], "type": "string" }, @@ -27779,23 +21885,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::ConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Config::DeliveryChannel": { + "AWS::IAM::VirtualMFADevice": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27827,33 +21917,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConfigSnapshotDeliveryProperties": { - "$ref": "#/definitions/AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties" - }, - "Name": { - "type": "string" - }, - "S3BucketName": { + "Path": { "type": "string" }, - "S3KeyPrefix": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "S3KmsKeyArn": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" }, - "SnsTopicARN": { + "VirtualMfaDeviceName": { "type": "string" } }, "required": [ - "S3BucketName" + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::DeliveryChannel" + "AWS::IAM::VirtualMFADevice" ], "type": "string" }, @@ -27872,16 +21962,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties": { - "additionalProperties": false, - "properties": { - "DeliveryFrequency": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::OrganizationConfigRule": { + "AWS::KMS::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27913,30 +21994,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationConfigRuleName": { + "AliasName": { "type": "string" }, - "OrganizationCustomRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata" - }, - "OrganizationManagedRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata" + "TargetKeyId": { + "type": "string" } }, "required": [ - "OrganizationConfigRuleName" + "AliasName", + "TargetKeyId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConfigRule" + "AWS::KMS::Alias" ], "type": "string" }, @@ -27955,86 +22028,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "LambdaFunctionArn": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "OrganizationConfigRuleTriggerTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn", - "OrganizationConfigRuleTriggerTypes" - ], - "type": "object" - }, - "AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuleIdentifier": { - "type": "string" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "RuleIdentifier" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack": { + "AWS::KMS::Key": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28066,42 +22060,51 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack.ConformancePackInputParameter" - }, - "type": "array" + "BypassPolicyLockoutSafetyCheck": { + "type": "boolean" }, - "DeliveryS3Bucket": { + "Description": { "type": "string" }, - "DeliveryS3KeyPrefix": { - "type": "string" + "EnableKeyRotation": { + "type": "boolean" }, - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" + }, + "KeyPolicy": { + "type": "object" }, - "OrganizationConformancePackName": { + "KeySpec": { "type": "string" }, - "TemplateBody": { + "KeyUsage": { "type": "string" }, - "TemplateS3Uri": { + "MultiRegion": { + "type": "boolean" + }, + "Origin": { "type": "string" + }, + "PendingWindowInDays": { + "type": "number" + }, + "RotationPeriodInDays": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "OrganizationConformancePackName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConformancePack" + "AWS::KMS::Key" ], "type": "string" }, @@ -28115,28 +22118,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" + "Type" ], "type": "object" }, - "AWS::Config::RemediationConfiguration": { + "AWS::KMS::ReplicaKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28168,47 +22154,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Automatic": { - "type": "boolean" - }, - "ConfigRuleName": { + "Description": { "type": "string" }, - "ExecutionControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ExecutionControls" - }, - "MaximumAutomaticAttempts": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Parameters": { + "KeyPolicy": { "type": "object" }, - "ResourceType": { - "type": "string" - }, - "RetryAttemptSeconds": { + "PendingWindowInDays": { "type": "number" }, - "TargetId": { - "type": "string" - }, - "TargetType": { + "PrimaryKeyArn": { "type": "string" }, - "TargetVersion": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ConfigRuleName", - "TargetId", - "TargetType" + "KeyPolicy", + "PrimaryKeyArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::RemediationConfiguration" + "AWS::KMS::ReplicaKey" ], "type": "string" }, @@ -28227,61 +22203,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Config::RemediationConfiguration.ExecutionControls": { - "additionalProperties": false, - "properties": { - "SsmControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.SsmControls" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.RemediationParameterValue": { - "additionalProperties": false, - "properties": { - "ResourceValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ResourceValue" - }, - "StaticValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.StaticValue" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.ResourceValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.SsmControls": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutionRatePercentage": { - "type": "number" - }, - "ErrorPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.StaticValue": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::StoredQuery": { + "AWS::Kinesis::ResourcePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28313,31 +22235,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "QueryDescription": { - "type": "string" - }, - "QueryExpression": { - "type": "string" - }, - "QueryName": { + "ResourceArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ResourcePolicy": { + "type": "object" } }, "required": [ - "QueryExpression", - "QueryName" + "ResourceArn", + "ResourcePolicy" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::StoredQuery" + "AWS::Kinesis::ResourcePolicy" ], "type": "string" }, @@ -28356,7 +22269,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Connect::ContactFlow": { + "AWS::Kinesis::Stream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28388,41 +22301,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Content": { + "Name": { "type": "string" }, - "Description": { - "type": "string" + "RetentionPeriodHours": { + "type": "number" }, - "InstanceArn": { - "type": "string" + "ShardCount": { + "type": "number" }, - "Name": { - "type": "string" + "StreamEncryption": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" }, - "State": { - "type": "string" + "StreamModeDetails": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamModeDetails" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Content", - "InstanceArn", - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlow" + "AWS::Kinesis::Stream" ], "type": "string" }, @@ -28436,12 +22341,39 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamEncryption": { + "additionalProperties": false, + "properties": { + "EncryptionType": { + "type": "string" + }, + "KeyId": { + "type": "string" + } + }, + "required": [ + "EncryptionType", + "KeyId" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamModeDetails": { + "additionalProperties": false, + "properties": { + "StreamMode": { + "type": "string" + } + }, + "required": [ + "StreamMode" ], "type": "object" }, - "AWS::Connect::ContactFlowModule": { + "AWS::Kinesis::StreamConsumer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28473,38 +22405,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "InstanceArn": { - "type": "string" - }, - "Name": { + "ConsumerName": { "type": "string" }, - "State": { + "StreamARN": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Content", - "InstanceArn", - "Name" + "ConsumerName", + "StreamARN" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlowModule" + "AWS::Kinesis::StreamConsumer" ], "type": "string" }, @@ -28523,7 +22439,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Connect::HoursOfOperation": { + "AWS::Lambda::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28555,42 +22471,35 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Config": { - "items": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationConfig" - }, - "type": "array" - }, "Description": { "type": "string" }, - "InstanceArn": { + "FunctionName": { + "type": "string" + }, + "FunctionVersion": { "type": "string" }, "Name": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" }, - "TimeZone": { - "type": "string" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" } }, "required": [ - "Config", - "InstanceArn", - "Name", - "TimeZone" + "FunctionName", + "FunctionVersion", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::HoursOfOperation" + "AWS::Lambda::Alias" ], "type": "string" }, @@ -28609,43 +22518,47 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationConfig": { + "AWS::Lambda::Alias.AliasRoutingConfiguration": { "additionalProperties": false, "properties": { - "Day": { - "type": "string" - }, - "EndTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" - }, - "StartTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" + "AdditionalVersionWeights": { + "items": { + "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { + "additionalProperties": false, + "properties": { + "ProvisionedConcurrentExecutions": { + "type": "number" } }, "required": [ - "Day", - "EndTime", - "StartTime" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice": { + "AWS::Lambda::Alias.VersionWeight": { "additionalProperties": false, "properties": { - "Hours": { - "type": "number" + "FunctionVersion": { + "type": "string" }, - "Minutes": { + "FunctionWeight": { "type": "number" } }, "required": [ - "Hours", - "Minutes" + "FunctionVersion", + "FunctionWeight" ], "type": "object" }, - "AWS::Connect::QuickConnect": { + "AWS::Lambda::CodeSigningConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28677,18 +22590,15 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "AllowedPublishers": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" }, - "InstanceArn": { - "type": "string" + "CodeSigningPolicies": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" }, - "Name": { + "Description": { "type": "string" }, - "QuickConnectConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QuickConnectConfig" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -28697,15 +22607,13 @@ var SamSchema = `{ } }, "required": [ - "InstanceArn", - "Name", - "QuickConnectConfig" + "AllowedPublishers" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::QuickConnect" + "AWS::Lambda::CodeSigningConfig" ], "type": "string" }, @@ -28724,72 +22632,34 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "PhoneNumber": { - "type": "string" - } - }, - "required": [ - "PhoneNumber" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QueueQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "ContactFlowArn": { - "type": "string" - }, - "QueueArn": { - "type": "string" - } - }, - "required": [ - "ContactFlowArn", - "QueueArn" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { "additionalProperties": false, "properties": { - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig" - }, - "QueueConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QueueQuickConnectConfig" - }, - "QuickConnectType": { - "type": "string" - }, - "UserConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.UserQuickConnectConfig" + "SigningProfileVersionArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "QuickConnectType" + "SigningProfileVersionArns" ], "type": "object" }, - "AWS::Connect::QuickConnect.UserQuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { "additionalProperties": false, "properties": { - "ContactFlowArn": { - "type": "string" - }, - "UserArn": { + "UntrustedArtifactOnDeployment": { "type": "string" } }, "required": [ - "ContactFlowArn", - "UserArn" + "UntrustedArtifactOnDeployment" ], "type": "object" }, - "AWS::Connect::User": { + "AWS::Lambda::EventInvokeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28821,55 +22691,31 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DirectoryUserId": { - "type": "string" - }, - "HierarchyGroupArn": { - "type": "string" - }, - "IdentityInfo": { - "$ref": "#/definitions/AWS::Connect::User.UserIdentityInfo" - }, - "InstanceArn": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::User.UserPhoneConfig" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" }, - "RoutingProfileArn": { + "FunctionName": { "type": "string" }, - "SecurityProfileArns": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumEventAgeInSeconds": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "Username": { + "Qualifier": { "type": "string" } }, "required": [ - "InstanceArn", - "PhoneConfig", - "RoutingProfileArn", - "SecurityProfileArns", - "Username" + "FunctionName", + "Qualifier" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::User" + "AWS::Lambda::EventInvokeConfig" ], "type": "string" }, @@ -28888,112 +22734,43 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::Connect::User.UserIdentityInfo": { + "AWS::Lambda::EventInvokeConfig.DestinationConfig": { "additionalProperties": false, "properties": { - "Email": { - "type": "string" - }, - "FirstName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" }, - "LastName": { - "type": "string" + "OnSuccess": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" } }, "type": "object" }, - "AWS::Connect::User.UserPhoneConfig": { + "AWS::Lambda::EventInvokeConfig.OnFailure": { "additionalProperties": false, "properties": { - "AfterContactWorkTimeLimit": { - "type": "number" - }, - "AutoAccept": { - "type": "boolean" - }, - "DeskPhoneNumber": { - "type": "string" - }, - "PhoneType": { + "Destination": { "type": "string" } }, "required": [ - "PhoneType" + "Destination" ], "type": "object" }, - "AWS::Connect::UserHierarchyGroup": { + "AWS::Lambda::EventInvokeConfig.OnSuccess": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentGroupArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Connect::UserHierarchyGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Destination": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination" ], "type": "object" }, - "AWS::CustomerProfiles::Domain": { + "AWS::Lambda::EventSourceMapping": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29025,111 +22802,111 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeadLetterQueueUrl": { - "type": "string" + "AmazonManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig" + }, + "BatchSize": { + "type": "number" + }, + "BisectBatchOnFunctionError": { + "type": "boolean" + }, + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" }, - "DefaultEncryptionKey": { + "DocumentDBEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig" + }, + "Enabled": { + "type": "boolean" + }, + "EventSourceArn": { "type": "string" }, - "DefaultExpirationDays": { - "type": "number" + "FilterCriteria": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.FilterCriteria" }, - "DomainName": { + "FunctionName": { "type": "string" }, - "Tags": { + "FunctionResponseTypes": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CustomerProfiles::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "KmsKeyArn": { "type": "string" }, - { + "MaximumBatchingWindowInSeconds": { + "type": "number" + }, + "MaximumRecordAgeInSeconds": { + "type": "number" + }, + "MaximumRetryAttempts": { + "type": "number" + }, + "MetricsConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.MetricsConfig" + }, + "ParallelizationFactor": { + "type": "number" + }, + "ProvisionedPollerConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig" + }, + "Queues": { "items": { - "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" }, - "FlowDefinition": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.FlowDefinition" + "ScalingConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ScalingConfig" + }, + "SelfManagedEventSource": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" + }, + "SelfManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig" }, - "ObjectTypeName": { + "SourceAccessConfigurations": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" + }, + "type": "array" + }, + "StartingPosition": { "type": "string" }, + "StartingPositionTimestamp": { + "type": "number" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "Uri": { - "type": "string" + "Topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TumblingWindowInSeconds": { + "type": "number" } }, "required": [ - "DomainName", - "ObjectTypeName" + "FunctionName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::Integration" + "AWS::Lambda::EventSourceMapping" ], "type": "string" }, @@ -29148,284 +22925,145 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ConnectorOperator": { - "additionalProperties": false, - "properties": { - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Zendesk": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CustomerProfiles::Integration.FlowDefinition": { + "AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FlowName": { + "ConsumerGroupId": { "type": "string" - }, - "KmsArn": { - "type": "string" - }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceFlowConfig" - }, - "Tasks": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.Task" - }, - "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerConfig" } }, - "required": [ - "FlowName", - "KmsArn", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.IncrementalPullConfig": { + "AWS::Lambda::EventSourceMapping.DestinationConfig": { "additionalProperties": false, "properties": { - "DatetimeTypeFieldName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.MarketoSourceProperties": { + "AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig": { "additionalProperties": false, "properties": { - "Object": { + "CollectionName": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { + }, + "DatabaseName": { "type": "string" }, - "BucketPrefix": { + "FullDocument": { "type": "string" } }, - "required": [ - "BucketName" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SalesforceSourceProperties": { + "AWS::Lambda::EventSourceMapping.Endpoints": { "additionalProperties": false, "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" - }, - "IncludeDeletedRecords": { - "type": "boolean" - }, - "Object": { - "type": "string" + "KafkaBootstrapServers": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ScheduledTriggerProperties": { + "AWS::Lambda::EventSourceMapping.Filter": { "additionalProperties": false, "properties": { - "DataPullMode": { - "type": "string" - }, - "FirstExecutionFrom": { - "type": "number" - }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleStartTime": { - "type": "number" - }, - "Timezone": { + "Pattern": { "type": "string" } }, - "required": [ - "ScheduleExpression" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ServiceNowSourceProperties": { + "AWS::Lambda::EventSourceMapping.FilterCriteria": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Filters": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Filter" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceConnectorProperties": { + "AWS::Lambda::EventSourceMapping.MetricsConfig": { "additionalProperties": false, "properties": { - "Marketo": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.S3SourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ServiceNowSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ZendeskSourceProperties" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceFlowConfig": { + "AWS::Lambda::EventSourceMapping.OnFailure": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Destination": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceConnectorProperties" } }, - "required": [ - "ConnectorType", - "SourceConnectorProperties" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.Task": { + "AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TaskPropertiesMap" - }, - "type": "array" + "MaximumPollers": { + "type": "number" }, - "TaskType": { - "type": "string" + "MinimumPollers": { + "type": "number" } }, - "required": [ - "SourceFields", - "TaskType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TaskPropertiesMap": { + "AWS::Lambda::EventSourceMapping.ScalingConfig": { "additionalProperties": false, "properties": { - "OperatorPropertyKey": { - "type": "string" - }, - "Property": { - "type": "string" + "MaximumConcurrency": { + "type": "number" } }, - "required": [ - "OperatorPropertyKey", - "Property" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerConfig": { + "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { "additionalProperties": false, "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerProperties" - }, - "TriggerType": { - "type": "string" + "Endpoints": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" } }, - "required": [ - "TriggerType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerProperties": { + "AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Scheduled": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ScheduledTriggerProperties" + "ConsumerGroupId": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.ZendeskSourceProperties": { + "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { "additionalProperties": false, "properties": { - "Object": { + "Type": { + "type": "string" + }, + "URI": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType": { + "AWS::Lambda::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29457,54 +23095,106 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllowProfileCreation": { - "type": "boolean" + "Architectures": { + "items": { + "type": "string" + }, + "type": "array" }, - "Description": { - "type": "string" + "Code": { + "$ref": "#/definitions/AWS::Lambda::Function.Code" }, - "DomainName": { + "CodeSigningConfigArn": { "type": "string" }, - "EncryptionKey": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "ExpirationDays": { - "type": "number" + "Environment": { + "$ref": "#/definitions/AWS::Lambda::Function.Environment" }, - "Fields": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.FieldMap" - }, - "type": "array" + "EphemeralStorage": { + "$ref": "#/definitions/AWS::Lambda::Function.EphemeralStorage" }, - "Keys": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.KeyMap" + "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" }, "type": "array" }, - "ObjectTypeName": { + "FunctionName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { + "Handler": { "type": "string" + }, + "ImageConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" + }, + "KmsKeyArn": { + "type": "string" + }, + "Layers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.LoggingConfig" + }, + "MemorySize": { + "type": "number" + }, + "PackageType": { + "type": "string" + }, + "RecursiveLoop": { + "type": "string" + }, + "ReservedConcurrentExecutions": { + "type": "number" + }, + "Role": { + "type": "string" + }, + "Runtime": { + "type": "string" + }, + "RuntimeManagementConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.RuntimeManagementConfig" + }, + "SnapStart": { + "$ref": "#/definitions/AWS::Lambda::Function.SnapStart" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timeout": { + "type": "number" + }, + "TracingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" + }, + "VpcConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" } }, "required": [ - "DomainName" + "Code", + "Role" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::ObjectType" + "AWS::Lambda::Function" ], "type": "string" }, @@ -29523,58 +23213,182 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType.FieldMap": { + "AWS::Lambda::Function.Code": { "additionalProperties": false, "properties": { - "Name": { + "ImageUri": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "SourceKMSKeyArn": { "type": "string" }, - "ObjectTypeField": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeField" + "ZipFile": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.KeyMap": { + "AWS::Lambda::Function.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Name": { + "TargetArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.Environment": { + "additionalProperties": false, + "properties": { + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.EphemeralStorage": { + "additionalProperties": false, + "properties": { + "Size": { + "type": "number" + } + }, + "required": [ + "Size" + ], + "type": "object" + }, + "AWS::Lambda::Function.FileSystemConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "LocalMountPath": { "type": "string" + } + }, + "required": [ + "Arn", + "LocalMountPath" + ], + "type": "object" + }, + "AWS::Lambda::Function.ImageConfig": { + "additionalProperties": false, + "properties": { + "Command": { + "items": { + "type": "string" + }, + "type": "array" }, - "ObjectTypeKeyList": { + "EntryPoint": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeKey" + "type": "string" }, "type": "array" + }, + "WorkingDirectory": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeField": { + "AWS::Lambda::Function.LoggingConfig": { "additionalProperties": false, "properties": { - "ContentType": { + "ApplicationLogLevel": { "type": "string" }, - "Source": { + "LogFormat": { "type": "string" }, - "Target": { + "LogGroup": { + "type": "string" + }, + "SystemLogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.RuntimeManagementConfig": { + "additionalProperties": false, + "properties": { + "RuntimeVersionArn": { + "type": "string" + }, + "UpdateRuntimeOn": { + "type": "string" + } + }, + "required": [ + "UpdateRuntimeOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStart": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + } + }, + "required": [ + "ApplyOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStartResponse": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + }, + "OptimizationStatus": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.TracingConfig": { + "additionalProperties": false, + "properties": { + "Mode": { "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeKey": { + "AWS::Lambda::Function.VpcConfig": { "additionalProperties": false, "properties": { - "FieldNames": { + "Ipv6AllowedForDualStack": { + "type": "boolean" + }, + "SecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "StandardIdentifiers": { + "SubnetIds": { "items": { "type": "string" }, @@ -29583,7 +23397,7 @@ var SamSchema = `{ }, "type": "object" }, - "AWS::DAX::Cluster": { + "AWS::Lambda::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29615,65 +23429,39 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { + "CompatibleArchitectures": { "items": { "type": "string" }, "type": "array" }, - "ClusterEndpointEncryptionType": { - "type": "string" + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClusterName": { - "type": "string" + "Content": { + "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" }, "Description": { "type": "string" }, - "IAMRoleARN": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NotificationTopicARN": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "LayerName": { "type": "string" }, - "ReplicationFactor": { - "type": "number" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DAX::Cluster.SSESpecification" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetGroupName": { + "LicenseInfo": { "type": "string" - }, - "Tags": { - "type": "object" } }, "required": [ - "IAMRoleARN", - "NodeType", - "ReplicationFactor" + "Content" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::Cluster" + "AWS::Lambda::LayerVersion" ], "type": "string" }, @@ -29692,16 +23480,26 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DAX::Cluster.SSESpecification": { + "AWS::Lambda::LayerVersion.Content": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" } }, + "required": [ + "S3Bucket", + "S3Key" + ], "type": "object" }, - "AWS::DAX::ParameterGroup": { + "AWS::Lambda::LayerVersionPermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29733,21 +23531,29 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "ParameterGroupName": { + "LayerVersionArn": { "type": "string" }, - "ParameterNameValues": { - "type": "object" + "OrganizationId": { + "type": "string" + }, + "Principal": { + "type": "string" } }, + "required": [ + "Action", + "LayerVersionArn", + "Principal" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::ParameterGroup" + "AWS::Lambda::LayerVersionPermission" ], "type": "string" }, @@ -29761,11 +23567,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DAX::SubnetGroup": { + "AWS::Lambda::Permission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29797,27 +23604,41 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { + "type": "string" + }, + "EventSourceToken": { "type": "string" }, - "SubnetGroupName": { + "FunctionName": { "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "FunctionUrlAuthType": { + "type": "string" + }, + "Principal": { + "type": "string" + }, + "PrincipalOrgID": { + "type": "string" + }, + "SourceAccount": { + "type": "string" + }, + "SourceArn": { + "type": "string" } }, "required": [ - "SubnetIds" + "Action", + "FunctionName", + "Principal" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::SubnetGroup" + "AWS::Lambda::Permission" ], "type": "string" }, @@ -29836,7 +23657,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy": { + "AWS::Lambda::Url": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29868,30 +23689,31 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AuthType": { "type": "string" }, - "ExecutionRoleArn": { - "type": "string" + "Cors": { + "$ref": "#/definitions/AWS::Lambda::Url.Cors" }, - "PolicyDetails": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.PolicyDetails" + "InvokeMode": { + "type": "string" }, - "State": { + "Qualifier": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "TargetFunctionArn": { + "type": "string" } }, + "required": [ + "AuthType", + "TargetFunctionArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DLM::LifecyclePolicy" + "AWS::Lambda::Url" ], "type": "string" }, @@ -29905,193 +23727,483 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Action": { + "AWS::Lambda::Url.Cors": { "additionalProperties": false, "properties": { - "CrossRegionCopy": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyAction" + "type": "string" }, "type": "array" }, - "Name": { - "type": "string" - } - }, - "required": [ - "CrossRegionCopy", - "Name" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.CreateRule": { - "additionalProperties": false, - "properties": { - "CronExpression": { - "type": "string" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" + "AllowMethods": { + "items": { + "type": "string" + }, + "type": "array" }, - "Location": { - "type": "string" + "AllowOrigins": { + "items": { + "type": "string" + }, + "type": "array" }, - "Times": { + "ExposeHeaders": { "items": { "type": "string" }, "type": "array" + }, + "MaxAge": { + "type": "number" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyAction": { + "AWS::Lambda::Version": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EncryptionConfiguration" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Metadata": { + "type": "object" }, - "Target": { + "Properties": { + "additionalProperties": false, + "properties": { + "CodeSha256": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FunctionName": { + "type": "string" + }, + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" + }, + "RuntimePolicy": { + "$ref": "#/definitions/AWS::Lambda::Version.RuntimePolicy" + } + }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Lambda::Version" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EncryptionConfiguration", - "Target" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule": { + "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { "additionalProperties": false, "properties": { - "Interval": { + "ProvisionedConcurrentExecutions": { "type": "number" - }, - "IntervalUnit": { - "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule": { + "AWS::Lambda::Version.RuntimePolicy": { "additionalProperties": false, "properties": { - "Interval": { - "type": "number" + "RuntimeVersionArn": { + "type": "string" }, - "IntervalUnit": { + "UpdateRuntimeOn": { "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "UpdateRuntimeOn" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRule": { + "AWS::RDS::CustomDBEngineVersion": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "CopyTags": { - "type": "boolean" - }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Encrypted": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Properties": { + "additionalProperties": false, + "properties": { + "DatabaseInstallationFilesS3BucketName": { + "type": "string" + }, + "DatabaseInstallationFilesS3Prefix": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "Engine": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "Manifest": { + "type": "string" + }, + "SourceCustomDbEngineVersionIdentifier": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseAwsProvidedLatestImage": { + "type": "boolean" + } + }, + "required": [ + "Engine", + "EngineVersion" + ], + "type": "object" }, - "Target": { + "Type": { + "enum": [ + "AWS::RDS::CustomDBEngineVersion" + ], "type": "string" }, - "TargetRegion": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Encrypted" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.DeprecateRule": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EncryptionConfiguration": { + "AWS::RDS::DBCluster": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Encrypted": { - "type": "boolean" - } - }, - "required": [ - "Encrypted" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventParameters": { - "additionalProperties": false, - "properties": { - "DescriptionRegex": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "EventType": { - "type": "string" + "Metadata": { + "type": "object" }, - "SnapshotOwner": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "AllocatedStorage": { + "type": "number" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BacktrackWindow": { + "type": "number" + }, + "BackupRetentionPeriod": { + "type": "number" + }, + "ClusterScalabilityType": { + "type": "string" + }, + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "DBClusterIdentifier": { + "type": "string" + }, + "DBClusterInstanceClass": { + "type": "string" + }, + "DBClusterParameterGroupName": { + "type": "string" + }, + "DBInstanceParameterGroupName": { + "type": "string" + }, + "DBSubnetGroupName": { + "type": "string" + }, + "DBSystemId": { + "type": "string" + }, + "DatabaseInsightsMode": { + "type": "string" + }, + "DatabaseName": { + "type": "string" + }, + "DeletionProtection": { + "type": "boolean" + }, + "Domain": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableGlobalWriteForwarding": { + "type": "boolean" + }, + "EnableHttpEndpoint": { + "type": "boolean" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnableLocalWriteForwarding": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineMode": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBCluster.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MonitoringInterval": { + "type": "number" + }, + "MonitoringRoleArn": { + "type": "string" + }, + "NetworkType": { + "type": "string" + }, + "PerformanceInsightsEnabled": { + "type": "boolean" + }, + "PerformanceInsightsKmsKeyId": { + "type": "string" + }, + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { + "type": "number" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicationSourceIdentifier": { + "type": "string" + }, + "RestoreToTime": { + "type": "string" + }, + "RestoreType": { + "type": "string" + }, + "ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" + }, + "ServerlessV2ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration" + }, + "SnapshotIdentifier": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VpcSecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - } - }, - "required": [ - "EventType", - "SnapshotOwner" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventSource": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventParameters" + "type": "object" }, "Type": { + "enum": [ + "AWS::RDS::DBCluster" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, @@ -30100,166 +24212,94 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.FastRestoreRule": { + "AWS::RDS::DBCluster.DBClusterRole": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" + "FeatureName": { + "type": "string" }, - "IntervalUnit": { + "RoleArn": { "type": "string" } }, + "required": [ + "RoleArn" + ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Parameters": { + "AWS::RDS::DBCluster.Endpoint": { "additionalProperties": false, "properties": { - "ExcludeBootVolume": { - "type": "boolean" + "Address": { + "type": "string" }, - "NoReboot": { - "type": "boolean" + "Port": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.PolicyDetails": { + "AWS::RDS::DBCluster.MasterUserSecret": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Action" - }, - "type": "array" - }, - "EventSource": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventSource" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Parameters" - }, - "PolicyType": { + "KmsKeyId": { "type": "string" }, - "ResourceLocations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Schedules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Schedule" - }, - "type": "array" - }, - "TargetTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SecretArn": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.RetainRule": { + "AWS::RDS::DBCluster.ReadEndpoint": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { + "Address": { "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.Schedule": { + "AWS::RDS::DBCluster.ScalingConfiguration": { "additionalProperties": false, "properties": { - "CopyTags": { + "AutoPause": { "type": "boolean" }, - "CreateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CreateRule" + "MaxCapacity": { + "type": "number" }, - "CrossRegionCopyRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRule" - }, - "type": "array" + "MinCapacity": { + "type": "number" }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.DeprecateRule" + "SecondsBeforeTimeout": { + "type": "number" }, - "FastRestoreRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.FastRestoreRule" + "SecondsUntilAutoPause": { + "type": "number" }, - "Name": { + "TimeoutAction": { "type": "string" - }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.RetainRule" - }, - "ShareRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.ShareRule" - }, - "type": "array" - }, - "TagsToAdd": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.ShareRule": { + "AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration": { "additionalProperties": false, "properties": { - "TargetAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "MaxCapacity": { + "type": "number" }, - "UnshareInterval": { + "MinCapacity": { "type": "number" }, - "UnshareIntervalUnit": { - "type": "string" + "SecondsUntilAutoPause": { + "type": "number" } }, "type": "object" }, - "AWS::DMS::Certificate": { + "AWS::RDS::DBClusterParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30291,21 +24331,35 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateIdentifier": { + "DBClusterParameterGroupName": { "type": "string" }, - "CertificatePem": { + "Description": { "type": "string" }, - "CertificateWallet": { + "Family": { "type": "string" + }, + "Parameters": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "Description", + "Family", + "Parameters" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::Certificate" + "AWS::RDS::DBClusterParameterGroup" ], "type": "string" }, @@ -30319,11 +24373,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DMS::Endpoint": { + "AWS::RDS::DBInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30355,114 +24410,272 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { + "AllocatedStorage": { "type": "string" }, - "DatabaseName": { + "AllowMajorVersionUpgrade": { + "type": "boolean" + }, + "ApplyImmediately": { + "type": "boolean" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AutomaticBackupReplicationKmsKeyId": { + "type": "string" + }, + "AutomaticBackupReplicationRegion": { + "type": "string" + }, + "AvailabilityZone": { "type": "string" }, - "DocDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DocDbSettings" + "BackupRetentionPeriod": { + "type": "number" + }, + "CACertificateIdentifier": { + "type": "string" }, - "DynamoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DynamoDbSettings" + "CertificateDetails": { + "$ref": "#/definitions/AWS::RDS::DBInstance.CertificateDetails" }, - "ElasticsearchSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.ElasticsearchSettings" + "CertificateRotationRestart": { + "type": "boolean" }, - "EndpointIdentifier": { + "CharacterSetName": { "type": "string" }, - "EndpointType": { + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "CustomIAMInstanceProfile": { "type": "string" }, - "EngineName": { + "DBClusterIdentifier": { "type": "string" }, - "ExtraConnectionAttributes": { + "DBClusterSnapshotIdentifier": { "type": "string" }, - "IbmDb2Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.IbmDb2Settings" + "DBInstanceClass": { + "type": "string" }, - "KafkaSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KafkaSettings" + "DBInstanceIdentifier": { + "type": "string" }, - "KinesisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KinesisSettings" + "DBName": { + "type": "string" }, - "KmsKeyId": { + "DBParameterGroupName": { + "type": "string" + }, + "DBSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DBSnapshotIdentifier": { + "type": "string" + }, + "DBSubnetGroupName": { "type": "string" }, - "MicrosoftSqlServerSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MicrosoftSqlServerSettings" + "DBSystemId": { + "type": "string" }, - "MongoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MongoDbSettings" + "DedicatedLogVolume": { + "type": "boolean" }, - "MySqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MySqlSettings" + "DeleteAutomatedBackups": { + "type": "boolean" }, - "NeptuneSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.NeptuneSettings" + "DeletionProtection": { + "type": "boolean" }, - "OracleSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.OracleSettings" + "Domain": { + "type": "string" }, - "Password": { + "DomainAuthSecretArn": { "type": "string" }, - "Port": { + "DomainDnsIps": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DomainFqdn": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "DomainOu": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnablePerformanceInsights": { + "type": "boolean" + }, + "Endpoint": { + "$ref": "#/definitions/AWS::RDS::DBInstance.Endpoint" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "LicenseModel": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBInstance.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MaxAllocatedStorage": { "type": "number" }, - "PostgreSqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.PostgreSqlSettings" + "MonitoringInterval": { + "type": "number" }, - "RedisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedisSettings" + "MonitoringRoleArn": { + "type": "string" }, - "RedshiftSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedshiftSettings" + "MultiAZ": { + "type": "boolean" }, - "ResourceIdentifier": { + "NcharCharacterSetName": { "type": "string" }, - "S3Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.S3Settings" + "NetworkType": { + "type": "string" }, - "ServerName": { + "OptionGroupName": { "type": "string" }, - "SslMode": { + "PerformanceInsightsKMSKeyId": { "type": "string" }, - "SybaseSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.SybaseSettings" + "PerformanceInsightsRetentionPeriod": { + "type": "number" }, - "Tags": { + "Port": { + "type": "string" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "ProcessorFeatures": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" }, "type": "array" }, - "Username": { + "PromotionTier": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicaMode": { "type": "string" - } - }, - "required": [ - "EndpointType", - "EngineName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DMS::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ + }, + "RestoreTime": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceDBInstanceAutomatedBackupsArn": { + "type": "string" + }, + "SourceDBInstanceIdentifier": { + "type": "string" + }, + "SourceDbiResourceId": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageThroughput": { + "type": "number" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timezone": { + "type": "string" + }, + "UseDefaultProcessorFeatures": { + "type": "boolean" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VPCSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::RDS::DBInstance" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ "Delete", "Retain", "Snapshot" @@ -30471,351 +24684,78 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DMS::Endpoint.DocDbSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.DynamoDbSettings": { - "additionalProperties": false, - "properties": { - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.ElasticsearchSettings": { - "additionalProperties": false, - "properties": { - "EndpointUri": { - "type": "string" - }, - "ErrorRetryDuration": { - "type": "number" - }, - "FullLoadErrorPercentage": { - "type": "number" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.IbmDb2Settings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KafkaSettings": { - "additionalProperties": false, - "properties": { - "Broker": { - "type": "string" - }, - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "SaslPassword": { - "type": "string" - }, - "SaslUserName": { - "type": "string" - }, - "SecurityProtocol": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslClientCertificateArn": { - "type": "string" - }, - "SslClientKeyArn": { - "type": "string" - }, - "SslClientKeyPassword": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KinesisSettings": { - "additionalProperties": false, - "properties": { - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "MessageFormat": { - "type": "string" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "ServiceAccessRoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MongoDbSettings": { - "additionalProperties": false, - "properties": { - "AuthMechanism": { - "type": "string" - }, - "AuthSource": { - "type": "string" - }, - "AuthType": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DocsToInvestigate": { - "type": "string" - }, - "ExtractDocId": { - "type": "string" - }, - "NestingLevel": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MySqlSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.NeptuneSettings": { - "additionalProperties": false, - "properties": { - "ErrorRetryDuration": { - "type": "number" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "MaxFileSize": { - "type": "number" - }, - "MaxRetryCount": { - "type": "number" - }, - "S3BucketFolder": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.OracleSettings": { + "AWS::RDS::DBInstance.CertificateDetails": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { + "CAIdentifier": { "type": "string" }, - "SecretsManagerSecretId": { + "ValidTill": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.PostgreSqlSettings": { + "AWS::RDS::DBInstance.DBInstanceRole": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "FeatureName": { "type": "string" }, - "SecretsManagerSecretId": { + "RoleArn": { "type": "string" } }, + "required": [ + "FeatureName", + "RoleArn" + ], "type": "object" }, - "AWS::DMS::Endpoint.RedisSettings": { + "AWS::RDS::DBInstance.Endpoint": { "additionalProperties": false, "properties": { - "AuthPassword": { - "type": "string" - }, - "AuthType": { + "Address": { "type": "string" }, - "AuthUserName": { + "HostedZoneId": { "type": "string" }, "Port": { - "type": "number" - }, - "ServerName": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslSecurityProtocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.RedshiftSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.S3Settings": { + "AWS::RDS::DBInstance.MasterUserSecret": { "additionalProperties": false, "properties": { - "BucketFolder": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "CompressionType": { - "type": "string" - }, - "CsvDelimiter": { - "type": "string" - }, - "CsvRowDelimiter": { - "type": "string" - }, - "ExternalTableDefinition": { + "KmsKeyId": { "type": "string" }, - "ServiceAccessRoleArn": { + "SecretArn": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.SybaseSettings": { + "AWS::RDS::DBInstance.ProcessorFeature": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "Name": { "type": "string" }, - "SecretsManagerSecretId": { + "Value": { "type": "string" } }, "type": "object" }, - "AWS::DMS::EventSubscription": { + "AWS::RDS::DBParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30847,30 +24787,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { + "DBParameterGroupName": { "type": "string" }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { + "Description": { "type": "string" }, - "SubscriptionName": { + "Family": { "type": "string" }, + "Parameters": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -30879,13 +24807,14 @@ var SamSchema = `{ } }, "required": [ - "SnsTopicArn" + "Description", + "Family" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::EventSubscription" + "AWS::RDS::DBParameterGroup" ], "type": "string" }, @@ -30904,7 +24833,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationInstance": { + "AWS::RDS::DBProxy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30936,48 +24865,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllocatedStorage": { - "type": "number" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" + "Auth": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" + }, + "type": "array" }, - "PreferredMaintenanceWindow": { + "DBProxyName": { "type": "string" }, - "PubliclyAccessible": { + "DebugLogging": { "type": "boolean" }, - "ReplicationInstanceClass": { + "EngineFamily": { "type": "string" }, - "ReplicationInstanceIdentifier": { - "type": "string" + "IdleClientTimeout": { + "type": "number" }, - "ReplicationSubnetGroupIdentifier": { - "type": "string" + "RequireTLS": { + "type": "boolean" }, - "ResourceIdentifier": { + "RoleArn": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" }, "type": "array" }, @@ -30986,16 +24900,26 @@ var SamSchema = `{ "type": "string" }, "type": "array" + }, + "VpcSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ReplicationInstanceClass" + "Auth", + "DBProxyName", + "EngineFamily", + "RoleArn", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationInstance" + "AWS::RDS::DBProxy" ], "type": "string" }, @@ -31014,7 +24938,40 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationSubnetGroup": { + "AWS::RDS::DBProxy.AuthFormat": { + "additionalProperties": false, + "properties": { + "AuthScheme": { + "type": "string" + }, + "ClientPasswordAuthType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IAMAuth": { + "type": "string" + }, + "SecretArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxy.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31046,34 +25003,44 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ReplicationSubnetGroupDescription": { + "DBProxyEndpointName": { "type": "string" }, - "ReplicationSubnetGroupIdentifier": { + "DBProxyName": { "type": "string" }, - "SubnetIds": { + "Tags": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" + }, + "type": "array" + }, + "TargetRole": { + "type": "string" + }, + "VpcSecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "Tags": { + "VpcSubnetIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "ReplicationSubnetGroupDescription", - "SubnetIds" + "DBProxyEndpointName", + "DBProxyName", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationSubnetGroup" + "AWS::RDS::DBProxyEndpoint" ], "type": "string" }, @@ -31092,7 +25059,19 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DMS::ReplicationTask": { + "AWS::RDS::DBProxyEndpoint.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyTargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31124,61 +25103,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CdcStartPosition": { - "type": "string" - }, - "CdcStartTime": { - "type": "number" - }, - "CdcStopPosition": { - "type": "string" - }, - "MigrationType": { - "type": "string" - }, - "ReplicationInstanceArn": { - "type": "string" - }, - "ReplicationTaskIdentifier": { - "type": "string" - }, - "ReplicationTaskSettings": { - "type": "string" - }, - "ResourceIdentifier": { - "type": "string" - }, - "SourceEndpointArn": { - "type": "string" + "ConnectionPoolConfigurationInfo": { + "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" }, - "TableMappings": { - "type": "string" + "DBClusterIdentifiers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Tags": { + "DBInstanceIdentifiers": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "TargetEndpointArn": { + "DBProxyName": { "type": "string" }, - "TaskData": { + "TargetGroupName": { "type": "string" } }, "required": [ - "MigrationType", - "ReplicationInstanceArn", - "SourceEndpointArn", - "TableMappings", - "TargetEndpointArn" + "DBProxyName", + "TargetGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationTask" + "AWS::RDS::DBProxyTargetGroup" ], "type": "string" }, @@ -31197,7 +25152,31 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Dataset": { + "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { + "additionalProperties": false, + "properties": { + "ConnectionBorrowTimeout": { + "type": "number" + }, + "InitQuery": { + "type": "string" + }, + "MaxConnectionsPercent": { + "type": "number" + }, + "MaxIdleConnectionsPercent": { + "type": "number" + }, + "SessionPinningFilters": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::RDS::DBSecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31229,20 +25208,17 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FormatOptions" - }, - "Input": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Input" + "DBSecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" + }, + "type": "array" }, - "Name": { + "EC2VpcId": { "type": "string" }, - "PathOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathOptions" + "GroupDescription": { + "type": "string" }, "Tags": { "items": { @@ -31252,14 +25228,14 @@ var SamSchema = `{ } }, "required": [ - "Input", - "Name" + "DBSecurityGroupIngress", + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Dataset" + "AWS::RDS::DBSecurityGroup" ], "type": "string" }, @@ -31278,275 +25254,25 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Dataset.CsvOptions": { + "AWS::RDS::DBSecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "Delimiter": { + "CIDRIP": { "type": "string" }, - "HeaderRow": { - "type": "boolean" + "EC2SecurityGroupId": { + "type": "string" + }, + "EC2SecurityGroupName": { + "type": "string" + }, + "EC2SecurityGroupOwnerId": { + "type": "string" } }, "type": "object" }, - "AWS::DataBrew::Dataset.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.DatabaseInputDefinition": { - "additionalProperties": false, - "properties": { - "DatabaseTableName": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "required": [ - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatasetParameter": { - "additionalProperties": false, - "properties": { - "CreateColumn": { - "type": "boolean" - }, - "DatetimeOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatetimeOptions" - }, - "Filter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatetimeOptions": { - "additionalProperties": false, - "properties": { - "Format": { - "type": "string" - }, - "LocaleCode": { - "type": "string" - }, - "TimezoneOffset": { - "type": "string" - } - }, - "required": [ - "Format" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.ExcelOptions": { - "additionalProperties": false, - "properties": { - "HeaderRow": { - "type": "boolean" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.FilesLimit": { - "additionalProperties": false, - "properties": { - "MaxFiles": { - "type": "number" - }, - "Order": { - "type": "string" - }, - "OrderedBy": { - "type": "string" - } - }, - "required": [ - "MaxFiles" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterExpression": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "ValuesMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterValue" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ValuesMap" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "ValueReference": { - "type": "string" - } - }, - "required": [ - "Value", - "ValueReference" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.CsvOptions" - }, - "Excel": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.ExcelOptions" - }, - "Json": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.JsonOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Input": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DataCatalogInputDefinition" - }, - "DatabaseInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatabaseInputDefinition" - }, - "Metadata": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Metadata" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.JsonOptions": { - "additionalProperties": false, - "properties": { - "MultiLine": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Metadata": { - "additionalProperties": false, - "properties": { - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathOptions": { - "additionalProperties": false, - "properties": { - "FilesLimit": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilesLimit" - }, - "LastModifiedDateCondition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathParameter": { - "additionalProperties": false, - "properties": { - "DatasetParameter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatasetParameter" - }, - "PathParameterName": { - "type": "string" - } - }, - "required": [ - "DatasetParameter", - "PathParameterName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job": { + "AWS::RDS::DBSecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31578,92 +25304,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DataCatalogOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DataCatalogOutput" - }, - "type": "array" - }, - "DatabaseOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseOutput" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "EncryptionKeyArn": { - "type": "string" - }, - "EncryptionMode": { - "type": "string" - }, - "JobSample": { - "$ref": "#/definitions/AWS::DataBrew::Job.JobSample" - }, - "LogSubscription": { + "CIDRIP": { "type": "string" }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { + "DBSecurityGroupName": { "type": "string" }, - "OutputLocation": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputLocation" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.Output" - }, - "type": "array" - }, - "ProfileConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.ProfileConfiguration" - }, - "ProjectName": { + "EC2SecurityGroupId": { "type": "string" }, - "Recipe": { - "$ref": "#/definitions/AWS::DataBrew::Job.Recipe" - }, - "RoleArn": { + "EC2SecurityGroupName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "Type": { + "EC2SecurityGroupOwnerId": { "type": "string" - }, - "ValidationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ValidationConfiguration" - }, - "type": "array" } }, "required": [ - "Name", - "RoleArn", - "Type" + "DBSecurityGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Job" + "AWS::RDS::DBSecurityGroupIngress" ], "type": "string" }, @@ -31682,327 +25346,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Job.AllowedStatistics": { - "additionalProperties": false, - "properties": { - "Statistics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ColumnStatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - }, - "Statistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.CsvOutputOptions": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.DataCatalogOutput": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "Overwrite": { - "type": "boolean" - }, - "S3Options": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3TableOutputOptions" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseOutput": { - "additionalProperties": false, - "properties": { - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "DatabaseOutputMode": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - } - }, - "required": [ - "DatabaseOptions", - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseTableOutputOptions": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.EntityDetectorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedStatistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.AllowedStatistics" - }, - "EntityTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes" - ], - "type": "object" - }, - "AWS::DataBrew::Job.JobSample": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Output": { - "additionalProperties": false, - "properties": { - "CompressionFormat": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputFormatOptions" - }, - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - }, - "Overwrite": { - "type": "boolean" - }, - "PartitionColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.OutputFormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Job.CsvOutputOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.OutputLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Job.ProfileConfiguration": { - "additionalProperties": false, - "properties": { - "ColumnStatisticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnStatisticsConfiguration" - }, - "type": "array" - }, - "DatasetStatisticsConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - }, - "EntityDetectorConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.EntityDetectorConfiguration" - }, - "ProfileColumns": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Recipe": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3TableOutputOptions": { - "additionalProperties": false, - "properties": { - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticOverride": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Job.ParameterMap" - }, - "Statistic": { - "type": "string" - } - }, - "required": [ - "Parameters", - "Statistic" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "IncludedStatistics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticOverride" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ValidationConfiguration": { - "additionalProperties": false, - "properties": { - "RulesetArn": { - "type": "string" - }, - "ValidationMode": { - "type": "string" - } - }, - "required": [ - "RulesetArn" - ], - "type": "object" - }, - "AWS::DataBrew::Project": { + "AWS::RDS::DBShardGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32034,20 +25378,23 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DatasetName": { - "type": "string" + "ComputeRedundancy": { + "type": "number" }, - "Name": { + "DBClusterIdentifier": { "type": "string" }, - "RecipeName": { + "DBShardGroupIdentifier": { "type": "string" }, - "RoleArn": { - "type": "string" + "MaxACU": { + "type": "number" }, - "Sample": { - "$ref": "#/definitions/AWS::DataBrew::Project.Sample" + "MinACU": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" }, "Tags": { "items": { @@ -32057,16 +25404,14 @@ var SamSchema = `{ } }, "required": [ - "DatasetName", - "Name", - "RecipeName", - "RoleArn" + "DBClusterIdentifier", + "MaxACU" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Project" + "AWS::RDS::DBShardGroup" ], "type": "string" }, @@ -32085,22 +25430,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Project.Sample": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe": { + "AWS::RDS::DBSubnetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32132,15 +25462,15 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "DBSubnetGroupDescription": { "type": "string" }, - "Name": { + "DBSubnetGroupName": { "type": "string" }, - "Steps": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.RecipeStep" + "type": "string" }, "type": "array" }, @@ -32152,14 +25482,14 @@ var SamSchema = `{ } }, "required": [ - "Name", - "Steps" + "DBSubnetGroupDescription", + "SubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Recipe" + "AWS::RDS::DBSubnetGroup" ], "type": "string" }, @@ -32178,427 +25508,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Recipe.Action": { - "additionalProperties": false, - "properties": { - "Operation": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ParameterMap" - } - }, - "required": [ - "Operation" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.ConditionExpression": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Condition", - "TargetColumn" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeParameters": { - "additionalProperties": false, - "properties": { - "AggregateFunction": { - "type": "string" - }, - "Base": { - "type": "string" - }, - "CaseStatement": { - "type": "string" - }, - "CategoryMap": { - "type": "string" - }, - "CharsToRemove": { - "type": "string" - }, - "CollapseConsecutiveWhitespace": { - "type": "string" - }, - "ColumnDataType": { - "type": "string" - }, - "ColumnRange": { - "type": "string" - }, - "Count": { - "type": "string" - }, - "CustomCharacters": { - "type": "string" - }, - "CustomStopWords": { - "type": "string" - }, - "CustomValue": { - "type": "string" - }, - "DatasetsColumns": { - "type": "string" - }, - "DateAddValue": { - "type": "string" - }, - "DateTimeFormat": { - "type": "string" - }, - "DateTimeParameters": { - "type": "string" - }, - "DeleteOtherRows": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "EndPattern": { - "type": "string" - }, - "EndPosition": { - "type": "string" - }, - "EndValue": { - "type": "string" - }, - "ExpandContractions": { - "type": "string" - }, - "Exponent": { - "type": "string" - }, - "FalseString": { - "type": "string" - }, - "GroupByAggFunctionOptions": { - "type": "string" - }, - "GroupByColumns": { - "type": "string" - }, - "HiddenColumns": { - "type": "string" - }, - "IgnoreCase": { - "type": "string" - }, - "IncludeInSplit": { - "type": "string" - }, - "Input": { - "type": "object" - }, - "Interval": { - "type": "string" - }, - "IsText": { - "type": "string" - }, - "JoinKeys": { - "type": "string" - }, - "JoinType": { - "type": "string" - }, - "LeftColumns": { - "type": "string" - }, - "Limit": { - "type": "string" - }, - "LowerBound": { - "type": "string" - }, - "MapType": { - "type": "string" - }, - "ModeType": { - "type": "string" - }, - "MultiLine": { - "type": "boolean" - }, - "NumRows": { - "type": "string" - }, - "NumRowsAfter": { - "type": "string" - }, - "NumRowsBefore": { - "type": "string" - }, - "OrderByColumn": { - "type": "string" - }, - "OrderByColumns": { - "type": "string" - }, - "Other": { - "type": "string" - }, - "Pattern": { - "type": "string" - }, - "PatternOption1": { - "type": "string" - }, - "PatternOption2": { - "type": "string" - }, - "PatternOptions": { - "type": "string" - }, - "Period": { - "type": "string" - }, - "Position": { - "type": "string" - }, - "RemoveAllPunctuation": { - "type": "string" - }, - "RemoveAllQuotes": { - "type": "string" - }, - "RemoveAllWhitespace": { - "type": "string" - }, - "RemoveCustomCharacters": { - "type": "string" - }, - "RemoveCustomValue": { - "type": "string" - }, - "RemoveLeadingAndTrailingPunctuation": { - "type": "string" - }, - "RemoveLeadingAndTrailingQuotes": { - "type": "string" - }, - "RemoveLeadingAndTrailingWhitespace": { - "type": "string" - }, - "RemoveLetters": { - "type": "string" - }, - "RemoveNumbers": { - "type": "string" - }, - "RemoveSourceColumn": { - "type": "string" - }, - "RemoveSpecialCharacters": { - "type": "string" - }, - "RightColumns": { - "type": "string" - }, - "SampleSize": { - "type": "string" - }, - "SampleType": { - "type": "string" - }, - "SecondInput": { - "type": "string" - }, - "SecondaryInputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.SecondaryInput" - }, - "type": "array" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "SourceColumn1": { - "type": "string" - }, - "SourceColumn2": { - "type": "string" - }, - "SourceColumns": { - "type": "string" - }, - "StartColumnIndex": { - "type": "string" - }, - "StartPattern": { - "type": "string" - }, - "StartPosition": { - "type": "string" - }, - "StartValue": { - "type": "string" - }, - "StemmingMode": { - "type": "string" - }, - "StepCount": { - "type": "string" - }, - "StepIndex": { - "type": "string" - }, - "StopWordsMode": { - "type": "string" - }, - "Strategy": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "TargetColumnNames": { - "type": "string" - }, - "TargetDateFormat": { - "type": "string" - }, - "TargetIndex": { - "type": "string" - }, - "TimeZone": { - "type": "string" - }, - "TokenizerPattern": { - "type": "string" - }, - "TrueString": { - "type": "string" - }, - "UdfLang": { - "type": "string" - }, - "Units": { - "type": "string" - }, - "UnpivotColumn": { - "type": "string" - }, - "UpperBound": { - "type": "string" - }, - "UseNewDataFrame": { - "type": "string" - }, - "Value": { - "type": "string" - }, - "Value1": { - "type": "string" - }, - "Value2": { - "type": "string" - }, - "ValueColumn": { - "type": "string" - }, - "ViewFrame": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeStep": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.Action" - }, - "ConditionExpressions": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ConditionExpression" - }, - "type": "array" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.SecondaryInput": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.DataCatalogInputDefinition" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset": { + "AWS::RDS::EventSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32630,38 +25540,45 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Name": { + "EventCategories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SnsTopicArn": { "type": "string" }, - "Rules": { + "SourceIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Rule" + "type": "string" }, "type": "array" }, + "SourceType": { + "type": "string" + }, + "SubscriptionName": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "TargetArn": { - "type": "string" } }, "required": [ - "Name", - "Rules", - "TargetArn" + "SnsTopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Ruleset" + "AWS::RDS::EventSubscription" ], "type": "string" }, @@ -32680,87 +25597,101 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataBrew::Ruleset.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset.Rule": { + "AWS::RDS::GlobalCluster": { "additionalProperties": false, "properties": { - "CheckExpression": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ColumnSelectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.ColumnSelector" - }, - "type": "array" - }, - "Disabled": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Name": { - "type": "string" + "Metadata": { + "type": "object" }, - "SubstitutionMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.SubstitutionValue" + "Properties": { + "additionalProperties": false, + "properties": { + "DeletionProtection": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "GlobalEndpoint": { + "$ref": "#/definitions/AWS::RDS::GlobalCluster.GlobalEndpoint" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Threshold": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Threshold" - } - }, - "required": [ - "CheckExpression", - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Ruleset.SubstitutionValue": { - "additionalProperties": false, - "properties": { - "Value": { + "Type": { + "enum": [ + "AWS::RDS::GlobalCluster" + ], "type": "string" }, - "ValueReference": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Value", - "ValueReference" + "Type" ], "type": "object" }, - "AWS::DataBrew::Ruleset.Threshold": { + "AWS::RDS::GlobalCluster.GlobalEndpoint": { "additionalProperties": false, "properties": { - "Type": { - "type": "string" - }, - "Unit": { + "Address": { "type": "string" - }, - "Value": { - "type": "number" } }, - "required": [ - "Value" - ], "type": "object" }, - "AWS::DataBrew::Schedule": { + "AWS::RDS::Integration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32792,16 +25723,28 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CronExpression": { + "AdditionalEncryptionContext": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DataFilter": { "type": "string" }, - "JobNames": { - "items": { - "type": "string" - }, - "type": "array" + "Description": { + "type": "string" }, - "Name": { + "IntegrationName": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "SourceArn": { "type": "string" }, "Tags": { @@ -32809,17 +25752,20 @@ var SamSchema = `{ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetArn": { + "type": "string" } }, "required": [ - "CronExpression", - "Name" + "SourceArn", + "TargetArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Schedule" + "AWS::RDS::Integration" ], "type": "string" }, @@ -32838,7 +25784,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataPipeline::Pipeline": { + "AWS::RDS::OptionGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32870,49 +25816,41 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Activate": { - "type": "boolean" - }, - "Description": { + "EngineName": { "type": "string" }, - "Name": { + "MajorEngineVersion": { "type": "string" }, - "ParameterObjects": { + "OptionConfigurations": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterObject" + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" }, "type": "array" }, - "ParameterValues": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterValue" - }, - "type": "array" + "OptionGroupDescription": { + "type": "string" }, - "PipelineObjects": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineObject" - }, - "type": "array" + "OptionGroupName": { + "type": "string" }, - "PipelineTags": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineTag" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "Name", - "ParameterObjects" + "EngineName", + "MajorEngineVersion", + "OptionGroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataPipeline::Pipeline" + "AWS::RDS::OptionGroup" ], "type": "string" }, @@ -32931,115 +25869,55 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataPipeline::Pipeline.Field": { + "AWS::RDS::OptionGroup.OptionConfiguration": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "DBSecurityGroupMemberships": { + "items": { + "type": "string" + }, + "type": "array" }, - "RefValue": { + "OptionName": { "type": "string" }, - "StringValue": { + "OptionSettings": { + "items": { + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" + }, + "type": "array" + }, + "OptionVersion": { "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Key", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterObject": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterAttribute" - }, - "type": "array" }, - "Id": { - "type": "string" - } - }, - "required": [ - "Attributes", - "Id" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterValue": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" + "Port": { + "type": "number" }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Id", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.PipelineObject": { - "additionalProperties": false, - "properties": { - "Fields": { + "VpcSecurityGroupMemberships": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.Field" + "type": "string" }, "type": "array" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" } }, "required": [ - "Fields", - "Id", - "Name" + "OptionName" ], "type": "object" }, - "AWS::DataPipeline::Pipeline.PipelineTag": { + "AWS::RDS::OptionGroup.OptionSetting": { "additionalProperties": false, "properties": { - "Key": { + "Name": { "type": "string" }, "Value": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::DataSync::Agent": { + "AWS::RolesAnywhere::CRL": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33071,23 +25949,14 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ActivationKey": { - "type": "string" - }, - "AgentName": { + "CrlData": { "type": "string" }, - "SecurityGroupArns": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" }, - "SubnetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, "Tags": { "items": { @@ -33095,18 +25964,19 @@ var SamSchema = `{ }, "type": "array" }, - "VpcEndpointId": { + "TrustAnchorArn": { "type": "string" } }, "required": [ - "ActivationKey" + "CrlData", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Agent" + "AWS::RolesAnywhere::CRL" ], "type": "string" }, @@ -33125,7 +25995,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationEFS": { + "AWS::RolesAnywhere::Profile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33157,13 +26027,40 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Ec2Config": { - "$ref": "#/definitions/AWS::DataSync::LocationEFS.Ec2Config" + "AcceptRoleSessionName": { + "type": "boolean" + }, + "AttributeMappings": { + "items": { + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.AttributeMapping" + }, + "type": "array" + }, + "DurationSeconds": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "EfsFilesystemArn": { + "Name": { "type": "string" }, - "Subdirectory": { + "RequireInstanceProperties": { + "type": "boolean" + }, + "RoleArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SessionPolicy": { "type": "string" }, "Tags": { @@ -33174,14 +26071,14 @@ var SamSchema = `{ } }, "required": [ - "Ec2Config", - "EfsFilesystemArn" + "Name", + "RoleArns" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationEFS" + "AWS::RolesAnywhere::Profile" ], "type": "string" }, @@ -33200,26 +26097,38 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationEFS.Ec2Config": { + "AWS::RolesAnywhere::Profile.AttributeMapping": { "additionalProperties": false, "properties": { - "SecurityGroupArns": { + "CertificateField": { + "type": "string" + }, + "MappingRules": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.MappingRule" }, "type": "array" - }, - "SubnetArn": { + } + }, + "required": [ + "CertificateField", + "MappingRules" + ], + "type": "object" + }, + "AWS::RolesAnywhere::Profile.MappingRule": { + "additionalProperties": false, + "properties": { + "Specifier": { "type": "string" } }, "required": [ - "SecurityGroupArns", - "SubnetArn" + "Specifier" ], "type": "object" }, - "AWS::DataSync::LocationFSxWindows": { + "AWS::RolesAnywhere::TrustAnchor": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33251,45 +26160,37 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "FsxFilesystemArn": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Password": { + "Name": { "type": "string" }, - "SecurityGroupArns": { + "NotificationSettings": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.NotificationSetting" }, "type": "array" }, - "Subdirectory": { - "type": "string" + "Source": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.Source" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "User": { - "type": "string" } }, "required": [ - "FsxFilesystemArn", - "Password", - "SecurityGroupArns", - "User" + "Name", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationFSxWindows" + "AWS::RolesAnywhere::TrustAnchor" ], "type": "string" }, @@ -33308,144 +26209,53 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationHDFS": { + "AWS::RolesAnywhere::TrustAnchor.NotificationSetting": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Channel": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationType": { - "type": "string" - }, - "BlockSize": { - "type": "number" - }, - "KerberosKeytab": { - "type": "string" - }, - "KerberosKrb5Conf": { - "type": "string" - }, - "KerberosPrincipal": { - "type": "string" - }, - "KmsKeyProviderUri": { - "type": "string" - }, - "NameNodes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.NameNode" - }, - "type": "array" - }, - "QopConfiguration": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.QopConfiguration" - }, - "ReplicationFactor": { - "type": "number" - }, - "SimpleUser": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AgentArns", - "AuthenticationType", - "NameNodes" - ], - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationHDFS" - ], + "Event": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Threshold": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled", + "Event" ], "type": "object" }, - "AWS::DataSync::LocationHDFS.NameNode": { + "AWS::RolesAnywhere::TrustAnchor.Source": { "additionalProperties": false, "properties": { - "Hostname": { - "type": "string" + "SourceData": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.SourceData" }, - "Port": { - "type": "number" + "SourceType": { + "type": "string" } }, - "required": [ - "Hostname", - "Port" - ], "type": "object" }, - "AWS::DataSync::LocationHDFS.QopConfiguration": { + "AWS::RolesAnywhere::TrustAnchor.SourceData": { "additionalProperties": false, "properties": { - "DataTransferProtection": { + "AcmPcaArn": { "type": "string" }, - "RpcProtection": { + "X509CertificateData": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::LocationNFS": { + "AWS::Route53::CidrCollection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33477,35 +26287,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.MountOptions" - }, - "OnPremConfig": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.OnPremConfig" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { + "Locations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::CidrCollection.Location" }, "type": "array" + }, + "Name": { + "type": "string" } }, "required": [ - "OnPremConfig", - "ServerHostname", - "Subdirectory" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationNFS" + "AWS::Route53::CidrCollection" ], "type": "string" }, @@ -33524,31 +26323,26 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationNFS.MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataSync::LocationNFS.OnPremConfig": { + "AWS::Route53::CidrCollection.Location": { "additionalProperties": false, "properties": { - "AgentArns": { + "CidrList": { "items": { "type": "string" }, "type": "array" + }, + "LocationName": { + "type": "string" } }, "required": [ - "AgentArns" + "CidrList", + "LocationName" ], "type": "object" }, - "AWS::DataSync::LocationObjectStorage": { + "AWS::Route53::DNSSEC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33580,50 +26374,18 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AccessKey": { - "type": "string" - }, - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BucketName": { - "type": "string" - }, - "SecretKey": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "ServerPort": { - "type": "number" - }, - "ServerProtocol": { - "type": "string" - }, - "Subdirectory": { + "HostedZoneId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AgentArns", - "BucketName", - "ServerHostname" + "HostedZoneId" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationObjectStorage" + "AWS::Route53::DNSSEC" ], "type": "string" }, @@ -33642,7 +26404,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationS3": { + "AWS::Route53::HealthCheck": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33674,34 +26436,24 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "S3BucketArn": { - "type": "string" - }, - "S3Config": { - "$ref": "#/definitions/AWS::DataSync::LocationS3.S3Config" - }, - "S3StorageClass": { - "type": "string" - }, - "Subdirectory": { - "type": "string" + "HealthCheckConfig": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckConfig" }, - "Tags": { + "HealthCheckTags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" }, "type": "array" } }, "required": [ - "S3BucketArn", - "S3Config" + "HealthCheckConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationS3" + "AWS::Route53::HealthCheck" ], "type": "string" }, @@ -33720,121 +26472,105 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DataSync::LocationS3.S3Config": { + "AWS::Route53::HealthCheck.AlarmIdentifier": { "additionalProperties": false, "properties": { - "BucketAccessRoleArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" } }, "required": [ - "BucketAccessRoleArn" + "Name", + "Region" ], "type": "object" }, - "AWS::DataSync::LocationSMB": { + "AWS::Route53::HealthCheck.HealthCheckConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AlarmIdentifier": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.AlarmIdentifier" + }, + "ChildHealthChecks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableSNI": { + "type": "boolean" + }, + "FailureThreshold": { + "type": "number" + }, + "FullyQualifiedDomainName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "HealthThreshold": { + "type": "number" }, - "Metadata": { - "type": "object" + "IPAddress": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Domain": { - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationSMB.MountOptions" - }, - "Password": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "User": { - "type": "string" - } + "InsufficientDataHealthStatus": { + "type": "string" + }, + "Inverted": { + "type": "boolean" + }, + "MeasureLatency": { + "type": "boolean" + }, + "Port": { + "type": "number" + }, + "Regions": { + "items": { + "type": "string" }, - "required": [ - "AgentArns", - "Password", - "ServerHostname", - "Subdirectory", - "User" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationSMB" - ], + "RequestInterval": { + "type": "number" + }, + "ResourcePath": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RoutingControlArn": { + "type": "string" + }, + "SearchString": { + "type": "string" + }, + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::LocationSMB.MountOptions": { + "AWS::Route53::HealthCheck.HealthCheckTag": { "additionalProperties": false, "properties": { - "Version": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::DataSync::Task": { + "AWS::Route53::HostedZone": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33866,52 +26602,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "DestinationLocationArn": { - "type": "string" - }, - "Excludes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" - }, - "type": "array" + "HostedZoneConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" }, - "Includes": { + "HostedZoneTags": { "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" }, "type": "array" }, "Name": { "type": "string" }, - "Options": { - "$ref": "#/definitions/AWS::DataSync::Task.Options" - }, - "Schedule": { - "$ref": "#/definitions/AWS::DataSync::Task.TaskSchedule" - }, - "SourceLocationArn": { - "type": "string" + "QueryLoggingConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" }, - "Tags": { + "VPCs": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" }, "type": "array" } }, - "required": [ - "DestinationLocationArn", - "SourceLocationArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Task" + "AWS::Route53::HostedZone" ], "type": "string" }, @@ -33925,84 +26642,64 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::Task.FilterRule": { + "AWS::Route53::HostedZone.HostedZoneConfig": { "additionalProperties": false, "properties": { - "FilterType": { - "type": "string" - }, - "Value": { + "Comment": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::Task.Options": { + "AWS::Route53::HostedZone.HostedZoneTag": { "additionalProperties": false, "properties": { - "Atime": { - "type": "string" - }, - "BytesPerSecond": { - "type": "number" - }, - "Gid": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "Mtime": { - "type": "string" - }, - "OverwriteMode": { - "type": "string" - }, - "PosixPermissions": { - "type": "string" - }, - "PreserveDeletedFiles": { - "type": "string" - }, - "PreserveDevices": { - "type": "string" - }, - "SecurityDescriptorCopyFlags": { - "type": "string" - }, - "TaskQueueing": { - "type": "string" - }, - "TransferMode": { + "Key": { "type": "string" }, - "Uid": { + "Value": { "type": "string" - }, - "VerifyMode": { + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::Route53::HostedZone.QueryLoggingConfig": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsLogGroupArn": { "type": "string" } }, + "required": [ + "CloudWatchLogsLogGroupArn" + ], "type": "object" }, - "AWS::DataSync::Task.TaskSchedule": { + "AWS::Route53::HostedZone.VPC": { "additionalProperties": false, "properties": { - "ScheduleExpression": { + "VPCId": { + "type": "string" + }, + "VPCRegion": { "type": "string" } }, "required": [ - "ScheduleExpression" + "VPCId", + "VPCRegion" ], "type": "object" }, - "AWS::Detective::Graph": { + "AWS::Route53::KeySigningKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34034,18 +26731,30 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HostedZoneId": { + "type": "string" + }, + "KeyManagementServiceArn": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" } }, + "required": [ + "HostedZoneId", + "KeyManagementServiceArn", + "Name", + "Status" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::Graph" + "AWS::Route53::KeySigningKey" ], "type": "string" }, @@ -34059,11 +26768,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Detective::MemberInvitation": { + "AWS::Route53::RecordSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34095,32 +26805,70 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DisableEmailNotification": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSet.CidrRoutingConfig" + }, + "Comment": { + "type": "string" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { "type": "boolean" }, - "GraphArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" }, - "MemberEmailAddress": { + "ResourceRecords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SetIdentifier": { "type": "string" }, - "MemberId": { + "TTL": { "type": "string" }, - "Message": { + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "GraphArn", - "MemberEmailAddress", - "MemberId" + "Name", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::MemberInvitation" + "AWS::Route53::RecordSet" ], "type": "string" }, @@ -34139,87 +26887,91 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel": { + "AWS::Route53::RecordSet.AliasTarget": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DNSName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "EvaluateTargetHealth": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Config": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig" - } - }, - "required": [ - "Config" - ], - "type": "object" + "HostedZoneId": { + "type": "string" + } + }, + "required": [ + "DNSName", + "HostedZoneId" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.CidrRoutingConfig": { + "additionalProperties": false, + "properties": { + "CollectionId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DevOpsGuru::NotificationChannel" - ], + "LocationName": { + "type": "string" + } + }, + "required": [ + "CollectionId", + "LocationName" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.Coordinates": { + "additionalProperties": false, + "properties": { + "Latitude": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Longitude": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Latitude", + "Longitude" ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig": { + "AWS::Route53::RecordSet.GeoLocation": { "additionalProperties": false, "properties": { - "Sns": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig" + "ContinentCode": { + "type": "string" + }, + "CountryCode": { + "type": "string" + }, + "SubdivisionCode": { + "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig": { + "AWS::Route53::RecordSet.GeoProximityLocation": { "additionalProperties": false, "properties": { - "TopicArn": { + "AWSRegion": { + "type": "string" + }, + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSet.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection": { + "AWS::Route53::RecordSetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34251,18 +27003,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ResourceCollectionFilter": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter" + "Comment": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "RecordSets": { + "items": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" + }, + "type": "array" } }, - "required": [ - "ResourceCollectionFilter" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DevOpsGuru::ResourceCollection" + "AWS::Route53::RecordSetGroup" ], "type": "string" }, @@ -34276,134 +27037,156 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter": { + "AWS::Route53::RecordSetGroup.AliasTarget": { "additionalProperties": false, "properties": { - "StackNames": { - "items": { - "type": "string" - }, - "type": "array" + "DNSName": { + "type": "string" + }, + "EvaluateTargetHealth": { + "type": "boolean" + }, + "HostedZoneId": { + "type": "string" } }, + "required": [ + "DNSName", + "HostedZoneId" + ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter": { + "AWS::Route53::RecordSetGroup.CidrRoutingConfig": { "additionalProperties": false, "properties": { - "CloudFormation": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter" + "CollectionId": { + "type": "string" + }, + "LocationName": { + "type": "string" } }, + "required": [ + "CollectionId", + "LocationName" + ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD": { + "AWS::Route53::RecordSetGroup.Coordinates": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Latitude": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Longitude": { + "type": "string" + } + }, + "required": [ + "Latitude", + "Longitude" + ], + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoLocation": { + "additionalProperties": false, + "properties": { + "ContinentCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CreateAlias": { - "type": "boolean" - }, - "Edition": { - "type": "string" - }, - "EnableSso": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "ShortName": { - "type": "string" - }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD.VpcSettings" - } - }, - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "type": "object" + "CountryCode": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DirectoryService::MicrosoftAD" - ], + "SubdivisionCode": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoProximityLocation": { + "additionalProperties": false, + "properties": { + "AWSRegion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD.VpcSettings": { + "AWS::Route53::RecordSetGroup.RecordSet": { "additionalProperties": false, "properties": { - "SubnetIds": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.CidrRoutingConfig" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Region": { + "type": "string" + }, + "ResourceRecords": { "items": { "type": "string" }, "type": "array" }, - "VpcId": { + "SetIdentifier": { + "type": "string" + }, + "TTL": { "type": "string" + }, + "Type": { + "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "SubnetIds", - "VpcId" + "Name", + "Type" ], "type": "object" }, - "AWS::DirectoryService::SimpleAD": { + "AWS::S3::AccessGrant": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34435,42 +27218,41 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CreateAlias": { - "type": "boolean" + "AccessGrantsLocationConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessGrant.AccessGrantsLocationConfiguration" }, - "Description": { + "AccessGrantsLocationId": { "type": "string" }, - "EnableSso": { - "type": "boolean" - }, - "Name": { + "ApplicationArn": { "type": "string" }, - "Password": { - "type": "string" + "Grantee": { + "$ref": "#/definitions/AWS::S3::AccessGrant.Grantee" }, - "ShortName": { + "Permission": { "type": "string" }, - "Size": { + "S3PrefixType": { "type": "string" }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD.VpcSettings" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "Name", - "Password", - "Size", - "VpcSettings" + "AccessGrantsLocationId", + "Grantee", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::DirectoryService::SimpleAD" + "AWS::S3::AccessGrant" ], "type": "string" }, @@ -34489,26 +27271,35 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DirectoryService::SimpleAD.VpcSettings": { + "AWS::S3::AccessGrant.AccessGrantsLocationConfiguration": { "additionalProperties": false, "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "S3SubPrefix": { + "type": "string" + } + }, + "required": [ + "S3SubPrefix" + ], + "type": "object" + }, + "AWS::S3::AccessGrant.Grantee": { + "additionalProperties": false, + "properties": { + "GranteeIdentifier": { + "type": "string" }, - "VpcId": { + "GranteeType": { "type": "string" } }, "required": [ - "SubnetIds", - "VpcId" + "GranteeIdentifier", + "GranteeType" ], "type": "object" }, - "AWS::DocDB::DBCluster": { + "AWS::S3::AccessGrantsInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34540,82 +27331,21 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotIdentifier": { + "IdentityCenterArn": { "type": "string" }, - "StorageEncrypted": { - "type": "boolean" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" } }, - "required": [ - "MasterUserPassword", - "MasterUsername" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBCluster" + "AWS::S3::AccessGrantsInstance" ], "type": "string" }, @@ -34629,12 +27359,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBClusterParameterGroup": { + "AWS::S3::AccessGrantsLocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34666,18 +27395,12 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "Family": { + "IamRoleArn": { "type": "string" }, - "Name": { + "LocationScope": { "type": "string" }, - "Parameters": { - "type": "object" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -34685,16 +27408,11 @@ var SamSchema = `{ "type": "array" } }, - "required": [ - "Description", - "Family", - "Parameters" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBClusterParameterGroup" + "AWS::S3::AccessGrantsLocation" ], "type": "string" }, @@ -34708,12 +27426,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBInstance": { + "AWS::S3::AccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34745,40 +27462,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { + "Bucket": { "type": "string" }, - "DBClusterIdentifier": { + "BucketAccountId": { "type": "string" }, - "DBInstanceClass": { + "Name": { "type": "string" }, - "DBInstanceIdentifier": { - "type": "string" + "Policy": { + "type": "object" }, - "PreferredMaintenanceWindow": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" } }, "required": [ - "DBClusterIdentifier", - "DBInstanceClass" + "Bucket" ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBInstance" + "AWS::S3::AccessPoint" ], "type": "string" }, @@ -34797,7 +27507,34 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::DocDB::DBSubnetGroup": { + "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::AccessPoint.VpcConfiguration": { + "additionalProperties": false, + "properties": { + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34829,143 +27566,90 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DBSubnetGroupDescription": { + "AccelerateConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" + }, + "AccessControl": { "type": "string" }, - "DBSubnetGroupName": { + "AnalyticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" + }, + "type": "array" + }, + "BucketEncryption": { + "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" + }, + "BucketName": { "type": "string" }, - "SubnetIds": { + "CorsConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" + }, + "IntelligentTieringConfigurations": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" }, "type": "array" }, - "Tags": { + "InventoryConfigurations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" }, "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DocDB::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DynamoDB::GlobalTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.AttributeDefinition" - }, - "type": "array" + "LifecycleConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" }, - "BillingMode": { - "type": "string" + "LoggingConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex" - }, - "type": "array" + "MetadataTableConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.MetadataTableConfiguration" }, - "KeySchema": { + "MetricsConfigurations": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" }, "type": "array" }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.LocalSecondaryIndex" - }, - "type": "array" + "NotificationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" }, - "Replicas": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSpecification" - }, - "type": "array" + "ObjectLockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.SSESpecification" + "ObjectLockEnabled": { + "type": "boolean" + }, + "OwnershipControls": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.StreamSpecification" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" }, - "TableName": { - "type": "string" + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TimeToLiveSpecification" + "VersioningConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" + "WebsiteConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" } }, - "required": [ - "AttributeDefinitions", - "KeySchema", - "Replicas" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DynamoDB::GlobalTable" + "AWS::S3::Bucket" ], "type": "string" }, @@ -34979,1235 +27663,1073 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.AttributeDefinition": { + "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeType": { - "type": "string" + "DaysAfterInitiation": { + "type": "number" } }, "required": [ - "AttributeName", - "AttributeType" + "DaysAfterInitiation" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings": { + "AWS::S3::Bucket.AccelerateConfiguration": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SeedCapacity": { - "type": "number" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus": { + "type": "string" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification": { + "AWS::S3::Bucket.AccessControlTranslation": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Owner": { + "type": "string" } }, "required": [ - "Enabled" + "Owner" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex": { + "AWS::S3::Bucket.AnalyticsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "StorageClassAnalysis": { + "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" + }, + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id", + "StorageClassAnalysis" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.KeySchema": { + "AWS::S3::Bucket.BucketEncryption": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "ServerSideEncryptionConfiguration": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" + }, + "type": "array" } }, "required": [ - "AttributeName", - "KeyType" + "ServerSideEncryptionConfiguration" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.LocalSecondaryIndex": { + "AWS::S3::Bucket.CorsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { - "type": "string" - }, - "KeySchema": { + "CorsRules": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "CorsRules" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::GlobalTable.Projection": { + "AWS::S3::Bucket.CorsRule": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { + "AllowedHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedOrigins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExposedHeaders": { "items": { "type": "string" }, "type": "array" }, - "ProjectionType": { + "Id": { "type": "string" + }, + "MaxAge": { + "type": "number" } }, + "required": [ + "AllowedMethods", + "AllowedOrigins" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings": { + "AWS::S3::Bucket.DataExport": { "additionalProperties": false, "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "ReadCapacityUnits": { - "type": "number" + "OutputSchemaVersion": { + "type": "string" } }, + "required": [ + "Destination", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification": { + "AWS::S3::Bucket.DefaultRetention": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" + "Days": { + "type": "number" }, - "IndexName": { + "Mode": { "type": "string" }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "Years": { + "type": "number" } }, - "required": [ - "IndexName" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification": { + "AWS::S3::Bucket.DeleteMarkerReplication": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { + "Status": { "type": "string" } }, - "required": [ - "KMSMasterKeyId" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSpecification": { + "AWS::S3::Bucket.Destination": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "BucketAccountId": { + "type": "string" }, - "Region": { + "BucketArn": { "type": "string" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSSESpecification" + "Format": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Prefix": { + "type": "string" } }, "required": [ - "Region" + "BucketArn", + "Format" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.SSESpecification": { + "AWS::S3::Bucket.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { + "ReplicaKmsKeyID": { "type": "string" } }, "required": [ - "SSEEnabled" + "ReplicaKmsKeyID" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.StreamSpecification": { + "AWS::S3::Bucket.EventBridgeConfiguration": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "EventBridgeEnabled": { + "type": "boolean" } }, "required": [ - "StreamViewType" + "EventBridgeEnabled" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration": { + "AWS::S3::Bucket.FilterRule": { "additionalProperties": false, "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" + "Name": { + "type": "string" }, - "TargetValue": { - "type": "number" + "Value": { + "type": "string" } }, "required": [ - "TargetValue" + "Name", + "Value" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TimeToLiveSpecification": { + "AWS::S3::Bucket.IntelligentTieringConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Id": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Prefix": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Tierings": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Tiering" + }, + "type": "array" } }, "required": [ - "Enabled" + "Id", + "Status", + "Tierings" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table": { + "AWS::S3::Bucket.InventoryConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Id": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.AttributeDefinition" - }, - "type": "array" - }, - "BillingMode": { - "type": "string" - }, - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.GlobalSecondaryIndex" - }, - "type": "array" - }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KinesisStreamSpecification" - }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.LocalSecondaryIndex" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.PointInTimeRecoverySpecification" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.SSESpecification" - }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.StreamSpecification" - }, - "TableClass": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.TimeToLiveSpecification" - } + "IncludedObjectVersions": { + "type": "string" + }, + "OptionalFields": { + "items": { + "type": "string" }, - "required": [ - "KeySchema" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DynamoDB::Table" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ScheduleFrequency": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination", + "Enabled", + "Id", + "IncludedObjectVersions", + "ScheduleFrequency" ], "type": "object" }, - "AWS::DynamoDB::Table.AttributeDefinition": { + "AWS::S3::Bucket.LambdaConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Event": { "type": "string" }, - "AttributeType": { + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Function": { "type": "string" } }, "required": [ - "AttributeName", - "AttributeType" + "Event", + "Function" ], "type": "object" }, - "AWS::DynamoDB::Table.ContributorInsightsSpecification": { + "AWS::S3::Bucket.LifecycleConfiguration": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Rule" + }, + "type": "array" + }, + "TransitionDefaultMinimumObjectSize": { + "type": "string" } }, "required": [ - "Enabled" + "Rules" ], "type": "object" }, - "AWS::DynamoDB::Table.GlobalSecondaryIndex": { + "AWS::S3::Bucket.LoggingConfiguration": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "IndexName": { + "DestinationBucketName": { "type": "string" }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" + "LogFilePrefix": { + "type": "string" }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" + "TargetObjectKeyFormat": { + "$ref": "#/definitions/AWS::S3::Bucket.TargetObjectKeyFormat" } }, - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], "type": "object" }, - "AWS::DynamoDB::Table.KeySchema": { + "AWS::S3::Bucket.MetadataTableConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "S3TablesDestination": { + "$ref": "#/definitions/AWS::S3::Bucket.S3TablesDestination" } }, "required": [ - "AttributeName", - "KeyType" + "S3TablesDestination" ], "type": "object" }, - "AWS::DynamoDB::Table.KinesisStreamSpecification": { + "AWS::S3::Bucket.Metrics": { "additionalProperties": false, "properties": { - "StreamArn": { + "EventThreshold": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" + }, + "Status": { "type": "string" } }, "required": [ - "StreamArn" + "Status" ], "type": "object" }, - "AWS::DynamoDB::Table.LocalSecondaryIndex": { + "AWS::S3::Bucket.MetricsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "AccessPointArn": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id" ], "type": "object" }, - "AWS::DynamoDB::Table.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table.Projection": { + "AWS::S3::Bucket.NoncurrentVersionExpiration": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { - "items": { - "type": "string" - }, - "type": "array" + "NewerNoncurrentVersions": { + "type": "number" }, - "ProjectionType": { - "type": "string" + "NoncurrentDays": { + "type": "number" } }, + "required": [ + "NoncurrentDays" + ], "type": "object" }, - "AWS::DynamoDB::Table.ProvisionedThroughput": { + "AWS::S3::Bucket.NoncurrentVersionTransition": { "additionalProperties": false, "properties": { - "ReadCapacityUnits": { + "NewerNoncurrentVersions": { "type": "number" }, - "WriteCapacityUnits": { + "StorageClass": { + "type": "string" + }, + "TransitionInDays": { "type": "number" } }, "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" + "StorageClass", + "TransitionInDays" ], "type": "object" }, - "AWS::DynamoDB::Table.SSESpecification": { + "AWS::S3::Bucket.NotificationConfiguration": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { - "type": "string" + "EventBridgeConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" }, - "SSEEnabled": { - "type": "boolean" + "LambdaConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" + }, + "type": "array" }, - "SSEType": { - "type": "string" + "QueueConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" + }, + "type": "array" + }, + "TopicConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" + }, + "type": "array" } }, - "required": [ - "SSEEnabled" - ], "type": "object" }, - "AWS::DynamoDB::Table.StreamSpecification": { + "AWS::S3::Bucket.NotificationFilter": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" } }, "required": [ - "StreamViewType" + "S3Key" ], "type": "object" }, - "AWS::DynamoDB::Table.TimeToLiveSpecification": { + "AWS::S3::Bucket.ObjectLockConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "ObjectLockEnabled": { "type": "string" }, - "Enabled": { + "Rule": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ObjectLockRule": { + "additionalProperties": false, + "properties": { + "DefaultRetention": { + "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControls": { + "additionalProperties": false, + "properties": { + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" + }, + "type": "array" + } + }, + "required": [ + "Rules" + ], + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControlsRule": { + "additionalProperties": false, + "properties": { + "ObjectOwnership": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PartitionedPrefix": { + "additionalProperties": false, + "properties": { + "PartitionDateSource": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { "type": "boolean" } }, + "type": "object" + }, + "AWS::S3::Bucket.QueueConfiguration": { + "additionalProperties": false, + "properties": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Queue": { + "type": "string" + } + }, "required": [ - "AttributeName", - "Enabled" + "Event", + "Queue" ], "type": "object" }, - "AWS::EC2::CapacityReservation": { + "AWS::S3::Bucket.RedirectAllRequestsTo": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HostName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Protocol": { + "type": "string" + } + }, + "required": [ + "HostName" + ], + "type": "object" + }, + "AWS::S3::Bucket.RedirectRule": { + "additionalProperties": false, + "properties": { + "HostName": { + "type": "string" }, - "Metadata": { - "type": "object" + "HttpRedirectCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "EbsOptimized": { - "type": "boolean" - }, - "EndDate": { - "type": "string" - }, - "EndDateType": { - "type": "string" - }, - "EphemeralStorage": { - "type": "boolean" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstancePlatform": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "OutPostArn": { - "type": "string" - }, - "PlacementGroupArn": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceCount", - "InstancePlatform", - "InstanceType" - ], - "type": "object" + "Protocol": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservation" - ], + "ReplaceKeyPrefixWith": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ReplaceKeyWith": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicaModifications": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::CapacityReservation.TagSpecification": { + "AWS::S3::Bucket.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Role": { "type": "string" }, - "Tags": { + "Rules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" }, "type": "array" } }, + "required": [ + "Role", + "Rules" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet": { + "AWS::S3::Bucket.ReplicationDestination": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AccessControlTranslation": { + "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" + }, + "Account": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Bucket": { + "type": "string" }, - "Metadata": { - "type": "object" + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "EndDate": { - "type": "string" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstanceTypeSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" - }, - "type": "array" - }, - "NoRemoveEndDate": { - "type": "boolean" - }, - "RemoveEndDate": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "TotalTargetCapacity": { - "type": "number" - } - }, - "type": "object" + "Metrics": { + "$ref": "#/definitions/AWS::S3::Bucket.Metrics" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservationFleet" - ], - "type": "string" + "ReplicationTime": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "StorageClass": { "type": "string" } }, "required": [ - "Type" + "Bucket" ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "AWS::S3::Bucket.ReplicationRule": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" + "DeleteMarkerReplication": { + "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" }, - "AvailabilityZoneId": { - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" }, - "EbsOptimized": { - "type": "boolean" + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" }, - "InstancePlatform": { + "Id": { "type": "string" }, - "InstanceType": { + "Prefix": { "type": "string" }, "Priority": { "type": "number" }, - "Weight": { - "type": "number" + "SourceSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" + }, + "Status": { + "type": "string" } }, + "required": [ + "Destination", + "Status" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "AWS::S3::Bucket.ReplicationRuleAndOperator": { "additionalProperties": false, "properties": { - "ResourceType": { + "Prefix": { "type": "string" }, - "Tags": { + "TagFilters": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" } }, "type": "object" }, - "AWS::EC2::CarrierGateway": { + "AWS::S3::Bucket.ReplicationRuleFilter": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" + "And": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" }, - "Type": { - "enum": [ - "AWS::EC2::CarrierGateway" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TagFilter": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicationTime": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" + }, + "Time": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" } }, "required": [ - "Type", - "Properties" + "Status", + "Time" ], "type": "object" }, - "AWS::EC2::ClientVpnAuthorizationRule": { + "AWS::S3::Bucket.ReplicationTimeValue": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessGroupId": { - "type": "string" - }, - "AuthorizeAllGroups": { - "type": "boolean" - }, - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "TargetNetworkCidr": { - "type": "string" - } - }, - "required": [ - "ClientVpnEndpointId", - "TargetNetworkCidr" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnAuthorizationRule" - ], - "type": "string" + "Minutes": { + "type": "number" + } + }, + "required": [ + "Minutes" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRule": { + "additionalProperties": false, + "properties": { + "RedirectRule": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "RoutingRuleCondition": { + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" } }, "required": [ - "Type", - "Properties" + "RedirectRule" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint": { + "AWS::S3::Bucket.RoutingRuleCondition": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HttpErrorCodeReturnedEquals": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "KeyPrefixEquals": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Rule": { + "additionalProperties": false, + "properties": { + "AbortIncompleteMultipartUpload": { + "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" }, - "Metadata": { - "type": "object" + "ExpirationDate": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationOptions": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" - }, - "type": "array" - }, - "ClientCidrBlock": { - "type": "string" - }, - "ClientConnectOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" - }, - "ConnectionLogOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" - }, - "Description": { - "type": "string" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfServicePortal": { - "type": "string" - }, - "ServerCertificateArn": { - "type": "string" - }, - "SplitTunnel": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" - }, - "type": "array" - }, - "TransportProtocol": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnPort": { - "type": "number" - } + "ExpirationInDays": { + "type": "number" + }, + "ExpiredObjectDeleteMarker": { + "type": "boolean" + }, + "Id": { + "type": "string" + }, + "NoncurrentVersionExpiration": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" + }, + "NoncurrentVersionExpirationInDays": { + "type": "number" + }, + "NoncurrentVersionTransition": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" + }, + "NoncurrentVersionTransitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" }, - "required": [ - "AuthenticationOptions", - "ClientCidrBlock", - "ConnectionLogOptions", - "ServerCertificateArn" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnEndpoint" - ], + "ObjectSizeGreaterThan": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ObjectSizeLessThan": { + "type": "string" + }, + "Prefix": { "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Transition": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "Transitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { + "AWS::S3::Bucket.S3KeyFilter": { "additionalProperties": false, "properties": { - "ClientRootCertificateChainArn": { - "type": "string" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" + }, + "type": "array" } }, "required": [ - "ClientRootCertificateChainArn" + "Rules" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "AWS::S3::Bucket.S3TablesDestination": { "additionalProperties": false, "properties": { - "ActiveDirectory": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + "TableArn": { + "type": "string" }, - "FederatedAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + "TableBucketArn": { + "type": "string" }, - "MutualAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + "TableName": { + "type": "string" }, - "Type": { + "TableNamespace": { "type": "string" } }, "required": [ - "Type" + "TableBucketArn", + "TableName" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "AWS::S3::Bucket.ServerSideEncryptionByDefault": { "additionalProperties": false, "properties": { - "Enabled": { + "KMSMasterKeyID": { + "type": "string" + }, + "SSEAlgorithm": { + "type": "string" + } + }, + "required": [ + "SSEAlgorithm" + ], + "type": "object" + }, + "AWS::S3::Bucket.ServerSideEncryptionRule": { + "additionalProperties": false, + "properties": { + "BucketKeyEnabled": { "type": "boolean" }, - "LambdaFunctionArn": { + "ServerSideEncryptionByDefault": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SourceSelectionCriteria": { + "additionalProperties": false, + "properties": { + "ReplicaModifications": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" + }, + "SseKmsEncryptedObjects": { + "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SseKmsEncryptedObjects": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Enabled" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "AWS::S3::Bucket.StorageClassAnalysis": { "additionalProperties": false, "properties": { - "CloudwatchLogGroup": { + "DataExport": { + "$ref": "#/definitions/AWS::S3::Bucket.DataExport" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.TagFilter": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "CloudwatchLogStream": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::S3::Bucket.TargetObjectKeyFormat": { + "additionalProperties": false, + "properties": { + "PartitionedPrefix": { + "$ref": "#/definitions/AWS::S3::Bucket.PartitionedPrefix" }, - "Enabled": { - "type": "boolean" + "SimplePrefix": { + "type": "object" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Tiering": { + "additionalProperties": false, + "properties": { + "AccessTier": { + "type": "string" + }, + "Days": { + "type": "number" } }, "required": [ - "Enabled" + "AccessTier", + "Days" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "AWS::S3::Bucket.TopicConfiguration": { "additionalProperties": false, "properties": { - "DirectoryId": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Topic": { "type": "string" } }, "required": [ - "DirectoryId" + "Event", + "Topic" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { + "AWS::S3::Bucket.Transition": { "additionalProperties": false, "properties": { - "SAMLProviderArn": { + "StorageClass": { "type": "string" }, - "SelfServiceSAMLProviderArn": { + "TransitionDate": { "type": "string" + }, + "TransitionInDays": { + "type": "number" } }, "required": [ - "SAMLProviderArn" + "StorageClass" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "AWS::S3::Bucket.VersioningConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.WebsiteConfiguration": { + "additionalProperties": false, + "properties": { + "ErrorDocument": { "type": "string" }, - "Tags": { + "IndexDocument": { + "type": "string" + }, + "RedirectAllRequestsTo": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" + }, + "RoutingRules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" }, "type": "array" } }, - "required": [ - "ResourceType", - "Tags" - ], "type": "object" }, - "AWS::EC2::ClientVpnRoute": { + "AWS::S3::BucketPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36239,29 +28761,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { + "Bucket": { "type": "string" }, - "TargetVpcSubnetId": { - "type": "string" + "PolicyDocument": { + "type": "object" } }, "required": [ - "ClientVpnEndpointId", - "DestinationCidrBlock", - "TargetVpcSubnetId" + "Bucket", + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnRoute" + "AWS::S3::BucketPolicy" ], "type": "string" }, @@ -36280,7 +28795,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::ClientVpnTargetNetworkAssociation": { + "AWS::S3::MultiRegionAccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36312,22 +28827,27 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { + "Name": { "type": "string" }, - "SubnetId": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" + }, + "Regions": { + "items": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" + }, + "type": "array" } }, "required": [ - "ClientVpnEndpointId", - "SubnetId" + "Regions" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnTargetNetworkAssociation" + "AWS::S3::MultiRegionAccessPoint" ], "type": "string" }, @@ -36346,7 +28866,40 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::CustomerGateway": { + "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::MultiRegionAccessPoint.Region": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "BucketAccountId": { + "type": "string" + } + }, + "required": [ + "Bucket" + ], + "type": "object" + }, + "AWS::S3::MultiRegionAccessPointPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36378,32 +28931,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "BgpAsn": { - "type": "number" - }, - "IpAddress": { + "MrapName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" + "Policy": { + "type": "object" } }, "required": [ - "BgpAsn", - "IpAddress", - "Type" + "MrapName", + "Policy" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::CustomerGateway" + "AWS::S3::MultiRegionAccessPointPolicy" ], "type": "string" }, @@ -36422,7 +28965,19 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::DHCPOptions": { + "AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus": { + "additionalProperties": false, + "properties": { + "IsPublic": { + "type": "string" + } + }, + "required": [ + "IsPublic" + ], + "type": "object" + }, + "AWS::S3::StorageLens": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36454,29 +29009,8 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "DomainNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNodeType": { - "type": "number" - }, - "NtpServers": { - "items": { - "type": "string" - }, - "type": "array" + "StorageLensConfiguration": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" }, "Tags": { "items": { @@ -36485,11 +29019,14 @@ var SamSchema = `{ "type": "array" } }, + "required": [ + "StorageLensConfiguration" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::DHCPOptions" + "AWS::S3::StorageLens" ], "type": "string" }, @@ -36503,512 +29040,305 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EC2Fleet": { + "AWS::S3::StorageLens.AccountLevel": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "Metadata": { - "type": "object" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" - }, - "type": "array" - }, - "OnDemandOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" - }, - "type": "array" - }, - "TargetCapacitySpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "LaunchTemplateConfigs", - "TargetCapacitySpecification" - ], - "type": "object" + "BucketLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" }, - "Type": { - "enum": [ - "AWS::EC2::EC2Fleet" - ], - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "StorageLensGroupLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupLevel" } }, "required": [ - "Type", - "Properties" + "BucketLevel" ], "type": "object" }, - "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { + "AWS::S3::StorageLens.ActivityMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { + "AWS::S3::StorageLens.AdvancedCostOptimizationMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityRebalance": { + "AWS::S3::StorageLens.AdvancedDataProtectionMetrics": { "additionalProperties": false, "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { + "AWS::S3::StorageLens.AwsOrg": { "additionalProperties": false, "properties": { - "UsageStrategy": { + "Arn": { "type": "string" } }, + "required": [ + "Arn" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { + "AWS::S3::StorageLens.BucketLevel": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" - }, - "Priority": { - "type": "number" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "SubnetId": { - "type": "string" + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "LaunchTemplateName": { - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "Version": { - "type": "string" + "PrefixLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "AWS::S3::StorageLens.BucketsAndRegions": { "additionalProperties": false, "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { + "Buckets": { "items": { "type": "string" }, "type": "array" }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { + "Regions": { "items": { "type": "string" }, "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "AWS::S3::StorageLens.CloudWatchMetrics": { "additionalProperties": false, "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + "IsEnabled": { + "type": "boolean" } }, + "required": [ + "IsEnabled" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "AWS::S3::StorageLens.DataExport": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "CloudWatchMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" }, - "Min": { - "type": "number" + "S3BucketDestination": { + "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "AWS::S3::StorageLens.DetailedStatusCodesMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "AWS::S3::StorageLens.Encryption": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "SSEKMS": { + "$ref": "#/definitions/AWS::S3::StorageLens.SSEKMS" }, - "Min": { - "type": "number" + "SSES3": { + "type": "object" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "AWS::S3::StorageLens.PrefixLevel": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "CapacityReservationOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" - }, - "MaxTotalPrice": { - "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { + "StorageMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" + } + }, + "required": [ + "StorageMetrics" + ], + "type": "object" + }, + "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { + "additionalProperties": false, + "properties": { + "IsEnabled": { "type": "boolean" }, - "SingleInstanceType": { - "type": "boolean" + "SelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.Placement": { + "AWS::S3::StorageLens.S3BucketDestination": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { + "AccountId": { "type": "string" }, - "GroupName": { + "Arn": { "type": "string" }, - "HostId": { - "type": "string" + "Encryption": { + "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" }, - "HostResourceGroupArn": { + "Format": { "type": "string" }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { + "OutputSchemaVersion": { "type": "string" }, - "Tenancy": { + "Prefix": { "type": "string" } }, + "required": [ + "AccountId", + "Arn", + "Format", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "AWS::S3::StorageLens.SSEKMS": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "MaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" - }, - "MaxTotalPrice": { + "KeyId": { "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { - "type": "boolean" - }, - "SingleInstanceType": { - "type": "boolean" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.TagSpecification": { + "AWS::S3::StorageLens.SelectionCriteria": { "additionalProperties": false, "properties": { - "ResourceType": { + "Delimiter": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaxDepth": { + "type": "number" + }, + "MinStorageBytesPercentage": { + "type": "number" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "AWS::S3::StorageLens.StorageLensConfiguration": { "additionalProperties": false, "properties": { - "DefaultTargetCapacityType": { - "type": "string" + "AccountLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" }, - "OnDemandTargetCapacity": { - "type": "number" + "AwsOrg": { + "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" }, - "SpotTargetCapacity": { - "type": "number" + "DataExport": { + "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" }, - "TargetCapacityUnitType": { + "Exclude": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "Id": { "type": "string" }, - "TotalTargetCapacity": { - "type": "number" + "Include": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "IsEnabled": { + "type": "boolean" + }, + "StorageLensArn": { + "type": "string" } }, "required": [ - "TotalTargetCapacity" + "AccountLevel", + "Id", + "IsEnabled" ], "type": "object" }, - "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "AWS::S3::StorageLens.StorageLensGroupLevel": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StorageLensGroupSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupSelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "AWS::S3::StorageLens.StorageLensGroupSelectionCriteria": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "Min": { - "type": "number" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::EC2::EIP": { + "AWS::S3::StorageLensGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37040,13 +29370,10 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "InstanceId": { - "type": "string" + "Filter": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Filter" }, - "PublicIpv4Pool": { + "Name": { "type": "string" }, "Tags": { @@ -37056,11 +29383,15 @@ var SamSchema = `{ "type": "array" } }, + "required": [ + "Filter", + "Name" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIP" + "AWS::S3::StorageLensGroup" ], "type": "string" }, @@ -37074,11 +29405,132 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EIPAssociation": { + "AWS::S3::StorageLensGroup.And": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Filter": { + "additionalProperties": false, + "properties": { + "And": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.And" + }, + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + }, + "Or": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Or" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectAge": { + "additionalProperties": false, + "properties": { + "DaysGreaterThan": { + "type": "number" + }, + "DaysLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectSize": { + "additionalProperties": false, + "properties": { + "BytesGreaterThan": { + "type": "number" + }, + "BytesLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Or": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::SNS::Subscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37110,27 +29562,49 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AllocationId": { - "type": "string" + "DeliveryPolicy": { + "type": "object" }, - "EIP": { + "Endpoint": { "type": "string" }, - "InstanceId": { - "type": "string" + "FilterPolicy": { + "type": "object" }, - "NetworkInterfaceId": { + "FilterPolicyScope": { "type": "string" }, - "PrivateIpAddress": { + "Protocol": { + "type": "string" + }, + "RawMessageDelivery": { + "type": "boolean" + }, + "RedrivePolicy": { + "type": "object" + }, + "Region": { + "type": "string" + }, + "ReplayPolicy": { + "type": "object" + }, + "SubscriptionRoleArn": { + "type": "string" + }, + "TopicArn": { "type": "string" } }, + "required": [ + "Protocol", + "TopicArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIPAssociation" + "AWS::SNS::Subscription" ], "type": "string" }, @@ -37144,11 +29618,12 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EgressOnlyInternetGateway": { + "AWS::SNS::Topic": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37180,18 +29655,60 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "VpcId": { + "ArchivePolicy": { + "type": "object" + }, + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DataProtectionPolicy": { + "type": "object" + }, + "DeliveryStatusLogging": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.LoggingConfig" + }, + "type": "array" + }, + "DisplayName": { + "type": "string" + }, + "FifoThroughputScope": { + "type": "string" + }, + "FifoTopic": { + "type": "boolean" + }, + "KmsMasterKeyId": { + "type": "string" + }, + "SignatureVersion": { + "type": "string" + }, + "Subscription": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.Subscription" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TopicName": { + "type": "string" + }, + "TracingConfig": { "type": "string" } }, - "required": [ - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EgressOnlyInternetGateway" + "AWS::SNS::Topic" ], "type": "string" }, @@ -37205,12 +29722,48 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::EnclaveCertificateIamRoleAssociation": { + "AWS::SNS::Topic.LoggingConfig": { + "additionalProperties": false, + "properties": { + "FailureFeedbackRoleArn": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SuccessFeedbackRoleArn": { + "type": "string" + }, + "SuccessFeedbackSampleRate": { + "type": "string" + } + }, + "required": [ + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::Topic.Subscription": { + "additionalProperties": false, + "properties": { + "Endpoint": { + "type": "string" + }, + "Protocol": { + "type": "string" + } + }, + "required": [ + "Endpoint", + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::TopicInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37242,22 +29795,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "TopicArn": { "type": "string" } }, "required": [ - "CertificateArn", - "RoleArn" + "PolicyDocument", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EnclaveCertificateIamRoleAssociation" + "AWS::SNS::TopicInlinePolicy" ], "type": "string" }, @@ -37276,7 +29829,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::FlowLog": { + "AWS::SNS::TopicPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37308,50 +29861,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DeliverLogsPermissionArn": { - "type": "string" - }, - "LogDestination": { - "type": "string" - }, - "LogDestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MaxAggregationInterval": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Topics": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "TrafficType": { - "type": "string" } }, "required": [ - "ResourceId", - "ResourceType", - "TrafficType" + "PolicyDocument", + "Topics" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::FlowLog" + "AWS::SNS::TopicPolicy" ], "type": "string" }, @@ -37370,7 +29898,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::GatewayRouteTableAssociation": { + "AWS::SQS::Queue": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37402,22 +29930,63 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "GatewayId": { + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DeduplicationScope": { "type": "string" }, - "RouteTableId": { + "DelaySeconds": { + "type": "number" + }, + "FifoQueue": { + "type": "boolean" + }, + "FifoThroughputLimit": { + "type": "string" + }, + "KmsDataKeyReusePeriodSeconds": { + "type": "number" + }, + "KmsMasterKeyId": { + "type": "string" + }, + "MaximumMessageSize": { + "type": "number" + }, + "MessageRetentionPeriod": { + "type": "number" + }, + "QueueName": { "type": "string" + }, + "ReceiveMessageWaitTimeSeconds": { + "type": "number" + }, + "RedriveAllowPolicy": { + "type": "object" + }, + "RedrivePolicy": { + "type": "object" + }, + "SqsManagedSseEnabled": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VisibilityTimeout": { + "type": "number" } }, - "required": [ - "GatewayId", - "RouteTableId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::GatewayRouteTableAssociation" + "AWS::SQS::Queue" ], "type": "string" }, @@ -37431,12 +30000,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::Host": { + "AWS::SQS::QueueInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37468,28 +30036,22 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AutoPlacement": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "HostRecovery": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "InstanceType": { + "Queue": { "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "PolicyDocument", + "Queue" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Host" + "AWS::SQS::QueueInlinePolicy" ], "type": "string" }, @@ -37508,7 +30070,7 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::IPAM": { + "AWS::SQS::QueuePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37540,27 +30102,25 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "OperatingRegions": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Queues": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, + "required": [ + "PolicyDocument", + "Queues" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAM" + "AWS::SQS::QueuePolicy" ], "type": "string" }, @@ -37574,23 +30134,12 @@ var SamSchema = `{ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::IPAM.IpamOperatingRegion": { - "additionalProperties": false, - "properties": { - "RegionName": { - "type": "string" - } - }, - "required": [ - "RegionName" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::IPAMAllocation": { + "AWS::Serverless::Api": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37622,27 +30171,90 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Cidr": { + "AccessLogSetting": { + "$ref": "#/definitions/AWS::Serverless::Api.AccessLogSetting" + }, + "Auth": { + "$ref": "#/definitions/AWS::Serverless::Api.Auth" + }, + "BinaryMediaTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CacheClusterEnabled": { + "type": "boolean" + }, + "CacheClusterSize": { "type": "string" }, - "Description": { + "Cors": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Api.CorsConfiguration" + } + ] + }, + "DefinitionBody": { + "type": "object" + }, + "DefinitionUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Api.S3Location" + } + ] + }, + "EndpointConfiguration": { "type": "string" }, - "IpamPoolId": { + "MethodSettings": { + "items": { + "type": "object" + }, + "type": "array" + }, + "Name": { "type": "string" }, - "NetmaskLength": { - "type": "number" + "OpenApiVersion": { + "type": "string" + }, + "StageName": { + "type": "string" + }, + "TracingEnabled": { + "type": "boolean" + }, + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "required": [ - "IpamPoolId" + "StageName" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMAllocation" + "AWS::Serverless::Api" ], "type": "string" }, @@ -37661,7 +30273,75 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::IPAMPool": { + "AWS::Serverless::Api.AccessLogSetting": { + "additionalProperties": false, + "properties": { + "DestinationArn": { + "type": "string" + }, + "Format": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Serverless::Api.Auth": { + "additionalProperties": false, + "properties": { + "Authorizers": { + "type": "object" + }, + "DefaultAuthorizer": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Serverless::Api.CorsConfiguration": { + "additionalProperties": false, + "properties": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { + "type": "string" + }, + "AllowMethods": { + "type": "string" + }, + "AllowOrigin": { + "type": "string" + }, + "MaxAge": { + "type": "string" + } + }, + "required": [ + "AllowOrigin" + ], + "type": "object" + }, + "AWS::Serverless::Api.S3Location": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "Key": { + "type": "string" + }, + "Version": { + "type": "number" + } + }, + "required": [ + "Bucket", + "Key", + "Version" + ], + "type": "object" + }, + "AWS::Serverless::Application": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37693,64 +30373,54 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "AddressFamily": { - "type": "string" - }, - "AllocationDefaultNetmaskLength": { - "type": "number" - }, - "AllocationMaxNetmaskLength": { - "type": "number" - }, - "AllocationMinNetmaskLength": { - "type": "number" + "Location": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Application.ApplicationLocation" + } + ] }, - "AllocationResourceTags": { + "NotificationArns": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "AutoImport": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "IpamScopeId": { - "type": "string" - }, - "Locale": { - "type": "string" - }, - "ProvisionedCidrs": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + "Parameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" - }, - "PubliclyAdvertisable": { - "type": "boolean" - }, - "SourceIpamPoolId": { - "type": "string" + "type": "object" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" + }, + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "AddressFamily", - "IpamScopeId" + "Location" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMPool" + "AWS::Serverless::Application" ], "type": "string" }, @@ -37769,19 +30439,23 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::EC2::IPAMPool.ProvisionedCidr": { + "AWS::Serverless::Application.ApplicationLocation": { "additionalProperties": false, "properties": { - "Cidr": { + "ApplicationId": { + "type": "string" + }, + "SemanticVersion": { "type": "string" } }, "required": [ - "Cidr" + "ApplicationId", + "SemanticVersion" ], "type": "object" }, - "AWS::EC2::IPAMScope": { + "AWS::Serverless::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37813,239 +30487,137 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AutoPublishAlias": { "type": "string" }, - "IpamId": { - "type": "string" - }, - "IpamScopeType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IpamId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::IPAMScope" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Instance": { - "additionalProperties": false, - "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "CodeUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.S3Location" + } + ] }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "string" + "DeadLetterQueue": { + "$ref": "#/definitions/AWS::Serverless::Function.DeadLetterQueue" }, - "Affinity": { - "type": "string" + "DeploymentPreference": { + "$ref": "#/definitions/AWS::Serverless::Function.DeploymentPreference" }, - "AvailabilityZone": { + "Description": { "type": "string" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" + "Environment": { + "$ref": "#/definitions/AWS::Serverless::Function.FunctionEnvironment" }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + "Events": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/AWS::Serverless::Function.EventSource" + } }, - "type": "array" + "type": "object" }, - "ElasticInferenceAccelerators": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + "$ref": "#/definitions/AWS::Serverless::Function.FileSystemConfig" }, "type": "array" }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceType": { + "FunctionName": { "type": "string" }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "KernelId": { + "Handler": { "type": "string" }, - "KeyName": { + "KmsKeyArn": { "type": "string" }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" - }, - "LicenseSpecifications": { + "Layers": { "items": { - "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + "type": "string" }, "type": "array" }, - "Monitoring": { - "type": "boolean" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" - }, - "type": "array" + "MemorySize": { + "type": "number" }, - "PlacementGroupName": { + "PermissionsBoundary": { "type": "string" }, - "PrivateIpAddress": { - "type": "string" + "Policies": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.SAMPolicyTemplate" + }, + "type": "array" + } + ] }, - "PropagateTagsToVolumeOnCreation": { - "type": "boolean" + "ReservedConcurrentExecutions": { + "type": "number" }, - "RamdiskId": { + "Role": { "type": "string" }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SsmAssociations": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" - }, - "type": "array" - }, - "SubnetId": { + "Runtime": { "type": "string" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "Tenancy": { - "type": "string" + "Timeout": { + "type": "number" }, - "UserData": { + "Tracing": { "type": "string" }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.Volume" - }, - "type": "array" + "VpcConfig": { + "$ref": "#/definitions/AWS::Serverless::Function.VpcConfig" } }, + "required": [ + "CodeUri", + "Handler", + "Runtime" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Instance" + "AWS::Serverless::Function" ], "type": "string" }, @@ -38059,984 +30631,767 @@ var SamSchema = `{ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::Instance.AssociationParameter": { + "AWS::Serverless::Function.AlexaSkillEvent": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::EC2::Instance.BlockDeviceMapping": { + "AWS::Serverless::Function.ApiEvent": { "additionalProperties": false, "properties": { - "DeviceName": { + "Method": { "type": "string" }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::Instance.Ebs" - }, - "NoDevice": { - "$ref": "#/definitions/AWS::EC2::Instance.NoDevice" + "Path": { + "type": "string" }, - "VirtualName": { + "RestApiId": { "type": "string" } }, "required": [ - "DeviceName" + "Method", + "Path" ], "type": "object" }, - "AWS::EC2::Instance.CpuOptions": { + "AWS::Serverless::Function.BucketSAMPT": { "additionalProperties": false, "properties": { - "CoreCount": { - "type": "number" - }, - "ThreadsPerCore": { - "type": "number" + "BucketName": { + "type": "string" } }, + "required": [ + "BucketName" + ], "type": "object" }, - "AWS::EC2::Instance.CreditSpecification": { + "AWS::Serverless::Function.CloudWatchEventEvent": { "additionalProperties": false, "properties": { - "CPUCredits": { + "Input": { + "type": "string" + }, + "InputPath": { "type": "string" + }, + "Pattern": { + "type": "object" } }, + "required": [ + "Pattern" + ], "type": "object" }, - "AWS::EC2::Instance.Ebs": { + "AWS::Serverless::Function.CloudWatchLogsEvent": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { + "FilterPattern": { "type": "string" }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { + "LogGroupName": { "type": "string" } }, + "required": [ + "FilterPattern", + "LogGroupName" + ], "type": "object" }, - "AWS::EC2::Instance.ElasticGpuSpecification": { + "AWS::Serverless::Function.CollectionSAMPT": { "additionalProperties": false, "properties": { - "Type": { + "CollectionId": { "type": "string" } }, "required": [ - "Type" + "CollectionId" ], "type": "object" }, - "AWS::EC2::Instance.ElasticInferenceAccelerator": { + "AWS::Serverless::Function.DeadLetterQueue": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" + "TargetArn": { + "type": "string" }, "Type": { "type": "string" } }, "required": [ + "TargetArn", "Type" ], "type": "object" }, - "AWS::EC2::Instance.EnclaveOptions": { + "AWS::Serverless::Function.DeploymentPreference": { "additionalProperties": false, "properties": { + "Alarms": { + "items": { + "type": "string" + }, + "type": "array" + }, "Enabled": { "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { + }, + "Hooks": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "Role": { + "type": "string" + }, + "Type": { "type": "string" } }, - "required": [ - "Ipv6Address" - ], "type": "object" }, - "AWS::EC2::Instance.LaunchTemplateSpecification": { + "AWS::Serverless::Function.DestinationConfig": { "additionalProperties": false, "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Serverless::Function.OnFailure" } }, "required": [ - "Version" + "OnFailure" ], "type": "object" }, - "AWS::EC2::Instance.LicenseSpecification": { + "AWS::Serverless::Function.DomainSAMPT": { "additionalProperties": false, "properties": { - "LicenseConfigurationArn": { + "DomainName": { "type": "string" } }, "required": [ - "LicenseConfigurationArn" + "DomainName" ], "type": "object" }, - "AWS::EC2::Instance.NetworkInterface": { + "AWS::Serverless::Function.DynamoDBEvent": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" + "BatchSize": { + "type": "number" }, - "DeleteOnTermination": { + "BisectBatchOnFunctionError": { "type": "boolean" }, - "Description": { - "type": "string" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Serverless::Function.DestinationConfig" }, - "DeviceIndex": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumBatchingWindowInSeconds": { + "type": "number" }, - "Ipv6AddressCount": { + "MaximumRecordAgeInSeconds": { "type": "number" }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "NetworkInterfaceId": { - "type": "string" + "ParallelizationFactor": { + "type": "number" }, - "PrivateIpAddress": { + "StartingPosition": { "type": "string" }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { + "Stream": { "type": "string" } }, "required": [ - "DeviceIndex" + "StartingPosition", + "Stream" ], "type": "object" }, - "AWS::EC2::Instance.NoDevice": { + "AWS::Serverless::Function.EmptySAMPT": { "additionalProperties": false, "properties": {}, "type": "object" }, - "AWS::EC2::Instance.PrivateIpAddressSpecification": { + "AWS::Serverless::Function.EventBridgeRuleEvent": { "additionalProperties": false, "properties": { - "Primary": { - "type": "boolean" + "EventBusName": { + "type": "string" }, - "PrivateIpAddress": { + "Input": { + "type": "string" + }, + "InputPath": { "type": "string" + }, + "Pattern": { + "type": "object" } }, "required": [ - "Primary", - "PrivateIpAddress" + "Pattern" ], "type": "object" }, - "AWS::EC2::Instance.SsmAssociation": { + "AWS::Serverless::Function.EventSource": { "additionalProperties": false, "properties": { - "AssociationParameters": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" - }, - "type": "array" - }, - "DocumentName": { - "type": "string" - } - }, - "required": [ - "DocumentName" - ], - "type": "object" - }, - "AWS::EC2::Instance.Volume": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "VolumeId" - ], - "type": "object" - }, - "AWS::EC2::InternetGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { + "Properties": { "anyOf": [ { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::Serverless::Function.S3Event" }, { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" + "$ref": "#/definitions/AWS::Serverless::Function.SNSEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.SQSEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.KinesisEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.DynamoDBEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.ApiEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.ScheduleEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchEventEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchLogsEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.IoTRuleEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.AlexaSkillEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.EventBridgeRuleEvent" } ] }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, "Type": { - "enum": [ - "AWS::EC2::InternetGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ + "Properties", "Type" ], "type": "object" }, - "AWS::EC2::LaunchTemplate": { + "AWS::Serverless::Function.FileSystemConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LaunchTemplateData": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" - }, - "LaunchTemplateName": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LaunchTemplate" - ], + "Arn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LocalMountPath": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::EC2::LaunchTemplate.AcceleratorCount": { + "AWS::Serverless::Function.FunctionEnvironment": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, + "required": [ + "Variables" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { + "AWS::Serverless::Function.FunctionSAMPT": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "FunctionName": { + "type": "string" } }, + "required": [ + "FunctionName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { + "AWS::Serverless::Function.IAMPolicyDocument": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "Statement": { + "type": "object" } }, + "required": [ + "Statement" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { + "AWS::Serverless::Function.IdentitySAMPT": { "additionalProperties": false, "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { + "IdentityName": { "type": "string" } }, + "required": [ + "IdentityName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { + "AWS::Serverless::Function.IoTRuleEvent": { "additionalProperties": false, "properties": { - "CapacityReservationPreference": { + "AwsIotSqlVersion": { "type": "string" }, - "CapacityReservationTarget": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" + "Sql": { + "type": "string" } }, + "required": [ + "Sql" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { + "AWS::Serverless::Function.KeySAMPT": { "additionalProperties": false, "properties": { - "CapacityReservationId": { - "type": "string" - }, - "CapacityReservationResourceGroupArn": { + "KeyId": { "type": "string" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CpuOptions": { + "AWS::Serverless::Function.KinesisEvent": { "additionalProperties": false, "properties": { - "CoreCount": { + "BatchSize": { "type": "number" }, - "ThreadsPerCore": { - "type": "number" + "Enabled": { + "type": "boolean" + }, + "StartingPosition": { + "type": "string" + }, + "Stream": { + "type": "string" } }, + "required": [ + "StartingPosition", + "Stream" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CreditSpecification": { + "AWS::Serverless::Function.LogGroupSAMPT": { "additionalProperties": false, "properties": { - "CpuCredits": { + "LogGroupName": { "type": "string" } }, + "required": [ + "LogGroupName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Ebs": { + "AWS::Serverless::Function.OnFailure": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { + "Destination": { "type": "string" }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { + "Type": { "type": "string" } }, + "required": [ + "Destination" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { + "AWS::Serverless::Function.QueueSAMPT": { "additionalProperties": false, "properties": { - "Type": { + "QueueName": { "type": "string" } }, + "required": [ + "QueueName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.EnclaveOptions": { + "AWS::Serverless::Function.S3Event": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Bucket": { + "type": "string" + }, + "Events": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "Filter": { + "$ref": "#/definitions/AWS::Serverless::Function.S3NotificationFilter" } }, + "required": [ + "Bucket", + "Events" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.HibernationOptions": { + "AWS::Serverless::Function.S3KeyFilter": { "additionalProperties": false, "properties": { - "Configured": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilterRule" + }, + "type": "array" } }, + "required": [ + "Rules" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.IamInstanceProfile": { + "AWS::Serverless::Function.S3KeyFilterRule": { "additionalProperties": false, "properties": { - "Arn": { + "Name": { "type": "string" }, - "Name": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { + "AWS::Serverless::Function.S3Location": { "additionalProperties": false, "properties": { - "MarketType": { + "Bucket": { "type": "string" }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" + "Key": { + "type": "string" + }, + "Version": { + "type": "number" } }, + "required": [ + "Bucket", + "Key" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Ipv6Add": { + "AWS::Serverless::Function.S3NotificationFilter": { "additionalProperties": false, "properties": { - "Ipv6Address": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilter" } }, + "required": [ + "S3Key" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "AWS::Serverless::Function.SAMPolicyTemplate": { "additionalProperties": false, "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" - }, - "type": "array" + "AMIDescribePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CapacityReservationSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" + "CloudFormationDescribeStacksPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" + "CloudWatchPutMetricPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + "DynamoDBCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" }, - "DisableApiTermination": { - "type": "boolean" + "DynamoDBReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" }, - "EbsOptimized": { - "type": "boolean" + "DynamoDBStreamReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT" }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" - }, - "type": "array" + "EC2DescribePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" - }, - "type": "array" + "ElasticsearchHttpPostPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.DomainSAMPT" }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + "FilterLogEventsPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.LogGroupSAMPT" }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + "KMSDecryptPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.KeySAMPT" }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + "KinesisCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" }, - "ImageId": { - "type": "string" + "KinesisStreamReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" + "LambdaInvokePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.FunctionSAMPT" }, - "InstanceMarketOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + "RekognitionDetectOnlyPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "InstanceType": { - "type": "string" + "RekognitionLabelsPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "KernelId": { - "type": "string" + "RekognitionNoDataAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "KeyName": { - "type": "string" + "RekognitionReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" - }, - "type": "array" + "RekognitionWriteOnlyAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + "S3CrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + "S3ReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" - }, - "type": "array" + "SESBulkTemplatedCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" + "SESCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "RamDiskId": { - "type": "string" + "SESEmailTemplateCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "SESSendBouncePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "SNSCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" - }, - "type": "array" + "SNSPublishMessagePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" }, - "UserData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" + "SQSPollerPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" + "SQSSendMessagePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "StepFunctionsExecutionPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StateMachineSAMPT" + }, + "VPCAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" } }, "type": "object" }, - "AWS::EC2::LaunchTemplate.LicenseSpecification": { + "AWS::Serverless::Function.SNSEvent": { "additionalProperties": false, "properties": { - "LicenseConfigurationArn": { + "Topic": { "type": "string" } }, + "required": [ + "Topic" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { + "AWS::Serverless::Function.SQSEvent": { "additionalProperties": false, "properties": { - "Max": { + "BatchSize": { "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Min": { - "type": "number" + "Queue": { + "type": "string" } }, + "required": [ + "Queue" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.MetadataOptions": { + "AWS::Serverless::Function.ScheduleEvent": { "additionalProperties": false, "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpProtocolIpv6": { + "Input": { "type": "string" }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "Schedule": { "type": "string" } }, + "required": [ + "Schedule" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Monitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterface": { + "AWS::Serverless::Function.StateMachineSAMPT": { "additionalProperties": false, "properties": { - "AssociateCarrierIpAddress": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" - }, - "type": "array" - }, - "NetworkCardIndex": { - "type": "number" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { + "StateMachineName": { "type": "string" } }, + "required": [ + "StateMachineName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { + "AWS::Serverless::Function.StreamSAMPT": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StreamName": { + "type": "string" } }, + "required": [ + "StreamName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Placement": { + "AWS::Serverless::Function.TableSAMPT": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { - "type": "string" - }, - "Tenancy": { + "TableName": { "type": "string" } }, + "required": [ + "TableName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.PrivateIpAdd": { + "AWS::Serverless::Function.TableStreamSAMPT": { "additionalProperties": false, "properties": { - "Primary": { - "type": "boolean" + "StreamName": { + "type": "string" }, - "PrivateIpAddress": { + "TableName": { "type": "string" } }, + "required": [ + "StreamName", + "TableName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.SpotOptions": { + "AWS::Serverless::Function.TopicSAMPT": { "additionalProperties": false, "properties": { - "BlockDurationMinutes": { - "type": "number" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "SpotInstanceType": { - "type": "string" - }, - "ValidUntil": { + "TopicName": { "type": "string" } }, + "required": [ + "TopicName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.TagSpecification": { + "AWS::Serverless::Function.VpcConfig": { "additionalProperties": false, "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.VCpuCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "SecurityGroupIds", + "SubnetIds" + ], "type": "object" }, - "AWS::EC2::LocalGatewayRoute": { + "AWS::Serverless::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39068,26 +31423,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "DestinationCidrBlock": { + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ContentUri": { "type": "string" }, - "LocalGatewayRouteTableId": { + "Description": { "type": "string" }, - "LocalGatewayVirtualInterfaceGroupId": { + "LayerName": { + "type": "string" + }, + "LicenseInfo": { + "type": "string" + }, + "RetentionPolicy": { "type": "string" } }, - "required": [ - "DestinationCidrBlock", - "LocalGatewayRouteTableId", - "LocalGatewayVirtualInterfaceGroupId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::LocalGatewayRoute" + "AWS::Serverless::LayerVersion" ], "type": "string" }, @@ -39101,12 +31463,11 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { + "AWS::Serverless::SimpleTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39138,28 +31499,33 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { - "LocalGatewayRouteTableId": { + "PrimaryKey": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.PrimaryKey" + }, + "ProvisionedThroughput": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.ProvisionedThroughput" + }, + "SSESpecification": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.SSESpecification" + }, + "TableName": { "type": "string" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" - }, - "VpcId": { - "type": "string" + "type": "object" } }, - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::LocalGatewayRouteTableVPCAssociation" + "AWS::Serverless::SimpleTable" ], "type": "string" }, @@ -39173,86 +31539,50 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::NatGateway": { + "AWS::Serverless::SimpleTable.PrimaryKey": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Name": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "ConnectivityType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::EC2::NatGateway" - ], "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::Serverless::SimpleTable.ProvisionedThroughput": { + "additionalProperties": false, + "properties": { + "ReadCapacityUnits": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "WriteCapacityUnits": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "WriteCapacityUnits" ], "type": "object" }, - "AWS::EC2::NetworkAcl": { + "AWS::Serverless::SimpleTable.SSESpecification": { + "additionalProperties": false, + "properties": { + "SSEEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::Serverless::StateMachine": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39284,24 +31614,96 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { + "Definition": { + "type": "object" + }, + "DefinitionSubstitutions": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DefinitionUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.S3Location" + } + ] + }, + "Events": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.EventSource" + } + }, + "type": "object" + }, + "Logging": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.LoggingConfiguration" + }, + "Name": { + "type": "string" + }, + "Policies": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.SAMPolicyTemplate" + }, + "type": "array" + } + ] + }, + "Role": { + "type": "string" + }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "VpcId": { + "Type": { "type": "string" } }, - "required": [ - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::NetworkAcl" + "AWS::Serverless::StateMachine" ], "type": "string" }, @@ -39315,86301 +31717,958 @@ var SamSchema = `{ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::NetworkAclEntry": { + "AWS::Serverless::StateMachine.ApiEvent": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Method": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "Icmp": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "NetworkAclId": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "required": [ - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAclEntry" - ], + "Path": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RestApiId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Method", + "Path" ], "type": "object" }, - "AWS::EC2::NetworkAclEntry.Icmp": { + "AWS::Serverless::StateMachine.CloudWatchEventEvent": { "additionalProperties": false, "properties": { - "Code": { - "type": "number" + "EventBusName": { + "type": "string" }, - "Type": { - "type": "number" + "Input": { + "type": "string" + }, + "InputPath": { + "type": "string" + }, + "Pattern": { + "type": "object" } }, + "required": [ + "Pattern" + ], "type": "object" }, - "AWS::EC2::NetworkAclEntry.PortRange": { + "AWS::Serverless::StateMachine.CloudWatchLogsLogGroup": { "additionalProperties": false, "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" + "LogGroupArn": { + "type": "string" } }, + "required": [ + "LogGroupArn" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis": { + "AWS::Serverless::StateMachine.EventBridgeRuleEvent": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EventBusName": { "type": "string" }, - "DependsOn": { + "Input": { + "type": "string" + }, + "InputPath": { + "type": "string" + }, + "Pattern": { + "type": "object" + } + }, + "required": [ + "Pattern" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.EventSource": { + "additionalProperties": false, + "properties": { + "Properties": { "anyOf": [ { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchEventEvent" }, { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterInArns": { - "items": { - "type": "string" - }, - "type": "array" + "$ref": "#/definitions/AWS::Serverless::StateMachine.EventBridgeRuleEvent" }, - "NetworkInsightsPathId": { - "type": "string" + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.ScheduleEvent" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.ApiEvent" } - }, - "required": [ - "NetworkInsightsPathId" - ], - "type": "object" + ] }, "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsAnalysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Properties", + "Type" ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { + "AWS::Serverless::StateMachine.FunctionSAMPT": { "additionalProperties": false, "properties": { - "ComponentArn": { - "type": "string" - }, - "ComponentId": { + "FunctionName": { "type": "string" } }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.IAMPolicyDocument": { + "additionalProperties": false, + "properties": { + "Statement": { + "type": "object" + } + }, + "required": [ + "Statement" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { + "AWS::Serverless::StateMachine.LogDestination": { "additionalProperties": false, "properties": { - "Cidr": { - "type": "string" + "CloudWatchLogsLogGroup": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchLogsLogGroup" + } + }, + "required": [ + "CloudWatchLogsLogGroup" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.LoggingConfiguration": { + "additionalProperties": false, + "properties": { + "Destinations": { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.LogDestination" + }, + "type": "array" }, - "Egress": { + "IncludeExecutionData": { "type": "boolean" }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "Protocol": { - "type": "string" - }, - "RuleAction": { + "Level": { "type": "string" - }, - "RuleNumber": { - "type": "number" } }, + "required": [ + "Destinations", + "IncludeExecutionData", + "Level" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "AWS::Serverless::StateMachine.S3Location": { "additionalProperties": false, "properties": { - "Arn": { + "Bucket": { "type": "string" }, - "Id": { + "Key": { "type": "string" + }, + "Version": { + "type": "number" } }, + "required": [ + "Bucket", + "Key" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "AWS::Serverless::StateMachine.SAMPolicyTemplate": { "additionalProperties": false, "properties": { - "InstancePort": { - "type": "number" + "LambdaInvokePolicy": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.FunctionSAMPT" }, - "LoadBalancerPort": { - "type": "number" + "StepFunctionsExecutionPolicy": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.StateMachineSAMPT" } }, "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "AWS::Serverless::StateMachine.ScheduleEvent": { "additionalProperties": false, "properties": { - "Address": { + "Input": { "type": "string" }, - "AvailabilityZone": { + "Schedule": { "type": "string" - }, - "Instance": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Port": { - "type": "number" } }, + "required": [ + "Schedule" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "AWS::Serverless::StateMachine.StateMachineSAMPT": { "additionalProperties": false, "properties": { - "DestinationAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "Protocol": { + "StateMachineName": { "type": "string" - }, - "SourceAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" } }, + "required": [ + "StateMachineName" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "Parameter": { "additionalProperties": false, "properties": { - "NatGatewayId": { + "AllowedPattern": { "type": "string" }, - "NetworkInterfaceId": { - "type": "string" + "AllowedValues": { + "type": "array" }, - "Origin": { + "ConstraintDescription": { "type": "string" }, - "TransitGatewayId": { + "Default": { "type": "string" }, - "VpcPeeringConnectionId": { + "Description": { "type": "string" }, - "destinationCidr": { + "MaxLength": { "type": "string" }, - "destinationPrefixListId": { + "MaxValue": { "type": "string" }, - "egressOnlyInternetGatewayId": { + "MinLength": { "type": "string" }, - "gatewayId": { + "MinValue": { "type": "string" }, - "instanceId": { + "NoEcho": { + "type": [ + "string", + "boolean" + ] + }, + "Type": { + "enum": [ + "String", + "Number", + "List\u003cNumber\u003e", + "CommaDelimitedList", + "AWS::EC2::AvailabilityZone::Name", + "AWS::EC2::Image::Id", + "AWS::EC2::Instance::Id", + "AWS::EC2::KeyPair::KeyName", + "AWS::EC2::SecurityGroup::GroupName", + "AWS::EC2::SecurityGroup::Id", + "AWS::EC2::Subnet::Id", + "AWS::EC2::Volume::Id", + "AWS::EC2::VPC::Id", + "AWS::Route53::HostedZone::Id", + "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "List\u003cAWS::EC2::Image::Id\u003e", + "List\u003cAWS::EC2::Instance::Id\u003e", + "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "List\u003cAWS::EC2::SecurityGroup::Id\u003e", + "List\u003cAWS::EC2::Subnet::Id\u003e", + "List\u003cAWS::EC2::Volume::Id\u003e", + "List\u003cAWS::EC2::VPC::Id\u003e", + "List\u003cAWS::Route53::HostedZone::Id\u003e", + "List\u003cString\u003e", + "AWS::SSM::Parameter::Name", + "AWS::SSM::Parameter::Value\u003cString\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "Tag": { "additionalProperties": false, "properties": { - "Cidr": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "PrefixListId": { - "type": "string" - }, - "Protocol": { + "Key": { "type": "string" }, - "SecurityGroupId": { + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" + } + }, + "properties": { + "AWSTemplateFormatVersion": { + "enum": [ + "2010-09-09" + ], + "type": "string" }, - "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "Conditions": { "additionalProperties": false, - "properties": { - "Acl": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Address": { - "type": "string" - }, - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AttachedTo": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClassicLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "CustomerGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Destination": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Direction": { - "type": "string" - }, - "ElasticLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "ExplanationCode": { - "type": "string" - }, - "IngressRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InternetGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerArn": { - "type": "string" - }, - "LoadBalancerListenerPort": { - "type": "number" - }, - "LoadBalancerTarget": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" - }, - "LoadBalancerTargetGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerTargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "LoadBalancerTargetPort": { - "type": "number" - }, - "MissingComponent": { - "type": "string" - }, - "NatGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "NetworkInterface": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "PacketField": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "PrefixList": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Protocols": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "State": { - "type": "string" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SubnetRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpcPeeringConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "vpcEndpoint": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { - "additionalProperties": false, - "properties": { - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "OutboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SequenceNumber": { - "type": "number" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsPath": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationIp": { - "type": "string" - }, - "DestinationPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourceIp": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Destination", - "Protocol", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsPath" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" - }, - "type": "array" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], + "patternProperties": { + "^[a-zA-Z0-9]+$": { "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" } }, - "required": [ - "Ipv6Address" - ], "type": "object" }, - "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" + "Description": { + "description": "Template description", + "maxLength": 1024, + "type": "string" }, - "AWS::EC2::NetworkInterfaceAttachment": { + "Mappings": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "DeviceIndex": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "DeviceIndex", - "InstanceId", - "NetworkInterfaceId" - ], + "patternProperties": { + "^[a-zA-Z0-9]+$": { "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfaceAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::EC2::NetworkInterfacePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "NetworkInterfaceId", - "Permission" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfacePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], + "Metadata": { "type": "object" }, - "AWS::EC2::PlacementGroup": { + "Outputs": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Strategy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PlacementGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::PrefixList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddressFamily": { - "type": "string" - }, - "Entries": { - "items": { - "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" - }, - "type": "array" - }, - "MaxEntries": { - "type": "number" - }, - "PrefixListName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddressFamily", - "MaxEntries", - "PrefixListName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PrefixList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PrefixList.Entry": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CarrierGatewayId": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationIpv6CidrBlock": { - "type": "string" - }, - "EgressOnlyInternetGatewayId": { - "type": "string" - }, - "GatewayId": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LocalGatewayId": { - "type": "string" - }, - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - } - }, - "required": [ - "RouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::RouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::RouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupDescription": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "SecurityGroupEgress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" - }, - "type": "array" - }, - "SecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Egress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupEgress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "GroupId", - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupEgress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SpotFleetRequestConfigData": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" - } - }, - "required": [ - "SpotFleetRequestConfigData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SpotFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancer": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" - }, - "type": "array" - } - }, - "required": [ - "ClassicLoadBalancers" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.GroupIdentifier": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateConfig": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" - }, - "TargetGroupsConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotCapacityRebalance": { - "additionalProperties": false, - "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" - }, - "ImageId": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" - }, - "type": "array" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "ImageId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetMonitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "IamFleetRole": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "LaunchSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" - }, - "type": "array" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" - }, - "type": "array" - }, - "LoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" - }, - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandMaxTotalPrice": { - "type": "string" - }, - "OnDemandTargetCapacity": { - "type": "number" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotMaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" - }, - "SpotMaxTotalPrice": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - }, - "TargetCapacityUnitType": { - "type": "string" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "IamFleetRole", - "TargetCapacity" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { - "additionalProperties": false, - "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotPlacement": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroupsConfig": { - "additionalProperties": false, - "properties": { - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" - }, - "type": "array" - } - }, - "required": [ - "TargetGroups" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Subnet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssignIpv6AddressOnCreation": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "MapPublicIpOnLaunch": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "CidrBlock", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Subnet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ipv6CidrBlock": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "Ipv6CidrBlock", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetNetworkAclAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NetworkAclId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "NetworkAclId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetNetworkAclAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "RouteTableId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkServices": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationPortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - }, - "SourceCidrBlock": { - "type": "string" - }, - "SourcePortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "TrafficDirection": { - "type": "string" - }, - "TrafficMirrorFilterId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "RuleAction", - "RuleNumber", - "SourceCidrBlock", - "TrafficDirection", - "TrafficMirrorFilterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilterRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorSession": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PacketLength": { - "type": "number" - }, - "SessionNumber": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrafficMirrorFilterId": { - "type": "string" - }, - "TrafficMirrorTargetId": { - "type": "string" - }, - "VirtualNetworkId": { - "type": "number" - } - }, - "required": [ - "NetworkInterfaceId", - "SessionNumber", - "TrafficMirrorFilterId", - "TrafficMirrorTargetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorSession" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "NetworkLoadBalancerArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SubnetIds", - "TransitGatewayId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "required": [ - "Options", - "TransportTransitGatewayAttachmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayConnect" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomainAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "SubnetId", - "TransitGatewayAttachmentId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomainAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupMember": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupMember" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "PeerAccountId", - "PeerRegion", - "PeerTransitGatewayId", - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayPeeringAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions": { - "additionalProperties": false, - "properties": { - "DynamicRouting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Blackhole": { - "type": "boolean" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTablePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTablePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayVpcAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Options": { - "type": "object" - }, - "RemoveSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayVpcAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "EnableDnsHostnames": { - "type": "boolean" - }, - "EnableDnsSupport": { - "type": "boolean" - }, - "InstanceTenancy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CidrBlock" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonProvidedIpv6CidrBlock": { - "type": "boolean" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "Ipv6Pool": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCDHCPOptionsAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DhcpOptionsId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCDHCPOptionsAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PrivateDnsEnabled": { - "type": "boolean" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointType": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ServiceName", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointConnectionNotification": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionNotificationArn": { - "type": "string" - }, - "ServiceId": { - "type": "string" - }, - "VPCEndpointId": { - "type": "string" - } - }, - "required": [ - "ConnectionEvents", - "ConnectionNotificationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointConnectionNotification" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointService": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "GatewayLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointService" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointServicePermissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPrincipals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointServicePermissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InternetGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCPeeringConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PeerOwnerId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerRoleArn": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "PeerVpcId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCPeeringConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" - }, - "type": "array" - } - }, - "required": [ - "CustomerGatewayId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "PreSharedKey": { - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::VPNConnectionRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnectionRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGatewayRoutePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "RouteTableIds", - "VpnGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGatewayRoutePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoEnableIO": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAttachEnabled": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Size": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Throughput": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VolumeAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "InstanceId", - "VolumeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VolumeAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::PublicRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RepositoryCatalogData": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::PublicRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyText": { - "type": "object" - } - }, - "required": [ - "PolicyText" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" - } - }, - "required": [ - "ReplicationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::ReplicationConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "required": [ - "Region", - "RegistryId" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationRule": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" - }, - "type": "array" - }, - "RepositoryFilters": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" - }, - "type": "array" - } - }, - "required": [ - "Destinations" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "FilterType": { - "type": "string" - } - }, - "required": [ - "Filter", - "FilterType" - ], - "type": "object" - }, - "AWS::ECR::Repository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" - }, - "ImageScanningConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" - }, - "ImageTagMutability": { - "type": "string" - }, - "LifecyclePolicy": { - "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::Repository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::Repository.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKey": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::ECR::Repository.ImageScanningConfiguration": { - "additionalProperties": false, - "properties": { - "ScanOnPush": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ECR::Repository.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "LifecyclePolicyText": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::CapacityProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupProvider": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.AutoScalingGroupProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AutoScalingGroupProvider" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::CapacityProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.AutoScalingGroupProvider": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupArn": { - "type": "string" - }, - "ManagedScaling": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.ManagedScaling" - }, - "ManagedTerminationProtection": { - "type": "string" - } - }, - "required": [ - "AutoScalingGroupArn" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.ManagedScaling": { - "additionalProperties": false, - "properties": { - "InstanceWarmupPeriod": { - "type": "number" - }, - "MaximumScalingStepSize": { - "type": "number" - }, - "MinimumScalingStepSize": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Cluster.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy" - }, - "type": "array" - } - }, - "required": [ - "CapacityProviders", - "Cluster", - "DefaultCapacityProviderStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::ClusterCapacityProviderAssociations" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::ECS::PrimaryTaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "Service": { - "type": "string" - }, - "TaskSetId": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskSetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::PrimaryTaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DeploymentConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentConfiguration" - }, - "DeploymentController": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentController" - }, - "DesiredCount": { - "type": "number" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "HealthCheckGracePeriodSeconds": { - "type": "number" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "Role": { - "type": "string" - }, - "SchedulingStrategy": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.ServiceRegistry" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::Service.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentCircuitBreaker": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "Rollback": { - "type": "boolean" - } - }, - "required": [ - "Enable", - "Rollback" - ], - "type": "object" - }, - "AWS::ECS::Service.DeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentCircuitBreaker": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentCircuitBreaker" - }, - "MaximumPercent": { - "type": "number" - }, - "MinimumHealthyPercent": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentController": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsvpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Service.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerDefinitions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDefinition" - }, - "type": "array" - }, - "Cpu": { - "type": "string" - }, - "EphemeralStorage": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EphemeralStorage" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "InferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.InferenceAccelerator" - }, - "type": "array" - }, - "IpcMode": { - "type": "string" - }, - "Memory": { - "type": "string" - }, - "NetworkMode": { - "type": "string" - }, - "PidMode": { - "type": "string" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint" - }, - "type": "array" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ProxyConfiguration" - }, - "RequiresCompatibilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuntimePlatform": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RuntimePlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskRoleArn": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "IAM": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cpu": { - "type": "number" - }, - "DependsOn": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDependency" - }, - "type": "array" - }, - "DisableNetworking": { - "type": "boolean" - }, - "DnsSearchDomains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DockerLabels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DockerSecurityOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "EnvironmentFiles": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EnvironmentFile" - }, - "type": "array" - }, - "Essential": { - "type": "boolean" - }, - "ExtraHosts": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostEntry" - }, - "type": "array" - }, - "FirelensConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.FirelensConfiguration" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HealthCheck" - }, - "Hostname": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "Interactive": { - "type": "boolean" - }, - "Links": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MemoryReservation": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.MountPoint" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PortMappings": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.PortMapping" - }, - "type": "array" - }, - "Privileged": { - "type": "boolean" - }, - "PseudoTerminal": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "RepositoryCredentials": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RepositoryCredentials" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - }, - "StartTimeout": { - "type": "number" - }, - "StopTimeout": { - "type": "number" - }, - "SystemControls": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.SystemControl" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "VolumesFrom": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.VolumeFrom" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDependency": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "ContainerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.DockerVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Autoprovision": { - "type": "boolean" - }, - "Driver": { - "type": "string" - }, - "DriverOpts": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Labels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Scope": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EFSVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "type": "object" - }, - "FilesystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FilesystemId" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.EnvironmentFile": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EphemeralStorage": { - "additionalProperties": false, - "properties": { - "SizeInGiB": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.FirelensConfiguration": { - "additionalProperties": false, - "properties": { - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HealthCheck": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Interval": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "StartPeriod": { - "type": "number" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostEntry": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "IpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostVolumeProperties": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.InferenceAccelerator": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KernelCapabilities": { - "additionalProperties": false, - "properties": { - "Add": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Drop": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Capabilities": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KernelCapabilities" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.MountPoint": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.PortMapping": { - "additionalProperties": false, - "properties": { - "ContainerPort": { - "type": "number" - }, - "HostPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ProxyConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RepositoryCredentials": { - "additionalProperties": false, - "properties": { - "CredentialsParameter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RuntimePlatform": { - "additionalProperties": false, - "properties": { - "CpuArchitecture": { - "type": "string" - }, - "OperatingSystemFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.SystemControl": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "Size" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Volume": { - "additionalProperties": false, - "properties": { - "DockerVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.DockerVolumeConfiguration" - }, - "EFSVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EFSVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostVolumeProperties" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.VolumeFrom": { - "additionalProperties": false, - "properties": { - "ReadOnly": { - "type": "boolean" - }, - "SourceContainer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.NetworkConfiguration" - }, - "PlatformVersion": { - "type": "string" - }, - "Scale": { - "$ref": "#/definitions/AWS::ECS::TaskSet.Scale" - }, - "Service": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.ServiceRegistry" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.Scale": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPointTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.AccessPointTag" - }, - "type": "array" - }, - "ClientToken": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "PosixUser": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.PosixUser" - }, - "RootDirectory": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.RootDirectory" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.AccessPointTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint.CreationInfo": { - "additionalProperties": false, - "properties": { - "OwnerGid": { - "type": "string" - }, - "OwnerUid": { - "type": "string" - }, - "Permissions": { - "type": "string" - } - }, - "required": [ - "OwnerGid", - "OwnerUid", - "Permissions" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.PosixUser": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "string" - }, - "SecondaryGids": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Uid": { - "type": "string" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.RootDirectory": { - "additionalProperties": false, - "properties": { - "CreationInfo": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.CreationInfo" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneName": { - "type": "string" - }, - "BackupPolicy": { - "$ref": "#/definitions/AWS::EFS::FileSystem.BackupPolicy" - }, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "FileSystemPolicy": { - "type": "object" - }, - "FileSystemTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.ElasticFileSystemTag" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecyclePolicies": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.LifecyclePolicy" - }, - "type": "array" - }, - "PerformanceMode": { - "type": "string" - }, - "ProvisionedThroughputInMibps": { - "type": "number" - }, - "ThroughputMode": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.BackupPolicy": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.ElasticFileSystemTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "TransitionToIA": { - "type": "string" - }, - "TransitionToPrimaryStorageClass": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::MountTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "type": "string" - }, - "IpAddress": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FileSystemId", - "SecurityGroups", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::MountTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Addon": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddonName": { - "type": "string" - }, - "AddonVersion": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "ResolveConflicts": { - "type": "string" - }, - "ServiceAccountRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddonName", - "ClusterName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Addon" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfig": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" - }, - "type": "array" - }, - "KubernetesNetworkConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" - }, - "Logging": { - "$ref": "#/definitions/AWS::EKS::Cluster.Logging" - }, - "Name": { - "type": "string" - }, - "ResourcesVpcConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ResourcesVpcConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster.ClusterLogging": { - "additionalProperties": false, - "properties": { - "EnabledTypes": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.EncryptionConfig": { - "additionalProperties": false, - "properties": { - "Provider": { - "type": "object" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.KubernetesNetworkConfig": { - "additionalProperties": false, - "properties": { - "IpFamily": { - "type": "string" - }, - "ServiceIpv4Cidr": { - "type": "string" - }, - "ServiceIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.Logging": { - "additionalProperties": false, - "properties": { - "ClusterLogging": { - "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.LoggingTypeConfig": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.ResourcesVpcConfig": { - "additionalProperties": false, - "properties": { - "EndpointPrivateAccess": { - "type": "boolean" - }, - "EndpointPublicAccess": { - "type": "boolean" - }, - "PublicAccessCidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SubnetIds" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "FargateProfileName": { - "type": "string" - }, - "PodExecutionRoleArn": { - "type": "string" - }, - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ClusterName", - "PodExecutionRoleArn", - "Selectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::FargateProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Label": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Selector": { - "additionalProperties": false, - "properties": { - "Labels": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" - }, - "type": "array" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmiType": { - "type": "string" - }, - "CapacityType": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "DiskSize": { - "type": "number" - }, - "ForceUpdateEnabled": { - "type": "boolean" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Labels": { - "type": "object" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" - }, - "NodeRole": { - "type": "string" - }, - "NodegroupName": { - "type": "string" - }, - "ReleaseVersion": { - "type": "string" - }, - "RemoteAccess": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" - }, - "ScalingConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Taints": { - "items": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" - }, - "type": "array" - }, - "UpdateConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "NodeRole", - "Subnets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Nodegroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.RemoteAccess": { - "additionalProperties": false, - "properties": { - "Ec2SshKey": { - "type": "string" - }, - "SourceSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Ec2SshKey" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.ScalingConfig": { - "additionalProperties": false, - "properties": { - "DesiredSize": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.Taint": { - "additionalProperties": false, - "properties": { - "Effect": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.UpdateConfig": { - "additionalProperties": false, - "properties": { - "MaxUnavailable": { - "type": "number" - }, - "MaxUnavailablePercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "object" - }, - "Applications": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Application" - }, - "type": "array" - }, - "AutoScalingRole": { - "type": "string" - }, - "BootstrapActions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.BootstrapActionConfig" - }, - "type": "array" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsRootVolumeSize": { - "type": "number" - }, - "Instances": { - "$ref": "#/definitions/AWS::EMR::Cluster.JobFlowInstancesConfig" - }, - "JobFlowRole": { - "type": "string" - }, - "KerberosAttributes": { - "$ref": "#/definitions/AWS::EMR::Cluster.KerberosAttributes" - }, - "LogEncryptionKmsKeyId": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "ManagedScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.ManagedScalingPolicy" - }, - "Name": { - "type": "string" - }, - "ReleaseLabel": { - "type": "string" - }, - "ScaleDownBehavior": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "StepConcurrencyLevel": { - "type": "number" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - }, - "required": [ - "Instances", - "JobFlowRole", - "Name", - "ServiceRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Application": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::Cluster.BootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ScriptBootstrapAction": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScriptBootstrapActionConfig" - } - }, - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "type": "object" - }, - "AWS::EMR::Cluster.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ComputeLimits": { - "additionalProperties": false, - "properties": { - "MaximumCapacityUnits": { - "type": "number" - }, - "MaximumCoreCapacityUnits": { - "type": "number" - }, - "MaximumOnDemandCapacityUnits": { - "type": "number" - }, - "MinimumCapacityUnits": { - "type": "number" - }, - "UnitType": { - "type": "string" - } - }, - "required": [ - "MaximumCapacityUnits", - "MinimumCapacityUnits", - "UnitType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::Cluster.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.JobFlowInstancesConfig": { - "additionalProperties": false, - "properties": { - "AdditionalMasterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSlaveSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CoreInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "CoreInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Ec2KeyName": { - "type": "string" - }, - "Ec2SubnetId": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmrManagedMasterSecurityGroup": { - "type": "string" - }, - "EmrManagedSlaveSecurityGroup": { - "type": "string" - }, - "HadoopVersion": { - "type": "string" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "MasterInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "MasterInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Placement": { - "$ref": "#/definitions/AWS::EMR::Cluster.PlacementType" - }, - "ServiceAccessSecurityGroup": { - "type": "string" - }, - "TerminationProtected": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.KerberosAttributes": { - "additionalProperties": false, - "properties": { - "ADDomainJoinPassword": { - "type": "string" - }, - "ADDomainJoinUser": { - "type": "string" - }, - "CrossRealmTrustPrincipalPassword": { - "type": "string" - }, - "KdcAdminPassword": { - "type": "string" - }, - "Realm": { - "type": "string" - } - }, - "required": [ - "KdcAdminPassword", - "Realm" - ], - "type": "object" - }, - "AWS::EMR::Cluster.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.ManagedScalingPolicy": { - "additionalProperties": false, - "properties": { - "ComputeLimits": { - "$ref": "#/definitions/AWS::EMR::Cluster.ComputeLimits" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::Cluster.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::Cluster.PlacementType": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::Cluster.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScriptBootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::Cluster.StepConfig": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Cluster.HadoopJarStepConfig" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "HadoopJarStep", - "Name" - ], - "type": "object" - }, - "AWS::EMR::Cluster.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "InstanceFleetType": { - "type": "string" - }, - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "required": [ - "ClusterId", - "InstanceFleetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceFleetConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobFlowId": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceRole", - "InstanceType", - "JobFlowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceGroupConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "object" - } - }, - "required": [ - "SecurityConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Step.HadoopJarStepConfig" - }, - "JobFlowId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ActionOnFailure", - "HadoopJarStep", - "JobFlowId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Step" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Step.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Step.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthMode": { - "type": "string" - }, - "DefaultS3Location": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineSecurityGroupId": { - "type": "string" - }, - "IdpAuthUrl": { - "type": "string" - }, - "IdpRelayStateParameterName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserRole": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "WorkspaceSecurityGroupId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultS3Location", - "EngineSecurityGroupId", - "Name", - "ServiceRole", - "SubnetIds", - "VpcId", - "WorkspaceSecurityGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::StudioSessionMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - }, - "IdentityType": { - "type": "string" - }, - "SessionPolicyArn": { - "type": "string" - }, - "StudioId": { - "type": "string" - } - }, - "required": [ - "IdentityName", - "IdentityType", - "SessionPolicyArn", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::StudioSessionMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerProvider": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerProvider", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMRContainers::VirtualCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Info": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerInfo" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Id", - "Info", - "Type" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AZMode": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheNodes": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredAvailabilityZone": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CacheNodeType", - "Engine", - "NumCacheNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::CacheCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalNodeGroupCount": { - "type": "number" - }, - "GlobalReplicationGroupDescription": { - "type": "string" - }, - "GlobalReplicationGroupIdSuffix": { - "type": "string" - }, - "Members": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember" - }, - "type": "array" - }, - "RegionalConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Members" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::GlobalReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "Role": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "ReshardingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheParameterGroupFamily": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Properties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CacheParameterGroupFamily", - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "AuthToken": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "DataTieringEnabled": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalReplicationGroupId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "MultiAZEnabled": { - "type": "boolean" - }, - "NodeGroupConfiguration": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheClusters": { - "type": "number" - }, - "NumNodeGroups": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredCacheClusterAZs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PrimaryClusterId": { - "type": "string" - }, - "ReplicasPerNodeGroup": { - "type": "number" - }, - "ReplicationGroupDescription": { - "type": "string" - }, - "ReplicationGroupId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnapshottingClusterId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "UserGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ReplicationGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PrimaryAvailabilityZone": { - "type": "string" - }, - "ReplicaAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ReplicaCount": { - "type": "number" - }, - "Slots": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSubnetGroupName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "NoPasswordRequired": { - "type": "boolean" - }, - "Passwords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserId": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Engine", - "UserId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::UserGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Engine": { - "type": "string" - }, - "UserGroupId": { - "type": "string" - }, - "UserIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine", - "UserGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::UserGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ResourceLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "ServiceRole": { - "type": "string" - }, - "VersionLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig": { - "additionalProperties": false, - "properties": { - "MaxAgeRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxAgeRule" - }, - "MaxCountRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxCountRule" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxAgeRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxAgeInDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxCountRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SourceBundle": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle" - } - }, - "required": [ - "ApplicationName", - "SourceBundle" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentId": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ConfigurationTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ApplicationName", - "TemplateName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CNAMEPrefix": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentName": { - "type": "string" - }, - "OperationsRole": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.OptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateName": { - "type": "string" - }, - "Tier": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.Tier" - }, - "VersionLabel": { - "type": "string" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.OptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.Tier": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" - }, - "AppCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionDrainingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" - }, - "ConnectionSettings": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" - }, - "CrossZone": { - "type": "boolean" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" - }, - "Instances": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LBCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" - }, - "type": "array" - }, - "LoadBalancerName": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" - }, - "type": "array" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancing::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { - "additionalProperties": false, - "properties": { - "EmitInterval": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3BucketPrefix": { - "type": "string" - } - }, - "required": [ - "Enabled", - "S3BucketName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieName": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "CookieName", - "PolicyName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { - "additionalProperties": false, - "properties": { - "IdleTimeout": { - "type": "number" - } - }, - "required": [ - "IdleTimeout" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "string" - }, - "Interval": { - "type": "string" - }, - "Target": { - "type": "string" - }, - "Timeout": { - "type": "string" - }, - "UnhealthyThreshold": { - "type": "string" - } - }, - "required": [ - "HealthyThreshold", - "Interval", - "Target", - "Timeout", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieExpirationPeriod": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "string" - }, - "InstanceProtocol": { - "type": "string" - }, - "LoadBalancerPort": { - "type": "string" - }, - "PolicyNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SSLCertificateId": { - "type": "string" - } - }, - "required": [ - "InstancePort", - "LoadBalancerPort", - "Protocol" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "object" - }, - "type": "array" - }, - "InstancePorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoadBalancerPorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - } - }, - "required": [ - "Attributes", - "PolicyName", - "PolicyType" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlpnPolicy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" - }, - "type": "array" - }, - "DefaultActions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" - }, - "type": "array" - }, - "LoadBalancerArn": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "SslPolicy": { - "type": "string" - } - }, - "required": [ - "DefaultActions", - "LoadBalancerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "TokenEndpoint": { - "type": "string" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - } - }, - "required": [ - "Certificates", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" - }, - "type": "array" - }, - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Actions", - "Conditions", - "ListenerArn", - "Priority" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "TokenEndpoint": { - "type": "string" - }, - "UseExistingClientSecret": { - "type": "boolean" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { - "additionalProperties": false, - "properties": { - "HttpHeaderName": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "HostHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" - }, - "HttpHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" - }, - "HttpRequestMethodConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" - }, - "PathPatternConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" - }, - "QueryStringConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" - }, - "SourceIpConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IpAddressType": { - "type": "string" - }, - "LoadBalancerAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "IPv6Address": { - "type": "string" - }, - "PrivateIPv4Address": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckEnabled": { - "type": "boolean" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "string" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "HealthCheckTimeoutSeconds": { - "type": "number" - }, - "HealthyThresholdCount": { - "type": "number" - }, - "IpAddressType": { - "type": "string" - }, - "Matcher": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "ProtocolVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetGroupAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" - }, - "type": "array" - }, - "UnhealthyThresholdCount": { - "type": "number" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::TargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { - "additionalProperties": false, - "properties": { - "GrpcCode": { - "type": "string" - }, - "HttpCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EBSOptions" - }, - "ElasticsearchClusterConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ElasticsearchClusterConfig" - }, - "ElasticsearchVersion": { - "type": "string" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EncryptionAtRestOptions" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Elasticsearch::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ColdStorageOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ElasticsearchClusterConfig": { - "additionalProperties": false, - "properties": { - "ColdStorageOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ColdStorageOptions" - }, - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EventSchemas::Discoverer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CrossAccount": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Discoverer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Discoverer.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Registry.TagsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Policy": { - "type": "object" - }, - "RegistryName": { - "type": "string" - }, - "RevisionId": { - "type": "string" - } - }, - "required": [ - "Policy", - "RegistryName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "SchemaName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Schema.TagsEntry" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Content", - "RegistryName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Events::ApiDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HttpMethod": { - "type": "string" - }, - "InvocationEndpoint": { - "type": "string" - }, - "InvocationRateLimitPerSecond": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ConnectionArn", - "HttpMethod", - "InvocationEndpoint" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::ApiDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Archive": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArchiveName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "RetentionDays": { - "type": "number" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Archive" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthParameters": { - "type": "object" - }, - "AuthorizationType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "AuthParameters", - "AuthorizationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBus": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EventSourceName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBus" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Condition": { - "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" - }, - "EventBusName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "Statement": { - "type": "object" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBusPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy.Condition": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventBusName": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Events::Rule.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchArrayProperties": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.BatchParameters": { - "additionalProperties": false, - "properties": { - "ArrayProperties": { - "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" - }, - "JobDefinition": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" - } - }, - "required": [ - "JobDefinition", - "JobName" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchRetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::Events::Rule.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.EcsParameters": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "Group": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "ReferenceId": { - "type": "string" - }, - "TagList": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskCount": { - "type": "number" - }, - "TaskDefinitionArn": { - "type": "string" - } - }, - "required": [ - "TaskDefinitionArn" - ], - "type": "object" - }, - "AWS::Events::Rule.HttpParameters": { - "additionalProperties": false, - "properties": { - "HeaderParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "PathParameterValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QueryStringParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Events::Rule.InputTransformer": { - "additionalProperties": false, - "properties": { - "InputPathsMap": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "InputTemplate": { - "type": "string" - } - }, - "required": [ - "InputTemplate" - ], - "type": "object" - }, - "AWS::Events::Rule.KinesisParameters": { - "additionalProperties": false, - "properties": { - "PartitionKeyPath": { - "type": "string" - } - }, - "required": [ - "PartitionKeyPath" - ], - "type": "object" - }, - "AWS::Events::Rule.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RedshiftDataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "Sql": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WithEvent": { - "type": "boolean" - } - }, - "required": [ - "Database", - "Sql" - ], - "type": "object" - }, - "AWS::Events::Rule.RetryPolicy": { - "additionalProperties": false, - "properties": { - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RunCommandParameters": { - "additionalProperties": false, - "properties": { - "RunCommandTargets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" - }, - "type": "array" - } - }, - "required": [ - "RunCommandTargets" - ], - "type": "object" - }, - "AWS::Events::Rule.RunCommandTarget": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::Events::Rule.SqsParameters": { - "additionalProperties": false, - "properties": { - "MessageGroupId": { - "type": "string" - } - }, - "required": [ - "MessageGroupId" - ], - "type": "object" - }, - "AWS::Events::Rule.Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.Target": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "BatchParameters": { - "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" - }, - "EcsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" - }, - "HttpParameters": { - "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" - }, - "Id": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "InputTransformer": { - "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" - }, - "KinesisParameters": { - "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" - }, - "RedshiftDataParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" - }, - "RoleArn": { - "type": "string" - }, - "RunCommandParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" - }, - "SqsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" - } - }, - "required": [ - "Arn", - "Id" - ], - "type": "object" - }, - "AWS::Evidently::Experiment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MetricGoals": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.MetricGoalObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OnlineAbConfig": { - "$ref": "#/definitions/AWS::Evidently::Experiment.OnlineAbConfigObject" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "SamplingRate": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Treatments": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentObject" - }, - "type": "array" - } - }, - "required": [ - "MetricGoals", - "Name", - "OnlineAbConfig", - "Project", - "Treatments" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Experiment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.MetricGoalObject": { - "additionalProperties": false, - "properties": { - "DesiredChange": { - "type": "string" - }, - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "DesiredChange", - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.OnlineAbConfigObject": { - "additionalProperties": false, - "properties": { - "ControlTreatmentName": { - "type": "string" - }, - "TreatmentWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentToWeight" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "TreatmentName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentToWeight": { - "additionalProperties": false, - "properties": { - "SplitWeight": { - "type": "number" - }, - "Treatment": { - "type": "string" - } - }, - "required": [ - "SplitWeight", - "Treatment" - ], - "type": "object" - }, - "AWS::Evidently::Feature": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultVariation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityOverrides": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.EntityOverride" - }, - "type": "array" - }, - "EvaluationStrategy": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Variations": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.VariationObject" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Project", - "Variations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Feature" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Feature.EntityOverride": { - "additionalProperties": false, - "properties": { - "EntityId": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Feature.VariationObject": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "boolean" - }, - "DoubleValue": { - "type": "number" - }, - "LongValue": { - "type": "number" - }, - "StringValue": { - "type": "string" - }, - "VariationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Launch": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.LaunchGroupObject" - }, - "type": "array" - }, - "MetricMonitors": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.MetricDefinitionObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "ScheduledSplitsConfig": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Groups", - "Name", - "Project", - "ScheduledSplitsConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Launch" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Launch.GroupToWeight": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "SplitWeight": { - "type": "number" - } - }, - "required": [ - "GroupName", - "SplitWeight" - ], - "type": "object" - }, - "AWS::Evidently::Launch.LaunchGroupObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "GroupName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Launch.MetricDefinitionObject": { - "additionalProperties": false, - "properties": { - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Launch.StepConfig": { - "additionalProperties": false, - "properties": { - "GroupWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" - }, - "type": "array" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "GroupWeights", - "StartTime" - ], - "type": "object" - }, - "AWS::Evidently::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelivery": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Project.DataDeliveryObject": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - }, - "S3": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Evidently::Project.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateAction" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StopConditions": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Targets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget" - } - }, - "type": "object" - } - }, - "required": [ - "Description", - "RoleArn", - "StopConditions", - "Tags", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FIS::ExperimentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateAction": { - "additionalProperties": false, - "properties": { - "ActionId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "StartAfter": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "ActionId" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "SelectionMode": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "SelectionMode" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Path", - "Values" - ], - "type": "object" - }, - "AWS::FMS::NotificationChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SnsRoleName": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "SnsRoleName", - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::NotificationChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteAllPolicyResources": { - "type": "boolean" - }, - "ExcludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "ExcludeResourceTags": { - "type": "boolean" - }, - "IncludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "PolicyName": { - "type": "string" - }, - "RemediationEnabled": { - "type": "boolean" - }, - "ResourceTags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.ResourceTag" - }, - "type": "array" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourcesCleanUp": { - "type": "boolean" - }, - "SecurityServicePolicyData": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.PolicyTag" - }, - "type": "array" - } - }, - "required": [ - "ExcludeResourceTags", - "PolicyName", - "RemediationEnabled", - "ResourceType", - "SecurityServicePolicyData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy.IEMap": { - "additionalProperties": false, - "properties": { - "ACCOUNT": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ORGUNIT": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FMS::Policy.PolicyTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::FMS::Policy.ResourceTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::FSx::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BackupId": { - "type": "string" - }, - "FileSystemType": { - "type": "string" - }, - "FileSystemTypeVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LustreConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.LustreConfiguration" - }, - "OntapConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OntapConfiguration" - }, - "OpenZFSConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OpenZFSConfiguration" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageCapacity": { - "type": "number" - }, - "StorageType": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WindowsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.WindowsConfiguration" - } - }, - "required": [ - "FileSystemType", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FSx::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.AuditLogConfiguration": { - "additionalProperties": false, - "properties": { - "AuditLogDestination": { - "type": "string" - }, - "FileAccessAuditLogLevel": { - "type": "string" - }, - "FileShareAccessAuditLogLevel": { - "type": "string" - } - }, - "required": [ - "FileAccessAuditLogLevel", - "FileShareAccessAuditLogLevel" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.ClientConfigurations": { - "additionalProperties": false, - "properties": { - "Clients": { - "type": "string" - }, - "Options": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.DiskIopsConfiguration": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.LustreConfiguration": { - "additionalProperties": false, - "properties": { - "AutoImportPolicy": { - "type": "string" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DataCompressionType": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DriveCacheType": { - "type": "string" - }, - "ExportPath": { - "type": "string" - }, - "ImportPath": { - "type": "string" - }, - "ImportedFileChunkSize": { - "type": "number" - }, - "PerUnitStorageThroughput": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.NfsExports": { - "additionalProperties": false, - "properties": { - "ClientConfigurations": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.ClientConfigurations" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.OntapConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "EndpointIpAddressRange": { - "type": "string" - }, - "FsxAdminPassword": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.OpenZFSConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "CopyTagsToVolumes": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "RootVolumeConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.RootVolumeConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.RootVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "CopyTagsToSnapshots": { - "type": "boolean" - }, - "DataCompressionType": { - "type": "string" - }, - "NfsExports": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.NfsExports" - }, - "type": "array" - }, - "ReadOnly": { - "type": "boolean" - }, - "UserAndGroupQuotas": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.UserAndGroupQuotas" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "DnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainName": { - "type": "string" - }, - "FileSystemAdministratorsGroup": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.UserAndGroupQuotas": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "number" - }, - "StorageCapacityQuotaGiB": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.WindowsConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryId": { - "type": "string" - }, - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuditLogConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.AuditLogConfiguration" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "SelfManagedActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "ThroughputCapacity" - ], - "type": "object" - }, - "AWS::FinSpace::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataBundles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "FederationMode": { - "type": "string" - }, - "FederationParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.FederationParameters" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SuperuserParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.SuperuserParameters" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FinSpace::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FinSpace::Environment.FederationParameters": { - "additionalProperties": false, - "properties": { - "ApplicationCallBackURL": { - "type": "string" - }, - "AttributeMap": { - "type": "object" - }, - "FederationProviderName": { - "type": "string" - }, - "FederationURN": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "SamlMetadataURL": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FinSpace::Environment.SuperuserParameters": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": "string" - }, - "FirstName": { - "type": "string" - }, - "LastName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedModels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Model" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "DetectorVersionStatus": { - "type": "string" - }, - "EventType": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventType" - }, - "RuleExecutionMode": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Rule" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorId", - "EventType", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Detector.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventVariable" - }, - "type": "array" - }, - "Inline": { - "type": "boolean" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Label" - }, - "type": "array" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Model": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Outcome": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Rule": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Language": { - "type": "string" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Outcomes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Outcome" - }, - "type": "array" - }, - "RuleId": { - "type": "string" - }, - "RuleVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EntityType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EntityType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EventVariable" - }, - "type": "array" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.Label" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes", - "EventVariables", - "Labels", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EventType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Label": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Label" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Outcome": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Outcome" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Variable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "required": [ - "DataSource", - "DataType", - "DefaultValue", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Variable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoutingStrategy": { - "$ref": "#/definitions/AWS::GameLift::Alias.RoutingStrategy" - } - }, - "required": [ - "Name", - "RoutingStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias.RoutingStrategy": { - "additionalProperties": false, - "properties": { - "FleetId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Build.S3Location" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Build" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GameLift::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BuildId": { - "type": "string" - }, - "CertificateConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.CertificateConfiguration" - }, - "Description": { - "type": "string" - }, - "DesiredEC2Instances": { - "type": "number" - }, - "EC2InboundPermissions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.IpPermission" - }, - "type": "array" - }, - "EC2InstanceType": { - "type": "string" - }, - "FleetType": { - "type": "string" - }, - "InstanceRoleARN": { - "type": "string" - }, - "Locations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationConfiguration" - }, - "type": "array" - }, - "MaxSize": { - "type": "number" - }, - "MetricGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MinSize": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NewGameSessionProtectionPolicy": { - "type": "string" - }, - "PeerVpcAwsAccountId": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "ResourceCreationLimitPolicy": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ResourceCreationLimitPolicy" - }, - "RuntimeConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.RuntimeConfiguration" - }, - "ScriptId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.CertificateConfiguration": { - "additionalProperties": false, - "properties": { - "CertificateType": { - "type": "string" - } - }, - "required": [ - "CertificateType" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.IpPermission": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "IpRange": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "IpRange", - "Protocol", - "ToPort" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationCapacity": { - "additionalProperties": false, - "properties": { - "DesiredEC2Instances": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "required": [ - "DesiredEC2Instances", - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationConfiguration": { - "additionalProperties": false, - "properties": { - "Location": { - "type": "string" - }, - "LocationCapacity": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationCapacity" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.ResourceCreationLimitPolicy": { - "additionalProperties": false, - "properties": { - "NewGameSessionsPerCreator": { - "type": "number" - }, - "PolicyPeriodInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.RuntimeConfiguration": { - "additionalProperties": false, - "properties": { - "GameSessionActivationTimeoutSeconds": { - "type": "number" - }, - "MaxConcurrentGameSessionActivations": { - "type": "number" - }, - "ServerProcesses": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ServerProcess" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.ServerProcess": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutions": { - "type": "number" - }, - "LaunchPath": { - "type": "string" - }, - "Parameters": { - "type": "string" - } - }, - "required": [ - "ConcurrentExecutions", - "LaunchPath" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.AutoScalingPolicy" - }, - "BalancingStrategy": { - "type": "string" - }, - "DeleteOption": { - "type": "string" - }, - "GameServerGroupName": { - "type": "string" - }, - "GameServerProtectionPolicy": { - "type": "string" - }, - "InstanceDefinitions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.InstanceDefinition" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.LaunchTemplate" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSubnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GameServerGroupName", - "InstanceDefinitions", - "LaunchTemplate", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameServerGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "EstimatedInstanceWarmup": { - "type": "number" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.TargetTrackingConfiguration" - } - }, - "required": [ - "TargetTrackingConfiguration" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.InstanceDefinition": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameServerGroup.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomEventData": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.Destination" - }, - "type": "array" - }, - "FilterConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.FilterConfiguration" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "PlayerLatencyPolicies": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy" - }, - "type": "array" - }, - "PriorityConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PriorityConfiguration" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameSessionQueue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.Destination": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.FilterConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedLocations": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy": { - "additionalProperties": false, - "properties": { - "MaximumIndividualPlayerLatencyMilliseconds": { - "type": "number" - }, - "PolicyDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PriorityConfiguration": { - "additionalProperties": false, - "properties": { - "LocationOrder": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PriorityOrder": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "AcceptanceTimeoutSeconds": { - "type": "number" - }, - "AdditionalPlayerCount": { - "type": "number" - }, - "BackfillMode": { - "type": "string" - }, - "CustomEventData": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FlexMatchMode": { - "type": "string" - }, - "GameProperties": { - "items": { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration.GameProperty" - }, - "type": "array" - }, - "GameSessionData": { - "type": "string" - }, - "GameSessionQueueArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "RequestTimeoutSeconds": { - "type": "number" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "AcceptanceRequired", - "Name", - "RequestTimeoutSeconds", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration.GameProperty": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RuleSetBody": { - "type": "string" - } - }, - "required": [ - "Name", - "RuleSetBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Script.S3Location" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "StorageLocation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Script" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Accelerator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IpAddressType": { - "type": "string" - }, - "IpAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Accelerator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointConfigurations": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration" - }, - "type": "array" - }, - "EndpointGroupRegion": { - "type": "string" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "number" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "ListenerArn": { - "type": "string" - }, - "PortOverrides": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.PortOverride" - }, - "type": "array" - }, - "ThresholdCount": { - "type": "number" - }, - "TrafficDialPercentage": { - "type": "number" - } - }, - "required": [ - "EndpointGroupRegion", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::EndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "ClientIPPreservationEnabled": { - "type": "boolean" - }, - "EndpointId": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "EndpointId" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.PortOverride": { - "additionalProperties": false, - "properties": { - "EndpointPort": { - "type": "number" - }, - "ListenerPort": { - "type": "number" - } - }, - "required": [ - "EndpointPort", - "ListenerPort" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorArn": { - "type": "string" - }, - "ClientAffinity": { - "type": "string" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "AcceleratorArn", - "PortRanges", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::Glue::Classifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsvClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.CsvClassifier" - }, - "GrokClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.GrokClassifier" - }, - "JsonClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.JsonClassifier" - }, - "XMLClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.XMLClassifier" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Classifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Glue::Classifier.CsvClassifier": { - "additionalProperties": false, - "properties": { - "AllowSingleColumn": { - "type": "boolean" - }, - "ContainsHeader": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "DisableValueTrimming": { - "type": "boolean" - }, - "Header": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Classifier.GrokClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "CustomPatterns": { - "type": "string" - }, - "GrokPattern": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Classification", - "GrokPattern" - ], - "type": "object" - }, - "AWS::Glue::Classifier.JsonClassifier": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::Glue::Classifier.XMLClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RowTag": { - "type": "string" - } - }, - "required": [ - "Classification", - "RowTag" - ], - "type": "object" - }, - "AWS::Glue::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionInput": { - "$ref": "#/definitions/AWS::Glue::Connection.ConnectionInput" - } - }, - "required": [ - "CatalogId", - "ConnectionInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Connection.ConnectionInput": { - "additionalProperties": false, - "properties": { - "ConnectionProperties": { - "type": "object" - }, - "ConnectionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MatchCriteria": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PhysicalConnectionRequirements": { - "$ref": "#/definitions/AWS::Glue::Connection.PhysicalConnectionRequirements" - } - }, - "required": [ - "ConnectionType" - ], - "type": "object" - }, - "AWS::Glue::Connection.PhysicalConnectionRequirements": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Classifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Configuration": { - "type": "string" - }, - "CrawlerSecurityConfiguration": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecrawlPolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.RecrawlPolicy" - }, - "Role": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Glue::Crawler.Schedule" - }, - "SchemaChangePolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.SchemaChangePolicy" - }, - "TablePrefix": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Targets": { - "$ref": "#/definitions/AWS::Glue::Crawler.Targets" - } - }, - "required": [ - "Role", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Crawler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Crawler.CatalogTarget": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "Tables": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.DynamoDBTarget": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.JdbcTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.RecrawlPolicy": { - "additionalProperties": false, - "properties": { - "RecrawlBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.S3Target": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.SchemaChangePolicy": { - "additionalProperties": false, - "properties": { - "DeleteBehavior": { - "type": "string" - }, - "UpdateBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Targets": { - "additionalProperties": false, - "properties": { - "CatalogTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.CatalogTarget" - }, - "type": "array" - }, - "DynamoDBTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.DynamoDBTarget" - }, - "type": "array" - }, - "JdbcTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.JdbcTarget" - }, - "type": "array" - }, - "S3Targets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.S3Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DataCatalogEncryptionSettings": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings" - } - }, - "required": [ - "CatalogId", - "DataCatalogEncryptionSettings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DataCatalogEncryptionSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "ReturnConnectionPasswordEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "ConnectionPasswordEncryption": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption" - }, - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "CatalogEncryptionMode": { - "type": "string" - }, - "SseAwsKmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseInput": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseInput" - } - }, - "required": [ - "CatalogId", - "DatabaseInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Database.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseInput": { - "additionalProperties": false, - "properties": { - "CreateTableDefaultPermissions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Database.PrincipalPrivileges" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "TargetDatabase": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseIdentifier" - } - }, - "type": "object" - }, - "AWS::Glue::Database.PrincipalPrivileges": { - "additionalProperties": false, - "properties": { - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "$ref": "#/definitions/AWS::Glue::Database.DataLakePrincipal" - } - }, - "type": "object" - }, - "AWS::Glue::DevEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "EndpointName": { - "type": "string" - }, - "ExtraJarsS3Path": { - "type": "string" - }, - "ExtraPythonLibsS3Path": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "NumberOfWorkers": { - "type": "number" - }, - "PublicKey": { - "type": "string" - }, - "PublicKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DevEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/AWS::Glue::Job.JobCommand" - }, - "Connections": { - "$ref": "#/definitions/AWS::Glue::Job.ConnectionsList" - }, - "DefaultArguments": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/AWS::Glue::Job.ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Job.NotificationProperty" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "Command", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Job" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job.ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Job.ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Job.JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Job.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "InputRecordTables": { - "$ref": "#/definitions/AWS::Glue::MLTransform.InputRecordTables" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "TransformEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformEncryption" - }, - "TransformParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformParameters" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "InputRecordTables", - "Role", - "TransformParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::MLTransform" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.FindMatchesParameters": { - "additionalProperties": false, - "properties": { - "AccuracyCostTradeoff": { - "type": "number" - }, - "EnforceProvidedLabels": { - "type": "boolean" - }, - "PrecisionRecallTradeoff": { - "type": "number" - }, - "PrimaryKeyColumnName": { - "type": "string" - } - }, - "required": [ - "PrimaryKeyColumnName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.GlueTables": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.InputRecordTables": { - "additionalProperties": false, - "properties": { - "GlueTables": { - "items": { - "$ref": "#/definitions/AWS::Glue::MLTransform.GlueTables" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.MLUserDataEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MLUserDataEncryptionMode": { - "type": "string" - } - }, - "required": [ - "MLUserDataEncryptionMode" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.TransformEncryption": { - "additionalProperties": false, - "properties": { - "MLUserDataEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.MLUserDataEncryption" - }, - "TaskRunSecurityConfigurationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.TransformParameters": { - "additionalProperties": false, - "properties": { - "FindMatchesParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.FindMatchesParameters" - }, - "TransformType": { - "type": "string" - } - }, - "required": [ - "TransformType" - ], - "type": "object" - }, - "AWS::Glue::Partition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "PartitionInput": { - "$ref": "#/definitions/AWS::Glue::Partition.PartitionInput" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "PartitionInput", - "TableName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Partition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Partition.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Partition.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Glue::Partition.PartitionInput": { - "additionalProperties": false, - "properties": { - "Parameters": { - "type": "object" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Partition.StorageDescriptor" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Values" - ], - "type": "object" - }, - "AWS::Glue::Partition.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CheckpointVersion": { - "$ref": "#/definitions/AWS::Glue::Schema.SchemaVersion" - }, - "Compatibility": { - "type": "string" - }, - "DataFormat": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Registry": { - "$ref": "#/definitions/AWS::Glue::Schema.Registry" - }, - "SchemaDefinition": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Compatibility", - "DataFormat", - "Name", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema.Registry": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Schema.SchemaVersion": { - "additionalProperties": false, - "properties": { - "IsLatest": { - "type": "boolean" - }, - "VersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Schema": { - "$ref": "#/definitions/AWS::Glue::SchemaVersion.Schema" - }, - "SchemaDefinition": { - "type": "string" - } - }, - "required": [ - "Schema", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SchemaVersion.Schema": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersionMetadata": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "SchemaVersionId": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "SchemaVersionId", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersionMetadata" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.EncryptionConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "EncryptionConfiguration", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.CloudWatchEncryption": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.CloudWatchEncryption" - }, - "JobBookmarksEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.JobBookmarksEncryption" - }, - "S3Encryptions": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.S3Encryptions" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.JobBookmarksEncryption": { - "additionalProperties": false, - "properties": { - "JobBookmarksEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryption": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "S3EncryptionMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryptions": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Glue::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableInput": { - "$ref": "#/definitions/AWS::Glue::Table.TableInput" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "TableInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Table.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Table.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column", - "SortOrder" - ], - "type": "object" - }, - "AWS::Glue::Table.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Table.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableInput": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "PartitionKeys": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Retention": { - "type": "number" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Table.StorageDescriptor" - }, - "TableType": { - "type": "string" - }, - "TargetTable": { - "$ref": "#/definitions/AWS::Glue::Table.TableIdentifier" - }, - "ViewExpandedText": { - "type": "string" - }, - "ViewOriginalText": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Action" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::Glue::Trigger.Predicate" - }, - "Schedule": { - "type": "string" - }, - "StartOnCreation": { - "type": "boolean" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "WorkflowName": { - "type": "string" - } - }, - "required": [ - "Actions", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Trigger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Trigger.Action": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Trigger.NotificationProperty" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Condition": { - "additionalProperties": false, - "properties": { - "CrawlState": { - "type": "string" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "LogicalOperator": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Predicate": { - "additionalProperties": false, - "properties": { - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Condition" - }, - "type": "array" - }, - "Logical": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultRunProperties": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.Connector" - }, - "type": "array" - } - }, - "required": [ - "Connectors" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionId": { - "type": "string" - }, - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion.Connector" - }, - "type": "array" - } - }, - "required": [ - "ConnectorDefinitionId", - "Connectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.CoreDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.Core" - }, - "type": "array" - } - }, - "required": [ - "Cores" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CoreDefinitionId": { - "type": "string" - }, - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion.Core" - }, - "type": "array" - } - }, - "required": [ - "CoreDefinitionId", - "Cores" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.Device" - }, - "type": "array" - } - }, - "required": [ - "Devices" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceDefinitionId": { - "type": "string" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion.Device" - }, - "type": "array" - } - }, - "required": [ - "DeviceDefinitionId", - "Devices" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.DefaultConfig" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Function" - }, - "type": "array" - } - }, - "required": [ - "Functions" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig" - }, - "FunctionDefinitionId": { - "type": "string" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Function" - }, - "type": "array" - } - }, - "required": [ - "FunctionDefinitionId", - "Functions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::Group.GroupVersion" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::Group.GroupVersion": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Greengrass::GroupVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::GroupVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.Logger" - }, - "type": "array" - } - }, - "required": [ - "Loggers" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoggerDefinitionId": { - "type": "string" - }, - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion.Logger" - }, - "type": "array" - } - }, - "required": [ - "LoggerDefinitionId", - "Loggers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "Resources" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceDefinitionId": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "ResourceDefinitionId", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.Subscription" - }, - "type": "array" - } - }, - "required": [ - "Subscriptions" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubscriptionDefinitionId": { - "type": "string" - }, - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion.Subscription" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionDefinitionId", - "Subscriptions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InlineRecipe": { - "type": "string" - }, - "LambdaFunction": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GreengrassV2::ComponentVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement": { - "additionalProperties": false, - "properties": { - "DependencyType": { - "type": "string" - }, - "VersionRequirement": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentPlatform": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaContainerParams": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount" - }, - "type": "array" - }, - "MemorySizeInKB": { - "type": "number" - }, - "MountROSysfs": { - "type": "boolean" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaEventSource": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters": { - "additionalProperties": false, - "properties": { - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "EventSources": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaEventSource" - }, - "type": "array" - }, - "ExecArgs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InputPayloadEncodingType": { - "type": "string" - }, - "LinuxProcessParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams" - }, - "MaxIdleTimeInSeconds": { - "type": "number" - }, - "MaxInstancesCount": { - "type": "number" - }, - "MaxQueueSize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "StatusTimeoutInSeconds": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource": { - "additionalProperties": false, - "properties": { - "ComponentDependencies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement" - } - }, - "type": "object" - }, - "ComponentLambdaParameters": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters" - }, - "ComponentName": { - "type": "string" - }, - "ComponentPlatforms": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentPlatform" - }, - "type": "array" - }, - "ComponentVersion": { - "type": "string" - }, - "LambdaArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams": { - "additionalProperties": false, - "properties": { - "ContainerParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaContainerParams" - }, - "IsolationMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "DestinationPath": { - "type": "string" - }, - "Permission": { - "type": "string" - }, - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigData": { - "$ref": "#/definitions/AWS::GroundStation::Config.ConfigData" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConfigData", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::Config" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig": { - "additionalProperties": false, - "properties": { - "DecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DecodeConfig" - }, - "DemodulationConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DemodulationConfig" - }, - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaUplinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkSpectrumConfig" - }, - "TargetEirp": { - "$ref": "#/definitions/AWS::GroundStation::Config.Eirp" - }, - "TransmitDisabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.ConfigData": { - "additionalProperties": false, - "properties": { - "AntennaDownlinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkConfig" - }, - "AntennaDownlinkDemodDecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig" - }, - "AntennaUplinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaUplinkConfig" - }, - "DataflowEndpointConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DataflowEndpointConfig" - }, - "S3RecordingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.S3RecordingConfig" - }, - "TrackingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.TrackingConfig" - }, - "UplinkEchoConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkEchoConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DataflowEndpointConfig": { - "additionalProperties": false, - "properties": { - "DataflowEndpointName": { - "type": "string" - }, - "DataflowEndpointRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DecodeConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DemodulationConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Eirp": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Frequency": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.FrequencyBandwidth": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.S3RecordingConfig": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.SpectrumConfig": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::GroundStation::Config.FrequencyBandwidth" - }, - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.TrackingConfig": { - "additionalProperties": false, - "properties": { - "Autotrack": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkEchoConfig": { - "additionalProperties": false, - "properties": { - "AntennaUplinkConfigArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkSpectrumConfig": { - "additionalProperties": false, - "properties": { - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointDetails": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.EndpointDetails" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::DataflowEndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SocketAddress" - }, - "Mtu": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.EndpointDetails": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint" - }, - "SecurityDetails": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SecurityDetails" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SecurityDetails": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SocketAddress": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::MissionProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactPostPassDurationSeconds": { - "type": "number" - }, - "ContactPrePassDurationSeconds": { - "type": "number" - }, - "DataflowEdges": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile.DataflowEdge" - }, - "type": "array" - }, - "MinimumViableContactDurationSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrackingConfigArn": { - "type": "string" - } - }, - "required": [ - "DataflowEdges", - "MinimumViableContactDurationSeconds", - "Name", - "TrackingConfigArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::MissionProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::MissionProfile.DataflowEdge": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSources": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNDataSourceConfigurations" - }, - "Enable": { - "type": "boolean" - }, - "FindingPublishingFrequency": { - "type": "string" - } - }, - "required": [ - "Enable" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNDataSourceConfigurations": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNS3LogsConfiguration" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNS3LogsConfiguration": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Rank": { - "type": "number" - } - }, - "required": [ - "Action", - "Description", - "DetectorId", - "FindingCriteria", - "Name", - "Rank" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Filter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Filter.Condition": { - "additionalProperties": false, - "properties": { - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Gte": { - "type": "number" - }, - "Lt": { - "type": "number" - }, - "Lte": { - "type": "number" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "type": "object" - }, - "ItemType": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.Condition" - } - }, - "type": "object" - }, - "AWS::GuardDuty::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Master": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "InvitationId": { - "type": "string" - }, - "MasterId": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "MasterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Master" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "DisableEmailNotification": { - "type": "boolean" - }, - "Email": { - "type": "string" - }, - "MemberId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "Email", - "MemberId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::ThreatIntelSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::ThreatIntelSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastoreTypeVersion": { - "type": "string" - }, - "PreloadDataConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.PreloadDataConfig" - }, - "SseConfiguration": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.SseConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatastoreTypeVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::HealthLake::FHIRDatastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig": { - "additionalProperties": false, - "properties": { - "CmkType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CmkType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.PreloadDataConfig": { - "additionalProperties": false, - "properties": { - "PreloadDataType": { - "type": "string" - } - }, - "required": [ - "PreloadDataType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.SseConfiguration": { - "additionalProperties": false, - "properties": { - "KmsEncryptionConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig" - } - }, - "required": [ - "KmsEncryptionConfig" - ], - "type": "object" - }, - "AWS::IAM::AccessKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Serial": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::AccessKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Group.Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::Group.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::InstanceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceProfileName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Roles" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::InstanceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ManagedPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ManagedPolicyName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ManagedPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::OIDCProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThumbprintList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ThumbprintList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::OIDCProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssumeRolePolicyDocument": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionDuration": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Role.Policy" - }, - "type": "array" - }, - "RoleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssumeRolePolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Role" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::SAMLProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SamlMetadataDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::SAMLProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ServerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CertificateBody": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - }, - "ServerCertificateName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::ServiceLinkedRole": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AWSServiceName": { - "type": "string" - }, - "CustomSuffix": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AWSServiceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServiceLinkedRole" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoginProfile": { - "$ref": "#/definitions/AWS::IAM::User.LoginProfile" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::User.Policy" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::User.LoginProfile": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "PasswordResetRequired": { - "type": "boolean" - } - }, - "required": [ - "Password" - ], - "type": "object" - }, - "AWS::IAM::User.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::UserToGroupAddition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GroupName", - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::UserToGroupAddition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::VirtualMFADevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VirtualMfaDeviceName": { - "type": "string" - } - }, - "required": [ - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::VirtualMFADevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorized": { - "type": "boolean" - }, - "LatencyMode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecordingConfigurationArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IVS::PlaybackKeyPair": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicKeyMaterial": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PublicKeyMaterial" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::PlaybackKeyPair" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfiguration": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.DestinationConfiguration" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DestinationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::RecordingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.S3DestinationConfiguration" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::IVS::StreamKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ChannelArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::StreamKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Component": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChangeDescription": { - "type": "string" - }, - "Data": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "SupportedOsVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Uri": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Platform", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Component" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "ContainerType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DockerfileTemplateData": { - "type": "string" - }, - "DockerfileTemplateUri": { - "type": "string" - }, - "ImageOsVersionOverride": { - "type": "string" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "PlatformOverride": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TargetRepository": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "ContainerType", - "Name", - "ParentImage", - "TargetRepository", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ContainerRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Image": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository": { - "additionalProperties": false, - "properties": { - "RepositoryName": { - "type": "string" - }, - "Service": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Distributions": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.Distribution" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Distributions", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::DistributionConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.Distribution": { - "additionalProperties": false, - "properties": { - "AmiDistributionConfiguration": { - "type": "object" - }, - "ContainerDistributionConfiguration": { - "type": "object" - }, - "LaunchTemplateConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration" - }, - "type": "array" - }, - "LicenseConfigurationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "LaunchTemplateId": { - "type": "string" - }, - "SetDefaultVersion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::Image.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Image.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.Schedule" - }, - "Status": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImagePipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.Schedule": { - "additionalProperties": false, - "properties": { - "PipelineExecutionStartCondition": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "Name", - "ParentImage", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImageRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration": { - "additionalProperties": false, - "properties": { - "SystemsManagerAgent": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent" - }, - "UserDataOverride": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent": { - "additionalProperties": false, - "properties": { - "UninstallAfterBuild": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InstanceMetadataOptions": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions" - }, - "InstanceProfileName": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KeyPair": { - "type": "string" - }, - "Logging": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.Logging" - }, - "Name": { - "type": "string" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TerminateInstanceOnFailure": { - "type": "boolean" - } - }, - "required": [ - "InstanceProfileName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::InfrastructureConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.Logging": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.S3Logs" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.S3Logs": { - "additionalProperties": false, - "properties": { - "S3BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Inspector::AssessmentTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetName": { - "type": "string" - }, - "ResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Inspector::AssessmentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetArn": { - "type": "string" - }, - "AssessmentTemplateName": { - "type": "string" - }, - "DurationInSeconds": { - "type": "number" - }, - "RulesPackageArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserAttributesForFindings": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssessmentTargetArn", - "DurationInSeconds", - "RulesPackageArns" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Inspector::ResourceGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceGroupTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceGroupTags" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::ResourceGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "DeviceId", - "Enabled" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Placement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedDevices": { - "type": "object" - }, - "Attributes": { - "type": "object" - }, - "PlacementName": { - "type": "string" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Placement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "PlacementTemplate": { - "$ref": "#/definitions/AWS::IoT1Click::Project.PlacementTemplate" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "PlacementTemplate" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project.DeviceTemplate": { - "additionalProperties": false, - "properties": { - "CallbackOverrides": { - "type": "object" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT1Click::Project.PlacementTemplate": { - "additionalProperties": false, - "properties": { - "DefaultAttributes": { - "type": "object" - }, - "DeviceTemplates": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "AuditCheckConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations" - }, - "AuditNotificationTargetConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "AuditCheckConfigurations", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::AccountAuditConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations": { - "additionalProperties": false, - "properties": { - "AuthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "ConflictingClientIdsCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateSharedCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotPolicyOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasAllowsAccessToUnusedServicesCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "LoggingDisabledCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedCaCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedDeviceCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "UnauthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations": { - "additionalProperties": false, - "properties": { - "Sns": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget" - } - }, - "type": "object" - }, - "AWS::IoT::Authorizer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerFunctionArn": { - "type": "string" - }, - "AuthorizerName": { - "type": "string" - }, - "SigningDisabled": { - "type": "boolean" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TokenKeyName": { - "type": "string" - }, - "TokenSigningPublicKeys": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AuthorizerFunctionArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Authorizer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Certificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CACertificatePem": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "CertificatePem": { - "type": "string" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Certificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::CustomMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "MetricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MetricType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::CustomMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Dimension": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StringValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "StringValues", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Dimension" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerConfig": { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration.AuthorizerConfig" - }, - "DomainConfigurationName": { - "type": "string" - }, - "DomainConfigurationStatus": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "ServerCertificateArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ValidationCertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::DomainConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration.AuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AllowAuthorizerOverride": { - "type": "boolean" - }, - "DefaultAuthorizerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::DomainConfiguration.ServerCertificateSummary": { - "additionalProperties": false, - "properties": { - "ServerCertificateArn": { - "type": "string" - }, - "ServerCertificateStatus": { - "type": "string" - }, - "ServerCertificateStatusDetail": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::FleetMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AggregationField": { - "type": "string" - }, - "AggregationType": { - "$ref": "#/definitions/AWS::IoT::FleetMetric.AggregationType" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "QueryString": { - "type": "string" - }, - "QueryVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::FleetMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::FleetMetric.AggregationType": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::IoT::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AbortConfig": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Document": { - "type": "string" - }, - "DocumentSource": { - "type": "string" - }, - "JobArn": { - "type": "string" - }, - "JobExecutionsRolloutConfig": { - "type": "object" - }, - "JobTemplateId": { - "type": "string" - }, - "PresignedUrlConfig": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeoutConfig": { - "type": "object" - } - }, - "required": [ - "Description", - "JobTemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Logging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "DefaultLogLevel": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "DefaultLogLevel", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Logging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ActionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ActionParams" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ActionParams", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::MitigationAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ActionParams": { - "additionalProperties": false, - "properties": { - "AddThingsToThingGroupParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.AddThingsToThingGroupParams" - }, - "EnableIoTLoggingParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.EnableIoTLoggingParams" - }, - "PublishFindingToSnsParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.PublishFindingToSnsParams" - }, - "ReplaceDefaultPolicyVersionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams" - }, - "UpdateCACertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateCACertificateParams" - }, - "UpdateDeviceCertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateDeviceCertificateParams" - } - }, - "type": "object" - }, - "AWS::IoT::MitigationAction.AddThingsToThingGroupParams": { - "additionalProperties": false, - "properties": { - "OverrideDynamicGroups": { - "type": "boolean" - }, - "ThingGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ThingGroupNames" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.EnableIoTLoggingParams": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "RoleArnForLogging": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "RoleArnForLogging" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.PublishFindingToSnsParams": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams": { - "additionalProperties": false, - "properties": { - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateCACertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateDeviceCertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::PolicyPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyName": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "PolicyName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::PolicyPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PreProvisioningHook": { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate.ProvisioningHook" - }, - "ProvisioningRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ProvisioningRoleArn", - "TemplateBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ProvisioningTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate.ProvisioningHook": { - "additionalProperties": false, - "properties": { - "PayloadVersion": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::ResourceSpecificLogging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "TargetName": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "TargetName", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ResourceSpecificLogging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ScheduledAudit": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DayOfMonth": { - "type": "string" - }, - "DayOfWeek": { - "type": "string" - }, - "Frequency": { - "type": "string" - }, - "ScheduledAuditName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetCheckNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Frequency", - "TargetCheckNames" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ScheduledAudit" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalMetricsToRetainV2": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricToRetain" - }, - "type": "array" - }, - "AlertTargets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.AlertTarget" - } - }, - "type": "object" - }, - "Behaviors": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.Behavior" - }, - "type": "array" - }, - "SecurityProfileDescription": { - "type": "string" - }, - "SecurityProfileName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::SecurityProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.AlertTarget": { - "additionalProperties": false, - "properties": { - "AlertTargetArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AlertTargetArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.Behavior": { - "additionalProperties": false, - "properties": { - "Criteria": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.BehaviorCriteria" - }, - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - }, - "Name": { - "type": "string" - }, - "SuppressAlerts": { - "type": "boolean" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.BehaviorCriteria": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "ConsecutiveDatapointsToAlarm": { - "type": "number" - }, - "ConsecutiveDatapointsToClear": { - "type": "number" - }, - "DurationSeconds": { - "type": "number" - }, - "MlDetectionConfig": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MachineLearningDetectionConfig" - }, - "StatisticalThreshold": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.StatisticalThreshold" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricValue" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MachineLearningDetectionConfig": { - "additionalProperties": false, - "properties": { - "ConfidenceLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricDimension": { - "additionalProperties": false, - "properties": { - "DimensionName": { - "type": "string" - }, - "Operator": { - "type": "string" - } - }, - "required": [ - "DimensionName" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricToRetain": { - "additionalProperties": false, - "properties": { - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - } - }, - "required": [ - "Metric" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricValue": { - "additionalProperties": false, - "properties": { - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "string" - }, - "Number": { - "type": "number" - }, - "Numbers": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Strings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.StatisticalThreshold": { - "additionalProperties": false, - "properties": { - "Statistic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::Thing": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributePayload": { - "$ref": "#/definitions/AWS::IoT::Thing.AttributePayload" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Thing" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::Thing.AttributePayload": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::ThingPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Principal": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "required": [ - "Principal", - "ThingName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ThingPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicRulePayload": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TopicRulePayload" - } - }, - "required": [ - "TopicRulePayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.Action": { - "additionalProperties": false, - "properties": { - "CloudwatchAlarm": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchAlarmAction" - }, - "CloudwatchLogs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchLogsAction" - }, - "CloudwatchMetric": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchMetricAction" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBAction" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBv2Action" - }, - "Elasticsearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.ElasticsearchAction" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoT::TopicRule.FirehoseAction" - }, - "Http": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAction" - }, - "IotAnalytics": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotAnalyticsAction" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotEventsAction" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotSiteWiseAction" - }, - "Kafka": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KafkaAction" - }, - "Kinesis": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KinesisAction" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoT::TopicRule.LambdaAction" - }, - "OpenSearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.OpenSearchAction" - }, - "Republish": { - "$ref": "#/definitions/AWS::IoT::TopicRule.RepublishAction" - }, - "S3": { - "$ref": "#/definitions/AWS::IoT::TopicRule.S3Action" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SnsAction" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SqsAction" - }, - "StepFunctions": { - "$ref": "#/definitions/AWS::IoT::TopicRule.StepFunctionsAction" - }, - "Timestream": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamAction" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyVariant" - } - }, - "required": [ - "Timestamp", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchAlarmAction": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateReason": { - "type": "string" - }, - "StateValue": { - "type": "string" - } - }, - "required": [ - "AlarmName", - "RoleArn", - "StateReason", - "StateValue" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchLogsAction": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LogGroupName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchMetricAction": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricTimestamp": { - "type": "string" - }, - "MetricUnit": { - "type": "string" - }, - "MetricValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricUnit", - "MetricValue", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBAction": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBv2Action": { - "additionalProperties": false, - "properties": { - "PutItem": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutItemInput" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.ElasticsearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.FirehoseAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DeliveryStreamName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAction": { - "additionalProperties": false, - "properties": { - "Auth": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAuthorization" - }, - "ConfirmationUrl": { - "type": "string" - }, - "Headers": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpActionHeader" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpActionHeader": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAuthorization": { - "additionalProperties": false, - "properties": { - "Sigv4": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SigV4Authorization" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.IotAnalyticsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "ChannelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ChannelName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotEventsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "InputName": { - "type": "string" - }, - "MessageId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotSiteWiseAction": { - "additionalProperties": false, - "properties": { - "PutAssetPropertyValueEntries": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutAssetPropertyValueEntry" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PutAssetPropertyValueEntries", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KafkaAction": { - "additionalProperties": false, - "properties": { - "ClientProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DestinationArn": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Partition": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "ClientProperties", - "DestinationArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KinesisAction": { - "additionalProperties": false, - "properties": { - "PartitionKey": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.OpenSearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutAssetPropertyValueEntry": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValues": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyValue" - }, - "type": "array" - } - }, - "required": [ - "PropertyValues" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutItemInput": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.RepublishAction": { - "additionalProperties": false, - "properties": { - "Qos": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "CannedAcl": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SigV4Authorization": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "SigningRegion": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "ServiceName", - "SigningRegion" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SnsAction": { - "additionalProperties": false, - "properties": { - "MessageFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SqsAction": { - "additionalProperties": false, - "properties": { - "QueueUrl": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.StepFunctionsAction": { - "additionalProperties": false, - "properties": { - "ExecutionNamePrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StateMachineName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DatabaseName": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamDimension" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamTimestamp" - } - }, - "required": [ - "DatabaseName", - "Dimensions", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamTimestamp": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TopicRulePayload": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "type": "array" - }, - "AwsIotSqlVersion": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ErrorAction": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "RuleDisabled": { - "type": "boolean" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Actions", - "Sql" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HttpUrlProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary" - }, - "Status": { - "type": "string" - }, - "VpcProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.VpcDestinationProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRuleDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary": { - "additionalProperties": false, - "properties": { - "ConfirmationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.VpcDestinationProperties": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "ChannelStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ChannelStorage" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ChannelStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.CustomerManagedS3" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Action" - }, - "type": "array" - }, - "ContentDeliveryRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "LateDataRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRule" - }, - "type": "array" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Trigger" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.VersioningConfiguration" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Dataset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Action": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ContainerAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ContainerAction" - }, - "QueryAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.QueryAction" - } - }, - "required": [ - "ActionName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ContainerAction": { - "additionalProperties": false, - "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "ResourceConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ResourceConfiguration" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Variable" - }, - "type": "array" - } - }, - "required": [ - "ExecutionRoleArn", - "Image", - "ResourceConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination" - }, - "EntryName": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination": { - "additionalProperties": false, - "properties": { - "IotEventsDestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.S3DestinationConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentVersionValue": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTime": { - "additionalProperties": false, - "properties": { - "OffsetSeconds": { - "type": "number" - }, - "TimeExpression": { - "type": "string" - } - }, - "required": [ - "OffsetSeconds", - "TimeExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration": { - "additionalProperties": false, - "properties": { - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutInMinutes" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Filter": { - "additionalProperties": false, - "properties": { - "DeltaTime": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTime" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.GlueConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRule": { - "additionalProperties": false, - "properties": { - "RuleConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "RuleConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration": { - "additionalProperties": false, - "properties": { - "DeltaTimeSessionWindowConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.OutputFileUriValue": { - "additionalProperties": false, - "properties": { - "FileName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.QueryAction": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Filter" - }, - "type": "array" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "SqlQuery" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ResourceConfiguration": { - "additionalProperties": false, - "properties": { - "ComputeType": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "ComputeType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "required": [ - "NumberOfDays", - "Unlimited" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "GlueConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.GlueConfiguration" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Trigger": { - "additionalProperties": false, - "properties": { - "Schedule": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Schedule" - }, - "TriggeringDataset": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.TriggeringDataset" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.TriggeringDataset": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "required": [ - "DatasetName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Variable": { - "additionalProperties": false, - "properties": { - "DatasetContentVersionValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentVersionValue" - }, - "DoubleValue": { - "type": "number" - }, - "OutputFileUriValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.OutputFileUriValue" - }, - "StringValue": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "VariableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "MaxVersions": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastorePartitions": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartitions" - }, - "DatastoreStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastoreStorage" - }, - "FileFormatConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.FileFormatConfiguration" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Datastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Column": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartition": { - "additionalProperties": false, - "properties": { - "Partition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Partition" - }, - "TimestampPartition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.TimestampPartition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartitions": { - "additionalProperties": false, - "properties": { - "Partitions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartition" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastoreStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3" - }, - "IotSiteWiseMultiLayerStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.FileFormatConfiguration": { - "additionalProperties": false, - "properties": { - "JsonConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.JsonConfiguration" - }, - "ParquetConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ParquetConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3Storage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage" - } - }, - "required": [ - "CustomerManagedS3Storage" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.JsonConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ParquetConfiguration": { - "additionalProperties": false, - "properties": { - "SchemaDefinition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.SchemaDefinition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Partition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.SchemaDefinition": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Column" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.TimestampPartition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "TimestampFormat": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineActivities": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Activity" - }, - "type": "array" - }, - "PipelineName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineActivities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Activity": { - "additionalProperties": false, - "properties": { - "AddAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.AddAttributes" - }, - "Channel": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Channel" - }, - "Datastore": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Datastore" - }, - "DeviceRegistryEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich" - }, - "DeviceShadowEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich" - }, - "Filter": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Filter" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Lambda" - }, - "Math": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Math" - }, - "RemoveAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.RemoveAttributes" - }, - "SelectAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.SelectAttributes" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.AddAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Channel": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Datastore": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Filter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Lambda": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "LambdaName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Math": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Math": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.RemoveAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.SelectAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SuiteDefinitionConfiguration": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SuiteDefinitionConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorModelDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DetectorModelDefinition" - }, - "DetectorModelDescription": { - "type": "string" - }, - "DetectorModelName": { - "type": "string" - }, - "EvaluationMethod": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorModelDefinition", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::DetectorModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Action": { - "additionalProperties": false, - "properties": { - "ClearTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ClearTimer" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDB" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDBv2" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Firehose" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotEvents" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotSiteWise" - }, - "IotTopicPublish": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotTopicPublish" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Lambda" - }, - "ResetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ResetTimer" - }, - "SetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetTimer" - }, - "SetVariable": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetVariable" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sns" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sqs" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyVariant" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ClearTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DetectorModelDefinition": { - "additionalProperties": false, - "properties": { - "InitialStateName": { - "type": "string" - }, - "States": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.State" - }, - "type": "array" - } - }, - "required": [ - "InitialStateName", - "States" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDB": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "Operation": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDBv2": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Event": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - } - }, - "required": [ - "EventName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStreamName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotEvents": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "InputName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotSiteWise": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValue": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyValue" - } - }, - "required": [ - "PropertyValue" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotTopicPublish": { - "additionalProperties": false, - "properties": { - "MqttTopic": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "MqttTopic" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Lambda": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnEnter": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnExit": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnInput": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - }, - "TransitionEvents": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.TransitionEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Payload": { - "additionalProperties": false, - "properties": { - "ContentExpression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContentExpression", - "Type" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ResetTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetTimer": { - "additionalProperties": false, - "properties": { - "DurationExpression": { - "type": "string" - }, - "Seconds": { - "type": "number" - }, - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetVariable": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "Value", - "VariableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sns": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "TargetArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sqs": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "QueueUrl": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.State": { - "additionalProperties": false, - "properties": { - "OnEnter": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnEnter" - }, - "OnExit": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnExit" - }, - "OnInput": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnInput" - }, - "StateName": { - "type": "string" - } - }, - "required": [ - "StateName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.TransitionEvent": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - }, - "NextState": { - "type": "string" - } - }, - "required": [ - "Condition", - "EventName", - "NextState" - ], - "type": "object" - }, - "AWS::IoTEvents::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InputDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::Input.InputDefinition" - }, - "InputDescription": { - "type": "string" - }, - "InputName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InputDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.Attribute": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.InputDefinition": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::Input.Attribute" - }, - "type": "array" - } - }, - "required": [ - "Attributes" - ], - "type": "object" - }, - "AWS::IoTFleetHub::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ApplicationName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTFleetHub::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicyIdentity": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity" - }, - "AccessPolicyPermission": { - "type": "string" - }, - "AccessPolicyResource": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource" - } - }, - "required": [ - "AccessPolicyIdentity", - "AccessPolicyPermission", - "AccessPolicyResource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AccessPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity": { - "additionalProperties": false, - "properties": { - "IamRole": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamRole" - }, - "IamUser": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamUser" - }, - "User": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.User" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource": { - "additionalProperties": false, - "properties": { - "Portal": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Portal" - }, - "Project": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Project" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamRole": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamUser": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Portal": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Project": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.User": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetHierarchy" - }, - "type": "array" - }, - "AssetModelId": { - "type": "string" - }, - "AssetName": { - "type": "string" - }, - "AssetProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelId", - "AssetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - } - }, - "required": [ - "ChildAssetId", - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetProperty": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "NotificationState": { - "type": "string" - } - }, - "required": [ - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetModelCompositeModels": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel" - }, - "type": "array" - }, - "AssetModelDescription": { - "type": "string" - }, - "AssetModelHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelHierarchy" - }, - "type": "array" - }, - "AssetModelName": { - "type": "string" - }, - "AssetModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AssetModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel": { - "additionalProperties": false, - "properties": { - "CompositeModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetModelId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ChildAssetModelId", - "LogicalId", - "Name" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelProperty": { - "additionalProperties": false, - "properties": { - "DataType": { - "type": "string" - }, - "DataTypeSpec": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.PropertyType" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "DataType", - "LogicalId", - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Attribute": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.ExpressionVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.VariableValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Metric": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - }, - "Window": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.MetricWindow" - } - }, - "required": [ - "Expression", - "Variables", - "Window" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.MetricWindow": { - "additionalProperties": false, - "properties": { - "Tumbling": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.TumblingWindow" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.PropertyType": { - "additionalProperties": false, - "properties": { - "Attribute": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Attribute" - }, - "Metric": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Metric" - }, - "Transform": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Transform" - }, - "TypeName": { - "type": "string" - } - }, - "required": [ - "TypeName" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Transform": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "Variables" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.TumblingWindow": { - "additionalProperties": false, - "properties": { - "Interval": { - "type": "string" - }, - "Offset": { - "type": "string" - } - }, - "required": [ - "Interval" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.VariableValue": { - "additionalProperties": false, - "properties": { - "HierarchyLogicalId": { - "type": "string" - }, - "PropertyLogicalId": { - "type": "string" - } - }, - "required": [ - "PropertyLogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardDefinition": { - "type": "string" - }, - "DashboardDescription": { - "type": "string" - }, - "DashboardName": { - "type": "string" - }, - "ProjectId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DashboardDefinition", - "DashboardDescription", - "DashboardName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayCapabilitySummaries": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary" - }, - "type": "array" - }, - "GatewayName": { - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayPlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Gateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayPlatform": { - "additionalProperties": false, - "properties": { - "Greengrass": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.Greengrass" - } - }, - "required": [ - "Greengrass" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.Greengrass": { - "additionalProperties": false, - "properties": { - "GroupArn": { - "type": "string" - } - }, - "required": [ - "GroupArn" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Portal": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alarms": { - "type": "object" - }, - "NotificationSenderEmail": { - "type": "string" - }, - "PortalAuthMode": { - "type": "string" - }, - "PortalContactEmail": { - "type": "string" - }, - "PortalDescription": { - "type": "string" - }, - "PortalName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalContactEmail", - "PortalName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Portal" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortalId": { - "type": "string" - }, - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalId", - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleNamespaceVersion": { - "type": "number" - }, - "Definition": { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument" - } - }, - "required": [ - "Definition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTThingsGraph::FlowTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument": { - "additionalProperties": false, - "properties": { - "Language": { - "type": "string" - }, - "Text": { - "type": "string" - } - }, - "required": [ - "Language", - "Text" - ], - "type": "object" - }, - "AWS::IoTWireless::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "ExpressionType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ExpressionType", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::DeviceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile": { - "additionalProperties": false, - "properties": { - "ClassBTimeout": { - "type": "number" - }, - "ClassCTimeout": { - "type": "number" - }, - "MacVersion": { - "type": "string" - }, - "MaxDutyCycle": { - "type": "number" - }, - "MaxEirp": { - "type": "number" - }, - "PingSlotDr": { - "type": "number" - }, - "PingSlotFreq": { - "type": "number" - }, - "PingSlotPeriod": { - "type": "number" - }, - "RegParamsRevision": { - "type": "string" - }, - "RfRegion": { - "type": "string" - }, - "Supports32BitFCnt": { - "type": "boolean" - }, - "SupportsClassB": { - "type": "boolean" - }, - "SupportsClassC": { - "type": "boolean" - }, - "SupportsJoin": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTWireless::FuotaTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateMulticastGroup": { - "type": "string" - }, - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateMulticastGroup": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "FirmwareUpdateImage": { - "type": "string" - }, - "FirmwareUpdateRole": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirmwareUpdateImage", - "FirmwareUpdateRole", - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::FuotaTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::FuotaTask.LoRaWAN": { - "additionalProperties": false, - "properties": { - "RfRegion": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::MulticastGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup.LoRaWAN": { - "additionalProperties": false, - "properties": { - "DlClass": { - "type": "string" - }, - "NumberOfDevicesInGroup": { - "type": "number" - }, - "NumberOfDevicesRequested": { - "type": "number" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "DlClass", - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountLinked": { - "type": "boolean" - }, - "Fingerprint": { - "type": "string" - }, - "PartnerAccountId": { - "type": "string" - }, - "PartnerType": { - "type": "string" - }, - "Sidewalk": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo" - }, - "SidewalkUpdate": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::PartnerAccount" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "required": [ - "AppServerPrivateKey" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::ServiceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile": { - "additionalProperties": false, - "properties": { - "AddGwMetadata": { - "type": "boolean" - }, - "ChannelMask": { - "type": "string" - }, - "DevStatusReqFreq": { - "type": "number" - }, - "DlBucketSize": { - "type": "number" - }, - "DlRate": { - "type": "number" - }, - "DlRatePolicy": { - "type": "string" - }, - "DrMax": { - "type": "number" - }, - "DrMin": { - "type": "number" - }, - "HrAllowed": { - "type": "boolean" - }, - "MinGwDiversity": { - "type": "number" - }, - "NwkGeoLoc": { - "type": "boolean" - }, - "PrAllowed": { - "type": "boolean" - }, - "RaAllowed": { - "type": "boolean" - }, - "ReportDevStatusBattery": { - "type": "boolean" - }, - "ReportDevStatusMargin": { - "type": "boolean" - }, - "TargetPer": { - "type": "number" - }, - "UlBucketSize": { - "type": "number" - }, - "UlRate": { - "type": "number" - }, - "UlRatePolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoCreateTasks": { - "type": "boolean" - }, - "LoRaWANUpdateGatewayTaskEntry": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinitionType": { - "type": "string" - }, - "Update": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate" - } - }, - "required": [ - "AutoCreateTasks" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion": { - "additionalProperties": false, - "properties": { - "Model": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "Station": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "SigKeyCrc": { - "type": "number" - }, - "UpdateSignature": { - "type": "string" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate" - }, - "UpdateDataRole": { - "type": "string" - }, - "UpdateDataSource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationName": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.LoRaWANDevice" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessDevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV10x": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV11": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.LoRaWANDevice": { - "additionalProperties": false, - "properties": { - "AbpV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV10x" - }, - "AbpV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV11" - }, - "DevEui": { - "type": "string" - }, - "DeviceProfileId": { - "type": "string" - }, - "OtaaV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV10x" - }, - "OtaaV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV11" - }, - "ServiceProfileId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV10x": { - "additionalProperties": false, - "properties": { - "AppEui": { - "type": "string" - }, - "AppKey": { - "type": "string" - } - }, - "required": [ - "AppEui", - "AppKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV11": { - "additionalProperties": false, - "properties": { - "AppKey": { - "type": "string" - }, - "JoinEui": { - "type": "string" - }, - "NwkKey": { - "type": "string" - } - }, - "required": [ - "AppKey", - "JoinEui", - "NwkKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "NwkSKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "NwkSKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "FNwkSIntKey": { - "type": "string" - }, - "NwkSEncKey": { - "type": "string" - }, - "SNwkSIntKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "FNwkSIntKey", - "NwkSEncKey", - "SNwkSIntKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway.LoRaWANGateway" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway.LoRaWANGateway": { - "additionalProperties": false, - "properties": { - "GatewayEui": { - "type": "string" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "GatewayEui", - "RfRegion" - ], - "type": "object" - }, - "AWS::KMS::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasName": { - "type": "string" - }, - "TargetKeyId": { - "type": "string" - } - }, - "required": [ - "AliasName", - "TargetKeyId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::Key": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EnableKeyRotation": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "KeySpec": { - "type": "string" - }, - "KeyUsage": { - "type": "string" - }, - "MultiRegion": { - "type": "boolean" - }, - "PendingWindowInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Key" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::ReplicaKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "PendingWindowInDays": { - "type": "number" - }, - "PrimaryKeyArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy", - "PrimaryKeyArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::ReplicaKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "IndexId", - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.AccessControlListConfiguration": { - "additionalProperties": false, - "properties": { - "KeyPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.AclConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedGroupsColumnName": { - "type": "string" - } - }, - "required": [ - "AllowedGroupsColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ColumnConfiguration": { - "additionalProperties": false, - "properties": { - "ChangeDetectingColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DocumentDataColumnName": { - "type": "string" - }, - "DocumentIdColumnName": { - "type": "string" - }, - "DocumentTitleColumnName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "ChangeDetectingColumns", - "DocumentDataColumnName", - "DocumentIdColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping" - }, - "type": "array" - }, - "CrawlAttachments": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogConfiguration": { - "additionalProperties": false, - "properties": { - "BlogFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration" - }, - "BlogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PageConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "SpaceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceConfiguration" - }, - "Version": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "ServerUrl", - "Version" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageConfiguration": { - "additionalProperties": false, - "properties": { - "PageFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlArchivedSpaces": { - "type": "boolean" - }, - "CrawlPersonalSpaces": { - "type": "boolean" - }, - "ExcludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpaceFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConnectionConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "SecretArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "SecretArn", - "TableName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceConfiguration" - }, - "DatabaseConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DatabaseConfiguration" - }, - "GoogleDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.GoogleDriveConfiguration" - }, - "OneDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceConfiguration" - }, - "ServiceNowConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SharePointConfiguration" - }, - "WebCrawlerConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerConfiguration" - }, - "WorkDocsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WorkDocsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceVpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DatabaseConfiguration": { - "additionalProperties": false, - "properties": { - "AclConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AclConfiguration" - }, - "ColumnConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ColumnConfiguration" - }, - "ConnectionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConnectionConfiguration" - }, - "DatabaseEngineType": { - "type": "string" - }, - "SqlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SqlConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "ColumnConfiguration", - "ConnectionConfiguration", - "DatabaseEngineType" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DocumentsMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "S3Prefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.GoogleDriveConfiguration": { - "additionalProperties": false, - "properties": { - "ExcludeMimeTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeSharedDrives": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeUserAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "SecretArn" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveConfiguration": { - "additionalProperties": false, - "properties": { - "DisableLocalGroups": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUsers": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveUsers" - }, - "SecretArn": { - "type": "string" - }, - "TenantDomain": { - "type": "string" - } - }, - "required": [ - "OneDriveUsers", - "SecretArn", - "TenantDomain" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveUsers": { - "additionalProperties": false, - "properties": { - "OneDriveUserList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUserS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AccessControlListConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AccessControlListConfiguration" - }, - "BucketName": { - "type": "string" - }, - "DocumentsMetadataConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DocumentsMetadataConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPrefixes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeFilterTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceConfiguration": { - "additionalProperties": false, - "properties": { - "ChatterFeedConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration" - }, - "CrawlAttachments": { - "type": "boolean" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "StandardObjectAttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration" - }, - "StandardObjectConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SecretArn", - "ServerUrl" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CustomKnowledgeArticleTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration" - }, - "type": "array" - }, - "IncludedStates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StandardKnowledgeArticleTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration" - } - }, - "required": [ - "IncludedStates" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationType": { - "type": "string" - }, - "HostUrl": { - "type": "string" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServiceCatalogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration" - }, - "ServiceNowBuildVersion": { - "type": "string" - } - }, - "required": [ - "HostUrl", - "SecretArn", - "ServiceNowBuildVersion" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "FilterQuery": { - "type": "string" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SharePointConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DisableLocalGroups": { - "type": "boolean" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - }, - "SharePointVersion": { - "type": "string" - }, - "SslCertificateS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - }, - "Urls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UseChangeLog": { - "type": "boolean" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "SharePointVersion", - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SqlConfiguration": { - "additionalProperties": false, - "properties": { - "QueryIdentifiersEnclosingOption": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "BasicAuthentication": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerBasicAuthentication" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerBasicAuthentication": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Credentials", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration" - }, - "CrawlDepth": { - "type": "number" - }, - "MaxContentSizePerPageInMegaBytes": { - "type": "number" - }, - "MaxLinksPerPage": { - "type": "number" - }, - "MaxUrlsPerMinuteCrawlRate": { - "type": "number" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ProxyConfiguration" - }, - "UrlExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UrlInclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Urls": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerUrls" - } - }, - "required": [ - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WebCrawlerMode": { - "type": "string" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration": { - "additionalProperties": false, - "properties": { - "SiteMaps": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SiteMaps" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerUrls": { - "additionalProperties": false, - "properties": { - "SeedUrlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration" - }, - "SiteMapsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WorkDocsConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlComments": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationId": { - "type": "string" - }, - "UseChangeLog": { - "type": "boolean" - } - }, - "required": [ - "OrganizationId" - ], - "type": "object" - }, - "AWS::Kendra::Faq": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FileFormat": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "S3Path": { - "$ref": "#/definitions/AWS::Kendra::Faq.S3Path" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IndexId", - "Name", - "RoleArn", - "S3Path" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Faq" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Faq.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::Index": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityUnits": { - "$ref": "#/definitions/AWS::Kendra::Index.CapacityUnitsConfiguration" - }, - "Description": { - "type": "string" - }, - "DocumentMetadataConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.DocumentMetadataConfiguration" - }, - "type": "array" - }, - "Edition": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserContextPolicy": { - "type": "string" - }, - "UserTokenConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.UserTokenConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Edition", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Index" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Index.CapacityUnitsConfiguration": { - "additionalProperties": false, - "properties": { - "QueryCapacityUnits": { - "type": "number" - }, - "StorageCapacityUnits": { - "type": "number" - } - }, - "required": [ - "QueryCapacityUnits", - "StorageCapacityUnits" - ], - "type": "object" - }, - "AWS::Kendra::Index.DocumentMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Relevance": { - "$ref": "#/definitions/AWS::Kendra::Index.Relevance" - }, - "Search": { - "$ref": "#/definitions/AWS::Kendra::Index.Search" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Kendra::Index.JsonTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "GroupAttributeField": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "GroupAttributeField", - "UserNameAttributeField" - ], - "type": "object" - }, - "AWS::Kendra::Index.JwtTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "ClaimRegex": { - "type": "string" - }, - "GroupAttributeField": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "KeyLocation": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "URL": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "KeyLocation" - ], - "type": "object" - }, - "AWS::Kendra::Index.Relevance": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "Freshness": { - "type": "boolean" - }, - "Importance": { - "type": "number" - }, - "RankOrder": { - "type": "string" - }, - "ValueImportanceItems": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.ValueImportanceItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.Search": { - "additionalProperties": false, - "properties": { - "Displayable": { - "type": "boolean" - }, - "Facetable": { - "type": "boolean" - }, - "Searchable": { - "type": "boolean" - }, - "Sortable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.UserTokenConfiguration": { - "additionalProperties": false, - "properties": { - "JsonTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JsonTokenTypeConfiguration" - }, - "JwtTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JwtTokenTypeConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ValueImportanceItem": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Kinesis::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RetentionPeriodHours": { - "type": "number" - }, - "ShardCount": { - "type": "number" - }, - "StreamEncryption": { - "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ShardCount" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kinesis::Stream.StreamEncryption": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KeyId": { - "type": "string" - } - }, - "required": [ - "EncryptionType", - "KeyId" - ], - "type": "object" - }, - "AWS::Kinesis::StreamConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerName": { - "type": "string" - }, - "StreamARN": { - "type": "string" - } - }, - "required": [ - "ConsumerName", - "StreamARN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::StreamConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationCode": { - "type": "string" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.Input" - }, - "type": "array" - } - }, - "required": [ - "Inputs" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ReferenceRoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationMode": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RuntimeEnvironment": { - "type": "string" - }, - "ServiceExecutionRole": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RuntimeEnvironment", - "ServiceExecutionRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeContent": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CodeContent" - }, - "CodeContentType": { - "type": "string" - } - }, - "required": [ - "CodeContent", - "CodeContentType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationCodeConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration" - }, - "ApplicationSnapshotConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration" - }, - "EnvironmentProperties": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.EnvironmentProperties" - }, - "FlinkApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration" - }, - "SqlApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration" - }, - "ZeppelinApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration": { - "additionalProperties": false, - "properties": { - "SnapshotsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SnapshotsEnabled" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "GlueDataCatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointInterval": { - "type": "number" - }, - "CheckpointingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "MinPauseBetweenCheckpoints": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CodeContent": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - }, - "TextContent": { - "type": "string" - }, - "ZipFileContent": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration": { - "additionalProperties": false, - "properties": { - "ArtifactType": { - "type": "string" - }, - "MavenReference": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MavenReference" - }, - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - } - }, - "required": [ - "ArtifactType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation" - } - }, - "required": [ - "S3ContentLocation" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.EnvironmentProperties": { - "additionalProperties": false, - "properties": { - "PropertyGroups": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.PropertyGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration" - }, - "ParallelismConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MavenReference": { - "additionalProperties": false, - "properties": { - "ArtifactId": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ArtifactId", - "GroupId", - "Version" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationType": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "MetricsLevel": { - "type": "string" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration": { - "additionalProperties": false, - "properties": { - "AutoScalingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "Parallelism": { - "type": "number" - }, - "ParallelismPerKPU": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.PropertyGroup": { - "additionalProperties": false, - "properties": { - "PropertyGroupId": { - "type": "string" - }, - "PropertyMap": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation": { - "additionalProperties": false, - "properties": { - "BasePath": { - "type": "string" - }, - "BucketARN": { - "type": "string" - } - }, - "required": [ - "BasePath", - "BucketARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentLocation": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.Input" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CatalogConfiguration" - }, - "CustomArtifactsConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration" - }, - "DeployAsApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CloudWatchLoggingOption": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption" - } - }, - "required": [ - "ApplicationName", - "CloudWatchLoggingOption" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "LogStreamARN": { - "type": "string" - } - }, - "required": [ - "LogStreamARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "type": "string" - }, - "DeliveryStreamType": { - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisFirehose::DeliveryStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "type": "string" - }, - "DataTableColumns": { - "type": "string" - }, - "DataTableName": { - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeValue": { - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute" - }, - "type": "array" - }, - "ContentEncoding": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Deserializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "KinesisStreamARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "number" - }, - "StripeSizeBytes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Serializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "number" - }, - "PageSizeBytes": { - "type": "number" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Processor" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessorParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CopyCommand" - }, - "Password": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "ClusterJDBCURL", - "CopyCommand", - "Password", - "RoleARN", - "S3Configuration", - "Username" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ParquetSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "type": "number" - }, - "HECEndpoint": { - "type": "string" - }, - "HECEndpointType": { - "type": "string" - }, - "HECToken": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "HECEndpoint", - "HECEndpointType", - "HECToken", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "RoleARN", - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Admins": { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings.Admins" - }, - "TrustedResourceOwners": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::DataLakeSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.Admins": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLakePrincipal": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLakePrincipal" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsWithGrantOption": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.Resource" - } - }, - "required": [ - "DataLakePrincipal", - "Resource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Permissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LakeFormation::Permissions.ColumnWildcard": { - "additionalProperties": false, - "properties": { - "ExcludedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLocationResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "S3Resource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DatabaseResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.Resource": { - "additionalProperties": false, - "properties": { - "DataLocationResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLocationResource" - }, - "DatabaseResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DatabaseResource" - }, - "TableResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableResource" - }, - "TableWithColumnsResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWithColumnsResource" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "TableWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWildcard" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWildcard": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWithColumnsResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ColumnWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.ColumnWildcard" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Resource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseServiceLinkedRole": { - "type": "boolean" - } - }, - "required": [ - "ResourceArn", - "UseServiceLinkedRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Resource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" - }, - "RoutingConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" - } - }, - "required": [ - "FunctionName", - "FunctionVersion", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias.AliasRoutingConfiguration": { - "additionalProperties": false, - "properties": { - "AdditionalVersionWeights": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" - }, - "type": "array" - } - }, - "required": [ - "AdditionalVersionWeights" - ], - "type": "object" - }, - "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::Lambda::Alias.VersionWeight": { - "additionalProperties": false, - "properties": { - "FunctionVersion": { - "type": "string" - }, - "FunctionWeight": { - "type": "number" - } - }, - "required": [ - "FunctionVersion", - "FunctionWeight" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AllowedPublishers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::CodeSigningConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" - }, - "FunctionName": { - "type": "string" - }, - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "Qualifier": { - "type": "string" - } - }, - "required": [ - "FunctionName", - "Qualifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventInvokeConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" - }, - "OnSuccess": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" - } - }, - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnSuccess": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "type": "string" - }, - "FilterCriteria": { - "type": "object" - }, - "FunctionName": { - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" - }, - "type": "array" - }, - "StartingPosition": { - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TumblingWindowInSeconds": { - "type": "number" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventSourceMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "URI": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Code": { - "$ref": "#/definitions/AWS::Lambda::Function.Code" - }, - "CodeSigningConfigArn": { - "type": "string" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Lambda::Function.Environment" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PackageType": { - "type": "string" - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "TracingConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" - } - }, - "required": [ - "Code", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Function.Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "ZipFile": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.Environment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "required": [ - "Arn", - "LocalMountPath" - ], - "type": "object" - }, - "AWS::Lambda::Function.ImageConfig": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.TracingConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleArchitectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Content": { - "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersion.Content": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersionPermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "LayerVersionArn": { - "type": "string" - }, - "OrganizationId": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Action", - "LayerVersionArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersionPermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Permission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "EventSourceToken": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "SourceAccount": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "Action", - "FunctionName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeSha256": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Version" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::LicenseManager::Grant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedOperations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GrantName": { - "type": "string" - }, - "HomeRegion": { - "type": "string" - }, - "LicenseArn": { - "type": "string" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::Grant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LicenseManager::License": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Beneficiary": { - "type": "string" - }, - "ConsumptionConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ConsumptionConfiguration" - }, - "Entitlements": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Entitlement" - }, - "type": "array" - }, - "HomeRegion": { - "type": "string" - }, - "Issuer": { - "$ref": "#/definitions/AWS::LicenseManager::License.IssuerData" - }, - "LicenseMetadata": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Metadata" - }, - "type": "array" - }, - "LicenseName": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProductSKU": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Validity": { - "$ref": "#/definitions/AWS::LicenseManager::License.ValidityDateFormat" - } - }, - "required": [ - "ConsumptionConfiguration", - "Entitlements", - "HomeRegion", - "Issuer", - "LicenseName", - "ProductName", - "Validity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::License" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LicenseManager::License.BorrowConfiguration": { - "additionalProperties": false, - "properties": { - "AllowEarlyCheckIn": { - "type": "boolean" - }, - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "AllowEarlyCheckIn", - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ConsumptionConfiguration": { - "additionalProperties": false, - "properties": { - "BorrowConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.BorrowConfiguration" - }, - "ProvisionalConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ProvisionalConfiguration" - }, - "RenewType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LicenseManager::License.Entitlement": { - "additionalProperties": false, - "properties": { - "AllowCheckIn": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Overage": { - "type": "boolean" - }, - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Unit" - ], - "type": "object" - }, - "AWS::LicenseManager::License.IssuerData": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SignKey": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::LicenseManager::License.Metadata": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ProvisionalConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ValidityDateFormat": { - "additionalProperties": false, - "properties": { - "Begin": { - "type": "string" - }, - "End": { - "type": "string" - } - }, - "required": [ - "Begin", - "End" - ], - "type": "object" - }, - "AWS::Lightsail::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "BackupRetention": { - "type": "boolean" - }, - "CaCertificateIdentifier": { - "type": "string" - }, - "MasterDatabaseName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "RelationalDatabaseBlueprintId": { - "type": "string" - }, - "RelationalDatabaseBundleId": { - "type": "string" - }, - "RelationalDatabaseName": { - "type": "string" - }, - "RelationalDatabaseParameters": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Database.RelationalDatabaseParameter" - }, - "type": "array" - }, - "RotateMasterUserPassword": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MasterDatabaseName", - "MasterUsername", - "RelationalDatabaseBlueprintId", - "RelationalDatabaseBundleId", - "RelationalDatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Database.RelationalDatabaseParameter": { - "additionalProperties": false, - "properties": { - "AllowedValues": { - "type": "string" - }, - "ApplyMethod": { - "type": "string" - }, - "ApplyType": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IsModifiable": { - "type": "boolean" - }, - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Disk": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "SizeInGb": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DiskName", - "SizeInGb" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Disk" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlueprintId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Hardware": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Hardware" - }, - "InstanceName": { - "type": "string" - }, - "KeyPairName": { - "type": "string" - }, - "Networking": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Networking" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "required": [ - "BlueprintId", - "BundleId", - "InstanceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Disk": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "AttachmentState": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "IOPS": { - "type": "number" - }, - "IsSystemDisk": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "SizeInGb": { - "type": "string" - } - }, - "required": [ - "DiskName", - "Path" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Hardware": { - "additionalProperties": false, - "properties": { - "CpuCount": { - "type": "number" - }, - "Disks": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Disk" - }, - "type": "array" - }, - "RamSizeInGb": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Location": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.MonthlyTransfer": { - "additionalProperties": false, - "properties": { - "GbPerMonthAllocated": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Networking": { - "additionalProperties": false, - "properties": { - "MonthlyTransfer": { - "$ref": "#/definitions/AWS::Lightsail::Instance.MonthlyTransfer" - }, - "Ports": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Port" - }, - "type": "array" - } - }, - "required": [ - "Ports" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Port": { - "additionalProperties": false, - "properties": { - "AccessDirection": { - "type": "string" - }, - "AccessFrom": { - "type": "string" - }, - "AccessType": { - "type": "string" - }, - "CidrListAliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CommonName": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "Ipv6Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.State": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::StaticIp": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "StaticIpName": { - "type": "string" - } - }, - "required": [ - "StaticIpName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::StaticIp" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::GeofenceCollection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - } - }, - "required": [ - "CollectionName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::GeofenceCollection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::Location::Map.MapConfiguration" - }, - "Description": { - "type": "string" - }, - "MapName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "Configuration", - "MapName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Map" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map.MapConfiguration": { - "additionalProperties": false, - "properties": { - "Style": { - "type": "string" - } - }, - "required": [ - "Style" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Location::PlaceIndex.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "DataSource", - "IndexName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::PlaceIndex" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "IntendedUse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Location::RouteCalculator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CalculatorName": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "CalculatorName", - "DataSource", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::RouteCalculator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Tracker": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PositionFiltering": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "PricingPlan", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Tracker" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::TrackerConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerArn": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "ConsumerArn", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::TrackerConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationName": { - "type": "string" - }, - "DestinationPolicy": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "DestinationPolicy", - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::LogGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RetentionInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Logs::LogStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MetricTransformations": { - "items": { - "$ref": "#/definitions/AWS::Logs::MetricFilter.MetricTransformation" - }, - "type": "array" - } - }, - "required": [ - "FilterPattern", - "LogGroupName", - "MetricTransformations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::MetricFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter.MetricTransformation": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricValue": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricValue" - ], - "type": "object" - }, - "AWS::Logs::QueryDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - } - }, - "required": [ - "Name", - "QueryString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::QueryDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::SubscriptionFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "DestinationArn", - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::SubscriptionFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutEquipment::InferenceScheduler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelayOffsetInMinutes": { - "type": "number" - }, - "DataInputConfiguration": { - "type": "object" - }, - "DataOutputConfiguration": { - "type": "object" - }, - "DataUploadFrequency": { - "type": "string" - }, - "InferenceSchedulerName": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideKmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataInputConfiguration", - "DataOutputConfiguration", - "DataUploadFrequency", - "ModelName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutEquipment::InferenceScheduler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.Action" - }, - "AlertDescription": { - "type": "string" - }, - "AlertName": { - "type": "string" - }, - "AlertSensitivityThreshold": { - "type": "number" - }, - "AnomalyDetectorArn": { - "type": "string" - } - }, - "required": [ - "Action", - "AlertSensitivityThreshold", - "AnomalyDetectorArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::Alert" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.Action": { - "additionalProperties": false, - "properties": { - "LambdaConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.LambdaConfiguration" - }, - "SNSConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.SNSConfiguration" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::Alert.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LambdaArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.SNSConfiguration": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SnsTopicArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig" - }, - "AnomalyDetectorDescription": { - "type": "string" - }, - "AnomalyDetectorName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MetricSetList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSet" - }, - "type": "array" - } - }, - "required": [ - "AnomalyDetectorConfig", - "MetricSetList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::AnomalyDetector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorFrequency": { - "type": "string" - } - }, - "required": [ - "AnomalyDetectorFrequency" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig": { - "additionalProperties": false, - "properties": { - "FlowName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FlowName", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "FileCompression": { - "type": "string" - }, - "HeaderList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor": { - "additionalProperties": false, - "properties": { - "CsvFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor" - }, - "JsonFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "FileCompression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "AggregationFunction": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "AggregationFunction", - "MetricName" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSet": { - "additionalProperties": false, - "properties": { - "DimensionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MetricList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.Metric" - }, - "type": "array" - }, - "MetricSetDescription": { - "type": "string" - }, - "MetricSetFrequency": { - "type": "string" - }, - "MetricSetName": { - "type": "string" - }, - "MetricSource": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSource" - }, - "Offset": { - "type": "number" - }, - "TimestampColumn": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.TimestampColumn" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "MetricList", - "MetricSetName", - "MetricSource" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSource": { - "additionalProperties": false, - "properties": { - "AppFlowConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig" - }, - "CloudwatchConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig" - }, - "RDSSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig" - }, - "RedshiftSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig" - }, - "S3SourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig": { - "additionalProperties": false, - "properties": { - "DBInstanceIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "ClusterIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig": { - "additionalProperties": false, - "properties": { - "FileFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor" - }, - "HistoricalDataPathList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TemplatedPathList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "FileFormatDescriptor", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.TimestampColumn": { - "additionalProperties": false, - "properties": { - "ColumnFormat": { - "type": "string" - }, - "ColumnName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIdList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIdList", - "SubnetIdList" - ], - "type": "object" - }, - "AWS::LookoutVision::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutVision::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BrokerNodeGroupInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerNodeGroupInfo" - }, - "ClientAuthentication": { - "$ref": "#/definitions/AWS::MSK::Cluster.ClientAuthentication" - }, - "ClusterName": { - "type": "string" - }, - "ConfigurationInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConfigurationInfo" - }, - "EncryptionInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInfo" - }, - "EnhancedMonitoring": { - "type": "string" - }, - "KafkaVersion": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.LoggingInfo" - }, - "NumberOfBrokerNodes": { - "type": "number" - }, - "OpenMonitoring": { - "$ref": "#/definitions/AWS::MSK::Cluster.OpenMonitoring" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "BrokerNodeGroupInfo", - "ClusterName", - "KafkaVersion", - "NumberOfBrokerNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MSK::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster.BrokerLogs": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.CloudWatchLogs" - }, - "Firehose": { - "$ref": "#/definitions/AWS::MSK::Cluster.Firehose" - }, - "S3": { - "$ref": "#/definitions/AWS::MSK::Cluster.S3" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.BrokerNodeGroupInfo": { - "additionalProperties": false, - "properties": { - "BrokerAZDistribution": { - "type": "string" - }, - "ClientSubnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectivityInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConnectivityInfo" - }, - "InstanceType": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.StorageInfo" - } - }, - "required": [ - "ClientSubnets", - "InstanceType" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ClientAuthentication": { - "additionalProperties": false, - "properties": { - "Sasl": { - "$ref": "#/definitions/AWS::MSK::Cluster.Sasl" - }, - "Tls": { - "$ref": "#/definitions/AWS::MSK::Cluster.Tls" - }, - "Unauthenticated": { - "$ref": "#/definitions/AWS::MSK::Cluster.Unauthenticated" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.CloudWatchLogs": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroup": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConfigurationInfo": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Revision": { - "type": "number" - } - }, - "required": [ - "Arn", - "Revision" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConnectivityInfo": { - "additionalProperties": false, - "properties": { - "PublicAccess": { - "$ref": "#/definitions/AWS::MSK::Cluster.PublicAccess" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EBSStorageInfo": { - "additionalProperties": false, - "properties": { - "VolumeSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "DataVolumeKMSKeyId": { - "type": "string" - } - }, - "required": [ - "DataVolumeKMSKeyId" - ], - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInTransit": { - "additionalProperties": false, - "properties": { - "ClientBroker": { - "type": "string" - }, - "InCluster": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInfo": { - "additionalProperties": false, - "properties": { - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionAtRest" - }, - "EncryptionInTransit": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInTransit" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Iam": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.JmxExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.LoggingInfo": { - "additionalProperties": false, - "properties": { - "BrokerLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerLogs" - } - }, - "required": [ - "BrokerLogs" - ], - "type": "object" - }, - "AWS::MSK::Cluster.NodeExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.OpenMonitoring": { - "additionalProperties": false, - "properties": { - "Prometheus": { - "$ref": "#/definitions/AWS::MSK::Cluster.Prometheus" - } - }, - "required": [ - "Prometheus" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Prometheus": { - "additionalProperties": false, - "properties": { - "JmxExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.JmxExporter" - }, - "NodeExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.NodeExporter" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.PublicAccess": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.S3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Sasl": { - "additionalProperties": false, - "properties": { - "Iam": { - "$ref": "#/definitions/AWS::MSK::Cluster.Iam" - }, - "Scram": { - "$ref": "#/definitions/AWS::MSK::Cluster.Scram" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Scram": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.StorageInfo": { - "additionalProperties": false, - "properties": { - "EBSStorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EBSStorageInfo" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Tls": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArnList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Unauthenticated": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MWAA::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AirflowConfigurationOptions": { - "type": "object" - }, - "AirflowVersion": { - "type": "string" - }, - "DagS3Path": { - "type": "string" - }, - "EnvironmentClass": { - "type": "string" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "KmsKey": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.LoggingConfiguration" - }, - "MaxWorkers": { - "type": "number" - }, - "MinWorkers": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.NetworkConfiguration" - }, - "PluginsS3ObjectVersion": { - "type": "string" - }, - "PluginsS3Path": { - "type": "string" - }, - "RequirementsS3ObjectVersion": { - "type": "string" - }, - "RequirementsS3Path": { - "type": "string" - }, - "Schedulers": { - "type": "number" - }, - "SourceBucketArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WebserverAccessMode": { - "type": "string" - }, - "WeeklyMaintenanceWindowStart": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MWAA::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MWAA::Environment.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "SchedulerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "TaskLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WebserverLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WorkerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.ModuleLoggingConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Macie::CustomDataIdentifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreWords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Keywords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumMatchDistance": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "required": [ - "Name", - "Regex" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::CustomDataIdentifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Position": { - "type": "number" - } - }, - "required": [ - "FindingCriteria", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::FindingsFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter.Criterion": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.Criterion" - } - }, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingsFilterListItem": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Macie::Session": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FindingPublishingFrequency": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::Session" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InvitationId": { - "type": "string" - }, - "MemberConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberConfiguration" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkConfiguration" - }, - "NetworkId": { - "type": "string" - } - }, - "required": [ - "MemberConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy": { - "additionalProperties": false, - "properties": { - "ProposalDurationInHours": { - "type": "number" - }, - "ThresholdComparator": { - "type": "string" - }, - "ThresholdPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFabricConfiguration": { - "additionalProperties": false, - "properties": { - "AdminPassword": { - "type": "string" - }, - "AdminUsername": { - "type": "string" - } - }, - "required": [ - "AdminPassword", - "AdminUsername" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "MemberFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Framework": { - "type": "string" - }, - "FrameworkVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration" - }, - "VotingPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.VotingPolicy" - } - }, - "required": [ - "Framework", - "FrameworkVersion", - "Name", - "VotingPolicy" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFabricConfiguration": { - "additionalProperties": false, - "properties": { - "Edition": { - "type": "string" - } - }, - "required": [ - "Edition" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "NetworkFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.VotingPolicy": { - "additionalProperties": false, - "properties": { - "ApprovalThresholdPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Node": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MemberId": { - "type": "string" - }, - "NetworkId": { - "type": "string" - }, - "NodeConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node.NodeConfiguration" - } - }, - "required": [ - "NetworkId", - "NodeConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Node" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Node.NodeConfiguration": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceType" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Source" - }, - "SourceFailoverConfig": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.FailoverConfig" - } - }, - "required": [ - "Name", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::Flow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.FailoverConfig": { - "additionalProperties": false, - "properties": { - "RecoveryWindow": { - "type": "number" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::Flow.Source": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "IngestIp": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceIngestPort": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataTransferSubscriberFeePercent": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement.Encryption" - }, - "EntitlementStatus": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Subscribers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Description", - "FlowArn", - "Name", - "Subscribers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowEntitlement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrAllowList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Destination": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.Encryption" - }, - "FlowArn": { - "type": "string" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "RemoteId": { - "type": "string" - }, - "SmoothingLatency": { - "type": "number" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceAttachment": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment" - } - }, - "required": [ - "FlowArn", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SecretArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "VpcInterfaceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "required": [ - "Description", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowSource.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowVpcInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FlowArn", - "Name", - "RoleArn", - "SecurityGroupIds", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowVpcInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerationSettings": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.AccelerationSettings" - }, - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HopDestinations": { - "items": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.HopDestination" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "StatusUpdateInterval": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.AccelerationSettings": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.HopDestination": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "WaitMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaConvert::Preset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Preset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CdiInputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CdiInputSpecification" - }, - "ChannelClass": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestination" - }, - "type": "array" - }, - "EncoderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EncoderSettings" - }, - "InputAttachments": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputAttachment" - }, - "type": "array" - }, - "InputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSpecification" - }, - "LogLevel": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VpcOutputSettings" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel.AacSettings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "InputType": { - "type": "string" - }, - "Profile": { - "type": "string" - }, - "RateControlMode": { - "type": "string" - }, - "RawFormat": { - "type": "string" - }, - "SampleRate": { - "type": "number" - }, - "Spec": { - "type": "string" - }, - "VbrQuality": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Ac3Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcProfile": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "MetadataControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AncillarySourceSettings": { - "additionalProperties": false, - "properties": { - "SourceAncillaryChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveCdnSettings": { - "additionalProperties": false, - "properties": { - "ArchiveS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - }, - "RawSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RawSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveCdnSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "RolloverInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveOutputSettings": { - "additionalProperties": false, - "properties": { - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveContainerSettings" - }, - "Extension": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AribDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AribSourceSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioChannelMapping": { - "additionalProperties": false, - "properties": { - "InputChannelLevels": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputChannelLevel" - }, - "type": "array" - }, - "OutputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioCodecSettings": { - "additionalProperties": false, - "properties": { - "AacSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AacSettings" - }, - "Ac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Ac3Settings" - }, - "Eac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Eac3Settings" - }, - "Mp2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mp2Settings" - }, - "PassThroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.PassThroughSettings" - }, - "WavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioDescription": { - "additionalProperties": false, - "properties": { - "AudioNormalizationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioNormalizationSettings" - }, - "AudioSelectorName": { - "type": "string" - }, - "AudioType": { - "type": "string" - }, - "AudioTypeControl": { - "type": "string" - }, - "AudioWatermarkingSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioWatermarkSettings" - }, - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioCodecSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageCodeControl": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RemixSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RemixSettings" - }, - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioHlsRenditionSelection": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioLanguageSelection": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "LanguageSelectionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioNormalizationSettings": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "AlgorithmControl": { - "type": "string" - }, - "TargetLkfs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioOnlyHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioGroupId": { - "type": "string" - }, - "AudioOnlyImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "AudioTrackType": { - "type": "string" - }, - "SegmentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioPidSelection": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelectorSettings": { - "additionalProperties": false, - "properties": { - "AudioHlsRenditionSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioHlsRenditionSelection" - }, - "AudioLanguageSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioLanguageSelection" - }, - "AudioPidSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioPidSelection" - }, - "AudioTrackSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrackSelection" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSilenceFailoverSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectorName": { - "type": "string" - }, - "AudioSilenceThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrack": { - "additionalProperties": false, - "properties": { - "Track": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrackSelection": { - "additionalProperties": false, - "properties": { - "Tracks": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrack" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioWatermarkSettings": { - "additionalProperties": false, - "properties": { - "NielsenWatermarksSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenWatermarksSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AutomaticInputFailoverSettings": { - "additionalProperties": false, - "properties": { - "ErrorClearTimeMsec": { - "type": "number" - }, - "FailoverConditions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverCondition" - }, - "type": "array" - }, - "InputPreference": { - "type": "string" - }, - "SecondaryInputId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailBlanking": { - "additionalProperties": false, - "properties": { - "AvailBlankingImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailConfiguration": { - "additionalProperties": false, - "properties": { - "AvailSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailSettings": { - "additionalProperties": false, - "properties": { - "Scte35SpliceInsert": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35SpliceInsert" - }, - "Scte35TimeSignalApos": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35TimeSignalApos" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BlackoutSlate": { - "additionalProperties": false, - "properties": { - "BlackoutSlateImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkEndBlackout": { - "type": "string" - }, - "NetworkEndBlackoutImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkId": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BurnInDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDescription": { - "additionalProperties": false, - "properties": { - "CaptionSelectorName": { - "type": "string" - }, - "DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDestinationSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDestinationSettings": { - "additionalProperties": false, - "properties": { - "AribDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribDestinationSettings" - }, - "BurnInDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BurnInDestinationSettings" - }, - "DvbSubDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubDestinationSettings" - }, - "EbuTtDDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EbuTtDDestinationSettings" - }, - "EmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedDestinationSettings" - }, - "EmbeddedPlusScte20DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings" - }, - "RtmpCaptionInfoDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings" - }, - "Scte20PlusEmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings" - }, - "Scte27DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27DestinationSettings" - }, - "SmpteTtDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.SmpteTtDestinationSettings" - }, - "TeletextDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextDestinationSettings" - }, - "TtmlDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TtmlDestinationSettings" - }, - "WebvttDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WebvttDestinationSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionLanguageMapping": { - "additionalProperties": false, - "properties": { - "CaptionChannel": { - "type": "number" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionRectangle": { - "additionalProperties": false, - "properties": { - "Height": { - "type": "number" - }, - "LeftOffset": { - "type": "number" - }, - "TopOffset": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelector": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelectorSettings": { - "additionalProperties": false, - "properties": { - "AncillarySourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AncillarySourceSettings" - }, - "AribSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribSourceSettings" - }, - "DvbSubSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubSourceSettings" - }, - "EmbeddedSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedSourceSettings" - }, - "Scte20SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20SourceSettings" - }, - "Scte27SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27SourceSettings" - }, - "TeletextSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextSourceSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CdiInputSpecification": { - "additionalProperties": false, - "properties": { - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ColorSpacePassthroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbNitSettings": { - "additionalProperties": false, - "properties": { - "NetworkId": { - "type": "number" - }, - "NetworkName": { - "type": "string" - }, - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSdtSettings": { - "additionalProperties": false, - "properties": { - "OutputSdt": { - "type": "string" - }, - "RepInterval": { - "type": "number" - }, - "ServiceName": { - "type": "string" - }, - "ServiceProviderName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubSourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbTdtSettings": { - "additionalProperties": false, - "properties": { - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Eac3Settings": { - "additionalProperties": false, - "properties": { - "AttenuationControl": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "DcFilter": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcLine": { - "type": "string" - }, - "DrcRf": { - "type": "string" - }, - "LfeControl": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "LoRoCenterMixLevel": { - "type": "number" - }, - "LoRoSurroundMixLevel": { - "type": "number" - }, - "LtRtCenterMixLevel": { - "type": "number" - }, - "LtRtSurroundMixLevel": { - "type": "number" - }, - "MetadataControl": { - "type": "string" - }, - "PassthroughControl": { - "type": "string" - }, - "PhaseControl": { - "type": "string" - }, - "StereoDownmix": { - "type": "string" - }, - "SurroundExMode": { - "type": "string" - }, - "SurroundMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EbuTtDDestinationSettings": { - "additionalProperties": false, - "properties": { - "CopyrightHolder": { - "type": "string" - }, - "FillLineGap": { - "type": "string" - }, - "FontFamily": { - "type": "string" - }, - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedSourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Scte20Detection": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - }, - "Source608TrackNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EncoderSettings": { - "additionalProperties": false, - "properties": { - "AudioDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioDescription" - }, - "type": "array" - }, - "AvailBlanking": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailBlanking" - }, - "AvailConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailConfiguration" - }, - "BlackoutSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BlackoutSlate" - }, - "CaptionDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDescription" - }, - "type": "array" - }, - "FeatureActivations": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FeatureActivations" - }, - "GlobalConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.GlobalConfiguration" - }, - "MotionGraphicsConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsConfiguration" - }, - "NielsenConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenConfiguration" - }, - "OutputGroups": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroup" - }, - "type": "array" - }, - "TimecodeConfig": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TimecodeConfig" - }, - "VideoDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverCondition": { - "additionalProperties": false, - "properties": { - "FailoverConditionSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverConditionSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverConditionSettings": { - "additionalProperties": false, - "properties": { - "AudioSilenceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSilenceFailoverSettings" - }, - "InputLossSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossFailoverSettings" - }, - "VideoBlackSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoBlackFailoverSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FeatureActivations": { - "additionalProperties": false, - "properties": { - "InputPrepareScheduleActions": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FecOutputSettings": { - "additionalProperties": false, - "properties": { - "ColumnDepth": { - "type": "number" - }, - "IncludeFec": { - "type": "string" - }, - "RowLength": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Fmp4HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureCdnSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FrameCaptureCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureCdnSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureHlsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureOutputSettings": { - "additionalProperties": false, - "properties": { - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureSettings": { - "additionalProperties": false, - "properties": { - "CaptureInterval": { - "type": "number" - }, - "CaptureIntervalUnits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.GlobalConfiguration": { - "additionalProperties": false, - "properties": { - "InitialAudioGain": { - "type": "number" - }, - "InputEndAction": { - "type": "string" - }, - "InputLossBehavior": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossBehavior" - }, - "OutputLockingMode": { - "type": "string" - }, - "OutputTimingSource": { - "type": "string" - }, - "SupportLowFramerateInputs": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufFillPct": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264ColorSpaceSettings" - }, - "EntropyEncoding": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "ForceFieldPictures": { - "type": "string" - }, - "FramerateControl": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopBReference": { - "type": "string" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "NumRefFrames": { - "type": "number" - }, - "ParControl": { - "type": "string" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QualityLevel": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Softness": { - "type": "number" - }, - "SpatialAq": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "Syntax": { - "type": "string" - }, - "TemporalAq": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "AlternativeTransferFunction": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265ColorSpaceSettings" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Tier": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Hdr10Settings": { - "additionalProperties": false, - "properties": { - "MaxCll": { - "type": "number" - }, - "MaxFall": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsAkamaiSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "Salt": { - "type": "string" - }, - "Token": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsBasicPutSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsCdnSettings": { - "additionalProperties": false, - "properties": { - "HlsAkamaiSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsAkamaiSettings" - }, - "HlsBasicPutSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsBasicPutSettings" - }, - "HlsMediaStoreSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsMediaStoreSettings" - }, - "HlsS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsS3Settings" - }, - "HlsWebdavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsWebdavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BaseUrlContent": { - "type": "string" - }, - "BaseUrlContent1": { - "type": "string" - }, - "BaseUrlManifest": { - "type": "string" - }, - "BaseUrlManifest1": { - "type": "string" - }, - "CaptionLanguageMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionLanguageMapping" - }, - "type": "array" - }, - "CaptionLanguageSetting": { - "type": "string" - }, - "ClientCache": { - "type": "string" - }, - "CodecSpecification": { - "type": "string" - }, - "ConstantIv": { - "type": "string" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "DirectoryStructure": { - "type": "string" - }, - "DiscontinuityTags": { - "type": "string" - }, - "EncryptionType": { - "type": "string" - }, - "HlsCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsCdnSettings" - }, - "HlsId3SegmentTagging": { - "type": "string" - }, - "IFrameOnlyPlaylists": { - "type": "string" - }, - "IncompleteSegmentBehavior": { - "type": "string" - }, - "IndexNSegments": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "IvInManifest": { - "type": "string" - }, - "IvSource": { - "type": "string" - }, - "KeepSegments": { - "type": "number" - }, - "KeyFormat": { - "type": "string" - }, - "KeyFormatVersions": { - "type": "string" - }, - "KeyProviderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.KeyProviderSettings" - }, - "ManifestCompression": { - "type": "string" - }, - "ManifestDurationFormat": { - "type": "string" - }, - "MinSegmentLength": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "OutputSelection": { - "type": "string" - }, - "ProgramDateTime": { - "type": "string" - }, - "ProgramDateTimePeriod": { - "type": "number" - }, - "RedundantManifest": { - "type": "string" - }, - "SegmentLength": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SegmentsPerSubdirectory": { - "type": "number" - }, - "StreamInfResolution": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - }, - "TimestampDeltaMilliseconds": { - "type": "number" - }, - "TsFileMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsInputSettings": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "type": "number" - }, - "BufferSegments": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "RetryInterval": { - "type": "number" - }, - "Scte35Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsMediaStoreSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "MediaStoreStorageClass": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsSettings" - }, - "NameModifier": { - "type": "string" - }, - "SegmentModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioOnlyHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioOnlyHlsSettings" - }, - "Fmp4HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Fmp4HlsSettings" - }, - "FrameCaptureHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureHlsSettings" - }, - "StandardHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StandardHlsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsWebdavSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HtmlMotionGraphicsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.InputAttachment": { - "additionalProperties": false, - "properties": { - "AutomaticInputFailoverSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AutomaticInputFailoverSettings" - }, - "InputAttachmentName": { - "type": "string" - }, - "InputId": { - "type": "string" - }, - "InputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputChannelLevel": { - "additionalProperties": false, - "properties": { - "Gain": { - "type": "number" - }, - "InputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLocation": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Uri": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossBehavior": { - "additionalProperties": false, - "properties": { - "BlackFrameMsec": { - "type": "number" - }, - "InputLossImageColor": { - "type": "string" - }, - "InputLossImageSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "InputLossImageType": { - "type": "string" - }, - "RepeatFrameMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossFailoverSettings": { - "additionalProperties": false, - "properties": { - "InputLossThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelector" - }, - "type": "array" - }, - "CaptionSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelector" - }, - "type": "array" - }, - "DeblockFilter": { - "type": "string" - }, - "DenoiseFilter": { - "type": "string" - }, - "FilterStrength": { - "type": "number" - }, - "InputFilter": { - "type": "string" - }, - "NetworkInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NetworkInputSettings" - }, - "Smpte2038DataPreference": { - "type": "string" - }, - "SourceEndBehavior": { - "type": "string" - }, - "VideoSelector": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelector" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSpecification": { - "additionalProperties": false, - "properties": { - "Codec": { - "type": "string" - }, - "MaximumBitrate": { - "type": "string" - }, - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.KeyProviderSettings": { - "additionalProperties": false, - "properties": { - "StaticKeySettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StaticKeySettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M2tsSettings": { - "additionalProperties": false, - "properties": { - "AbsentInputAudioBehavior": { - "type": "string" - }, - "Arib": { - "type": "string" - }, - "AribCaptionsPid": { - "type": "string" - }, - "AribCaptionsPidControl": { - "type": "string" - }, - "AudioBufferModel": { - "type": "string" - }, - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "AudioStreamType": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufferModel": { - "type": "string" - }, - "CcDescriptor": { - "type": "string" - }, - "DvbNitSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbNitSettings" - }, - "DvbSdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSdtSettings" - }, - "DvbSubPids": { - "type": "string" - }, - "DvbTdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbTdtSettings" - }, - "DvbTeletextPid": { - "type": "string" - }, - "Ebif": { - "type": "string" - }, - "EbpAudioInterval": { - "type": "string" - }, - "EbpLookaheadMs": { - "type": "number" - }, - "EbpPlacement": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "EsRateInPes": { - "type": "string" - }, - "EtvPlatformPid": { - "type": "string" - }, - "EtvSignalPid": { - "type": "string" - }, - "FragmentTime": { - "type": "number" - }, - "Klv": { - "type": "string" - }, - "KlvDataPids": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "NullPacketBitrate": { - "type": "number" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "RateMode": { - "type": "string" - }, - "Scte27Pids": { - "type": "string" - }, - "Scte35Control": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "SegmentationMarkers": { - "type": "string" - }, - "SegmentationStyle": { - "type": "string" - }, - "SegmentationTime": { - "type": "number" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M3u8Settings": { - "additionalProperties": false, - "properties": { - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "Scte35Behavior": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsConfiguration": { - "additionalProperties": false, - "properties": { - "MotionGraphicsInsertion": { - "type": "string" - }, - "MotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsSettings": { - "additionalProperties": false, - "properties": { - "HtmlMotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HtmlMotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mp2Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpace": { - "type": "string" - }, - "DisplayAspectRatio": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothGroupSettings": { - "additionalProperties": false, - "properties": { - "AcquisitionPointId": { - "type": "string" - }, - "AudioOnlyTimecodeControl": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "EventId": { - "type": "string" - }, - "EventIdMode": { - "type": "string" - }, - "EventStopBehavior": { - "type": "string" - }, - "FilecacheDuration": { - "type": "number" - }, - "FragmentLength": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SendDelayMs": { - "type": "number" - }, - "SparseTrackType": { - "type": "string" - }, - "StreamManifestBehavior": { - "type": "string" - }, - "TimestampOffset": { - "type": "string" - }, - "TimestampOffsetMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexGroupSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexOutputSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings": { - "additionalProperties": false, - "properties": { - "MultiplexId": { - "type": "string" - }, - "ProgramName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NetworkInputSettings": { - "additionalProperties": false, - "properties": { - "HlsInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsInputSettings" - }, - "ServerValidation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenCBET": { - "additionalProperties": false, - "properties": { - "CbetCheckDigitString": { - "type": "string" - }, - "CbetStepaside": { - "type": "string" - }, - "Csid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenConfiguration": { - "additionalProperties": false, - "properties": { - "DistributorId": { - "type": "string" - }, - "NielsenPcmToId3Tagging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenNaesIiNw": { - "additionalProperties": false, - "properties": { - "CheckDigitString": { - "type": "string" - }, - "Sid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenWatermarksSettings": { - "additionalProperties": false, - "properties": { - "NielsenCbetSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenCBET" - }, - "NielsenDistributionType": { - "type": "string" - }, - "NielsenNaesIiNwSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenNaesIiNw" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Output": { - "additionalProperties": false, - "properties": { - "AudioDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CaptionDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OutputName": { - "type": "string" - }, - "OutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputSettings" - }, - "VideoDescriptionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestination": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "MediaPackageSettings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings" - }, - "type": "array" - }, - "MultiplexSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings" - }, - "Settings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestinationSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroup": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OutputGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroupSettings" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Output" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveGroupSettings" - }, - "FrameCaptureGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureGroupSettings" - }, - "HlsGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsGroupSettings" - }, - "MediaPackageGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageGroupSettings" - }, - "MsSmoothGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothGroupSettings" - }, - "MultiplexGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexGroupSettings" - }, - "RtmpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpGroupSettings" - }, - "UdpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpGroupSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputLocationRef": { - "additionalProperties": false, - "properties": { - "DestinationRefId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputSettings": { - "additionalProperties": false, - "properties": { - "ArchiveOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveOutputSettings" - }, - "FrameCaptureOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureOutputSettings" - }, - "HlsOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsOutputSettings" - }, - "MediaPackageOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputSettings" - }, - "MsSmoothOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothOutputSettings" - }, - "MultiplexOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexOutputSettings" - }, - "RtmpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpOutputSettings" - }, - "UdpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.PassThroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RawSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec601Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec709Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RemixSettings": { - "additionalProperties": false, - "properties": { - "ChannelMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioChannelMapping" - }, - "type": "array" - }, - "ChannelsIn": { - "type": "number" - }, - "ChannelsOut": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationScheme": { - "type": "string" - }, - "CacheFullBehavior": { - "type": "string" - }, - "CacheLength": { - "type": "number" - }, - "CaptionData": { - "type": "string" - }, - "InputLossAction": { - "type": "string" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpOutputSettings": { - "additionalProperties": false, - "properties": { - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "NumRetries": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20SourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27SourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35SpliceInsert": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35TimeSignalApos": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.SmpteTtDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.StandardHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "M3u8Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M3u8Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.StaticKeySettings": { - "additionalProperties": false, - "properties": { - "KeyProviderServer": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "StaticKeyValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextSourceSettings": { - "additionalProperties": false, - "properties": { - "OutputRectangle": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionRectangle" - }, - "PageNumber": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TemporalFilterSettings": { - "additionalProperties": false, - "properties": { - "PostFilterSharpening": { - "type": "string" - }, - "Strength": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TimecodeConfig": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "SyncThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TtmlDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpGroupSettings": { - "additionalProperties": false, - "properties": { - "InputLossAction": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpOutputSettings": { - "additionalProperties": false, - "properties": { - "BufferMsec": { - "type": "number" - }, - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpContainerSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FecOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FecOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoBlackFailoverSettings": { - "additionalProperties": false, - "properties": { - "BlackDetectThreshold": { - "type": "number" - }, - "VideoBlackThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoCodecSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureSettings" - }, - "H264Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264Settings" - }, - "H265Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265Settings" - }, - "Mpeg2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoDescription": { - "additionalProperties": false, - "properties": { - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoCodecSettings" - }, - "Height": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RespondToAfd": { - "type": "string" - }, - "ScalingBehavior": { - "type": "string" - }, - "Sharpness": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelector": { - "additionalProperties": false, - "properties": { - "ColorSpace": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings" - }, - "ColorSpaceUsage": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorPid": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorProgramId": { - "additionalProperties": false, - "properties": { - "ProgramId": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorSettings": { - "additionalProperties": false, - "properties": { - "VideoSelectorPid": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorPid" - }, - "VideoSelectorProgramId": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorProgramId" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VpcOutputSettings": { - "additionalProperties": false, - "properties": { - "PublicAddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WavSettings": { - "additionalProperties": false, - "properties": { - "BitDepth": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WebvttDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDestinationRequest" - }, - "type": "array" - }, - "InputDevices": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDeviceSettings" - }, - "type": "array" - }, - "InputSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MediaConnectFlows": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.MediaConnectFlowRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputSourceRequest" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputVpcRequest" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Input.InputDestinationRequest": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceRequest": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceSettings": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputSourceRequest": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputVpcRequest": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.MediaConnectFlowRequest": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - }, - "WhitelistRules": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::InputSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "PackagingGroupId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId", - "SourceArn", - "SourceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Asset.EgressEndpoint": { - "additionalProperties": false, - "properties": { - "PackagingConfigurationId": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "PackagingConfigurationId", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "IngressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.Authorization" - }, - "ChannelId": { - "type": "string" - }, - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashPackage" - }, - "Description": { - "type": "string" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsPackage" - }, - "Id": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssPackage" - }, - "Origination": { - "type": "string" - }, - "StartoverWindowSeconds": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeDelaySeconds": { - "type": "number" - }, - "Whitelist": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ChannelId", - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::OriginEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentPrefix": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashEncryption": { - "additionalProperties": false, - "properties": { - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashPackage": { - "additionalProperties": false, - "properties": { - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashEncryption" - }, - "ManifestLayout": { - "type": "string" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "MinUpdatePeriodSeconds": { - "type": "number" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Profile": { - "type": "string" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "SuggestedPresentationDelaySeconds": { - "type": "number" - }, - "UtcTiming": { - "type": "string" - }, - "UtcTimingUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsPackage": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsEncryption" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssEncryption" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashPackage" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsPackage" - }, - "Id": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssPackage" - }, - "PackagingGroupId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashManifest": { - "additionalProperties": false, - "properties": { - "ManifestLayout": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashPackage": { - "additionalProperties": false, - "properties": { - "DashManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashManifest" - }, - "type": "array" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashEncryption" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - } - }, - "required": [ - "DashManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssManifest": { - "additionalProperties": false, - "properties": { - "ManifestName": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssEncryption" - }, - "MssManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "MssManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.Authorization" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingEnabled": { - "type": "boolean" - }, - "ContainerName": { - "type": "string" - }, - "CorsPolicy": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.CorsRule" - }, - "type": "array" - }, - "LifecyclePolicy": { - "type": "string" - }, - "MetricPolicy": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicy" - }, - "Policy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaStore::Container" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaStore::Container.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposeHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxAgeSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicy": { - "additionalProperties": false, - "properties": { - "ContainerLevelMetrics": { - "type": "string" - }, - "MetricPolicyRules": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicyRule" - }, - "type": "array" - } - }, - "required": [ - "ContainerLevelMetrics" - ], - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicyRule": { - "additionalProperties": false, - "properties": { - "ObjectGroup": { - "type": "string" - }, - "ObjectGroupName": { - "type": "string" - } - }, - "required": [ - "ObjectGroup", - "ObjectGroupName" - ], - "type": "object" - }, - "AWS::MemoryDB::ACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ACLName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ClusterName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "FinalSnapshotName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumReplicasPerShard": { - "type": "number" - }, - "NumShards": { - "type": "number" - }, - "ParameterGroupName": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SnsTopicStatus": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "TLSEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ACLName", - "ClusterName", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MemoryDB::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Family", - "ParameterGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetGroupName", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "AuthenticationMode": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "AccessString", - "AuthenticationMode", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::Neptune::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::Neptune::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "FirewallPolicyArn": { - "type": "string" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall.SubnetMapping" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallName", - "FirewallPolicyArn", - "SubnetMappings", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::Firewall" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall.SubnetMapping": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy" - }, - "FirewallPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirewallPolicy", - "FirewallPolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::FirewallPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy": { - "additionalProperties": false, - "properties": { - "StatefulDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference" - }, - "type": "array" - }, - "StatelessCustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.CustomAction" - }, - "type": "array" - }, - "StatelessDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessFragmentDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference" - }, - "type": "array" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "Priority", - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallArn": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration" - } - }, - "required": [ - "FirewallArn", - "LoggingConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig": { - "additionalProperties": false, - "properties": { - "LogDestination": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LogDestinationType": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "LogDestination", - "LogDestinationType", - "LogType" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig" - }, - "type": "array" - } - }, - "required": [ - "LogDestinationConfigs" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleGroup" - }, - "RuleGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Capacity", - "RuleGroupName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationPort": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourcePort": { - "type": "string" - } - }, - "required": [ - "Destination", - "DestinationPort", - "Direction", - "Protocol", - "Source", - "SourcePort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "Protocols": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SourcePorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "TCPFlags": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.TCPFlagField" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MatchAttributes": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.MatchAttributes" - } - }, - "required": [ - "Actions", - "MatchAttributes" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleGroup": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "type": "string" - }, - "Settings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSourceList" - }, - "RulesString": { - "type": "string" - }, - "StatefulRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRule" - }, - "type": "array" - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "type": "string" - }, - "TargetTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GeneratedRulesType", - "TargetTypes", - "Targets" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Header": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Header" - }, - "RuleOptions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleOption" - }, - "type": "array" - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "RuleDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleDefinition" - } - }, - "required": [ - "Priority", - "RuleDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.CustomAction" - }, - "type": "array" - }, - "StatelessRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRule" - }, - "type": "array" - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Masks": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "AWS::NetworkManager::CustomerGatewayAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayArn": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "CustomerGatewayArn", - "DeviceId", - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::CustomerGatewayAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Device.Location" - }, - "Model": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Vendor": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::GlobalNetwork": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::GlobalNetwork" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::NetworkManager::Link": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::NetworkManager::Link.Bandwidth" - }, - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Provider": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Bandwidth", - "GlobalNetworkId", - "SiteId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Link" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Link.Bandwidth": { - "additionalProperties": false, - "properties": { - "DownloadSpeed": { - "type": "number" - }, - "UploadSpeed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::NetworkManager::LinkAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "DeviceId", - "GlobalNetworkId", - "LinkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::LinkAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Site.Location" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Site" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::TransitGatewayRegistration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GlobalNetworkId": { - "type": "string" - }, - "TransitGatewayArn": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId", - "TransitGatewayArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::TransitGatewayRegistration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchProfileProtocolVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "StreamConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile.StreamConfiguration" - }, - "StudioComponentIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2SubnetIds", - "LaunchProfileProtocolVersions", - "Name", - "StreamConfiguration", - "StudioComponentIds", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::LaunchProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile.StreamConfiguration": { - "additionalProperties": false, - "properties": { - "ClipboardMode": { - "type": "string" - }, - "Ec2InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionLengthInMinutes": { - "type": "number" - }, - "StreamingImageIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClipboardMode", - "Ec2InstanceTypes", - "StreamingImageIds" - ], - "type": "object" - }, - "AWS::NimbleStudio::StreamingImage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2ImageId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2ImageId", - "Name", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StreamingImage" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdminRoleArn": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "StudioEncryptionConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::Studio.StudioEncryptionConfiguration" - }, - "StudioName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UserRoleArn": { - "type": "string" - } - }, - "required": [ - "AdminRoleArn", - "DisplayName", - "StudioName", - "UserRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio.StudioEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KeyArn": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration" - }, - "Description": { - "type": "string" - }, - "Ec2SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InitializationScripts": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScriptParameters": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Subtype": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StudioId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StudioComponent" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "ComputerAttributes": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute" - }, - "type": "array" - }, - "DirectoryId": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryUser": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "LinuxMountPoint": { - "type": "string" - }, - "ShareName": { - "type": "string" - }, - "WindowsMountDrive": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration" - }, - "ComputeFarmConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration" - }, - "LicenseServiceConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration" - }, - "SharedFileSystemConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript": { - "additionalProperties": false, - "properties": { - "LaunchProfileProtocolVersion": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "RunContext": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput" - }, - "ClusterConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ClusterConfig" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EBSOptions" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EncryptionAtRestOptions" - }, - "EngineVersion": { - "type": "string" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpenSearchService::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ClusterConfig": { - "additionalProperties": false, - "properties": { - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppSource": { - "$ref": "#/definitions/AWS::OpsWorks::App.Source" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DataSources": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.DataSource" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableSsl": { - "type": "boolean" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.EnvironmentVariable" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Shortname": { - "type": "string" - }, - "SslConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::App.SslConfiguration" - }, - "StackId": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::App.DataSource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Secure": { - "type": "boolean" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::OpsWorks::App.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.SslConfiguration": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Chain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ElasticLoadBalancerName": { - "type": "string" - }, - "LayerId": { - "type": "string" - } - }, - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::ElasticLoadBalancerAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "AmiId": { - "type": "string" - }, - "Architecture": { - "type": "string" - }, - "AutoScalingType": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Hostname": { - "type": "string" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceType": { - "type": "string" - }, - "LayerIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Os": { - "type": "string" - }, - "RootDeviceType": { - "type": "string" - }, - "SshKeyName": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tenancy": { - "type": "string" - }, - "TimeBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.TimeBasedAutoScaling" - }, - "VirtualizationType": { - "type": "string" - }, - "Volumes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "InstanceType", - "LayerIds", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.TimeBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "Friday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Monday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Saturday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Sunday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Thursday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tuesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Wednesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomInstanceProfileArn": { - "type": "string" - }, - "CustomJson": { - "type": "object" - }, - "CustomRecipes": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.Recipes" - }, - "CustomSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LifecycleEventConfiguration" - }, - "LoadBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LoadBasedAutoScaling" - }, - "Name": { - "type": "string" - }, - "Packages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shortname": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "VolumeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.VolumeConfiguration" - }, - "type": "array" - } - }, - "required": [ - "AutoAssignElasticIps", - "AutoAssignPublicIps", - "EnableAutoHealing", - "Name", - "Shortname", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Layer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Layer.AutoScalingThresholds": { - "additionalProperties": false, - "properties": { - "CpuThreshold": { - "type": "number" - }, - "IgnoreMetricsTime": { - "type": "number" - }, - "InstanceCount": { - "type": "number" - }, - "LoadThreshold": { - "type": "number" - }, - "MemoryThreshold": { - "type": "number" - }, - "ThresholdsWaitTime": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LifecycleEventConfiguration": { - "additionalProperties": false, - "properties": { - "ShutdownEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.ShutdownEventConfiguration" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LoadBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "DownScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - }, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.Recipes": { - "additionalProperties": false, - "properties": { - "Configure": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Deploy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Setup": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shutdown": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Undeploy": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.ShutdownEventConfiguration": { - "additionalProperties": false, - "properties": { - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - }, - "ExecutionTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.VolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "MountPoint": { - "type": "string" - }, - "NumberOfDisks": { - "type": "number" - }, - "RaidLevel": { - "type": "number" - }, - "Size": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ChefConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ChefConfiguration" - }, - "CloneAppIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClonePermissions": { - "type": "boolean" - }, - "ConfigurationManager": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.StackConfigurationManager" - }, - "CustomCookbooksSource": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.Source" - }, - "CustomJson": { - "type": "object" - }, - "DefaultAvailabilityZone": { - "type": "string" - }, - "DefaultInstanceProfileArn": { - "type": "string" - }, - "DefaultOs": { - "type": "string" - }, - "DefaultRootDeviceType": { - "type": "string" - }, - "DefaultSshKeyName": { - "type": "string" - }, - "DefaultSubnetId": { - "type": "string" - }, - "EcsClusterArn": { - "type": "string" - }, - "ElasticIps": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ElasticIp" - }, - "type": "array" - }, - "HostnameTheme": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RdsDbInstances": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.RdsDbInstance" - }, - "type": "array" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SourceStackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DefaultInstanceProfileArn", - "Name", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Stack" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.ChefConfiguration": { - "additionalProperties": false, - "properties": { - "BerkshelfVersion": { - "type": "string" - }, - "ManageBerkshelf": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.ElasticIp": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.RdsDbInstance": { - "additionalProperties": false, - "properties": { - "DbPassword": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "RdsDbInstanceArn": { - "type": "string" - } - }, - "required": [ - "DbPassword", - "DbUser", - "RdsDbInstanceArn" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.StackConfigurationManager": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowSelfManagement": { - "type": "boolean" - }, - "IamUserArn": { - "type": "string" - }, - "SshPublicKey": { - "type": "string" - }, - "SshUsername": { - "type": "string" - } - }, - "required": [ - "IamUserArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ec2VolumeId": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StackId": { - "type": "string" - } - }, - "required": [ - "Ec2VolumeId", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "BackupId": { - "type": "string" - }, - "BackupRetentionCount": { - "type": "number" - }, - "CustomCertificate": { - "type": "string" - }, - "CustomDomain": { - "type": "string" - }, - "CustomPrivateKey": { - "type": "string" - }, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineAttributes": { - "items": { - "$ref": "#/definitions/AWS::OpsWorksCM::Server.EngineAttribute" - }, - "type": "array" - }, - "EngineModel": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "InstanceProfileArn": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KeyPair": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServerName": { - "type": "string" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorksCM::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server.EngineAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationInstanceIdToReplace": { - "type": "string" - }, - "DefaultRuntimeContextDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "ManifestOverridesPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestOverridesPayload" - }, - "ManifestPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestPayload" - }, - "Name": { - "type": "string" - }, - "RuntimeRoleArn": { - "type": "string" - }, - "StatusFilter": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DefaultRuntimeContextDevice", - "ManifestPayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::ApplicationInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestOverridesPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::Package": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PackageName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PackageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::Package" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::PackageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MarkLatest": { - "type": "boolean" - }, - "OwnerAccount": { - "type": "string" - }, - "PackageId": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "PatchVersion": { - "type": "string" - }, - "UpdatedLatestPatchVersion": { - "type": "string" - } - }, - "required": [ - "PackageId", - "PackageVersion", - "PatchVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::PackageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ADMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId", - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ADMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.CampaignHook" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.Limits" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.QuietTime" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ApplicationSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::BaiduChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationId", - "SecretKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::BaiduChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalTreatments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.WriteTreatmentResource" - }, - "type": "array" - }, - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignHook" - }, - "Description": { - "type": "string" - }, - "HoldoutPercent": { - "type": "number" - }, - "IsPaused": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Limits" - }, - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SegmentId": { - "type": "string" - }, - "SegmentVersion": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "MessageConfiguration", - "Name", - "Schedule", - "SegmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Campaign" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEmailMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "FromAddress": { - "type": "string" - }, - "HtmlBody": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEventFilter": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.EventDimensions" - }, - "FilterType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignInAppMessage": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignSmsMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "EntityId": { - "type": "string" - }, - "MessageType": { - "type": "string" - }, - "OriginationNumber": { - "type": "string" - }, - "SenderId": { - "type": "string" - }, - "TemplateId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.EventDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "EventType": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.SetDimension" - }, - "Metrics": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageBodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageButton": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageBodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageHeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageHeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Session": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Message": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageSmallIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "JsonBody": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "RawContent": { - "type": "string" - }, - "SilentPush": { - "type": "boolean" - }, - "TimeToLive": { - "type": "number" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MessageConfiguration": { - "additionalProperties": false, - "properties": { - "ADMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "APNSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "BaiduMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "DefaultMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "EmailMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEmailMessage" - }, - "GCMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "InAppMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignInAppMessage" - }, - "SMSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignSmsMessage" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MetricDimension": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.Schedule": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "EventFilter": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEventFilter" - }, - "Frequency": { - "type": "string" - }, - "IsLocalTime": { - "type": "boolean" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.QuietTime" - }, - "StartTime": { - "type": "string" - }, - "TimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.WriteTreatmentResource": { - "additionalProperties": false, - "properties": { - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SizePercent": { - "type": "number" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::EmailChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationSet": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "FromAddress": { - "type": "string" - }, - "Identity": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "FromAddress", - "Identity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EmailTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultSubstitutions": { - "type": "string" - }, - "HtmlPart": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "required": [ - "Subject", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EventStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "DestinationStreamArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "DestinationStreamArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EventStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::GCMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApiKey", - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::GCMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::InAppTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.BodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.ButtonConfig": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.HeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.BodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.HeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ADM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "APNS": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate" - }, - "Baidu": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Default": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "GCM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::PushTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "SmallImageIconUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::SMSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SenderId": { - "type": "string" - }, - "ShortCode": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SMSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "Name": { - "type": "string" - }, - "SegmentGroups": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentGroups" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "ApplicationId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Segment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Behavior": { - "additionalProperties": false, - "properties": { - "Recency": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Recency" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Coordinates": { - "additionalProperties": false, - "properties": { - "Latitude": { - "type": "number" - }, - "Longitude": { - "type": "number" - } - }, - "required": [ - "Latitude", - "Longitude" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Demographic": { - "additionalProperties": false, - "properties": { - "AppVersion": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Channel": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "DeviceType": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Make": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Model": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Platform": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.GPSPoint": { - "additionalProperties": false, - "properties": { - "Coordinates": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Coordinates" - }, - "RangeInKilometers": { - "type": "number" - } - }, - "required": [ - "Coordinates", - "RangeInKilometers" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Groups": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "type": "array" - }, - "SourceSegments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SourceSegments" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Location": { - "additionalProperties": false, - "properties": { - "Country": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "GPSPoint": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.GPSPoint" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Recency": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "RecencyType": { - "type": "string" - } - }, - "required": [ - "Duration", - "RecencyType" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Behavior": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Behavior" - }, - "Demographic": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Demographic" - }, - "Location": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Location" - }, - "Metrics": { - "type": "object" - }, - "UserAttributes": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentGroups": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Groups" - }, - "type": "array" - }, - "Include": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SourceSegments": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::Pinpoint::SmsTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "Body", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SmsTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::VoiceChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::VoiceChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.DeliveryOptions" - }, - "Name": { - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.SendingOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.Tags" - }, - "type": "array" - }, - "TrackingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.TrackingOptions" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination" - }, - "EventDestinationName": { - "type": "string" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestinationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PinpointDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination" - }, - "SnsDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamArn": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamArn", - "IamRoleArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PoolName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool.Tags" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::DedicatedIpPool" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DkimSigningEnabled": { - "type": "boolean" - }, - "FeedbackForwardingEnabled": { - "type": "boolean" - }, - "MailFromAttributes": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.MailFromAttributes" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::Identity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::Identity.MailFromAttributes": { - "additionalProperties": false, - "properties": { - "BehaviorOnMxFailure": { - "type": "string" - }, - "MailFromDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QLDB::Ledger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "KmsKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionsMode": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PermissionsMode" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Ledger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExclusiveEndTime": { - "type": "string" - }, - "InclusiveStartTime": { - "type": "string" - }, - "KinesisConfiguration": { - "$ref": "#/definitions/AWS::QLDB::Stream.KinesisConfiguration" - }, - "LedgerName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InclusiveStartTime", - "KinesisConfiguration", - "LedgerName", - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream.KinesisConfiguration": { - "additionalProperties": false, - "properties": { - "AggregationEnabled": { - "type": "boolean" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnalysisId": { - "type": "string" - }, - "AwsAccountId": { - "type": "string" - }, - "Errors": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisError" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - } - }, - "required": [ - "AnalysisId", - "AwsAccountId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Analysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisError": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Sheet": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SheetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "DashboardId": { - "type": "string" - }, - "DashboardPublishOptions": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardPublishOptions" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "DashboardId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.AdHocFilteringOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardPublishOptions": { - "additionalProperties": false, - "properties": { - "AdHocFilteringOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.AdHocFilteringOption" - }, - "ExportToCSVOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ExportToCSVOption" - }, - "SheetControlsOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.SheetControlsOption" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.ExportToCSVOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.SheetControlsOption": { - "additionalProperties": false, - "properties": { - "VisibilityState": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "ColumnGroups": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnGroup" - }, - "type": "array" - }, - "ColumnLevelPermissionRules": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnLevelPermissionRule" - }, - "type": "array" - }, - "DataSetId": { - "type": "string" - }, - "FieldFolders": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FieldFolder" - } - }, - "type": "object" - }, - "ImportMode": { - "type": "string" - }, - "IngestionWaitPolicy": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.IngestionWaitPolicy" - }, - "LogicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTable" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ResourcePermission" - }, - "type": "array" - }, - "PhysicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.PhysicalTable" - } - }, - "type": "object" - }, - "RowLevelPermissionDataSet": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RowLevelPermissionDataSet" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CalculatedColumn": { - "additionalProperties": false, - "properties": { - "ColumnId": { - "type": "string" - }, - "ColumnName": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "ColumnId", - "ColumnName", - "Expression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CastColumnTypeOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "NewColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnType" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnDescription": { - "additionalProperties": false, - "properties": { - "Text": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnGroup": { - "additionalProperties": false, - "properties": { - "GeoSpatialColumnGroup": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.GeoSpatialColumnGroup" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnLevelPermissionRule": { - "additionalProperties": false, - "properties": { - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnTag": { - "additionalProperties": false, - "properties": { - "ColumnDescription": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnDescription" - }, - "ColumnGeographicRole": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.CreateColumnsOperation": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CalculatedColumn" - }, - "type": "array" - } - }, - "required": [ - "Columns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CustomSql": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "DataSourceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "Columns", - "DataSourceArn", - "Name", - "SqlQuery" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.FieldFolder": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.FilterOperation": { - "additionalProperties": false, - "properties": { - "ConditionExpression": { - "type": "string" - } - }, - "required": [ - "ConditionExpression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.GeoSpatialColumnGroup": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CountryCode": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Columns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.IngestionWaitPolicy": { - "additionalProperties": false, - "properties": { - "IngestionWaitTimeInHours": { - "type": "number" - }, - "WaitForSpiceIngestion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.InputColumn": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinInstruction": { - "additionalProperties": false, - "properties": { - "LeftJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "LeftOperand": { - "type": "string" - }, - "OnClause": { - "type": "string" - }, - "RightJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "RightOperand": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "LeftOperand", - "OnClause", - "RightOperand", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinKeyProperties": { - "additionalProperties": false, - "properties": { - "UniqueKey": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTable": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DataTransforms": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TransformOperation" - }, - "type": "array" - }, - "Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTableSource" - } - }, - "required": [ - "Alias", - "Source" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTableSource": { - "additionalProperties": false, - "properties": { - "JoinInstruction": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinInstruction" - }, - "PhysicalTableId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.OutputColumn": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.PhysicalTable": { - "additionalProperties": false, - "properties": { - "CustomSql": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CustomSql" - }, - "RelationalTable": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RelationalTable" - }, - "S3Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.S3Source" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ProjectOperation": { - "additionalProperties": false, - "properties": { - "ProjectedColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ProjectedColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RelationalTable": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "DataSourceArn", - "InputColumns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RenameColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "NewColumnName": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnName" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RowLevelPermissionDataSet": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FormatVersion": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "PermissionPolicy": { - "type": "string" - } - }, - "required": [ - "Arn", - "PermissionPolicy" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.S3Source": { - "additionalProperties": false, - "properties": { - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "UploadSettings": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.UploadSettings" - } - }, - "required": [ - "DataSourceArn", - "InputColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TagColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnTag" - }, - "type": "array" - } - }, - "required": [ - "ColumnName", - "Tags" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TransformOperation": { - "additionalProperties": false, - "properties": { - "CastColumnTypeOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CastColumnTypeOperation" - }, - "CreateColumnsOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CreateColumnsOperation" - }, - "FilterOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FilterOperation" - }, - "ProjectOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ProjectOperation" - }, - "RenameColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RenameColumnOperation" - }, - "TagColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TagColumnOperation" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.UploadSettings": { - "additionalProperties": false, - "properties": { - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "StartFromRow": { - "type": "number" - }, - "TextQualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "AwsAccountId": { - "type": "string" - }, - "Credentials": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceCredentials" - }, - "DataSourceId": { - "type": "string" - }, - "DataSourceParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "ErrorInfo": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceErrorInfo" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ResourcePermission" - }, - "type": "array" - }, - "SslProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SslProperties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "VpcConnectionProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.VpcConnectionProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonElasticsearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonOpenSearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AthenaParameters": { - "additionalProperties": false, - "properties": { - "WorkGroup": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraPostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.CredentialPair": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceCredentials": { - "additionalProperties": false, - "properties": { - "CopySourceArn": { - "type": "string" - }, - "CredentialPair": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.CredentialPair" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceErrorInfo": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceParameters": { - "additionalProperties": false, - "properties": { - "AmazonElasticsearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonElasticsearchParameters" - }, - "AmazonOpenSearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonOpenSearchParameters" - }, - "AthenaParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AthenaParameters" - }, - "AuroraParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraParameters" - }, - "AuroraPostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraPostgreSqlParameters" - }, - "MariaDbParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MariaDbParameters" - }, - "MySqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MySqlParameters" - }, - "OracleParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.OracleParameters" - }, - "PostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PostgreSqlParameters" - }, - "PrestoParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PrestoParameters" - }, - "RdsParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RdsParameters" - }, - "RedshiftParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RedshiftParameters" - }, - "S3Parameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.S3Parameters" - }, - "SnowflakeParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SnowflakeParameters" - }, - "SparkParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SparkParameters" - }, - "SqlServerParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SqlServerParameters" - }, - "TeradataParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.TeradataParameters" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.ManifestFileLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MariaDbParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MySqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.OracleParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PrestoParameters": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Catalog", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RdsParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "InstanceId": { - "type": "string" - } - }, - "required": [ - "Database", - "InstanceId" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RedshiftParameters": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.S3Parameters": { - "additionalProperties": false, - "properties": { - "ManifestFileLocation": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ManifestFileLocation" - } - }, - "required": [ - "ManifestFileLocation" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SnowflakeParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "Database", - "Host", - "Warehouse" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SparkParameters": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SqlServerParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SslProperties": { - "additionalProperties": false, - "properties": { - "DisableSsl": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.TeradataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.VpcConnectionProperties": { - "additionalProperties": false, - "properties": { - "VpcConnectionArn": { - "type": "string" - } - }, - "required": [ - "VpcConnectionArn" - ], - "type": "object" - }, - "AWS::QuickSight::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "SourceEntity", - "TemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Template.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Template.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceAnalysis": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceAnalysis": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceAnalysis" - }, - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::QuickSight::Theme": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "BaseThemeId": { - "type": "string" - }, - "Configuration": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ThemeConfiguration" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ResourcePermission" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "ThemeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Theme" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.BorderStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.DataColorPalette": { - "additionalProperties": false, - "properties": { - "Colors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmptyFillColor": { - "type": "string" - }, - "MinMaxGradient": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Font": { - "additionalProperties": false, - "properties": { - "FontFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.GutterStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.MarginStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.SheetStyle": { - "additionalProperties": false, - "properties": { - "Tile": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileStyle" - }, - "TileLayout": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileLayoutStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ThemeConfiguration": { - "additionalProperties": false, - "properties": { - "DataColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.DataColorPalette" - }, - "Sheet": { - "$ref": "#/definitions/AWS::QuickSight::Theme.SheetStyle" - }, - "Typography": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Typography" - }, - "UIColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.UIColorPalette" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileLayoutStyle": { - "additionalProperties": false, - "properties": { - "Gutter": { - "$ref": "#/definitions/AWS::QuickSight::Theme.GutterStyle" - }, - "Margin": { - "$ref": "#/definitions/AWS::QuickSight::Theme.MarginStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileStyle": { - "additionalProperties": false, - "properties": { - "Border": { - "$ref": "#/definitions/AWS::QuickSight::Theme.BorderStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Typography": { - "additionalProperties": false, - "properties": { - "FontFamilies": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Font" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.UIColorPalette": { - "additionalProperties": false, - "properties": { - "Accent": { - "type": "string" - }, - "AccentForeground": { - "type": "string" - }, - "Danger": { - "type": "string" - }, - "DangerForeground": { - "type": "string" - }, - "Dimension": { - "type": "string" - }, - "DimensionForeground": { - "type": "string" - }, - "Measure": { - "type": "string" - }, - "MeasureForeground": { - "type": "string" - }, - "PrimaryBackground": { - "type": "string" - }, - "PrimaryForeground": { - "type": "string" - }, - "SecondaryBackground": { - "type": "string" - }, - "SecondaryForeground": { - "type": "string" - }, - "Success": { - "type": "string" - }, - "SuccessForeground": { - "type": "string" - }, - "Warning": { - "type": "string" - }, - "WarningForeground": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RAM::ResourceShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RAM::ResourceShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BacktrackWindow": { - "type": "number" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SecondsUntilAutoPause": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::RDS::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedStorage": { - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "number" - }, - "MonitoringInterval": { - "type": "number" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "number" - }, - "Port": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "type": "number" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Auth": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "DebugLogging": { - "type": "boolean" - }, - "EngineFamily": { - "type": "string" - }, - "IdleClientTimeout": { - "type": "number" - }, - "RequireTLS": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Auth", - "DBProxyName", - "EngineFamily", - "RoleArn", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy.AuthFormat": { - "additionalProperties": false, - "properties": { - "AuthScheme": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IAMAuth": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxy.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBProxyEndpointName": { - "type": "string" - }, - "DBProxyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" - }, - "type": "array" - }, - "TargetRole": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBProxyEndpointName", - "DBProxyName", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionPoolConfigurationInfo": { - "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" - }, - "DBClusterIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBInstanceIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "TargetGroupName": { - "type": "string" - } - }, - "required": [ - "DBProxyName", - "TargetGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyTargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { - "additionalProperties": false, - "properties": { - "ConnectionBorrowTimeout": { - "type": "number" - }, - "InitQuery": { - "type": "string" - }, - "MaxConnectionsPercent": { - "type": "number" - }, - "MaxIdleConnectionsPercent": { - "type": "number" - }, - "SessionPinningFilters": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" - }, - "type": "array" - }, - "EC2VpcId": { - "type": "string" - }, - "GroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSecurityGroupIngress", - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "DBSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "DBSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::GlobalCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::GlobalCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EngineName": { - "type": "string" - }, - "MajorEngineVersion": { - "type": "string" - }, - "OptionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" - }, - "type": "array" - }, - "OptionGroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EngineName", - "MajorEngineVersion", - "OptionConfigurations", - "OptionGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::OptionGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionConfiguration": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OptionName": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" - }, - "type": "array" - }, - "OptionVersion": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "VpcSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OptionName" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionSetting": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RUM::AppMonitor": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppMonitorConfiguration": { - "$ref": "#/definitions/AWS::RUM::AppMonitor.AppMonitorConfiguration" - }, - "CwLogEnabled": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RUM::AppMonitor" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RUM::AppMonitor.AppMonitorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCookies": { - "type": "boolean" - }, - "EnableXRay": { - "type": "boolean" - }, - "ExcludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FavoritePages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GuestRoleArn": { - "type": "string" - }, - "IdentityPoolId": { - "type": "string" - }, - "IncludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SessionSampleRate": { - "type": "number" - }, - "Telemetries": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowVersionUpgrade": { - "type": "boolean" - }, - "AquaConfigurationStatus": { - "type": "string" - }, - "AutomatedSnapshotRetentionPeriod": { - "type": "number" - }, - "AvailabilityZone": { - "type": "string" - }, - "AvailabilityZoneRelocation": { - "type": "boolean" - }, - "AvailabilityZoneRelocationStatus": { - "type": "string" - }, - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterParameterGroupName": { - "type": "string" - }, - "ClusterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterSubnetGroupName": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "ClusterVersion": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DeferMaintenance": { - "type": "boolean" - }, - "DeferMaintenanceDuration": { - "type": "number" - }, - "DeferMaintenanceEndTime": { - "type": "string" - }, - "DeferMaintenanceStartTime": { - "type": "string" - }, - "DestinationRegion": { - "type": "string" - }, - "ElasticIp": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": { - "type": "string" - }, - "HsmConfigurationIdentifier": { - "type": "string" - }, - "IamRoles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LoggingProperties": { - "$ref": "#/definitions/AWS::Redshift::Cluster.LoggingProperties" - }, - "MaintenanceTrackName": { - "type": "string" - }, - "ManualSnapshotRetentionPeriod": { - "type": "number" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "OwnerAccount": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ResourceAction": { - "type": "string" - }, - "RevisionTarget": { - "type": "string" - }, - "RotateEncryptionKey": { - "type": "boolean" - }, - "SnapshotClusterIdentifier": { - "type": "string" - }, - "SnapshotCopyGrantName": { - "type": "string" - }, - "SnapshotCopyManual": { - "type": "boolean" - }, - "SnapshotCopyRetentionPeriod": { - "type": "number" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClusterType", - "DBName", - "MasterUserPassword", - "MasterUsername", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster.LoggingProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "ParameterGroupFamily": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup.Parameter" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "ParameterGroupFamily" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup.Parameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "ClusterSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "ClusterSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ResourceOwner": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EndpointName", - "VpcSecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAccess" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess.VpcSecurityGroup": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "VpcSecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::EndpointAuthorization": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Account": { - "type": "string" - }, - "ClusterIdentifier": { - "type": "string" - }, - "Force": { - "type": "boolean" - }, - "VpcIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Account", - "ClusterIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAuthorization" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Severity": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "SubscriptionName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "EndTime": { - "type": "string" - }, - "IamRole": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionDescription": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "TargetAction": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ScheduledActionType" - } - }, - "required": [ - "ScheduledActionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ScheduledAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.PauseClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResizeClusterMessage": { - "additionalProperties": false, - "properties": { - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResumeClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ScheduledActionType": { - "additionalProperties": false, - "properties": { - "PauseCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.PauseClusterMessage" - }, - "ResizeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResizeClusterMessage" - }, - "ResumeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResumeClusterMessage" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiGatewayProxy": { - "$ref": "#/definitions/AWS::RefactorSpaces::Application.ApiGatewayProxyInput" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProxyType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Application.ApiGatewayProxyInput": { - "additionalProperties": false, - "properties": { - "EndpointType": { - "type": "string" - }, - "StageName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFabricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "RouteType": { - "type": "string" - }, - "ServiceIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UriPathRoute": { - "$ref": "#/definitions/AWS::RefactorSpaces::Route.UriPathRouteInput" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier", - "ServiceIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route.UriPathRouteInput": { - "additionalProperties": false, - "properties": { - "ActivationState": { - "type": "string" - }, - "IncludeChildPaths": { - "type": "boolean" - }, - "Methods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "ActivationState" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EndpointType": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "LambdaEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.LambdaEndpointInput" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UrlEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.UrlEndpointInput" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.LambdaEndpointInput": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.UrlEndpointInput": { - "additionalProperties": false, - "properties": { - "HealthUrl": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::Rekognition::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Rekognition::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppTemplateBody": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResiliencyPolicyArn": { - "type": "string" - }, - "ResourceMappings": { - "items": { - "$ref": "#/definitions/AWS::ResilienceHub::App.ResourceMapping" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AppTemplateBody", - "Name", - "ResourceMappings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.PhysicalResourceId": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "AwsRegion": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Identifier", - "Type" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.ResourceMapping": { - "additionalProperties": false, - "properties": { - "LogicalStackName": { - "type": "string" - }, - "MappingType": { - "type": "string" - }, - "PhysicalResourceId": { - "$ref": "#/definitions/AWS::ResilienceHub::App.PhysicalResourceId" - }, - "ResourceName": { - "type": "string" - } - }, - "required": [ - "MappingType", - "PhysicalResourceId" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLocationConstraint": { - "type": "string" - }, - "Policy": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy" - } - }, - "type": "object" - }, - "PolicyDescription": { - "type": "string" - }, - "PolicyName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tier": { - "type": "string" - } - }, - "required": [ - "Policy", - "PolicyName", - "Tier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::ResiliencyPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy": { - "additionalProperties": false, - "properties": { - "RpoInSecs": { - "type": "number" - }, - "RtoInSecs": { - "type": "number" - } - }, - "required": [ - "RpoInSecs", - "RtoInSecs" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationItem" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceQuery": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ResourceQuery" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResourceGroups::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationItem": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.Query": { - "additionalProperties": false, - "properties": { - "ResourceTypeFilters": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackIdentifier": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ResourceQuery": { - "additionalProperties": false, - "properties": { - "Query": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.Query" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RoboMaker::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RoboMaker::Robot": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "Fleet": { - "type": "string" - }, - "GreengrassGroupId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Architecture", - "GreengrassGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Robot" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.RobotSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "Sources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Environment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingEngine": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RenderingEngine" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite" - }, - "SimulationSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "SimulationSoftwareSuite" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RenderingEngine": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::DNSSEC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "HostedZoneId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::DNSSEC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckConfig": { - "type": "object" - }, - "HealthCheckTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" - }, - "type": "array" - } - }, - "required": [ - "HealthCheckConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HealthCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck.HealthCheckTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HostedZone" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCId", - "VPCRegion" - ], - "type": "object" - }, - "AWS::Route53::KeySigningKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - }, - "KeyManagementServiceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "HostedZoneId", - "KeyManagementServiceArn", - "Name", - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::KeySigningKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "RecordSets": { - "items": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup.RecordSet": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster.ClusterEndpoint": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryControl::ControlPanel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::ControlPanel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::RoutingControl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "ControlPanelArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::RoutingControl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssertionRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.AssertionRule" - }, - "ControlPanelArn": { - "type": "string" - }, - "GatingRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.GatingRule" - }, - "Name": { - "type": "string" - }, - "RuleConfig": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.RuleConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ControlPanelArn", - "Name", - "RuleConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::SafetyRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.AssertionRule": { - "additionalProperties": false, - "properties": { - "AssertedControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "AssertedControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.GatingRule": { - "additionalProperties": false, - "properties": { - "GatingControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TargetControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "GatingControls", - "TargetControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.RuleConfig": { - "additionalProperties": false, - "properties": { - "Inverted": { - "type": "boolean" - }, - "Threshold": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Inverted", - "Threshold", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::Cell": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CellName": { - "type": "string" - }, - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CellName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::Cell" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ReadinessCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReadinessCheckName": { - "type": "string" - }, - "ResourceSetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ReadinessCheckName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ReadinessCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::RecoveryGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RecoveryGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::RecoveryGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceSetName": { - "type": "string" - }, - "ResourceSetType": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.Resource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceSetName", - "ResourceSetType", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ResourceSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneArn": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - }, - "RecordType": { - "type": "string" - }, - "TargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.TargetResource" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.NLBResource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.Resource": { - "additionalProperties": false, - "properties": { - "ComponentId": { - "type": "string" - }, - "DnsTargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource" - }, - "ReadinessScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.TargetResource": { - "additionalProperties": false, - "properties": { - "NLBResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.NLBResource" - }, - "R53Resource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord" - } - }, - "type": "object" - }, - "AWS::Route53Resolver::FirewallDomainList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainFileUrl": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallDomainList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRules": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup.FirewallRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup.FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "BlockOverrideDnsType": { - "type": "string" - }, - "BlockOverrideDomain": { - "type": "string" - }, - "BlockOverrideTtl": { - "type": "number" - }, - "BlockResponse": { - "type": "string" - }, - "FirewallDomainListId": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Action", - "FirewallDomainListId", - "Priority" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRuleGroupId": { - "type": "string" - }, - "MutationProtection": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallRuleGroupId", - "Priority", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutodefinedReverseFlag": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "AutodefinedReverseFlag", - "ResourceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverDNSSECConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverDNSSECConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "IpAddresses": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Direction", - "IpAddresses", - "SecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResolverQueryLogConfigId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResolverEndpointId": { - "type": "string" - }, - "RuleType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetIps": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule.TargetAddress" - }, - "type": "array" - } - }, - "required": [ - "DomainName", - "RuleType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule.TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRuleAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "VPCId": { - "type": "string" - } - }, - "required": [ - "ResolverRuleId", - "VPCId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRuleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "PolicyStatus": { - "type": "object" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerateConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" - }, - "AccessControl": { - "type": "string" - }, - "AnalyticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" - }, - "type": "array" - }, - "BucketEncryption": { - "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" - }, - "BucketName": { - "type": "string" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" - }, - "IntelligentTieringConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" - }, - "type": "array" - }, - "InventoryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" - }, - "type": "array" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" - }, - "MetricsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" - }, - "ObjectLockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" - }, - "ObjectLockEnabled": { - "type": "boolean" - }, - "OwnershipControls": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" - }, - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" - }, - "WebsiteConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccelerateConfiguration": { - "additionalProperties": false, - "properties": { - "AccelerationStatus": { - "type": "string" - } - }, - "required": [ - "AccelerationStatus" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccessControlTranslation": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" - } - }, - "required": [ - "Owner" - ], - "type": "object" - }, - "AWS::S3::Bucket.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "StorageClassAnalysis": { - "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id", - "StorageClassAnalysis" - ], - "type": "object" - }, - "AWS::S3::Bucket.BucketEncryption": { - "additionalProperties": false, - "properties": { - "ServerSideEncryptionConfiguration": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" - }, - "type": "array" - } - }, - "required": [ - "ServerSideEncryptionConfiguration" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "CorsRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" - }, - "type": "array" - } - }, - "required": [ - "CorsRules" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Id": { - "type": "string" - }, - "MaxAge": { - "type": "number" - } - }, - "required": [ - "AllowedMethods", - "AllowedOrigins" - ], - "type": "object" - }, - "AWS::S3::Bucket.DataExport": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "OutputSchemaVersion": { - "type": "string" - } - }, - "required": [ - "Destination", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::Bucket.DefaultRetention": { - "additionalProperties": false, - "properties": { - "Days": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "Years": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.DeleteMarkerReplication": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Destination": { - "additionalProperties": false, - "properties": { - "BucketAccountId": { - "type": "string" - }, - "BucketArn": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketArn", - "Format" - ], - "type": "object" - }, - "AWS::S3::Bucket.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicaKmsKeyID": { - "type": "string" - } - }, - "required": [ - "ReplicaKmsKeyID" - ], - "type": "object" - }, - "AWS::S3::Bucket.EventBridgeConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.FilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.IntelligentTieringConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Tierings": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Tiering" - }, - "type": "array" - } - }, - "required": [ - "Id", - "Status", - "Tierings" - ], - "type": "object" - }, - "AWS::S3::Bucket.InventoryConfiguration": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "Enabled": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "IncludedObjectVersions": { - "type": "string" - }, - "OptionalFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Prefix": { - "type": "string" - }, - "ScheduleFrequency": { - "type": "string" - } - }, - "required": [ - "Destination", - "Enabled", - "Id", - "IncludedObjectVersions", - "ScheduleFrequency" - ], - "type": "object" - }, - "AWS::S3::Bucket.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Function": { - "type": "string" - } - }, - "required": [ - "Event", - "Function" - ], - "type": "object" - }, - "AWS::S3::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationBucketName": { - "type": "string" - }, - "LogFilePrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Metrics": { - "additionalProperties": false, - "properties": { - "EventThreshold": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.MetricsConfiguration": { - "additionalProperties": false, - "properties": { - "AccessPointArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionExpiration": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "NoncurrentDays": { - "type": "number" - } - }, - "required": [ - "NoncurrentDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionTransition": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "StorageClass": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass", - "TransitionInDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" - }, - "LambdaConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" - }, - "type": "array" - }, - "QueueConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" - }, - "type": "array" - }, - "TopicConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockConfiguration": { - "additionalProperties": false, - "properties": { - "ObjectLockEnabled": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockRule": { - "additionalProperties": false, - "properties": { - "DefaultRetention": { - "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControls": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControlsRule": { - "additionalProperties": false, - "properties": { - "ObjectOwnership": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.QueueConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Event", - "Queue" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectAllRequestsTo": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "HostName" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectRule": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "HttpRedirectCode": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ReplaceKeyPrefixWith": { - "type": "string" - }, - "ReplaceKeyWith": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicaModifications": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Role": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Role", - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "AccessControlTranslation": { - "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" - }, - "Account": { - "type": "string" - }, - "Bucket": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" - }, - "Metrics": { - "$ref": "#/definitions/AWS::S3::Bucket.Metrics" - }, - "ReplicationTime": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" - }, - "StorageClass": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRule": { - "additionalProperties": false, - "properties": { - "DeleteMarkerReplication": { - "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" - }, - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "SourceSelectionCriteria": { - "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Destination", - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleAndOperator": { - "additionalProperties": false, - "properties": { - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleFilter": { - "additionalProperties": false, - "properties": { - "And": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" - }, - "Prefix": { - "type": "string" - }, - "TagFilter": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTime": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "Time": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - } - }, - "required": [ - "Status", - "Time" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTimeValue": { - "additionalProperties": false, - "properties": { - "Minutes": { - "type": "number" - } - }, - "required": [ - "Minutes" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRule": { - "additionalProperties": false, - "properties": { - "RedirectRule": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" - }, - "RoutingRuleCondition": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" - } - }, - "required": [ - "RedirectRule" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRuleCondition": { - "additionalProperties": false, - "properties": { - "HttpErrorCodeReturnedEquals": { - "type": "string" - }, - "KeyPrefixEquals": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "NoncurrentVersionExpiration": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" - }, - "NoncurrentVersionExpirationInDays": { - "type": "number" - }, - "NoncurrentVersionTransition": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "NoncurrentVersionTransitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "type": "array" - }, - "ObjectSizeGreaterThan": { - "type": "number" - }, - "ObjectSizeLessThan": { - "type": "number" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Transition": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "Transitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "type": "array" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionByDefault": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyID": { - "type": "string" - }, - "SSEAlgorithm": { - "type": "string" - } - }, - "required": [ - "SSEAlgorithm" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionRule": { - "additionalProperties": false, - "properties": { - "BucketKeyEnabled": { - "type": "boolean" - }, - "ServerSideEncryptionByDefault": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SourceSelectionCriteria": { - "additionalProperties": false, - "properties": { - "ReplicaModifications": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" - }, - "SseKmsEncryptedObjects": { - "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SseKmsEncryptedObjects": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.StorageClassAnalysis": { - "additionalProperties": false, - "properties": { - "DataExport": { - "$ref": "#/definitions/AWS::S3::Bucket.DataExport" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.Tiering": { - "additionalProperties": false, - "properties": { - "AccessTier": { - "type": "string" - }, - "Days": { - "type": "number" - } - }, - "required": [ - "AccessTier", - "Days" - ], - "type": "object" - }, - "AWS::S3::Bucket.TopicConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "Event", - "Topic" - ], - "type": "object" - }, - "AWS::S3::Bucket.Transition": { - "additionalProperties": false, - "properties": { - "StorageClass": { - "type": "string" - }, - "TransitionDate": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass" - ], - "type": "object" - }, - "AWS::S3::Bucket.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.WebsiteConfiguration": { - "additionalProperties": false, - "properties": { - "ErrorDocument": { - "type": "string" - }, - "IndexDocument": { - "type": "string" - }, - "RedirectAllRequestsTo": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" - }, - "RoutingRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.Region": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MrapName": { - "type": "string" - }, - "Policy": { - "type": "object" - } - }, - "required": [ - "MrapName", - "Policy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "StorageLensConfiguration": { - "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "StorageLensConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::StorageLens" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens.AccountLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "BucketLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" - } - }, - "required": [ - "BucketLevel" - ], - "type": "object" - }, - "AWS::S3::StorageLens.ActivityMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.AwsOrg": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::S3::StorageLens.BucketLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "PrefixLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.BucketsAndRegions": { - "additionalProperties": false, - "properties": { - "Buckets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Regions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.CloudWatchMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "required": [ - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3::StorageLens.DataExport": { - "additionalProperties": false, - "properties": { - "CloudWatchMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" - }, - "S3BucketDestination": { - "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.Encryption": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevel": { - "additionalProperties": false, - "properties": { - "StorageMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" - } - }, - "required": [ - "StorageMetrics" - ], - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - }, - "SelectionCriteria": { - "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.S3BucketDestination": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" - }, - "Format": { - "type": "string" - }, - "OutputSchemaVersion": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "AccountId", - "Arn", - "Format", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::StorageLens.SelectionCriteria": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - }, - "MaxDepth": { - "type": "number" - }, - "MinStorageBytesPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.StorageLensConfiguration": { - "additionalProperties": false, - "properties": { - "AccountLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" - }, - "AwsOrg": { - "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" - }, - "DataExport": { - "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" - }, - "Exclude": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "Id": { - "type": "string" - }, - "Include": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "IsEnabled": { - "type": "boolean" - }, - "StorageLensArn": { - "type": "string" - } - }, - "required": [ - "AccountLevel", - "Id", - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ObjectLambdaConfiguration": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration" - } - }, - "required": [ - "ObjectLambdaConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedFeatures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "SupportingAccessPoint": { - "type": "string" - }, - "TransformationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SupportingAccessPoint", - "TransformationConfigurations" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentTransformation": { - "type": "object" - } - }, - "required": [ - "Actions", - "ContentTransformation" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ObjectLambdaAccessPoint": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "ObjectLambdaAccessPoint", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket", - "Name", - "VpcConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.LifecycleConfiguration" - }, - "OutpostId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "BucketName", - "OutpostId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "Filter": { - "type": "object" - }, - "Id": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessType": { - "type": "string" - }, - "CustomerOwnedIpv4Pool": { - "type": "string" - }, - "OutpostId": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "OutpostId", - "SecurityGroupId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint.NetworkInterface": { - "additionalProperties": false, - "properties": { - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "NetworkInterfaceId" - ], - "type": "object" - }, - "AWS::SDB::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SDB::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.EventDestination" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamARN": { - "type": "string" - }, - "IAMRoleARN": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamARN", - "IAMRoleARN" - ], - "type": "object" - }, - "AWS::SES::ContactList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactListName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Topics": { - "items": { - "$ref": "#/definitions/AWS::SES::ContactList.Topic" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ContactList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ContactList.Topic": { - "additionalProperties": false, - "properties": { - "DefaultSubscriptionStatus": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "TopicName": { - "type": "string" - } - }, - "required": [ - "DefaultSubscriptionStatus", - "DisplayName", - "TopicName" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Filter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.Filter" - } - }, - "required": [ - "Filter" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.Filter": { - "additionalProperties": false, - "properties": { - "IpFilter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.IpFilter" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "IpFilter" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.IpFilter": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Policy": { - "type": "string" - } - }, - "required": [ - "Cidr", - "Policy" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "After": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Rule" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "Rule", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Action": { - "additionalProperties": false, - "properties": { - "AddHeaderAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.AddHeaderAction" - }, - "BounceAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.BounceAction" - }, - "LambdaAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.LambdaAction" - }, - "S3Action": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.S3Action" - }, - "SNSAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.SNSAction" - }, - "StopAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.StopAction" - }, - "WorkmailAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.WorkmailAction" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.AddHeaderAction": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" - } - }, - "required": [ - "HeaderName", - "HeaderValue" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.BounceAction": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Sender": { - "type": "string" - }, - "SmtpReplyCode": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Message", - "Sender", - "SmtpReplyCode" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "InvocationType": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Rule": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Action" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Recipients": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScanEnabled": { - "type": "boolean" - }, - "TlsPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.SNSAction": { - "additionalProperties": false, - "properties": { - "Encoding": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.StopAction": { - "additionalProperties": false, - "properties": { - "Scope": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Scope" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.WorkmailAction": { - "additionalProperties": false, - "properties": { - "OrganizationArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "OrganizationArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleSetName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Template": { - "$ref": "#/definitions/AWS::SES::Template.Template" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template.Template": { - "additionalProperties": false, - "properties": { - "HtmlPart": { - "type": "string" - }, - "SubjectPart": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SNS::Subscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryPolicy": { - "type": "object" - }, - "Endpoint": { - "type": "string" - }, - "FilterPolicy": { - "type": "object" - }, - "Protocol": { - "type": "string" - }, - "RawMessageDelivery": { - "type": "boolean" - }, - "RedrivePolicy": { - "type": "object" - }, - "Region": { - "type": "string" - }, - "SubscriptionRoleArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Protocol", - "TopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Subscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SNS::Topic": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DisplayName": { - "type": "string" - }, - "FifoTopic": { - "type": "boolean" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "Subscription": { - "items": { - "$ref": "#/definitions/AWS::SNS::Topic.Subscription" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Topic" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SNS::Topic.Subscription": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Protocol" - ], - "type": "object" - }, - "AWS::SNS::TopicPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Topics" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::TopicPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SQS::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DeduplicationScope": { - "type": "string" - }, - "DelaySeconds": { - "type": "number" - }, - "FifoQueue": { - "type": "boolean" - }, - "FifoThroughputLimit": { - "type": "string" - }, - "KmsDataKeyReusePeriodSeconds": { - "type": "number" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "MaximumMessageSize": { - "type": "number" - }, - "MessageRetentionPeriod": { - "type": "number" - }, - "QueueName": { - "type": "string" - }, - "ReceiveMessageWaitTimeSeconds": { - "type": "number" - }, - "RedriveAllowPolicy": { - "type": "object" - }, - "RedrivePolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SQS::QueuePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Queues" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::QueuePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplyOnlyAtCronInterval": { - "type": "boolean" - }, - "AssociationName": { - "type": "string" - }, - "AutomationTargetParameterName": { - "type": "string" - }, - "CalendarNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ComplianceSeverity": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OutputLocation": { - "$ref": "#/definitions/AWS::SSM::Association.InstanceAssociationOutputLocation" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "ScheduleExpression": { - "type": "string" - }, - "SyncCompliance": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::Association.Target" - }, - "type": "array" - }, - "WaitForSuccessTimeoutSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Association" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association.InstanceAssociationOutputLocation": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/AWS::SSM::Association.S3OutputLocation" - } - }, - "type": "object" - }, - "AWS::SSM::Association.S3OutputLocation": { - "additionalProperties": false, - "properties": { - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "OutputS3Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::Association.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::Document": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attachments": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.AttachmentsSource" - }, - "type": "array" - }, - "Content": { - "type": "object" - }, - "DocumentFormat": { - "type": "string" - }, - "DocumentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Requires": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.DocumentRequires" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "VersionName": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Document" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Document.AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::Document.DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Cutoff": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Duration": { - "type": "number" - }, - "EndDate": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleTimezone": { - "type": "string" - }, - "StartDate": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AllowUnassociatedTargets", - "Cutoff", - "Duration", - "Name", - "Schedule" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerInformation": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget.Targets" - }, - "type": "array" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "Targets", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget.Targets": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CutoffBehavior": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.LoggingInfo" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ServiceRoleArn": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.Target" - }, - "type": "array" - }, - "TaskArn": { - "type": "string" - }, - "TaskInvocationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters" - }, - "TaskParameters": { - "type": "object" - }, - "TaskType": { - "type": "string" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "Priority", - "TaskArn", - "TaskType", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.LoggingInfo": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { - "type": "string" - } - }, - "required": [ - "Region", - "S3Bucket" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters": { - "additionalProperties": false, - "properties": { - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters": { - "additionalProperties": false, - "properties": { - "ClientContext": { - "type": "string" - }, - "Payload": { - "type": "string" - }, - "Qualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "DocumentHash": { - "type": "string" - }, - "DocumentHashType": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.NotificationConfig" - }, - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TimeoutSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.NotificationConfig": { - "additionalProperties": false, - "properties": { - "NotificationArn": { - "type": "string" - }, - "NotificationEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NotificationType": { - "type": "string" - } - }, - "required": [ - "NotificationArn" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters": { - "additionalProperties": false, - "properties": { - "MaintenanceWindowAutomationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters" - }, - "MaintenanceWindowLambdaParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters" - }, - "MaintenanceWindowRunCommandParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters" - }, - "MaintenanceWindowStepFunctionsParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters" - } - }, - "type": "object" - }, - "AWS::SSM::Parameter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policies": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Tier": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Parameter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApprovalRules": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.RuleGroup" - }, - "ApprovedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ApprovedPatchesComplianceLevel": { - "type": "string" - }, - "ApprovedPatchesEnableNonSecurity": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "GlobalFilters": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - }, - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "PatchGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatchesAction": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchSource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::PatchBaseline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilterGroup": { - "additionalProperties": false, - "properties": { - "PatchFilters": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchSource": { - "additionalProperties": false, - "properties": { - "Configuration": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Products": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchStringDate": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::SSM::PatchBaseline.Rule": { - "additionalProperties": false, - "properties": { - "ApproveAfterDays": { - "type": "number" - }, - "ApproveUntilDate": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchStringDate" - }, - "ComplianceLevel": { - "type": "string" - }, - "EnableNonSecurity": { - "type": "boolean" - }, - "PatchFilterGroup": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.RuleGroup": { - "additionalProperties": false, - "properties": { - "PatchRules": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::ResourceDataSync": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "required": [ - "SyncName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::ResourceDataSync" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceRegions", - "SourceType" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Plan": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Stage" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Alias", - "DisplayName", - "Plan", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::Contact" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ChannelTargetInfo": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - }, - "RetryIntervalInMinutes": { - "type": "number" - } - }, - "required": [ - "ChannelId", - "RetryIntervalInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ContactTargetInfo": { - "additionalProperties": false, - "properties": { - "ContactId": { - "type": "string" - }, - "IsEssential": { - "type": "boolean" - } - }, - "required": [ - "ContactId", - "IsEssential" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Stage": { - "additionalProperties": false, - "properties": { - "DurationInMinutes": { - "type": "number" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Targets" - }, - "type": "array" - } - }, - "required": [ - "DurationInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Targets": { - "additionalProperties": false, - "properties": { - "ChannelTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ChannelTargetInfo" - }, - "ContactTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ContactTargetInfo" - } - }, - "type": "object" - }, - "AWS::SSMContacts::ContactChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelAddress": { - "type": "string" - }, - "ChannelName": { - "type": "string" - }, - "ChannelType": { - "type": "string" - }, - "ContactId": { - "type": "string" - }, - "DeferActivation": { - "type": "boolean" - } - }, - "required": [ - "ChannelAddress", - "ChannelName", - "ChannelType", - "ContactId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::ContactChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtected": { - "type": "boolean" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.ReplicationRegion" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ReplicationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.RegionConfiguration": { - "additionalProperties": false, - "properties": { - "SseKmsKeyId": { - "type": "string" - } - }, - "required": [ - "SseKmsKeyId" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.ReplicationRegion": { - "additionalProperties": false, - "properties": { - "RegionConfiguration": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.RegionConfiguration" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.Action" - }, - "type": "array" - }, - "ChatChannel": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.ChatChannel" - }, - "DisplayName": { - "type": "string" - }, - "Engagements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncidentTemplate": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.IncidentTemplate" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IncidentTemplate", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ResponsePlan" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.Action": { - "additionalProperties": false, - "properties": { - "SsmAutomation": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmAutomation" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.ChatChannel": { - "additionalProperties": false, - "properties": { - "ChatbotSns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.IncidentTemplate": { - "additionalProperties": false, - "properties": { - "DedupeString": { - "type": "string" - }, - "Impact": { - "type": "number" - }, - "NotificationTargets": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.NotificationTargetItem" - }, - "type": "array" - }, - "Summary": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "required": [ - "Impact", - "Title" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.NotificationTargetItem": { - "additionalProperties": false, - "properties": { - "SnsTopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmAutomation": { - "additionalProperties": false, - "properties": { - "DocumentName": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmParameter" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TargetAccount": { - "type": "string" - } - }, - "required": [ - "DocumentName", - "RoleArn" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSO::Assignment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "PermissionSetArn": { - "type": "string" - }, - "PrincipalId": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "PermissionSetArn", - "PrincipalId", - "PrincipalType", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::Assignment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessControlAttributes": { - "items": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute" - }, - "type": "array" - }, - "InstanceArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::InstanceAccessControlAttributeConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue": { - "additionalProperties": false, - "properties": { - "Source": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::SSO::PermissionSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InlinePolicy": { - "type": "object" - }, - "InstanceArn": { - "type": "string" - }, - "ManagedPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RelayStateType": { - "type": "string" - }, - "SessionDuration": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::PermissionSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppName": { - "type": "string" - }, - "AppType": { - "type": "string" - }, - "DomainId": { - "type": "string" - }, - "ResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::App.ResourceSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - } - }, - "required": [ - "AppName", - "AppType", - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "KernelGatewayImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AppImageConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::AppImageConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "DefaultGid": { - "type": "number" - }, - "DefaultUid": { - "type": "number" - }, - "MountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig": { - "additionalProperties": false, - "properties": { - "FileSystemConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.FileSystemConfig" - }, - "KernelSpecs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelSpec" - }, - "type": "array" - } - }, - "required": [ - "KernelSpecs" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelSpec": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeRepositoryName": { - "type": "string" - }, - "GitConfig": { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository.GitConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GitConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::CodeRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository.GitConfig": { - "additionalProperties": false, - "properties": { - "Branch": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification" - }, - "DataQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig" - }, - "DataQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput" - }, - "DataQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig" - }, - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataQualityAppSpecification", - "DataQualityJobInput", - "DataQualityJobOutputConfig", - "JobResources", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DataQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "object" - }, - "DeviceFleetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Device.Device": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceName": { - "type": "string" - }, - "IotThingName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceFleetName": { - "type": "string" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet.EdgeOutputConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName", - "OutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DeviceFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet.EdgeOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "S3OutputLocation": { - "type": "string" - } - }, - "required": [ - "S3OutputLocation" - ], - "type": "object" - }, - "AWS::SageMaker::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppNetworkAccessType": { - "type": "string" - }, - "AuthMode": { - "type": "string" - }, - "DefaultUserSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.UserSettings" - }, - "DomainName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultUserSettings", - "DomainName", - "SubnetIds", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Domain.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeploymentConfig": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.DeploymentConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ExcludeRetainedVariantProperties": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.VariantProperty" - }, - "type": "array" - }, - "RetainAllVariantProperties": { - "type": "boolean" - }, - "RetainDeploymentConfig": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.AutoRollbackConfig": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.Alarm" - }, - "type": "array" - } - }, - "required": [ - "Alarms" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy": { - "additionalProperties": false, - "properties": { - "MaximumExecutionTimeoutInSeconds": { - "type": "number" - }, - "TerminationWaitInSeconds": { - "type": "number" - }, - "TrafficRoutingConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.TrafficRoutingConfig" - } - }, - "required": [ - "TrafficRoutingConfiguration" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.CapacitySize": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.DeploymentConfig": { - "additionalProperties": false, - "properties": { - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.AutoRollbackConfig" - }, - "BlueGreenUpdatePolicy": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy" - } - }, - "required": [ - "BlueGreenUpdatePolicy" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.TrafficRoutingConfig": { - "additionalProperties": false, - "properties": { - "CanarySize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "LinearStepSize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "Type": { - "type": "string" - }, - "WaitIntervalInSeconds": { - "type": "number" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.VariantProperty": { - "additionalProperties": false, - "properties": { - "VariantPropertyType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AsyncInferenceConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceConfig" - }, - "DataCaptureConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.DataCaptureConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "ProductionVariants": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ProductionVariant" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProductionVariants" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::EndpointConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrentInvocationsPerInstance": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceConfig": { - "additionalProperties": false, - "properties": { - "ClientConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig" - } - }, - "required": [ - "OutputConfig" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig": { - "additionalProperties": false, - "properties": { - "ErrorTopic": { - "type": "string" - }, - "SuccessTopic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig" - }, - "S3OutputPath": { - "type": "string" - } - }, - "required": [ - "S3OutputPath" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader": { - "additionalProperties": false, - "properties": { - "CsvContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "JsonContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureOption": { - "additionalProperties": false, - "properties": { - "CaptureMode": { - "type": "string" - } - }, - "required": [ - "CaptureMode" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.DataCaptureConfig": { - "additionalProperties": false, - "properties": { - "CaptureContentTypeHeader": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader" - }, - "CaptureOptions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureOption" - }, - "type": "array" - }, - "DestinationS3Uri": { - "type": "string" - }, - "EnableCapture": { - "type": "boolean" - }, - "InitialSamplingPercentage": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CaptureOptions", - "DestinationS3Uri", - "InitialSamplingPercentage" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ProductionVariant": { - "additionalProperties": false, - "properties": { - "AcceleratorType": { - "type": "string" - }, - "InitialInstanceCount": { - "type": "number" - }, - "InitialVariantWeight": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "ServerlessConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ServerlessConfig" - }, - "VariantName": { - "type": "string" - } - }, - "required": [ - "InitialVariantWeight", - "ModelName", - "VariantName" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ServerlessConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrency": { - "type": "number" - }, - "MemorySizeInMB": { - "type": "number" - } - }, - "required": [ - "MaxConcurrency", - "MemorySizeInMB" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventTimeFeatureName": { - "type": "string" - }, - "FeatureDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup.FeatureDefinition" - }, - "type": "array" - }, - "FeatureGroupName": { - "type": "string" - }, - "OfflineStoreConfig": { - "type": "object" - }, - "OnlineStoreConfig": { - "type": "object" - }, - "RecordIdentifierFeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EventTimeFeatureName", - "FeatureDefinitions", - "FeatureGroupName", - "RecordIdentifierFeatureName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::FeatureGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup.FeatureDefinition": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "FeatureType": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "FeatureType" - ], - "type": "object" - }, - "AWS::SageMaker::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ImageDescription": { - "type": "string" - }, - "ImageDisplayName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ImageName", - "ImageRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ImageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BaseImage": { - "type": "string" - }, - "ImageName": { - "type": "string" - } - }, - "required": [ - "BaseImage", - "ImageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ImageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Containers": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "type": "array" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "InferenceExecutionConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.InferenceExecutionConfig" - }, - "ModelName": { - "type": "string" - }, - "PrimaryContainer": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.VpcConfig" - } - }, - "required": [ - "ExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Model" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "ContainerHostname": { - "type": "string" - }, - "Environment": { - "type": "object" - }, - "Image": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.ImageConfig" - }, - "InferenceSpecificationName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "ModelDataUrl": { - "type": "string" - }, - "ModelPackageName": { - "type": "string" - }, - "MultiModelConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.MultiModelConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.ImageConfig": { - "additionalProperties": false, - "properties": { - "RepositoryAccessMode": { - "type": "string" - }, - "RepositoryAuthConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.RepositoryAuthConfig" - } - }, - "required": [ - "RepositoryAccessMode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.InferenceExecutionConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.MultiModelConfig": { - "additionalProperties": false, - "properties": { - "ModelCacheSetting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.RepositoryAuthConfig": { - "additionalProperties": false, - "properties": { - "RepositoryCredentialsProviderArn": { - "type": "string" - } - }, - "required": [ - "RepositoryCredentialsProviderArn" - ], - "type": "object" - }, - "AWS::SageMaker::Model.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources" - }, - "ModelBiasAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification" - }, - "ModelBiasBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig" - }, - "ModelBiasJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput" - }, - "ModelBiasJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelBiasAppSpecification", - "ModelBiasJobInput", - "ModelBiasJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelBiasJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources" - }, - "ModelExplainabilityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification" - }, - "ModelExplainabilityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig" - }, - "ModelExplainabilityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput" - }, - "ModelExplainabilityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelExplainabilityAppSpecification", - "ModelExplainabilityJobInput", - "ModelExplainabilityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelExplainabilityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelPackageGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModelPackageGroupDescription": { - "type": "string" - }, - "ModelPackageGroupName": { - "type": "string" - }, - "ModelPackageGroupPolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ModelPackageGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelPackageGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources" - }, - "ModelQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification" - }, - "ModelQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig" - }, - "ModelQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput" - }, - "ModelQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelQualityAppSpecification", - "ModelQualityJobInput", - "ModelQualityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "ProblemType": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri", - "ProblemType" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastMonitoringExecutionSummary": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary" - }, - "MonitoringScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "MonitoringScheduleStatus": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MonitoringScheduleConfig", - "MonitoringScheduleName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::MonitoringSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.BaselineConfig": { - "additionalProperties": false, - "properties": { - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary": { - "additionalProperties": false, - "properties": { - "CreationTime": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastModifiedTime": { - "type": "string" - }, - "MonitoringExecutionStatus": { - "type": "string" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "ProcessingJobArn": { - "type": "string" - }, - "ScheduledTime": { - "type": "string" - } - }, - "required": [ - "CreationTime", - "LastModifiedTime", - "MonitoringExecutionStatus", - "MonitoringScheduleName", - "ScheduledTime" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition": { - "additionalProperties": false, - "properties": { - "BaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.BaselineConfig" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MonitoringAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification" - }, - "MonitoringInputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringInput" - }, - "type": "array" - }, - "MonitoringOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig" - }, - "MonitoringResources": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StoppingCondition" - } - }, - "required": [ - "MonitoringAppSpecification", - "MonitoringInputs", - "MonitoringOutputConfig", - "MonitoringResources", - "RoleArn" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig": { - "additionalProperties": false, - "properties": { - "MonitoringJobDefinition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition" - }, - "MonitoringJobDefinitionName": { - "type": "string" - }, - "MonitoringType": { - "type": "string" - }, - "ScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ScheduleConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ScheduleConfig": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalCodeRepositories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DefaultCodeRepository": { - "type": "string" - }, - "DirectInternetAccess": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecycleConfigName": { - "type": "string" - }, - "NotebookInstanceName": { - "type": "string" - }, - "PlatformIdentifier": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "RootAccess": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceType", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NotebookInstanceLifecycleConfigName": { - "type": "string" - }, - "OnCreate": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - }, - "OnStart": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstanceLifecycleConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineDefinition": { - "type": "object" - }, - "PipelineDescription": { - "type": "string" - }, - "PipelineDisplayName": { - "type": "string" - }, - "PipelineName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineDefinition", - "PipelineName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "ServiceCatalogProvisioningDetails": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProjectName", - "ServiceCatalogProvisioningDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainId": { - "type": "string" - }, - "SingleSignOnUserIdentifier": { - "type": "string" - }, - "SingleSignOnUserValue": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - }, - "UserSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.UserSettings" - } - }, - "required": [ - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Workteam": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.MemberDefinition" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.NotificationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkteamName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Workteam" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.CognitoMemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoClientId": { - "type": "string" - }, - "CognitoUserGroup": { - "type": "string" - }, - "CognitoUserPool": { - "type": "string" - } - }, - "required": [ - "CognitoClientId", - "CognitoUserGroup", - "CognitoUserPool" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.MemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoMemberDefinition": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.CognitoMemberDefinition" - } - }, - "required": [ - "CognitoMemberDefinition" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "NotificationTopicArn": { - "type": "string" - } - }, - "required": [ - "NotificationTopicArn" - ], - "type": "object" - }, - "AWS::SecretsManager::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BlockPublicPolicy": { - "type": "boolean" - }, - "ResourcePolicy": { - "type": "object" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "ResourcePolicy", - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.HostedRotationLambda" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::RotationSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GenerateSecretString": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.GenerateSecretString" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicaRegions": { - "items": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.ReplicaRegion" - }, - "type": "array" - }, - "SecretString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::Secret" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SecretsManager::Secret.GenerateSecretString": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "ExcludeLowercase": { - "type": "boolean" - }, - "ExcludeNumbers": { - "type": "boolean" - }, - "ExcludePunctuation": { - "type": "boolean" - }, - "ExcludeUppercase": { - "type": "boolean" - }, - "GenerateStringKey": { - "type": "string" - }, - "IncludeSpace": { - "type": "boolean" - }, - "PasswordLength": { - "type": "number" - }, - "RequireEachIncludedType": { - "type": "boolean" - }, - "SecretStringTemplate": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret.ReplicaRegion": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::SecretsManager::SecretTargetAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SecretId": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "SecretId", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::SecretTargetAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecurityHub::Hub": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecurityHub::Hub" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Api": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::Serverless::Api.AccessLogSetting" - }, - "Auth": { - "$ref": "#/definitions/AWS::Serverless::Api.Auth" - }, - "BinaryMediaTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "Cors": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Api.CorsConfiguration" - } - ] - }, - "DefinitionBody": { - "type": "object" - }, - "DefinitionUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Api.S3Location" - } - ] - }, - "EndpointConfiguration": { - "type": "string" - }, - "MethodSettings": { - "items": { - "type": "object" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OpenApiVersion": { - "type": "string" - }, - "StageName": { - "type": "string" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "StageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Api" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Api.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Api.Auth": { - "additionalProperties": false, - "properties": { - "Authorizers": { - "type": "object" - }, - "DefaultAuthorizer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Api.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "type": "string" - }, - "AllowMethods": { - "type": "string" - }, - "AllowOrigin": { - "type": "string" - }, - "MaxAge": { - "type": "string" - } - }, - "required": [ - "AllowOrigin" - ], - "type": "object" - }, - "AWS::Serverless::Api.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key", - "Version" - ], - "type": "object" - }, - "AWS::Serverless::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Location": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Application.ApplicationLocation" - } - ] - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Application.ApplicationLocation": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "SemanticVersion": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "SemanticVersion" - ], - "type": "object" - }, - "AWS::Serverless::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoPublishAlias": { - "type": "string" - }, - "CodeUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.S3Location" - } - ] - }, - "DeadLetterQueue": { - "$ref": "#/definitions/AWS::Serverless::Function.DeadLetterQueue" - }, - "DeploymentPreference": { - "$ref": "#/definitions/AWS::Serverless::Function.DeploymentPreference" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Serverless::Function.FunctionEnvironment" - }, - "Events": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Serverless::Function.EventSource" - } - }, - "type": "object" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" - }, - "type": "array" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.SAMPolicyTemplate" - }, - "type": "array" - } - ] - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "Tracing": { - "type": "string" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Serverless::Function.VpcConfig" - } - }, - "required": [ - "CodeUri", - "Handler", - "Runtime" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Function.AlexaSkillEvent": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.ApiEvent": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "Method", - "Path" - ], - "type": "object" - }, - "AWS::Serverless::Function.BucketSAMPT": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Serverless::Function.CloudWatchEventEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::Function.CloudWatchLogsEvent": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - } - }, - "required": [ - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "AWS::Serverless::Function.CollectionSAMPT": { - "additionalProperties": false, - "properties": { - "CollectionId": { - "type": "string" - } - }, - "required": [ - "CollectionId" - ], - "type": "object" - }, - "AWS::Serverless::Function.DeadLetterQueue": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TargetArn", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Function.DeploymentPreference": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Hooks": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Role": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Serverless::Function.OnFailure" - } - }, - "required": [ - "OnFailure" - ], - "type": "object" - }, - "AWS::Serverless::Function.DomainSAMPT": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "AWS::Serverless::Function.DynamoDBEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Serverless::Function.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "StartingPosition": { - "type": "string" - }, - "Stream": { - "type": "string" - } - }, - "required": [ - "StartingPosition", - "Stream" - ], - "type": "object" - }, - "AWS::Serverless::Function.EmptySAMPT": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Serverless::Function.EventBridgeRuleEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::Function.EventSource": { - "additionalProperties": false, - "properties": { - "Properties": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::Serverless::Function.S3Event" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.SNSEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.SQSEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.KinesisEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.DynamoDBEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.ApiEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.ScheduleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchEventEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchLogsEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.IoTRuleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.AlexaSkillEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.EventBridgeRuleEvent" - } - ] - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Properties", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.FunctionEnvironment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Variables" - ], - "type": "object" - }, - "AWS::Serverless::Function.FunctionSAMPT": { - "additionalProperties": false, - "properties": { - "FunctionName": { - "type": "string" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "AWS::Serverless::Function.IAMPolicyDocument": { - "additionalProperties": false, - "properties": { - "Statement": { - "type": "object" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::Serverless::Function.IdentitySAMPT": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - } - }, - "required": [ - "IdentityName" - ], - "type": "object" - }, - "AWS::Serverless::Function.IoTRuleEvent": { - "additionalProperties": false, - "properties": { - "AwsIotSqlVersion": { - "type": "string" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Sql" - ], - "type": "object" - }, - "AWS::Serverless::Function.KeySAMPT": { - "additionalProperties": false, - "properties": { - "KeyId": { - "type": "string" - } - }, - "required": [ - "KeyId" - ], - "type": "object" - }, - "AWS::Serverless::Function.KinesisEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "StartingPosition": { - "type": "string" - }, - "Stream": { - "type": "string" - } - }, - "required": [ - "StartingPosition", - "Stream" - ], - "type": "object" - }, - "AWS::Serverless::Function.LogGroupSAMPT": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "AWS::Serverless::Function.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Serverless::Function.QueueSAMPT": { - "additionalProperties": false, - "properties": { - "QueueName": { - "type": "string" - } - }, - "required": [ - "QueueName" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3Event": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Events": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "Filter": { - "$ref": "#/definitions/AWS::Serverless::Function.S3NotificationFilter" - } - }, - "required": [ - "Bucket", - "Events" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3KeyFilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::Serverless::Function.SAMPolicyTemplate": { - "additionalProperties": false, - "properties": { - "AMIDescribePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "CloudFormationDescribeStacksPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "CloudWatchPutMetricPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "DynamoDBCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" - }, - "DynamoDBReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" - }, - "DynamoDBStreamReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT" - }, - "EC2DescribePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "ElasticsearchHttpPostPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.DomainSAMPT" - }, - "FilterLogEventsPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.LogGroupSAMPT" - }, - "KMSDecryptPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.KeySAMPT" - }, - "KinesisCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" - }, - "KinesisStreamReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" - }, - "LambdaInvokePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.FunctionSAMPT" - }, - "RekognitionDetectOnlyPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "RekognitionLabelsPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "RekognitionNoDataAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "RekognitionReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "RekognitionWriteOnlyAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "S3CrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" - }, - "S3ReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" - }, - "SESBulkTemplatedCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SESCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SESEmailTemplateCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "SESSendBouncePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SNSCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" - }, - "SNSPublishMessagePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" - }, - "SQSPollerPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" - }, - "SQSSendMessagePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" - }, - "StepFunctionsExecutionPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StateMachineSAMPT" - }, - "VPCAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.SNSEvent": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - } - }, - "required": [ - "Topic" - ], - "type": "object" - }, - "AWS::Serverless::Function.SQSEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Queue" - ], - "type": "object" - }, - "AWS::Serverless::Function.ScheduleEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Schedule": { - "type": "string" - } - }, - "required": [ - "Schedule" - ], - "type": "object" - }, - "AWS::Serverless::Function.StateMachineSAMPT": { - "additionalProperties": false, - "properties": { - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "StateMachineName" - ], - "type": "object" - }, - "AWS::Serverless::Function.StreamSAMPT": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "required": [ - "StreamName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TableSAMPT": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TableStreamSAMPT": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "StreamName", - "TableName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TopicSAMPT": { - "additionalProperties": false, - "properties": { - "TopicName": { - "type": "string" - } - }, - "required": [ - "TopicName" - ], - "type": "object" - }, - "AWS::Serverless::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Serverless::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentUri": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - }, - "RetentionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PrimaryKey": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.PrimaryKey" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.SSESpecification" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::SimpleTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.PrimaryKey": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Serverless::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "type": "object" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DefinitionUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.S3Location" - } - ] - }, - "Events": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.EventSource" - } - }, - "type": "object" - }, - "Logging": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.LoggingConfiguration" - }, - "Name": { - "type": "string" - }, - "Policies": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" - }, - "type": "array" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.SAMPolicyTemplate" - }, - "type": "array" - } - ] - }, - "Role": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.ApiEvent": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "Method", - "Path" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.CloudWatchEventEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "required": [ - "LogGroupArn" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.EventBridgeRuleEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.EventSource": { - "additionalProperties": false, - "properties": { - "Properties": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchEventEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.EventBridgeRuleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.ScheduleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.ApiEvent" - } - ] - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Properties", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.FunctionSAMPT": { - "additionalProperties": false, - "properties": { - "FunctionName": { - "type": "string" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.IAMPolicyDocument": { - "additionalProperties": false, - "properties": { - "Statement": { - "type": "object" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchLogsLogGroup" - } - }, - "required": [ - "CloudWatchLogsLogGroup" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "required": [ - "Destinations", - "IncludeExecutionData", - "Level" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.SAMPolicyTemplate": { - "additionalProperties": false, - "properties": { - "LambdaInvokePolicy": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.FunctionSAMPT" - }, - "StepFunctionsExecutionPolicy": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.StateMachineSAMPT" - } - }, - "type": "object" - }, - "AWS::Serverless::StateMachine.ScheduleEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Schedule": { - "type": "string" - } - }, - "required": [ - "Schedule" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.StateMachineSAMPT": { - "additionalProperties": false, - "properties": { - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "StateMachineName" - ], - "type": "object" - }, - "AWS::ServiceCatalog::AcceptedPortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::AcceptedPortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Distributor": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "ProvisioningArtifactParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties" - }, - "type": "array" - }, - "ReplaceProvisioningArtifacts": { - "type": "boolean" - }, - "SupportDescription": { - "type": "string" - }, - "SupportEmail": { - "type": "string" - }, - "SupportUrl": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Owner", - "ProvisioningArtifactParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DisableTemplateValidation": { - "type": "boolean" - }, - "Info": { - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Info" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PathId": { - "type": "string" - }, - "PathName": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProvisionedProductName": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ProvisioningArtifactName": { - "type": "string" - }, - "ProvisioningParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter" - }, - "type": "array" - }, - "ProvisioningPreferences": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences": { - "additionalProperties": false, - "properties": { - "StackSetAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackSetFailureToleranceCount": { - "type": "number" - }, - "StackSetFailureTolerancePercentage": { - "type": "number" - }, - "StackSetMaxConcurrencyCount": { - "type": "number" - }, - "StackSetMaxConcurrencyPercentage": { - "type": "number" - }, - "StackSetOperationType": { - "type": "string" - }, - "StackSetRegions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ServiceCatalog::LaunchNotificationConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - } - }, - "required": [ - "NotificationArns", - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchNotificationConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchRoleConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocalRoleName": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchRoleConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchTemplateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "Rules": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchTemplateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::Portfolio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DisplayName", - "ProviderName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::Portfolio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "PrincipalARN": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "PrincipalARN", - "PrincipalType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioPrincipalAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioProductAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "SourcePortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioProductAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountId": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ShareTagOptions": { - "type": "boolean" - } - }, - "required": [ - "AccountId", - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ResourceUpdateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "TagUpdateOnProvisionedProduct": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "TagUpdateOnProvisionedProduct" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ResourceUpdateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Definition": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction.DefinitionParameter" - }, - "type": "array" - }, - "DefinitionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Definition", - "DefinitionType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction.DefinitionParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceActionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProductId": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ServiceActionId": { - "type": "string" - } - }, - "required": [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceActionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::StackSetConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdminRole": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ExecutionRole": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RegionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackInstanceControl": { - "type": "string" - } - }, - "required": [ - "AccountList", - "AdminRole", - "Description", - "ExecutionRole", - "PortfolioId", - "ProductId", - "RegionList", - "StackInstanceControl" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::StackSetConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Active": { - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOptionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - }, - "TagOptionId": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "TagOptionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOptionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Attributes", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "AttributeGroup": { - "type": "string" - } - }, - "required": [ - "Application", - "AttributeGroup" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::ResourceAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "Resource": { - "type": "string" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "Application", - "Resource", - "ResourceType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::ResourceAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::HttpNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::HttpNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceAttributes": { - "type": "object" - }, - "InstanceId": { - "type": "string" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "InstanceAttributes", - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Vpc": { - "type": "string" - } - }, - "required": [ - "Name", - "Vpc" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PrivateDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PublicDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DnsConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsConfig" - }, - "HealthCheckConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckConfig" - }, - "HealthCheckCustomConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckCustomConfig" - }, - "Name": { - "type": "string" - }, - "NamespaceId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsConfig": { - "additionalProperties": false, - "properties": { - "DnsRecords": { - "items": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsRecord" - }, - "type": "array" - }, - "NamespaceId": { - "type": "string" - }, - "RoutingPolicy": { - "type": "string" - } - }, - "required": [ - "DnsRecords" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsRecord": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TTL", - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - }, - "ResourcePath": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckCustomConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Signer::ProfilePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "ProfileName": { - "type": "string" - }, - "ProfileVersion": { - "type": "string" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "Action", - "Principal", - "ProfileName", - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::ProfilePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PlatformId": { - "type": "string" - }, - "SignatureValidityPeriod": { - "$ref": "#/definitions/AWS::Signer::SigningProfile.SignatureValidityPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PlatformId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::SigningProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile.SignatureValidityPeriod": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::StepFunctions::Activity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::Activity.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::Activity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::Activity.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.Definition" - }, - "DefinitionS3Location": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.S3Location" - }, - "DefinitionString": { - "type": "string" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LoggingConfiguration" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - }, - "StateMachineType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TagsEntry" - }, - "type": "array" - }, - "TracingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TracingConfiguration" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.Definition": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TracingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArtifactConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.ArtifactConfig" - }, - "ArtifactS3Location": { - "type": "string" - }, - "Code": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Code" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FailureRetentionPeriod": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RunConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.RunConfig" - }, - "RuntimeVersion": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Schedule" - }, - "StartCanaryAfterCreation": { - "type": "boolean" - }, - "SuccessRetentionPeriod": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VPCConfig" - }, - "VisualReference": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VisualReference" - } - }, - "required": [ - "ArtifactS3Location", - "Code", - "ExecutionRoleArn", - "Name", - "RuntimeVersion", - "Schedule", - "StartCanaryAfterCreation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Synthetics::Canary" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.ArtifactConfig": { - "additionalProperties": false, - "properties": { - "S3Encryption": { - "$ref": "#/definitions/AWS::Synthetics::Canary.S3Encryption" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.BaseScreenshot": { - "additionalProperties": false, - "properties": { - "IgnoreCoordinates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScreenshotName": { - "type": "string" - } - }, - "required": [ - "ScreenshotName" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.Code": { - "additionalProperties": false, - "properties": { - "Handler": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "required": [ - "Handler" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.RunConfig": { - "additionalProperties": false, - "properties": { - "ActiveTracing": { - "type": "boolean" - }, - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MemoryInMB": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.S3Encryption": { - "additionalProperties": false, - "properties": { - "EncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.Schedule": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "Expression" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VPCConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VisualReference": { - "additionalProperties": false, - "properties": { - "BaseCanaryRunId": { - "type": "string" - }, - "BaseScreenshots": { - "items": { - "$ref": "#/definitions/AWS::Synthetics::Canary.BaseScreenshot" - }, - "type": "array" - } - }, - "required": [ - "BaseCanaryRunId" - ], - "type": "object" - }, - "AWS::Timestream::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientToken": { - "type": "string" - }, - "ErrorReportConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ErrorReportConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.NotificationConfiguration" - }, - "QueryString": { - "type": "string" - }, - "ScheduleConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ScheduleConfiguration" - }, - "ScheduledQueryExecutionRoleArn": { - "type": "string" - }, - "ScheduledQueryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TargetConfiguration" - } - }, - "required": [ - "ErrorReportConfiguration", - "NotificationConfiguration", - "QueryString", - "ScheduleConfiguration", - "ScheduledQueryExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::ScheduledQuery" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.DimensionMapping": { - "additionalProperties": false, - "properties": { - "DimensionValueType": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DimensionValueType", - "Name" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ErrorReportConfiguration": { - "additionalProperties": false, - "properties": { - "S3Configuration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.S3Configuration" - } - }, - "required": [ - "S3Configuration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MixedMeasureMapping": { - "additionalProperties": false, - "properties": { - "MeasureName": { - "type": "string" - }, - "MeasureValueType": { - "type": "string" - }, - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMeasureName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping": { - "additionalProperties": false, - "properties": { - "MeasureValueType": { - "type": "string" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMultiMeasureAttributeName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType", - "SourceColumn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureMappings": { - "additionalProperties": false, - "properties": { - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "TargetMultiMeasureName": { - "type": "string" - } - }, - "required": [ - "MultiMeasureAttributeMappings" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "SnsConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.SnsConfiguration" - } - }, - "required": [ - "SnsConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "EncryptionOption": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ScheduleConfiguration": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.SnsConfiguration": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TargetConfiguration": { - "additionalProperties": false, - "properties": { - "TimestreamConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TimestreamConfiguration" - } - }, - "required": [ - "TimestreamConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TimestreamConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "DimensionMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.DimensionMapping" - }, - "type": "array" - }, - "MeasureNameColumn": { - "type": "string" - }, - "MixedMeasureMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MixedMeasureMapping" - }, - "type": "array" - }, - "MultiMeasureMappings": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureMappings" - }, - "TableName": { - "type": "string" - }, - "TimeColumn": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "DimensionMappings", - "TableName", - "TimeColumn" - ], - "type": "object" - }, - "AWS::Timestream::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "RetentionProperties": { - "type": "object" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Domain": { - "type": "string" - }, - "EndpointDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.EndpointDetails" - }, - "EndpointType": { - "type": "string" - }, - "IdentityProviderDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.IdentityProviderDetails" - }, - "IdentityProviderType": { - "type": "string" - }, - "LoggingRole": { - "type": "string" - }, - "ProtocolDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.ProtocolDetails" - }, - "Protocols": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.Protocol" - }, - "type": "array" - }, - "SecurityPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkflowDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetails" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Transfer::Server.EndpointDetails": { - "additionalProperties": false, - "properties": { - "AddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.IdentityProviderDetails": { - "additionalProperties": false, - "properties": { - "DirectoryId": { - "type": "string" - }, - "Function": { - "type": "string" - }, - "InvocationRole": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.Protocol": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Server.ProtocolDetails": { - "additionalProperties": false, - "properties": { - "PassiveIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetail": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "WorkflowId": { - "type": "string" - } - }, - "required": [ - "ExecutionRole", - "WorkflowId" - ], - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetails": { - "additionalProperties": false, - "properties": { - "OnUpload": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetail" - }, - "type": "array" - } - }, - "required": [ - "OnUpload" - ], - "type": "object" - }, - "AWS::Transfer::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HomeDirectory": { - "type": "string" - }, - "HomeDirectoryMappings": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.HomeDirectoryMapEntry" - }, - "type": "array" - }, - "HomeDirectoryType": { - "type": "string" - }, - "Policy": { - "type": "string" - }, - "PosixProfile": { - "$ref": "#/definitions/AWS::Transfer::User.PosixProfile" - }, - "Role": { - "type": "string" - }, - "ServerId": { - "type": "string" - }, - "SshPublicKeys": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.SshPublicKey" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Role", - "ServerId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::User.HomeDirectoryMapEntry": { - "additionalProperties": false, - "properties": { - "Entry": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Entry", - "Target" - ], - "type": "object" - }, - "AWS::Transfer::User.PosixProfile": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "SecondaryGids": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Uid": { - "type": "number" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::Transfer::User.SshPublicKey": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "OnExceptionSteps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Steps" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Workflow.WorkflowStep": { - "additionalProperties": false, - "properties": { - "CopyStepDetails": { - "type": "object" - }, - "CustomStepDetails": { - "type": "object" - }, - "DeleteStepDetails": { - "type": "object" - }, - "TagStepDetails": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAF::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAF::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAF::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAF::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name", - "SizeConstraints" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAF::WebACL.ActivatedRule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::WebACL.ActivatedRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAF::WebACL.WafAction": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name", - "XssMatchTuples" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GeoMatchConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::GeoMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MatchPredicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule.Predicate" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RateKey": { - "type": "string" - }, - "RateLimit": { - "type": "number" - } - }, - "required": [ - "MetricName", - "Name", - "RateKey", - "RateLimit" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RateBasedRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RegexPatternStrings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "RegexPatternStrings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Rule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Action": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Action", - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLId": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFv2::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "IPAddressVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoggingFilter": { - "type": "object" - }, - "RedactedFields": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration.FieldToMatch" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "LogDestinationConfigs", - "ResourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration.FieldToMatch": { - "additionalProperties": false, - "properties": { - "JsonBody": { - "type": "object" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RegularExpressionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RegularExpressionList", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.CustomResponseBody" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RuleAction" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "type": "object" - }, - "Block": { - "type": "object" - }, - "Count": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponseBody" - } - }, - "type": "object" - }, - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.DefaultAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponse" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "type": "string" - }, - "ResponseCode": { - "type": "number" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "VendorName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "object" - }, - "None": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleAction" - }, - "Name": { - "type": "string" - }, - "OverrideAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OverrideAction" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - }, - "Count": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CountAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::Assistant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssistantId": { - "type": "string" - }, - "Association": { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation.AssociationData" - }, - "AssociationType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssistantId", - "Association", - "AssociationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::AssistantAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation.AssociationData": { - "additionalProperties": false, - "properties": { - "KnowledgeBaseId": { - "type": "string" - } - }, - "required": [ - "KnowledgeBaseId" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KnowledgeBaseType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.RenderingConfiguration" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.SourceConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KnowledgeBaseType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::KnowledgeBase" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrationArn": { - "type": "string" - }, - "ObjectFields": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AppIntegrationArn", - "ObjectFields" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.RenderingConfiguration": { - "additionalProperties": false, - "properties": { - "TemplateUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrations": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConnectionString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::ConnectionAlias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation": { - "additionalProperties": false, - "properties": { - "AssociatedAccountId": { - "type": "string" - }, - "AssociationStatus": { - "type": "string" - }, - "ConnectionIdentifier": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::Workspace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BundleId": { - "type": "string" - }, - "DirectoryId": { - "type": "string" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - }, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "VolumeEncryptionKey": { - "type": "string" - }, - "WorkspaceProperties": { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace.WorkspaceProperties" - } - }, - "required": [ - "BundleId", - "DirectoryId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::Workspace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::Workspace.WorkspaceProperties": { - "additionalProperties": false, - "properties": { - "ComputeTypeName": { - "type": "string" - }, - "RootVolumeSizeGib": { - "type": "number" - }, - "RunningMode": { - "type": "string" - }, - "RunningModeAutoStopTimeoutInMinutes": { - "type": "number" - }, - "UserVolumeSizeGib": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterExpression": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "InsightsConfiguration": { - "$ref": "#/definitions/AWS::XRay::Group.InsightsConfiguration" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::Group.InsightsConfiguration": { - "additionalProperties": false, - "properties": { - "InsightsEnabled": { - "type": "boolean" - }, - "NotificationsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - }, - "SamplingRuleRecord": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleRecord" - }, - "SamplingRuleUpdate": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleUpdate" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::SamplingRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRule": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleRecord": { - "additionalProperties": false, - "properties": { - "CreatedAt": { - "type": "string" - }, - "ModifiedAt": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleUpdate": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/Alexa::ASK::Skill.AuthenticationConfiguration" - }, - "SkillPackage": { - "$ref": "#/definitions/Alexa::ASK::Skill.SkillPackage" - }, - "VendorId": { - "type": "string" - } - }, - "required": [ - "AuthenticationConfiguration", - "SkillPackage", - "VendorId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "Alexa::ASK::Skill" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "Alexa::ASK::Skill.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "required": [ - "ClientId", - "ClientSecret", - "RefreshToken" - ], - "type": "object" - }, - "Alexa::ASK::Skill.Overrides": { - "additionalProperties": false, - "properties": { - "Manifest": { - "type": "object" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill.SkillPackage": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/Alexa::ASK::Skill.Overrides" - }, - "S3Bucket": { - "type": "string" - }, - "S3BucketRole": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "AllowedValues": { - "type": "array" - }, - "ConstraintDescription": { - "type": "string" - }, - "Default": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MaxLength": { - "type": "string" - }, - "MaxValue": { - "type": "string" - }, - "MinLength": { - "type": "string" - }, - "MinValue": { - "type": "string" - }, - "NoEcho": { - "type": [ - "string", - "boolean" - ] - }, - "Type": { - "enum": [ - "String", - "Number", - "List\u003cNumber\u003e", - "CommaDelimitedList", - "AWS::EC2::AvailabilityZone::Name", - "AWS::EC2::Image::Id", - "AWS::EC2::Instance::Id", - "AWS::EC2::KeyPair::KeyName", - "AWS::EC2::SecurityGroup::GroupName", - "AWS::EC2::SecurityGroup::Id", - "AWS::EC2::Subnet::Id", - "AWS::EC2::Volume::Id", - "AWS::EC2::VPC::Id", - "AWS::Route53::HostedZone::Id", - "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "List\u003cAWS::EC2::Image::Id\u003e", - "List\u003cAWS::EC2::Instance::Id\u003e", - "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "List\u003cAWS::EC2::SecurityGroup::Id\u003e", - "List\u003cAWS::EC2::Subnet::Id\u003e", - "List\u003cAWS::EC2::Volume::Id\u003e", - "List\u003cAWS::EC2::VPC::Id\u003e", - "List\u003cAWS::Route53::HostedZone::Id\u003e", - "List\u003cString\u003e", - "AWS::SSM::Parameter::Name", - "AWS::SSM::Parameter::Value\u003cString\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "properties": { - "AWSTemplateFormatVersion": { - "enum": [ - "2010-09-09" - ], - "type": "string" - }, - "Conditions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Description": { - "description": "Template description", - "maxLength": 1024, - "type": "string" - }, - "Mappings": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Metadata": { - "type": "object" - }, - "Outputs": { - "additionalProperties": false, - "maxProperties": 60, - "minProperties": 1, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Parameters": { - "additionalProperties": false, - "maxProperties": 50, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/Parameter" - } - }, - "type": "object" - }, - "Resources": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::ACMPCA::Certificate" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthorityActivation" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::Permission" - }, - { - "$ref": "#/definitions/AWS::APS::RuleGroupsNamespace" - }, - { - "$ref": "#/definitions/AWS::APS::Workspace" - }, - { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Broker" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation" - }, - { - "$ref": "#/definitions/AWS::Amplify::App" - }, - { - "$ref": "#/definitions/AWS::Amplify::Branch" - }, - { - "$ref": "#/definitions/AWS::Amplify::Domain" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Account" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::BasePathMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ClientCertificate" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationVersion" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::GatewayResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Method" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RequestValidator" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Resource" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RestApi" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlanKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::VpcLink" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::IntegrationResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Route" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::RouteResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::VpcLink" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Application" - }, - { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Deployment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Environment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::HostedConfigurationVersion" - }, - { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile" - }, - { - "$ref": "#/definitions/AWS::AppFlow::Flow" - }, - { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration" - }, - { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Mesh" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Route" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualService" - }, - { - "$ref": "#/definitions/AWS::AppRunner::Service" - }, - { - "$ref": "#/definitions/AWS::AppStream::AppBlock" - }, - { - "$ref": "#/definitions/AWS::AppStream::Application" - }, - { - "$ref": "#/definitions/AWS::AppStream::ApplicationFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig" - }, - { - "$ref": "#/definitions/AWS::AppStream::Fleet" - }, - { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder" - }, - { - "$ref": "#/definitions/AWS::AppStream::Stack" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackUserAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::User" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiCache" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiKey" - }, - { - "$ref": "#/definitions/AWS::AppSync::DataSource" - }, - { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLSchema" - }, - { - "$ref": "#/definitions/AWS::AppSync::Resolver" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::ApplicationInsights::Application" - }, - { - "$ref": "#/definitions/AWS::Athena::DataCatalog" - }, - { - "$ref": "#/definitions/AWS::Athena::NamedQuery" - }, - { - "$ref": "#/definitions/AWS::Athena::PreparedStatement" - }, - { - "$ref": "#/definitions/AWS::Athena::WorkGroup" - }, - { - "$ref": "#/definitions/AWS::AuditManager::Assessment" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::WarmPool" - }, - { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupSelection" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupVault" - }, - { - "$ref": "#/definitions/AWS::Backup::Framework" - }, - { - "$ref": "#/definitions/AWS::Backup::ReportPlan" - }, - { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment" - }, - { - "$ref": "#/definitions/AWS::Batch::JobDefinition" - }, - { - "$ref": "#/definitions/AWS::Batch::JobQueue" - }, - { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy" - }, - { - "$ref": "#/definitions/AWS::Budgets::Budget" - }, - { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalyMonitor" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalySubscription" - }, - { - "$ref": "#/definitions/AWS::CE::CostCategory" - }, - { - "$ref": "#/definitions/AWS::CUR::ReportDefinition" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Keyspace" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Table" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Account" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Certificate" - }, - { - "$ref": "#/definitions/AWS::Chatbot::SlackChannelConfiguration" - }, - { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::CustomResource" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Macro" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Publisher" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Stack" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::StackSet" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Distribution" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Function" - }, - { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup" - }, - { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::PublicKey" - }, - { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig" - }, - { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution" - }, - { - "$ref": "#/definitions/AWS::CloudTrail::Trail" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Alarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Dashboard" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Domain" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::Project" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::SourceCredential" - }, - { - "$ref": "#/definitions/AWS::CodeCommit::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::Application" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruReviewer::RepositoryAssociation" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Webhook" - }, - { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository" - }, - { - "$ref": "#/definitions/AWS::CodeStarConnections::Connection" - }, - { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolGroup" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolIdentityProvider" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUICustomizationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUserToGroupAttachment" - }, - { - "$ref": "#/definitions/AWS::Config::AggregationAuthorization" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder" - }, - { - "$ref": "#/definitions/AWS::Config::ConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::DeliveryChannel" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration" - }, - { - "$ref": "#/definitions/AWS::Config::StoredQuery" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlow" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlowModule" - }, - { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation" - }, - { - "$ref": "#/definitions/AWS::Connect::QuickConnect" - }, - { - "$ref": "#/definitions/AWS::Connect::User" - }, - { - "$ref": "#/definitions/AWS::Connect::UserHierarchyGroup" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Domain" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType" - }, - { - "$ref": "#/definitions/AWS::DAX::Cluster" - }, - { - "$ref": "#/definitions/AWS::DAX::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DAX::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy" - }, - { - "$ref": "#/definitions/AWS::DMS::Certificate" - }, - { - "$ref": "#/definitions/AWS::DMS::Endpoint" - }, - { - "$ref": "#/definitions/AWS::DMS::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationInstance" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationTask" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Dataset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Job" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Project" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Recipe" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Ruleset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Schedule" - }, - { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::DataSync::Agent" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationEFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationFSxWindows" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationNFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationObjectStorage" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationS3" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationSMB" - }, - { - "$ref": "#/definitions/AWS::DataSync::Task" - }, - { - "$ref": "#/definitions/AWS::Detective::Graph" - }, - { - "$ref": "#/definitions/AWS::Detective::MemberInvitation" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBCluster" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBInstance" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::Table" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservation" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::CarrierGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::CustomerGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::DHCPOptions" - }, - { - "$ref": "#/definitions/AWS::EC2::EC2Fleet" - }, - { - "$ref": "#/definitions/AWS::EC2::EIP" - }, - { - "$ref": "#/definitions/AWS::EC2::EIPAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::FlowLog" - }, - { - "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::Host" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAM" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMAllocation" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMPool" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMScope" - }, - { - "$ref": "#/definitions/AWS::EC2::Instance" - }, - { - "$ref": "#/definitions/AWS::EC2::InternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::NatGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAcl" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterface" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" - }, - { - "$ref": "#/definitions/AWS::EC2::PlacementGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::PrefixList" - }, - { - "$ref": "#/definitions/AWS::EC2::Route" - }, - { - "$ref": "#/definitions/AWS::EC2::RouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::EC2::SpotFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::Subnet" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPC" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointService" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::Volume" - }, - { - "$ref": "#/definitions/AWS::EC2::VolumeAttachment" - }, - { - "$ref": "#/definitions/AWS::ECR::PublicRepository" - }, - { - "$ref": "#/definitions/AWS::ECR::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" - }, - { - "$ref": "#/definitions/AWS::ECR::Repository" - }, - { - "$ref": "#/definitions/AWS::ECS::CapacityProvider" - }, - { - "$ref": "#/definitions/AWS::ECS::Cluster" - }, - { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations" - }, - { - "$ref": "#/definitions/AWS::ECS::PrimaryTaskSet" - }, - { - "$ref": "#/definitions/AWS::ECS::Service" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskDefinition" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskSet" - }, - { - "$ref": "#/definitions/AWS::EFS::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::EFS::FileSystem" - }, - { - "$ref": "#/definitions/AWS::EFS::MountTarget" - }, - { - "$ref": "#/definitions/AWS::EKS::Addon" - }, - { - "$ref": "#/definitions/AWS::EKS::Cluster" - }, - { - "$ref": "#/definitions/AWS::EKS::FargateProfile" - }, - { - "$ref": "#/definitions/AWS::EKS::Nodegroup" - }, - { - "$ref": "#/definitions/AWS::EMR::Cluster" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::EMR::Step" - }, - { - "$ref": "#/definitions/AWS::EMR::Studio" - }, - { - "$ref": "#/definitions/AWS::EMR::StudioSessionMapping" - }, - { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::User" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::UserGroup" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" - }, - { - "$ref": "#/definitions/AWS::Elasticsearch::Domain" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Registry" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Schema" - }, - { - "$ref": "#/definitions/AWS::Events::ApiDestination" - }, - { - "$ref": "#/definitions/AWS::Events::Archive" - }, - { - "$ref": "#/definitions/AWS::Events::Connection" - }, - { - "$ref": "#/definitions/AWS::Events::EventBus" - }, - { - "$ref": "#/definitions/AWS::Events::EventBusPolicy" - }, - { - "$ref": "#/definitions/AWS::Events::Rule" - }, - { - "$ref": "#/definitions/AWS::Evidently::Experiment" - }, - { - "$ref": "#/definitions/AWS::Evidently::Feature" - }, - { - "$ref": "#/definitions/AWS::Evidently::Launch" - }, - { - "$ref": "#/definitions/AWS::Evidently::Project" - }, - { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" - }, - { - "$ref": "#/definitions/AWS::FMS::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::FMS::Policy" - }, - { - "$ref": "#/definitions/AWS::FSx::FileSystem" - }, - { - "$ref": "#/definitions/AWS::FinSpace::Environment" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Detector" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EntityType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EventType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Label" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Outcome" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Variable" - }, - { - "$ref": "#/definitions/AWS::GameLift::Alias" - }, - { - "$ref": "#/definitions/AWS::GameLift::Build" - }, - { - "$ref": "#/definitions/AWS::GameLift::Fleet" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingRuleSet" - }, - { - "$ref": "#/definitions/AWS::GameLift::Script" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Accelerator" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener" - }, - { - "$ref": "#/definitions/AWS::Glue::Classifier" - }, - { - "$ref": "#/definitions/AWS::Glue::Connection" - }, - { - "$ref": "#/definitions/AWS::Glue::Crawler" - }, - { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings" - }, - { - "$ref": "#/definitions/AWS::Glue::Database" - }, - { - "$ref": "#/definitions/AWS::Glue::DevEndpoint" - }, - { - "$ref": "#/definitions/AWS::Glue::Job" - }, - { - "$ref": "#/definitions/AWS::Glue::MLTransform" - }, - { - "$ref": "#/definitions/AWS::Glue::Partition" - }, - { - "$ref": "#/definitions/AWS::Glue::Registry" - }, - { - "$ref": "#/definitions/AWS::Glue::Schema" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersion" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersionMetadata" - }, - { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::Glue::Table" - }, - { - "$ref": "#/definitions/AWS::Glue::Trigger" - }, - { - "$ref": "#/definitions/AWS::Glue::Workflow" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::Group" - }, - { - "$ref": "#/definitions/AWS::Greengrass::GroupVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion" - }, - { - "$ref": "#/definitions/AWS::GroundStation::Config" - }, - { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Detector" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Filter" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::IPSet" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Master" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Member" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::ThreatIntelSet" - }, - { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore" - }, - { - "$ref": "#/definitions/AWS::IAM::AccessKey" - }, - { - "$ref": "#/definitions/AWS::IAM::Group" - }, - { - "$ref": "#/definitions/AWS::IAM::InstanceProfile" - }, - { - "$ref": "#/definitions/AWS::IAM::ManagedPolicy" - }, - { - "$ref": "#/definitions/AWS::IAM::OIDCProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::Policy" - }, - { - "$ref": "#/definitions/AWS::IAM::Role" - }, - { - "$ref": "#/definitions/AWS::IAM::SAMLProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::ServerCertificate" - }, - { - "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" - }, - { - "$ref": "#/definitions/AWS::IAM::User" - }, - { - "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" - }, - { - "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" - }, - { - "$ref": "#/definitions/AWS::IVS::Channel" - }, - { - "$ref": "#/definitions/AWS::IVS::PlaybackKeyPair" - }, - { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration" - }, - { - "$ref": "#/definitions/AWS::IVS::StreamKey" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Image" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTarget" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTemplate" - }, - { - "$ref": "#/definitions/AWS::Inspector::ResourceGroup" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Device" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Placement" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Project" - }, - { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration" - }, - { - "$ref": "#/definitions/AWS::IoT::Authorizer" - }, + "maxProperties": 60, + "minProperties": 1, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" + } + }, + "type": "object" + }, + "Parameters": { + "additionalProperties": false, + "maxProperties": 50, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/Parameter" + } + }, + "type": "object" + }, + "Resources": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "anyOf": [ { - "$ref": "#/definitions/AWS::IoT::Certificate" + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" }, { - "$ref": "#/definitions/AWS::IoT::CustomMetric" + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" }, { - "$ref": "#/definitions/AWS::IoT::Dimension" + "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" }, { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" }, { - "$ref": "#/definitions/AWS::IoT::FleetMetric" + "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" }, { - "$ref": "#/definitions/AWS::IoT::JobTemplate" + "$ref": "#/definitions/AWS::AutoScaling::WarmPool" }, { - "$ref": "#/definitions/AWS::IoT::Logging" + "$ref": "#/definitions/AWS::CloudFormation::CustomResource" }, { - "$ref": "#/definitions/AWS::IoT::MitigationAction" + "$ref": "#/definitions/AWS::CloudFormation::GuardHook" }, { - "$ref": "#/definitions/AWS::IoT::Policy" + "$ref": "#/definitions/AWS::CloudFormation::HookDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::PolicyPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::HookTypeConfig" }, { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate" + "$ref": "#/definitions/AWS::CloudFormation::HookVersion" }, { - "$ref": "#/definitions/AWS::IoT::ResourceSpecificLogging" + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook" }, { - "$ref": "#/definitions/AWS::IoT::ScheduledAudit" + "$ref": "#/definitions/AWS::CloudFormation::Macro" }, { - "$ref": "#/definitions/AWS::IoT::SecurityProfile" + "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::Thing" + "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" }, { - "$ref": "#/definitions/AWS::IoT::ThingPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" }, { - "$ref": "#/definitions/AWS::IoT::TopicRule" + "$ref": "#/definitions/AWS::CloudFormation::Publisher" }, { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination" + "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel" + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset" + "$ref": "#/definitions/AWS::CloudFormation::Stack" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore" + "$ref": "#/definitions/AWS::CloudFormation::StackSet" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline" + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" }, { - "$ref": "#/definitions/AWS::IoTCoreDeviceAdvisor::SuiteDefinition" + "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" }, { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel" + "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" }, { - "$ref": "#/definitions/AWS::IoTEvents::Input" + "$ref": "#/definitions/AWS::CloudWatch::Alarm" }, { - "$ref": "#/definitions/AWS::IoTFleetHub::Application" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy" + "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset" + "$ref": "#/definitions/AWS::CloudWatch::Dashboard" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel" + "$ref": "#/definitions/AWS::CloudWatch::InsightRule" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Dashboard" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway" + "$ref": "#/definitions/AWS::EC2::CapacityReservation" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Portal" + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Project" + "$ref": "#/definitions/AWS::EC2::CarrierGateway" }, { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate" + "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" }, { - "$ref": "#/definitions/AWS::IoTWireless::Destination" + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" }, { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile" + "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" }, { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask" + "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup" + "$ref": "#/definitions/AWS::EC2::CustomerGateway" }, { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount" + "$ref": "#/definitions/AWS::EC2::DHCPOptions" }, { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile" + "$ref": "#/definitions/AWS::EC2::EC2Fleet" }, { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition" + "$ref": "#/definitions/AWS::EC2::EIP" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice" + "$ref": "#/definitions/AWS::EC2::EIPAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway" + "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" }, { - "$ref": "#/definitions/AWS::KMS::Alias" + "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" }, { - "$ref": "#/definitions/AWS::KMS::Key" + "$ref": "#/definitions/AWS::EC2::FlowLog" }, { - "$ref": "#/definitions/AWS::KMS::ReplicaKey" + "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Kendra::DataSource" + "$ref": "#/definitions/AWS::EC2::Host" }, { - "$ref": "#/definitions/AWS::Kendra::Faq" + "$ref": "#/definitions/AWS::EC2::IPAM" }, { - "$ref": "#/definitions/AWS::Kendra::Index" + "$ref": "#/definitions/AWS::EC2::IPAMAllocation" }, { - "$ref": "#/definitions/AWS::Kinesis::Stream" + "$ref": "#/definitions/AWS::EC2::IPAMPool" }, { - "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" + "$ref": "#/definitions/AWS::EC2::IPAMPoolCidr" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscoveryAssociation" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::IPAMScope" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application" + "$ref": "#/definitions/AWS::EC2::Instance" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" + "$ref": "#/definitions/AWS::EC2::InstanceConnectEndpoint" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::InternetGateway" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::KeyPair" }, { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate" }, { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" }, { - "$ref": "#/definitions/AWS::LakeFormation::Permissions" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::LakeFormation::Resource" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::Alias" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" + "$ref": "#/definitions/AWS::EC2::NatGateway" }, { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" + "$ref": "#/definitions/AWS::EC2::NetworkAcl" }, { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" }, { - "$ref": "#/definitions/AWS::Lambda::Function" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersion" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScopeAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::Permission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" }, { - "$ref": "#/definitions/AWS::Lambda::Version" + "$ref": "#/definitions/AWS::EC2::NetworkInterface" }, { - "$ref": "#/definitions/AWS::LicenseManager::Grant" + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" }, { - "$ref": "#/definitions/AWS::LicenseManager::License" + "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" }, { - "$ref": "#/definitions/AWS::Lightsail::Database" + "$ref": "#/definitions/AWS::EC2::NetworkPerformanceMetricSubscription" }, { - "$ref": "#/definitions/AWS::Lightsail::Disk" + "$ref": "#/definitions/AWS::EC2::PlacementGroup" }, { - "$ref": "#/definitions/AWS::Lightsail::Instance" + "$ref": "#/definitions/AWS::EC2::PrefixList" }, { - "$ref": "#/definitions/AWS::Lightsail::StaticIp" + "$ref": "#/definitions/AWS::EC2::Route" }, { - "$ref": "#/definitions/AWS::Location::GeofenceCollection" + "$ref": "#/definitions/AWS::EC2::RouteTable" }, { - "$ref": "#/definitions/AWS::Location::Map" + "$ref": "#/definitions/AWS::EC2::SecurityGroup" }, { - "$ref": "#/definitions/AWS::Location::PlaceIndex" + "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" }, { - "$ref": "#/definitions/AWS::Location::RouteCalculator" + "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" }, { - "$ref": "#/definitions/AWS::Location::Tracker" + "$ref": "#/definitions/AWS::EC2::SecurityGroupVpcAssociation" }, { - "$ref": "#/definitions/AWS::Location::TrackerConsumer" + "$ref": "#/definitions/AWS::EC2::SnapshotBlockPublicAccess" }, { - "$ref": "#/definitions/AWS::Logs::Destination" + "$ref": "#/definitions/AWS::EC2::SpotFleet" }, { - "$ref": "#/definitions/AWS::Logs::LogGroup" + "$ref": "#/definitions/AWS::EC2::Subnet" }, { - "$ref": "#/definitions/AWS::Logs::LogStream" + "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" }, { - "$ref": "#/definitions/AWS::Logs::MetricFilter" + "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" }, { - "$ref": "#/definitions/AWS::Logs::QueryDefinition" + "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Logs::ResourcePolicy" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" }, { - "$ref": "#/definitions/AWS::Logs::SubscriptionFilter" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" }, { - "$ref": "#/definitions/AWS::LookoutEquipment::InferenceScheduler" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector" + "$ref": "#/definitions/AWS::EC2::TransitGateway" }, { - "$ref": "#/definitions/AWS::LookoutVision::Project" + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MSK::Cluster" + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" }, { - "$ref": "#/definitions/AWS::MWAA::Environment" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" }, { - "$ref": "#/definitions/AWS::Macie::CustomDataIdentifier" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" }, { - "$ref": "#/definitions/AWS::Macie::FindingsFilter" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" }, { - "$ref": "#/definitions/AWS::Macie::Session" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member" + "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" }, { - "$ref": "#/definitions/AWS::MediaConnect::Flow" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource" + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowVpcInterface" + "$ref": "#/definitions/AWS::EC2::VPC" }, { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessExclusion" }, { - "$ref": "#/definitions/AWS::MediaConvert::Preset" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessOptions" }, { - "$ref": "#/definitions/AWS::MediaConvert::Queue" + "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" }, { - "$ref": "#/definitions/AWS::MediaLive::Channel" + "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" }, { - "$ref": "#/definitions/AWS::MediaLive::Input" + "$ref": "#/definitions/AWS::EC2::VPCEndpoint" }, { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup" + "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" }, { - "$ref": "#/definitions/AWS::MediaPackage::Asset" + "$ref": "#/definitions/AWS::EC2::VPCEndpointService" }, { - "$ref": "#/definitions/AWS::MediaPackage::Channel" + "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" }, { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint" + "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration" + "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup" + "$ref": "#/definitions/AWS::EC2::VPNConnection" }, { - "$ref": "#/definitions/AWS::MediaStore::Container" + "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" }, { - "$ref": "#/definitions/AWS::MemoryDB::ACL" + "$ref": "#/definitions/AWS::EC2::VPNGateway" }, { - "$ref": "#/definitions/AWS::MemoryDB::Cluster" + "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" }, { - "$ref": "#/definitions/AWS::MemoryDB::ParameterGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint" }, { - "$ref": "#/definitions/AWS::MemoryDB::SubnetGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup" }, { - "$ref": "#/definitions/AWS::MemoryDB::User" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance" }, { - "$ref": "#/definitions/AWS::Neptune::DBCluster" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider" }, { - "$ref": "#/definitions/AWS::Neptune::DBClusterParameterGroup" + "$ref": "#/definitions/AWS::EC2::Volume" }, { - "$ref": "#/definitions/AWS::Neptune::DBInstance" + "$ref": "#/definitions/AWS::EC2::VolumeAttachment" }, { - "$ref": "#/definitions/AWS::Neptune::DBParameterGroup" + "$ref": "#/definitions/AWS::ECR::PublicRepository" }, { - "$ref": "#/definitions/AWS::Neptune::DBSubnetGroup" + "$ref": "#/definitions/AWS::ECR::PullThroughCacheRule" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall" + "$ref": "#/definitions/AWS::ECR::RegistryPolicy" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration" + "$ref": "#/definitions/AWS::ECR::Repository" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup" + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate" }, { - "$ref": "#/definitions/AWS::NetworkManager::CustomerGatewayAssociation" + "$ref": "#/definitions/AWS::EKS::AccessEntry" }, { - "$ref": "#/definitions/AWS::NetworkManager::Device" + "$ref": "#/definitions/AWS::EKS::Addon" }, { - "$ref": "#/definitions/AWS::NetworkManager::GlobalNetwork" + "$ref": "#/definitions/AWS::EKS::Cluster" }, { - "$ref": "#/definitions/AWS::NetworkManager::Link" + "$ref": "#/definitions/AWS::EKS::FargateProfile" }, { - "$ref": "#/definitions/AWS::NetworkManager::LinkAssociation" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig" }, { - "$ref": "#/definitions/AWS::NetworkManager::Site" + "$ref": "#/definitions/AWS::EKS::Nodegroup" }, { - "$ref": "#/definitions/AWS::NetworkManager::TransitGatewayRegistration" + "$ref": "#/definitions/AWS::EKS::PodIdentityAssociation" }, { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile" + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StreamingImage" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" }, { - "$ref": "#/definitions/AWS::NimbleStudio::Studio" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" }, { - "$ref": "#/definitions/AWS::OpenSearchService::Domain" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" }, { - "$ref": "#/definitions/AWS::OpsWorks::App" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" }, { - "$ref": "#/definitions/AWS::OpsWorks::ElasticLoadBalancerAttachment" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStore" }, { - "$ref": "#/definitions/AWS::OpsWorks::Instance" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation" }, { - "$ref": "#/definitions/AWS::OpsWorks::Layer" + "$ref": "#/definitions/AWS::Events::ApiDestination" }, { - "$ref": "#/definitions/AWS::OpsWorks::Stack" + "$ref": "#/definitions/AWS::Events::Archive" }, { - "$ref": "#/definitions/AWS::OpsWorks::UserProfile" + "$ref": "#/definitions/AWS::Events::Connection" }, { - "$ref": "#/definitions/AWS::OpsWorks::Volume" + "$ref": "#/definitions/AWS::Events::Endpoint" }, { - "$ref": "#/definitions/AWS::OpsWorksCM::Server" + "$ref": "#/definitions/AWS::Events::EventBus" }, { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance" + "$ref": "#/definitions/AWS::Events::EventBusPolicy" }, { - "$ref": "#/definitions/AWS::Panorama::Package" + "$ref": "#/definitions/AWS::Events::Rule" }, { - "$ref": "#/definitions/AWS::Panorama::PackageVersion" + "$ref": "#/definitions/AWS::IAM::AccessKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::ADMChannel" + "$ref": "#/definitions/AWS::IAM::Group" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSChannel" + "$ref": "#/definitions/AWS::IAM::GroupPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSSandboxChannel" + "$ref": "#/definitions/AWS::IAM::InstanceProfile" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipChannel" + "$ref": "#/definitions/AWS::IAM::ManagedPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipSandboxChannel" + "$ref": "#/definitions/AWS::IAM::OIDCProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::App" + "$ref": "#/definitions/AWS::IAM::Policy" }, { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings" + "$ref": "#/definitions/AWS::IAM::Role" }, { - "$ref": "#/definitions/AWS::Pinpoint::BaiduChannel" + "$ref": "#/definitions/AWS::IAM::RolePolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::Campaign" + "$ref": "#/definitions/AWS::IAM::SAMLProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailChannel" + "$ref": "#/definitions/AWS::IAM::ServerCertificate" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailTemplate" + "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" }, { - "$ref": "#/definitions/AWS::Pinpoint::EventStream" + "$ref": "#/definitions/AWS::IAM::User" }, { - "$ref": "#/definitions/AWS::Pinpoint::GCMChannel" + "$ref": "#/definitions/AWS::IAM::UserPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate" + "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" }, { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate" + "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" }, { - "$ref": "#/definitions/AWS::Pinpoint::SMSChannel" + "$ref": "#/definitions/AWS::KMS::Alias" }, { - "$ref": "#/definitions/AWS::Pinpoint::Segment" + "$ref": "#/definitions/AWS::KMS::Key" }, { - "$ref": "#/definitions/AWS::Pinpoint::SmsTemplate" + "$ref": "#/definitions/AWS::KMS::ReplicaKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::VoiceChannel" + "$ref": "#/definitions/AWS::Kinesis::ResourcePolicy" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet" + "$ref": "#/definitions/AWS::Kinesis::Stream" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination" + "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" }, { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool" + "$ref": "#/definitions/AWS::Lambda::Alias" }, { - "$ref": "#/definitions/AWS::PinpointEmail::Identity" + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Ledger" + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Stream" + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" }, { - "$ref": "#/definitions/AWS::QuickSight::Analysis" + "$ref": "#/definitions/AWS::Lambda::Function" }, { - "$ref": "#/definitions/AWS::QuickSight::Dashboard" + "$ref": "#/definitions/AWS::Lambda::LayerVersion" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSet" + "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSource" + "$ref": "#/definitions/AWS::Lambda::Permission" }, { - "$ref": "#/definitions/AWS::QuickSight::Template" + "$ref": "#/definitions/AWS::Lambda::Url" }, { - "$ref": "#/definitions/AWS::QuickSight::Theme" + "$ref": "#/definitions/AWS::Lambda::Version" }, { - "$ref": "#/definitions/AWS::RAM::ResourceShare" + "$ref": "#/definitions/AWS::RDS::CustomDBEngineVersion" }, { "$ref": "#/definitions/AWS::RDS::DBCluster" @@ -125638,6 +32697,9 @@ var SamSchema = `{ { "$ref": "#/definitions/AWS::RDS::DBSecurityGroupIngress" }, + { + "$ref": "#/definitions/AWS::RDS::DBShardGroup" + }, { "$ref": "#/definitions/AWS::RDS::DBSubnetGroup" }, @@ -125648,79 +32710,22 @@ var SamSchema = `{ "$ref": "#/definitions/AWS::RDS::GlobalCluster" }, { - "$ref": "#/definitions/AWS::RDS::OptionGroup" - }, - { - "$ref": "#/definitions/AWS::RUM::AppMonitor" - }, - { - "$ref": "#/definitions/AWS::Redshift::Cluster" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAccess" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAuthorization" - }, - { - "$ref": "#/definitions/AWS::Redshift::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Application" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Environment" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Route" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Service" - }, - { - "$ref": "#/definitions/AWS::Rekognition::Project" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::App" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy" - }, - { - "$ref": "#/definitions/AWS::ResourceGroups::Group" - }, - { - "$ref": "#/definitions/AWS::RoboMaker::Fleet" + "$ref": "#/definitions/AWS::RDS::Integration" }, { - "$ref": "#/definitions/AWS::RoboMaker::Robot" + "$ref": "#/definitions/AWS::RDS::OptionGroup" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::CRL" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplicationVersion" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplicationVersion" + "$ref": "#/definitions/AWS::Route53::CidrCollection" }, { "$ref": "#/definitions/AWS::Route53::DNSSEC" @@ -125741,58 +32746,13 @@ var SamSchema = `{ "$ref": "#/definitions/AWS::Route53::RecordSetGroup" }, { - "$ref": "#/definitions/AWS::Route53RecoveryControl::Cluster" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::ControlPanel" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::RoutingControl" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::Cell" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ReadinessCheck" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::RecoveryGroup" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallDomainList" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverDNSSECConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint" + "$ref": "#/definitions/AWS::S3::AccessGrant" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfig" + "$ref": "#/definitions/AWS::S3::AccessGrantsInstance" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRuleAssociation" + "$ref": "#/definitions/AWS::S3::AccessGrantsLocation" }, { "$ref": "#/definitions/AWS::S3::AccessPoint" @@ -125813,46 +32773,7 @@ var SamSchema = `{ "$ref": "#/definitions/AWS::S3::StorageLens" }, { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPointPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Bucket" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::BucketPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SDB::Domain" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSet" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination" - }, - { - "$ref": "#/definitions/AWS::SES::ContactList" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptFilter" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRule" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRuleSet" - }, - { - "$ref": "#/definitions/AWS::SES::Template" + "$ref": "#/definitions/AWS::S3::StorageLensGroup" }, { "$ref": "#/definitions/AWS::SNS::Subscription" @@ -125861,145 +32782,19 @@ var SamSchema = `{ "$ref": "#/definitions/AWS::SNS::Topic" }, { - "$ref": "#/definitions/AWS::SNS::TopicPolicy" - }, - { - "$ref": "#/definitions/AWS::SQS::Queue" - }, - { - "$ref": "#/definitions/AWS::SQS::QueuePolicy" - }, - { - "$ref": "#/definitions/AWS::SSM::Association" - }, - { - "$ref": "#/definitions/AWS::SSM::Document" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindow" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask" - }, - { - "$ref": "#/definitions/AWS::SSM::Parameter" - }, - { - "$ref": "#/definitions/AWS::SSM::PatchBaseline" - }, - { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::Contact" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::ContactChannel" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan" - }, - { - "$ref": "#/definitions/AWS::SSO::Assignment" - }, - { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration" - }, - { - "$ref": "#/definitions/AWS::SSO::PermissionSet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::App" - }, - { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Device" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Domain" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Image" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ImageVersion" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Model" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelPackageGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstance" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Pipeline" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Project" - }, - { - "$ref": "#/definitions/AWS::SageMaker::UserProfile" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Workteam" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::ResourcePolicy" + "$ref": "#/definitions/AWS::SNS::TopicInlinePolicy" }, { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule" + "$ref": "#/definitions/AWS::SNS::TopicPolicy" }, { - "$ref": "#/definitions/AWS::SecretsManager::Secret" + "$ref": "#/definitions/AWS::SQS::Queue" }, { - "$ref": "#/definitions/AWS::SecretsManager::SecretTargetAttachment" + "$ref": "#/definitions/AWS::SQS::QueueInlinePolicy" }, { - "$ref": "#/definitions/AWS::SecurityHub::Hub" + "$ref": "#/definitions/AWS::SQS::QueuePolicy" }, { "$ref": "#/definitions/AWS::Serverless::Api" @@ -126018,210 +32813,6 @@ var SamSchema = `{ }, { "$ref": "#/definitions/AWS::Serverless::StateMachine" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::AcceptedPortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchNotificationConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchRoleConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchTemplateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::Portfolio" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioPrincipalAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioProductAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ResourceUpdateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceActionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::StackSetConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOption" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOptionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::Application" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroup" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::ResourceAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::HttpNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Instance" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service" - }, - { - "$ref": "#/definitions/AWS::Signer::ProfilePermission" - }, - { - "$ref": "#/definitions/AWS::Signer::SigningProfile" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::Activity" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine" - }, - { - "$ref": "#/definitions/AWS::Synthetics::Canary" - }, - { - "$ref": "#/definitions/AWS::Timestream::Database" - }, - { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery" - }, - { - "$ref": "#/definitions/AWS::Timestream::Table" - }, - { - "$ref": "#/definitions/AWS::Transfer::Server" - }, - { - "$ref": "#/definitions/AWS::Transfer::User" - }, - { - "$ref": "#/definitions/AWS::Transfer::Workflow" - }, - { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAF::Rule" - }, - { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAF::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::Rule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::Assistant" - }, - { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::ConnectionAlias" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace" - }, - { - "$ref": "#/definitions/AWS::XRay::Group" - }, - { - "$ref": "#/definitions/AWS::XRay::SamplingRule" - }, - { - "$ref": "#/definitions/Alexa::ASK::Skill" } ] } diff --git a/pkg/goformation/schema/sam.schema.json b/pkg/goformation/schema/sam.schema.json index 8ca64e0b4b..67a07cb304 100644 --- a/pkg/goformation/schema/sam.schema.json +++ b/pkg/goformation/schema/sam.schema.json @@ -2,9 +2,12 @@ "$id": "http://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { - "AWS::ACMPCA::Certificate": { + "AWS::AutoScaling::AutoScalingGroup": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -34,42 +37,154 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiPassthrough": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ApiPassthrough" + "AutoScalingGroupName": { + "type": "string" + }, + "AvailabilityZoneDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution" + }, + "AvailabilityZoneImpairmentPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CapacityRebalance": { + "type": "boolean" + }, + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification" + }, + "Context": { + "type": "string" + }, + "Cooldown": { + "type": "string" + }, + "DefaultInstanceWarmup": { + "type": "number" + }, + "DesiredCapacity": { + "type": "string" + }, + "DesiredCapacityType": { + "type": "string" }, - "CertificateAuthorityArn": { + "HealthCheckGracePeriod": { + "type": "number" + }, + "HealthCheckType": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "InstanceMaintenancePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy" + }, + "LaunchConfigurationName": { + "type": "string" + }, + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" + }, + "LifecycleHookSpecificationList": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" + }, + "type": "array" + }, + "LoadBalancerNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxInstanceLifetime": { + "type": "number" + }, + "MaxSize": { "type": "string" }, - "CertificateSigningRequest": { + "MetricsCollection": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" + }, + "type": "array" + }, + "MinSize": { "type": "string" }, - "SigningAlgorithm": { + "MixedInstancesPolicy": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" + }, + "NewInstancesProtectedFromScaleIn": { + "type": "boolean" + }, + "NotificationConfigurations": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" + }, + "type": "array" + }, + "PlacementGroup": { "type": "string" }, - "TemplateArn": { + "ServiceLinkedRoleARN": { "type": "string" }, - "Validity": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "SkipZonalShiftValidation": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" + }, + "type": "array" + }, + "TargetGroupARNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TerminationPolicies": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TrafficSources": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier" + }, + "type": "array" }, - "ValidityNotBefore": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Validity" + "VPCZoneIdentifier": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "CertificateAuthorityArn", - "CertificateSigningRequest", - "SigningAlgorithm", - "Validity" + "MaxSize", + "MinSize" ], "type": "object" }, "Type": { "enum": [ - "AWS::ACMPCA::Certificate" + "AWS::AutoScaling::AutoScalingGroup" ], "type": "string" }, + "UpdatePolicy": { + "type": "object" + }, "UpdateReplacePolicy": { "enum": [ "Delete", @@ -85,655 +200,523 @@ ], "type": "object" }, - "AWS::ACMPCA::Certificate.ApiPassthrough": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "Extensions": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Extensions" + "Max": { + "type": "number" }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.EdiPartyName": { + "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "NameAssigner": { - "type": "string" + "Max": { + "type": "number" }, - "PartyName": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "NameAssigner", - "PartyName" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.ExtendedKeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneDistribution": { "additionalProperties": false, "properties": { - "ExtendedKeyUsageObjectIdentifier": { - "type": "string" - }, - "ExtendedKeyUsageType": { + "CapacityDistributionStrategy": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.Extensions": { + "AWS::AutoScaling::AutoScalingGroup.AvailabilityZoneImpairmentPolicy": { "additionalProperties": false, "properties": { - "CertificatePolicies": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyInformation" - }, - "type": "array" - }, - "ExtendedKeyUsage": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.ExtendedKeyUsage" - }, - "type": "array" - }, - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.KeyUsage" + "ImpairedZoneHealthCheckBehavior": { + "type": "string" }, - "SubjectAlternativeNames": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.GeneralName" - }, - "type": "array" + "ZonalShiftEnabled": { + "type": "boolean" } }, + "required": [ + "ImpairedZoneHealthCheckBehavior", + "ZonalShiftEnabled" + ], "type": "object" }, - "AWS::ACMPCA::Certificate.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Subject" - }, - "DnsName": { - "type": "string" - }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.EdiPartyName" - }, - "IpAddress": { - "type": "string" - }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.OtherName" - }, - "RegisteredId": { - "type": "string" - }, - "Rfc822Name": { - "type": "string" + "Max": { + "type": "number" }, - "UniformResourceIdentifier": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" - }, - "NonRepudiation": { - "type": "boolean" + "Cpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest" } }, "type": "object" }, - "AWS::ACMPCA::Certificate.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "TypeId": { + "CapacityReservationPreference": { "type": "string" }, - "Value": { - "type": "string" + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget" } }, "required": [ - "TypeId", - "Value" + "CapacityReservationPreference" ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyInformation": { + "AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "CertPolicyId": { - "type": "string" + "CapacityReservationIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "PolicyQualifiers": { + "CapacityReservationResourceGroupArns": { "items": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.PolicyQualifierInfo" + "type": "string" }, "type": "array" } }, - "required": [ - "CertPolicyId" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.PolicyQualifierInfo": { + "AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "PolicyQualifierId": { - "type": "string" - }, - "Qualifier": { - "$ref": "#/definitions/AWS::ACMPCA::Certificate.Qualifier" + "References": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, - "required": [ - "PolicyQualifierId", - "Qualifier" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Qualifier": { + "AWS::AutoScaling::AutoScalingGroup.InstanceMaintenancePolicy": { "additionalProperties": false, "properties": { - "CpsUri": { - "type": "string" + "MaxHealthyPercentage": { + "type": "number" + }, + "MinHealthyPercentage": { + "type": "number" } }, - "required": [ - "CpsUri" - ], "type": "object" }, - "AWS::ACMPCA::Certificate.Subject": { + "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" }, - "Country": { - "type": "string" + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "DistinguishedNameQualifier": { - "type": "string" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "GenerationQualifier": { - "type": "string" + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" }, - "GivenName": { - "type": "string" + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Initials": { - "type": "string" + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Locality": { + "BareMetal": { "type": "string" }, - "Organization": { - "type": "string" + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" }, - "OrganizationalUnit": { - "type": "string" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest" }, - "Pseudonym": { + "BurstablePerformance": { "type": "string" }, - "SerialNumber": { - "type": "string" + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "State": { - "type": "string" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Surname": { - "type": "string" + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::Certificate.Validity": { - "additionalProperties": false, - "properties": { - "Type": { + "LocalStorage": { "type": "string" }, - "Value": { + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" } }, "required": [ - "Type", - "Value" + "MemoryMiB", + "VCpuCount" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority": { + "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "OnDemandAllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "OnDemandBaseCapacity": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsrExtensions": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CsrExtensions" - }, - "KeyAlgorithm": { - "type": "string" - }, - "KeyStorageSecurityStandard": { - "type": "string" - }, - "RevocationConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.RevocationConfiguration" - }, - "SigningAlgorithm": { - "type": "string" - }, - "Subject": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "KeyAlgorithm", - "SigningAlgorithm", - "Subject", - "Type" - ], - "type": "object" + "OnDemandPercentageAboveBaseCapacity": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthority" - ], + "SpotAllocationStrategy": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SpotInstancePools": { + "type": "number" + }, + "SpotMaxPrice": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessDescription": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { "additionalProperties": false, "properties": { - "AccessLocation": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.GeneralName" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "AccessMethod": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessMethod" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + }, + "type": "array" } }, "required": [ - "AccessLocation", - "AccessMethod" + "LaunchTemplateSpecification" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.AccessMethod": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "AccessMethodType": { - "type": "string" + "InstanceRequirements": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" }, - "CustomObjectIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.CrlConfiguration": { - "additionalProperties": false, - "properties": { - "CustomCname": { + "InstanceType": { "type": "string" }, - "Enabled": { - "type": "boolean" - }, - "ExpirationInDays": { - "type": "number" - }, - "S3BucketName": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "S3ObjectAcl": { + "WeightedCapacity": { "type": "string" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.CsrExtensions": { + "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "KeyUsage": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.KeyUsage" + "LaunchTemplateId": { + "type": "string" }, - "SubjectInformationAccess": { - "items": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.AccessDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ACMPCA::CertificateAuthority.EdiPartyName": { - "additionalProperties": false, - "properties": { - "NameAssigner": { + "LaunchTemplateName": { "type": "string" }, - "PartyName": { + "Version": { "type": "string" } }, "required": [ - "NameAssigner", - "PartyName" + "Version" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.GeneralName": { + "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { "additionalProperties": false, "properties": { - "DirectoryName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.Subject" - }, - "DnsName": { + "DefaultResult": { "type": "string" }, - "EdiPartyName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.EdiPartyName" + "HeartbeatTimeout": { + "type": "number" }, - "IpAddress": { + "LifecycleHookName": { "type": "string" }, - "OtherName": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OtherName" + "LifecycleTransition": { + "type": "string" }, - "RegisteredId": { + "NotificationMetadata": { "type": "string" }, - "Rfc822Name": { + "NotificationTargetARN": { "type": "string" }, - "UniformResourceIdentifier": { + "RoleARN": { "type": "string" } }, + "required": [ + "LifecycleHookName", + "LifecycleTransition" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.KeyUsage": { + "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "CRLSign": { - "type": "boolean" - }, - "DataEncipherment": { - "type": "boolean" - }, - "DecipherOnly": { - "type": "boolean" - }, - "DigitalSignature": { - "type": "boolean" - }, - "EncipherOnly": { - "type": "boolean" - }, - "KeyAgreement": { - "type": "boolean" - }, - "KeyCertSign": { - "type": "boolean" - }, - "KeyEncipherment": { - "type": "boolean" + "Max": { + "type": "number" }, - "NonRepudiation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OcspConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Max": { + "type": "number" }, - "OcspCustomCname": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.OtherName": { + "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { "additionalProperties": false, "properties": { - "TypeId": { + "Granularity": { "type": "string" }, - "Value": { - "type": "string" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "TypeId", - "Value" + "Granularity" ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration": { + "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { "additionalProperties": false, "properties": { - "CrlConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.CrlConfiguration" + "InstancesDistribution": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" }, - "OcspConfiguration": { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority.OcspConfiguration" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" } }, + "required": [ + "LaunchTemplate" + ], "type": "object" }, - "AWS::ACMPCA::CertificateAuthority.Subject": { + "AWS::AutoScaling::AutoScalingGroup.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "CommonName": { - "type": "string" - }, - "Country": { - "type": "string" - }, - "DistinguishedNameQualifier": { - "type": "string" - }, - "GenerationQualifier": { - "type": "string" + "Max": { + "type": "number" }, - "GivenName": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Initials": { - "type": "string" - }, - "Locality": { - "type": "string" - }, - "Organization": { - "type": "string" - }, - "OrganizationalUnit": { - "type": "string" + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "additionalProperties": false, + "properties": { + "NotificationTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Pseudonym": { + "TopicARN": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "TopicARN" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { "type": "string" - }, - "SerialNumber": { + } + }, + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "State": { - "type": "string" + "PropagateAtLaunch": { + "type": "boolean" }, - "Surname": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "PropagateAtLaunch", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" }, - "Title": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ACMPCA::CertificateAuthorityActivation": { + "AWS::AutoScaling::AutoScalingGroup.TrafficSourceIdentifier": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Identifier": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "CertificateAuthorityArn": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Certificate", - "CertificateAuthorityArn" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::ACMPCA::CertificateAuthorityActivation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Identifier", + "Type" ], "type": "object" }, - "AWS::ACMPCA::Permission": { + "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -765,108 +748,82 @@ "Properties": { "additionalProperties": false, "properties": { - "Actions": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" + }, + "type": "array" + }, + "ClassicLinkVPCId": { + "type": "string" + }, + "ClassicLinkVPCSecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "CertificateAuthorityArn": { + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { "type": "string" }, - "Principal": { + "ImageId": { "type": "string" }, - "SourceAccount": { + "InstanceId": { "type": "string" - } - }, - "required": [ - "Actions", - "CertificateAuthorityArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ACMPCA::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::APS::RuleGroupsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "InstanceMonitoring": { + "type": "boolean" + }, + "InstanceType": { "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Data": { + "KernelId": { "type": "string" }, - "Name": { + "KeyName": { "type": "string" }, - "Tags": { + "LaunchConfigurationName": { + "type": "string" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + }, + "PlacementTenancy": { + "type": "string" + }, + "RamDiskId": { + "type": "string" + }, + "SecurityGroups": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Workspace": { + "SpotPrice": { + "type": "string" + }, + "UserData": { "type": "string" } }, "required": [ - "Data", - "Name", - "Workspace" + "ImageId", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::APS::RuleGroupsNamespace" + "AWS::AutoScaling::LaunchConfiguration" ], "type": "string" }, @@ -885,74 +842,70 @@ ], "type": "object" }, - "AWS::APS::Workspace": { + "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Encrypted": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Iops": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlertManagerDefinition": { - "type": "string" - }, - "Alias": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" + "SnapshotId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::APS::Workspace" - ], + "Throughput": { + "type": "number" + }, + "VolumeSize": { + "type": "number" + }, + "VolumeType": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { + "additionalProperties": false, + "properties": { + "DeviceName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ebs": { + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" + }, + "NoDevice": { + "type": "boolean" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Type" + "DeviceName" ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer": { + "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { + "additionalProperties": false, + "properties": { + "HttpEndpoint": { + "type": "string" + }, + "HttpPutResponseHopLimit": { + "type": "number" + }, + "HttpTokens": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::AutoScaling::LifecycleHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -984,33 +937,40 @@ "Properties": { "additionalProperties": false, "properties": { - "AnalyzerName": { + "AutoScalingGroupName": { "type": "string" }, - "ArchiveRules": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.ArchiveRule" - }, - "type": "array" + "DefaultResult": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HeartbeatTimeout": { + "type": "number" }, - "Type": { + "LifecycleHookName": { + "type": "string" + }, + "LifecycleTransition": { + "type": "string" + }, + "NotificationMetadata": { + "type": "string" + }, + "NotificationTargetARN": { + "type": "string" + }, + "RoleARN": { "type": "string" } }, "required": [ - "Type" + "AutoScalingGroupName", + "LifecycleTransition" ], "type": "object" }, "Type": { "enum": [ - "AWS::AccessAnalyzer::Analyzer" + "AWS::AutoScaling::LifecycleHook" ], "type": "string" }, @@ -1029,59 +989,7 @@ ], "type": "object" }, - "AWS::AccessAnalyzer::Analyzer.ArchiveRule": { - "additionalProperties": false, - "properties": { - "Filter": { - "items": { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer.Filter" - }, - "type": "array" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "Filter", - "RuleName" - ], - "type": "object" - }, - "AWS::AccessAnalyzer::Analyzer.Filter": { - "additionalProperties": false, - "properties": { - "Contains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Exists": { - "type": "boolean" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmazonMQ::Broker": { + "AWS::AutoScaling::ScalingPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1113,88 +1021,51 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AdjustmentType": { "type": "string" }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "BrokerName": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.ConfigurationId" - }, - "DeploymentMode": { + "Cooldown": { "type": "string" }, - "EncryptionOptions": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.EncryptionOptions" + "EstimatedInstanceWarmup": { + "type": "number" }, - "EngineType": { + "MetricAggregationType": { "type": "string" }, - "EngineVersion": { - "type": "string" + "MinAdjustmentMagnitude": { + "type": "number" }, - "HostInstanceType": { + "PolicyType": { "type": "string" }, - "LdapServerMetadata": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LdapServerMetadata" - }, - "Logs": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.LogList" - }, - "MaintenanceWindowStartTime": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.MaintenanceWindow" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageType": { - "type": "string" + "PredictiveScalingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ScalingAdjustment": { + "type": "number" }, - "Tags": { + "StepAdjustments": { "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.TagsEntry" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" }, "type": "array" }, - "Users": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Broker.User" - }, - "type": "array" + "TargetTrackingConfiguration": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoMinorVersionUpgrade", - "BrokerName", - "DeploymentMode", - "EngineType", - "EngineVersion", - "HostInstanceType", - "PubliclyAccessible", - "Users" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Broker" + "AWS::AutoScaling::ScalingPolicy" ], "type": "string" }, @@ -1213,162 +1084,371 @@ ], "type": "object" }, - "AWS::AmazonMQ::Broker.ConfigurationId": { + "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { "additionalProperties": false, "properties": { - "Id": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery" + }, + "type": "array" + }, + "Namespace": { "type": "string" }, - "Revision": { + "Period": { "type": "number" + }, + "Statistic": { + "type": "string" + }, + "Unit": { + "type": "string" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::AmazonMQ::Broker.EncryptionOptions": { + "AWS::AutoScaling::ScalingPolicy.Metric": { "additionalProperties": false, "properties": { - "KmsKeyId": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "UseAwsOwnedKey": { - "type": "boolean" + "Namespace": { + "type": "string" } }, "required": [ - "UseAwsOwnedKey" + "MetricName", + "Namespace" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LdapServerMetadata": { + "AWS::AutoScaling::ScalingPolicy.MetricDataQuery": { "additionalProperties": false, "properties": { - "Hosts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleBase": { + "Expression": { "type": "string" }, - "RoleName": { + "Id": { "type": "string" }, - "RoleSearchMatching": { + "Label": { "type": "string" }, - "RoleSearchSubtree": { + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricStat" + }, + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricDimension": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" }, - "ServiceAccountPassword": { + "Value": { "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" }, - "ServiceAccountUsername": { + "Stat": { "type": "string" }, - "UserBase": { + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "UserRoleName": { + "ResourceLabel": { "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { + "additionalProperties": false, + "properties": { + "MaxCapacityBreachBehavior": { + "type": "string" + }, + "MaxCapacityBuffer": { + "type": "number" + }, + "MetricSpecifications": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" + }, + "type": "array" }, - "UserSearchMatching": { + "Mode": { "type": "string" }, - "UserSearchSubtree": { - "type": "boolean" + "SchedulingBufferTime": { + "type": "number" } }, "required": [ - "Hosts", - "RoleBase", - "RoleSearchMatching", - "ServiceAccountPassword", - "ServiceAccountUsername", - "UserBase", - "UserSearchMatching" + "MetricSpecifications" ], "type": "object" }, - "AWS::AmazonMQ::Broker.LogList": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric": { "additionalProperties": false, "properties": { - "Audit": { - "type": "boolean" + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDataQuery" + }, + "type": "array" + } + }, + "required": [ + "MetricDataQueries" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { + "additionalProperties": false, + "properties": { + "CustomizedCapacityMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric" }, - "General": { - "type": "boolean" + "CustomizedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric" + }, + "CustomizedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric" + }, + "PredefinedLoadMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" + }, + "PredefinedMetricPairSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" + }, + "PredefinedScalingMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" + }, + "TargetValue": { + "type": "number" } }, + "required": [ + "TargetValue" + ], "type": "object" }, - "AWS::AmazonMQ::Broker.MaintenanceWindow": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { "additionalProperties": false, "properties": { - "DayOfWeek": { + "PredefinedMetricType": { "type": "string" }, - "TimeOfDay": { + "ResourceLabel": { + "type": "string" + } + }, + "required": [ + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { + "additionalProperties": false, + "properties": { + "PredefinedMetricType": { "type": "string" }, - "TimeZone": { + "ResourceLabel": { "type": "string" } }, "required": [ - "DayOfWeek", - "TimeOfDay", - "TimeZone" + "PredefinedMetricType" ], "type": "object" }, - "AWS::AmazonMQ::Broker.TagsEntry": { + "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { "additionalProperties": false, "properties": { - "Key": { + "PredefinedMetricType": { "type": "string" }, - "Value": { + "ResourceLabel": { "type": "string" } }, "required": [ - "Key", - "Value" + "PredefinedMetricType" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { + "additionalProperties": false, + "properties": { + "MetricIntervalLowerBound": { + "type": "number" + }, + "MetricIntervalUpperBound": { + "type": "number" + }, + "ScalingAdjustment": { + "type": "number" + } + }, + "required": [ + "ScalingAdjustment" ], "type": "object" }, - "AWS::AmazonMQ::Broker.User": { + "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { "additionalProperties": false, "properties": { - "ConsoleAccess": { + "CustomizedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" + }, + "DisableScaleIn": { "type": "boolean" }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" + "PredefinedMetricSpecification": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" }, - "Password": { + "TargetValue": { + "type": "number" + } + }, + "required": [ + "TargetValue" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricDataQuery": { + "additionalProperties": false, + "properties": { + "Expression": { "type": "string" }, - "Username": { + "Id": { + "type": "string" + }, + "Label": { "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" } }, "required": [ - "Password", - "Username" + "Id" + ], + "type": "object" + }, + "AWS::AutoScaling::ScalingPolicy.TargetTrackingMetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Stat" ], "type": "object" }, - "AWS::AmazonMQ::Configuration": { + "AWS::AutoScaling::ScheduledAction": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1400,42 +1480,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationStrategy": { + "AutoScalingGroupName": { "type": "string" }, - "Data": { - "type": "string" + "DesiredCapacity": { + "type": "number" }, - "Description": { + "EndTime": { "type": "string" }, - "EngineType": { - "type": "string" + "MaxSize": { + "type": "number" }, - "EngineVersion": { + "MinSize": { + "type": "number" + }, + "Recurrence": { "type": "string" }, - "Name": { + "StartTime": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration.TagsEntry" - }, - "type": "array" + "TimeZone": { + "type": "string" } }, "required": [ - "Data", - "EngineType", - "EngineVersion", - "Name" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::Configuration" + "AWS::AutoScaling::ScheduledAction" ], "type": "string" }, @@ -1454,23 +1531,7 @@ ], "type": "object" }, - "AWS::AmazonMQ::Configuration.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AmazonMQ::ConfigurationAssociation": { + "AWS::AutoScaling::WarmPool": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1502,22 +1563,30 @@ "Properties": { "additionalProperties": false, "properties": { - "Broker": { + "AutoScalingGroupName": { "type": "string" }, - "Configuration": { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId" + "InstanceReusePolicy": { + "$ref": "#/definitions/AWS::AutoScaling::WarmPool.InstanceReusePolicy" + }, + "MaxGroupPreparedCapacity": { + "type": "number" + }, + "MinSize": { + "type": "number" + }, + "PoolState": { + "type": "string" } }, "required": [ - "Broker", - "Configuration" + "AutoScalingGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmazonMQ::ConfigurationAssociation" + "AWS::AutoScaling::WarmPool" ], "type": "string" }, @@ -1536,23 +1605,16 @@ ], "type": "object" }, - "AWS::AmazonMQ::ConfigurationAssociation.ConfigurationId": { + "AWS::AutoScaling::WarmPool.InstanceReusePolicy": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" - }, - "Revision": { - "type": "number" + "ReuseOnScaleIn": { + "type": "boolean" } }, - "required": [ - "Id", - "Revision" - ], "type": "object" }, - "AWS::Amplify::App": { + "AWS::CloudFormation::CustomResource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1584,66 +1646,21 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "AutoBranchCreationConfig": { - "$ref": "#/definitions/AWS::Amplify::App.AutoBranchCreationConfig" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "CustomHeaders": { - "type": "string" - }, - "CustomRules": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.CustomRule" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "EnableBranchAutoDeletion": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "IAMServiceRole": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OauthToken": { - "type": "string" + "ServiceTimeout": { + "type": "number" }, - "Repository": { + "ServiceToken": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Name" + "ServiceToken" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::App" + "AWS::CloudFormation::CustomResource" ], "type": "string" }, @@ -1662,102 +1679,7 @@ ], "type": "object" }, - "AWS::Amplify::App.AutoBranchCreationConfig": { - "additionalProperties": false, - "properties": { - "AutoBranchCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::App.BasicAuthConfig" - }, - "BuildSpec": { - "type": "string" - }, - "EnableAutoBranchCreation": { - "type": "boolean" - }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" - }, - "EnablePullRequestPreview": { - "type": "boolean" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::App.EnvironmentVariable" - }, - "type": "array" - }, - "PullRequestEnvironmentName": { - "type": "string" - }, - "Stage": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.BasicAuthConfig": { - "additionalProperties": false, - "properties": { - "EnableBasicAuth": { - "type": "boolean" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Amplify::App.CustomRule": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Source", - "Target" - ], - "type": "object" - }, - "AWS::Amplify::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Amplify::Branch": { + "AWS::CloudFormation::GuardHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -1789,58 +1711,53 @@ "Properties": { "additionalProperties": false, "properties": { - "AppId": { + "Alias": { "type": "string" }, - "BasicAuthConfig": { - "$ref": "#/definitions/AWS::Amplify::Branch.BasicAuthConfig" - }, - "BranchName": { + "ExecutionRole": { "type": "string" }, - "BuildSpec": { + "FailureMode": { "type": "string" }, - "Description": { + "HookStatus": { "type": "string" }, - "EnableAutoBuild": { - "type": "boolean" - }, - "EnablePerformanceMode": { - "type": "boolean" + "LogBucket": { + "type": "string" }, - "EnablePullRequestPreview": { - "type": "boolean" + "Options": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.Options" }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Branch.EnvironmentVariable" - }, - "type": "array" + "RuleLocation": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" }, - "PullRequestEnvironmentName": { - "type": "string" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackFilters" }, - "Stage": { - "type": "string" + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.TargetFilters" }, - "Tags": { + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "AppId", - "BranchName" + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "RuleLocation", + "TargetOperations" ], "type": "object" }, "Type": { "enum": [ - "AWS::Amplify::Branch" + "AWS::CloudFormation::GuardHook" ], "type": "string" }, @@ -1859,143 +1776,135 @@ ], "type": "object" }, - "AWS::Amplify::Branch.BasicAuthConfig": { + "AWS::CloudFormation::GuardHook.HookTarget": { "additionalProperties": false, "properties": { - "EnableBasicAuth": { - "type": "boolean" + "Action": { + "type": "string" }, - "Password": { + "InvocationPoint": { "type": "string" }, - "Username": { + "TargetName": { "type": "string" } }, "required": [ - "Password", - "Username" + "Action", + "InvocationPoint", + "TargetName" ], "type": "object" }, - "AWS::Amplify::Branch.EnvironmentVariable": { + "AWS::CloudFormation::GuardHook.Options": { "additionalProperties": false, "properties": { - "Name": { + "InputParams": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.S3Location" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.S3Location": { + "additionalProperties": false, + "properties": { + "Uri": { "type": "string" }, - "Value": { + "VersionId": { "type": "string" } }, "required": [ - "Name", - "Value" + "Uri" ], "type": "object" }, - "AWS::Amplify::Domain": { + "AWS::CloudFormation::GuardHook.StackFilters": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "FilteringCriteria": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackNames" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppId": { - "type": "string" - }, - "AutoSubDomainCreationPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoSubDomainIAMRole": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "EnableAutoSubDomain": { - "type": "boolean" - }, - "SubDomainSettings": { - "items": { - "$ref": "#/definitions/AWS::Amplify::Domain.SubDomainSetting" - }, - "type": "array" - } + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" }, - "required": [ - "AppId", - "DomainName", - "SubDomainSettings" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Amplify::Domain" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::GuardHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Amplify::Domain.SubDomainSetting": { + "AWS::CloudFormation::GuardHook.TargetFilters": { "additionalProperties": false, "properties": { - "BranchName": { - "type": "string" + "Actions": { + "items": { + "type": "string" + }, + "type": "array" }, - "Prefix": { - "type": "string" + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::GuardHook.HookTarget" + }, + "type": "array" } }, - "required": [ - "BranchName", - "Prefix" - ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component": { + "AWS::CloudFormation::HookDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2027,78 +1936,21 @@ "Properties": { "additionalProperties": false, "properties": { - "BindingProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue" - } - }, - "type": "object" - }, - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "CollectionProperties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration" - } - }, - "type": "object" - }, - "ComponentType": { + "TypeName": { "type": "string" }, - "Name": { + "TypeVersionArn": { "type": "string" }, - "Overrides": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverridesValue" - } - }, - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "SourceId": { + "VersionId": { "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Variants": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariant" - }, - "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Component" + "AWS::CloudFormation::HookDefaultVersion" ], "type": "string" }, @@ -2116,272 +1968,7 @@ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValue": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties" - }, - "DefaultValue": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentBindingPropertiesValueProperties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Field": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "UserAttribute": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentChild": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentChild" - }, - "type": "array" - }, - "ComponentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperties" - } - }, - "required": [ - "ComponentType", - "Name", - "Properties" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentConditionProperty": { - "additionalProperties": false, - "properties": { - "Else": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Property": { - "type": "string" - }, - "Then": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentDataConfiguration": { - "additionalProperties": false, - "properties": { - "Identifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Model": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "Sort": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.SortProperty" - }, - "type": "array" - } - }, - "required": [ - "Model" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverrides": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentOverridesValue": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperties": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentProperty": { - "additionalProperties": false, - "properties": { - "BindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Bindings": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.FormBindings" - }, - "CollectionBindingProperties": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties" - }, - "Concat": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentProperty" - }, - "type": "array" - }, - "Condition": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentConditionProperty" - }, - "Configured": { - "type": "boolean" - }, - "DefaultValue": { - "type": "string" - }, - "Event": { - "type": "string" - }, - "ImportedValue": { - "type": "string" - }, - "Model": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "UserAttribute": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentPropertyBindingProperties": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Property": { - "type": "string" - } - }, - "required": [ - "Property" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariant": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentOverrides" - }, - "VariantValues": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.ComponentVariantValues" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.ComponentVariantValues": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.FormBindings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.Predicate": { - "additionalProperties": false, - "properties": { - "And": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - }, - "Field": { - "type": "string" - }, - "Operand": { - "type": "string" - }, - "Operator": { - "type": "string" - }, - "Or": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component.Predicate" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Component.SortProperty": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "Field": { - "type": "string" - } - }, - "required": [ - "Direction", - "Field" - ], - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme": { + "AWS::CloudFormation::HookTypeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2413,40 +2000,27 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { + "Configuration": { "type": "string" }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "ConfigurationAlias": { + "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TypeArn": { + "type": "string" }, - "Values": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" + "TypeName": { + "type": "string" } }, "required": [ - "Name", - "Values" + "Configuration" ], "type": "object" }, "Type": { "enum": [ - "AWS::AmplifyUIBuilder::Theme" + "AWS::CloudFormation::HookTypeConfig" ], "type": "string" }, @@ -2465,34 +2039,7 @@ ], "type": "object" }, - "AWS::AmplifyUIBuilder::Theme.ThemeValue": { - "additionalProperties": false, - "properties": { - "Children": { - "items": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValues" - }, - "type": "array" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AmplifyUIBuilder::Theme.ThemeValues": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme.ThemeValue" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Account": { + "AWS::CloudFormation::HookVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2524,15 +2071,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchRoleArn": { + "ExecutionRoleArn": { + "type": "string" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::HookVersion.LoggingConfig" + }, + "SchemaHandlerPackage": { + "type": "string" + }, + "TypeName": { "type": "string" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Account" + "AWS::CloudFormation::HookVersion" ], "type": "string" }, @@ -2546,11 +2106,24 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey": { + "AWS::CloudFormation::HookVersion.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2582,42 +2155,47 @@ "Properties": { "additionalProperties": false, "properties": { - "CustomerId": { + "Alias": { "type": "string" }, - "Description": { + "ExecutionRole": { "type": "string" }, - "Enabled": { - "type": "boolean" + "FailureMode": { + "type": "string" }, - "GenerateDistinctId": { - "type": "boolean" + "HookStatus": { + "type": "string" }, - "Name": { + "LambdaFunction": { "type": "string" }, - "StageKeys": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey.StageKey" - }, - "type": "array" + "StackFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackFilters" }, - "Tags": { + "TargetFilters": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.TargetFilters" + }, + "TargetOperations": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "Value": { - "type": "string" } }, + "required": [ + "Alias", + "ExecutionRole", + "FailureMode", + "HookStatus", + "LambdaFunction", + "TargetOperations" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ApiKey" + "AWS::CloudFormation::LambdaHook" ], "type": "string" }, @@ -2631,23 +2209,116 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::ApiKey.StageKey": { + "AWS::CloudFormation::LambdaHook.HookTarget": { "additionalProperties": false, "properties": { - "RestApiId": { + "Action": { + "type": "string" + }, + "InvocationPoint": { "type": "string" }, - "StageName": { + "TargetName": { + "type": "string" + } + }, + "required": [ + "Action", + "InvocationPoint", + "TargetName" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackFilters": { + "additionalProperties": false, + "properties": { + "FilteringCriteria": { "type": "string" + }, + "StackNames": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackNames" + }, + "StackRoles": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.StackRoles" + } + }, + "required": [ + "FilteringCriteria" + ], + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackNames": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.StackRoles": { + "additionalProperties": false, + "properties": { + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Include": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudFormation::LambdaHook.TargetFilters": { + "additionalProperties": false, + "properties": { + "Actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InvocationPoints": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TargetNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook.HookTarget" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Authorizer": { + "AWS::CloudFormation::Macro": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2679,50 +2350,31 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" - }, - "AuthorizerCredentials": { + "Description": { "type": "string" }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerUri": { + "FunctionName": { "type": "string" }, - "IdentitySource": { + "LogGroupName": { "type": "string" }, - "IdentityValidationExpression": { + "LogRoleARN": { "type": "string" }, "Name": { "type": "string" - }, - "ProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RestApiId": { - "type": "string" - }, - "Type": { - "type": "string" } }, "required": [ - "Name", - "RestApiId", - "Type" + "FunctionName", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Authorizer" + "AWS::CloudFormation::Macro" ], "type": "string" }, @@ -2741,7 +2393,7 @@ ], "type": "object" }, - "AWS::ApiGateway::BasePathMapping": { + "AWS::CloudFormation::ModuleDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2773,27 +2425,21 @@ "Properties": { "additionalProperties": false, "properties": { - "BasePath": { + "Arn": { "type": "string" }, - "DomainName": { - "type": "string" - }, - "RestApiId": { + "ModuleName": { "type": "string" }, - "Stage": { + "VersionId": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::BasePathMapping" + "AWS::CloudFormation::ModuleDefaultVersion" ], "type": "string" }, @@ -2807,12 +2453,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::ClientCertificate": { + "AWS::CloudFormation::ModuleVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2844,21 +2489,22 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "ModuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ModulePackage": { + "type": "string" } }, + "required": [ + "ModuleName", + "ModulePackage" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::ClientCertificate" + "AWS::CloudFormation::ModuleVersion" ], "type": "string" }, @@ -2872,11 +2518,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::Deployment": { + "AWS::CloudFormation::PublicTypeVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -2908,30 +2555,27 @@ "Properties": { "additionalProperties": false, "properties": { - "DeploymentCanarySettings": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.DeploymentCanarySettings" + "Arn": { + "type": "string" }, - "Description": { + "LogDeliveryBucket": { "type": "string" }, - "RestApiId": { + "PublicVersionNumber": { "type": "string" }, - "StageDescription": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.StageDescription" + "Type": { + "type": "string" }, - "StageName": { + "TypeName": { "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Deployment" + "AWS::CloudFormation::PublicTypeVersion" ], "type": "string" }, @@ -2945,177 +2589,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Deployment.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.CanarySetting": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.DeploymentCanarySettings": { - "additionalProperties": false, - "properties": { - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UseStageCache": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.MethodSetting": { - "additionalProperties": false, - "properties": { - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "HttpMethod": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "ResourcePath": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::Deployment.StageDescription": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CacheDataEncrypted": { - "type": "boolean" - }, - "CacheTtlInSeconds": { - "type": "number" - }, - "CachingEnabled": { - "type": "boolean" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DataTraceEnabled": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" - }, - "LoggingLevel": { - "type": "string" - }, - "MethodSettings": { - "items": { - "$ref": "#/definitions/AWS::ApiGateway::Deployment.MethodSetting" - }, - "type": "array" - }, - "MetricsEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationPart": { + "AWS::CloudFormation::Publisher": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3147,26 +2625,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Location": { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart.Location" - }, - "Properties": { - "type": "string" + "AcceptTermsAndConditions": { + "type": "boolean" }, - "RestApiId": { + "ConnectionArn": { "type": "string" } }, "required": [ - "Location", - "Properties", - "RestApiId" + "AcceptTermsAndConditions" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationPart" + "AWS::CloudFormation::Publisher" ], "type": "string" }, @@ -3185,28 +2658,7 @@ ], "type": "object" }, - "AWS::ApiGateway::DocumentationPart.Location": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DocumentationVersion": { + "AWS::CloudFormation::ResourceDefaultVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3238,25 +2690,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "TypeName": { "type": "string" }, - "DocumentationVersion": { + "TypeVersionArn": { "type": "string" }, - "RestApiId": { + "VersionId": { "type": "string" } }, - "required": [ - "DocumentationVersion", - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DocumentationVersion" + "AWS::CloudFormation::ResourceDefaultVersion" ], "type": "string" }, @@ -3270,12 +2718,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::DomainName": { + "AWS::CloudFormation::ResourceVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3307,39 +2754,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" - }, - "DomainName": { + "ExecutionRoleArn": { "type": "string" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.EndpointConfiguration" - }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGateway::DomainName.MutualTlsAuthentication" - }, - "OwnershipVerificationCertificateArn": { - "type": "string" + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" }, - "RegionalCertificateArn": { + "SchemaHandlerPackage": { "type": "string" }, - "SecurityPolicy": { + "TypeName": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "SchemaHandlerPackage", + "TypeName" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::DomainName" + "AWS::CloudFormation::ResourceVersion" ], "type": "string" }, @@ -3353,35 +2789,24 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::DomainName.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGateway::DomainName.MutualTlsAuthentication": { + "AWS::CloudFormation::ResourceVersion.LoggingConfig": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "LogGroupName": { "type": "string" }, - "TruststoreVersion": { + "LogRoleArn": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::GatewayResponse": { + "AWS::CloudFormation::Stack": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3413,16 +2838,13 @@ "Properties": { "additionalProperties": false, "properties": { - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "NotificationARNs": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "ResponseTemplates": { + "Parameters": { "additionalProperties": true, "patternProperties": { "^[a-zA-Z0-9]+$": { @@ -3431,25 +2853,27 @@ }, "type": "object" }, - "ResponseType": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RestApiId": { + "TemplateURL": { "type": "string" }, - "StatusCode": { - "type": "string" + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "ResponseType", - "RestApiId" + "TemplateURL" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::GatewayResponse" + "AWS::CloudFormation::Stack" ], "type": "string" }, @@ -3468,7 +2892,7 @@ ], "type": "object" }, - "AWS::ApiGateway::Method": { + "AWS::CloudFormation::StackSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3500,74 +2924,73 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeyRequired": { - "type": "boolean" + "AdministrationRoleARN": { + "type": "string" }, - "AuthorizationScopes": { + "AutoDeployment": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" + }, + "CallAs": { + "type": "string" + }, + "Capabilities": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { + "Description": { "type": "string" }, - "AuthorizerId": { + "ExecutionRoleName": { "type": "string" }, - "HttpMethod": { - "type": "string" + "ManagedExecution": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.ManagedExecution" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGateway::Method.Integration" + "OperationPreferences": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" }, - "MethodResponses": { + "Parameters": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.MethodResponse" + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, "type": "array" }, - "OperationName": { + "PermissionModel": { "type": "string" }, - "RequestModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "StackInstancesGroup": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" }, - "type": "object" + "type": "array" }, - "RequestValidatorId": { + "StackSetName": { "type": "string" }, - "ResourceId": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TemplateBody": { "type": "string" }, - "RestApiId": { + "TemplateURL": { "type": "string" } }, "required": [ - "HttpMethod", - "ResourceId", - "RestApiId" + "PermissionModel", + "StackSetName" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Method" + "AWS::CloudFormation::StackSet" ], "type": "string" }, @@ -3586,139 +3009,123 @@ ], "type": "object" }, - "AWS::ApiGateway::Method.Integration": { + "AWS::CloudFormation::StackSet.AutoDeployment": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" + }, + "RetainStacksOnAccountRemoval": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.DeploymentTargets": { "additionalProperties": false, "properties": { - "CacheKeyParameters": { + "AccountFilterType": { + "type": "string" + }, + "Accounts": { "items": { "type": "string" }, "type": "array" }, - "CacheNamespace": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandling": { + "AccountsUrl": { "type": "string" }, - "Credentials": { - "type": "string" - }, - "IntegrationHttpMethod": { - "type": "string" - }, - "IntegrationResponses": { + "OrganizationalUnitIds": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Method.IntegrationResponse" + "type": "string" }, "type": "array" - }, - "PassthroughBehavior": { + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.ManagedExecution": { + "additionalProperties": false, + "properties": { + "Active": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudFormation::StackSet.OperationPreferences": { + "additionalProperties": false, + "properties": { + "ConcurrencyMode": { "type": "string" }, - "RequestParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureToleranceCount": { + "type": "number" }, - "RequestTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "FailureTolerancePercentage": { + "type": "number" + }, + "MaxConcurrentCount": { + "type": "number" }, - "TimeoutInMillis": { + "MaxConcurrentPercentage": { "type": "number" }, - "Type": { + "RegionConcurrencyType": { "type": "string" }, - "Uri": { - "type": "string" + "RegionOrder": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApiGateway::Method.IntegrationResponse": { + "AWS::CloudFormation::StackSet.Parameter": { "additionalProperties": false, "properties": { - "ContentHandling": { - "type": "string" - }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResponseTemplates": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SelectionPattern": { + "ParameterKey": { "type": "string" }, - "StatusCode": { + "ParameterValue": { "type": "string" } }, "required": [ - "StatusCode" + "ParameterKey", + "ParameterValue" ], "type": "object" }, - "AWS::ApiGateway::Method.MethodResponse": { + "AWS::CloudFormation::StackSet.StackInstances": { "additionalProperties": false, "properties": { - "ResponseModels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "DeploymentTargets": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" }, - "ResponseParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "boolean" - } + "ParameterOverrides": { + "items": { + "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" }, - "type": "object" + "type": "array" }, - "StatusCode": { - "type": "string" + "Regions": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "StatusCode" + "DeploymentTargets", + "Regions" ], "type": "object" }, - "AWS::ApiGateway::Model": { + "AWS::CloudFormation::TypeActivation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3750,30 +3157,42 @@ "Properties": { "additionalProperties": false, "properties": { - "ContentType": { + "AutoUpdate": { + "type": "boolean" + }, + "ExecutionRoleArn": { "type": "string" }, - "Description": { + "LoggingConfig": { + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" + }, + "MajorVersion": { "type": "string" }, - "Name": { + "PublicTypeArn": { + "type": "string" + }, + "PublisherId": { "type": "string" }, - "RestApiId": { + "Type": { "type": "string" }, - "Schema": { - "type": "object" + "TypeName": { + "type": "string" + }, + "TypeNameAlias": { + "type": "string" + }, + "VersionBump": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Model" + "AWS::CloudFormation::TypeActivation" ], "type": "string" }, @@ -3787,14 +3206,28 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RequestValidator": { + "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "additionalProperties": false, + "properties": { + "LogGroupName": { + "type": "string" + }, + "LogRoleArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::CloudFormation::WaitCondition": { "additionalProperties": false, "properties": { + "CreationPolicy": { + "type": "object" + }, "DeletionPolicy": { "enum": [ "Delete", @@ -3824,27 +3257,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "Count": { + "type": "number" }, - "RestApiId": { + "Handle": { "type": "string" }, - "ValidateRequestBody": { - "type": "boolean" - }, - "ValidateRequestParameters": { - "type": "boolean" + "Timeout": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RequestValidator" + "AWS::CloudFormation::WaitCondition" ], "type": "string" }, @@ -3858,12 +3285,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Resource": { + "AWS::CloudFormation::WaitConditionHandle": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3894,27 +3320,12 @@ }, "Properties": { "additionalProperties": false, - "properties": { - "ParentId": { - "type": "string" - }, - "PathPart": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "ParentId", - "PathPart", - "RestApiId" - ], + "properties": {}, "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Resource" + "AWS::CloudFormation::WaitConditionHandle" ], "type": "string" }, @@ -3928,12 +3339,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::RestApi": { + "AWS::CloudWatch::Alarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -3965,69 +3375,100 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySourceType": { - "type": "string" + "ActionsEnabled": { + "type": "boolean" }, - "BinaryMediaTypes": { + "AlarmActions": { "items": { "type": "string" }, "type": "array" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.S3Location" + "AlarmDescription": { + "type": "string" }, - "CloneFrom": { + "AlarmName": { "type": "string" }, - "Description": { + "ComparisonOperator": { "type": "string" }, - "DisableExecuteApiEndpoint": { - "type": "boolean" + "DatapointsToAlarm": { + "type": "number" }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::ApiGateway::RestApi.EndpointConfiguration" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + }, + "type": "array" }, - "FailOnWarnings": { - "type": "boolean" + "EvaluateLowSampleCountPercentile": { + "type": "string" }, - "MinimumCompressionSize": { + "EvaluationPeriods": { "type": "number" }, - "Mode": { + "ExtendedStatistic": { "type": "string" }, - "Name": { + "InsufficientDataActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MetricName": { "type": "string" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Metrics": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" }, - "type": "object" + "type": "array" }, - "Policy": { - "type": "object" + "Namespace": { + "type": "string" + }, + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Period": { + "type": "number" + }, + "Statistic": { + "type": "string" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Threshold": { + "type": "number" + }, + "ThresholdMetricId": { + "type": "string" + }, + "TreatMissingData": { + "type": "string" + }, + "Unit": { + "type": "string" } }, + "required": [ + "ComparisonOperator", + "EvaluationPeriods" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::RestApi" + "AWS::CloudWatch::Alarm" ], "type": "string" }, @@ -4041,47 +3482,99 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::RestApi.EndpointConfiguration": { + "AWS::CloudWatch::Alarm.Dimension": { "additionalProperties": false, "properties": { - "Types": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, - "VpcEndpointIds": { + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" }, "type": "array" + }, + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::RestApi.S3Location": { + "AWS::CloudWatch::Alarm.MetricDataQuery": { "additionalProperties": false, "properties": { - "Bucket": { + "AccountId": { "type": "string" }, - "ETag": { + "Expression": { "type": "string" }, - "Key": { + "Id": { "type": "string" }, - "Version": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" + }, + "Period": { + "type": "number" + }, + "ReturnData": { + "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::Alarm.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" + }, + "Period": { + "type": "number" + }, + "Stat": { + "type": "string" + }, + "Unit": { "type": "string" } }, + "required": [ + "Metric", + "Period", + "Stat" + ], "type": "object" }, - "AWS::ApiGateway::Stage": { + "AWS::CloudWatch::AnomalyDetector": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4113,69 +3606,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.AccessLogSetting" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "CanarySetting": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.CanarySetting" - }, - "ClientCertificateId": { - "type": "string" - }, - "DeploymentId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DocumentationVersion": { - "type": "string" + "Configuration": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" }, - "MethodSettings": { + "Dimensions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::Stage.MethodSetting" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, "type": "array" }, - "RestApiId": { - "type": "string" + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" }, - "StageName": { + "MetricMathAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" + }, + "MetricName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Namespace": { + "type": "string" }, - "TracingEnabled": { - "type": "boolean" + "SingleMetricAnomalyDetector": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "Stat": { + "type": "string" } }, - "required": [ - "RestApiId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::Stage" + "AWS::CloudWatch::AnomalyDetector" ], "type": "string" }, @@ -4189,84 +3652,183 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGateway::Stage.AccessLogSetting": { + "AWS::CloudWatch::AnomalyDetector.Configuration": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "ExcludedTimeRanges": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" + }, + "type": "array" }, - "Format": { + "MetricTimeZone": { "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::Stage.CanarySetting": { + "AWS::CloudWatch::AnomalyDetector.Dimension": { "additionalProperties": false, "properties": { - "DeploymentId": { + "Name": { "type": "string" }, - "PercentTraffic": { - "type": "number" - }, - "StageVariableOverrides": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Value": { + "type": "string" + } + }, + "required": [ + "Name", + "Value" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Metric": { + "additionalProperties": false, + "properties": { + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" }, - "type": "object" + "type": "array" }, - "UseStageCache": { - "type": "boolean" + "MetricName": { + "type": "string" + }, + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGateway::Stage.MethodSetting": { + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { "additionalProperties": false, "properties": { - "CacheDataEncrypted": { + "PeriodicSpikes": { "type": "boolean" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { + "additionalProperties": false, + "properties": { + "AccountId": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Id": { + "type": "string" }, - "CacheTtlInSeconds": { + "Label": { + "type": "string" + }, + "MetricStat": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" + }, + "Period": { "type": "number" }, - "CachingEnabled": { + "ReturnData": { "type": "boolean" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { + "additionalProperties": false, + "properties": { + "MetricDataQueries": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.MetricStat": { + "additionalProperties": false, + "properties": { + "Metric": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" }, - "DataTraceEnabled": { - "type": "boolean" + "Period": { + "type": "number" }, - "HttpMethod": { + "Stat": { + "type": "string" + }, + "Unit": { + "type": "string" + } + }, + "required": [ + "Metric", + "Period", + "Stat" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.Range": { + "additionalProperties": false, + "properties": { + "EndTime": { "type": "string" }, - "LoggingLevel": { + "StartTime": { + "type": "string" + } + }, + "required": [ + "EndTime", + "StartTime" + ], + "type": "object" + }, + "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { + "additionalProperties": false, + "properties": { + "AccountId": { "type": "string" }, - "MetricsEnabled": { - "type": "boolean" + "Dimensions": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" + }, + "type": "array" }, - "ResourcePath": { + "MetricName": { "type": "string" }, - "ThrottlingBurstLimit": { - "type": "number" + "Namespace": { + "type": "string" }, - "ThrottlingRateLimit": { - "type": "number" + "Stat": { + "type": "string" } }, "type": "object" }, - "AWS::ApiGateway::UsagePlan": { + "AWS::CloudWatch::CompositeAlarm": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4298,36 +3860,60 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiStages": { + "ActionsEnabled": { + "type": "boolean" + }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, + "AlarmActions": { "items": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ApiStage" + "type": "string" }, "type": "array" }, - "Description": { + "AlarmDescription": { "type": "string" }, - "Quota": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.QuotaSettings" + "AlarmName": { + "type": "string" }, - "Tags": { + "AlarmRule": { + "type": "string" + }, + "InsufficientDataActions": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "Throttle": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" + "OKActions": { + "items": { + "type": "string" + }, + "type": "array" }, - "UsagePlanName": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "AlarmRule" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlan" + "AWS::CloudWatch::CompositeAlarm" ], "type": "string" }, @@ -4341,59 +3927,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGateway::UsagePlan.ApiStage": { - "additionalProperties": false, - "properties": { - "ApiId": { - "type": "string" - }, - "Stage": { - "type": "string" - }, - "Throttle": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan.ThrottleSettings" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.QuotaSettings": { - "additionalProperties": false, - "properties": { - "Limit": { - "type": "number" - }, - "Offset": { - "type": "number" - }, - "Period": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlan.ThrottleSettings": { - "additionalProperties": false, - "properties": { - "BurstLimit": { - "type": "number" - }, - "RateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGateway::UsagePlanKey": { + "AWS::CloudWatch::Dashboard": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4425,26 +3964,21 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyId": { - "type": "string" - }, - "KeyType": { + "DashboardBody": { "type": "string" }, - "UsagePlanId": { + "DashboardName": { "type": "string" } }, "required": [ - "KeyId", - "KeyType", - "UsagePlanId" + "DashboardBody" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::UsagePlanKey" + "AWS::CloudWatch::Dashboard" ], "type": "string" }, @@ -4463,7 +3997,7 @@ ], "type": "object" }, - "AWS::ApiGateway::VpcLink": { + "AWS::CloudWatch::InsightRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4495,34 +4029,29 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "RuleBody": { "type": "string" }, - "Name": { + "RuleName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "RuleState": { + "type": "string" }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Tags": { + "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" } }, "required": [ - "Name", - "TargetArns" + "RuleBody", + "RuleName", + "RuleState" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGateway::VpcLink" + "AWS::CloudWatch::InsightRule" ], "type": "string" }, @@ -4541,7 +4070,12 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Api": { + "AWS::CloudWatch::InsightRule.Tags": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, + "AWS::CloudWatch::MetricStream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4573,63 +4107,56 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiKeySelectionExpression": { - "type": "string" + "ExcludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "BasePath": { + "FirehoseArn": { "type": "string" }, - "Body": { - "type": "object" - }, - "BodyS3Location": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.BodyS3Location" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api.Cors" - }, - "CredentialsArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisableExecuteApiEndpoint": { - "type": "boolean" - }, - "DisableSchemaValidation": { - "type": "boolean" + "IncludeFilters": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" + }, + "type": "array" }, - "FailOnWarnings": { + "IncludeLinkedAccountsMetrics": { "type": "boolean" }, "Name": { "type": "string" }, - "ProtocolType": { + "OutputFormat": { "type": "string" }, - "RouteKey": { + "RoleArn": { "type": "string" }, - "RouteSelectionExpression": { - "type": "string" + "StatisticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration" + }, + "type": "array" }, "Tags": { - "type": "object" - }, - "Target": { - "type": "string" - }, - "Version": { - "type": "string" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "FirehoseArn", + "OutputFormat", + "RoleArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Api" + "AWS::CloudWatch::MetricStream" ], "type": "string" }, @@ -4643,65 +4170,68 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::ApiGatewayV2::Api.BodyS3Location": { + "AWS::CloudWatch::MetricStream.MetricStreamFilter": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Etag": { - "type": "string" - }, - "Key": { - "type": "string" + "MetricNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Version": { + "Namespace": { "type": "string" } }, + "required": [ + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::Api.Cors": { + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsConfiguration": { "additionalProperties": false, "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowOrigins": { + "AdditionalStatistics": { "items": { "type": "string" }, "type": "array" }, - "ExposeHeaders": { + "IncludeMetrics": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric" }, "type": "array" + } + }, + "required": [ + "AdditionalStatistics", + "IncludeMetrics" + ], + "type": "object" + }, + "AWS::CloudWatch::MetricStream.MetricStreamStatisticsMetric": { + "additionalProperties": false, + "properties": { + "MetricName": { + "type": "string" }, - "MaxAge": { - "type": "number" + "Namespace": { + "type": "string" } }, + "required": [ + "MetricName", + "Namespace" + ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides": { + "AWS::EC2::CapacityReservation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4733,27 +4263,65 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { "type": "string" }, - "Integration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides" + "EbsOptimized": { + "type": "boolean" + }, + "EndDate": { + "type": "string" + }, + "EndDateType": { + "type": "string" + }, + "EphemeralStorage": { + "type": "boolean" + }, + "InstanceCount": { + "type": "number" + }, + "InstanceMatchCriteria": { + "type": "string" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutPostArn": { + "type": "string" + }, + "PlacementGroupArn": { + "type": "string" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" + }, + "type": "array" }, - "Route": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides" + "Tenancy": { + "type": "string" }, - "Stage": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides" + "UnusedReservationBillingOwnerId": { + "type": "string" } }, "required": [ - "ApiId" + "InstanceCount", + "InstancePlatform", + "InstanceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides" + "AWS::EC2::CapacityReservation" ], "type": "string" }, @@ -4772,106 +4340,22 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.IntegrationOverrides": { + "AWS::EC2::CapacityReservation.TagSpecification": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "IntegrationMethod": { - "type": "string" - }, - "PayloadFormatVersion": { + "ResourceType": { "type": "string" }, - "TimeoutInMillis": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteOverrides": { - "additionalProperties": false, - "properties": { - "AuthorizationScopes": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings": { - "additionalProperties": false, - "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { - "type": "number" - }, - "ThrottlingRateLimit": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::ApiGatewayManagedOverrides.StageOverrides": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.AccessLogSettings" - }, - "AutoDeploy": { - "type": "boolean" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides.RouteSettings" - }, - "Description": { - "type": "string" - }, - "RouteSettings": { - "type": "object" - }, - "StageVariables": { - "type": "object" } }, "type": "object" }, - "AWS::ApiGatewayV2::ApiMapping": { + "AWS::EC2::CapacityReservationFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4903,29 +4387,45 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AllocationStrategy": { "type": "string" }, - "ApiMappingKey": { + "EndDate": { "type": "string" }, - "DomainName": { + "InstanceMatchCriteria": { "type": "string" }, - "Stage": { + "InstanceTypeSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" + }, + "type": "array" + }, + "NoRemoveEndDate": { + "type": "boolean" + }, + "RemoveEndDate": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" + }, + "type": "array" + }, + "Tenancy": { "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" } }, - "required": [ - "ApiId", - "DomainName", - "Stage" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::ApiMapping" + "AWS::EC2::CapacityReservationFleet" ], "type": "string" }, @@ -4939,12 +4439,53 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer": { + "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "additionalProperties": false, + "properties": { + "AvailabilityZone": { + "type": "string" + }, + "AvailabilityZoneId": { + "type": "string" + }, + "EbsOptimized": { + "type": "boolean" + }, + "InstancePlatform": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "Weight": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::CarrierGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -4976,53 +4517,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "AuthorizerCredentialsArn": { - "type": "string" - }, - "AuthorizerPayloadFormatVersion": { - "type": "string" - }, - "AuthorizerResultTtlInSeconds": { - "type": "number" - }, - "AuthorizerType": { - "type": "string" - }, - "AuthorizerUri": { - "type": "string" - }, - "EnableSimpleResponses": { - "type": "boolean" - }, - "IdentitySource": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "IdentityValidationExpression": { - "type": "string" - }, - "JwtConfiguration": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer.JWTConfiguration" - }, - "Name": { + "VpcId": { "type": "string" } }, "required": [ - "ApiId", - "AuthorizerType", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Authorizer" + "AWS::EC2::CarrierGateway" ], "type": "string" }, @@ -5041,22 +4553,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Authorizer.JWTConfiguration": { - "additionalProperties": false, - "properties": { - "Audience": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Issuer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Deployment": { + "AWS::EC2::ClientVpnAuthorizationRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5088,24 +4585,31 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AccessGroupId": { + "type": "string" + }, + "AuthorizeAllGroups": { + "type": "boolean" + }, + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "StageName": { + "TargetNetworkCidr": { "type": "string" } }, "required": [ - "ApiId" + "ClientVpnEndpointId", + "TargetNetworkCidr" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Deployment" + "AWS::EC2::ClientVpnAuthorizationRule" ], "type": "string" }, @@ -5124,7 +4628,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName": { + "AWS::EC2::ClientVpnEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5156,30 +4660,81 @@ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { + "AuthenticationOptions": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" + }, + "type": "array" + }, + "ClientCidrBlock": { + "type": "string" + }, + "ClientConnectOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" + }, + "ClientLoginBannerOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions" + }, + "ConnectionLogOptions": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" + }, + "Description": { "type": "string" }, - "DomainNameConfigurations": { + "DisconnectOnSessionTimeout": { + "type": "boolean" + }, + "DnsServers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.DomainNameConfiguration" + "type": "string" }, "type": "array" }, - "MutualTlsAuthentication": { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication" + "SelfServicePortal": { + "type": "string" }, - "Tags": { - "type": "object" + "ServerCertificateArn": { + "type": "string" + }, + "SessionTimeoutHours": { + "type": "number" + }, + "SplitTunnel": { + "type": "boolean" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" + }, + "type": "array" + }, + "TransportProtocol": { + "type": "string" + }, + "VpcId": { + "type": "string" + }, + "VpnPort": { + "type": "number" } }, "required": [ - "DomainName" + "AuthenticationOptions", + "ClientCidrBlock", + "ConnectionLogOptions", + "ServerCertificateArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::DomainName" + "AWS::EC2::ClientVpnEndpoint" ], "type": "string" }, @@ -5198,40 +4753,134 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.DomainNameConfiguration": { + "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { "additionalProperties": false, "properties": { - "CertificateArn": { + "ClientRootCertificateChainArn": { + "type": "string" + } + }, + "required": [ + "ClientRootCertificateChainArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "ActiveDirectory": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + }, + "FederatedAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + }, + "MutualAuthentication": { + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + }, + "Type": { "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "CertificateName": { + "LambdaFunctionArn": { + "type": "string" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ClientLoginBannerOptions": { + "additionalProperties": false, + "properties": { + "BannerText": { "type": "string" }, - "EndpointType": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "additionalProperties": false, + "properties": { + "CloudwatchLogGroup": { "type": "string" }, - "OwnershipVerificationCertificateArn": { + "CloudwatchLogStream": { "type": "string" }, - "SecurityPolicy": { + "Enabled": { + "type": "boolean" + } + }, + "required": [ + "Enabled" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "additionalProperties": false, + "properties": { + "DirectoryId": { "type": "string" } }, + "required": [ + "DirectoryId" + ], "type": "object" }, - "AWS::ApiGatewayV2::DomainName.MutualTlsAuthentication": { + "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { "additionalProperties": false, "properties": { - "TruststoreUri": { + "SAMLProviderArn": { "type": "string" }, - "TruststoreVersion": { + "SelfServiceSAMLProviderArn": { + "type": "string" + } + }, + "required": [ + "SAMLProviderArn" + ], + "type": "object" + }, + "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ResourceType", + "Tags" + ], "type": "object" }, - "AWS::ApiGatewayV2::Integration": { + "AWS::EC2::ClientVpnRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5263,70 +4912,29 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ConnectionId": { - "type": "string" - }, - "ConnectionType": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "CredentialsArn": { + "ClientVpnEndpointId": { "type": "string" }, "Description": { "type": "string" }, - "IntegrationMethod": { - "type": "string" - }, - "IntegrationSubtype": { - "type": "string" - }, - "IntegrationType": { + "DestinationCidrBlock": { "type": "string" }, - "IntegrationUri": { + "TargetVpcSubnetId": { "type": "string" - }, - "PassthroughBehavior": { - "type": "string" - }, - "PayloadFormatVersion": { - "type": "string" - }, - "RequestParameters": { - "type": "object" - }, - "RequestTemplates": { - "type": "object" - }, - "ResponseParameters": { - "type": "object" - }, - "TemplateSelectionExpression": { - "type": "string" - }, - "TimeoutInMillis": { - "type": "number" - }, - "TlsConfig": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.TlsConfig" } }, "required": [ - "ApiId", - "IntegrationType" + "ClientVpnEndpointId", + "DestinationCidrBlock", + "TargetVpcSubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Integration" + "AWS::EC2::ClientVpnRoute" ], "type": "string" }, @@ -5345,44 +4953,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Integration.ResponseParameter": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "required": [ - "Destination", - "Source" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.ResponseParameterList": { - "additionalProperties": false, - "properties": { - "ResponseParameters": { - "items": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration.ResponseParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::Integration.TlsConfig": { - "additionalProperties": false, - "properties": { - "ServerNameToVerify": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ApiGatewayV2::IntegrationResponse": { + "AWS::EC2::ClientVpnTargetNetworkAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5414,38 +4985,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "ContentHandlingStrategy": { - "type": "string" - }, - "IntegrationId": { - "type": "string" - }, - "IntegrationResponseKey": { + "ClientVpnEndpointId": { "type": "string" }, - "ResponseParameters": { - "type": "object" - }, - "ResponseTemplates": { - "type": "object" - }, - "TemplateSelectionExpression": { + "SubnetId": { "type": "string" } }, "required": [ - "ApiId", - "IntegrationId", - "IntegrationResponseKey" + "ClientVpnEndpointId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::IntegrationResponse" + "AWS::EC2::ClientVpnTargetNetworkAssociation" ], "type": "string" }, @@ -5464,7 +5019,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Model": { + "AWS::EC2::CustomerGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5496,32 +5051,40 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" + "BgpAsn": { + "type": "number" }, - "ContentType": { + "BgpAsnExtended": { + "type": "number" + }, + "CertificateArn": { "type": "string" }, - "Description": { + "DeviceName": { "type": "string" }, - "Name": { + "IpAddress": { "type": "string" }, - "Schema": { - "type": "object" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" } }, "required": [ - "ApiId", - "Name", - "Schema" + "IpAddress", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Model" + "AWS::EC2::CustomerGateway" ], "type": "string" }, @@ -5540,7 +5103,7 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Route": { + "AWS::EC2::DHCPOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5572,55 +5135,45 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "DomainName": { "type": "string" }, - "ApiKeyRequired": { - "type": "boolean" - }, - "AuthorizationScopes": { + "DomainNameServers": { "items": { "type": "string" }, "type": "array" }, - "AuthorizationType": { - "type": "string" - }, - "AuthorizerId": { - "type": "string" - }, - "ModelSelectionExpression": { - "type": "string" - }, - "OperationName": { - "type": "string" - }, - "RequestModels": { - "type": "object" + "Ipv6AddressPreferredLeaseTime": { + "type": "number" }, - "RequestParameters": { - "type": "object" + "NetbiosNameServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "RouteKey": { - "type": "string" + "NetbiosNodeType": { + "type": "number" }, - "RouteResponseSelectionExpression": { - "type": "string" + "NtpServers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Target": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiId", - "RouteKey" - ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Route" + "AWS::EC2::DHCPOptions" ], "type": "string" }, @@ -5634,24 +5187,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Route.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" + "Type" ], "type": "object" }, - "AWS::ApiGatewayV2::RouteResponse": { + "AWS::EC2::EC2Fleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -5683,143 +5223,58 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "Context": { "type": "string" }, - "ModelSelectionExpression": { + "ExcessCapacityTerminationPolicy": { "type": "string" }, - "ResponseModels": { - "type": "object" + "LaunchTemplateConfigs": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" + }, + "type": "array" }, - "ResponseParameters": { - "type": "object" + "OnDemandOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" }, - "RouteId": { - "type": "string" + "ReplaceUnhealthyInstances": { + "type": "boolean" }, - "RouteResponseKey": { - "type": "string" - } - }, - "required": [ - "ApiId", - "RouteId", - "RouteResponseKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::RouteResponse" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::RouteResponse.ParameterConstraints": { - "additionalProperties": false, - "properties": { - "Required": { - "type": "boolean" - } - }, - "required": [ - "Required" - ], - "type": "object" - }, - "AWS::ApiGatewayV2::Stage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" }, - { + "TagSpecifications": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.AccessLogSettings" - }, - "AccessPolicyId": { - "type": "string" }, - "ApiId": { - "type": "string" + "TargetCapacitySpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" }, - "AutoDeploy": { + "TerminateInstancesWithExpiration": { "type": "boolean" }, - "ClientCertificateId": { - "type": "string" - }, - "DefaultRouteSettings": { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage.RouteSettings" - }, - "DeploymentId": { + "Type": { "type": "string" }, - "Description": { + "ValidFrom": { "type": "string" }, - "RouteSettings": { - "type": "object" - }, - "StageName": { + "ValidUntil": { "type": "string" - }, - "StageVariables": { - "type": "object" - }, - "Tags": { - "type": "object" } }, "required": [ - "ApiId", - "StageName" + "LaunchTemplateConfigs", + "TargetCapacitySpecification" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApiGatewayV2::Stage" + "AWS::EC2::EC2Fleet" ], "type": "string" }, @@ -5838,327 +5293,477 @@ ], "type": "object" }, - "AWS::ApiGatewayV2::Stage.AccessLogSettings": { + "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "DestinationArn": { - "type": "string" + "Max": { + "type": "number" }, - "Format": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::Stage.RouteSettings": { + "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "DataTraceEnabled": { - "type": "boolean" - }, - "DetailedMetricsEnabled": { - "type": "boolean" - }, - "LoggingLevel": { - "type": "string" - }, - "ThrottlingBurstLimit": { + "Max": { "type": "number" }, - "ThrottlingRateLimit": { + "Min": { "type": "number" } }, "type": "object" }, - "AWS::ApiGatewayV2::VpcLink": { + "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ApiGatewayV2::VpcLink" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application": { + "AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Application.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::Application.Tags": { + "AWS::EC2::EC2Fleet.CapacityRebalance": { "additionalProperties": false, "properties": { - "Key": { + "ReplacementStrategy": { "type": "string" }, - "Value": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile": { + "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RetrievalRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Tags" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Validators": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile.Validators" - }, - "type": "array" - } - }, - "required": [ - "ApplicationId", - "LocationUri", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AppConfig::ConfigurationProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UsageStrategy": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Tags": { + "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::ConfigurationProfile.Validators": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" }, - "Type": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::AppConfig::Deployment": { + "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AvailabilityZone": { "type": "string" }, - "DependsOn": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "MaxPrice": { + "type": "string" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" + }, + "Priority": { + "type": "number" + }, + "SubnetId": { + "type": "string" + }, + "WeightedCapacity": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { + "additionalProperties": false, + "properties": { + "LaunchTemplateId": { + "type": "string" + }, + "LaunchTemplateName": { + "type": "string" + }, + "Version": { + "type": "string" + } + }, + "required": [ + "Version" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "additionalProperties": false, + "properties": { + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { + "type": "string" + }, + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselinePerformanceFactorsRequest" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { + "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "additionalProperties": false, + "properties": { + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkBandwidthGbpsRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "CapacityReservationOptions": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.PerformanceFactorReferenceRequest": { + "additionalProperties": false, + "properties": { + "InstanceFamily": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.Placement": { + "additionalProperties": false, + "properties": { + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "GroupName": { + "type": "string" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" + }, + "Tenancy": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "additionalProperties": false, + "properties": { + "AllocationStrategy": { + "type": "string" + }, + "InstanceInterruptionBehavior": { + "type": "string" + }, + "InstancePoolsToUseCount": { + "type": "number" + }, + "MaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" + }, + "MaxTotalPrice": { + "type": "string" + }, + "MinTargetCapacity": { + "type": "number" + }, + "SingleAvailabilityZone": { + "type": "boolean" + }, + "SingleInstanceType": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TagSpecification": { + "additionalProperties": false, + "properties": { + "ResourceType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "additionalProperties": false, + "properties": { + "DefaultTargetCapacityType": { + "type": "string" + }, + "OnDemandTargetCapacity": { + "type": "number" + }, + "SpotTargetCapacity": { + "type": "number" + }, + "TargetCapacityUnitType": { + "type": "string" + }, + "TotalTargetCapacity": { + "type": "number" + } + }, + "required": [ + "TotalTargetCapacity" + ], + "type": "object" + }, + "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "additionalProperties": false, + "properties": { + "Max": { + "type": "number" + }, + "Min": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::EIP": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { "anyOf": [ { "pattern": "^[a-zA-Z0-9]+$", @@ -6179,43 +5784,39 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { + "Address": { "type": "string" }, - "ConfigurationProfileId": { + "Domain": { "type": "string" }, - "ConfigurationVersion": { + "InstanceId": { "type": "string" }, - "DeploymentStrategyId": { + "IpamPoolId": { "type": "string" }, - "Description": { + "NetworkBorderGroup": { "type": "string" }, - "EnvironmentId": { + "PublicIpv4Pool": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/AWS::AppConfig::Deployment.Tags" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransferAddress": { + "type": "string" } }, - "required": [ - "ApplicationId", - "ConfigurationProfileId", - "ConfigurationVersion", - "DeploymentStrategyId", - "EnvironmentId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Deployment" + "AWS::EC2::EIP" ], "type": "string" }, @@ -6229,24 +5830,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::Deployment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::DeploymentStrategy": { + "AWS::EC2::EIPAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6278,45 +5866,24 @@ "Properties": { "additionalProperties": false, "properties": { - "DeploymentDurationInMinutes": { - "type": "number" - }, - "Description": { + "AllocationId": { "type": "string" }, - "FinalBakeTimeInMinutes": { - "type": "number" - }, - "GrowthFactor": { - "type": "number" - }, - "GrowthType": { + "InstanceId": { "type": "string" }, - "Name": { + "NetworkInterfaceId": { "type": "string" }, - "ReplicateTo": { + "PrivateIpAddress": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy.Tags" - }, - "type": "array" } }, - "required": [ - "DeploymentDurationInMinutes", - "GrowthFactor", - "Name", - "ReplicateTo" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::DeploymentStrategy" + "AWS::EC2::EIPAssociation" ], "type": "string" }, @@ -6330,24 +5897,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppConfig::DeploymentStrategy.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment": { + "AWS::EC2::EgressOnlyInternetGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6379,37 +5933,18 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Monitors": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Monitors" - }, - "type": "array" - }, - "Name": { + "VpcId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AppConfig::Environment.Tags" - }, - "type": "array" } }, "required": [ - "ApplicationId", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::Environment" + "AWS::EC2::EgressOnlyInternetGateway" ], "type": "string" }, @@ -6428,31 +5963,7 @@ ], "type": "object" }, - "AWS::AppConfig::Environment.Monitors": { - "additionalProperties": false, - "properties": { - "AlarmArn": { - "type": "string" - }, - "AlarmRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::Environment.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppConfig::HostedConfigurationVersion": { + "AWS::EC2::EnclaveCertificateIamRoleAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6484,36 +5995,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationProfileId": { - "type": "string" - }, - "Content": { - "type": "string" - }, - "ContentType": { + "CertificateArn": { "type": "string" }, - "Description": { + "RoleArn": { "type": "string" - }, - "LatestVersionNumber": { - "type": "number" } }, "required": [ - "ApplicationId", - "ConfigurationProfileId", - "Content", - "ContentType" + "CertificateArn", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppConfig::HostedConfigurationVersion" + "AWS::EC2::EnclaveCertificateIamRoleAssociation" ], "type": "string" }, @@ -6532,7 +6029,7 @@ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile": { + "AWS::EC2::FlowLog": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -6564,32 +6061,55 @@ "Properties": { "additionalProperties": false, "properties": { - "ConnectionMode": { + "DeliverCrossAccountRole": { + "type": "string" + }, + "DeliverLogsPermissionArn": { + "type": "string" + }, + "DestinationOptions": { + "$ref": "#/definitions/AWS::EC2::FlowLog.DestinationOptions" + }, + "LogDestination": { + "type": "string" + }, + "LogDestinationType": { + "type": "string" + }, + "LogFormat": { + "type": "string" + }, + "LogGroupName": { "type": "string" }, - "ConnectorProfileConfig": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig" + "MaxAggregationInterval": { + "type": "number" }, - "ConnectorProfileName": { + "ResourceId": { "type": "string" }, - "ConnectorType": { + "ResourceType": { "type": "string" }, - "KMSArn": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficType": { "type": "string" } }, "required": [ - "ConnectionMode", - "ConnectorProfileName", - "ConnectorType" + "ResourceId", + "ResourceType" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::ConnectorProfile" + "AWS::EC2::FlowLog" ], "type": "string" }, @@ -6608,617 +6128,822 @@ ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials": { + "AWS::EC2::FlowLog.DestinationOptions": { "additionalProperties": false, "properties": { - "ApiKey": { + "FileFormat": { "type": "string" }, - "SecretKey": { - "type": "string" + "HiveCompatiblePartitions": { + "type": "boolean" + }, + "PerHourPartition": { + "type": "boolean" } }, "required": [ - "ApiKey", - "SecretKey" + "FileFormat", + "HiveCompatiblePartitions", + "PerHourPartition" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest": { + "AWS::EC2::GatewayRouteTableAssociation": { "additionalProperties": false, "properties": { - "AuthCode": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "RedirectUri": { + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "GatewayId": { + "type": "string" + }, + "RouteTableId": { + "type": "string" + } + }, + "required": [ + "GatewayId", + "RouteTableId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::GatewayRouteTableAssociation" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileConfig": { - "additionalProperties": false, - "properties": { - "ConnectorProfileCredentials": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials" }, - "ConnectorProfileProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "ConnectorProfileCredentials" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileCredentials": { + "AWS::EC2::Host": { "additionalProperties": false, "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials" + "Metadata": { + "type": "object" }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials" + "Properties": { + "additionalProperties": false, + "properties": { + "AssetId": { + "type": "string" + }, + "AutoPlacement": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "HostMaintenance": { + "type": "string" + }, + "HostRecovery": { + "type": "string" + }, + "InstanceFamily": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "OutpostArn": { + "type": "string" + } + }, + "required": [ + "AvailabilityZone" + ], + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials" + "Type": { + "enum": [ + "AWS::EC2::Host" + ], + "type": "string" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, + "required": [ + "Type", + "Properties" + ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ConnectorProfileProperties": { + "AWS::EC2::IPAM": { "additionalProperties": false, "properties": { - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties" - }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties" + "Metadata": { + "type": "object" }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties" + "Properties": { + "additionalProperties": false, + "properties": { + "DefaultResourceDiscoveryOrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Description": { + "type": "string" + }, + "EnablePrivateGua": { + "type": "boolean" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Tier": { + "type": "string" + } + }, + "type": "object" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAM" + ], "type": "string" }, - "ApplicationKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.DatadogConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileCredentials": { + "AWS::EC2::IPAM.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "ApiToken": { + "RegionName": { "type": "string" } }, "required": [ - "ApiToken" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.DynatraceConnectorProfileProperties": { + "AWS::EC2::IPAM.IpamOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "InstanceUrl" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.GoogleAnalyticsConnectorProfileCredentials": { + "AWS::EC2::IPAMAllocation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } + }, + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" + "Type": { + "enum": [ + "AWS::EC2::IPAMAllocation" + ], + "type": "string" }, - "RefreshToken": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "ClientId", - "ClientSecret" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileCredentials": { + "AWS::EC2::IPAMPool": { "additionalProperties": false, "properties": { - "AccessKeyId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Datakey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AddressFamily": { + "type": "string" + }, + "AllocationDefaultNetmaskLength": { + "type": "number" + }, + "AllocationMaxNetmaskLength": { + "type": "number" + }, + "AllocationMinNetmaskLength": { + "type": "number" + }, + "AllocationResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "AutoImport": { + "type": "boolean" + }, + "AwsService": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IpamScopeId": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ProvisionedCidrs": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + }, + "type": "array" + }, + "PublicIpSource": { + "type": "string" + }, + "PubliclyAdvertisable": { + "type": "boolean" + }, + "SourceIpamPoolId": { + "type": "string" + }, + "SourceResource": { + "$ref": "#/definitions/AWS::EC2::IPAMPool.SourceResource" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AddressFamily", + "IpamScopeId" + ], + "type": "object" }, - "SecretAccessKey": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPool" + ], "type": "string" }, - "UserId": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "AccessKeyId", - "Datakey", - "SecretAccessKey", - "UserId" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.InforNexusConnectorProfileProperties": { + "AWS::EC2::IPAMPool.ProvisionedCidr": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "Cidr": { "type": "string" } }, "required": [ - "InstanceUrl" + "Cidr" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileCredentials": { + "AWS::EC2::IPAMPool.SourceResource": { "additionalProperties": false, "properties": { - "AccessToken": { + "ResourceId": { "type": "string" }, - "ClientId": { + "ResourceOwner": { "type": "string" }, - "ClientSecret": { + "ResourceRegion": { "type": "string" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.MarketoConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "ResourceType": { "type": "string" } }, "required": [ - "InstanceUrl" + "ResourceId", + "ResourceOwner", + "ResourceRegion", + "ResourceType" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.OAuthProperties": { + "AWS::EC2::IPAMPoolCidr": { "additionalProperties": false, "properties": { - "AuthCodeUrl": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "OAuthScopes": { - "items": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "IpamPoolId": { + "type": "string" + }, + "NetmaskLength": { + "type": "number" + } }, - "type": "array" + "required": [ + "IpamPoolId" + ], + "type": "object" }, - "TokenUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMPoolCidr" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.RedshiftConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "DatabaseUrl": { - "type": "string" + "Metadata": { + "type": "object" }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "DatabaseUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "BasicAuthCredentials": { - "type": "object" - }, - "OAuthCredentials": { + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "OperatingRegions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion" + }, + "type": "array" + }, + "OrganizationalUnitExclusions": { + "items": { + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, "type": "object" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SAPODataConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "ApplicationHostUrl": { - "type": "string" - }, - "ApplicationServicePath": { - "type": "string" - }, - "ClientNumber": { - "type": "string" - }, - "LogonLanguage": { - "type": "string" - }, - "OAuthProperties": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.OAuthProperties" - }, - "PortNumber": { - "type": "number" - }, - "PrivateLinkServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "ClientCredentialsArn": { - "type": "string" - }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SalesforceConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" }, - "isSandboxEnvironment": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscovery" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ServiceNowConnectorProfileProperties": { + "AWS::EC2::IPAMResourceDiscovery.IpamOperatingRegion": { "additionalProperties": false, "properties": { - "InstanceUrl": { + "RegionName": { "type": "string" } }, "required": [ - "InstanceUrl" + "RegionName" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SingularConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscovery.IpamResourceDiscoveryOrganizationalUnitExclusion": { "additionalProperties": false, "properties": { - "ApiKey": { + "OrganizationsEntityPath": { "type": "string" } }, "required": [ - "ApiKey" + "OrganizationsEntityPath" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileCredentials": { + "AWS::EC2::IPAMResourceDiscoveryAssociation": { "additionalProperties": false, "properties": { - "AccessToken": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ClientId": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ClientSecret": { - "type": "string" + "Metadata": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SlackConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Properties": { + "additionalProperties": false, + "properties": { + "IpamId": { + "type": "string" + }, + "IpamResourceDiscoveryId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId", + "IpamResourceDiscoveryId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::IPAMResourceDiscoveryAssociation" + ], "type": "string" }, - "Username": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Password", - "Username" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.SnowflakeConnectorProfileProperties": { + "AWS::EC2::IPAMScope": { "additionalProperties": false, "properties": { - "AccountName": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "PrivateLinkServiceName": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Region": { - "type": "string" + "Metadata": { + "type": "object" }, - "Stage": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "IpamId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "IpamId" + ], + "type": "object" }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Stage", - "Warehouse" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.TrendmicroConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "ApiSecretKey": { - "type": "string" - } - }, - "required": [ - "ApiSecretKey" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileCredentials": { - "additionalProperties": false, - "properties": { - "Password": { + "Type": { + "enum": [ + "AWS::EC2::IPAMScope" + ], "type": "string" }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.VeevaConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "InstanceUrl" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileCredentials": { + "AWS::EC2::Instance": { "additionalProperties": false, "properties": { - "AccessToken": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" + "CreationPolicy": { + "type": "object" }, - "ConnectorOAuthRequest": { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile.ConnectorOAuthRequest" - } - }, - "required": [ - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "AWS::AppFlow::ConnectorProfile.ZendeskConnectorProfileProperties": { - "additionalProperties": false, - "properties": { - "InstanceUrl": { - "type": "string" - } - }, - "required": [ - "InstanceUrl" - ], - "type": "object" - }, - "AWS::AppFlow::Flow": { - "additionalProperties": false, - "properties": { "DeletionPolicy": { "enum": [ "Delete", @@ -7248,23 +6973,140 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AdditionalInfo": { + "type": "string" + }, + "Affinity": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" + }, + "type": "array" + }, + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" + }, + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + }, + "type": "array" + }, + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" + }, + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "IamInstanceProfile": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "InstanceInitiatedShutdownBehavior": { + "type": "string" + }, + "InstanceType": { + "type": "string" + }, + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" + }, + "KernelId": { + "type": "string" + }, + "KeyName": { "type": "string" }, - "DestinationFlowConfigList": { + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" + }, + "LicenseSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + }, + "type": "array" + }, + "Monitoring": { + "type": "boolean" + }, + "NetworkInterfaces": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationFlowConfig" + "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" }, "type": "array" }, - "FlowName": { + "PlacementGroupName": { + "type": "string" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateDnsNameOptions" + }, + "PrivateIpAddress": { "type": "string" }, - "KMSArn": { + "PropagateTagsToVolumeOnCreation": { + "type": "boolean" + }, + "RamdiskId": { "type": "string" }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceFlowConfig" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SsmAssociations": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -7272,28 +7114,24 @@ }, "type": "array" }, - "Tasks": { + "Tenancy": { + "type": "string" + }, + "UserData": { + "type": "string" + }, + "Volumes": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.Task" + "$ref": "#/definitions/AWS::EC2::Instance.Volume" }, "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TriggerConfig" } }, - "required": [ - "DestinationFlowConfigList", - "FlowName", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppFlow::Flow" + "AWS::EC2::Instance" ], "type": "string" }, @@ -7307,719 +7145,461 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.AggregationConfig": { + "AWS::EC2::Instance.AssociationParameter": { "additionalProperties": false, "properties": { - "AggregationType": { + "Key": { "type": "string" + }, + "Value": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::AppFlow::Flow.AmplitudeSourceProperties": { + "AWS::EC2::Instance.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "Object": { + "DeviceName": { + "type": "string" + }, + "Ebs": { + "$ref": "#/definitions/AWS::EC2::Instance.Ebs" + }, + "NoDevice": { + "type": "object" + }, + "VirtualName": { "type": "string" } }, "required": [ - "Object" + "DeviceName" ], "type": "object" }, - "AWS::AppFlow::Flow.ConnectorOperator": { + "AWS::EC2::Instance.CpuOptions": { "additionalProperties": false, "properties": { - "Amplitude": { - "type": "string" - }, - "Datadog": { - "type": "string" - }, - "Dynatrace": { - "type": "string" - }, - "GoogleAnalytics": { - "type": "string" - }, - "InforNexus": { - "type": "string" - }, - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "SAPOData": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Singular": { - "type": "string" - }, - "Slack": { - "type": "string" - }, - "Trendmicro": { - "type": "string" - }, - "Veeva": { - "type": "string" + "CoreCount": { + "type": "number" }, - "Zendesk": { - "type": "string" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppFlow::Flow.DatadogSourceProperties": { + "AWS::EC2::Instance.CreditSpecification": { "additionalProperties": false, "properties": { - "Object": { + "CPUCredits": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.DestinationConnectorProperties": { + "AWS::EC2::Instance.Ebs": { "additionalProperties": false, "properties": { - "EventBridge": { - "$ref": "#/definitions/AWS::AppFlow::Flow.EventBridgeDestinationProperties" - }, - "LookoutMetrics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.LookoutMetricsDestinationProperties" + "DeleteOnTermination": { + "type": "boolean" }, - "Redshift": { - "$ref": "#/definitions/AWS::AppFlow::Flow.RedshiftDestinationProperties" + "Encrypted": { + "type": "boolean" }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3DestinationProperties" + "Iops": { + "type": "number" }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceDestinationProperties" + "KmsKeyId": { + "type": "string" }, - "Snowflake": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SnowflakeDestinationProperties" + "SnapshotId": { + "type": "string" }, - "Upsolver": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverDestinationProperties" + "VolumeSize": { + "type": "number" }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskDestinationProperties" + "VolumeType": { + "type": "string" } }, "type": "object" }, - "AWS::AppFlow::Flow.DestinationFlowConfig": { + "AWS::EC2::Instance.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Type": { "type": "string" - }, - "DestinationConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DestinationConnectorProperties" } }, "required": [ - "ConnectorType", - "DestinationConnectorProperties" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.DynatraceSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ErrorHandlingConfig": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "FailOnFirstError": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.EventBridgeDestinationProperties": { + "AWS::EC2::Instance.ElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Count": { + "type": "number" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "Type": { "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppFlow::Flow.IncrementalPullConfig": { - "additionalProperties": false, - "properties": { - "DatetimeTypeFieldName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.InforNexusSourceProperties": { + "AWS::EC2::Instance.EnclaveOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::AppFlow::Flow.LookoutMetricsDestinationProperties": { + "AWS::EC2::Instance.HibernationOptions": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppFlow::Flow.MarketoSourceProperties": { + "AWS::EC2::Instance.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "Object": { + "Ipv6Address": { "type": "string" } }, "required": [ - "Object" + "Ipv6Address" ], "type": "object" }, - "AWS::AppFlow::Flow.PrefixConfig": { - "additionalProperties": false, - "properties": { - "PrefixFormat": { - "type": "string" - }, - "PrefixType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.RedshiftDestinationProperties": { + "AWS::EC2::Instance.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "BucketPrefix": { + "LaunchTemplateId": { "type": "string" }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" - }, - "IntermediateBucketName": { + "LaunchTemplateName": { "type": "string" }, - "Object": { + "Version": { "type": "string" } }, "required": [ - "IntermediateBucketName", - "Object" + "Version" ], "type": "object" }, - "AWS::AppFlow::Flow.S3DestinationProperties": { + "AWS::EC2::Instance.LicenseSpecification": { "additionalProperties": false, "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { + "LicenseConfigurationArn": { "type": "string" - }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3OutputFormatConfig" } }, "required": [ - "BucketName" + "LicenseConfigurationArn" ], "type": "object" }, - "AWS::AppFlow::Flow.S3InputFormatConfig": { - "additionalProperties": false, - "properties": { - "S3InputFileType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3OutputFormatConfig": { + "AWS::EC2::Instance.NetworkInterface": { "additionalProperties": false, "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "AssociateCarrierIpAddress": { + "type": "boolean" }, - "FileType": { - "type": "string" + "AssociatePublicIpAddress": { + "type": "boolean" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" - } - }, - "type": "object" - }, - "AWS::AppFlow::Flow.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "BucketPrefix": { + "Description": { "type": "string" }, - "S3InputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3InputFormatConfig" - } - }, - "required": [ - "BucketName", - "BucketPrefix" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SAPODataSourceProperties": { - "additionalProperties": false, - "properties": { - "ObjectPath": { + "DeviceIndex": { "type": "string" - } - }, - "required": [ - "ObjectPath" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" }, - "IdFieldNames": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "Object": { - "type": "string" - }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SalesforceSourceProperties": { - "additionalProperties": false, - "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" + "Ipv6AddressCount": { + "type": "number" }, - "IncludeDeletedRecords": { - "type": "boolean" + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" + }, + "type": "array" }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ScheduledTriggerProperties": { - "additionalProperties": false, - "properties": { - "DataPullMode": { + "NetworkInterfaceId": { "type": "string" }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { + "PrivateIpAddress": { "type": "string" }, - "ScheduleOffset": { - "type": "number" + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" + }, + "type": "array" }, - "ScheduleStartTime": { + "SecondaryPrivateIpAddressCount": { "type": "number" }, - "TimeZone": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ServiceNowSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SingularSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SlackSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "SubnetId": { "type": "string" } }, "required": [ - "Object" + "DeviceIndex" ], "type": "object" }, - "AWS::AppFlow::Flow.SnowflakeDestinationProperties": { + "AWS::EC2::Instance.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "BucketPrefix": { - "type": "string" - }, - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" }, - "IntermediateBucketName": { - "type": "string" + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "Object": { + "HostnameType": { "type": "string" } }, - "required": [ - "IntermediateBucketName", - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.SourceConnectorProperties": { - "additionalProperties": false, - "properties": { - "Amplitude": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AmplitudeSourceProperties" - }, - "Datadog": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DatadogSourceProperties" - }, - "Dynatrace": { - "$ref": "#/definitions/AWS::AppFlow::Flow.DynatraceSourceProperties" - }, - "GoogleAnalytics": { - "$ref": "#/definitions/AWS::AppFlow::Flow.GoogleAnalyticsSourceProperties" - }, - "InforNexus": { - "$ref": "#/definitions/AWS::AppFlow::Flow.InforNexusSourceProperties" - }, - "Marketo": { - "$ref": "#/definitions/AWS::AppFlow::Flow.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::AppFlow::Flow.S3SourceProperties" - }, - "SAPOData": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SAPODataSourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ServiceNowSourceProperties" - }, - "Singular": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SingularSourceProperties" - }, - "Slack": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SlackSourceProperties" - }, - "Trendmicro": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TrendmicroSourceProperties" - }, - "Veeva": { - "$ref": "#/definitions/AWS::AppFlow::Flow.VeevaSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ZendeskSourceProperties" - } - }, "type": "object" }, - "AWS::AppFlow::Flow.SourceFlowConfig": { + "AWS::EC2::Instance.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" + "Primary": { + "type": "boolean" }, - "ConnectorType": { + "PrivateIpAddress": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.SourceConnectorProperties" } }, "required": [ - "ConnectorType", - "SourceConnectorProperties" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppFlow::Flow.Task": { + "AWS::EC2::Instance.SsmAssociation": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { + "AssociationParameters": { "items": { - "$ref": "#/definitions/AWS::AppFlow::Flow.TaskPropertiesObject" + "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" }, "type": "array" }, - "TaskType": { + "DocumentName": { "type": "string" } }, "required": [ - "SourceFields", - "TaskType" + "DocumentName" ], "type": "object" }, - "AWS::AppFlow::Flow.TaskPropertiesObject": { + "AWS::EC2::Instance.State": { "additionalProperties": false, "properties": { - "Key": { + "Code": { "type": "string" }, - "Value": { + "Name": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::AppFlow::Flow.TrendmicroSourceProperties": { + "AWS::EC2::Instance.Volume": { "additionalProperties": false, "properties": { - "Object": { + "Device": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ScheduledTriggerProperties" }, - "TriggerType": { + "VolumeId": { "type": "string" } }, "required": [ - "TriggerType" + "Device", + "VolumeId" ], "type": "object" }, - "AWS::AppFlow::Flow.UpsolverDestinationProperties": { + "AWS::EC2::InstanceConnectEndpoint": { "additionalProperties": false, "properties": { - "BucketName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BucketPrefix": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "S3OutputFormatConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig" - } - }, - "required": [ - "BucketName", - "S3OutputFormatConfig" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.UpsolverS3OutputFormatConfig": { - "additionalProperties": false, - "properties": { - "AggregationConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.AggregationConfig" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ClientToken": { + "type": "string" + }, + "PreserveClientIp": { + "type": "boolean" + }, + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "SubnetId" + ], + "type": "object" }, - "FileType": { + "Type": { + "enum": [ + "AWS::EC2::InstanceConnectEndpoint" + ], "type": "string" }, - "PrefixConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.PrefixConfig" + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" } }, "required": [ - "PrefixConfig" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppFlow::Flow.VeevaSourceProperties": { + "AWS::EC2::InternetGateway": { "additionalProperties": false, "properties": { - "DocumentType": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "IncludeAllVersions": { - "type": "boolean" - }, - "IncludeRenditions": { - "type": "boolean" - }, - "IncludeSourceFiles": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Object": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskDestinationProperties": { - "additionalProperties": false, - "properties": { - "ErrorHandlingConfig": { - "$ref": "#/definitions/AWS::AppFlow::Flow.ErrorHandlingConfig" + "Metadata": { + "type": "object" }, - "IdFieldNames": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Object": { + "Type": { + "enum": [ + "AWS::EC2::InternetGateway" + ], "type": "string" }, - "WriteOperationType": { - "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::AppFlow::Flow.ZendeskSourceProperties": { - "additionalProperties": false, - "properties": { - "Object": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Object" + "Type" ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration": { + "AWS::EC2::KeyPair": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8051,16 +7631,16 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "KeyFormat": { "type": "string" }, - "EventBridgeBus": { + "KeyName": { "type": "string" }, - "EventFilter": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.EventFilter" + "KeyType": { + "type": "string" }, - "Name": { + "PublicKeyMaterial": { "type": "string" }, "Tags": { @@ -8071,15 +7651,13 @@ } }, "required": [ - "EventBridgeBus", - "EventFilter", - "Name" + "KeyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppIntegrations::EventIntegration" + "AWS::EC2::KeyPair" ], "type": "string" }, @@ -8098,59 +7676,7 @@ ], "type": "object" }, - "AWS::AppIntegrations::EventIntegration.EventFilter": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.EventIntegrationAssociation": { - "additionalProperties": false, - "properties": { - "ClientAssociationMetadata": { - "items": { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration.Metadata" - }, - "type": "array" - }, - "ClientId": { - "type": "string" - }, - "EventBridgeRuleName": { - "type": "string" - }, - "EventIntegrationAssociationArn": { - "type": "string" - }, - "EventIntegrationAssociationId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppIntegrations::EventIntegration.Metadata": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute": { + "AWS::EC2::LaunchTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -8182,38 +7708,30 @@ "Properties": { "additionalProperties": false, "properties": { - "GatewayRouteName": { - "type": "string" - }, - "MeshName": { - "type": "string" + "LaunchTemplateData": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" }, - "MeshOwner": { + "LaunchTemplateName": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteSpec" - }, - "Tags": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" }, "type": "array" }, - "VirtualGatewayName": { + "VersionDescription": { "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualGatewayName" + "LaunchTemplateData" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::GatewayRoute" + "AWS::EC2::LaunchTemplate" ], "type": "string" }, @@ -8232,955 +7750,844 @@ ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch": { + "AWS::EC2::LaunchTemplate.AcceleratorCount": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite": { + "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { "additionalProperties": false, "properties": { - "DefaultTargetHostname": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch": { + "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch": { + "AWS::EC2::LaunchTemplate.BaselinePerformanceFactors": { "additionalProperties": false, "properties": { - "End": { - "type": "number" - }, - "Start": { - "type": "number" + "Cpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Cpu" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteSpec": { + "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRoute" + "DeviceName": { + "type": "string" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoute" + "NoDevice": { + "type": "string" }, - "Priority": { - "type": "number" + "VirtualName": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GatewayRouteTarget": { + "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { "additionalProperties": false, "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService" - } - }, - "required": [ - "VirtualService" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GatewayRouteVirtualService": { - "additionalProperties": false, - "properties": { - "VirtualServiceName": { + "CapacityReservationPreference": { "type": "string" + }, + "CapacityReservationTarget": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" } }, - "required": [ - "VirtualServiceName" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRoute": { + "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction" + "CapacityReservationId": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch" + "CapacityReservationResourceGroupArn": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite" + "TcpEstablishedTimeout": { + "type": "number" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" + "UdpStreamTimeout": { + "type": "number" + }, + "UdpTimeout": { + "type": "number" } }, - "required": [ - "Target" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.Cpu": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Metadata": { + "References": { "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Reference" }, "type": "array" - }, - "ServiceName": { - "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteMetadata": { + "AWS::EC2::LaunchTemplate.CpuOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" + "AmdSevSnp": { + "type": "string" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteMetadataMatch" + "CoreCount": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.GrpcGatewayRouteRewrite": { - "additionalProperties": false, - "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" + "ThreadsPerCore": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoute": { + "AWS::EC2::LaunchTemplate.CreditSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch" + "CpuCredits": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteAction": { + "AWS::EC2::LaunchTemplate.Ebs": { "additionalProperties": false, "properties": { - "Rewrite": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite" + "DeleteOnTermination": { + "type": "boolean" }, - "Target": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteTarget" - } - }, - "required": [ - "Target" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader": { - "additionalProperties": false, - "properties": { - "Invert": { + "Encrypted": { "type": "boolean" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch" + "Iops": { + "type": "number" }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeaderMatch": { - "additionalProperties": false, - "properties": { - "Exact": { + "KmsKeyId": { "type": "string" }, - "Prefix": { + "SnapshotId": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteRangeMatch" + "Throughput": { + "type": "number" }, - "Regex": { - "type": "string" + "VolumeSize": { + "type": "number" }, - "Suffix": { + "VolumeType": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteMatch": { + "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRouteHeader" - }, - "type": "array" - }, - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch" - }, - "Method": { - "type": "string" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpPathMatch" - }, - "Prefix": { + "Type": { "type": "string" - }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.QueryParameter" - }, - "type": "array" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdSpecification": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite": { + "AWS::EC2::LaunchTemplate.EnaSrdUdpSpecification": { "additionalProperties": false, "properties": { - "DefaultPrefix": { - "type": "string" - }, - "Value": { - "type": "string" + "EnaSrdUdpEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpGatewayRouteRewrite": { + "AWS::EC2::LaunchTemplate.EnclaveOptions": { "additionalProperties": false, "properties": { - "Hostname": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.GatewayRouteHostnameRewrite" - }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePathRewrite" - }, - "Prefix": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpGatewayRoutePrefixRewrite" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.HibernationOptions": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Configured": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.IamInstanceProfile": { "additionalProperties": false, "properties": { - "Exact": { + "Arn": { + "type": "string" + }, + "Name": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::GatewayRoute.QueryParameter": { + "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute.HttpQueryParameterMatch" - }, - "Name": { + "MarketType": { "type": "string" + }, + "SpotOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Mesh": { + "AWS::EC2::LaunchTemplate.InstanceRequirements": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorCount" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.MeshSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB" + }, + "AcceleratorTypes": { + "items": { + "type": "string" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Mesh" - ], + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps" + }, + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BaselinePerformanceFactors" + }, + "BurstablePerformance": { + "type": "string" + }, + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "InstanceGenerations": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LocalStorage": { "type": "string" + }, + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" + }, + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu" + }, + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MemoryMiB" + }, + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkBandwidthGbps" + }, + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterfaceCount" + }, + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "RequireHibernateSupport": { + "type": "boolean" + }, + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" + }, + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TotalLocalStorageGB" + }, + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.VCpuCount" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.EgressFilter": { + "AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Type": { + "Ipv4Prefix": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AppMesh::Mesh.MeshSpec": { + "AWS::EC2::LaunchTemplate.Ipv6Add": { "additionalProperties": false, "properties": { - "EgressFilter": { - "$ref": "#/definitions/AWS::AppMesh::Mesh.EgressFilter" + "Ipv6Address": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route": { + "AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Ipv6Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "additionalProperties": false, + "properties": { + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CapacityReservationSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" }, - "Metadata": { - "type": "object" + "CpuOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" }, - "Properties": { - "additionalProperties": false, - "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { - "type": "string" - }, - "RouteName": { - "type": "string" - }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::Route.RouteSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VirtualRouterName": { - "type": "string" - } + "CreditSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + }, + "DisableApiStop": { + "type": "boolean" + }, + "DisableApiTermination": { + "type": "boolean" + }, + "EbsOptimized": { + "type": "boolean" + }, + "ElasticGpuSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" }, - "required": [ - "MeshName", - "Spec", - "VirtualRouterName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::AppMesh::Route" - ], + "ElasticInferenceAccelerators": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" + }, + "type": "array" + }, + "EnclaveOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + }, + "HibernationOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + }, + "ImageId": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstanceInitiatedShutdownBehavior": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AppMesh::Route.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { + }, + "InstanceMarketOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceRequirements" + }, + "InstanceType": { "type": "string" }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::Route.GrpcRetryPolicy": { - "additionalProperties": false, - "properties": { - "GrpcRetryEvents": { + "KernelId": { + "type": "string" + }, + "KeyName": { + "type": "string" + }, + "LicenseSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" }, "type": "array" }, - "HttpRetryEvents": { + "MaintenanceOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MaintenanceOptions" + }, + "MetadataOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + }, + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + }, + "NetworkInterfaces": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" }, "type": "array" }, - "MaxRetries": { - "type": "number" + "NetworkPerformanceOptions": { + "type": "object" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" + }, + "PrivateDnsNameOptions": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateDnsNameOptions" + }, + "RamDiskId": { + "type": "string" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "TcpRetryEvents": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" + }, + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" + }, + "type": "array" + }, + "UserData": { + "type": "string" } }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRoute": { + "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteAction" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMatch" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRetryPolicy" + "Count": { + "type": "number" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcTimeout" + "Type": { + "type": "string" } }, - "required": [ - "Action", - "Match" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteAction": { + "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { "additionalProperties": false, "properties": { - "WeightedTargets": { + "ResourceType": { + "type": "string" + }, + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMatch": { + "AWS::EC2::LaunchTemplate.LicenseSpecification": { "additionalProperties": false, "properties": { - "Metadata": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadata" - }, - "type": "array" - }, - "MethodName": { - "type": "string" - }, - "ServiceName": { + "LicenseConfigurationArn": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadata": { + "AWS::EC2::LaunchTemplate.MaintenanceOptions": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod" - }, - "Name": { + "AutoRecovery": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.GrpcRouteMetadataMatchMethod": { + "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" - }, - "Regex": { - "type": "string" + "Max": { + "type": "number" }, - "Suffix": { - "type": "string" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.GrpcTimeout": { + "AWS::EC2::LaunchTemplate.MemoryMiB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HeaderMatchMethod": { + "AWS::EC2::LaunchTemplate.MetadataOptions": { "additionalProperties": false, "properties": { - "Exact": { + "HttpEndpoint": { "type": "string" }, - "Prefix": { + "HttpProtocolIpv6": { "type": "string" }, - "Range": { - "$ref": "#/definitions/AWS::AppMesh::Route.MatchRange" + "HttpPutResponseHopLimit": { + "type": "number" }, - "Regex": { + "HttpTokens": { "type": "string" }, - "Suffix": { + "InstanceMetadataTags": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpPathMatch": { + "AWS::EC2::LaunchTemplate.Monitoring": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" - }, - "Regex": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpQueryParameterMatch": { + "AWS::EC2::LaunchTemplate.NetworkBandwidthGbps": { "additionalProperties": false, "properties": { - "Exact": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpRetryPolicy": { + "AWS::EC2::LaunchTemplate.NetworkInterface": { "additionalProperties": false, "properties": { - "HttpRetryEvents": { + "AssociateCarrierIpAddress": { + "type": "boolean" + }, + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ConnectionTrackingSpecification" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnaSrdSpecification" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "MaxRetries": { + "InterfaceType": { + "type": "string" + }, + "Ipv4PrefixCount": { "type": "number" }, - "PerRetryTimeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Ipv4Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv4PrefixSpecification" + }, + "type": "array" + }, + "Ipv6AddressCount": { + "type": "number" }, - "TcpRetryEvents": { + "Ipv6Addresses": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" }, "type": "array" - } - }, - "required": [ - "MaxRetries", - "PerRetryTimeout" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRoute": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteAction" }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteMatch" + "Ipv6PrefixCount": { + "type": "number" }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRetryPolicy" + "Ipv6Prefixes": { + "items": { + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6PrefixSpecification" + }, + "type": "array" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpTimeout" - } - }, - "required": [ - "Action", - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::Route.HttpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "NetworkCardIndex": { + "type": "number" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PrimaryIpv6": { + "type": "boolean" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" }, "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { + "type": "string" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteHeader": { + "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { "additionalProperties": false, "properties": { - "Invert": { - "type": "boolean" - }, - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HeaderMatchMethod" + "Max": { + "type": "number" }, - "Name": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.HttpRouteMatch": { + "AWS::EC2::LaunchTemplate.Placement": { "additionalProperties": false, "properties": { - "Headers": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRouteHeader" - }, - "type": "array" + "Affinity": { + "type": "string" }, - "Method": { + "AvailabilityZone": { "type": "string" }, - "Path": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpPathMatch" + "GroupId": { + "type": "string" }, - "Prefix": { + "GroupName": { "type": "string" }, - "QueryParameters": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.QueryParameter" - }, - "type": "array" + "HostId": { + "type": "string" + }, + "HostResourceGroupArn": { + "type": "string" + }, + "PartitionNumber": { + "type": "number" + }, + "SpreadDomain": { + "type": "string" }, - "Scheme": { + "Tenancy": { "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.HttpTimeout": { + "AWS::EC2::LaunchTemplate.PrivateDnsNameOptions": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "EnableResourceNameDnsAAAARecord": { + "type": "boolean" + }, + "EnableResourceNameDnsARecord": { + "type": "boolean" }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "HostnameType": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.MatchRange": { + "AWS::EC2::LaunchTemplate.PrivateIpAdd": { "additionalProperties": false, "properties": { - "End": { - "type": "number" + "Primary": { + "type": "boolean" }, - "Start": { - "type": "number" + "PrivateIpAddress": { + "type": "string" } }, - "required": [ - "End", - "Start" - ], "type": "object" }, - "AWS::AppMesh::Route.QueryParameter": { + "AWS::EC2::LaunchTemplate.Reference": { "additionalProperties": false, "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpQueryParameterMatch" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, - "required": [ - "Name" - ], "type": "object" }, - "AWS::AppMesh::Route.RouteSpec": { + "AWS::EC2::LaunchTemplate.SpotOptions": { "additionalProperties": false, "properties": { - "GrpcRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.GrpcRoute" + "BlockDurationMinutes": { + "type": "number" }, - "Http2Route": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "InstanceInterruptionBehavior": { + "type": "string" }, - "HttpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.HttpRoute" + "MaxPrice": { + "type": "string" }, - "Priority": { - "type": "number" + "SpotInstanceType": { + "type": "string" }, - "TcpRoute": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRoute" + "ValidUntil": { + "type": "string" } }, "type": "object" }, - "AWS::AppMesh::Route.TcpRoute": { + "AWS::EC2::LaunchTemplate.TagSpecification": { "additionalProperties": false, "properties": { - "Action": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpRouteAction" + "ResourceType": { + "type": "string" }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::Route.TcpTimeout" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::AppMesh::Route.TcpRouteAction": { - "additionalProperties": false, - "properties": { - "WeightedTargets": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AppMesh::Route.WeightedTarget" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "WeightedTargets" - ], "type": "object" }, - "AWS::AppMesh::Route.TcpTimeout": { + "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { "additionalProperties": false, "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::Route.Duration" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AppMesh::Route.WeightedTarget": { + "AWS::EC2::LaunchTemplate.VCpuCount": { "additionalProperties": false, "properties": { - "VirtualNode": { - "type": "string" + "Max": { + "type": "number" }, - "Weight": { + "Min": { "type": "number" } }, - "required": [ - "VirtualNode", - "Weight" - ], "type": "object" }, - "AWS::AppMesh::VirtualGateway": { + "AWS::EC2::LocalGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9212,34 +8619,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "DestinationCidrBlock": { "type": "string" }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewaySpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "LocalGatewayVirtualInterfaceGroupId": { + "type": "string" }, - "VirtualGatewayName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "DestinationCidrBlock", + "LocalGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualGateway" + "AWS::EC2::LocalGatewayRoute" ], "type": "string" }, @@ -9258,431 +8659,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayFileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayHealthCheckPolicy" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayLogging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayPortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewaySpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayBackendDefaults" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayListener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayLogging" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway.VirtualGatewayTlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode": { + "AWS::EC2::LocalGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -9714,34 +8691,27 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayId": { "type": "string" }, - "MeshOwner": { + "Mode": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualNodeName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualNode" + "AWS::EC2::LocalGatewayRouteTable" ], "type": "string" }, @@ -9760,638 +8730,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualNode.AccessLog": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.FileAccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapInstanceAttribute" - }, - "type": "array" - }, - "NamespaceName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "NamespaceName", - "ServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Backend": { - "additionalProperties": false, - "properties": { - "VirtualService": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualServiceBackend" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.BackendDefaults": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicy": { - "additionalProperties": false, - "properties": { - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicyTls" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientPolicyTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientTlsCertificate" - }, - "Enforce": { - "type": "boolean" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContext" - } - }, - "required": [ - "Validation" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ClientTlsCertificate": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.DnsServiceDiscovery": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "ResponseType": { - "type": "string" - } - }, - "required": [ - "Hostname" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Duration": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.FileAccessLog": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.GrpcTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "IntervalMillis": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "TimeoutMillis": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "required": [ - "HealthyThreshold", - "IntervalMillis", - "Protocol", - "TimeoutMillis", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.HttpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "PerRequest": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Listener": { - "additionalProperties": false, - "properties": { - "ConnectionPool": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HealthCheck" - }, - "OutlierDetection": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.OutlierDetection" - }, - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.PortMapping" - }, - "TLS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTls" - }, - "Timeout": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTimeout" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTimeout": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.GrpcTimeout" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.HttpTimeout" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TcpTimeout" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTls": { - "additionalProperties": false, - "properties": { - "Certificate": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsCertificate" - }, - "Mode": { - "type": "string" - }, - "Validation": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContext" - } - }, - "required": [ - "Certificate", - "Mode" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsCertificate": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsAcmCertificate" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsFileCertificate": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "required": [ - "CertificateChain", - "PrivateKey" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsSdsCertificate": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ListenerTlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.Logging": { - "additionalProperties": false, - "properties": { - "AccessLog": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AccessLog" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.OutlierDetection": { - "additionalProperties": false, - "properties": { - "BaseEjectionDuration": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "Interval": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - }, - "MaxEjectionPercent": { - "type": "number" - }, - "MaxServerErrors": { - "type": "number" - } - }, - "required": [ - "BaseEjectionDuration", - "Interval", - "MaxEjectionPercent", - "MaxServerErrors" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.ServiceDiscovery": { - "additionalProperties": false, - "properties": { - "AWSCloudMap": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.AwsCloudMapServiceDiscovery" - }, - "DNS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.DnsServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers": { - "additionalProperties": false, - "properties": { - "Exact": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.SubjectAlternativeNames": { - "additionalProperties": false, - "properties": { - "Match": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNameMatchers" - } - }, - "required": [ - "Match" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TcpTimeout": { - "additionalProperties": false, - "properties": { - "Idle": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Duration" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContext": { - "additionalProperties": false, - "properties": { - "SubjectAlternativeNames": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.SubjectAlternativeNames" - }, - "Trust": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextTrust" - } - }, - "required": [ - "Trust" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CertificateAuthorityArns" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust": { - "additionalProperties": false, - "properties": { - "CertificateChain": { - "type": "string" - } - }, - "required": [ - "CertificateChain" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust": { - "additionalProperties": false, - "properties": { - "SecretName": { - "type": "string" - } - }, - "required": [ - "SecretName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.TlsValidationContextTrust": { - "additionalProperties": false, - "properties": { - "ACM": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextAcmTrust" - }, - "File": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextFileTrust" - }, - "SDS": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.TlsValidationContextSdsTrust" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeConnectionPool": { - "additionalProperties": false, - "properties": { - "GRPC": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool" - }, - "HTTP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool" - }, - "HTTP2": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool" - }, - "TCP": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeGrpcConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttp2ConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxRequests": { - "type": "number" - } - }, - "required": [ - "MaxRequests" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeHttpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - }, - "MaxPendingRequests": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeSpec": { - "additionalProperties": false, - "properties": { - "BackendDefaults": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.BackendDefaults" - }, - "Backends": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Backend" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Listener" - }, - "type": "array" - }, - "Logging": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.Logging" - }, - "ServiceDiscovery": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ServiceDiscovery" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualNodeTcpConnectionPool": { - "additionalProperties": false, - "properties": { - "MaxConnections": { - "type": "number" - } - }, - "required": [ - "MaxConnections" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualNode.VirtualServiceBackend": { - "additionalProperties": false, - "properties": { - "ClientPolicy": { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode.ClientPolicy" - }, - "VirtualServiceName": { - "type": "string" - } - }, - "required": [ - "VirtualServiceName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter": { + "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10423,34 +8762,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { - "type": "string" - }, - "MeshOwner": { + "LocalGatewayRouteTableId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "VirtualRouterName": { + "VpcId": { "type": "string" } }, "required": [ - "MeshName", - "Spec" + "LocalGatewayRouteTableId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualRouter" + "AWS::EC2::LocalGatewayRouteTableVPCAssociation" ], "type": "string" }, @@ -10469,50 +8802,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualRouter.PortMapping": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Port", - "Protocol" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterListener": { - "additionalProperties": false, - "properties": { - "PortMapping": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.PortMapping" - } - }, - "required": [ - "PortMapping" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualRouter.VirtualRouterSpec": { - "additionalProperties": false, - "properties": { - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter.VirtualRouterListener" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService": { + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10544,35 +8834,28 @@ "Properties": { "additionalProperties": false, "properties": { - "MeshName": { + "LocalGatewayRouteTableId": { "type": "string" }, - "MeshOwner": { + "LocalGatewayVirtualInterfaceGroupId": { "type": "string" }, - "Spec": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceSpec" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VirtualServiceName": { - "type": "string" } }, "required": [ - "MeshName", - "Spec", - "VirtualServiceName" + "LocalGatewayRouteTableId", + "LocalGatewayVirtualInterfaceGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppMesh::VirtualService" + "AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" ], "type": "string" }, @@ -10591,52 +8874,7 @@ ], "type": "object" }, - "AWS::AppMesh::VirtualService.VirtualNodeServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNodeName": { - "type": "string" - } - }, - "required": [ - "VirtualNodeName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualRouterServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualRouterName": { - "type": "string" - } - }, - "required": [ - "VirtualRouterName" - ], - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceProvider": { - "additionalProperties": false, - "properties": { - "VirtualNode": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualNodeServiceProvider" - }, - "VirtualRouter": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualRouterServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppMesh::VirtualService.VirtualServiceSpec": { - "additionalProperties": false, - "properties": { - "Provider": { - "$ref": "#/definitions/AWS::AppMesh::VirtualService.VirtualServiceProvider" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service": { + "AWS::EC2::NatGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10668,23 +8906,35 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingConfigurationArn": { + "AllocationId": { "type": "string" }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.EncryptionConfiguration" + "ConnectivityType": { + "type": "string" }, - "HealthCheckConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.HealthCheckConfiguration" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.InstanceConfiguration" + "MaxDrainDurationSeconds": { + "type": "number" }, - "ServiceName": { + "PrivateIpAddress": { "type": "string" }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceConfiguration" + "SecondaryAllocationIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SecondaryPrivateIpAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SubnetId": { + "type": "string" }, "Tags": { "items": { @@ -10694,13 +8944,13 @@ } }, "required": [ - "SourceConfiguration" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppRunner::Service" + "AWS::EC2::NatGateway" ], "type": "string" }, @@ -10719,214 +8969,7 @@ ], "type": "object" }, - "AWS::AppRunner::Service.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "AccessRoleArn": { - "type": "string" - }, - "ConnectionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeConfigurationValues": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfigurationValues" - }, - "ConfigurationSource": { - "type": "string" - } - }, - "required": [ - "ConfigurationSource" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeConfigurationValues": { - "additionalProperties": false, - "properties": { - "BuildCommand": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "required": [ - "Runtime" - ], - "type": "object" - }, - "AWS::AppRunner::Service.CodeRepository": { - "additionalProperties": false, - "properties": { - "CodeConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeConfiguration" - }, - "RepositoryUrl": { - "type": "string" - }, - "SourceCodeVersion": { - "$ref": "#/definitions/AWS::AppRunner::Service.SourceCodeVersion" - } - }, - "required": [ - "RepositoryUrl", - "SourceCodeVersion" - ], - "type": "object" - }, - "AWS::AppRunner::Service.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKey": { - "type": "string" - } - }, - "required": [ - "KmsKey" - ], - "type": "object" - }, - "AWS::AppRunner::Service.HealthCheckConfiguration": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Timeout": { - "type": "number" - }, - "UnhealthyThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageConfiguration": { - "additionalProperties": false, - "properties": { - "Port": { - "type": "string" - }, - "RuntimeEnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::AppRunner::Service.KeyValuePair" - }, - "type": "array" - }, - "StartCommand": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.ImageRepository": { - "additionalProperties": false, - "properties": { - "ImageConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageConfiguration" - }, - "ImageIdentifier": { - "type": "string" - }, - "ImageRepositoryType": { - "type": "string" - } - }, - "required": [ - "ImageIdentifier", - "ImageRepositoryType" - ], - "type": "object" - }, - "AWS::AppRunner::Service.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "Cpu": { - "type": "string" - }, - "InstanceRoleArn": { - "type": "string" - }, - "Memory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppRunner::Service.SourceCodeVersion": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::AppRunner::Service.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::AppRunner::Service.AuthenticationConfiguration" - }, - "AutoDeploymentsEnabled": { - "type": "boolean" - }, - "CodeRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.CodeRepository" - }, - "ImageRepository": { - "$ref": "#/definitions/AWS::AppRunner::Service.ImageRepository" - } - }, - "type": "object" - }, - "AWS::AppStream::AppBlock": { + "AWS::EC2::NetworkAcl": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -10958,38 +9001,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SetupScriptDetails": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.ScriptDetails" - }, - "SourceS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "VpcId": { + "type": "string" } }, "required": [ - "Name", - "SetupScriptDetails", - "SourceS3Location" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::AppBlock" + "AWS::EC2::NetworkAcl" ], "type": "string" }, @@ -11008,46 +9037,7 @@ ], "type": "object" }, - "AWS::AppStream::AppBlock.S3Location": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::AppStream::AppBlock.ScriptDetails": { - "additionalProperties": false, - "properties": { - "ExecutableParameters": { - "type": "string" - }, - "ExecutablePath": { - "type": "string" - }, - "ScriptS3Location": { - "$ref": "#/definitions/AWS::AppStream::AppBlock.S3Location" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "ExecutablePath", - "ScriptS3Location", - "TimeoutInSeconds" - ], - "type": "object" - }, - "AWS::AppStream::Application": { + "AWS::EC2::NetworkAclEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11079,68 +9069,45 @@ "Properties": { "additionalProperties": false, "properties": { - "AppBlockArn": { - "type": "string" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DisplayName": { + "CidrBlock": { "type": "string" }, - "IconS3Location": { - "$ref": "#/definitions/AWS::AppStream::Application.S3Location" - }, - "InstanceFamilies": { - "items": { - "type": "string" - }, - "type": "array" + "Egress": { + "type": "boolean" }, - "LaunchParameters": { - "type": "string" + "Icmp": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" }, - "LaunchPath": { + "Ipv6CidrBlock": { "type": "string" }, - "Name": { + "NetworkAclId": { "type": "string" }, - "Platforms": { - "items": { - "type": "string" - }, - "type": "array" + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Protocol": { + "type": "number" }, - "WorkingDirectory": { + "RuleAction": { "type": "string" + }, + "RuleNumber": { + "type": "number" } }, "required": [ - "AppBlockArn", - "IconS3Location", - "InstanceFamilies", - "LaunchPath", - "Name", - "Platforms" + "NetworkAclId", + "Protocol", + "RuleAction", + "RuleNumber" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Application" + "AWS::EC2::NetworkAclEntry" ], "type": "string" }, @@ -11159,23 +9126,31 @@ ], "type": "object" }, - "AWS::AppStream::Application.S3Location": { + "AWS::EC2::NetworkAclEntry.Icmp": { "additionalProperties": false, "properties": { - "S3Bucket": { - "type": "string" + "Code": { + "type": "number" }, - "S3Key": { - "type": "string" + "Type": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkAclEntry.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" } }, - "required": [ - "S3Bucket", - "S3Key" - ], "type": "object" }, - "AWS::AppStream::ApplicationFleetAssociation": { + "AWS::EC2::NetworkInsightsAccessScope": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11207,22 +9182,30 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationArn": { - "type": "string" + "ExcludePaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" }, - "FleetName": { - "type": "string" + "MatchPaths": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApplicationArn", - "FleetName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ApplicationFleetAssociation" + "AWS::EC2::NetworkInsightsAccessScope" ], "type": "string" }, @@ -11236,12 +9219,116 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppStream::DirectoryConfig": { + "AWS::EC2::NetworkInsightsAccessScope.AccessScopePathRequest": { + "additionalProperties": false, + "properties": { + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "Source": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest" + }, + "ThroughResources": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePorts": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePrefixLists": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.PathStatementRequest": { + "additionalProperties": false, + "properties": { + "PacketHeaderStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.PacketHeaderStatementRequest" + }, + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Resources": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScope.ThroughResourcesStatementRequest": { + "additionalProperties": false, + "properties": { + "ResourceStatement": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope.ResourceStatementRequest" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAccessScopeAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11273,29 +9360,24 @@ "Properties": { "additionalProperties": false, "properties": { - "DirectoryName": { + "NetworkInsightsAccessScopeId": { "type": "string" }, - "OrganizationalUnitDistinguishedNames": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - }, - "ServiceAccountCredentials": { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig.ServiceAccountCredentials" } }, "required": [ - "DirectoryName", - "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials" + "NetworkInsightsAccessScopeId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::DirectoryConfig" + "AWS::EC2::NetworkInsightsAccessScopeAnalysis" ], "type": "string" }, @@ -11314,23 +9396,7 @@ ], "type": "object" }, - "AWS::AppStream::DirectoryConfig.ServiceAccountCredentials": { - "additionalProperties": false, - "properties": { - "AccountName": { - "type": "string" - }, - "AccountPassword": { - "type": "string" - } - }, - "required": [ - "AccountName", - "AccountPassword" - ], - "type": "object" - }, - "AWS::AppStream::Fleet": { + "AWS::EC2::NetworkInsightsAnalysis": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11362,82 +9428,36 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeCapacity": { - "$ref": "#/definitions/AWS::AppStream::Fleet.ComputeCapacity" - }, - "Description": { - "type": "string" - }, - "DisconnectTimeoutInSeconds": { - "type": "number" - }, - "DisplayName": { - "type": "string" - }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::Fleet.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" - }, - "FleetType": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - }, - "IdleDisconnectTimeoutInSeconds": { - "type": "number" - }, - "ImageArn": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "MaxConcurrentSessions": { - "type": "number" - }, - "MaxUserDurationInSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "StreamView": { - "type": "string" - }, - "Tags": { + "AdditionalAccounts": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "UsbDeviceFilterStrings": { + "FilterInArns": { "items": { "type": "string" }, "type": "array" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::Fleet.VpcConfig" + "NetworkInsightsPathId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "InstanceType", - "Name" + "NetworkInsightsPathId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Fleet" + "AWS::EC2::NetworkInsightsAnalysis" ], "type": "string" }, @@ -11456,53 +9476,488 @@ ], "type": "object" }, - "AWS::AppStream::Fleet.ComputeCapacity": { - "additionalProperties": false, - "properties": { - "DesiredInstances": { - "type": "number" - } - }, - "required": [ - "DesiredInstances" - ], - "type": "object" - }, - "AWS::AppStream::Fleet.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail": { "additionalProperties": false, "properties": { - "DirectoryName": { + "AdditionalDetailType": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancers": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "ServiceName": { "type": "string" } }, "type": "object" }, - "AWS::AppStream::Fleet.VpcConfig": { + "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentArn": { + "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "ComponentId": { + "type": "string" } }, "type": "object" }, - "AWS::AppStream::ImageBuilder": { + "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ + "Cidr": { + "type": "string" + }, + "Egress": { + "type": "boolean" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "Protocol": { + "type": "string" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "Id": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "additionalProperties": false, + "properties": { + "InstancePort": { + "type": "number" + }, + "LoadBalancerPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "additionalProperties": false, + "properties": { + "Address": { + "type": "string" + }, + "AvailabilityZone": { + "type": "string" + }, + "Instance": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Port": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "additionalProperties": false, + "properties": { + "DestinationAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DestinationPortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "Protocol": { + "type": "string" + }, + "SourceAddresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SourcePortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "additionalProperties": false, + "properties": { + "NatGatewayId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "Origin": { + "type": "string" + }, + "State": { + "type": "string" + }, + "TransitGatewayId": { + "type": "string" + }, + "VpcPeeringConnectionId": { + "type": "string" + }, + "destinationCidr": { + "type": "string" + }, + "destinationPrefixListId": { + "type": "string" + }, + "egressOnlyInternetGatewayId": { + "type": "string" + }, + "gatewayId": { + "type": "string" + }, + "instanceId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Direction": { + "type": "string" + }, + "PortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "PrefixListId": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SecurityGroupId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "additionalProperties": false, + "properties": { + "Acl": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "Address": { + "type": "string" + }, + "Addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AttachedTo": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ClassicLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ComponentAccount": { + "type": "string" + }, + "ComponentRegion": { + "type": "string" + }, + "CustomerGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Destination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Direction": { + "type": "string" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ExplanationCode": { + "type": "string" + }, + "IngressRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "InternetGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerArn": { + "type": "string" + }, + "LoadBalancerListenerPort": { + "type": "number" + }, + "LoadBalancerTarget": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" + }, + "LoadBalancerTargetGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "LoadBalancerTargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "LoadBalancerTargetPort": { + "type": "number" + }, + "MissingComponent": { + "type": "string" + }, + "NatGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "NetworkInterface": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "PacketField": { + "type": "string" + }, + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" + }, + "type": "array" + }, + "PrefixList": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Protocols": { + "items": { + "type": "string" + }, + "type": "array" + }, + "RouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroup": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "type": "array" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "State": { + "type": "string" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "SubnetRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayAttachment": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTable": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpcPeeringConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnConnection": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "VpnGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "vpcEndpoint": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { + "additionalProperties": false, + "properties": { + "AclRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" + }, + "AdditionalDetails": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AdditionalDetail" + }, + "type": "array" + }, + "Component": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "DestinationVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "ElasticLoadBalancerListener": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Explanations": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.Explanation" + }, + "type": "array" + }, + "InboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "OutboundHeader": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" + }, + "RouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" + }, + "SecurityGroupRule": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" + }, + "SequenceNumber": { + "type": "number" + }, + "ServiceName": { + "type": "string" + }, + "SourceVpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "Subnet": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGateway": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + }, + "TransitGatewayRouteTableRoute": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute" + }, + "Vpc": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.PortRange": { + "additionalProperties": false, + "properties": { + "From": { + "type": "number" + }, + "To": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsAnalysis.TransitGatewayRouteTableRoute": { + "additionalProperties": false, + "properties": { + "AttachmentId": { + "type": "string" + }, + "DestinationCidr": { + "type": "string" + }, + "PrefixListId": { + "type": "string" + }, + "ResourceId": { + "type": "string" + }, + "ResourceType": { + "type": "string" + }, + "RouteOrigin": { + "type": "string" + }, + "State": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInsightsPath": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ "Delete", "Retain", "Snapshot" @@ -11530,40 +9985,28 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.AccessEndpoint" - }, - "type": "array" - }, - "AppstreamAgentVersion": { - "type": "string" - }, - "Description": { + "Destination": { "type": "string" }, - "DisplayName": { + "DestinationIp": { "type": "string" }, - "DomainJoinInfo": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.DomainJoinInfo" - }, - "EnableDefaultInternetAccess": { - "type": "boolean" + "DestinationPort": { + "type": "number" }, - "IamRoleArn": { - "type": "string" + "FilterAtDestination": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageArn": { - "type": "string" + "FilterAtSource": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.PathFilter" }, - "ImageName": { + "Protocol": { "type": "string" }, - "InstanceType": { + "Source": { "type": "string" }, - "Name": { + "SourceIp": { "type": "string" }, "Tags": { @@ -11571,20 +10014,17 @@ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder.VpcConfig" } }, "required": [ - "InstanceType", - "Name" + "Protocol", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::ImageBuilder" + "AWS::EC2::NetworkInsightsPath" ], "type": "string" }, @@ -11603,53 +10043,37 @@ ], "type": "object" }, - "AWS::AppStream::ImageBuilder.AccessEndpoint": { + "AWS::EC2::NetworkInsightsPath.FilterPortRange": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "FromPort": { + "type": "number" }, - "VpceId": { - "type": "string" + "ToPort": { + "type": "number" } }, - "required": [ - "EndpointType", - "VpceId" - ], "type": "object" }, - "AWS::AppStream::ImageBuilder.DomainJoinInfo": { + "AWS::EC2::NetworkInsightsPath.PathFilter": { "additionalProperties": false, "properties": { - "DirectoryName": { + "DestinationAddress": { "type": "string" }, - "OrganizationalUnitDistinguishedName": { + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" + }, + "SourceAddress": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppStream::ImageBuilder.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath.FilterPortRange" } }, "type": "object" }, - "AWS::AppStream::Stack": { + "AWS::EC2::NetworkInterface": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11681,69 +10105,81 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessEndpoints": { - "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.AccessEndpoint" - }, - "type": "array" - }, - "ApplicationSettings": { - "$ref": "#/definitions/AWS::AppStream::Stack.ApplicationSettings" - }, - "AttributesToDelete": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeleteStorageConnectors": { - "type": "boolean" + "ConnectionTrackingSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.ConnectionTrackingSpecification" }, "Description": { "type": "string" }, - "DisplayName": { - "type": "string" - }, - "EmbedHostDomains": { + "GroupSet": { "items": { "type": "string" }, "type": "array" }, - "FeedbackURL": { - "type": "string" - }, - "Name": { + "InterfaceType": { "type": "string" }, - "RedirectURL": { - "type": "string" + "Ipv4PrefixCount": { + "type": "number" }, - "StorageConnectors": { + "Ipv4Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.StorageConnector" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv4PrefixSpecification" }, "type": "array" }, - "Tags": { + "Ipv6AddressCount": { + "type": "number" + }, + "Ipv6Addresses": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" }, "type": "array" }, - "UserSettings": { + "Ipv6PrefixCount": { + "type": "number" + }, + "Ipv6Prefixes": { "items": { - "$ref": "#/definitions/AWS::AppStream::Stack.UserSetting" + "$ref": "#/definitions/AWS::EC2::NetworkInterface.Ipv6PrefixSpecification" + }, + "type": "array" + }, + "PrivateIpAddress": { + "type": "string" + }, + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SourceDestCheck": { + "type": "boolean" + }, + "SubnetId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, "type": "array" } }, + "required": [ + "SubnetId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::Stack" + "AWS::EC2::NetworkInterface" ], "type": "string" }, @@ -11757,79 +10193,79 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::AppStream::Stack.AccessEndpoint": { + "AWS::EC2::NetworkInterface.ConnectionTrackingSpecification": { "additionalProperties": false, "properties": { - "EndpointType": { - "type": "string" + "TcpEstablishedTimeout": { + "type": "number" + }, + "UdpStreamTimeout": { + "type": "number" }, - "VpceId": { + "UdpTimeout": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterface.InstanceIpv6Address": { + "additionalProperties": false, + "properties": { + "Ipv6Address": { "type": "string" } }, "required": [ - "EndpointType", - "VpceId" + "Ipv6Address" ], "type": "object" }, - "AWS::AppStream::Stack.ApplicationSettings": { + "AWS::EC2::NetworkInterface.Ipv4PrefixSpecification": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "SettingsGroup": { + "Ipv4Prefix": { "type": "string" } }, "required": [ - "Enabled" + "Ipv4Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.StorageConnector": { + "AWS::EC2::NetworkInterface.Ipv6PrefixSpecification": { "additionalProperties": false, "properties": { - "ConnectorType": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdentifier": { + "Ipv6Prefix": { "type": "string" } }, "required": [ - "ConnectorType" + "Ipv6Prefix" ], "type": "object" }, - "AWS::AppStream::Stack.UserSetting": { + "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "Action": { - "type": "string" + "Primary": { + "type": "boolean" }, - "Permission": { + "PrivateIpAddress": { "type": "string" } }, "required": [ - "Action", - "Permission" + "Primary", + "PrivateIpAddress" ], "type": "object" }, - "AWS::AppStream::StackFleetAssociation": { + "AWS::EC2::NetworkInterfaceAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11861,22 +10297,32 @@ "Properties": { "additionalProperties": false, "properties": { - "FleetName": { + "DeleteOnTermination": { + "type": "boolean" + }, + "DeviceIndex": { + "type": "string" + }, + "EnaSrdSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification" + }, + "InstanceId": { "type": "string" }, - "StackName": { + "NetworkInterfaceId": { "type": "string" } }, "required": [ - "FleetName", - "StackName" + "DeviceIndex", + "InstanceId", + "NetworkInterfaceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackFleetAssociation" + "AWS::EC2::NetworkInterfaceAttachment" ], "type": "string" }, @@ -11895,7 +10341,28 @@ ], "type": "object" }, - "AWS::AppStream::StackUserAssociation": { + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdEnabled": { + "type": "boolean" + }, + "EnaSrdUdpSpecification": { + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfaceAttachment.EnaSrdUdpSpecification": { + "additionalProperties": false, + "properties": { + "EnaSrdUdpEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::NetworkInterfacePermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -11927,29 +10394,26 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "AwsAccountId": { "type": "string" }, - "SendEmailNotification": { - "type": "boolean" - }, - "StackName": { + "NetworkInterfaceId": { "type": "string" }, - "UserName": { + "Permission": { "type": "string" } }, "required": [ - "AuthenticationType", - "StackName", - "UserName" + "AwsAccountId", + "NetworkInterfaceId", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::StackUserAssociation" + "AWS::EC2::NetworkInterfacePermission" ], "type": "string" }, @@ -11968,7 +10432,7 @@ ], "type": "object" }, - "AWS::AppStream::User": { + "AWS::EC2::NetworkPerformanceMetricSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12000,31 +10464,30 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthenticationType": { - "type": "string" - }, - "FirstName": { + "Destination": { "type": "string" }, - "LastName": { + "Metric": { "type": "string" }, - "MessageAction": { + "Source": { "type": "string" }, - "UserName": { + "Statistic": { "type": "string" } }, "required": [ - "AuthenticationType", - "UserName" + "Destination", + "Metric", + "Source", + "Statistic" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppStream::User" + "AWS::EC2::NetworkPerformanceMetricSubscription" ], "type": "string" }, @@ -12043,7 +10506,7 @@ ], "type": "object" }, - "AWS::AppSync::ApiCache": { + "AWS::EC2::PlacementGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12075,36 +10538,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiCachingBehavior": { - "type": "string" + "PartitionCount": { + "type": "number" }, - "ApiId": { + "SpreadLevel": { "type": "string" }, - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "Ttl": { - "type": "number" - }, - "Type": { + "Strategy": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "ApiCachingBehavior", - "ApiId", - "Ttl", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiCache" + "AWS::EC2::PlacementGroup" ], "type": "string" }, @@ -12118,12 +10572,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AppSync::ApiKey": { + "AWS::EC2::PrefixList": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12155,27 +10608,37 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "AddressFamily": { "type": "string" }, - "ApiKeyId": { - "type": "string" + "Entries": { + "items": { + "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" + }, + "type": "array" }, - "Description": { + "MaxEntries": { + "type": "number" + }, + "PrefixListName": { "type": "string" }, - "Expires": { - "type": "number" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ApiId" + "AddressFamily", + "PrefixListName" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::ApiKey" + "AWS::EC2::PrefixList" ], "type": "string" }, @@ -12194,7 +10657,22 @@ ], "type": "object" }, - "AWS::AppSync::DataSource": { + "AWS::EC2::PrefixList.Entry": { + "additionalProperties": false, + "properties": { + "Cidr": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "required": [ + "Cidr" + ], + "type": "object" + }, + "AWS::EC2::Route": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12226,50 +10704,60 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CarrierGatewayId": { "type": "string" }, - "Description": { + "CoreNetworkArn": { + "type": "string" + }, + "DestinationCidrBlock": { "type": "string" }, - "DynamoDBConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DynamoDBConfig" + "DestinationIpv6CidrBlock": { + "type": "string" }, - "ElasticsearchConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.ElasticsearchConfig" + "DestinationPrefixListId": { + "type": "string" }, - "HttpConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.HttpConfig" + "EgressOnlyInternetGatewayId": { + "type": "string" }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.LambdaConfig" + "GatewayId": { + "type": "string" }, - "Name": { + "InstanceId": { + "type": "string" + }, + "LocalGatewayId": { "type": "string" }, - "OpenSearchServiceConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.OpenSearchServiceConfig" + "NatGatewayId": { + "type": "string" }, - "RelationalDatabaseConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RelationalDatabaseConfig" + "NetworkInterfaceId": { + "type": "string" }, - "ServiceRoleArn": { + "RouteTableId": { "type": "string" }, - "Type": { + "TransitGatewayId": { + "type": "string" + }, + "VpcEndpointId": { + "type": "string" + }, + "VpcPeeringConnectionId": { "type": "string" } }, "required": [ - "ApiId", - "Name", - "Type" + "RouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::DataSource" + "AWS::EC2::Route" ], "type": "string" }, @@ -12288,179 +10776,7 @@ ], "type": "object" }, - "AWS::AppSync::DataSource.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationType": { - "type": "string" - }, - "AwsIamConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AwsIamConfig" - } - }, - "required": [ - "AuthorizationType" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.AwsIamConfig": { - "additionalProperties": false, - "properties": { - "SigningRegion": { - "type": "string" - }, - "SigningServiceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::DataSource.DeltaSyncConfig": { - "additionalProperties": false, - "properties": { - "BaseTableTTL": { - "type": "string" - }, - "DeltaSyncTableName": { - "type": "string" - }, - "DeltaSyncTableTTL": { - "type": "string" - } - }, - "required": [ - "BaseTableTTL", - "DeltaSyncTableName", - "DeltaSyncTableTTL" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.DynamoDBConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "DeltaSyncConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.DeltaSyncConfig" - }, - "TableName": { - "type": "string" - }, - "UseCallerCredentials": { - "type": "boolean" - }, - "Versioned": { - "type": "boolean" - } - }, - "required": [ - "AwsRegion", - "TableName" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.ElasticsearchConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.HttpConfig": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.AuthorizationConfig" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.LambdaConfig": { - "additionalProperties": false, - "properties": { - "LambdaFunctionArn": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.OpenSearchServiceConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "Endpoint" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RdsHttpEndpointConfig": { - "additionalProperties": false, - "properties": { - "AwsRegion": { - "type": "string" - }, - "AwsSecretStoreArn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DbClusterIdentifier": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "AwsRegion", - "AwsSecretStoreArn", - "DbClusterIdentifier" - ], - "type": "object" - }, - "AWS::AppSync::DataSource.RelationalDatabaseConfig": { - "additionalProperties": false, - "properties": { - "RdsHttpEndpointConfig": { - "$ref": "#/definitions/AWS::AppSync::DataSource.RdsHttpEndpointConfig" - }, - "RelationalDatabaseSourceType": { - "type": "string" - } - }, - "required": [ - "RelationalDatabaseSourceType" - ], - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration": { + "AWS::EC2::RouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12492,48 +10808,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { - "type": "string" - }, - "DataSourceName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RequestMappingTemplate": { - "type": "string" - }, - "RequestMappingTemplateS3Location": { - "type": "string" - }, - "ResponseMappingTemplate": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "ResponseMappingTemplateS3Location": { + "VpcId": { "type": "string" - }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.SyncConfig" } }, "required": [ - "ApiId", - "DataSourceName", - "FunctionVersion", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::FunctionConfiguration" + "AWS::EC2::RouteTable" ], "type": "string" }, @@ -12552,34 +10844,7 @@ ], "type": "object" }, - "AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::FunctionConfiguration.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi": { + "AWS::EC2::SecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12611,43 +10876,42 @@ "Properties": { "additionalProperties": false, "properties": { - "AdditionalAuthenticationProviders": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders" - }, - "AuthenticationType": { + "GroupDescription": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "LogConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LogConfig" - }, - "Name": { + "GroupName": { "type": "string" }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "SecurityGroupEgress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" + }, + "type": "array" }, - "Tags": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.Tags" + "SecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" + }, + "type": "array" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.UserPoolConfig" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "XrayEnabled": { - "type": "boolean" + "VpcId": { + "type": "string" } }, "required": [ - "AuthenticationType", - "Name" + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLApi" + "AWS::EC2::SecurityGroup" ], "type": "string" }, @@ -12666,119 +10930,79 @@ ], "type": "object" }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProvider": { + "AWS::EC2::SecurityGroup.Egress": { "additionalProperties": false, "properties": { - "AuthenticationType": { + "CidrIp": { "type": "string" }, - "LambdaAuthorizerConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig" - }, - "OpenIDConnectConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.OpenIDConnectConfig" + "CidrIpv6": { + "type": "string" }, - "UserPoolConfig": { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi.CognitoUserPoolConfig" - } - }, - "required": [ - "AuthenticationType" - ], - "type": "object" - }, - "AWS::AppSync::GraphQLApi.AdditionalAuthenticationProviders": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.CognitoUserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + "Description": { "type": "string" }, - "AwsRegion": { + "DestinationPrefixListId": { "type": "string" }, - "UserPoolId": { + "DestinationSecurityGroupId": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.LambdaAuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AuthorizerResultTtlInSeconds": { + }, + "FromPort": { "type": "number" }, - "AuthorizerUri": { + "IpProtocol": { "type": "string" }, - "IdentityValidationExpression": { - "type": "string" + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLApi.LogConfig": { + "AWS::EC2::SecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "CloudWatchLogsRoleArn": { + "CidrIp": { "type": "string" }, - "ExcludeVerboseContent": { - "type": "boolean" - }, - "FieldLogLevel": { + "CidrIpv6": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.OpenIDConnectConfig": { - "additionalProperties": false, - "properties": { - "AuthTTL": { - "type": "number" }, - "ClientId": { + "Description": { "type": "string" }, - "IatTTL": { + "FromPort": { "type": "number" }, - "Issuer": { + "IpProtocol": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.Tags": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::AppSync::GraphQLApi.UserPoolConfig": { - "additionalProperties": false, - "properties": { - "AppIdClientRegex": { + }, + "SourcePrefixListId": { "type": "string" }, - "AwsRegion": { + "SourceSecurityGroupId": { "type": "string" }, - "DefaultAction": { + "SourceSecurityGroupName": { "type": "string" }, - "UserPoolId": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, + "required": [ + "IpProtocol" + ], "type": "object" }, - "AWS::AppSync::GraphQLSchema": { + "AWS::EC2::SecurityGroupEgress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12810,24 +11034,43 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "Definition": { + "CidrIpv6": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DestinationPrefixListId": { + "type": "string" + }, + "DestinationSecurityGroupId": { + "type": "string" + }, + "FromPort": { + "type": "number" + }, + "GroupId": { "type": "string" }, - "DefinitionS3Location": { + "IpProtocol": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId" + "GroupId", + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::GraphQLSchema" + "AWS::EC2::SecurityGroupEgress" ], "type": "string" }, @@ -12846,7 +11089,7 @@ ], "type": "object" }, - "AWS::AppSync::Resolver": { + "AWS::EC2::SecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -12878,53 +11121,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ApiId": { + "CidrIp": { "type": "string" }, - "CachingConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.CachingConfig" - }, - "DataSourceName": { + "CidrIpv6": { "type": "string" }, - "FieldName": { + "Description": { "type": "string" }, - "Kind": { - "type": "string" + "FromPort": { + "type": "number" }, - "PipelineConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.PipelineConfig" + "GroupId": { + "type": "string" }, - "RequestMappingTemplate": { + "GroupName": { "type": "string" }, - "RequestMappingTemplateS3Location": { + "IpProtocol": { "type": "string" }, - "ResponseMappingTemplate": { + "SourcePrefixListId": { "type": "string" }, - "ResponseMappingTemplateS3Location": { + "SourceSecurityGroupId": { "type": "string" }, - "SyncConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.SyncConfig" + "SourceSecurityGroupName": { + "type": "string" }, - "TypeName": { + "SourceSecurityGroupOwnerId": { "type": "string" + }, + "ToPort": { + "type": "number" } }, "required": [ - "ApiId", - "FieldName", - "TypeName" + "IpProtocol" ], "type": "object" }, "Type": { "enum": [ - "AWS::AppSync::Resolver" + "AWS::EC2::SecurityGroupIngress" ], "type": "string" }, @@ -12943,61 +11184,7 @@ ], "type": "object" }, - "AWS::AppSync::Resolver.CachingConfig": { - "additionalProperties": false, - "properties": { - "CachingKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ttl": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.LambdaConflictHandlerConfig": { - "additionalProperties": false, - "properties": { - "LambdaConflictHandlerArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.PipelineConfig": { - "additionalProperties": false, - "properties": { - "Functions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AppSync::Resolver.SyncConfig": { - "additionalProperties": false, - "properties": { - "ConflictDetection": { - "type": "string" - }, - "ConflictHandler": { - "type": "string" - }, - "LambdaConflictHandlerConfig": { - "$ref": "#/definitions/AWS::AppSync::Resolver.LambdaConflictHandlerConfig" - } - }, - "required": [ - "ConflictDetection" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget": { + "AWS::EC2::SecurityGroupVpcAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13029,47 +11216,22 @@ "Properties": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "ScalableDimension": { + "GroupId": { "type": "string" }, - "ScheduledActions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction" - }, - "type": "array" - }, - "ServiceNamespace": { + "VpcId": { "type": "string" - }, - "SuspendedState": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "RoleARN", - "ScalableDimension", - "ServiceNamespace" + "GroupId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalableTarget" + "AWS::EC2::SecurityGroupVpcAssociation" ], "type": "string" }, @@ -13088,62 +11250,7 @@ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.ScheduledAction": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "ScalableTargetAction": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "Schedule", - "ScheduledActionName" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState": { - "additionalProperties": false, - "properties": { - "DynamicScalingInSuspended": { - "type": "boolean" - }, - "DynamicScalingOutSuspended": { - "type": "boolean" - }, - "ScheduledScalingSuspended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy": { + "AWS::EC2::SnapshotBlockPublicAccess": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13175,40 +11282,18 @@ "Properties": { "additionalProperties": false, "properties": { - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" - }, - "ScalingTargetId": { - "type": "string" - }, - "ServiceNamespace": { + "State": { "type": "string" - }, - "StepScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration" } }, "required": [ - "PolicyName", - "PolicyType" + "State" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationAutoScaling::ScalingPolicy" + "AWS::EC2::SnapshotBlockPublicAccess" ], "type": "string" }, @@ -13227,136 +11312,7 @@ ], "type": "object" }, - "AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.StepScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "Cooldown": { - "type": "number" - }, - "MetricAggregationType": { - "type": "string" - }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ApplicationAutoScaling::ScalingPolicy.TargetTrackingScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::ApplicationInsights::Application": { + "AWS::EC2::SpotFleet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -13388,54 +11344,18 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoConfigurationEnabled": { - "type": "boolean" - }, - "CWEMonitorEnabled": { - "type": "boolean" - }, - "ComponentMonitoringSettings": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentMonitoringSetting" - }, - "type": "array" - }, - "CustomComponents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.CustomComponent" - }, - "type": "array" - }, - "LogPatternSets": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPatternSet" - }, - "type": "array" - }, - "OpsCenterEnabled": { - "type": "boolean" - }, - "OpsItemSNSTopicArn": { - "type": "string" - }, - "ResourceGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SpotFleetRequestConfigData": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" } }, "required": [ - "ResourceGroupName" + "SpotFleetRequestConfigData" ], "type": "object" }, "Type": { "enum": [ - "AWS::ApplicationInsights::Application" + "AWS::EC2::SpotFleet" ], "type": "string" }, @@ -13454,1405 +11374,716 @@ ], "type": "object" }, - "AWS::ApplicationInsights::Application.Alarm": { + "AWS::EC2::SpotFleet.AcceleratorCountRequest": { "additionalProperties": false, "properties": { - "AlarmName": { - "type": "string" + "Max": { + "type": "number" }, - "Severity": { - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "AlarmName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.AlarmMetric": { + "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { "additionalProperties": false, "properties": { - "AlarmMetricName": { - "type": "string" + "Max": { + "type": "number" + }, + "Min": { + "type": "number" } }, - "required": [ - "AlarmMetricName" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentConfiguration": { + "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { "additionalProperties": false, "properties": { - "ConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ConfigurationDetails" + "Max": { + "type": "number" }, - "SubComponentTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentTypeConfiguration" - }, - "type": "array" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.ComponentMonitoringSetting": { + "AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest": { + "additionalProperties": false, + "properties": { + "Cpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.CpuPerformanceFactorRequest" + } + }, + "type": "object" + }, + "AWS::EC2::SpotFleet.BlockDeviceMapping": { "additionalProperties": false, "properties": { - "ComponentARN": { + "DeviceName": { "type": "string" }, - "ComponentConfigurationMode": { - "type": "string" + "Ebs": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" }, - "ComponentName": { + "NoDevice": { "type": "string" }, - "CustomComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "DefaultOverwriteComponentConfiguration": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.ComponentConfiguration" - }, - "Tier": { + "VirtualName": { "type": "string" } }, "required": [ - "ComponentConfigurationMode", - "Tier" + "DeviceName" ], "type": "object" }, - "AWS::ApplicationInsights::Application.ConfigurationDetails": { + "AWS::EC2::SpotFleet.ClassicLoadBalancer": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Alarm" - }, - "type": "array" - }, - "JMXPrometheusExporter": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.JMXPrometheusExporter" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Name": { + "type": "string" } }, + "required": [ + "Name" + ], "type": "object" }, - "AWS::ApplicationInsights::Application.CustomComponent": { + "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { "additionalProperties": false, "properties": { - "ComponentName": { - "type": "string" - }, - "ResourceList": { + "ClassicLoadBalancers": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" }, "type": "array" } }, "required": [ - "ComponentName", - "ResourceList" + "ClassicLoadBalancers" ], "type": "object" }, - "AWS::ApplicationInsights::Application.JMXPrometheusExporter": { + "AWS::EC2::SpotFleet.CpuPerformanceFactorRequest": { "additionalProperties": false, "properties": { - "HostPort": { - "type": "string" - }, - "JMXURL": { - "type": "string" - }, - "PrometheusPort": { - "type": "string" + "References": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest" + }, + "type": "array" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.Log": { + "AWS::EC2::SpotFleet.EbsBlockDevice": { "additionalProperties": false, "properties": { - "Encoding": { - "type": "string" + "DeleteOnTermination": { + "type": "boolean" }, - "LogGroupName": { - "type": "string" + "Encrypted": { + "type": "boolean" }, - "LogPath": { - "type": "string" + "Iops": { + "type": "number" }, - "LogType": { + "SnapshotId": { "type": "string" }, - "PatternSet": { + "VolumeSize": { + "type": "number" + }, + "VolumeType": { "type": "string" } }, - "required": [ - "LogType" - ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPattern": { + "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { "additionalProperties": false, "properties": { - "Pattern": { + "LaunchTemplateId": { "type": "string" }, - "PatternName": { + "LaunchTemplateName": { "type": "string" }, - "Rank": { - "type": "number" + "Version": { + "type": "string" } }, "required": [ - "Pattern", - "PatternName", - "Rank" + "Version" ], "type": "object" }, - "AWS::ApplicationInsights::Application.LogPatternSet": { + "AWS::EC2::SpotFleet.GroupIdentifier": { "additionalProperties": false, "properties": { - "LogPatterns": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.LogPattern" - }, - "type": "array" - }, - "PatternSetName": { + "GroupId": { "type": "string" } }, "required": [ - "LogPatterns", - "PatternSetName" + "GroupId" ], "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentConfigurationDetails": { + "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { "additionalProperties": false, "properties": { - "AlarmMetrics": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.AlarmMetric" - }, - "type": "array" - }, - "Logs": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.Log" - }, - "type": "array" - }, - "WindowsEvents": { - "items": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.WindowsEvent" - }, - "type": "array" + "Arn": { + "type": "string" } }, "type": "object" }, - "AWS::ApplicationInsights::Application.SubComponentTypeConfiguration": { + "AWS::EC2::SpotFleet.InstanceIpv6Address": { "additionalProperties": false, "properties": { - "SubComponentConfigurationDetails": { - "$ref": "#/definitions/AWS::ApplicationInsights::Application.SubComponentConfigurationDetails" - }, - "SubComponentType": { + "Ipv6Address": { "type": "string" } }, "required": [ - "SubComponentConfigurationDetails", - "SubComponentType" + "Ipv6Address" ], "type": "object" }, - "AWS::ApplicationInsights::Application.WindowsEvent": { + "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { "additionalProperties": false, "properties": { - "EventLevels": { + "AssociatePublicIpAddress": { + "type": "boolean" + }, + "DeleteOnTermination": { + "type": "boolean" + }, + "Description": { + "type": "string" + }, + "DeviceIndex": { + "type": "number" + }, + "Groups": { "items": { "type": "string" }, "type": "array" }, - "EventName": { - "type": "string" + "Ipv6AddressCount": { + "type": "number" }, - "LogGroupName": { + "Ipv6Addresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" + }, + "type": "array" + }, + "NetworkInterfaceId": { "type": "string" }, - "PatternSet": { + "PrivateIpAddresses": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" + }, + "type": "array" + }, + "SecondaryPrivateIpAddressCount": { + "type": "number" + }, + "SubnetId": { "type": "string" } }, - "required": [ - "EventLevels", - "EventName", - "LogGroupName" - ], "type": "object" }, - "AWS::Athena::DataCatalog": { + "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AcceleratorCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" + }, + "AcceleratorManufacturers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AcceleratorTotalMemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" + }, + "AcceleratorTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BareMetal": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "BaselineEbsBandwidthMbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" }, - "Metadata": { - "type": "object" + "BaselinePerformanceFactors": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselinePerformanceFactorsRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Athena::DataCatalog" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::NamedQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "BurstablePerformance": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "CpuManufacturers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "ExcludedInstanceTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } + "InstanceGenerations": { + "items": { + "type": "string" }, - "required": [ - "Database", - "QueryString" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Athena::NamedQuery" - ], + "LocalStorage": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::PreparedStatement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "LocalStorageTypes": { + "items": { + "type": "string" + }, + "type": "array" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "MemoryGiBPerVCpu": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "QueryStatement": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WorkGroup": { - "type": "string" - } - }, - "required": [ - "QueryStatement", - "StatementName", - "WorkGroup" - ], - "type": "object" + "MemoryMiB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" }, - "Type": { - "enum": [ - "AWS::Athena::PreparedStatement" - ], - "type": "string" + "NetworkBandwidthGbps": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Athena::WorkGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "NetworkInterfaceCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "OnDemandMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Metadata": { - "type": "object" + "RequireHibernateSupport": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecursiveDeleteOption": { - "type": "boolean" - }, - "State": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkGroupConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfiguration" - }, - "WorkGroupConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates" - } - }, - "required": [ - "Name" - ], - "type": "object" + "SpotMaxPricePercentageOverLowestPrice": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Athena::WorkGroup" - ], - "type": "string" + "TotalLocalStorageGB": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "VCpuCount": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EncryptionConfiguration": { + "AWS::EC2::SpotFleet.LaunchTemplateConfig": { "additionalProperties": false, "properties": { - "EncryptionOption": { - "type": "string" + "LaunchTemplateSpecification": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" }, - "KmsKey": { - "type": "string" + "Overrides": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" + }, + "type": "array" } }, - "required": [ - "EncryptionOption" - ], "type": "object" }, - "AWS::Athena::WorkGroup.EngineVersion": { + "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { "additionalProperties": false, "properties": { - "EffectiveEngineVersion": { + "AvailabilityZone": { + "type": "string" + }, + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { + "type": "string" + }, + "Priority": { + "type": "number" + }, + "SpotPrice": { "type": "string" }, - "SelectedEngineVersion": { + "SubnetId": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfiguration": { + "AWS::EC2::SpotFleet.LoadBalancersConfig": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" + "ClassicLoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" }, - "OutputLocation": { - "type": "string" + "TargetGroupsConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" } }, "type": "object" }, - "AWS::Athena::WorkGroup.ResultConfigurationUpdates": { + "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EncryptionConfiguration" - }, - "OutputLocation": { - "type": "string" - }, - "RemoveEncryptionConfiguration": { - "type": "boolean" + "Max": { + "type": "number" }, - "RemoveOutputLocation": { - "type": "boolean" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfiguration": { + "AWS::EC2::SpotFleet.MemoryMiBRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfiguration": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfiguration" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::Athena::WorkGroup.WorkGroupConfigurationUpdates": { + "AWS::EC2::SpotFleet.NetworkBandwidthGbpsRequest": { "additionalProperties": false, "properties": { - "BytesScannedCutoffPerQuery": { + "Max": { "type": "number" }, - "EnforceWorkGroupConfiguration": { - "type": "boolean" - }, - "EngineVersion": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.EngineVersion" - }, - "PublishCloudWatchMetricsEnabled": { - "type": "boolean" - }, - "RemoveBytesScannedCutoffPerQuery": { - "type": "boolean" - }, - "RequesterPaysEnabled": { - "type": "boolean" - }, - "ResultConfigurationUpdates": { - "$ref": "#/definitions/AWS::Athena::WorkGroup.ResultConfigurationUpdates" + "Min": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment": { + "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentReportsDestination": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AssessmentReportsDestination" - }, - "AwsAccount": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "Description": { - "type": "string" - }, - "FrameworkId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Roles": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Role" - }, - "type": "array" - }, - "Scope": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.Scope" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AuditManager::Assessment" - ], - "type": "string" + "Max": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Min": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::AuditManager::Assessment.AWSAccount": { + "AWS::EC2::SpotFleet.PerformanceFactorReferenceRequest": { "additionalProperties": false, "properties": { - "EmailAddress": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Name": { + "InstanceFamily": { "type": "string" } }, "type": "object" }, - "AWS::AuditManager::Assessment.AWSService": { + "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { "additionalProperties": false, "properties": { - "ServiceName": { + "Primary": { + "type": "boolean" + }, + "PrivateIpAddress": { "type": "string" } }, + "required": [ + "PrivateIpAddress" + ], "type": "object" }, - "AWS::AuditManager::Assessment.AssessmentReportsDestination": { + "AWS::EC2::SpotFleet.SpotCapacityRebalance": { "additionalProperties": false, "properties": { - "Destination": { + "ReplacementStrategy": { "type": "string" }, - "DestinationType": { - "type": "string" + "TerminationDelay": { + "type": "number" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Delegation": { + "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { "additionalProperties": false, "properties": { - "AssessmentId": { - "type": "string" + "BlockDeviceMappings": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" + }, + "type": "array" + }, + "EbsOptimized": { + "type": "boolean" + }, + "IamInstanceProfile": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" }, - "AssessmentName": { + "ImageId": { "type": "string" }, - "Comment": { + "InstanceRequirements": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" + }, + "InstanceType": { "type": "string" }, - "ControlSetId": { + "KernelId": { "type": "string" }, - "CreatedBy": { + "KeyName": { "type": "string" }, - "CreationTime": { - "type": "number" + "Monitoring": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" }, - "Id": { + "NetworkInterfaces": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" + }, + "type": "array" + }, + "Placement": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" + }, + "RamdiskId": { "type": "string" }, - "LastUpdated": { - "type": "number" + "SecurityGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" + }, + "type": "array" }, - "RoleArn": { + "SpotPrice": { "type": "string" }, - "RoleType": { + "SubnetId": { "type": "string" }, - "Status": { + "TagSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" + }, + "type": "array" + }, + "UserData": { "type": "string" + }, + "WeightedCapacity": { + "type": "number" } }, + "required": [ + "ImageId" + ], "type": "object" }, - "AWS::AuditManager::Assessment.Role": { + "AWS::EC2::SpotFleet.SpotFleetMonitoring": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "RoleType": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::AuditManager::Assessment.Scope": { - "additionalProperties": false, - "properties": { - "AwsAccounts": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSAccount" - }, - "type": "array" - }, - "AwsServices": { - "items": { - "$ref": "#/definitions/AWS::AuditManager::Assessment.AWSService" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup": { + "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AllocationStrategy": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CapacityRebalance": { - "type": "boolean" - }, - "Context": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "DesiredCapacity": { - "type": "string" - }, - "DesiredCapacityType": { - "type": "string" - }, - "HealthCheckGracePeriod": { - "type": "number" - }, - "HealthCheckType": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LaunchConfigurationName": { - "type": "string" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "LifecycleHookSpecificationList": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification" - }, - "type": "array" - }, - "LoadBalancerNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxInstanceLifetime": { - "type": "number" - }, - "MaxSize": { - "type": "string" - }, - "MetricsCollection": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MetricsCollection" - }, - "type": "array" - }, - "MinSize": { - "type": "string" - }, - "MixedInstancesPolicy": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy" - }, - "NewInstancesProtectedFromScaleIn": { - "type": "boolean" - }, - "NotificationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration" - }, - "type": "array" - }, - "PlacementGroup": { - "type": "string" - }, - "ServiceLinkedRoleARN": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TagProperty" - }, - "type": "array" - }, - "TargetGroupARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TerminationPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VPCZoneIdentifier": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::AutoScaling::AutoScalingGroup" - ], + "Context": { "type": "string" }, - "UpdatePolicy": { - "type": "object" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ExcessCapacityTerminationPolicy": { "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "IamFleetRole": { + "type": "string" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "InstanceInterruptionBehavior": { + "type": "string" }, - "Min": { + "InstancePoolsToUseCount": { "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstanceRequirements": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" }, - "AcceleratorNames": { + "LaunchSpecifications": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" }, "type": "array" }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { + "LaunchTemplateConfigs": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" }, "type": "array" }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.BaselineEbsBandwidthMbpsRequest" + "LoadBalancersConfig": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" }, - "BurstablePerformance": { + "OnDemandAllocationStrategy": { "type": "string" }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { + "OnDemandMaxTotalPrice": { "type": "string" }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { + "OnDemandTargetCapacity": { "type": "number" }, - "RequireHibernateSupport": { + "ReplaceUnhealthyInstances": { "type": "boolean" }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.InstancesDistribution": { - "additionalProperties": false, - "properties": { - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandBaseCapacity": { - "type": "number" - }, - "OnDemandPercentageAboveBaseCapacity": { - "type": "number" + "SpotMaintenanceStrategies": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" }, - "SpotAllocationStrategy": { + "SpotMaxTotalPrice": { "type": "string" }, - "SpotInstancePools": { - "type": "number" - }, - "SpotMaxPrice": { + "SpotPrice": { "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" }, - "Overrides": { + "TagSpecifications": { "items": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides" + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" }, "type": "array" - } - }, - "required": [ - "LaunchTemplateSpecification" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "InstanceRequirements": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstanceRequirements" - }, - "InstanceType": { - "type": "string" - }, - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.LifecycleHookSpecification": { - "additionalProperties": false, - "properties": { - "DefaultResult": { - "type": "string" }, - "HeartbeatTimeout": { + "TargetCapacity": { "type": "number" }, - "LifecycleHookName": { + "TargetCapacityUnitType": { "type": "string" }, - "LifecycleTransition": { - "type": "string" + "TerminateInstancesWithExpiration": { + "type": "boolean" }, - "NotificationMetadata": { + "Type": { "type": "string" }, - "NotificationTargetARN": { + "ValidFrom": { "type": "string" }, - "RoleARN": { + "ValidUntil": { "type": "string" } }, "required": [ - "LifecycleHookName", - "LifecycleTransition" + "IamFleetRole", + "TargetCapacity" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::AutoScaling::AutoScalingGroup.MetricsCollection": { + "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { "additionalProperties": false, "properties": { - "Granularity": { + "ResourceType": { "type": "string" }, - "Metrics": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" } }, - "required": [ - "Granularity" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.MixedInstancesPolicy": { + "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { "additionalProperties": false, "properties": { - "InstancesDistribution": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.InstancesDistribution" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup.LaunchTemplate" + "CapacityRebalance": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" } }, - "required": [ - "LaunchTemplate" - ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NetworkInterfaceCountRequest": { + "AWS::EC2::SpotFleet.SpotPlacement": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "AvailabilityZone": { + "type": "string" }, - "Min": { - "type": "number" + "GroupName": { + "type": "string" + }, + "Tenancy": { + "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.NotificationConfiguration": { + "AWS::EC2::SpotFleet.TargetGroup": { "additionalProperties": false, "properties": { - "NotificationTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TopicARN": { + "Arn": { "type": "string" } }, "required": [ - "TopicARN" + "Arn" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TagProperty": { + "AWS::EC2::SpotFleet.TargetGroupsConfig": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "PropagateAtLaunch": { - "type": "boolean" - }, - "Value": { - "type": "string" + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" + }, + "type": "array" } }, "required": [ - "Key", - "PropagateAtLaunch", - "Value" + "TargetGroups" ], "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.TotalLocalStorageGBRequest": { + "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14864,7 +12095,7 @@ }, "type": "object" }, - "AWS::AutoScaling::AutoScalingGroup.VCpuCountRequest": { + "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { "additionalProperties": false, "properties": { "Max": { @@ -14876,7 +12107,7 @@ }, "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration": { + "AWS::EC2::Subnet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -14908,82 +12139,69 @@ "Properties": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { + "AssignIpv6AddressOnCreation": { "type": "boolean" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping" - }, - "type": "array" + "AvailabilityZone": { + "type": "string" }, - "ClassicLinkVPCId": { + "AvailabilityZoneId": { "type": "string" }, - "ClassicLinkVPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "EbsOptimized": { + "EnableDns64": { "type": "boolean" }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" + "EnableLniAtDeviceIndex": { + "type": "number" }, - "InstanceId": { + "Ipv4IpamPoolId": { "type": "string" }, - "InstanceMonitoring": { - "type": "boolean" + "Ipv4NetmaskLength": { + "type": "number" }, - "InstanceType": { + "Ipv6CidrBlock": { "type": "string" }, - "KernelId": { + "Ipv6IpamPoolId": { "type": "string" }, - "KeyName": { - "type": "string" + "Ipv6Native": { + "type": "boolean" }, - "LaunchConfigurationName": { - "type": "string" + "Ipv6NetmaskLength": { + "type": "number" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.MetadataOptions" + "MapPublicIpOnLaunch": { + "type": "boolean" }, - "PlacementTenancy": { + "OutpostArn": { "type": "string" }, - "RamDiskId": { - "type": "string" + "PrivateDnsNameOptionsOnLaunch": { + "$ref": "#/definitions/AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch" }, - "SecurityGroups": { + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SpotPrice": { - "type": "string" - }, - "UserData": { + "VpcId": { "type": "string" } }, "required": [ - "ImageId", - "InstanceType" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LaunchConfiguration" + "AWS::EC2::Subnet" ], "type": "string" }, @@ -15002,70 +12220,22 @@ ], "type": "object" }, - "AWS::AutoScaling::LaunchConfiguration.BlockDevice": { + "AWS::EC2::Subnet.PrivateDnsNameOptionsOnLaunch": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { + "EnableResourceNameDnsAAAARecord": { "type": "boolean" }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration.BlockDevice" - }, - "NoDevice": { + "EnableResourceNameDnsARecord": { "type": "boolean" }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::AutoScaling::LaunchConfiguration.MetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "HostnameType": { "type": "string" } }, "type": "object" }, - "AWS::AutoScaling::LifecycleHook": { + "AWS::EC2::SubnetCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15097,40 +12267,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Ipv6CidrBlock": { "type": "string" }, - "DefaultResult": { + "Ipv6IpamPoolId": { "type": "string" }, - "HeartbeatTimeout": { + "Ipv6NetmaskLength": { "type": "number" }, - "LifecycleHookName": { - "type": "string" - }, - "LifecycleTransition": { - "type": "string" - }, - "NotificationMetadata": { - "type": "string" - }, - "NotificationTargetARN": { - "type": "string" - }, - "RoleARN": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName", - "LifecycleTransition" + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::LifecycleHook" + "AWS::EC2::SubnetCidrBlock" ], "type": "string" }, @@ -15149,7 +12306,7 @@ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy": { + "AWS::EC2::SubnetNetworkAclAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15181,51 +12338,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AdjustmentType": { - "type": "string" - }, - "AutoScalingGroupName": { - "type": "string" - }, - "Cooldown": { - "type": "string" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "MetricAggregationType": { + "NetworkAclId": { "type": "string" }, - "MinAdjustmentMagnitude": { - "type": "number" - }, - "PolicyType": { + "SubnetId": { "type": "string" - }, - "PredictiveScalingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration" - }, - "ScalingAdjustment": { - "type": "number" - }, - "StepAdjustments": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.StepAdjustment" - }, - "type": "array" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration" } }, "required": [ - "AutoScalingGroupName" + "NetworkAclId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScalingPolicy" + "AWS::EC2::SubnetNetworkAclAssociation" ], "type": "string" }, @@ -15244,199 +12372,7 @@ ], "type": "object" }, - "AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingConfiguration": { - "additionalProperties": false, - "properties": { - "MaxCapacityBreachBehavior": { - "type": "string" - }, - "MaxCapacityBuffer": { - "type": "number" - }, - "MetricSpecifications": { - "items": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification" - }, - "type": "array" - }, - "Mode": { - "type": "string" - }, - "SchedulingBufferTime": { - "type": "number" - } - }, - "required": [ - "MetricSpecifications" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric" - }, - "PredefinedMetricPairSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric": { - "additionalProperties": false, - "properties": { - "PredefinedMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedMetricType" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.StepAdjustment": { - "additionalProperties": false, - "properties": { - "MetricIntervalLowerBound": { - "type": "number" - }, - "MetricIntervalUpperBound": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.CustomizedMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "PredefinedMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy.PredefinedMetricSpecification" - }, - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::AutoScaling::ScheduledAction": { + "AWS::EC2::SubnetRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15468,39 +12404,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { - "type": "string" - }, - "DesiredCapacity": { - "type": "number" - }, - "EndTime": { - "type": "string" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "Recurrence": { - "type": "string" - }, - "StartTime": { + "RouteTableId": { "type": "string" }, - "TimeZone": { + "SubnetId": { "type": "string" } }, "required": [ - "AutoScalingGroupName" + "RouteTableId", + "SubnetId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::ScheduledAction" + "AWS::EC2::SubnetRouteTableAssociation" ], "type": "string" }, @@ -15519,7 +12438,7 @@ ], "type": "object" }, - "AWS::AutoScaling::WarmPool": { + "AWS::EC2::TrafficMirrorFilter": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15551,27 +12470,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoScalingGroupName": { + "Description": { "type": "string" }, - "MaxGroupPreparedCapacity": { - "type": "number" - }, - "MinSize": { - "type": "number" + "NetworkServices": { + "items": { + "type": "string" + }, + "type": "array" }, - "PoolState": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "AutoScalingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScaling::WarmPool" + "AWS::EC2::TrafficMirrorFilter" ], "type": "string" }, @@ -15585,12 +12504,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan": { + "AWS::EC2::TrafficMirrorFilterRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15622,25 +12540,56 @@ "Properties": { "additionalProperties": false, "properties": { - "ApplicationSource": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ApplicationSource" + "Description": { + "type": "string" + }, + "DestinationCidrBlock": { + "type": "string" + }, + "DestinationPortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" + }, + "Protocol": { + "type": "number" + }, + "RuleAction": { + "type": "string" + }, + "RuleNumber": { + "type": "number" + }, + "SourceCidrBlock": { + "type": "string" + }, + "SourcePortRange": { + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" }, - "ScalingInstructions": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TrafficDirection": { + "type": "string" + }, + "TrafficMirrorFilterId": { + "type": "string" } }, "required": [ - "ApplicationSource", - "ScalingInstructions" + "DestinationCidrBlock", + "RuleAction", + "RuleNumber", + "SourceCidrBlock", + "TrafficDirection", + "TrafficMirrorFilterId" ], "type": "object" }, "Type": { "enum": [ - "AWS::AutoScalingPlans::ScalingPlan" + "AWS::EC2::TrafficMirrorFilterRule" ], "type": "string" }, @@ -15659,233 +12608,112 @@ ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.ApplicationSource": { - "additionalProperties": false, - "properties": { - "CloudFormationStackARN": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification": { + "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { "additionalProperties": false, "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { - "type": "string" + "FromPort": { + "type": "number" }, - "Unit": { - "type": "string" + "ToPort": { + "type": "number" } }, "required": [ - "MetricName", - "Namespace", - "Statistic" + "FromPort", + "ToPort" ], "type": "object" }, - "AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification": { + "AWS::EC2::TrafficMirrorSession": { "additionalProperties": false, "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.MetricDimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Statistic": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace", - "Statistic" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.MetricDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedLoadMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedLoadMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification": { - "additionalProperties": false, - "properties": { - "PredefinedScalingMetricType": { - "type": "string" - }, - "ResourceLabel": { - "type": "string" - } - }, - "required": [ - "PredefinedScalingMetricType" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.ScalingInstruction": { - "additionalProperties": false, - "properties": { - "CustomizedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedLoadMetricSpecification" - }, - "DisableDynamicScaling": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "PredefinedLoadMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedLoadMetricSpecification" - }, - "PredictiveScalingMaxCapacityBehavior": { - "type": "string" - }, - "PredictiveScalingMaxCapacityBuffer": { - "type": "number" - }, - "PredictiveScalingMode": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "ScalableDimension": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "ScalingPolicyUpdateBehavior": { - "type": "string" + "Metadata": { + "type": "object" }, - "ScheduledActionBufferTime": { - "type": "number" + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "PacketLength": { + "type": "number" + }, + "SessionNumber": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrafficMirrorFilterId": { + "type": "string" + }, + "TrafficMirrorTargetId": { + "type": "string" + }, + "VirtualNetworkId": { + "type": "number" + } + }, + "required": [ + "NetworkInterfaceId", + "SessionNumber", + "TrafficMirrorFilterId", + "TrafficMirrorTargetId" + ], + "type": "object" }, - "ServiceNamespace": { + "Type": { + "enum": [ + "AWS::EC2::TrafficMirrorSession" + ], "type": "string" }, - "TargetTrackingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration" - }, - "type": "array" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity", - "ResourceId", - "ScalableDimension", - "ServiceNamespace", - "TargetTrackingConfigurations" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::AutoScalingPlans::ScalingPlan.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "CustomizedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.CustomizedScalingMetricSpecification" - }, - "DisableScaleIn": { - "type": "boolean" - }, - "EstimatedInstanceWarmup": { - "type": "number" - }, - "PredefinedScalingMetricSpecification": { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan.PredefinedScalingMetricSpecification" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" - }, - "TargetValue": { - "type": "number" } }, "required": [ - "TargetValue" + "Type", + "Properties" ], "type": "object" }, - "AWS::Backup::BackupPlan": { + "AWS::EC2::TrafficMirrorTarget": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -15917,27 +12745,30 @@ "Properties": { "additionalProperties": false, "properties": { - "BackupPlan": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupPlanResourceType" + "Description": { + "type": "string" }, - "BackupPlanTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "GatewayLoadBalancerEndpointId": { + "type": "string" + }, + "NetworkInterfaceId": { + "type": "string" + }, + "NetworkLoadBalancerArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" } }, - "required": [ - "BackupPlan" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupPlan" + "AWS::EC2::TrafficMirrorTarget" ], "type": "string" }, @@ -15951,126 +12782,111 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType": { - "additionalProperties": false, - "properties": { - "BackupOptions": { - "type": "object" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "BackupOptions", - "ResourceType" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.BackupPlanResourceType": { + "AWS::EC2::TransitGateway": { "additionalProperties": false, "properties": { - "AdvancedBackupSettings": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType" - }, - "type": "array" - }, - "BackupPlanName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "BackupPlanRule": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.BackupRuleResourceType" - }, - "type": "array" - } - }, - "required": [ - "BackupPlanName", - "BackupPlanRule" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.BackupRuleResourceType": { - "additionalProperties": false, - "properties": { - "CompletionWindowMinutes": { - "type": "number" - }, - "CopyActions": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.CopyActionResourceType" - }, - "type": "array" - }, - "EnableContinuousBackup": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" + "Metadata": { + "type": "object" }, - "RecoveryPointTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { + "Properties": { + "additionalProperties": false, + "properties": { + "AmazonSideAsn": { + "type": "number" + }, + "AssociationDefaultRouteTableId": { + "type": "string" + }, + "AutoAcceptSharedAttachments": { + "type": "string" + }, + "DefaultRouteTableAssociation": { + "type": "string" + }, + "DefaultRouteTablePropagation": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "DnsSupport": { + "type": "string" + }, + "MulticastSupport": { + "type": "string" + }, + "PropagationDefaultRouteTableId": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayCidrBlocks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VpnEcmpSupport": { "type": "string" } }, "type": "object" }, - "RuleName": { - "type": "string" - }, - "ScheduleExpression": { + "Type": { + "enum": [ + "AWS::EC2::TransitGateway" + ], "type": "string" }, - "StartWindowMinutes": { - "type": "number" - }, - "TargetBackupVault": { - "type": "string" - } - }, - "required": [ - "RuleName", - "TargetBackupVault" - ], - "type": "object" - }, - "AWS::Backup::BackupPlan.CopyActionResourceType": { - "additionalProperties": false, - "properties": { - "DestinationBackupVaultArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "Lifecycle": { - "$ref": "#/definitions/AWS::Backup::BackupPlan.LifecycleResourceType" } }, "required": [ - "DestinationBackupVaultArn" + "Type" ], "type": "object" }, - "AWS::Backup::BackupPlan.LifecycleResourceType": { - "additionalProperties": false, - "properties": { - "DeleteAfterDays": { - "type": "number" - }, - "MoveToColdStorageAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Backup::BackupSelection": { + "AWS::EC2::TransitGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16102,22 +12918,38 @@ "Properties": { "additionalProperties": false, "properties": { - "BackupPlanId": { + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment.Options" + }, + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { "type": "string" }, - "BackupSelection": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.BackupSelectionResourceType" + "VpcId": { + "type": "string" } }, "required": [ - "BackupPlanId", - "BackupSelection" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupSelection" + "AWS::EC2::TransitGatewayAttachment" ], "type": "string" }, @@ -16136,64 +12968,25 @@ ], "type": "object" }, - "AWS::Backup::BackupSelection.BackupSelectionResourceType": { + "AWS::EC2::TransitGatewayAttachment.Options": { "additionalProperties": false, "properties": { - "Conditions": { - "type": "object" - }, - "IamRoleArn": { + "ApplianceModeSupport": { "type": "string" }, - "ListOfTags": { - "items": { - "$ref": "#/definitions/AWS::Backup::BackupSelection.ConditionResourceType" - }, - "type": "array" - }, - "NotResources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelectionName": { - "type": "string" - } - }, - "required": [ - "IamRoleArn", - "SelectionName" - ], - "type": "object" - }, - "AWS::Backup::BackupSelection.ConditionResourceType": { - "additionalProperties": false, - "properties": { - "ConditionKey": { + "DnsSupport": { "type": "string" }, - "ConditionType": { + "Ipv6Support": { "type": "string" }, - "ConditionValue": { + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "ConditionKey", - "ConditionType", - "ConditionValue" - ], "type": "object" }, - "AWS::Backup::BackupVault": { + "AWS::EC2::TransitGatewayConnect": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16225,39 +13018,28 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessPolicy": { - "type": "object" - }, - "BackupVaultName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" }, - "BackupVaultTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } + "Tags": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "EncryptionKeyArn": { + "TransportTransitGatewayAttachmentId": { "type": "string" - }, - "LockConfiguration": { - "$ref": "#/definitions/AWS::Backup::BackupVault.LockConfigurationType" - }, - "Notifications": { - "$ref": "#/definitions/AWS::Backup::BackupVault.NotificationObjectType" } }, "required": [ - "BackupVaultName" + "Options", + "TransportTransitGatewayAttachmentId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::BackupVault" + "AWS::EC2::TransitGatewayConnect" ], "type": "string" }, @@ -16276,44 +13058,16 @@ ], "type": "object" }, - "AWS::Backup::BackupVault.LockConfigurationType": { - "additionalProperties": false, - "properties": { - "ChangeableForDays": { - "type": "number" - }, - "MaxRetentionDays": { - "type": "number" - }, - "MinRetentionDays": { - "type": "number" - } - }, - "required": [ - "MinRetentionDays" - ], - "type": "object" - }, - "AWS::Backup::BackupVault.NotificationObjectType": { + "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { "additionalProperties": false, "properties": { - "BackupVaultEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SNSTopicArn": { + "Protocol": { "type": "string" } }, - "required": [ - "BackupVaultEvents", - "SNSTopicArn" - ], "type": "object" }, - "AWS::Backup::Framework": { + "AWS::EC2::TransitGatewayMulticastDomain": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16345,33 +13099,27 @@ "Properties": { "additionalProperties": false, "properties": { - "FrameworkControls": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.FrameworkControl" - }, - "type": "array" - }, - "FrameworkDescription": { - "type": "string" - }, - "FrameworkName": { - "type": "string" + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain.Options" }, - "FrameworkTags": { + "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "FrameworkControls" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::Framework" + "AWS::EC2::TransitGatewayMulticastDomain" ], "type": "string" }, @@ -16390,44 +13138,22 @@ ], "type": "object" }, - "AWS::Backup::Framework.ControlInputParameter": { + "AWS::EC2::TransitGatewayMulticastDomain.Options": { "additionalProperties": false, "properties": { - "ParameterName": { + "AutoAcceptSharedAssociations": { "type": "string" }, - "ParameterValue": { + "Igmpv2Support": { "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Backup::Framework.FrameworkControl": { - "additionalProperties": false, - "properties": { - "ControlInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Backup::Framework.ControlInputParameter" - }, - "type": "array" }, - "ControlName": { + "StaticSourcesSupport": { "type": "string" - }, - "ControlScope": { - "type": "object" } }, - "required": [ - "ControlName" - ], "type": "object" }, - "AWS::Backup::ReportPlan": { + "AWS::EC2::TransitGatewayMulticastDomainAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16459,34 +13185,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ReportDeliveryChannel": { - "type": "object" - }, - "ReportPlanDescription": { + "SubnetId": { "type": "string" }, - "ReportPlanName": { + "TransitGatewayAttachmentId": { "type": "string" }, - "ReportPlanTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ReportSetting": { - "type": "object" + "TransitGatewayMulticastDomainId": { + "type": "string" } }, "required": [ - "ReportDeliveryChannel", - "ReportSetting" + "SubnetId", + "TransitGatewayAttachmentId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Backup::ReportPlan" + "AWS::EC2::TransitGatewayMulticastDomainAssociation" ], "type": "string" }, @@ -16505,7 +13223,7 @@ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment": { + "AWS::EC2::TransitGatewayMulticastGroupMember": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16537,36 +13255,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentName": { - "type": "string" - }, - "ComputeResources": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.ComputeResources" - }, - "ServiceRole": { + "GroupIpAddress": { "type": "string" }, - "State": { + "NetworkInterfaceId": { "type": "string" }, - "Tags": { - "type": "object" - }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" - }, - "UnmanagedvCpus": { - "type": "number" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::ComputeEnvironment" + "AWS::EC2::TransitGatewayMulticastGroupMember" ], "type": "string" }, @@ -16585,111 +13293,7 @@ ], "type": "object" }, - "AWS::Batch::ComputeEnvironment.ComputeResources": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BidPercentage": { - "type": "number" - }, - "DesiredvCpus": { - "type": "number" - }, - "Ec2Configuration": { - "items": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject" - }, - "type": "array" - }, - "Ec2KeyPair": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification" - }, - "MaxvCpus": { - "type": "number" - }, - "MinvCpus": { - "type": "number" - }, - "PlacementGroup": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpotIamFleetRole": { - "type": "string" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "MaxvCpus", - "Subnets", - "Type" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject": { - "additionalProperties": false, - "properties": { - "ImageIdOverride": { - "type": "string" - }, - "ImageType": { - "type": "string" - } - }, - "required": [ - "ImageType" - ], - "type": "object" - }, - "AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition": { + "AWS::EC2::TransitGatewayMulticastGroupSource": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -16721,51 +13325,26 @@ "Properties": { "additionalProperties": false, "properties": { - "ContainerProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "JobDefinitionName": { + "GroupIpAddress": { "type": "string" }, - "NodeProperties": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeProperties" - }, - "Parameters": { - "type": "object" - }, - "PlatformCapabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PropagateTags": { - "type": "boolean" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.RetryStrategy" - }, - "SchedulingPriority": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Timeout" + "NetworkInterfaceId": { + "type": "string" }, - "Type": { + "TransitGatewayMulticastDomainId": { "type": "string" } }, "required": [ - "Type" + "GroupIpAddress", + "NetworkInterfaceId", + "TransitGatewayMulticastDomainId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobDefinition" + "AWS::EC2::TransitGatewayMulticastGroupSource" ], "type": "string" }, @@ -16784,424 +13363,7 @@ ], "type": "object" }, - "AWS::Batch::JobDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "Iam": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.ContainerProperties": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Environment" - }, - "type": "array" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FargatePlatformConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.FargatePlatformConfiguration" - }, - "Image": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobRoleArn": { - "type": "string" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.MountPoints" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NetworkConfiguration" - }, - "Privileged": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "Vcpus": { - "type": "number" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Volumes" - }, - "type": "array" - } - }, - "required": [ - "Image" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EfsVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.AuthorizationConfig" - }, - "FileSystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Environment": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.EvaluateOnExit": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "OnExitCode": { - "type": "string" - }, - "OnReason": { - "type": "string" - }, - "OnStatusReason": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.FargatePlatformConfiguration": { - "additionalProperties": false, - "properties": { - "PlatformVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.MountPoints": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeProperties": { - "additionalProperties": false, - "properties": { - "MainNode": { - "type": "number" - }, - "NodeRangeProperties": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.NodeRangeProperty" - }, - "type": "array" - }, - "NumNodes": { - "type": "number" - } - }, - "required": [ - "MainNode", - "NodeRangeProperties", - "NumNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.NodeRangeProperty": { - "additionalProperties": false, - "properties": { - "Container": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.ContainerProperties" - }, - "TargetNodes": { - "type": "string" - } - }, - "required": [ - "TargetNodes" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.RetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - }, - "EvaluateOnExit": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EvaluateOnExit" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Timeout": { - "additionalProperties": false, - "properties": { - "AttemptDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "ContainerPath", - "Size" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::Batch::JobDefinition.Volumes": { - "additionalProperties": false, - "properties": { - "EfsVolumeConfiguration": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.EfsVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::Batch::JobDefinition.VolumesHost" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobDefinition.VolumesHost": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Batch::JobQueue": { + "AWS::EC2::TransitGatewayPeeringAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17233,37 +13395,36 @@ "Properties": { "additionalProperties": false, "properties": { - "ComputeEnvironmentOrder": { - "items": { - "$ref": "#/definitions/AWS::Batch::JobQueue.ComputeEnvironmentOrder" - }, - "type": "array" - }, - "JobQueueName": { + "PeerAccountId": { "type": "string" }, - "Priority": { - "type": "number" - }, - "SchedulingPolicyArn": { + "PeerRegion": { "type": "string" }, - "State": { + "PeerTransitGatewayId": { "type": "string" }, "Tags": { - "type": "object" + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "ComputeEnvironmentOrder", - "Priority" + "PeerAccountId", + "PeerRegion", + "PeerTransitGatewayId", + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::JobQueue" + "AWS::EC2::TransitGatewayPeeringAttachment" ], "type": "string" }, @@ -17282,23 +13443,19 @@ ], "type": "object" }, - "AWS::Batch::JobQueue.ComputeEnvironmentOrder": { + "AWS::EC2::TransitGatewayPeeringAttachment.PeeringAttachmentStatus": { "additionalProperties": false, "properties": { - "ComputeEnvironment": { + "Code": { "type": "string" }, - "Order": { - "type": "number" + "Message": { + "type": "string" } }, - "required": [ - "ComputeEnvironment", - "Order" - ], "type": "object" }, - "AWS::Batch::SchedulingPolicy": { + "AWS::EC2::TransitGatewayRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17330,27 +13487,28 @@ "Properties": { "additionalProperties": false, "properties": { - "FairsharePolicy": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.FairsharePolicy" + "Blackhole": { + "type": "boolean" }, - "Name": { + "DestinationCidrBlock": { "type": "string" }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" + "TransitGatewayAttachmentId": { + "type": "string" + }, + "TransitGatewayRouteTableId": { + "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "TransitGatewayRouteTableId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Batch::SchedulingPolicy" + "AWS::EC2::TransitGatewayRoute" ], "type": "string" }, @@ -17364,41 +13522,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Batch::SchedulingPolicy.FairsharePolicy": { - "additionalProperties": false, - "properties": { - "ComputeReservation": { - "type": "number" - }, - "ShareDecaySeconds": { - "type": "number" - }, - "ShareDistribution": { - "items": { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy.ShareAttributes" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Batch::SchedulingPolicy.ShareAttributes": { - "additionalProperties": false, - "properties": { - "ShareIdentifier": { - "type": "string" - }, - "WeightFactor": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget": { + "AWS::EC2::TransitGatewayRouteTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17430,24 +13559,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Budget": { - "$ref": "#/definitions/AWS::Budgets::Budget.BudgetData" - }, - "NotificationsWithSubscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.NotificationWithSubscribers" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TransitGatewayId": { + "type": "string" } }, "required": [ - "Budget" + "TransitGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::Budget" + "AWS::EC2::TransitGatewayRouteTable" ], "type": "string" }, @@ -17466,166 +13595,7 @@ ], "type": "object" }, - "AWS::Budgets::Budget.BudgetData": { - "additionalProperties": false, - "properties": { - "BudgetLimit": { - "$ref": "#/definitions/AWS::Budgets::Budget.Spend" - }, - "BudgetName": { - "type": "string" - }, - "BudgetType": { - "type": "string" - }, - "CostFilters": { - "type": "object" - }, - "CostTypes": { - "$ref": "#/definitions/AWS::Budgets::Budget.CostTypes" - }, - "PlannedBudgetLimits": { - "type": "object" - }, - "TimePeriod": { - "$ref": "#/definitions/AWS::Budgets::Budget.TimePeriod" - }, - "TimeUnit": { - "type": "string" - } - }, - "required": [ - "BudgetType", - "TimeUnit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.CostTypes": { - "additionalProperties": false, - "properties": { - "IncludeCredit": { - "type": "boolean" - }, - "IncludeDiscount": { - "type": "boolean" - }, - "IncludeOtherSubscription": { - "type": "boolean" - }, - "IncludeRecurring": { - "type": "boolean" - }, - "IncludeRefund": { - "type": "boolean" - }, - "IncludeSubscription": { - "type": "boolean" - }, - "IncludeSupport": { - "type": "boolean" - }, - "IncludeTax": { - "type": "boolean" - }, - "IncludeUpfront": { - "type": "boolean" - }, - "UseAmortized": { - "type": "boolean" - }, - "UseBlended": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Budgets::Budget.Notification": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "NotificationType": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "ThresholdType": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "NotificationType", - "Threshold" - ], - "type": "object" - }, - "AWS::Budgets::Budget.NotificationWithSubscribers": { - "additionalProperties": false, - "properties": { - "Notification": { - "$ref": "#/definitions/AWS::Budgets::Budget.Notification" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::Budget.Subscriber" - }, - "type": "array" - } - }, - "required": [ - "Notification", - "Subscribers" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Spend": { - "additionalProperties": false, - "properties": { - "Amount": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Amount", - "Unit" - ], - "type": "object" - }, - "AWS::Budgets::Budget.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "SubscriptionType": { - "type": "string" - } - }, - "required": [ - "Address", - "SubscriptionType" - ], - "type": "object" - }, - "AWS::Budgets::Budget.TimePeriod": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction": { + "AWS::EC2::TransitGatewayRouteTableAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17657,48 +13627,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionThreshold": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ActionThreshold" - }, - "ActionType": { - "type": "string" - }, - "ApprovalModel": { - "type": "string" - }, - "BudgetName": { - "type": "string" - }, - "Definition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Definition" - }, - "ExecutionRoleArn": { + "TransitGatewayAttachmentId": { "type": "string" }, - "NotificationType": { + "TransitGatewayRouteTableId": { "type": "string" - }, - "Subscribers": { - "items": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.Subscriber" - }, - "type": "array" } }, "required": [ - "ActionThreshold", - "ActionType", - "BudgetName", - "Definition", - "ExecutionRoleArn", - "NotificationType", - "Subscribers" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Budgets::BudgetsAction" + "AWS::EC2::TransitGatewayRouteTableAssociation" ], "type": "string" }, @@ -17717,126 +13661,7 @@ ], "type": "object" }, - "AWS::Budgets::BudgetsAction.ActionThreshold": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Definition": { - "additionalProperties": false, - "properties": { - "IamActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.IamActionDefinition" - }, - "ScpActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.ScpActionDefinition" - }, - "SsmActionDefinition": { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction.SsmActionDefinition" - } - }, - "type": "object" - }, - "AWS::Budgets::BudgetsAction.IamActionDefinition": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyArn": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyArn" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.ScpActionDefinition": { - "additionalProperties": false, - "properties": { - "PolicyId": { - "type": "string" - }, - "TargetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyId", - "TargetIds" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.SsmActionDefinition": { - "additionalProperties": false, - "properties": { - "InstanceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - }, - "Subtype": { - "type": "string" - } - }, - "required": [ - "InstanceIds", - "Region", - "Subtype" - ], - "type": "object" - }, - "AWS::Budgets::BudgetsAction.Subscriber": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Address", - "Type" - ], - "type": "object" - }, - "AWS::CE::AnomalyMonitor": { + "AWS::EC2::TransitGatewayRouteTablePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17868,28 +13693,22 @@ "Properties": { "additionalProperties": false, "properties": { - "MonitorDimension": { - "type": "string" - }, - "MonitorName": { - "type": "string" - }, - "MonitorSpecification": { + "TransitGatewayAttachmentId": { "type": "string" }, - "MonitorType": { + "TransitGatewayRouteTableId": { "type": "string" } }, "required": [ - "MonitorName", - "MonitorType" + "TransitGatewayAttachmentId", + "TransitGatewayRouteTableId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalyMonitor" + "AWS::EC2::TransitGatewayRouteTablePropagation" ], "type": "string" }, @@ -17908,7 +13727,7 @@ ], "type": "object" }, - "AWS::CE::AnomalySubscription": { + "AWS::EC2::TransitGatewayVpcAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -17940,40 +13759,50 @@ "Properties": { "additionalProperties": false, "properties": { - "Frequency": { - "type": "string" + "AddSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Options": { + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment.Options" + }, + "RemoveSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "MonitorArnList": { + "SubnetIds": { "items": { "type": "string" }, "type": "array" }, - "Subscribers": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CE::AnomalySubscription.Subscriber" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "SubscriptionName": { + "TransitGatewayId": { "type": "string" }, - "Threshold": { - "type": "number" + "VpcId": { + "type": "string" } }, "required": [ - "Frequency", - "MonitorArnList", - "Subscribers", - "SubscriptionName", - "Threshold" + "SubnetIds", + "TransitGatewayId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::AnomalySubscription" + "AWS::EC2::TransitGatewayVpcAttachment" ], "type": "string" }, @@ -17992,26 +13821,25 @@ ], "type": "object" }, - "AWS::CE::AnomalySubscription.Subscriber": { + "AWS::EC2::TransitGatewayVpcAttachment.Options": { "additionalProperties": false, "properties": { - "Address": { + "ApplianceModeSupport": { "type": "string" }, - "Status": { + "DnsSupport": { "type": "string" }, - "Type": { + "Ipv6Support": { + "type": "string" + }, + "SecurityGroupReferencingSupport": { "type": "string" } }, - "required": [ - "Address", - "Type" - ], "type": "object" }, - "AWS::CE::CostCategory": { + "AWS::EC2::VPC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18043,32 +13871,36 @@ "Properties": { "additionalProperties": false, "properties": { - "DefaultValue": { + "CidrBlock": { "type": "string" }, - "Name": { - "type": "string" + "EnableDnsHostnames": { + "type": "boolean" }, - "RuleVersion": { - "type": "string" + "EnableDnsSupport": { + "type": "boolean" }, - "Rules": { + "InstanceTenancy": { "type": "string" }, - "SplitChargeRules": { + "Ipv4IpamPoolId": { "type": "string" + }, + "Ipv4NetmaskLength": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name", - "RuleVersion", - "Rules" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CE::CostCategory" + "AWS::EC2::VPC" ], "type": "string" }, @@ -18082,12 +13914,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CUR::ReportDefinition": { + "AWS::EC2::VPCBlockPublicAccessExclusion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18119,65 +13950,30 @@ "Properties": { "additionalProperties": false, "properties": { - "AdditionalArtifacts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSchemaElements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BillingViewArn": { - "type": "string" - }, - "Compression": { - "type": "string" - }, - "Format": { + "InternetGatewayExclusionMode": { "type": "string" }, - "RefreshClosedReports": { - "type": "boolean" - }, - "ReportName": { - "type": "string" - }, - "ReportVersioning": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { + "SubnetId": { "type": "string" }, - "S3Region": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeUnit": { + "VpcId": { "type": "string" } }, "required": [ - "Compression", - "Format", - "RefreshClosedReports", - "ReportName", - "ReportVersioning", - "S3Bucket", - "S3Prefix", - "S3Region", - "TimeUnit" + "InternetGatewayExclusionMode" ], "type": "object" }, "Type": { "enum": [ - "AWS::CUR::ReportDefinition" + "AWS::EC2::VPCBlockPublicAccessExclusion" ], "type": "string" }, @@ -18196,7 +13992,7 @@ ], "type": "object" }, - "AWS::Cassandra::Keyspace": { + "AWS::EC2::VPCBlockPublicAccessOptions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18228,21 +14024,18 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyspaceName": { + "InternetGatewayBlockMode": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, + "required": [ + "InternetGatewayBlockMode" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Keyspace" + "AWS::EC2::VPCBlockPublicAccessOptions" ], "type": "string" }, @@ -18256,11 +14049,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Cassandra::Table": { + "AWS::EC2::VPCCidrBlock": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18292,58 +14086,45 @@ "Properties": { "additionalProperties": false, "properties": { - "BillingMode": { - "$ref": "#/definitions/AWS::Cassandra::Table.BillingMode" + "AmazonProvidedIpv6CidrBlock": { + "type": "boolean" }, - "ClusteringKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.ClusteringKeyColumn" - }, - "type": "array" + "CidrBlock": { + "type": "string" }, - "DefaultTimeToLive": { - "type": "number" + "Ipv4IpamPoolId": { + "type": "string" }, - "EncryptionSpecification": { - "$ref": "#/definitions/AWS::Cassandra::Table.EncryptionSpecification" + "Ipv4NetmaskLength": { + "type": "number" }, - "KeyspaceName": { + "Ipv6CidrBlock": { "type": "string" }, - "PartitionKeyColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6CidrBlockNetworkBorderGroup": { + "type": "string" }, - "PointInTimeRecoveryEnabled": { - "type": "boolean" + "Ipv6IpamPoolId": { + "type": "string" }, - "RegularColumns": { - "items": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "type": "array" + "Ipv6NetmaskLength": { + "type": "number" }, - "TableName": { + "Ipv6Pool": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcId": { + "type": "string" } }, "required": [ - "KeyspaceName", - "PartitionKeyColumns" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cassandra::Table" + "AWS::EC2::VPCCidrBlock" ], "type": "string" }, @@ -18362,84 +14143,7 @@ ], "type": "object" }, - "AWS::Cassandra::Table.BillingMode": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Cassandra::Table.ProvisionedThroughput" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ClusteringKeyColumn": { - "additionalProperties": false, - "properties": { - "Column": { - "$ref": "#/definitions/AWS::Cassandra::Table.Column" - }, - "OrderBy": { - "type": "string" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Cassandra::Table.Column": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "ColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "ColumnType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.EncryptionSpecification": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKeyIdentifier": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::Cassandra::Table.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::CertificateManager::Account": { + "AWS::EC2::VPCDHCPOptionsAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18471,18 +14175,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ExpiryEventsConfiguration": { - "$ref": "#/definitions/AWS::CertificateManager::Account.ExpiryEventsConfiguration" + "DhcpOptionsId": { + "type": "string" + }, + "VpcId": { + "type": "string" } }, "required": [ - "ExpiryEventsConfiguration" + "DhcpOptionsId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Account" + "AWS::EC2::VPCDHCPOptionsAssociation" ], "type": "string" }, @@ -18501,16 +14209,7 @@ ], "type": "object" }, - "AWS::CertificateManager::Account.ExpiryEventsConfiguration": { - "additionalProperties": false, - "properties": { - "DaysBeforeExpiry": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CertificateManager::Certificate": { + "AWS::EC2::VPCEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18542,22 +14241,40 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateAuthorityArn": { - "type": "string" + "DnsOptions": { + "$ref": "#/definitions/AWS::EC2::VPCEndpoint.DnsOptionsSpecification" }, - "CertificateTransparencyLoggingPreference": { + "IpAddressType": { "type": "string" }, - "DomainName": { + "PolicyDocument": { + "type": "object" + }, + "PrivateDnsEnabled": { + "type": "boolean" + }, + "ResourceConfigurationArn": { "type": "string" }, - "DomainValidationOptions": { + "RouteTableIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CertificateManager::Certificate.DomainValidationOption" + "type": "string" }, "type": "array" }, - "SubjectAlternativeNames": { + "ServiceName": { + "type": "string" + }, + "ServiceNetworkArn": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -18569,18 +14286,21 @@ }, "type": "array" }, - "ValidationMethod": { + "VpcEndpointType": { + "type": "string" + }, + "VpcId": { "type": "string" } }, "required": [ - "DomainName" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CertificateManager::Certificate" + "AWS::EC2::VPCEndpoint" ], "type": "string" }, @@ -18599,25 +14319,19 @@ ], "type": "object" }, - "AWS::CertificateManager::Certificate.DomainValidationOption": { + "AWS::EC2::VPCEndpoint.DnsOptionsSpecification": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneId": { + "DnsRecordIpType": { "type": "string" }, - "ValidationDomain": { + "PrivateDnsOnlyForInboundResolverEndpoint": { "type": "string" } }, - "required": [ - "DomainName" - ], "type": "object" }, - "AWS::Chatbot::SlackChannelConfiguration": { + "AWS::EC2::VPCEndpointConnectionNotification": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18649,48 +14363,31 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigurationName": { - "type": "string" - }, - "GuardrailPolicies": { + "ConnectionEvents": { "items": { "type": "string" }, "type": "array" }, - "IamRoleArn": { - "type": "string" - }, - "LoggingLevel": { + "ConnectionNotificationArn": { "type": "string" }, - "SlackChannelId": { + "ServiceId": { "type": "string" }, - "SlackWorkspaceId": { + "VPCEndpointId": { "type": "string" - }, - "SnsTopicArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserRoleRequired": { - "type": "boolean" } }, "required": [ - "ConfigurationName", - "IamRoleArn", - "SlackChannelId", - "SlackWorkspaceId" + "ConnectionEvents", + "ConnectionNotificationArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Chatbot::SlackChannelConfiguration" + "AWS::EC2::VPCEndpointConnectionNotification" ], "type": "string" }, @@ -18709,7 +14406,7 @@ ], "type": "object" }, - "AWS::Cloud9::EnvironmentEC2": { + "AWS::EC2::VPCEndpointService": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18741,34 +14438,25 @@ "Properties": { "additionalProperties": false, "properties": { - "AutomaticStopTimeMinutes": { - "type": "number" - }, - "ConnectionType": { - "type": "string" + "AcceptanceRequired": { + "type": "boolean" }, - "Description": { - "type": "string" + "ContributorInsightsEnabled": { + "type": "boolean" }, - "ImageId": { - "type": "string" + "GatewayLoadBalancerArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "InstanceType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerArn": { - "type": "string" - }, - "Repositories": { + "NetworkLoadBalancerArns": { "items": { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2.Repository" + "type": "string" }, "type": "array" }, - "SubnetId": { + "PayerResponsibility": { "type": "string" }, "Tags": { @@ -18778,14 +14466,11 @@ "type": "array" } }, - "required": [ - "InstanceType" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cloud9::EnvironmentEC2" + "AWS::EC2::VPCEndpointService" ], "type": "string" }, @@ -18799,28 +14484,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cloud9::EnvironmentEC2.Repository": { - "additionalProperties": false, - "properties": { - "PathComponent": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - } - }, - "required": [ - "PathComponent", - "RepositoryUrl" + "Type" ], "type": "object" }, - "AWS::CloudFormation::CustomResource": { + "AWS::EC2::VPCEndpointServicePermissions": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18852,18 +14520,24 @@ "Properties": { "additionalProperties": false, "properties": { - "ServiceToken": { + "AllowedPrincipals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ServiceId": { "type": "string" } }, "required": [ - "ServiceToken" + "ServiceId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::CustomResource" + "AWS::EC2::VPCEndpointServicePermissions" ], "type": "string" }, @@ -18882,7 +14556,7 @@ ], "type": "object" }, - "AWS::CloudFormation::Macro": { + "AWS::EC2::VPCGatewayAttachment": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18914,31 +14588,24 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "LogGroupName": { + "InternetGatewayId": { "type": "string" }, - "LogRoleARN": { + "VpcId": { "type": "string" }, - "Name": { + "VpnGatewayId": { "type": "string" } }, "required": [ - "FunctionName", - "Name" + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Macro" + "AWS::EC2::VPCGatewayAttachment" ], "type": "string" }, @@ -18957,7 +14624,7 @@ ], "type": "object" }, - "AWS::CloudFormation::ModuleDefaultVersion": { + "AWS::EC2::VPCPeeringConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -18989,86 +14656,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "PeerOwnerId": { "type": "string" }, - "ModuleName": { + "PeerRegion": { "type": "string" }, - "VersionId": { + "PeerRoleArn": { "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFormation::ModuleDefaultVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudFormation::ModuleVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "PeerVpcId": { "type": "string" }, - { + "Tags": { "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModuleName": { - "type": "string" }, - "ModulePackage": { + "VpcId": { "type": "string" } }, "required": [ - "ModuleName", - "ModulePackage" + "PeerVpcId", + "VpcId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ModuleVersion" + "AWS::EC2::VPCPeeringConnection" ], "type": "string" }, @@ -19087,7 +14705,7 @@ ], "type": "object" }, - "AWS::CloudFormation::PublicTypeVersion": { + "AWS::EC2::VPNConnection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19119,27 +14737,67 @@ "Properties": { "additionalProperties": false, "properties": { - "Arn": { + "CustomerGatewayId": { "type": "string" }, - "LogDeliveryBucket": { + "EnableAcceleration": { + "type": "boolean" + }, + "LocalIpv4NetworkCidr": { "type": "string" }, - "PublicVersionNumber": { + "LocalIpv6NetworkCidr": { + "type": "string" + }, + "OutsideIpAddressType": { + "type": "string" + }, + "RemoteIpv4NetworkCidr": { + "type": "string" + }, + "RemoteIpv6NetworkCidr": { + "type": "string" + }, + "StaticRoutesOnly": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TransitGatewayId": { + "type": "string" + }, + "TransportTransitGatewayAttachmentId": { + "type": "string" + }, + "TunnelInsideIpVersion": { "type": "string" }, "Type": { "type": "string" }, - "TypeName": { + "VpnGatewayId": { "type": "string" + }, + "VpnTunnelOptionsSpecifications": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" + }, + "type": "array" } }, + "required": [ + "CustomerGatewayId", + "Type" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::PublicTypeVersion" + "AWS::EC2::VPNConnection" ], "type": "string" }, @@ -19153,76 +14811,186 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::Publisher": { + "AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LogEnabled": { + "type": "boolean" + }, + "LogGroupArn": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "LogOutputFormat": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.IKEVersionsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue": { + "additionalProperties": false, + "properties": { + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification": { + "additionalProperties": false, + "properties": { + "CloudwatchLogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification" + } + }, + "type": "object" + }, + "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { + "additionalProperties": false, + "properties": { + "DPDTimeoutAction": { + "type": "string" }, - "Metadata": { - "type": "object" + "DPDTimeoutSeconds": { + "type": "number" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptTermsAndConditions": { - "type": "boolean" - }, - "ConnectionArn": { - "type": "string" - } + "EnableTunnelLifecycleControl": { + "type": "boolean" + }, + "IKEVersions": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.IKEVersionsRequestListValue" }, - "required": [ - "AcceptTermsAndConditions" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CloudFormation::Publisher" - ], + "LogOptions": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification" + }, + "Phase1DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase1EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase1LifetimeSeconds": { + "type": "number" + }, + "Phase2DHGroupNumbers": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue" + }, + "type": "array" + }, + "Phase2EncryptionAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2IntegrityAlgorithms": { + "items": { + "$ref": "#/definitions/AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue" + }, + "type": "array" + }, + "Phase2LifetimeSeconds": { + "type": "number" + }, + "PreSharedKey": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RekeyFuzzPercentage": { + "type": "number" + }, + "RekeyMarginTimeSeconds": { + "type": "number" + }, + "ReplayWindowSize": { + "type": "number" + }, + "StartupAction": { + "type": "string" + }, + "TunnelInsideCidr": { + "type": "string" + }, + "TunnelInsideIpv6Cidr": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFormation::ResourceDefaultVersion": { + "AWS::EC2::VPNConnectionRoute": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19254,21 +15022,22 @@ "Properties": { "additionalProperties": false, "properties": { - "TypeName": { - "type": "string" - }, - "TypeVersionArn": { + "DestinationCidrBlock": { "type": "string" }, - "VersionId": { + "VpnConnectionId": { "type": "string" } }, + "required": [ + "DestinationCidrBlock", + "VpnConnectionId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceDefaultVersion" + "AWS::EC2::VPNConnectionRoute" ], "type": "string" }, @@ -19282,11 +15051,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion": { + "AWS::EC2::VPNGateway": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19318,28 +15088,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion.LoggingConfig" + "AmazonSideAsn": { + "type": "number" }, - "SchemaHandlerPackage": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TypeName": { + "Type": { "type": "string" } }, "required": [ - "SchemaHandlerPackage", - "TypeName" + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::ResourceVersion" + "AWS::EC2::VPNGateway" ], "type": "string" }, @@ -19358,19 +15127,7 @@ ], "type": "object" }, - "AWS::CloudFormation::ResourceVersion.LoggingConfig": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFormation::Stack": { + "AWS::EC2::VPNGatewayRoutePropagation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19402,42 +15159,25 @@ "Properties": { "additionalProperties": false, "properties": { - "NotificationARNs": { + "RouteTableIds": { "items": { "type": "string" }, "type": "array" }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateURL": { + "VpnGatewayId": { "type": "string" - }, - "TimeoutInMinutes": { - "type": "number" } }, "required": [ - "TemplateURL" + "RouteTableIds", + "VpnGatewayId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::Stack" + "AWS::EC2::VPNGatewayRoutePropagation" ], "type": "string" }, @@ -19456,7 +15196,7 @@ ], "type": "object" }, - "AWS::CloudFormation::StackSet": { + "AWS::EC2::VerifiedAccessEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19488,50 +15228,50 @@ "Properties": { "additionalProperties": false, "properties": { - "AdministrationRoleARN": { + "ApplicationDomain": { "type": "string" }, - "AutoDeployment": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.AutoDeployment" - }, - "CallAs": { + "AttachmentType": { "type": "string" }, - "Capabilities": { - "items": { - "type": "string" - }, - "type": "array" + "CidrOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.CidrOptions" }, "Description": { "type": "string" }, - "ExecutionRoleName": { + "DomainCertificateArn": { "type": "string" }, - "ManagedExecution": { - "type": "object" + "EndpointDomainPrefix": { + "type": "string" }, - "OperationPreferences": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.OperationPreferences" + "EndpointType": { + "type": "string" }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "LoadBalancerOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions" }, - "PermissionModel": { + "NetworkInterfaceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions" + }, + "PolicyDocument": { "type": "string" }, - "StackInstancesGroup": { + "PolicyEnabled": { + "type": "boolean" + }, + "RdsOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.RdsOptions" + }, + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.StackInstances" + "type": "string" }, "type": "array" }, - "StackSetName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.SseSpecification" }, "Tags": { "items": { @@ -19539,22 +15279,20 @@ }, "type": "array" }, - "TemplateBody": { - "type": "string" - }, - "TemplateURL": { + "VerifiedAccessGroupId": { "type": "string" } }, "required": [ - "PermissionModel", - "StackSetName" + "AttachmentType", + "EndpointType", + "VerifiedAccessGroupId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::StackSet" + "AWS::EC2::VerifiedAccessEndpoint" ], "type": "string" }, @@ -19573,28 +15311,22 @@ ], "type": "object" }, - "AWS::CloudFormation::StackSet.AutoDeployment": { + "AWS::EC2::VerifiedAccessEndpoint.CidrOptions": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Cidr": { + "type": "string" }, - "RetainStacksOnAccountRemoval": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CloudFormation::StackSet.DeploymentTargets": { - "additionalProperties": false, - "properties": { - "Accounts": { + "PortRanges": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" }, "type": "array" }, - "OrganizationalUnitIds": { + "Protocol": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, @@ -19603,25 +15335,25 @@ }, "type": "object" }, - "AWS::CloudFormation::StackSet.OperationPreferences": { + "AWS::EC2::VerifiedAccessEndpoint.LoadBalancerOptions": { "additionalProperties": false, "properties": { - "FailureToleranceCount": { - "type": "number" - }, - "FailureTolerancePercentage": { - "type": "number" + "LoadBalancerArn": { + "type": "string" }, - "MaxConcurrentCount": { + "Port": { "type": "number" }, - "MaxConcurrentPercentage": { - "type": "number" + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" }, - "RegionConcurrencyType": { + "Protocol": { "type": "string" }, - "RegionOrder": { + "SubnetIds": { "items": { "type": "string" }, @@ -19630,48 +15362,82 @@ }, "type": "object" }, - "AWS::CloudFormation::StackSet.Parameter": { + "AWS::EC2::VerifiedAccessEndpoint.NetworkInterfaceOptions": { "additionalProperties": false, "properties": { - "ParameterKey": { + "NetworkInterfaceId": { "type": "string" }, - "ParameterValue": { + "Port": { + "type": "number" + }, + "PortRanges": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint.PortRange" + }, + "type": "array" + }, + "Protocol": { "type": "string" } }, - "required": [ - "ParameterKey", - "ParameterValue" - ], "type": "object" }, - "AWS::CloudFormation::StackSet.StackInstances": { + "AWS::EC2::VerifiedAccessEndpoint.PortRange": { "additionalProperties": false, "properties": { - "DeploymentTargets": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.DeploymentTargets" + "FromPort": { + "type": "number" }, - "ParameterOverrides": { - "items": { - "$ref": "#/definitions/AWS::CloudFormation::StackSet.Parameter" - }, - "type": "array" + "ToPort": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessEndpoint.RdsOptions": { + "additionalProperties": false, + "properties": { + "Port": { + "type": "number" }, - "Regions": { + "Protocol": { + "type": "string" + }, + "RdsDbClusterArn": { + "type": "string" + }, + "RdsDbInstanceArn": { + "type": "string" + }, + "RdsDbProxyArn": { + "type": "string" + }, + "RdsEndpoint": { + "type": "string" + }, + "SubnetIds": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "DeploymentTargets", - "Regions" - ], "type": "object" }, - "AWS::CloudFormation::TypeActivation": { + "AWS::EC2::VerifiedAccessEndpoint.SseSpecification": { + "additionalProperties": false, + "properties": { + "CustomerManagedKeyEnabled": { + "type": "boolean" + }, + "KmsKeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19703,42 +15469,36 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoUpdate": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "LoggingConfig": { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation.LoggingConfig" - }, - "MajorVersion": { - "type": "string" - }, - "PublicTypeArn": { + "Description": { "type": "string" }, - "PublisherId": { + "PolicyDocument": { "type": "string" }, - "Type": { - "type": "string" + "PolicyEnabled": { + "type": "boolean" }, - "TypeName": { - "type": "string" + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup.SseSpecification" }, - "TypeNameAlias": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "VersionBump": { + "VerifiedAccessInstanceId": { "type": "string" } }, + "required": [ + "VerifiedAccessInstanceId" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::TypeActivation" + "AWS::EC2::VerifiedAccessGroup" ], "type": "string" }, @@ -19752,28 +15512,26 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFormation::TypeActivation.LoggingConfig": { + "AWS::EC2::VerifiedAccessGroup.SseSpecification": { "additionalProperties": false, "properties": { - "LogGroupName": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "LogRoleArn": { + "KmsKeyArn": { "type": "string" } }, "type": "object" }, - "AWS::CloudFormation::WaitCondition": { + "AWS::EC2::VerifiedAccessInstance": { "additionalProperties": false, "properties": { - "CreationPolicy": { - "type": "object" - }, "DeletionPolicy": { "enum": [ "Delete", @@ -19803,21 +15561,42 @@ "Properties": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Handle": { + "CidrEndpointsCustomSubDomain": { "type": "string" }, - "Timeout": { + "Description": { "type": "string" + }, + "FipsEnabled": { + "type": "boolean" + }, + "LoggingConfigurations": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VerifiedAccessTrustProviderIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "VerifiedAccessTrustProviders": { + "items": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider" + }, + "type": "array" } }, "type": "object" }, "Type": { "enum": [ - "AWS::CloudFormation::WaitCondition" + "AWS::EC2::VerifiedAccessInstance" ], "type": "string" }, @@ -19835,61 +15614,91 @@ ], "type": "object" }, - "AWS::CloudFormation::WaitConditionHandle": { + "AWS::EC2::VerifiedAccessInstance.CloudWatchLogs": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Enabled": { + "type": "boolean" + }, + "LogGroup": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose": { + "additionalProperties": false, + "properties": { + "DeliveryStream": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.S3": { + "additionalProperties": false, + "properties": { + "BucketName": { + "type": "string" }, - "Metadata": { - "type": "object" + "BucketOwner": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": {}, - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::CloudFormation::WaitConditionHandle" - ], + "Prefix": { "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessLogs": { + "additionalProperties": false, + "properties": { + "CloudWatchLogs": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.CloudWatchLogs" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "IncludeTrustContext": { + "type": "boolean" + }, + "KinesisDataFirehose": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.KinesisDataFirehose" + }, + "LogVersion": { "type": "string" + }, + "S3": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance.S3" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy": { + "AWS::EC2::VerifiedAccessInstance.VerifiedAccessTrustProvider": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" + }, + "VerifiedAccessTrustProviderId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EC2::VerifiedAccessTrustProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -19921,18 +15730,49 @@ "Properties": { "additionalProperties": false, "properties": { - "CachePolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CachePolicyConfig" + "Description": { + "type": "string" + }, + "DeviceOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions" + }, + "DeviceTrustProviderType": { + "type": "string" + }, + "NativeApplicationOidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions" + }, + "OidcOptions": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.OidcOptions" + }, + "PolicyReferenceName": { + "type": "string" + }, + "SseSpecification": { + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider.SseSpecification" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TrustProviderType": { + "type": "string" + }, + "UserTrustProviderType": { + "type": "string" } }, "required": [ - "CachePolicyConfig" + "PolicyReferenceName", + "TrustProviderType" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CachePolicy" + "AWS::EC2::VerifiedAccessTrustProvider" ], "type": "string" }, @@ -19951,119 +15791,88 @@ ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CachePolicyConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.DeviceOptions": { "additionalProperties": false, "properties": { - "Comment": { + "PublicSigningKeyUrl": { "type": "string" }, - "DefaultTTL": { - "type": "number" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "Name": { + "TenantId": { "type": "string" - }, - "ParametersInCacheKeyAndForwardedToOrigin": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin" } }, - "required": [ - "DefaultTTL", - "MaxTTL", - "MinTTL", - "Name", - "ParametersInCacheKeyAndForwardedToOrigin" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.CookiesConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.NativeApplicationOidcOptions": { "additionalProperties": false, "properties": { - "CookieBehavior": { + "AuthorizationEndpoint": { "type": "string" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CookieBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::CachePolicy.HeadersConfig": { - "additionalProperties": false, - "properties": { - "HeaderBehavior": { + "ClientId": { "type": "string" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "PublicSigningKeyEndpoint": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "TokenEndpoint": { + "type": "string" + }, + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "HeaderBehavior" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin": { + "AWS::EC2::VerifiedAccessTrustProvider.OidcOptions": { "additionalProperties": false, "properties": { - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.CookiesConfig" + "AuthorizationEndpoint": { + "type": "string" }, - "EnableAcceptEncodingBrotli": { - "type": "boolean" + "ClientId": { + "type": "string" }, - "EnableAcceptEncodingGzip": { - "type": "boolean" + "ClientSecret": { + "type": "string" + }, + "Issuer": { + "type": "string" + }, + "Scope": { + "type": "string" }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.HeadersConfig" + "TokenEndpoint": { + "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy.QueryStringsConfig" + "UserInfoEndpoint": { + "type": "string" } }, - "required": [ - "CookiesConfig", - "EnableAcceptEncodingGzip", - "HeadersConfig", - "QueryStringsConfig" - ], "type": "object" }, - "AWS::CloudFront::CachePolicy.QueryStringsConfig": { + "AWS::EC2::VerifiedAccessTrustProvider.SseSpecification": { "additionalProperties": false, "properties": { - "QueryStringBehavior": { - "type": "string" + "CustomerManagedKeyEnabled": { + "type": "boolean" }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" + "KmsKeyArn": { + "type": "string" } }, - "required": [ - "QueryStringBehavior" - ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity": { + "AWS::EC2::Volume": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20095,18 +15904,54 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudFrontOriginAccessIdentityConfig": { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig" + "AutoEnableIO": { + "type": "boolean" + }, + "AvailabilityZone": { + "type": "string" + }, + "Encrypted": { + "type": "boolean" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "MultiAttachEnabled": { + "type": "boolean" + }, + "OutpostArn": { + "type": "string" + }, + "Size": { + "type": "number" + }, + "SnapshotId": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Throughput": { + "type": "number" + }, + "VolumeType": { + "type": "string" } }, "required": [ - "CloudFrontOriginAccessIdentityConfig" + "AvailabilityZone" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::CloudFrontOriginAccessIdentity" + "AWS::EC2::Volume" ], "type": "string" }, @@ -20125,19 +15970,76 @@ ], "type": "object" }, - "AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig": { + "AWS::EC2::VolumeAttachment": { "additionalProperties": false, "properties": { - "Comment": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Device": { + "type": "string" + }, + "InstanceId": { + "type": "string" + }, + "VolumeId": { + "type": "string" + } + }, + "required": [ + "InstanceId", + "VolumeId" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::EC2::VolumeAttachment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Comment" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution": { + "AWS::ECR::PublicRepository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20169,8 +16071,14 @@ "Properties": { "additionalProperties": false, "properties": { - "DistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DistributionConfig" + "RepositoryCatalogData": { + "$ref": "#/definitions/AWS::ECR::PublicRepository.RepositoryCatalogData" + }, + "RepositoryName": { + "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" }, "Tags": { "items": { @@ -20179,14 +16087,11 @@ "type": "array" } }, - "required": [ - "DistributionConfig" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Distribution" + "AWS::ECR::PublicRepository" ], "type": "string" }, @@ -20200,680 +16105,297 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.CacheBehavior": { + "AWS::ECR::PublicRepository.RepositoryCatalogData": { "additionalProperties": false, "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { + "AboutText": { "type": "string" }, - "CachedMethods": { + "Architectures": { "items": { "type": "string" }, "type": "array" }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" - }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" - }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" - }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "PathPattern": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" - }, - "TargetOriginId": { - "type": "string" - }, - "TrustedKeyGroups": { + "OperatingSystems": { "items": { "type": "string" }, "type": "array" }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" + "RepositoryDescription": { + "type": "string" }, - "ViewerProtocolPolicy": { + "UsageText": { "type": "string" } }, - "required": [ - "PathPattern", - "TargetOriginId", - "ViewerProtocolPolicy" - ], "type": "object" }, - "AWS::CloudFront::Distribution.Cookies": { + "AWS::ECR::PullThroughCacheRule": { "additionalProperties": false, "properties": { - "Forward": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "WhitelistedNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Forward" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomErrorResponse": { - "additionalProperties": false, - "properties": { - "ErrorCachingMinTTL": { - "type": "number" - }, - "ErrorCode": { - "type": "number" - }, - "ResponseCode": { - "type": "number" - }, - "ResponsePagePath": { - "type": "string" - } - }, - "required": [ - "ErrorCode" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.CustomOriginConfig": { - "additionalProperties": false, - "properties": { - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" - }, - "OriginKeepaliveTimeout": { - "type": "number" - }, - "OriginProtocolPolicy": { - "type": "string" - }, - "OriginReadTimeout": { - "type": "number" - }, - "OriginSSLProtocols": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OriginProtocolPolicy" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.DefaultCacheBehavior": { - "additionalProperties": false, - "properties": { - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CachePolicyId": { - "type": "string" - }, - "CachedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Compress": { - "type": "boolean" - }, - "DefaultTTL": { - "type": "number" - }, - "FieldLevelEncryptionId": { - "type": "string" - }, - "ForwardedValues": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ForwardedValues" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "FunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.FunctionAssociation" - }, - "type": "array" + "Metadata": { + "type": "object" }, - "LambdaFunctionAssociations": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LambdaFunctionAssociation" + "Properties": { + "additionalProperties": false, + "properties": { + "CredentialArn": { + "type": "string" + }, + "EcrRepositoryPrefix": { + "type": "string" + }, + "UpstreamRegistry": { + "type": "string" + }, + "UpstreamRegistryUrl": { + "type": "string" + } }, - "type": "array" - }, - "MaxTTL": { - "type": "number" - }, - "MinTTL": { - "type": "number" - }, - "OriginRequestPolicyId": { - "type": "string" - }, - "RealtimeLogConfigArn": { - "type": "string" - }, - "ResponseHeadersPolicyId": { - "type": "string" - }, - "SmoothStreaming": { - "type": "boolean" + "type": "object" }, - "TargetOriginId": { + "Type": { + "enum": [ + "AWS::ECR::PullThroughCacheRule" + ], "type": "string" }, - "TrustedKeyGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TrustedSigners": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ViewerProtocolPolicy": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "TargetOriginId", - "ViewerProtocolPolicy" + "Type" ], "type": "object" }, - "AWS::CloudFront::Distribution.DistributionConfig": { + "AWS::ECR::RegistryPolicy": { "additionalProperties": false, "properties": { - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CNAMEs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheBehaviors": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CacheBehavior" - }, - "type": "array" - }, - "Comment": { - "type": "string" - }, - "CustomErrorResponses": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomErrorResponse" - }, - "type": "array" - }, - "CustomOrigin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyCustomOrigin" - }, - "DefaultCacheBehavior": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.DefaultCacheBehavior" - }, - "DefaultRootObject": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "HttpVersion": { - "type": "string" - }, - "IPV6Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Logging" - }, - "OriginGroups": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroups" - }, - "Origins": { - "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Origin" - }, - "type": "array" - }, - "PriceClass": { - "type": "string" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Restrictions" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.LegacyS3Origin" - }, - "ViewerCertificate": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.ViewerCertificate" - }, - "WebACLId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.ForwardedValues": { - "additionalProperties": false, - "properties": { - "Cookies": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.Cookies" }, - "Headers": { - "items": { - "type": "string" - }, - "type": "array" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "QueryString": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "QueryStringCacheKeys": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "PolicyText": { + "type": "object" + } }, - "type": "array" - } - }, - "required": [ - "QueryString" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.FunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" + "required": [ + "PolicyText" + ], + "type": "object" }, - "FunctionARN": { + "Type": { + "enum": [ + "AWS::ECR::RegistryPolicy" + ], "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.GeoRestriction": { - "additionalProperties": false, - "properties": { - "Locations": { - "items": { - "type": "string" - }, - "type": "array" }, - "RestrictionType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "RestrictionType" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.LambdaFunctionAssociation": { - "additionalProperties": false, - "properties": { - "EventType": { - "type": "string" - }, - "IncludeBody": { - "type": "boolean" - }, - "LambdaFunctionARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyCustomOrigin": { + "AWS::ECR::ReplicationConfiguration": { "additionalProperties": false, "properties": { - "DNSName": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "HTTPPort": { - "type": "number" - }, - "HTTPSPort": { - "type": "number" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OriginProtocolPolicy": { - "type": "string" + "Metadata": { + "type": "object" }, - "OriginSSLProtocols": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" + } }, - "type": "array" - } - }, - "required": [ - "DNSName", - "OriginProtocolPolicy", - "OriginSSLProtocols" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.LegacyS3Origin": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" + "required": [ + "ReplicationConfiguration" + ], + "type": "object" }, - "OriginAccessIdentity": { - "type": "string" - } - }, - "required": [ - "DNSName" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { + "Type": { + "enum": [ + "AWS::ECR::ReplicationConfiguration" + ], "type": "string" }, - "IncludeCookies": { - "type": "boolean" - }, - "Prefix": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Bucket" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudFront::Distribution.Origin": { + "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ConnectionAttempts": { - "type": "number" - }, - "ConnectionTimeout": { - "type": "number" - }, - "CustomOriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.CustomOriginConfig" - }, - "DomainName": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "OriginCustomHeaders": { + "Rules": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginCustomHeader" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" }, "type": "array" - }, - "OriginPath": { - "type": "string" - }, - "OriginShield": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginShield" - }, - "S3OriginConfig": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.S3OriginConfig" - } - }, - "required": [ - "DomainName", - "Id" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginCustomHeader": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" } }, "required": [ - "HeaderName", - "HeaderValue" + "Rules" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroup": { + "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { "additionalProperties": false, "properties": { - "FailoverCriteria": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupFailoverCriteria" - }, - "Id": { + "Region": { "type": "string" }, - "Members": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMembers" - } - }, - "required": [ - "FailoverCriteria", - "Id", - "Members" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupFailoverCriteria": { - "additionalProperties": false, - "properties": { - "StatusCodes": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.StatusCodes" - } - }, - "required": [ - "StatusCodes" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroupMember": { - "additionalProperties": false, - "properties": { - "OriginId": { + "RegistryId": { "type": "string" } }, "required": [ - "OriginId" + "Region", + "RegistryId" ], "type": "object" }, - "AWS::CloudFront::Distribution.OriginGroupMembers": { + "AWS::ECR::ReplicationConfiguration.ReplicationRule": { "additionalProperties": false, "properties": { - "Items": { + "Destinations": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroupMember" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" }, "type": "array" }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Items", - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginGroups": { - "additionalProperties": false, - "properties": { - "Items": { + "RepositoryFilters": { "items": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.OriginGroup" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" }, "type": "array" - }, - "Quantity": { - "type": "number" - } - }, - "required": [ - "Quantity" - ], - "type": "object" - }, - "AWS::CloudFront::Distribution.OriginShield": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "OriginShieldRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.Restrictions": { - "additionalProperties": false, - "properties": { - "GeoRestriction": { - "$ref": "#/definitions/AWS::CloudFront::Distribution.GeoRestriction" } }, "required": [ - "GeoRestriction" + "Destinations" ], "type": "object" }, - "AWS::CloudFront::Distribution.S3OriginConfig": { + "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { "additionalProperties": false, "properties": { - "OriginAccessIdentity": { + "Filter": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Distribution.StatusCodes": { - "additionalProperties": false, - "properties": { - "Items": { - "items": { - "type": "number" - }, - "type": "array" }, - "Quantity": { - "type": "number" + "FilterType": { + "type": "string" } }, "required": [ - "Items", - "Quantity" + "Filter", + "FilterType" ], "type": "object" }, - "AWS::CloudFront::Distribution.ViewerCertificate": { - "additionalProperties": false, - "properties": { - "AcmCertificateArn": { - "type": "string" - }, - "CloudFrontDefaultCertificate": { - "type": "boolean" - }, - "IamCertificateId": { - "type": "string" - }, - "MinimumProtocolVersion": { - "type": "string" - }, - "SslSupportMethod": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudFront::Function": { + "AWS::ECR::Repository": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -20905,27 +16427,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoPublish": { + "EmptyOnDelete": { "type": "boolean" }, - "FunctionCode": { + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" + }, + "ImageScanningConfiguration": { + "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" + }, + "ImageTagMutability": { "type": "string" }, - "FunctionConfig": { - "$ref": "#/definitions/AWS::CloudFront::Function.FunctionConfig" + "LifecyclePolicy": { + "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" }, - "Name": { + "RepositoryName": { "type": "string" + }, + "RepositoryPolicyText": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::Function" + "AWS::ECR::Repository" ], "type": "string" }, @@ -20939,37 +16473,47 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionConfig": { + "AWS::ECR::Repository.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Runtime": { + "KmsKey": { "type": "string" } }, "required": [ - "Comment", - "Runtime" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::Function.FunctionMetadata": { + "AWS::ECR::Repository.ImageScanningConfiguration": { + "additionalProperties": false, + "properties": { + "ScanOnPush": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::ECR::Repository.LifecyclePolicy": { "additionalProperties": false, "properties": { - "FunctionARN": { + "LifecyclePolicyText": { + "type": "string" + }, + "RegistryId": { "type": "string" } }, "type": "object" }, - "AWS::CloudFront::KeyGroup": { + "AWS::ECR::RepositoryCreationTemplate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21001,18 +16545,49 @@ "Properties": { "additionalProperties": false, "properties": { - "KeyGroupConfig": { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup.KeyGroupConfig" - } - }, - "required": [ - "KeyGroupConfig" - ], - "type": "object" - }, + "AppliedFor": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CustomRoleArn": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration" + }, + "ImageTagMutability": { + "type": "string" + }, + "LifecyclePolicy": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "RepositoryPolicy": { + "type": "string" + }, + "ResourceTags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AppliedFor", + "Prefix" + ], + "type": "object" + }, "Type": { "enum": [ - "AWS::CloudFront::KeyGroup" + "AWS::ECR::RepositoryCreationTemplate" ], "type": "string" }, @@ -21031,29 +16606,22 @@ ], "type": "object" }, - "AWS::CloudFront::KeyGroup.KeyGroupConfig": { + "AWS::ECR::RepositoryCreationTemplate.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "Comment": { + "EncryptionType": { "type": "string" }, - "Items": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { + "KmsKey": { "type": "string" } }, "required": [ - "Items", - "Name" + "EncryptionType" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy": { + "AWS::EKS::AccessEntry": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21085,18 +16653,46 @@ "Properties": { "additionalProperties": false, "properties": { - "OriginRequestPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig" + "AccessPolicies": { + "items": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessPolicy" + }, + "type": "array" + }, + "ClusterName": { + "type": "string" + }, + "KubernetesGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "PrincipalArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Type": { + "type": "string" + }, + "Username": { + "type": "string" } }, "required": [ - "OriginRequestPolicyConfig" + "ClusterName", + "PrincipalArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::OriginRequestPolicy" + "AWS::EKS::AccessEntry" ], "type": "string" }, @@ -21115,88 +16711,41 @@ ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.CookiesConfig": { + "AWS::EKS::AccessEntry.AccessPolicy": { "additionalProperties": false, "properties": { - "CookieBehavior": { - "type": "string" + "AccessScope": { + "$ref": "#/definitions/AWS::EKS::AccessEntry.AccessScope" }, - "Cookies": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyArn": { + "type": "string" } }, "required": [ - "CookieBehavior" + "AccessScope", + "PolicyArn" ], "type": "object" }, - "AWS::CloudFront::OriginRequestPolicy.HeadersConfig": { + "AWS::EKS::AccessEntry.AccessScope": { "additionalProperties": false, "properties": { - "HeaderBehavior": { - "type": "string" - }, - "Headers": { + "Namespaces": { "items": { "type": "string" }, "type": "array" - } - }, - "required": [ - "HeaderBehavior" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.OriginRequestPolicyConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "CookiesConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.CookiesConfig" - }, - "HeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.HeadersConfig" - }, - "Name": { - "type": "string" }, - "QueryStringsConfig": { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig" - } - }, - "required": [ - "CookiesConfig", - "HeadersConfig", - "Name", - "QueryStringsConfig" - ], - "type": "object" - }, - "AWS::CloudFront::OriginRequestPolicy.QueryStringsConfig": { - "additionalProperties": false, - "properties": { - "QueryStringBehavior": { + "Type": { "type": "string" - }, - "QueryStrings": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "QueryStringBehavior" + "Type" ], "type": "object" }, - "AWS::CloudFront::PublicKey": { + "AWS::EKS::Addon": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21228,18 +16777,49 @@ "Properties": { "additionalProperties": false, "properties": { - "PublicKeyConfig": { - "$ref": "#/definitions/AWS::CloudFront::PublicKey.PublicKeyConfig" + "AddonName": { + "type": "string" + }, + "AddonVersion": { + "type": "string" + }, + "ClusterName": { + "type": "string" + }, + "ConfigurationValues": { + "type": "string" + }, + "PodIdentityAssociations": { + "items": { + "$ref": "#/definitions/AWS::EKS::Addon.PodIdentityAssociation" + }, + "type": "array" + }, + "PreserveOnDelete": { + "type": "boolean" + }, + "ResolveConflicts": { + "type": "string" + }, + "ServiceAccountRoleArn": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "PublicKeyConfig" + "AddonName", + "ClusterName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::PublicKey" + "AWS::EKS::Addon" ], "type": "string" }, @@ -21258,30 +16838,23 @@ ], "type": "object" }, - "AWS::CloudFront::PublicKey.PublicKeyConfig": { + "AWS::EKS::Addon.PodIdentityAssociation": { "additionalProperties": false, "properties": { - "CallerReference": { - "type": "string" - }, - "Comment": { - "type": "string" - }, - "EncodedKey": { + "RoleArn": { "type": "string" }, - "Name": { + "ServiceAccount": { "type": "string" } }, "required": [ - "CallerReference", - "EncodedKey", - "Name" + "RoleArn", + "ServiceAccount" ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig": { + "AWS::EKS::Cluster": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21313,36 +16886,70 @@ "Properties": { "additionalProperties": false, "properties": { - "EndPoints": { + "AccessConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.AccessConfig" + }, + "BootstrapSelfManagedAddons": { + "type": "boolean" + }, + "ComputeConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ComputeConfig" + }, + "EncryptionConfig": { "items": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.EndPoint" + "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" }, "type": "array" }, - "Fields": { + "KubernetesNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" + }, + "Logging": { + "$ref": "#/definitions/AWS::EKS::Cluster.Logging" + }, + "Name": { + "type": "string" + }, + "OutpostConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.OutpostConfig" + }, + "RemoteNetworkConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNetworkConfig" + }, + "ResourcesVpcConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" + }, + "RoleArn": { + "type": "string" + }, + "StorageConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.StorageConfig" + }, + "Tags": { "items": { - "type": "string" + "$ref": "#/definitions/Tag" }, "type": "array" }, - "Name": { + "UpgradePolicy": { + "$ref": "#/definitions/AWS::EKS::Cluster.UpgradePolicy" + }, + "Version": { "type": "string" }, - "SamplingRate": { - "type": "number" + "ZonalShiftConfig": { + "$ref": "#/definitions/AWS::EKS::Cluster.ZonalShiftConfig" } }, "required": [ - "EndPoints", - "Fields", - "Name", - "SamplingRate" + "ResourcesVpcConfig", + "RoleArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::RealtimeLogConfig" + "AWS::EKS::Cluster" ], "type": "string" }, @@ -21361,382 +16968,269 @@ ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.EndPoint": { + "AWS::EKS::Cluster.AccessConfig": { "additionalProperties": false, "properties": { - "KinesisStreamConfig": { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig" - }, - "StreamType": { + "AuthenticationMode": { "type": "string" + }, + "BootstrapClusterCreatorAdminPermissions": { + "type": "boolean" } }, - "required": [ - "KinesisStreamConfig", - "StreamType" - ], "type": "object" }, - "AWS::CloudFront::RealtimeLogConfig.KinesisStreamConfig": { + "AWS::EKS::Cluster.BlockStorage": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" + "Enabled": { + "type": "boolean" } }, - "required": [ - "RoleArn", - "StreamArn" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy": { + "AWS::EKS::Cluster.ClusterLogging": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResponseHeadersPolicyConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig" - } + "EnabledTypes": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" }, - "required": [ - "ResponseHeadersPolicyConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudFront::ResponseHeadersPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders": { + "AWS::EKS::Cluster.ComputeConfig": { "additionalProperties": false, "properties": { - "Items": { + "Enabled": { + "type": "boolean" + }, + "NodePools": { "items": { "type": "string" }, "type": "array" + }, + "NodeRoleArn": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods": { + "AWS::EKS::Cluster.ControlPlanePlacement": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "GroupName": { + "type": "string" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins": { + "AWS::EKS::Cluster.ElasticLoadBalancing": { "additionalProperties": false, "properties": { - "Items": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders": { + "AWS::EKS::Cluster.EncryptionConfig": { "additionalProperties": false, "properties": { - "Items": { + "Provider": { + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" + }, + "Resources": { "items": { "type": "string" }, "type": "array" } }, - "required": [ - "Items" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy": { + "AWS::EKS::Cluster.KubernetesNetworkConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { + "ElasticLoadBalancing": { + "$ref": "#/definitions/AWS::EKS::Cluster.ElasticLoadBalancing" + }, + "IpFamily": { "type": "string" }, - "Override": { - "type": "boolean" + "ServiceIpv4Cidr": { + "type": "string" + }, + "ServiceIpv6Cidr": { + "type": "string" } }, - "required": [ - "ContentSecurityPolicy", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions": { + "AWS::EKS::Cluster.Logging": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" + "ClusterLogging": { + "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" } }, - "required": [ - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CorsConfig": { + "AWS::EKS::Cluster.LoggingTypeConfig": { "additionalProperties": false, "properties": { - "AccessControlAllowCredentials": { - "type": "boolean" - }, - "AccessControlAllowHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders" - }, - "AccessControlAllowMethods": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods" - }, - "AccessControlAllowOrigins": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins" - }, - "AccessControlExposeHeaders": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders" - }, - "AccessControlMaxAgeSec": { - "type": "number" - }, - "OriginOverride": { - "type": "boolean" + "Type": { + "type": "string" } }, - "required": [ - "AccessControlAllowCredentials", - "AccessControlAllowHeaders", - "AccessControlAllowMethods", - "AccessControlAllowOrigins", - "OriginOverride" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeader": { + "AWS::EKS::Cluster.OutpostConfig": { "additionalProperties": false, "properties": { - "Header": { + "ControlPlaneInstanceType": { "type": "string" }, - "Override": { - "type": "boolean" + "ControlPlanePlacement": { + "$ref": "#/definitions/AWS::EKS::Cluster.ControlPlanePlacement" }, - "Value": { - "type": "string" + "OutpostArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Header", - "Override", - "Value" + "ControlPlaneInstanceType", + "OutpostArns" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig": { + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::EKS::Cluster.RemoteNetworkConfig": { "additionalProperties": false, "properties": { - "Items": { + "RemoteNodeNetworks": { + "items": { + "$ref": "#/definitions/AWS::EKS::Cluster.RemoteNodeNetwork" + }, + "type": "array" + }, + "RemotePodNetworks": { "items": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeader" + "$ref": "#/definitions/AWS::EKS::Cluster.RemotePodNetwork" }, "type": "array" } }, "required": [ - "Items" + "RemoteNodeNetworks" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.FrameOptions": { + "AWS::EKS::Cluster.RemoteNodeNetwork": { "additionalProperties": false, "properties": { - "FrameOption": { - "type": "string" - }, - "Override": { - "type": "boolean" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "FrameOption", - "Override" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy": { + "AWS::EKS::Cluster.RemotePodNetwork": { "additionalProperties": false, "properties": { - "Override": { - "type": "boolean" - }, - "ReferrerPolicy": { - "type": "string" + "Cidrs": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Override", - "ReferrerPolicy" + "Cidrs" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig": { + "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { - "Comment": { - "type": "string" + "EndpointPrivateAccess": { + "type": "boolean" }, - "CorsConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CorsConfig" + "EndpointPublicAccess": { + "type": "boolean" }, - "CustomHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig" + "PublicAccessCidrs": { + "items": { + "type": "string" + }, + "type": "array" }, - "Name": { - "type": "string" + "SecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" }, - "SecurityHeadersConfig": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Name" + "SubnetIds" ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig": { + "AWS::EKS::Cluster.StorageConfig": { "additionalProperties": false, "properties": { - "ContentSecurityPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy" - }, - "ContentTypeOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions" - }, - "FrameOptions": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.FrameOptions" - }, - "ReferrerPolicy": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy" - }, - "StrictTransportSecurity": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity" - }, - "XSSProtection": { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy.XSSProtection" + "BlockStorage": { + "$ref": "#/definitions/AWS::EKS::Cluster.BlockStorage" } }, "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity": { + "AWS::EKS::Cluster.UpgradePolicy": { "additionalProperties": false, "properties": { - "AccessControlMaxAgeSec": { - "type": "number" - }, - "IncludeSubdomains": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Preload": { - "type": "boolean" + "SupportType": { + "type": "string" } }, - "required": [ - "AccessControlMaxAgeSec", - "Override" - ], "type": "object" }, - "AWS::CloudFront::ResponseHeadersPolicy.XSSProtection": { + "AWS::EKS::Cluster.ZonalShiftConfig": { "additionalProperties": false, "properties": { - "ModeBlock": { - "type": "boolean" - }, - "Override": { - "type": "boolean" - }, - "Protection": { + "Enabled": { "type": "boolean" - }, - "ReportUri": { - "type": "string" } }, - "required": [ - "Override", - "Protection" - ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution": { + "AWS::EKS::FargateProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21768,8 +17262,26 @@ "Properties": { "additionalProperties": false, "properties": { - "StreamingDistributionConfig": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig" + "ClusterName": { + "type": "string" + }, + "FargateProfileName": { + "type": "string" + }, + "PodExecutionRoleArn": { + "type": "string" + }, + "Selectors": { + "items": { + "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" + }, + "type": "array" + }, + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" }, "Tags": { "items": { @@ -21779,14 +17291,15 @@ } }, "required": [ - "StreamingDistributionConfig", - "Tags" + "ClusterName", + "PodExecutionRoleArn", + "Selectors" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudFront::StreamingDistribution" + "AWS::EKS::FargateProfile" ], "type": "string" }, @@ -21805,97 +17318,41 @@ ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.Logging": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Enabled", - "Prefix" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.S3Origin": { + "AWS::EKS::FargateProfile.Label": { "additionalProperties": false, "properties": { - "DomainName": { + "Key": { "type": "string" }, - "OriginAccessIdentity": { + "Value": { "type": "string" } }, "required": [ - "DomainName", - "OriginAccessIdentity" + "Key", + "Value" ], "type": "object" }, - "AWS::CloudFront::StreamingDistribution.StreamingDistributionConfig": { + "AWS::EKS::FargateProfile.Selector": { "additionalProperties": false, "properties": { - "Aliases": { + "Labels": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" }, "type": "array" }, - "Comment": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Logging": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.Logging" - }, - "PriceClass": { + "Namespace": { "type": "string" - }, - "S3Origin": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.S3Origin" - }, - "TrustedSigners": { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution.TrustedSigners" - } - }, - "required": [ - "Comment", - "Enabled", - "S3Origin", - "TrustedSigners" - ], - "type": "object" - }, - "AWS::CloudFront::StreamingDistribution.TrustedSigners": { - "additionalProperties": false, - "properties": { - "AwsAccountNumbers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" } }, "required": [ - "Enabled" + "Namespace" ], "type": "object" }, - "AWS::CloudTrail::Trail": { + "AWS::EKS::IdentityProviderConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -21927,50 +17384,14 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "CloudWatchLogsRoleArn": { - "type": "string" - }, - "EnableLogFileValidation": { - "type": "boolean" - }, - "EventSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.EventSelector" - }, - "type": "array" - }, - "IncludeGlobalServiceEvents": { - "type": "boolean" - }, - "InsightSelectors": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.InsightSelector" - }, - "type": "array" - }, - "IsLogging": { - "type": "boolean" - }, - "IsMultiRegionTrail": { - "type": "boolean" - }, - "IsOrganizationTrail": { - "type": "boolean" - }, - "KMSKeyId": { - "type": "string" - }, - "S3BucketName": { + "ClusterName": { "type": "string" }, - "S3KeyPrefix": { + "IdentityProviderConfigName": { "type": "string" }, - "SnsTopicName": { - "type": "string" + "Oidc": { + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig" }, "Tags": { "items": { @@ -21978,19 +17399,19 @@ }, "type": "array" }, - "TrailName": { + "Type": { "type": "string" } }, "required": [ - "IsLogging", - "S3BucketName" + "ClusterName", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudTrail::Trail" + "AWS::EKS::IdentityProviderConfig" ], "type": "string" }, @@ -22009,58 +17430,57 @@ ], "type": "object" }, - "AWS::CloudTrail::Trail.DataResource": { + "AWS::EKS::IdentityProviderConfig.OidcIdentityProviderConfig": { "additionalProperties": false, "properties": { - "Type": { + "ClientId": { "type": "string" }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudTrail::Trail.EventSelector": { - "additionalProperties": false, - "properties": { - "DataResources": { - "items": { - "$ref": "#/definitions/AWS::CloudTrail::Trail.DataResource" - }, - "type": "array" + "GroupsClaim": { + "type": "string" + }, + "GroupsPrefix": { + "type": "string" + }, + "IssuerUrl": { + "type": "string" }, - "ExcludeManagementEventSources": { + "RequiredClaims": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig.RequiredClaim" }, "type": "array" }, - "IncludeManagementEvents": { - "type": "boolean" + "UsernameClaim": { + "type": "string" }, - "ReadWriteType": { + "UsernamePrefix": { "type": "string" } }, + "required": [ + "ClientId", + "IssuerUrl" + ], "type": "object" }, - "AWS::CloudTrail::Trail.InsightSelector": { + "AWS::EKS::IdentityProviderConfig.RequiredClaim": { "additionalProperties": false, "properties": { - "InsightType": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::CloudWatch::Alarm": { + "AWS::EKS::Nodegroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22092,94 +17512,95 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { - "type": "boolean" - }, - "AlarmActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AlarmDescription": { + "AmiType": { "type": "string" }, - "AlarmName": { + "CapacityType": { "type": "string" }, - "ComparisonOperator": { + "ClusterName": { "type": "string" }, - "DatapointsToAlarm": { + "DiskSize": { "type": "number" }, - "Dimensions": { + "ForceUpdateEnabled": { + "type": "boolean" + }, + "InstanceTypes": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" }, - "EvaluateLowSampleCountPercentile": { - "type": "string" + "Labels": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "EvaluationPeriods": { - "type": "number" + "LaunchTemplate": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" }, - "ExtendedStatistic": { + "NodeRepairConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.NodeRepairConfig" + }, + "NodeRole": { "type": "string" }, - "InsufficientDataActions": { - "items": { - "type": "string" - }, - "type": "array" + "NodegroupName": { + "type": "string" }, - "MetricName": { + "ReleaseVersion": { "type": "string" }, - "Metrics": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricDataQuery" - }, - "type": "array" + "RemoteAccess": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" }, - "Namespace": { - "type": "string" + "ScalingConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" + "Tags": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "ThresholdMetricId": { - "type": "string" + "Taints": { + "items": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" + }, + "type": "array" }, - "TreatMissingData": { - "type": "string" + "UpdateConfig": { + "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" }, - "Unit": { + "Version": { "type": "string" } }, "required": [ - "ComparisonOperator", - "EvaluationPeriods" + "ClusterName", + "NodeRole", + "Subnets" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::Alarm" + "AWS::EKS::Nodegroup" ], "type": "string" }, @@ -22198,94 +17619,94 @@ ], "type": "object" }, - "AWS::CloudWatch::Alarm.Dimension": { + "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { "additionalProperties": false, "properties": { + "Id": { + "type": "string" + }, "Name": { "type": "string" }, - "Value": { + "Version": { "type": "string" } }, - "required": [ - "Name", - "Value" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.Metric": { + "AWS::EKS::Nodegroup.NodeRepairConfig": { "additionalProperties": false, "properties": { - "Dimensions": { + "Enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::EKS::Nodegroup.RemoteAccess": { + "additionalProperties": false, + "properties": { + "Ec2SshKey": { + "type": "string" + }, + "SourceSecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Dimension" + "type": "string" }, "type": "array" + } + }, + "required": [ + "Ec2SshKey" + ], + "type": "object" + }, + "AWS::EKS::Nodegroup.ScalingConfig": { + "additionalProperties": false, + "properties": { + "DesiredSize": { + "type": "number" }, - "MetricName": { - "type": "string" + "MaxSize": { + "type": "number" }, - "Namespace": { - "type": "string" + "MinSize": { + "type": "number" } }, "type": "object" }, - "AWS::CloudWatch::Alarm.MetricDataQuery": { + "AWS::EKS::Nodegroup.Taint": { "additionalProperties": false, "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { + "Effect": { "type": "string" }, - "Id": { + "Key": { "type": "string" }, - "Label": { + "Value": { "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" } }, - "required": [ - "Id" - ], "type": "object" }, - "AWS::CloudWatch::Alarm.MetricStat": { + "AWS::EKS::Nodegroup.UpdateConfig": { "additionalProperties": false, "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::Alarm.Metric" - }, - "Period": { + "MaxUnavailable": { "type": "number" }, - "Stat": { - "type": "string" + "MaxUnavailablePercentage": { + "type": "number" }, - "Unit": { + "UpdateStrategy": { "type": "string" } }, - "required": [ - "Metric", - "Period", - "Stat" - ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector": { + "AWS::EKS::PodIdentityAssociation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22317,36 +17738,36 @@ "Properties": { "additionalProperties": false, "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Configuration" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricMathAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" - }, - "MetricName": { + "ClusterName": { "type": "string" }, "Namespace": { "type": "string" }, - "SingleMetricAnomalyDetector": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector" + "RoleArn": { + "type": "string" }, - "Stat": { + "ServiceAccount": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "ClusterName", + "Namespace", + "RoleArn", + "ServiceAccount" + ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::AnomalyDetector" + "AWS::EKS::PodIdentityAssociation" ], "type": "string" }, @@ -22360,171 +17781,12 @@ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Configuration": { - "additionalProperties": false, - "properties": { - "ExcludedTimeRanges": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Range" - }, - "type": "array" - }, - "MetricTimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Dimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "MetricName", - "Namespace" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricDataQuery": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Label": { - "type": "string" - }, - "MetricStat": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricStat" - }, - "Period": { - "type": "number" - }, - "ReturnData": { - "type": "boolean" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector": { - "additionalProperties": false, - "properties": { - "MetricDataQueries": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricDataQuery" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.MetricStat": { - "additionalProperties": false, - "properties": { - "Metric": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Metric" - }, - "Period": { - "type": "number" - }, - "Stat": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "Metric", - "Period", - "Stat" - ], - "type": "object" - }, - "AWS::CloudWatch::AnomalyDetector.Range": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "EndTime", - "StartTime" + "Type", + "Properties" ], "type": "object" }, - "AWS::CloudWatch::AnomalyDetector.SingleMetricAnomalyDetector": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.Dimension" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Stat": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CloudWatch::CompositeAlarm": { + "AWS::ElasticLoadBalancing::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -22556,46 +17818,90 @@ "Properties": { "additionalProperties": false, "properties": { - "ActionsEnabled": { + "AccessLoggingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" + }, + "AppCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" + }, + "type": "array" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ConnectionDrainingPolicy": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" + }, + "ConnectionSettings": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" + }, + "CrossZone": { "type": "boolean" }, - "AlarmActions": { + "HealthCheck": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" + }, + "Instances": { "items": { "type": "string" }, "type": "array" }, - "AlarmDescription": { - "type": "string" + "LBCookieStickinessPolicy": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" + }, + "type": "array" }, - "AlarmName": { + "Listeners": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" + }, + "type": "array" + }, + "LoadBalancerName": { "type": "string" }, - "AlarmRule": { + "Policies": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" + }, + "type": "array" + }, + "Scheme": { "type": "string" }, - "InsufficientDataActions": { + "SecurityGroups": { "items": { "type": "string" }, "type": "array" }, - "OKActions": { + "Subnets": { "items": { "type": "string" }, "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "AlarmName", - "AlarmRule" + "Listeners" ], "type": "object" }, "Type": { "enum": [ - "AWS::CloudWatch::CompositeAlarm" + "AWS::ElasticLoadBalancing::LoadBalancer" ], "type": "string" }, @@ -22614,420 +17920,179 @@ ], "type": "object" }, - "AWS::CloudWatch::Dashboard": { + "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EmitInterval": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "S3BucketName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardBody": { - "type": "string" - }, - "DashboardName": { - "type": "string" - } - }, - "required": [ - "DashboardBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "S3BucketPrefix": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Enabled", + "S3BucketName" ], "type": "object" }, - "AWS::CloudWatch::InsightRule": { + "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "CookieName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleBody": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "RuleState": { - "type": "string" - }, - "Tags": { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule.Tags" - } - }, - "required": [ - "RuleBody", - "RuleName", - "RuleState" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CloudWatch::InsightRule" - ], + "PolicyName": { "type": "string" + } + }, + "required": [ + "CookieName", + "PolicyName" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { + "additionalProperties": false, + "properties": { + "Enabled": { + "type": "boolean" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Timeout": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled" ], "type": "object" }, - "AWS::CloudWatch::InsightRule.Tags": { + "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { "additionalProperties": false, - "properties": {}, + "properties": { + "IdleTimeout": { + "type": "number" + } + }, + "required": [ + "IdleTimeout" + ], "type": "object" }, - "AWS::CloudWatch::MetricStream": { + "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HealthyThreshold": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Interval": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExcludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "FirehoseArn": { - "type": "string" - }, - "IncludeFilters": { - "items": { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream.MetricStreamFilter" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OutputFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirehoseArn", - "OutputFormat", - "RoleArn" - ], - "type": "object" + "Target": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CloudWatch::MetricStream" - ], + "Timeout": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "UnhealthyThreshold": { "type": "string" } }, "required": [ - "Type", - "Properties" + "HealthyThreshold", + "Interval", + "Target", + "Timeout", + "UnhealthyThreshold" ], "type": "object" }, - "AWS::CloudWatch::MetricStream.MetricStreamFilter": { + "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { "additionalProperties": false, "properties": { - "Namespace": { + "CookieExpirationPeriod": { + "type": "string" + }, + "PolicyName": { "type": "string" } }, - "required": [ - "Namespace" - ], "type": "object" }, - "AWS::CodeArtifact::Domain": { + "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "InstancePort": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "InstanceProtocol": { + "type": "string" }, - "Metadata": { - "type": "object" + "LoadBalancerPort": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "PolicyNames": { + "items": { + "type": "string" }, - "required": [ - "DomainName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Domain" - ], + "Protocol": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "SSLCertificateId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "InstancePort", + "LoadBalancerPort", + "Protocol" ], "type": "object" }, - "AWS::CodeArtifact::Repository": { + "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Attributes": { + "items": { + "type": "object" + }, + "type": "array" }, - "Metadata": { - "type": "object" + "InstancePorts": { + "items": { + "type": "string" + }, + "type": "array" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "DomainOwner": { - "type": "string" - }, - "ExternalConnections": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsPolicyDocument": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Upstreams": { - "items": { - "type": "string" - }, - "type": "array" - } + "LoadBalancerPorts": { + "items": { + "type": "string" }, - "required": [ - "DomainName", - "RepositoryName" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::CodeArtifact::Repository" - ], + "PolicyName": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "PolicyType": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Attributes", + "PolicyName", + "PolicyType" ], "type": "object" }, - "AWS::CodeBuild::Project": { + "AWS::ElasticLoadBalancingV2::Listener": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23059,105 +18124,55 @@ "Properties": { "additionalProperties": false, "properties": { - "Artifacts": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" - }, - "BadgeEnabled": { - "type": "boolean" - }, - "BuildBatchConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectBuildBatchConfig" - }, - "Cache": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectCache" - }, - "ConcurrentBuildLimit": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "EncryptionKey": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Environment" - }, - "FileSystemLocations": { + "AlpnPolicy": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectFileSystemLocation" + "type": "string" }, "type": "array" }, - "LogsConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.LogsConfig" - }, - "Name": { - "type": "string" - }, - "QueuedTimeoutInMinutes": { - "type": "number" - }, - "ResourceAccessRole": { - "type": "string" - }, - "SecondaryArtifacts": { + "Certificates": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Artifacts" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" }, "type": "array" }, - "SecondarySourceVersions": { + "DefaultActions": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectSourceVersion" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" }, "type": "array" }, - "SecondarySources": { + "ListenerAttributes": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute" }, "type": "array" }, - "ServiceRole": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::CodeBuild::Project.Source" - }, - "SourceVersion": { + "LoadBalancerArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MutualAuthentication": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication" }, - "TimeoutInMinutes": { + "Port": { "type": "number" }, - "Triggers": { - "$ref": "#/definitions/AWS::CodeBuild::Project.ProjectTriggers" - }, - "Visibility": { + "Protocol": { "type": "string" }, - "VpcConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.VpcConfig" + "SslPolicy": { + "type": "string" } }, "required": [ - "Artifacts", - "Environment", - "ServiceRole", - "Source" + "DefaultActions", + "LoadBalancerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::Project" + "AWS::ElasticLoadBalancingV2::Listener" ], "type": "string" }, @@ -23176,31 +18191,28 @@ ], "type": "object" }, - "AWS::CodeBuild::Project.Artifacts": { + "AWS::ElasticLoadBalancingV2::Listener.Action": { "additionalProperties": false, "properties": { - "ArtifactIdentifier": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" }, - "Location": { - "type": "string" + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" }, - "Name": { - "type": "string" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" }, - "NamespaceType": { - "type": "string" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" }, - "OverrideArtifactName": { - "type": "boolean" + "Order": { + "type": "number" }, - "Packaging": { - "type": "string" + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" }, - "Path": { + "TargetGroupArn": { "type": "string" }, "Type": { @@ -23212,368 +18224,226 @@ ], "type": "object" }, - "AWS::CodeBuild::Project.BatchRestrictions": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "ComputeTypesAllowed": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "MaximumBuildsAllowed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.BuildStatusConfig": { - "additionalProperties": false, - "properties": { - "Context": { + "OnUnauthenticatedRequest": { "type": "string" }, - "TargetUrl": { + "Scope": { "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.CloudWatchLogsConfig": { - "additionalProperties": false, - "properties": { - "GroupName": { + }, + "SessionCookieName": { "type": "string" }, - "Status": { + "SessionTimeout": { "type": "string" }, - "StreamName": { + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { "type": "string" } }, "required": [ - "Status" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeBuild::Project.Environment": { + "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Certificate": { - "type": "string" - }, - "ComputeType": { - "type": "string" - }, - "EnvironmentVariables": { - "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.EnvironmentVariable" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "Image": { + "AuthorizationEndpoint": { "type": "string" }, - "ImagePullCredentialsType": { + "ClientId": { "type": "string" }, - "PrivilegedMode": { - "type": "boolean" - }, - "RegistryCredential": { - "$ref": "#/definitions/AWS::CodeBuild::Project.RegistryCredential" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ComputeType", - "Image", - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Name": { + "ClientSecret": { "type": "string" }, - "Type": { + "Issuer": { "type": "string" }, - "Value": { + "OnUnauthenticatedRequest": { "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.FilterGroup": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::CodeBuild::Project.GitSubmodulesConfig": { - "additionalProperties": false, - "properties": { - "FetchSubmodules": { - "type": "boolean" - } - }, - "required": [ - "FetchSubmodules" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.LogsConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.CloudWatchLogsConfig" }, - "S3Logs": { - "$ref": "#/definitions/AWS::CodeBuild::Project.S3LogsConfig" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectBuildBatchConfig": { - "additionalProperties": false, - "properties": { - "BatchReportMode": { + "Scope": { "type": "string" }, - "CombineArtifacts": { - "type": "boolean" - }, - "Restrictions": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BatchRestrictions" + "SessionCookieName": { + "type": "string" }, - "ServiceRole": { + "SessionTimeout": { "type": "string" }, - "TimeoutInMins": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeBuild::Project.ProjectCache": { - "additionalProperties": false, - "properties": { - "Location": { + "TokenEndpoint": { "type": "string" }, - "Modes": { - "items": { - "type": "string" - }, - "type": "array" + "UseExistingClientSecret": { + "type": "boolean" }, - "Type": { + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "Type" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectFileSystemLocation": { + "AWS::ElasticLoadBalancingV2::Listener.Certificate": { "additionalProperties": false, "properties": { - "Identifier": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "MountOptions": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Type": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Identifier", - "Location", - "MountPoint", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectSourceVersion": { + "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { "additionalProperties": false, "properties": { - "SourceIdentifier": { + "ContentType": { + "type": "string" + }, + "MessageBody": { "type": "string" }, - "SourceVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "SourceIdentifier" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.ProjectTriggers": { + "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { "additionalProperties": false, "properties": { - "BuildType": { - "type": "string" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" }, - "FilterGroups": { + "TargetGroups": { "items": { - "$ref": "#/definitions/AWS::CodeBuild::Project.FilterGroup" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" }, "type": "array" - }, - "Webhook": { - "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.RegistryCredential": { + "AWS::ElasticLoadBalancingV2::Listener.ListenerAttribute": { "additionalProperties": false, "properties": { - "Credential": { + "Key": { "type": "string" }, - "CredentialProvider": { + "Value": { "type": "string" } }, - "required": [ - "Credential", - "CredentialProvider" - ], "type": "object" }, - "AWS::CodeBuild::Project.S3LogsConfig": { + "AWS::ElasticLoadBalancingV2::Listener.MutualAuthentication": { "additionalProperties": false, "properties": { - "EncryptionDisabled": { + "AdvertiseTrustStoreCaNames": { + "type": "string" + }, + "IgnoreClientCertificateExpiry": { "type": "boolean" }, - "Location": { + "Mode": { "type": "string" }, - "Status": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Status" - ], "type": "object" }, - "AWS::CodeBuild::Project.Source": { + "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { "additionalProperties": false, "properties": { - "Auth": { - "$ref": "#/definitions/AWS::CodeBuild::Project.SourceAuth" - }, - "BuildSpec": { + "Host": { "type": "string" }, - "BuildStatusConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.BuildStatusConfig" - }, - "GitCloneDepth": { - "type": "number" - }, - "GitSubmodulesConfig": { - "$ref": "#/definitions/AWS::CodeBuild::Project.GitSubmodulesConfig" - }, - "InsecureSsl": { - "type": "boolean" - }, - "Location": { + "Path": { "type": "string" }, - "ReportBuildStatus": { - "type": "boolean" - }, - "SourceIdentifier": { + "Port": { "type": "string" }, - "Type": { + "Protocol": { "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::CodeBuild::Project.SourceAuth": { - "additionalProperties": false, - "properties": { - "Resource": { + }, + "Query": { "type": "string" }, - "Type": { + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeBuild::Project.VpcConfig": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" + "DurationSeconds": { + "type": "number" }, - "VpcId": { - "type": "string" + "Enabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::CodeBuild::Project.WebhookFilter": { + "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { "additionalProperties": false, "properties": { - "ExcludeMatchedPattern": { - "type": "boolean" - }, - "Pattern": { + "TargetGroupArn": { "type": "string" }, - "Type": { - "type": "string" + "Weight": { + "type": "number" } }, - "required": [ - "Pattern", - "Type" - ], "type": "object" }, - "AWS::CodeBuild::ReportGroup": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23605,34 +18475,25 @@ "Properties": { "additionalProperties": false, "properties": { - "DeleteReports": { - "type": "boolean" - }, - "ExportConfig": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.ReportExportConfig" - }, - "Name": { - "type": "string" - }, - "Tags": { + "Certificates": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" }, "type": "array" }, - "Type": { + "ListenerArn": { "type": "string" } }, "required": [ - "ExportConfig", - "Type" + "Certificates", + "ListenerArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::ReportGroup" + "AWS::ElasticLoadBalancingV2::ListenerCertificate" ], "type": "string" }, @@ -23651,49 +18512,16 @@ ], "type": "object" }, - "AWS::CodeBuild::ReportGroup.ReportExportConfig": { - "additionalProperties": false, - "properties": { - "ExportConfigType": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup.S3ReportExportConfig" - } - }, - "required": [ - "ExportConfigType" - ], - "type": "object" - }, - "AWS::CodeBuild::ReportGroup.S3ReportExportConfig": { + "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "BucketOwner": { - "type": "string" - }, - "EncryptionDisabled": { - "type": "boolean" - }, - "EncryptionKey": { - "type": "string" - }, - "Packaging": { - "type": "string" - }, - "Path": { + "CertificateArn": { "type": "string" } }, - "required": [ - "Bucket" - ], "type": "object" }, - "AWS::CodeBuild::SourceCredential": { + "AWS::ElasticLoadBalancingV2::ListenerRule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -23725,29 +18553,35 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthType": { - "type": "string" + "Actions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" + }, + "type": "array" }, - "ServerType": { - "type": "string" + "Conditions": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" + }, + "type": "array" }, - "Token": { + "ListenerArn": { "type": "string" }, - "Username": { - "type": "string" + "Priority": { + "type": "number" } }, "required": [ - "AuthType", - "ServerType", - "Token" + "Actions", + "Conditions", + "Priority" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeBuild::SourceCredential" + "AWS::ElasticLoadBalancingV2::ListenerRule" ], "type": "string" }, @@ -23766,353 +18600,340 @@ ], "type": "object" }, - "AWS::CodeCommit::Repository": { + "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "AuthenticateCognitoConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AuthenticateOidcConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" }, - "Metadata": { - "type": "object" + "FixedResponseConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.Code" - }, - "RepositoryDescription": { - "type": "string" - }, - "RepositoryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.RepositoryTrigger" - }, - "type": "array" - } - }, - "required": [ - "RepositoryName" - ], - "type": "object" + "ForwardConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" }, - "Type": { - "enum": [ - "AWS::CodeCommit::Repository" - ], + "Order": { + "type": "number" + }, + "RedirectConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" + }, + "TargetGroupArn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeCommit::Repository.Code": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { "additionalProperties": false, "properties": { - "BranchName": { + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "OnUnauthenticatedRequest": { "type": "string" }, - "S3": { - "$ref": "#/definitions/AWS::CodeCommit::Repository.S3" + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "UserPoolArn": { + "type": "string" + }, + "UserPoolClientId": { + "type": "string" + }, + "UserPoolDomain": { + "type": "string" } }, "required": [ - "S3" + "UserPoolArn", + "UserPoolClientId", + "UserPoolDomain" ], "type": "object" }, - "AWS::CodeCommit::Repository.RepositoryTrigger": { + "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { "additionalProperties": false, "properties": { - "Branches": { - "items": { - "type": "string" + "AuthenticationRequestExtraParams": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "CustomData": { + "AuthorizationEndpoint": { "type": "string" }, - "DestinationArn": { + "ClientId": { "type": "string" }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" + "ClientSecret": { + "type": "string" }, - "Name": { + "Issuer": { + "type": "string" + }, + "OnUnauthenticatedRequest": { + "type": "string" + }, + "Scope": { + "type": "string" + }, + "SessionCookieName": { + "type": "string" + }, + "SessionTimeout": { + "type": "number" + }, + "TokenEndpoint": { + "type": "string" + }, + "UseExistingClientSecret": { + "type": "boolean" + }, + "UserInfoEndpoint": { "type": "string" } }, "required": [ - "DestinationArn", - "Events", - "Name" + "AuthorizationEndpoint", + "ClientId", + "Issuer", + "TokenEndpoint", + "UserInfoEndpoint" ], "type": "object" }, - "AWS::CodeCommit::Repository.S3": { + "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { "additionalProperties": false, "properties": { - "Bucket": { + "ContentType": { "type": "string" }, - "Key": { + "MessageBody": { "type": "string" }, - "ObjectVersion": { + "StatusCode": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::Application": { + "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "TargetGroupStickinessConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ComputePlatform": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } + "TargetGroups": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CodeDeploy::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "type": "array" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { + "additionalProperties": false, + "properties": { + "HttpHeaderName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { + "additionalProperties": false, + "properties": { + "Values": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" }, - "Metadata": { - "type": "object" + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { + "additionalProperties": false, + "properties": { + "Host": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "ComputePlatform": { - "type": "string" - }, - "DeploymentConfigName": { - "type": "string" - }, - "MinimumHealthyHosts": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts" - }, - "TrafficRoutingConfig": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig" - } - }, - "type": "object" + "Path": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::CodeDeploy::DeploymentConfig" - ], + "Port": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Protocol": { + "type": "string" + }, + "Query": { + "type": "string" + }, + "StatusCode": { "type": "string" } }, "required": [ - "Type" + "StatusCode" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts": { + "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { "additionalProperties": false, "properties": { - "Type": { + "Field": { "type": "string" }, - "Value": { - "type": "number" + "HostHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" + }, + "HttpHeaderConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" + }, + "HttpRequestMethodConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" + }, + "PathPatternConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" + }, + "QueryStringConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" + }, + "SourceIpConfig": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" + }, + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Type", - "Value" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary": { + "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { "additionalProperties": false, "properties": { - "CanaryInterval": { - "type": "number" - }, - "CanaryPercentage": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "CanaryInterval", - "CanaryPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { "additionalProperties": false, "properties": { - "LinearInterval": { + "DurationSeconds": { "type": "number" }, - "LinearPercentage": { - "type": "number" + "Enabled": { + "type": "boolean" } }, - "required": [ - "LinearInterval", - "LinearPercentage" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentConfig.TrafficRoutingConfig": { + "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { "additionalProperties": false, "properties": { - "TimeBasedCanary": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedCanary" - }, - "TimeBasedLinear": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig.TimeBasedLinear" - }, - "Type": { + "TargetGroupArn": { "type": "string" + }, + "Weight": { + "type": "number" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24144,82 +18965,63 @@ "Properties": { "additionalProperties": false, "properties": { - "AlarmConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration" + "EnablePrefixForIpv6SourceNat": { + "type": "string" }, - "ApplicationName": { + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic": { "type": "string" }, - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration" + "IpAddressType": { + "type": "string" }, - "AutoScalingGroups": { + "LoadBalancerAttributes": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" }, "type": "array" }, - "BlueGreenDeploymentConfiguration": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration" + "MinimumLoadBalancerCapacity": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity" }, - "Deployment": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Deployment" - }, - "DeploymentConfigName": { + "Name": { "type": "string" }, - "DeploymentGroupName": { + "Scheme": { "type": "string" }, - "DeploymentStyle": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentStyle" - }, - "ECSServices": { + "SecurityGroups": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ECSService" + "type": "string" }, "type": "array" }, - "Ec2TagFilters": { + "SubnetMappings": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" }, "type": "array" }, - "Ec2TagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSet" - }, - "LoadBalancerInfo": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo" - }, - "OnPremisesInstanceTagFilters": { + "Subnets": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" + "type": "string" }, "type": "array" }, - "OnPremisesTagSet": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TriggerConfigurations": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TriggerConfig" + "$ref": "#/definitions/Tag" }, "type": "array" + }, + "Type": { + "type": "string" } }, - "required": [ - "ApplicationName", - "ServiceRoleArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeDeploy::DeploymentGroup" + "AWS::ElasticLoadBalancingV2::LoadBalancer" ], "type": "string" }, @@ -24233,336 +19035,59 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.Alarm": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AlarmConfiguration": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.Alarm" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "IgnorePollAlarmFailure": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.AutoRollbackConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueGreenDeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentReadyOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption" - }, - "GreenFleetProvisioningOption": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption" - }, - "TerminateBlueInstancesOnDeploymentSuccess": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.BlueInstanceTerminationOption": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "TerminationWaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.Deployment": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreApplicationStopFailures": { - "type": "boolean" - }, - "Revision": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.RevisionLocation" - } - }, - "required": [ - "Revision" + "Type" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentReadyOption": { - "additionalProperties": false, - "properties": { - "ActionOnTimeout": { - "type": "string" - }, - "WaitTimeInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.DeploymentStyle": { - "additionalProperties": false, - "properties": { - "DeploymentOption": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagFilter": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { "additionalProperties": false, "properties": { "Key": { "type": "string" }, - "Type": { - "type": "string" - }, "Value": { "type": "string" } }, "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSet": { - "additionalProperties": false, - "properties": { - "Ec2TagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.EC2TagSetListObject": { - "additionalProperties": false, - "properties": { - "Ec2TagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.EC2TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ECSService": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "ServiceName" - ], - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.ELBInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.GitHubLocation": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity": { "additionalProperties": false, "properties": { - "CommitId": { - "type": "string" - }, - "Repository": { - "type": "string" + "CapacityUnits": { + "type": "number" } }, "required": [ - "CommitId", - "Repository" + "CapacityUnits" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.GreenFleetProvisioningOption": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.LoadBalancerInfo": { - "additionalProperties": false, - "properties": { - "ElbInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.ELBInfo" - }, - "type": "array" - }, - "TargetGroupInfoList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSet": { - "additionalProperties": false, - "properties": { - "OnPremisesTagSetList": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.OnPremisesTagSetListObject": { - "additionalProperties": false, - "properties": { - "OnPremisesTagGroup": { - "items": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.RevisionLocation": { - "additionalProperties": false, - "properties": { - "GitHubLocation": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.GitHubLocation" - }, - "RevisionType": { - "type": "string" - }, - "S3Location": { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup.S3Location" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.S3Location": { + "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { "additionalProperties": false, "properties": { - "Bucket": { + "AllocationId": { "type": "string" }, - "BundleType": { + "IPv6Address": { "type": "string" }, - "ETag": { + "PrivateIPv4Address": { "type": "string" }, - "Key": { + "SourceNatIpv6Prefix": { "type": "string" }, - "Version": { + "SubnetId": { "type": "string" } }, "required": [ - "Bucket", - "Key" + "SubnetId" ], "type": "object" }, - "AWS::CodeDeploy::DeploymentGroup.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TargetGroupInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeDeploy::DeploymentGroup.TriggerConfig": { - "additionalProperties": false, - "properties": { - "TriggerEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TriggerName": { - "type": "string" - }, - "TriggerTargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CodeGuruProfiler::ProfilingGroup": { + "AWS::ElasticLoadBalancingV2::TargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24594,19 +19119,43 @@ "Properties": { "additionalProperties": false, "properties": { - "AgentPermissions": { - "type": "object" + "HealthCheckEnabled": { + "type": "boolean" }, - "AnomalyDetectionNotificationConfiguration": { - "items": { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup.Channel" - }, - "type": "array" + "HealthCheckIntervalSeconds": { + "type": "number" + }, + "HealthCheckPath": { + "type": "string" + }, + "HealthCheckPort": { + "type": "string" + }, + "HealthCheckProtocol": { + "type": "string" + }, + "HealthCheckTimeoutSeconds": { + "type": "number" + }, + "HealthyThresholdCount": { + "type": "number" + }, + "IpAddressType": { + "type": "string" + }, + "Matcher": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" + }, + "Name": { + "type": "string" + }, + "Port": { + "type": "number" }, - "ComputePlatform": { + "Protocol": { "type": "string" }, - "ProfilingGroupName": { + "ProtocolVersion": { "type": "string" }, "Tags": { @@ -24614,16 +19163,34 @@ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetGroupAttributes": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" + }, + "type": "array" + }, + "TargetType": { + "type": "string" + }, + "Targets": { + "items": { + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" + }, + "type": "array" + }, + "UnhealthyThresholdCount": { + "type": "number" + }, + "VpcId": { + "type": "string" } }, - "required": [ - "ProfilingGroupName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruProfiler::ProfilingGroup" + "AWS::ElasticLoadBalancingV2::TargetGroup" ], "type": "string" }, @@ -24637,42 +19204,68 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeGuruProfiler::ProfilingGroup.Channel": { + "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { "additionalProperties": false, "properties": { - "channelId": { + "GrpcCode": { "type": "string" }, - "channelUri": { + "HttpCode": { "type": "string" } }, - "required": [ - "channelUri" - ], "type": "object" }, - "AWS::CodeGuruReviewer::RepositoryAssociation": { + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AvailabilityZone": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "Id": { + "type": "string" + }, + "Port": { + "type": "number" + } + }, + "required": [ + "Id" + ], + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::ElasticLoadBalancingV2::TrustStore": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" }, { "items": { @@ -24689,16 +19282,16 @@ "Properties": { "additionalProperties": false, "properties": { - "BucketName": { + "CaCertificatesBundleS3Bucket": { "type": "string" }, - "ConnectionArn": { + "CaCertificatesBundleS3Key": { "type": "string" }, - "Name": { + "CaCertificatesBundleS3ObjectVersion": { "type": "string" }, - "Owner": { + "Name": { "type": "string" }, "Tags": { @@ -24706,20 +19299,13 @@ "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Name", - "Type" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeGuruReviewer::RepositoryAssociation" + "AWS::ElasticLoadBalancingV2::TrustStore" ], "type": "string" }, @@ -24733,12 +19319,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodePipeline::CustomActionType": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24770,49 +19355,21 @@ "Properties": { "additionalProperties": false, "properties": { - "Category": { - "type": "string" - }, - "ConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ConfigurationProperties" - }, - "type": "array" - }, - "InputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "OutputArtifactDetails": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.ArtifactDetails" - }, - "Provider": { - "type": "string" - }, - "Settings": { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType.Settings" - }, - "Tags": { + "RevocationContents": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent" }, "type": "array" }, - "Version": { + "TrustStoreArn": { "type": "string" } }, - "required": [ - "Category", - "InputArtifactDetails", - "OutputArtifactDetails", - "Provider", - "Version" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::CustomActionType" + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation" ], "type": "string" }, @@ -24826,79 +19383,47 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CodePipeline::CustomActionType.ArtifactDetails": { - "additionalProperties": false, - "properties": { - "MaximumCount": { - "type": "number" - }, - "MinimumCount": { - "type": "number" - } - }, - "required": [ - "MaximumCount", - "MinimumCount" + "Type" ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.ConfigurationProperties": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.RevocationContent": { "additionalProperties": false, "properties": { - "Description": { + "RevocationType": { "type": "string" }, - "Key": { - "type": "boolean" - }, - "Name": { + "S3Bucket": { "type": "string" }, - "Queryable": { - "type": "boolean" - }, - "Required": { - "type": "boolean" - }, - "Secret": { - "type": "boolean" + "S3Key": { + "type": "string" }, - "Type": { + "S3ObjectVersion": { "type": "string" } }, - "required": [ - "Key", - "Name", - "Required", - "Secret" - ], "type": "object" }, - "AWS::CodePipeline::CustomActionType.Settings": { + "AWS::ElasticLoadBalancingV2::TrustStoreRevocation.TrustStoreRevocation": { "additionalProperties": false, "properties": { - "EntityUrlTemplate": { - "type": "string" + "NumberOfRevokedEntries": { + "type": "number" }, - "ExecutionUrlTemplate": { + "RevocationId": { "type": "string" }, - "RevisionUrlTemplate": { + "RevocationType": { "type": "string" }, - "ThirdPartyConfigurationUrl": { + "TrustStoreArn": { "type": "string" } }, "type": "object" }, - "AWS::CodePipeline::Pipeline": { + "AWS::Events::ApiDestination": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -24930,52 +19455,35 @@ "Properties": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" - }, - "ArtifactStores": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStoreMap" - }, - "type": "array" - }, - "DisableInboundStageTransitions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageTransition" - }, - "type": "array" + "ConnectionArn": { + "type": "string" }, - "Name": { + "Description": { "type": "string" }, - "RestartExecutionOnUpdate": { - "type": "boolean" + "HttpMethod": { + "type": "string" }, - "RoleArn": { + "InvocationEndpoint": { "type": "string" }, - "Stages": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.StageDeclaration" - }, - "type": "array" + "InvocationRateLimitPerSecond": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Name": { + "type": "string" } }, "required": [ - "RoleArn", - "Stages" + "ConnectionArn", + "HttpMethod", + "InvocationEndpoint" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Pipeline" + "AWS::Events::ApiDestination" ], "type": "string" }, @@ -24994,206 +19502,325 @@ ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionDeclaration": { + "AWS::Events::Archive": { "additionalProperties": false, "properties": { - "ActionTypeId": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionTypeId" - }, - "Configuration": { - "type": "object" - }, - "InputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.InputArtifact" - }, - "type": "array" - }, - "Name": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Namespace": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "OutputArtifacts": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.OutputArtifact" + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "ArchiveName": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EventPattern": { + "type": "object" + }, + "RetentionDays": { + "type": "number" + }, + "SourceArn": { + "type": "string" + } }, - "type": "array" + "required": [ + "SourceArn" + ], + "type": "object" }, - "Region": { + "Type": { + "enum": [ + "AWS::Events::Archive" + ], "type": "string" }, - "RoleArn": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" - }, - "RunOrder": { - "type": "number" } }, "required": [ - "ActionTypeId", - "Name" + "Type", + "Properties" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ActionTypeId": { + "AWS::Events::Connection": { "additionalProperties": false, "properties": { - "Category": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Owner": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Provider": { + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.AuthParameters" + }, + "AuthorizationType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "InvocationConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.InvocationConnectivityParameters" + }, + "Name": { + "type": "string" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Connection" + ], "type": "string" }, - "Version": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Category", - "Owner", - "Provider", - "Version" + "Type" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStore": { + "AWS::Events::Connection.ApiKeyAuthParameters": { "additionalProperties": false, "properties": { - "EncryptionKey": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.EncryptionKey" - }, - "Location": { + "ApiKeyName": { "type": "string" }, - "Type": { + "ApiKeyValue": { "type": "string" } }, "required": [ - "Location", - "Type" + "ApiKeyName", + "ApiKeyValue" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.ArtifactStoreMap": { + "AWS::Events::Connection.AuthParameters": { "additionalProperties": false, "properties": { - "ArtifactStore": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ArtifactStore" + "ApiKeyAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ApiKeyAuthParameters" }, - "Region": { + "BasicAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.BasicAuthParameters" + }, + "ConnectivityParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectivityParameters" + }, + "InvocationHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" + }, + "OAuthParameters": { + "$ref": "#/definitions/AWS::Events::Connection.OAuthParameters" + } + }, + "type": "object" + }, + "AWS::Events::Connection.BasicAuthParameters": { + "additionalProperties": false, + "properties": { + "Password": { + "type": "string" + }, + "Username": { "type": "string" } }, "required": [ - "ArtifactStore", - "Region" + "Password", + "Username" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.BlockerDeclaration": { + "AWS::Events::Connection.ClientParameters": { "additionalProperties": false, "properties": { - "Name": { + "ClientID": { "type": "string" }, - "Type": { + "ClientSecret": { "type": "string" } }, "required": [ - "Name", - "Type" + "ClientID", + "ClientSecret" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.EncryptionKey": { + "AWS::Events::Connection.ConnectionHttpParameters": { "additionalProperties": false, "properties": { - "Id": { - "type": "string" + "BodyParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" }, - "Type": { - "type": "string" + "HeaderParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + }, + "QueryStringParameters": { + "items": { + "$ref": "#/definitions/AWS::Events::Connection.Parameter" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Events::Connection.ConnectivityParameters": { + "additionalProperties": false, + "properties": { + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Id", - "Type" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.InputArtifact": { + "AWS::Events::Connection.InvocationConnectivityParameters": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "ResourceParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ResourceParameters" } }, "required": [ - "Name" + "ResourceParameters" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.OutputArtifact": { + "AWS::Events::Connection.OAuthParameters": { "additionalProperties": false, "properties": { - "Name": { + "AuthorizationEndpoint": { + "type": "string" + }, + "ClientParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ClientParameters" + }, + "HttpMethod": { "type": "string" + }, + "OAuthHttpParameters": { + "$ref": "#/definitions/AWS::Events::Connection.ConnectionHttpParameters" } }, "required": [ - "Name" + "AuthorizationEndpoint", + "ClientParameters", + "HttpMethod" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageDeclaration": { + "AWS::Events::Connection.Parameter": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.ActionDeclaration" - }, - "type": "array" + "IsValueSecret": { + "type": "boolean" }, - "Blockers": { - "items": { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline.BlockerDeclaration" - }, - "type": "array" + "Key": { + "type": "string" }, - "Name": { + "Value": { "type": "string" } }, "required": [ - "Actions", - "Name" + "Key", + "Value" ], "type": "object" }, - "AWS::CodePipeline::Pipeline.StageTransition": { + "AWS::Events::Connection.ResourceParameters": { "additionalProperties": false, "properties": { - "Reason": { + "ResourceAssociationArn": { "type": "string" }, - "StageName": { + "ResourceConfigurationArn": { "type": "string" } }, "required": [ - "Reason", - "StageName" + "ResourceConfigurationArn" ], "type": "object" }, - "AWS::CodePipeline::Webhook": { + "AWS::Events::Endpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25225,47 +19852,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Authentication": { + "Description": { "type": "string" }, - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookAuthConfiguration" - }, - "Filters": { + "EventBuses": { "items": { - "$ref": "#/definitions/AWS::CodePipeline::Webhook.WebhookFilterRule" + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" }, "type": "array" }, "Name": { "type": "string" }, - "RegisterWithThirdParty": { - "type": "boolean" - }, - "TargetAction": { - "type": "string" + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" }, - "TargetPipeline": { + "RoleArn": { "type": "string" }, - "TargetPipelineVersion": { - "type": "number" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" } }, "required": [ - "Authentication", - "AuthenticationConfiguration", - "Filters", - "TargetAction", - "TargetPipeline", - "TargetPipelineVersion" + "EventBuses", + "RoutingConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodePipeline::Webhook" + "AWS::Events::Endpoint" ], "type": "string" }, @@ -25284,34 +19901,83 @@ ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookAuthConfiguration": { + "AWS::Events::Endpoint.EndpointEventBus": { "additionalProperties": false, "properties": { - "AllowedIPRange": { + "EventBusArn": { "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" }, - "SecretToken": { + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { "type": "string" } }, + "required": [ + "HealthCheck" + ], "type": "object" }, - "AWS::CodePipeline::Webhook.WebhookFilterRule": { + "AWS::Events::Endpoint.ReplicationConfig": { "additionalProperties": false, "properties": { - "JsonPath": { + "State": { "type": "string" - }, - "MatchEquals": { + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { "type": "string" } }, "required": [ - "JsonPath" + "Route" ], "type": "object" }, - "AWS::CodeStar::GitHubRepository": { + "AWS::Events::EventBus": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25343,40 +20009,39 @@ "Properties": { "additionalProperties": false, "properties": { - "Code": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.Code" + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::EventBus.DeadLetterConfig" }, - "ConnectionArn": { + "Description": { "type": "string" }, - "EnableIssues": { - "type": "boolean" - }, - "IsPrivate": { - "type": "boolean" - }, - "RepositoryAccessToken": { + "EventSourceName": { "type": "string" }, - "RepositoryDescription": { + "KmsKeyIdentifier": { "type": "string" }, - "RepositoryName": { + "Name": { "type": "string" }, - "RepositoryOwner": { - "type": "string" + "Policy": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "RepositoryName", - "RepositoryOwner" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStar::GitHubRepository" + "AWS::Events::EventBus" ], "type": "string" }, @@ -25395,38 +20060,16 @@ ], "type": "object" }, - "AWS::CodeStar::GitHubRepository.Code": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository.S3" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::CodeStar::GitHubRepository.S3": { + "AWS::Events::EventBus.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { + "Arn": { "type": "string" } }, - "required": [ - "Bucket", - "Key" - ], "type": "object" }, - "AWS::CodeStarConnections::Connection": { + "AWS::Events::EventBusPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25458,30 +20101,33 @@ "Properties": { "additionalProperties": false, "properties": { - "ConnectionName": { + "Action": { "type": "string" }, - "HostArn": { + "Condition": { + "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" + }, + "EventBusName": { "type": "string" }, - "ProviderType": { + "Principal": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Statement": { + "type": "object" + }, + "StatementId": { + "type": "string" } }, "required": [ - "ConnectionName" + "StatementId" ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarConnections::Connection" + "AWS::Events::EventBusPolicy" ], "type": "string" }, @@ -25500,7 +20146,22 @@ ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule": { + "AWS::Events::EventBusPolicy.Condition": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Type": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Events::Rule": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -25532,55 +20193,39 @@ "Properties": { "additionalProperties": false, "properties": { - "CreatedBy": { - "type": "string" - }, - "DetailType": { + "Description": { "type": "string" }, - "EventTypeId": { + "EventBusName": { "type": "string" }, - "EventTypeIds": { - "items": { - "type": "string" - }, - "type": "array" + "EventPattern": { + "type": "object" }, "Name": { "type": "string" }, - "Resource": { + "RoleArn": { "type": "string" }, - "Status": { + "ScheduleExpression": { "type": "string" }, - "Tags": { - "type": "object" - }, - "TargetAddress": { + "State": { "type": "string" }, "Targets": { "items": { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule.Target" + "$ref": "#/definitions/AWS::Events::Rule.Target" }, "type": "array" } }, - "required": [ - "DetailType", - "EventTypeIds", - "Name", - "Resource", - "Targets" - ], "type": "object" }, "Type": { "enum": [ - "AWS::CodeStarNotifications::NotificationRule" + "AWS::Events::Rule" ], "type": "string" }, @@ -25594,732 +20239,453 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::CodeStarNotifications::NotificationRule.Target": { + "AWS::Events::Rule.AppSyncParameters": { "additionalProperties": false, "properties": { - "TargetAddress": { - "type": "string" - }, - "TargetType": { + "GraphQLOperation": { "type": "string" } }, "required": [ - "TargetAddress", - "TargetType" + "GraphQLOperation" ], "type": "object" }, - "AWS::Cognito::IdentityPool": { + "AWS::Events::Rule.AwsVpcConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AssignPublicIp": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowClassicFlow": { - "type": "boolean" - }, - "AllowUnauthenticatedIdentities": { - "type": "boolean" - }, - "CognitoEvents": { - "type": "object" - }, - "CognitoIdentityProviders": { - "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoIdentityProvider" - }, - "type": "array" - }, - "CognitoStreams": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.CognitoStreams" - }, - "DeveloperProviderName": { - "type": "string" - }, - "IdentityPoolName": { - "type": "string" - }, - "OpenIdConnectProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PushSync": { - "$ref": "#/definitions/AWS::Cognito::IdentityPool.PushSync" - }, - "SamlProviderARNs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SupportedLoginProviders": { - "type": "object" - } + "SecurityGroups": { + "items": { + "type": "string" }, - "required": [ - "AllowUnauthenticatedIdentities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPool" - ], - "type": "string" + "type": "array" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Subnets": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Subnets" ], "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoIdentityProvider": { + "AWS::Events::Rule.BatchArrayProperties": { "additionalProperties": false, "properties": { - "ClientId": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "ServerSideTokenCheck": { - "type": "boolean" + "Size": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPool.CognitoStreams": { + "AWS::Events::Rule.BatchParameters": { "additionalProperties": false, "properties": { - "RoleArn": { - "type": "string" + "ArrayProperties": { + "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" }, - "StreamName": { + "JobDefinition": { "type": "string" }, - "StreamingStatus": { + "JobName": { "type": "string" + }, + "RetryStrategy": { + "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" } }, + "required": [ + "JobDefinition", + "JobName" + ], "type": "object" }, - "AWS::Cognito::IdentityPool.PushSync": { + "AWS::Events::Rule.BatchRetryStrategy": { "additionalProperties": false, "properties": { - "ApplicationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" + "Attempts": { + "type": "number" } }, "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment": { + "AWS::Events::Rule.CapacityProviderStrategyItem": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityPoolId": { - "type": "string" - }, - "RoleMappings": { - "type": "object" - }, - "Roles": { - "type": "object" - } - }, - "required": [ - "IdentityPoolId" - ], - "type": "object" + "Base": { + "type": "number" }, - "Type": { - "enum": [ - "AWS::Cognito::IdentityPoolRoleAttachment" - ], + "CapacityProvider": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Weight": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "CapacityProvider" ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.MappingRule": { + "AWS::Events::Rule.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Claim": { - "type": "string" - }, - "MatchType": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "Value": { + "Arn": { "type": "string" } }, - "required": [ - "Claim", - "MatchType", - "RoleARN", - "Value" - ], "type": "object" }, - "AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping": { + "AWS::Events::Rule.EcsParameters": { "additionalProperties": false, "properties": { - "AmbiguousRoleResolution": { + "CapacityProviderStrategy": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" + }, + "type": "array" + }, + "EnableECSManagedTags": { + "type": "boolean" + }, + "EnableExecuteCommand": { + "type": "boolean" + }, + "Group": { "type": "string" }, - "IdentityProvider": { + "LaunchType": { "type": "string" }, - "RulesConfiguration": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType" + "NetworkConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType": { - "additionalProperties": false, - "properties": { - "Rules": { + "PlacementConstraints": { "items": { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment.MappingRule" + "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" }, "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::Cognito::UserPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + }, + "PlacementStrategies": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" + }, + "type": "array" + }, + "PlatformVersion": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "PropagateTags": { + "type": "string" }, - "Metadata": { - "type": "object" + "ReferenceId": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountRecoverySetting": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AccountRecoverySetting" - }, - "AdminCreateUserConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.AdminCreateUserConfig" - }, - "AliasAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AutoVerifiedAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DeviceConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.DeviceConfiguration" - }, - "EmailConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.EmailConfiguration" - }, - "EmailVerificationMessage": { - "type": "string" - }, - "EmailVerificationSubject": { - "type": "string" - }, - "EnabledMfas": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LambdaConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPool.LambdaConfig" - }, - "MfaConfiguration": { - "type": "string" - }, - "Policies": { - "$ref": "#/definitions/AWS::Cognito::UserPool.Policies" - }, - "Schema": { - "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SchemaAttribute" - }, - "type": "array" - }, - "SmsAuthenticationMessage": { - "type": "string" - }, - "SmsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.SmsConfiguration" - }, - "SmsVerificationMessage": { - "type": "string" - }, - "UserPoolAddOns": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UserPoolAddOns" - }, - "UserPoolName": { - "type": "string" - }, - "UserPoolTags": { - "type": "object" - }, - "UsernameAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UsernameConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPool.UsernameConfiguration" - }, - "VerificationMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.VerificationMessageTemplate" - } + "TagList": { + "items": { + "$ref": "#/definitions/Tag" }, - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::Cognito::UserPool" - ], - "type": "string" + "TaskCount": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TaskDefinitionArn": { "type": "string" } }, "required": [ - "Type" + "TaskDefinitionArn" ], "type": "object" }, - "AWS::Cognito::UserPool.AccountRecoverySetting": { + "AWS::Events::Rule.HttpParameters": { "additionalProperties": false, "properties": { - "RecoveryMechanisms": { + "HeaderParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "PathParameterValues": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPool.RecoveryOption" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.AdminCreateUserConfig": { - "additionalProperties": false, - "properties": { - "AllowAdminCreateUserOnly": { - "type": "boolean" }, - "InviteMessageTemplate": { - "$ref": "#/definitions/AWS::Cognito::UserPool.InviteMessageTemplate" - }, - "UnusedAccountValidityDays": { - "type": "number" + "QueryStringParameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "type": "object" }, - "AWS::Cognito::UserPool.CustomEmailSender": { + "AWS::Events::Rule.InputTransformer": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" + "InputPathsMap": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" }, - "LambdaVersion": { + "InputTemplate": { "type": "string" } }, + "required": [ + "InputTemplate" + ], "type": "object" }, - "AWS::Cognito::UserPool.CustomSMSSender": { + "AWS::Events::Rule.KinesisParameters": { "additionalProperties": false, "properties": { - "LambdaArn": { - "type": "string" - }, - "LambdaVersion": { + "PartitionKeyPath": { "type": "string" } }, + "required": [ + "PartitionKeyPath" + ], "type": "object" }, - "AWS::Cognito::UserPool.DeviceConfiguration": { + "AWS::Events::Rule.NetworkConfiguration": { "additionalProperties": false, "properties": { - "ChallengeRequiredOnNewDevice": { - "type": "boolean" - }, - "DeviceOnlyRememberedOnUserPrompt": { - "type": "boolean" + "AwsVpcConfiguration": { + "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" } }, "type": "object" }, - "AWS::Cognito::UserPool.EmailConfiguration": { + "AWS::Events::Rule.PlacementConstraint": { "additionalProperties": false, "properties": { - "ConfigurationSet": { - "type": "string" - }, - "EmailSendingAccount": { - "type": "string" - }, - "From": { - "type": "string" - }, - "ReplyToEmailAddress": { + "Expression": { "type": "string" }, - "SourceArn": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.InviteMessageTemplate": { + "AWS::Events::Rule.PlacementStrategy": { "additionalProperties": false, "properties": { - "EmailMessage": { - "type": "string" - }, - "EmailSubject": { + "Field": { "type": "string" }, - "SMSMessage": { + "Type": { "type": "string" } }, "type": "object" }, - "AWS::Cognito::UserPool.LambdaConfig": { + "AWS::Events::Rule.RedshiftDataParameters": { "additionalProperties": false, "properties": { - "CreateAuthChallenge": { - "type": "string" - }, - "CustomEmailSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomEmailSender" - }, - "CustomMessage": { - "type": "string" - }, - "CustomSMSSender": { - "$ref": "#/definitions/AWS::Cognito::UserPool.CustomSMSSender" - }, - "DefineAuthChallenge": { - "type": "string" - }, - "KMSKeyID": { - "type": "string" - }, - "PostAuthentication": { - "type": "string" - }, - "PostConfirmation": { + "Database": { "type": "string" }, - "PreAuthentication": { + "DbUser": { "type": "string" }, - "PreSignUp": { + "SecretManagerArn": { "type": "string" }, - "PreTokenGeneration": { + "Sql": { "type": "string" }, - "UserMigration": { - "type": "string" + "Sqls": { + "items": { + "type": "string" + }, + "type": "array" }, - "VerifyAuthChallengeResponse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.NumberAttributeConstraints": { - "additionalProperties": false, - "properties": { - "MaxValue": { + "StatementName": { "type": "string" }, - "MinValue": { - "type": "string" + "WithEvent": { + "type": "boolean" } }, + "required": [ + "Database" + ], "type": "object" }, - "AWS::Cognito::UserPool.PasswordPolicy": { + "AWS::Events::Rule.RetryPolicy": { "additionalProperties": false, "properties": { - "MinimumLength": { + "MaximumEventAgeInSeconds": { "type": "number" }, - "RequireLowercase": { - "type": "boolean" - }, - "RequireNumbers": { - "type": "boolean" - }, - "RequireSymbols": { - "type": "boolean" - }, - "RequireUppercase": { - "type": "boolean" - }, - "TemporaryPasswordValidityDays": { + "MaximumRetryAttempts": { "type": "number" } }, "type": "object" }, - "AWS::Cognito::UserPool.Policies": { + "AWS::Events::Rule.RunCommandParameters": { "additionalProperties": false, "properties": { - "PasswordPolicy": { - "$ref": "#/definitions/AWS::Cognito::UserPool.PasswordPolicy" + "RunCommandTargets": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" + }, + "type": "array" } }, + "required": [ + "RunCommandTargets" + ], "type": "object" }, - "AWS::Cognito::UserPool.RecoveryOption": { + "AWS::Events::Rule.RunCommandTarget": { "additionalProperties": false, "properties": { - "Name": { + "Key": { "type": "string" }, - "Priority": { - "type": "number" + "Values": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "Key", + "Values" + ], "type": "object" }, - "AWS::Cognito::UserPool.SchemaAttribute": { + "AWS::Events::Rule.SageMakerPipelineParameter": { "additionalProperties": false, "properties": { - "AttributeDataType": { - "type": "string" - }, - "DeveloperOnlyAttribute": { - "type": "boolean" - }, - "Mutable": { - "type": "boolean" - }, "Name": { "type": "string" }, - "NumberAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.NumberAttributeConstraints" - }, - "Required": { - "type": "boolean" - }, - "StringAttributeConstraints": { - "$ref": "#/definitions/AWS::Cognito::UserPool.StringAttributeConstraints" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.SmsConfiguration": { - "additionalProperties": false, - "properties": { - "ExternalId": { - "type": "string" - }, - "SnsCallerArn": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::Cognito::UserPool.StringAttributeConstraints": { + "AWS::Events::Rule.SageMakerPipelineParameters": { "additionalProperties": false, "properties": { - "MaxLength": { - "type": "string" - }, - "MinLength": { - "type": "string" + "PipelineParameterList": { + "items": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameter" + }, + "type": "array" } }, "type": "object" }, - "AWS::Cognito::UserPool.UserPoolAddOns": { + "AWS::Events::Rule.SqsParameters": { "additionalProperties": false, "properties": { - "AdvancedSecurityMode": { + "MessageGroupId": { "type": "string" } }, + "required": [ + "MessageGroupId" + ], "type": "object" }, - "AWS::Cognito::UserPool.UsernameConfiguration": { - "additionalProperties": false, - "properties": { - "CaseSensitive": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPool.VerificationMessageTemplate": { + "AWS::Events::Rule.Target": { "additionalProperties": false, "properties": { - "DefaultEmailOption": { - "type": "string" + "AppSyncParameters": { + "$ref": "#/definitions/AWS::Events::Rule.AppSyncParameters" }, - "EmailMessage": { + "Arn": { "type": "string" }, - "EmailMessageByLink": { + "BatchParameters": { + "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" + }, + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" + }, + "EcsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" + }, + "HttpParameters": { + "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" + }, + "Id": { "type": "string" }, - "EmailSubject": { + "Input": { "type": "string" }, - "EmailSubjectByLink": { + "InputPath": { "type": "string" }, - "SmsMessage": { + "InputTransformer": { + "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" + }, + "KinesisParameters": { + "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" + }, + "RedshiftDataParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" + }, + "RetryPolicy": { + "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" + }, + "RoleArn": { "type": "string" + }, + "RunCommandParameters": { + "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" + }, + "SageMakerPipelineParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SageMakerPipelineParameters" + }, + "SqsParameters": { + "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" } }, + "required": [ + "Arn", + "Id" + ], "type": "object" }, - "AWS::Cognito::UserPoolClient": { + "AWS::IAM::AccessKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26351,99 +20717,24 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessTokenValidity": { - "type": "number" - }, - "AllowedOAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOAuthFlowsUserPoolClient": { - "type": "boolean" - }, - "AllowedOAuthScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AnalyticsConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.AnalyticsConfiguration" - }, - "CallbackURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClientName": { - "type": "string" - }, - "DefaultRedirectURI": { - "type": "string" - }, - "EnableTokenRevocation": { - "type": "boolean" - }, - "ExplicitAuthFlows": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GenerateSecret": { - "type": "boolean" - }, - "IdTokenValidity": { + "Serial": { "type": "number" }, - "LogoutURLs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreventUserExistenceErrors": { + "Status": { "type": "string" }, - "ReadAttributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RefreshTokenValidity": { - "type": "number" - }, - "SupportedIdentityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TokenValidityUnits": { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient.TokenValidityUnits" - }, - "UserPoolId": { + "UserName": { "type": "string" - }, - "WriteAttributes": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "UserPoolId" + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolClient" + "AWS::IAM::AccessKey" ], "type": "string" }, @@ -26462,43 +20753,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolClient.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserDataShared": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolClient.TokenValidityUnits": { - "additionalProperties": false, - "properties": { - "AccessToken": { - "type": "string" - }, - "IdToken": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolDomain": { + "AWS::IAM::Group": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26530,25 +20785,30 @@ "Properties": { "additionalProperties": false, "properties": { - "CustomDomainConfig": { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain.CustomDomainConfigType" - }, - "Domain": { + "GroupName": { "type": "string" }, - "UserPoolId": { + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Path": { "type": "string" + }, + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::Group.Policy" + }, + "type": "array" } }, - "required": [ - "Domain", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolDomain" + "AWS::IAM::Group" ], "type": "string" }, @@ -26562,21 +20822,27 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolDomain.CustomDomainConfigType": { + "AWS::IAM::Group.Policy": { "additionalProperties": false, "properties": { - "CertificateArn": { + "PolicyDocument": { + "type": "object" + }, + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolGroup": { + "AWS::IAM::GroupPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26608,30 +20874,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, "GroupName": { "type": "string" }, - "Precedence": { - "type": "number" - }, - "RoleArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" } }, "required": [ - "UserPoolId" + "GroupName", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolGroup" + "AWS::IAM::GroupPolicy" ], "type": "string" }, @@ -26650,7 +20911,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolIdentityProvider": { + "AWS::IAM::InstanceProfile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26682,38 +20943,27 @@ "Properties": { "additionalProperties": false, "properties": { - "AttributeMapping": { - "type": "object" + "InstanceProfileName": { + "type": "string" + }, + "Path": { + "type": "string" }, - "IdpIdentifiers": { + "Roles": { "items": { "type": "string" }, "type": "array" - }, - "ProviderDetails": { - "type": "object" - }, - "ProviderName": { - "type": "string" - }, - "ProviderType": { - "type": "string" - }, - "UserPoolId": { - "type": "string" } }, "required": [ - "ProviderName", - "ProviderType", - "UserPoolId" + "Roles" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolIdentityProvider" + "AWS::IAM::InstanceProfile" ], "type": "string" }, @@ -26732,7 +20982,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer": { + "AWS::IAM::ManagedPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26764,32 +21014,45 @@ "Properties": { "additionalProperties": false, "properties": { - "Identifier": { + "Description": { "type": "string" }, - "Name": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ManagedPolicyName": { "type": "string" }, - "Scopes": { + "Path": { + "type": "string" + }, + "PolicyDocument": { + "type": "object" + }, + "Roles": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType" + "type": "string" }, "type": "array" }, - "UserPoolId": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "Identifier", - "Name", - "UserPoolId" + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolResourceServer" + "AWS::IAM::ManagedPolicy" ], "type": "string" }, @@ -26808,23 +21071,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolResourceServer.ResourceServerScopeType": { - "additionalProperties": false, - "properties": { - "ScopeDescription": { - "type": "string" - }, - "ScopeName": { - "type": "string" - } - }, - "required": [ - "ScopeDescription", - "ScopeName" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment": { + "AWS::IAM::OIDCProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -26856,31 +21103,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AccountTakeoverRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType" - }, - "ClientId": { - "type": "string" + "ClientIdList": { + "items": { + "type": "string" + }, + "type": "array" }, - "CompromisedCredentialsRiskConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "RiskExceptionConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType" + "ThumbprintList": { + "items": { + "type": "string" + }, + "type": "array" }, - "UserPoolId": { + "Url": { "type": "string" } }, - "required": [ - "ClientId", - "UserPoolId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolRiskConfigurationAttachment" + "AWS::IAM::OIDCProvider" ], "type": "string" }, @@ -26894,151 +21143,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - }, - "Notify": { - "type": "boolean" - } - }, - "required": [ - "EventAction", - "Notify" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType": { - "additionalProperties": false, - "properties": { - "HighAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "LowAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - }, - "MediumAction": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionType" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType" - }, - "NotifyConfiguration": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType": { - "additionalProperties": false, - "properties": { - "EventAction": { - "type": "string" - } - }, - "required": [ - "EventAction" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsRiskConfigurationType": { - "additionalProperties": false, - "properties": { - "Actions": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.CompromisedCredentialsActionsType" - }, - "EventFilter": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "From": { - "type": "string" - }, - "MfaEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "NoActionEmail": { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType" - }, - "ReplyTo": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyEmailType": { - "additionalProperties": false, - "properties": { - "HtmlBody": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "TextBody": { - "type": "string" - } - }, - "required": [ - "Subject" + "Type" ], "type": "object" }, - "AWS::Cognito::UserPoolRiskConfigurationAttachment.RiskExceptionConfigurationType": { - "additionalProperties": false, - "properties": { - "BlockedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkippedIPRangeList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Cognito::UserPoolUICustomizationAttachment": { + "AWS::IAM::Policy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27070,25 +21179,40 @@ "Properties": { "additionalProperties": false, "properties": { - "CSS": { - "type": "string" + "Groups": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClientId": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" + }, + "Roles": { + "items": { + "type": "string" + }, + "type": "array" + }, + "Users": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ClientId", - "UserPoolId" + "PolicyDocument", + "PolicyName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUICustomizationAttachment" + "AWS::IAM::Policy" ], "type": "string" }, @@ -27107,7 +21231,7 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolUser": { + "AWS::IAM::Role": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27139,48 +21263,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientMetadata": { + "AssumeRolePolicyDocument": { "type": "object" }, - "DesiredDeliveryMediums": { + "Description": { + "type": "string" + }, + "ManagedPolicyArns": { "items": { "type": "string" }, "type": "array" }, - "ForceAliasCreation": { - "type": "boolean" + "MaxSessionDuration": { + "type": "number" }, - "MessageAction": { + "Path": { "type": "string" }, - "UserAttributes": { + "PermissionsBoundary": { + "type": "string" + }, + "Policies": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/AWS::IAM::Role.Policy" }, "type": "array" }, - "UserPoolId": { - "type": "string" - }, - "Username": { + "RoleName": { "type": "string" }, - "ValidationData": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser.AttributeType" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "UserPoolId" + "AssumeRolePolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUser" + "AWS::IAM::Role" ], "type": "string" }, @@ -27199,19 +21326,23 @@ ], "type": "object" }, - "AWS::Cognito::UserPoolUser.AttributeType": { + "AWS::IAM::Role.Policy": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Value": { + "PolicyName": { "type": "string" } }, + "required": [ + "PolicyDocument", + "PolicyName" + ], "type": "object" }, - "AWS::Cognito::UserPoolUserToGroupAttachment": { + "AWS::IAM::RolePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27243,26 +21374,25 @@ "Properties": { "additionalProperties": false, "properties": { - "GroupName": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "UserPoolId": { + "PolicyName": { "type": "string" }, - "Username": { + "RoleName": { "type": "string" } }, "required": [ - "GroupName", - "UserPoolId", - "Username" + "PolicyName", + "RoleName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Cognito::UserPoolUserToGroupAttachment" + "AWS::IAM::RolePolicy" ], "type": "string" }, @@ -27281,7 +21411,7 @@ ], "type": "object" }, - "AWS::Config::AggregationAuthorization": { + "AWS::IAM::SAMLProvider": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27313,10 +21443,10 @@ "Properties": { "additionalProperties": false, "properties": { - "AuthorizedAccountId": { + "Name": { "type": "string" }, - "AuthorizedAwsRegion": { + "SamlMetadataDocument": { "type": "string" }, "Tags": { @@ -27327,14 +21457,13 @@ } }, "required": [ - "AuthorizedAccountId", - "AuthorizedAwsRegion" + "SamlMetadataDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::AggregationAuthorization" + "AWS::IAM::SAMLProvider" ], "type": "string" }, @@ -27353,7 +21482,7 @@ ], "type": "object" }, - "AWS::Config::ConfigRule": { + "AWS::IAM::ServerCertificate": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27385,33 +21514,33 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigRuleName": { + "CertificateBody": { "type": "string" }, - "Description": { + "CertificateChain": { "type": "string" }, - "InputParameters": { - "type": "object" + "Path": { + "type": "string" }, - "MaximumExecutionFrequency": { + "PrivateKey": { "type": "string" }, - "Scope": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Scope" + "ServerCertificateName": { + "type": "string" }, - "Source": { - "$ref": "#/definitions/AWS::Config::ConfigRule.Source" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "Source" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigRule" + "AWS::IAM::ServerCertificate" ], "type": "string" }, @@ -27425,74 +21554,75 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::Config::ConfigRule.Scope": { + "AWS::IAM::ServiceLinkedRole": { "additionalProperties": false, "properties": { - "ComplianceResourceId": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ComplianceResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKey": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "TagValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::ConfigRule.Source": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" + "Metadata": { + "type": "object" }, - "SourceDetails": { - "items": { - "$ref": "#/definitions/AWS::Config::ConfigRule.SourceDetail" + "Properties": { + "additionalProperties": false, + "properties": { + "AWSServiceName": { + "type": "string" + }, + "CustomSuffix": { + "type": "string" + }, + "Description": { + "type": "string" + } }, - "type": "array" - }, - "SourceIdentifier": { - "type": "string" - } - }, - "required": [ - "Owner", - "SourceIdentifier" - ], - "type": "object" - }, - "AWS::Config::ConfigRule.SourceDetail": { - "additionalProperties": false, - "properties": { - "EventSource": { - "type": "string" + "type": "object" }, - "MaximumExecutionFrequency": { + "Type": { + "enum": [ + "AWS::IAM::ServiceLinkedRole" + ], "type": "string" }, - "MessageType": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EventSource", - "MessageType" + "Type" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator": { + "AWS::IAM::User": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27524,30 +21654,48 @@ "Properties": { "additionalProperties": false, "properties": { - "AccountAggregationSources": { + "Groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoginProfile": { + "$ref": "#/definitions/AWS::IAM::User.LoginProfile" + }, + "ManagedPolicyArns": { "items": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.AccountAggregationSource" + "type": "string" }, "type": "array" }, - "ConfigurationAggregatorName": { + "Path": { + "type": "string" + }, + "PermissionsBoundary": { "type": "string" }, - "OrganizationAggregationSource": { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator.OrganizationAggregationSource" + "Policies": { + "items": { + "$ref": "#/definitions/AWS::IAM::User.Policy" + }, + "type": "array" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" + }, + "UserName": { + "type": "string" } }, "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationAggregator" + "AWS::IAM::User" ], "type": "string" }, @@ -27565,52 +21713,38 @@ ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.AccountAggregationSource": { + "AWS::IAM::User.LoginProfile": { "additionalProperties": false, "properties": { - "AccountIds": { - "items": { - "type": "string" - }, - "type": "array" + "Password": { + "type": "string" }, - "AllAwsRegions": { + "PasswordResetRequired": { "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" } }, "required": [ - "AccountIds" + "Password" ], "type": "object" }, - "AWS::Config::ConfigurationAggregator.OrganizationAggregationSource": { + "AWS::IAM::User.Policy": { "additionalProperties": false, "properties": { - "AllAwsRegions": { - "type": "boolean" - }, - "AwsRegions": { - "items": { - "type": "string" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "PolicyName": { "type": "string" } }, "required": [ - "RoleArn" + "PolicyDocument", + "PolicyName" ], "type": "object" }, - "AWS::Config::ConfigurationRecorder": { + "AWS::IAM::UserPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27642,24 +21776,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Name": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RecordingGroup": { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder.RecordingGroup" + "PolicyName": { + "type": "string" }, - "RoleARN": { + "UserName": { "type": "string" } }, "required": [ - "RoleARN" + "PolicyName", + "UserName" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConfigurationRecorder" + "AWS::IAM::UserPolicy" ], "type": "string" }, @@ -27678,25 +21813,7 @@ ], "type": "object" }, - "AWS::Config::ConfigurationRecorder.RecordingGroup": { - "additionalProperties": false, - "properties": { - "AllSupported": { - "type": "boolean" - }, - "IncludeGlobalResourceTypes": { - "type": "boolean" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::ConformancePack": { + "AWS::IAM::UserToGroupAddition": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27728,36 +21845,25 @@ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { + "GroupName": { + "type": "string" + }, + "Users": { "items": { - "$ref": "#/definitions/AWS::Config::ConformancePack.ConformancePackInputParameter" + "type": "string" }, "type": "array" - }, - "ConformancePackName": { - "type": "string" - }, - "DeliveryS3Bucket": { - "type": "string" - }, - "DeliveryS3KeyPrefix": { - "type": "string" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateS3Uri": { - "type": "string" } }, "required": [ - "ConformancePackName" + "GroupName", + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::ConformancePack" + "AWS::IAM::UserToGroupAddition" ], "type": "string" }, @@ -27776,23 +21882,7 @@ ], "type": "object" }, - "AWS::Config::ConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Config::DeliveryChannel": { + "AWS::IAM::VirtualMFADevice": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27824,33 +21914,33 @@ "Properties": { "additionalProperties": false, "properties": { - "ConfigSnapshotDeliveryProperties": { - "$ref": "#/definitions/AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties" - }, - "Name": { - "type": "string" - }, - "S3BucketName": { + "Path": { "type": "string" }, - "S3KeyPrefix": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "S3KmsKeyArn": { - "type": "string" + "Users": { + "items": { + "type": "string" + }, + "type": "array" }, - "SnsTopicARN": { + "VirtualMfaDeviceName": { "type": "string" } }, "required": [ - "S3BucketName" + "Users" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::DeliveryChannel" + "AWS::IAM::VirtualMFADevice" ], "type": "string" }, @@ -27869,16 +21959,7 @@ ], "type": "object" }, - "AWS::Config::DeliveryChannel.ConfigSnapshotDeliveryProperties": { - "additionalProperties": false, - "properties": { - "DeliveryFrequency": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::OrganizationConfigRule": { + "AWS::KMS::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -27910,30 +21991,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationConfigRuleName": { + "AliasName": { "type": "string" }, - "OrganizationCustomRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata" - }, - "OrganizationManagedRuleMetadata": { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata" + "TargetKeyId": { + "type": "string" } }, "required": [ - "OrganizationConfigRuleName" + "AliasName", + "TargetKeyId" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConfigRule" + "AWS::KMS::Alias" ], "type": "string" }, @@ -27952,86 +22025,7 @@ ], "type": "object" }, - "AWS::Config::OrganizationConfigRule.OrganizationCustomRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "LambdaFunctionArn": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "OrganizationConfigRuleTriggerTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "LambdaFunctionArn", - "OrganizationConfigRuleTriggerTypes" - ], - "type": "object" - }, - "AWS::Config::OrganizationConfigRule.OrganizationManagedRuleMetadata": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InputParameters": { - "type": "string" - }, - "MaximumExecutionFrequency": { - "type": "string" - }, - "ResourceIdScope": { - "type": "string" - }, - "ResourceTypesScope": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuleIdentifier": { - "type": "string" - }, - "TagKeyScope": { - "type": "string" - }, - "TagValueScope": { - "type": "string" - } - }, - "required": [ - "RuleIdentifier" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack": { + "AWS::KMS::Key": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28063,42 +22057,51 @@ "Properties": { "additionalProperties": false, "properties": { - "ConformancePackInputParameters": { - "items": { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack.ConformancePackInputParameter" - }, - "type": "array" + "BypassPolicyLockoutSafetyCheck": { + "type": "boolean" }, - "DeliveryS3Bucket": { + "Description": { "type": "string" }, - "DeliveryS3KeyPrefix": { - "type": "string" + "EnableKeyRotation": { + "type": "boolean" }, - "ExcludedAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" + }, + "KeyPolicy": { + "type": "object" }, - "OrganizationConformancePackName": { + "KeySpec": { "type": "string" }, - "TemplateBody": { + "KeyUsage": { "type": "string" }, - "TemplateS3Uri": { + "MultiRegion": { + "type": "boolean" + }, + "Origin": { "type": "string" + }, + "PendingWindowInDays": { + "type": "number" + }, + "RotationPeriodInDays": { + "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, - "required": [ - "OrganizationConformancePackName" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::OrganizationConformancePack" + "AWS::KMS::Key" ], "type": "string" }, @@ -28112,28 +22115,11 @@ } }, "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Config::OrganizationConformancePack.ConformancePackInputParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" + "Type" ], "type": "object" }, - "AWS::Config::RemediationConfiguration": { + "AWS::KMS::ReplicaKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28165,47 +22151,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Automatic": { - "type": "boolean" - }, - "ConfigRuleName": { + "Description": { "type": "string" }, - "ExecutionControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ExecutionControls" - }, - "MaximumAutomaticAttempts": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Parameters": { + "KeyPolicy": { "type": "object" }, - "ResourceType": { - "type": "string" - }, - "RetryAttemptSeconds": { + "PendingWindowInDays": { "type": "number" }, - "TargetId": { - "type": "string" - }, - "TargetType": { + "PrimaryKeyArn": { "type": "string" }, - "TargetVersion": { - "type": "string" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "ConfigRuleName", - "TargetId", - "TargetType" + "KeyPolicy", + "PrimaryKeyArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::RemediationConfiguration" + "AWS::KMS::ReplicaKey" ], "type": "string" }, @@ -28224,61 +22200,7 @@ ], "type": "object" }, - "AWS::Config::RemediationConfiguration.ExecutionControls": { - "additionalProperties": false, - "properties": { - "SsmControls": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.SsmControls" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.RemediationParameterValue": { - "additionalProperties": false, - "properties": { - "ResourceValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.ResourceValue" - }, - "StaticValue": { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration.StaticValue" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.ResourceValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.SsmControls": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutionRatePercentage": { - "type": "number" - }, - "ErrorPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Config::RemediationConfiguration.StaticValue": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Config::StoredQuery": { + "AWS::Kinesis::ResourcePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28310,31 +22232,22 @@ "Properties": { "additionalProperties": false, "properties": { - "QueryDescription": { - "type": "string" - }, - "QueryExpression": { - "type": "string" - }, - "QueryName": { + "ResourceArn": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ResourcePolicy": { + "type": "object" } }, "required": [ - "QueryExpression", - "QueryName" + "ResourceArn", + "ResourcePolicy" ], "type": "object" }, "Type": { "enum": [ - "AWS::Config::StoredQuery" + "AWS::Kinesis::ResourcePolicy" ], "type": "string" }, @@ -28353,7 +22266,7 @@ ], "type": "object" }, - "AWS::Connect::ContactFlow": { + "AWS::Kinesis::Stream": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28385,41 +22298,33 @@ "Properties": { "additionalProperties": false, "properties": { - "Content": { + "Name": { "type": "string" }, - "Description": { - "type": "string" + "RetentionPeriodHours": { + "type": "number" }, - "InstanceArn": { - "type": "string" + "ShardCount": { + "type": "number" }, - "Name": { - "type": "string" + "StreamEncryption": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" }, - "State": { - "type": "string" + "StreamModeDetails": { + "$ref": "#/definitions/AWS::Kinesis::Stream.StreamModeDetails" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "Type": { - "type": "string" } }, - "required": [ - "Content", - "InstanceArn", - "Name" - ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlow" + "AWS::Kinesis::Stream" ], "type": "string" }, @@ -28433,12 +22338,39 @@ } }, "required": [ - "Type", - "Properties" + "Type" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamEncryption": { + "additionalProperties": false, + "properties": { + "EncryptionType": { + "type": "string" + }, + "KeyId": { + "type": "string" + } + }, + "required": [ + "EncryptionType", + "KeyId" + ], + "type": "object" + }, + "AWS::Kinesis::Stream.StreamModeDetails": { + "additionalProperties": false, + "properties": { + "StreamMode": { + "type": "string" + } + }, + "required": [ + "StreamMode" ], "type": "object" }, - "AWS::Connect::ContactFlowModule": { + "AWS::Kinesis::StreamConsumer": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28470,38 +22402,22 @@ "Properties": { "additionalProperties": false, "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "InstanceArn": { - "type": "string" - }, - "Name": { + "ConsumerName": { "type": "string" }, - "State": { + "StreamARN": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "Content", - "InstanceArn", - "Name" + "ConsumerName", + "StreamARN" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::ContactFlowModule" + "AWS::Kinesis::StreamConsumer" ], "type": "string" }, @@ -28520,7 +22436,7 @@ ], "type": "object" }, - "AWS::Connect::HoursOfOperation": { + "AWS::Lambda::Alias": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28552,42 +22468,35 @@ "Properties": { "additionalProperties": false, "properties": { - "Config": { - "items": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationConfig" - }, - "type": "array" - }, "Description": { "type": "string" }, - "InstanceArn": { + "FunctionName": { + "type": "string" + }, + "FunctionVersion": { "type": "string" }, "Name": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" }, - "TimeZone": { - "type": "string" + "RoutingConfig": { + "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" } }, "required": [ - "Config", - "InstanceArn", - "Name", - "TimeZone" + "FunctionName", + "FunctionVersion", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::HoursOfOperation" + "AWS::Lambda::Alias" ], "type": "string" }, @@ -28606,43 +22515,47 @@ ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationConfig": { + "AWS::Lambda::Alias.AliasRoutingConfiguration": { "additionalProperties": false, "properties": { - "Day": { - "type": "string" - }, - "EndTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" - }, - "StartTime": { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice" + "AdditionalVersionWeights": { + "items": { + "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { + "additionalProperties": false, + "properties": { + "ProvisionedConcurrentExecutions": { + "type": "number" } }, "required": [ - "Day", - "EndTime", - "StartTime" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::Connect::HoursOfOperation.HoursOfOperationTimeSlice": { + "AWS::Lambda::Alias.VersionWeight": { "additionalProperties": false, "properties": { - "Hours": { - "type": "number" + "FunctionVersion": { + "type": "string" }, - "Minutes": { + "FunctionWeight": { "type": "number" } }, "required": [ - "Hours", - "Minutes" + "FunctionVersion", + "FunctionWeight" ], "type": "object" }, - "AWS::Connect::QuickConnect": { + "AWS::Lambda::CodeSigningConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28674,18 +22587,15 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "AllowedPublishers": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" }, - "InstanceArn": { - "type": "string" + "CodeSigningPolicies": { + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" }, - "Name": { + "Description": { "type": "string" }, - "QuickConnectConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QuickConnectConfig" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -28694,15 +22604,13 @@ } }, "required": [ - "InstanceArn", - "Name", - "QuickConnectConfig" + "AllowedPublishers" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::QuickConnect" + "AWS::Lambda::CodeSigningConfig" ], "type": "string" }, @@ -28721,72 +22629,34 @@ ], "type": "object" }, - "AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "PhoneNumber": { - "type": "string" - } - }, - "required": [ - "PhoneNumber" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QueueQuickConnectConfig": { - "additionalProperties": false, - "properties": { - "ContactFlowArn": { - "type": "string" - }, - "QueueArn": { - "type": "string" - } - }, - "required": [ - "ContactFlowArn", - "QueueArn" - ], - "type": "object" - }, - "AWS::Connect::QuickConnect.QuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { "additionalProperties": false, "properties": { - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.PhoneNumberQuickConnectConfig" - }, - "QueueConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.QueueQuickConnectConfig" - }, - "QuickConnectType": { - "type": "string" - }, - "UserConfig": { - "$ref": "#/definitions/AWS::Connect::QuickConnect.UserQuickConnectConfig" + "SigningProfileVersionArns": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "QuickConnectType" + "SigningProfileVersionArns" ], "type": "object" }, - "AWS::Connect::QuickConnect.UserQuickConnectConfig": { + "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { "additionalProperties": false, "properties": { - "ContactFlowArn": { - "type": "string" - }, - "UserArn": { + "UntrustedArtifactOnDeployment": { "type": "string" } }, "required": [ - "ContactFlowArn", - "UserArn" + "UntrustedArtifactOnDeployment" ], "type": "object" }, - "AWS::Connect::User": { + "AWS::Lambda::EventInvokeConfig": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -28818,55 +22688,31 @@ "Properties": { "additionalProperties": false, "properties": { - "DirectoryUserId": { - "type": "string" - }, - "HierarchyGroupArn": { - "type": "string" - }, - "IdentityInfo": { - "$ref": "#/definitions/AWS::Connect::User.UserIdentityInfo" - }, - "InstanceArn": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "PhoneConfig": { - "$ref": "#/definitions/AWS::Connect::User.UserPhoneConfig" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" }, - "RoutingProfileArn": { + "FunctionName": { "type": "string" }, - "SecurityProfileArns": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumEventAgeInSeconds": { + "type": "number" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "Username": { + "Qualifier": { "type": "string" } }, "required": [ - "InstanceArn", - "PhoneConfig", - "RoutingProfileArn", - "SecurityProfileArns", - "Username" + "FunctionName", + "Qualifier" ], "type": "object" }, "Type": { "enum": [ - "AWS::Connect::User" + "AWS::Lambda::EventInvokeConfig" ], "type": "string" }, @@ -28885,112 +22731,43 @@ ], "type": "object" }, - "AWS::Connect::User.UserIdentityInfo": { + "AWS::Lambda::EventInvokeConfig.DestinationConfig": { "additionalProperties": false, "properties": { - "Email": { - "type": "string" - }, - "FirstName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" }, - "LastName": { - "type": "string" + "OnSuccess": { + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" } }, "type": "object" }, - "AWS::Connect::User.UserPhoneConfig": { + "AWS::Lambda::EventInvokeConfig.OnFailure": { "additionalProperties": false, "properties": { - "AfterContactWorkTimeLimit": { - "type": "number" - }, - "AutoAccept": { - "type": "boolean" - }, - "DeskPhoneNumber": { - "type": "string" - }, - "PhoneType": { + "Destination": { "type": "string" } }, "required": [ - "PhoneType" + "Destination" ], "type": "object" }, - "AWS::Connect::UserHierarchyGroup": { + "AWS::Lambda::EventInvokeConfig.OnSuccess": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentGroupArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Connect::UserHierarchyGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Destination": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination" ], "type": "object" }, - "AWS::CustomerProfiles::Domain": { + "AWS::Lambda::EventSourceMapping": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29022,111 +22799,111 @@ "Properties": { "additionalProperties": false, "properties": { - "DeadLetterQueueUrl": { - "type": "string" + "AmazonManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig" + }, + "BatchSize": { + "type": "number" + }, + "BisectBatchOnFunctionError": { + "type": "boolean" + }, + "DestinationConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" }, - "DefaultEncryptionKey": { + "DocumentDBEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig" + }, + "Enabled": { + "type": "boolean" + }, + "EventSourceArn": { "type": "string" }, - "DefaultExpirationDays": { - "type": "number" + "FilterCriteria": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.FilterCriteria" }, - "DomainName": { + "FunctionName": { "type": "string" }, - "Tags": { + "FunctionResponseTypes": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::CustomerProfiles::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", + }, + "KmsKeyArn": { "type": "string" }, - { + "MaximumBatchingWindowInSeconds": { + "type": "number" + }, + "MaximumRecordAgeInSeconds": { + "type": "number" + }, + "MaximumRetryAttempts": { + "type": "number" + }, + "MetricsConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.MetricsConfig" + }, + "ParallelizationFactor": { + "type": "number" + }, + "ProvisionedPollerConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig" + }, + "Queues": { "items": { - "pattern": "^[a-zA-Z0-9]+$", "type": "string" }, "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" }, - "FlowDefinition": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.FlowDefinition" + "ScalingConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.ScalingConfig" + }, + "SelfManagedEventSource": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" + }, + "SelfManagedKafkaEventSourceConfig": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig" }, - "ObjectTypeName": { + "SourceAccessConfigurations": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" + }, + "type": "array" + }, + "StartingPosition": { "type": "string" }, + "StartingPositionTimestamp": { + "type": "number" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" }, - "Uri": { - "type": "string" + "Topics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "TumblingWindowInSeconds": { + "type": "number" } }, "required": [ - "DomainName", - "ObjectTypeName" + "FunctionName" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::Integration" + "AWS::Lambda::EventSourceMapping" ], "type": "string" }, @@ -29145,284 +22922,145 @@ ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ConnectorOperator": { - "additionalProperties": false, - "properties": { - "Marketo": { - "type": "string" - }, - "S3": { - "type": "string" - }, - "Salesforce": { - "type": "string" - }, - "ServiceNow": { - "type": "string" - }, - "Zendesk": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::CustomerProfiles::Integration.FlowDefinition": { + "AWS::Lambda::EventSourceMapping.AmazonManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "FlowName": { + "ConsumerGroupId": { "type": "string" - }, - "KmsArn": { - "type": "string" - }, - "SourceFlowConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceFlowConfig" - }, - "Tasks": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.Task" - }, - "type": "array" - }, - "TriggerConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerConfig" } }, - "required": [ - "FlowName", - "KmsArn", - "SourceFlowConfig", - "Tasks", - "TriggerConfig" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.IncrementalPullConfig": { + "AWS::Lambda::EventSourceMapping.DestinationConfig": { "additionalProperties": false, "properties": { - "DatetimeTypeFieldName": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.MarketoSourceProperties": { + "AWS::Lambda::EventSourceMapping.DocumentDBEventSourceConfig": { "additionalProperties": false, "properties": { - "Object": { + "CollectionName": { "type": "string" - } - }, - "required": [ - "Object" - ], - "type": "object" - }, - "AWS::CustomerProfiles::Integration.S3SourceProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { + }, + "DatabaseName": { "type": "string" }, - "BucketPrefix": { + "FullDocument": { "type": "string" } }, - "required": [ - "BucketName" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SalesforceSourceProperties": { + "AWS::Lambda::EventSourceMapping.Endpoints": { "additionalProperties": false, "properties": { - "EnableDynamicFieldUpdate": { - "type": "boolean" - }, - "IncludeDeletedRecords": { - "type": "boolean" - }, - "Object": { - "type": "string" + "KafkaBootstrapServers": { + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ScheduledTriggerProperties": { + "AWS::Lambda::EventSourceMapping.Filter": { "additionalProperties": false, "properties": { - "DataPullMode": { - "type": "string" - }, - "FirstExecutionFrom": { - "type": "number" - }, - "ScheduleEndTime": { - "type": "number" - }, - "ScheduleExpression": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleStartTime": { - "type": "number" - }, - "Timezone": { + "Pattern": { "type": "string" } }, - "required": [ - "ScheduleExpression" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.ServiceNowSourceProperties": { + "AWS::Lambda::EventSourceMapping.FilterCriteria": { "additionalProperties": false, "properties": { - "Object": { - "type": "string" + "Filters": { + "items": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Filter" + }, + "type": "array" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceConnectorProperties": { + "AWS::Lambda::EventSourceMapping.MetricsConfig": { "additionalProperties": false, "properties": { - "Marketo": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.MarketoSourceProperties" - }, - "S3": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.S3SourceProperties" - }, - "Salesforce": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SalesforceSourceProperties" - }, - "ServiceNow": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ServiceNowSourceProperties" - }, - "Zendesk": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ZendeskSourceProperties" + "Metrics": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.SourceFlowConfig": { + "AWS::Lambda::EventSourceMapping.OnFailure": { "additionalProperties": false, "properties": { - "ConnectorProfileName": { - "type": "string" - }, - "ConnectorType": { + "Destination": { "type": "string" - }, - "IncrementalPullConfig": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.IncrementalPullConfig" - }, - "SourceConnectorProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.SourceConnectorProperties" } }, - "required": [ - "ConnectorType", - "SourceConnectorProperties" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.Task": { + "AWS::Lambda::EventSourceMapping.ProvisionedPollerConfig": { "additionalProperties": false, "properties": { - "ConnectorOperator": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ConnectorOperator" - }, - "DestinationField": { - "type": "string" - }, - "SourceFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TaskProperties": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TaskPropertiesMap" - }, - "type": "array" + "MaximumPollers": { + "type": "number" }, - "TaskType": { - "type": "string" + "MinimumPollers": { + "type": "number" } }, - "required": [ - "SourceFields", - "TaskType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TaskPropertiesMap": { + "AWS::Lambda::EventSourceMapping.ScalingConfig": { "additionalProperties": false, "properties": { - "OperatorPropertyKey": { - "type": "string" - }, - "Property": { - "type": "string" + "MaximumConcurrency": { + "type": "number" } }, - "required": [ - "OperatorPropertyKey", - "Property" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerConfig": { + "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { "additionalProperties": false, "properties": { - "TriggerProperties": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.TriggerProperties" - }, - "TriggerType": { - "type": "string" + "Endpoints": { + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" } }, - "required": [ - "TriggerType" - ], "type": "object" }, - "AWS::CustomerProfiles::Integration.TriggerProperties": { + "AWS::Lambda::EventSourceMapping.SelfManagedKafkaEventSourceConfig": { "additionalProperties": false, "properties": { - "Scheduled": { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration.ScheduledTriggerProperties" + "ConsumerGroupId": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::Integration.ZendeskSourceProperties": { + "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { "additionalProperties": false, "properties": { - "Object": { + "Type": { + "type": "string" + }, + "URI": { "type": "string" } }, - "required": [ - "Object" - ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType": { + "AWS::Lambda::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29454,54 +23092,106 @@ "Properties": { "additionalProperties": false, "properties": { - "AllowProfileCreation": { - "type": "boolean" + "Architectures": { + "items": { + "type": "string" + }, + "type": "array" }, - "Description": { - "type": "string" + "Code": { + "$ref": "#/definitions/AWS::Lambda::Function.Code" }, - "DomainName": { + "CodeSigningConfigArn": { "type": "string" }, - "EncryptionKey": { + "DeadLetterConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" + }, + "Description": { "type": "string" }, - "ExpirationDays": { - "type": "number" + "Environment": { + "$ref": "#/definitions/AWS::Lambda::Function.Environment" }, - "Fields": { - "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.FieldMap" - }, - "type": "array" + "EphemeralStorage": { + "$ref": "#/definitions/AWS::Lambda::Function.EphemeralStorage" }, - "Keys": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.KeyMap" + "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" }, "type": "array" }, - "ObjectTypeName": { + "FunctionName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { + "Handler": { "type": "string" + }, + "ImageConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" + }, + "KmsKeyArn": { + "type": "string" + }, + "Layers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "LoggingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.LoggingConfig" + }, + "MemorySize": { + "type": "number" + }, + "PackageType": { + "type": "string" + }, + "RecursiveLoop": { + "type": "string" + }, + "ReservedConcurrentExecutions": { + "type": "number" + }, + "Role": { + "type": "string" + }, + "Runtime": { + "type": "string" + }, + "RuntimeManagementConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.RuntimeManagementConfig" + }, + "SnapStart": { + "$ref": "#/definitions/AWS::Lambda::Function.SnapStart" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timeout": { + "type": "number" + }, + "TracingConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" + }, + "VpcConfig": { + "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" } }, "required": [ - "DomainName" + "Code", + "Role" ], "type": "object" }, "Type": { "enum": [ - "AWS::CustomerProfiles::ObjectType" + "AWS::Lambda::Function" ], "type": "string" }, @@ -29520,58 +23210,182 @@ ], "type": "object" }, - "AWS::CustomerProfiles::ObjectType.FieldMap": { + "AWS::Lambda::Function.Code": { "additionalProperties": false, "properties": { - "Name": { + "ImageUri": { + "type": "string" + }, + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" + }, + "SourceKMSKeyArn": { "type": "string" }, - "ObjectTypeField": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeField" + "ZipFile": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.KeyMap": { + "AWS::Lambda::Function.DeadLetterConfig": { "additionalProperties": false, "properties": { - "Name": { + "TargetArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.Environment": { + "additionalProperties": false, + "properties": { + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.EphemeralStorage": { + "additionalProperties": false, + "properties": { + "Size": { + "type": "number" + } + }, + "required": [ + "Size" + ], + "type": "object" + }, + "AWS::Lambda::Function.FileSystemConfig": { + "additionalProperties": false, + "properties": { + "Arn": { + "type": "string" + }, + "LocalMountPath": { "type": "string" + } + }, + "required": [ + "Arn", + "LocalMountPath" + ], + "type": "object" + }, + "AWS::Lambda::Function.ImageConfig": { + "additionalProperties": false, + "properties": { + "Command": { + "items": { + "type": "string" + }, + "type": "array" }, - "ObjectTypeKeyList": { + "EntryPoint": { "items": { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType.ObjectTypeKey" + "type": "string" }, "type": "array" + }, + "WorkingDirectory": { + "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeField": { + "AWS::Lambda::Function.LoggingConfig": { "additionalProperties": false, "properties": { - "ContentType": { + "ApplicationLogLevel": { "type": "string" }, - "Source": { + "LogFormat": { "type": "string" }, - "Target": { + "LogGroup": { + "type": "string" + }, + "SystemLogLevel": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.RuntimeManagementConfig": { + "additionalProperties": false, + "properties": { + "RuntimeVersionArn": { + "type": "string" + }, + "UpdateRuntimeOn": { + "type": "string" + } + }, + "required": [ + "UpdateRuntimeOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStart": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + } + }, + "required": [ + "ApplyOn" + ], + "type": "object" + }, + "AWS::Lambda::Function.SnapStartResponse": { + "additionalProperties": false, + "properties": { + "ApplyOn": { + "type": "string" + }, + "OptimizationStatus": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Lambda::Function.TracingConfig": { + "additionalProperties": false, + "properties": { + "Mode": { "type": "string" } }, "type": "object" }, - "AWS::CustomerProfiles::ObjectType.ObjectTypeKey": { + "AWS::Lambda::Function.VpcConfig": { "additionalProperties": false, "properties": { - "FieldNames": { + "Ipv6AllowedForDualStack": { + "type": "boolean" + }, + "SecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "StandardIdentifiers": { + "SubnetIds": { "items": { "type": "string" }, @@ -29580,7 +23394,7 @@ }, "type": "object" }, - "AWS::DAX::Cluster": { + "AWS::Lambda::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29612,65 +23426,39 @@ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { + "CompatibleArchitectures": { "items": { "type": "string" }, "type": "array" }, - "ClusterEndpointEncryptionType": { - "type": "string" + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" }, - "ClusterName": { - "type": "string" + "Content": { + "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" }, "Description": { "type": "string" }, - "IAMRoleARN": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NotificationTopicARN": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { + "LayerName": { "type": "string" }, - "ReplicationFactor": { - "type": "number" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DAX::Cluster.SSESpecification" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetGroupName": { + "LicenseInfo": { "type": "string" - }, - "Tags": { - "type": "object" } }, "required": [ - "IAMRoleARN", - "NodeType", - "ReplicationFactor" + "Content" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::Cluster" + "AWS::Lambda::LayerVersion" ], "type": "string" }, @@ -29689,16 +23477,26 @@ ], "type": "object" }, - "AWS::DAX::Cluster.SSESpecification": { + "AWS::Lambda::LayerVersion.Content": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" + "S3Bucket": { + "type": "string" + }, + "S3Key": { + "type": "string" + }, + "S3ObjectVersion": { + "type": "string" } }, + "required": [ + "S3Bucket", + "S3Key" + ], "type": "object" }, - "AWS::DAX::ParameterGroup": { + "AWS::Lambda::LayerVersionPermission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29730,21 +23528,29 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { "type": "string" }, - "ParameterGroupName": { + "LayerVersionArn": { "type": "string" }, - "ParameterNameValues": { - "type": "object" + "OrganizationId": { + "type": "string" + }, + "Principal": { + "type": "string" } }, + "required": [ + "Action", + "LayerVersionArn", + "Principal" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::ParameterGroup" + "AWS::Lambda::LayerVersionPermission" ], "type": "string" }, @@ -29758,11 +23564,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DAX::SubnetGroup": { + "AWS::Lambda::Permission": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29794,27 +23601,41 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "Action": { + "type": "string" + }, + "EventSourceToken": { "type": "string" }, - "SubnetGroupName": { + "FunctionName": { "type": "string" }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "FunctionUrlAuthType": { + "type": "string" + }, + "Principal": { + "type": "string" + }, + "PrincipalOrgID": { + "type": "string" + }, + "SourceAccount": { + "type": "string" + }, + "SourceArn": { + "type": "string" } }, "required": [ - "SubnetIds" + "Action", + "FunctionName", + "Principal" ], "type": "object" }, "Type": { "enum": [ - "AWS::DAX::SubnetGroup" + "AWS::Lambda::Permission" ], "type": "string" }, @@ -29833,7 +23654,7 @@ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy": { + "AWS::Lambda::Url": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -29865,30 +23686,31 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AuthType": { "type": "string" }, - "ExecutionRoleArn": { - "type": "string" + "Cors": { + "$ref": "#/definitions/AWS::Lambda::Url.Cors" }, - "PolicyDetails": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.PolicyDetails" + "InvokeMode": { + "type": "string" }, - "State": { + "Qualifier": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "TargetFunctionArn": { + "type": "string" } }, + "required": [ + "AuthType", + "TargetFunctionArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DLM::LifecyclePolicy" + "AWS::Lambda::Url" ], "type": "string" }, @@ -29902,193 +23724,483 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Action": { + "AWS::Lambda::Url.Cors": { "additionalProperties": false, "properties": { - "CrossRegionCopy": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyAction" + "type": "string" }, "type": "array" }, - "Name": { - "type": "string" - } - }, - "required": [ - "CrossRegionCopy", - "Name" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.CreateRule": { - "additionalProperties": false, - "properties": { - "CronExpression": { - "type": "string" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" + "AllowMethods": { + "items": { + "type": "string" + }, + "type": "array" }, - "Location": { - "type": "string" + "AllowOrigins": { + "items": { + "type": "string" + }, + "type": "array" }, - "Times": { + "ExposeHeaders": { "items": { "type": "string" }, "type": "array" + }, + "MaxAge": { + "type": "number" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyAction": { + "AWS::Lambda::Version": { "additionalProperties": false, "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EncryptionConfiguration" + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Metadata": { + "type": "object" }, - "Target": { + "Properties": { + "additionalProperties": false, + "properties": { + "CodeSha256": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "FunctionName": { + "type": "string" + }, + "ProvisionedConcurrencyConfig": { + "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" + }, + "RuntimePolicy": { + "$ref": "#/definitions/AWS::Lambda::Version.RuntimePolicy" + } + }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Lambda::Version" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "EncryptionConfiguration", - "Target" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule": { + "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { "additionalProperties": false, "properties": { - "Interval": { + "ProvisionedConcurrentExecutions": { "type": "number" - }, - "IntervalUnit": { - "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "ProvisionedConcurrentExecutions" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule": { + "AWS::Lambda::Version.RuntimePolicy": { "additionalProperties": false, "properties": { - "Interval": { - "type": "number" + "RuntimeVersionArn": { + "type": "string" }, - "IntervalUnit": { + "UpdateRuntimeOn": { "type": "string" } }, "required": [ - "Interval", - "IntervalUnit" + "UpdateRuntimeOn" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.CrossRegionCopyRule": { + "AWS::RDS::CustomDBEngineVersion": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "CopyTags": { - "type": "boolean" - }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyDeprecateRule" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Encrypted": { - "type": "boolean" + "Metadata": { + "type": "object" }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRetainRule" + "Properties": { + "additionalProperties": false, + "properties": { + "DatabaseInstallationFilesS3BucketName": { + "type": "string" + }, + "DatabaseInstallationFilesS3Prefix": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "Engine": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "ImageId": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "Manifest": { + "type": "string" + }, + "SourceCustomDbEngineVersionIdentifier": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseAwsProvidedLatestImage": { + "type": "boolean" + } + }, + "required": [ + "Engine", + "EngineVersion" + ], + "type": "object" }, - "Target": { + "Type": { + "enum": [ + "AWS::RDS::CustomDBEngineVersion" + ], "type": "string" }, - "TargetRegion": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Encrypted" + "Type", + "Properties" ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.DeprecateRule": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EncryptionConfiguration": { + "AWS::RDS::DBCluster": { "additionalProperties": false, "properties": { - "CmkArn": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "Encrypted": { - "type": "boolean" - } - }, - "required": [ - "Encrypted" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventParameters": { - "additionalProperties": false, - "properties": { - "DescriptionRegex": { - "type": "string" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "EventType": { - "type": "string" + "Metadata": { + "type": "object" }, - "SnapshotOwner": { - "items": { - "type": "string" + "Properties": { + "additionalProperties": false, + "properties": { + "AllocatedStorage": { + "type": "number" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AvailabilityZones": { + "items": { + "type": "string" + }, + "type": "array" + }, + "BacktrackWindow": { + "type": "number" + }, + "BackupRetentionPeriod": { + "type": "number" + }, + "ClusterScalabilityType": { + "type": "string" + }, + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "DBClusterIdentifier": { + "type": "string" + }, + "DBClusterInstanceClass": { + "type": "string" + }, + "DBClusterParameterGroupName": { + "type": "string" + }, + "DBInstanceParameterGroupName": { + "type": "string" + }, + "DBSubnetGroupName": { + "type": "string" + }, + "DBSystemId": { + "type": "string" + }, + "DatabaseInsightsMode": { + "type": "string" + }, + "DatabaseName": { + "type": "string" + }, + "DeletionProtection": { + "type": "boolean" + }, + "Domain": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableGlobalWriteForwarding": { + "type": "boolean" + }, + "EnableHttpEndpoint": { + "type": "boolean" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnableLocalWriteForwarding": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineMode": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBCluster.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MonitoringInterval": { + "type": "number" + }, + "MonitoringRoleArn": { + "type": "string" + }, + "NetworkType": { + "type": "string" + }, + "PerformanceInsightsEnabled": { + "type": "boolean" + }, + "PerformanceInsightsKmsKeyId": { + "type": "string" + }, + "PerformanceInsightsRetentionPeriod": { + "type": "number" + }, + "Port": { + "type": "number" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicationSourceIdentifier": { + "type": "string" + }, + "RestoreToTime": { + "type": "string" + }, + "RestoreType": { + "type": "string" + }, + "ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" + }, + "ServerlessV2ScalingConfiguration": { + "$ref": "#/definitions/AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration" + }, + "SnapshotIdentifier": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VpcSecurityGroupIds": { + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - } - }, - "required": [ - "EventType", - "SnapshotOwner" - ], - "type": "object" - }, - "AWS::DLM::LifecyclePolicy.EventSource": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventParameters" + "type": "object" }, "Type": { + "enum": [ + "AWS::RDS::DBCluster" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, @@ -30097,166 +24209,94 @@ ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.FastRestoreRule": { + "AWS::RDS::DBCluster.DBClusterRole": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" + "FeatureName": { + "type": "string" }, - "IntervalUnit": { + "RoleArn": { "type": "string" } }, + "required": [ + "RoleArn" + ], "type": "object" }, - "AWS::DLM::LifecyclePolicy.Parameters": { + "AWS::RDS::DBCluster.Endpoint": { "additionalProperties": false, "properties": { - "ExcludeBootVolume": { - "type": "boolean" + "Address": { + "type": "string" }, - "NoReboot": { - "type": "boolean" + "Port": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.PolicyDetails": { + "AWS::RDS::DBCluster.MasterUserSecret": { "additionalProperties": false, "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Action" - }, - "type": "array" - }, - "EventSource": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.EventSource" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Parameters" - }, - "PolicyType": { + "KmsKeyId": { "type": "string" }, - "ResourceLocations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Schedules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.Schedule" - }, - "type": "array" - }, - "TargetTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "SecretArn": { + "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.RetainRule": { + "AWS::RDS::DBCluster.ReadEndpoint": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" - }, - "Interval": { - "type": "number" - }, - "IntervalUnit": { + "Address": { "type": "string" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.Schedule": { + "AWS::RDS::DBCluster.ScalingConfiguration": { "additionalProperties": false, "properties": { - "CopyTags": { + "AutoPause": { "type": "boolean" }, - "CreateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CreateRule" + "MaxCapacity": { + "type": "number" }, - "CrossRegionCopyRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.CrossRegionCopyRule" - }, - "type": "array" + "MinCapacity": { + "type": "number" }, - "DeprecateRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.DeprecateRule" + "SecondsBeforeTimeout": { + "type": "number" }, - "FastRestoreRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.FastRestoreRule" + "SecondsUntilAutoPause": { + "type": "number" }, - "Name": { + "TimeoutAction": { "type": "string" - }, - "RetainRule": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.RetainRule" - }, - "ShareRules": { - "items": { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy.ShareRule" - }, - "type": "array" - }, - "TagsToAdd": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "type": "object" }, - "AWS::DLM::LifecyclePolicy.ShareRule": { + "AWS::RDS::DBCluster.ServerlessV2ScalingConfiguration": { "additionalProperties": false, "properties": { - "TargetAccounts": { - "items": { - "type": "string" - }, - "type": "array" + "MaxCapacity": { + "type": "number" }, - "UnshareInterval": { + "MinCapacity": { "type": "number" }, - "UnshareIntervalUnit": { - "type": "string" + "SecondsUntilAutoPause": { + "type": "number" } }, "type": "object" }, - "AWS::DMS::Certificate": { + "AWS::RDS::DBClusterParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30288,21 +24328,35 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateIdentifier": { + "DBClusterParameterGroupName": { "type": "string" }, - "CertificatePem": { + "Description": { "type": "string" }, - "CertificateWallet": { + "Family": { "type": "string" + }, + "Parameters": { + "type": "object" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, + "required": [ + "Description", + "Family", + "Parameters" + ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::Certificate" + "AWS::RDS::DBClusterParameterGroup" ], "type": "string" }, @@ -30316,11 +24370,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::DMS::Endpoint": { + "AWS::RDS::DBInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30352,114 +24407,272 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { + "AllocatedStorage": { "type": "string" }, - "DatabaseName": { + "AllowMajorVersionUpgrade": { + "type": "boolean" + }, + "ApplyImmediately": { + "type": "boolean" + }, + "AssociatedRoles": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" + }, + "type": "array" + }, + "AutoMinorVersionUpgrade": { + "type": "boolean" + }, + "AutomaticBackupReplicationKmsKeyId": { + "type": "string" + }, + "AutomaticBackupReplicationRegion": { + "type": "string" + }, + "AvailabilityZone": { "type": "string" }, - "DocDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DocDbSettings" + "BackupRetentionPeriod": { + "type": "number" + }, + "CACertificateIdentifier": { + "type": "string" }, - "DynamoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.DynamoDbSettings" + "CertificateDetails": { + "$ref": "#/definitions/AWS::RDS::DBInstance.CertificateDetails" }, - "ElasticsearchSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.ElasticsearchSettings" + "CertificateRotationRestart": { + "type": "boolean" }, - "EndpointIdentifier": { + "CharacterSetName": { "type": "string" }, - "EndpointType": { + "CopyTagsToSnapshot": { + "type": "boolean" + }, + "CustomIAMInstanceProfile": { "type": "string" }, - "EngineName": { + "DBClusterIdentifier": { "type": "string" }, - "ExtraConnectionAttributes": { + "DBClusterSnapshotIdentifier": { "type": "string" }, - "IbmDb2Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.IbmDb2Settings" + "DBInstanceClass": { + "type": "string" }, - "KafkaSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KafkaSettings" + "DBInstanceIdentifier": { + "type": "string" }, - "KinesisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.KinesisSettings" + "DBName": { + "type": "string" }, - "KmsKeyId": { + "DBParameterGroupName": { + "type": "string" + }, + "DBSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DBSnapshotIdentifier": { + "type": "string" + }, + "DBSubnetGroupName": { "type": "string" }, - "MicrosoftSqlServerSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MicrosoftSqlServerSettings" + "DBSystemId": { + "type": "string" }, - "MongoDbSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MongoDbSettings" + "DedicatedLogVolume": { + "type": "boolean" }, - "MySqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.MySqlSettings" + "DeleteAutomatedBackups": { + "type": "boolean" }, - "NeptuneSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.NeptuneSettings" + "DeletionProtection": { + "type": "boolean" }, - "OracleSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.OracleSettings" + "Domain": { + "type": "string" }, - "Password": { + "DomainAuthSecretArn": { "type": "string" }, - "Port": { + "DomainDnsIps": { + "items": { + "type": "string" + }, + "type": "array" + }, + "DomainFqdn": { + "type": "string" + }, + "DomainIAMRoleName": { + "type": "string" + }, + "DomainOu": { + "type": "string" + }, + "EnableCloudwatchLogsExports": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableIAMDatabaseAuthentication": { + "type": "boolean" + }, + "EnablePerformanceInsights": { + "type": "boolean" + }, + "Endpoint": { + "$ref": "#/definitions/AWS::RDS::DBInstance.Endpoint" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "Iops": { + "type": "number" + }, + "KmsKeyId": { + "type": "string" + }, + "LicenseModel": { + "type": "string" + }, + "ManageMasterUserPassword": { + "type": "boolean" + }, + "MasterUserPassword": { + "type": "string" + }, + "MasterUserSecret": { + "$ref": "#/definitions/AWS::RDS::DBInstance.MasterUserSecret" + }, + "MasterUsername": { + "type": "string" + }, + "MaxAllocatedStorage": { "type": "number" }, - "PostgreSqlSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.PostgreSqlSettings" + "MonitoringInterval": { + "type": "number" }, - "RedisSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedisSettings" + "MonitoringRoleArn": { + "type": "string" }, - "RedshiftSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.RedshiftSettings" + "MultiAZ": { + "type": "boolean" }, - "ResourceIdentifier": { + "NcharCharacterSetName": { "type": "string" }, - "S3Settings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.S3Settings" + "NetworkType": { + "type": "string" }, - "ServerName": { + "OptionGroupName": { "type": "string" }, - "SslMode": { + "PerformanceInsightsKMSKeyId": { "type": "string" }, - "SybaseSettings": { - "$ref": "#/definitions/AWS::DMS::Endpoint.SybaseSettings" + "PerformanceInsightsRetentionPeriod": { + "type": "number" }, - "Tags": { + "Port": { + "type": "string" + }, + "PreferredBackupWindow": { + "type": "string" + }, + "PreferredMaintenanceWindow": { + "type": "string" + }, + "ProcessorFeatures": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" }, "type": "array" }, - "Username": { + "PromotionTier": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" + }, + "ReplicaMode": { "type": "string" - } - }, - "required": [ - "EndpointType", - "EngineName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DMS::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ + }, + "RestoreTime": { + "type": "string" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "SourceDBInstanceAutomatedBackupsArn": { + "type": "string" + }, + "SourceDBInstanceIdentifier": { + "type": "string" + }, + "SourceDbiResourceId": { + "type": "string" + }, + "SourceRegion": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "StorageThroughput": { + "type": "number" + }, + "StorageType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "Timezone": { + "type": "string" + }, + "UseDefaultProcessorFeatures": { + "type": "boolean" + }, + "UseLatestRestorableTime": { + "type": "boolean" + }, + "VPCSecurityGroups": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Type": { + "enum": [ + "AWS::RDS::DBInstance" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ "Delete", "Retain", "Snapshot" @@ -30468,351 +24681,78 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DMS::Endpoint.DocDbSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.DynamoDbSettings": { - "additionalProperties": false, - "properties": { - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.ElasticsearchSettings": { - "additionalProperties": false, - "properties": { - "EndpointUri": { - "type": "string" - }, - "ErrorRetryDuration": { - "type": "number" - }, - "FullLoadErrorPercentage": { - "type": "number" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.IbmDb2Settings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KafkaSettings": { - "additionalProperties": false, - "properties": { - "Broker": { - "type": "string" - }, - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "SaslPassword": { - "type": "string" - }, - "SaslUserName": { - "type": "string" - }, - "SecurityProtocol": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslClientCertificateArn": { - "type": "string" - }, - "SslClientKeyArn": { - "type": "string" - }, - "SslClientKeyPassword": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.KinesisSettings": { - "additionalProperties": false, - "properties": { - "IncludeControlDetails": { - "type": "boolean" - }, - "IncludeNullAndEmpty": { - "type": "boolean" - }, - "IncludeTableAlterOperations": { - "type": "boolean" - }, - "IncludeTransactionDetails": { - "type": "boolean" - }, - "MessageFormat": { - "type": "string" - }, - "NoHexPrefix": { - "type": "boolean" - }, - "PartitionIncludeSchemaTable": { - "type": "boolean" - }, - "ServiceAccessRoleArn": { - "type": "string" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MicrosoftSqlServerSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MongoDbSettings": { - "additionalProperties": false, - "properties": { - "AuthMechanism": { - "type": "string" - }, - "AuthSource": { - "type": "string" - }, - "AuthType": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DocsToInvestigate": { - "type": "string" - }, - "ExtractDocId": { - "type": "string" - }, - "NestingLevel": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - }, - "ServerName": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.MySqlSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.NeptuneSettings": { - "additionalProperties": false, - "properties": { - "ErrorRetryDuration": { - "type": "number" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "MaxFileSize": { - "type": "number" - }, - "MaxRetryCount": { - "type": "number" - }, - "S3BucketFolder": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "ServiceAccessRoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.OracleSettings": { + "AWS::RDS::DBInstance.CertificateDetails": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmAccessRoleArn": { - "type": "string" - }, - "SecretsManagerOracleAsmSecretId": { + "CAIdentifier": { "type": "string" }, - "SecretsManagerSecretId": { + "ValidTill": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.PostgreSqlSettings": { + "AWS::RDS::DBInstance.DBInstanceRole": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "FeatureName": { "type": "string" }, - "SecretsManagerSecretId": { + "RoleArn": { "type": "string" } }, + "required": [ + "FeatureName", + "RoleArn" + ], "type": "object" }, - "AWS::DMS::Endpoint.RedisSettings": { + "AWS::RDS::DBInstance.Endpoint": { "additionalProperties": false, "properties": { - "AuthPassword": { - "type": "string" - }, - "AuthType": { + "Address": { "type": "string" }, - "AuthUserName": { + "HostedZoneId": { "type": "string" }, "Port": { - "type": "number" - }, - "ServerName": { - "type": "string" - }, - "SslCaCertificateArn": { - "type": "string" - }, - "SslSecurityProtocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DMS::Endpoint.RedshiftSettings": { - "additionalProperties": false, - "properties": { - "SecretsManagerAccessRoleArn": { - "type": "string" - }, - "SecretsManagerSecretId": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.S3Settings": { + "AWS::RDS::DBInstance.MasterUserSecret": { "additionalProperties": false, "properties": { - "BucketFolder": { - "type": "string" - }, - "BucketName": { - "type": "string" - }, - "CompressionType": { - "type": "string" - }, - "CsvDelimiter": { - "type": "string" - }, - "CsvRowDelimiter": { - "type": "string" - }, - "ExternalTableDefinition": { + "KmsKeyId": { "type": "string" }, - "ServiceAccessRoleArn": { + "SecretArn": { "type": "string" } }, "type": "object" }, - "AWS::DMS::Endpoint.SybaseSettings": { + "AWS::RDS::DBInstance.ProcessorFeature": { "additionalProperties": false, "properties": { - "SecretsManagerAccessRoleArn": { + "Name": { "type": "string" }, - "SecretsManagerSecretId": { + "Value": { "type": "string" } }, "type": "object" }, - "AWS::DMS::EventSubscription": { + "AWS::RDS::DBParameterGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30844,30 +24784,18 @@ "Properties": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { + "DBParameterGroupName": { "type": "string" }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { + "Description": { "type": "string" }, - "SubscriptionName": { + "Family": { "type": "string" }, + "Parameters": { + "type": "object" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -30876,13 +24804,14 @@ } }, "required": [ - "SnsTopicArn" + "Description", + "Family" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::EventSubscription" + "AWS::RDS::DBParameterGroup" ], "type": "string" }, @@ -30901,7 +24830,7 @@ ], "type": "object" }, - "AWS::DMS::ReplicationInstance": { + "AWS::RDS::DBProxy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -30933,48 +24862,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AllocatedStorage": { - "type": "number" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" + "Auth": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" + }, + "type": "array" }, - "PreferredMaintenanceWindow": { + "DBProxyName": { "type": "string" }, - "PubliclyAccessible": { + "DebugLogging": { "type": "boolean" }, - "ReplicationInstanceClass": { + "EngineFamily": { "type": "string" }, - "ReplicationInstanceIdentifier": { - "type": "string" + "IdleClientTimeout": { + "type": "number" }, - "ReplicationSubnetGroupIdentifier": { - "type": "string" + "RequireTLS": { + "type": "boolean" }, - "ResourceIdentifier": { + "RoleArn": { "type": "string" }, "Tags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" }, "type": "array" }, @@ -30983,16 +24897,26 @@ "type": "string" }, "type": "array" + }, + "VpcSubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "ReplicationInstanceClass" + "Auth", + "DBProxyName", + "EngineFamily", + "RoleArn", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationInstance" + "AWS::RDS::DBProxy" ], "type": "string" }, @@ -31011,7 +24935,40 @@ ], "type": "object" }, - "AWS::DMS::ReplicationSubnetGroup": { + "AWS::RDS::DBProxy.AuthFormat": { + "additionalProperties": false, + "properties": { + "AuthScheme": { + "type": "string" + }, + "ClientPasswordAuthType": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "IAMAuth": { + "type": "string" + }, + "SecretArn": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxy.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyEndpoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31043,34 +25000,44 @@ "Properties": { "additionalProperties": false, "properties": { - "ReplicationSubnetGroupDescription": { + "DBProxyEndpointName": { "type": "string" }, - "ReplicationSubnetGroupIdentifier": { + "DBProxyName": { "type": "string" }, - "SubnetIds": { + "Tags": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" + }, + "type": "array" + }, + "TargetRole": { + "type": "string" + }, + "VpcSecurityGroupIds": { "items": { "type": "string" }, "type": "array" }, - "Tags": { + "VpcSubnetIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, "required": [ - "ReplicationSubnetGroupDescription", - "SubnetIds" + "DBProxyEndpointName", + "DBProxyName", + "VpcSubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationSubnetGroup" + "AWS::RDS::DBProxyEndpoint" ], "type": "string" }, @@ -31089,7 +25056,19 @@ ], "type": "object" }, - "AWS::DMS::ReplicationTask": { + "AWS::RDS::DBProxyEndpoint.TagFormat": { + "additionalProperties": false, + "properties": { + "Key": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::RDS::DBProxyTargetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31121,61 +25100,37 @@ "Properties": { "additionalProperties": false, "properties": { - "CdcStartPosition": { - "type": "string" - }, - "CdcStartTime": { - "type": "number" - }, - "CdcStopPosition": { - "type": "string" - }, - "MigrationType": { - "type": "string" - }, - "ReplicationInstanceArn": { - "type": "string" - }, - "ReplicationTaskIdentifier": { - "type": "string" - }, - "ReplicationTaskSettings": { - "type": "string" - }, - "ResourceIdentifier": { - "type": "string" - }, - "SourceEndpointArn": { - "type": "string" + "ConnectionPoolConfigurationInfo": { + "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" }, - "TableMappings": { - "type": "string" + "DBClusterIdentifiers": { + "items": { + "type": "string" + }, + "type": "array" }, - "Tags": { + "DBInstanceIdentifiers": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "TargetEndpointArn": { + "DBProxyName": { "type": "string" }, - "TaskData": { + "TargetGroupName": { "type": "string" } }, "required": [ - "MigrationType", - "ReplicationInstanceArn", - "SourceEndpointArn", - "TableMappings", - "TargetEndpointArn" + "DBProxyName", + "TargetGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DMS::ReplicationTask" + "AWS::RDS::DBProxyTargetGroup" ], "type": "string" }, @@ -31194,7 +25149,31 @@ ], "type": "object" }, - "AWS::DataBrew::Dataset": { + "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { + "additionalProperties": false, + "properties": { + "ConnectionBorrowTimeout": { + "type": "number" + }, + "InitQuery": { + "type": "string" + }, + "MaxConnectionsPercent": { + "type": "number" + }, + "MaxIdleConnectionsPercent": { + "type": "number" + }, + "SessionPinningFilters": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AWS::RDS::DBSecurityGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31226,20 +25205,17 @@ "Properties": { "additionalProperties": false, "properties": { - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FormatOptions" - }, - "Input": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Input" + "DBSecurityGroupIngress": { + "items": { + "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" + }, + "type": "array" }, - "Name": { + "EC2VpcId": { "type": "string" }, - "PathOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathOptions" + "GroupDescription": { + "type": "string" }, "Tags": { "items": { @@ -31249,14 +25225,14 @@ } }, "required": [ - "Input", - "Name" + "DBSecurityGroupIngress", + "GroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Dataset" + "AWS::RDS::DBSecurityGroup" ], "type": "string" }, @@ -31275,275 +25251,25 @@ ], "type": "object" }, - "AWS::DataBrew::Dataset.CsvOptions": { + "AWS::RDS::DBSecurityGroup.Ingress": { "additionalProperties": false, "properties": { - "Delimiter": { + "CIDRIP": { "type": "string" }, - "HeaderRow": { - "type": "boolean" + "EC2SecurityGroupId": { + "type": "string" + }, + "EC2SecurityGroupName": { + "type": "string" + }, + "EC2SecurityGroupOwnerId": { + "type": "string" } }, "type": "object" }, - "AWS::DataBrew::Dataset.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.DatabaseInputDefinition": { - "additionalProperties": false, - "properties": { - "DatabaseTableName": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - }, - "QueryString": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "required": [ - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatasetParameter": { - "additionalProperties": false, - "properties": { - "CreateColumn": { - "type": "boolean" - }, - "DatetimeOptions": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatetimeOptions" - }, - "Filter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.DatetimeOptions": { - "additionalProperties": false, - "properties": { - "Format": { - "type": "string" - }, - "LocaleCode": { - "type": "string" - }, - "TimezoneOffset": { - "type": "string" - } - }, - "required": [ - "Format" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.ExcelOptions": { - "additionalProperties": false, - "properties": { - "HeaderRow": { - "type": "boolean" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.FilesLimit": { - "additionalProperties": false, - "properties": { - "MaxFiles": { - "type": "number" - }, - "Order": { - "type": "string" - }, - "OrderedBy": { - "type": "string" - } - }, - "required": [ - "MaxFiles" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterExpression": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "ValuesMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterValue" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ValuesMap" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FilterValue": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "ValueReference": { - "type": "string" - } - }, - "required": [ - "Value", - "ValueReference" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.FormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.CsvOptions" - }, - "Excel": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.ExcelOptions" - }, - "Json": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.JsonOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Input": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DataCatalogInputDefinition" - }, - "DatabaseInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatabaseInputDefinition" - }, - "Metadata": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.Metadata" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.JsonOptions": { - "additionalProperties": false, - "properties": { - "MultiLine": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.Metadata": { - "additionalProperties": false, - "properties": { - "SourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathOptions": { - "additionalProperties": false, - "properties": { - "FilesLimit": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilesLimit" - }, - "LastModifiedDateCondition": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.FilterExpression" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.PathParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Dataset.PathParameter": { - "additionalProperties": false, - "properties": { - "DatasetParameter": { - "$ref": "#/definitions/AWS::DataBrew::Dataset.DatasetParameter" - }, - "PathParameterName": { - "type": "string" - } - }, - "required": [ - "DatasetParameter", - "PathParameterName" - ], - "type": "object" - }, - "AWS::DataBrew::Dataset.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job": { + "AWS::RDS::DBSecurityGroupIngress": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -31575,92 +25301,30 @@ "Properties": { "additionalProperties": false, "properties": { - "DataCatalogOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DataCatalogOutput" - }, - "type": "array" - }, - "DatabaseOutputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseOutput" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "EncryptionKeyArn": { - "type": "string" - }, - "EncryptionMode": { - "type": "string" - }, - "JobSample": { - "$ref": "#/definitions/AWS::DataBrew::Job.JobSample" - }, - "LogSubscription": { + "CIDRIP": { "type": "string" }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { + "DBSecurityGroupName": { "type": "string" }, - "OutputLocation": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputLocation" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.Output" - }, - "type": "array" - }, - "ProfileConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.ProfileConfiguration" - }, - "ProjectName": { + "EC2SecurityGroupId": { "type": "string" }, - "Recipe": { - "$ref": "#/definitions/AWS::DataBrew::Job.Recipe" - }, - "RoleArn": { + "EC2SecurityGroupName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "Type": { + "EC2SecurityGroupOwnerId": { "type": "string" - }, - "ValidationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ValidationConfiguration" - }, - "type": "array" } }, "required": [ - "Name", - "RoleArn", - "Type" + "DBSecurityGroupName" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Job" + "AWS::RDS::DBSecurityGroupIngress" ], "type": "string" }, @@ -31679,327 +25343,7 @@ ], "type": "object" }, - "AWS::DataBrew::Job.AllowedStatistics": { - "additionalProperties": false, - "properties": { - "Statistics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ColumnStatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - }, - "Statistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - } - }, - "required": [ - "Statistics" - ], - "type": "object" - }, - "AWS::DataBrew::Job.CsvOutputOptions": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.DataCatalogOutput": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "Overwrite": { - "type": "boolean" - }, - "S3Options": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3TableOutputOptions" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseOutput": { - "additionalProperties": false, - "properties": { - "DatabaseOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.DatabaseTableOutputOptions" - }, - "DatabaseOutputMode": { - "type": "string" - }, - "GlueConnectionName": { - "type": "string" - } - }, - "required": [ - "DatabaseOptions", - "GlueConnectionName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.DatabaseTableOutputOptions": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::DataBrew::Job.EntityDetectorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedStatistics": { - "$ref": "#/definitions/AWS::DataBrew::Job.AllowedStatistics" - }, - "EntityTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes" - ], - "type": "object" - }, - "AWS::DataBrew::Job.JobSample": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - }, - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Output": { - "additionalProperties": false, - "properties": { - "CompressionFormat": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "FormatOptions": { - "$ref": "#/definitions/AWS::DataBrew::Job.OutputFormatOptions" - }, - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - }, - "Overwrite": { - "type": "boolean" - }, - "PartitionColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.OutputFormatOptions": { - "additionalProperties": false, - "properties": { - "Csv": { - "$ref": "#/definitions/AWS::DataBrew::Job.CsvOutputOptions" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.OutputLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Job.ProfileConfiguration": { - "additionalProperties": false, - "properties": { - "ColumnStatisticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnStatisticsConfiguration" - }, - "type": "array" - }, - "DatasetStatisticsConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticsConfiguration" - }, - "EntityDetectorConfiguration": { - "$ref": "#/definitions/AWS::DataBrew::Job.EntityDetectorConfiguration" - }, - "ProfileColumns": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.ColumnSelector" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.Recipe": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Job.S3TableOutputOptions": { - "additionalProperties": false, - "properties": { - "Location": { - "$ref": "#/definitions/AWS::DataBrew::Job.S3Location" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticOverride": { - "additionalProperties": false, - "properties": { - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Job.ParameterMap" - }, - "Statistic": { - "type": "string" - } - }, - "required": [ - "Parameters", - "Statistic" - ], - "type": "object" - }, - "AWS::DataBrew::Job.StatisticsConfiguration": { - "additionalProperties": false, - "properties": { - "IncludedStatistics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Job.StatisticOverride" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::DataBrew::Job.ValidationConfiguration": { - "additionalProperties": false, - "properties": { - "RulesetArn": { - "type": "string" - }, - "ValidationMode": { - "type": "string" - } - }, - "required": [ - "RulesetArn" - ], - "type": "object" - }, - "AWS::DataBrew::Project": { + "AWS::RDS::DBShardGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32031,20 +25375,23 @@ "Properties": { "additionalProperties": false, "properties": { - "DatasetName": { - "type": "string" + "ComputeRedundancy": { + "type": "number" }, - "Name": { + "DBClusterIdentifier": { "type": "string" }, - "RecipeName": { + "DBShardGroupIdentifier": { "type": "string" }, - "RoleArn": { - "type": "string" + "MaxACU": { + "type": "number" }, - "Sample": { - "$ref": "#/definitions/AWS::DataBrew::Project.Sample" + "MinACU": { + "type": "number" + }, + "PubliclyAccessible": { + "type": "boolean" }, "Tags": { "items": { @@ -32054,16 +25401,14 @@ } }, "required": [ - "DatasetName", - "Name", - "RecipeName", - "RoleArn" + "DBClusterIdentifier", + "MaxACU" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Project" + "AWS::RDS::DBShardGroup" ], "type": "string" }, @@ -32082,22 +25427,7 @@ ], "type": "object" }, - "AWS::DataBrew::Project.Sample": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe": { + "AWS::RDS::DBSubnetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32129,15 +25459,15 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "DBSubnetGroupDescription": { "type": "string" }, - "Name": { + "DBSubnetGroupName": { "type": "string" }, - "Steps": { + "SubnetIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.RecipeStep" + "type": "string" }, "type": "array" }, @@ -32149,14 +25479,14 @@ } }, "required": [ - "Name", - "Steps" + "DBSubnetGroupDescription", + "SubnetIds" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Recipe" + "AWS::RDS::DBSubnetGroup" ], "type": "string" }, @@ -32175,427 +25505,7 @@ ], "type": "object" }, - "AWS::DataBrew::Recipe.Action": { - "additionalProperties": false, - "properties": { - "Operation": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ParameterMap" - } - }, - "required": [ - "Operation" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.ConditionExpression": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Condition", - "TargetColumn" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.DataCatalogInputDefinition": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "TempDirectory": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.ParameterMap": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeParameters": { - "additionalProperties": false, - "properties": { - "AggregateFunction": { - "type": "string" - }, - "Base": { - "type": "string" - }, - "CaseStatement": { - "type": "string" - }, - "CategoryMap": { - "type": "string" - }, - "CharsToRemove": { - "type": "string" - }, - "CollapseConsecutiveWhitespace": { - "type": "string" - }, - "ColumnDataType": { - "type": "string" - }, - "ColumnRange": { - "type": "string" - }, - "Count": { - "type": "string" - }, - "CustomCharacters": { - "type": "string" - }, - "CustomStopWords": { - "type": "string" - }, - "CustomValue": { - "type": "string" - }, - "DatasetsColumns": { - "type": "string" - }, - "DateAddValue": { - "type": "string" - }, - "DateTimeFormat": { - "type": "string" - }, - "DateTimeParameters": { - "type": "string" - }, - "DeleteOtherRows": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "EndPattern": { - "type": "string" - }, - "EndPosition": { - "type": "string" - }, - "EndValue": { - "type": "string" - }, - "ExpandContractions": { - "type": "string" - }, - "Exponent": { - "type": "string" - }, - "FalseString": { - "type": "string" - }, - "GroupByAggFunctionOptions": { - "type": "string" - }, - "GroupByColumns": { - "type": "string" - }, - "HiddenColumns": { - "type": "string" - }, - "IgnoreCase": { - "type": "string" - }, - "IncludeInSplit": { - "type": "string" - }, - "Input": { - "type": "object" - }, - "Interval": { - "type": "string" - }, - "IsText": { - "type": "string" - }, - "JoinKeys": { - "type": "string" - }, - "JoinType": { - "type": "string" - }, - "LeftColumns": { - "type": "string" - }, - "Limit": { - "type": "string" - }, - "LowerBound": { - "type": "string" - }, - "MapType": { - "type": "string" - }, - "ModeType": { - "type": "string" - }, - "MultiLine": { - "type": "boolean" - }, - "NumRows": { - "type": "string" - }, - "NumRowsAfter": { - "type": "string" - }, - "NumRowsBefore": { - "type": "string" - }, - "OrderByColumn": { - "type": "string" - }, - "OrderByColumns": { - "type": "string" - }, - "Other": { - "type": "string" - }, - "Pattern": { - "type": "string" - }, - "PatternOption1": { - "type": "string" - }, - "PatternOption2": { - "type": "string" - }, - "PatternOptions": { - "type": "string" - }, - "Period": { - "type": "string" - }, - "Position": { - "type": "string" - }, - "RemoveAllPunctuation": { - "type": "string" - }, - "RemoveAllQuotes": { - "type": "string" - }, - "RemoveAllWhitespace": { - "type": "string" - }, - "RemoveCustomCharacters": { - "type": "string" - }, - "RemoveCustomValue": { - "type": "string" - }, - "RemoveLeadingAndTrailingPunctuation": { - "type": "string" - }, - "RemoveLeadingAndTrailingQuotes": { - "type": "string" - }, - "RemoveLeadingAndTrailingWhitespace": { - "type": "string" - }, - "RemoveLetters": { - "type": "string" - }, - "RemoveNumbers": { - "type": "string" - }, - "RemoveSourceColumn": { - "type": "string" - }, - "RemoveSpecialCharacters": { - "type": "string" - }, - "RightColumns": { - "type": "string" - }, - "SampleSize": { - "type": "string" - }, - "SampleType": { - "type": "string" - }, - "SecondInput": { - "type": "string" - }, - "SecondaryInputs": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.SecondaryInput" - }, - "type": "array" - }, - "SheetIndexes": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SheetNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "SourceColumn1": { - "type": "string" - }, - "SourceColumn2": { - "type": "string" - }, - "SourceColumns": { - "type": "string" - }, - "StartColumnIndex": { - "type": "string" - }, - "StartPattern": { - "type": "string" - }, - "StartPosition": { - "type": "string" - }, - "StartValue": { - "type": "string" - }, - "StemmingMode": { - "type": "string" - }, - "StepCount": { - "type": "string" - }, - "StepIndex": { - "type": "string" - }, - "StopWordsMode": { - "type": "string" - }, - "Strategy": { - "type": "string" - }, - "TargetColumn": { - "type": "string" - }, - "TargetColumnNames": { - "type": "string" - }, - "TargetDateFormat": { - "type": "string" - }, - "TargetIndex": { - "type": "string" - }, - "TimeZone": { - "type": "string" - }, - "TokenizerPattern": { - "type": "string" - }, - "TrueString": { - "type": "string" - }, - "UdfLang": { - "type": "string" - }, - "Units": { - "type": "string" - }, - "UnpivotColumn": { - "type": "string" - }, - "UpperBound": { - "type": "string" - }, - "UseNewDataFrame": { - "type": "string" - }, - "Value": { - "type": "string" - }, - "Value1": { - "type": "string" - }, - "Value2": { - "type": "string" - }, - "ValueColumn": { - "type": "string" - }, - "ViewFrame": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Recipe.RecipeStep": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.Action" - }, - "ConditionExpressions": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.ConditionExpression" - }, - "type": "array" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::DataBrew::Recipe.SecondaryInput": { - "additionalProperties": false, - "properties": { - "DataCatalogInputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.DataCatalogInputDefinition" - }, - "S3InputDefinition": { - "$ref": "#/definitions/AWS::DataBrew::Recipe.S3Location" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset": { + "AWS::RDS::EventSubscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32627,38 +25537,45 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Name": { + "EventCategories": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SnsTopicArn": { "type": "string" }, - "Rules": { + "SourceIds": { "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Rule" + "type": "string" }, "type": "array" }, + "SourceType": { + "type": "string" + }, + "SubscriptionName": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "TargetArn": { - "type": "string" } }, "required": [ - "Name", - "Rules", - "TargetArn" + "SnsTopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Ruleset" + "AWS::RDS::EventSubscription" ], "type": "string" }, @@ -32677,87 +25594,101 @@ ], "type": "object" }, - "AWS::DataBrew::Ruleset.ColumnSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataBrew::Ruleset.Rule": { + "AWS::RDS::GlobalCluster": { "additionalProperties": false, "properties": { - "CheckExpression": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" }, - "ColumnSelectors": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.ColumnSelector" - }, - "type": "array" - }, - "Disabled": { - "type": "boolean" + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] }, - "Name": { - "type": "string" + "Metadata": { + "type": "object" }, - "SubstitutionMap": { - "items": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.SubstitutionValue" + "Properties": { + "additionalProperties": false, + "properties": { + "DeletionProtection": { + "type": "boolean" + }, + "Engine": { + "type": "string" + }, + "EngineLifecycleSupport": { + "type": "string" + }, + "EngineVersion": { + "type": "string" + }, + "GlobalClusterIdentifier": { + "type": "string" + }, + "GlobalEndpoint": { + "$ref": "#/definitions/AWS::RDS::GlobalCluster.GlobalEndpoint" + }, + "SourceDBClusterIdentifier": { + "type": "string" + }, + "StorageEncrypted": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } }, - "type": "array" + "type": "object" }, - "Threshold": { - "$ref": "#/definitions/AWS::DataBrew::Ruleset.Threshold" - } - }, - "required": [ - "CheckExpression", - "Name" - ], - "type": "object" - }, - "AWS::DataBrew::Ruleset.SubstitutionValue": { - "additionalProperties": false, - "properties": { - "Value": { + "Type": { + "enum": [ + "AWS::RDS::GlobalCluster" + ], "type": "string" }, - "ValueReference": { + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], "type": "string" } }, "required": [ - "Value", - "ValueReference" + "Type" ], "type": "object" }, - "AWS::DataBrew::Ruleset.Threshold": { + "AWS::RDS::GlobalCluster.GlobalEndpoint": { "additionalProperties": false, "properties": { - "Type": { - "type": "string" - }, - "Unit": { + "Address": { "type": "string" - }, - "Value": { - "type": "number" } }, - "required": [ - "Value" - ], "type": "object" }, - "AWS::DataBrew::Schedule": { + "AWS::RDS::Integration": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32789,16 +25720,28 @@ "Properties": { "additionalProperties": false, "properties": { - "CronExpression": { + "AdditionalEncryptionContext": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DataFilter": { "type": "string" }, - "JobNames": { - "items": { - "type": "string" - }, - "type": "array" + "Description": { + "type": "string" }, - "Name": { + "IntegrationName": { + "type": "string" + }, + "KMSKeyId": { + "type": "string" + }, + "SourceArn": { "type": "string" }, "Tags": { @@ -32806,17 +25749,20 @@ "$ref": "#/definitions/Tag" }, "type": "array" + }, + "TargetArn": { + "type": "string" } }, "required": [ - "CronExpression", - "Name" + "SourceArn", + "TargetArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataBrew::Schedule" + "AWS::RDS::Integration" ], "type": "string" }, @@ -32835,7 +25781,7 @@ ], "type": "object" }, - "AWS::DataPipeline::Pipeline": { + "AWS::RDS::OptionGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -32867,49 +25813,41 @@ "Properties": { "additionalProperties": false, "properties": { - "Activate": { - "type": "boolean" - }, - "Description": { + "EngineName": { "type": "string" }, - "Name": { + "MajorEngineVersion": { "type": "string" }, - "ParameterObjects": { + "OptionConfigurations": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterObject" + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" }, "type": "array" }, - "ParameterValues": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterValue" - }, - "type": "array" + "OptionGroupDescription": { + "type": "string" }, - "PipelineObjects": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineObject" - }, - "type": "array" + "OptionGroupName": { + "type": "string" }, - "PipelineTags": { + "Tags": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.PipelineTag" + "$ref": "#/definitions/Tag" }, "type": "array" } }, "required": [ - "Name", - "ParameterObjects" + "EngineName", + "MajorEngineVersion", + "OptionGroupDescription" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataPipeline::Pipeline" + "AWS::RDS::OptionGroup" ], "type": "string" }, @@ -32928,115 +25866,55 @@ ], "type": "object" }, - "AWS::DataPipeline::Pipeline.Field": { + "AWS::RDS::OptionGroup.OptionConfiguration": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" + "DBSecurityGroupMemberships": { + "items": { + "type": "string" + }, + "type": "array" }, - "RefValue": { + "OptionName": { "type": "string" }, - "StringValue": { + "OptionSettings": { + "items": { + "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" + }, + "type": "array" + }, + "OptionVersion": { "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Key", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterObject": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.ParameterAttribute" - }, - "type": "array" }, - "Id": { - "type": "string" - } - }, - "required": [ - "Attributes", - "Id" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.ParameterValue": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" + "Port": { + "type": "number" }, - "StringValue": { - "type": "string" - } - }, - "required": [ - "Id", - "StringValue" - ], - "type": "object" - }, - "AWS::DataPipeline::Pipeline.PipelineObject": { - "additionalProperties": false, - "properties": { - "Fields": { + "VpcSecurityGroupMemberships": { "items": { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline.Field" + "type": "string" }, "type": "array" - }, - "Id": { - "type": "string" - }, - "Name": { - "type": "string" } }, "required": [ - "Fields", - "Id", - "Name" + "OptionName" ], "type": "object" }, - "AWS::DataPipeline::Pipeline.PipelineTag": { + "AWS::RDS::OptionGroup.OptionSetting": { "additionalProperties": false, "properties": { - "Key": { + "Name": { "type": "string" }, "Value": { "type": "string" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::DataSync::Agent": { + "AWS::RolesAnywhere::CRL": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33068,23 +25946,14 @@ "Properties": { "additionalProperties": false, "properties": { - "ActivationKey": { - "type": "string" - }, - "AgentName": { + "CrlData": { "type": "string" }, - "SecurityGroupArns": { - "items": { - "type": "string" - }, - "type": "array" + "Enabled": { + "type": "boolean" }, - "SubnetArns": { - "items": { - "type": "string" - }, - "type": "array" + "Name": { + "type": "string" }, "Tags": { "items": { @@ -33092,18 +25961,19 @@ }, "type": "array" }, - "VpcEndpointId": { + "TrustAnchorArn": { "type": "string" } }, "required": [ - "ActivationKey" + "CrlData", + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Agent" + "AWS::RolesAnywhere::CRL" ], "type": "string" }, @@ -33122,7 +25992,7 @@ ], "type": "object" }, - "AWS::DataSync::LocationEFS": { + "AWS::RolesAnywhere::Profile": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33154,13 +26024,40 @@ "Properties": { "additionalProperties": false, "properties": { - "Ec2Config": { - "$ref": "#/definitions/AWS::DataSync::LocationEFS.Ec2Config" + "AcceptRoleSessionName": { + "type": "boolean" + }, + "AttributeMappings": { + "items": { + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.AttributeMapping" + }, + "type": "array" + }, + "DurationSeconds": { + "type": "number" + }, + "Enabled": { + "type": "boolean" + }, + "ManagedPolicyArns": { + "items": { + "type": "string" + }, + "type": "array" }, - "EfsFilesystemArn": { + "Name": { "type": "string" }, - "Subdirectory": { + "RequireInstanceProperties": { + "type": "boolean" + }, + "RoleArns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SessionPolicy": { "type": "string" }, "Tags": { @@ -33171,14 +26068,14 @@ } }, "required": [ - "Ec2Config", - "EfsFilesystemArn" + "Name", + "RoleArns" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationEFS" + "AWS::RolesAnywhere::Profile" ], "type": "string" }, @@ -33197,26 +26094,38 @@ ], "type": "object" }, - "AWS::DataSync::LocationEFS.Ec2Config": { + "AWS::RolesAnywhere::Profile.AttributeMapping": { "additionalProperties": false, "properties": { - "SecurityGroupArns": { + "CertificateField": { + "type": "string" + }, + "MappingRules": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile.MappingRule" }, "type": "array" - }, - "SubnetArn": { + } + }, + "required": [ + "CertificateField", + "MappingRules" + ], + "type": "object" + }, + "AWS::RolesAnywhere::Profile.MappingRule": { + "additionalProperties": false, + "properties": { + "Specifier": { "type": "string" } }, "required": [ - "SecurityGroupArns", - "SubnetArn" + "Specifier" ], "type": "object" }, - "AWS::DataSync::LocationFSxWindows": { + "AWS::RolesAnywhere::TrustAnchor": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33248,45 +26157,37 @@ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "FsxFilesystemArn": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "Password": { + "Name": { "type": "string" }, - "SecurityGroupArns": { + "NotificationSettings": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.NotificationSetting" }, "type": "array" }, - "Subdirectory": { - "type": "string" + "Source": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.Source" }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "User": { - "type": "string" } }, "required": [ - "FsxFilesystemArn", - "Password", - "SecurityGroupArns", - "User" + "Name", + "Source" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationFSxWindows" + "AWS::RolesAnywhere::TrustAnchor" ], "type": "string" }, @@ -33305,144 +26206,53 @@ ], "type": "object" }, - "AWS::DataSync::LocationHDFS": { + "AWS::RolesAnywhere::TrustAnchor.NotificationSetting": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Channel": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationType": { - "type": "string" - }, - "BlockSize": { - "type": "number" - }, - "KerberosKeytab": { - "type": "string" - }, - "KerberosKrb5Conf": { - "type": "string" - }, - "KerberosPrincipal": { - "type": "string" - }, - "KmsKeyProviderUri": { - "type": "string" - }, - "NameNodes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.NameNode" - }, - "type": "array" - }, - "QopConfiguration": { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS.QopConfiguration" - }, - "ReplicationFactor": { - "type": "number" - }, - "SimpleUser": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AgentArns", - "AuthenticationType", - "NameNodes" - ], - "type": "object" + "Enabled": { + "type": "boolean" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationHDFS" - ], + "Event": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Threshold": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "Enabled", + "Event" ], "type": "object" }, - "AWS::DataSync::LocationHDFS.NameNode": { + "AWS::RolesAnywhere::TrustAnchor.Source": { "additionalProperties": false, "properties": { - "Hostname": { - "type": "string" + "SourceData": { + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor.SourceData" }, - "Port": { - "type": "number" + "SourceType": { + "type": "string" } }, - "required": [ - "Hostname", - "Port" - ], "type": "object" }, - "AWS::DataSync::LocationHDFS.QopConfiguration": { + "AWS::RolesAnywhere::TrustAnchor.SourceData": { "additionalProperties": false, "properties": { - "DataTransferProtection": { + "AcmPcaArn": { "type": "string" }, - "RpcProtection": { + "X509CertificateData": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::LocationNFS": { + "AWS::Route53::CidrCollection": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33474,35 +26284,24 @@ "Properties": { "additionalProperties": false, "properties": { - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.MountOptions" - }, - "OnPremConfig": { - "$ref": "#/definitions/AWS::DataSync::LocationNFS.OnPremConfig" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { + "Locations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::CidrCollection.Location" }, "type": "array" + }, + "Name": { + "type": "string" } }, "required": [ - "OnPremConfig", - "ServerHostname", - "Subdirectory" + "Name" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationNFS" + "AWS::Route53::CidrCollection" ], "type": "string" }, @@ -33521,31 +26320,26 @@ ], "type": "object" }, - "AWS::DataSync::LocationNFS.MountOptions": { - "additionalProperties": false, - "properties": { - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::DataSync::LocationNFS.OnPremConfig": { + "AWS::Route53::CidrCollection.Location": { "additionalProperties": false, "properties": { - "AgentArns": { + "CidrList": { "items": { "type": "string" }, "type": "array" + }, + "LocationName": { + "type": "string" } }, "required": [ - "AgentArns" + "CidrList", + "LocationName" ], "type": "object" }, - "AWS::DataSync::LocationObjectStorage": { + "AWS::Route53::DNSSEC": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33577,50 +26371,18 @@ "Properties": { "additionalProperties": false, "properties": { - "AccessKey": { - "type": "string" - }, - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BucketName": { - "type": "string" - }, - "SecretKey": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "ServerPort": { - "type": "number" - }, - "ServerProtocol": { - "type": "string" - }, - "Subdirectory": { + "HostedZoneId": { "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" } }, "required": [ - "AgentArns", - "BucketName", - "ServerHostname" + "HostedZoneId" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationObjectStorage" + "AWS::Route53::DNSSEC" ], "type": "string" }, @@ -33639,7 +26401,7 @@ ], "type": "object" }, - "AWS::DataSync::LocationS3": { + "AWS::Route53::HealthCheck": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33671,34 +26433,24 @@ "Properties": { "additionalProperties": false, "properties": { - "S3BucketArn": { - "type": "string" - }, - "S3Config": { - "$ref": "#/definitions/AWS::DataSync::LocationS3.S3Config" - }, - "S3StorageClass": { - "type": "string" - }, - "Subdirectory": { - "type": "string" + "HealthCheckConfig": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckConfig" }, - "Tags": { + "HealthCheckTags": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" }, "type": "array" } }, "required": [ - "S3BucketArn", - "S3Config" + "HealthCheckConfig" ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::LocationS3" + "AWS::Route53::HealthCheck" ], "type": "string" }, @@ -33717,121 +26469,105 @@ ], "type": "object" }, - "AWS::DataSync::LocationS3.S3Config": { + "AWS::Route53::HealthCheck.AlarmIdentifier": { "additionalProperties": false, "properties": { - "BucketAccessRoleArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" } }, "required": [ - "BucketAccessRoleArn" + "Name", + "Region" ], "type": "object" }, - "AWS::DataSync::LocationSMB": { + "AWS::Route53::HealthCheck.HealthCheckConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AlarmIdentifier": { + "$ref": "#/definitions/AWS::Route53::HealthCheck.AlarmIdentifier" + }, + "ChildHealthChecks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "EnableSNI": { + "type": "boolean" + }, + "FailureThreshold": { + "type": "number" + }, + "FullyQualifiedDomainName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "HealthThreshold": { + "type": "number" }, - "Metadata": { - "type": "object" + "IPAddress": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Domain": { - "type": "string" - }, - "MountOptions": { - "$ref": "#/definitions/AWS::DataSync::LocationSMB.MountOptions" - }, - "Password": { - "type": "string" - }, - "ServerHostname": { - "type": "string" - }, - "Subdirectory": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "User": { - "type": "string" - } + "InsufficientDataHealthStatus": { + "type": "string" + }, + "Inverted": { + "type": "boolean" + }, + "MeasureLatency": { + "type": "boolean" + }, + "Port": { + "type": "number" + }, + "Regions": { + "items": { + "type": "string" }, - "required": [ - "AgentArns", - "Password", - "ServerHostname", - "Subdirectory", - "User" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DataSync::LocationSMB" - ], + "RequestInterval": { + "type": "number" + }, + "ResourcePath": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RoutingControlArn": { + "type": "string" + }, + "SearchString": { + "type": "string" + }, + "Type": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::LocationSMB.MountOptions": { + "AWS::Route53::HealthCheck.HealthCheckTag": { "additionalProperties": false, "properties": { - "Version": { + "Key": { + "type": "string" + }, + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" }, - "AWS::DataSync::Task": { + "AWS::Route53::HostedZone": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -33863,52 +26599,33 @@ "Properties": { "additionalProperties": false, "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "DestinationLocationArn": { - "type": "string" - }, - "Excludes": { - "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" - }, - "type": "array" + "HostedZoneConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" }, - "Includes": { + "HostedZoneTags": { "items": { - "$ref": "#/definitions/AWS::DataSync::Task.FilterRule" + "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" }, "type": "array" }, "Name": { "type": "string" }, - "Options": { - "$ref": "#/definitions/AWS::DataSync::Task.Options" - }, - "Schedule": { - "$ref": "#/definitions/AWS::DataSync::Task.TaskSchedule" - }, - "SourceLocationArn": { - "type": "string" + "QueryLoggingConfig": { + "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" }, - "Tags": { + "VPCs": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" }, "type": "array" } }, - "required": [ - "DestinationLocationArn", - "SourceLocationArn" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DataSync::Task" + "AWS::Route53::HostedZone" ], "type": "string" }, @@ -33922,84 +26639,64 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DataSync::Task.FilterRule": { + "AWS::Route53::HostedZone.HostedZoneConfig": { "additionalProperties": false, "properties": { - "FilterType": { - "type": "string" - }, - "Value": { + "Comment": { "type": "string" } }, "type": "object" }, - "AWS::DataSync::Task.Options": { + "AWS::Route53::HostedZone.HostedZoneTag": { "additionalProperties": false, "properties": { - "Atime": { - "type": "string" - }, - "BytesPerSecond": { - "type": "number" - }, - "Gid": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "Mtime": { - "type": "string" - }, - "OverwriteMode": { - "type": "string" - }, - "PosixPermissions": { - "type": "string" - }, - "PreserveDeletedFiles": { - "type": "string" - }, - "PreserveDevices": { - "type": "string" - }, - "SecurityDescriptorCopyFlags": { - "type": "string" - }, - "TaskQueueing": { - "type": "string" - }, - "TransferMode": { + "Key": { "type": "string" }, - "Uid": { + "Value": { "type": "string" - }, - "VerifyMode": { + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::Route53::HostedZone.QueryLoggingConfig": { + "additionalProperties": false, + "properties": { + "CloudWatchLogsLogGroupArn": { "type": "string" } }, + "required": [ + "CloudWatchLogsLogGroupArn" + ], "type": "object" }, - "AWS::DataSync::Task.TaskSchedule": { + "AWS::Route53::HostedZone.VPC": { "additionalProperties": false, "properties": { - "ScheduleExpression": { + "VPCId": { + "type": "string" + }, + "VPCRegion": { "type": "string" } }, "required": [ - "ScheduleExpression" + "VPCId", + "VPCRegion" ], "type": "object" }, - "AWS::Detective::Graph": { + "AWS::Route53::KeySigningKey": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34031,18 +26728,30 @@ "Properties": { "additionalProperties": false, "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "HostedZoneId": { + "type": "string" + }, + "KeyManagementServiceArn": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "type": "string" } }, + "required": [ + "HostedZoneId", + "KeyManagementServiceArn", + "Name", + "Status" + ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::Graph" + "AWS::Route53::KeySigningKey" ], "type": "string" }, @@ -34056,11 +26765,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::Detective::MemberInvitation": { + "AWS::Route53::RecordSet": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34092,32 +26802,70 @@ "Properties": { "additionalProperties": false, "properties": { - "DisableEmailNotification": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSet.CidrRoutingConfig" + }, + "Comment": { + "type": "string" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSet.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { "type": "boolean" }, - "GraphArn": { + "Name": { + "type": "string" + }, + "Region": { "type": "string" }, - "MemberEmailAddress": { + "ResourceRecords": { + "items": { + "type": "string" + }, + "type": "array" + }, + "SetIdentifier": { "type": "string" }, - "MemberId": { + "TTL": { "type": "string" }, - "Message": { + "Type": { "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "GraphArn", - "MemberEmailAddress", - "MemberId" + "Name", + "Type" ], "type": "object" }, "Type": { "enum": [ - "AWS::Detective::MemberInvitation" + "AWS::Route53::RecordSet" ], "type": "string" }, @@ -34136,87 +26884,91 @@ ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel": { + "AWS::Route53::RecordSet.AliasTarget": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "DNSName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "EvaluateTargetHealth": { + "type": "boolean" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Config": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig" - } - }, - "required": [ - "Config" - ], - "type": "object" + "HostedZoneId": { + "type": "string" + } + }, + "required": [ + "DNSName", + "HostedZoneId" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.CidrRoutingConfig": { + "additionalProperties": false, + "properties": { + "CollectionId": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DevOpsGuru::NotificationChannel" - ], + "LocationName": { + "type": "string" + } + }, + "required": [ + "CollectionId", + "LocationName" + ], + "type": "object" + }, + "AWS::Route53::RecordSet.Coordinates": { + "additionalProperties": false, + "properties": { + "Latitude": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Longitude": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Latitude", + "Longitude" ], "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.NotificationChannelConfig": { + "AWS::Route53::RecordSet.GeoLocation": { "additionalProperties": false, "properties": { - "Sns": { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig" + "ContinentCode": { + "type": "string" + }, + "CountryCode": { + "type": "string" + }, + "SubdivisionCode": { + "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::NotificationChannel.SnsChannelConfig": { + "AWS::Route53::RecordSet.GeoProximityLocation": { "additionalProperties": false, "properties": { - "TopicArn": { + "AWSRegion": { + "type": "string" + }, + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSet.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection": { + "AWS::Route53::RecordSetGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34248,18 +27000,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ResourceCollectionFilter": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter" + "Comment": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "RecordSets": { + "items": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" + }, + "type": "array" } }, - "required": [ - "ResourceCollectionFilter" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DevOpsGuru::ResourceCollection" + "AWS::Route53::RecordSetGroup" ], "type": "string" }, @@ -34273,134 +27034,156 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter": { + "AWS::Route53::RecordSetGroup.AliasTarget": { "additionalProperties": false, "properties": { - "StackNames": { - "items": { - "type": "string" - }, - "type": "array" + "DNSName": { + "type": "string" + }, + "EvaluateTargetHealth": { + "type": "boolean" + }, + "HostedZoneId": { + "type": "string" } }, + "required": [ + "DNSName", + "HostedZoneId" + ], "type": "object" }, - "AWS::DevOpsGuru::ResourceCollection.ResourceCollectionFilter": { + "AWS::Route53::RecordSetGroup.CidrRoutingConfig": { "additionalProperties": false, "properties": { - "CloudFormation": { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection.CloudFormationCollectionFilter" + "CollectionId": { + "type": "string" + }, + "LocationName": { + "type": "string" } }, + "required": [ + "CollectionId", + "LocationName" + ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD": { + "AWS::Route53::RecordSetGroup.Coordinates": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Latitude": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" + "Longitude": { + "type": "string" + } + }, + "required": [ + "Latitude", + "Longitude" + ], + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoLocation": { + "additionalProperties": false, + "properties": { + "ContinentCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "CreateAlias": { - "type": "boolean" - }, - "Edition": { - "type": "string" - }, - "EnableSso": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "ShortName": { - "type": "string" - }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD.VpcSettings" - } - }, - "required": [ - "Name", - "Password", - "VpcSettings" - ], - "type": "object" + "CountryCode": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::DirectoryService::MicrosoftAD" - ], + "SubdivisionCode": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Route53::RecordSetGroup.GeoProximityLocation": { + "additionalProperties": false, + "properties": { + "AWSRegion": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Bias": { + "type": "number" + }, + "Coordinates": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.Coordinates" + }, + "LocalZoneGroup": { "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::DirectoryService::MicrosoftAD.VpcSettings": { + "AWS::Route53::RecordSetGroup.RecordSet": { "additionalProperties": false, "properties": { - "SubnetIds": { + "AliasTarget": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" + }, + "CidrRoutingConfig": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.CidrRoutingConfig" + }, + "Failover": { + "type": "string" + }, + "GeoLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" + }, + "GeoProximityLocation": { + "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoProximityLocation" + }, + "HealthCheckId": { + "type": "string" + }, + "HostedZoneId": { + "type": "string" + }, + "HostedZoneName": { + "type": "string" + }, + "MultiValueAnswer": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Region": { + "type": "string" + }, + "ResourceRecords": { "items": { "type": "string" }, "type": "array" }, - "VpcId": { + "SetIdentifier": { + "type": "string" + }, + "TTL": { "type": "string" + }, + "Type": { + "type": "string" + }, + "Weight": { + "type": "number" } }, "required": [ - "SubnetIds", - "VpcId" + "Name", + "Type" ], "type": "object" }, - "AWS::DirectoryService::SimpleAD": { + "AWS::S3::AccessGrant": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34432,42 +27215,41 @@ "Properties": { "additionalProperties": false, "properties": { - "CreateAlias": { - "type": "boolean" + "AccessGrantsLocationConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessGrant.AccessGrantsLocationConfiguration" }, - "Description": { + "AccessGrantsLocationId": { "type": "string" }, - "EnableSso": { - "type": "boolean" - }, - "Name": { + "ApplicationArn": { "type": "string" }, - "Password": { - "type": "string" + "Grantee": { + "$ref": "#/definitions/AWS::S3::AccessGrant.Grantee" }, - "ShortName": { + "Permission": { "type": "string" }, - "Size": { + "S3PrefixType": { "type": "string" }, - "VpcSettings": { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD.VpcSettings" + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ - "Name", - "Password", - "Size", - "VpcSettings" + "AccessGrantsLocationId", + "Grantee", + "Permission" ], "type": "object" }, "Type": { "enum": [ - "AWS::DirectoryService::SimpleAD" + "AWS::S3::AccessGrant" ], "type": "string" }, @@ -34486,26 +27268,35 @@ ], "type": "object" }, - "AWS::DirectoryService::SimpleAD.VpcSettings": { + "AWS::S3::AccessGrant.AccessGrantsLocationConfiguration": { "additionalProperties": false, "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" + "S3SubPrefix": { + "type": "string" + } + }, + "required": [ + "S3SubPrefix" + ], + "type": "object" + }, + "AWS::S3::AccessGrant.Grantee": { + "additionalProperties": false, + "properties": { + "GranteeIdentifier": { + "type": "string" }, - "VpcId": { + "GranteeType": { "type": "string" } }, "required": [ - "SubnetIds", - "VpcId" + "GranteeIdentifier", + "GranteeType" ], "type": "object" }, - "AWS::DocDB::DBCluster": { + "AWS::S3::AccessGrantsInstance": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34537,82 +27328,21 @@ "Properties": { "additionalProperties": false, "properties": { - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotIdentifier": { + "IdentityCenterArn": { "type": "string" }, - "StorageEncrypted": { - "type": "boolean" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" }, "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" } }, - "required": [ - "MasterUserPassword", - "MasterUsername" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBCluster" + "AWS::S3::AccessGrantsInstance" ], "type": "string" }, @@ -34626,12 +27356,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBClusterParameterGroup": { + "AWS::S3::AccessGrantsLocation": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34663,18 +27392,12 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "Family": { + "IamRoleArn": { "type": "string" }, - "Name": { + "LocationScope": { "type": "string" }, - "Parameters": { - "type": "object" - }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -34682,16 +27405,11 @@ "type": "array" } }, - "required": [ - "Description", - "Family", - "Parameters" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBClusterParameterGroup" + "AWS::S3::AccessGrantsLocation" ], "type": "string" }, @@ -34705,12 +27423,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DocDB::DBInstance": { + "AWS::S3::AccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34742,40 +27459,33 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { + "Bucket": { "type": "string" }, - "DBClusterIdentifier": { + "BucketAccountId": { "type": "string" }, - "DBInstanceClass": { + "Name": { "type": "string" }, - "DBInstanceIdentifier": { - "type": "string" + "Policy": { + "type": "object" }, - "PreferredMaintenanceWindow": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "VpcConfiguration": { + "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" } }, "required": [ - "DBClusterIdentifier", - "DBInstanceClass" + "Bucket" ], "type": "object" }, "Type": { "enum": [ - "AWS::DocDB::DBInstance" + "AWS::S3::AccessPoint" ], "type": "string" }, @@ -34794,7 +27504,34 @@ ], "type": "object" }, - "AWS::DocDB::DBSubnetGroup": { + "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::AccessPoint.VpcConfiguration": { + "additionalProperties": false, + "properties": { + "VpcId": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -34826,143 +27563,90 @@ "Properties": { "additionalProperties": false, "properties": { - "DBSubnetGroupDescription": { + "AccelerateConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" + }, + "AccessControl": { "type": "string" }, - "DBSubnetGroupName": { + "AnalyticsConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" + }, + "type": "array" + }, + "BucketEncryption": { + "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" + }, + "BucketName": { "type": "string" }, - "SubnetIds": { + "CorsConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" + }, + "IntelligentTieringConfigurations": { "items": { - "type": "string" + "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" }, "type": "array" }, - "Tags": { + "InventoryConfigurations": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" }, "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::DocDB::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::DynamoDB::GlobalTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.AttributeDefinition" - }, - "type": "array" + "LifecycleConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" }, - "BillingMode": { - "type": "string" + "LoggingConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex" - }, - "type": "array" + "MetadataTableConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.MetadataTableConfiguration" }, - "KeySchema": { + "MetricsConfigurations": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" }, "type": "array" }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.LocalSecondaryIndex" - }, - "type": "array" + "NotificationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" }, - "Replicas": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSpecification" - }, - "type": "array" + "ObjectLockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.SSESpecification" + "ObjectLockEnabled": { + "type": "boolean" + }, + "OwnershipControls": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.StreamSpecification" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" }, - "TableName": { - "type": "string" + "ReplicationConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TimeToLiveSpecification" + "VersioningConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" + "WebsiteConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" } }, - "required": [ - "AttributeDefinitions", - "KeySchema", - "Replicas" - ], "type": "object" }, "Type": { "enum": [ - "AWS::DynamoDB::GlobalTable" + "AWS::S3::Bucket" ], "type": "string" }, @@ -34976,1235 +27660,1073 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.AttributeDefinition": { + "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeType": { - "type": "string" + "DaysAfterInitiation": { + "type": "number" } }, "required": [ - "AttributeName", - "AttributeType" + "DaysAfterInitiation" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings": { + "AWS::S3::Bucket.AccelerateConfiguration": { "additionalProperties": false, "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SeedCapacity": { - "type": "number" - }, - "TargetTrackingScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus": { + "type": "string" } }, "required": [ - "MaxCapacity", - "MinCapacity", - "TargetTrackingScalingPolicyConfiguration" + "AccelerationStatus" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification": { + "AWS::S3::Bucket.AccessControlTranslation": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Owner": { + "type": "string" } }, "required": [ - "Enabled" + "Owner" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.GlobalSecondaryIndex": { + "AWS::S3::Bucket.AnalyticsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "StorageClassAnalysis": { + "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" + }, + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" - }, - "WriteProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id", + "StorageClassAnalysis" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.KeySchema": { + "AWS::S3::Bucket.BucketEncryption": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "ServerSideEncryptionConfiguration": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" + }, + "type": "array" } }, "required": [ - "AttributeName", - "KeyType" + "ServerSideEncryptionConfiguration" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.LocalSecondaryIndex": { + "AWS::S3::Bucket.CorsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { - "type": "string" - }, - "KeySchema": { + "CorsRules": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "CorsRules" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::GlobalTable.Projection": { + "AWS::S3::Bucket.CorsRule": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { + "AllowedHeaders": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedMethods": { + "items": { + "type": "string" + }, + "type": "array" + }, + "AllowedOrigins": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ExposedHeaders": { "items": { "type": "string" }, "type": "array" }, - "ProjectionType": { + "Id": { "type": "string" + }, + "MaxAge": { + "type": "number" } }, + "required": [ + "AllowedMethods", + "AllowedOrigins" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings": { + "AWS::S3::Bucket.DataExport": { "additionalProperties": false, "properties": { - "ReadCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "ReadCapacityUnits": { - "type": "number" + "OutputSchemaVersion": { + "type": "string" } }, + "required": [ + "Destination", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification": { + "AWS::S3::Bucket.DefaultRetention": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" + "Days": { + "type": "number" }, - "IndexName": { + "Mode": { "type": "string" }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "Years": { + "type": "number" } }, - "required": [ - "IndexName" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSSESpecification": { + "AWS::S3::Bucket.DeleteMarkerReplication": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { + "Status": { "type": "string" } }, - "required": [ - "KMSMasterKeyId" - ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.ReplicaSpecification": { + "AWS::S3::Bucket.Destination": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaGlobalSecondaryIndexSpecification" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.PointInTimeRecoverySpecification" - }, - "ReadProvisionedThroughputSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReadProvisionedThroughputSettings" + "BucketAccountId": { + "type": "string" }, - "Region": { + "BucketArn": { "type": "string" }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.ReplicaSSESpecification" + "Format": { + "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "Prefix": { + "type": "string" } }, "required": [ - "Region" + "BucketArn", + "Format" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.SSESpecification": { + "AWS::S3::Bucket.EncryptionConfiguration": { "additionalProperties": false, "properties": { - "SSEEnabled": { - "type": "boolean" - }, - "SSEType": { + "ReplicaKmsKeyID": { "type": "string" } }, "required": [ - "SSEEnabled" + "ReplicaKmsKeyID" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.StreamSpecification": { + "AWS::S3::Bucket.EventBridgeConfiguration": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "EventBridgeEnabled": { + "type": "boolean" } }, "required": [ - "StreamViewType" + "EventBridgeEnabled" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TargetTrackingScalingPolicyConfiguration": { + "AWS::S3::Bucket.FilterRule": { "additionalProperties": false, "properties": { - "DisableScaleIn": { - "type": "boolean" - }, - "ScaleInCooldown": { - "type": "number" - }, - "ScaleOutCooldown": { - "type": "number" + "Name": { + "type": "string" }, - "TargetValue": { - "type": "number" + "Value": { + "type": "string" } }, "required": [ - "TargetValue" + "Name", + "Value" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.TimeToLiveSpecification": { + "AWS::S3::Bucket.IntelligentTieringConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Id": { "type": "string" }, - "Enabled": { - "type": "boolean" + "Prefix": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Tierings": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Tiering" + }, + "type": "array" } }, "required": [ - "Enabled" + "Id", + "Status", + "Tierings" ], "type": "object" }, - "AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings": { - "additionalProperties": false, - "properties": { - "WriteCapacityAutoScalingSettings": { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable.CapacityAutoScalingSettings" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table": { + "AWS::S3::Bucket.InventoryConfiguration": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.Destination" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Enabled": { + "type": "boolean" }, - "Metadata": { - "type": "object" + "Id": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributeDefinitions": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.AttributeDefinition" - }, - "type": "array" - }, - "BillingMode": { - "type": "string" - }, - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "GlobalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.GlobalSecondaryIndex" - }, - "type": "array" - }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "KinesisStreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KinesisStreamSpecification" - }, - "LocalSecondaryIndexes": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.LocalSecondaryIndex" - }, - "type": "array" - }, - "PointInTimeRecoverySpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.PointInTimeRecoverySpecification" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.SSESpecification" - }, - "StreamSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.StreamSpecification" - }, - "TableClass": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeToLiveSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.TimeToLiveSpecification" - } + "IncludedObjectVersions": { + "type": "string" + }, + "OptionalFields": { + "items": { + "type": "string" }, - "required": [ - "KeySchema" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::DynamoDB::Table" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ScheduleFrequency": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Destination", + "Enabled", + "Id", + "IncludedObjectVersions", + "ScheduleFrequency" ], "type": "object" }, - "AWS::DynamoDB::Table.AttributeDefinition": { + "AWS::S3::Bucket.LambdaConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "Event": { "type": "string" }, - "AttributeType": { + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Function": { "type": "string" } }, "required": [ - "AttributeName", - "AttributeType" + "Event", + "Function" ], "type": "object" }, - "AWS::DynamoDB::Table.ContributorInsightsSpecification": { + "AWS::S3::Bucket.LifecycleConfiguration": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Rule" + }, + "type": "array" + }, + "TransitionDefaultMinimumObjectSize": { + "type": "string" } }, "required": [ - "Enabled" + "Rules" ], "type": "object" }, - "AWS::DynamoDB::Table.GlobalSecondaryIndex": { + "AWS::S3::Bucket.LoggingConfiguration": { "additionalProperties": false, "properties": { - "ContributorInsightsSpecification": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ContributorInsightsSpecification" - }, - "IndexName": { + "DestinationBucketName": { "type": "string" }, - "KeySchema": { - "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" - }, - "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" + "LogFilePrefix": { + "type": "string" }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::DynamoDB::Table.ProvisionedThroughput" + "TargetObjectKeyFormat": { + "$ref": "#/definitions/AWS::S3::Bucket.TargetObjectKeyFormat" } }, - "required": [ - "IndexName", - "KeySchema", - "Projection" - ], "type": "object" }, - "AWS::DynamoDB::Table.KeySchema": { + "AWS::S3::Bucket.MetadataTableConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { - "type": "string" - }, - "KeyType": { - "type": "string" + "S3TablesDestination": { + "$ref": "#/definitions/AWS::S3::Bucket.S3TablesDestination" } }, "required": [ - "AttributeName", - "KeyType" + "S3TablesDestination" ], "type": "object" }, - "AWS::DynamoDB::Table.KinesisStreamSpecification": { + "AWS::S3::Bucket.Metrics": { "additionalProperties": false, "properties": { - "StreamArn": { + "EventThreshold": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" + }, + "Status": { "type": "string" } }, "required": [ - "StreamArn" + "Status" ], "type": "object" }, - "AWS::DynamoDB::Table.LocalSecondaryIndex": { + "AWS::S3::Bucket.MetricsConfiguration": { "additionalProperties": false, "properties": { - "IndexName": { + "AccessPointArn": { + "type": "string" + }, + "Id": { + "type": "string" + }, + "Prefix": { "type": "string" }, - "KeySchema": { + "TagFilters": { "items": { - "$ref": "#/definitions/AWS::DynamoDB::Table.KeySchema" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" - }, - "Projection": { - "$ref": "#/definitions/AWS::DynamoDB::Table.Projection" } }, "required": [ - "IndexName", - "KeySchema", - "Projection" + "Id" ], "type": "object" }, - "AWS::DynamoDB::Table.PointInTimeRecoverySpecification": { - "additionalProperties": false, - "properties": { - "PointInTimeRecoveryEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::DynamoDB::Table.Projection": { + "AWS::S3::Bucket.NoncurrentVersionExpiration": { "additionalProperties": false, "properties": { - "NonKeyAttributes": { - "items": { - "type": "string" - }, - "type": "array" + "NewerNoncurrentVersions": { + "type": "number" }, - "ProjectionType": { - "type": "string" + "NoncurrentDays": { + "type": "number" } }, + "required": [ + "NoncurrentDays" + ], "type": "object" }, - "AWS::DynamoDB::Table.ProvisionedThroughput": { + "AWS::S3::Bucket.NoncurrentVersionTransition": { "additionalProperties": false, "properties": { - "ReadCapacityUnits": { + "NewerNoncurrentVersions": { "type": "number" }, - "WriteCapacityUnits": { + "StorageClass": { + "type": "string" + }, + "TransitionInDays": { "type": "number" } }, "required": [ - "ReadCapacityUnits", - "WriteCapacityUnits" + "StorageClass", + "TransitionInDays" ], "type": "object" }, - "AWS::DynamoDB::Table.SSESpecification": { + "AWS::S3::Bucket.NotificationConfiguration": { "additionalProperties": false, "properties": { - "KMSMasterKeyId": { - "type": "string" + "EventBridgeConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" }, - "SSEEnabled": { - "type": "boolean" + "LambdaConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" + }, + "type": "array" }, - "SSEType": { - "type": "string" + "QueueConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" + }, + "type": "array" + }, + "TopicConfigurations": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" + }, + "type": "array" } }, - "required": [ - "SSEEnabled" - ], "type": "object" }, - "AWS::DynamoDB::Table.StreamSpecification": { + "AWS::S3::Bucket.NotificationFilter": { "additionalProperties": false, "properties": { - "StreamViewType": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" } }, "required": [ - "StreamViewType" + "S3Key" ], "type": "object" }, - "AWS::DynamoDB::Table.TimeToLiveSpecification": { + "AWS::S3::Bucket.ObjectLockConfiguration": { "additionalProperties": false, "properties": { - "AttributeName": { + "ObjectLockEnabled": { "type": "string" }, - "Enabled": { + "Rule": { + "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ObjectLockRule": { + "additionalProperties": false, + "properties": { + "DefaultRetention": { + "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControls": { + "additionalProperties": false, + "properties": { + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" + }, + "type": "array" + } + }, + "required": [ + "Rules" + ], + "type": "object" + }, + "AWS::S3::Bucket.OwnershipControlsRule": { + "additionalProperties": false, + "properties": { + "ObjectOwnership": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PartitionedPrefix": { + "additionalProperties": false, + "properties": { + "PartitionDateSource": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { "type": "boolean" } }, + "type": "object" + }, + "AWS::S3::Bucket.QueueConfiguration": { + "additionalProperties": false, + "properties": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Queue": { + "type": "string" + } + }, "required": [ - "AttributeName", - "Enabled" + "Event", + "Queue" ], "type": "object" }, - "AWS::EC2::CapacityReservation": { + "AWS::S3::Bucket.RedirectAllRequestsTo": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HostName": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Protocol": { + "type": "string" + } + }, + "required": [ + "HostName" + ], + "type": "object" + }, + "AWS::S3::Bucket.RedirectRule": { + "additionalProperties": false, + "properties": { + "HostName": { + "type": "string" }, - "Metadata": { - "type": "object" + "HttpRedirectCode": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "EbsOptimized": { - "type": "boolean" - }, - "EndDate": { - "type": "string" - }, - "EndDateType": { - "type": "string" - }, - "EphemeralStorage": { - "type": "boolean" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstancePlatform": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "OutPostArn": { - "type": "string" - }, - "PlacementGroupArn": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservation.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceCount", - "InstancePlatform", - "InstanceType" - ], - "type": "object" + "Protocol": { + "type": "string" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservation" - ], + "ReplaceKeyPrefixWith": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ReplaceKeyWith": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicaModifications": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::CapacityReservation.TagSpecification": { + "AWS::S3::Bucket.ReplicationConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Role": { "type": "string" }, - "Tags": { + "Rules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" }, "type": "array" } }, + "required": [ + "Role", + "Rules" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet": { + "AWS::S3::Bucket.ReplicationDestination": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "AccessControlTranslation": { + "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" + }, + "Account": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "Bucket": { + "type": "string" }, - "Metadata": { - "type": "object" + "EncryptionConfiguration": { + "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "EndDate": { - "type": "string" - }, - "InstanceMatchCriteria": { - "type": "string" - }, - "InstanceTypeSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification" - }, - "type": "array" - }, - "NoRemoveEndDate": { - "type": "boolean" - }, - "RemoveEndDate": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet.TagSpecification" - }, - "type": "array" - }, - "Tenancy": { - "type": "string" - }, - "TotalTargetCapacity": { - "type": "number" - } - }, - "type": "object" + "Metrics": { + "$ref": "#/definitions/AWS::S3::Bucket.Metrics" }, - "Type": { - "enum": [ - "AWS::EC2::CapacityReservationFleet" - ], - "type": "string" + "ReplicationTime": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "StorageClass": { "type": "string" } }, "required": [ - "Type" + "Bucket" ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.InstanceTypeSpecification": { + "AWS::S3::Bucket.ReplicationRule": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" + "DeleteMarkerReplication": { + "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" }, - "AvailabilityZoneId": { - "type": "string" + "Destination": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" }, - "EbsOptimized": { - "type": "boolean" + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" }, - "InstancePlatform": { + "Id": { "type": "string" }, - "InstanceType": { + "Prefix": { "type": "string" }, "Priority": { "type": "number" }, - "Weight": { - "type": "number" + "SourceSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" + }, + "Status": { + "type": "string" } }, + "required": [ + "Destination", + "Status" + ], "type": "object" }, - "AWS::EC2::CapacityReservationFleet.TagSpecification": { + "AWS::S3::Bucket.ReplicationRuleAndOperator": { "additionalProperties": false, "properties": { - "ResourceType": { + "Prefix": { "type": "string" }, - "Tags": { + "TagFilters": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" }, "type": "array" } }, "type": "object" }, - "AWS::EC2::CarrierGateway": { + "AWS::S3::Bucket.ReplicationRuleFilter": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" + "And": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" }, - "Type": { - "enum": [ - "AWS::EC2::CarrierGateway" - ], + "Prefix": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "TagFilter": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.ReplicationTime": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" + }, + "Time": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" } }, "required": [ - "Type", - "Properties" + "Status", + "Time" ], "type": "object" }, - "AWS::EC2::ClientVpnAuthorizationRule": { + "AWS::S3::Bucket.ReplicationTimeValue": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessGroupId": { - "type": "string" - }, - "AuthorizeAllGroups": { - "type": "boolean" - }, - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "TargetNetworkCidr": { - "type": "string" - } - }, - "required": [ - "ClientVpnEndpointId", - "TargetNetworkCidr" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnAuthorizationRule" - ], - "type": "string" + "Minutes": { + "type": "number" + } + }, + "required": [ + "Minutes" + ], + "type": "object" + }, + "AWS::S3::Bucket.RoutingRule": { + "additionalProperties": false, + "properties": { + "RedirectRule": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "RoutingRuleCondition": { + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" } }, "required": [ - "Type", - "Properties" + "RedirectRule" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint": { + "AWS::S3::Bucket.RoutingRuleCondition": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "HttpErrorCodeReturnedEquals": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "KeyPrefixEquals": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Rule": { + "additionalProperties": false, + "properties": { + "AbortIncompleteMultipartUpload": { + "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" }, - "Metadata": { - "type": "object" + "ExpirationDate": { + "type": "string" }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationOptions": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest" - }, - "type": "array" - }, - "ClientCidrBlock": { - "type": "string" - }, - "ClientConnectOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ClientConnectOptions" - }, - "ConnectionLogOptions": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions" - }, - "Description": { - "type": "string" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfServicePortal": { - "type": "string" - }, - "ServerCertificateArn": { - "type": "string" - }, - "SplitTunnel": { - "type": "boolean" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.TagSpecification" - }, - "type": "array" - }, - "TransportProtocol": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnPort": { - "type": "number" - } + "ExpirationInDays": { + "type": "number" + }, + "ExpiredObjectDeleteMarker": { + "type": "boolean" + }, + "Id": { + "type": "string" + }, + "NoncurrentVersionExpiration": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" + }, + "NoncurrentVersionExpirationInDays": { + "type": "number" + }, + "NoncurrentVersionTransition": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" + }, + "NoncurrentVersionTransitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" }, - "required": [ - "AuthenticationOptions", - "ClientCidrBlock", - "ConnectionLogOptions", - "ServerCertificateArn" - ], - "type": "object" + "type": "array" }, - "Type": { - "enum": [ - "AWS::EC2::ClientVpnEndpoint" - ], + "ObjectSizeGreaterThan": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "ObjectSizeLessThan": { + "type": "string" + }, + "Prefix": { "type": "string" + }, + "Status": { + "type": "string" + }, + "TagFilters": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" + }, + "type": "array" + }, + "Transition": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "Transitions": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.Transition" + }, + "type": "array" } }, "required": [ - "Type", - "Properties" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest": { + "AWS::S3::Bucket.S3KeyFilter": { "additionalProperties": false, "properties": { - "ClientRootCertificateChainArn": { - "type": "string" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" + }, + "type": "array" } }, "required": [ - "ClientRootCertificateChainArn" + "Rules" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientAuthenticationRequest": { + "AWS::S3::Bucket.S3TablesDestination": { "additionalProperties": false, "properties": { - "ActiveDirectory": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest" + "TableArn": { + "type": "string" }, - "FederatedAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest" + "TableBucketArn": { + "type": "string" }, - "MutualAuthentication": { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint.CertificateAuthenticationRequest" + "TableName": { + "type": "string" }, - "Type": { + "TableNamespace": { "type": "string" } }, "required": [ - "Type" + "TableBucketArn", + "TableName" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ClientConnectOptions": { + "AWS::S3::Bucket.ServerSideEncryptionByDefault": { "additionalProperties": false, "properties": { - "Enabled": { + "KMSMasterKeyID": { + "type": "string" + }, + "SSEAlgorithm": { + "type": "string" + } + }, + "required": [ + "SSEAlgorithm" + ], + "type": "object" + }, + "AWS::S3::Bucket.ServerSideEncryptionRule": { + "additionalProperties": false, + "properties": { + "BucketKeyEnabled": { "type": "boolean" }, - "LambdaFunctionArn": { + "ServerSideEncryptionByDefault": { + "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SourceSelectionCriteria": { + "additionalProperties": false, + "properties": { + "ReplicaModifications": { + "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" + }, + "SseKmsEncryptedObjects": { + "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.SseKmsEncryptedObjects": { + "additionalProperties": false, + "properties": { + "Status": { "type": "string" } }, "required": [ - "Enabled" + "Status" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions": { + "AWS::S3::Bucket.StorageClassAnalysis": { "additionalProperties": false, "properties": { - "CloudwatchLogGroup": { + "DataExport": { + "$ref": "#/definitions/AWS::S3::Bucket.DataExport" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.TagFilter": { + "additionalProperties": false, + "properties": { + "Key": { "type": "string" }, - "CloudwatchLogStream": { + "Value": { "type": "string" + } + }, + "required": [ + "Key", + "Value" + ], + "type": "object" + }, + "AWS::S3::Bucket.TargetObjectKeyFormat": { + "additionalProperties": false, + "properties": { + "PartitionedPrefix": { + "$ref": "#/definitions/AWS::S3::Bucket.PartitionedPrefix" }, - "Enabled": { - "type": "boolean" + "SimplePrefix": { + "type": "object" + } + }, + "type": "object" + }, + "AWS::S3::Bucket.Tiering": { + "additionalProperties": false, + "properties": { + "AccessTier": { + "type": "string" + }, + "Days": { + "type": "number" } }, "required": [ - "Enabled" + "AccessTier", + "Days" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.DirectoryServiceAuthenticationRequest": { + "AWS::S3::Bucket.TopicConfiguration": { "additionalProperties": false, "properties": { - "DirectoryId": { + "Event": { + "type": "string" + }, + "Filter": { + "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" + }, + "Topic": { "type": "string" } }, "required": [ - "DirectoryId" + "Event", + "Topic" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.FederatedAuthenticationRequest": { + "AWS::S3::Bucket.Transition": { "additionalProperties": false, "properties": { - "SAMLProviderArn": { + "StorageClass": { "type": "string" }, - "SelfServiceSAMLProviderArn": { + "TransitionDate": { "type": "string" + }, + "TransitionInDays": { + "type": "number" } }, "required": [ - "SAMLProviderArn" + "StorageClass" ], "type": "object" }, - "AWS::EC2::ClientVpnEndpoint.TagSpecification": { + "AWS::S3::Bucket.VersioningConfiguration": { "additionalProperties": false, "properties": { - "ResourceType": { + "Status": { + "type": "string" + } + }, + "required": [ + "Status" + ], + "type": "object" + }, + "AWS::S3::Bucket.WebsiteConfiguration": { + "additionalProperties": false, + "properties": { + "ErrorDocument": { "type": "string" }, - "Tags": { + "IndexDocument": { + "type": "string" + }, + "RedirectAllRequestsTo": { + "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" + }, + "RoutingRules": { "items": { - "$ref": "#/definitions/Tag" + "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" }, "type": "array" } }, - "required": [ - "ResourceType", - "Tags" - ], "type": "object" }, - "AWS::EC2::ClientVpnRoute": { + "AWS::S3::BucketPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36236,29 +28758,22 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { + "Bucket": { "type": "string" }, - "TargetVpcSubnetId": { - "type": "string" + "PolicyDocument": { + "type": "object" } }, "required": [ - "ClientVpnEndpointId", - "DestinationCidrBlock", - "TargetVpcSubnetId" + "Bucket", + "PolicyDocument" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnRoute" + "AWS::S3::BucketPolicy" ], "type": "string" }, @@ -36277,7 +28792,7 @@ ], "type": "object" }, - "AWS::EC2::ClientVpnTargetNetworkAssociation": { + "AWS::S3::MultiRegionAccessPoint": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36309,22 +28824,27 @@ "Properties": { "additionalProperties": false, "properties": { - "ClientVpnEndpointId": { + "Name": { "type": "string" }, - "SubnetId": { - "type": "string" + "PublicAccessBlockConfiguration": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" + }, + "Regions": { + "items": { + "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" + }, + "type": "array" } }, "required": [ - "ClientVpnEndpointId", - "SubnetId" + "Regions" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::ClientVpnTargetNetworkAssociation" + "AWS::S3::MultiRegionAccessPoint" ], "type": "string" }, @@ -36343,7 +28863,40 @@ ], "type": "object" }, - "AWS::EC2::CustomerGateway": { + "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { + "additionalProperties": false, + "properties": { + "BlockPublicAcls": { + "type": "boolean" + }, + "BlockPublicPolicy": { + "type": "boolean" + }, + "IgnorePublicAcls": { + "type": "boolean" + }, + "RestrictPublicBuckets": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::S3::MultiRegionAccessPoint.Region": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "BucketAccountId": { + "type": "string" + } + }, + "required": [ + "Bucket" + ], + "type": "object" + }, + "AWS::S3::MultiRegionAccessPointPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36375,32 +28928,22 @@ "Properties": { "additionalProperties": false, "properties": { - "BgpAsn": { - "type": "number" - }, - "IpAddress": { + "MrapName": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" + "Policy": { + "type": "object" } }, "required": [ - "BgpAsn", - "IpAddress", - "Type" + "MrapName", + "Policy" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::CustomerGateway" + "AWS::S3::MultiRegionAccessPointPolicy" ], "type": "string" }, @@ -36419,7 +28962,19 @@ ], "type": "object" }, - "AWS::EC2::DHCPOptions": { + "AWS::S3::MultiRegionAccessPointPolicy.PolicyStatus": { + "additionalProperties": false, + "properties": { + "IsPublic": { + "type": "string" + } + }, + "required": [ + "IsPublic" + ], + "type": "object" + }, + "AWS::S3::StorageLens": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -36451,29 +29006,8 @@ "Properties": { "additionalProperties": false, "properties": { - "DomainName": { - "type": "string" - }, - "DomainNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNameServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetbiosNodeType": { - "type": "number" - }, - "NtpServers": { - "items": { - "type": "string" - }, - "type": "array" + "StorageLensConfiguration": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" }, "Tags": { "items": { @@ -36482,11 +29016,14 @@ "type": "array" } }, + "required": [ + "StorageLensConfiguration" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::DHCPOptions" + "AWS::S3::StorageLens" ], "type": "string" }, @@ -36500,512 +29037,305 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EC2Fleet": { + "AWS::S3::StorageLens.AccountLevel": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "Metadata": { - "type": "object" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "Properties": { - "additionalProperties": false, - "properties": { - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest" - }, - "type": "array" - }, - "OnDemandOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.OnDemandOptionsRequest" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.SpotOptionsRequest" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TagSpecification" - }, - "type": "array" - }, - "TargetCapacitySpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "LaunchTemplateConfigs", - "TargetCapacitySpecification" - ], - "type": "object" + "BucketLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" }, - "Type": { - "enum": [ - "AWS::EC2::EC2Fleet" - ], - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "StorageLensGroupLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupLevel" } }, "required": [ - "Type", - "Properties" + "BucketLevel" ], "type": "object" }, - "AWS::EC2::EC2Fleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest": { + "AWS::S3::StorageLens.ActivityMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest": { + "AWS::S3::StorageLens.AdvancedCostOptimizationMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityRebalance": { + "AWS::S3::StorageLens.AdvancedDataProtectionMetrics": { "additionalProperties": false, "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest": { + "AWS::S3::StorageLens.AwsOrg": { "additionalProperties": false, "properties": { - "UsageStrategy": { + "Arn": { "type": "string" } }, + "required": [ + "Arn" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateConfigRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateOverridesRequest": { + "AWS::S3::StorageLens.BucketLevel": { "additionalProperties": false, "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.Placement" - }, - "Priority": { - "type": "number" + "ActivityMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" }, - "SubnetId": { - "type": "string" + "AdvancedCostOptimizationMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedCostOptimizationMetrics" }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::EC2Fleet.FleetLaunchTemplateSpecificationRequest": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" + "AdvancedDataProtectionMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.AdvancedDataProtectionMetrics" }, - "LaunchTemplateName": { - "type": "string" + "DetailedStatusCodesMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.DetailedStatusCodesMetrics" }, - "Version": { - "type": "string" + "PrefixLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.InstanceRequirementsRequest": { + "AWS::S3::StorageLens.BucketsAndRegions": { "additionalProperties": false, "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { + "Buckets": { "items": { "type": "string" }, "type": "array" }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { + "Regions": { "items": { "type": "string" }, "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.VCpuCountRangeRequest" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MaintenanceStrategies": { + "AWS::S3::StorageLens.CloudWatchMetrics": { "additionalProperties": false, "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityRebalance" + "IsEnabled": { + "type": "boolean" } }, + "required": [ + "IsEnabled" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryGiBPerVCpuRequest": { + "AWS::S3::StorageLens.DataExport": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "CloudWatchMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" }, - "Min": { - "type": "number" + "S3BucketDestination": { + "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.MemoryMiBRequest": { + "AWS::S3::StorageLens.DetailedStatusCodesMetrics": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "IsEnabled": { + "type": "boolean" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.NetworkInterfaceCountRequest": { + "AWS::S3::StorageLens.Encryption": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "SSEKMS": { + "$ref": "#/definitions/AWS::S3::StorageLens.SSEKMS" }, - "Min": { - "type": "number" + "SSES3": { + "type": "object" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.OnDemandOptionsRequest": { + "AWS::S3::StorageLens.PrefixLevel": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "CapacityReservationOptions": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.CapacityReservationOptionsRequest" - }, - "MaxTotalPrice": { - "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { + "StorageMetrics": { + "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" + } + }, + "required": [ + "StorageMetrics" + ], + "type": "object" + }, + "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { + "additionalProperties": false, + "properties": { + "IsEnabled": { "type": "boolean" }, - "SingleInstanceType": { - "type": "boolean" + "SelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.Placement": { + "AWS::S3::StorageLens.S3BucketDestination": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { + "AccountId": { "type": "string" }, - "GroupName": { + "Arn": { "type": "string" }, - "HostId": { - "type": "string" + "Encryption": { + "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" }, - "HostResourceGroupArn": { + "Format": { "type": "string" }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { + "OutputSchemaVersion": { "type": "string" }, - "Tenancy": { + "Prefix": { "type": "string" } }, + "required": [ + "AccountId", + "Arn", + "Format", + "OutputSchemaVersion" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.SpotOptionsRequest": { + "AWS::S3::StorageLens.SSEKMS": { "additionalProperties": false, "properties": { - "AllocationStrategy": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "MaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::EC2Fleet.MaintenanceStrategies" - }, - "MaxTotalPrice": { + "KeyId": { "type": "string" - }, - "MinTargetCapacity": { - "type": "number" - }, - "SingleAvailabilityZone": { - "type": "boolean" - }, - "SingleInstanceType": { - "type": "boolean" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::EC2Fleet.TagSpecification": { + "AWS::S3::StorageLens.SelectionCriteria": { "additionalProperties": false, "properties": { - "ResourceType": { + "Delimiter": { "type": "string" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "MaxDepth": { + "type": "number" + }, + "MinStorageBytesPercentage": { + "type": "number" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.TargetCapacitySpecificationRequest": { + "AWS::S3::StorageLens.StorageLensConfiguration": { "additionalProperties": false, "properties": { - "DefaultTargetCapacityType": { - "type": "string" + "AccountLevel": { + "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" }, - "OnDemandTargetCapacity": { - "type": "number" + "AwsOrg": { + "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" }, - "SpotTargetCapacity": { - "type": "number" + "DataExport": { + "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" }, - "TargetCapacityUnitType": { + "Exclude": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "Id": { "type": "string" }, - "TotalTargetCapacity": { - "type": "number" + "Include": { + "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" + }, + "IsEnabled": { + "type": "boolean" + }, + "StorageLensArn": { + "type": "string" } }, "required": [ - "TotalTargetCapacity" + "AccountLevel", + "Id", + "IsEnabled" ], "type": "object" }, - "AWS::EC2::EC2Fleet.TotalLocalStorageGBRequest": { + "AWS::S3::StorageLens.StorageLensGroupLevel": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StorageLensGroupSelectionCriteria": { + "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensGroupSelectionCriteria" } }, "type": "object" }, - "AWS::EC2::EC2Fleet.VCpuCountRangeRequest": { + "AWS::S3::StorageLens.StorageLensGroupSelectionCriteria": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" + "Exclude": { + "items": { + "type": "string" + }, + "type": "array" }, - "Min": { - "type": "number" + "Include": { + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "AWS::EC2::EIP": { + "AWS::S3::StorageLensGroup": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37037,13 +29367,10 @@ "Properties": { "additionalProperties": false, "properties": { - "Domain": { - "type": "string" - }, - "InstanceId": { - "type": "string" + "Filter": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Filter" }, - "PublicIpv4Pool": { + "Name": { "type": "string" }, "Tags": { @@ -37053,11 +29380,15 @@ "type": "array" } }, + "required": [ + "Filter", + "Name" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIP" + "AWS::S3::StorageLensGroup" ], "type": "string" }, @@ -37071,11 +29402,132 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EIPAssociation": { + "AWS::S3::StorageLensGroup.And": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Filter": { + "additionalProperties": false, + "properties": { + "And": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.And" + }, + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + }, + "Or": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.Or" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectAge": { + "additionalProperties": false, + "properties": { + "DaysGreaterThan": { + "type": "number" + }, + "DaysLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.MatchObjectSize": { + "additionalProperties": false, + "properties": { + "BytesGreaterThan": { + "type": "number" + }, + "BytesLessThan": { + "type": "number" + } + }, + "type": "object" + }, + "AWS::S3::StorageLensGroup.Or": { + "additionalProperties": false, + "properties": { + "MatchAnyPrefix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnySuffix": { + "items": { + "type": "string" + }, + "type": "array" + }, + "MatchAnyTag": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "MatchObjectAge": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectAge" + }, + "MatchObjectSize": { + "$ref": "#/definitions/AWS::S3::StorageLensGroup.MatchObjectSize" + } + }, + "type": "object" + }, + "AWS::SNS::Subscription": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37107,27 +29559,49 @@ "Properties": { "additionalProperties": false, "properties": { - "AllocationId": { - "type": "string" + "DeliveryPolicy": { + "type": "object" }, - "EIP": { + "Endpoint": { "type": "string" }, - "InstanceId": { - "type": "string" + "FilterPolicy": { + "type": "object" }, - "NetworkInterfaceId": { + "FilterPolicyScope": { "type": "string" }, - "PrivateIpAddress": { + "Protocol": { + "type": "string" + }, + "RawMessageDelivery": { + "type": "boolean" + }, + "RedrivePolicy": { + "type": "object" + }, + "Region": { + "type": "string" + }, + "ReplayPolicy": { + "type": "object" + }, + "SubscriptionRoleArn": { + "type": "string" + }, + "TopicArn": { "type": "string" } }, + "required": [ + "Protocol", + "TopicArn" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EIPAssociation" + "AWS::SNS::Subscription" ], "type": "string" }, @@ -37141,11 +29615,12 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::EgressOnlyInternetGateway": { + "AWS::SNS::Topic": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37177,18 +29652,60 @@ "Properties": { "additionalProperties": false, "properties": { - "VpcId": { + "ArchivePolicy": { + "type": "object" + }, + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DataProtectionPolicy": { + "type": "object" + }, + "DeliveryStatusLogging": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.LoggingConfig" + }, + "type": "array" + }, + "DisplayName": { + "type": "string" + }, + "FifoThroughputScope": { + "type": "string" + }, + "FifoTopic": { + "type": "boolean" + }, + "KmsMasterKeyId": { + "type": "string" + }, + "SignatureVersion": { + "type": "string" + }, + "Subscription": { + "items": { + "$ref": "#/definitions/AWS::SNS::Topic.Subscription" + }, + "type": "array" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "TopicName": { + "type": "string" + }, + "TracingConfig": { "type": "string" } }, - "required": [ - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EgressOnlyInternetGateway" + "AWS::SNS::Topic" ], "type": "string" }, @@ -37202,12 +29719,48 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::EnclaveCertificateIamRoleAssociation": { + "AWS::SNS::Topic.LoggingConfig": { + "additionalProperties": false, + "properties": { + "FailureFeedbackRoleArn": { + "type": "string" + }, + "Protocol": { + "type": "string" + }, + "SuccessFeedbackRoleArn": { + "type": "string" + }, + "SuccessFeedbackSampleRate": { + "type": "string" + } + }, + "required": [ + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::Topic.Subscription": { + "additionalProperties": false, + "properties": { + "Endpoint": { + "type": "string" + }, + "Protocol": { + "type": "string" + } + }, + "required": [ + "Endpoint", + "Protocol" + ], + "type": "object" + }, + "AWS::SNS::TopicInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37239,22 +29792,22 @@ "Properties": { "additionalProperties": false, "properties": { - "CertificateArn": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "RoleArn": { + "TopicArn": { "type": "string" } }, "required": [ - "CertificateArn", - "RoleArn" + "PolicyDocument", + "TopicArn" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::EnclaveCertificateIamRoleAssociation" + "AWS::SNS::TopicInlinePolicy" ], "type": "string" }, @@ -37273,7 +29826,7 @@ ], "type": "object" }, - "AWS::EC2::FlowLog": { + "AWS::SNS::TopicPolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37305,50 +29858,25 @@ "Properties": { "additionalProperties": false, "properties": { - "DeliverLogsPermissionArn": { - "type": "string" - }, - "LogDestination": { - "type": "string" - }, - "LogDestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MaxAggregationInterval": { - "type": "number" - }, - "ResourceId": { - "type": "string" - }, - "ResourceType": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Topics": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - }, - "TrafficType": { - "type": "string" } }, "required": [ - "ResourceId", - "ResourceType", - "TrafficType" + "PolicyDocument", + "Topics" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::FlowLog" + "AWS::SNS::TopicPolicy" ], "type": "string" }, @@ -37367,7 +29895,7 @@ ], "type": "object" }, - "AWS::EC2::GatewayRouteTableAssociation": { + "AWS::SQS::Queue": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37399,22 +29927,63 @@ "Properties": { "additionalProperties": false, "properties": { - "GatewayId": { + "ContentBasedDeduplication": { + "type": "boolean" + }, + "DeduplicationScope": { "type": "string" }, - "RouteTableId": { + "DelaySeconds": { + "type": "number" + }, + "FifoQueue": { + "type": "boolean" + }, + "FifoThroughputLimit": { + "type": "string" + }, + "KmsDataKeyReusePeriodSeconds": { + "type": "number" + }, + "KmsMasterKeyId": { + "type": "string" + }, + "MaximumMessageSize": { + "type": "number" + }, + "MessageRetentionPeriod": { + "type": "number" + }, + "QueueName": { "type": "string" + }, + "ReceiveMessageWaitTimeSeconds": { + "type": "number" + }, + "RedriveAllowPolicy": { + "type": "object" + }, + "RedrivePolicy": { + "type": "object" + }, + "SqsManagedSseEnabled": { + "type": "boolean" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + }, + "VisibilityTimeout": { + "type": "number" } }, - "required": [ - "GatewayId", - "RouteTableId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::GatewayRouteTableAssociation" + "AWS::SQS::Queue" ], "type": "string" }, @@ -37428,12 +29997,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::Host": { + "AWS::SQS::QueueInlinePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37465,28 +30033,22 @@ "Properties": { "additionalProperties": false, "properties": { - "AutoPlacement": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "HostRecovery": { - "type": "string" + "PolicyDocument": { + "type": "object" }, - "InstanceType": { + "Queue": { "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "PolicyDocument", + "Queue" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Host" + "AWS::SQS::QueueInlinePolicy" ], "type": "string" }, @@ -37505,7 +30067,7 @@ ], "type": "object" }, - "AWS::EC2::IPAM": { + "AWS::SQS::QueuePolicy": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37537,27 +30099,25 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { - "type": "string" - }, - "OperatingRegions": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAM.IpamOperatingRegion" - }, - "type": "array" + "PolicyDocument": { + "type": "object" }, - "Tags": { + "Queues": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" } }, + "required": [ + "PolicyDocument", + "Queues" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAM" + "AWS::SQS::QueuePolicy" ], "type": "string" }, @@ -37571,23 +30131,12 @@ } }, "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::IPAM.IpamOperatingRegion": { - "additionalProperties": false, - "properties": { - "RegionName": { - "type": "string" - } - }, - "required": [ - "RegionName" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::IPAMAllocation": { + "AWS::Serverless::Api": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37619,27 +30168,90 @@ "Properties": { "additionalProperties": false, "properties": { - "Cidr": { + "AccessLogSetting": { + "$ref": "#/definitions/AWS::Serverless::Api.AccessLogSetting" + }, + "Auth": { + "$ref": "#/definitions/AWS::Serverless::Api.Auth" + }, + "BinaryMediaTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "CacheClusterEnabled": { + "type": "boolean" + }, + "CacheClusterSize": { "type": "string" }, - "Description": { + "Cors": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Api.CorsConfiguration" + } + ] + }, + "DefinitionBody": { + "type": "object" + }, + "DefinitionUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Api.S3Location" + } + ] + }, + "EndpointConfiguration": { "type": "string" }, - "IpamPoolId": { + "MethodSettings": { + "items": { + "type": "object" + }, + "type": "array" + }, + "Name": { "type": "string" }, - "NetmaskLength": { - "type": "number" + "OpenApiVersion": { + "type": "string" + }, + "StageName": { + "type": "string" + }, + "TracingEnabled": { + "type": "boolean" + }, + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, "required": [ - "IpamPoolId" + "StageName" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMAllocation" + "AWS::Serverless::Api" ], "type": "string" }, @@ -37658,7 +30270,75 @@ ], "type": "object" }, - "AWS::EC2::IPAMPool": { + "AWS::Serverless::Api.AccessLogSetting": { + "additionalProperties": false, + "properties": { + "DestinationArn": { + "type": "string" + }, + "Format": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Serverless::Api.Auth": { + "additionalProperties": false, + "properties": { + "Authorizers": { + "type": "object" + }, + "DefaultAuthorizer": { + "type": "string" + } + }, + "type": "object" + }, + "AWS::Serverless::Api.CorsConfiguration": { + "additionalProperties": false, + "properties": { + "AllowCredentials": { + "type": "boolean" + }, + "AllowHeaders": { + "type": "string" + }, + "AllowMethods": { + "type": "string" + }, + "AllowOrigin": { + "type": "string" + }, + "MaxAge": { + "type": "string" + } + }, + "required": [ + "AllowOrigin" + ], + "type": "object" + }, + "AWS::Serverless::Api.S3Location": { + "additionalProperties": false, + "properties": { + "Bucket": { + "type": "string" + }, + "Key": { + "type": "string" + }, + "Version": { + "type": "number" + } + }, + "required": [ + "Bucket", + "Key", + "Version" + ], + "type": "object" + }, + "AWS::Serverless::Application": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37690,64 +30370,54 @@ "Properties": { "additionalProperties": false, "properties": { - "AddressFamily": { - "type": "string" - }, - "AllocationDefaultNetmaskLength": { - "type": "number" - }, - "AllocationMaxNetmaskLength": { - "type": "number" - }, - "AllocationMinNetmaskLength": { - "type": "number" + "Location": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Application.ApplicationLocation" + } + ] }, - "AllocationResourceTags": { + "NotificationArns": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" }, - "AutoImport": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "IpamScopeId": { - "type": "string" - }, - "Locale": { - "type": "string" - }, - "ProvisionedCidrs": { - "items": { - "$ref": "#/definitions/AWS::EC2::IPAMPool.ProvisionedCidr" + "Parameters": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" - }, - "PubliclyAdvertisable": { - "type": "boolean" - }, - "SourceIpamPoolId": { - "type": "string" + "type": "object" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" + }, + "TimeoutInMinutes": { + "type": "number" } }, "required": [ - "AddressFamily", - "IpamScopeId" + "Location" ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::IPAMPool" + "AWS::Serverless::Application" ], "type": "string" }, @@ -37766,19 +30436,23 @@ ], "type": "object" }, - "AWS::EC2::IPAMPool.ProvisionedCidr": { + "AWS::Serverless::Application.ApplicationLocation": { "additionalProperties": false, "properties": { - "Cidr": { + "ApplicationId": { + "type": "string" + }, + "SemanticVersion": { "type": "string" } }, "required": [ - "Cidr" + "ApplicationId", + "SemanticVersion" ], "type": "object" }, - "AWS::EC2::IPAMScope": { + "AWS::Serverless::Function": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -37810,239 +30484,137 @@ "Properties": { "additionalProperties": false, "properties": { - "Description": { + "AutoPublishAlias": { "type": "string" }, - "IpamId": { - "type": "string" - }, - "IpamScopeType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IpamId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::IPAMScope" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Instance": { - "additionalProperties": false, - "properties": { - "CreationPolicy": { - "type": "object" - }, - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "CodeUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.S3Location" + } + ] }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "string" + "DeadLetterQueue": { + "$ref": "#/definitions/AWS::Serverless::Function.DeadLetterQueue" }, - "Affinity": { - "type": "string" + "DeploymentPreference": { + "$ref": "#/definitions/AWS::Serverless::Function.DeploymentPreference" }, - "AvailabilityZone": { + "Description": { "type": "string" }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.CpuOptions" - }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::Instance.CreditSpecification" - }, - "DisableApiTermination": { - "type": "boolean" - }, - "EbsOptimized": { - "type": "boolean" + "Environment": { + "$ref": "#/definitions/AWS::Serverless::Function.FunctionEnvironment" }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticGpuSpecification" + "Events": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/AWS::Serverless::Function.EventSource" + } }, - "type": "array" + "type": "object" }, - "ElasticInferenceAccelerators": { + "FileSystemConfigs": { "items": { - "$ref": "#/definitions/AWS::EC2::Instance.ElasticInferenceAccelerator" + "$ref": "#/definitions/AWS::Serverless::Function.FileSystemConfig" }, "type": "array" }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.EnclaveOptions" - }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::Instance.HibernationOptions" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "IamInstanceProfile": { - "type": "string" - }, - "ImageId": { - "type": "string" - }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" - }, - "InstanceType": { + "FunctionName": { "type": "string" }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" - }, - "KernelId": { + "Handler": { "type": "string" }, - "KeyName": { + "KmsKeyArn": { "type": "string" }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EC2::Instance.LaunchTemplateSpecification" - }, - "LicenseSpecifications": { + "Layers": { "items": { - "$ref": "#/definitions/AWS::EC2::Instance.LicenseSpecification" + "type": "string" }, "type": "array" }, - "Monitoring": { - "type": "boolean" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.NetworkInterface" - }, - "type": "array" + "MemorySize": { + "type": "number" }, - "PlacementGroupName": { + "PermissionsBoundary": { "type": "string" }, - "PrivateIpAddress": { - "type": "string" + "Policies": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.SAMPolicyTemplate" + }, + "type": "array" + } + ] }, - "PropagateTagsToVolumeOnCreation": { - "type": "boolean" + "ReservedConcurrentExecutions": { + "type": "number" }, - "RamdiskId": { + "Role": { "type": "string" }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SsmAssociations": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.SsmAssociation" - }, - "type": "array" - }, - "SubnetId": { + "Runtime": { "type": "string" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "Tenancy": { - "type": "string" + "Timeout": { + "type": "number" }, - "UserData": { + "Tracing": { "type": "string" }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.Volume" - }, - "type": "array" + "VpcConfig": { + "$ref": "#/definitions/AWS::Serverless::Function.VpcConfig" } }, + "required": [ + "CodeUri", + "Handler", + "Runtime" + ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::Instance" + "AWS::Serverless::Function" ], "type": "string" }, @@ -38056,984 +30628,767 @@ } }, "required": [ - "Type" + "Type", + "Properties" ], "type": "object" }, - "AWS::EC2::Instance.AssociationParameter": { + "AWS::Serverless::Function.AlexaSkillEvent": { "additionalProperties": false, "properties": { - "Key": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" } }, - "required": [ - "Key", - "Value" - ], "type": "object" }, - "AWS::EC2::Instance.BlockDeviceMapping": { + "AWS::Serverless::Function.ApiEvent": { "additionalProperties": false, "properties": { - "DeviceName": { + "Method": { "type": "string" }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::Instance.Ebs" - }, - "NoDevice": { - "$ref": "#/definitions/AWS::EC2::Instance.NoDevice" + "Path": { + "type": "string" }, - "VirtualName": { + "RestApiId": { "type": "string" } }, "required": [ - "DeviceName" + "Method", + "Path" ], "type": "object" }, - "AWS::EC2::Instance.CpuOptions": { + "AWS::Serverless::Function.BucketSAMPT": { "additionalProperties": false, "properties": { - "CoreCount": { - "type": "number" - }, - "ThreadsPerCore": { - "type": "number" + "BucketName": { + "type": "string" } }, + "required": [ + "BucketName" + ], "type": "object" }, - "AWS::EC2::Instance.CreditSpecification": { + "AWS::Serverless::Function.CloudWatchEventEvent": { "additionalProperties": false, "properties": { - "CPUCredits": { + "Input": { + "type": "string" + }, + "InputPath": { "type": "string" + }, + "Pattern": { + "type": "object" } }, + "required": [ + "Pattern" + ], "type": "object" }, - "AWS::EC2::Instance.Ebs": { + "AWS::Serverless::Function.CloudWatchLogsEvent": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { + "FilterPattern": { "type": "string" }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { + "LogGroupName": { "type": "string" } }, + "required": [ + "FilterPattern", + "LogGroupName" + ], "type": "object" }, - "AWS::EC2::Instance.ElasticGpuSpecification": { + "AWS::Serverless::Function.CollectionSAMPT": { "additionalProperties": false, "properties": { - "Type": { + "CollectionId": { "type": "string" } }, "required": [ - "Type" + "CollectionId" ], "type": "object" }, - "AWS::EC2::Instance.ElasticInferenceAccelerator": { + "AWS::Serverless::Function.DeadLetterQueue": { "additionalProperties": false, "properties": { - "Count": { - "type": "number" + "TargetArn": { + "type": "string" }, "Type": { "type": "string" } }, "required": [ + "TargetArn", "Type" ], "type": "object" }, - "AWS::EC2::Instance.EnclaveOptions": { + "AWS::Serverless::Function.DeploymentPreference": { "additionalProperties": false, "properties": { + "Alarms": { + "items": { + "type": "string" + }, + "type": "array" + }, "Enabled": { "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.HibernationOptions": { - "additionalProperties": false, - "properties": { - "Configured": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::Instance.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { + }, + "Hooks": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "Role": { + "type": "string" + }, + "Type": { "type": "string" } }, - "required": [ - "Ipv6Address" - ], "type": "object" }, - "AWS::EC2::Instance.LaunchTemplateSpecification": { + "AWS::Serverless::Function.DestinationConfig": { "additionalProperties": false, "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" + "OnFailure": { + "$ref": "#/definitions/AWS::Serverless::Function.OnFailure" } }, "required": [ - "Version" + "OnFailure" ], "type": "object" }, - "AWS::EC2::Instance.LicenseSpecification": { + "AWS::Serverless::Function.DomainSAMPT": { "additionalProperties": false, "properties": { - "LicenseConfigurationArn": { + "DomainName": { "type": "string" } }, "required": [ - "LicenseConfigurationArn" + "DomainName" ], "type": "object" }, - "AWS::EC2::Instance.NetworkInterface": { + "AWS::Serverless::Function.DynamoDBEvent": { "additionalProperties": false, "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" + "BatchSize": { + "type": "number" }, - "DeleteOnTermination": { + "BisectBatchOnFunctionError": { "type": "boolean" }, - "Description": { - "type": "string" + "DestinationConfig": { + "$ref": "#/definitions/AWS::Serverless::Function.DestinationConfig" }, - "DeviceIndex": { - "type": "string" + "Enabled": { + "type": "boolean" }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" + "MaximumBatchingWindowInSeconds": { + "type": "number" }, - "Ipv6AddressCount": { + "MaximumRecordAgeInSeconds": { "type": "number" }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.InstanceIpv6Address" - }, - "type": "array" + "MaximumRetryAttempts": { + "type": "number" }, - "NetworkInterfaceId": { - "type": "string" + "ParallelizationFactor": { + "type": "number" }, - "PrivateIpAddress": { + "StartingPosition": { "type": "string" }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { + "Stream": { "type": "string" } }, "required": [ - "DeviceIndex" + "StartingPosition", + "Stream" ], "type": "object" }, - "AWS::EC2::Instance.NoDevice": { + "AWS::Serverless::Function.EmptySAMPT": { "additionalProperties": false, "properties": {}, "type": "object" }, - "AWS::EC2::Instance.PrivateIpAddressSpecification": { + "AWS::Serverless::Function.EventBridgeRuleEvent": { "additionalProperties": false, "properties": { - "Primary": { - "type": "boolean" + "EventBusName": { + "type": "string" }, - "PrivateIpAddress": { + "Input": { + "type": "string" + }, + "InputPath": { "type": "string" + }, + "Pattern": { + "type": "object" } }, "required": [ - "Primary", - "PrivateIpAddress" + "Pattern" ], "type": "object" }, - "AWS::EC2::Instance.SsmAssociation": { + "AWS::Serverless::Function.EventSource": { "additionalProperties": false, "properties": { - "AssociationParameters": { - "items": { - "$ref": "#/definitions/AWS::EC2::Instance.AssociationParameter" - }, - "type": "array" - }, - "DocumentName": { - "type": "string" - } - }, - "required": [ - "DocumentName" - ], - "type": "object" - }, - "AWS::EC2::Instance.Volume": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "VolumeId" - ], - "type": "object" - }, - "AWS::EC2::InternetGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { + "Properties": { "anyOf": [ { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::Serverless::Function.S3Event" }, { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" + "$ref": "#/definitions/AWS::Serverless::Function.SNSEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.SQSEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.KinesisEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.DynamoDBEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.ApiEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.ScheduleEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchEventEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchLogsEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.IoTRuleEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.AlexaSkillEvent" + }, + { + "$ref": "#/definitions/AWS::Serverless::Function.EventBridgeRuleEvent" } ] }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, "Type": { - "enum": [ - "AWS::EC2::InternetGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ + "Properties", "Type" ], "type": "object" }, - "AWS::EC2::LaunchTemplate": { + "AWS::Serverless::Function.FileSystemConfig": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LaunchTemplateData": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateData" - }, - "LaunchTemplateName": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::LaunchTemplate" - ], + "Arn": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "LocalMountPath": { "type": "string" } }, - "required": [ - "Type" - ], "type": "object" }, - "AWS::EC2::LaunchTemplate.AcceleratorCount": { + "AWS::Serverless::Function.FunctionEnvironment": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "Variables": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" } }, + "required": [ + "Variables" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.AcceleratorTotalMemoryMiB": { + "AWS::Serverless::Function.FunctionSAMPT": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "FunctionName": { + "type": "string" } }, + "required": [ + "FunctionName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.BaselineEbsBandwidthMbps": { + "AWS::Serverless::Function.IAMPolicyDocument": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "Statement": { + "type": "object" } }, + "required": [ + "Statement" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.BlockDeviceMapping": { + "AWS::Serverless::Function.IdentitySAMPT": { "additionalProperties": false, "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ebs" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { + "IdentityName": { "type": "string" } }, + "required": [ + "IdentityName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CapacityReservationSpecification": { + "AWS::Serverless::Function.IoTRuleEvent": { "additionalProperties": false, "properties": { - "CapacityReservationPreference": { + "AwsIotSqlVersion": { "type": "string" }, - "CapacityReservationTarget": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationTarget" + "Sql": { + "type": "string" } }, + "required": [ + "Sql" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CapacityReservationTarget": { + "AWS::Serverless::Function.KeySAMPT": { "additionalProperties": false, "properties": { - "CapacityReservationId": { - "type": "string" - }, - "CapacityReservationResourceGroupArn": { + "KeyId": { "type": "string" } }, + "required": [ + "KeyId" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CpuOptions": { + "AWS::Serverless::Function.KinesisEvent": { "additionalProperties": false, "properties": { - "CoreCount": { + "BatchSize": { "type": "number" }, - "ThreadsPerCore": { - "type": "number" + "Enabled": { + "type": "boolean" + }, + "StartingPosition": { + "type": "string" + }, + "Stream": { + "type": "string" } }, + "required": [ + "StartingPosition", + "Stream" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.CreditSpecification": { + "AWS::Serverless::Function.LogGroupSAMPT": { "additionalProperties": false, "properties": { - "CpuCredits": { + "LogGroupName": { "type": "string" } }, + "required": [ + "LogGroupName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Ebs": { + "AWS::Serverless::Function.OnFailure": { "additionalProperties": false, "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { + "Destination": { "type": "string" }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { + "Type": { "type": "string" } }, + "required": [ + "Destination" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.ElasticGpuSpecification": { + "AWS::Serverless::Function.QueueSAMPT": { "additionalProperties": false, "properties": { - "Type": { + "QueueName": { "type": "string" } }, + "required": [ + "QueueName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.EnclaveOptions": { + "AWS::Serverless::Function.S3Event": { "additionalProperties": false, "properties": { - "Enabled": { - "type": "boolean" + "Bucket": { + "type": "string" + }, + "Events": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + }, + "Filter": { + "$ref": "#/definitions/AWS::Serverless::Function.S3NotificationFilter" } }, + "required": [ + "Bucket", + "Events" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.HibernationOptions": { + "AWS::Serverless::Function.S3KeyFilter": { "additionalProperties": false, "properties": { - "Configured": { - "type": "boolean" + "Rules": { + "items": { + "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilterRule" + }, + "type": "array" } }, + "required": [ + "Rules" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.IamInstanceProfile": { + "AWS::Serverless::Function.S3KeyFilterRule": { "additionalProperties": false, "properties": { - "Arn": { + "Name": { "type": "string" }, - "Name": { + "Value": { "type": "string" } }, + "required": [ + "Name", + "Value" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.InstanceMarketOptions": { + "AWS::Serverless::Function.S3Location": { "additionalProperties": false, "properties": { - "MarketType": { + "Bucket": { "type": "string" }, - "SpotOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.SpotOptions" + "Key": { + "type": "string" + }, + "Version": { + "type": "number" } }, + "required": [ + "Bucket", + "Key" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Ipv6Add": { + "AWS::Serverless::Function.S3NotificationFilter": { "additionalProperties": false, "properties": { - "Ipv6Address": { - "type": "string" + "S3Key": { + "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilter" } }, + "required": [ + "S3Key" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.LaunchTemplateData": { + "AWS::Serverless::Function.SAMPolicyTemplate": { "additionalProperties": false, "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.BlockDeviceMapping" - }, - "type": "array" + "AMIDescribePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CapacityReservationSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CapacityReservationSpecification" + "CloudFormationDescribeStacksPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CpuOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CpuOptions" + "CloudWatchPutMetricPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "CreditSpecification": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.CreditSpecification" + "DynamoDBCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" }, - "DisableApiTermination": { - "type": "boolean" + "DynamoDBReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" }, - "EbsOptimized": { - "type": "boolean" + "DynamoDBStreamReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT" }, - "ElasticGpuSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.ElasticGpuSpecification" - }, - "type": "array" + "EC2DescribePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "ElasticInferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator" - }, - "type": "array" + "ElasticsearchHttpPostPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.DomainSAMPT" }, - "EnclaveOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.EnclaveOptions" + "FilterLogEventsPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.LogGroupSAMPT" }, - "HibernationOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.HibernationOptions" + "KMSDecryptPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.KeySAMPT" }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.IamInstanceProfile" + "KinesisCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" }, - "ImageId": { - "type": "string" + "KinesisStreamReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" }, - "InstanceInitiatedShutdownBehavior": { - "type": "string" + "LambdaInvokePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.FunctionSAMPT" }, - "InstanceMarketOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.InstanceMarketOptions" + "RekognitionDetectOnlyPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "InstanceType": { - "type": "string" + "RekognitionLabelsPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "KernelId": { - "type": "string" + "RekognitionNoDataAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "KeyName": { - "type": "string" + "RekognitionReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "LicenseSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.LicenseSpecification" - }, - "type": "array" + "RekognitionWriteOnlyAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" }, - "MetadataOptions": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.MetadataOptions" + "S3CrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Monitoring" + "S3ReadPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.NetworkInterface" - }, - "type": "array" + "SESBulkTemplatedCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Placement" + "SESCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "RamDiskId": { - "type": "string" + "SESEmailTemplateCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" + "SESSendBouncePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" + "SNSCrudPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.TagSpecification" - }, - "type": "array" + "SNSPublishMessagePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" }, - "UserData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" + "SQSPollerPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.LaunchTemplateTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" + "SQSSendMessagePolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + "StepFunctionsExecutionPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.StateMachineSAMPT" + }, + "VPCAccessPolicy": { + "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" } }, "type": "object" }, - "AWS::EC2::LaunchTemplate.LicenseSpecification": { + "AWS::Serverless::Function.SNSEvent": { "additionalProperties": false, "properties": { - "LicenseConfigurationArn": { + "Topic": { "type": "string" } }, + "required": [ + "Topic" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.MemoryGiBPerVCpu": { + "AWS::Serverless::Function.SQSEvent": { "additionalProperties": false, "properties": { - "Max": { + "BatchSize": { "type": "number" }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.MemoryMiB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" + "Enabled": { + "type": "boolean" }, - "Min": { - "type": "number" + "Queue": { + "type": "string" } }, + "required": [ + "Queue" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.MetadataOptions": { + "AWS::Serverless::Function.ScheduleEvent": { "additionalProperties": false, "properties": { - "HttpEndpoint": { - "type": "string" - }, - "HttpProtocolIpv6": { + "Input": { "type": "string" }, - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { + "Schedule": { "type": "string" } }, + "required": [ + "Schedule" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Monitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.NetworkInterface": { + "AWS::Serverless::Function.StateMachineSAMPT": { "additionalProperties": false, "properties": { - "AssociateCarrierIpAddress": { - "type": "boolean" - }, - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.Ipv6Add" - }, - "type": "array" - }, - "NetworkCardIndex": { - "type": "number" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate.PrivateIpAdd" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { + "StateMachineName": { "type": "string" } }, + "required": [ + "StateMachineName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.NetworkInterfaceCount": { + "AWS::Serverless::Function.StreamSAMPT": { "additionalProperties": false, "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" + "StreamName": { + "type": "string" } }, + "required": [ + "StreamName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.Placement": { + "AWS::Serverless::Function.TableSAMPT": { "additionalProperties": false, "properties": { - "Affinity": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "HostId": { - "type": "string" - }, - "HostResourceGroupArn": { - "type": "string" - }, - "PartitionNumber": { - "type": "number" - }, - "SpreadDomain": { - "type": "string" - }, - "Tenancy": { + "TableName": { "type": "string" } }, + "required": [ + "TableName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.PrivateIpAdd": { + "AWS::Serverless::Function.TableStreamSAMPT": { "additionalProperties": false, "properties": { - "Primary": { - "type": "boolean" + "StreamName": { + "type": "string" }, - "PrivateIpAddress": { + "TableName": { "type": "string" } }, + "required": [ + "StreamName", + "TableName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.SpotOptions": { + "AWS::Serverless::Function.TopicSAMPT": { "additionalProperties": false, "properties": { - "BlockDurationMinutes": { - "type": "number" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "MaxPrice": { - "type": "string" - }, - "SpotInstanceType": { - "type": "string" - }, - "ValidUntil": { + "TopicName": { "type": "string" } }, + "required": [ + "TopicName" + ], "type": "object" }, - "AWS::EC2::LaunchTemplate.TagSpecification": { + "AWS::Serverless::Function.VpcConfig": { "additionalProperties": false, "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { + "SecurityGroupIds": { "items": { - "$ref": "#/definitions/Tag" + "type": "string" }, "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.TotalLocalStorageGB": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::LaunchTemplate.VCpuCount": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" }, - "Min": { - "type": "number" + "SubnetIds": { + "items": { + "type": "string" + }, + "type": "array" } }, + "required": [ + "SecurityGroupIds", + "SubnetIds" + ], "type": "object" }, - "AWS::EC2::LocalGatewayRoute": { + "AWS::Serverless::LayerVersion": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39065,26 +31420,33 @@ "Properties": { "additionalProperties": false, "properties": { - "DestinationCidrBlock": { + "CompatibleRuntimes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ContentUri": { "type": "string" }, - "LocalGatewayRouteTableId": { + "Description": { "type": "string" }, - "LocalGatewayVirtualInterfaceGroupId": { + "LayerName": { + "type": "string" + }, + "LicenseInfo": { + "type": "string" + }, + "RetentionPolicy": { "type": "string" } }, - "required": [ - "DestinationCidrBlock", - "LocalGatewayRouteTableId", - "LocalGatewayVirtualInterfaceGroupId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::LocalGatewayRoute" + "AWS::Serverless::LayerVersion" ], "type": "string" }, @@ -39098,12 +31460,11 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::LocalGatewayRouteTableVPCAssociation": { + "AWS::Serverless::SimpleTable": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39135,28 +31496,33 @@ "Properties": { "additionalProperties": false, "properties": { - "LocalGatewayRouteTableId": { + "PrimaryKey": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.PrimaryKey" + }, + "ProvisionedThroughput": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.ProvisionedThroughput" + }, + "SSESpecification": { + "$ref": "#/definitions/AWS::Serverless::SimpleTable.SSESpecification" + }, + "TableName": { "type": "string" }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" - }, - "VpcId": { - "type": "string" + "type": "object" } }, - "required": [ - "LocalGatewayRouteTableId", - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::LocalGatewayRouteTableVPCAssociation" + "AWS::Serverless::SimpleTable" ], "type": "string" }, @@ -39170,86 +31536,50 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::NatGateway": { + "AWS::Serverless::SimpleTable.PrimaryKey": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Name": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "ConnectivityType": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, "Type": { - "enum": [ - "AWS::EC2::NatGateway" - ], "type": "string" + } + }, + "required": [ + "Type" + ], + "type": "object" + }, + "AWS::Serverless::SimpleTable.ProvisionedThroughput": { + "additionalProperties": false, + "properties": { + "ReadCapacityUnits": { + "type": "number" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" + "WriteCapacityUnits": { + "type": "number" } }, "required": [ - "Type", - "Properties" + "WriteCapacityUnits" ], "type": "object" }, - "AWS::EC2::NetworkAcl": { + "AWS::Serverless::SimpleTable.SSESpecification": { + "additionalProperties": false, + "properties": { + "SSEEnabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "AWS::Serverless::StateMachine": { "additionalProperties": false, "properties": { "DeletionPolicy": { @@ -39281,24 +31611,96 @@ "Properties": { "additionalProperties": false, "properties": { + "Definition": { + "type": "object" + }, + "DefinitionSubstitutions": { + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } + }, + "type": "object" + }, + "DefinitionUri": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.S3Location" + } + ] + }, + "Events": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.EventSource" + } + }, + "type": "object" + }, + "Logging": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.LoggingConfiguration" + }, + "Name": { + "type": "string" + }, + "Policies": { + "anyOf": [ + { + "type": [ + "string" + ] + }, + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" + }, + "type": "array" + }, + { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.SAMPolicyTemplate" + }, + "type": "array" + } + ] + }, + "Role": { + "type": "string" + }, "Tags": { - "items": { - "$ref": "#/definitions/Tag" + "additionalProperties": true, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "string" + } }, - "type": "array" + "type": "object" }, - "VpcId": { + "Type": { "type": "string" } }, - "required": [ - "VpcId" - ], "type": "object" }, "Type": { "enum": [ - "AWS::EC2::NetworkAcl" + "AWS::Serverless::StateMachine" ], "type": "string" }, @@ -39312,86301 +31714,958 @@ } }, "required": [ - "Type", - "Properties" + "Type" ], "type": "object" }, - "AWS::EC2::NetworkAclEntry": { + "AWS::Serverless::StateMachine.ApiEvent": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "Method": { "type": "string" }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "Egress": { - "type": "boolean" - }, - "Icmp": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.Icmp" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "NetworkAclId": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry.PortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - } - }, - "required": [ - "NetworkAclId", - "Protocol", - "RuleAction", - "RuleNumber" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkAclEntry" - ], + "Path": { "type": "string" }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "RestApiId": { "type": "string" } }, "required": [ - "Type", - "Properties" + "Method", + "Path" ], "type": "object" }, - "AWS::EC2::NetworkAclEntry.Icmp": { + "AWS::Serverless::StateMachine.CloudWatchEventEvent": { "additionalProperties": false, "properties": { - "Code": { - "type": "number" + "EventBusName": { + "type": "string" }, - "Type": { - "type": "number" + "Input": { + "type": "string" + }, + "InputPath": { + "type": "string" + }, + "Pattern": { + "type": "object" } }, + "required": [ + "Pattern" + ], "type": "object" }, - "AWS::EC2::NetworkAclEntry.PortRange": { + "AWS::Serverless::StateMachine.CloudWatchLogsLogGroup": { "additionalProperties": false, "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" + "LogGroupArn": { + "type": "string" } }, + "required": [ + "LogGroupArn" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis": { + "AWS::Serverless::StateMachine.EventBridgeRuleEvent": { "additionalProperties": false, "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], + "EventBusName": { "type": "string" }, - "DependsOn": { + "Input": { + "type": "string" + }, + "InputPath": { + "type": "string" + }, + "Pattern": { + "type": "object" + } + }, + "required": [ + "Pattern" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.EventSource": { + "additionalProperties": false, + "properties": { + "Properties": { "anyOf": [ { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" + "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchEventEvent" }, { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterInArns": { - "items": { - "type": "string" - }, - "type": "array" + "$ref": "#/definitions/AWS::Serverless::StateMachine.EventBridgeRuleEvent" }, - "NetworkInsightsPathId": { - "type": "string" + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.ScheduleEvent" }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" + { + "$ref": "#/definitions/AWS::Serverless::StateMachine.ApiEvent" } - }, - "required": [ - "NetworkInsightsPathId" - ], - "type": "object" + ] }, "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsAnalysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], "type": "string" } }, "required": [ - "Type", - "Properties" + "Properties", + "Type" ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AlternatePathHint": { + "AWS::Serverless::StateMachine.FunctionSAMPT": { "additionalProperties": false, "properties": { - "ComponentArn": { - "type": "string" - }, - "ComponentId": { + "FunctionName": { "type": "string" } }, + "required": [ + "FunctionName" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.IAMPolicyDocument": { + "additionalProperties": false, + "properties": { + "Statement": { + "type": "object" + } + }, + "required": [ + "Statement" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule": { + "AWS::Serverless::StateMachine.LogDestination": { "additionalProperties": false, "properties": { - "Cidr": { - "type": "string" + "CloudWatchLogsLogGroup": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchLogsLogGroup" + } + }, + "required": [ + "CloudWatchLogsLogGroup" + ], + "type": "object" + }, + "AWS::Serverless::StateMachine.LoggingConfiguration": { + "additionalProperties": false, + "properties": { + "Destinations": { + "items": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.LogDestination" + }, + "type": "array" }, - "Egress": { + "IncludeExecutionData": { "type": "boolean" }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "Protocol": { - "type": "string" - }, - "RuleAction": { + "Level": { "type": "string" - }, - "RuleNumber": { - "type": "number" } }, + "required": [ + "Destinations", + "IncludeExecutionData", + "Level" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent": { + "AWS::Serverless::StateMachine.S3Location": { "additionalProperties": false, "properties": { - "Arn": { + "Bucket": { "type": "string" }, - "Id": { + "Key": { "type": "string" + }, + "Version": { + "type": "number" } }, + "required": [ + "Bucket", + "Key" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener": { + "AWS::Serverless::StateMachine.SAMPolicyTemplate": { "additionalProperties": false, "properties": { - "InstancePort": { - "type": "number" + "LambdaInvokePolicy": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.FunctionSAMPT" }, - "LoadBalancerPort": { - "type": "number" + "StepFunctionsExecutionPolicy": { + "$ref": "#/definitions/AWS::Serverless::StateMachine.StateMachineSAMPT" } }, "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget": { + "AWS::Serverless::StateMachine.ScheduleEvent": { "additionalProperties": false, "properties": { - "Address": { + "Input": { "type": "string" }, - "AvailabilityZone": { + "Schedule": { "type": "string" - }, - "Instance": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Port": { - "type": "number" } }, + "required": [ + "Schedule" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader": { + "AWS::Serverless::StateMachine.StateMachineSAMPT": { "additionalProperties": false, "properties": { - "DestinationAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DestinationPortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "Protocol": { + "StateMachineName": { "type": "string" - }, - "SourceAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" } }, + "required": [ + "StateMachineName" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute": { + "Parameter": { "additionalProperties": false, "properties": { - "NatGatewayId": { + "AllowedPattern": { "type": "string" }, - "NetworkInterfaceId": { - "type": "string" + "AllowedValues": { + "type": "array" }, - "Origin": { + "ConstraintDescription": { "type": "string" }, - "TransitGatewayId": { + "Default": { "type": "string" }, - "VpcPeeringConnectionId": { + "Description": { "type": "string" }, - "destinationCidr": { + "MaxLength": { "type": "string" }, - "destinationPrefixListId": { + "MaxValue": { "type": "string" }, - "egressOnlyInternetGatewayId": { + "MinLength": { "type": "string" }, - "gatewayId": { + "MinValue": { "type": "string" }, - "instanceId": { + "NoEcho": { + "type": [ + "string", + "boolean" + ] + }, + "Type": { + "enum": [ + "String", + "Number", + "List\u003cNumber\u003e", + "CommaDelimitedList", + "AWS::EC2::AvailabilityZone::Name", + "AWS::EC2::Image::Id", + "AWS::EC2::Instance::Id", + "AWS::EC2::KeyPair::KeyName", + "AWS::EC2::SecurityGroup::GroupName", + "AWS::EC2::SecurityGroup::Id", + "AWS::EC2::Subnet::Id", + "AWS::EC2::Volume::Id", + "AWS::EC2::VPC::Id", + "AWS::Route53::HostedZone::Id", + "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "List\u003cAWS::EC2::Image::Id\u003e", + "List\u003cAWS::EC2::Instance::Id\u003e", + "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "List\u003cAWS::EC2::SecurityGroup::Id\u003e", + "List\u003cAWS::EC2::Subnet::Id\u003e", + "List\u003cAWS::EC2::Volume::Id\u003e", + "List\u003cAWS::EC2::VPC::Id\u003e", + "List\u003cAWS::Route53::HostedZone::Id\u003e", + "List\u003cString\u003e", + "AWS::SSM::Parameter::Name", + "AWS::SSM::Parameter::Value\u003cString\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", + "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", + "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" + ], "type": "string" } }, + "required": [ + "Type" + ], "type": "object" }, - "AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule": { + "Tag": { "additionalProperties": false, "properties": { - "Cidr": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "PortRange": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "PrefixListId": { - "type": "string" - }, - "Protocol": { + "Key": { "type": "string" }, - "SecurityGroupId": { + "Value": { "type": "string" } }, + "required": [ + "Key", + "Value" + ], "type": "object" + } + }, + "properties": { + "AWSTemplateFormatVersion": { + "enum": [ + "2010-09-09" + ], + "type": "string" }, - "AWS::EC2::NetworkInsightsAnalysis.Explanation": { + "Conditions": { "additionalProperties": false, - "properties": { - "Acl": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Address": { - "type": "string" - }, - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AttachedTo": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClassicLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerListener" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "CustomerGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Destination": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Direction": { - "type": "string" - }, - "ElasticLoadBalancerListener": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "ExplanationCode": { - "type": "string" - }, - "IngressRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InternetGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerArn": { - "type": "string" - }, - "LoadBalancerListenerPort": { - "type": "number" - }, - "LoadBalancerTarget": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisLoadBalancerTarget" - }, - "LoadBalancerTargetGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "LoadBalancerTargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "LoadBalancerTargetPort": { - "type": "number" - }, - "MissingComponent": { - "type": "string" - }, - "NatGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "NetworkInterface": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "PacketField": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.PortRange" - }, - "type": "array" - }, - "PrefixList": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Protocols": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroup": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "type": "array" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "State": { - "type": "string" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "SubnetRouteTable": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpcPeeringConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnConnection": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "VpnGateway": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "vpcEndpoint": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PathComponent": { - "additionalProperties": false, - "properties": { - "AclRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisAclRule" - }, - "Component": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "DestinationVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "InboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "OutboundHeader": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisPacketHeader" - }, - "RouteTableRoute": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisRouteTableRoute" - }, - "SecurityGroupRule": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisSecurityGroupRule" - }, - "SequenceNumber": { - "type": "number" - }, - "SourceVpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Subnet": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - }, - "Vpc": { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis.AnalysisComponent" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsAnalysis.PortRange": { - "additionalProperties": false, - "properties": { - "From": { - "type": "number" - }, - "To": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::NetworkInsightsPath": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationIp": { - "type": "string" - }, - "DestinationPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourceIp": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Destination", - "Protocol", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInsightsPath" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GroupSet": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InterfaceType": { - "type": "string" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.InstanceIpv6Address" - }, - "type": "array" - }, - "PrivateIpAddress": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::NetworkInterface.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SourceDestCheck": { - "type": "boolean" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetId" - ], + "patternProperties": { + "^[a-zA-Z0-9]+$": { "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::NetworkInterface.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" } }, - "required": [ - "Ipv6Address" - ], "type": "object" }, - "AWS::EC2::NetworkInterface.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "Primary", - "PrivateIpAddress" - ], - "type": "object" + "Description": { + "description": "Template description", + "maxLength": 1024, + "type": "string" }, - "AWS::EC2::NetworkInterfaceAttachment": { + "Mappings": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "DeviceIndex": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "DeviceIndex", - "InstanceId", - "NetworkInterfaceId" - ], + "patternProperties": { + "^[a-zA-Z0-9]+$": { "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfaceAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" } }, - "required": [ - "Type", - "Properties" - ], "type": "object" }, - "AWS::EC2::NetworkInterfacePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "NetworkInterfaceId", - "Permission" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::NetworkInterfacePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], + "Metadata": { "type": "object" }, - "AWS::EC2::PlacementGroup": { + "Outputs": { "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Strategy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PlacementGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::PrefixList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddressFamily": { - "type": "string" - }, - "Entries": { - "items": { - "$ref": "#/definitions/AWS::EC2::PrefixList.Entry" - }, - "type": "array" - }, - "MaxEntries": { - "type": "number" - }, - "PrefixListName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddressFamily", - "MaxEntries", - "PrefixListName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::PrefixList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::PrefixList.Entry": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "Cidr" - ], - "type": "object" - }, - "AWS::EC2::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CarrierGatewayId": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationIpv6CidrBlock": { - "type": "string" - }, - "EgressOnlyInternetGatewayId": { - "type": "string" - }, - "GatewayId": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "LocalGatewayId": { - "type": "string" - }, - "NatGatewayId": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "RouteTableId": { - "type": "string" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcPeeringConnectionId": { - "type": "string" - } - }, - "required": [ - "RouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::RouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::RouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupDescription": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "SecurityGroupEgress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Egress" - }, - "type": "array" - }, - "SecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::EC2::SecurityGroup.Ingress" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Egress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupEgress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DestinationPrefixListId": { - "type": "string" - }, - "DestinationSecurityGroupId": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "GroupId", - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupEgress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrIp": { - "type": "string" - }, - "CidrIpv6": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "GroupId": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "IpProtocol": { - "type": "string" - }, - "SourcePrefixListId": { - "type": "string" - }, - "SourceSecurityGroupId": { - "type": "string" - }, - "SourceSecurityGroupName": { - "type": "string" - }, - "SourceSecurityGroupOwnerId": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "IpProtocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SpotFleetRequestConfigData": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetRequestConfigData" - } - }, - "required": [ - "SpotFleetRequestConfigData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SpotFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancer": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.ClassicLoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancer" - }, - "type": "array" - } - }, - "required": [ - "ClassicLoadBalancers" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Version" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.GroupIdentifier": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.IamInstanceProfileSpecification": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceIpv6Address": { - "additionalProperties": false, - "properties": { - "Ipv6Address": { - "type": "string" - } - }, - "required": [ - "Ipv6Address" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "DeleteOnTermination": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "DeviceIndex": { - "type": "number" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Ipv6AddressCount": { - "type": "number" - }, - "Ipv6Addresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceIpv6Address" - }, - "type": "array" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PrivateIpAddresses": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.PrivateIpAddressSpecification" - }, - "type": "array" - }, - "SecondaryPrivateIpAddressCount": { - "type": "number" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.InstanceRequirementsRequest": { - "additionalProperties": false, - "properties": { - "AcceleratorCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorCountRequest" - }, - "AcceleratorManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AcceleratorTotalMemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.AcceleratorTotalMemoryMiBRequest" - }, - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BareMetal": { - "type": "string" - }, - "BaselineEbsBandwidthMbps": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BaselineEbsBandwidthMbpsRequest" - }, - "BurstablePerformance": { - "type": "string" - }, - "CpuManufacturers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludedInstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InstanceGenerations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LocalStorage": { - "type": "string" - }, - "LocalStorageTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemoryGiBPerVCpu": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest" - }, - "MemoryMiB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.MemoryMiBRequest" - }, - "NetworkInterfaceCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.NetworkInterfaceCountRequest" - }, - "OnDemandMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "RequireHibernateSupport": { - "type": "boolean" - }, - "SpotMaxPricePercentageOverLowestPrice": { - "type": "number" - }, - "TotalLocalStorageGB": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TotalLocalStorageGBRequest" - }, - "VCpuCount": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.VCpuCountRangeRequest" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateConfig": { - "additionalProperties": false, - "properties": { - "LaunchTemplateSpecification": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.FleetLaunchTemplateSpecification" - }, - "Overrides": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateOverrides" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LaunchTemplateOverrides": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.LoadBalancersConfig": { - "additionalProperties": false, - "properties": { - "ClassicLoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.ClassicLoadBalancersConfig" - }, - "TargetGroupsConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroupsConfig" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryGiBPerVCpuRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.MemoryMiBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.NetworkInterfaceCountRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.PrivateIpAddressSpecification": { - "additionalProperties": false, - "properties": { - "Primary": { - "type": "boolean" - }, - "PrivateIpAddress": { - "type": "string" - } - }, - "required": [ - "PrivateIpAddress" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotCapacityRebalance": { - "additionalProperties": false, - "properties": { - "ReplacementStrategy": { - "type": "string" - }, - "TerminationDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetLaunchSpecification": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "IamInstanceProfile": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.IamInstanceProfileSpecification" - }, - "ImageId": { - "type": "string" - }, - "InstanceRequirements": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceRequirementsRequest" - }, - "InstanceType": { - "type": "string" - }, - "KernelId": { - "type": "string" - }, - "KeyName": { - "type": "string" - }, - "Monitoring": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetMonitoring" - }, - "NetworkInterfaces": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.InstanceNetworkInterfaceSpecification" - }, - "type": "array" - }, - "Placement": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotPlacement" - }, - "RamdiskId": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.GroupIdentifier" - }, - "type": "array" - }, - "SpotPrice": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "TagSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetTagSpecification" - }, - "type": "array" - }, - "UserData": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "ImageId" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetMonitoring": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetRequestConfigData": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "Context": { - "type": "string" - }, - "ExcessCapacityTerminationPolicy": { - "type": "string" - }, - "IamFleetRole": { - "type": "string" - }, - "InstanceInterruptionBehavior": { - "type": "string" - }, - "InstancePoolsToUseCount": { - "type": "number" - }, - "LaunchSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotFleetLaunchSpecification" - }, - "type": "array" - }, - "LaunchTemplateConfigs": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LaunchTemplateConfig" - }, - "type": "array" - }, - "LoadBalancersConfig": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.LoadBalancersConfig" - }, - "OnDemandAllocationStrategy": { - "type": "string" - }, - "OnDemandMaxTotalPrice": { - "type": "string" - }, - "OnDemandTargetCapacity": { - "type": "number" - }, - "ReplaceUnhealthyInstances": { - "type": "boolean" - }, - "SpotMaintenanceStrategies": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotMaintenanceStrategies" - }, - "SpotMaxTotalPrice": { - "type": "string" - }, - "SpotPrice": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - }, - "TargetCapacityUnitType": { - "type": "string" - }, - "TerminateInstancesWithExpiration": { - "type": "boolean" - }, - "Type": { - "type": "string" - }, - "ValidFrom": { - "type": "string" - }, - "ValidUntil": { - "type": "string" - } - }, - "required": [ - "IamFleetRole", - "TargetCapacity" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotFleetTagSpecification": { - "additionalProperties": false, - "properties": { - "ResourceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotMaintenanceStrategies": { - "additionalProperties": false, - "properties": { - "CapacityRebalance": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.SpotCapacityRebalance" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.SpotPlacement": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Tenancy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroup": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TargetGroupsConfig": { - "additionalProperties": false, - "properties": { - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::EC2::SpotFleet.TargetGroup" - }, - "type": "array" - } - }, - "required": [ - "TargetGroups" - ], - "type": "object" - }, - "AWS::EC2::SpotFleet.TotalLocalStorageGBRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::SpotFleet.VCpuCountRangeRequest": { - "additionalProperties": false, - "properties": { - "Max": { - "type": "number" - }, - "Min": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EC2::Subnet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssignIpv6AddressOnCreation": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "MapPublicIpOnLaunch": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "CidrBlock", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Subnet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ipv6CidrBlock": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "Ipv6CidrBlock", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetNetworkAclAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NetworkAclId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "NetworkAclId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetNetworkAclAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::SubnetRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "RouteTableId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::SubnetRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkServices": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "DestinationPortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "Protocol": { - "type": "number" - }, - "RuleAction": { - "type": "string" - }, - "RuleNumber": { - "type": "number" - }, - "SourceCidrBlock": { - "type": "string" - }, - "SourcePortRange": { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange" - }, - "TrafficDirection": { - "type": "string" - }, - "TrafficMirrorFilterId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "RuleAction", - "RuleNumber", - "SourceCidrBlock", - "TrafficDirection", - "TrafficMirrorFilterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorFilterRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorFilterRule.TrafficMirrorPortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorSession": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "PacketLength": { - "type": "number" - }, - "SessionNumber": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrafficMirrorFilterId": { - "type": "string" - }, - "TrafficMirrorTargetId": { - "type": "string" - }, - "VirtualNetworkId": { - "type": "number" - } - }, - "required": [ - "NetworkInterfaceId", - "SessionNumber", - "TrafficMirrorFilterId", - "TrafficMirrorTargetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorSession" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TrafficMirrorTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "NetworkLoadBalancerArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TrafficMirrorTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "AssociationDefaultRouteTableId": { - "type": "string" - }, - "AutoAcceptSharedAttachments": { - "type": "string" - }, - "DefaultRouteTableAssociation": { - "type": "string" - }, - "DefaultRouteTablePropagation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DnsSupport": { - "type": "string" - }, - "MulticastSupport": { - "type": "string" - }, - "PropagationDefaultRouteTableId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayCidrBlocks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnEcmpSupport": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SubnetIds", - "TransitGatewayId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransportTransitGatewayAttachmentId": { - "type": "string" - } - }, - "required": [ - "Options", - "TransportTransitGatewayAttachmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayConnect" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayConnect.TransitGatewayConnectOptions": { - "additionalProperties": false, - "properties": { - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastDomainAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "SubnetId", - "TransitGatewayAttachmentId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastDomainAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupMember": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupMember" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayMulticastGroupSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupIpAddress": { - "type": "string" - }, - "NetworkInterfaceId": { - "type": "string" - }, - "TransitGatewayMulticastDomainId": { - "type": "string" - } - }, - "required": [ - "GroupIpAddress", - "NetworkInterfaceId", - "TransitGatewayMulticastDomainId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayMulticastGroupSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Options": { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions" - }, - "PeerAccountId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerTransitGatewayId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "PeerAccountId", - "PeerRegion", - "PeerTransitGatewayId", - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayPeeringAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayPeeringAttachmentOptions": { - "additionalProperties": false, - "properties": { - "DynamicRouting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::TransitGatewayRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Blackhole": { - "type": "boolean" - }, - "DestinationCidrBlock": { - "type": "string" - }, - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTableAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTableAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayRouteTablePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "TransitGatewayAttachmentId": { - "type": "string" - }, - "TransitGatewayRouteTableId": { - "type": "string" - } - }, - "required": [ - "TransitGatewayAttachmentId", - "TransitGatewayRouteTableId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayRouteTablePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::TransitGatewayVpcAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Options": { - "type": "object" - }, - "RemoveSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::TransitGatewayVpcAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrBlock": { - "type": "string" - }, - "EnableDnsHostnames": { - "type": "boolean" - }, - "EnableDnsSupport": { - "type": "boolean" - }, - "InstanceTenancy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CidrBlock" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCCidrBlock": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonProvidedIpv6CidrBlock": { - "type": "boolean" - }, - "CidrBlock": { - "type": "string" - }, - "Ipv6CidrBlock": { - "type": "string" - }, - "Ipv6Pool": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCCidrBlock" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCDHCPOptionsAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DhcpOptionsId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DhcpOptionsId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCDHCPOptionsAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PrivateDnsEnabled": { - "type": "boolean" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointType": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ServiceName", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointConnectionNotification": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionNotificationArn": { - "type": "string" - }, - "ServiceId": { - "type": "string" - }, - "VPCEndpointId": { - "type": "string" - } - }, - "required": [ - "ConnectionEvents", - "ConnectionNotificationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointConnectionNotification" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointService": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "GatewayLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NetworkLoadBalancerArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointService" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EC2::VPCEndpointServicePermissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPrincipals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCEndpointServicePermissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCGatewayAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InternetGatewayId": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCGatewayAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPCPeeringConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PeerOwnerId": { - "type": "string" - }, - "PeerRegion": { - "type": "string" - }, - "PeerRoleArn": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "PeerVpcId", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPCPeeringConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayId": { - "type": "string" - }, - "StaticRoutesOnly": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitGatewayId": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "VpnGatewayId": { - "type": "string" - }, - "VpnTunnelOptionsSpecifications": { - "items": { - "$ref": "#/definitions/AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification" - }, - "type": "array" - } - }, - "required": [ - "CustomerGatewayId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification": { - "additionalProperties": false, - "properties": { - "PreSharedKey": { - "type": "string" - }, - "TunnelInsideCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EC2::VPNConnectionRoute": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationCidrBlock": { - "type": "string" - }, - "VpnConnectionId": { - "type": "string" - } - }, - "required": [ - "DestinationCidrBlock", - "VpnConnectionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNConnectionRoute" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonSideAsn": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VPNGatewayRoutePropagation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpnGatewayId": { - "type": "string" - } - }, - "required": [ - "RouteTableIds", - "VpnGatewayId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VPNGatewayRoutePropagation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoEnableIO": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "MultiAttachEnabled": { - "type": "boolean" - }, - "OutpostArn": { - "type": "string" - }, - "Size": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Throughput": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EC2::VolumeAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "VolumeId": { - "type": "string" - } - }, - "required": [ - "Device", - "InstanceId", - "VolumeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EC2::VolumeAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::PublicRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RepositoryCatalogData": { - "type": "object" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::PublicRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyText": { - "type": "object" - } - }, - "required": [ - "PolicyText" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationConfiguration" - } - }, - "required": [ - "ReplicationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::ReplicationConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "required": [ - "Region", - "RegistryId" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.ReplicationRule": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.ReplicationDestination" - }, - "type": "array" - }, - "RepositoryFilters": { - "items": { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration.RepositoryFilter" - }, - "type": "array" - } - }, - "required": [ - "Destinations" - ], - "type": "object" - }, - "AWS::ECR::ReplicationConfiguration.RepositoryFilter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "FilterType": { - "type": "string" - } - }, - "required": [ - "Filter", - "FilterType" - ], - "type": "object" - }, - "AWS::ECR::Repository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.EncryptionConfiguration" - }, - "ImageScanningConfiguration": { - "$ref": "#/definitions/AWS::ECR::Repository.ImageScanningConfiguration" - }, - "ImageTagMutability": { - "type": "string" - }, - "LifecyclePolicy": { - "$ref": "#/definitions/AWS::ECR::Repository.LifecyclePolicy" - }, - "RepositoryName": { - "type": "string" - }, - "RepositoryPolicyText": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECR::Repository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECR::Repository.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KmsKey": { - "type": "string" - } - }, - "required": [ - "EncryptionType" - ], - "type": "object" - }, - "AWS::ECR::Repository.ImageScanningConfiguration": { - "additionalProperties": false, - "properties": { - "ScanOnPush": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ECR::Repository.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "LifecyclePolicyText": { - "type": "string" - }, - "RegistryId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::CapacityProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupProvider": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.AutoScalingGroupProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AutoScalingGroupProvider" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::CapacityProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.AutoScalingGroupProvider": { - "additionalProperties": false, - "properties": { - "AutoScalingGroupArn": { - "type": "string" - }, - "ManagedScaling": { - "$ref": "#/definitions/AWS::ECS::CapacityProvider.ManagedScaling" - }, - "ManagedTerminationProtection": { - "type": "string" - } - }, - "required": [ - "AutoScalingGroupArn" - ], - "type": "object" - }, - "AWS::ECS::CapacityProvider.ManagedScaling": { - "additionalProperties": false, - "properties": { - "InstanceWarmupPeriod": { - "type": "number" - }, - "MaximumScalingStepSize": { - "type": "number" - }, - "MinimumScalingStepSize": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "TargetCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterName": { - "type": "string" - }, - "ClusterSettings": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterSettings" - }, - "type": "array" - }, - "Configuration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ClusterConfiguration" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Cluster.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Cluster.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterConfiguration": { - "additionalProperties": false, - "properties": { - "ExecuteCommandConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ClusterSettings": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::Cluster.ExecuteCommandLogConfiguration" - }, - "Logging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Cluster.ExecuteCommandLogConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionEnabled": { - "type": "boolean" - }, - "CloudWatchLogGroupName": { - "type": "string" - }, - "S3BucketName": { - "type": "string" - }, - "S3EncryptionEnabled": { - "type": "boolean" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DefaultCapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy" - }, - "type": "array" - } - }, - "required": [ - "CapacityProviders", - "Cluster", - "DefaultCapacityProviderStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::ClusterCapacityProviderAssociations" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::ClusterCapacityProviderAssociations.CapacityProviderStrategy": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::ECS::PrimaryTaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "Service": { - "type": "string" - }, - "TaskSetId": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskSetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::PrimaryTaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "Cluster": { - "type": "string" - }, - "DeploymentConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentConfiguration" - }, - "DeploymentController": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentController" - }, - "DesiredCount": { - "type": "number" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "HealthCheckGracePeriodSeconds": { - "type": "number" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "Role": { - "type": "string" - }, - "SchedulingStrategy": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::Service.ServiceRegistry" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::Service.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentCircuitBreaker": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "Rollback": { - "type": "boolean" - } - }, - "required": [ - "Enable", - "Rollback" - ], - "type": "object" - }, - "AWS::ECS::Service.DeploymentConfiguration": { - "additionalProperties": false, - "properties": { - "DeploymentCircuitBreaker": { - "$ref": "#/definitions/AWS::ECS::Service.DeploymentCircuitBreaker" - }, - "MaximumPercent": { - "type": "number" - }, - "MinimumHealthyPercent": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::Service.DeploymentController": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::Service.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsvpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::Service.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::Service.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::Service.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerDefinitions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDefinition" - }, - "type": "array" - }, - "Cpu": { - "type": "string" - }, - "EphemeralStorage": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EphemeralStorage" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "InferenceAccelerators": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.InferenceAccelerator" - }, - "type": "array" - }, - "IpcMode": { - "type": "string" - }, - "Memory": { - "type": "string" - }, - "NetworkMode": { - "type": "string" - }, - "PidMode": { - "type": "string" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint" - }, - "type": "array" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ProxyConfiguration" - }, - "RequiresCompatibilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RuntimePlatform": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RuntimePlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskRoleArn": { - "type": "string" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.AuthorizationConfig": { - "additionalProperties": false, - "properties": { - "AccessPointId": { - "type": "string" - }, - "IAM": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cpu": { - "type": "number" - }, - "DependsOn": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ContainerDependency" - }, - "type": "array" - }, - "DisableNetworking": { - "type": "boolean" - }, - "DnsSearchDomains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DnsServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DockerLabels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DockerSecurityOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "EnvironmentFiles": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EnvironmentFile" - }, - "type": "array" - }, - "Essential": { - "type": "boolean" - }, - "ExtraHosts": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostEntry" - }, - "type": "array" - }, - "FirelensConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.FirelensConfiguration" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HealthCheck" - }, - "Hostname": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "Interactive": { - "type": "boolean" - }, - "Links": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LinuxParameters": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LinuxParameters" - }, - "LogConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.LogConfiguration" - }, - "Memory": { - "type": "number" - }, - "MemoryReservation": { - "type": "number" - }, - "MountPoints": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.MountPoint" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PortMappings": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.PortMapping" - }, - "type": "array" - }, - "Privileged": { - "type": "boolean" - }, - "PseudoTerminal": { - "type": "boolean" - }, - "ReadonlyRootFilesystem": { - "type": "boolean" - }, - "RepositoryCredentials": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.RepositoryCredentials" - }, - "ResourceRequirements": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.ResourceRequirement" - }, - "type": "array" - }, - "Secrets": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - }, - "StartTimeout": { - "type": "number" - }, - "StopTimeout": { - "type": "number" - }, - "SystemControls": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.SystemControl" - }, - "type": "array" - }, - "Ulimits": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Ulimit" - }, - "type": "array" - }, - "User": { - "type": "string" - }, - "VolumesFrom": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.VolumeFrom" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ContainerDependency": { - "additionalProperties": false, - "properties": { - "Condition": { - "type": "string" - }, - "ContainerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Device": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "HostPath": { - "type": "string" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.DockerVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Autoprovision": { - "type": "boolean" - }, - "Driver": { - "type": "string" - }, - "DriverOpts": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Labels": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Scope": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EFSVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "AuthorizationConfig": { - "type": "object" - }, - "FilesystemId": { - "type": "string" - }, - "RootDirectory": { - "type": "string" - }, - "TransitEncryption": { - "type": "string" - }, - "TransitEncryptionPort": { - "type": "number" - } - }, - "required": [ - "FilesystemId" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.EnvironmentFile": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.EphemeralStorage": { - "additionalProperties": false, - "properties": { - "SizeInGiB": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.FirelensConfiguration": { - "additionalProperties": false, - "properties": { - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HealthCheck": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Interval": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "StartPeriod": { - "type": "number" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostEntry": { - "additionalProperties": false, - "properties": { - "Hostname": { - "type": "string" - }, - "IpAddress": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.HostVolumeProperties": { - "additionalProperties": false, - "properties": { - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.InferenceAccelerator": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KernelCapabilities": { - "additionalProperties": false, - "properties": { - "Add": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Drop": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.KeyValuePair": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LinuxParameters": { - "additionalProperties": false, - "properties": { - "Capabilities": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KernelCapabilities" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Device" - }, - "type": "array" - }, - "InitProcessEnabled": { - "type": "boolean" - }, - "MaxSwap": { - "type": "number" - }, - "SharedMemorySize": { - "type": "number" - }, - "Swappiness": { - "type": "number" - }, - "Tmpfs": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Tmpfs" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogDriver": { - "type": "string" - }, - "Options": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecretOptions": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.Secret" - }, - "type": "array" - } - }, - "required": [ - "LogDriver" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.MountPoint": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "ReadOnly": { - "type": "boolean" - }, - "SourceVolume": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.PortMapping": { - "additionalProperties": false, - "properties": { - "ContainerPort": { - "type": "number" - }, - "HostPort": { - "type": "number" - }, - "Protocol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ProxyConfigurationProperties": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.KeyValuePair" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RepositoryCredentials": { - "additionalProperties": false, - "properties": { - "CredentialsParameter": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.ResourceRequirement": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.RuntimePlatform": { - "additionalProperties": false, - "properties": { - "CpuArchitecture": { - "type": "string" - }, - "OperatingSystemFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.Secret": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ValueFrom": { - "type": "string" - } - }, - "required": [ - "Name", - "ValueFrom" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.SystemControl": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Tmpfs": { - "additionalProperties": false, - "properties": { - "ContainerPath": { - "type": "string" - }, - "MountOptions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Size": { - "type": "number" - } - }, - "required": [ - "Size" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Ulimit": { - "additionalProperties": false, - "properties": { - "HardLimit": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "SoftLimit": { - "type": "number" - } - }, - "required": [ - "HardLimit", - "Name", - "SoftLimit" - ], - "type": "object" - }, - "AWS::ECS::TaskDefinition.Volume": { - "additionalProperties": false, - "properties": { - "DockerVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.DockerVolumeConfiguration" - }, - "EFSVolumeConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.EFSVolumeConfiguration" - }, - "Host": { - "$ref": "#/definitions/AWS::ECS::TaskDefinition.HostVolumeProperties" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskDefinition.VolumeFrom": { - "additionalProperties": false, - "properties": { - "ReadOnly": { - "type": "boolean" - }, - "SourceContainer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cluster": { - "type": "string" - }, - "ExternalId": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "LoadBalancers": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.LoadBalancer" - }, - "type": "array" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.NetworkConfiguration" - }, - "PlatformVersion": { - "type": "string" - }, - "Scale": { - "$ref": "#/definitions/AWS::ECS::TaskSet.Scale" - }, - "Service": { - "type": "string" - }, - "ServiceRegistries": { - "items": { - "$ref": "#/definitions/AWS::ECS::TaskSet.ServiceRegistry" - }, - "type": "array" - }, - "TaskDefinition": { - "type": "string" - } - }, - "required": [ - "Cluster", - "Service", - "TaskDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ECS::TaskSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::ECS::TaskSet.LoadBalancer": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "LoadBalancerName": { - "type": "string" - }, - "TargetGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::ECS::TaskSet.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.Scale": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ECS::TaskSet.ServiceRegistry": { - "additionalProperties": false, - "properties": { - "ContainerName": { - "type": "string" - }, - "ContainerPort": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "RegistryArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPointTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.AccessPointTag" - }, - "type": "array" - }, - "ClientToken": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "PosixUser": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.PosixUser" - }, - "RootDirectory": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.RootDirectory" - } - }, - "required": [ - "FileSystemId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.AccessPointTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::AccessPoint.CreationInfo": { - "additionalProperties": false, - "properties": { - "OwnerGid": { - "type": "string" - }, - "OwnerUid": { - "type": "string" - }, - "Permissions": { - "type": "string" - } - }, - "required": [ - "OwnerGid", - "OwnerUid", - "Permissions" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.PosixUser": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "string" - }, - "SecondaryGids": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Uid": { - "type": "string" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::EFS::AccessPoint.RootDirectory": { - "additionalProperties": false, - "properties": { - "CreationInfo": { - "$ref": "#/definitions/AWS::EFS::AccessPoint.CreationInfo" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneName": { - "type": "string" - }, - "BackupPolicy": { - "$ref": "#/definitions/AWS::EFS::FileSystem.BackupPolicy" - }, - "BypassPolicyLockoutSafetyCheck": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "FileSystemPolicy": { - "type": "object" - }, - "FileSystemTags": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.ElasticFileSystemTag" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecyclePolicies": { - "items": { - "$ref": "#/definitions/AWS::EFS::FileSystem.LifecyclePolicy" - }, - "type": "array" - }, - "PerformanceMode": { - "type": "string" - }, - "ProvisionedThroughputInMibps": { - "type": "number" - }, - "ThroughputMode": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.BackupPolicy": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.ElasticFileSystemTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EFS::FileSystem.LifecyclePolicy": { - "additionalProperties": false, - "properties": { - "TransitionToIA": { - "type": "string" - }, - "TransitionToPrimaryStorageClass": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EFS::MountTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FileSystemId": { - "type": "string" - }, - "IpAddress": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FileSystemId", - "SecurityGroups", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EFS::MountTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Addon": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddonName": { - "type": "string" - }, - "AddonVersion": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "ResolveConflicts": { - "type": "string" - }, - "ServiceAccountRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AddonName", - "ClusterName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Addon" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfig": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.EncryptionConfig" - }, - "type": "array" - }, - "KubernetesNetworkConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.KubernetesNetworkConfig" - }, - "Logging": { - "$ref": "#/definitions/AWS::EKS::Cluster.Logging" - }, - "Name": { - "type": "string" - }, - "ResourcesVpcConfig": { - "$ref": "#/definitions/AWS::EKS::Cluster.ResourcesVpcConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ResourcesVpcConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Cluster.ClusterLogging": { - "additionalProperties": false, - "properties": { - "EnabledTypes": { - "items": { - "$ref": "#/definitions/AWS::EKS::Cluster.LoggingTypeConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.EncryptionConfig": { - "additionalProperties": false, - "properties": { - "Provider": { - "type": "object" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.KubernetesNetworkConfig": { - "additionalProperties": false, - "properties": { - "IpFamily": { - "type": "string" - }, - "ServiceIpv4Cidr": { - "type": "string" - }, - "ServiceIpv6Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.Logging": { - "additionalProperties": false, - "properties": { - "ClusterLogging": { - "$ref": "#/definitions/AWS::EKS::Cluster.ClusterLogging" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.LoggingTypeConfig": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Cluster.ResourcesVpcConfig": { - "additionalProperties": false, - "properties": { - "EndpointPrivateAccess": { - "type": "boolean" - }, - "EndpointPublicAccess": { - "type": "boolean" - }, - "PublicAccessCidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SubnetIds" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterName": { - "type": "string" - }, - "FargateProfileName": { - "type": "string" - }, - "PodExecutionRoleArn": { - "type": "string" - }, - "Selectors": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Selector" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ClusterName", - "PodExecutionRoleArn", - "Selectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::FargateProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Label": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EKS::FargateProfile.Selector": { - "additionalProperties": false, - "properties": { - "Labels": { - "items": { - "$ref": "#/definitions/AWS::EKS::FargateProfile.Label" - }, - "type": "array" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmiType": { - "type": "string" - }, - "CapacityType": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "DiskSize": { - "type": "number" - }, - "ForceUpdateEnabled": { - "type": "boolean" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Labels": { - "type": "object" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.LaunchTemplateSpecification" - }, - "NodeRole": { - "type": "string" - }, - "NodegroupName": { - "type": "string" - }, - "ReleaseVersion": { - "type": "string" - }, - "RemoteAccess": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.RemoteAccess" - }, - "ScalingConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.ScalingConfig" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Taints": { - "items": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.Taint" - }, - "type": "array" - }, - "UpdateConfig": { - "$ref": "#/definitions/AWS::EKS::Nodegroup.UpdateConfig" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ClusterName", - "NodeRole", - "Subnets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EKS::Nodegroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.LaunchTemplateSpecification": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.RemoteAccess": { - "additionalProperties": false, - "properties": { - "Ec2SshKey": { - "type": "string" - }, - "SourceSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Ec2SshKey" - ], - "type": "object" - }, - "AWS::EKS::Nodegroup.ScalingConfig": { - "additionalProperties": false, - "properties": { - "DesiredSize": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.Taint": { - "additionalProperties": false, - "properties": { - "Effect": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EKS::Nodegroup.UpdateConfig": { - "additionalProperties": false, - "properties": { - "MaxUnavailable": { - "type": "number" - }, - "MaxUnavailablePercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "type": "object" - }, - "Applications": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Application" - }, - "type": "array" - }, - "AutoScalingRole": { - "type": "string" - }, - "BootstrapActions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.BootstrapActionConfig" - }, - "type": "array" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsRootVolumeSize": { - "type": "number" - }, - "Instances": { - "$ref": "#/definitions/AWS::EMR::Cluster.JobFlowInstancesConfig" - }, - "JobFlowRole": { - "type": "string" - }, - "KerberosAttributes": { - "$ref": "#/definitions/AWS::EMR::Cluster.KerberosAttributes" - }, - "LogEncryptionKmsKeyId": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "ManagedScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.ManagedScalingPolicy" - }, - "Name": { - "type": "string" - }, - "ReleaseLabel": { - "type": "string" - }, - "ScaleDownBehavior": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "StepConcurrencyLevel": { - "type": "number" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibleToAllUsers": { - "type": "boolean" - } - }, - "required": [ - "Instances", - "JobFlowRole", - "Name", - "ServiceRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Application": { - "additionalProperties": false, - "properties": { - "AdditionalInfo": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::Cluster.BootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ScriptBootstrapAction": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScriptBootstrapActionConfig" - } - }, - "required": [ - "Name", - "ScriptBootstrapAction" - ], - "type": "object" - }, - "AWS::EMR::Cluster.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ComputeLimits": { - "additionalProperties": false, - "properties": { - "MaximumCapacityUnits": { - "type": "number" - }, - "MaximumCoreCapacityUnits": { - "type": "number" - }, - "MaximumOnDemandCapacityUnits": { - "type": "number" - }, - "MinimumCapacityUnits": { - "type": "number" - }, - "UnitType": { - "type": "string" - } - }, - "required": [ - "MaximumCapacityUnits", - "MinimumCapacityUnits", - "UnitType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::Cluster.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::Cluster.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::Cluster.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::Cluster.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::Cluster.JobFlowInstancesConfig": { - "additionalProperties": false, - "properties": { - "AdditionalMasterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalSlaveSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CoreInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "CoreInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Ec2KeyName": { - "type": "string" - }, - "Ec2SubnetId": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmrManagedMasterSecurityGroup": { - "type": "string" - }, - "EmrManagedSlaveSecurityGroup": { - "type": "string" - }, - "HadoopVersion": { - "type": "string" - }, - "KeepJobFlowAliveWhenNoSteps": { - "type": "boolean" - }, - "MasterInstanceFleet": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceFleetConfig" - }, - "MasterInstanceGroup": { - "$ref": "#/definitions/AWS::EMR::Cluster.InstanceGroupConfig" - }, - "Placement": { - "$ref": "#/definitions/AWS::EMR::Cluster.PlacementType" - }, - "ServiceAccessSecurityGroup": { - "type": "string" - }, - "TerminationProtected": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.KerberosAttributes": { - "additionalProperties": false, - "properties": { - "ADDomainJoinPassword": { - "type": "string" - }, - "ADDomainJoinUser": { - "type": "string" - }, - "CrossRealmTrustPrincipalPassword": { - "type": "string" - }, - "KdcAdminPassword": { - "type": "string" - }, - "Realm": { - "type": "string" - } - }, - "required": [ - "KdcAdminPassword", - "Realm" - ], - "type": "object" - }, - "AWS::EMR::Cluster.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.ManagedScalingPolicy": { - "additionalProperties": false, - "properties": { - "ComputeLimits": { - "$ref": "#/definitions/AWS::EMR::Cluster.ComputeLimits" - } - }, - "type": "object" - }, - "AWS::EMR::Cluster.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::Cluster.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::Cluster.PlacementType": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::Cluster.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::Cluster.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::Cluster.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::Cluster.ScriptBootstrapActionConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "required": [ - "Path" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::Cluster.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::Cluster.StepConfig": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Cluster.HadoopJarStepConfig" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "HadoopJarStep", - "Name" - ], - "type": "object" - }, - "AWS::EMR::Cluster.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "InstanceFleetType": { - "type": "string" - }, - "InstanceTypeConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceTypeConfig" - }, - "type": "array" - }, - "LaunchSpecifications": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications" - }, - "Name": { - "type": "string" - }, - "TargetOnDemandCapacity": { - "type": "number" - }, - "TargetSpotCapacity": { - "type": "number" - } - }, - "required": [ - "ClusterId", - "InstanceFleetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceFleetConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceFleetProvisioningSpecifications": { - "additionalProperties": false, - "properties": { - "OnDemandSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification" - }, - "SpotSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.InstanceTypeConfig": { - "additionalProperties": false, - "properties": { - "BidPrice": { - "type": "string" - }, - "BidPriceAsPercentageOfOnDemandPrice": { - "type": "number" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig.EbsConfiguration" - }, - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "number" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - } - }, - "required": [ - "AllocationStrategy" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification": { - "additionalProperties": false, - "properties": { - "AllocationStrategy": { - "type": "string" - }, - "BlockDurationMinutes": { - "type": "number" - }, - "TimeoutAction": { - "type": "string" - }, - "TimeoutDurationMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutAction", - "TimeoutDurationMinutes" - ], - "type": "object" - }, - "AWS::EMR::InstanceFleetConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.AutoScalingPolicy" - }, - "BidPrice": { - "type": "string" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - }, - "CustomAmiId": { - "type": "string" - }, - "EbsConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsConfiguration" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceRole": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "JobFlowId": { - "type": "string" - }, - "Market": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "InstanceCount", - "InstanceRole", - "InstanceType", - "JobFlowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::InstanceGroupConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "Constraints": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingConstraints" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingRule" - }, - "type": "array" - } - }, - "required": [ - "Constraints", - "Rules" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.MetricDimension" - }, - "type": "array" - }, - "EvaluationPeriods": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "Statistic": { - "type": "string" - }, - "Threshold": { - "type": "number" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "MetricName", - "Period", - "Threshold" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.Configuration": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "ConfigurationProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Configurations": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.Configuration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig": { - "additionalProperties": false, - "properties": { - "VolumeSpecification": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.VolumeSpecification" - }, - "VolumesPerInstance": { - "type": "number" - } - }, - "required": [ - "VolumeSpecification" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.EbsConfiguration": { - "additionalProperties": false, - "properties": { - "EbsBlockDeviceConfigs": { - "items": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.MetricDimension": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingAction": { - "additionalProperties": false, - "properties": { - "Market": { - "type": "string" - }, - "SimpleScalingPolicyConfiguration": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration" - } - }, - "required": [ - "SimpleScalingPolicyConfiguration" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingConstraints": { - "additionalProperties": false, - "properties": { - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - } - }, - "required": [ - "MaxCapacity", - "MinCapacity" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Trigger": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.ScalingTrigger" - } - }, - "required": [ - "Action", - "Name", - "Trigger" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.ScalingTrigger": { - "additionalProperties": false, - "properties": { - "CloudWatchAlarmDefinition": { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition" - } - }, - "required": [ - "CloudWatchAlarmDefinition" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.SimpleScalingPolicyConfiguration": { - "additionalProperties": false, - "properties": { - "AdjustmentType": { - "type": "string" - }, - "CoolDown": { - "type": "number" - }, - "ScalingAdjustment": { - "type": "number" - } - }, - "required": [ - "ScalingAdjustment" - ], - "type": "object" - }, - "AWS::EMR::InstanceGroupConfig.VolumeSpecification": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "SizeInGB": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "required": [ - "SizeInGB", - "VolumeType" - ], - "type": "object" - }, - "AWS::EMR::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "object" - } - }, - "required": [ - "SecurityConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionOnFailure": { - "type": "string" - }, - "HadoopJarStep": { - "$ref": "#/definitions/AWS::EMR::Step.HadoopJarStepConfig" - }, - "JobFlowId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ActionOnFailure", - "HadoopJarStep", - "JobFlowId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Step" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::Step.HadoopJarStepConfig": { - "additionalProperties": false, - "properties": { - "Args": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Jar": { - "type": "string" - }, - "MainClass": { - "type": "string" - }, - "StepProperties": { - "items": { - "$ref": "#/definitions/AWS::EMR::Step.KeyValue" - }, - "type": "array" - } - }, - "required": [ - "Jar" - ], - "type": "object" - }, - "AWS::EMR::Step.KeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::EMR::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthMode": { - "type": "string" - }, - "DefaultS3Location": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineSecurityGroupId": { - "type": "string" - }, - "IdpAuthUrl": { - "type": "string" - }, - "IdpRelayStateParameterName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServiceRole": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserRole": { - "type": "string" - }, - "VpcId": { - "type": "string" - }, - "WorkspaceSecurityGroupId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultS3Location", - "EngineSecurityGroupId", - "Name", - "ServiceRole", - "SubnetIds", - "VpcId", - "WorkspaceSecurityGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMR::StudioSessionMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - }, - "IdentityType": { - "type": "string" - }, - "SessionPolicyArn": { - "type": "string" - }, - "StudioId": { - "type": "string" - } - }, - "required": [ - "IdentityName", - "IdentityType", - "SessionPolicyArn", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMR::StudioSessionMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerProvider": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerProvider" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerProvider", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EMRContainers::VirtualCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerInfo": { - "additionalProperties": false, - "properties": { - "EksInfo": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.EksInfo" - } - }, - "required": [ - "EksInfo" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.ContainerProvider": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Info": { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster.ContainerInfo" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Id", - "Info", - "Type" - ], - "type": "object" - }, - "AWS::EMRContainers::VirtualCluster.EksInfo": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - } - }, - "required": [ - "Namespace" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AZMode": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "ClusterName": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheNodes": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredAvailabilityZone": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "CacheNodeType", - "Engine", - "NumCacheNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::CacheCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::CacheCluster.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalNodeGroupCount": { - "type": "number" - }, - "GlobalReplicationGroupDescription": { - "type": "string" - }, - "GlobalReplicationGroupIdSuffix": { - "type": "string" - }, - "Members": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember" - }, - "type": "array" - }, - "RegionalConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Members" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::GlobalReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.GlobalReplicationGroupMember": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "Role": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.RegionalConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicationGroupId": { - "type": "string" - }, - "ReplicationGroupRegion": { - "type": "string" - }, - "ReshardingConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::GlobalReplicationGroup.ReshardingConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PreferredAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheParameterGroupFamily": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Properties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CacheParameterGroupFamily", - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AtRestEncryptionEnabled": { - "type": "boolean" - }, - "AuthToken": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AutomaticFailoverEnabled": { - "type": "boolean" - }, - "CacheNodeType": { - "type": "string" - }, - "CacheParameterGroupName": { - "type": "string" - }, - "CacheSecurityGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheSubnetGroupName": { - "type": "string" - }, - "DataTieringEnabled": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalReplicationGroupId": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LogDeliveryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest" - }, - "type": "array" - }, - "MultiAZEnabled": { - "type": "boolean" - }, - "NodeGroupConfiguration": { - "items": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration" - }, - "type": "array" - }, - "NotificationTopicArn": { - "type": "string" - }, - "NumCacheClusters": { - "type": "number" - }, - "NumNodeGroups": { - "type": "number" - }, - "Port": { - "type": "number" - }, - "PreferredCacheClusterAZs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PrimaryClusterId": { - "type": "string" - }, - "ReplicasPerNodeGroup": { - "type": "number" - }, - "ReplicationGroupDescription": { - "type": "string" - }, - "ReplicationGroupId": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnapshottingClusterId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TransitEncryptionEnabled": { - "type": "boolean" - }, - "UserGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ReplicationGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::ReplicationGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - } - }, - "required": [ - "LogGroup" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.DestinationDetails": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.CloudWatchLogsDestinationDetails" - }, - "KinesisFirehoseDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails" - } - }, - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.KinesisFirehoseDestinationDetails": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - } - }, - "required": [ - "DeliveryStream" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.LogDeliveryConfigurationRequest": { - "additionalProperties": false, - "properties": { - "DestinationDetails": { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup.DestinationDetails" - }, - "DestinationType": { - "type": "string" - }, - "LogFormat": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "DestinationDetails", - "DestinationType", - "LogFormat", - "LogType" - ], - "type": "object" - }, - "AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration": { - "additionalProperties": false, - "properties": { - "NodeGroupId": { - "type": "string" - }, - "PrimaryAvailabilityZone": { - "type": "string" - }, - "ReplicaAvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ReplicaCount": { - "type": "number" - }, - "Slots": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElastiCache::SecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "CacheSecurityGroupName", - "EC2SecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CacheSubnetGroupName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "Engine": { - "type": "string" - }, - "NoPasswordRequired": { - "type": "boolean" - }, - "Passwords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserId": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Engine", - "UserId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElastiCache::UserGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Engine": { - "type": "string" - }, - "UserGroupId": { - "type": "string" - }, - "UserIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine", - "UserGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElastiCache::UserGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ResourceLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationResourceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "ServiceRole": { - "type": "string" - }, - "VersionLifecycleConfig": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.ApplicationVersionLifecycleConfig": { - "additionalProperties": false, - "properties": { - "MaxAgeRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxAgeRule" - }, - "MaxCountRule": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application.MaxCountRule" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxAgeRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxAgeInDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::Application.MaxCountRule": { - "additionalProperties": false, - "properties": { - "DeleteSourceFromS3": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "SourceBundle": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle" - } - }, - "required": [ - "ApplicationName", - "SourceBundle" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ApplicationVersion.SourceBundle": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentId": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::ConfigurationTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::ConfigurationTemplate.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ApplicationName", - "TemplateName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CNAMEPrefix": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EnvironmentName": { - "type": "string" - }, - "OperationsRole": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.OptionSetting" - }, - "type": "array" - }, - "PlatformArn": { - "type": "string" - }, - "SolutionStackName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateName": { - "type": "string" - }, - "Tier": { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment.Tier" - }, - "VersionLabel": { - "type": "string" - } - }, - "required": [ - "ApplicationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticBeanstalk::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.OptionSetting": { - "additionalProperties": false, - "properties": { - "Namespace": { - "type": "string" - }, - "OptionName": { - "type": "string" - }, - "ResourceName": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Namespace", - "OptionName" - ], - "type": "object" - }, - "AWS::ElasticBeanstalk::Environment.Tier": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy" - }, - "AppCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectionDrainingPolicy": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy" - }, - "ConnectionSettings": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings" - }, - "CrossZone": { - "type": "boolean" - }, - "HealthCheck": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck" - }, - "Instances": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LBCookieStickinessPolicy": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy" - }, - "type": "array" - }, - "Listeners": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Listeners" - }, - "type": "array" - }, - "LoadBalancerName": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer.Policies" - }, - "type": "array" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Listeners" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancing::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy": { - "additionalProperties": false, - "properties": { - "EmitInterval": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "S3BucketName": { - "type": "string" - }, - "S3BucketPrefix": { - "type": "string" - } - }, - "required": [ - "Enabled", - "S3BucketName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieName": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "CookieName", - "PolicyName" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings": { - "additionalProperties": false, - "properties": { - "IdleTimeout": { - "type": "number" - } - }, - "required": [ - "IdleTimeout" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck": { - "additionalProperties": false, - "properties": { - "HealthyThreshold": { - "type": "string" - }, - "Interval": { - "type": "string" - }, - "Target": { - "type": "string" - }, - "Timeout": { - "type": "string" - }, - "UnhealthyThreshold": { - "type": "string" - } - }, - "required": [ - "HealthyThreshold", - "Interval", - "Target", - "Timeout", - "UnhealthyThreshold" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.LBCookieStickinessPolicy": { - "additionalProperties": false, - "properties": { - "CookieExpirationPeriod": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Listeners": { - "additionalProperties": false, - "properties": { - "InstancePort": { - "type": "string" - }, - "InstanceProtocol": { - "type": "string" - }, - "LoadBalancerPort": { - "type": "string" - }, - "PolicyNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "SSLCertificateId": { - "type": "string" - } - }, - "required": [ - "InstancePort", - "LoadBalancerPort", - "Protocol" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancing::LoadBalancer.Policies": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "object" - }, - "type": "array" - }, - "InstancePorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoadBalancerPorts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyName": { - "type": "string" - }, - "PolicyType": { - "type": "string" - } - }, - "required": [ - "Attributes", - "PolicyName", - "PolicyType" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlpnPolicy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Certificate" - }, - "type": "array" - }, - "DefaultActions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.Action" - }, - "type": "array" - }, - "LoadBalancerArn": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "SslPolicy": { - "type": "string" - } - }, - "required": [ - "DefaultActions", - "LoadBalancerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "string" - }, - "TokenEndpoint": { - "type": "string" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::Listener.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificates": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - } - }, - "required": [ - "Certificates", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerCertificate.Certificate": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.Action" - }, - "type": "array" - }, - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition" - }, - "type": "array" - }, - "ListenerArn": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Actions", - "Conditions", - "ListenerArn", - "Priority" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::ListenerRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.Action": { - "additionalProperties": false, - "properties": { - "AuthenticateCognitoConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig" - }, - "AuthenticateOidcConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig" - }, - "FixedResponseConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig" - }, - "ForwardConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig" - }, - "Order": { - "type": "number" - }, - "RedirectConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig" - }, - "TargetGroupArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateCognitoConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "UserPoolArn": { - "type": "string" - }, - "UserPoolClientId": { - "type": "string" - }, - "UserPoolDomain": { - "type": "string" - } - }, - "required": [ - "UserPoolArn", - "UserPoolClientId", - "UserPoolDomain" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.AuthenticateOidcConfig": { - "additionalProperties": false, - "properties": { - "AuthenticationRequestExtraParams": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AuthorizationEndpoint": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "OnUnauthenticatedRequest": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "SessionCookieName": { - "type": "string" - }, - "SessionTimeout": { - "type": "number" - }, - "TokenEndpoint": { - "type": "string" - }, - "UseExistingClientSecret": { - "type": "boolean" - }, - "UserInfoEndpoint": { - "type": "string" - } - }, - "required": [ - "AuthorizationEndpoint", - "ClientId", - "ClientSecret", - "Issuer", - "TokenEndpoint", - "UserInfoEndpoint" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.FixedResponseConfig": { - "additionalProperties": false, - "properties": { - "ContentType": { - "type": "string" - }, - "MessageBody": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.ForwardConfig": { - "additionalProperties": false, - "properties": { - "TargetGroupStickinessConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig" - }, - "TargetGroups": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig": { - "additionalProperties": false, - "properties": { - "HttpHeaderName": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RedirectConfig": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Port": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Query": { - "type": "string" - }, - "StatusCode": { - "type": "string" - } - }, - "required": [ - "StatusCode" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.RuleCondition": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "HostHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HostHeaderConfig" - }, - "HttpHeaderConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpHeaderConfig" - }, - "HttpRequestMethodConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.HttpRequestMethodConfig" - }, - "PathPatternConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.PathPatternConfig" - }, - "QueryStringConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.QueryStringConfig" - }, - "SourceIpConfig": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.SourceIpConfig": { - "additionalProperties": false, - "properties": { - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupStickinessConfig": { - "additionalProperties": false, - "properties": { - "DurationSeconds": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::ListenerRule.TargetGroupTuple": { - "additionalProperties": false, - "properties": { - "TargetGroupArn": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IpAddressType": { - "type": "string" - }, - "LoadBalancerAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Scheme": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::LoadBalancer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping": { - "additionalProperties": false, - "properties": { - "AllocationId": { - "type": "string" - }, - "IPv6Address": { - "type": "string" - }, - "PrivateIPv4Address": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckEnabled": { - "type": "boolean" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "string" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "HealthCheckTimeoutSeconds": { - "type": "number" - }, - "HealthyThresholdCount": { - "type": "number" - }, - "IpAddressType": { - "type": "string" - }, - "Matcher": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.Matcher" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "ProtocolVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetGroupAttributes": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription" - }, - "type": "array" - }, - "UnhealthyThresholdCount": { - "type": "number" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ElasticLoadBalancingV2::TargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.Matcher": { - "additionalProperties": false, - "properties": { - "GrpcCode": { - "type": "string" - }, - "HttpCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EBSOptions" - }, - "ElasticsearchClusterConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ElasticsearchClusterConfig" - }, - "ElasticsearchVersion": { - "type": "string" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.EncryptionAtRestOptions" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Elasticsearch::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Elasticsearch::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ColdStorageOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ElasticsearchClusterConfig": { - "additionalProperties": false, - "properties": { - "ColdStorageOptions": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ColdStorageOptions" - }, - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::Elasticsearch::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Elasticsearch::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::EventSchemas::Discoverer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CrossAccount": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Discoverer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Discoverer.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Registry.TagsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::EventSchemas::Registry.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::EventSchemas::RegistryPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Policy": { - "type": "object" - }, - "RegistryName": { - "type": "string" - }, - "RevisionId": { - "type": "string" - } - }, - "required": [ - "Policy", - "RegistryName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::RegistryPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "RegistryName": { - "type": "string" - }, - "SchemaName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::EventSchemas::Schema.TagsEntry" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Content", - "RegistryName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::EventSchemas::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::EventSchemas::Schema.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Events::ApiDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HttpMethod": { - "type": "string" - }, - "InvocationEndpoint": { - "type": "string" - }, - "InvocationRateLimitPerSecond": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ConnectionArn", - "HttpMethod", - "InvocationEndpoint" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::ApiDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Archive": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArchiveName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "RetentionDays": { - "type": "number" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "SourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Archive" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthParameters": { - "type": "object" - }, - "AuthorizationType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "AuthParameters", - "AuthorizationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBus": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EventSourceName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBus" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Condition": { - "$ref": "#/definitions/AWS::Events::EventBusPolicy.Condition" - }, - "EventBusName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "Statement": { - "type": "object" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::EventBusPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Events::EventBusPolicy.Condition": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventBusName": { - "type": "string" - }, - "EventPattern": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - }, - "State": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Events::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Events::Rule.AwsVpcConfiguration": { - "additionalProperties": false, - "properties": { - "AssignPublicIp": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Subnets" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchArrayProperties": { - "additionalProperties": false, - "properties": { - "Size": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.BatchParameters": { - "additionalProperties": false, - "properties": { - "ArrayProperties": { - "$ref": "#/definitions/AWS::Events::Rule.BatchArrayProperties" - }, - "JobDefinition": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "RetryStrategy": { - "$ref": "#/definitions/AWS::Events::Rule.BatchRetryStrategy" - } - }, - "required": [ - "JobDefinition", - "JobName" - ], - "type": "object" - }, - "AWS::Events::Rule.BatchRetryStrategy": { - "additionalProperties": false, - "properties": { - "Attempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.CapacityProviderStrategyItem": { - "additionalProperties": false, - "properties": { - "Base": { - "type": "number" - }, - "CapacityProvider": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "CapacityProvider" - ], - "type": "object" - }, - "AWS::Events::Rule.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.EcsParameters": { - "additionalProperties": false, - "properties": { - "CapacityProviderStrategy": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.CapacityProviderStrategyItem" - }, - "type": "array" - }, - "EnableECSManagedTags": { - "type": "boolean" - }, - "EnableExecuteCommand": { - "type": "boolean" - }, - "Group": { - "type": "string" - }, - "LaunchType": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.NetworkConfiguration" - }, - "PlacementConstraints": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementConstraint" - }, - "type": "array" - }, - "PlacementStrategies": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.PlacementStrategy" - }, - "type": "array" - }, - "PlatformVersion": { - "type": "string" - }, - "PropagateTags": { - "type": "string" - }, - "ReferenceId": { - "type": "string" - }, - "TagList": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskCount": { - "type": "number" - }, - "TaskDefinitionArn": { - "type": "string" - } - }, - "required": [ - "TaskDefinitionArn" - ], - "type": "object" - }, - "AWS::Events::Rule.HttpParameters": { - "additionalProperties": false, - "properties": { - "HeaderParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "PathParameterValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QueryStringParameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Events::Rule.InputTransformer": { - "additionalProperties": false, - "properties": { - "InputPathsMap": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "InputTemplate": { - "type": "string" - } - }, - "required": [ - "InputTemplate" - ], - "type": "object" - }, - "AWS::Events::Rule.KinesisParameters": { - "additionalProperties": false, - "properties": { - "PartitionKeyPath": { - "type": "string" - } - }, - "required": [ - "PartitionKeyPath" - ], - "type": "object" - }, - "AWS::Events::Rule.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "AwsVpcConfiguration": { - "$ref": "#/definitions/AWS::Events::Rule.AwsVpcConfiguration" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementConstraint": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.PlacementStrategy": { - "additionalProperties": false, - "properties": { - "Field": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RedshiftDataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "Sql": { - "type": "string" - }, - "StatementName": { - "type": "string" - }, - "WithEvent": { - "type": "boolean" - } - }, - "required": [ - "Database", - "Sql" - ], - "type": "object" - }, - "AWS::Events::Rule.RetryPolicy": { - "additionalProperties": false, - "properties": { - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Events::Rule.RunCommandParameters": { - "additionalProperties": false, - "properties": { - "RunCommandTargets": { - "items": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandTarget" - }, - "type": "array" - } - }, - "required": [ - "RunCommandTargets" - ], - "type": "object" - }, - "AWS::Events::Rule.RunCommandTarget": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::Events::Rule.SqsParameters": { - "additionalProperties": false, - "properties": { - "MessageGroupId": { - "type": "string" - } - }, - "required": [ - "MessageGroupId" - ], - "type": "object" - }, - "AWS::Events::Rule.Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Events::Rule.Target": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "BatchParameters": { - "$ref": "#/definitions/AWS::Events::Rule.BatchParameters" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Events::Rule.DeadLetterConfig" - }, - "EcsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.EcsParameters" - }, - "HttpParameters": { - "$ref": "#/definitions/AWS::Events::Rule.HttpParameters" - }, - "Id": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "InputTransformer": { - "$ref": "#/definitions/AWS::Events::Rule.InputTransformer" - }, - "KinesisParameters": { - "$ref": "#/definitions/AWS::Events::Rule.KinesisParameters" - }, - "RedshiftDataParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RedshiftDataParameters" - }, - "RetryPolicy": { - "$ref": "#/definitions/AWS::Events::Rule.RetryPolicy" - }, - "RoleArn": { - "type": "string" - }, - "RunCommandParameters": { - "$ref": "#/definitions/AWS::Events::Rule.RunCommandParameters" - }, - "SqsParameters": { - "$ref": "#/definitions/AWS::Events::Rule.SqsParameters" - } - }, - "required": [ - "Arn", - "Id" - ], - "type": "object" - }, - "AWS::Evidently::Experiment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MetricGoals": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.MetricGoalObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OnlineAbConfig": { - "$ref": "#/definitions/AWS::Evidently::Experiment.OnlineAbConfigObject" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "SamplingRate": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Treatments": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentObject" - }, - "type": "array" - } - }, - "required": [ - "MetricGoals", - "Name", - "OnlineAbConfig", - "Project", - "Treatments" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Experiment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.MetricGoalObject": { - "additionalProperties": false, - "properties": { - "DesiredChange": { - "type": "string" - }, - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "DesiredChange", - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.OnlineAbConfigObject": { - "additionalProperties": false, - "properties": { - "ControlTreatmentName": { - "type": "string" - }, - "TreatmentWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Experiment.TreatmentToWeight" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "TreatmentName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Experiment.TreatmentToWeight": { - "additionalProperties": false, - "properties": { - "SplitWeight": { - "type": "number" - }, - "Treatment": { - "type": "string" - } - }, - "required": [ - "SplitWeight", - "Treatment" - ], - "type": "object" - }, - "AWS::Evidently::Feature": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultVariation": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityOverrides": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.EntityOverride" - }, - "type": "array" - }, - "EvaluationStrategy": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Variations": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Feature.VariationObject" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Project", - "Variations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Feature" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Feature.EntityOverride": { - "additionalProperties": false, - "properties": { - "EntityId": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Feature.VariationObject": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "boolean" - }, - "DoubleValue": { - "type": "number" - }, - "LongValue": { - "type": "number" - }, - "StringValue": { - "type": "string" - }, - "VariationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Evidently::Launch": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.LaunchGroupObject" - }, - "type": "array" - }, - "MetricMonitors": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.MetricDefinitionObject" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Project": { - "type": "string" - }, - "RandomizationSalt": { - "type": "string" - }, - "ScheduledSplitsConfig": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.StepConfig" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Groups", - "Name", - "Project", - "ScheduledSplitsConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Launch" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Launch.GroupToWeight": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "SplitWeight": { - "type": "number" - } - }, - "required": [ - "GroupName", - "SplitWeight" - ], - "type": "object" - }, - "AWS::Evidently::Launch.LaunchGroupObject": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Feature": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "Variation": { - "type": "string" - } - }, - "required": [ - "Feature", - "GroupName", - "Variation" - ], - "type": "object" - }, - "AWS::Evidently::Launch.MetricDefinitionObject": { - "additionalProperties": false, - "properties": { - "EntityIdKey": { - "type": "string" - }, - "EventPattern": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "UnitLabel": { - "type": "string" - }, - "ValueKey": { - "type": "string" - } - }, - "required": [ - "EntityIdKey", - "EventPattern", - "MetricName", - "ValueKey" - ], - "type": "object" - }, - "AWS::Evidently::Launch.StepConfig": { - "additionalProperties": false, - "properties": { - "GroupWeights": { - "items": { - "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" - }, - "type": "array" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "GroupWeights", - "StartTime" - ], - "type": "object" - }, - "AWS::Evidently::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelivery": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Evidently::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Evidently::Project.DataDeliveryObject": { - "additionalProperties": false, - "properties": { - "LogGroup": { - "type": "string" - }, - "S3": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Evidently::Project.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateAction" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StopConditions": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Targets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget" - } - }, - "type": "object" - } - }, - "required": [ - "Description", - "RoleArn", - "StopConditions", - "Tags", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FIS::ExperimentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateAction": { - "additionalProperties": false, - "properties": { - "ActionId": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "StartAfter": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "ActionId" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateStopCondition": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTarget": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ResourceType": { - "type": "string" - }, - "SelectionMode": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "SelectionMode" - ], - "type": "object" - }, - "AWS::FIS::ExperimentTemplate.ExperimentTemplateTargetFilter": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Path", - "Values" - ], - "type": "object" - }, - "AWS::FMS::NotificationChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SnsRoleName": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "SnsRoleName", - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::NotificationChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteAllPolicyResources": { - "type": "boolean" - }, - "ExcludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "ExcludeResourceTags": { - "type": "boolean" - }, - "IncludeMap": { - "$ref": "#/definitions/AWS::FMS::Policy.IEMap" - }, - "PolicyName": { - "type": "string" - }, - "RemediationEnabled": { - "type": "boolean" - }, - "ResourceTags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.ResourceTag" - }, - "type": "array" - }, - "ResourceType": { - "type": "string" - }, - "ResourceTypeList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourcesCleanUp": { - "type": "boolean" - }, - "SecurityServicePolicyData": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::FMS::Policy.PolicyTag" - }, - "type": "array" - } - }, - "required": [ - "ExcludeResourceTags", - "PolicyName", - "RemediationEnabled", - "ResourceType", - "SecurityServicePolicyData" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FMS::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FMS::Policy.IEMap": { - "additionalProperties": false, - "properties": { - "ACCOUNT": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ORGUNIT": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FMS::Policy.PolicyTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::FMS::Policy.ResourceTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key" - ], - "type": "object" - }, - "AWS::FSx::FileSystem": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BackupId": { - "type": "string" - }, - "FileSystemType": { - "type": "string" - }, - "FileSystemTypeVersion": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LustreConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.LustreConfiguration" - }, - "OntapConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OntapConfiguration" - }, - "OpenZFSConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.OpenZFSConfiguration" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageCapacity": { - "type": "number" - }, - "StorageType": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WindowsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.WindowsConfiguration" - } - }, - "required": [ - "FileSystemType", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FSx::FileSystem" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.AuditLogConfiguration": { - "additionalProperties": false, - "properties": { - "AuditLogDestination": { - "type": "string" - }, - "FileAccessAuditLogLevel": { - "type": "string" - }, - "FileShareAccessAuditLogLevel": { - "type": "string" - } - }, - "required": [ - "FileAccessAuditLogLevel", - "FileShareAccessAuditLogLevel" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.ClientConfigurations": { - "additionalProperties": false, - "properties": { - "Clients": { - "type": "string" - }, - "Options": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.DiskIopsConfiguration": { - "additionalProperties": false, - "properties": { - "Iops": { - "type": "number" - }, - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.LustreConfiguration": { - "additionalProperties": false, - "properties": { - "AutoImportPolicy": { - "type": "string" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DataCompressionType": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DriveCacheType": { - "type": "string" - }, - "ExportPath": { - "type": "string" - }, - "ImportPath": { - "type": "string" - }, - "ImportedFileChunkSize": { - "type": "number" - }, - "PerUnitStorageThroughput": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.NfsExports": { - "additionalProperties": false, - "properties": { - "ClientConfigurations": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.ClientConfigurations" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.OntapConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "EndpointIpAddressRange": { - "type": "string" - }, - "FsxAdminPassword": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "RouteTableIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.OpenZFSConfiguration": { - "additionalProperties": false, - "properties": { - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "CopyTagsToVolumes": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "DiskIopsConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.DiskIopsConfiguration" - }, - "RootVolumeConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.RootVolumeConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "DeploymentType" - ], - "type": "object" - }, - "AWS::FSx::FileSystem.RootVolumeConfiguration": { - "additionalProperties": false, - "properties": { - "CopyTagsToSnapshots": { - "type": "boolean" - }, - "DataCompressionType": { - "type": "string" - }, - "NfsExports": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.NfsExports" - }, - "type": "array" - }, - "ReadOnly": { - "type": "boolean" - }, - "UserAndGroupQuotas": { - "items": { - "$ref": "#/definitions/AWS::FSx::FileSystem.UserAndGroupQuotas" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "DnsIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DomainName": { - "type": "string" - }, - "FileSystemAdministratorsGroup": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - }, - "Password": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.UserAndGroupQuotas": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "number" - }, - "StorageCapacityQuotaGiB": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FSx::FileSystem.WindowsConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryId": { - "type": "string" - }, - "Aliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuditLogConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.AuditLogConfiguration" - }, - "AutomaticBackupRetentionDays": { - "type": "number" - }, - "CopyTagsToBackups": { - "type": "boolean" - }, - "DailyAutomaticBackupStartTime": { - "type": "string" - }, - "DeploymentType": { - "type": "string" - }, - "PreferredSubnetId": { - "type": "string" - }, - "SelfManagedActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::FSx::FileSystem.SelfManagedActiveDirectoryConfiguration" - }, - "ThroughputCapacity": { - "type": "number" - }, - "WeeklyMaintenanceStartTime": { - "type": "string" - } - }, - "required": [ - "ThroughputCapacity" - ], - "type": "object" - }, - "AWS::FinSpace::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataBundles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "FederationMode": { - "type": "string" - }, - "FederationParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.FederationParameters" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SuperuserParameters": { - "$ref": "#/definitions/AWS::FinSpace::Environment.SuperuserParameters" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FinSpace::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FinSpace::Environment.FederationParameters": { - "additionalProperties": false, - "properties": { - "ApplicationCallBackURL": { - "type": "string" - }, - "AttributeMap": { - "type": "object" - }, - "FederationProviderName": { - "type": "string" - }, - "FederationURN": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "SamlMetadataURL": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FinSpace::Environment.SuperuserParameters": { - "additionalProperties": false, - "properties": { - "EmailAddress": { - "type": "string" - }, - "FirstName": { - "type": "string" - }, - "LastName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedModels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Model" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "DetectorVersionStatus": { - "type": "string" - }, - "EventType": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventType" - }, - "RuleExecutionMode": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Rule" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorId", - "EventType", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Detector.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.EventVariable" - }, - "type": "array" - }, - "Inline": { - "type": "boolean" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Label" - }, - "type": "array" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Model": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Outcome": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Detector.Rule": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "Language": { - "type": "string" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Outcomes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::Detector.Outcome" - }, - "type": "array" - }, - "RuleId": { - "type": "string" - }, - "RuleVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EntityType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EntityType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EntityTypes": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EntityType" - }, - "type": "array" - }, - "EventVariables": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.EventVariable" - }, - "type": "array" - }, - "Labels": { - "items": { - "$ref": "#/definitions/AWS::FraudDetector::EventType.Label" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EntityTypes", - "EventVariables", - "Labels", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::EventType" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::EventType.EntityType": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.EventVariable": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::FraudDetector::EventType.Label": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "CreatedTime": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Inline": { - "type": "boolean" - }, - "LastUpdatedTime": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::FraudDetector::Label": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Label" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Outcome": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Outcome" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::FraudDetector::Variable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "DefaultValue": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VariableType": { - "type": "string" - } - }, - "required": [ - "DataSource", - "DataType", - "DefaultValue", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::FraudDetector::Variable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoutingStrategy": { - "$ref": "#/definitions/AWS::GameLift::Alias.RoutingStrategy" - } - }, - "required": [ - "Name", - "RoutingStrategy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Alias.RoutingStrategy": { - "additionalProperties": false, - "properties": { - "FleetId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Build.S3Location" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Build" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Build.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GameLift::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BuildId": { - "type": "string" - }, - "CertificateConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.CertificateConfiguration" - }, - "Description": { - "type": "string" - }, - "DesiredEC2Instances": { - "type": "number" - }, - "EC2InboundPermissions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.IpPermission" - }, - "type": "array" - }, - "EC2InstanceType": { - "type": "string" - }, - "FleetType": { - "type": "string" - }, - "InstanceRoleARN": { - "type": "string" - }, - "Locations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationConfiguration" - }, - "type": "array" - }, - "MaxSize": { - "type": "number" - }, - "MetricGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MinSize": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NewGameSessionProtectionPolicy": { - "type": "string" - }, - "PeerVpcAwsAccountId": { - "type": "string" - }, - "PeerVpcId": { - "type": "string" - }, - "ResourceCreationLimitPolicy": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ResourceCreationLimitPolicy" - }, - "RuntimeConfiguration": { - "$ref": "#/definitions/AWS::GameLift::Fleet.RuntimeConfiguration" - }, - "ScriptId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.CertificateConfiguration": { - "additionalProperties": false, - "properties": { - "CertificateType": { - "type": "string" - } - }, - "required": [ - "CertificateType" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.IpPermission": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "IpRange": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "IpRange", - "Protocol", - "ToPort" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationCapacity": { - "additionalProperties": false, - "properties": { - "DesiredEC2Instances": { - "type": "number" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - } - }, - "required": [ - "DesiredEC2Instances", - "MaxSize", - "MinSize" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.LocationConfiguration": { - "additionalProperties": false, - "properties": { - "Location": { - "type": "string" - }, - "LocationCapacity": { - "$ref": "#/definitions/AWS::GameLift::Fleet.LocationCapacity" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "AWS::GameLift::Fleet.ResourceCreationLimitPolicy": { - "additionalProperties": false, - "properties": { - "NewGameSessionsPerCreator": { - "type": "number" - }, - "PolicyPeriodInMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.RuntimeConfiguration": { - "additionalProperties": false, - "properties": { - "GameSessionActivationTimeoutSeconds": { - "type": "number" - }, - "MaxConcurrentGameSessionActivations": { - "type": "number" - }, - "ServerProcesses": { - "items": { - "$ref": "#/definitions/AWS::GameLift::Fleet.ServerProcess" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::Fleet.ServerProcess": { - "additionalProperties": false, - "properties": { - "ConcurrentExecutions": { - "type": "number" - }, - "LaunchPath": { - "type": "string" - }, - "Parameters": { - "type": "string" - } - }, - "required": [ - "ConcurrentExecutions", - "LaunchPath" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoScalingPolicy": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.AutoScalingPolicy" - }, - "BalancingStrategy": { - "type": "string" - }, - "DeleteOption": { - "type": "string" - }, - "GameServerGroupName": { - "type": "string" - }, - "GameServerProtectionPolicy": { - "type": "string" - }, - "InstanceDefinitions": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.InstanceDefinition" - }, - "type": "array" - }, - "LaunchTemplate": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.LaunchTemplate" - }, - "MaxSize": { - "type": "number" - }, - "MinSize": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSubnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GameServerGroupName", - "InstanceDefinitions", - "LaunchTemplate", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameServerGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.AutoScalingPolicy": { - "additionalProperties": false, - "properties": { - "EstimatedInstanceWarmup": { - "type": "number" - }, - "TargetTrackingConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup.TargetTrackingConfiguration" - } - }, - "required": [ - "TargetTrackingConfiguration" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.InstanceDefinition": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "WeightedCapacity": { - "type": "string" - } - }, - "required": [ - "InstanceType" - ], - "type": "object" - }, - "AWS::GameLift::GameServerGroup.LaunchTemplate": { - "additionalProperties": false, - "properties": { - "LaunchTemplateId": { - "type": "string" - }, - "LaunchTemplateName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameServerGroup.TargetTrackingConfiguration": { - "additionalProperties": false, - "properties": { - "TargetValue": { - "type": "number" - } - }, - "required": [ - "TargetValue" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomEventData": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.Destination" - }, - "type": "array" - }, - "FilterConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.FilterConfiguration" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "PlayerLatencyPolicies": { - "items": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy" - }, - "type": "array" - }, - "PriorityConfiguration": { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue.PriorityConfiguration" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::GameSessionQueue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.Destination": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.FilterConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedLocations": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PlayerLatencyPolicy": { - "additionalProperties": false, - "properties": { - "MaximumIndividualPlayerLatencyMilliseconds": { - "type": "number" - }, - "PolicyDurationSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GameLift::GameSessionQueue.PriorityConfiguration": { - "additionalProperties": false, - "properties": { - "LocationOrder": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PriorityOrder": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptanceRequired": { - "type": "boolean" - }, - "AcceptanceTimeoutSeconds": { - "type": "number" - }, - "AdditionalPlayerCount": { - "type": "number" - }, - "BackfillMode": { - "type": "string" - }, - "CustomEventData": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FlexMatchMode": { - "type": "string" - }, - "GameProperties": { - "items": { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration.GameProperty" - }, - "type": "array" - }, - "GameSessionData": { - "type": "string" - }, - "GameSessionQueueArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "NotificationTarget": { - "type": "string" - }, - "RequestTimeoutSeconds": { - "type": "number" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "AcceptanceRequired", - "Name", - "RequestTimeoutSeconds", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingConfiguration.GameProperty": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::GameLift::MatchmakingRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RuleSetBody": { - "type": "string" - } - }, - "required": [ - "Name", - "RuleSetBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::MatchmakingRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StorageLocation": { - "$ref": "#/definitions/AWS::GameLift::Script.S3Location" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "StorageLocation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GameLift::Script" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GameLift::Script.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Accelerator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IpAddressType": { - "type": "string" - }, - "IpAddresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Accelerator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointConfigurations": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration" - }, - "type": "array" - }, - "EndpointGroupRegion": { - "type": "string" - }, - "HealthCheckIntervalSeconds": { - "type": "number" - }, - "HealthCheckPath": { - "type": "string" - }, - "HealthCheckPort": { - "type": "number" - }, - "HealthCheckProtocol": { - "type": "string" - }, - "ListenerArn": { - "type": "string" - }, - "PortOverrides": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup.PortOverride" - }, - "type": "array" - }, - "ThresholdCount": { - "type": "number" - }, - "TrafficDialPercentage": { - "type": "number" - } - }, - "required": [ - "EndpointGroupRegion", - "ListenerArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::EndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.EndpointConfiguration": { - "additionalProperties": false, - "properties": { - "ClientIPPreservationEnabled": { - "type": "boolean" - }, - "EndpointId": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "EndpointId" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::EndpointGroup.PortOverride": { - "additionalProperties": false, - "properties": { - "EndpointPort": { - "type": "number" - }, - "ListenerPort": { - "type": "number" - } - }, - "required": [ - "EndpointPort", - "ListenerPort" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorArn": { - "type": "string" - }, - "ClientAffinity": { - "type": "string" - }, - "PortRanges": { - "items": { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener.PortRange" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "AcceleratorArn", - "PortRanges", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GlobalAccelerator::Listener" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GlobalAccelerator::Listener.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::Glue::Classifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CsvClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.CsvClassifier" - }, - "GrokClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.GrokClassifier" - }, - "JsonClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.JsonClassifier" - }, - "XMLClassifier": { - "$ref": "#/definitions/AWS::Glue::Classifier.XMLClassifier" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Classifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Glue::Classifier.CsvClassifier": { - "additionalProperties": false, - "properties": { - "AllowSingleColumn": { - "type": "boolean" - }, - "ContainsHeader": { - "type": "string" - }, - "Delimiter": { - "type": "string" - }, - "DisableValueTrimming": { - "type": "boolean" - }, - "Header": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Classifier.GrokClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "CustomPatterns": { - "type": "string" - }, - "GrokPattern": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Classification", - "GrokPattern" - ], - "type": "object" - }, - "AWS::Glue::Classifier.JsonClassifier": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::Glue::Classifier.XMLClassifier": { - "additionalProperties": false, - "properties": { - "Classification": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RowTag": { - "type": "string" - } - }, - "required": [ - "Classification", - "RowTag" - ], - "type": "object" - }, - "AWS::Glue::Connection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionInput": { - "$ref": "#/definitions/AWS::Glue::Connection.ConnectionInput" - } - }, - "required": [ - "CatalogId", - "ConnectionInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Connection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Connection.ConnectionInput": { - "additionalProperties": false, - "properties": { - "ConnectionProperties": { - "type": "object" - }, - "ConnectionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MatchCriteria": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "PhysicalConnectionRequirements": { - "$ref": "#/definitions/AWS::Glue::Connection.PhysicalConnectionRequirements" - } - }, - "required": [ - "ConnectionType" - ], - "type": "object" - }, - "AWS::Glue::Connection.PhysicalConnectionRequirements": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Classifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Configuration": { - "type": "string" - }, - "CrawlerSecurityConfiguration": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecrawlPolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.RecrawlPolicy" - }, - "Role": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Glue::Crawler.Schedule" - }, - "SchemaChangePolicy": { - "$ref": "#/definitions/AWS::Glue::Crawler.SchemaChangePolicy" - }, - "TablePrefix": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Targets": { - "$ref": "#/definitions/AWS::Glue::Crawler.Targets" - } - }, - "required": [ - "Role", - "Targets" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Crawler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Crawler.CatalogTarget": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "Tables": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.DynamoDBTarget": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.JdbcTarget": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.RecrawlPolicy": { - "additionalProperties": false, - "properties": { - "RecrawlBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.S3Target": { - "additionalProperties": false, - "properties": { - "ConnectionName": { - "type": "string" - }, - "Exclusions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.SchemaChangePolicy": { - "additionalProperties": false, - "properties": { - "DeleteBehavior": { - "type": "string" - }, - "UpdateBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Crawler.Targets": { - "additionalProperties": false, - "properties": { - "CatalogTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.CatalogTarget" - }, - "type": "array" - }, - "DynamoDBTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.DynamoDBTarget" - }, - "type": "array" - }, - "JdbcTargets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.JdbcTarget" - }, - "type": "array" - }, - "S3Targets": { - "items": { - "$ref": "#/definitions/AWS::Glue::Crawler.S3Target" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DataCatalogEncryptionSettings": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings" - } - }, - "required": [ - "CatalogId", - "DataCatalogEncryptionSettings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DataCatalogEncryptionSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "ReturnConnectionPasswordEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.DataCatalogEncryptionSettings": { - "additionalProperties": false, - "properties": { - "ConnectionPasswordEncryption": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.ConnectionPasswordEncryption" - }, - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest" - } - }, - "type": "object" - }, - "AWS::Glue::DataCatalogEncryptionSettings.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "CatalogEncryptionMode": { - "type": "string" - }, - "SseAwsKmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseInput": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseInput" - } - }, - "required": [ - "CatalogId", - "DatabaseInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Database.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Database.DatabaseInput": { - "additionalProperties": false, - "properties": { - "CreateTableDefaultPermissions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Database.PrincipalPrivileges" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "LocationUri": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "TargetDatabase": { - "$ref": "#/definitions/AWS::Glue::Database.DatabaseIdentifier" - } - }, - "type": "object" - }, - "AWS::Glue::Database.PrincipalPrivileges": { - "additionalProperties": false, - "properties": { - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "$ref": "#/definitions/AWS::Glue::Database.DataLakePrincipal" - } - }, - "type": "object" - }, - "AWS::Glue::DevEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "EndpointName": { - "type": "string" - }, - "ExtraJarsS3Path": { - "type": "string" - }, - "ExtraPythonLibsS3Path": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "NumberOfWorkers": { - "type": "number" - }, - "PublicKey": { - "type": "string" - }, - "PublicKeys": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::DevEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedCapacity": { - "type": "number" - }, - "Command": { - "$ref": "#/definitions/AWS::Glue::Job.JobCommand" - }, - "Connections": { - "$ref": "#/definitions/AWS::Glue::Job.ConnectionsList" - }, - "DefaultArguments": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ExecutionProperty": { - "$ref": "#/definitions/AWS::Glue::Job.ExecutionProperty" - }, - "GlueVersion": { - "type": "string" - }, - "LogUri": { - "type": "string" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Job.NotificationProperty" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "Command", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Job" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Job.ConnectionsList": { - "additionalProperties": false, - "properties": { - "Connections": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Job.ExecutionProperty": { - "additionalProperties": false, - "properties": { - "MaxConcurrentRuns": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Job.JobCommand": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PythonVersion": { - "type": "string" - }, - "ScriptLocation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Job.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlueVersion": { - "type": "string" - }, - "InputRecordTables": { - "$ref": "#/definitions/AWS::Glue::MLTransform.InputRecordTables" - }, - "MaxCapacity": { - "type": "number" - }, - "MaxRetries": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NumberOfWorkers": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "TransformEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformEncryption" - }, - "TransformParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.TransformParameters" - }, - "WorkerType": { - "type": "string" - } - }, - "required": [ - "InputRecordTables", - "Role", - "TransformParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::MLTransform" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.FindMatchesParameters": { - "additionalProperties": false, - "properties": { - "AccuracyCostTradeoff": { - "type": "number" - }, - "EnforceProvidedLabels": { - "type": "boolean" - }, - "PrecisionRecallTradeoff": { - "type": "number" - }, - "PrimaryKeyColumnName": { - "type": "string" - } - }, - "required": [ - "PrimaryKeyColumnName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.GlueTables": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ConnectionName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.InputRecordTables": { - "additionalProperties": false, - "properties": { - "GlueTables": { - "items": { - "$ref": "#/definitions/AWS::Glue::MLTransform.GlueTables" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.MLUserDataEncryption": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MLUserDataEncryptionMode": { - "type": "string" - } - }, - "required": [ - "MLUserDataEncryptionMode" - ], - "type": "object" - }, - "AWS::Glue::MLTransform.TransformEncryption": { - "additionalProperties": false, - "properties": { - "MLUserDataEncryption": { - "$ref": "#/definitions/AWS::Glue::MLTransform.MLUserDataEncryption" - }, - "TaskRunSecurityConfigurationName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::MLTransform.TransformParameters": { - "additionalProperties": false, - "properties": { - "FindMatchesParameters": { - "$ref": "#/definitions/AWS::Glue::MLTransform.FindMatchesParameters" - }, - "TransformType": { - "type": "string" - } - }, - "required": [ - "TransformType" - ], - "type": "object" - }, - "AWS::Glue::Partition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "PartitionInput": { - "$ref": "#/definitions/AWS::Glue::Partition.PartitionInput" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "PartitionInput", - "TableName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Partition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Partition.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Partition.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column" - ], - "type": "object" - }, - "AWS::Glue::Partition.PartitionInput": { - "additionalProperties": false, - "properties": { - "Parameters": { - "type": "object" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Partition.StorageDescriptor" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Values" - ], - "type": "object" - }, - "AWS::Glue::Partition.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Partition.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Partition.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Partition.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Partition.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Registry": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Registry" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CheckpointVersion": { - "$ref": "#/definitions/AWS::Glue::Schema.SchemaVersion" - }, - "Compatibility": { - "type": "string" - }, - "DataFormat": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Registry": { - "$ref": "#/definitions/AWS::Glue::Schema.Registry" - }, - "SchemaDefinition": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Compatibility", - "DataFormat", - "Name", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Schema" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Schema.Registry": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Schema.SchemaVersion": { - "additionalProperties": false, - "properties": { - "IsLatest": { - "type": "boolean" - }, - "VersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Schema": { - "$ref": "#/definitions/AWS::Glue::SchemaVersion.Schema" - }, - "SchemaDefinition": { - "type": "string" - } - }, - "required": [ - "Schema", - "SchemaDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SchemaVersion.Schema": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SchemaVersionMetadata": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "SchemaVersionId": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "SchemaVersionId", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SchemaVersionMetadata" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.EncryptionConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "EncryptionConfiguration", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::SecurityConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.CloudWatchEncryption": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.CloudWatchEncryption" - }, - "JobBookmarksEncryption": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.JobBookmarksEncryption" - }, - "S3Encryptions": { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration.S3Encryptions" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.JobBookmarksEncryption": { - "additionalProperties": false, - "properties": { - "JobBookmarksEncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryption": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "S3EncryptionMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::SecurityConfiguration.S3Encryptions": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Glue::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "TableInput": { - "$ref": "#/definitions/AWS::Glue::Table.TableInput" - } - }, - "required": [ - "CatalogId", - "DatabaseName", - "TableInput" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Table.Column": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::Glue::Table.Order": { - "additionalProperties": false, - "properties": { - "Column": { - "type": "string" - }, - "SortOrder": { - "type": "number" - } - }, - "required": [ - "Column", - "SortOrder" - ], - "type": "object" - }, - "AWS::Glue::Table.SchemaId": { - "additionalProperties": false, - "properties": { - "RegistryName": { - "type": "string" - }, - "SchemaArn": { - "type": "string" - }, - "SchemaName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SchemaReference": { - "additionalProperties": false, - "properties": { - "SchemaId": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaId" - }, - "SchemaVersionId": { - "type": "string" - }, - "SchemaVersionNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SerdeInfo": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SerializationLibrary": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.SkewedInfo": { - "additionalProperties": false, - "properties": { - "SkewedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SkewedColumnValueLocationMaps": { - "type": "object" - }, - "SkewedColumnValues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Glue::Table.StorageDescriptor": { - "additionalProperties": false, - "properties": { - "BucketColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Columns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Compressed": { - "type": "boolean" - }, - "InputFormat": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "NumberOfBuckets": { - "type": "number" - }, - "OutputFormat": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "SchemaReference": { - "$ref": "#/definitions/AWS::Glue::Table.SchemaReference" - }, - "SerdeInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SerdeInfo" - }, - "SkewedInfo": { - "$ref": "#/definitions/AWS::Glue::Table.SkewedInfo" - }, - "SortColumns": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Order" - }, - "type": "array" - }, - "StoredAsSubDirectories": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableIdentifier": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Table.TableInput": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "PartitionKeys": { - "items": { - "$ref": "#/definitions/AWS::Glue::Table.Column" - }, - "type": "array" - }, - "Retention": { - "type": "number" - }, - "StorageDescriptor": { - "$ref": "#/definitions/AWS::Glue::Table.StorageDescriptor" - }, - "TableType": { - "type": "string" - }, - "TargetTable": { - "$ref": "#/definitions/AWS::Glue::Table.TableIdentifier" - }, - "ViewExpandedText": { - "type": "string" - }, - "ViewOriginalText": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Action" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicate": { - "$ref": "#/definitions/AWS::Glue::Trigger.Predicate" - }, - "Schedule": { - "type": "string" - }, - "StartOnCreation": { - "type": "boolean" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "WorkflowName": { - "type": "string" - } - }, - "required": [ - "Actions", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Trigger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Glue::Trigger.Action": { - "additionalProperties": false, - "properties": { - "Arguments": { - "type": "object" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "NotificationProperty": { - "$ref": "#/definitions/AWS::Glue::Trigger.NotificationProperty" - }, - "SecurityConfiguration": { - "type": "string" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Condition": { - "additionalProperties": false, - "properties": { - "CrawlState": { - "type": "string" - }, - "CrawlerName": { - "type": "string" - }, - "JobName": { - "type": "string" - }, - "LogicalOperator": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.NotificationProperty": { - "additionalProperties": false, - "properties": { - "NotifyDelayAfter": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Glue::Trigger.Predicate": { - "additionalProperties": false, - "properties": { - "Conditions": { - "items": { - "$ref": "#/definitions/AWS::Glue::Trigger.Condition" - }, - "type": "array" - }, - "Logical": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Glue::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultRunProperties": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Glue::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinition.ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition.Connector" - }, - "type": "array" - } - }, - "required": [ - "Connectors" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionId": { - "type": "string" - }, - "Connectors": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion.Connector" - }, - "type": "array" - } - }, - "required": [ - "ConnectorDefinitionId", - "Connectors" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ConnectorDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ConnectorDefinitionVersion.Connector": { - "additionalProperties": false, - "properties": { - "ConnectorArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "required": [ - "ConnectorArn", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.CoreDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinition.CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition.Core" - }, - "type": "array" - } - }, - "required": [ - "Cores" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CoreDefinitionId": { - "type": "string" - }, - "Cores": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion.Core" - }, - "type": "array" - } - }, - "required": [ - "CoreDefinitionId", - "Cores" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::CoreDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::CoreDefinitionVersion.Core": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinition.DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition.Device" - }, - "type": "array" - } - }, - "required": [ - "Devices" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceDefinitionId": { - "type": "string" - }, - "Devices": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion.Device" - }, - "type": "array" - } - }, - "required": [ - "DeviceDefinitionId", - "Devices" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::DeviceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::DeviceDefinitionVersion.Device": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "SyncShadow": { - "type": "boolean" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "CertificateArn", - "Id", - "ThingArn" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.DefaultConfig" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition.Function" - }, - "type": "array" - } - }, - "required": [ - "Functions" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinition.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultConfig": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig" - }, - "FunctionDefinitionId": { - "type": "string" - }, - "Functions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Function" - }, - "type": "array" - } - }, - "required": [ - "FunctionDefinitionId", - "Functions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::FunctionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.DefaultConfig": { - "additionalProperties": false, - "properties": { - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - } - }, - "required": [ - "Execution" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Environment": { - "additionalProperties": false, - "properties": { - "AccessSysfs": { - "type": "boolean" - }, - "Execution": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Execution" - }, - "ResourceAccessPolicies": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy" - }, - "type": "array" - }, - "Variables": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Execution": { - "additionalProperties": false, - "properties": { - "IsolationMode": { - "type": "string" - }, - "RunAs": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.RunAs" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.Function": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "FunctionConfiguration": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration" - }, - "Id": { - "type": "string" - } - }, - "required": [ - "FunctionArn", - "FunctionConfiguration", - "Id" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.FunctionConfiguration": { - "additionalProperties": false, - "properties": { - "EncodingType": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion.Environment" - }, - "ExecArgs": { - "type": "string" - }, - "Executable": { - "type": "string" - }, - "MemorySize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "Timeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.ResourceAccessPolicy": { - "additionalProperties": false, - "properties": { - "Permission": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "ResourceId" - ], - "type": "object" - }, - "AWS::Greengrass::FunctionDefinitionVersion.RunAs": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "Uid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Greengrass::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::Group.GroupVersion" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::Group.GroupVersion": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Greengrass::GroupVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectorDefinitionVersionArn": { - "type": "string" - }, - "CoreDefinitionVersionArn": { - "type": "string" - }, - "DeviceDefinitionVersionArn": { - "type": "string" - }, - "FunctionDefinitionVersionArn": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "LoggerDefinitionVersionArn": { - "type": "string" - }, - "ResourceDefinitionVersionArn": { - "type": "string" - }, - "SubscriptionDefinitionVersionArn": { - "type": "string" - } - }, - "required": [ - "GroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::GroupVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinition.LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition.Logger" - }, - "type": "array" - } - }, - "required": [ - "Loggers" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoggerDefinitionId": { - "type": "string" - }, - "Loggers": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion.Logger" - }, - "type": "array" - } - }, - "required": [ - "LoggerDefinitionId", - "Loggers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::LoggerDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::LoggerDefinitionVersion.Logger": { - "additionalProperties": false, - "properties": { - "Component": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "Space": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Component", - "Id", - "Level", - "Type" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "Resources" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinition.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceDefinitionId": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance" - }, - "type": "array" - } - }, - "required": [ - "ResourceDefinitionId", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::ResourceDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting": { - "additionalProperties": false, - "properties": { - "AutoAddGroupOwner": { - "type": "boolean" - }, - "GroupOwner": { - "type": "string" - } - }, - "required": [ - "AutoAddGroupOwner" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData": { - "additionalProperties": false, - "properties": { - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "GroupOwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.GroupOwnerSetting" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SourcePath" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer": { - "additionalProperties": false, - "properties": { - "LocalDeviceResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalDeviceResourceData" - }, - "LocalVolumeResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.LocalVolumeResourceData" - }, - "S3MachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData" - }, - "SageMakerMachineLearningModelResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData" - }, - "SecretsManagerSecretResourceData": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData" - } - }, - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting": { - "additionalProperties": false, - "properties": { - "GroupOwner": { - "type": "string" - }, - "GroupPermission": { - "type": "string" - } - }, - "required": [ - "GroupOwner", - "GroupPermission" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.ResourceInstance": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceDataContainer": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDataContainer" - } - }, - "required": [ - "Id", - "Name", - "ResourceDataContainer" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.S3MachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SageMakerMachineLearningModelResourceData": { - "additionalProperties": false, - "properties": { - "DestinationPath": { - "type": "string" - }, - "OwnerSetting": { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion.ResourceDownloadOwnerSetting" - }, - "SageMakerJobArn": { - "type": "string" - } - }, - "required": [ - "DestinationPath", - "SageMakerJobArn" - ], - "type": "object" - }, - "AWS::Greengrass::ResourceDefinitionVersion.SecretsManagerSecretResourceData": { - "additionalProperties": false, - "properties": { - "ARN": { - "type": "string" - }, - "AdditionalStagingLabelsToDownload": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ARN" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InitialVersion": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion" - }, - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinition.SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition.Subscription" - }, - "type": "array" - } - }, - "required": [ - "Subscriptions" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SubscriptionDefinitionId": { - "type": "string" - }, - "Subscriptions": { - "items": { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion.Subscription" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionDefinitionId", - "Subscriptions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Greengrass::SubscriptionDefinitionVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Greengrass::SubscriptionDefinitionVersion.Subscription": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Id", - "Source", - "Subject", - "Target" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InlineRecipe": { - "type": "string" - }, - "LambdaFunction": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GreengrassV2::ComponentVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement": { - "additionalProperties": false, - "properties": { - "DependencyType": { - "type": "string" - }, - "VersionRequirement": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.ComponentPlatform": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaContainerParams": { - "additionalProperties": false, - "properties": { - "Devices": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount" - }, - "type": "array" - }, - "MemorySizeInKB": { - "type": "number" - }, - "MountROSysfs": { - "type": "boolean" - }, - "Volumes": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaDeviceMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "Permission": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaEventSource": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters": { - "additionalProperties": false, - "properties": { - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "EventSources": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaEventSource" - }, - "type": "array" - }, - "ExecArgs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InputPayloadEncodingType": { - "type": "string" - }, - "LinuxProcessParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams" - }, - "MaxIdleTimeInSeconds": { - "type": "number" - }, - "MaxInstancesCount": { - "type": "number" - }, - "MaxQueueSize": { - "type": "number" - }, - "Pinned": { - "type": "boolean" - }, - "StatusTimeoutInSeconds": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaFunctionRecipeSource": { - "additionalProperties": false, - "properties": { - "ComponentDependencies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentDependencyRequirement" - } - }, - "type": "object" - }, - "ComponentLambdaParameters": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaExecutionParameters" - }, - "ComponentName": { - "type": "string" - }, - "ComponentPlatforms": { - "items": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.ComponentPlatform" - }, - "type": "array" - }, - "ComponentVersion": { - "type": "string" - }, - "LambdaArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaLinuxProcessParams": { - "additionalProperties": false, - "properties": { - "ContainerParams": { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion.LambdaContainerParams" - }, - "IsolationMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GreengrassV2::ComponentVersion.LambdaVolumeMount": { - "additionalProperties": false, - "properties": { - "AddGroupOwner": { - "type": "boolean" - }, - "DestinationPath": { - "type": "string" - }, - "Permission": { - "type": "string" - }, - "SourcePath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigData": { - "$ref": "#/definitions/AWS::GroundStation::Config.ConfigData" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConfigData", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::Config" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig": { - "additionalProperties": false, - "properties": { - "DecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DecodeConfig" - }, - "DemodulationConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DemodulationConfig" - }, - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.SpectrumConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.AntennaUplinkConfig": { - "additionalProperties": false, - "properties": { - "SpectrumConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkSpectrumConfig" - }, - "TargetEirp": { - "$ref": "#/definitions/AWS::GroundStation::Config.Eirp" - }, - "TransmitDisabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.ConfigData": { - "additionalProperties": false, - "properties": { - "AntennaDownlinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkConfig" - }, - "AntennaDownlinkDemodDecodeConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaDownlinkDemodDecodeConfig" - }, - "AntennaUplinkConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.AntennaUplinkConfig" - }, - "DataflowEndpointConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.DataflowEndpointConfig" - }, - "S3RecordingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.S3RecordingConfig" - }, - "TrackingConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.TrackingConfig" - }, - "UplinkEchoConfig": { - "$ref": "#/definitions/AWS::GroundStation::Config.UplinkEchoConfig" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DataflowEndpointConfig": { - "additionalProperties": false, - "properties": { - "DataflowEndpointName": { - "type": "string" - }, - "DataflowEndpointRegion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DecodeConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.DemodulationConfig": { - "additionalProperties": false, - "properties": { - "UnvalidatedJSON": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Eirp": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.Frequency": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.FrequencyBandwidth": { - "additionalProperties": false, - "properties": { - "Units": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.S3RecordingConfig": { - "additionalProperties": false, - "properties": { - "BucketArn": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.SpectrumConfig": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::GroundStation::Config.FrequencyBandwidth" - }, - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.TrackingConfig": { - "additionalProperties": false, - "properties": { - "Autotrack": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkEchoConfig": { - "additionalProperties": false, - "properties": { - "AntennaUplinkConfigArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GroundStation::Config.UplinkSpectrumConfig": { - "additionalProperties": false, - "properties": { - "CenterFrequency": { - "$ref": "#/definitions/AWS::GroundStation::Config.Frequency" - }, - "Polarization": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointDetails": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.EndpointDetails" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::DataflowEndpointGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SocketAddress" - }, - "Mtu": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.EndpointDetails": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.DataflowEndpoint" - }, - "SecurityDetails": { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup.SecurityDetails" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SecurityDetails": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GroundStation::DataflowEndpointGroup.SocketAddress": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::GroundStation::MissionProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactPostPassDurationSeconds": { - "type": "number" - }, - "ContactPrePassDurationSeconds": { - "type": "number" - }, - "DataflowEdges": { - "items": { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile.DataflowEdge" - }, - "type": "array" - }, - "MinimumViableContactDurationSeconds": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TrackingConfigArn": { - "type": "string" - } - }, - "required": [ - "DataflowEdges", - "MinimumViableContactDurationSeconds", - "Name", - "TrackingConfigArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GroundStation::MissionProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GroundStation::MissionProfile.DataflowEdge": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSources": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNDataSourceConfigurations" - }, - "Enable": { - "type": "boolean" - }, - "FindingPublishingFrequency": { - "type": "string" - } - }, - "required": [ - "Enable" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Detector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNDataSourceConfigurations": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::GuardDuty::Detector.CFNS3LogsConfiguration" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Detector.CFNS3LogsConfiguration": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DetectorId": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Rank": { - "type": "number" - } - }, - "required": [ - "Action", - "Description", - "DetectorId", - "FindingCriteria", - "Name", - "Rank" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Filter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Filter.Condition": { - "additionalProperties": false, - "properties": { - "Eq": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Gte": { - "type": "number" - }, - "Lt": { - "type": "number" - }, - "Lte": { - "type": "number" - }, - "Neq": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::GuardDuty::Filter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "type": "object" - }, - "ItemType": { - "$ref": "#/definitions/AWS::GuardDuty::Filter.Condition" - } - }, - "type": "object" - }, - "AWS::GuardDuty::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Master": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "InvitationId": { - "type": "string" - }, - "MasterId": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "MasterId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Master" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorId": { - "type": "string" - }, - "DisableEmailNotification": { - "type": "boolean" - }, - "Email": { - "type": "string" - }, - "MemberId": { - "type": "string" - }, - "Message": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "DetectorId", - "Email", - "MemberId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::GuardDuty::ThreatIntelSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Activate": { - "type": "boolean" - }, - "DetectorId": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Location": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Activate", - "DetectorId", - "Format", - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::GuardDuty::ThreatIntelSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastoreTypeVersion": { - "type": "string" - }, - "PreloadDataConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.PreloadDataConfig" - }, - "SseConfiguration": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.SseConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatastoreTypeVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::HealthLake::FHIRDatastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig": { - "additionalProperties": false, - "properties": { - "CmkType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CmkType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.PreloadDataConfig": { - "additionalProperties": false, - "properties": { - "PreloadDataType": { - "type": "string" - } - }, - "required": [ - "PreloadDataType" - ], - "type": "object" - }, - "AWS::HealthLake::FHIRDatastore.SseConfiguration": { - "additionalProperties": false, - "properties": { - "KmsEncryptionConfig": { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore.KmsEncryptionConfig" - } - }, - "required": [ - "KmsEncryptionConfig" - ], - "type": "object" - }, - "AWS::IAM::AccessKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Serial": { - "type": "number" - }, - "Status": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::AccessKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Group.Policy" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::Group.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::InstanceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceProfileName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Roles" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::InstanceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ManagedPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ManagedPolicyName": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ManagedPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::OIDCProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThumbprintList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ThumbprintList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::OIDCProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - }, - "Roles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssumeRolePolicyDocument": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionDuration": { - "type": "number" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::Role.Policy" - }, - "type": "array" - }, - "RoleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssumeRolePolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::Role" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::Role.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::SAMLProvider": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SamlMetadataDocument": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SamlMetadataDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::SAMLProvider" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::ServerCertificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CertificateBody": { - "type": "string" - }, - "CertificateChain": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - }, - "ServerCertificateName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServerCertificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::ServiceLinkedRole": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AWSServiceName": { - "type": "string" - }, - "CustomSuffix": { - "type": "string" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AWSServiceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::ServiceLinkedRole" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoginProfile": { - "$ref": "#/definitions/AWS::IAM::User.LoginProfile" - }, - "ManagedPolicyArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Path": { - "type": "string" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "items": { - "$ref": "#/definitions/AWS::IAM::User.Policy" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IAM::User.LoginProfile": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "PasswordResetRequired": { - "type": "boolean" - } - }, - "required": [ - "Password" - ], - "type": "object" - }, - "AWS::IAM::User.Policy": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "AWS::IAM::UserToGroupAddition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GroupName": { - "type": "string" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GroupName", - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::UserToGroupAddition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IAM::VirtualMFADevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Path": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Users": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VirtualMfaDeviceName": { - "type": "string" - } - }, - "required": [ - "Users" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IAM::VirtualMFADevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorized": { - "type": "boolean" - }, - "LatencyMode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RecordingConfigurationArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IVS::PlaybackKeyPair": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicKeyMaterial": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PublicKeyMaterial" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::PlaybackKeyPair" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfiguration": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.DestinationConfiguration" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DestinationConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::RecordingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "S3": { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration.S3DestinationConfiguration" - } - }, - "required": [ - "S3" - ], - "type": "object" - }, - "AWS::IVS::RecordingConfiguration.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::IVS::StreamKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ChannelArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IVS::StreamKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Component": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChangeDescription": { - "type": "string" - }, - "Data": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "SupportedOsVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Uri": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Platform", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Component" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "ContainerType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DockerfileTemplateData": { - "type": "string" - }, - "DockerfileTemplateUri": { - "type": "string" - }, - "ImageOsVersionOverride": { - "type": "string" - }, - "InstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "PlatformOverride": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TargetRepository": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "ContainerType", - "Name", - "ParentImage", - "TargetRepository", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ContainerRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.InstanceConfiguration": { - "additionalProperties": false, - "properties": { - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Image": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ContainerRecipe.TargetContainerRepository": { - "additionalProperties": false, - "properties": { - "RepositoryName": { - "type": "string" - }, - "Service": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Distributions": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.Distribution" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Distributions", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::DistributionConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.Distribution": { - "additionalProperties": false, - "properties": { - "AmiDistributionConfiguration": { - "type": "object" - }, - "ContainerDistributionConfiguration": { - "type": "object" - }, - "LaunchTemplateConfigurations": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration" - }, - "type": "array" - }, - "LicenseConfigurationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::ImageBuilder::DistributionConfiguration.LaunchTemplateConfiguration": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "LaunchTemplateId": { - "type": "string" - }, - "SetDefaultVersion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::Image.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::Image.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContainerRecipeArn": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DistributionConfigurationArn": { - "type": "string" - }, - "EnhancedImageMetadataEnabled": { - "type": "boolean" - }, - "ImageRecipeArn": { - "type": "string" - }, - "ImageTestsConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration" - }, - "InfrastructureConfigurationArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline.Schedule" - }, - "Status": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "InfrastructureConfigurationArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImagePipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.ImageTestsConfiguration": { - "additionalProperties": false, - "properties": { - "ImageTestsEnabled": { - "type": "boolean" - }, - "TimeoutMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImagePipeline.Schedule": { - "additionalProperties": false, - "properties": { - "PipelineExecutionStartCondition": { - "type": "string" - }, - "ScheduleExpression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalInstanceConfiguration": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping" - }, - "type": "array" - }, - "Components": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentConfiguration" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ParentImage": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Version": { - "type": "string" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "required": [ - "Components", - "Name", - "ParentImage", - "Version" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::ImageRecipe" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.AdditionalInstanceConfiguration": { - "additionalProperties": false, - "properties": { - "SystemsManagerAgent": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent" - }, - "UserDataOverride": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ComponentArn": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.ComponentParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.ComponentParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "SnapshotId": { - "type": "string" - }, - "Throughput": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.InstanceBlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe.EbsInstanceBlockDeviceSpecification" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::ImageRecipe.SystemsManagerAgent": { - "additionalProperties": false, - "properties": { - "UninstallAfterBuild": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InstanceMetadataOptions": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions" - }, - "InstanceProfileName": { - "type": "string" - }, - "InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KeyPair": { - "type": "string" - }, - "Logging": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.Logging" - }, - "Name": { - "type": "string" - }, - "ResourceTags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TerminateInstanceOnFailure": { - "type": "boolean" - } - }, - "required": [ - "InstanceProfileName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ImageBuilder::InfrastructureConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.InstanceMetadataOptions": { - "additionalProperties": false, - "properties": { - "HttpPutResponseHopLimit": { - "type": "number" - }, - "HttpTokens": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.Logging": { - "additionalProperties": false, - "properties": { - "S3Logs": { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration.S3Logs" - } - }, - "type": "object" - }, - "AWS::ImageBuilder::InfrastructureConfiguration.S3Logs": { - "additionalProperties": false, - "properties": { - "S3BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Inspector::AssessmentTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetName": { - "type": "string" - }, - "ResourceGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Inspector::AssessmentTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssessmentTargetArn": { - "type": "string" - }, - "AssessmentTemplateName": { - "type": "string" - }, - "DurationInSeconds": { - "type": "number" - }, - "RulesPackageArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UserAttributesForFindings": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssessmentTargetArn", - "DurationInSeconds", - "RulesPackageArns" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::AssessmentTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Inspector::ResourceGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceGroupTags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceGroupTags" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Inspector::ResourceGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "DeviceId", - "Enabled" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Placement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedDevices": { - "type": "object" - }, - "Attributes": { - "type": "object" - }, - "PlacementName": { - "type": "string" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Placement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "PlacementTemplate": { - "$ref": "#/definitions/AWS::IoT1Click::Project.PlacementTemplate" - }, - "ProjectName": { - "type": "string" - } - }, - "required": [ - "PlacementTemplate" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT1Click::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT1Click::Project.DeviceTemplate": { - "additionalProperties": false, - "properties": { - "CallbackOverrides": { - "type": "object" - }, - "DeviceType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT1Click::Project.PlacementTemplate": { - "additionalProperties": false, - "properties": { - "DefaultAttributes": { - "type": "object" - }, - "DeviceTemplates": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "AuditCheckConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations" - }, - "AuditNotificationTargetConfigurations": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "AuditCheckConfigurations", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::AccountAuditConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditCheckConfigurations": { - "additionalProperties": false, - "properties": { - "AuthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "CaCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "ConflictingClientIdsCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateExpiringCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateKeyQualityCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "DeviceCertificateSharedCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotPolicyOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasAllowsAccessToUnusedServicesCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "IotRoleAliasOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "LoggingDisabledCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedCaCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "RevokedDeviceCertificateStillActiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - }, - "UnauthenticatedCognitoRoleOverlyPermissiveCheck": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditCheckConfiguration" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::AccountAuditConfiguration.AuditNotificationTargetConfigurations": { - "additionalProperties": false, - "properties": { - "Sns": { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration.AuditNotificationTarget" - } - }, - "type": "object" - }, - "AWS::IoT::Authorizer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerFunctionArn": { - "type": "string" - }, - "AuthorizerName": { - "type": "string" - }, - "SigningDisabled": { - "type": "boolean" - }, - "Status": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TokenKeyName": { - "type": "string" - }, - "TokenSigningPublicKeys": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AuthorizerFunctionArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Authorizer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Certificate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CACertificatePem": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "CertificatePem": { - "type": "string" - }, - "CertificateSigningRequest": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Certificate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::CustomMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "MetricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MetricType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::CustomMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Dimension": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "StringValues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "StringValues", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Dimension" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthorizerConfig": { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration.AuthorizerConfig" - }, - "DomainConfigurationName": { - "type": "string" - }, - "DomainConfigurationStatus": { - "type": "string" - }, - "DomainName": { - "type": "string" - }, - "ServerCertificateArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServiceType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ValidationCertificateArn": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::DomainConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::DomainConfiguration.AuthorizerConfig": { - "additionalProperties": false, - "properties": { - "AllowAuthorizerOverride": { - "type": "boolean" - }, - "DefaultAuthorizerName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::DomainConfiguration.ServerCertificateSummary": { - "additionalProperties": false, - "properties": { - "ServerCertificateArn": { - "type": "string" - }, - "ServerCertificateStatus": { - "type": "string" - }, - "ServerCertificateStatusDetail": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::FleetMetric": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AggregationField": { - "type": "string" - }, - "AggregationType": { - "$ref": "#/definitions/AWS::IoT::FleetMetric.AggregationType" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Period": { - "type": "number" - }, - "QueryString": { - "type": "string" - }, - "QueryVersion": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "MetricName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::FleetMetric" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::FleetMetric.AggregationType": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::IoT::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AbortConfig": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Document": { - "type": "string" - }, - "DocumentSource": { - "type": "string" - }, - "JobArn": { - "type": "string" - }, - "JobExecutionsRolloutConfig": { - "type": "object" - }, - "JobTemplateId": { - "type": "string" - }, - "PresignedUrlConfig": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeoutConfig": { - "type": "object" - } - }, - "required": [ - "Description", - "JobTemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::Logging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "DefaultLogLevel": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AccountId", - "DefaultLogLevel", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Logging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ActionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ActionParams" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ActionParams", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::MitigationAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ActionParams": { - "additionalProperties": false, - "properties": { - "AddThingsToThingGroupParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.AddThingsToThingGroupParams" - }, - "EnableIoTLoggingParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.EnableIoTLoggingParams" - }, - "PublishFindingToSnsParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.PublishFindingToSnsParams" - }, - "ReplaceDefaultPolicyVersionParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams" - }, - "UpdateCACertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateCACertificateParams" - }, - "UpdateDeviceCertificateParams": { - "$ref": "#/definitions/AWS::IoT::MitigationAction.UpdateDeviceCertificateParams" - } - }, - "type": "object" - }, - "AWS::IoT::MitigationAction.AddThingsToThingGroupParams": { - "additionalProperties": false, - "properties": { - "OverrideDynamicGroups": { - "type": "boolean" - }, - "ThingGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ThingGroupNames" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.EnableIoTLoggingParams": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "RoleArnForLogging": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "RoleArnForLogging" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.PublishFindingToSnsParams": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.ReplaceDefaultPolicyVersionParams": { - "additionalProperties": false, - "properties": { - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateCACertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::MitigationAction.UpdateDeviceCertificateParams": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - } - }, - "required": [ - "Action" - ], - "type": "object" - }, - "AWS::IoT::Policy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Policy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::PolicyPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyName": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "PolicyName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::PolicyPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PreProvisioningHook": { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate.ProvisioningHook" - }, - "ProvisioningRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateBody": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "ProvisioningRoleArn", - "TemplateBody" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ProvisioningTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ProvisioningTemplate.ProvisioningHook": { - "additionalProperties": false, - "properties": { - "PayloadVersion": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::ResourceSpecificLogging": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - }, - "TargetName": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "LogLevel", - "TargetName", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ResourceSpecificLogging" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::ScheduledAudit": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DayOfMonth": { - "type": "string" - }, - "DayOfWeek": { - "type": "string" - }, - "Frequency": { - "type": "string" - }, - "ScheduledAuditName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetCheckNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Frequency", - "TargetCheckNames" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ScheduledAudit" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalMetricsToRetainV2": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricToRetain" - }, - "type": "array" - }, - "AlertTargets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.AlertTarget" - } - }, - "type": "object" - }, - "Behaviors": { - "items": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.Behavior" - }, - "type": "array" - }, - "SecurityProfileDescription": { - "type": "string" - }, - "SecurityProfileName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::SecurityProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.AlertTarget": { - "additionalProperties": false, - "properties": { - "AlertTargetArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "AlertTargetArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.Behavior": { - "additionalProperties": false, - "properties": { - "Criteria": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.BehaviorCriteria" - }, - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - }, - "Name": { - "type": "string" - }, - "SuppressAlerts": { - "type": "boolean" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.BehaviorCriteria": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "ConsecutiveDatapointsToAlarm": { - "type": "number" - }, - "ConsecutiveDatapointsToClear": { - "type": "number" - }, - "DurationSeconds": { - "type": "number" - }, - "MlDetectionConfig": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MachineLearningDetectionConfig" - }, - "StatisticalThreshold": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.StatisticalThreshold" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricValue" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MachineLearningDetectionConfig": { - "additionalProperties": false, - "properties": { - "ConfidenceLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricDimension": { - "additionalProperties": false, - "properties": { - "DimensionName": { - "type": "string" - }, - "Operator": { - "type": "string" - } - }, - "required": [ - "DimensionName" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricToRetain": { - "additionalProperties": false, - "properties": { - "Metric": { - "type": "string" - }, - "MetricDimension": { - "$ref": "#/definitions/AWS::IoT::SecurityProfile.MetricDimension" - } - }, - "required": [ - "Metric" - ], - "type": "object" - }, - "AWS::IoT::SecurityProfile.MetricValue": { - "additionalProperties": false, - "properties": { - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Count": { - "type": "string" - }, - "Number": { - "type": "number" - }, - "Numbers": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Ports": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Strings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoT::SecurityProfile.StatisticalThreshold": { - "additionalProperties": false, - "properties": { - "Statistic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::Thing": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttributePayload": { - "$ref": "#/definitions/AWS::IoT::Thing.AttributePayload" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::Thing" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::Thing.AttributePayload": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::IoT::ThingPrincipalAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Principal": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "required": [ - "Principal", - "ThingName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::ThingPrincipalAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicRulePayload": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TopicRulePayload" - } - }, - "required": [ - "TopicRulePayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.Action": { - "additionalProperties": false, - "properties": { - "CloudwatchAlarm": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchAlarmAction" - }, - "CloudwatchLogs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchLogsAction" - }, - "CloudwatchMetric": { - "$ref": "#/definitions/AWS::IoT::TopicRule.CloudwatchMetricAction" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBAction" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoT::TopicRule.DynamoDBv2Action" - }, - "Elasticsearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.ElasticsearchAction" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoT::TopicRule.FirehoseAction" - }, - "Http": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAction" - }, - "IotAnalytics": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotAnalyticsAction" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotEventsAction" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoT::TopicRule.IotSiteWiseAction" - }, - "Kafka": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KafkaAction" - }, - "Kinesis": { - "$ref": "#/definitions/AWS::IoT::TopicRule.KinesisAction" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoT::TopicRule.LambdaAction" - }, - "OpenSearch": { - "$ref": "#/definitions/AWS::IoT::TopicRule.OpenSearchAction" - }, - "Republish": { - "$ref": "#/definitions/AWS::IoT::TopicRule.RepublishAction" - }, - "S3": { - "$ref": "#/definitions/AWS::IoT::TopicRule.S3Action" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SnsAction" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SqsAction" - }, - "StepFunctions": { - "$ref": "#/definitions/AWS::IoT::TopicRule.StepFunctionsAction" - }, - "Timestream": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamAction" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyVariant" - } - }, - "required": [ - "Timestamp", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchAlarmAction": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateReason": { - "type": "string" - }, - "StateValue": { - "type": "string" - } - }, - "required": [ - "AlarmName", - "RoleArn", - "StateReason", - "StateValue" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchLogsAction": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LogGroupName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.CloudwatchMetricAction": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricTimestamp": { - "type": "string" - }, - "MetricUnit": { - "type": "string" - }, - "MetricValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricUnit", - "MetricValue", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBAction": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.DynamoDBv2Action": { - "additionalProperties": false, - "properties": { - "PutItem": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutItemInput" - }, - "RoleArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.ElasticsearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.FirehoseAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DeliveryStreamName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAction": { - "additionalProperties": false, - "properties": { - "Auth": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpAuthorization" - }, - "ConfirmationUrl": { - "type": "string" - }, - "Headers": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.HttpActionHeader" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpActionHeader": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.HttpAuthorization": { - "additionalProperties": false, - "properties": { - "Sigv4": { - "$ref": "#/definitions/AWS::IoT::TopicRule.SigV4Authorization" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.IotAnalyticsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "ChannelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ChannelName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotEventsAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "InputName": { - "type": "string" - }, - "MessageId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.IotSiteWiseAction": { - "additionalProperties": false, - "properties": { - "PutAssetPropertyValueEntries": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.PutAssetPropertyValueEntry" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PutAssetPropertyValueEntries", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KafkaAction": { - "additionalProperties": false, - "properties": { - "ClientProperties": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DestinationArn": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Partition": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "ClientProperties", - "DestinationArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.KinesisAction": { - "additionalProperties": false, - "properties": { - "PartitionKey": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRule.OpenSearchAction": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Index": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Id", - "Index", - "RoleArn", - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutAssetPropertyValueEntry": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValues": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.AssetPropertyValue" - }, - "type": "array" - } - }, - "required": [ - "PropertyValues" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.PutItemInput": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.RepublishAction": { - "additionalProperties": false, - "properties": { - "Qos": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "Topic" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "CannedAcl": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "BucketName", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SigV4Authorization": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "SigningRegion": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "ServiceName", - "SigningRegion" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SnsAction": { - "additionalProperties": false, - "properties": { - "MessageFormat": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.SqsAction": { - "additionalProperties": false, - "properties": { - "QueueUrl": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.StepFunctionsAction": { - "additionalProperties": false, - "properties": { - "ExecutionNamePrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "StateMachineName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamAction": { - "additionalProperties": false, - "properties": { - "BatchMode": { - "type": "boolean" - }, - "DatabaseName": { - "type": "string" - }, - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamDimension" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoT::TopicRule.TimestreamTimestamp" - } - }, - "required": [ - "DatabaseName", - "Dimensions", - "RoleArn", - "TableName" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamDimension": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TimestreamTimestamp": { - "additionalProperties": false, - "properties": { - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Unit", - "Value" - ], - "type": "object" - }, - "AWS::IoT::TopicRule.TopicRulePayload": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "type": "array" - }, - "AwsIotSqlVersion": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ErrorAction": { - "$ref": "#/definitions/AWS::IoT::TopicRule.Action" - }, - "RuleDisabled": { - "type": "boolean" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Actions", - "Sql" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HttpUrlProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary" - }, - "Status": { - "type": "string" - }, - "VpcProperties": { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination.VpcDestinationProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoT::TopicRuleDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.HttpUrlDestinationSummary": { - "additionalProperties": false, - "properties": { - "ConfirmationUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoT::TopicRuleDestination.VpcDestinationProperties": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "ChannelStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ChannelStorage" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ChannelStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.CustomerManagedS3" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Channel.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Channel.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Action" - }, - "type": "array" - }, - "ContentDeliveryRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule" - }, - "type": "array" - }, - "DatasetName": { - "type": "string" - }, - "LateDataRules": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRule" - }, - "type": "array" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Triggers": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Trigger" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.VersioningConfiguration" - } - }, - "required": [ - "Actions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Dataset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Action": { - "additionalProperties": false, - "properties": { - "ActionName": { - "type": "string" - }, - "ContainerAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ContainerAction" - }, - "QueryAction": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.QueryAction" - } - }, - "required": [ - "ActionName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ContainerAction": { - "additionalProperties": false, - "properties": { - "ExecutionRoleArn": { - "type": "string" - }, - "Image": { - "type": "string" - }, - "ResourceConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.ResourceConfiguration" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Variable" - }, - "type": "array" - } - }, - "required": [ - "ExecutionRoleArn", - "Image", - "ResourceConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination" - }, - "EntryName": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination": { - "additionalProperties": false, - "properties": { - "IotEventsDestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.S3DestinationConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DatasetContentVersionValue": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTime": { - "additionalProperties": false, - "properties": { - "OffsetSeconds": { - "type": "number" - }, - "TimeExpression": { - "type": "string" - } - }, - "required": [ - "OffsetSeconds", - "TimeExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration": { - "additionalProperties": false, - "properties": { - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "TimeoutInMinutes" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Filter": { - "additionalProperties": false, - "properties": { - "DeltaTime": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTime" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.GlueConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "TableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "InputName", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRule": { - "additionalProperties": false, - "properties": { - "RuleConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration" - }, - "RuleName": { - "type": "string" - } - }, - "required": [ - "RuleConfiguration" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration": { - "additionalProperties": false, - "properties": { - "DeltaTimeSessionWindowConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.OutputFileUriValue": { - "additionalProperties": false, - "properties": { - "FileName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.QueryAction": { - "additionalProperties": false, - "properties": { - "Filters": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Filter" - }, - "type": "array" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "SqlQuery" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.ResourceConfiguration": { - "additionalProperties": false, - "properties": { - "ComputeType": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "ComputeType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "required": [ - "NumberOfDays", - "Unlimited" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "GlueConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.GlueConfiguration" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Schedule": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Trigger": { - "additionalProperties": false, - "properties": { - "Schedule": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.Schedule" - }, - "TriggeringDataset": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.TriggeringDataset" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.TriggeringDataset": { - "additionalProperties": false, - "properties": { - "DatasetName": { - "type": "string" - } - }, - "required": [ - "DatasetName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.Variable": { - "additionalProperties": false, - "properties": { - "DatasetContentVersionValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.DatasetContentVersionValue" - }, - "DoubleValue": { - "type": "number" - }, - "OutputFileUriValue": { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset.OutputFileUriValue" - }, - "StringValue": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "VariableName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Dataset.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "MaxVersions": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "DatastorePartitions": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartitions" - }, - "DatastoreStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastoreStorage" - }, - "FileFormatConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.FileFormatConfiguration" - }, - "RetentionPeriod": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.RetentionPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Datastore" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Column": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "Bucket", - "RoleArn" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "KeyPrefix": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartition": { - "additionalProperties": false, - "properties": { - "Partition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Partition" - }, - "TimestampPartition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.TimestampPartition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastorePartitions": { - "additionalProperties": false, - "properties": { - "Partitions": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.DatastorePartition" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.DatastoreStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3" - }, - "IotSiteWiseMultiLayerStorage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage" - }, - "ServiceManagedS3": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ServiceManagedS3" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.FileFormatConfiguration": { - "additionalProperties": false, - "properties": { - "JsonConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.JsonConfiguration" - }, - "ParquetConfiguration": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.ParquetConfiguration" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage": { - "additionalProperties": false, - "properties": { - "CustomerManagedS3Storage": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage" - } - }, - "required": [ - "CustomerManagedS3Storage" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.JsonConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ParquetConfiguration": { - "additionalProperties": false, - "properties": { - "SchemaDefinition": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.SchemaDefinition" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.Partition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.RetentionPeriod": { - "additionalProperties": false, - "properties": { - "NumberOfDays": { - "type": "number" - }, - "Unlimited": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.SchemaDefinition": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore.Column" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.ServiceManagedS3": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::IoTAnalytics::Datastore.TimestampPartition": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "TimestampFormat": { - "type": "string" - } - }, - "required": [ - "AttributeName" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineActivities": { - "items": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Activity" - }, - "type": "array" - }, - "PipelineName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineActivities" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTAnalytics::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Activity": { - "additionalProperties": false, - "properties": { - "AddAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.AddAttributes" - }, - "Channel": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Channel" - }, - "Datastore": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Datastore" - }, - "DeviceRegistryEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich" - }, - "DeviceShadowEnrich": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich" - }, - "Filter": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Filter" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Lambda" - }, - "Math": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.Math" - }, - "RemoveAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.RemoveAttributes" - }, - "SelectAttributes": { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline.SelectAttributes" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.AddAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Channel": { - "additionalProperties": false, - "properties": { - "ChannelName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Datastore": { - "additionalProperties": false, - "properties": { - "DatastoreName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ThingName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Filter": { - "additionalProperties": false, - "properties": { - "Filter": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Lambda": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "LambdaName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.Math": { - "additionalProperties": false, - "properties": { - "Attribute": { - "type": "string" - }, - "Math": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.RemoveAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTAnalytics::Pipeline.SelectAttributes": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Next": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SuiteDefinitionConfiguration": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SuiteDefinitionConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTCoreDeviceAdvisor::SuiteDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DetectorModelDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DetectorModelDefinition" - }, - "DetectorModelDescription": { - "type": "string" - }, - "DetectorModelName": { - "type": "string" - }, - "EvaluationMethod": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DetectorModelDefinition", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::DetectorModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Action": { - "additionalProperties": false, - "properties": { - "ClearTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ClearTimer" - }, - "DynamoDB": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDB" - }, - "DynamoDBv2": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.DynamoDBv2" - }, - "Firehose": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Firehose" - }, - "IotEvents": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotEvents" - }, - "IotSiteWise": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotSiteWise" - }, - "IotTopicPublish": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.IotTopicPublish" - }, - "Lambda": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Lambda" - }, - "ResetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.ResetTimer" - }, - "SetTimer": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetTimer" - }, - "SetVariable": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.SetVariable" - }, - "Sns": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sns" - }, - "Sqs": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Sqs" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp": { - "additionalProperties": false, - "properties": { - "OffsetInNanos": { - "type": "string" - }, - "TimeInSeconds": { - "type": "string" - } - }, - "required": [ - "TimeInSeconds" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyValue": { - "additionalProperties": false, - "properties": { - "Quality": { - "type": "string" - }, - "Timestamp": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyTimestamp" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyVariant" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.AssetPropertyVariant": { - "additionalProperties": false, - "properties": { - "BooleanValue": { - "type": "string" - }, - "DoubleValue": { - "type": "string" - }, - "IntegerValue": { - "type": "string" - }, - "StringValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ClearTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DetectorModelDefinition": { - "additionalProperties": false, - "properties": { - "InitialStateName": { - "type": "string" - }, - "States": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.State" - }, - "type": "array" - } - }, - "required": [ - "InitialStateName", - "States" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDB": { - "additionalProperties": false, - "properties": { - "HashKeyField": { - "type": "string" - }, - "HashKeyType": { - "type": "string" - }, - "HashKeyValue": { - "type": "string" - }, - "Operation": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "PayloadField": { - "type": "string" - }, - "RangeKeyField": { - "type": "string" - }, - "RangeKeyType": { - "type": "string" - }, - "RangeKeyValue": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "HashKeyField", - "HashKeyValue", - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.DynamoDBv2": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Event": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - } - }, - "required": [ - "EventName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStreamName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "Separator": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotEvents": { - "additionalProperties": false, - "properties": { - "InputName": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "InputName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotSiteWise": { - "additionalProperties": false, - "properties": { - "AssetId": { - "type": "string" - }, - "EntryId": { - "type": "string" - }, - "PropertyAlias": { - "type": "string" - }, - "PropertyId": { - "type": "string" - }, - "PropertyValue": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.AssetPropertyValue" - } - }, - "required": [ - "PropertyValue" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.IotTopicPublish": { - "additionalProperties": false, - "properties": { - "MqttTopic": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "MqttTopic" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Lambda": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnEnter": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnExit": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.OnInput": { - "additionalProperties": false, - "properties": { - "Events": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Event" - }, - "type": "array" - }, - "TransitionEvents": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.TransitionEvent" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Payload": { - "additionalProperties": false, - "properties": { - "ContentExpression": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "ContentExpression", - "Type" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.ResetTimer": { - "additionalProperties": false, - "properties": { - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetTimer": { - "additionalProperties": false, - "properties": { - "DurationExpression": { - "type": "string" - }, - "Seconds": { - "type": "number" - }, - "TimerName": { - "type": "string" - } - }, - "required": [ - "TimerName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.SetVariable": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - }, - "VariableName": { - "type": "string" - } - }, - "required": [ - "Value", - "VariableName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sns": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "TargetArn" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.Sqs": { - "additionalProperties": false, - "properties": { - "Payload": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Payload" - }, - "QueueUrl": { - "type": "string" - }, - "UseBase64": { - "type": "boolean" - } - }, - "required": [ - "QueueUrl" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.State": { - "additionalProperties": false, - "properties": { - "OnEnter": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnEnter" - }, - "OnExit": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnExit" - }, - "OnInput": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.OnInput" - }, - "StateName": { - "type": "string" - } - }, - "required": [ - "StateName" - ], - "type": "object" - }, - "AWS::IoTEvents::DetectorModel.TransitionEvent": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel.Action" - }, - "type": "array" - }, - "Condition": { - "type": "string" - }, - "EventName": { - "type": "string" - }, - "NextState": { - "type": "string" - } - }, - "required": [ - "Condition", - "EventName", - "NextState" - ], - "type": "object" - }, - "AWS::IoTEvents::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InputDefinition": { - "$ref": "#/definitions/AWS::IoTEvents::Input.InputDefinition" - }, - "InputDescription": { - "type": "string" - }, - "InputName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InputDefinition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTEvents::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.Attribute": { - "additionalProperties": false, - "properties": { - "JsonPath": { - "type": "string" - } - }, - "required": [ - "JsonPath" - ], - "type": "object" - }, - "AWS::IoTEvents::Input.InputDefinition": { - "additionalProperties": false, - "properties": { - "Attributes": { - "items": { - "$ref": "#/definitions/AWS::IoTEvents::Input.Attribute" - }, - "type": "array" - } - }, - "required": [ - "Attributes" - ], - "type": "object" - }, - "AWS::IoTFleetHub::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ApplicationName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTFleetHub::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicyIdentity": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity" - }, - "AccessPolicyPermission": { - "type": "string" - }, - "AccessPolicyResource": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource" - } - }, - "required": [ - "AccessPolicyIdentity", - "AccessPolicyPermission", - "AccessPolicyResource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AccessPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyIdentity": { - "additionalProperties": false, - "properties": { - "IamRole": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamRole" - }, - "IamUser": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.IamUser" - }, - "User": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.User" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.AccessPolicyResource": { - "additionalProperties": false, - "properties": { - "Portal": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Portal" - }, - "Project": { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy.Project" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamRole": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.IamUser": { - "additionalProperties": false, - "properties": { - "arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Portal": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.Project": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AccessPolicy.User": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetHierarchy" - }, - "type": "array" - }, - "AssetModelId": { - "type": "string" - }, - "AssetName": { - "type": "string" - }, - "AssetProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset.AssetProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelId", - "AssetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - } - }, - "required": [ - "ChildAssetId", - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Asset.AssetProperty": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "NotificationState": { - "type": "string" - } - }, - "required": [ - "LogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetModelCompositeModels": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel" - }, - "type": "array" - }, - "AssetModelDescription": { - "type": "string" - }, - "AssetModelHierarchies": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelHierarchy" - }, - "type": "array" - }, - "AssetModelName": { - "type": "string" - }, - "AssetModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssetModelName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::AssetModel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelCompositeModel": { - "additionalProperties": false, - "properties": { - "CompositeModelProperties": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.AssetModelProperty" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelHierarchy": { - "additionalProperties": false, - "properties": { - "ChildAssetModelId": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "ChildAssetModelId", - "LogicalId", - "Name" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.AssetModelProperty": { - "additionalProperties": false, - "properties": { - "DataType": { - "type": "string" - }, - "DataTypeSpec": { - "type": "string" - }, - "LogicalId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.PropertyType" - }, - "Unit": { - "type": "string" - } - }, - "required": [ - "DataType", - "LogicalId", - "Name", - "Type" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Attribute": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.ExpressionVariable": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.VariableValue" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Metric": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - }, - "Window": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.MetricWindow" - } - }, - "required": [ - "Expression", - "Variables", - "Window" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.MetricWindow": { - "additionalProperties": false, - "properties": { - "Tumbling": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.TumblingWindow" - } - }, - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.PropertyType": { - "additionalProperties": false, - "properties": { - "Attribute": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Attribute" - }, - "Metric": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Metric" - }, - "Transform": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.Transform" - }, - "TypeName": { - "type": "string" - } - }, - "required": [ - "TypeName" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.Transform": { - "additionalProperties": false, - "properties": { - "Expression": { - "type": "string" - }, - "Variables": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel.ExpressionVariable" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "Variables" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.TumblingWindow": { - "additionalProperties": false, - "properties": { - "Interval": { - "type": "string" - }, - "Offset": { - "type": "string" - } - }, - "required": [ - "Interval" - ], - "type": "object" - }, - "AWS::IoTSiteWise::AssetModel.VariableValue": { - "additionalProperties": false, - "properties": { - "HierarchyLogicalId": { - "type": "string" - }, - "PropertyLogicalId": { - "type": "string" - } - }, - "required": [ - "PropertyLogicalId" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DashboardDefinition": { - "type": "string" - }, - "DashboardDescription": { - "type": "string" - }, - "DashboardName": { - "type": "string" - }, - "ProjectId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DashboardDefinition", - "DashboardDescription", - "DashboardName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GatewayCapabilitySummaries": { - "items": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary" - }, - "type": "array" - }, - "GatewayName": { - "type": "string" - }, - "GatewayPlatform": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.GatewayPlatform" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GatewayName", - "GatewayPlatform" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Gateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayCapabilitySummary": { - "additionalProperties": false, - "properties": { - "CapabilityConfiguration": { - "type": "string" - }, - "CapabilityNamespace": { - "type": "string" - } - }, - "required": [ - "CapabilityNamespace" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.GatewayPlatform": { - "additionalProperties": false, - "properties": { - "Greengrass": { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway.Greengrass" - } - }, - "required": [ - "Greengrass" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Gateway.Greengrass": { - "additionalProperties": false, - "properties": { - "GroupArn": { - "type": "string" - } - }, - "required": [ - "GroupArn" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Portal": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alarms": { - "type": "object" - }, - "NotificationSenderEmail": { - "type": "string" - }, - "PortalAuthMode": { - "type": "string" - }, - "PortalContactEmail": { - "type": "string" - }, - "PortalDescription": { - "type": "string" - }, - "PortalName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalContactEmail", - "PortalName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Portal" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTSiteWise::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortalId": { - "type": "string" - }, - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PortalId", - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTSiteWise::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleNamespaceVersion": { - "type": "number" - }, - "Definition": { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument" - } - }, - "required": [ - "Definition" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTThingsGraph::FlowTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTThingsGraph::FlowTemplate.DefinitionDocument": { - "additionalProperties": false, - "properties": { - "Language": { - "type": "string" - }, - "Text": { - "type": "string" - } - }, - "required": [ - "Language", - "Text" - ], - "type": "object" - }, - "AWS::IoTWireless::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Expression": { - "type": "string" - }, - "ExpressionType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Expression", - "ExpressionType", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::DeviceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::DeviceProfile.LoRaWANDeviceProfile": { - "additionalProperties": false, - "properties": { - "ClassBTimeout": { - "type": "number" - }, - "ClassCTimeout": { - "type": "number" - }, - "MacVersion": { - "type": "string" - }, - "MaxDutyCycle": { - "type": "number" - }, - "MaxEirp": { - "type": "number" - }, - "PingSlotDr": { - "type": "number" - }, - "PingSlotFreq": { - "type": "number" - }, - "PingSlotPeriod": { - "type": "number" - }, - "RegParamsRevision": { - "type": "string" - }, - "RfRegion": { - "type": "string" - }, - "Supports32BitFCnt": { - "type": "boolean" - }, - "SupportsClassB": { - "type": "boolean" - }, - "SupportsClassC": { - "type": "boolean" - }, - "SupportsJoin": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::IoTWireless::FuotaTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateMulticastGroup": { - "type": "string" - }, - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateMulticastGroup": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "FirmwareUpdateImage": { - "type": "string" - }, - "FirmwareUpdateRole": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirmwareUpdateImage", - "FirmwareUpdateRole", - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::FuotaTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::FuotaTask.LoRaWAN": { - "additionalProperties": false, - "properties": { - "RfRegion": { - "type": "string" - }, - "StartTime": { - "type": "string" - } - }, - "required": [ - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociateWirelessDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisassociateWirelessDevice": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup.LoRaWAN" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::MulticastGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::MulticastGroup.LoRaWAN": { - "additionalProperties": false, - "properties": { - "DlClass": { - "type": "string" - }, - "NumberOfDevicesInGroup": { - "type": "number" - }, - "NumberOfDevicesRequested": { - "type": "number" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "DlClass", - "RfRegion" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccountLinked": { - "type": "boolean" - }, - "Fingerprint": { - "type": "string" - }, - "PartnerAccountId": { - "type": "string" - }, - "PartnerType": { - "type": "string" - }, - "Sidewalk": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo" - }, - "SidewalkUpdate": { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::PartnerAccount" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkAccountInfo": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "required": [ - "AppServerPrivateKey" - ], - "type": "object" - }, - "AWS::IoTWireless::PartnerAccount.SidewalkUpdateAccount": { - "additionalProperties": false, - "properties": { - "AppServerPrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::ServiceProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::IoTWireless::ServiceProfile.LoRaWANServiceProfile": { - "additionalProperties": false, - "properties": { - "AddGwMetadata": { - "type": "boolean" - }, - "ChannelMask": { - "type": "string" - }, - "DevStatusReqFreq": { - "type": "number" - }, - "DlBucketSize": { - "type": "number" - }, - "DlRate": { - "type": "number" - }, - "DlRatePolicy": { - "type": "string" - }, - "DrMax": { - "type": "number" - }, - "DrMin": { - "type": "number" - }, - "HrAllowed": { - "type": "boolean" - }, - "MinGwDiversity": { - "type": "number" - }, - "NwkGeoLoc": { - "type": "boolean" - }, - "PrAllowed": { - "type": "boolean" - }, - "RaAllowed": { - "type": "boolean" - }, - "ReportDevStatusBattery": { - "type": "boolean" - }, - "ReportDevStatusMargin": { - "type": "boolean" - }, - "TargetPer": { - "type": "number" - }, - "UlBucketSize": { - "type": "number" - }, - "UlRate": { - "type": "number" - }, - "UlRatePolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoCreateTasks": { - "type": "boolean" - }, - "LoRaWANUpdateGatewayTaskEntry": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TaskDefinitionType": { - "type": "string" - }, - "Update": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate" - } - }, - "required": [ - "AutoCreateTasks" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::TaskDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion": { - "additionalProperties": false, - "properties": { - "Model": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "Station": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "SigKeyCrc": { - "type": "number" - }, - "UpdateSignature": { - "type": "string" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry": { - "additionalProperties": false, - "properties": { - "CurrentVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - }, - "UpdateVersion": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANGatewayVersion" - } - }, - "type": "object" - }, - "AWS::IoTWireless::TaskDefinition.UpdateWirelessGatewayTaskCreate": { - "additionalProperties": false, - "properties": { - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskCreate" - }, - "UpdateDataRole": { - "type": "string" - }, - "UpdateDataSource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DestinationName": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.LoRaWANDevice" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessDevice" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV10x": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.AbpV11": { - "additionalProperties": false, - "properties": { - "DevAddr": { - "type": "string" - }, - "SessionKeys": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11" - } - }, - "required": [ - "DevAddr", - "SessionKeys" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.LoRaWANDevice": { - "additionalProperties": false, - "properties": { - "AbpV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV10x" - }, - "AbpV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.AbpV11" - }, - "DevEui": { - "type": "string" - }, - "DeviceProfileId": { - "type": "string" - }, - "OtaaV10x": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV10x" - }, - "OtaaV11": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice.OtaaV11" - }, - "ServiceProfileId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV10x": { - "additionalProperties": false, - "properties": { - "AppEui": { - "type": "string" - }, - "AppKey": { - "type": "string" - } - }, - "required": [ - "AppEui", - "AppKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.OtaaV11": { - "additionalProperties": false, - "properties": { - "AppKey": { - "type": "string" - }, - "JoinEui": { - "type": "string" - }, - "NwkKey": { - "type": "string" - } - }, - "required": [ - "AppKey", - "JoinEui", - "NwkKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV10x": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "NwkSKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "NwkSKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessDevice.SessionKeysAbpV11": { - "additionalProperties": false, - "properties": { - "AppSKey": { - "type": "string" - }, - "FNwkSIntKey": { - "type": "string" - }, - "NwkSEncKey": { - "type": "string" - }, - "SNwkSIntKey": { - "type": "string" - } - }, - "required": [ - "AppSKey", - "FNwkSIntKey", - "NwkSEncKey", - "SNwkSIntKey" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "LastUplinkReceivedAt": { - "type": "string" - }, - "LoRaWAN": { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway.LoRaWANGateway" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThingArn": { - "type": "string" - } - }, - "required": [ - "LoRaWAN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::IoTWireless::WirelessGateway" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::IoTWireless::WirelessGateway.LoRaWANGateway": { - "additionalProperties": false, - "properties": { - "GatewayEui": { - "type": "string" - }, - "RfRegion": { - "type": "string" - } - }, - "required": [ - "GatewayEui", - "RfRegion" - ], - "type": "object" - }, - "AWS::KMS::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasName": { - "type": "string" - }, - "TargetKeyId": { - "type": "string" - } - }, - "required": [ - "AliasName", - "TargetKeyId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::Key": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EnableKeyRotation": { - "type": "boolean" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "KeySpec": { - "type": "string" - }, - "KeyUsage": { - "type": "string" - }, - "MultiRegion": { - "type": "boolean" - }, - "PendingWindowInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::Key" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KMS::ReplicaKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "KeyPolicy": { - "type": "object" - }, - "PendingWindowInDays": { - "type": "number" - }, - "PrimaryKeyArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KeyPolicy", - "PrimaryKeyArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KMS::ReplicaKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "IndexId", - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.AccessControlListConfiguration": { - "additionalProperties": false, - "properties": { - "KeyPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.AclConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedGroupsColumnName": { - "type": "string" - } - }, - "required": [ - "AllowedGroupsColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ColumnConfiguration": { - "additionalProperties": false, - "properties": { - "ChangeDetectingColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DocumentDataColumnName": { - "type": "string" - }, - "DocumentIdColumnName": { - "type": "string" - }, - "DocumentTitleColumnName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "ChangeDetectingColumns", - "DocumentDataColumnName", - "DocumentIdColumnName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping" - }, - "type": "array" - }, - "CrawlAttachments": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceAttachmentToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogConfiguration": { - "additionalProperties": false, - "properties": { - "BlogFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceBlogToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceConfiguration": { - "additionalProperties": false, - "properties": { - "AttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceAttachmentConfiguration" - }, - "BlogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceBlogConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PageConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "SpaceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceConfiguration" - }, - "Version": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "ServerUrl", - "Version" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageConfiguration": { - "additionalProperties": false, - "properties": { - "PageFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluencePageToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlArchivedSpaces": { - "type": "boolean" - }, - "CrawlPersonalSpaces": { - "type": "boolean" - }, - "ExcludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeSpaces": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SpaceFieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ConfluenceSpaceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ConnectionConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "SecretArn": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "SecretArn", - "TableName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "ConfluenceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConfluenceConfiguration" - }, - "DatabaseConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DatabaseConfiguration" - }, - "GoogleDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.GoogleDriveConfiguration" - }, - "OneDriveConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveConfiguration" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3DataSourceConfiguration" - }, - "SalesforceConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceConfiguration" - }, - "ServiceNowConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowConfiguration" - }, - "SharePointConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SharePointConfiguration" - }, - "WebCrawlerConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerConfiguration" - }, - "WorkDocsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WorkDocsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceToIndexFieldMapping": { - "additionalProperties": false, - "properties": { - "DataSourceFieldName": { - "type": "string" - }, - "DateFieldFormat": { - "type": "string" - }, - "IndexFieldName": { - "type": "string" - } - }, - "required": [ - "DataSourceFieldName", - "IndexFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DataSourceVpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DatabaseConfiguration": { - "additionalProperties": false, - "properties": { - "AclConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AclConfiguration" - }, - "ColumnConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ColumnConfiguration" - }, - "ConnectionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ConnectionConfiguration" - }, - "DatabaseEngineType": { - "type": "string" - }, - "SqlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SqlConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "ColumnConfiguration", - "ConnectionConfiguration", - "DatabaseEngineType" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.DocumentsMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "S3Prefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.GoogleDriveConfiguration": { - "additionalProperties": false, - "properties": { - "ExcludeMimeTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeSharedDrives": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExcludeUserAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "SecretArn" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveConfiguration": { - "additionalProperties": false, - "properties": { - "DisableLocalGroups": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUsers": { - "$ref": "#/definitions/AWS::Kendra::DataSource.OneDriveUsers" - }, - "SecretArn": { - "type": "string" - }, - "TenantDomain": { - "type": "string" - } - }, - "required": [ - "OneDriveUsers", - "SecretArn", - "TenantDomain" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.OneDriveUsers": { - "additionalProperties": false, - "properties": { - "OneDriveUserList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OneDriveUserS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.ProxyConfiguration": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "AccessControlListConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.AccessControlListConfiguration" - }, - "BucketName": { - "type": "string" - }, - "DocumentsMetadataConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DocumentsMetadataConfiguration" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InclusionPrefixes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeFilterTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceConfiguration": { - "additionalProperties": false, - "properties": { - "ChatterFeedConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceChatterFeedConfiguration" - }, - "CrawlAttachments": { - "type": "boolean" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServerUrl": { - "type": "string" - }, - "StandardObjectAttachmentConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration" - }, - "StandardObjectConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SecretArn", - "ServerUrl" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CustomKnowledgeArticleTypeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceCustomKnowledgeArticleTypeConfiguration" - }, - "type": "array" - }, - "IncludedStates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StandardKnowledgeArticleTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration" - } - }, - "required": [ - "IncludedStates" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardKnowledgeArticleTypeConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectAttachmentConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.SalesforceStandardObjectConfiguration": { - "additionalProperties": false, - "properties": { - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DocumentDataFieldName", - "Name" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationType": { - "type": "string" - }, - "HostUrl": { - "type": "string" - }, - "KnowledgeArticleConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration" - }, - "SecretArn": { - "type": "string" - }, - "ServiceCatalogConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration" - }, - "ServiceNowBuildVersion": { - "type": "string" - } - }, - "required": [ - "HostUrl", - "SecretArn", - "ServiceNowBuildVersion" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowKnowledgeArticleConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "FilterQuery": { - "type": "string" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.ServiceNowServiceCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DocumentDataFieldName": { - "type": "string" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExcludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "IncludeAttachmentFilePatterns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DocumentDataFieldName" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SharePointConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlAttachments": { - "type": "boolean" - }, - "DisableLocalGroups": { - "type": "boolean" - }, - "DocumentTitleFieldName": { - "type": "string" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecretArn": { - "type": "string" - }, - "SharePointVersion": { - "type": "string" - }, - "SslCertificateS3Path": { - "$ref": "#/definitions/AWS::Kendra::DataSource.S3Path" - }, - "Urls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UseChangeLog": { - "type": "boolean" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceVpcConfiguration" - } - }, - "required": [ - "SecretArn", - "SharePointVersion", - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.SqlConfiguration": { - "additionalProperties": false, - "properties": { - "QueryIdentifiersEnclosingOption": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "BasicAuthentication": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerBasicAuthentication" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerBasicAuthentication": { - "additionalProperties": false, - "properties": { - "Credentials": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Credentials", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerConfiguration": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerAuthenticationConfiguration" - }, - "CrawlDepth": { - "type": "number" - }, - "MaxContentSizePerPageInMegaBytes": { - "type": "number" - }, - "MaxLinksPerPage": { - "type": "number" - }, - "MaxUrlsPerMinuteCrawlRate": { - "type": "number" - }, - "ProxyConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.ProxyConfiguration" - }, - "UrlExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "UrlInclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Urls": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerUrls" - } - }, - "required": [ - "Urls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration": { - "additionalProperties": false, - "properties": { - "SeedUrls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WebCrawlerMode": { - "type": "string" - } - }, - "required": [ - "SeedUrls" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration": { - "additionalProperties": false, - "properties": { - "SiteMaps": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SiteMaps" - ], - "type": "object" - }, - "AWS::Kendra::DataSource.WebCrawlerUrls": { - "additionalProperties": false, - "properties": { - "SeedUrlConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSeedUrlConfiguration" - }, - "SiteMapsConfiguration": { - "$ref": "#/definitions/AWS::Kendra::DataSource.WebCrawlerSiteMapsConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::DataSource.WorkDocsConfiguration": { - "additionalProperties": false, - "properties": { - "CrawlComments": { - "type": "boolean" - }, - "ExclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FieldMappings": { - "items": { - "$ref": "#/definitions/AWS::Kendra::DataSource.DataSourceToIndexFieldMapping" - }, - "type": "array" - }, - "InclusionPatterns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OrganizationId": { - "type": "string" - }, - "UseChangeLog": { - "type": "boolean" - } - }, - "required": [ - "OrganizationId" - ], - "type": "object" - }, - "AWS::Kendra::Faq": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FileFormat": { - "type": "string" - }, - "IndexId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "S3Path": { - "$ref": "#/definitions/AWS::Kendra::Faq.S3Path" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IndexId", - "Name", - "RoleArn", - "S3Path" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Faq" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Faq.S3Path": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Kendra::Index": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CapacityUnits": { - "$ref": "#/definitions/AWS::Kendra::Index.CapacityUnitsConfiguration" - }, - "Description": { - "type": "string" - }, - "DocumentMetadataConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.DocumentMetadataConfiguration" - }, - "type": "array" - }, - "Edition": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserContextPolicy": { - "type": "string" - }, - "UserTokenConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.UserTokenConfiguration" - }, - "type": "array" - } - }, - "required": [ - "Edition", - "Name", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kendra::Index" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kendra::Index.CapacityUnitsConfiguration": { - "additionalProperties": false, - "properties": { - "QueryCapacityUnits": { - "type": "number" - }, - "StorageCapacityUnits": { - "type": "number" - } - }, - "required": [ - "QueryCapacityUnits", - "StorageCapacityUnits" - ], - "type": "object" - }, - "AWS::Kendra::Index.DocumentMetadataConfiguration": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Relevance": { - "$ref": "#/definitions/AWS::Kendra::Index.Relevance" - }, - "Search": { - "$ref": "#/definitions/AWS::Kendra::Index.Search" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Kendra::Index.JsonTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "GroupAttributeField": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "GroupAttributeField", - "UserNameAttributeField" - ], - "type": "object" - }, - "AWS::Kendra::Index.JwtTokenTypeConfiguration": { - "additionalProperties": false, - "properties": { - "ClaimRegex": { - "type": "string" - }, - "GroupAttributeField": { - "type": "string" - }, - "Issuer": { - "type": "string" - }, - "KeyLocation": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "URL": { - "type": "string" - }, - "UserNameAttributeField": { - "type": "string" - } - }, - "required": [ - "KeyLocation" - ], - "type": "object" - }, - "AWS::Kendra::Index.Relevance": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "Freshness": { - "type": "boolean" - }, - "Importance": { - "type": "number" - }, - "RankOrder": { - "type": "string" - }, - "ValueImportanceItems": { - "items": { - "$ref": "#/definitions/AWS::Kendra::Index.ValueImportanceItem" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.Search": { - "additionalProperties": false, - "properties": { - "Displayable": { - "type": "boolean" - }, - "Facetable": { - "type": "boolean" - }, - "Searchable": { - "type": "boolean" - }, - "Sortable": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.UserTokenConfiguration": { - "additionalProperties": false, - "properties": { - "JsonTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JsonTokenTypeConfiguration" - }, - "JwtTokenTypeConfiguration": { - "$ref": "#/definitions/AWS::Kendra::Index.JwtTokenTypeConfiguration" - } - }, - "type": "object" - }, - "AWS::Kendra::Index.ValueImportanceItem": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Kinesis::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RetentionPeriodHours": { - "type": "number" - }, - "ShardCount": { - "type": "number" - }, - "StreamEncryption": { - "$ref": "#/definitions/AWS::Kinesis::Stream.StreamEncryption" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ShardCount" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Kinesis::Stream.StreamEncryption": { - "additionalProperties": false, - "properties": { - "EncryptionType": { - "type": "string" - }, - "KeyId": { - "type": "string" - } - }, - "required": [ - "EncryptionType", - "KeyId" - ], - "type": "object" - }, - "AWS::Kinesis::StreamConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerName": { - "type": "string" - }, - "StreamARN": { - "type": "string" - } - }, - "required": [ - "ConsumerName", - "StreamARN" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Kinesis::StreamConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationCode": { - "type": "string" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.Input" - }, - "type": "array" - } - }, - "required": [ - "Inputs" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalytics::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalytics::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ReferenceRoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey", - "ReferenceRoleARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration" - }, - "ApplicationDescription": { - "type": "string" - }, - "ApplicationMode": { - "type": "string" - }, - "ApplicationName": { - "type": "string" - }, - "RuntimeEnvironment": { - "type": "string" - }, - "ServiceExecutionRole": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RuntimeEnvironment", - "ServiceExecutionRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration": { - "additionalProperties": false, - "properties": { - "CodeContent": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CodeContent" - }, - "CodeContentType": { - "type": "string" - } - }, - "required": [ - "CodeContent", - "CodeContentType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "ApplicationCodeConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationCodeConfiguration" - }, - "ApplicationSnapshotConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration" - }, - "EnvironmentProperties": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.EnvironmentProperties" - }, - "FlinkApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration" - }, - "SqlApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration" - }, - "ZeppelinApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ApplicationSnapshotConfiguration": { - "additionalProperties": false, - "properties": { - "SnapshotsEnabled": { - "type": "boolean" - } - }, - "required": [ - "SnapshotsEnabled" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CatalogConfiguration": { - "additionalProperties": false, - "properties": { - "GlueDataCatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointInterval": { - "type": "number" - }, - "CheckpointingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "MinPauseBetweenCheckpoints": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CodeContent": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - }, - "TextContent": { - "type": "string" - }, - "ZipFileContent": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactConfiguration": { - "additionalProperties": false, - "properties": { - "ArtifactType": { - "type": "string" - }, - "MavenReference": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MavenReference" - }, - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentLocation" - } - }, - "required": [ - "ArtifactType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "S3ContentLocation": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation" - } - }, - "required": [ - "S3ContentLocation" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.EnvironmentProperties": { - "additionalProperties": false, - "properties": { - "PropertyGroups": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.PropertyGroup" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.FlinkApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CheckpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CheckpointConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration" - }, - "ParallelismConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.GlueDataCatalogConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseARN": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.Input": { - "additionalProperties": false, - "properties": { - "InputParallelism": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputParallelism" - }, - "InputProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration" - }, - "InputSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputSchema" - }, - "KinesisFirehoseInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput" - }, - "KinesisStreamsInput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput" - }, - "NamePrefix": { - "type": "string" - } - }, - "required": [ - "InputSchema", - "NamePrefix" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputParallelism": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "InputLambdaProcessor": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.InputLambdaProcessor" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.InputSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisFirehoseInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.KinesisStreamsInput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MavenReference": { - "additionalProperties": false, - "properties": { - "ArtifactId": { - "type": "string" - }, - "GroupId": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "ArtifactId", - "GroupId", - "Version" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.MonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "ConfigurationType": { - "type": "string" - }, - "LogLevel": { - "type": "string" - }, - "MetricsLevel": { - "type": "string" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ParallelismConfiguration": { - "additionalProperties": false, - "properties": { - "AutoScalingEnabled": { - "type": "boolean" - }, - "ConfigurationType": { - "type": "string" - }, - "Parallelism": { - "type": "number" - }, - "ParallelismPerKPU": { - "type": "number" - } - }, - "required": [ - "ConfigurationType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.PropertyGroup": { - "additionalProperties": false, - "properties": { - "PropertyGroupId": { - "type": "string" - }, - "PropertyMap": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentBaseLocation": { - "additionalProperties": false, - "properties": { - "BasePath": { - "type": "string" - }, - "BucketARN": { - "type": "string" - } - }, - "required": [ - "BasePath", - "BucketARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.S3ContentLocation": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - }, - "ObjectVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.SqlApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Inputs": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.Input" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinApplicationConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CatalogConfiguration" - }, - "CustomArtifactsConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.CustomArtifactsConfiguration" - }, - "DeployAsApplicationConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.DeployAsApplicationConfiguration" - }, - "MonitoringConfiguration": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::Application.ZeppelinMonitoringConfiguration": { - "additionalProperties": false, - "properties": { - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "CloudWatchLoggingOption": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption" - } - }, - "required": [ - "ApplicationName", - "CloudWatchLoggingOption" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption.CloudWatchLoggingOption": { - "additionalProperties": false, - "properties": { - "LogStreamARN": { - "type": "string" - } - }, - "required": [ - "LogStreamARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "Output": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.Output" - } - }, - "required": [ - "ApplicationName", - "Output" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema": { - "additionalProperties": false, - "properties": { - "RecordFormatType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput": { - "additionalProperties": false, - "properties": { - "ResourceARN": { - "type": "string" - } - }, - "required": [ - "ResourceARN" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationOutput.Output": { - "additionalProperties": false, - "properties": { - "DestinationSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.DestinationSchema" - }, - "KinesisFirehoseOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisFirehoseOutput" - }, - "KinesisStreamsOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.KinesisStreamsOutput" - }, - "LambdaOutput": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput.LambdaOutput" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DestinationSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationName": { - "type": "string" - }, - "ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource" - } - }, - "required": [ - "ApplicationName", - "ReferenceDataSource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordColumnDelimiter": { - "type": "string" - }, - "RecordRowDelimiter": { - "type": "string" - } - }, - "required": [ - "RecordColumnDelimiter", - "RecordRowDelimiter" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters": { - "additionalProperties": false, - "properties": { - "RecordRowPath": { - "type": "string" - } - }, - "required": [ - "RecordRowPath" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters": { - "additionalProperties": false, - "properties": { - "CSVMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.CSVMappingParameters" - }, - "JSONMappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.JSONMappingParameters" - } - }, - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn": { - "additionalProperties": false, - "properties": { - "Mapping": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlType": { - "type": "string" - } - }, - "required": [ - "Name", - "SqlType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat": { - "additionalProperties": false, - "properties": { - "MappingParameters": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.MappingParameters" - }, - "RecordFormatType": { - "type": "string" - } - }, - "required": [ - "RecordFormatType" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "ReferenceSchema": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema" - }, - "S3ReferenceDataSource": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "ReferenceSchema" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.ReferenceSchema": { - "additionalProperties": false, - "properties": { - "RecordColumns": { - "items": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordColumn" - }, - "type": "array" - }, - "RecordEncoding": { - "type": "string" - }, - "RecordFormat": { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.RecordFormat" - } - }, - "required": [ - "RecordColumns", - "RecordFormat" - ], - "type": "object" - }, - "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource.S3ReferenceDataSource": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "FileKey": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "FileKey" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AmazonopensearchserviceDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration" - }, - "DeliveryStreamEncryptionConfigurationInput": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput" - }, - "DeliveryStreamName": { - "type": "string" - }, - "DeliveryStreamType": { - "type": "string" - }, - "ElasticsearchDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration" - }, - "ExtendedS3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration" - }, - "HttpEndpointDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration" - }, - "KinesisStreamSourceConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration" - }, - "RedshiftDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration" - }, - "S3DestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "SplunkDestinationConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::KinesisFirehose::DeliveryStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.AmazonopensearchserviceRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.BufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.CopyCommand": { - "additionalProperties": false, - "properties": { - "CopyOptions": { - "type": "string" - }, - "DataTableColumns": { - "type": "string" - }, - "DataTableName": { - "type": "string" - } - }, - "required": [ - "DataTableName" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration" - }, - "OutputFormatConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration" - }, - "SchemaConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DeliveryStreamEncryptionConfigurationInput": { - "additionalProperties": false, - "properties": { - "KeyARN": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Deserializer": { - "additionalProperties": false, - "properties": { - "HiveJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe" - }, - "OpenXJsonSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints": { - "additionalProperties": false, - "properties": { - "IntervalInSeconds": { - "type": "number" - }, - "SizeInMBs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterEndpoint": { - "type": "string" - }, - "DomainARN": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "IndexRotationPeriod": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "TypeName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.VpcConfiguration" - } - }, - "required": [ - "IndexName", - "RoleARN", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KMSEncryptionConfig": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig" - }, - "NoEncryptionConfig": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ExtendedS3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "DataFormatConversionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DataFormatConversionConfiguration" - }, - "DynamicPartitioningConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.DynamicPartitioningConfiguration" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HiveJsonSerDe": { - "additionalProperties": false, - "properties": { - "TimestampFormats": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute": { - "additionalProperties": false, - "properties": { - "AttributeName": { - "type": "string" - }, - "AttributeValue": { - "type": "string" - } - }, - "required": [ - "AttributeName", - "AttributeValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration": { - "additionalProperties": false, - "properties": { - "AccessKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "EndpointConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointConfiguration" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RequestConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "EndpointConfiguration", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.HttpEndpointRequestConfiguration": { - "additionalProperties": false, - "properties": { - "CommonAttributes": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.HttpEndpointCommonAttribute" - }, - "type": "array" - }, - "ContentEncoding": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.InputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Deserializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Deserializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig": { - "additionalProperties": false, - "properties": { - "AWSKMSKeyARN": { - "type": "string" - } - }, - "required": [ - "AWSKMSKeyARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.KinesisStreamSourceConfiguration": { - "additionalProperties": false, - "properties": { - "KinesisStreamARN": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "KinesisStreamARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OpenXJsonSerDe": { - "additionalProperties": false, - "properties": { - "CaseInsensitive": { - "type": "boolean" - }, - "ColumnToJsonKeyMappings": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ConvertDotsInJsonKeysToUnderscores": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OrcSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "BloomFilterColumns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BloomFilterFalsePositiveProbability": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "DictionaryKeyThreshold": { - "type": "number" - }, - "EnablePadding": { - "type": "boolean" - }, - "FormatVersion": { - "type": "string" - }, - "PaddingTolerance": { - "type": "number" - }, - "RowIndexStride": { - "type": "number" - }, - "StripeSizeBytes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.OutputFormatConfiguration": { - "additionalProperties": false, - "properties": { - "Serializer": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Serializer" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ParquetSerDe": { - "additionalProperties": false, - "properties": { - "BlockSizeBytes": { - "type": "number" - }, - "Compression": { - "type": "string" - }, - "EnableDictionaryCompression": { - "type": "boolean" - }, - "MaxPaddingBytes": { - "type": "number" - }, - "PageSizeBytes": { - "type": "number" - }, - "WriterVersion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "Processors": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.Processor" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Processor": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessorParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.ProcessorParameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "ClusterJDBCURL": { - "type": "string" - }, - "CopyCommand": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CopyCommand" - }, - "Password": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions" - }, - "RoleARN": { - "type": "string" - }, - "S3BackupConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "ClusterJDBCURL", - "CopyCommand", - "Password", - "RoleARN", - "S3Configuration", - "Username" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RedshiftRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.RetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration": { - "additionalProperties": false, - "properties": { - "BucketARN": { - "type": "string" - }, - "BufferingHints": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.BufferingHints" - }, - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "CompressionFormat": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration" - }, - "ErrorOutputPrefix": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "RoleARN": { - "type": "string" - } - }, - "required": [ - "BucketARN", - "RoleARN" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SchemaConfiguration": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "RoleARN": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VersionId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.Serializer": { - "additionalProperties": false, - "properties": { - "OrcSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.OrcSerDe" - }, - "ParquetSerDe": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ParquetSerDe" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkDestinationConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLoggingOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.CloudWatchLoggingOptions" - }, - "HECAcknowledgmentTimeoutInSeconds": { - "type": "number" - }, - "HECEndpoint": { - "type": "string" - }, - "HECEndpointType": { - "type": "string" - }, - "HECToken": { - "type": "string" - }, - "ProcessingConfiguration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.ProcessingConfiguration" - }, - "RetryOptions": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions" - }, - "S3BackupMode": { - "type": "string" - }, - "S3Configuration": { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream.S3DestinationConfiguration" - } - }, - "required": [ - "HECEndpoint", - "HECEndpointType", - "HECToken", - "S3Configuration" - ], - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.SplunkRetryOptions": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::KinesisFirehose::DeliveryStream.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "RoleARN": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "RoleARN", - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Admins": { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings.Admins" - }, - "TrustedResourceOwners": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::DataLakeSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.Admins": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::DataLakeSettings.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLakePrincipal": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLakePrincipal" - }, - "Permissions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PermissionsWithGrantOption": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Resource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.Resource" - } - }, - "required": [ - "DataLakePrincipal", - "Resource" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Permissions" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LakeFormation::Permissions.ColumnWildcard": { - "additionalProperties": false, - "properties": { - "ExcludedColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLakePrincipal": { - "additionalProperties": false, - "properties": { - "DataLakePrincipalIdentifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DataLocationResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "S3Resource": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.DatabaseResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.Resource": { - "additionalProperties": false, - "properties": { - "DataLocationResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DataLocationResource" - }, - "DatabaseResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.DatabaseResource" - }, - "TableResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableResource" - }, - "TableWithColumnsResource": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWithColumnsResource" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "TableWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.TableWildcard" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWildcard": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::LakeFormation::Permissions.TableWithColumnsResource": { - "additionalProperties": false, - "properties": { - "CatalogId": { - "type": "string" - }, - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ColumnWildcard": { - "$ref": "#/definitions/AWS::LakeFormation::Permissions.ColumnWildcard" - }, - "DatabaseName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LakeFormation::Resource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UseServiceLinkedRole": { - "type": "boolean" - } - }, - "required": [ - "ResourceArn", - "UseServiceLinkedRole" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LakeFormation::Resource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "FunctionVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration" - }, - "RoutingConfig": { - "$ref": "#/definitions/AWS::Lambda::Alias.AliasRoutingConfiguration" - } - }, - "required": [ - "FunctionName", - "FunctionVersion", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Alias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Alias.AliasRoutingConfiguration": { - "additionalProperties": false, - "properties": { - "AdditionalVersionWeights": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Alias.VersionWeight" - }, - "type": "array" - } - }, - "required": [ - "AdditionalVersionWeights" - ], - "type": "object" - }, - "AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::Lambda::Alias.VersionWeight": { - "additionalProperties": false, - "properties": { - "FunctionVersion": { - "type": "string" - }, - "FunctionWeight": { - "type": "number" - } - }, - "required": [ - "FunctionVersion", - "FunctionWeight" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPublishers": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.AllowedPublishers" - }, - "CodeSigningPolicies": { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig.CodeSigningPolicies" - }, - "Description": { - "type": "string" - } - }, - "required": [ - "AllowedPublishers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::CodeSigningConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.AllowedPublishers": { - "additionalProperties": false, - "properties": { - "SigningProfileVersionArns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SigningProfileVersionArns" - ], - "type": "object" - }, - "AWS::Lambda::CodeSigningConfig.CodeSigningPolicies": { - "additionalProperties": false, - "properties": { - "UntrustedArtifactOnDeployment": { - "type": "string" - } - }, - "required": [ - "UntrustedArtifactOnDeployment" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.DestinationConfig" - }, - "FunctionName": { - "type": "string" - }, - "MaximumEventAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "Qualifier": { - "type": "string" - } - }, - "required": [ - "FunctionName", - "Qualifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventInvokeConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnFailure" - }, - "OnSuccess": { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig.OnSuccess" - } - }, - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventInvokeConfig.OnSuccess": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "EventSourceArn": { - "type": "string" - }, - "FilterCriteria": { - "type": "object" - }, - "FunctionName": { - "type": "string" - }, - "FunctionResponseTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SelfManagedEventSource": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SelfManagedEventSource" - }, - "SourceAccessConfigurations": { - "items": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.SourceAccessConfiguration" - }, - "type": "array" - }, - "StartingPosition": { - "type": "string" - }, - "StartingPositionTimestamp": { - "type": "number" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TumblingWindowInSeconds": { - "type": "number" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::EventSourceMapping" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.OnFailure" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.Endpoints": { - "additionalProperties": false, - "properties": { - "KafkaBootstrapServers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SelfManagedEventSource": { - "additionalProperties": false, - "properties": { - "Endpoints": { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping.Endpoints" - } - }, - "type": "object" - }, - "AWS::Lambda::EventSourceMapping.SourceAccessConfiguration": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "URI": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Code": { - "$ref": "#/definitions/AWS::Lambda::Function.Code" - }, - "CodeSigningConfigArn": { - "type": "string" - }, - "DeadLetterConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.DeadLetterConfig" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Lambda::Function.Environment" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Lambda::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.ImageConfig" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PackageType": { - "type": "string" - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timeout": { - "type": "number" - }, - "TracingConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.TracingConfig" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Lambda::Function.VpcConfig" - } - }, - "required": [ - "Code", - "Role" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Function.Code": { - "additionalProperties": false, - "properties": { - "ImageUri": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "ZipFile": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.DeadLetterConfig": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.Environment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "required": [ - "Arn", - "LocalMountPath" - ], - "type": "object" - }, - "AWS::Lambda::Function.ImageConfig": { - "additionalProperties": false, - "properties": { - "Command": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EntryPoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WorkingDirectory": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.TracingConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lambda::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Lambda::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleArchitectures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Content": { - "$ref": "#/definitions/AWS::Lambda::LayerVersion.Content" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersion.Content": { - "additionalProperties": false, - "properties": { - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::Lambda::LayerVersionPermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "LayerVersionArn": { - "type": "string" - }, - "OrganizationId": { - "type": "string" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Action", - "LayerVersionArn", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::LayerVersionPermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Permission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "EventSourceToken": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "SourceAccount": { - "type": "string" - }, - "SourceArn": { - "type": "string" - } - }, - "required": [ - "Action", - "FunctionName", - "Principal" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Permission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeSha256": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FunctionName": { - "type": "string" - }, - "ProvisionedConcurrencyConfig": { - "$ref": "#/definitions/AWS::Lambda::Version.ProvisionedConcurrencyConfiguration" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lambda::Version" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lambda::Version.ProvisionedConcurrencyConfiguration": { - "additionalProperties": false, - "properties": { - "ProvisionedConcurrentExecutions": { - "type": "number" - } - }, - "required": [ - "ProvisionedConcurrentExecutions" - ], - "type": "object" - }, - "AWS::LicenseManager::Grant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedOperations": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GrantName": { - "type": "string" - }, - "HomeRegion": { - "type": "string" - }, - "LicenseArn": { - "type": "string" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::Grant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::LicenseManager::License": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Beneficiary": { - "type": "string" - }, - "ConsumptionConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ConsumptionConfiguration" - }, - "Entitlements": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Entitlement" - }, - "type": "array" - }, - "HomeRegion": { - "type": "string" - }, - "Issuer": { - "$ref": "#/definitions/AWS::LicenseManager::License.IssuerData" - }, - "LicenseMetadata": { - "items": { - "$ref": "#/definitions/AWS::LicenseManager::License.Metadata" - }, - "type": "array" - }, - "LicenseName": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProductSKU": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Validity": { - "$ref": "#/definitions/AWS::LicenseManager::License.ValidityDateFormat" - } - }, - "required": [ - "ConsumptionConfiguration", - "Entitlements", - "HomeRegion", - "Issuer", - "LicenseName", - "ProductName", - "Validity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LicenseManager::License" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LicenseManager::License.BorrowConfiguration": { - "additionalProperties": false, - "properties": { - "AllowEarlyCheckIn": { - "type": "boolean" - }, - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "AllowEarlyCheckIn", - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ConsumptionConfiguration": { - "additionalProperties": false, - "properties": { - "BorrowConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.BorrowConfiguration" - }, - "ProvisionalConfiguration": { - "$ref": "#/definitions/AWS::LicenseManager::License.ProvisionalConfiguration" - }, - "RenewType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LicenseManager::License.Entitlement": { - "additionalProperties": false, - "properties": { - "AllowCheckIn": { - "type": "boolean" - }, - "MaxCount": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Overage": { - "type": "boolean" - }, - "Unit": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Unit" - ], - "type": "object" - }, - "AWS::LicenseManager::License.IssuerData": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SignKey": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::LicenseManager::License.Metadata": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ProvisionalConfiguration": { - "additionalProperties": false, - "properties": { - "MaxTimeToLiveInMinutes": { - "type": "number" - } - }, - "required": [ - "MaxTimeToLiveInMinutes" - ], - "type": "object" - }, - "AWS::LicenseManager::License.ValidityDateFormat": { - "additionalProperties": false, - "properties": { - "Begin": { - "type": "string" - }, - "End": { - "type": "string" - } - }, - "required": [ - "Begin", - "End" - ], - "type": "object" - }, - "AWS::Lightsail::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "BackupRetention": { - "type": "boolean" - }, - "CaCertificateIdentifier": { - "type": "string" - }, - "MasterDatabaseName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "RelationalDatabaseBlueprintId": { - "type": "string" - }, - "RelationalDatabaseBundleId": { - "type": "string" - }, - "RelationalDatabaseName": { - "type": "string" - }, - "RelationalDatabaseParameters": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Database.RelationalDatabaseParameter" - }, - "type": "array" - }, - "RotateMasterUserPassword": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MasterDatabaseName", - "MasterUsername", - "RelationalDatabaseBlueprintId", - "RelationalDatabaseBundleId", - "RelationalDatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Database.RelationalDatabaseParameter": { - "additionalProperties": false, - "properties": { - "AllowedValues": { - "type": "string" - }, - "ApplyMethod": { - "type": "string" - }, - "ApplyType": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IsModifiable": { - "type": "boolean" - }, - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Disk": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "SizeInGb": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DiskName", - "SizeInGb" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Disk" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Disk.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Disk.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AddOns": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AddOn" - }, - "type": "array" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlueprintId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Hardware": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Hardware" - }, - "InstanceName": { - "type": "string" - }, - "KeyPairName": { - "type": "string" - }, - "Networking": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Networking" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserData": { - "type": "string" - } - }, - "required": [ - "BlueprintId", - "BundleId", - "InstanceName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AddOn": { - "additionalProperties": false, - "properties": { - "AddOnType": { - "type": "string" - }, - "AutoSnapshotAddOnRequest": { - "$ref": "#/definitions/AWS::Lightsail::Instance.AutoSnapshotAddOn" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "AddOnType" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.AutoSnapshotAddOn": { - "additionalProperties": false, - "properties": { - "SnapshotTimeOfDay": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Disk": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "AttachmentState": { - "type": "string" - }, - "DiskName": { - "type": "string" - }, - "IOPS": { - "type": "number" - }, - "IsSystemDisk": { - "type": "boolean" - }, - "Path": { - "type": "string" - }, - "SizeInGb": { - "type": "string" - } - }, - "required": [ - "DiskName", - "Path" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Hardware": { - "additionalProperties": false, - "properties": { - "CpuCount": { - "type": "number" - }, - "Disks": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Disk" - }, - "type": "array" - }, - "RamSizeInGb": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Location": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.MonthlyTransfer": { - "additionalProperties": false, - "properties": { - "GbPerMonthAllocated": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.Networking": { - "additionalProperties": false, - "properties": { - "MonthlyTransfer": { - "$ref": "#/definitions/AWS::Lightsail::Instance.MonthlyTransfer" - }, - "Ports": { - "items": { - "$ref": "#/definitions/AWS::Lightsail::Instance.Port" - }, - "type": "array" - } - }, - "required": [ - "Ports" - ], - "type": "object" - }, - "AWS::Lightsail::Instance.Port": { - "additionalProperties": false, - "properties": { - "AccessDirection": { - "type": "string" - }, - "AccessFrom": { - "type": "string" - }, - "AccessType": { - "type": "string" - }, - "CidrListAliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CommonName": { - "type": "string" - }, - "FromPort": { - "type": "number" - }, - "Ipv6Cidrs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Protocol": { - "type": "string" - }, - "ToPort": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Lightsail::Instance.State": { - "additionalProperties": false, - "properties": { - "Code": { - "type": "number" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Lightsail::StaticIp": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AttachedTo": { - "type": "string" - }, - "StaticIpName": { - "type": "string" - } - }, - "required": [ - "StaticIpName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Lightsail::StaticIp" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::GeofenceCollection": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CollectionName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - } - }, - "required": [ - "CollectionName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::GeofenceCollection" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::Location::Map.MapConfiguration" - }, - "Description": { - "type": "string" - }, - "MapName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "Configuration", - "MapName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Map" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Map.MapConfiguration": { - "additionalProperties": false, - "properties": { - "Style": { - "type": "string" - } - }, - "required": [ - "Style" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataSource": { - "type": "string" - }, - "DataSourceConfiguration": { - "$ref": "#/definitions/AWS::Location::PlaceIndex.DataSourceConfiguration" - }, - "Description": { - "type": "string" - }, - "IndexName": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "DataSource", - "IndexName", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::PlaceIndex" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::PlaceIndex.DataSourceConfiguration": { - "additionalProperties": false, - "properties": { - "IntendedUse": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Location::RouteCalculator": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CalculatorName": { - "type": "string" - }, - "DataSource": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - } - }, - "required": [ - "CalculatorName", - "DataSource", - "PricingPlan" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::RouteCalculator" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::Tracker": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "PositionFiltering": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "PricingPlanDataSource": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "PricingPlan", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::Tracker" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Location::TrackerConsumer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConsumerArn": { - "type": "string" - }, - "TrackerName": { - "type": "string" - } - }, - "required": [ - "ConsumerArn", - "TrackerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Location::TrackerConsumer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::Destination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationName": { - "type": "string" - }, - "DestinationPolicy": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "TargetArn": { - "type": "string" - } - }, - "required": [ - "DestinationName", - "DestinationPolicy", - "RoleArn", - "TargetArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::Destination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::LogGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RetentionInDays": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Logs::LogStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - }, - "LogStreamName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::LogStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "MetricTransformations": { - "items": { - "$ref": "#/definitions/AWS::Logs::MetricFilter.MetricTransformation" - }, - "type": "array" - } - }, - "required": [ - "FilterPattern", - "LogGroupName", - "MetricTransformations" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::MetricFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::MetricFilter.MetricTransformation": { - "additionalProperties": false, - "properties": { - "DefaultValue": { - "type": "number" - }, - "MetricName": { - "type": "string" - }, - "MetricNamespace": { - "type": "string" - }, - "MetricValue": { - "type": "string" - } - }, - "required": [ - "MetricName", - "MetricNamespace", - "MetricValue" - ], - "type": "object" - }, - "AWS::Logs::QueryDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryString": { - "type": "string" - } - }, - "required": [ - "Name", - "QueryString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::QueryDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "string" - }, - "PolicyName": { - "type": "string" - } - }, - "required": [ - "PolicyDocument", - "PolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Logs::SubscriptionFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "DestinationArn", - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Logs::SubscriptionFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutEquipment::InferenceScheduler": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataDelayOffsetInMinutes": { - "type": "number" - }, - "DataInputConfiguration": { - "type": "object" - }, - "DataOutputConfiguration": { - "type": "object" - }, - "DataUploadFrequency": { - "type": "string" - }, - "InferenceSchedulerName": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "ServerSideKmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataInputConfiguration", - "DataOutputConfiguration", - "DataUploadFrequency", - "ModelName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutEquipment::InferenceScheduler" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.Action" - }, - "AlertDescription": { - "type": "string" - }, - "AlertName": { - "type": "string" - }, - "AlertSensitivityThreshold": { - "type": "number" - }, - "AnomalyDetectorArn": { - "type": "string" - } - }, - "required": [ - "Action", - "AlertSensitivityThreshold", - "AnomalyDetectorArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::Alert" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.Action": { - "additionalProperties": false, - "properties": { - "LambdaConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.LambdaConfiguration" - }, - "SNSConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert.SNSConfiguration" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::Alert.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "LambdaArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "LambdaArn", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::Alert.SNSConfiguration": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SnsTopicArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig" - }, - "AnomalyDetectorDescription": { - "type": "string" - }, - "AnomalyDetectorName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "MetricSetList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSet" - }, - "type": "array" - } - }, - "required": [ - "AnomalyDetectorConfig", - "MetricSetList" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutMetrics::AnomalyDetector" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AnomalyDetectorConfig": { - "additionalProperties": false, - "properties": { - "AnomalyDetectorFrequency": { - "type": "string" - } - }, - "required": [ - "AnomalyDetectorFrequency" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig": { - "additionalProperties": false, - "properties": { - "FlowName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FlowName", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "FileCompression": { - "type": "string" - }, - "HeaderList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "QuoteSymbol": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor": { - "additionalProperties": false, - "properties": { - "CsvFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CsvFormatDescriptor" - }, - "JsonFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.JsonFormatDescriptor": { - "additionalProperties": false, - "properties": { - "Charset": { - "type": "string" - }, - "FileCompression": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.Metric": { - "additionalProperties": false, - "properties": { - "AggregationFunction": { - "type": "string" - }, - "MetricName": { - "type": "string" - }, - "Namespace": { - "type": "string" - } - }, - "required": [ - "AggregationFunction", - "MetricName" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSet": { - "additionalProperties": false, - "properties": { - "DimensionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MetricList": { - "items": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.Metric" - }, - "type": "array" - }, - "MetricSetDescription": { - "type": "string" - }, - "MetricSetFrequency": { - "type": "string" - }, - "MetricSetName": { - "type": "string" - }, - "MetricSource": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.MetricSource" - }, - "Offset": { - "type": "number" - }, - "TimestampColumn": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.TimestampColumn" - }, - "Timezone": { - "type": "string" - } - }, - "required": [ - "MetricList", - "MetricSetName", - "MetricSource" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.MetricSource": { - "additionalProperties": false, - "properties": { - "AppFlowConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.AppFlowConfig" - }, - "CloudwatchConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.CloudwatchConfig" - }, - "RDSSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig" - }, - "RedshiftSourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig" - }, - "S3SourceConfig": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RDSSourceConfig": { - "additionalProperties": false, - "properties": { - "DBInstanceIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "DBInstanceIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.RedshiftSourceConfig": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "DatabaseHost": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DatabasePort": { - "type": "number" - }, - "RoleArn": { - "type": "string" - }, - "SecretManagerArn": { - "type": "string" - }, - "TableName": { - "type": "string" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration" - } - }, - "required": [ - "ClusterIdentifier", - "DatabaseHost", - "DatabaseName", - "DatabasePort", - "RoleArn", - "SecretManagerArn", - "TableName", - "VpcConfiguration" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.S3SourceConfig": { - "additionalProperties": false, - "properties": { - "FileFormatDescriptor": { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector.FileFormatDescriptor" - }, - "HistoricalDataPathList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TemplatedPathList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "FileFormatDescriptor", - "RoleArn" - ], - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.TimestampColumn": { - "additionalProperties": false, - "properties": { - "ColumnFormat": { - "type": "string" - }, - "ColumnName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::LookoutMetrics::AnomalyDetector.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIdList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIdList": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIdList", - "SubnetIdList" - ], - "type": "object" - }, - "AWS::LookoutVision::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::LookoutVision::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BrokerNodeGroupInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerNodeGroupInfo" - }, - "ClientAuthentication": { - "$ref": "#/definitions/AWS::MSK::Cluster.ClientAuthentication" - }, - "ClusterName": { - "type": "string" - }, - "ConfigurationInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConfigurationInfo" - }, - "EncryptionInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInfo" - }, - "EnhancedMonitoring": { - "type": "string" - }, - "KafkaVersion": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.LoggingInfo" - }, - "NumberOfBrokerNodes": { - "type": "number" - }, - "OpenMonitoring": { - "$ref": "#/definitions/AWS::MSK::Cluster.OpenMonitoring" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "BrokerNodeGroupInfo", - "ClusterName", - "KafkaVersion", - "NumberOfBrokerNodes" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MSK::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MSK::Cluster.BrokerLogs": { - "additionalProperties": false, - "properties": { - "CloudWatchLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.CloudWatchLogs" - }, - "Firehose": { - "$ref": "#/definitions/AWS::MSK::Cluster.Firehose" - }, - "S3": { - "$ref": "#/definitions/AWS::MSK::Cluster.S3" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.BrokerNodeGroupInfo": { - "additionalProperties": false, - "properties": { - "BrokerAZDistribution": { - "type": "string" - }, - "ClientSubnets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ConnectivityInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.ConnectivityInfo" - }, - "InstanceType": { - "type": "string" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.StorageInfo" - } - }, - "required": [ - "ClientSubnets", - "InstanceType" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ClientAuthentication": { - "additionalProperties": false, - "properties": { - "Sasl": { - "$ref": "#/definitions/AWS::MSK::Cluster.Sasl" - }, - "Tls": { - "$ref": "#/definitions/AWS::MSK::Cluster.Tls" - }, - "Unauthenticated": { - "$ref": "#/definitions/AWS::MSK::Cluster.Unauthenticated" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.CloudWatchLogs": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "LogGroup": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConfigurationInfo": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "Revision": { - "type": "number" - } - }, - "required": [ - "Arn", - "Revision" - ], - "type": "object" - }, - "AWS::MSK::Cluster.ConnectivityInfo": { - "additionalProperties": false, - "properties": { - "PublicAccess": { - "$ref": "#/definitions/AWS::MSK::Cluster.PublicAccess" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EBSStorageInfo": { - "additionalProperties": false, - "properties": { - "VolumeSize": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionAtRest": { - "additionalProperties": false, - "properties": { - "DataVolumeKMSKeyId": { - "type": "string" - } - }, - "required": [ - "DataVolumeKMSKeyId" - ], - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInTransit": { - "additionalProperties": false, - "properties": { - "ClientBroker": { - "type": "string" - }, - "InCluster": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.EncryptionInfo": { - "additionalProperties": false, - "properties": { - "EncryptionAtRest": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionAtRest" - }, - "EncryptionInTransit": { - "$ref": "#/definitions/AWS::MSK::Cluster.EncryptionInTransit" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Firehose": { - "additionalProperties": false, - "properties": { - "DeliveryStream": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Iam": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.JmxExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.LoggingInfo": { - "additionalProperties": false, - "properties": { - "BrokerLogs": { - "$ref": "#/definitions/AWS::MSK::Cluster.BrokerLogs" - } - }, - "required": [ - "BrokerLogs" - ], - "type": "object" - }, - "AWS::MSK::Cluster.NodeExporter": { - "additionalProperties": false, - "properties": { - "EnabledInBroker": { - "type": "boolean" - } - }, - "required": [ - "EnabledInBroker" - ], - "type": "object" - }, - "AWS::MSK::Cluster.OpenMonitoring": { - "additionalProperties": false, - "properties": { - "Prometheus": { - "$ref": "#/definitions/AWS::MSK::Cluster.Prometheus" - } - }, - "required": [ - "Prometheus" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Prometheus": { - "additionalProperties": false, - "properties": { - "JmxExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.JmxExporter" - }, - "NodeExporter": { - "$ref": "#/definitions/AWS::MSK::Cluster.NodeExporter" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.PublicAccess": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.S3": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.Sasl": { - "additionalProperties": false, - "properties": { - "Iam": { - "$ref": "#/definitions/AWS::MSK::Cluster.Iam" - }, - "Scram": { - "$ref": "#/definitions/AWS::MSK::Cluster.Scram" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Scram": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MSK::Cluster.StorageInfo": { - "additionalProperties": false, - "properties": { - "EBSStorageInfo": { - "$ref": "#/definitions/AWS::MSK::Cluster.EBSStorageInfo" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Tls": { - "additionalProperties": false, - "properties": { - "CertificateAuthorityArnList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MSK::Cluster.Unauthenticated": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "Enabled" - ], - "type": "object" - }, - "AWS::MWAA::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AirflowConfigurationOptions": { - "type": "object" - }, - "AirflowVersion": { - "type": "string" - }, - "DagS3Path": { - "type": "string" - }, - "EnvironmentClass": { - "type": "string" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "KmsKey": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.LoggingConfiguration" - }, - "MaxWorkers": { - "type": "number" - }, - "MinWorkers": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::MWAA::Environment.NetworkConfiguration" - }, - "PluginsS3ObjectVersion": { - "type": "string" - }, - "PluginsS3Path": { - "type": "string" - }, - "RequirementsS3ObjectVersion": { - "type": "string" - }, - "RequirementsS3Path": { - "type": "string" - }, - "Schedulers": { - "type": "number" - }, - "SourceBucketArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "WebserverAccessMode": { - "type": "string" - }, - "WeeklyMaintenanceWindowStart": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MWAA::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MWAA::Environment.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DagProcessingLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "SchedulerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "TaskLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WebserverLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - }, - "WorkerLogs": { - "$ref": "#/definitions/AWS::MWAA::Environment.ModuleLoggingConfiguration" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.ModuleLoggingConfiguration": { - "additionalProperties": false, - "properties": { - "CloudWatchLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "LogLevel": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MWAA::Environment.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Macie::CustomDataIdentifier": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "IgnoreWords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Keywords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaximumMatchDistance": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Regex": { - "type": "string" - } - }, - "required": [ - "Name", - "Regex" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::CustomDataIdentifier" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "FindingCriteria": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.FindingCriteria" - }, - "Name": { - "type": "string" - }, - "Position": { - "type": "number" - } - }, - "required": [ - "FindingCriteria", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::FindingsFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Macie::FindingsFilter.Criterion": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingCriteria": { - "additionalProperties": false, - "properties": { - "Criterion": { - "$ref": "#/definitions/AWS::Macie::FindingsFilter.Criterion" - } - }, - "type": "object" - }, - "AWS::Macie::FindingsFilter.FindingsFilterListItem": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Macie::Session": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FindingPublishingFrequency": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Macie::Session" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InvitationId": { - "type": "string" - }, - "MemberConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberConfiguration" - }, - "NetworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkConfiguration" - }, - "NetworkId": { - "type": "string" - } - }, - "required": [ - "MemberConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Member" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy": { - "additionalProperties": false, - "properties": { - "ProposalDurationInHours": { - "type": "number" - }, - "ThresholdComparator": { - "type": "string" - }, - "ThresholdPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFabricConfiguration": { - "additionalProperties": false, - "properties": { - "AdminPassword": { - "type": "string" - }, - "AdminUsername": { - "type": "string" - } - }, - "required": [ - "AdminPassword", - "AdminUsername" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.MemberFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "MemberFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.MemberFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkConfiguration": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Framework": { - "type": "string" - }, - "FrameworkVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFrameworkConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration" - }, - "VotingPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.VotingPolicy" - } - }, - "required": [ - "Framework", - "FrameworkVersion", - "Name", - "VotingPolicy" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFabricConfiguration": { - "additionalProperties": false, - "properties": { - "Edition": { - "type": "string" - } - }, - "required": [ - "Edition" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Member.NetworkFrameworkConfiguration": { - "additionalProperties": false, - "properties": { - "NetworkFabricConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.NetworkFabricConfiguration" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Member.VotingPolicy": { - "additionalProperties": false, - "properties": { - "ApprovalThresholdPolicy": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member.ApprovalThresholdPolicy" - } - }, - "type": "object" - }, - "AWS::ManagedBlockchain::Node": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MemberId": { - "type": "string" - }, - "NetworkId": { - "type": "string" - }, - "NodeConfiguration": { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node.NodeConfiguration" - } - }, - "required": [ - "NetworkId", - "NodeConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ManagedBlockchain::Node" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ManagedBlockchain::Node.NodeConfiguration": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "InstanceType": { - "type": "string" - } - }, - "required": [ - "AvailabilityZone", - "InstanceType" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AvailabilityZone": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Source": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Source" - }, - "SourceFailoverConfig": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.FailoverConfig" - } - }, - "required": [ - "Name", - "Source" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::Flow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::Flow.FailoverConfig": { - "additionalProperties": false, - "properties": { - "RecoveryWindow": { - "type": "number" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::Flow.Source": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::Flow.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "IngestIp": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceIngestPort": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataTransferSubscriberFeePercent": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement.Encryption" - }, - "EntitlementStatus": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Subscribers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Description", - "FlowArn", - "Name", - "Subscribers" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowEntitlement" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowEntitlement.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CidrAllowList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Destination": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.Encryption" - }, - "FlowArn": { - "type": "string" - }, - "MaxLatency": { - "type": "number" - }, - "MinLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "Protocol": { - "type": "string" - }, - "RemoteId": { - "type": "string" - }, - "SmoothingLatency": { - "type": "number" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceAttachment": { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment" - } - }, - "required": [ - "FlowArn", - "Protocol" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowOutput" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SecretArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowOutput.VpcInterfaceAttachment": { - "additionalProperties": false, - "properties": { - "VpcInterfaceName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaConnect::FlowSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Decryption": { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource.Encryption" - }, - "Description": { - "type": "string" - }, - "EntitlementArn": { - "type": "string" - }, - "FlowArn": { - "type": "string" - }, - "IngestPort": { - "type": "number" - }, - "MaxBitrate": { - "type": "number" - }, - "MaxLatency": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "StreamId": { - "type": "string" - }, - "VpcInterfaceName": { - "type": "string" - }, - "WhitelistCidr": { - "type": "string" - } - }, - "required": [ - "Description", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowSource.Encryption": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "ConstantInitializationVector": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "KeyType": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Algorithm", - "RoleArn" - ], - "type": "object" - }, - "AWS::MediaConnect::FlowVpcInterface": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "FlowArn", - "Name", - "RoleArn", - "SecurityGroupIds", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConnect::FlowVpcInterface" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerationSettings": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.AccelerationSettings" - }, - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "HopDestinations": { - "items": { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate.HopDestination" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "StatusUpdateInterval": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::JobTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.AccelerationSettings": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::MediaConvert::JobTemplate.HopDestination": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Queue": { - "type": "string" - }, - "WaitMinutes": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaConvert::Preset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Category": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SettingsJson": { - "type": "object" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "SettingsJson" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Preset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaConvert::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PricingPlan": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaConvert::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CdiInputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CdiInputSpecification" - }, - "ChannelClass": { - "type": "string" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestination" - }, - "type": "array" - }, - "EncoderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EncoderSettings" - }, - "InputAttachments": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputAttachment" - }, - "type": "array" - }, - "InputSpecification": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSpecification" - }, - "LogLevel": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VpcOutputSettings" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Channel.AacSettings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "InputType": { - "type": "string" - }, - "Profile": { - "type": "string" - }, - "RateControlMode": { - "type": "string" - }, - "RawFormat": { - "type": "string" - }, - "SampleRate": { - "type": "number" - }, - "Spec": { - "type": "string" - }, - "VbrQuality": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Ac3Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcProfile": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "MetadataControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AncillarySourceSettings": { - "additionalProperties": false, - "properties": { - "SourceAncillaryChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveCdnSettings": { - "additionalProperties": false, - "properties": { - "ArchiveS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - }, - "RawSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RawSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveCdnSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "RolloverInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveOutputSettings": { - "additionalProperties": false, - "properties": { - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveContainerSettings" - }, - "Extension": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ArchiveS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AribDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AribSourceSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioChannelMapping": { - "additionalProperties": false, - "properties": { - "InputChannelLevels": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputChannelLevel" - }, - "type": "array" - }, - "OutputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioCodecSettings": { - "additionalProperties": false, - "properties": { - "AacSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AacSettings" - }, - "Ac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Ac3Settings" - }, - "Eac3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Eac3Settings" - }, - "Mp2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mp2Settings" - }, - "PassThroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.PassThroughSettings" - }, - "WavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioDescription": { - "additionalProperties": false, - "properties": { - "AudioNormalizationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioNormalizationSettings" - }, - "AudioSelectorName": { - "type": "string" - }, - "AudioType": { - "type": "string" - }, - "AudioTypeControl": { - "type": "string" - }, - "AudioWatermarkingSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioWatermarkSettings" - }, - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioCodecSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageCodeControl": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RemixSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RemixSettings" - }, - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioHlsRenditionSelection": { - "additionalProperties": false, - "properties": { - "GroupId": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioLanguageSelection": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "LanguageSelectionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioNormalizationSettings": { - "additionalProperties": false, - "properties": { - "Algorithm": { - "type": "string" - }, - "AlgorithmControl": { - "type": "string" - }, - "TargetLkfs": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioOnlyHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioGroupId": { - "type": "string" - }, - "AudioOnlyImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "AudioTrackType": { - "type": "string" - }, - "SegmentType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioPidSelection": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelector": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSelectorSettings": { - "additionalProperties": false, - "properties": { - "AudioHlsRenditionSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioHlsRenditionSelection" - }, - "AudioLanguageSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioLanguageSelection" - }, - "AudioPidSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioPidSelection" - }, - "AudioTrackSelection": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrackSelection" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioSilenceFailoverSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectorName": { - "type": "string" - }, - "AudioSilenceThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrack": { - "additionalProperties": false, - "properties": { - "Track": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioTrackSelection": { - "additionalProperties": false, - "properties": { - "Tracks": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioTrack" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AudioWatermarkSettings": { - "additionalProperties": false, - "properties": { - "NielsenWatermarksSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenWatermarksSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AutomaticInputFailoverSettings": { - "additionalProperties": false, - "properties": { - "ErrorClearTimeMsec": { - "type": "number" - }, - "FailoverConditions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverCondition" - }, - "type": "array" - }, - "InputPreference": { - "type": "string" - }, - "SecondaryInputId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailBlanking": { - "additionalProperties": false, - "properties": { - "AvailBlankingImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailConfiguration": { - "additionalProperties": false, - "properties": { - "AvailSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.AvailSettings": { - "additionalProperties": false, - "properties": { - "Scte35SpliceInsert": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35SpliceInsert" - }, - "Scte35TimeSignalApos": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte35TimeSignalApos" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BlackoutSlate": { - "additionalProperties": false, - "properties": { - "BlackoutSlateImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkEndBlackout": { - "type": "string" - }, - "NetworkEndBlackoutImage": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "NetworkId": { - "type": "string" - }, - "State": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.BurnInDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDescription": { - "additionalProperties": false, - "properties": { - "CaptionSelectorName": { - "type": "string" - }, - "DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDestinationSettings" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionDestinationSettings": { - "additionalProperties": false, - "properties": { - "AribDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribDestinationSettings" - }, - "BurnInDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BurnInDestinationSettings" - }, - "DvbSubDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubDestinationSettings" - }, - "EbuTtDDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EbuTtDDestinationSettings" - }, - "EmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedDestinationSettings" - }, - "EmbeddedPlusScte20DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings" - }, - "RtmpCaptionInfoDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings" - }, - "Scte20PlusEmbeddedDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings" - }, - "Scte27DestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27DestinationSettings" - }, - "SmpteTtDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.SmpteTtDestinationSettings" - }, - "TeletextDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextDestinationSettings" - }, - "TtmlDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TtmlDestinationSettings" - }, - "WebvttDestinationSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.WebvttDestinationSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionLanguageMapping": { - "additionalProperties": false, - "properties": { - "CaptionChannel": { - "type": "number" - }, - "LanguageCode": { - "type": "string" - }, - "LanguageDescription": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionRectangle": { - "additionalProperties": false, - "properties": { - "Height": { - "type": "number" - }, - "LeftOffset": { - "type": "number" - }, - "TopOffset": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelector": { - "additionalProperties": false, - "properties": { - "LanguageCode": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CaptionSelectorSettings": { - "additionalProperties": false, - "properties": { - "AncillarySourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AncillarySourceSettings" - }, - "AribSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AribSourceSettings" - }, - "DvbSubSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSubSourceSettings" - }, - "EmbeddedSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.EmbeddedSourceSettings" - }, - "Scte20SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte20SourceSettings" - }, - "Scte27SourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Scte27SourceSettings" - }, - "TeletextSourceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TeletextSourceSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.CdiInputSpecification": { - "additionalProperties": false, - "properties": { - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.ColorSpacePassthroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbNitSettings": { - "additionalProperties": false, - "properties": { - "NetworkId": { - "type": "number" - }, - "NetworkName": { - "type": "string" - }, - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSdtSettings": { - "additionalProperties": false, - "properties": { - "OutputSdt": { - "type": "string" - }, - "RepInterval": { - "type": "number" - }, - "ServiceName": { - "type": "string" - }, - "ServiceProviderName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubDestinationSettings": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "BackgroundColor": { - "type": "string" - }, - "BackgroundOpacity": { - "type": "number" - }, - "Font": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "FontColor": { - "type": "string" - }, - "FontOpacity": { - "type": "number" - }, - "FontResolution": { - "type": "number" - }, - "FontSize": { - "type": "string" - }, - "OutlineColor": { - "type": "string" - }, - "OutlineSize": { - "type": "number" - }, - "ShadowColor": { - "type": "string" - }, - "ShadowOpacity": { - "type": "number" - }, - "ShadowXOffset": { - "type": "number" - }, - "ShadowYOffset": { - "type": "number" - }, - "TeletextGridControl": { - "type": "string" - }, - "XPosition": { - "type": "number" - }, - "YPosition": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbSubSourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.DvbTdtSettings": { - "additionalProperties": false, - "properties": { - "RepInterval": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Eac3Settings": { - "additionalProperties": false, - "properties": { - "AttenuationControl": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BitstreamMode": { - "type": "string" - }, - "CodingMode": { - "type": "string" - }, - "DcFilter": { - "type": "string" - }, - "Dialnorm": { - "type": "number" - }, - "DrcLine": { - "type": "string" - }, - "DrcRf": { - "type": "string" - }, - "LfeControl": { - "type": "string" - }, - "LfeFilter": { - "type": "string" - }, - "LoRoCenterMixLevel": { - "type": "number" - }, - "LoRoSurroundMixLevel": { - "type": "number" - }, - "LtRtCenterMixLevel": { - "type": "number" - }, - "LtRtSurroundMixLevel": { - "type": "number" - }, - "MetadataControl": { - "type": "string" - }, - "PassthroughControl": { - "type": "string" - }, - "PhaseControl": { - "type": "string" - }, - "StereoDownmix": { - "type": "string" - }, - "SurroundExMode": { - "type": "string" - }, - "SurroundMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EbuTtDDestinationSettings": { - "additionalProperties": false, - "properties": { - "CopyrightHolder": { - "type": "string" - }, - "FillLineGap": { - "type": "string" - }, - "FontFamily": { - "type": "string" - }, - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedPlusScte20DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.EmbeddedSourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Scte20Detection": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - }, - "Source608TrackNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.EncoderSettings": { - "additionalProperties": false, - "properties": { - "AudioDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioDescription" - }, - "type": "array" - }, - "AvailBlanking": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailBlanking" - }, - "AvailConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AvailConfiguration" - }, - "BlackoutSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.BlackoutSlate" - }, - "CaptionDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionDescription" - }, - "type": "array" - }, - "FeatureActivations": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FeatureActivations" - }, - "GlobalConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.GlobalConfiguration" - }, - "MotionGraphicsConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsConfiguration" - }, - "NielsenConfiguration": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenConfiguration" - }, - "OutputGroups": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroup" - }, - "type": "array" - }, - "TimecodeConfig": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TimecodeConfig" - }, - "VideoDescriptions": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoDescription" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverCondition": { - "additionalProperties": false, - "properties": { - "FailoverConditionSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FailoverConditionSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FailoverConditionSettings": { - "additionalProperties": false, - "properties": { - "AudioSilenceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSilenceFailoverSettings" - }, - "InputLossSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossFailoverSettings" - }, - "VideoBlackSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoBlackFailoverSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FeatureActivations": { - "additionalProperties": false, - "properties": { - "InputPrepareScheduleActions": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FecOutputSettings": { - "additionalProperties": false, - "properties": { - "ColumnDepth": { - "type": "number" - }, - "IncludeFec": { - "type": "string" - }, - "RowLength": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Fmp4HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureCdnSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureS3Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FrameCaptureCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureCdnSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureHlsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureOutputSettings": { - "additionalProperties": false, - "properties": { - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.FrameCaptureSettings": { - "additionalProperties": false, - "properties": { - "CaptureInterval": { - "type": "number" - }, - "CaptureIntervalUnits": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.GlobalConfiguration": { - "additionalProperties": false, - "properties": { - "InitialAudioGain": { - "type": "number" - }, - "InputEndAction": { - "type": "string" - }, - "InputLossBehavior": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLossBehavior" - }, - "OutputLockingMode": { - "type": "string" - }, - "OutputTimingSource": { - "type": "string" - }, - "SupportLowFramerateInputs": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H264Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufFillPct": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264ColorSpaceSettings" - }, - "EntropyEncoding": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "ForceFieldPictures": { - "type": "string" - }, - "FramerateControl": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopBReference": { - "type": "string" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "NumRefFrames": { - "type": "number" - }, - "ParControl": { - "type": "string" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QualityLevel": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Softness": { - "type": "number" - }, - "SpatialAq": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "Syntax": { - "type": "string" - }, - "TemporalAq": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265ColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "ColorSpacePassthroughSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ColorSpacePassthroughSettings" - }, - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - }, - "Rec601Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec601Settings" - }, - "Rec709Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Rec709Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.H265Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "AlternativeTransferFunction": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufSize": { - "type": "number" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265ColorSpaceSettings" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FlickerAq": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "Level": { - "type": "string" - }, - "LookAheadRateControl": { - "type": "string" - }, - "MaxBitrate": { - "type": "number" - }, - "MinIInterval": { - "type": "number" - }, - "ParDenominator": { - "type": "number" - }, - "ParNumerator": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "QvbrQualityLevel": { - "type": "number" - }, - "RateControlMode": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SceneChangeDetect": { - "type": "string" - }, - "Slices": { - "type": "number" - }, - "Tier": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Hdr10Settings": { - "additionalProperties": false, - "properties": { - "MaxCll": { - "type": "number" - }, - "MaxFall": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsAkamaiSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "Salt": { - "type": "string" - }, - "Token": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsBasicPutSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsCdnSettings": { - "additionalProperties": false, - "properties": { - "HlsAkamaiSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsAkamaiSettings" - }, - "HlsBasicPutSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsBasicPutSettings" - }, - "HlsMediaStoreSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsMediaStoreSettings" - }, - "HlsS3Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsS3Settings" - }, - "HlsWebdavSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsWebdavSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BaseUrlContent": { - "type": "string" - }, - "BaseUrlContent1": { - "type": "string" - }, - "BaseUrlManifest": { - "type": "string" - }, - "BaseUrlManifest1": { - "type": "string" - }, - "CaptionLanguageMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionLanguageMapping" - }, - "type": "array" - }, - "CaptionLanguageSetting": { - "type": "string" - }, - "ClientCache": { - "type": "string" - }, - "CodecSpecification": { - "type": "string" - }, - "ConstantIv": { - "type": "string" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "DirectoryStructure": { - "type": "string" - }, - "DiscontinuityTags": { - "type": "string" - }, - "EncryptionType": { - "type": "string" - }, - "HlsCdnSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsCdnSettings" - }, - "HlsId3SegmentTagging": { - "type": "string" - }, - "IFrameOnlyPlaylists": { - "type": "string" - }, - "IncompleteSegmentBehavior": { - "type": "string" - }, - "IndexNSegments": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "IvInManifest": { - "type": "string" - }, - "IvSource": { - "type": "string" - }, - "KeepSegments": { - "type": "number" - }, - "KeyFormat": { - "type": "string" - }, - "KeyFormatVersions": { - "type": "string" - }, - "KeyProviderSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.KeyProviderSettings" - }, - "ManifestCompression": { - "type": "string" - }, - "ManifestDurationFormat": { - "type": "string" - }, - "MinSegmentLength": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "OutputSelection": { - "type": "string" - }, - "ProgramDateTime": { - "type": "string" - }, - "ProgramDateTimePeriod": { - "type": "number" - }, - "RedundantManifest": { - "type": "string" - }, - "SegmentLength": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SegmentsPerSubdirectory": { - "type": "number" - }, - "StreamInfResolution": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - }, - "TimestampDeltaMilliseconds": { - "type": "number" - }, - "TsFileMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsInputSettings": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "type": "number" - }, - "BufferSegments": { - "type": "number" - }, - "Retries": { - "type": "number" - }, - "RetryInterval": { - "type": "number" - }, - "Scte35Source": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsMediaStoreSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "MediaStoreStorageClass": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsSettings" - }, - "NameModifier": { - "type": "string" - }, - "SegmentModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsS3Settings": { - "additionalProperties": false, - "properties": { - "CannedAcl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsSettings": { - "additionalProperties": false, - "properties": { - "AudioOnlyHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioOnlyHlsSettings" - }, - "Fmp4HlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Fmp4HlsSettings" - }, - "FrameCaptureHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureHlsSettings" - }, - "StandardHlsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StandardHlsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HlsWebdavSettings": { - "additionalProperties": false, - "properties": { - "ConnectionRetryInterval": { - "type": "number" - }, - "FilecacheDuration": { - "type": "number" - }, - "HttpTransferMode": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.HtmlMotionGraphicsSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.InputAttachment": { - "additionalProperties": false, - "properties": { - "AutomaticInputFailoverSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AutomaticInputFailoverSettings" - }, - "InputAttachmentName": { - "type": "string" - }, - "InputId": { - "type": "string" - }, - "InputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputChannelLevel": { - "additionalProperties": false, - "properties": { - "Gain": { - "type": "number" - }, - "InputChannel": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLocation": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Uri": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossBehavior": { - "additionalProperties": false, - "properties": { - "BlackFrameMsec": { - "type": "number" - }, - "InputLossImageColor": { - "type": "string" - }, - "InputLossImageSlate": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "InputLossImageType": { - "type": "string" - }, - "RepeatFrameMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputLossFailoverSettings": { - "additionalProperties": false, - "properties": { - "InputLossThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSettings": { - "additionalProperties": false, - "properties": { - "AudioSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioSelector" - }, - "type": "array" - }, - "CaptionSelectors": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionSelector" - }, - "type": "array" - }, - "DeblockFilter": { - "type": "string" - }, - "DenoiseFilter": { - "type": "string" - }, - "FilterStrength": { - "type": "number" - }, - "InputFilter": { - "type": "string" - }, - "NetworkInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NetworkInputSettings" - }, - "Smpte2038DataPreference": { - "type": "string" - }, - "SourceEndBehavior": { - "type": "string" - }, - "VideoSelector": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelector" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.InputSpecification": { - "additionalProperties": false, - "properties": { - "Codec": { - "type": "string" - }, - "MaximumBitrate": { - "type": "string" - }, - "Resolution": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.KeyProviderSettings": { - "additionalProperties": false, - "properties": { - "StaticKeySettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.StaticKeySettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M2tsSettings": { - "additionalProperties": false, - "properties": { - "AbsentInputAudioBehavior": { - "type": "string" - }, - "Arib": { - "type": "string" - }, - "AribCaptionsPid": { - "type": "string" - }, - "AribCaptionsPidControl": { - "type": "string" - }, - "AudioBufferModel": { - "type": "string" - }, - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "AudioStreamType": { - "type": "string" - }, - "Bitrate": { - "type": "number" - }, - "BufferModel": { - "type": "string" - }, - "CcDescriptor": { - "type": "string" - }, - "DvbNitSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbNitSettings" - }, - "DvbSdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbSdtSettings" - }, - "DvbSubPids": { - "type": "string" - }, - "DvbTdtSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.DvbTdtSettings" - }, - "DvbTeletextPid": { - "type": "string" - }, - "Ebif": { - "type": "string" - }, - "EbpAudioInterval": { - "type": "string" - }, - "EbpLookaheadMs": { - "type": "number" - }, - "EbpPlacement": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "EsRateInPes": { - "type": "string" - }, - "EtvPlatformPid": { - "type": "string" - }, - "EtvSignalPid": { - "type": "string" - }, - "FragmentTime": { - "type": "number" - }, - "Klv": { - "type": "string" - }, - "KlvDataPids": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "NullPacketBitrate": { - "type": "number" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "RateMode": { - "type": "string" - }, - "Scte27Pids": { - "type": "string" - }, - "Scte35Control": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "SegmentationMarkers": { - "type": "string" - }, - "SegmentationStyle": { - "type": "string" - }, - "SegmentationTime": { - "type": "number" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.M3u8Settings": { - "additionalProperties": false, - "properties": { - "AudioFramesPerPes": { - "type": "number" - }, - "AudioPids": { - "type": "string" - }, - "EcmPid": { - "type": "string" - }, - "NielsenId3Behavior": { - "type": "string" - }, - "PatInterval": { - "type": "number" - }, - "PcrControl": { - "type": "string" - }, - "PcrPeriod": { - "type": "number" - }, - "PcrPid": { - "type": "string" - }, - "PmtInterval": { - "type": "number" - }, - "PmtPid": { - "type": "string" - }, - "ProgramNum": { - "type": "number" - }, - "Scte35Behavior": { - "type": "string" - }, - "Scte35Pid": { - "type": "string" - }, - "TimedMetadataBehavior": { - "type": "string" - }, - "TimedMetadataPid": { - "type": "string" - }, - "TransportStreamId": { - "type": "number" - }, - "VideoPid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageGroupSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MediaPackageOutputSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsConfiguration": { - "additionalProperties": false, - "properties": { - "MotionGraphicsInsertion": { - "type": "string" - }, - "MotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MotionGraphicsSettings": { - "additionalProperties": false, - "properties": { - "HtmlMotionGraphicsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HtmlMotionGraphicsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mp2Settings": { - "additionalProperties": false, - "properties": { - "Bitrate": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2FilterSettings": { - "additionalProperties": false, - "properties": { - "TemporalFilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.TemporalFilterSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Mpeg2Settings": { - "additionalProperties": false, - "properties": { - "AdaptiveQuantization": { - "type": "string" - }, - "AfdSignaling": { - "type": "string" - }, - "ColorMetadata": { - "type": "string" - }, - "ColorSpace": { - "type": "string" - }, - "DisplayAspectRatio": { - "type": "string" - }, - "FilterSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2FilterSettings" - }, - "FixedAfd": { - "type": "string" - }, - "FramerateDenominator": { - "type": "number" - }, - "FramerateNumerator": { - "type": "number" - }, - "GopClosedCadence": { - "type": "number" - }, - "GopNumBFrames": { - "type": "number" - }, - "GopSize": { - "type": "number" - }, - "GopSizeUnits": { - "type": "string" - }, - "ScanType": { - "type": "string" - }, - "SubgopLength": { - "type": "string" - }, - "TimecodeInsertion": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothGroupSettings": { - "additionalProperties": false, - "properties": { - "AcquisitionPointId": { - "type": "string" - }, - "AudioOnlyTimecodeControl": { - "type": "string" - }, - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "EventId": { - "type": "string" - }, - "EventIdMode": { - "type": "string" - }, - "EventStopBehavior": { - "type": "string" - }, - "FilecacheDuration": { - "type": "number" - }, - "FragmentLength": { - "type": "number" - }, - "InputLossAction": { - "type": "string" - }, - "NumRetries": { - "type": "number" - }, - "RestartDelay": { - "type": "number" - }, - "SegmentationMode": { - "type": "string" - }, - "SendDelayMs": { - "type": "number" - }, - "SparseTrackType": { - "type": "string" - }, - "StreamManifestBehavior": { - "type": "string" - }, - "TimestampOffset": { - "type": "string" - }, - "TimestampOffsetMode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MsSmoothOutputSettings": { - "additionalProperties": false, - "properties": { - "H265PackagingType": { - "type": "string" - }, - "NameModifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexGroupSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexOutputSettings": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings": { - "additionalProperties": false, - "properties": { - "MultiplexId": { - "type": "string" - }, - "ProgramName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NetworkInputSettings": { - "additionalProperties": false, - "properties": { - "HlsInputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsInputSettings" - }, - "ServerValidation": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenCBET": { - "additionalProperties": false, - "properties": { - "CbetCheckDigitString": { - "type": "string" - }, - "CbetStepaside": { - "type": "string" - }, - "Csid": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenConfiguration": { - "additionalProperties": false, - "properties": { - "DistributorId": { - "type": "string" - }, - "NielsenPcmToId3Tagging": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenNaesIiNw": { - "additionalProperties": false, - "properties": { - "CheckDigitString": { - "type": "string" - }, - "Sid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.NielsenWatermarksSettings": { - "additionalProperties": false, - "properties": { - "NielsenCbetSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenCBET" - }, - "NielsenDistributionType": { - "type": "string" - }, - "NielsenNaesIiNwSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.NielsenNaesIiNw" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Output": { - "additionalProperties": false, - "properties": { - "AudioDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CaptionDescriptionNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OutputName": { - "type": "string" - }, - "OutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputSettings" - }, - "VideoDescriptionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestination": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "MediaPackageSettings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputDestinationSettings" - }, - "type": "array" - }, - "MultiplexSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings" - }, - "Settings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputDestinationSettings" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputDestinationSettings": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroup": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "OutputGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputGroupSettings" - }, - "Outputs": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Output" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputGroupSettings": { - "additionalProperties": false, - "properties": { - "ArchiveGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveGroupSettings" - }, - "FrameCaptureGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureGroupSettings" - }, - "HlsGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsGroupSettings" - }, - "MediaPackageGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageGroupSettings" - }, - "MsSmoothGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothGroupSettings" - }, - "MultiplexGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexGroupSettings" - }, - "RtmpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpGroupSettings" - }, - "UdpGroupSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpGroupSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputLocationRef": { - "additionalProperties": false, - "properties": { - "DestinationRefId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.OutputSettings": { - "additionalProperties": false, - "properties": { - "ArchiveOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.ArchiveOutputSettings" - }, - "FrameCaptureOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureOutputSettings" - }, - "HlsOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.HlsOutputSettings" - }, - "MediaPackageOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MediaPackageOutputSettings" - }, - "MsSmoothOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MsSmoothOutputSettings" - }, - "MultiplexOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.MultiplexOutputSettings" - }, - "RtmpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.RtmpOutputSettings" - }, - "UdpOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.PassThroughSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RawSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec601Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Rec709Settings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RemixSettings": { - "additionalProperties": false, - "properties": { - "ChannelMappings": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Channel.AudioChannelMapping" - }, - "type": "array" - }, - "ChannelsIn": { - "type": "number" - }, - "ChannelsOut": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpCaptionInfoDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpGroupSettings": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AuthenticationScheme": { - "type": "string" - }, - "CacheFullBehavior": { - "type": "string" - }, - "CacheLength": { - "type": "number" - }, - "CaptionData": { - "type": "string" - }, - "InputLossAction": { - "type": "string" - }, - "RestartDelay": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.RtmpOutputSettings": { - "additionalProperties": false, - "properties": { - "CertificateMode": { - "type": "string" - }, - "ConnectionRetryInterval": { - "type": "number" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "NumRetries": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20PlusEmbeddedDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte20SourceSettings": { - "additionalProperties": false, - "properties": { - "Convert608To708": { - "type": "string" - }, - "Source608ChannelNumber": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27DestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte27SourceSettings": { - "additionalProperties": false, - "properties": { - "OcrLanguage": { - "type": "string" - }, - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35SpliceInsert": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.Scte35TimeSignalApos": { - "additionalProperties": false, - "properties": { - "AdAvailOffset": { - "type": "number" - }, - "NoRegionalBlackoutFlag": { - "type": "string" - }, - "WebDeliveryAllowedFlag": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.SmpteTtDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.StandardHlsSettings": { - "additionalProperties": false, - "properties": { - "AudioRenditionSets": { - "type": "string" - }, - "M3u8Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M3u8Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.StaticKeySettings": { - "additionalProperties": false, - "properties": { - "KeyProviderServer": { - "$ref": "#/definitions/AWS::MediaLive::Channel.InputLocation" - }, - "StaticKeyValue": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextDestinationSettings": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::MediaLive::Channel.TeletextSourceSettings": { - "additionalProperties": false, - "properties": { - "OutputRectangle": { - "$ref": "#/definitions/AWS::MediaLive::Channel.CaptionRectangle" - }, - "PageNumber": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TemporalFilterSettings": { - "additionalProperties": false, - "properties": { - "PostFilterSharpening": { - "type": "string" - }, - "Strength": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TimecodeConfig": { - "additionalProperties": false, - "properties": { - "Source": { - "type": "string" - }, - "SyncThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.TtmlDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpContainerSettings": { - "additionalProperties": false, - "properties": { - "M2tsSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.M2tsSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpGroupSettings": { - "additionalProperties": false, - "properties": { - "InputLossAction": { - "type": "string" - }, - "TimedMetadataId3Frame": { - "type": "string" - }, - "TimedMetadataId3Period": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.UdpOutputSettings": { - "additionalProperties": false, - "properties": { - "BufferMsec": { - "type": "number" - }, - "ContainerSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.UdpContainerSettings" - }, - "Destination": { - "$ref": "#/definitions/AWS::MediaLive::Channel.OutputLocationRef" - }, - "FecOutputSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FecOutputSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoBlackFailoverSettings": { - "additionalProperties": false, - "properties": { - "BlackDetectThreshold": { - "type": "number" - }, - "VideoBlackThresholdMsec": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoCodecSettings": { - "additionalProperties": false, - "properties": { - "FrameCaptureSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.FrameCaptureSettings" - }, - "H264Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H264Settings" - }, - "H265Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.H265Settings" - }, - "Mpeg2Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Mpeg2Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoDescription": { - "additionalProperties": false, - "properties": { - "CodecSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoCodecSettings" - }, - "Height": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RespondToAfd": { - "type": "string" - }, - "ScalingBehavior": { - "type": "string" - }, - "Sharpness": { - "type": "number" - }, - "Width": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelector": { - "additionalProperties": false, - "properties": { - "ColorSpace": { - "type": "string" - }, - "ColorSpaceSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings" - }, - "ColorSpaceUsage": { - "type": "string" - }, - "SelectorSettings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorSettings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorColorSpaceSettings": { - "additionalProperties": false, - "properties": { - "Hdr10Settings": { - "$ref": "#/definitions/AWS::MediaLive::Channel.Hdr10Settings" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorPid": { - "additionalProperties": false, - "properties": { - "Pid": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorProgramId": { - "additionalProperties": false, - "properties": { - "ProgramId": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VideoSelectorSettings": { - "additionalProperties": false, - "properties": { - "VideoSelectorPid": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorPid" - }, - "VideoSelectorProgramId": { - "$ref": "#/definitions/AWS::MediaLive::Channel.VideoSelectorProgramId" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.VpcOutputSettings": { - "additionalProperties": false, - "properties": { - "PublicAddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WavSettings": { - "additionalProperties": false, - "properties": { - "BitDepth": { - "type": "number" - }, - "CodingMode": { - "type": "string" - }, - "SampleRate": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaLive::Channel.WebvttDestinationSettings": { - "additionalProperties": false, - "properties": { - "StyleControl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDestinationRequest" - }, - "type": "array" - }, - "InputDevices": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputDeviceSettings" - }, - "type": "array" - }, - "InputSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MediaConnectFlows": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.MediaConnectFlowRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputSourceRequest" - }, - "type": "array" - }, - "Tags": { - "type": "object" - }, - "Type": { - "type": "string" - }, - "Vpc": { - "$ref": "#/definitions/AWS::MediaLive::Input.InputVpcRequest" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::Input" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::Input.InputDestinationRequest": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceRequest": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputDeviceSettings": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputSourceRequest": { - "additionalProperties": false, - "properties": { - "PasswordParam": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.InputVpcRequest": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::MediaLive::Input.MediaConnectFlowRequest": { - "additionalProperties": false, - "properties": { - "FlowArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - }, - "WhitelistRules": { - "items": { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaLive::InputSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::MediaLive::InputSecurityGroup.InputWhitelistRuleCidr": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::Asset": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "PackagingGroupId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "SourceArn": { - "type": "string" - }, - "SourceRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId", - "SourceArn", - "SourceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Asset" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Asset.EgressEndpoint": { - "additionalProperties": false, - "properties": { - "PackagingConfigurationId": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "PackagingConfigurationId", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "IngressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::Channel.LogConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::Channel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::Channel.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.Authorization" - }, - "ChannelId": { - "type": "string" - }, - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashPackage" - }, - "Description": { - "type": "string" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsPackage" - }, - "Id": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssPackage" - }, - "Origination": { - "type": "string" - }, - "StartoverWindowSeconds": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TimeDelaySeconds": { - "type": "number" - }, - "Whitelist": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ChannelId", - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::OriginEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentPrefix": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashEncryption": { - "additionalProperties": false, - "properties": { - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.DashPackage": { - "additionalProperties": false, - "properties": { - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.DashEncryption" - }, - "ManifestLayout": { - "type": "string" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "MinUpdatePeriodSeconds": { - "type": "number" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Profile": { - "type": "string" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "SuggestedPresentationDelaySeconds": { - "type": "number" - }, - "UtcTiming": { - "type": "string" - }, - "UtcTimingUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "KeyRotationIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.HlsPackage": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "AdTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdsOnDeliveryRestrictions": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.HlsEncryption" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "PlaylistType": { - "type": "string" - }, - "PlaylistWindowSeconds": { - "type": "number" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.MssEncryption" - }, - "ManifestWindowSeconds": { - "type": "number" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "CertificateArn": { - "type": "string" - }, - "ResourceId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::OriginEndpoint.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CmafPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafPackage" - }, - "DashPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashPackage" - }, - "HlsPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsPackage" - }, - "Id": { - "type": "string" - }, - "MssPackage": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssPackage" - }, - "PackagingGroupId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id", - "PackagingGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.CmafPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.CmafEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashManifest": { - "additionalProperties": false, - "properties": { - "ManifestLayout": { - "type": "string" - }, - "ManifestName": { - "type": "string" - }, - "MinBufferTimeSeconds": { - "type": "number" - }, - "Profile": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.DashPackage": { - "additionalProperties": false, - "properties": { - "DashManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashManifest" - }, - "type": "array" - }, - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.DashEncryption" - }, - "IncludeEncoderConfigurationInSegments": { - "type": "boolean" - }, - "PeriodTriggers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "SegmentTemplateFormat": { - "type": "string" - } - }, - "required": [ - "DashManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsEncryption": { - "additionalProperties": false, - "properties": { - "ConstantInitializationVector": { - "type": "string" - }, - "EncryptionMethod": { - "type": "string" - }, - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsManifest": { - "additionalProperties": false, - "properties": { - "AdMarkers": { - "type": "string" - }, - "IncludeIframeOnlyStream": { - "type": "boolean" - }, - "ManifestName": { - "type": "string" - }, - "ProgramDateTimeIntervalSeconds": { - "type": "number" - }, - "RepeatExtXKey": { - "type": "boolean" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.HlsPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsEncryption" - }, - "HlsManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.HlsManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - }, - "UseAudioRenditionGroup": { - "type": "boolean" - } - }, - "required": [ - "HlsManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssEncryption": { - "additionalProperties": false, - "properties": { - "SpekeKeyProvider": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider" - } - }, - "required": [ - "SpekeKeyProvider" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssManifest": { - "additionalProperties": false, - "properties": { - "ManifestName": { - "type": "string" - }, - "StreamSelection": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.StreamSelection" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.MssPackage": { - "additionalProperties": false, - "properties": { - "Encryption": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssEncryption" - }, - "MssManifests": { - "items": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration.MssManifest" - }, - "type": "array" - }, - "SegmentDurationSeconds": { - "type": "number" - } - }, - "required": [ - "MssManifests" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.SpekeKeyProvider": { - "additionalProperties": false, - "properties": { - "RoleArn": { - "type": "string" - }, - "SystemIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "RoleArn", - "SystemIds", - "Url" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingConfiguration.StreamSelection": { - "additionalProperties": false, - "properties": { - "MaxVideoBitsPerSecond": { - "type": "number" - }, - "MinVideoBitsPerSecond": { - "type": "number" - }, - "StreamOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Authorization": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.Authorization" - }, - "EgressAccessLogs": { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup.LogConfiguration" - }, - "Id": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaPackage::PackagingGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.Authorization": { - "additionalProperties": false, - "properties": { - "CdnIdentifierSecret": { - "type": "string" - }, - "SecretsRoleArn": { - "type": "string" - } - }, - "required": [ - "CdnIdentifierSecret", - "SecretsRoleArn" - ], - "type": "object" - }, - "AWS::MediaPackage::PackagingGroup.LogConfiguration": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLoggingEnabled": { - "type": "boolean" - }, - "ContainerName": { - "type": "string" - }, - "CorsPolicy": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.CorsRule" - }, - "type": "array" - }, - "LifecyclePolicy": { - "type": "string" - }, - "MetricPolicy": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicy" - }, - "Policy": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ContainerName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MediaStore::Container" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MediaStore::Container.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposeHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxAgeSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicy": { - "additionalProperties": false, - "properties": { - "ContainerLevelMetrics": { - "type": "string" - }, - "MetricPolicyRules": { - "items": { - "$ref": "#/definitions/AWS::MediaStore::Container.MetricPolicyRule" - }, - "type": "array" - } - }, - "required": [ - "ContainerLevelMetrics" - ], - "type": "object" - }, - "AWS::MediaStore::Container.MetricPolicyRule": { - "additionalProperties": false, - "properties": { - "ObjectGroup": { - "type": "string" - }, - "ObjectGroupName": { - "type": "string" - } - }, - "required": [ - "ObjectGroup", - "ObjectGroupName" - ], - "type": "object" - }, - "AWS::MemoryDB::ACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserNames": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ACLName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ACLName": { - "type": "string" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "ClusterName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "FinalSnapshotName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MaintenanceWindow": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumReplicasPerShard": { - "type": "number" - }, - "NumShards": { - "type": "number" - }, - "ParameterGroupName": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnapshotName": { - "type": "string" - }, - "SnapshotRetentionLimit": { - "type": "number" - }, - "SnapshotWindow": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SnsTopicStatus": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "TLSEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ACLName", - "ClusterName", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::MemoryDB::ParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "ParameterGroupName": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Family", - "ParameterGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::ParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::SubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubnetGroupName", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::SubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::MemoryDB::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessString": { - "type": "string" - }, - "AuthenticationMode": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "AccessString", - "AuthenticationMode", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::MemoryDB::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::Neptune::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EngineVersion": { - "type": "string" - }, - "IamAuthEnabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "RestoreToTime": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Neptune::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::Neptune::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Neptune::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Neptune::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeleteProtection": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "FirewallPolicyArn": { - "type": "string" - }, - "FirewallPolicyChangeProtection": { - "type": "boolean" - }, - "SubnetChangeProtection": { - "type": "boolean" - }, - "SubnetMappings": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall.SubnetMapping" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallName", - "FirewallPolicyArn", - "SubnetMappings", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::Firewall" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::Firewall.SubnetMapping": { - "additionalProperties": false, - "properties": { - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "FirewallPolicy": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy" - }, - "FirewallPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "FirewallPolicy", - "FirewallPolicyName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::FirewallPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy": { - "additionalProperties": false, - "properties": { - "StatefulDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatefulEngineOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions" - }, - "StatefulRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference" - }, - "type": "array" - }, - "StatelessCustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.CustomAction" - }, - "type": "array" - }, - "StatelessDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessFragmentDefaultActions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StatelessRuleGroupReferences": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference" - }, - "type": "array" - } - }, - "required": [ - "StatelessDefaultActions", - "StatelessFragmentDefaultActions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulEngineOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatefulRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::FirewallPolicy.StatelessRuleGroupReference": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "Priority", - "ResourceArn" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallArn": { - "type": "string" - }, - "FirewallName": { - "type": "string" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration" - } - }, - "required": [ - "FirewallArn", - "LoggingConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig": { - "additionalProperties": false, - "properties": { - "LogDestination": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LogDestinationType": { - "type": "string" - }, - "LogType": { - "type": "string" - } - }, - "required": [ - "LogDestination", - "LogDestinationType", - "LogType" - ], - "type": "object" - }, - "AWS::NetworkFirewall::LoggingConfiguration.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration.LogDestinationConfig" - }, - "type": "array" - } - }, - "required": [ - "LogDestinationConfigs" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "RuleGroup": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleGroup" - }, - "RuleGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Capacity", - "RuleGroupName", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkFirewall::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.ActionDefinition": { - "additionalProperties": false, - "properties": { - "PublishMetricAction": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PublishMetricAction" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Address": { - "additionalProperties": false, - "properties": { - "AddressDefinition": { - "type": "string" - } - }, - "required": [ - "AddressDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.CustomAction": { - "additionalProperties": false, - "properties": { - "ActionDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.ActionDefinition" - }, - "ActionName": { - "type": "string" - } - }, - "required": [ - "ActionDefinition", - "ActionName" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Dimension": { - "additionalProperties": false, - "properties": { - "Value": { - "type": "string" - } - }, - "required": [ - "Value" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.Header": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "DestinationPort": { - "type": "string" - }, - "Direction": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "Source": { - "type": "string" - }, - "SourcePort": { - "type": "string" - } - }, - "required": [ - "Destination", - "DestinationPort", - "Direction", - "Protocol", - "Source", - "SourcePort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.IPSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.MatchAttributes": { - "additionalProperties": false, - "properties": { - "DestinationPorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "Protocols": { - "items": { - "type": "number" - }, - "type": "array" - }, - "SourcePorts": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortRange" - }, - "type": "array" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Address" - }, - "type": "array" - }, - "TCPFlags": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.TCPFlagField" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortRange": { - "additionalProperties": false, - "properties": { - "FromPort": { - "type": "number" - }, - "ToPort": { - "type": "number" - } - }, - "required": [ - "FromPort", - "ToPort" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PortSet": { - "additionalProperties": false, - "properties": { - "Definition": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.PublishMetricAction": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Dimension" - }, - "type": "array" - } - }, - "required": [ - "Dimensions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleDefinition": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MatchAttributes": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.MatchAttributes" - } - }, - "required": [ - "Actions", - "MatchAttributes" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleGroup": { - "additionalProperties": false, - "properties": { - "RuleVariables": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleVariables" - }, - "RulesSource": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSource" - }, - "StatefulRuleOptions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions" - } - }, - "required": [ - "RulesSource" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleOption": { - "additionalProperties": false, - "properties": { - "Keyword": { - "type": "string" - }, - "Settings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Keyword" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RuleVariables": { - "additionalProperties": false, - "properties": { - "IPSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.IPSet" - } - }, - "type": "object" - }, - "PortSets": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.PortSet" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSource": { - "additionalProperties": false, - "properties": { - "RulesSourceList": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RulesSourceList" - }, - "RulesString": { - "type": "string" - }, - "StatefulRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatefulRule" - }, - "type": "array" - }, - "StatelessRulesAndCustomActions": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.RulesSourceList": { - "additionalProperties": false, - "properties": { - "GeneratedRulesType": { - "type": "string" - }, - "TargetTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Targets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "GeneratedRulesType", - "TargetTypes", - "Targets" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Header": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.Header" - }, - "RuleOptions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleOption" - }, - "type": "array" - } - }, - "required": [ - "Action", - "Header", - "RuleOptions" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatefulRuleOptions": { - "additionalProperties": false, - "properties": { - "RuleOrder": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRule": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "RuleDefinition": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.RuleDefinition" - } - }, - "required": [ - "Priority", - "RuleDefinition" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.StatelessRulesAndCustomActions": { - "additionalProperties": false, - "properties": { - "CustomActions": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.CustomAction" - }, - "type": "array" - }, - "StatelessRules": { - "items": { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup.StatelessRule" - }, - "type": "array" - } - }, - "required": [ - "StatelessRules" - ], - "type": "object" - }, - "AWS::NetworkFirewall::RuleGroup.TCPFlagField": { - "additionalProperties": false, - "properties": { - "Flags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Masks": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Flags" - ], - "type": "object" - }, - "AWS::NetworkManager::CustomerGatewayAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomerGatewayArn": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "CustomerGatewayArn", - "DeviceId", - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::CustomerGatewayAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Device.Location" - }, - "Model": { - "type": "string" - }, - "SerialNumber": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "Vendor": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Device.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::GlobalNetwork": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::GlobalNetwork" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::NetworkManager::Link": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bandwidth": { - "$ref": "#/definitions/AWS::NetworkManager::Link.Bandwidth" - }, - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Provider": { - "type": "string" - }, - "SiteId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Bandwidth", - "GlobalNetworkId", - "SiteId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Link" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Link.Bandwidth": { - "additionalProperties": false, - "properties": { - "DownloadSpeed": { - "type": "number" - }, - "UploadSpeed": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::NetworkManager::LinkAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeviceId": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "LinkId": { - "type": "string" - } - }, - "required": [ - "DeviceId", - "GlobalNetworkId", - "LinkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::LinkAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GlobalNetworkId": { - "type": "string" - }, - "Location": { - "$ref": "#/definitions/AWS::NetworkManager::Site.Location" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GlobalNetworkId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::Site" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NetworkManager::Site.Location": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Latitude": { - "type": "string" - }, - "Longitude": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NetworkManager::TransitGatewayRegistration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GlobalNetworkId": { - "type": "string" - }, - "TransitGatewayArn": { - "type": "string" - } - }, - "required": [ - "GlobalNetworkId", - "TransitGatewayArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NetworkManager::TransitGatewayRegistration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LaunchProfileProtocolVersions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "StreamConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile.StreamConfiguration" - }, - "StudioComponentIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2SubnetIds", - "LaunchProfileProtocolVersions", - "Name", - "StreamConfiguration", - "StudioComponentIds", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::LaunchProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::LaunchProfile.StreamConfiguration": { - "additionalProperties": false, - "properties": { - "ClipboardMode": { - "type": "string" - }, - "Ec2InstanceTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MaxSessionLengthInMinutes": { - "type": "number" - }, - "StreamingImageIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClipboardMode", - "Ec2InstanceTypes", - "StreamingImageIds" - ], - "type": "object" - }, - "AWS::NimbleStudio::StreamingImage": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Ec2ImageId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StudioId": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Ec2ImageId", - "Name", - "StudioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StreamingImage" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdminRoleArn": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "StudioEncryptionConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::Studio.StudioEncryptionConfiguration" - }, - "StudioName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "UserRoleArn": { - "type": "string" - } - }, - "required": [ - "AdminRoleArn", - "DisplayName", - "StudioName", - "UserRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::Studio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::Studio.StudioEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KeyArn": { - "type": "string" - }, - "KeyType": { - "type": "string" - } - }, - "required": [ - "KeyType" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration" - }, - "Description": { - "type": "string" - }, - "Ec2SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "InitializationScripts": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScriptParameters": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue" - }, - "type": "array" - }, - "StudioId": { - "type": "string" - }, - "Subtype": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StudioId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::NimbleStudio::StudioComponent" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration": { - "additionalProperties": false, - "properties": { - "ComputerAttributes": { - "items": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryComputerAttribute" - }, - "type": "array" - }, - "DirectoryId": { - "type": "string" - }, - "OrganizationalUnitDistinguishedName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryUser": { - "type": "string" - }, - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.ScriptParameterKeyValue": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "FileSystemId": { - "type": "string" - }, - "LinuxMountPoint": { - "type": "string" - }, - "ShareName": { - "type": "string" - }, - "WindowsMountDrive": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentConfiguration": { - "additionalProperties": false, - "properties": { - "ActiveDirectoryConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ActiveDirectoryConfiguration" - }, - "ComputeFarmConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.ComputeFarmConfiguration" - }, - "LicenseServiceConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.LicenseServiceConfiguration" - }, - "SharedFileSystemConfiguration": { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent.SharedFileSystemConfiguration" - } - }, - "type": "object" - }, - "AWS::NimbleStudio::StudioComponent.StudioComponentInitializationScript": { - "additionalProperties": false, - "properties": { - "LaunchProfileProtocolVersion": { - "type": "string" - }, - "Platform": { - "type": "string" - }, - "RunContext": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessPolicies": { - "type": "object" - }, - "AdvancedOptions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AdvancedSecurityOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput" - }, - "ClusterConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ClusterConfig" - }, - "CognitoOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.CognitoOptions" - }, - "DomainEndpointOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.DomainEndpointOptions" - }, - "DomainName": { - "type": "string" - }, - "EBSOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EBSOptions" - }, - "EncryptionAtRestOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.EncryptionAtRestOptions" - }, - "EngineVersion": { - "type": "string" - }, - "LogPublishingOptions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.LogPublishingOption" - } - }, - "type": "object" - }, - "NodeToNodeEncryptionOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions" - }, - "SnapshotOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.SnapshotOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.VPCOptions" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpenSearchService::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::OpenSearchService::Domain.AdvancedSecurityOptionsInput": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "InternalUserDatabaseEnabled": { - "type": "boolean" - }, - "MasterUserOptions": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.MasterUserOptions" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ClusterConfig": { - "additionalProperties": false, - "properties": { - "DedicatedMasterCount": { - "type": "number" - }, - "DedicatedMasterEnabled": { - "type": "boolean" - }, - "DedicatedMasterType": { - "type": "string" - }, - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "WarmCount": { - "type": "number" - }, - "WarmEnabled": { - "type": "boolean" - }, - "WarmType": { - "type": "string" - }, - "ZoneAwarenessConfig": { - "$ref": "#/definitions/AWS::OpenSearchService::Domain.ZoneAwarenessConfig" - }, - "ZoneAwarenessEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.CognitoOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "IdentityPoolId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "UserPoolId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.DomainEndpointOptions": { - "additionalProperties": false, - "properties": { - "CustomEndpoint": { - "type": "string" - }, - "CustomEndpointCertificateArn": { - "type": "string" - }, - "CustomEndpointEnabled": { - "type": "boolean" - }, - "EnforceHTTPS": { - "type": "boolean" - }, - "TLSSecurityPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EBSOptions": { - "additionalProperties": false, - "properties": { - "EBSEnabled": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.EncryptionAtRestOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.LogPublishingOption": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.MasterUserOptions": { - "additionalProperties": false, - "properties": { - "MasterUserARN": { - "type": "string" - }, - "MasterUserName": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.NodeToNodeEncryptionOptions": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.SnapshotOptions": { - "additionalProperties": false, - "properties": { - "AutomatedSnapshotStartHour": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.VPCOptions": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpenSearchService::Domain.ZoneAwarenessConfig": { - "additionalProperties": false, - "properties": { - "AvailabilityZoneCount": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppSource": { - "$ref": "#/definitions/AWS::OpsWorks::App.Source" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DataSources": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.DataSource" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableSsl": { - "type": "boolean" - }, - "Environment": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::App.EnvironmentVariable" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Shortname": { - "type": "string" - }, - "SslConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::App.SslConfiguration" - }, - "StackId": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::App.DataSource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.EnvironmentVariable": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Secure": { - "type": "boolean" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::OpsWorks::App.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::App.SslConfiguration": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Chain": { - "type": "string" - }, - "PrivateKey": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::ElasticLoadBalancerAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ElasticLoadBalancerName": { - "type": "string" - }, - "LayerId": { - "type": "string" - } - }, - "required": [ - "ElasticLoadBalancerName", - "LayerId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::ElasticLoadBalancerAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "AmiId": { - "type": "string" - }, - "Architecture": { - "type": "string" - }, - "AutoScalingType": { - "type": "string" - }, - "AvailabilityZone": { - "type": "string" - }, - "BlockDeviceMappings": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.BlockDeviceMapping" - }, - "type": "array" - }, - "EbsOptimized": { - "type": "boolean" - }, - "ElasticIps": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Hostname": { - "type": "string" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "InstanceType": { - "type": "string" - }, - "LayerIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Os": { - "type": "string" - }, - "RootDeviceType": { - "type": "string" - }, - "SshKeyName": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - }, - "Tenancy": { - "type": "string" - }, - "TimeBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.TimeBasedAutoScaling" - }, - "VirtualizationType": { - "type": "string" - }, - "Volumes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "InstanceType", - "LayerIds", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Instance.BlockDeviceMapping": { - "additionalProperties": false, - "properties": { - "DeviceName": { - "type": "string" - }, - "Ebs": { - "$ref": "#/definitions/AWS::OpsWorks::Instance.EbsBlockDevice" - }, - "NoDevice": { - "type": "string" - }, - "VirtualName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.EbsBlockDevice": { - "additionalProperties": false, - "properties": { - "DeleteOnTermination": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "SnapshotId": { - "type": "string" - }, - "VolumeSize": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Instance.TimeBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "Friday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Monday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Saturday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Sunday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Thursday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tuesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Wednesday": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "AutoAssignElasticIps": { - "type": "boolean" - }, - "AutoAssignPublicIps": { - "type": "boolean" - }, - "CustomInstanceProfileArn": { - "type": "string" - }, - "CustomJson": { - "type": "object" - }, - "CustomRecipes": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.Recipes" - }, - "CustomSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableAutoHealing": { - "type": "boolean" - }, - "InstallUpdatesOnBoot": { - "type": "boolean" - }, - "LifecycleEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LifecycleEventConfiguration" - }, - "LoadBasedAutoScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.LoadBasedAutoScaling" - }, - "Name": { - "type": "string" - }, - "Packages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shortname": { - "type": "string" - }, - "StackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "UseEbsOptimizedInstances": { - "type": "boolean" - }, - "VolumeConfigurations": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.VolumeConfiguration" - }, - "type": "array" - } - }, - "required": [ - "AutoAssignElasticIps", - "AutoAssignPublicIps", - "EnableAutoHealing", - "Name", - "Shortname", - "StackId", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Layer" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Layer.AutoScalingThresholds": { - "additionalProperties": false, - "properties": { - "CpuThreshold": { - "type": "number" - }, - "IgnoreMetricsTime": { - "type": "number" - }, - "InstanceCount": { - "type": "number" - }, - "LoadThreshold": { - "type": "number" - }, - "MemoryThreshold": { - "type": "number" - }, - "ThresholdsWaitTime": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LifecycleEventConfiguration": { - "additionalProperties": false, - "properties": { - "ShutdownEventConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.ShutdownEventConfiguration" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.LoadBasedAutoScaling": { - "additionalProperties": false, - "properties": { - "DownScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - }, - "Enable": { - "type": "boolean" - }, - "UpScaling": { - "$ref": "#/definitions/AWS::OpsWorks::Layer.AutoScalingThresholds" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.Recipes": { - "additionalProperties": false, - "properties": { - "Configure": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Deploy": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Setup": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Shutdown": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Undeploy": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.ShutdownEventConfiguration": { - "additionalProperties": false, - "properties": { - "DelayUntilElbConnectionsDrained": { - "type": "boolean" - }, - "ExecutionTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Layer.VolumeConfiguration": { - "additionalProperties": false, - "properties": { - "Encrypted": { - "type": "boolean" - }, - "Iops": { - "type": "number" - }, - "MountPoint": { - "type": "string" - }, - "NumberOfDisks": { - "type": "number" - }, - "RaidLevel": { - "type": "number" - }, - "Size": { - "type": "number" - }, - "VolumeType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AgentVersion": { - "type": "string" - }, - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ChefConfiguration": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ChefConfiguration" - }, - "CloneAppIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClonePermissions": { - "type": "boolean" - }, - "ConfigurationManager": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.StackConfigurationManager" - }, - "CustomCookbooksSource": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.Source" - }, - "CustomJson": { - "type": "object" - }, - "DefaultAvailabilityZone": { - "type": "string" - }, - "DefaultInstanceProfileArn": { - "type": "string" - }, - "DefaultOs": { - "type": "string" - }, - "DefaultRootDeviceType": { - "type": "string" - }, - "DefaultSshKeyName": { - "type": "string" - }, - "DefaultSubnetId": { - "type": "string" - }, - "EcsClusterArn": { - "type": "string" - }, - "ElasticIps": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.ElasticIp" - }, - "type": "array" - }, - "HostnameTheme": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RdsDbInstances": { - "items": { - "$ref": "#/definitions/AWS::OpsWorks::Stack.RdsDbInstance" - }, - "type": "array" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SourceStackId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseCustomCookbooks": { - "type": "boolean" - }, - "UseOpsworksSecurityGroups": { - "type": "boolean" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "DefaultInstanceProfileArn", - "Name", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Stack" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.ChefConfiguration": { - "additionalProperties": false, - "properties": { - "BerkshelfVersion": { - "type": "string" - }, - "ManageBerkshelf": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.ElasticIp": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.RdsDbInstance": { - "additionalProperties": false, - "properties": { - "DbPassword": { - "type": "string" - }, - "DbUser": { - "type": "string" - }, - "RdsDbInstanceArn": { - "type": "string" - } - }, - "required": [ - "DbPassword", - "DbUser", - "RdsDbInstanceArn" - ], - "type": "object" - }, - "AWS::OpsWorks::Stack.Source": { - "additionalProperties": false, - "properties": { - "Password": { - "type": "string" - }, - "Revision": { - "type": "string" - }, - "SshKey": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Url": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::Stack.StackConfigurationManager": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::OpsWorks::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowSelfManagement": { - "type": "boolean" - }, - "IamUserArn": { - "type": "string" - }, - "SshPublicKey": { - "type": "string" - }, - "SshUsername": { - "type": "string" - } - }, - "required": [ - "IamUserArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorks::Volume": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Ec2VolumeId": { - "type": "string" - }, - "MountPoint": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "StackId": { - "type": "string" - } - }, - "required": [ - "Ec2VolumeId", - "StackId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorks::Volume" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatePublicIpAddress": { - "type": "boolean" - }, - "BackupId": { - "type": "string" - }, - "BackupRetentionCount": { - "type": "number" - }, - "CustomCertificate": { - "type": "string" - }, - "CustomDomain": { - "type": "string" - }, - "CustomPrivateKey": { - "type": "string" - }, - "DisableAutomatedBackup": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineAttributes": { - "items": { - "$ref": "#/definitions/AWS::OpsWorksCM::Server.EngineAttribute" - }, - "type": "array" - }, - "EngineModel": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "InstanceProfileArn": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KeyPair": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ServerName": { - "type": "string" - }, - "ServiceRoleArn": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::OpsWorksCM::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::OpsWorksCM::Server.EngineAttribute": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationInstanceIdToReplace": { - "type": "string" - }, - "DefaultRuntimeContextDevice": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DeviceId": { - "type": "string" - }, - "ManifestOverridesPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestOverridesPayload" - }, - "ManifestPayload": { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance.ManifestPayload" - }, - "Name": { - "type": "string" - }, - "RuntimeRoleArn": { - "type": "string" - }, - "StatusFilter": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DefaultRuntimeContextDevice", - "ManifestPayload" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::ApplicationInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestOverridesPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::ApplicationInstance.ManifestPayload": { - "additionalProperties": false, - "properties": { - "PayloadData": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Panorama::Package": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PackageName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PackageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::Package" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Panorama::PackageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MarkLatest": { - "type": "boolean" - }, - "OwnerAccount": { - "type": "string" - }, - "PackageId": { - "type": "string" - }, - "PackageVersion": { - "type": "string" - }, - "PatchVersion": { - "type": "string" - }, - "UpdatedLatestPatchVersion": { - "type": "string" - } - }, - "required": [ - "PackageId", - "PackageVersion", - "PatchVersion" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Panorama::PackageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ADMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId", - "ClientId", - "ClientSecret" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ADMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::APNSVoipSandboxChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "BundleId": { - "type": "string" - }, - "Certificate": { - "type": "string" - }, - "DefaultAuthenticationMethod": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "PrivateKey": { - "type": "string" - }, - "TeamId": { - "type": "string" - }, - "TokenKey": { - "type": "string" - }, - "TokenKeyId": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::APNSVoipSandboxChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.CampaignHook" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.Limits" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings.QuietTime" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::ApplicationSettings" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::ApplicationSettings.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::BaiduChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SecretKey": { - "type": "string" - } - }, - "required": [ - "ApiKey", - "ApplicationId", - "SecretKey" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::BaiduChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AdditionalTreatments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.WriteTreatmentResource" - }, - "type": "array" - }, - "ApplicationId": { - "type": "string" - }, - "CampaignHook": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignHook" - }, - "Description": { - "type": "string" - }, - "HoldoutPercent": { - "type": "number" - }, - "IsPaused": { - "type": "boolean" - }, - "Limits": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Limits" - }, - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SegmentId": { - "type": "string" - }, - "SegmentVersion": { - "type": "number" - }, - "Tags": { - "type": "object" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "MessageConfiguration", - "Name", - "Schedule", - "SegmentId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Campaign" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEmailMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "FromAddress": { - "type": "string" - }, - "HtmlBody": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignEventFilter": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.EventDimensions" - }, - "FilterType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignHook": { - "additionalProperties": false, - "properties": { - "LambdaFunctionName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "WebUrl": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignInAppMessage": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.CampaignSmsMessage": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "EntityId": { - "type": "string" - }, - "MessageType": { - "type": "string" - }, - "OriginationNumber": { - "type": "string" - }, - "SenderId": { - "type": "string" - }, - "TemplateId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.EventDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "EventType": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.SetDimension" - }, - "Metrics": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageBodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageButton": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageBodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageHeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.InAppMessageButton" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.InAppMessageHeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Limits": { - "additionalProperties": false, - "properties": { - "Daily": { - "type": "number" - }, - "MaximumDuration": { - "type": "number" - }, - "MessagesPerSecond": { - "type": "number" - }, - "Session": { - "type": "number" - }, - "Total": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.Message": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageSmallIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "JsonBody": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "RawContent": { - "type": "string" - }, - "SilentPush": { - "type": "boolean" - }, - "TimeToLive": { - "type": "number" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MessageConfiguration": { - "additionalProperties": false, - "properties": { - "ADMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "APNSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "BaiduMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "DefaultMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "EmailMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEmailMessage" - }, - "GCMMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Message" - }, - "InAppMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignInAppMessage" - }, - "SMSMessage": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignSmsMessage" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.MetricDimension": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.QuietTime": { - "additionalProperties": false, - "properties": { - "End": { - "type": "string" - }, - "Start": { - "type": "string" - } - }, - "required": [ - "End", - "Start" - ], - "type": "object" - }, - "AWS::Pinpoint::Campaign.Schedule": { - "additionalProperties": false, - "properties": { - "EndTime": { - "type": "string" - }, - "EventFilter": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.CampaignEventFilter" - }, - "Frequency": { - "type": "string" - }, - "IsLocalTime": { - "type": "boolean" - }, - "QuietTime": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.QuietTime" - }, - "StartTime": { - "type": "string" - }, - "TimeZone": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Campaign.WriteTreatmentResource": { - "additionalProperties": false, - "properties": { - "MessageConfiguration": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.MessageConfiguration" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Pinpoint::Campaign.Schedule" - }, - "SizePercent": { - "type": "number" - }, - "TreatmentDescription": { - "type": "string" - }, - "TreatmentName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::EmailChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "ConfigurationSet": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "FromAddress": { - "type": "string" - }, - "Identity": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "FromAddress", - "Identity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EmailTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultSubstitutions": { - "type": "string" - }, - "HtmlPart": { - "type": "string" - }, - "Subject": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "required": [ - "Subject", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EmailTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::EventStream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "DestinationStreamArn": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "DestinationStreamArn", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::EventStream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::GCMChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiKey": { - "type": "string" - }, - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApiKey", - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::GCMChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Content": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.InAppMessageContent" - }, - "type": "array" - }, - "CustomConfig": { - "type": "object" - }, - "Layout": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::InAppTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.BodyConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.ButtonConfig": { - "additionalProperties": false, - "properties": { - "Android": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "DefaultConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration" - }, - "IOS": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - }, - "Web": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BorderRadius": { - "type": "number" - }, - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - }, - "Text": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.HeaderConfig": { - "additionalProperties": false, - "properties": { - "Alignment": { - "type": "string" - }, - "Header": { - "type": "string" - }, - "TextColor": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.InAppMessageContent": { - "additionalProperties": false, - "properties": { - "BackgroundColor": { - "type": "string" - }, - "BodyConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.BodyConfig" - }, - "HeaderConfig": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.HeaderConfig" - }, - "ImageUrl": { - "type": "string" - }, - "PrimaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - }, - "SecondaryBtn": { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate.ButtonConfig" - } - }, - "type": "object" - }, - "AWS::Pinpoint::InAppTemplate.OverrideButtonConfiguration": { - "additionalProperties": false, - "properties": { - "ButtonAction": { - "type": "string" - }, - "Link": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ADM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "APNS": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate" - }, - "Baidu": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Default": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "GCM": { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::PushTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.APNSPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "MediaUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.AndroidPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "ImageIconUrl": { - "type": "string" - }, - "ImageUrl": { - "type": "string" - }, - "SmallImageIconUrl": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::PushTemplate.DefaultPushNotificationTemplate": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Body": { - "type": "string" - }, - "Sound": { - "type": "string" - }, - "Title": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::SMSChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - }, - "SenderId": { - "type": "string" - }, - "ShortCode": { - "type": "string" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SMSChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Dimensions": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "Name": { - "type": "string" - }, - "SegmentGroups": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentGroups" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "ApplicationId", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::Segment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.AttributeDimension": { - "additionalProperties": false, - "properties": { - "AttributeType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Behavior": { - "additionalProperties": false, - "properties": { - "Recency": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Recency" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Coordinates": { - "additionalProperties": false, - "properties": { - "Latitude": { - "type": "number" - }, - "Longitude": { - "type": "number" - } - }, - "required": [ - "Latitude", - "Longitude" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Demographic": { - "additionalProperties": false, - "properties": { - "AppVersion": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Channel": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "DeviceType": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Make": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Model": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "Platform": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.GPSPoint": { - "additionalProperties": false, - "properties": { - "Coordinates": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Coordinates" - }, - "RangeInKilometers": { - "type": "number" - } - }, - "required": [ - "Coordinates", - "RangeInKilometers" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.Groups": { - "additionalProperties": false, - "properties": { - "Dimensions": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SegmentDimensions" - }, - "type": "array" - }, - "SourceSegments": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SourceSegments" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Location": { - "additionalProperties": false, - "properties": { - "Country": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.SetDimension" - }, - "GPSPoint": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.GPSPoint" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.Recency": { - "additionalProperties": false, - "properties": { - "Duration": { - "type": "string" - }, - "RecencyType": { - "type": "string" - } - }, - "required": [ - "Duration", - "RecencyType" - ], - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentDimensions": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Behavior": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Behavior" - }, - "Demographic": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Demographic" - }, - "Location": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Location" - }, - "Metrics": { - "type": "object" - }, - "UserAttributes": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SegmentGroups": { - "additionalProperties": false, - "properties": { - "Groups": { - "items": { - "$ref": "#/definitions/AWS::Pinpoint::Segment.Groups" - }, - "type": "array" - }, - "Include": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SetDimension": { - "additionalProperties": false, - "properties": { - "DimensionType": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Pinpoint::Segment.SourceSegments": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::Pinpoint::SmsTemplate": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Body": { - "type": "string" - }, - "DefaultSubstitutions": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "TemplateDescription": { - "type": "string" - }, - "TemplateName": { - "type": "string" - } - }, - "required": [ - "Body", - "TemplateName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::SmsTemplate" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Pinpoint::VoiceChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "Enabled": { - "type": "boolean" - } - }, - "required": [ - "ApplicationId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Pinpoint::VoiceChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.DeliveryOptions" - }, - "Name": { - "type": "string" - }, - "ReputationOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.ReputationOptions" - }, - "SendingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.SendingOptions" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.Tags" - }, - "type": "array" - }, - "TrackingOptions": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet.TrackingOptions" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.DeliveryOptions": { - "additionalProperties": false, - "properties": { - "SendingPoolName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.ReputationOptions": { - "additionalProperties": false, - "properties": { - "ReputationMetricsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.SendingOptions": { - "additionalProperties": false, - "properties": { - "SendingEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSet.TrackingOptions": { - "additionalProperties": false, - "properties": { - "CustomRedirectDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination" - }, - "EventDestinationName": { - "type": "string" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestinationName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PinpointDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination" - }, - "SnsDestination": { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamArn": { - "type": "string" - }, - "IamRoleArn": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamArn", - "IamRoleArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.PinpointDestination": { - "additionalProperties": false, - "properties": { - "ApplicationArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::ConfigurationSetEventDestination.SnsDestination": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PoolName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool.Tags" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::DedicatedIpPool" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::PinpointEmail::DedicatedIpPool.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DkimSigningEnabled": { - "type": "boolean" - }, - "FeedbackForwardingEnabled": { - "type": "boolean" - }, - "MailFromAttributes": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.MailFromAttributes" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::PinpointEmail::Identity.Tags" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::PinpointEmail::Identity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::PinpointEmail::Identity.MailFromAttributes": { - "additionalProperties": false, - "properties": { - "BehaviorOnMxFailure": { - "type": "string" - }, - "MailFromDomain": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::PinpointEmail::Identity.Tags": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QLDB::Ledger": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "KmsKey": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "PermissionsMode": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PermissionsMode" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Ledger" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ExclusiveEndTime": { - "type": "string" - }, - "InclusiveStartTime": { - "type": "string" - }, - "KinesisConfiguration": { - "$ref": "#/definitions/AWS::QLDB::Stream.KinesisConfiguration" - }, - "LedgerName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "StreamName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InclusiveStartTime", - "KinesisConfiguration", - "LedgerName", - "RoleArn", - "StreamName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QLDB::Stream" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QLDB::Stream.KinesisConfiguration": { - "additionalProperties": false, - "properties": { - "AggregationEnabled": { - "type": "boolean" - }, - "StreamArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AnalysisId": { - "type": "string" - }, - "AwsAccountId": { - "type": "string" - }, - "Errors": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisError" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - } - }, - "required": [ - "AnalysisId", - "AwsAccountId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Analysis" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisError": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.AnalysisSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.AnalysisSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Analysis.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Analysis.Sheet": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SheetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Analysis.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "DashboardId": { - "type": "string" - }, - "DashboardPublishOptions": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardPublishOptions" - }, - "Name": { - "type": "string" - }, - "Parameters": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.Parameters" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeArn": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "DashboardId", - "SourceEntity" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Dashboard" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.AdHocFilteringOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardPublishOptions": { - "additionalProperties": false, - "properties": { - "AdHocFilteringOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.AdHocFilteringOption" - }, - "ExportToCSVOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.ExportToCSVOption" - }, - "SheetControlsOption": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.SheetControlsOption" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DashboardSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.DashboardSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DateTimeParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.DecimalParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.ExportToCSVOption": { - "additionalProperties": false, - "properties": { - "AvailabilityStatus": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.IntegerParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "number" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.Parameters": { - "additionalProperties": false, - "properties": { - "DateTimeParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DateTimeParameter" - }, - "type": "array" - }, - "DecimalParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.DecimalParameter" - }, - "type": "array" - }, - "IntegerParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.IntegerParameter" - }, - "type": "array" - }, - "StringParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Dashboard.StringParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Dashboard.SheetControlsOption": { - "additionalProperties": false, - "properties": { - "VisibilityState": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Dashboard.StringParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Values" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "ColumnGroups": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnGroup" - }, - "type": "array" - }, - "ColumnLevelPermissionRules": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnLevelPermissionRule" - }, - "type": "array" - }, - "DataSetId": { - "type": "string" - }, - "FieldFolders": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FieldFolder" - } - }, - "type": "object" - }, - "ImportMode": { - "type": "string" - }, - "IngestionWaitPolicy": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.IngestionWaitPolicy" - }, - "LogicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTable" - } - }, - "type": "object" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ResourcePermission" - }, - "type": "array" - }, - "PhysicalTableMap": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.PhysicalTable" - } - }, - "type": "object" - }, - "RowLevelPermissionDataSet": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RowLevelPermissionDataSet" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CalculatedColumn": { - "additionalProperties": false, - "properties": { - "ColumnId": { - "type": "string" - }, - "ColumnName": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "ColumnId", - "ColumnName", - "Expression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CastColumnTypeOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "NewColumnType": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnType" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnDescription": { - "additionalProperties": false, - "properties": { - "Text": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnGroup": { - "additionalProperties": false, - "properties": { - "GeoSpatialColumnGroup": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.GeoSpatialColumnGroup" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnLevelPermissionRule": { - "additionalProperties": false, - "properties": { - "ColumnNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ColumnTag": { - "additionalProperties": false, - "properties": { - "ColumnDescription": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnDescription" - }, - "ColumnGeographicRole": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.CreateColumnsOperation": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CalculatedColumn" - }, - "type": "array" - } - }, - "required": [ - "Columns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.CustomSql": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "DataSourceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "SqlQuery": { - "type": "string" - } - }, - "required": [ - "Columns", - "DataSourceArn", - "Name", - "SqlQuery" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.FieldFolder": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.FilterOperation": { - "additionalProperties": false, - "properties": { - "ConditionExpression": { - "type": "string" - } - }, - "required": [ - "ConditionExpression" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.GeoSpatialColumnGroup": { - "additionalProperties": false, - "properties": { - "Columns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CountryCode": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Columns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.IngestionWaitPolicy": { - "additionalProperties": false, - "properties": { - "IngestionWaitTimeInHours": { - "type": "number" - }, - "WaitForSpiceIngestion": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.InputColumn": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinInstruction": { - "additionalProperties": false, - "properties": { - "LeftJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "LeftOperand": { - "type": "string" - }, - "OnClause": { - "type": "string" - }, - "RightJoinKeyProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinKeyProperties" - }, - "RightOperand": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "LeftOperand", - "OnClause", - "RightOperand", - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.JoinKeyProperties": { - "additionalProperties": false, - "properties": { - "UniqueKey": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTable": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DataTransforms": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TransformOperation" - }, - "type": "array" - }, - "Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.LogicalTableSource" - } - }, - "required": [ - "Alias", - "Source" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.LogicalTableSource": { - "additionalProperties": false, - "properties": { - "JoinInstruction": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.JoinInstruction" - }, - "PhysicalTableId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.OutputColumn": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.PhysicalTable": { - "additionalProperties": false, - "properties": { - "CustomSql": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CustomSql" - }, - "RelationalTable": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RelationalTable" - }, - "S3Source": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.S3Source" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.ProjectOperation": { - "additionalProperties": false, - "properties": { - "ProjectedColumns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ProjectedColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RelationalTable": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Schema": { - "type": "string" - } - }, - "required": [ - "DataSourceArn", - "InputColumns", - "Name" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RenameColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "NewColumnName": { - "type": "string" - } - }, - "required": [ - "ColumnName", - "NewColumnName" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.RowLevelPermissionDataSet": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FormatVersion": { - "type": "string" - }, - "Namespace": { - "type": "string" - }, - "PermissionPolicy": { - "type": "string" - } - }, - "required": [ - "Arn", - "PermissionPolicy" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.S3Source": { - "additionalProperties": false, - "properties": { - "DataSourceArn": { - "type": "string" - }, - "InputColumns": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.InputColumn" - }, - "type": "array" - }, - "UploadSettings": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.UploadSettings" - } - }, - "required": [ - "DataSourceArn", - "InputColumns" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TagColumnOperation": { - "additionalProperties": false, - "properties": { - "ColumnName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ColumnTag" - }, - "type": "array" - } - }, - "required": [ - "ColumnName", - "Tags" - ], - "type": "object" - }, - "AWS::QuickSight::DataSet.TransformOperation": { - "additionalProperties": false, - "properties": { - "CastColumnTypeOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CastColumnTypeOperation" - }, - "CreateColumnsOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.CreateColumnsOperation" - }, - "FilterOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.FilterOperation" - }, - "ProjectOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.ProjectOperation" - }, - "RenameColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.RenameColumnOperation" - }, - "TagColumnOperation": { - "$ref": "#/definitions/AWS::QuickSight::DataSet.TagColumnOperation" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSet.UploadSettings": { - "additionalProperties": false, - "properties": { - "ContainsHeader": { - "type": "boolean" - }, - "Delimiter": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "StartFromRow": { - "type": "number" - }, - "TextQualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "AwsAccountId": { - "type": "string" - }, - "Credentials": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceCredentials" - }, - "DataSourceId": { - "type": "string" - }, - "DataSourceParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "ErrorInfo": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceErrorInfo" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ResourcePermission" - }, - "type": "array" - }, - "SslProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SslProperties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - }, - "VpcConnectionProperties": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.VpcConnectionProperties" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::DataSource" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonElasticsearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AmazonOpenSearchParameters": { - "additionalProperties": false, - "properties": { - "Domain": { - "type": "string" - } - }, - "required": [ - "Domain" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AthenaParameters": { - "additionalProperties": false, - "properties": { - "WorkGroup": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.AuroraPostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.CredentialPair": { - "additionalProperties": false, - "properties": { - "AlternateDataSourceParameters": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.DataSourceParameters" - }, - "type": "array" - }, - "Password": { - "type": "string" - }, - "Username": { - "type": "string" - } - }, - "required": [ - "Password", - "Username" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceCredentials": { - "additionalProperties": false, - "properties": { - "CopySourceArn": { - "type": "string" - }, - "CredentialPair": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.CredentialPair" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceErrorInfo": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.DataSourceParameters": { - "additionalProperties": false, - "properties": { - "AmazonElasticsearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonElasticsearchParameters" - }, - "AmazonOpenSearchParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AmazonOpenSearchParameters" - }, - "AthenaParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AthenaParameters" - }, - "AuroraParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraParameters" - }, - "AuroraPostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.AuroraPostgreSqlParameters" - }, - "MariaDbParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MariaDbParameters" - }, - "MySqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.MySqlParameters" - }, - "OracleParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.OracleParameters" - }, - "PostgreSqlParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PostgreSqlParameters" - }, - "PrestoParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.PrestoParameters" - }, - "RdsParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RdsParameters" - }, - "RedshiftParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.RedshiftParameters" - }, - "S3Parameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.S3Parameters" - }, - "SnowflakeParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SnowflakeParameters" - }, - "SparkParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SparkParameters" - }, - "SqlServerParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.SqlServerParameters" - }, - "TeradataParameters": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.TeradataParameters" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.ManifestFileLocation": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MariaDbParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.MySqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.OracleParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PostgreSqlParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.PrestoParameters": { - "additionalProperties": false, - "properties": { - "Catalog": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Catalog", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RdsParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "InstanceId": { - "type": "string" - } - }, - "required": [ - "Database", - "InstanceId" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.RedshiftParameters": { - "additionalProperties": false, - "properties": { - "ClusterId": { - "type": "string" - }, - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.S3Parameters": { - "additionalProperties": false, - "properties": { - "ManifestFileLocation": { - "$ref": "#/definitions/AWS::QuickSight::DataSource.ManifestFileLocation" - } - }, - "required": [ - "ManifestFileLocation" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SnowflakeParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Warehouse": { - "type": "string" - } - }, - "required": [ - "Database", - "Host", - "Warehouse" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SparkParameters": { - "additionalProperties": false, - "properties": { - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SqlServerParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.SslProperties": { - "additionalProperties": false, - "properties": { - "DisableSsl": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::DataSource.TeradataParameters": { - "additionalProperties": false, - "properties": { - "Database": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Port": { - "type": "number" - } - }, - "required": [ - "Database", - "Host", - "Port" - ], - "type": "object" - }, - "AWS::QuickSight::DataSource.VpcConnectionProperties": { - "additionalProperties": false, - "properties": { - "VpcConnectionArn": { - "type": "string" - } - }, - "required": [ - "VpcConnectionArn" - ], - "type": "object" - }, - "AWS::QuickSight::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.ResourcePermission" - }, - "type": "array" - }, - "SourceEntity": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceEntity" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TemplateId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "SourceEntity", - "TemplateId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Template.DataSetReference": { - "additionalProperties": false, - "properties": { - "DataSetArn": { - "type": "string" - }, - "DataSetPlaceholder": { - "type": "string" - } - }, - "required": [ - "DataSetArn", - "DataSetPlaceholder" - ], - "type": "object" - }, - "AWS::QuickSight::Template.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceAnalysis": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "DataSetReferences": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Template.DataSetReference" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "DataSetReferences" - ], - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceEntity": { - "additionalProperties": false, - "properties": { - "SourceAnalysis": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceAnalysis" - }, - "SourceTemplate": { - "$ref": "#/definitions/AWS::QuickSight::Template.TemplateSourceTemplate" - } - }, - "type": "object" - }, - "AWS::QuickSight::Template.TemplateSourceTemplate": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::QuickSight::Theme": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "BaseThemeId": { - "type": "string" - }, - "Configuration": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ThemeConfiguration" - }, - "Name": { - "type": "string" - }, - "Permissions": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.ResourcePermission" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "ThemeId": { - "type": "string" - }, - "VersionDescription": { - "type": "string" - } - }, - "required": [ - "AwsAccountId", - "ThemeId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::QuickSight::Theme" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.BorderStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.DataColorPalette": { - "additionalProperties": false, - "properties": { - "Colors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EmptyFillColor": { - "type": "string" - }, - "MinMaxGradient": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Font": { - "additionalProperties": false, - "properties": { - "FontFamily": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.GutterStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.MarginStyle": { - "additionalProperties": false, - "properties": { - "Show": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ResourcePermission": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principal": { - "type": "string" - } - }, - "required": [ - "Actions", - "Principal" - ], - "type": "object" - }, - "AWS::QuickSight::Theme.SheetStyle": { - "additionalProperties": false, - "properties": { - "Tile": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileStyle" - }, - "TileLayout": { - "$ref": "#/definitions/AWS::QuickSight::Theme.TileLayoutStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.ThemeConfiguration": { - "additionalProperties": false, - "properties": { - "DataColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.DataColorPalette" - }, - "Sheet": { - "$ref": "#/definitions/AWS::QuickSight::Theme.SheetStyle" - }, - "Typography": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Typography" - }, - "UIColorPalette": { - "$ref": "#/definitions/AWS::QuickSight::Theme.UIColorPalette" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileLayoutStyle": { - "additionalProperties": false, - "properties": { - "Gutter": { - "$ref": "#/definitions/AWS::QuickSight::Theme.GutterStyle" - }, - "Margin": { - "$ref": "#/definitions/AWS::QuickSight::Theme.MarginStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.TileStyle": { - "additionalProperties": false, - "properties": { - "Border": { - "$ref": "#/definitions/AWS::QuickSight::Theme.BorderStyle" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.Typography": { - "additionalProperties": false, - "properties": { - "FontFamilies": { - "items": { - "$ref": "#/definitions/AWS::QuickSight::Theme.Font" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::QuickSight::Theme.UIColorPalette": { - "additionalProperties": false, - "properties": { - "Accent": { - "type": "string" - }, - "AccentForeground": { - "type": "string" - }, - "Danger": { - "type": "string" - }, - "DangerForeground": { - "type": "string" - }, - "Dimension": { - "type": "string" - }, - "DimensionForeground": { - "type": "string" - }, - "Measure": { - "type": "string" - }, - "MeasureForeground": { - "type": "string" - }, - "PrimaryBackground": { - "type": "string" - }, - "PrimaryForeground": { - "type": "string" - }, - "SecondaryBackground": { - "type": "string" - }, - "SecondaryForeground": { - "type": "string" - }, - "Success": { - "type": "string" - }, - "SuccessForeground": { - "type": "string" - }, - "Warning": { - "type": "string" - }, - "WarningForeground": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RAM::ResourceShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowExternalPrincipals": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "PermissionArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Principals": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RAM::ResourceShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBCluster.DBClusterRole" - }, - "type": "array" - }, - "AvailabilityZones": { - "items": { - "type": "string" - }, - "type": "array" - }, - "BacktrackWindow": { - "type": "number" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBClusterParameterGroupName": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DatabaseName": { - "type": "string" - }, - "DeletionProtection": { - "type": "boolean" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableHttpEndpoint": { - "type": "boolean" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineMode": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ReplicationSourceIdentifier": { - "type": "string" - }, - "RestoreType": { - "type": "string" - }, - "ScalingConfiguration": { - "$ref": "#/definitions/AWS::RDS::DBCluster.ScalingConfiguration" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UseLatestRestorableTime": { - "type": "boolean" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Engine" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.DBClusterRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBCluster.ScalingConfiguration": { - "additionalProperties": false, - "properties": { - "AutoPause": { - "type": "boolean" - }, - "MaxCapacity": { - "type": "number" - }, - "MinCapacity": { - "type": "number" - }, - "SecondsUntilAutoPause": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::RDS::DBClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family", - "Parameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllocatedStorage": { - "type": "string" - }, - "AllowMajorVersionUpgrade": { - "type": "boolean" - }, - "AssociatedRoles": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.DBInstanceRole" - }, - "type": "array" - }, - "AutoMinorVersionUpgrade": { - "type": "boolean" - }, - "AvailabilityZone": { - "type": "string" - }, - "BackupRetentionPeriod": { - "type": "number" - }, - "CACertificateIdentifier": { - "type": "string" - }, - "CharacterSetName": { - "type": "string" - }, - "CopyTagsToSnapshot": { - "type": "boolean" - }, - "DBClusterIdentifier": { - "type": "string" - }, - "DBInstanceClass": { - "type": "string" - }, - "DBInstanceIdentifier": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DBParameterGroupName": { - "type": "string" - }, - "DBSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBSnapshotIdentifier": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "DeleteAutomatedBackups": { - "type": "boolean" - }, - "DeletionProtection": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "DomainIAMRoleName": { - "type": "string" - }, - "EnableCloudwatchLogsExports": { - "items": { - "type": "string" - }, - "type": "array" - }, - "EnableIAMDatabaseAuthentication": { - "type": "boolean" - }, - "EnablePerformanceInsights": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "Iops": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - }, - "LicenseModel": { - "type": "string" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "MaxAllocatedStorage": { - "type": "number" - }, - "MonitoringInterval": { - "type": "number" - }, - "MonitoringRoleArn": { - "type": "string" - }, - "MultiAZ": { - "type": "boolean" - }, - "OptionGroupName": { - "type": "string" - }, - "PerformanceInsightsKMSKeyId": { - "type": "string" - }, - "PerformanceInsightsRetentionPeriod": { - "type": "number" - }, - "Port": { - "type": "string" - }, - "PreferredBackupWindow": { - "type": "string" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "ProcessorFeatures": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBInstance.ProcessorFeature" - }, - "type": "array" - }, - "PromotionTier": { - "type": "number" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "SourceDBInstanceIdentifier": { - "type": "string" - }, - "SourceRegion": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - }, - "StorageType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Timezone": { - "type": "string" - }, - "UseDefaultProcessorFeatures": { - "type": "boolean" - }, - "VPCSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBInstanceClass" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.DBInstanceRole": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "RoleArn" - ], - "type": "object" - }, - "AWS::RDS::DBInstance.ProcessorFeature": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Family": { - "type": "string" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "Family" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Auth": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.AuthFormat" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "DebugLogging": { - "type": "boolean" - }, - "EngineFamily": { - "type": "string" - }, - "IdleClientTimeout": { - "type": "number" - }, - "RequireTLS": { - "type": "boolean" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxy.TagFormat" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Auth", - "DBProxyName", - "EngineFamily", - "RoleArn", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxy.AuthFormat": { - "additionalProperties": false, - "properties": { - "AuthScheme": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "IAMAuth": { - "type": "string" - }, - "SecretArn": { - "type": "string" - }, - "UserName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxy.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBProxyEndpointName": { - "type": "string" - }, - "DBProxyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBProxyEndpoint.TagFormat" - }, - "type": "array" - }, - "TargetRole": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcSubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "DBProxyEndpointName", - "DBProxyName", - "VpcSubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyEndpoint.TagFormat": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionPoolConfigurationInfo": { - "$ref": "#/definitions/AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat" - }, - "DBClusterIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBInstanceIdentifiers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DBProxyName": { - "type": "string" - }, - "TargetGroupName": { - "type": "string" - } - }, - "required": [ - "DBProxyName", - "TargetGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBProxyTargetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBProxyTargetGroup.ConnectionPoolConfigurationInfoFormat": { - "additionalProperties": false, - "properties": { - "ConnectionBorrowTimeout": { - "type": "number" - }, - "InitQuery": { - "type": "string" - }, - "MaxConnectionsPercent": { - "type": "number" - }, - "MaxIdleConnectionsPercent": { - "type": "number" - }, - "SessionPinningFilters": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupIngress": { - "items": { - "$ref": "#/definitions/AWS::RDS::DBSecurityGroup.Ingress" - }, - "type": "array" - }, - "EC2VpcId": { - "type": "string" - }, - "GroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSecurityGroupIngress", - "GroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSecurityGroup.Ingress": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RDS::DBSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "DBSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupId": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "DBSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::DBSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DBSubnetGroupDescription": { - "type": "string" - }, - "DBSubnetGroupName": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DBSubnetGroupDescription", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::DBSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SnsTopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::GlobalCluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtection": { - "type": "boolean" - }, - "Engine": { - "type": "string" - }, - "EngineVersion": { - "type": "string" - }, - "GlobalClusterIdentifier": { - "type": "string" - }, - "SourceDBClusterIdentifier": { - "type": "string" - }, - "StorageEncrypted": { - "type": "boolean" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::GlobalCluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EngineName": { - "type": "string" - }, - "MajorEngineVersion": { - "type": "string" - }, - "OptionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionConfiguration" - }, - "type": "array" - }, - "OptionGroupDescription": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EngineName", - "MajorEngineVersion", - "OptionConfigurations", - "OptionGroupDescription" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RDS::OptionGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionConfiguration": { - "additionalProperties": false, - "properties": { - "DBSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - }, - "OptionName": { - "type": "string" - }, - "OptionSettings": { - "items": { - "$ref": "#/definitions/AWS::RDS::OptionGroup.OptionSetting" - }, - "type": "array" - }, - "OptionVersion": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "VpcSecurityGroupMemberships": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OptionName" - ], - "type": "object" - }, - "AWS::RDS::OptionGroup.OptionSetting": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RUM::AppMonitor": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppMonitorConfiguration": { - "$ref": "#/definitions/AWS::RUM::AppMonitor.AppMonitorConfiguration" - }, - "CwLogEnabled": { - "type": "boolean" - }, - "Domain": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RUM::AppMonitor" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RUM::AppMonitor.AppMonitorConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCookies": { - "type": "boolean" - }, - "EnableXRay": { - "type": "boolean" - }, - "ExcludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "FavoritePages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "GuestRoleArn": { - "type": "string" - }, - "IdentityPoolId": { - "type": "string" - }, - "IncludedPages": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SessionSampleRate": { - "type": "number" - }, - "Telemetries": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowVersionUpgrade": { - "type": "boolean" - }, - "AquaConfigurationStatus": { - "type": "string" - }, - "AutomatedSnapshotRetentionPeriod": { - "type": "number" - }, - "AvailabilityZone": { - "type": "string" - }, - "AvailabilityZoneRelocation": { - "type": "boolean" - }, - "AvailabilityZoneRelocationStatus": { - "type": "string" - }, - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterParameterGroupName": { - "type": "string" - }, - "ClusterSecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ClusterSubnetGroupName": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "ClusterVersion": { - "type": "string" - }, - "DBName": { - "type": "string" - }, - "DeferMaintenance": { - "type": "boolean" - }, - "DeferMaintenanceDuration": { - "type": "number" - }, - "DeferMaintenanceEndTime": { - "type": "string" - }, - "DeferMaintenanceStartTime": { - "type": "string" - }, - "DestinationRegion": { - "type": "string" - }, - "ElasticIp": { - "type": "string" - }, - "Encrypted": { - "type": "boolean" - }, - "EnhancedVpcRouting": { - "type": "boolean" - }, - "HsmClientCertificateIdentifier": { - "type": "string" - }, - "HsmConfigurationIdentifier": { - "type": "string" - }, - "IamRoles": { - "items": { - "type": "string" - }, - "type": "array" - }, - "KmsKeyId": { - "type": "string" - }, - "LoggingProperties": { - "$ref": "#/definitions/AWS::Redshift::Cluster.LoggingProperties" - }, - "MaintenanceTrackName": { - "type": "string" - }, - "ManualSnapshotRetentionPeriod": { - "type": "number" - }, - "MasterUserPassword": { - "type": "string" - }, - "MasterUsername": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - }, - "OwnerAccount": { - "type": "string" - }, - "Port": { - "type": "number" - }, - "PreferredMaintenanceWindow": { - "type": "string" - }, - "PubliclyAccessible": { - "type": "boolean" - }, - "ResourceAction": { - "type": "string" - }, - "RevisionTarget": { - "type": "string" - }, - "RotateEncryptionKey": { - "type": "boolean" - }, - "SnapshotClusterIdentifier": { - "type": "string" - }, - "SnapshotCopyGrantName": { - "type": "string" - }, - "SnapshotCopyManual": { - "type": "boolean" - }, - "SnapshotCopyRetentionPeriod": { - "type": "number" - }, - "SnapshotIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "ClusterType", - "DBName", - "MasterUserPassword", - "MasterUsername", - "NodeType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::Cluster.Endpoint": { - "additionalProperties": false, - "properties": { - "Address": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::Cluster.LoggingProperties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "S3KeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "ParameterGroupFamily": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup.Parameter" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "ParameterGroupFamily" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterParameterGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterParameterGroup.Parameter": { - "additionalProperties": false, - "properties": { - "ParameterName": { - "type": "string" - }, - "ParameterValue": { - "type": "string" - } - }, - "required": [ - "ParameterName", - "ParameterValue" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSecurityGroupIngress": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CIDRIP": { - "type": "string" - }, - "ClusterSecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupName": { - "type": "string" - }, - "EC2SecurityGroupOwnerId": { - "type": "string" - } - }, - "required": [ - "ClusterSecurityGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSecurityGroupIngress" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ClusterSubnetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Description", - "SubnetIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ClusterSubnetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ResourceOwner": { - "type": "string" - }, - "SubnetGroupName": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "EndpointName", - "VpcSecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAccess" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EndpointAccess.VpcSecurityGroup": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "VpcSecurityGroupId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Redshift::EndpointAuthorization": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Account": { - "type": "string" - }, - "ClusterIdentifier": { - "type": "string" - }, - "Force": { - "type": "boolean" - }, - "VpcIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Account", - "ClusterIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EndpointAuthorization" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::EventSubscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - }, - "EventCategories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Severity": { - "type": "string" - }, - "SnsTopicArn": { - "type": "string" - }, - "SourceIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - }, - "SubscriptionName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "SubscriptionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::EventSubscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Enable": { - "type": "boolean" - }, - "EndTime": { - "type": "string" - }, - "IamRole": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduledActionDescription": { - "type": "string" - }, - "ScheduledActionName": { - "type": "string" - }, - "StartTime": { - "type": "string" - }, - "TargetAction": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ScheduledActionType" - } - }, - "required": [ - "ScheduledActionName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Redshift::ScheduledAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.PauseClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResizeClusterMessage": { - "additionalProperties": false, - "properties": { - "Classic": { - "type": "boolean" - }, - "ClusterIdentifier": { - "type": "string" - }, - "ClusterType": { - "type": "string" - }, - "NodeType": { - "type": "string" - }, - "NumberOfNodes": { - "type": "number" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ResumeClusterMessage": { - "additionalProperties": false, - "properties": { - "ClusterIdentifier": { - "type": "string" - } - }, - "required": [ - "ClusterIdentifier" - ], - "type": "object" - }, - "AWS::Redshift::ScheduledAction.ScheduledActionType": { - "additionalProperties": false, - "properties": { - "PauseCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.PauseClusterMessage" - }, - "ResizeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResizeClusterMessage" - }, - "ResumeCluster": { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction.ResumeClusterMessage" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApiGatewayProxy": { - "$ref": "#/definitions/AWS::RefactorSpaces::Application.ApiGatewayProxyInput" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ProxyType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Application.ApiGatewayProxyInput": { - "additionalProperties": false, - "properties": { - "EndpointType": { - "type": "string" - }, - "StageName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::RefactorSpaces::Environment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "NetworkFabricType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Environment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "RouteType": { - "type": "string" - }, - "ServiceIdentifier": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UriPathRoute": { - "$ref": "#/definitions/AWS::RefactorSpaces::Route.UriPathRouteInput" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier", - "ServiceIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Route" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Route.UriPathRouteInput": { - "additionalProperties": false, - "properties": { - "ActivationState": { - "type": "string" - }, - "IncludeChildPaths": { - "type": "boolean" - }, - "Methods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourcePath": { - "type": "string" - } - }, - "required": [ - "ActivationState" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplicationIdentifier": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "EndpointType": { - "type": "string" - }, - "EnvironmentIdentifier": { - "type": "string" - }, - "LambdaEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.LambdaEndpointInput" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UrlEndpoint": { - "$ref": "#/definitions/AWS::RefactorSpaces::Service.UrlEndpointInput" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "ApplicationIdentifier", - "EnvironmentIdentifier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RefactorSpaces::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.LambdaEndpointInput": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::RefactorSpaces::Service.UrlEndpointInput": { - "additionalProperties": false, - "properties": { - "HealthUrl": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "required": [ - "Url" - ], - "type": "object" - }, - "AWS::Rekognition::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectName": { - "type": "string" - } - }, - "required": [ - "ProjectName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Rekognition::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppTemplateBody": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResiliencyPolicyArn": { - "type": "string" - }, - "ResourceMappings": { - "items": { - "$ref": "#/definitions/AWS::ResilienceHub::App.ResourceMapping" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "AppTemplateBody", - "Name", - "ResourceMappings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.PhysicalResourceId": { - "additionalProperties": false, - "properties": { - "AwsAccountId": { - "type": "string" - }, - "AwsRegion": { - "type": "string" - }, - "Identifier": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Identifier", - "Type" - ], - "type": "object" - }, - "AWS::ResilienceHub::App.ResourceMapping": { - "additionalProperties": false, - "properties": { - "LogicalStackName": { - "type": "string" - }, - "MappingType": { - "type": "string" - }, - "PhysicalResourceId": { - "$ref": "#/definitions/AWS::ResilienceHub::App.PhysicalResourceId" - }, - "ResourceName": { - "type": "string" - } - }, - "required": [ - "MappingType", - "PhysicalResourceId" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataLocationConstraint": { - "type": "string" - }, - "Policy": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy" - } - }, - "type": "object" - }, - "PolicyDescription": { - "type": "string" - }, - "PolicyName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tier": { - "type": "string" - } - }, - "required": [ - "Policy", - "PolicyName", - "Tier" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResilienceHub::ResiliencyPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResilienceHub::ResiliencyPolicy.FailurePolicy": { - "additionalProperties": false, - "properties": { - "RpoInSecs": { - "type": "number" - }, - "RtoInSecs": { - "type": "number" - } - }, - "required": [ - "RpoInSecs", - "RtoInSecs" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Configuration": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationItem" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResourceQuery": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ResourceQuery" - }, - "Resources": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ResourceGroups::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationItem": { - "additionalProperties": false, - "properties": { - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.ConfigurationParameter" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ConfigurationParameter": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.Query": { - "additionalProperties": false, - "properties": { - "ResourceTypeFilters": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackIdentifier": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.ResourceQuery": { - "additionalProperties": false, - "properties": { - "Query": { - "$ref": "#/definitions/AWS::ResourceGroups::Group.Query" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::ResourceGroups::Group.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::RoboMaker::Fleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Fleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::RoboMaker::Robot": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "Fleet": { - "type": "string" - }, - "GreengrassGroupId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Architecture", - "GreengrassGroupId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::Robot" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.RobotSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "Sources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::RobotApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::RobotApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CurrentRevisionId": { - "type": "string" - }, - "Environment": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingEngine": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RenderingEngine" - }, - "RobotSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite" - }, - "SimulationSoftwareSuite": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication.SourceConfig" - }, - "type": "array" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "RobotSoftwareSuite", - "SimulationSoftwareSuite" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplication" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RenderingEngine": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.RobotSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SimulationSoftwareSuite": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "Version" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplication.SourceConfig": { - "additionalProperties": false, - "properties": { - "Architecture": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - } - }, - "required": [ - "Architecture", - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "AWS::RoboMaker::SimulationApplicationVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "CurrentRevisionId": { - "type": "string" - } - }, - "required": [ - "Application" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::RoboMaker::SimulationApplicationVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::DNSSEC": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "HostedZoneId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::DNSSEC" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HealthCheckConfig": { - "type": "object" - }, - "HealthCheckTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HealthCheck.HealthCheckTag" - }, - "type": "array" - } - }, - "required": [ - "HealthCheckConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HealthCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::HealthCheck.HealthCheckTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneConfig" - }, - "HostedZoneTags": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.HostedZoneTag" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "QueryLoggingConfig": { - "$ref": "#/definitions/AWS::Route53::HostedZone.QueryLoggingConfig" - }, - "VPCs": { - "items": { - "$ref": "#/definitions/AWS::Route53::HostedZone.VPC" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::HostedZone" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneConfig": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::HostedZone.HostedZoneTag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.QueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroupArn": { - "type": "string" - } - }, - "required": [ - "CloudWatchLogsLogGroupArn" - ], - "type": "object" - }, - "AWS::Route53::HostedZone.VPC": { - "additionalProperties": false, - "properties": { - "VPCId": { - "type": "string" - }, - "VPCRegion": { - "type": "string" - } - }, - "required": [ - "VPCId", - "VPCRegion" - ], - "type": "object" - }, - "AWS::Route53::KeySigningKey": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedZoneId": { - "type": "string" - }, - "KeyManagementServiceArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "HostedZoneId", - "KeyManagementServiceArn", - "Name", - "Status" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::KeySigningKey" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSet.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSet.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSet.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "RecordSets": { - "items": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.RecordSet" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53::RecordSetGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.AliasTarget": { - "additionalProperties": false, - "properties": { - "DNSName": { - "type": "string" - }, - "EvaluateTargetHealth": { - "type": "boolean" - }, - "HostedZoneId": { - "type": "string" - } - }, - "required": [ - "DNSName", - "HostedZoneId" - ], - "type": "object" - }, - "AWS::Route53::RecordSetGroup.GeoLocation": { - "additionalProperties": false, - "properties": { - "ContinentCode": { - "type": "string" - }, - "CountryCode": { - "type": "string" - }, - "SubdivisionCode": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53::RecordSetGroup.RecordSet": { - "additionalProperties": false, - "properties": { - "AliasTarget": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.AliasTarget" - }, - "Comment": { - "type": "string" - }, - "Failover": { - "type": "string" - }, - "GeoLocation": { - "$ref": "#/definitions/AWS::Route53::RecordSetGroup.GeoLocation" - }, - "HealthCheckId": { - "type": "string" - }, - "HostedZoneId": { - "type": "string" - }, - "HostedZoneName": { - "type": "string" - }, - "MultiValueAnswer": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Region": { - "type": "string" - }, - "ResourceRecords": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SetIdentifier": { - "type": "string" - }, - "TTL": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Weight": { - "type": "number" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::Cluster" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::Cluster.ClusterEndpoint": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryControl::ControlPanel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::ControlPanel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::RoutingControl": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClusterArn": { - "type": "string" - }, - "ControlPanelArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::RoutingControl" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssertionRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.AssertionRule" - }, - "ControlPanelArn": { - "type": "string" - }, - "GatingRule": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.GatingRule" - }, - "Name": { - "type": "string" - }, - "RuleConfig": { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule.RuleConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ControlPanelArn", - "Name", - "RuleConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryControl::SafetyRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.AssertionRule": { - "additionalProperties": false, - "properties": { - "AssertedControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "AssertedControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.GatingRule": { - "additionalProperties": false, - "properties": { - "GatingControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "TargetControls": { - "items": { - "type": "string" - }, - "type": "array" - }, - "WaitPeriodMs": { - "type": "number" - } - }, - "required": [ - "GatingControls", - "TargetControls", - "WaitPeriodMs" - ], - "type": "object" - }, - "AWS::Route53RecoveryControl::SafetyRule.RuleConfig": { - "additionalProperties": false, - "properties": { - "Inverted": { - "type": "boolean" - }, - "Threshold": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Inverted", - "Threshold", - "Type" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::Cell": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CellName": { - "type": "string" - }, - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "CellName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::Cell" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ReadinessCheck": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ReadinessCheckName": { - "type": "string" - }, - "ResourceSetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ReadinessCheckName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ReadinessCheck" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::RecoveryGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Cells": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RecoveryGroupName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RecoveryGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::RecoveryGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceSetName": { - "type": "string" - }, - "ResourceSetType": { - "type": "string" - }, - "Resources": { - "items": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.Resource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ResourceSetName", - "ResourceSetType", - "Resources" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53RecoveryReadiness::ResourceSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "HostedZoneArn": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - }, - "RecordType": { - "type": "string" - }, - "TargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.TargetResource" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.NLBResource": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "RecordSetId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.Resource": { - "additionalProperties": false, - "properties": { - "ComponentId": { - "type": "string" - }, - "DnsTargetResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.DNSTargetResource" - }, - "ReadinessScopes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Route53RecoveryReadiness::ResourceSet.TargetResource": { - "additionalProperties": false, - "properties": { - "NLBResource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.NLBResource" - }, - "R53Resource": { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet.R53ResourceRecord" - } - }, - "type": "object" - }, - "AWS::Route53Resolver::FirewallDomainList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainFileUrl": { - "type": "string" - }, - "Domains": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallDomainList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRules": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup.FirewallRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroup.FirewallRule": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "BlockOverrideDnsType": { - "type": "string" - }, - "BlockOverrideDomain": { - "type": "string" - }, - "BlockOverrideTtl": { - "type": "number" - }, - "BlockResponse": { - "type": "string" - }, - "FirewallDomainListId": { - "type": "string" - }, - "Priority": { - "type": "number" - } - }, - "required": [ - "Action", - "FirewallDomainListId", - "Priority" - ], - "type": "object" - }, - "AWS::Route53Resolver::FirewallRuleGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FirewallRuleGroupId": { - "type": "string" - }, - "MutationProtection": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "FirewallRuleGroupId", - "Priority", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::FirewallRuleGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutodefinedReverseFlag": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "required": [ - "AutodefinedReverseFlag", - "ResourceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverDNSSECConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverDNSSECConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Direction": { - "type": "string" - }, - "IpAddresses": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Direction", - "IpAddresses", - "SecurityGroupIds" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverEndpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverEndpoint.IpAddressRequest": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "SubnetId" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResolverQueryLogConfigId": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ResolverEndpointId": { - "type": "string" - }, - "RuleType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetIps": { - "items": { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule.TargetAddress" - }, - "type": "array" - } - }, - "required": [ - "DomainName", - "RuleType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRule.TargetAddress": { - "additionalProperties": false, - "properties": { - "Ip": { - "type": "string" - }, - "Port": { - "type": "string" - } - }, - "required": [ - "Ip" - ], - "type": "object" - }, - "AWS::Route53Resolver::ResolverRuleAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ResolverRuleId": { - "type": "string" - }, - "VPCId": { - "type": "string" - } - }, - "required": [ - "ResolverRuleId", - "VPCId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Route53Resolver::ResolverRuleAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "PolicyStatus": { - "type": "object" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.PublicAccessBlockConfiguration" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::AccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccelerateConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.AccelerateConfiguration" - }, - "AccessControl": { - "type": "string" - }, - "AnalyticsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.AnalyticsConfiguration" - }, - "type": "array" - }, - "BucketEncryption": { - "$ref": "#/definitions/AWS::S3::Bucket.BucketEncryption" - }, - "BucketName": { - "type": "string" - }, - "CorsConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsConfiguration" - }, - "IntelligentTieringConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.IntelligentTieringConfiguration" - }, - "type": "array" - }, - "InventoryConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.InventoryConfiguration" - }, - "type": "array" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LifecycleConfiguration" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.LoggingConfiguration" - }, - "MetricsConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.MetricsConfiguration" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationConfiguration" - }, - "ObjectLockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockConfiguration" - }, - "ObjectLockEnabled": { - "type": "boolean" - }, - "OwnershipControls": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControls" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.PublicAccessBlockConfiguration" - }, - "ReplicationConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VersioningConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.VersioningConfiguration" - }, - "WebsiteConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.WebsiteConfiguration" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::S3::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccelerateConfiguration": { - "additionalProperties": false, - "properties": { - "AccelerationStatus": { - "type": "string" - } - }, - "required": [ - "AccelerationStatus" - ], - "type": "object" - }, - "AWS::S3::Bucket.AccessControlTranslation": { - "additionalProperties": false, - "properties": { - "Owner": { - "type": "string" - } - }, - "required": [ - "Owner" - ], - "type": "object" - }, - "AWS::S3::Bucket.AnalyticsConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "StorageClassAnalysis": { - "$ref": "#/definitions/AWS::S3::Bucket.StorageClassAnalysis" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id", - "StorageClassAnalysis" - ], - "type": "object" - }, - "AWS::S3::Bucket.BucketEncryption": { - "additionalProperties": false, - "properties": { - "ServerSideEncryptionConfiguration": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionRule" - }, - "type": "array" - } - }, - "required": [ - "ServerSideEncryptionConfiguration" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "CorsRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.CorsRule" - }, - "type": "array" - } - }, - "required": [ - "CorsRules" - ], - "type": "object" - }, - "AWS::S3::Bucket.CorsRule": { - "additionalProperties": false, - "properties": { - "AllowedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedMethods": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AllowedOrigins": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ExposedHeaders": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Id": { - "type": "string" - }, - "MaxAge": { - "type": "number" - } - }, - "required": [ - "AllowedMethods", - "AllowedOrigins" - ], - "type": "object" - }, - "AWS::S3::Bucket.DataExport": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "OutputSchemaVersion": { - "type": "string" - } - }, - "required": [ - "Destination", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::Bucket.DefaultRetention": { - "additionalProperties": false, - "properties": { - "Days": { - "type": "number" - }, - "Mode": { - "type": "string" - }, - "Years": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.DeleteMarkerReplication": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Destination": { - "additionalProperties": false, - "properties": { - "BucketAccountId": { - "type": "string" - }, - "BucketArn": { - "type": "string" - }, - "Format": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "BucketArn", - "Format" - ], - "type": "object" - }, - "AWS::S3::Bucket.EncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "ReplicaKmsKeyID": { - "type": "string" - } - }, - "required": [ - "ReplicaKmsKeyID" - ], - "type": "object" - }, - "AWS::S3::Bucket.EventBridgeConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.FilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.IntelligentTieringConfiguration": { - "additionalProperties": false, - "properties": { - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Tierings": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Tiering" - }, - "type": "array" - } - }, - "required": [ - "Id", - "Status", - "Tierings" - ], - "type": "object" - }, - "AWS::S3::Bucket.InventoryConfiguration": { - "additionalProperties": false, - "properties": { - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.Destination" - }, - "Enabled": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "IncludedObjectVersions": { - "type": "string" - }, - "OptionalFields": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Prefix": { - "type": "string" - }, - "ScheduleFrequency": { - "type": "string" - } - }, - "required": [ - "Destination", - "Enabled", - "Id", - "IncludedObjectVersions", - "ScheduleFrequency" - ], - "type": "object" - }, - "AWS::S3::Bucket.LambdaConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Function": { - "type": "string" - } - }, - "required": [ - "Event", - "Function" - ], - "type": "object" - }, - "AWS::S3::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DestinationBucketName": { - "type": "string" - }, - "LogFilePrefix": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Metrics": { - "additionalProperties": false, - "properties": { - "EventThreshold": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.MetricsConfiguration": { - "additionalProperties": false, - "properties": { - "AccessPointArn": { - "type": "string" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "required": [ - "Id" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionExpiration": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "NoncurrentDays": { - "type": "number" - } - }, - "required": [ - "NoncurrentDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NoncurrentVersionTransition": { - "additionalProperties": false, - "properties": { - "NewerNoncurrentVersions": { - "type": "number" - }, - "StorageClass": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass", - "TransitionInDays" - ], - "type": "object" - }, - "AWS::S3::Bucket.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "EventBridgeConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EventBridgeConfiguration" - }, - "LambdaConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.LambdaConfiguration" - }, - "type": "array" - }, - "QueueConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.QueueConfiguration" - }, - "type": "array" - }, - "TopicConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TopicConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::S3::Bucket.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockConfiguration": { - "additionalProperties": false, - "properties": { - "ObjectLockEnabled": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::S3::Bucket.ObjectLockRule" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ObjectLockRule": { - "additionalProperties": false, - "properties": { - "DefaultRetention": { - "$ref": "#/definitions/AWS::S3::Bucket.DefaultRetention" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControls": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.OwnershipControlsRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.OwnershipControlsRule": { - "additionalProperties": false, - "properties": { - "ObjectOwnership": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.QueueConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Event", - "Queue" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectAllRequestsTo": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "HostName" - ], - "type": "object" - }, - "AWS::S3::Bucket.RedirectRule": { - "additionalProperties": false, - "properties": { - "HostName": { - "type": "string" - }, - "HttpRedirectCode": { - "type": "string" - }, - "Protocol": { - "type": "string" - }, - "ReplaceKeyPrefixWith": { - "type": "string" - }, - "ReplaceKeyWith": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicaModifications": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationConfiguration": { - "additionalProperties": false, - "properties": { - "Role": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRule" - }, - "type": "array" - } - }, - "required": [ - "Role", - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationDestination": { - "additionalProperties": false, - "properties": { - "AccessControlTranslation": { - "$ref": "#/definitions/AWS::S3::Bucket.AccessControlTranslation" - }, - "Account": { - "type": "string" - }, - "Bucket": { - "type": "string" - }, - "EncryptionConfiguration": { - "$ref": "#/definitions/AWS::S3::Bucket.EncryptionConfiguration" - }, - "Metrics": { - "$ref": "#/definitions/AWS::S3::Bucket.Metrics" - }, - "ReplicationTime": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTime" - }, - "StorageClass": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRule": { - "additionalProperties": false, - "properties": { - "DeleteMarkerReplication": { - "$ref": "#/definitions/AWS::S3::Bucket.DeleteMarkerReplication" - }, - "Destination": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationDestination" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleFilter" - }, - "Id": { - "type": "string" - }, - "Prefix": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "SourceSelectionCriteria": { - "$ref": "#/definitions/AWS::S3::Bucket.SourceSelectionCriteria" - }, - "Status": { - "type": "string" - } - }, - "required": [ - "Destination", - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleAndOperator": { - "additionalProperties": false, - "properties": { - "Prefix": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationRuleFilter": { - "additionalProperties": false, - "properties": { - "And": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationRuleAndOperator" - }, - "Prefix": { - "type": "string" - }, - "TagFilter": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTime": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - }, - "Time": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicationTimeValue" - } - }, - "required": [ - "Status", - "Time" - ], - "type": "object" - }, - "AWS::S3::Bucket.ReplicationTimeValue": { - "additionalProperties": false, - "properties": { - "Minutes": { - "type": "number" - } - }, - "required": [ - "Minutes" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRule": { - "additionalProperties": false, - "properties": { - "RedirectRule": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectRule" - }, - "RoutingRuleCondition": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRuleCondition" - } - }, - "required": [ - "RedirectRule" - ], - "type": "object" - }, - "AWS::S3::Bucket.RoutingRuleCondition": { - "additionalProperties": false, - "properties": { - "HttpErrorCodeReturnedEquals": { - "type": "string" - }, - "KeyPrefixEquals": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "ExpiredObjectDeleteMarker": { - "type": "boolean" - }, - "Id": { - "type": "string" - }, - "NoncurrentVersionExpiration": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionExpiration" - }, - "NoncurrentVersionExpirationInDays": { - "type": "number" - }, - "NoncurrentVersionTransition": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "NoncurrentVersionTransitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.NoncurrentVersionTransition" - }, - "type": "array" - }, - "ObjectSizeGreaterThan": { - "type": "number" - }, - "ObjectSizeLessThan": { - "type": "number" - }, - "Prefix": { - "type": "string" - }, - "Status": { - "type": "string" - }, - "TagFilters": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.TagFilter" - }, - "type": "array" - }, - "Transition": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "Transitions": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.Transition" - }, - "type": "array" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.FilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionByDefault": { - "additionalProperties": false, - "properties": { - "KMSMasterKeyID": { - "type": "string" - }, - "SSEAlgorithm": { - "type": "string" - } - }, - "required": [ - "SSEAlgorithm" - ], - "type": "object" - }, - "AWS::S3::Bucket.ServerSideEncryptionRule": { - "additionalProperties": false, - "properties": { - "BucketKeyEnabled": { - "type": "boolean" - }, - "ServerSideEncryptionByDefault": { - "$ref": "#/definitions/AWS::S3::Bucket.ServerSideEncryptionByDefault" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SourceSelectionCriteria": { - "additionalProperties": false, - "properties": { - "ReplicaModifications": { - "$ref": "#/definitions/AWS::S3::Bucket.ReplicaModifications" - }, - "SseKmsEncryptedObjects": { - "$ref": "#/definitions/AWS::S3::Bucket.SseKmsEncryptedObjects" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.SseKmsEncryptedObjects": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.StorageClassAnalysis": { - "additionalProperties": false, - "properties": { - "DataExport": { - "$ref": "#/definitions/AWS::S3::Bucket.DataExport" - } - }, - "type": "object" - }, - "AWS::S3::Bucket.TagFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::S3::Bucket.Tiering": { - "additionalProperties": false, - "properties": { - "AccessTier": { - "type": "string" - }, - "Days": { - "type": "number" - } - }, - "required": [ - "AccessTier", - "Days" - ], - "type": "object" - }, - "AWS::S3::Bucket.TopicConfiguration": { - "additionalProperties": false, - "properties": { - "Event": { - "type": "string" - }, - "Filter": { - "$ref": "#/definitions/AWS::S3::Bucket.NotificationFilter" - }, - "Topic": { - "type": "string" - } - }, - "required": [ - "Event", - "Topic" - ], - "type": "object" - }, - "AWS::S3::Bucket.Transition": { - "additionalProperties": false, - "properties": { - "StorageClass": { - "type": "string" - }, - "TransitionDate": { - "type": "string" - }, - "TransitionInDays": { - "type": "number" - } - }, - "required": [ - "StorageClass" - ], - "type": "object" - }, - "AWS::S3::Bucket.VersioningConfiguration": { - "additionalProperties": false, - "properties": { - "Status": { - "type": "string" - } - }, - "required": [ - "Status" - ], - "type": "object" - }, - "AWS::S3::Bucket.WebsiteConfiguration": { - "additionalProperties": false, - "properties": { - "ErrorDocument": { - "type": "string" - }, - "IndexDocument": { - "type": "string" - }, - "RedirectAllRequestsTo": { - "$ref": "#/definitions/AWS::S3::Bucket.RedirectAllRequestsTo" - }, - "RoutingRules": { - "items": { - "$ref": "#/definitions/AWS::S3::Bucket.RoutingRule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "PublicAccessBlockConfiguration": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::S3::MultiRegionAccessPoint.Region" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.PublicAccessBlockConfiguration": { - "additionalProperties": false, - "properties": { - "BlockPublicAcls": { - "type": "boolean" - }, - "BlockPublicPolicy": { - "type": "boolean" - }, - "IgnorePublicAcls": { - "type": "boolean" - }, - "RestrictPublicBuckets": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::MultiRegionAccessPoint.Region": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - } - }, - "required": [ - "Bucket" - ], - "type": "object" - }, - "AWS::S3::MultiRegionAccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MrapName": { - "type": "string" - }, - "Policy": { - "type": "object" - } - }, - "required": [ - "MrapName", - "Policy" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::MultiRegionAccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "StorageLensConfiguration": { - "$ref": "#/definitions/AWS::S3::StorageLens.StorageLensConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "StorageLensConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3::StorageLens" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3::StorageLens.AccountLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "BucketLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketLevel" - } - }, - "required": [ - "BucketLevel" - ], - "type": "object" - }, - "AWS::S3::StorageLens.ActivityMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.AwsOrg": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::S3::StorageLens.BucketLevel": { - "additionalProperties": false, - "properties": { - "ActivityMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.ActivityMetrics" - }, - "PrefixLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevel" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.BucketsAndRegions": { - "additionalProperties": false, - "properties": { - "Buckets": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Regions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.CloudWatchMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - } - }, - "required": [ - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3::StorageLens.DataExport": { - "additionalProperties": false, - "properties": { - "CloudWatchMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.CloudWatchMetrics" - }, - "S3BucketDestination": { - "$ref": "#/definitions/AWS::S3::StorageLens.S3BucketDestination" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.Encryption": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevel": { - "additionalProperties": false, - "properties": { - "StorageMetrics": { - "$ref": "#/definitions/AWS::S3::StorageLens.PrefixLevelStorageMetrics" - } - }, - "required": [ - "StorageMetrics" - ], - "type": "object" - }, - "AWS::S3::StorageLens.PrefixLevelStorageMetrics": { - "additionalProperties": false, - "properties": { - "IsEnabled": { - "type": "boolean" - }, - "SelectionCriteria": { - "$ref": "#/definitions/AWS::S3::StorageLens.SelectionCriteria" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.S3BucketDestination": { - "additionalProperties": false, - "properties": { - "AccountId": { - "type": "string" - }, - "Arn": { - "type": "string" - }, - "Encryption": { - "$ref": "#/definitions/AWS::S3::StorageLens.Encryption" - }, - "Format": { - "type": "string" - }, - "OutputSchemaVersion": { - "type": "string" - }, - "Prefix": { - "type": "string" - } - }, - "required": [ - "AccountId", - "Arn", - "Format", - "OutputSchemaVersion" - ], - "type": "object" - }, - "AWS::S3::StorageLens.SelectionCriteria": { - "additionalProperties": false, - "properties": { - "Delimiter": { - "type": "string" - }, - "MaxDepth": { - "type": "number" - }, - "MinStorageBytesPercentage": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::S3::StorageLens.StorageLensConfiguration": { - "additionalProperties": false, - "properties": { - "AccountLevel": { - "$ref": "#/definitions/AWS::S3::StorageLens.AccountLevel" - }, - "AwsOrg": { - "$ref": "#/definitions/AWS::S3::StorageLens.AwsOrg" - }, - "DataExport": { - "$ref": "#/definitions/AWS::S3::StorageLens.DataExport" - }, - "Exclude": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "Id": { - "type": "string" - }, - "Include": { - "$ref": "#/definitions/AWS::S3::StorageLens.BucketsAndRegions" - }, - "IsEnabled": { - "type": "boolean" - }, - "StorageLensArn": { - "type": "string" - } - }, - "required": [ - "AccountLevel", - "Id", - "IsEnabled" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "ObjectLambdaConfiguration": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration" - } - }, - "required": [ - "ObjectLambdaConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.ObjectLambdaConfiguration": { - "additionalProperties": false, - "properties": { - "AllowedFeatures": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "SupportingAccessPoint": { - "type": "string" - }, - "TransformationConfigurations": { - "items": { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration" - }, - "type": "array" - } - }, - "required": [ - "SupportingAccessPoint", - "TransformationConfigurations" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPoint.TransformationConfiguration": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentTransformation": { - "type": "object" - } - }, - "required": [ - "Actions", - "ContentTransformation" - ], - "type": "object" - }, - "AWS::S3ObjectLambda::AccessPointPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ObjectLambdaAccessPoint": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "ObjectLambdaAccessPoint", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3ObjectLambda::AccessPointPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policy": { - "type": "object" - }, - "VpcConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint.VpcConfiguration" - } - }, - "required": [ - "Bucket", - "Name", - "VpcConfiguration" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::AccessPoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::AccessPoint.VpcConfiguration": { - "additionalProperties": false, - "properties": { - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::Bucket": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "LifecycleConfiguration": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.LifecycleConfiguration" - }, - "OutpostId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "BucketName", - "OutpostId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Bucket" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload": { - "additionalProperties": false, - "properties": { - "DaysAfterInitiation": { - "type": "number" - } - }, - "required": [ - "DaysAfterInitiation" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.LifecycleConfiguration": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.Rule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::S3Outposts::Bucket.Rule": { - "additionalProperties": false, - "properties": { - "AbortIncompleteMultipartUpload": { - "$ref": "#/definitions/AWS::S3Outposts::Bucket.AbortIncompleteMultipartUpload" - }, - "ExpirationDate": { - "type": "string" - }, - "ExpirationInDays": { - "type": "number" - }, - "Filter": { - "type": "object" - }, - "Id": { - "type": "string" - }, - "Status": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::S3Outposts::BucketPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "PolicyDocument": { - "type": "object" - } - }, - "required": [ - "Bucket", - "PolicyDocument" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::BucketPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessType": { - "type": "string" - }, - "CustomerOwnedIpv4Pool": { - "type": "string" - }, - "OutpostId": { - "type": "string" - }, - "SecurityGroupId": { - "type": "string" - }, - "SubnetId": { - "type": "string" - } - }, - "required": [ - "OutpostId", - "SecurityGroupId", - "SubnetId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::S3Outposts::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::S3Outposts::Endpoint.NetworkInterface": { - "additionalProperties": false, - "properties": { - "NetworkInterfaceId": { - "type": "string" - } - }, - "required": [ - "NetworkInterfaceId" - ], - "type": "object" - }, - "AWS::SDB::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SDB::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConfigurationSetName": { - "type": "string" - }, - "EventDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.EventDestination" - } - }, - "required": [ - "ConfigurationSetName", - "EventDestination" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ConfigurationSetEventDestination" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination": { - "additionalProperties": false, - "properties": { - "DimensionConfigurations": { - "items": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.DimensionConfiguration": { - "additionalProperties": false, - "properties": { - "DefaultDimensionValue": { - "type": "string" - }, - "DimensionName": { - "type": "string" - }, - "DimensionValueSource": { - "type": "string" - } - }, - "required": [ - "DefaultDimensionValue", - "DimensionName", - "DimensionValueSource" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.EventDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.CloudWatchDestination" - }, - "Enabled": { - "type": "boolean" - }, - "KinesisFirehoseDestination": { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination" - }, - "MatchingEventTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "MatchingEventTypes" - ], - "type": "object" - }, - "AWS::SES::ConfigurationSetEventDestination.KinesisFirehoseDestination": { - "additionalProperties": false, - "properties": { - "DeliveryStreamARN": { - "type": "string" - }, - "IAMRoleARN": { - "type": "string" - } - }, - "required": [ - "DeliveryStreamARN", - "IAMRoleARN" - ], - "type": "object" - }, - "AWS::SES::ContactList": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContactListName": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Topics": { - "items": { - "$ref": "#/definitions/AWS::SES::ContactList.Topic" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ContactList" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::ContactList.Topic": { - "additionalProperties": false, - "properties": { - "DefaultSubscriptionStatus": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "TopicName": { - "type": "string" - } - }, - "required": [ - "DefaultSubscriptionStatus", - "DisplayName", - "TopicName" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Filter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.Filter" - } - }, - "required": [ - "Filter" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptFilter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.Filter": { - "additionalProperties": false, - "properties": { - "IpFilter": { - "$ref": "#/definitions/AWS::SES::ReceiptFilter.IpFilter" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "IpFilter" - ], - "type": "object" - }, - "AWS::SES::ReceiptFilter.IpFilter": { - "additionalProperties": false, - "properties": { - "Cidr": { - "type": "string" - }, - "Policy": { - "type": "string" - } - }, - "required": [ - "Cidr", - "Policy" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "After": { - "type": "string" - }, - "Rule": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Rule" - }, - "RuleSetName": { - "type": "string" - } - }, - "required": [ - "Rule", - "RuleSetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Action": { - "additionalProperties": false, - "properties": { - "AddHeaderAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.AddHeaderAction" - }, - "BounceAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.BounceAction" - }, - "LambdaAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.LambdaAction" - }, - "S3Action": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.S3Action" - }, - "SNSAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.SNSAction" - }, - "StopAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.StopAction" - }, - "WorkmailAction": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.WorkmailAction" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.AddHeaderAction": { - "additionalProperties": false, - "properties": { - "HeaderName": { - "type": "string" - }, - "HeaderValue": { - "type": "string" - } - }, - "required": [ - "HeaderName", - "HeaderValue" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.BounceAction": { - "additionalProperties": false, - "properties": { - "Message": { - "type": "string" - }, - "Sender": { - "type": "string" - }, - "SmtpReplyCode": { - "type": "string" - }, - "StatusCode": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Message", - "Sender", - "SmtpReplyCode" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.LambdaAction": { - "additionalProperties": false, - "properties": { - "FunctionArn": { - "type": "string" - }, - "InvocationType": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "FunctionArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.Rule": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SES::ReceiptRule.Action" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Name": { - "type": "string" - }, - "Recipients": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScanEnabled": { - "type": "boolean" - }, - "TlsPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.S3Action": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.SNSAction": { - "additionalProperties": false, - "properties": { - "Encoding": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SES::ReceiptRule.StopAction": { - "additionalProperties": false, - "properties": { - "Scope": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Scope" - ], - "type": "object" - }, - "AWS::SES::ReceiptRule.WorkmailAction": { - "additionalProperties": false, - "properties": { - "OrganizationArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "OrganizationArn" - ], - "type": "object" - }, - "AWS::SES::ReceiptRuleSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleSetName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::ReceiptRuleSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Template": { - "$ref": "#/definitions/AWS::SES::Template.Template" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SES::Template" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SES::Template.Template": { - "additionalProperties": false, - "properties": { - "HtmlPart": { - "type": "string" - }, - "SubjectPart": { - "type": "string" - }, - "TemplateName": { - "type": "string" - }, - "TextPart": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SNS::Subscription": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeliveryPolicy": { - "type": "object" - }, - "Endpoint": { - "type": "string" - }, - "FilterPolicy": { - "type": "object" - }, - "Protocol": { - "type": "string" - }, - "RawMessageDelivery": { - "type": "boolean" - }, - "RedrivePolicy": { - "type": "object" - }, - "Region": { - "type": "string" - }, - "SubscriptionRoleArn": { - "type": "string" - }, - "TopicArn": { - "type": "string" - } - }, - "required": [ - "Protocol", - "TopicArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Subscription" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SNS::Topic": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DisplayName": { - "type": "string" - }, - "FifoTopic": { - "type": "boolean" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "Subscription": { - "items": { - "$ref": "#/definitions/AWS::SNS::Topic.Subscription" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TopicName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::Topic" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SNS::Topic.Subscription": { - "additionalProperties": false, - "properties": { - "Endpoint": { - "type": "string" - }, - "Protocol": { - "type": "string" - } - }, - "required": [ - "Endpoint", - "Protocol" - ], - "type": "object" - }, - "AWS::SNS::TopicPolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Topics": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Topics" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SNS::TopicPolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SQS::Queue": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ContentBasedDeduplication": { - "type": "boolean" - }, - "DeduplicationScope": { - "type": "string" - }, - "DelaySeconds": { - "type": "number" - }, - "FifoQueue": { - "type": "boolean" - }, - "FifoThroughputLimit": { - "type": "string" - }, - "KmsDataKeyReusePeriodSeconds": { - "type": "number" - }, - "KmsMasterKeyId": { - "type": "string" - }, - "MaximumMessageSize": { - "type": "number" - }, - "MessageRetentionPeriod": { - "type": "number" - }, - "QueueName": { - "type": "string" - }, - "ReceiveMessageWaitTimeSeconds": { - "type": "number" - }, - "RedriveAllowPolicy": { - "type": "object" - }, - "RedrivePolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityTimeout": { - "type": "number" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::Queue" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SQS::QueuePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PolicyDocument": { - "type": "object" - }, - "Queues": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "PolicyDocument", - "Queues" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SQS::QueuePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApplyOnlyAtCronInterval": { - "type": "boolean" - }, - "AssociationName": { - "type": "string" - }, - "AutomationTargetParameterName": { - "type": "string" - }, - "CalendarNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ComplianceSeverity": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "InstanceId": { - "type": "string" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OutputLocation": { - "$ref": "#/definitions/AWS::SSM::Association.InstanceAssociationOutputLocation" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "ScheduleExpression": { - "type": "string" - }, - "SyncCompliance": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::Association.Target" - }, - "type": "array" - }, - "WaitForSuccessTimeoutSeconds": { - "type": "number" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Association" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Association.InstanceAssociationOutputLocation": { - "additionalProperties": false, - "properties": { - "S3Location": { - "$ref": "#/definitions/AWS::SSM::Association.S3OutputLocation" - } - }, - "type": "object" - }, - "AWS::SSM::Association.S3OutputLocation": { - "additionalProperties": false, - "properties": { - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "OutputS3Region": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::Association.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::Document": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attachments": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.AttachmentsSource" - }, - "type": "array" - }, - "Content": { - "type": "object" - }, - "DocumentFormat": { - "type": "string" - }, - "DocumentType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Requires": { - "items": { - "$ref": "#/definitions/AWS::SSM::Document.DocumentRequires" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetType": { - "type": "string" - }, - "VersionName": { - "type": "string" - } - }, - "required": [ - "Content" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Document" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::Document.AttachmentsSource": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::Document.DocumentRequires": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowUnassociatedTargets": { - "type": "boolean" - }, - "Cutoff": { - "type": "number" - }, - "Description": { - "type": "string" - }, - "Duration": { - "type": "number" - }, - "EndDate": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Schedule": { - "type": "string" - }, - "ScheduleOffset": { - "type": "number" - }, - "ScheduleTimezone": { - "type": "string" - }, - "StartDate": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AllowUnassociatedTargets", - "Cutoff", - "Duration", - "Name", - "Schedule" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "OwnerInformation": { - "type": "string" - }, - "ResourceType": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget.Targets" - }, - "type": "array" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "ResourceType", - "Targets", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTarget" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTarget.Targets": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CutoffBehavior": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LoggingInfo": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.LoggingInfo" - }, - "MaxConcurrency": { - "type": "string" - }, - "MaxErrors": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ServiceRoleArn": { - "type": "string" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.Target" - }, - "type": "array" - }, - "TaskArn": { - "type": "string" - }, - "TaskInvocationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters" - }, - "TaskParameters": { - "type": "object" - }, - "TaskType": { - "type": "string" - }, - "WindowId": { - "type": "string" - } - }, - "required": [ - "Priority", - "TaskArn", - "TaskType", - "WindowId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::MaintenanceWindowTask" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.LoggingInfo": { - "additionalProperties": false, - "properties": { - "Region": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Prefix": { - "type": "string" - } - }, - "required": [ - "Region", - "S3Bucket" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters": { - "additionalProperties": false, - "properties": { - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters": { - "additionalProperties": false, - "properties": { - "ClientContext": { - "type": "string" - }, - "Payload": { - "type": "string" - }, - "Qualifier": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters": { - "additionalProperties": false, - "properties": { - "Comment": { - "type": "string" - }, - "DocumentHash": { - "type": "string" - }, - "DocumentHashType": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.NotificationConfig" - }, - "OutputS3BucketName": { - "type": "string" - }, - "OutputS3KeyPrefix": { - "type": "string" - }, - "Parameters": { - "type": "object" - }, - "ServiceRoleArn": { - "type": "string" - }, - "TimeoutSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.NotificationConfig": { - "additionalProperties": false, - "properties": { - "NotificationArn": { - "type": "string" - }, - "NotificationEvents": { - "items": { - "type": "string" - }, - "type": "array" - }, - "NotificationType": { - "type": "string" - } - }, - "required": [ - "NotificationArn" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.Target": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSM::MaintenanceWindowTask.TaskInvocationParameters": { - "additionalProperties": false, - "properties": { - "MaintenanceWindowAutomationParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowAutomationParameters" - }, - "MaintenanceWindowLambdaParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowLambdaParameters" - }, - "MaintenanceWindowRunCommandParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowRunCommandParameters" - }, - "MaintenanceWindowStepFunctionsParameters": { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask.MaintenanceWindowStepFunctionsParameters" - } - }, - "type": "object" - }, - "AWS::SSM::Parameter": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "DataType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Policies": { - "type": "string" - }, - "Tags": { - "type": "object" - }, - "Tier": { - "type": "string" - }, - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::Parameter" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ApprovalRules": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.RuleGroup" - }, - "ApprovedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ApprovedPatchesComplianceLevel": { - "type": "string" - }, - "ApprovedPatchesEnableNonSecurity": { - "type": "boolean" - }, - "Description": { - "type": "string" - }, - "GlobalFilters": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - }, - "Name": { - "type": "string" - }, - "OperatingSystem": { - "type": "string" - }, - "PatchGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "RejectedPatchesAction": { - "type": "string" - }, - "Sources": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchSource" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::PatchBaseline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchFilterGroup": { - "additionalProperties": false, - "properties": { - "PatchFilters": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilter" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchSource": { - "additionalProperties": false, - "properties": { - "Configuration": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Products": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.PatchStringDate": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::SSM::PatchBaseline.Rule": { - "additionalProperties": false, - "properties": { - "ApproveAfterDays": { - "type": "number" - }, - "ApproveUntilDate": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchStringDate" - }, - "ComplianceLevel": { - "type": "string" - }, - "EnableNonSecurity": { - "type": "boolean" - }, - "PatchFilterGroup": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.PatchFilterGroup" - } - }, - "type": "object" - }, - "AWS::SSM::PatchBaseline.RuleGroup": { - "additionalProperties": false, - "properties": { - "PatchRules": { - "items": { - "$ref": "#/definitions/AWS::SSM::PatchBaseline.Rule" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSM::ResourceDataSync": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "S3Destination": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.S3Destination" - }, - "SyncFormat": { - "type": "string" - }, - "SyncName": { - "type": "string" - }, - "SyncSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.SyncSource" - }, - "SyncType": { - "type": "string" - } - }, - "required": [ - "SyncName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSM::ResourceDataSync" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.AwsOrganizationsSource": { - "additionalProperties": false, - "properties": { - "OrganizationSourceType": { - "type": "string" - }, - "OrganizationalUnits": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "OrganizationSourceType" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.S3Destination": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "BucketPrefix": { - "type": "string" - }, - "BucketRegion": { - "type": "string" - }, - "KMSKeyArn": { - "type": "string" - }, - "SyncFormat": { - "type": "string" - } - }, - "required": [ - "BucketName", - "BucketRegion", - "SyncFormat" - ], - "type": "object" - }, - "AWS::SSM::ResourceDataSync.SyncSource": { - "additionalProperties": false, - "properties": { - "AwsOrganizationsSource": { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync.AwsOrganizationsSource" - }, - "IncludeFutureRegions": { - "type": "boolean" - }, - "SourceRegions": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SourceType": { - "type": "string" - } - }, - "required": [ - "SourceRegions", - "SourceType" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Alias": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "Plan": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Stage" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Alias", - "DisplayName", - "Plan", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::Contact" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ChannelTargetInfo": { - "additionalProperties": false, - "properties": { - "ChannelId": { - "type": "string" - }, - "RetryIntervalInMinutes": { - "type": "number" - } - }, - "required": [ - "ChannelId", - "RetryIntervalInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.ContactTargetInfo": { - "additionalProperties": false, - "properties": { - "ContactId": { - "type": "string" - }, - "IsEssential": { - "type": "boolean" - } - }, - "required": [ - "ContactId", - "IsEssential" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Stage": { - "additionalProperties": false, - "properties": { - "DurationInMinutes": { - "type": "number" - }, - "Targets": { - "items": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.Targets" - }, - "type": "array" - } - }, - "required": [ - "DurationInMinutes" - ], - "type": "object" - }, - "AWS::SSMContacts::Contact.Targets": { - "additionalProperties": false, - "properties": { - "ChannelTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ChannelTargetInfo" - }, - "ContactTargetInfo": { - "$ref": "#/definitions/AWS::SSMContacts::Contact.ContactTargetInfo" - } - }, - "type": "object" - }, - "AWS::SSMContacts::ContactChannel": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ChannelAddress": { - "type": "string" - }, - "ChannelName": { - "type": "string" - }, - "ChannelType": { - "type": "string" - }, - "ContactId": { - "type": "string" - }, - "DeferActivation": { - "type": "boolean" - } - }, - "required": [ - "ChannelAddress", - "ChannelName", - "ChannelType", - "ContactId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMContacts::ContactChannel" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeletionProtected": { - "type": "boolean" - }, - "Regions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.ReplicationRegion" - }, - "type": "array" - } - }, - "required": [ - "Regions" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ReplicationSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.RegionConfiguration": { - "additionalProperties": false, - "properties": { - "SseKmsKeyId": { - "type": "string" - } - }, - "required": [ - "SseKmsKeyId" - ], - "type": "object" - }, - "AWS::SSMIncidents::ReplicationSet.ReplicationRegion": { - "additionalProperties": false, - "properties": { - "RegionConfiguration": { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet.RegionConfiguration" - }, - "RegionName": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Actions": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.Action" - }, - "type": "array" - }, - "ChatChannel": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.ChatChannel" - }, - "DisplayName": { - "type": "string" - }, - "Engagements": { - "items": { - "type": "string" - }, - "type": "array" - }, - "IncidentTemplate": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.IncidentTemplate" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "IncidentTemplate", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSMIncidents::ResponsePlan" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.Action": { - "additionalProperties": false, - "properties": { - "SsmAutomation": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmAutomation" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.ChatChannel": { - "additionalProperties": false, - "properties": { - "ChatbotSns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.IncidentTemplate": { - "additionalProperties": false, - "properties": { - "DedupeString": { - "type": "string" - }, - "Impact": { - "type": "number" - }, - "NotificationTargets": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.NotificationTargetItem" - }, - "type": "array" - }, - "Summary": { - "type": "string" - }, - "Title": { - "type": "string" - } - }, - "required": [ - "Impact", - "Title" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.NotificationTargetItem": { - "additionalProperties": false, - "properties": { - "SnsTopicArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmAutomation": { - "additionalProperties": false, - "properties": { - "DocumentName": { - "type": "string" - }, - "DocumentVersion": { - "type": "string" - }, - "Parameters": { - "items": { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan.SsmParameter" - }, - "type": "array" - }, - "RoleArn": { - "type": "string" - }, - "TargetAccount": { - "type": "string" - } - }, - "required": [ - "DocumentName", - "RoleArn" - ], - "type": "object" - }, - "AWS::SSMIncidents::ResponsePlan.SsmParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Values": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Key", - "Values" - ], - "type": "object" - }, - "AWS::SSO::Assignment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceArn": { - "type": "string" - }, - "PermissionSetArn": { - "type": "string" - }, - "PrincipalId": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "InstanceArn", - "PermissionSetArn", - "PrincipalId", - "PrincipalType", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::Assignment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessControlAttributes": { - "items": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute" - }, - "type": "array" - }, - "InstanceArn": { - "type": "string" - } - }, - "required": [ - "InstanceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::InstanceAccessControlAttributeConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttribute": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::SSO::InstanceAccessControlAttributeConfiguration.AccessControlAttributeValue": { - "additionalProperties": false, - "properties": { - "Source": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Source" - ], - "type": "object" - }, - "AWS::SSO::PermissionSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "InlinePolicy": { - "type": "object" - }, - "InstanceArn": { - "type": "string" - }, - "ManagedPolicies": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "RelayStateType": { - "type": "string" - }, - "SessionDuration": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "InstanceArn", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SSO::PermissionSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppName": { - "type": "string" - }, - "AppType": { - "type": "string" - }, - "DomainId": { - "type": "string" - }, - "ResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::App.ResourceSpec" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - } - }, - "required": [ - "AppName", - "AppType", - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::App" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::App.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "KernelGatewayImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AppImageConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::AppImageConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "DefaultGid": { - "type": "number" - }, - "DefaultUid": { - "type": "number" - }, - "MountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelGatewayImageConfig": { - "additionalProperties": false, - "properties": { - "FileSystemConfig": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.FileSystemConfig" - }, - "KernelSpecs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig.KernelSpec" - }, - "type": "array" - } - }, - "required": [ - "KernelSpecs" - ], - "type": "object" - }, - "AWS::SageMaker::AppImageConfig.KernelSpec": { - "additionalProperties": false, - "properties": { - "DisplayName": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CodeRepositoryName": { - "type": "string" - }, - "GitConfig": { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository.GitConfig" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "GitConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::CodeRepository" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::CodeRepository.GitConfig": { - "additionalProperties": false, - "properties": { - "Branch": { - "type": "string" - }, - "RepositoryUrl": { - "type": "string" - }, - "SecretArn": { - "type": "string" - } - }, - "required": [ - "RepositoryUrl" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DataQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification" - }, - "DataQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig" - }, - "DataQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput" - }, - "DataQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig" - }, - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DataQualityAppSpecification", - "DataQualityJobInput", - "DataQualityJobOutputConfig", - "JobResources", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DataQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.DataQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::DataQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::Device": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Device": { - "type": "object" - }, - "DeviceFleetName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Device" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Device.Device": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceName": { - "type": "string" - }, - "IotThingName": { - "type": "string" - } - }, - "required": [ - "DeviceName" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DeviceFleetName": { - "type": "string" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet.EdgeOutputConfig" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DeviceFleetName", - "OutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::DeviceFleet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::DeviceFleet.EdgeOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "S3OutputLocation": { - "type": "string" - } - }, - "required": [ - "S3OutputLocation" - ], - "type": "object" - }, - "AWS::SageMaker::Domain": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AppNetworkAccessType": { - "type": "string" - }, - "AuthMode": { - "type": "string" - }, - "DefaultUserSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.UserSettings" - }, - "DomainName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "AuthMode", - "DefaultUserSettings", - "DomainName", - "SubnetIds", - "VpcId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Domain" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::Domain.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Domain.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::Domain.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Domain.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::Domain.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Endpoint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DeploymentConfig": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.DeploymentConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "ExcludeRetainedVariantProperties": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.VariantProperty" - }, - "type": "array" - }, - "RetainAllVariantProperties": { - "type": "boolean" - }, - "RetainDeploymentConfig": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EndpointConfigName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Endpoint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.Alarm": { - "additionalProperties": false, - "properties": { - "AlarmName": { - "type": "string" - } - }, - "required": [ - "AlarmName" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.AutoRollbackConfig": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.Alarm" - }, - "type": "array" - } - }, - "required": [ - "Alarms" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy": { - "additionalProperties": false, - "properties": { - "MaximumExecutionTimeoutInSeconds": { - "type": "number" - }, - "TerminationWaitInSeconds": { - "type": "number" - }, - "TrafficRoutingConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.TrafficRoutingConfig" - } - }, - "required": [ - "TrafficRoutingConfiguration" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.CapacitySize": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.DeploymentConfig": { - "additionalProperties": false, - "properties": { - "AutoRollbackConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.AutoRollbackConfig" - }, - "BlueGreenUpdatePolicy": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.BlueGreenUpdatePolicy" - } - }, - "required": [ - "BlueGreenUpdatePolicy" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.TrafficRoutingConfig": { - "additionalProperties": false, - "properties": { - "CanarySize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "LinearStepSize": { - "$ref": "#/definitions/AWS::SageMaker::Endpoint.CapacitySize" - }, - "Type": { - "type": "string" - }, - "WaitIntervalInSeconds": { - "type": "number" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Endpoint.VariantProperty": { - "additionalProperties": false, - "properties": { - "VariantPropertyType": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AsyncInferenceConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceConfig" - }, - "DataCaptureConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.DataCaptureConfig" - }, - "EndpointConfigName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "ProductionVariants": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ProductionVariant" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProductionVariants" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::EndpointConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrentInvocationsPerInstance": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceConfig": { - "additionalProperties": false, - "properties": { - "ClientConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceClientConfig" - }, - "OutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig" - } - }, - "required": [ - "OutputConfig" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig": { - "additionalProperties": false, - "properties": { - "ErrorTopic": { - "type": "string" - }, - "SuccessTopic": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.AsyncInferenceOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "NotificationConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.AsyncInferenceNotificationConfig" - }, - "S3OutputPath": { - "type": "string" - } - }, - "required": [ - "S3OutputPath" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader": { - "additionalProperties": false, - "properties": { - "CsvContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "JsonContentTypes": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.CaptureOption": { - "additionalProperties": false, - "properties": { - "CaptureMode": { - "type": "string" - } - }, - "required": [ - "CaptureMode" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.DataCaptureConfig": { - "additionalProperties": false, - "properties": { - "CaptureContentTypeHeader": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureContentTypeHeader" - }, - "CaptureOptions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.CaptureOption" - }, - "type": "array" - }, - "DestinationS3Uri": { - "type": "string" - }, - "EnableCapture": { - "type": "boolean" - }, - "InitialSamplingPercentage": { - "type": "number" - }, - "KmsKeyId": { - "type": "string" - } - }, - "required": [ - "CaptureOptions", - "DestinationS3Uri", - "InitialSamplingPercentage" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ProductionVariant": { - "additionalProperties": false, - "properties": { - "AcceleratorType": { - "type": "string" - }, - "InitialInstanceCount": { - "type": "number" - }, - "InitialVariantWeight": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "ModelName": { - "type": "string" - }, - "ServerlessConfig": { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig.ServerlessConfig" - }, - "VariantName": { - "type": "string" - } - }, - "required": [ - "InitialVariantWeight", - "ModelName", - "VariantName" - ], - "type": "object" - }, - "AWS::SageMaker::EndpointConfig.ServerlessConfig": { - "additionalProperties": false, - "properties": { - "MaxConcurrency": { - "type": "number" - }, - "MemorySizeInMB": { - "type": "number" - } - }, - "required": [ - "MaxConcurrency", - "MemorySizeInMB" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "EventTimeFeatureName": { - "type": "string" - }, - "FeatureDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup.FeatureDefinition" - }, - "type": "array" - }, - "FeatureGroupName": { - "type": "string" - }, - "OfflineStoreConfig": { - "type": "object" - }, - "OnlineStoreConfig": { - "type": "object" - }, - "RecordIdentifierFeatureName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "EventTimeFeatureName", - "FeatureDefinitions", - "FeatureGroupName", - "RecordIdentifierFeatureName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::FeatureGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::FeatureGroup.FeatureDefinition": { - "additionalProperties": false, - "properties": { - "FeatureName": { - "type": "string" - }, - "FeatureType": { - "type": "string" - } - }, - "required": [ - "FeatureName", - "FeatureType" - ], - "type": "object" - }, - "AWS::SageMaker::Image": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ImageDescription": { - "type": "string" - }, - "ImageDisplayName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageRoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ImageName", - "ImageRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Image" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ImageVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BaseImage": { - "type": "string" - }, - "ImageName": { - "type": "string" - } - }, - "required": [ - "BaseImage", - "ImageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ImageVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Containers": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "type": "array" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "InferenceExecutionConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.InferenceExecutionConfig" - }, - "ModelName": { - "type": "string" - }, - "PrimaryContainer": { - "$ref": "#/definitions/AWS::SageMaker::Model.ContainerDefinition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.VpcConfig" - } - }, - "required": [ - "ExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Model" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Model.ContainerDefinition": { - "additionalProperties": false, - "properties": { - "ContainerHostname": { - "type": "string" - }, - "Environment": { - "type": "object" - }, - "Image": { - "type": "string" - }, - "ImageConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.ImageConfig" - }, - "InferenceSpecificationName": { - "type": "string" - }, - "Mode": { - "type": "string" - }, - "ModelDataUrl": { - "type": "string" - }, - "ModelPackageName": { - "type": "string" - }, - "MultiModelConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.MultiModelConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.ImageConfig": { - "additionalProperties": false, - "properties": { - "RepositoryAccessMode": { - "type": "string" - }, - "RepositoryAuthConfig": { - "$ref": "#/definitions/AWS::SageMaker::Model.RepositoryAuthConfig" - } - }, - "required": [ - "RepositoryAccessMode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.InferenceExecutionConfig": { - "additionalProperties": false, - "properties": { - "Mode": { - "type": "string" - } - }, - "required": [ - "Mode" - ], - "type": "object" - }, - "AWS::SageMaker::Model.MultiModelConfig": { - "additionalProperties": false, - "properties": { - "ModelCacheSetting": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Model.RepositoryAuthConfig": { - "additionalProperties": false, - "properties": { - "RepositoryCredentialsProviderArn": { - "type": "string" - } - }, - "required": [ - "RepositoryCredentialsProviderArn" - ], - "type": "object" - }, - "AWS::SageMaker::Model.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources" - }, - "ModelBiasAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification" - }, - "ModelBiasBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig" - }, - "ModelBiasJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput" - }, - "ModelBiasJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelBiasAppSpecification", - "ModelBiasJobInput", - "ModelBiasJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelBiasJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelBiasJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources" - }, - "ModelExplainabilityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification" - }, - "ModelExplainabilityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig" - }, - "ModelExplainabilityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput" - }, - "ModelExplainabilityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelExplainabilityAppSpecification", - "ModelExplainabilityJobInput", - "ModelExplainabilityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelExplainabilityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FeaturesAttribute": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityAppSpecification": { - "additionalProperties": false, - "properties": { - "ConfigUri": { - "type": "string" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - } - }, - "required": [ - "ConfigUri", - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelExplainabilityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::ModelPackageGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ModelPackageGroupDescription": { - "type": "string" - }, - "ModelPackageGroupName": { - "type": "string" - }, - "ModelPackageGroupPolicy": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ModelPackageGroupName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelPackageGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "JobDefinitionName": { - "type": "string" - }, - "JobResources": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources" - }, - "ModelQualityAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification" - }, - "ModelQualityBaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig" - }, - "ModelQualityJobInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput" - }, - "ModelQualityJobOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "JobResources", - "ModelQualityAppSpecification", - "ModelQualityJobInput", - "ModelQualityJobOutputConfig", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::ModelQualityJobDefinition" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndTimeOffset": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "InferenceAttribute": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "ProbabilityAttribute": { - "type": "string" - }, - "ProbabilityThresholdAttribute": { - "type": "number" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - }, - "StartTimeOffset": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "ProblemType": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri", - "ProblemType" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityBaselineConfig": { - "additionalProperties": false, - "properties": { - "BaseliningJobName": { - "type": "string" - }, - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ConstraintsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.EndpointInput" - }, - "GroundTruthS3Input": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input" - } - }, - "required": [ - "EndpointInput", - "GroundTruthS3Input" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringGroundTruthS3Input": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "required": [ - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::ModelQualityJobDefinition.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastMonitoringExecutionSummary": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary" - }, - "MonitoringScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "MonitoringScheduleStatus": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "MonitoringScheduleConfig", - "MonitoringScheduleName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::MonitoringSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.BaselineConfig": { - "additionalProperties": false, - "properties": { - "ConstraintsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ConstraintsResource" - }, - "StatisticsResource": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StatisticsResource" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ClusterConfig": { - "additionalProperties": false, - "properties": { - "InstanceCount": { - "type": "number" - }, - "InstanceType": { - "type": "string" - }, - "VolumeKmsKeyId": { - "type": "string" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceCount", - "InstanceType", - "VolumeSizeInGB" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ConstraintsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.EndpointInput": { - "additionalProperties": false, - "properties": { - "EndpointName": { - "type": "string" - }, - "LocalPath": { - "type": "string" - }, - "S3DataDistributionType": { - "type": "string" - }, - "S3InputMode": { - "type": "string" - } - }, - "required": [ - "EndpointName", - "LocalPath" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification": { - "additionalProperties": false, - "properties": { - "ContainerArguments": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContainerEntrypoint": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ImageUri": { - "type": "string" - }, - "PostAnalyticsProcessorSourceUri": { - "type": "string" - }, - "RecordPreprocessorSourceUri": { - "type": "string" - } - }, - "required": [ - "ImageUri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringExecutionSummary": { - "additionalProperties": false, - "properties": { - "CreationTime": { - "type": "string" - }, - "EndpointName": { - "type": "string" - }, - "FailureReason": { - "type": "string" - }, - "LastModifiedTime": { - "type": "string" - }, - "MonitoringExecutionStatus": { - "type": "string" - }, - "MonitoringScheduleName": { - "type": "string" - }, - "ProcessingJobArn": { - "type": "string" - }, - "ScheduledTime": { - "type": "string" - } - }, - "required": [ - "CreationTime", - "LastModifiedTime", - "MonitoringExecutionStatus", - "MonitoringScheduleName", - "ScheduledTime" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringInput": { - "additionalProperties": false, - "properties": { - "EndpointInput": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.EndpointInput" - } - }, - "required": [ - "EndpointInput" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition": { - "additionalProperties": false, - "properties": { - "BaselineConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.BaselineConfig" - }, - "Environment": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MonitoringAppSpecification": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringAppSpecification" - }, - "MonitoringInputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringInput" - }, - "type": "array" - }, - "MonitoringOutputConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig" - }, - "MonitoringResources": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringResources" - }, - "NetworkConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.NetworkConfig" - }, - "RoleArn": { - "type": "string" - }, - "StoppingCondition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.StoppingCondition" - } - }, - "required": [ - "MonitoringAppSpecification", - "MonitoringInputs", - "MonitoringOutputConfig", - "MonitoringResources", - "RoleArn" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutput": { - "additionalProperties": false, - "properties": { - "S3Output": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.S3Output" - } - }, - "required": [ - "S3Output" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringOutputConfig": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "MonitoringOutputs": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringOutput" - }, - "type": "array" - } - }, - "required": [ - "MonitoringOutputs" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringResources": { - "additionalProperties": false, - "properties": { - "ClusterConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ClusterConfig" - } - }, - "required": [ - "ClusterConfig" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.MonitoringScheduleConfig": { - "additionalProperties": false, - "properties": { - "MonitoringJobDefinition": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.MonitoringJobDefinition" - }, - "MonitoringJobDefinitionName": { - "type": "string" - }, - "MonitoringType": { - "type": "string" - }, - "ScheduleConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.ScheduleConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.NetworkConfig": { - "additionalProperties": false, - "properties": { - "EnableInterContainerTrafficEncryption": { - "type": "boolean" - }, - "EnableNetworkIsolation": { - "type": "boolean" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule.VpcConfig" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.S3Output": { - "additionalProperties": false, - "properties": { - "LocalPath": { - "type": "string" - }, - "S3UploadMode": { - "type": "string" - }, - "S3Uri": { - "type": "string" - } - }, - "required": [ - "LocalPath", - "S3Uri" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.ScheduleConfig": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StatisticsResource": { - "additionalProperties": false, - "properties": { - "S3Uri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.StoppingCondition": { - "additionalProperties": false, - "properties": { - "MaxRuntimeInSeconds": { - "type": "number" - } - }, - "required": [ - "MaxRuntimeInSeconds" - ], - "type": "object" - }, - "AWS::SageMaker::MonitoringSchedule.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Subnets": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "Subnets" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceleratorTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdditionalCodeRepositories": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DefaultCodeRepository": { - "type": "string" - }, - "DirectInternetAccess": { - "type": "string" - }, - "InstanceType": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "LifecycleConfigName": { - "type": "string" - }, - "NotebookInstanceName": { - "type": "string" - }, - "PlatformIdentifier": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "RootAccess": { - "type": "string" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VolumeSizeInGB": { - "type": "number" - } - }, - "required": [ - "InstanceType", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "NotebookInstanceLifecycleConfigName": { - "type": "string" - }, - "OnCreate": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - }, - "OnStart": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::NotebookInstanceLifecycleConfig" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHook": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::Pipeline": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PipelineDefinition": { - "type": "object" - }, - "PipelineDescription": { - "type": "string" - }, - "PipelineDisplayName": { - "type": "string" - }, - "PipelineName": { - "type": "string" - }, - "RoleArn": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PipelineDefinition", - "PipelineName", - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Pipeline" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::Project": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProjectDescription": { - "type": "string" - }, - "ProjectName": { - "type": "string" - }, - "ServiceCatalogProvisioningDetails": { - "type": "object" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ProjectName", - "ServiceCatalogProvisioningDetails" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Project" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DomainId": { - "type": "string" - }, - "SingleSignOnUserIdentifier": { - "type": "string" - }, - "SingleSignOnUserValue": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserProfileName": { - "type": "string" - }, - "UserSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.UserSettings" - } - }, - "required": [ - "DomainId", - "UserProfileName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::UserProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.CustomImage": { - "additionalProperties": false, - "properties": { - "AppImageConfigName": { - "type": "string" - }, - "ImageName": { - "type": "string" - }, - "ImageVersionNumber": { - "type": "number" - } - }, - "required": [ - "AppImageConfigName", - "ImageName" - ], - "type": "object" - }, - "AWS::SageMaker::UserProfile.JupyterServerAppSettings": { - "additionalProperties": false, - "properties": { - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.KernelGatewayAppSettings": { - "additionalProperties": false, - "properties": { - "CustomImages": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.CustomImage" - }, - "type": "array" - }, - "DefaultResourceSpec": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.ResourceSpec" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.ResourceSpec": { - "additionalProperties": false, - "properties": { - "InstanceType": { - "type": "string" - }, - "SageMakerImageArn": { - "type": "string" - }, - "SageMakerImageVersionArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.SharingSettings": { - "additionalProperties": false, - "properties": { - "NotebookOutputOption": { - "type": "string" - }, - "S3KmsKeyId": { - "type": "string" - }, - "S3OutputPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SageMaker::UserProfile.UserSettings": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "JupyterServerAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.JupyterServerAppSettings" - }, - "KernelGatewayAppSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.KernelGatewayAppSettings" - }, - "SecurityGroups": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SharingSettings": { - "$ref": "#/definitions/AWS::SageMaker::UserProfile.SharingSettings" - } - }, - "type": "object" - }, - "AWS::SageMaker::Workteam": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "MemberDefinitions": { - "items": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.MemberDefinition" - }, - "type": "array" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.NotificationConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkteamName": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SageMaker::Workteam" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.CognitoMemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoClientId": { - "type": "string" - }, - "CognitoUserGroup": { - "type": "string" - }, - "CognitoUserPool": { - "type": "string" - } - }, - "required": [ - "CognitoClientId", - "CognitoUserGroup", - "CognitoUserPool" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.MemberDefinition": { - "additionalProperties": false, - "properties": { - "CognitoMemberDefinition": { - "$ref": "#/definitions/AWS::SageMaker::Workteam.CognitoMemberDefinition" - } - }, - "required": [ - "CognitoMemberDefinition" - ], - "type": "object" - }, - "AWS::SageMaker::Workteam.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "NotificationTopicArn": { - "type": "string" - } - }, - "required": [ - "NotificationTopicArn" - ], - "type": "object" - }, - "AWS::SecretsManager::ResourcePolicy": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BlockPublicPolicy": { - "type": "boolean" - }, - "ResourcePolicy": { - "type": "object" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "ResourcePolicy", - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::ResourcePolicy" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HostedRotationLambda": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.HostedRotationLambda" - }, - "RotationLambdaARN": { - "type": "string" - }, - "RotationRules": { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule.RotationRules" - }, - "SecretId": { - "type": "string" - } - }, - "required": [ - "SecretId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::RotationSchedule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.HostedRotationLambda": { - "additionalProperties": false, - "properties": { - "KmsKeyArn": { - "type": "string" - }, - "MasterSecretArn": { - "type": "string" - }, - "MasterSecretKmsKeyArn": { - "type": "string" - }, - "RotationLambdaName": { - "type": "string" - }, - "RotationType": { - "type": "string" - }, - "SuperuserSecretArn": { - "type": "string" - }, - "SuperuserSecretKmsKeyArn": { - "type": "string" - }, - "VpcSecurityGroupIds": { - "type": "string" - }, - "VpcSubnetIds": { - "type": "string" - } - }, - "required": [ - "RotationType" - ], - "type": "object" - }, - "AWS::SecretsManager::RotationSchedule.RotationRules": { - "additionalProperties": false, - "properties": { - "AutomaticallyAfterDays": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "GenerateSecretString": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.GenerateSecretString" - }, - "KmsKeyId": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ReplicaRegions": { - "items": { - "$ref": "#/definitions/AWS::SecretsManager::Secret.ReplicaRegion" - }, - "type": "array" - }, - "SecretString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::Secret" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::SecretsManager::Secret.GenerateSecretString": { - "additionalProperties": false, - "properties": { - "ExcludeCharacters": { - "type": "string" - }, - "ExcludeLowercase": { - "type": "boolean" - }, - "ExcludeNumbers": { - "type": "boolean" - }, - "ExcludePunctuation": { - "type": "boolean" - }, - "ExcludeUppercase": { - "type": "boolean" - }, - "GenerateStringKey": { - "type": "string" - }, - "IncludeSpace": { - "type": "boolean" - }, - "PasswordLength": { - "type": "number" - }, - "RequireEachIncludedType": { - "type": "boolean" - }, - "SecretStringTemplate": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::SecretsManager::Secret.ReplicaRegion": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - }, - "Region": { - "type": "string" - } - }, - "required": [ - "Region" - ], - "type": "object" - }, - "AWS::SecretsManager::SecretTargetAttachment": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "SecretId": { - "type": "string" - }, - "TargetId": { - "type": "string" - }, - "TargetType": { - "type": "string" - } - }, - "required": [ - "SecretId", - "TargetId", - "TargetType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecretsManager::SecretTargetAttachment" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::SecurityHub::Hub": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Tags": { - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::SecurityHub::Hub" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Api": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AccessLogSetting": { - "$ref": "#/definitions/AWS::Serverless::Api.AccessLogSetting" - }, - "Auth": { - "$ref": "#/definitions/AWS::Serverless::Api.Auth" - }, - "BinaryMediaTypes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "CacheClusterEnabled": { - "type": "boolean" - }, - "CacheClusterSize": { - "type": "string" - }, - "Cors": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Api.CorsConfiguration" - } - ] - }, - "DefinitionBody": { - "type": "object" - }, - "DefinitionUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Api.S3Location" - } - ] - }, - "EndpointConfiguration": { - "type": "string" - }, - "MethodSettings": { - "items": { - "type": "object" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "OpenApiVersion": { - "type": "string" - }, - "StageName": { - "type": "string" - }, - "TracingEnabled": { - "type": "boolean" - }, - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "StageName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Api" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Api.AccessLogSetting": { - "additionalProperties": false, - "properties": { - "DestinationArn": { - "type": "string" - }, - "Format": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Api.Auth": { - "additionalProperties": false, - "properties": { - "Authorizers": { - "type": "object" - }, - "DefaultAuthorizer": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Api.CorsConfiguration": { - "additionalProperties": false, - "properties": { - "AllowCredentials": { - "type": "boolean" - }, - "AllowHeaders": { - "type": "string" - }, - "AllowMethods": { - "type": "string" - }, - "AllowOrigin": { - "type": "string" - }, - "MaxAge": { - "type": "string" - } - }, - "required": [ - "AllowOrigin" - ], - "type": "object" - }, - "AWS::Serverless::Api.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key", - "Version" - ], - "type": "object" - }, - "AWS::Serverless::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Location": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Application.ApplicationLocation" - } - ] - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Parameters": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "TimeoutInMinutes": { - "type": "number" - } - }, - "required": [ - "Location" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Application.ApplicationLocation": { - "additionalProperties": false, - "properties": { - "ApplicationId": { - "type": "string" - }, - "SemanticVersion": { - "type": "string" - } - }, - "required": [ - "ApplicationId", - "SemanticVersion" - ], - "type": "object" - }, - "AWS::Serverless::Function": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AutoPublishAlias": { - "type": "string" - }, - "CodeUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.S3Location" - } - ] - }, - "DeadLetterQueue": { - "$ref": "#/definitions/AWS::Serverless::Function.DeadLetterQueue" - }, - "DeploymentPreference": { - "$ref": "#/definitions/AWS::Serverless::Function.DeploymentPreference" - }, - "Description": { - "type": "string" - }, - "Environment": { - "$ref": "#/definitions/AWS::Serverless::Function.FunctionEnvironment" - }, - "Events": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Serverless::Function.EventSource" - } - }, - "type": "object" - }, - "FileSystemConfigs": { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.FileSystemConfig" - }, - "type": "array" - }, - "FunctionName": { - "type": "string" - }, - "Handler": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - }, - "Layers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "MemorySize": { - "type": "number" - }, - "PermissionsBoundary": { - "type": "string" - }, - "Policies": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.IAMPolicyDocument" - }, - "type": "array" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.SAMPolicyTemplate" - }, - "type": "array" - } - ] - }, - "ReservedConcurrentExecutions": { - "type": "number" - }, - "Role": { - "type": "string" - }, - "Runtime": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Timeout": { - "type": "number" - }, - "Tracing": { - "type": "string" - }, - "VpcConfig": { - "$ref": "#/definitions/AWS::Serverless::Function.VpcConfig" - } - }, - "required": [ - "CodeUri", - "Handler", - "Runtime" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::Function" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Serverless::Function.AlexaSkillEvent": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.ApiEvent": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "Method", - "Path" - ], - "type": "object" - }, - "AWS::Serverless::Function.BucketSAMPT": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Serverless::Function.CloudWatchEventEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::Function.CloudWatchLogsEvent": { - "additionalProperties": false, - "properties": { - "FilterPattern": { - "type": "string" - }, - "LogGroupName": { - "type": "string" - } - }, - "required": [ - "FilterPattern", - "LogGroupName" - ], - "type": "object" - }, - "AWS::Serverless::Function.CollectionSAMPT": { - "additionalProperties": false, - "properties": { - "CollectionId": { - "type": "string" - } - }, - "required": [ - "CollectionId" - ], - "type": "object" - }, - "AWS::Serverless::Function.DeadLetterQueue": { - "additionalProperties": false, - "properties": { - "TargetArn": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TargetArn", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Function.DeploymentPreference": { - "additionalProperties": false, - "properties": { - "Alarms": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Enabled": { - "type": "boolean" - }, - "Hooks": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Role": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.DestinationConfig": { - "additionalProperties": false, - "properties": { - "OnFailure": { - "$ref": "#/definitions/AWS::Serverless::Function.OnFailure" - } - }, - "required": [ - "OnFailure" - ], - "type": "object" - }, - "AWS::Serverless::Function.DomainSAMPT": { - "additionalProperties": false, - "properties": { - "DomainName": { - "type": "string" - } - }, - "required": [ - "DomainName" - ], - "type": "object" - }, - "AWS::Serverless::Function.DynamoDBEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "BisectBatchOnFunctionError": { - "type": "boolean" - }, - "DestinationConfig": { - "$ref": "#/definitions/AWS::Serverless::Function.DestinationConfig" - }, - "Enabled": { - "type": "boolean" - }, - "MaximumBatchingWindowInSeconds": { - "type": "number" - }, - "MaximumRecordAgeInSeconds": { - "type": "number" - }, - "MaximumRetryAttempts": { - "type": "number" - }, - "ParallelizationFactor": { - "type": "number" - }, - "StartingPosition": { - "type": "string" - }, - "Stream": { - "type": "string" - } - }, - "required": [ - "StartingPosition", - "Stream" - ], - "type": "object" - }, - "AWS::Serverless::Function.EmptySAMPT": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Serverless::Function.EventBridgeRuleEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::Function.EventSource": { - "additionalProperties": false, - "properties": { - "Properties": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::Serverless::Function.S3Event" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.SNSEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.SQSEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.KinesisEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.DynamoDBEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.ApiEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.ScheduleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchEventEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.CloudWatchLogsEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.IoTRuleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.AlexaSkillEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::Function.EventBridgeRuleEvent" - } - ] - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Properties", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::Function.FileSystemConfig": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "LocalMountPath": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.FunctionEnvironment": { - "additionalProperties": false, - "properties": { - "Variables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Variables" - ], - "type": "object" - }, - "AWS::Serverless::Function.FunctionSAMPT": { - "additionalProperties": false, - "properties": { - "FunctionName": { - "type": "string" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "AWS::Serverless::Function.IAMPolicyDocument": { - "additionalProperties": false, - "properties": { - "Statement": { - "type": "object" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::Serverless::Function.IdentitySAMPT": { - "additionalProperties": false, - "properties": { - "IdentityName": { - "type": "string" - } - }, - "required": [ - "IdentityName" - ], - "type": "object" - }, - "AWS::Serverless::Function.IoTRuleEvent": { - "additionalProperties": false, - "properties": { - "AwsIotSqlVersion": { - "type": "string" - }, - "Sql": { - "type": "string" - } - }, - "required": [ - "Sql" - ], - "type": "object" - }, - "AWS::Serverless::Function.KeySAMPT": { - "additionalProperties": false, - "properties": { - "KeyId": { - "type": "string" - } - }, - "required": [ - "KeyId" - ], - "type": "object" - }, - "AWS::Serverless::Function.KinesisEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "StartingPosition": { - "type": "string" - }, - "Stream": { - "type": "string" - } - }, - "required": [ - "StartingPosition", - "Stream" - ], - "type": "object" - }, - "AWS::Serverless::Function.LogGroupSAMPT": { - "additionalProperties": false, - "properties": { - "LogGroupName": { - "type": "string" - } - }, - "required": [ - "LogGroupName" - ], - "type": "object" - }, - "AWS::Serverless::Function.OnFailure": { - "additionalProperties": false, - "properties": { - "Destination": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Destination" - ], - "type": "object" - }, - "AWS::Serverless::Function.QueueSAMPT": { - "additionalProperties": false, - "properties": { - "QueueName": { - "type": "string" - } - }, - "required": [ - "QueueName" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3Event": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Events": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - } - ] - }, - "Filter": { - "$ref": "#/definitions/AWS::Serverless::Function.S3NotificationFilter" - } - }, - "required": [ - "Bucket", - "Events" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3KeyFilter": { - "additionalProperties": false, - "properties": { - "Rules": { - "items": { - "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilterRule" - }, - "type": "array" - } - }, - "required": [ - "Rules" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3KeyFilterRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Serverless::Function.S3NotificationFilter": { - "additionalProperties": false, - "properties": { - "S3Key": { - "$ref": "#/definitions/AWS::Serverless::Function.S3KeyFilter" - } - }, - "required": [ - "S3Key" - ], - "type": "object" - }, - "AWS::Serverless::Function.SAMPolicyTemplate": { - "additionalProperties": false, - "properties": { - "AMIDescribePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "CloudFormationDescribeStacksPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "CloudWatchPutMetricPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "DynamoDBCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" - }, - "DynamoDBReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableSAMPT" - }, - "DynamoDBStreamReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TableStreamSAMPT" - }, - "EC2DescribePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "ElasticsearchHttpPostPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.DomainSAMPT" - }, - "FilterLogEventsPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.LogGroupSAMPT" - }, - "KMSDecryptPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.KeySAMPT" - }, - "KinesisCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" - }, - "KinesisStreamReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StreamSAMPT" - }, - "LambdaInvokePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.FunctionSAMPT" - }, - "RekognitionDetectOnlyPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "RekognitionLabelsPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "RekognitionNoDataAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "RekognitionReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "RekognitionWriteOnlyAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.CollectionSAMPT" - }, - "S3CrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" - }, - "S3ReadPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.BucketSAMPT" - }, - "SESBulkTemplatedCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SESCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SESEmailTemplateCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - }, - "SESSendBouncePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.IdentitySAMPT" - }, - "SNSCrudPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" - }, - "SNSPublishMessagePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.TopicSAMPT" - }, - "SQSPollerPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" - }, - "SQSSendMessagePolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.QueueSAMPT" - }, - "StepFunctionsExecutionPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.StateMachineSAMPT" - }, - "VPCAccessPolicy": { - "$ref": "#/definitions/AWS::Serverless::Function.EmptySAMPT" - } - }, - "type": "object" - }, - "AWS::Serverless::Function.SNSEvent": { - "additionalProperties": false, - "properties": { - "Topic": { - "type": "string" - } - }, - "required": [ - "Topic" - ], - "type": "object" - }, - "AWS::Serverless::Function.SQSEvent": { - "additionalProperties": false, - "properties": { - "BatchSize": { - "type": "number" - }, - "Enabled": { - "type": "boolean" - }, - "Queue": { - "type": "string" - } - }, - "required": [ - "Queue" - ], - "type": "object" - }, - "AWS::Serverless::Function.ScheduleEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Schedule": { - "type": "string" - } - }, - "required": [ - "Schedule" - ], - "type": "object" - }, - "AWS::Serverless::Function.StateMachineSAMPT": { - "additionalProperties": false, - "properties": { - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "StateMachineName" - ], - "type": "object" - }, - "AWS::Serverless::Function.StreamSAMPT": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - } - }, - "required": [ - "StreamName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TableSAMPT": { - "additionalProperties": false, - "properties": { - "TableName": { - "type": "string" - } - }, - "required": [ - "TableName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TableStreamSAMPT": { - "additionalProperties": false, - "properties": { - "StreamName": { - "type": "string" - }, - "TableName": { - "type": "string" - } - }, - "required": [ - "StreamName", - "TableName" - ], - "type": "object" - }, - "AWS::Serverless::Function.TopicSAMPT": { - "additionalProperties": false, - "properties": { - "TopicName": { - "type": "string" - } - }, - "required": [ - "TopicName" - ], - "type": "object" - }, - "AWS::Serverless::Function.VpcConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Serverless::LayerVersion": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CompatibleRuntimes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ContentUri": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LayerName": { - "type": "string" - }, - "LicenseInfo": { - "type": "string" - }, - "RetentionPolicy": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::LayerVersion" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PrimaryKey": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.PrimaryKey" - }, - "ProvisionedThroughput": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.ProvisionedThroughput" - }, - "SSESpecification": { - "$ref": "#/definitions/AWS::Serverless::SimpleTable.SSESpecification" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::SimpleTable" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.PrimaryKey": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.ProvisionedThroughput": { - "additionalProperties": false, - "properties": { - "ReadCapacityUnits": { - "type": "number" - }, - "WriteCapacityUnits": { - "type": "number" - } - }, - "required": [ - "WriteCapacityUnits" - ], - "type": "object" - }, - "AWS::Serverless::SimpleTable.SSESpecification": { - "additionalProperties": false, - "properties": { - "SSEEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Serverless::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "type": "object" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "DefinitionUri": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.S3Location" - } - ] - }, - "Events": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.EventSource" - } - }, - "type": "object" - }, - "Logging": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.LoggingConfiguration" - }, - "Name": { - "type": "string" - }, - "Policies": { - "anyOf": [ - { - "type": [ - "string" - ] - }, - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.IAMPolicyDocument" - }, - "type": "array" - }, - { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.SAMPolicyTemplate" - }, - "type": "array" - } - ] - }, - "Role": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Serverless::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.ApiEvent": { - "additionalProperties": false, - "properties": { - "Method": { - "type": "string" - }, - "Path": { - "type": "string" - }, - "RestApiId": { - "type": "string" - } - }, - "required": [ - "Method", - "Path" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.CloudWatchEventEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "required": [ - "LogGroupArn" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.EventBridgeRuleEvent": { - "additionalProperties": false, - "properties": { - "EventBusName": { - "type": "string" - }, - "Input": { - "type": "string" - }, - "InputPath": { - "type": "string" - }, - "Pattern": { - "type": "object" - } - }, - "required": [ - "Pattern" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.EventSource": { - "additionalProperties": false, - "properties": { - "Properties": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchEventEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.EventBridgeRuleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.ScheduleEvent" - }, - { - "$ref": "#/definitions/AWS::Serverless::StateMachine.ApiEvent" - } - ] - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Properties", - "Type" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.FunctionSAMPT": { - "additionalProperties": false, - "properties": { - "FunctionName": { - "type": "string" - } - }, - "required": [ - "FunctionName" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.IAMPolicyDocument": { - "additionalProperties": false, - "properties": { - "Statement": { - "type": "object" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.CloudWatchLogsLogGroup" - } - }, - "required": [ - "CloudWatchLogsLogGroup" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "required": [ - "Destinations", - "IncludeExecutionData", - "Level" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.SAMPolicyTemplate": { - "additionalProperties": false, - "properties": { - "LambdaInvokePolicy": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.FunctionSAMPT" - }, - "StepFunctionsExecutionPolicy": { - "$ref": "#/definitions/AWS::Serverless::StateMachine.StateMachineSAMPT" - } - }, - "type": "object" - }, - "AWS::Serverless::StateMachine.ScheduleEvent": { - "additionalProperties": false, - "properties": { - "Input": { - "type": "string" - }, - "Schedule": { - "type": "string" - } - }, - "required": [ - "Schedule" - ], - "type": "object" - }, - "AWS::Serverless::StateMachine.StateMachineSAMPT": { - "additionalProperties": false, - "properties": { - "StateMachineName": { - "type": "string" - } - }, - "required": [ - "StateMachineName" - ], - "type": "object" - }, - "AWS::ServiceCatalog::AcceptedPortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::AcceptedPortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Distributor": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Owner": { - "type": "string" - }, - "ProvisioningArtifactParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties" - }, - "type": "array" - }, - "ReplaceProvisioningArtifacts": { - "type": "boolean" - }, - "SupportDescription": { - "type": "string" - }, - "SupportEmail": { - "type": "string" - }, - "SupportUrl": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name", - "Owner", - "ProvisioningArtifactParameters" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProduct.ProvisioningArtifactProperties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DisableTemplateValidation": { - "type": "boolean" - }, - "Info": { - "type": "object" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Info" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PathId": { - "type": "string" - }, - "PathName": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "ProductName": { - "type": "string" - }, - "ProvisionedProductName": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ProvisioningArtifactName": { - "type": "string" - }, - "ProvisioningParameters": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter" - }, - "type": "array" - }, - "ProvisioningPreferences": { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::CloudFormationProvisionedProduct.ProvisioningPreferences": { - "additionalProperties": false, - "properties": { - "StackSetAccounts": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackSetFailureToleranceCount": { - "type": "number" - }, - "StackSetFailureTolerancePercentage": { - "type": "number" - }, - "StackSetMaxConcurrencyCount": { - "type": "number" - }, - "StackSetMaxConcurrencyPercentage": { - "type": "number" - }, - "StackSetOperationType": { - "type": "string" - }, - "StackSetRegions": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::ServiceCatalog::LaunchNotificationConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "NotificationArns": { - "items": { - "type": "string" - }, - "type": "array" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - } - }, - "required": [ - "NotificationArns", - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchNotificationConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchRoleConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "LocalRoleName": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RoleArn": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchRoleConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::LaunchTemplateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "Rules": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "Rules" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::LaunchTemplateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::Portfolio": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "DisplayName": { - "type": "string" - }, - "ProviderName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DisplayName", - "ProviderName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::Portfolio" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioPrincipalAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "PrincipalARN": { - "type": "string" - }, - "PrincipalType": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "PrincipalARN", - "PrincipalType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioPrincipalAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioProductAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "SourcePortfolioId": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioProductAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::PortfolioShare": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountId": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ShareTagOptions": { - "type": "boolean" - } - }, - "required": [ - "AccountId", - "PortfolioId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::PortfolioShare" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ResourceUpdateConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "TagUpdateOnProvisionedProduct": { - "type": "string" - } - }, - "required": [ - "PortfolioId", - "ProductId", - "TagUpdateOnProvisionedProduct" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ResourceUpdateConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "Definition": { - "items": { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction.DefinitionParameter" - }, - "type": "array" - }, - "DefinitionType": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Definition", - "DefinitionType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceAction" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceAction.DefinitionParameter": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::ServiceCatalog::ServiceActionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ProductId": { - "type": "string" - }, - "ProvisioningArtifactId": { - "type": "string" - }, - "ServiceActionId": { - "type": "string" - } - }, - "required": [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::ServiceActionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::StackSetConstraint": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AcceptLanguage": { - "type": "string" - }, - "AccountList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "AdminRole": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "ExecutionRole": { - "type": "string" - }, - "PortfolioId": { - "type": "string" - }, - "ProductId": { - "type": "string" - }, - "RegionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "StackInstanceControl": { - "type": "string" - } - }, - "required": [ - "AccountList", - "AdminRole", - "Description", - "ExecutionRole", - "PortfolioId", - "ProductId", - "RegionList", - "StackInstanceControl" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::StackSetConstraint" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOption": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Active": { - "type": "boolean" - }, - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOption" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalog::TagOptionAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceId": { - "type": "string" - }, - "TagOptionId": { - "type": "string" - } - }, - "required": [ - "ResourceId", - "TagOptionId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalog::TagOptionAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::Application": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::Application" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Attributes": { - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "Attributes", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "AttributeGroup": { - "type": "string" - } - }, - "required": [ - "Application", - "AttributeGroup" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceCatalogAppRegistry::ResourceAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Application": { - "type": "string" - }, - "Resource": { - "type": "string" - }, - "ResourceType": { - "type": "string" - } - }, - "required": [ - "Application", - "Resource", - "ResourceType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceCatalogAppRegistry::ResourceAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::HttpNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::HttpNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Instance": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "InstanceAttributes": { - "type": "object" - }, - "InstanceId": { - "type": "string" - }, - "ServiceId": { - "type": "string" - } - }, - "required": [ - "InstanceAttributes", - "ServiceId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Instance" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Vpc": { - "type": "string" - } - }, - "required": [ - "Name", - "Vpc" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PrivateDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace.PrivateDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PrivateDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Properties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.Properties" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::PublicDnsNamespace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.Properties": { - "additionalProperties": false, - "properties": { - "DnsProperties": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.PublicDnsPropertiesMutable": { - "additionalProperties": false, - "properties": { - "SOA": { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace.SOA" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::PublicDnsNamespace.SOA": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::ServiceDiscovery::Service": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "DnsConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsConfig" - }, - "HealthCheckConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckConfig" - }, - "HealthCheckCustomConfig": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.HealthCheckCustomConfig" - }, - "Name": { - "type": "string" - }, - "NamespaceId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::ServiceDiscovery::Service" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsConfig": { - "additionalProperties": false, - "properties": { - "DnsRecords": { - "items": { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service.DnsRecord" - }, - "type": "array" - }, - "NamespaceId": { - "type": "string" - }, - "RoutingPolicy": { - "type": "string" - } - }, - "required": [ - "DnsRecords" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.DnsRecord": { - "additionalProperties": false, - "properties": { - "TTL": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "TTL", - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - }, - "ResourcePath": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::ServiceDiscovery::Service.HealthCheckCustomConfig": { - "additionalProperties": false, - "properties": { - "FailureThreshold": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Signer::ProfilePermission": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Action": { - "type": "string" - }, - "Principal": { - "type": "string" - }, - "ProfileName": { - "type": "string" - }, - "ProfileVersion": { - "type": "string" - }, - "StatementId": { - "type": "string" - } - }, - "required": [ - "Action", - "Principal", - "ProfileName", - "StatementId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::ProfilePermission" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "PlatformId": { - "type": "string" - }, - "SignatureValidityPeriod": { - "$ref": "#/definitions/AWS::Signer::SigningProfile.SignatureValidityPeriod" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "PlatformId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Signer::SigningProfile" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Signer::SigningProfile.SignatureValidityPeriod": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::StepFunctions::Activity": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::Activity.TagsEntry" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::Activity" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::Activity.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Definition": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.Definition" - }, - "DefinitionS3Location": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.S3Location" - }, - "DefinitionString": { - "type": "string" - }, - "DefinitionSubstitutions": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "LoggingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LoggingConfiguration" - }, - "RoleArn": { - "type": "string" - }, - "StateMachineName": { - "type": "string" - }, - "StateMachineType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TagsEntry" - }, - "type": "array" - }, - "TracingConfiguration": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.TracingConfiguration" - } - }, - "required": [ - "RoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::StepFunctions::StateMachine" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup": { - "additionalProperties": false, - "properties": { - "LogGroupArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.Definition": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LogDestination": { - "additionalProperties": false, - "properties": { - "CloudWatchLogsLogGroup": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.CloudWatchLogsLogGroup" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "Destinations": { - "items": { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine.LogDestination" - }, - "type": "array" - }, - "IncludeExecutionData": { - "type": "boolean" - }, - "Level": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::StepFunctions::StateMachine.S3Location": { - "additionalProperties": false, - "properties": { - "Bucket": { - "type": "string" - }, - "Key": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Bucket", - "Key" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TagsEntry": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - }, - "AWS::StepFunctions::StateMachine.TracingConfiguration": { - "additionalProperties": false, - "properties": { - "Enabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ArtifactConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.ArtifactConfig" - }, - "ArtifactS3Location": { - "type": "string" - }, - "Code": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Code" - }, - "ExecutionRoleArn": { - "type": "string" - }, - "FailureRetentionPeriod": { - "type": "number" - }, - "Name": { - "type": "string" - }, - "RunConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.RunConfig" - }, - "RuntimeVersion": { - "type": "string" - }, - "Schedule": { - "$ref": "#/definitions/AWS::Synthetics::Canary.Schedule" - }, - "StartCanaryAfterCreation": { - "type": "boolean" - }, - "SuccessRetentionPeriod": { - "type": "number" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VPCConfig": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VPCConfig" - }, - "VisualReference": { - "$ref": "#/definitions/AWS::Synthetics::Canary.VisualReference" - } - }, - "required": [ - "ArtifactS3Location", - "Code", - "ExecutionRoleArn", - "Name", - "RuntimeVersion", - "Schedule", - "StartCanaryAfterCreation" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Synthetics::Canary" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.ArtifactConfig": { - "additionalProperties": false, - "properties": { - "S3Encryption": { - "$ref": "#/definitions/AWS::Synthetics::Canary.S3Encryption" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.BaseScreenshot": { - "additionalProperties": false, - "properties": { - "IgnoreCoordinates": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ScreenshotName": { - "type": "string" - } - }, - "required": [ - "ScreenshotName" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.Code": { - "additionalProperties": false, - "properties": { - "Handler": { - "type": "string" - }, - "S3Bucket": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - }, - "Script": { - "type": "string" - } - }, - "required": [ - "Handler" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.RunConfig": { - "additionalProperties": false, - "properties": { - "ActiveTracing": { - "type": "boolean" - }, - "EnvironmentVariables": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "MemoryInMB": { - "type": "number" - }, - "TimeoutInSeconds": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.S3Encryption": { - "additionalProperties": false, - "properties": { - "EncryptionMode": { - "type": "string" - }, - "KmsKeyArn": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Synthetics::Canary.Schedule": { - "additionalProperties": false, - "properties": { - "DurationInSeconds": { - "type": "string" - }, - "Expression": { - "type": "string" - } - }, - "required": [ - "Expression" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VPCConfig": { - "additionalProperties": false, - "properties": { - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcId": { - "type": "string" - } - }, - "required": [ - "SecurityGroupIds", - "SubnetIds" - ], - "type": "object" - }, - "AWS::Synthetics::Canary.VisualReference": { - "additionalProperties": false, - "properties": { - "BaseCanaryRunId": { - "type": "string" - }, - "BaseScreenshots": { - "items": { - "$ref": "#/definitions/AWS::Synthetics::Canary.BaseScreenshot" - }, - "type": "array" - } - }, - "required": [ - "BaseCanaryRunId" - ], - "type": "object" - }, - "AWS::Timestream::Database": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "KmsKeyId": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Database" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ClientToken": { - "type": "string" - }, - "ErrorReportConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ErrorReportConfiguration" - }, - "KmsKeyId": { - "type": "string" - }, - "NotificationConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.NotificationConfiguration" - }, - "QueryString": { - "type": "string" - }, - "ScheduleConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.ScheduleConfiguration" - }, - "ScheduledQueryExecutionRoleArn": { - "type": "string" - }, - "ScheduledQueryName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "TargetConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TargetConfiguration" - } - }, - "required": [ - "ErrorReportConfiguration", - "NotificationConfiguration", - "QueryString", - "ScheduleConfiguration", - "ScheduledQueryExecutionRoleArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::ScheduledQuery" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.DimensionMapping": { - "additionalProperties": false, - "properties": { - "DimensionValueType": { - "type": "string" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "DimensionValueType", - "Name" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ErrorReportConfiguration": { - "additionalProperties": false, - "properties": { - "S3Configuration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.S3Configuration" - } - }, - "required": [ - "S3Configuration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MixedMeasureMapping": { - "additionalProperties": false, - "properties": { - "MeasureName": { - "type": "string" - }, - "MeasureValueType": { - "type": "string" - }, - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMeasureName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping": { - "additionalProperties": false, - "properties": { - "MeasureValueType": { - "type": "string" - }, - "SourceColumn": { - "type": "string" - }, - "TargetMultiMeasureAttributeName": { - "type": "string" - } - }, - "required": [ - "MeasureValueType", - "SourceColumn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.MultiMeasureMappings": { - "additionalProperties": false, - "properties": { - "MultiMeasureAttributeMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureAttributeMapping" - }, - "type": "array" - }, - "TargetMultiMeasureName": { - "type": "string" - } - }, - "required": [ - "MultiMeasureAttributeMappings" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.NotificationConfiguration": { - "additionalProperties": false, - "properties": { - "SnsConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.SnsConfiguration" - } - }, - "required": [ - "SnsConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.S3Configuration": { - "additionalProperties": false, - "properties": { - "BucketName": { - "type": "string" - }, - "EncryptionOption": { - "type": "string" - }, - "ObjectKeyPrefix": { - "type": "string" - } - }, - "required": [ - "BucketName" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.ScheduleConfiguration": { - "additionalProperties": false, - "properties": { - "ScheduleExpression": { - "type": "string" - } - }, - "required": [ - "ScheduleExpression" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.SnsConfiguration": { - "additionalProperties": false, - "properties": { - "TopicArn": { - "type": "string" - } - }, - "required": [ - "TopicArn" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TargetConfiguration": { - "additionalProperties": false, - "properties": { - "TimestreamConfiguration": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.TimestreamConfiguration" - } - }, - "required": [ - "TimestreamConfiguration" - ], - "type": "object" - }, - "AWS::Timestream::ScheduledQuery.TimestreamConfiguration": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "DimensionMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.DimensionMapping" - }, - "type": "array" - }, - "MeasureNameColumn": { - "type": "string" - }, - "MixedMeasureMappings": { - "items": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MixedMeasureMapping" - }, - "type": "array" - }, - "MultiMeasureMappings": { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery.MultiMeasureMappings" - }, - "TableName": { - "type": "string" - }, - "TimeColumn": { - "type": "string" - } - }, - "required": [ - "DatabaseName", - "DimensionMappings", - "TableName", - "TimeColumn" - ], - "type": "object" - }, - "AWS::Timestream::Table": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DatabaseName": { - "type": "string" - }, - "RetentionProperties": { - "type": "object" - }, - "TableName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "DatabaseName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Timestream::Table" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Server": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Certificate": { - "type": "string" - }, - "Domain": { - "type": "string" - }, - "EndpointDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.EndpointDetails" - }, - "EndpointType": { - "type": "string" - }, - "IdentityProviderDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.IdentityProviderDetails" - }, - "IdentityProviderType": { - "type": "string" - }, - "LoggingRole": { - "type": "string" - }, - "ProtocolDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.ProtocolDetails" - }, - "Protocols": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.Protocol" - }, - "type": "array" - }, - "SecurityPolicyName": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "WorkflowDetails": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetails" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Server" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::Transfer::Server.EndpointDetails": { - "additionalProperties": false, - "properties": { - "AddressAllocationIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SecurityGroupIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "SubnetIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "VpcEndpointId": { - "type": "string" - }, - "VpcId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.IdentityProviderDetails": { - "additionalProperties": false, - "properties": { - "DirectoryId": { - "type": "string" - }, - "Function": { - "type": "string" - }, - "InvocationRole": { - "type": "string" - }, - "Url": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.Protocol": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Server.ProtocolDetails": { - "additionalProperties": false, - "properties": { - "PassiveIp": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetail": { - "additionalProperties": false, - "properties": { - "ExecutionRole": { - "type": "string" - }, - "WorkflowId": { - "type": "string" - } - }, - "required": [ - "ExecutionRole", - "WorkflowId" - ], - "type": "object" - }, - "AWS::Transfer::Server.WorkflowDetails": { - "additionalProperties": false, - "properties": { - "OnUpload": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Server.WorkflowDetail" - }, - "type": "array" - } - }, - "required": [ - "OnUpload" - ], - "type": "object" - }, - "AWS::Transfer::User": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "HomeDirectory": { - "type": "string" - }, - "HomeDirectoryMappings": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.HomeDirectoryMapEntry" - }, - "type": "array" - }, - "HomeDirectoryType": { - "type": "string" - }, - "Policy": { - "type": "string" - }, - "PosixProfile": { - "$ref": "#/definitions/AWS::Transfer::User.PosixProfile" - }, - "Role": { - "type": "string" - }, - "ServerId": { - "type": "string" - }, - "SshPublicKeys": { - "items": { - "$ref": "#/definitions/AWS::Transfer::User.SshPublicKey" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - } - }, - "required": [ - "Role", - "ServerId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::User" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::User.HomeDirectoryMapEntry": { - "additionalProperties": false, - "properties": { - "Entry": { - "type": "string" - }, - "Target": { - "type": "string" - } - }, - "required": [ - "Entry", - "Target" - ], - "type": "object" - }, - "AWS::Transfer::User.PosixProfile": { - "additionalProperties": false, - "properties": { - "Gid": { - "type": "number" - }, - "SecondaryGids": { - "items": { - "type": "number" - }, - "type": "array" - }, - "Uid": { - "type": "number" - } - }, - "required": [ - "Gid", - "Uid" - ], - "type": "object" - }, - "AWS::Transfer::User.SshPublicKey": { - "additionalProperties": false, - "properties": {}, - "type": "object" - }, - "AWS::Transfer::Workflow": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "OnExceptionSteps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Steps": { - "items": { - "$ref": "#/definitions/AWS::Transfer::Workflow.WorkflowStep" - }, - "type": "array" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Steps" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Transfer::Workflow" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Transfer::Workflow.WorkflowStep": { - "additionalProperties": false, - "properties": { - "CopyStepDetails": { - "type": "object" - }, - "CustomStepDetails": { - "type": "object" - }, - "DeleteStepDetails": { - "type": "object" - }, - "TagStepDetails": { - "type": "object" - }, - "Type": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAF::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAF::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAF::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAF::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name", - "SizeConstraints" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAF::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAF::WebACL.ActivatedRule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::WebACL.ActivatedRule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAF::WebACL.WafAction" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAF::WebACL.WafAction": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name", - "XssMatchTuples" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAF::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAF::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAF::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ByteMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.ByteMatchTuple" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::ByteMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.ByteMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "TargetString": { - "type": "string" - }, - "TargetStringBase64": { - "type": "string" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::ByteMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "GeoMatchConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::GeoMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::GeoMatchSet.GeoMatchConstraint": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "IPSetDescriptors": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::IPSet.IPSetDescriptor" - }, - "type": "array" - }, - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::IPSet.IPSetDescriptor": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Type", - "Value" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MatchPredicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule.Predicate" - }, - "type": "array" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RateKey": { - "type": "string" - }, - "RateLimit": { - "type": "number" - } - }, - "required": [ - "MetricName", - "Name", - "RateKey", - "RateLimit" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RateBasedRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::RateBasedRule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "RegexPatternStrings": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "Name", - "RegexPatternStrings" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Predicates": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::Rule.Predicate" - }, - "type": "array" - } - }, - "required": [ - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::Rule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::Rule.Predicate": { - "additionalProperties": false, - "properties": { - "DataId": { - "type": "string" - }, - "Negated": { - "type": "boolean" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "DataId", - "Negated", - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SizeConstraints": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.SizeConstraint" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SizeConstraintSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SizeConstraintSet.SizeConstraint": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "SqlInjectionMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::SqlInjectionMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::SqlInjectionMatchSet.SqlInjectionMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "MetricName": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Rule" - }, - "type": "array" - } - }, - "required": [ - "DefaultAction", - "MetricName", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Action": { - "additionalProperties": false, - "properties": { - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFRegional::WebACL.Action" - }, - "Priority": { - "type": "number" - }, - "RuleId": { - "type": "string" - } - }, - "required": [ - "Action", - "Priority", - "RuleId" - ], - "type": "object" - }, - "AWS::WAFRegional::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLId": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "XssMatchTuples": { - "items": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.XssMatchTuple" - }, - "type": "array" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFRegional::XssMatchSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.FieldToMatch": { - "additionalProperties": false, - "properties": { - "Data": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::WAFRegional::XssMatchSet.XssMatchTuple": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet.FieldToMatch" - }, - "TextTransformation": { - "type": "string" - } - }, - "required": [ - "FieldToMatch", - "TextTransformation" - ], - "type": "object" - }, - "AWS::WAFv2::IPSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Addresses": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Description": { - "type": "string" - }, - "IPAddressVersion": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "Addresses", - "IPAddressVersion", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::IPSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "LogDestinationConfigs": { - "items": { - "type": "string" - }, - "type": "array" - }, - "LoggingFilter": { - "type": "object" - }, - "RedactedFields": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration.FieldToMatch" - }, - "type": "array" - }, - "ResourceArn": { - "type": "string" - } - }, - "required": [ - "LogDestinationConfigs", - "ResourceArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::LoggingConfiguration" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::LoggingConfiguration.FieldToMatch": { - "additionalProperties": false, - "properties": { - "JsonBody": { - "type": "object" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RegexPatternSet": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RegularExpressionList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "RegularExpressionList", - "Scope" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RegexPatternSet" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Capacity": { - "type": "number" - }, - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.CustomResponseBody" - } - }, - "type": "object" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Capacity", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::RuleGroup" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.LabelSummary": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RuleAction" - }, - "Name": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "type": "object" - }, - "Block": { - "type": "object" - }, - "Count": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.LabelMatchStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.RegexPatternSetReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::RuleGroup.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::RuleGroup.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "CustomResponseBodies": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponseBody" - } - }, - "type": "object" - }, - "DefaultAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.DefaultAction" - }, - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "Rules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Rule" - }, - "type": "array" - }, - "Scope": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "DefaultAction", - "Scope", - "VisibilityConfig" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACL" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.AllowAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.AndStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.BlockAction": { - "additionalProperties": false, - "properties": { - "CustomResponse": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomResponse" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ByteMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "PositionalConstraint": { - "type": "string" - }, - "SearchString": { - "type": "string" - }, - "SearchStringBase64": { - "type": "string" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "PositionalConstraint", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CountAction": { - "additionalProperties": false, - "properties": { - "CustomRequestHandling": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomRequestHandling" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomHTTPHeader": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Name", - "Value" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomRequestHandling": { - "additionalProperties": false, - "properties": { - "InsertHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "InsertHeaders" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponse": { - "additionalProperties": false, - "properties": { - "CustomResponseBodyKey": { - "type": "string" - }, - "ResponseCode": { - "type": "number" - }, - "ResponseHeaders": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CustomHTTPHeader" - }, - "type": "array" - } - }, - "required": [ - "ResponseCode" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.CustomResponseBody": { - "additionalProperties": false, - "properties": { - "Content": { - "type": "string" - }, - "ContentType": { - "type": "string" - } - }, - "required": [ - "Content", - "ContentType" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.DefaultAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ExcludedRule": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.FieldToMatch": { - "additionalProperties": false, - "properties": { - "AllQueryArguments": { - "type": "object" - }, - "Body": { - "type": "object" - }, - "JsonBody": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonBody" - }, - "Method": { - "type": "object" - }, - "QueryString": { - "type": "object" - }, - "SingleHeader": { - "type": "object" - }, - "SingleQueryArgument": { - "type": "object" - }, - "UriPath": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.ForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.GeoMatchStatement": { - "additionalProperties": false, - "properties": { - "CountryCodes": { - "items": { - "type": "string" - }, - "type": "array" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration": { - "additionalProperties": false, - "properties": { - "FallbackBehavior": { - "type": "string" - }, - "HeaderName": { - "type": "string" - }, - "Position": { - "type": "string" - } - }, - "required": [ - "FallbackBehavior", - "HeaderName", - "Position" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.IPSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "IPSetForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetForwardedIPConfiguration" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonBody": { - "additionalProperties": false, - "properties": { - "InvalidFallbackBehavior": { - "type": "string" - }, - "MatchPattern": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.JsonMatchPattern" - }, - "MatchScope": { - "type": "string" - } - }, - "required": [ - "MatchPattern", - "MatchScope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.JsonMatchPattern": { - "additionalProperties": false, - "properties": { - "All": { - "type": "object" - }, - "IncludedPaths": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.Label": { - "additionalProperties": false, - "properties": { - "Name": { - "type": "string" - } - }, - "required": [ - "Name" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.LabelMatchStatement": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Scope": { - "type": "string" - } - }, - "required": [ - "Key", - "Scope" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.ManagedRuleGroupStatement": { - "additionalProperties": false, - "properties": { - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - }, - "Name": { - "type": "string" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VendorName": { - "type": "string" - }, - "Version": { - "type": "string" - } - }, - "required": [ - "Name", - "VendorName" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.NotStatement": { - "additionalProperties": false, - "properties": { - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "Statement" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OrStatement": { - "additionalProperties": false, - "properties": { - "Statements": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "type": "array" - } - }, - "required": [ - "Statements" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.OverrideAction": { - "additionalProperties": false, - "properties": { - "Count": { - "type": "object" - }, - "None": { - "type": "object" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RateBasedStatement": { - "additionalProperties": false, - "properties": { - "AggregateKeyType": { - "type": "string" - }, - "ForwardedIPConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ForwardedIPConfiguration" - }, - "Limit": { - "type": "number" - }, - "ScopeDownStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - } - }, - "required": [ - "AggregateKeyType", - "Limit" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "Arn", - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Rule": { - "additionalProperties": false, - "properties": { - "Action": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleAction" - }, - "Name": { - "type": "string" - }, - "OverrideAction": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OverrideAction" - }, - "Priority": { - "type": "number" - }, - "RuleLabels": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Label" - }, - "type": "array" - }, - "Statement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.Statement" - }, - "VisibilityConfig": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.VisibilityConfig" - } - }, - "required": [ - "Name", - "Priority", - "Statement", - "VisibilityConfig" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleAction": { - "additionalProperties": false, - "properties": { - "Allow": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AllowAction" - }, - "Block": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.BlockAction" - }, - "Count": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.CountAction" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.RuleGroupReferenceStatement": { - "additionalProperties": false, - "properties": { - "Arn": { - "type": "string" - }, - "ExcludedRules": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ExcludedRule" - }, - "type": "array" - } - }, - "required": [ - "Arn" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SizeConstraintStatement": { - "additionalProperties": false, - "properties": { - "ComparisonOperator": { - "type": "string" - }, - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "Size": { - "type": "number" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "ComparisonOperator", - "FieldToMatch", - "Size", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.SqliMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.Statement": { - "additionalProperties": false, - "properties": { - "AndStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.AndStatement" - }, - "ByteMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ByteMatchStatement" - }, - "GeoMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.GeoMatchStatement" - }, - "IPSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.IPSetReferenceStatement" - }, - "LabelMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.LabelMatchStatement" - }, - "ManagedRuleGroupStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.ManagedRuleGroupStatement" - }, - "NotStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.NotStatement" - }, - "OrStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.OrStatement" - }, - "RateBasedStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RateBasedStatement" - }, - "RegexPatternSetReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RegexPatternSetReferenceStatement" - }, - "RuleGroupReferenceStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.RuleGroupReferenceStatement" - }, - "SizeConstraintStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SizeConstraintStatement" - }, - "SqliMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.SqliMatchStatement" - }, - "XssMatchStatement": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.XssMatchStatement" - } - }, - "type": "object" - }, - "AWS::WAFv2::WebACL.TextTransformation": { - "additionalProperties": false, - "properties": { - "Priority": { - "type": "number" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Priority", - "Type" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.VisibilityConfig": { - "additionalProperties": false, - "properties": { - "CloudWatchMetricsEnabled": { - "type": "boolean" - }, - "MetricName": { - "type": "string" - }, - "SampledRequestsEnabled": { - "type": "boolean" - } - }, - "required": [ - "CloudWatchMetricsEnabled", - "MetricName", - "SampledRequestsEnabled" - ], - "type": "object" - }, - "AWS::WAFv2::WebACL.XssMatchStatement": { - "additionalProperties": false, - "properties": { - "FieldToMatch": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.FieldToMatch" - }, - "TextTransformations": { - "items": { - "$ref": "#/definitions/AWS::WAFv2::WebACL.TextTransformation" - }, - "type": "array" - } - }, - "required": [ - "FieldToMatch", - "TextTransformations" - ], - "type": "object" - }, - "AWS::WAFv2::WebACLAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ResourceArn": { - "type": "string" - }, - "WebACLArn": { - "type": "string" - } - }, - "required": [ - "ResourceArn", - "WebACLArn" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WAFv2::WebACLAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "Type": { - "type": "string" - } - }, - "required": [ - "Name", - "Type" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::Assistant" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::Assistant.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AssistantId": { - "type": "string" - }, - "Association": { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation.AssociationData" - }, - "AssociationType": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "AssistantId", - "Association", - "AssociationType" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::AssistantAssociation" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::AssistantAssociation.AssociationData": { - "additionalProperties": false, - "properties": { - "KnowledgeBaseId": { - "type": "string" - } - }, - "required": [ - "KnowledgeBaseId" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "Description": { - "type": "string" - }, - "KnowledgeBaseType": { - "type": "string" - }, - "Name": { - "type": "string" - }, - "RenderingConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.RenderingConfiguration" - }, - "ServerSideEncryptionConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration" - }, - "SourceConfiguration": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.SourceConfiguration" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "KnowledgeBaseType", - "Name" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::Wisdom::KnowledgeBase" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrationArn": { - "type": "string" - }, - "ObjectFields": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "AppIntegrationArn", - "ObjectFields" - ], - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.RenderingConfiguration": { - "additionalProperties": false, - "properties": { - "TemplateUri": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.ServerSideEncryptionConfiguration": { - "additionalProperties": false, - "properties": { - "KmsKeyId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::Wisdom::KnowledgeBase.SourceConfiguration": { - "additionalProperties": false, - "properties": { - "AppIntegrations": { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase.AppIntegrationsConfiguration" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "ConnectionString": { - "type": "string" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - } - }, - "required": [ - "ConnectionString" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::ConnectionAlias" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::ConnectionAlias.ConnectionAliasAssociation": { - "additionalProperties": false, - "properties": { - "AssociatedAccountId": { - "type": "string" - }, - "AssociationStatus": { - "type": "string" - }, - "ConnectionIdentifier": { - "type": "string" - }, - "ResourceId": { - "type": "string" - } - }, - "type": "object" - }, - "AWS::WorkSpaces::Workspace": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "BundleId": { - "type": "string" - }, - "DirectoryId": { - "type": "string" - }, - "RootVolumeEncryptionEnabled": { - "type": "boolean" - }, - "Tags": { - "items": { - "$ref": "#/definitions/Tag" - }, - "type": "array" - }, - "UserName": { - "type": "string" - }, - "UserVolumeEncryptionEnabled": { - "type": "boolean" - }, - "VolumeEncryptionKey": { - "type": "string" - }, - "WorkspaceProperties": { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace.WorkspaceProperties" - } - }, - "required": [ - "BundleId", - "DirectoryId", - "UserName" - ], - "type": "object" - }, - "Type": { - "enum": [ - "AWS::WorkSpaces::Workspace" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "AWS::WorkSpaces::Workspace.WorkspaceProperties": { - "additionalProperties": false, - "properties": { - "ComputeTypeName": { - "type": "string" - }, - "RootVolumeSizeGib": { - "type": "number" - }, - "RunningMode": { - "type": "string" - }, - "RunningModeAutoStopTimeoutInMinutes": { - "type": "number" - }, - "UserVolumeSizeGib": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::Group": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "FilterExpression": { - "type": "string" - }, - "GroupName": { - "type": "string" - }, - "InsightsConfiguration": { - "$ref": "#/definitions/AWS::XRay::Group.InsightsConfiguration" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::Group" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::Group.InsightsConfiguration": { - "additionalProperties": false, - "properties": { - "InsightsEnabled": { - "type": "boolean" - }, - "NotificationsEnabled": { - "type": "boolean" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "RuleName": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - }, - "SamplingRuleRecord": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleRecord" - }, - "SamplingRuleUpdate": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRuleUpdate" - }, - "Tags": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" - }, - "Type": { - "enum": [ - "AWS::XRay::SamplingRule" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRule": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - }, - "Version": { - "type": "number" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleRecord": { - "additionalProperties": false, - "properties": { - "CreatedAt": { - "type": "string" - }, - "ModifiedAt": { - "type": "string" - }, - "SamplingRule": { - "$ref": "#/definitions/AWS::XRay::SamplingRule.SamplingRule" - } - }, - "type": "object" - }, - "AWS::XRay::SamplingRule.SamplingRuleUpdate": { - "additionalProperties": false, - "properties": { - "Attributes": { - "additionalProperties": true, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "string" - } - }, - "type": "object" - }, - "FixedRate": { - "type": "number" - }, - "HTTPMethod": { - "type": "string" - }, - "Host": { - "type": "string" - }, - "Priority": { - "type": "number" - }, - "ReservoirSize": { - "type": "number" - }, - "ResourceARN": { - "type": "string" - }, - "RuleARN": { - "type": "string" - }, - "RuleName": { - "type": "string" - }, - "ServiceName": { - "type": "string" - }, - "ServiceType": { - "type": "string" - }, - "URLPath": { - "type": "string" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill": { - "additionalProperties": false, - "properties": { - "DeletionPolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - }, - "DependsOn": { - "anyOf": [ - { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - { - "items": { - "pattern": "^[a-zA-Z0-9]+$", - "type": "string" - }, - "type": "array" - } - ] - }, - "Metadata": { - "type": "object" - }, - "Properties": { - "additionalProperties": false, - "properties": { - "AuthenticationConfiguration": { - "$ref": "#/definitions/Alexa::ASK::Skill.AuthenticationConfiguration" - }, - "SkillPackage": { - "$ref": "#/definitions/Alexa::ASK::Skill.SkillPackage" - }, - "VendorId": { - "type": "string" - } - }, - "required": [ - "AuthenticationConfiguration", - "SkillPackage", - "VendorId" - ], - "type": "object" - }, - "Type": { - "enum": [ - "Alexa::ASK::Skill" - ], - "type": "string" - }, - "UpdateReplacePolicy": { - "enum": [ - "Delete", - "Retain", - "Snapshot" - ], - "type": "string" - } - }, - "required": [ - "Type", - "Properties" - ], - "type": "object" - }, - "Alexa::ASK::Skill.AuthenticationConfiguration": { - "additionalProperties": false, - "properties": { - "ClientId": { - "type": "string" - }, - "ClientSecret": { - "type": "string" - }, - "RefreshToken": { - "type": "string" - } - }, - "required": [ - "ClientId", - "ClientSecret", - "RefreshToken" - ], - "type": "object" - }, - "Alexa::ASK::Skill.Overrides": { - "additionalProperties": false, - "properties": { - "Manifest": { - "type": "object" - } - }, - "type": "object" - }, - "Alexa::ASK::Skill.SkillPackage": { - "additionalProperties": false, - "properties": { - "Overrides": { - "$ref": "#/definitions/Alexa::ASK::Skill.Overrides" - }, - "S3Bucket": { - "type": "string" - }, - "S3BucketRole": { - "type": "string" - }, - "S3Key": { - "type": "string" - }, - "S3ObjectVersion": { - "type": "string" - } - }, - "required": [ - "S3Bucket", - "S3Key" - ], - "type": "object" - }, - "Parameter": { - "additionalProperties": false, - "properties": { - "AllowedPattern": { - "type": "string" - }, - "AllowedValues": { - "type": "array" - }, - "ConstraintDescription": { - "type": "string" - }, - "Default": { - "type": "string" - }, - "Description": { - "type": "string" - }, - "MaxLength": { - "type": "string" - }, - "MaxValue": { - "type": "string" - }, - "MinLength": { - "type": "string" - }, - "MinValue": { - "type": "string" - }, - "NoEcho": { - "type": [ - "string", - "boolean" - ] - }, - "Type": { - "enum": [ - "String", - "Number", - "List\u003cNumber\u003e", - "CommaDelimitedList", - "AWS::EC2::AvailabilityZone::Name", - "AWS::EC2::Image::Id", - "AWS::EC2::Instance::Id", - "AWS::EC2::KeyPair::KeyName", - "AWS::EC2::SecurityGroup::GroupName", - "AWS::EC2::SecurityGroup::Id", - "AWS::EC2::Subnet::Id", - "AWS::EC2::Volume::Id", - "AWS::EC2::VPC::Id", - "AWS::Route53::HostedZone::Id", - "List\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "List\u003cAWS::EC2::Image::Id\u003e", - "List\u003cAWS::EC2::Instance::Id\u003e", - "List\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "List\u003cAWS::EC2::SecurityGroup::Id\u003e", - "List\u003cAWS::EC2::Subnet::Id\u003e", - "List\u003cAWS::EC2::Volume::Id\u003e", - "List\u003cAWS::EC2::VPC::Id\u003e", - "List\u003cAWS::Route53::HostedZone::Id\u003e", - "List\u003cString\u003e", - "AWS::SSM::Parameter::Name", - "AWS::SSM::Parameter::Value\u003cString\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cString\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cCommaDelimitedList\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::AvailabilityZone::Name\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Image::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Instance::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::GroupName\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::SecurityGroup::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Subnet::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::Volume::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::EC2::VPC::Id\u003e", - "AWS::SSM::Parameter::Value\u003cAWS::Route53::HostedZone::Id\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::AvailabilityZone::Name\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Image::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Instance::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::GroupName\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::SecurityGroup::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Subnet::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::Volume::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::EC2::VPC::Id\u003e\u003e", - "AWS::SSM::Parameter::Value\u003cList\u003cAWS::Route53::HostedZone::Id\u003e\u003e" - ], - "type": "string" - } - }, - "required": [ - "Type" - ], - "type": "object" - }, - "Tag": { - "additionalProperties": false, - "properties": { - "Key": { - "type": "string" - }, - "Value": { - "type": "string" - } - }, - "required": [ - "Key", - "Value" - ], - "type": "object" - } - }, - "properties": { - "AWSTemplateFormatVersion": { - "enum": [ - "2010-09-09" - ], - "type": "string" - }, - "Conditions": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Description": { - "description": "Template description", - "maxLength": 1024, - "type": "string" - }, - "Mappings": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Metadata": { - "type": "object" - }, - "Outputs": { - "additionalProperties": false, - "maxProperties": 60, - "minProperties": 1, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "type": "object" - } - }, - "type": "object" - }, - "Parameters": { - "additionalProperties": false, - "maxProperties": 50, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "$ref": "#/definitions/Parameter" - } - }, - "type": "object" - }, - "Resources": { - "additionalProperties": false, - "patternProperties": { - "^[a-zA-Z0-9]+$": { - "anyOf": [ - { - "$ref": "#/definitions/AWS::ACMPCA::Certificate" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthority" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::CertificateAuthorityActivation" - }, - { - "$ref": "#/definitions/AWS::ACMPCA::Permission" - }, - { - "$ref": "#/definitions/AWS::APS::RuleGroupsNamespace" - }, - { - "$ref": "#/definitions/AWS::APS::Workspace" - }, - { - "$ref": "#/definitions/AWS::AccessAnalyzer::Analyzer" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Broker" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::Configuration" - }, - { - "$ref": "#/definitions/AWS::AmazonMQ::ConfigurationAssociation" - }, - { - "$ref": "#/definitions/AWS::Amplify::App" - }, - { - "$ref": "#/definitions/AWS::Amplify::Branch" - }, - { - "$ref": "#/definitions/AWS::Amplify::Domain" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::AmplifyUIBuilder::Theme" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Account" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ApiKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::BasePathMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::ClientCertificate" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationPart" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DocumentationVersion" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::GatewayResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Method" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RequestValidator" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Resource" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::RestApi" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlan" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::UsagePlanKey" - }, - { - "$ref": "#/definitions/AWS::ApiGateway::VpcLink" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Api" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiGatewayManagedOverrides" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::ApiMapping" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Authorizer" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Deployment" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::DomainName" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Integration" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::IntegrationResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Model" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Route" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::RouteResponse" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::Stage" - }, - { - "$ref": "#/definitions/AWS::ApiGatewayV2::VpcLink" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Application" - }, - { - "$ref": "#/definitions/AWS::AppConfig::ConfigurationProfile" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Deployment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::DeploymentStrategy" - }, - { - "$ref": "#/definitions/AWS::AppConfig::Environment" - }, - { - "$ref": "#/definitions/AWS::AppConfig::HostedConfigurationVersion" - }, - { - "$ref": "#/definitions/AWS::AppFlow::ConnectorProfile" - }, - { - "$ref": "#/definitions/AWS::AppFlow::Flow" - }, - { - "$ref": "#/definitions/AWS::AppIntegrations::EventIntegration" - }, - { - "$ref": "#/definitions/AWS::AppMesh::GatewayRoute" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Mesh" - }, - { - "$ref": "#/definitions/AWS::AppMesh::Route" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualGateway" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualNode" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualRouter" - }, - { - "$ref": "#/definitions/AWS::AppMesh::VirtualService" - }, - { - "$ref": "#/definitions/AWS::AppRunner::Service" - }, - { - "$ref": "#/definitions/AWS::AppStream::AppBlock" - }, - { - "$ref": "#/definitions/AWS::AppStream::Application" - }, - { - "$ref": "#/definitions/AWS::AppStream::ApplicationFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::DirectoryConfig" - }, - { - "$ref": "#/definitions/AWS::AppStream::Fleet" - }, - { - "$ref": "#/definitions/AWS::AppStream::ImageBuilder" - }, - { - "$ref": "#/definitions/AWS::AppStream::Stack" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackFleetAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::StackUserAssociation" - }, - { - "$ref": "#/definitions/AWS::AppStream::User" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiCache" - }, - { - "$ref": "#/definitions/AWS::AppSync::ApiKey" - }, - { - "$ref": "#/definitions/AWS::AppSync::DataSource" - }, - { - "$ref": "#/definitions/AWS::AppSync::FunctionConfiguration" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLApi" - }, - { - "$ref": "#/definitions/AWS::AppSync::GraphQLSchema" - }, - { - "$ref": "#/definitions/AWS::AppSync::Resolver" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalableTarget" - }, - { - "$ref": "#/definitions/AWS::ApplicationAutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::ApplicationInsights::Application" - }, - { - "$ref": "#/definitions/AWS::Athena::DataCatalog" - }, - { - "$ref": "#/definitions/AWS::Athena::NamedQuery" - }, - { - "$ref": "#/definitions/AWS::Athena::PreparedStatement" - }, - { - "$ref": "#/definitions/AWS::Athena::WorkGroup" - }, - { - "$ref": "#/definitions/AWS::AuditManager::Assessment" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::AutoScaling::WarmPool" - }, - { - "$ref": "#/definitions/AWS::AutoScalingPlans::ScalingPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupPlan" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupSelection" - }, - { - "$ref": "#/definitions/AWS::Backup::BackupVault" - }, - { - "$ref": "#/definitions/AWS::Backup::Framework" - }, - { - "$ref": "#/definitions/AWS::Backup::ReportPlan" - }, - { - "$ref": "#/definitions/AWS::Batch::ComputeEnvironment" - }, - { - "$ref": "#/definitions/AWS::Batch::JobDefinition" - }, - { - "$ref": "#/definitions/AWS::Batch::JobQueue" - }, - { - "$ref": "#/definitions/AWS::Batch::SchedulingPolicy" - }, - { - "$ref": "#/definitions/AWS::Budgets::Budget" - }, - { - "$ref": "#/definitions/AWS::Budgets::BudgetsAction" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalyMonitor" - }, - { - "$ref": "#/definitions/AWS::CE::AnomalySubscription" - }, - { - "$ref": "#/definitions/AWS::CE::CostCategory" - }, - { - "$ref": "#/definitions/AWS::CUR::ReportDefinition" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Keyspace" - }, - { - "$ref": "#/definitions/AWS::Cassandra::Table" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Account" - }, - { - "$ref": "#/definitions/AWS::CertificateManager::Certificate" - }, - { - "$ref": "#/definitions/AWS::Chatbot::SlackChannelConfiguration" - }, - { - "$ref": "#/definitions/AWS::Cloud9::EnvironmentEC2" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::CustomResource" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Macro" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Publisher" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::Stack" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::StackSet" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" - }, - { - "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CachePolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::CloudFrontOriginAccessIdentity" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Distribution" - }, - { - "$ref": "#/definitions/AWS::CloudFront::Function" - }, - { - "$ref": "#/definitions/AWS::CloudFront::KeyGroup" - }, - { - "$ref": "#/definitions/AWS::CloudFront::OriginRequestPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::PublicKey" - }, - { - "$ref": "#/definitions/AWS::CloudFront::RealtimeLogConfig" - }, - { - "$ref": "#/definitions/AWS::CloudFront::ResponseHeadersPolicy" - }, - { - "$ref": "#/definitions/AWS::CloudFront::StreamingDistribution" - }, - { - "$ref": "#/definitions/AWS::CloudTrail::Trail" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Alarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::Dashboard" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::InsightRule" - }, - { - "$ref": "#/definitions/AWS::CloudWatch::MetricStream" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Domain" - }, - { - "$ref": "#/definitions/AWS::CodeArtifact::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::Project" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::ReportGroup" - }, - { - "$ref": "#/definitions/AWS::CodeBuild::SourceCredential" - }, - { - "$ref": "#/definitions/AWS::CodeCommit::Repository" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::Application" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentConfig" - }, - { - "$ref": "#/definitions/AWS::CodeDeploy::DeploymentGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruProfiler::ProfilingGroup" - }, - { - "$ref": "#/definitions/AWS::CodeGuruReviewer::RepositoryAssociation" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::CustomActionType" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::CodePipeline::Webhook" - }, - { - "$ref": "#/definitions/AWS::CodeStar::GitHubRepository" - }, - { - "$ref": "#/definitions/AWS::CodeStarConnections::Connection" - }, - { - "$ref": "#/definitions/AWS::CodeStarNotifications::NotificationRule" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::IdentityPoolRoleAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPool" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolClient" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolDomain" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolGroup" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolIdentityProvider" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolResourceServer" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolRiskConfigurationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUICustomizationAttachment" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUser" - }, - { - "$ref": "#/definitions/AWS::Cognito::UserPoolUserToGroupAttachment" - }, - { - "$ref": "#/definitions/AWS::Config::AggregationAuthorization" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationAggregator" - }, - { - "$ref": "#/definitions/AWS::Config::ConfigurationRecorder" - }, - { - "$ref": "#/definitions/AWS::Config::ConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::DeliveryChannel" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConfigRule" - }, - { - "$ref": "#/definitions/AWS::Config::OrganizationConformancePack" - }, - { - "$ref": "#/definitions/AWS::Config::RemediationConfiguration" - }, - { - "$ref": "#/definitions/AWS::Config::StoredQuery" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlow" - }, - { - "$ref": "#/definitions/AWS::Connect::ContactFlowModule" - }, - { - "$ref": "#/definitions/AWS::Connect::HoursOfOperation" - }, - { - "$ref": "#/definitions/AWS::Connect::QuickConnect" - }, - { - "$ref": "#/definitions/AWS::Connect::User" - }, - { - "$ref": "#/definitions/AWS::Connect::UserHierarchyGroup" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Domain" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::Integration" - }, - { - "$ref": "#/definitions/AWS::CustomerProfiles::ObjectType" - }, - { - "$ref": "#/definitions/AWS::DAX::Cluster" - }, - { - "$ref": "#/definitions/AWS::DAX::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DAX::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DLM::LifecyclePolicy" - }, - { - "$ref": "#/definitions/AWS::DMS::Certificate" - }, - { - "$ref": "#/definitions/AWS::DMS::Endpoint" - }, - { - "$ref": "#/definitions/AWS::DMS::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationInstance" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DMS::ReplicationTask" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Dataset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Job" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Project" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Recipe" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Ruleset" - }, - { - "$ref": "#/definitions/AWS::DataBrew::Schedule" - }, - { - "$ref": "#/definitions/AWS::DataPipeline::Pipeline" - }, - { - "$ref": "#/definitions/AWS::DataSync::Agent" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationEFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationFSxWindows" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationHDFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationNFS" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationObjectStorage" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationS3" - }, - { - "$ref": "#/definitions/AWS::DataSync::LocationSMB" - }, - { - "$ref": "#/definitions/AWS::DataSync::Task" - }, - { - "$ref": "#/definitions/AWS::Detective::Graph" - }, - { - "$ref": "#/definitions/AWS::Detective::MemberInvitation" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::DevOpsGuru::ResourceCollection" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::MicrosoftAD" - }, - { - "$ref": "#/definitions/AWS::DirectoryService::SimpleAD" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBCluster" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBInstance" - }, - { - "$ref": "#/definitions/AWS::DocDB::DBSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::GlobalTable" - }, - { - "$ref": "#/definitions/AWS::DynamoDB::Table" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservation" - }, - { - "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::CarrierGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::CustomerGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::DHCPOptions" - }, - { - "$ref": "#/definitions/AWS::EC2::EC2Fleet" - }, - { - "$ref": "#/definitions/AWS::EC2::EIP" - }, - { - "$ref": "#/definitions/AWS::EC2::EIPAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::FlowLog" - }, - { - "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::Host" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAM" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMAllocation" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMPool" - }, - { - "$ref": "#/definitions/AWS::EC2::IPAMScope" - }, - { - "$ref": "#/definitions/AWS::EC2::Instance" - }, - { - "$ref": "#/definitions/AWS::EC2::InternetGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::LaunchTemplate" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::NatGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAcl" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterface" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" - }, - { - "$ref": "#/definitions/AWS::EC2::PlacementGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::PrefixList" - }, - { - "$ref": "#/definitions/AWS::EC2::Route" - }, - { - "$ref": "#/definitions/AWS::EC2::RouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" - }, - { - "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::EC2::SpotFleet" - }, - { - "$ref": "#/definitions/AWS::EC2::Subnet" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" - }, - { - "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPC" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpoint" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointService" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" - }, - { - "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnection" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGateway" - }, - { - "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" - }, - { - "$ref": "#/definitions/AWS::EC2::Volume" - }, - { - "$ref": "#/definitions/AWS::EC2::VolumeAttachment" - }, - { - "$ref": "#/definitions/AWS::ECR::PublicRepository" - }, - { - "$ref": "#/definitions/AWS::ECR::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" - }, - { - "$ref": "#/definitions/AWS::ECR::Repository" - }, - { - "$ref": "#/definitions/AWS::ECS::CapacityProvider" - }, - { - "$ref": "#/definitions/AWS::ECS::Cluster" - }, - { - "$ref": "#/definitions/AWS::ECS::ClusterCapacityProviderAssociations" - }, - { - "$ref": "#/definitions/AWS::ECS::PrimaryTaskSet" - }, - { - "$ref": "#/definitions/AWS::ECS::Service" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskDefinition" - }, - { - "$ref": "#/definitions/AWS::ECS::TaskSet" - }, - { - "$ref": "#/definitions/AWS::EFS::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::EFS::FileSystem" - }, - { - "$ref": "#/definitions/AWS::EFS::MountTarget" - }, - { - "$ref": "#/definitions/AWS::EKS::Addon" - }, - { - "$ref": "#/definitions/AWS::EKS::Cluster" - }, - { - "$ref": "#/definitions/AWS::EKS::FargateProfile" - }, - { - "$ref": "#/definitions/AWS::EKS::Nodegroup" - }, - { - "$ref": "#/definitions/AWS::EMR::Cluster" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceFleetConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::InstanceGroupConfig" - }, - { - "$ref": "#/definitions/AWS::EMR::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::EMR::Step" - }, - { - "$ref": "#/definitions/AWS::EMR::Studio" - }, - { - "$ref": "#/definitions/AWS::EMR::StudioSessionMapping" - }, - { - "$ref": "#/definitions/AWS::EMRContainers::VirtualCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::CacheCluster" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::GlobalReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ParameterGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::ReplicationGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::SubnetGroup" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::User" - }, - { - "$ref": "#/definitions/AWS::ElastiCache::UserGroup" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Application" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ApplicationVersion" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::ConfigurationTemplate" - }, - { - "$ref": "#/definitions/AWS::ElasticBeanstalk::Environment" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" - }, - { - "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" - }, - { - "$ref": "#/definitions/AWS::Elasticsearch::Domain" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Discoverer" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Registry" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::RegistryPolicy" - }, - { - "$ref": "#/definitions/AWS::EventSchemas::Schema" - }, - { - "$ref": "#/definitions/AWS::Events::ApiDestination" - }, - { - "$ref": "#/definitions/AWS::Events::Archive" - }, - { - "$ref": "#/definitions/AWS::Events::Connection" - }, - { - "$ref": "#/definitions/AWS::Events::EventBus" - }, - { - "$ref": "#/definitions/AWS::Events::EventBusPolicy" - }, - { - "$ref": "#/definitions/AWS::Events::Rule" - }, - { - "$ref": "#/definitions/AWS::Evidently::Experiment" - }, - { - "$ref": "#/definitions/AWS::Evidently::Feature" - }, - { - "$ref": "#/definitions/AWS::Evidently::Launch" - }, - { - "$ref": "#/definitions/AWS::Evidently::Project" - }, - { - "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" - }, - { - "$ref": "#/definitions/AWS::FMS::NotificationChannel" - }, - { - "$ref": "#/definitions/AWS::FMS::Policy" - }, - { - "$ref": "#/definitions/AWS::FSx::FileSystem" - }, - { - "$ref": "#/definitions/AWS::FinSpace::Environment" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Detector" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EntityType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::EventType" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Label" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Outcome" - }, - { - "$ref": "#/definitions/AWS::FraudDetector::Variable" - }, - { - "$ref": "#/definitions/AWS::GameLift::Alias" - }, - { - "$ref": "#/definitions/AWS::GameLift::Build" - }, - { - "$ref": "#/definitions/AWS::GameLift::Fleet" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameServerGroup" - }, - { - "$ref": "#/definitions/AWS::GameLift::GameSessionQueue" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingConfiguration" - }, - { - "$ref": "#/definitions/AWS::GameLift::MatchmakingRuleSet" - }, - { - "$ref": "#/definitions/AWS::GameLift::Script" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Accelerator" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::EndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GlobalAccelerator::Listener" - }, - { - "$ref": "#/definitions/AWS::Glue::Classifier" - }, - { - "$ref": "#/definitions/AWS::Glue::Connection" - }, - { - "$ref": "#/definitions/AWS::Glue::Crawler" - }, - { - "$ref": "#/definitions/AWS::Glue::DataCatalogEncryptionSettings" - }, - { - "$ref": "#/definitions/AWS::Glue::Database" - }, - { - "$ref": "#/definitions/AWS::Glue::DevEndpoint" - }, - { - "$ref": "#/definitions/AWS::Glue::Job" - }, - { - "$ref": "#/definitions/AWS::Glue::MLTransform" - }, - { - "$ref": "#/definitions/AWS::Glue::Partition" - }, - { - "$ref": "#/definitions/AWS::Glue::Registry" - }, - { - "$ref": "#/definitions/AWS::Glue::Schema" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersion" - }, - { - "$ref": "#/definitions/AWS::Glue::SchemaVersionMetadata" - }, - { - "$ref": "#/definitions/AWS::Glue::SecurityConfiguration" - }, - { - "$ref": "#/definitions/AWS::Glue::Table" - }, - { - "$ref": "#/definitions/AWS::Glue::Trigger" - }, - { - "$ref": "#/definitions/AWS::Glue::Workflow" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ConnectorDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::CoreDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::DeviceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::FunctionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::Group" - }, - { - "$ref": "#/definitions/AWS::Greengrass::GroupVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::LoggerDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::ResourceDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinition" - }, - { - "$ref": "#/definitions/AWS::Greengrass::SubscriptionDefinitionVersion" - }, - { - "$ref": "#/definitions/AWS::GreengrassV2::ComponentVersion" - }, - { - "$ref": "#/definitions/AWS::GroundStation::Config" - }, - { - "$ref": "#/definitions/AWS::GroundStation::DataflowEndpointGroup" - }, - { - "$ref": "#/definitions/AWS::GroundStation::MissionProfile" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Detector" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Filter" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::IPSet" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Master" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::Member" - }, - { - "$ref": "#/definitions/AWS::GuardDuty::ThreatIntelSet" - }, - { - "$ref": "#/definitions/AWS::HealthLake::FHIRDatastore" - }, - { - "$ref": "#/definitions/AWS::IAM::AccessKey" - }, - { - "$ref": "#/definitions/AWS::IAM::Group" - }, - { - "$ref": "#/definitions/AWS::IAM::InstanceProfile" - }, - { - "$ref": "#/definitions/AWS::IAM::ManagedPolicy" - }, - { - "$ref": "#/definitions/AWS::IAM::OIDCProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::Policy" - }, - { - "$ref": "#/definitions/AWS::IAM::Role" - }, - { - "$ref": "#/definitions/AWS::IAM::SAMLProvider" - }, - { - "$ref": "#/definitions/AWS::IAM::ServerCertificate" - }, - { - "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" - }, - { - "$ref": "#/definitions/AWS::IAM::User" - }, - { - "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" - }, - { - "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" - }, - { - "$ref": "#/definitions/AWS::IVS::Channel" - }, - { - "$ref": "#/definitions/AWS::IVS::PlaybackKeyPair" - }, - { - "$ref": "#/definitions/AWS::IVS::RecordingConfiguration" - }, - { - "$ref": "#/definitions/AWS::IVS::StreamKey" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Component" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ContainerRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::DistributionConfiguration" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::Image" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImagePipeline" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::ImageRecipe" - }, - { - "$ref": "#/definitions/AWS::ImageBuilder::InfrastructureConfiguration" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTarget" - }, - { - "$ref": "#/definitions/AWS::Inspector::AssessmentTemplate" - }, - { - "$ref": "#/definitions/AWS::Inspector::ResourceGroup" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Device" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Placement" - }, - { - "$ref": "#/definitions/AWS::IoT1Click::Project" - }, - { - "$ref": "#/definitions/AWS::IoT::AccountAuditConfiguration" - }, - { - "$ref": "#/definitions/AWS::IoT::Authorizer" - }, + "maxProperties": 60, + "minProperties": 1, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "type": "object" + } + }, + "type": "object" + }, + "Parameters": { + "additionalProperties": false, + "maxProperties": 50, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "$ref": "#/definitions/Parameter" + } + }, + "type": "object" + }, + "Resources": { + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z0-9]+$": { + "anyOf": [ { - "$ref": "#/definitions/AWS::IoT::Certificate" + "$ref": "#/definitions/AWS::AutoScaling::AutoScalingGroup" }, { - "$ref": "#/definitions/AWS::IoT::CustomMetric" + "$ref": "#/definitions/AWS::AutoScaling::LaunchConfiguration" }, { - "$ref": "#/definitions/AWS::IoT::Dimension" + "$ref": "#/definitions/AWS::AutoScaling::LifecycleHook" }, { - "$ref": "#/definitions/AWS::IoT::DomainConfiguration" + "$ref": "#/definitions/AWS::AutoScaling::ScalingPolicy" }, { - "$ref": "#/definitions/AWS::IoT::FleetMetric" + "$ref": "#/definitions/AWS::AutoScaling::ScheduledAction" }, { - "$ref": "#/definitions/AWS::IoT::JobTemplate" + "$ref": "#/definitions/AWS::AutoScaling::WarmPool" }, { - "$ref": "#/definitions/AWS::IoT::Logging" + "$ref": "#/definitions/AWS::CloudFormation::CustomResource" }, { - "$ref": "#/definitions/AWS::IoT::MitigationAction" + "$ref": "#/definitions/AWS::CloudFormation::GuardHook" }, { - "$ref": "#/definitions/AWS::IoT::Policy" + "$ref": "#/definitions/AWS::CloudFormation::HookDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::PolicyPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::HookTypeConfig" }, { - "$ref": "#/definitions/AWS::IoT::ProvisioningTemplate" + "$ref": "#/definitions/AWS::CloudFormation::HookVersion" }, { - "$ref": "#/definitions/AWS::IoT::ResourceSpecificLogging" + "$ref": "#/definitions/AWS::CloudFormation::LambdaHook" }, { - "$ref": "#/definitions/AWS::IoT::ScheduledAudit" + "$ref": "#/definitions/AWS::CloudFormation::Macro" }, { - "$ref": "#/definitions/AWS::IoT::SecurityProfile" + "$ref": "#/definitions/AWS::CloudFormation::ModuleDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoT::Thing" + "$ref": "#/definitions/AWS::CloudFormation::ModuleVersion" }, { - "$ref": "#/definitions/AWS::IoT::ThingPrincipalAttachment" + "$ref": "#/definitions/AWS::CloudFormation::PublicTypeVersion" }, { - "$ref": "#/definitions/AWS::IoT::TopicRule" + "$ref": "#/definitions/AWS::CloudFormation::Publisher" }, { - "$ref": "#/definitions/AWS::IoT::TopicRuleDestination" + "$ref": "#/definitions/AWS::CloudFormation::ResourceDefaultVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Channel" + "$ref": "#/definitions/AWS::CloudFormation::ResourceVersion" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Dataset" + "$ref": "#/definitions/AWS::CloudFormation::Stack" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Datastore" + "$ref": "#/definitions/AWS::CloudFormation::StackSet" }, { - "$ref": "#/definitions/AWS::IoTAnalytics::Pipeline" + "$ref": "#/definitions/AWS::CloudFormation::TypeActivation" }, { - "$ref": "#/definitions/AWS::IoTCoreDeviceAdvisor::SuiteDefinition" + "$ref": "#/definitions/AWS::CloudFormation::WaitCondition" }, { - "$ref": "#/definitions/AWS::IoTEvents::DetectorModel" + "$ref": "#/definitions/AWS::CloudFormation::WaitConditionHandle" }, { - "$ref": "#/definitions/AWS::IoTEvents::Input" + "$ref": "#/definitions/AWS::CloudWatch::Alarm" }, { - "$ref": "#/definitions/AWS::IoTFleetHub::Application" + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AccessPolicy" + "$ref": "#/definitions/AWS::CloudWatch::CompositeAlarm" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Asset" + "$ref": "#/definitions/AWS::CloudWatch::Dashboard" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::AssetModel" + "$ref": "#/definitions/AWS::CloudWatch::InsightRule" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Dashboard" + "$ref": "#/definitions/AWS::CloudWatch::MetricStream" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Gateway" + "$ref": "#/definitions/AWS::EC2::CapacityReservation" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Portal" + "$ref": "#/definitions/AWS::EC2::CapacityReservationFleet" }, { - "$ref": "#/definitions/AWS::IoTSiteWise::Project" + "$ref": "#/definitions/AWS::EC2::CarrierGateway" }, { - "$ref": "#/definitions/AWS::IoTThingsGraph::FlowTemplate" + "$ref": "#/definitions/AWS::EC2::ClientVpnAuthorizationRule" }, { - "$ref": "#/definitions/AWS::IoTWireless::Destination" + "$ref": "#/definitions/AWS::EC2::ClientVpnEndpoint" }, { - "$ref": "#/definitions/AWS::IoTWireless::DeviceProfile" + "$ref": "#/definitions/AWS::EC2::ClientVpnRoute" }, { - "$ref": "#/definitions/AWS::IoTWireless::FuotaTask" + "$ref": "#/definitions/AWS::EC2::ClientVpnTargetNetworkAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::MulticastGroup" + "$ref": "#/definitions/AWS::EC2::CustomerGateway" }, { - "$ref": "#/definitions/AWS::IoTWireless::PartnerAccount" + "$ref": "#/definitions/AWS::EC2::DHCPOptions" }, { - "$ref": "#/definitions/AWS::IoTWireless::ServiceProfile" + "$ref": "#/definitions/AWS::EC2::EC2Fleet" }, { - "$ref": "#/definitions/AWS::IoTWireless::TaskDefinition" + "$ref": "#/definitions/AWS::EC2::EIP" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessDevice" + "$ref": "#/definitions/AWS::EC2::EIPAssociation" }, { - "$ref": "#/definitions/AWS::IoTWireless::WirelessGateway" + "$ref": "#/definitions/AWS::EC2::EgressOnlyInternetGateway" }, { - "$ref": "#/definitions/AWS::KMS::Alias" + "$ref": "#/definitions/AWS::EC2::EnclaveCertificateIamRoleAssociation" }, { - "$ref": "#/definitions/AWS::KMS::Key" + "$ref": "#/definitions/AWS::EC2::FlowLog" }, { - "$ref": "#/definitions/AWS::KMS::ReplicaKey" + "$ref": "#/definitions/AWS::EC2::GatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Kendra::DataSource" + "$ref": "#/definitions/AWS::EC2::Host" }, { - "$ref": "#/definitions/AWS::Kendra::Faq" + "$ref": "#/definitions/AWS::EC2::IPAM" }, { - "$ref": "#/definitions/AWS::Kendra::Index" + "$ref": "#/definitions/AWS::EC2::IPAMAllocation" }, { - "$ref": "#/definitions/AWS::Kinesis::Stream" + "$ref": "#/definitions/AWS::EC2::IPAMPool" }, { - "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" + "$ref": "#/definitions/AWS::EC2::IPAMPoolCidr" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::Application" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscovery" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::IPAMResourceDiscoveryAssociation" }, { - "$ref": "#/definitions/AWS::KinesisAnalytics::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::IPAMScope" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::Application" + "$ref": "#/definitions/AWS::EC2::Instance" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption" + "$ref": "#/definitions/AWS::EC2::InstanceConnectEndpoint" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationOutput" + "$ref": "#/definitions/AWS::EC2::InternetGateway" }, { - "$ref": "#/definitions/AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" + "$ref": "#/definitions/AWS::EC2::KeyPair" }, { - "$ref": "#/definitions/AWS::KinesisFirehose::DeliveryStream" + "$ref": "#/definitions/AWS::EC2::LaunchTemplate" }, { - "$ref": "#/definitions/AWS::LakeFormation::DataLakeSettings" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRoute" }, { - "$ref": "#/definitions/AWS::LakeFormation::Permissions" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::LakeFormation::Resource" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVPCAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::Alias" + "$ref": "#/definitions/AWS::EC2::LocalGatewayRouteTableVirtualInterfaceGroupAssociation" }, { - "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" + "$ref": "#/definitions/AWS::EC2::NatGateway" }, { - "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" + "$ref": "#/definitions/AWS::EC2::NetworkAcl" }, { - "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" + "$ref": "#/definitions/AWS::EC2::NetworkAclEntry" }, { - "$ref": "#/definitions/AWS::Lambda::Function" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScope" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersion" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAccessScopeAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsAnalysis" }, { - "$ref": "#/definitions/AWS::Lambda::Permission" + "$ref": "#/definitions/AWS::EC2::NetworkInsightsPath" }, { - "$ref": "#/definitions/AWS::Lambda::Version" + "$ref": "#/definitions/AWS::EC2::NetworkInterface" }, { - "$ref": "#/definitions/AWS::LicenseManager::Grant" + "$ref": "#/definitions/AWS::EC2::NetworkInterfaceAttachment" }, { - "$ref": "#/definitions/AWS::LicenseManager::License" + "$ref": "#/definitions/AWS::EC2::NetworkInterfacePermission" }, { - "$ref": "#/definitions/AWS::Lightsail::Database" + "$ref": "#/definitions/AWS::EC2::NetworkPerformanceMetricSubscription" }, { - "$ref": "#/definitions/AWS::Lightsail::Disk" + "$ref": "#/definitions/AWS::EC2::PlacementGroup" }, { - "$ref": "#/definitions/AWS::Lightsail::Instance" + "$ref": "#/definitions/AWS::EC2::PrefixList" }, { - "$ref": "#/definitions/AWS::Lightsail::StaticIp" + "$ref": "#/definitions/AWS::EC2::Route" }, { - "$ref": "#/definitions/AWS::Location::GeofenceCollection" + "$ref": "#/definitions/AWS::EC2::RouteTable" }, { - "$ref": "#/definitions/AWS::Location::Map" + "$ref": "#/definitions/AWS::EC2::SecurityGroup" }, { - "$ref": "#/definitions/AWS::Location::PlaceIndex" + "$ref": "#/definitions/AWS::EC2::SecurityGroupEgress" }, { - "$ref": "#/definitions/AWS::Location::RouteCalculator" + "$ref": "#/definitions/AWS::EC2::SecurityGroupIngress" }, { - "$ref": "#/definitions/AWS::Location::Tracker" + "$ref": "#/definitions/AWS::EC2::SecurityGroupVpcAssociation" }, { - "$ref": "#/definitions/AWS::Location::TrackerConsumer" + "$ref": "#/definitions/AWS::EC2::SnapshotBlockPublicAccess" }, { - "$ref": "#/definitions/AWS::Logs::Destination" + "$ref": "#/definitions/AWS::EC2::SpotFleet" }, { - "$ref": "#/definitions/AWS::Logs::LogGroup" + "$ref": "#/definitions/AWS::EC2::Subnet" }, { - "$ref": "#/definitions/AWS::Logs::LogStream" + "$ref": "#/definitions/AWS::EC2::SubnetCidrBlock" }, { - "$ref": "#/definitions/AWS::Logs::MetricFilter" + "$ref": "#/definitions/AWS::EC2::SubnetNetworkAclAssociation" }, { - "$ref": "#/definitions/AWS::Logs::QueryDefinition" + "$ref": "#/definitions/AWS::EC2::SubnetRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::Logs::ResourcePolicy" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilter" }, { - "$ref": "#/definitions/AWS::Logs::SubscriptionFilter" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorFilterRule" }, { - "$ref": "#/definitions/AWS::LookoutEquipment::InferenceScheduler" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorSession" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::Alert" + "$ref": "#/definitions/AWS::EC2::TrafficMirrorTarget" }, { - "$ref": "#/definitions/AWS::LookoutMetrics::AnomalyDetector" + "$ref": "#/definitions/AWS::EC2::TransitGateway" }, { - "$ref": "#/definitions/AWS::LookoutVision::Project" + "$ref": "#/definitions/AWS::EC2::TransitGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MSK::Cluster" + "$ref": "#/definitions/AWS::EC2::TransitGatewayConnect" }, { - "$ref": "#/definitions/AWS::MWAA::Environment" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomain" }, { - "$ref": "#/definitions/AWS::Macie::CustomDataIdentifier" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastDomainAssociation" }, { - "$ref": "#/definitions/AWS::Macie::FindingsFilter" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupMember" }, { - "$ref": "#/definitions/AWS::Macie::Session" + "$ref": "#/definitions/AWS::EC2::TransitGatewayMulticastGroupSource" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Member" + "$ref": "#/definitions/AWS::EC2::TransitGatewayPeeringAttachment" }, { - "$ref": "#/definitions/AWS::ManagedBlockchain::Node" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRoute" }, { - "$ref": "#/definitions/AWS::MediaConnect::Flow" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTable" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowEntitlement" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTableAssociation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowOutput" + "$ref": "#/definitions/AWS::EC2::TransitGatewayRouteTablePropagation" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowSource" + "$ref": "#/definitions/AWS::EC2::TransitGatewayVpcAttachment" }, { - "$ref": "#/definitions/AWS::MediaConnect::FlowVpcInterface" + "$ref": "#/definitions/AWS::EC2::VPC" }, { - "$ref": "#/definitions/AWS::MediaConvert::JobTemplate" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessExclusion" }, { - "$ref": "#/definitions/AWS::MediaConvert::Preset" + "$ref": "#/definitions/AWS::EC2::VPCBlockPublicAccessOptions" }, { - "$ref": "#/definitions/AWS::MediaConvert::Queue" + "$ref": "#/definitions/AWS::EC2::VPCCidrBlock" }, { - "$ref": "#/definitions/AWS::MediaLive::Channel" + "$ref": "#/definitions/AWS::EC2::VPCDHCPOptionsAssociation" }, { - "$ref": "#/definitions/AWS::MediaLive::Input" + "$ref": "#/definitions/AWS::EC2::VPCEndpoint" }, { - "$ref": "#/definitions/AWS::MediaLive::InputSecurityGroup" + "$ref": "#/definitions/AWS::EC2::VPCEndpointConnectionNotification" }, { - "$ref": "#/definitions/AWS::MediaPackage::Asset" + "$ref": "#/definitions/AWS::EC2::VPCEndpointService" }, { - "$ref": "#/definitions/AWS::MediaPackage::Channel" + "$ref": "#/definitions/AWS::EC2::VPCEndpointServicePermissions" }, { - "$ref": "#/definitions/AWS::MediaPackage::OriginEndpoint" + "$ref": "#/definitions/AWS::EC2::VPCGatewayAttachment" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingConfiguration" + "$ref": "#/definitions/AWS::EC2::VPCPeeringConnection" }, { - "$ref": "#/definitions/AWS::MediaPackage::PackagingGroup" + "$ref": "#/definitions/AWS::EC2::VPNConnection" }, { - "$ref": "#/definitions/AWS::MediaStore::Container" + "$ref": "#/definitions/AWS::EC2::VPNConnectionRoute" }, { - "$ref": "#/definitions/AWS::MemoryDB::ACL" + "$ref": "#/definitions/AWS::EC2::VPNGateway" }, { - "$ref": "#/definitions/AWS::MemoryDB::Cluster" + "$ref": "#/definitions/AWS::EC2::VPNGatewayRoutePropagation" }, { - "$ref": "#/definitions/AWS::MemoryDB::ParameterGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessEndpoint" }, { - "$ref": "#/definitions/AWS::MemoryDB::SubnetGroup" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessGroup" }, { - "$ref": "#/definitions/AWS::MemoryDB::User" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessInstance" }, { - "$ref": "#/definitions/AWS::Neptune::DBCluster" + "$ref": "#/definitions/AWS::EC2::VerifiedAccessTrustProvider" }, { - "$ref": "#/definitions/AWS::Neptune::DBClusterParameterGroup" + "$ref": "#/definitions/AWS::EC2::Volume" }, { - "$ref": "#/definitions/AWS::Neptune::DBInstance" + "$ref": "#/definitions/AWS::EC2::VolumeAttachment" }, { - "$ref": "#/definitions/AWS::Neptune::DBParameterGroup" + "$ref": "#/definitions/AWS::ECR::PublicRepository" }, { - "$ref": "#/definitions/AWS::Neptune::DBSubnetGroup" + "$ref": "#/definitions/AWS::ECR::PullThroughCacheRule" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::Firewall" + "$ref": "#/definitions/AWS::ECR::RegistryPolicy" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::FirewallPolicy" + "$ref": "#/definitions/AWS::ECR::ReplicationConfiguration" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::LoggingConfiguration" + "$ref": "#/definitions/AWS::ECR::Repository" }, { - "$ref": "#/definitions/AWS::NetworkFirewall::RuleGroup" + "$ref": "#/definitions/AWS::ECR::RepositoryCreationTemplate" }, { - "$ref": "#/definitions/AWS::NetworkManager::CustomerGatewayAssociation" + "$ref": "#/definitions/AWS::EKS::AccessEntry" }, { - "$ref": "#/definitions/AWS::NetworkManager::Device" + "$ref": "#/definitions/AWS::EKS::Addon" }, { - "$ref": "#/definitions/AWS::NetworkManager::GlobalNetwork" + "$ref": "#/definitions/AWS::EKS::Cluster" }, { - "$ref": "#/definitions/AWS::NetworkManager::Link" + "$ref": "#/definitions/AWS::EKS::FargateProfile" }, { - "$ref": "#/definitions/AWS::NetworkManager::LinkAssociation" + "$ref": "#/definitions/AWS::EKS::IdentityProviderConfig" }, { - "$ref": "#/definitions/AWS::NetworkManager::Site" + "$ref": "#/definitions/AWS::EKS::Nodegroup" }, { - "$ref": "#/definitions/AWS::NetworkManager::TransitGatewayRegistration" + "$ref": "#/definitions/AWS::EKS::PodIdentityAssociation" }, { - "$ref": "#/definitions/AWS::NimbleStudio::LaunchProfile" + "$ref": "#/definitions/AWS::ElasticLoadBalancing::LoadBalancer" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StreamingImage" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::Listener" }, { - "$ref": "#/definitions/AWS::NimbleStudio::Studio" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerCertificate" }, { - "$ref": "#/definitions/AWS::NimbleStudio::StudioComponent" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::ListenerRule" }, { - "$ref": "#/definitions/AWS::OpenSearchService::Domain" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::LoadBalancer" }, { - "$ref": "#/definitions/AWS::OpsWorks::App" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TargetGroup" }, { - "$ref": "#/definitions/AWS::OpsWorks::ElasticLoadBalancerAttachment" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStore" }, { - "$ref": "#/definitions/AWS::OpsWorks::Instance" + "$ref": "#/definitions/AWS::ElasticLoadBalancingV2::TrustStoreRevocation" }, { - "$ref": "#/definitions/AWS::OpsWorks::Layer" + "$ref": "#/definitions/AWS::Events::ApiDestination" }, { - "$ref": "#/definitions/AWS::OpsWorks::Stack" + "$ref": "#/definitions/AWS::Events::Archive" }, { - "$ref": "#/definitions/AWS::OpsWorks::UserProfile" + "$ref": "#/definitions/AWS::Events::Connection" }, { - "$ref": "#/definitions/AWS::OpsWorks::Volume" + "$ref": "#/definitions/AWS::Events::Endpoint" }, { - "$ref": "#/definitions/AWS::OpsWorksCM::Server" + "$ref": "#/definitions/AWS::Events::EventBus" }, { - "$ref": "#/definitions/AWS::Panorama::ApplicationInstance" + "$ref": "#/definitions/AWS::Events::EventBusPolicy" }, { - "$ref": "#/definitions/AWS::Panorama::Package" + "$ref": "#/definitions/AWS::Events::Rule" }, { - "$ref": "#/definitions/AWS::Panorama::PackageVersion" + "$ref": "#/definitions/AWS::IAM::AccessKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::ADMChannel" + "$ref": "#/definitions/AWS::IAM::Group" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSChannel" + "$ref": "#/definitions/AWS::IAM::GroupPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSSandboxChannel" + "$ref": "#/definitions/AWS::IAM::InstanceProfile" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipChannel" + "$ref": "#/definitions/AWS::IAM::ManagedPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::APNSVoipSandboxChannel" + "$ref": "#/definitions/AWS::IAM::OIDCProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::App" + "$ref": "#/definitions/AWS::IAM::Policy" }, { - "$ref": "#/definitions/AWS::Pinpoint::ApplicationSettings" + "$ref": "#/definitions/AWS::IAM::Role" }, { - "$ref": "#/definitions/AWS::Pinpoint::BaiduChannel" + "$ref": "#/definitions/AWS::IAM::RolePolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::Campaign" + "$ref": "#/definitions/AWS::IAM::SAMLProvider" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailChannel" + "$ref": "#/definitions/AWS::IAM::ServerCertificate" }, { - "$ref": "#/definitions/AWS::Pinpoint::EmailTemplate" + "$ref": "#/definitions/AWS::IAM::ServiceLinkedRole" }, { - "$ref": "#/definitions/AWS::Pinpoint::EventStream" + "$ref": "#/definitions/AWS::IAM::User" }, { - "$ref": "#/definitions/AWS::Pinpoint::GCMChannel" + "$ref": "#/definitions/AWS::IAM::UserPolicy" }, { - "$ref": "#/definitions/AWS::Pinpoint::InAppTemplate" + "$ref": "#/definitions/AWS::IAM::UserToGroupAddition" }, { - "$ref": "#/definitions/AWS::Pinpoint::PushTemplate" + "$ref": "#/definitions/AWS::IAM::VirtualMFADevice" }, { - "$ref": "#/definitions/AWS::Pinpoint::SMSChannel" + "$ref": "#/definitions/AWS::KMS::Alias" }, { - "$ref": "#/definitions/AWS::Pinpoint::Segment" + "$ref": "#/definitions/AWS::KMS::Key" }, { - "$ref": "#/definitions/AWS::Pinpoint::SmsTemplate" + "$ref": "#/definitions/AWS::KMS::ReplicaKey" }, { - "$ref": "#/definitions/AWS::Pinpoint::VoiceChannel" + "$ref": "#/definitions/AWS::Kinesis::ResourcePolicy" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSet" + "$ref": "#/definitions/AWS::Kinesis::Stream" }, { - "$ref": "#/definitions/AWS::PinpointEmail::ConfigurationSetEventDestination" + "$ref": "#/definitions/AWS::Kinesis::StreamConsumer" }, { - "$ref": "#/definitions/AWS::PinpointEmail::DedicatedIpPool" + "$ref": "#/definitions/AWS::Lambda::Alias" }, { - "$ref": "#/definitions/AWS::PinpointEmail::Identity" + "$ref": "#/definitions/AWS::Lambda::CodeSigningConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Ledger" + "$ref": "#/definitions/AWS::Lambda::EventInvokeConfig" }, { - "$ref": "#/definitions/AWS::QLDB::Stream" + "$ref": "#/definitions/AWS::Lambda::EventSourceMapping" }, { - "$ref": "#/definitions/AWS::QuickSight::Analysis" + "$ref": "#/definitions/AWS::Lambda::Function" }, { - "$ref": "#/definitions/AWS::QuickSight::Dashboard" + "$ref": "#/definitions/AWS::Lambda::LayerVersion" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSet" + "$ref": "#/definitions/AWS::Lambda::LayerVersionPermission" }, { - "$ref": "#/definitions/AWS::QuickSight::DataSource" + "$ref": "#/definitions/AWS::Lambda::Permission" }, { - "$ref": "#/definitions/AWS::QuickSight::Template" + "$ref": "#/definitions/AWS::Lambda::Url" }, { - "$ref": "#/definitions/AWS::QuickSight::Theme" + "$ref": "#/definitions/AWS::Lambda::Version" }, { - "$ref": "#/definitions/AWS::RAM::ResourceShare" + "$ref": "#/definitions/AWS::RDS::CustomDBEngineVersion" }, { "$ref": "#/definitions/AWS::RDS::DBCluster" @@ -125635,6 +32694,9 @@ { "$ref": "#/definitions/AWS::RDS::DBSecurityGroupIngress" }, + { + "$ref": "#/definitions/AWS::RDS::DBShardGroup" + }, { "$ref": "#/definitions/AWS::RDS::DBSubnetGroup" }, @@ -125645,79 +32707,22 @@ "$ref": "#/definitions/AWS::RDS::GlobalCluster" }, { - "$ref": "#/definitions/AWS::RDS::OptionGroup" - }, - { - "$ref": "#/definitions/AWS::RUM::AppMonitor" - }, - { - "$ref": "#/definitions/AWS::Redshift::Cluster" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterParameterGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSecurityGroupIngress" - }, - { - "$ref": "#/definitions/AWS::Redshift::ClusterSubnetGroup" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAccess" - }, - { - "$ref": "#/definitions/AWS::Redshift::EndpointAuthorization" - }, - { - "$ref": "#/definitions/AWS::Redshift::EventSubscription" - }, - { - "$ref": "#/definitions/AWS::Redshift::ScheduledAction" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Application" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Environment" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Route" - }, - { - "$ref": "#/definitions/AWS::RefactorSpaces::Service" - }, - { - "$ref": "#/definitions/AWS::Rekognition::Project" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::App" - }, - { - "$ref": "#/definitions/AWS::ResilienceHub::ResiliencyPolicy" - }, - { - "$ref": "#/definitions/AWS::ResourceGroups::Group" - }, - { - "$ref": "#/definitions/AWS::RoboMaker::Fleet" + "$ref": "#/definitions/AWS::RDS::Integration" }, { - "$ref": "#/definitions/AWS::RoboMaker::Robot" + "$ref": "#/definitions/AWS::RDS::OptionGroup" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::CRL" }, { - "$ref": "#/definitions/AWS::RoboMaker::RobotApplicationVersion" + "$ref": "#/definitions/AWS::RolesAnywhere::Profile" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplication" + "$ref": "#/definitions/AWS::RolesAnywhere::TrustAnchor" }, { - "$ref": "#/definitions/AWS::RoboMaker::SimulationApplicationVersion" + "$ref": "#/definitions/AWS::Route53::CidrCollection" }, { "$ref": "#/definitions/AWS::Route53::DNSSEC" @@ -125738,58 +32743,13 @@ "$ref": "#/definitions/AWS::Route53::RecordSetGroup" }, { - "$ref": "#/definitions/AWS::Route53RecoveryControl::Cluster" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::ControlPanel" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::RoutingControl" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryControl::SafetyRule" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::Cell" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ReadinessCheck" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::RecoveryGroup" - }, - { - "$ref": "#/definitions/AWS::Route53RecoveryReadiness::ResourceSet" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallDomainList" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroup" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::FirewallRuleGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverDNSSECConfig" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverEndpoint" + "$ref": "#/definitions/AWS::S3::AccessGrant" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfig" + "$ref": "#/definitions/AWS::S3::AccessGrantsInstance" }, { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRule" - }, - { - "$ref": "#/definitions/AWS::Route53Resolver::ResolverRuleAssociation" + "$ref": "#/definitions/AWS::S3::AccessGrantsLocation" }, { "$ref": "#/definitions/AWS::S3::AccessPoint" @@ -125810,46 +32770,7 @@ "$ref": "#/definitions/AWS::S3::StorageLens" }, { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3ObjectLambda::AccessPointPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::AccessPoint" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Bucket" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::BucketPolicy" - }, - { - "$ref": "#/definitions/AWS::S3Outposts::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SDB::Domain" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSet" - }, - { - "$ref": "#/definitions/AWS::SES::ConfigurationSetEventDestination" - }, - { - "$ref": "#/definitions/AWS::SES::ContactList" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptFilter" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRule" - }, - { - "$ref": "#/definitions/AWS::SES::ReceiptRuleSet" - }, - { - "$ref": "#/definitions/AWS::SES::Template" + "$ref": "#/definitions/AWS::S3::StorageLensGroup" }, { "$ref": "#/definitions/AWS::SNS::Subscription" @@ -125858,145 +32779,19 @@ "$ref": "#/definitions/AWS::SNS::Topic" }, { - "$ref": "#/definitions/AWS::SNS::TopicPolicy" - }, - { - "$ref": "#/definitions/AWS::SQS::Queue" - }, - { - "$ref": "#/definitions/AWS::SQS::QueuePolicy" - }, - { - "$ref": "#/definitions/AWS::SSM::Association" - }, - { - "$ref": "#/definitions/AWS::SSM::Document" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindow" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTarget" - }, - { - "$ref": "#/definitions/AWS::SSM::MaintenanceWindowTask" - }, - { - "$ref": "#/definitions/AWS::SSM::Parameter" - }, - { - "$ref": "#/definitions/AWS::SSM::PatchBaseline" - }, - { - "$ref": "#/definitions/AWS::SSM::ResourceDataSync" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::Contact" - }, - { - "$ref": "#/definitions/AWS::SSMContacts::ContactChannel" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ReplicationSet" - }, - { - "$ref": "#/definitions/AWS::SSMIncidents::ResponsePlan" - }, - { - "$ref": "#/definitions/AWS::SSO::Assignment" - }, - { - "$ref": "#/definitions/AWS::SSO::InstanceAccessControlAttributeConfiguration" - }, - { - "$ref": "#/definitions/AWS::SSO::PermissionSet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::App" - }, - { - "$ref": "#/definitions/AWS::SageMaker::AppImageConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::CodeRepository" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DataQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Device" - }, - { - "$ref": "#/definitions/AWS::SageMaker::DeviceFleet" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Domain" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Endpoint" - }, - { - "$ref": "#/definitions/AWS::SageMaker::EndpointConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::FeatureGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Image" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ImageVersion" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Model" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelBiasJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelExplainabilityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelPackageGroup" - }, - { - "$ref": "#/definitions/AWS::SageMaker::ModelQualityJobDefinition" - }, - { - "$ref": "#/definitions/AWS::SageMaker::MonitoringSchedule" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstance" - }, - { - "$ref": "#/definitions/AWS::SageMaker::NotebookInstanceLifecycleConfig" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Pipeline" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Project" - }, - { - "$ref": "#/definitions/AWS::SageMaker::UserProfile" - }, - { - "$ref": "#/definitions/AWS::SageMaker::Workteam" - }, - { - "$ref": "#/definitions/AWS::SecretsManager::ResourcePolicy" + "$ref": "#/definitions/AWS::SNS::TopicInlinePolicy" }, { - "$ref": "#/definitions/AWS::SecretsManager::RotationSchedule" + "$ref": "#/definitions/AWS::SNS::TopicPolicy" }, { - "$ref": "#/definitions/AWS::SecretsManager::Secret" + "$ref": "#/definitions/AWS::SQS::Queue" }, { - "$ref": "#/definitions/AWS::SecretsManager::SecretTargetAttachment" + "$ref": "#/definitions/AWS::SQS::QueueInlinePolicy" }, { - "$ref": "#/definitions/AWS::SecurityHub::Hub" + "$ref": "#/definitions/AWS::SQS::QueuePolicy" }, { "$ref": "#/definitions/AWS::Serverless::Api" @@ -126015,210 +32810,6 @@ }, { "$ref": "#/definitions/AWS::Serverless::StateMachine" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::AcceptedPortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::CloudFormationProvisionedProduct" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchNotificationConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchRoleConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::LaunchTemplateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::Portfolio" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioPrincipalAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioProductAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::PortfolioShare" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ResourceUpdateConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceAction" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::ServiceActionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::StackSetConstraint" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOption" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalog::TagOptionAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::Application" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroup" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceCatalogAppRegistry::ResourceAssociation" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::HttpNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Instance" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PrivateDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::PublicDnsNamespace" - }, - { - "$ref": "#/definitions/AWS::ServiceDiscovery::Service" - }, - { - "$ref": "#/definitions/AWS::Signer::ProfilePermission" - }, - { - "$ref": "#/definitions/AWS::Signer::SigningProfile" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::Activity" - }, - { - "$ref": "#/definitions/AWS::StepFunctions::StateMachine" - }, - { - "$ref": "#/definitions/AWS::Synthetics::Canary" - }, - { - "$ref": "#/definitions/AWS::Timestream::Database" - }, - { - "$ref": "#/definitions/AWS::Timestream::ScheduledQuery" - }, - { - "$ref": "#/definitions/AWS::Timestream::Table" - }, - { - "$ref": "#/definitions/AWS::Transfer::Server" - }, - { - "$ref": "#/definitions/AWS::Transfer::User" - }, - { - "$ref": "#/definitions/AWS::Transfer::Workflow" - }, - { - "$ref": "#/definitions/AWS::WAF::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAF::Rule" - }, - { - "$ref": "#/definitions/AWS::WAF::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAF::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAF::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAF::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::ByteMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::GeoMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RateBasedRule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::Rule" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SizeConstraintSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::SqlInjectionMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::WAFRegional::XssMatchSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::IPSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::LoggingConfiguration" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RegexPatternSet" - }, - { - "$ref": "#/definitions/AWS::WAFv2::RuleGroup" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACL" - }, - { - "$ref": "#/definitions/AWS::WAFv2::WebACLAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::Assistant" - }, - { - "$ref": "#/definitions/AWS::Wisdom::AssistantAssociation" - }, - { - "$ref": "#/definitions/AWS::Wisdom::KnowledgeBase" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::ConnectionAlias" - }, - { - "$ref": "#/definitions/AWS::WorkSpaces::Workspace" - }, - { - "$ref": "#/definitions/AWS::XRay::Group" - }, - { - "$ref": "#/definitions/AWS::XRay::SamplingRule" - }, - { - "$ref": "#/definitions/Alexa::ASK::Skill" } ] } From d3e528bb41aea26475db26637aa276de27d80da2 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 5 Mar 2025 21:15:15 -0500 Subject: [PATCH 3/4] add explicit error when a type is not found Signed-off-by: Davanum Srinivas --- pkg/goformation/cloudformation/template.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/goformation/cloudformation/template.go b/pkg/goformation/cloudformation/template.go index 0c5f7630c1..45094c5714 100644 --- a/pkg/goformation/cloudformation/template.go +++ b/pkg/goformation/cloudformation/template.go @@ -100,7 +100,11 @@ func unmarshallResource(name string, raw_json *json.RawMessage) (Resource, error if strings.HasPrefix(rtype.Type, "Custom::") { resourceStruct = &CustomResource{Type: rtype.Type} } else { - resourceStruct = AllResources()[rtype.Type] + var exists bool + resourceStruct, exists = AllResources()[rtype.Type] + if !exists { + return nil, fmt.Errorf("resource type %v not found", rtype.Type) + } } err = json.Unmarshal(*raw_json, resourceStruct) From 81cb4efcb7025000a1826ba8a2e392320c2fe6fc Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 5 Mar 2025 22:38:30 -0500 Subject: [PATCH 4/4] fix test cases Signed-off-by: Davanum Srinivas --- pkg/cfn/builder/iam.go | 7 +- .../testdata/custom_vpc_private_endpoint.json | 65 ++- ...vpc_private_endpoint_same_route_table.json | 64 ++- pkg/cfn/builder/testdata/vpc_private.json | 40 ++ .../builder/testdata/vpc_private_china.json | 56 +- pkg/cfn/builder/testdata/vpc_private_iso.json | 40 ++ .../builder/testdata/vpc_private_isob.json | 40 ++ .../builder/testdata/vpc_private_isoe.json | 40 ++ .../builder/testdata/vpc_private_isof.json | 40 ++ .../testdata/vpc_private_outposts.json | 516 ++++++++++-------- .../testdata/vpc_private_outposts_china.json | 516 ++++++++++-------- 11 files changed, 979 insertions(+), 445 deletions(-) diff --git a/pkg/cfn/builder/iam.go b/pkg/cfn/builder/iam.go index a38bf45057..b1f2534194 100644 --- a/pkg/cfn/builder/iam.go +++ b/pkg/cfn/builder/iam.go @@ -145,11 +145,12 @@ func (c *ClusterResourceSet) addIAMRolesAnywhere() { Name: makeName("CA"), Source: &gfnrolesanywhere.TrustAnchor_Source{ SourceType: gfnt.NewString("CERTIFICATE_BUNDLE"), - SourceData: &gfnrolesanywhere.TrustAnchor_SourceData{ - X509CertificateData: gfnt.NewString(*c.spec.RemoteNetworkConfig.IAM.CABundleCert), - }, + SourceData: &gfnrolesanywhere.TrustAnchor_SourceData{}, }, } + if c.spec.RemoteNetworkConfig.IAM.CABundleCert != nil { + trustAnchor.Source.SourceData.X509CertificateData = gfnt.NewString(*c.spec.RemoteNetworkConfig.IAM.CABundleCert) + } anywhereProfile := &gfnrolesanywhere.Profile{ Enabled: gfnt.NewBoolean(true), Name: makeName("remote-nodes"), diff --git a/pkg/cfn/builder/testdata/custom_vpc_private_endpoint.json b/pkg/cfn/builder/testdata/custom_vpc_private_endpoint.json index 730ccf196c..851d62fe05 100644 --- a/pkg/cfn/builder/testdata/custom_vpc_private_endpoint.json +++ b/pkg/cfn/builder/testdata/custom_vpc_private_endpoint.json @@ -9,7 +9,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ec2", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -22,7 +33,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ecr.api", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -35,7 +57,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ecr.dkr", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -43,8 +76,19 @@ "VPCEndpointS3": { "Type": "AWS::EC2::VPCEndpoint", "Properties": { - "RouteTableIds": ["rtb-custom-1", "rtb-custom-2"], + "RouteTableIds": [ + "rtb-custom-1", + "rtb-custom-2" + ], "ServiceName": "com.amazonaws.us-west-2.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": "vpc-custom" } @@ -57,7 +101,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.sts", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } diff --git a/pkg/cfn/builder/testdata/custom_vpc_private_endpoint_same_route_table.json b/pkg/cfn/builder/testdata/custom_vpc_private_endpoint_same_route_table.json index b9f9dd3108..c4cc704a47 100644 --- a/pkg/cfn/builder/testdata/custom_vpc_private_endpoint_same_route_table.json +++ b/pkg/cfn/builder/testdata/custom_vpc_private_endpoint_same_route_table.json @@ -9,7 +9,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ec2", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -22,7 +33,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ecr.api", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -35,7 +57,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.ecr.dkr", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } @@ -43,8 +76,18 @@ "VPCEndpointS3": { "Type": "AWS::EC2::VPCEndpoint", "Properties": { - "RouteTableIds": ["rtb-custom-1"], + "RouteTableIds": [ + "rtb-custom-1" + ], "ServiceName": "com.amazonaws.us-west-2.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": "vpc-custom" } @@ -57,7 +100,18 @@ "sg-test" ], "ServiceName": "com.amazonaws.us-west-2.sts", - "SubnetIds": ["subnet-custom1", "subnet-custom2"], + "SubnetIds": [ + "subnet-custom1", + "subnet-custom2" + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": "vpc-custom" } diff --git a/pkg/cfn/builder/testdata/vpc_private.json b/pkg/cfn/builder/testdata/vpc_private.json index c685319cd4..93f148aa7f 100644 --- a/pkg/cfn/builder/testdata/vpc_private.json +++ b/pkg/cfn/builder/testdata/vpc_private.json @@ -232,6 +232,14 @@ "Ref": "SubnetPrivateUSWEST2C" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -260,6 +268,14 @@ "Ref": "SubnetPrivateUSWEST2D" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -288,6 +304,14 @@ "Ref": "SubnetPrivateUSWEST2D" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -312,6 +336,14 @@ } ], "ServiceName": "com.amazonaws.us-west-2.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -337,6 +369,14 @@ "Ref": "SubnetPrivateUSWEST2C" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_china.json b/pkg/cfn/builder/testdata/vpc_private_china.json index 2e8fdb1257..a45c94bdb8 100644 --- a/pkg/cfn/builder/testdata/vpc_private_china.json +++ b/pkg/cfn/builder/testdata/vpc_private_china.json @@ -119,7 +119,9 @@ "Type": "AWS::EC2::VPCEndpoint", "Properties": { "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], + "SecurityGroupIds": [ + "sg-test" + ], "ServiceName": "cn.com.amazonaws.cn-north-1.ec2", "SubnetIds": [ { @@ -129,6 +131,14 @@ "Ref": "SubnetPrivateCNNORTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -139,7 +149,9 @@ "Type": "AWS::EC2::VPCEndpoint", "Properties": { "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], + "SecurityGroupIds": [ + "sg-test" + ], "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.api", "SubnetIds": [ { @@ -149,6 +161,14 @@ "Ref": "SubnetPrivateCNNORTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -159,7 +179,9 @@ "Type": "AWS::EC2::VPCEndpoint", "Properties": { "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], + "SecurityGroupIds": [ + "sg-test" + ], "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.dkr", "SubnetIds": [ { @@ -169,6 +191,14 @@ "Ref": "SubnetPrivateCNNORTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -187,6 +217,14 @@ } ], "ServiceName": "com.amazonaws.cn-north-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -197,7 +235,9 @@ "Type": "AWS::EC2::VPCEndpoint", "Properties": { "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], + "SecurityGroupIds": [ + "sg-test" + ], "ServiceName": "cn.com.amazonaws.cn-north-1.sts", "SubnetIds": [ { @@ -207,6 +247,14 @@ "Ref": "SubnetPrivateCNNORTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_iso.json b/pkg/cfn/builder/testdata/vpc_private_iso.json index e7754a97dd..3f8a1eacb4 100644 --- a/pkg/cfn/builder/testdata/vpc_private_iso.json +++ b/pkg/cfn/builder/testdata/vpc_private_iso.json @@ -131,6 +131,14 @@ "Ref": "SubnetPrivateUSISOEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -153,6 +161,14 @@ "Ref": "SubnetPrivateUSISOEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -175,6 +191,14 @@ "Ref": "SubnetPrivateUSISOEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -193,6 +217,14 @@ } ], "ServiceName": "com.amazonaws.us-iso-east-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -215,6 +247,14 @@ "Ref": "SubnetPrivateUSISOEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_isob.json b/pkg/cfn/builder/testdata/vpc_private_isob.json index 38dbd066cd..147bd84bb6 100644 --- a/pkg/cfn/builder/testdata/vpc_private_isob.json +++ b/pkg/cfn/builder/testdata/vpc_private_isob.json @@ -131,6 +131,14 @@ "Ref": "SubnetPrivateUSISOBEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -153,6 +161,14 @@ "Ref": "SubnetPrivateUSISOBEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -175,6 +191,14 @@ "Ref": "SubnetPrivateUSISOBEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -193,6 +217,14 @@ } ], "ServiceName": "com.amazonaws.us-isob-east-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -215,6 +247,14 @@ "Ref": "SubnetPrivateUSISOBEAST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_isoe.json b/pkg/cfn/builder/testdata/vpc_private_isoe.json index 572376618f..464fe784be 100644 --- a/pkg/cfn/builder/testdata/vpc_private_isoe.json +++ b/pkg/cfn/builder/testdata/vpc_private_isoe.json @@ -131,6 +131,14 @@ "Ref": "SubnetPrivateEUISOEWEST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -153,6 +161,14 @@ "Ref": "SubnetPrivateEUISOEWEST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -175,6 +191,14 @@ "Ref": "SubnetPrivateEUISOEWEST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -193,6 +217,14 @@ } ], "ServiceName": "com.amazonaws.eu-isoe-west-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -215,6 +247,14 @@ "Ref": "SubnetPrivateEUISOEWEST1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_isof.json b/pkg/cfn/builder/testdata/vpc_private_isof.json index d1e2e8863c..ffa620b63c 100644 --- a/pkg/cfn/builder/testdata/vpc_private_isof.json +++ b/pkg/cfn/builder/testdata/vpc_private_isof.json @@ -131,6 +131,14 @@ "Ref": "SubnetPrivateUSISOFSOUTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -153,6 +161,14 @@ "Ref": "SubnetPrivateUSISOFSOUTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -175,6 +191,14 @@ "Ref": "SubnetPrivateUSISOFSOUTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" @@ -193,6 +217,14 @@ } ], "ServiceName": "com.amazonaws.us-isof-south-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], "VpcEndpointType": "Gateway", "VpcId": { "Ref": "VPC" @@ -215,6 +247,14 @@ "Ref": "SubnetPrivateUSISOFSOUTH1B" } ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], "VpcEndpointType": "Interface", "VpcId": { "Ref": "VPC" diff --git a/pkg/cfn/builder/testdata/vpc_private_outposts.json b/pkg/cfn/builder/testdata/vpc_private_outposts.json index 4f66bc97f9..c04b351426 100644 --- a/pkg/cfn/builder/testdata/vpc_private_outposts.json +++ b/pkg/cfn/builder/testdata/vpc_private_outposts.json @@ -1,222 +1,310 @@ { - "AWSTemplateFormatVersion": "2010-09-09", - "Resources": { - "PrivateRouteTableUSWEST2A": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/PrivateRouteTableUSWEST2A" + "AWSTemplateFormatVersion": "2010-09-09", + "Resources": { + "PrivateRouteTableUSWEST2A": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/PrivateRouteTableUSWEST2A" + } + } + ], + "VpcId": { + "Ref": "VPC" + } } - } - ], - "VpcId": { - "Ref": "VPC" - } - } - }, - "RouteTableAssociationPrivateUSWEST2A": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "PrivateRouteTableUSWEST2A" }, - "SubnetId": { - "Ref": "SubnetPrivateUSWEST2A" - } - } - }, - "SubnetPrivateUSWEST2A": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "AvailabilityZone": "us-west-2a", - "CidrBlock": "192.168.32.0/19", - "OutpostArn": "arn:aws:outposts:us-west-2:1234:outpost/op-1234", - "Tags": [ - { - "Key": "kubernetes.io/role/internal-elb", - "Value": "1" - }, - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/SubnetPrivateUSWEST2A" + "RouteTableAssociationPrivateUSWEST2A": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTableUSWEST2A" + }, + "SubnetId": { + "Ref": "SubnetPrivateUSWEST2A" + } } - } - ], - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPC": { - "Type": "AWS::EC2::VPC", - "Properties": { - "CidrBlock": "192.168.0.0/16", - "EnableDnsHostnames": true, - "EnableDnsSupport": true, - "Tags": [ - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/VPC" + }, + "SubnetPrivateUSWEST2A": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "AvailabilityZone": "us-west-2a", + "CidrBlock": "192.168.32.0/19", + "OutpostArn": "arn:aws:outposts:us-west-2:1234:outpost/op-1234", + "Tags": [ + { + "Key": "kubernetes.io/role/internal-elb", + "Value": "1" + }, + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/SubnetPrivateUSWEST2A" + } + } + ], + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPC": { + "Type": "AWS::EC2::VPC", + "Properties": { + "CidrBlock": "192.168.0.0/16", + "EnableDnsHostnames": true, + "EnableDnsSupport": true, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPC" + } + } + ] + } + }, + "VPCEndpointEC2": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ec2", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointEC2MESSAGES": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ec2messages", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2MESSAGES" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointECRAPI": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ecr.api", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointECRDKR": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ecr.dkr", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointS3": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "RouteTableIds": [ + { + "Ref": "PrivateRouteTableUSWEST2A" + } + ], + "ServiceName": "com.amazonaws.us-west-2.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], + "VpcEndpointType": "Gateway", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSECRETSMANAGER": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.secretsmanager", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSECRETSMANAGER" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSSM": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ssm", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSSM" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSSMMESSAGES": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.ssmmessages", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSSMMESSAGES" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSTS": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.us-west-2.sts", + "SubnetIds": [ + { + "Ref": "SubnetPrivateUSWEST2A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } } - } - ] - } - }, - "VPCEndpointEC2": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ec2", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointEC2MESSAGES": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ec2messages", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointECRAPI": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ecr.api", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointECRDKR": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ecr.dkr", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointS3": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "RouteTableIds": [ - { - "Ref": "PrivateRouteTableUSWEST2A" - } - ], - "ServiceName": "com.amazonaws.us-west-2.s3", - "VpcEndpointType": "Gateway", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSECRETSMANAGER": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.secretsmanager", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSSM": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ssm", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSSMMESSAGES": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.ssmmessages", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSTS": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.us-west-2.sts", - "SubnetIds": [ - { - "Ref": "SubnetPrivateUSWEST2A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" } - } } - } } diff --git a/pkg/cfn/builder/testdata/vpc_private_outposts_china.json b/pkg/cfn/builder/testdata/vpc_private_outposts_china.json index ea8e43f7dc..237b872d58 100644 --- a/pkg/cfn/builder/testdata/vpc_private_outposts_china.json +++ b/pkg/cfn/builder/testdata/vpc_private_outposts_china.json @@ -1,222 +1,310 @@ { - "AWSTemplateFormatVersion": "2010-09-09", - "Resources": { - "PrivateRouteTableCNNORTH1A": { - "Type": "AWS::EC2::RouteTable", - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/PrivateRouteTableCNNORTH1A" + "AWSTemplateFormatVersion": "2010-09-09", + "Resources": { + "PrivateRouteTableCNNORTH1A": { + "Type": "AWS::EC2::RouteTable", + "Properties": { + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/PrivateRouteTableCNNORTH1A" + } + } + ], + "VpcId": { + "Ref": "VPC" + } } - } - ], - "VpcId": { - "Ref": "VPC" - } - } - }, - "RouteTableAssociationPrivateCNNORTH1A": { - "Type": "AWS::EC2::SubnetRouteTableAssociation", - "Properties": { - "RouteTableId": { - "Ref": "PrivateRouteTableCNNORTH1A" }, - "SubnetId": { - "Ref": "SubnetPrivateCNNORTH1A" - } - } - }, - "SubnetPrivateCNNORTH1A": { - "Type": "AWS::EC2::Subnet", - "Properties": { - "AvailabilityZone": "cn-north-1a", - "CidrBlock": "192.168.32.0/19", - "OutpostArn": "arn:aws:outposts:cn-north-1:1234:outpost/op-1234", - "Tags": [ - { - "Key": "kubernetes.io/role/internal-elb", - "Value": "1" - }, - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/SubnetPrivateCNNORTH1A" + "RouteTableAssociationPrivateCNNORTH1A": { + "Type": "AWS::EC2::SubnetRouteTableAssociation", + "Properties": { + "RouteTableId": { + "Ref": "PrivateRouteTableCNNORTH1A" + }, + "SubnetId": { + "Ref": "SubnetPrivateCNNORTH1A" + } } - } - ], - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPC": { - "Type": "AWS::EC2::VPC", - "Properties": { - "CidrBlock": "192.168.0.0/16", - "EnableDnsHostnames": true, - "EnableDnsSupport": true, - "Tags": [ - { - "Key": "Name", - "Value": { - "Fn::Sub": "${AWS::StackName}/VPC" + }, + "SubnetPrivateCNNORTH1A": { + "Type": "AWS::EC2::Subnet", + "Properties": { + "AvailabilityZone": "cn-north-1a", + "CidrBlock": "192.168.32.0/19", + "OutpostArn": "arn:aws:outposts:cn-north-1:1234:outpost/op-1234", + "Tags": [ + { + "Key": "kubernetes.io/role/internal-elb", + "Value": "1" + }, + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/SubnetPrivateCNNORTH1A" + } + } + ], + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPC": { + "Type": "AWS::EC2::VPC", + "Properties": { + "CidrBlock": "192.168.0.0/16", + "EnableDnsHostnames": true, + "EnableDnsSupport": true, + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPC" + } + } + ] + } + }, + "VPCEndpointEC2": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "cn.com.amazonaws.cn-north-1.ec2", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointEC2MESSAGES": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.cn-north-1.ec2messages", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointEC2MESSAGES" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointECRAPI": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.api", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRAPI" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointECRDKR": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.dkr", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointECRDKR" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointS3": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "RouteTableIds": [ + { + "Ref": "PrivateRouteTableCNNORTH1A" + } + ], + "ServiceName": "com.amazonaws.cn-north-1.s3", + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointS3" + } + } + ], + "VpcEndpointType": "Gateway", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSECRETSMANAGER": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.cn-north-1.secretsmanager", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSECRETSMANAGER" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSSM": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.cn-north-1.ssm", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSSM" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSSMMESSAGES": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "com.amazonaws.cn-north-1.ssmmessages", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSSMMESSAGES" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } + } + }, + "VPCEndpointSTS": { + "Type": "AWS::EC2::VPCEndpoint", + "Properties": { + "PrivateDnsEnabled": true, + "SecurityGroupIds": [ + "sg-test" + ], + "ServiceName": "cn.com.amazonaws.cn-north-1.sts", + "SubnetIds": [ + { + "Ref": "SubnetPrivateCNNORTH1A" + } + ], + "Tags": [ + { + "Key": "Name", + "Value": { + "Fn::Sub": "${AWS::StackName}/VPCEndpointSTS" + } + } + ], + "VpcEndpointType": "Interface", + "VpcId": { + "Ref": "VPC" + } } - } - ] - } - }, - "VPCEndpointEC2": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "cn.com.amazonaws.cn-north-1.ec2", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointEC2MESSAGES": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.cn-north-1.ec2messages", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointECRAPI": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.api", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointECRDKR": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "cn.com.amazonaws.cn-north-1.ecr.dkr", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointS3": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "RouteTableIds": [ - { - "Ref": "PrivateRouteTableCNNORTH1A" - } - ], - "ServiceName": "com.amazonaws.cn-north-1.s3", - "VpcEndpointType": "Gateway", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSECRETSMANAGER": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.cn-north-1.secretsmanager", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSSM": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.cn-north-1.ssm", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSSMMESSAGES": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "com.amazonaws.cn-north-1.ssmmessages", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" - } - } - }, - "VPCEndpointSTS": { - "Type": "AWS::EC2::VPCEndpoint", - "Properties": { - "PrivateDnsEnabled": true, - "SecurityGroupIds": ["sg-test"], - "ServiceName": "cn.com.amazonaws.cn-north-1.sts", - "SubnetIds": [ - { - "Ref": "SubnetPrivateCNNORTH1A" - } - ], - "VpcEndpointType": "Interface", - "VpcId": { - "Ref": "VPC" } - } } - } }